]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix tst-long-dbl-fphex swprintf length calculation.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
12c22bc4
OL
12013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2
3 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4 argument calculation.
5
a03d8ea7
JM
62013-09-24 Joseph Myers <joseph@codesourcery.com>
7
8 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9 Expect macro.
10 [POSIX] (pthread_attr_t): Do not require type.
11 [POSIX] (pthread_cond_t): Likewise.
12 [POSIX] (pthread_condattr_t): Likewise.
13 [POSIX] (pthread_key_t): Likewise.
14 [POSIX] (pthread_mutex_t): Likewise.
15 [POSIX] (pthread_mutexattr_t): Likewise.
16 [POSIX] (pthread_once_t): Likewise.
17 [POSIX] (pthread_t): Likewise.
18 [POSIX-based standards] (pthread_atfork): Expect function.
19
6055173a
JM
202013-09-24 Joseph Myers <joseph@codesourcery.com>
21 Richard Sandiford <richard@codesourcery.com>
22
23 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24 (swap_endianness_p): New extern variable.
25 (set_big_endian): New inline function.
26 (maybe_swap_uint32): Likewise.
27 (maybe_swap_uint32_array): Likewise.
28 (maybe_swap_uint32_obstack): Likewise.
29 * locale/programs/locfile.c: Include <stdbool.h>.
30 (swap_endianness_p): New variable.
31 (add_locale_uint32): Call maybe_swap_uint32.
32 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33 (write_locale_data): Call maybe_swap_uint32_array.
34 * locale/programs/ld-collate.c (obstack_int32_grow): Call
35 maybe_swap_uint32.
36 (obstack_int32_grow_fast): Likewise.
37 (output_weightwc): Call maybe_swap_uint32_obstack.
38 (collate_output): Likewise.
39 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40 (OPT_LITTLE_ENDIAN): Likewise.
41 (options): Add --little-endian and --big-endian options.
42 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43 * locale/programs/locarchive.c: Include "locfile.h".
44 (GET): New macro.
45 (SET): Likewise.
46 (INC): Likewise.
47 (create_archive): Use the new macros to access fields of
48 structures directly mapped from or written to locale archives.
49 (oldlocrecentcmp): Likewise.
50 (enlarge_archive): Likewise.
51 (insert_name): Likewise.
52 (add_alias): Likewise.
53 (add_locale): Likewise.
54 (delete_locales_from_archive): Likewise.
55 (show_archive_content): Likewise.
56 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
57 locale data.
58
39bf0bb4
RM
592013-09-24 Roland McGrath <roland@hack.frob.com>
60
61 * manual/freemanuals.texi: Updated from (newly) canonical copy at
62 http://www.gnu.org/doc/freemanuals.texi.
63 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
64
f02eed10
WN
652013-09-24 Will Newton <will.newton@linaro.org>
66
67 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
68 macro.
69
a3a6c312
JM
702013-09-23 Joseph Myers <joseph@codesourcery.com>
71
72 * locale/hashval.h (compute_hashval): Interpret bytes of key as
73 unsigned char.
74
107375ac
MR
752013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
76
77 * manual/threads.texi (POSIX Threads): Fix a typo.
78
141f3a77
SP
792013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
80
303e567a
SP
81 [BZ #14547]
82 * string/tst-strcoll-overflow.c: New test case.
83 * string/Makefile (xtests): Add tst-strcoll-overflow.
84 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
85 cache if string sizes may cause integer overflow.
86
141f3a77
SP
87 [BZ #14547]
88 * string/strcoll_l.c (coll_seq): New members rule, idx,
89 save_idx and back_us.
90 (get_next_seq_nocache): New function.
91 (do_compare_nocache): New function.
92 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
93 when malloc fails.
94
c61b4d41
CD
952013-09-23 Carlos O'Donell <carlos@redhat.com>
96
0b1f8e35
CD
97 [BZ #15754]
98 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
99 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
100 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
101
c61b4d41
CD
102 [BZ #15754]
103 * elf/Makefile (tests): Add tst-ptrguard1.
104 (tests-static): Add tst-ptrguard1-static.
105 (tst-ptrguard1-ARGS): Define.
106 (tst-ptrguard1-static-ARGS): Define.
107 * elf/tst-ptrguard1.c: New file.
108 * elf/tst-ptrguard1-static.c: New file.
109 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
110 * sysdeps/i386/stackguard-macros.h: Likewise.
111 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
112 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
113 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
114 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
115 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
116 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
117
1182013-09-23 Hector Marco <hecmargi@upv.es>
119 Ismael Ripoll <iripoll@disca.upv.es>
120 Carlos O'Donell <carlos@redhat.com>
121
122 [BZ #15754]
123 * sysdeps/generic/stackguard-macros.h: Define
124 __pointer_chk_guard_local and POINTER_CHK_GUARD.
125 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
126 Define __pointer_chk_guard_local.
127 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
128 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
129
f5f4e7b4
VV
1302013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
131
132 [BZ #15859]
133 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
134
5bb43a43
AS
1352013-09-20 Andreas Schwab <schwab@linux-m68k.org>
136
137 * include/string.h (__ffs): Declare as hidden.
138 * string/ffs.c (__ffs): Define as hidden.
139 * sysdeps/i386/ffs.c (__ffs): Likewise.
140 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
141 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
142 * sysdeps/s390/ffs.c (__ffs): Likewise.
143 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
144
3ea5be54
AO
1452013-09-20 Alexandre Oliva <aoliva@redhat.com>
146
ffb89e53
AO
147 * NEWS: Mention malloc probes.
148
322dea08
AO
149 * malloc/arena.c (new_heap): New memory_heap_new probe.
150 (grow_heap): New memory_heap_more probe.
151 (shrink_heap): New memory_heap_less probe.
152 (heap_trim): New memory_heap_free probe.
153 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
154 (systrim): New memory_sbrk_less probe.
155 * manual/probes.texi: Document them.
156
655673f3
AO
157 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
158 * manual/probes.texi: Document it.
159
35fed6f1
AO
160 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
161 (__libc_realloc): Add memory_realloc_retry probe.
162 (__libc_memalign): Add memory_memalign_retry probe.
163 (__libc_valloc): Add memory_valloc_retry probe.
164 (__libc_pvalloc): Add memory_pvalloc_retry probe.
165 (__libc_calloc): Add memory_calloc_retry probe.
166 * manual/probes.texi: Document them.
167
6999d38c
AO
168 * malloc/arena.c (get_free_list): Add probe
169 memory_arena_reuse_free_list.
170 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
171 and memory_arena_reuse.
172 (arena_get2) [!PER_THREAD]: Likewise.
173 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
174 memory_arena_reuse_realloc.
175 * manual/probes.texi: Document them.
176
0653427f
AO
177 * malloc/malloc.c (__libc_free): Add
178 memory_mallopt_free_dyn_thresholds probe.
179 (__libc_mallopt): Add multiple memory_mallopt probes.
180 * manual/probes.texi: Document them.
181
3ea5be54
AO
182 * malloc/malloc.c: Include stap-probe.h.
183 (__libc_mallopt): Add memory_mallopt probe.
184 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
185 * manual/probes.texi: New.
186 * manual/Makefile (chapters): Add probes.
187 * manual/threads.texi: Set next node.
188
e35696c3 1892013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 190
e35696c3
CL
191 [BZ #15963, #13985]
192 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
193 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
194 Add `Chinese' to `nan' entry name.
195
4aafb73c
SP
1962013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
197
198 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
199 (POLYNOMIAL): Likewise.
200 (TAYLOR_SINCOS): Likewise.
201 (TAYLOR_SLOW): Likewise.
202 (__sin): Use TAYLOR_SINCOS.
203 (__cos): Likewise.
204 (slow): Use TAYLOR_SLOW.
205 (sloww): Likewise.
206 (bsloww): Likewise.
207 (csloww): Likewise.
208
d84f25c7
LD
2092013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
210
211 * stdlib/strtod_l.c: Fix buffer overrun.
212
5eea0404
SP
2132013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
214
7849ff93
SP
215 * benchtests/Makefile (bench): Add sincos.
216 * benchtests/bench-sincos.c: New file.
217
cfa3c886
SP
218 * math/libm-test.inc (cos_test_data): New test inputs.
219 (sin_test_data): Likewise.
220
b348e1e3
SP
221 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
222 macro.
223 (__sin): Use it.
224 (__cos): Likewise.
225 (slow1): Likewise.
226 (slow2): Likewise.
227 (sloww1): Likewise.
228 (sloww2): Likewise.
229 (bsloww1): Likewise.
230 (bsloww2): Likewise.
231 (cslow2): Likewise.
232 (csloww1): Likewise.
233 (csloww2): Likewise.
234
6cce25f8
SP
235 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
236 function.
237 (__sin): Use it.
238 (__cos): Likewise.
239
5eea0404
SP
240 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
241 gotos.
242 (__cos): Likewise.
243
9c21573c
MR
2442013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
245
246 * config.h.in (HAVE_MIPS_NAN2008): New macro.
247 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
248 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
249 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
250 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
251 * elf/cache.c (print_entry): Handle the new cache flags.
252
24d22e65
JM
2532013-09-18 Joseph Myers <joseph@codesourcery.com>
254 Aldy Hernandez <aldyh@redhat.com>
255
256 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
257 Change condition to [_SOFT_FLOAT].
258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
270 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
273 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
274 declaration.
275
d13ef066
JM
2762013-09-18 Joseph Myers <joseph@codesourcery.com>
277
2e071de0
JM
278 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
279 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
280 (__longjmp): Use LOAD_GP to load saved GPRs.
281 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
282 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
283 (__sigsetjmp): Use SAVE_GP to save GPRs.
284
d13ef066
JM
285 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
286 Do not append -msoft-float.
287 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
288
97a0650b
SP
2892013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
290
291 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
292
11ca09e9
JM
2932013-09-17 Joseph Myers <joseph@codesourcery.com>
294
295 [BZ #15966]
296 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
297 (_FPU_GETCW): Use initial "__" on variable and field names but not
298 on macro parameter name.
299 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
300 parentheses around reference to macro parameter.
301
08ffcf34
RS
3022013-09-13 Richard Sandiford <richard@codesourcery.com>
303
304 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
305 prototype.
306 (ctype_startup): Use uint32_t in cast and sizeof for
307 ctype->charnames.
308
ae7080d3
JL
3092013-09-11 Jia Liu <proljc@gmail.com>
310
311 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
312 __daddr_t_defined.
313 [__FreeBSD__]: Likewise.
314
5905e7b3
OB
3152013-09-11 Ondřej Bílka <neleai@seznam.cz>
316
317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
318 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
319 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
320 (strchr): Remove __strchr_sse42 ifunc selection.
321 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
322 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
323
b987c776
WN
3242013-09-11 Will Newton <will.newton@linaro.org>
325
326 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
327 parameter to RES. Remove hardcoded 1000 value.
328 * benchtests/bench-skeleton.c (main): Pass RES parameter
329 to TIMING_INIT and multiply result by 1000.
330
ddf985af
AZ
3312013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
332
333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
334
ffdd3181
AS
3352013-09-11 Andreas Schwab <schwab@suse.de>
336
337 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
338 if not defined.
339 (O_TMPFILE) [__USE_GNU]: Define.
340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
341 Define.
342
b73ed247
WN
3432013-09-11 Will Newton <will.newton@linaro.org>
344
345 [BZ #15857]
346 * malloc/malloc.c (__libc_memalign): Check the value of bytes
347 does not overflow.
348
55e17aad
WN
3492013-09-11 Will Newton <will.newton@linaro.org>
350
351 [BZ #15856]
352 * malloc/malloc.c (__libc_valloc): Check the value of bytes
353 does not overflow.
354
1159a193
WN
3552013-09-11 Will Newton <will.newton@linaro.org>
356
357 [BZ #15855]
358 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
359 does not overflow.
360
5905e7b3 3612013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
362
363 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
364 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
365 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
366 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
367 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
368
cdfc721b
AM
3692013-09-10 Allan McRae <allan@archlinux.org>
370
aa04af00
AM
371 [BZ #15748]
372 * manual/arith.texi (Parsing of Floats): Clarify
373 cross-reference.
374
cdfc721b
AM
375 [BZ #15849]
376 * manual/install.texi (Running make install): Mention
377 --enable-pt-chown.
378 * INSTALL: Regenerated.
379
95e7cf29
MR
3802013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
381
382 * csu/init-first.c (_init): Remove the !SHARED condition around
383 FPU control word initialization.
384 * elf/dl-support.c (_dl_fpu_control): New variable.
385 (_dl_aux_init) <AT_FPUCW>: Initialize it.
386 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
387 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
388 * math/test-fpucw-static.c: New file.
389 * math/test-fpucw-ieee.c: New file.
390 * math/test-fpucw-ieee-static.c: New file.
391 * math/Makefile (tests): Add `test-fpucw-ieee' and
392 `$(tests-static)'.
393 (tests-static): New variable.
394 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
395 dependency to...
396 [($(build-shared),yes)]
397 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
398 ... this.
399 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
400 New dependency.
401
83e43bf0
AM
4022013-09-09 Allan McRae <allan@archlinux.org>
403
a9f5ce09
AM
404 [BZ #15939]
405 * manual/string.texi (Collation Functions): Fix typo in
406 strcoll example.
407 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
408
34829bc2
AM
409 [BZ #15893]
410 * stdlib/isomac.c (get_null_defines): Fix memory leak.
411
3932737d
AM
412 [BZ #15892]
413 * libio/memstream.c (open_memstream): Fix memory leak.
414 * libio/wmemstream.c (open_wmemstream): Likewise.
415
83e43bf0
AM
416 [BZ #15895]
417 * nscd/netgroupcache.c: Fix nesting of ifdefs.
418
0c66b8e9
WN
4192013-09-09 Will Newton <will.newton@linaro.org>
420
421 * malloc/Makefile: Add tst-realloc to tests.
422 * malloc/tst-realloc.c: New file.
423
f6b00fd1
AM
4242013-09-09 Allan McRae <allan@archlinux.org>
425
426 [BZ #15844]
427 * COPYING: Update from GNU website to fix FSF address.
428 * COPYING.LIB: Likewise.
429
eec55e16
DM
4302013-09-06 David S. Miller <davem@davemloft.net>
431
432 * po/zh_TW.po: Update Chinese (traditional) translation from
433 translation project.
434
1ecbb381
RS
4352013-09-06 Richard Sandiford <richard@codesourcery.com>
436 Joseph Myers <joseph@codesourcery.com>
437
438 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
439 "localeinfo.h".
440 (obstack_chunk_alloc): New macro.
441 (obstack_chunk_free): Likewise.
442 (record_offset): New function.
443 (init_locale_data): Likewise.
444 (align_locale_data): Likewise.
445 (add_locale_empty): Likewise.
446 (add_locale_raw_data): Likewise.
447 (add_locale_raw_obstack): Likewise.
448 (add_locale_string): Likewise.
449 (add_locale_wstring): Likewise.
450 (add_locale_uint32): Likewise.
451 (add_locale_uint32_array): Likewise.
452 (add_locale_char): Likewise.
453 (start_locale_structure): Likewise.
454 (end_locale_structure): Likewise.
455 (start_locale_prelude): Likewise.
456 (end_locale_prelude): Likewise.
457 (write_locale_data): Take locale_file structure rather than an
458 iovec.
459 * locale/programs/locfile.h: Include "obstack.h".
460 (struct locale_file): Change to store locale file contents instead
461 of header.
462 (init_locale_data): New prototype.
463 (align_locale_data): Likewise.
464 (add_locale_empty): Likewise.
465 (add_locale_raw_data): Likewise.
466 (add_locale_raw_obstack): Likewise.
467 (add_locale_string): Likewise.
468 (add_locale_wstring): Likewise.
469 (add_locale_uint32): Likewise.
470 (add_locale_uint32_array): Likewise.
471 (add_locale_char): Likewise.
472 (start_locale_structure): Likewise.
473 (end_locale_structure): Likewise.
474 (start_locale_prelude): Likewise.
475 (end_locale_prelude): Likewise.
476 (write_locale_data): Update prototype.
477 * locale/programs/3level.h (struct TABLE): Remove result field.
478 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
479 Use new locale_file interface.
480 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
481 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
482 * locale/programs/ld-address.c (address_output): Use new
483 locale_file interface.
484 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
485 NO_ADD_LOCALE.
486 (collate_finish): Don't call collseq_table_finalize.
487 (collate_output): Use new locale_file interface.
488 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
489 in file.
490 (NO_FINALIZE): Change to NO_ADD_LOCALE.
491 (TABLE): Move defines earlier in file.
492 (ELEMENT): Likewise.
493 (DEFAULT): Likewise.
494 (wctrans_table_add): Move macro and inline function earlier in
495 file.
496 (struct wctype_table): Move type earlier in file.
497 (add_locale_wctype_table): New static prototype.
498 (struct locale_ctype_t): Use logical types instead of struct iovec
499 pointers for members.
500 (ctype_output): Use new locale_file interface.
501 (wctype_table_finalize): Change to add_locale_wctype_table. Use
502 new locale_file interface.
503 (allocate_arrays): Update for use of new locale_file interface.
504 * locale/programs/ld-identification.c (identification_output): Use
505 new locale_file interface.
506 * locale/programs/ld-measurement.c (measurement_output): Likewise.
507 * locale/programs/ld-messages.c (messages_output): Likewise.
508 * locale/programs/ld-monetary.c (monetary_output): Likewise.
509 * locale/programs/ld-name.c (name_output): Likewise.
510 * locale/programs/ld-numeric.c (numeric_output): Likewise.
511 * locale/programs/ld-paper.c (paper_output): Likewise.
512 * locale/programs/ld-telephone.c (telephone_output): Likewise.
513 * locale/programs/ld-time.c (time_output): Likewise.
514
e029e2e5
AZ
5152013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
516
517 * benchtests/Makefile: Add memrchr benchmark.
518 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
519 benchmark as memrchr.
520 * benchtests/bench-memrchr-ifunc.c: New file.
521 * benchtests/bench-memrchr.c: New file.
522
bbf6e8e4
WN
5232013-09-06 Will Newton <will.newton@linaro.org>
524
525 * benchtests/Makefile (string-bench): Add memcpy.
526
6c82a2f8
CD
5272013-09-05 Carlos O'Donell <carlos@redhat.com>
528 Cong Wang <amwang@redhat.com>
529
530 * sysdeps/unix/sysv/linux/bits/in.h
531 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
532 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
533 before __USE_KERNEL_IPV6_DEFS uses.
534 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
535 IPPROTO_BEETPH.
536 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
537 sockaddr_in6, or ipv6_mreq.
538
5430fc65
AZ
5392013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
540
541 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
542 memory access for final bytes in some large inputs.
543 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
544
4660856c
AZ
5452013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
546
547 * string/test-memrchr.c: New file.
548 * string/test-memrchr-ifunc.c: New file.
549 * string/Makefile: Add new memrchr testcase.
550
bb8ea713
MF
5512013-09-05 Mike Frysinger <vapier@gentoo.org>
552
553 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
554 fanotify_init returns EPERM.
555
b92a20b5
JM
5562013-09-04 Joseph Myers <joseph@codesourcery.com>
557
558 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
559 errors.
560 (top level): Treat second token from macro or constant entries for
561 allowed headers as allowed.
562 * include/complex.h: Condition internal declarations on
563 [!_ISOMAC].
564 * include/fenv.h: Condition include of <stdbool.h> and internal
565 declarations on [!_ISOMAC].
7447ccd9
CL
566
5672013-09-04 Chris Leonard <cjl@sugarlabs,.org>
568
3e181dda 569 [BZ #15923]
7447ccd9
CL
570 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
571
3f2e46a4
JM
5722013-09-04 Joseph Myers <joseph@codesourcery.com>
573
574 * configure.in (--enable-versioning): Remove configure option.
575 (libc_cv_asm_symver_directive): Remove configure test.
576 (libc_cv_ld_version_script_option): Likewise.
577 (VERSIONING): Remove variable and AC_SUBST.
578 (DO_VERSIONING): Remove AC_DEFINE.
579 * configure: Regenerated.
580 * config.h.in (DO_VERSIONING): Remove macro.
581 * Makerules [$(versioning) = yes]: Change conditionals to
582 [$(build-shared) = yes].
583 * config.make.in (versioning): Remove variable.
584 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
585 [$(build-shared) = yes].
586 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
587 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
588 * elf/Makefile [$(versioning) = yes]: Change conditionals to
589 [$(build-shared) = yes].
590 * extra-lib.mk [$(versioning) = yes]: Likewise.
591 * hurd/Makefile [$(versioning) = yes]: Likewise.
592 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
593 [SHARED].
594 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
595 [SHARED].
596 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
597 [SHARED && !NO_HIDDEN].
598 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
599 [SHARED].
600 [SHARED && DO_VERSIONING]: Likewise..
601 * libio/Makefile [$(versioning) = yes]: Change conditionals to
602 [$(build-shared) = yes].
603 * manual/install.texi (--disable-versioning): Remove
604 documentation.
605 * INSTALL: Regenerated.
606 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
607 to [SHARED].
608 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
609 [$(build-shared) = yes].
610 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
611 * sysdeps/i386/i686/multiarch/strstr-c.c
612 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
613 [SHARED && !NO_HIDDEN].
614 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
615 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
616 * sysdeps/powerpc/powerpc32/dl-machine.c
617 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
618 * sysdeps/powerpc/powerpc32/sysdep.h
619 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
620 to [SHARED && PIC && !NO_HIDDEN].
621 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
622 conditional to [SHARED].
623
44558701
WN
6242013-09-04 Will Newton <will.newton@linaro.org>
625
626 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
627 * benchtests/bench-string.h: Include bench-timing.h instead
628 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
629 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
630 call to HP_TIMING_DIFF_INIT.
631 * benchtests/bench-memccpy.c: Use bench-timing.h macros
632 instead of hp-timing.h macros.
633 * benchtests/bench-memchr.c: Likewise.
634 * benchtests/bench-memcmp.c: Likewise.
635 * benchtests/bench-memcpy.c: Likewise.
636 * benchtests/bench-memmem.c: Likewise.
637 * benchtests/bench-memmove.c: Likewise.
638 * benchtests/bench-memset.c: Likewise.
639 * benchtests/bench-rawmemchr.c: Likewise.
640 * benchtests/bench-strcasecmp.c: Likewise.
641 * benchtests/bench-strcasestr.c: Likewise.
642 * benchtests/bench-strcat.c: Likewise.
643 * benchtests/bench-strchr.c: Likewise.
644 * benchtests/bench-strcmp.c: Likewise.
645 * benchtests/bench-strcpy.c: Likewise.
646 * benchtests/bench-strcpy_chk.c: Likewise.
647 * benchtests/bench-strlen.c: Likewise.
648 * benchtests/bench-strncasecmp.c: Likewise.
649 * benchtests/bench-strncat.c: Likewise.
650 * benchtests/bench-strncmp.c: Likewise.
651 * benchtests/bench-strncpy.c: Likewise.
652 * benchtests/bench-strnlen.c: Likewise.
653 * benchtests/bench-strpbrk.c: Likewise.
654 * benchtests/bench-strrchr.c: Likewise.
655 * benchtests/bench-strspn.c: Likewise.
656 * benchtests/bench-strstr.c: Likewise.
657
cae16d66
WN
6582013-09-04 Will Newton <will.newton@linaro.org>
659
660 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
661
ffa3cd7f
JM
6622013-09-03 Joseph Myers <joseph@codesourcery.com>
663
664 [BZ #15427]
665 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
666 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
667 * math/libm-test.inc (lgamma_test_data): Add more tests.
668 * sysdeps/i386/fpu/libm-test-ulps: Update.
669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
670
8f02859f
OB
6712013-09-03 Ondřej Bílka <neleai@seznam.cz>
672
673 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
674 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
675 Add ifunc.
676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
677 Add strcmp-sse2-unaligned
678 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
679
18d43716
MF
6802013-09-02 Mike Frysinger <vapier@gentoo.org>
681
682 * Versions.def (libc): Add GLIBC_2.19.
683
ac444012
MF
6842013-09-02 Mike Frysinger <vapier@gentoo.org>
685
686 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
687 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
688
b7835e32
JM
6892013-09-02 Joseph Myers <joseph@codesourcery.com>
690
691 [BZ #14155]
692 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
693 intermediate calculations in recurrence.
694 (__ieee754_ynf): Likewise.
695 * math/libm-test.inc (jn_test_data): Do not allow spurious
696 underflow exception. Add more tests.
697 (yn_test_data): Add more tests.
698 * sysdeps/i386/fpu/libm-test-ulps: Update.
699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
700
8220f4f0
OB
7012013-09-02 Ondřej Bílka <neleai@seznam.cz>
702
703 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
704
f24a6d08
OB
7052013-08-30 Ondřej Bílka <neleai@seznam.cz>
706
707 * csu/init-first.c: Fix then/than typos.
708 * locale/programs/ld-collate.c: Likewise.
709 * locale/programs/linereader.h: Likewise.
710 * manual/charset.texi: Likewise.
711 * manual/filesys.texi: Likewise.
712 * manual/stdio.texi: Likewise.
713 * manual/string.texi: Likewise.
714 * stdlib/fmtmsg.c: Likewise.
715 * sysdeps/i386/stpncpy.S: Likewise.
716 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
717 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
718 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
719 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
720
382466e0
OB
7212013-08-30 Ondřej Bílka <neleai@seznam.cz>
722
723 * elf/dl-open.c: Fix typos.
724 * iconvdata/gbbig5.c: Likewise.
725 * iconvdata/iso-2022-jp.c: Likewise.
726 * iconv/gconv_int.h: Likewise.
727 * iconv/loop.c: Likewise.
728 * nis/rpcsvc/nis.h: Likewise.
729 * resolv/ns_name.c: Likewise.
730 * stdio-common/vfscanf.c: Likewise.
731 * streams/stropts.h: Likewise.
732 * sunrpc/rpc_thread.c: Likewise.
733 * sysdeps/i386/strpbrk.S: Likewise.
734 * sysdeps/ieee754/k_standard.c: Likewise.
735 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
736 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
737 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
738 * sysdeps/mach/hurd/profil.c: Likewise.
739 * sysdeps/s390/dl-procinfo.h: Likewise.
740 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
741 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
742 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
743 * sysdeps/x86_64/dl-trampoline.S: Likewise.
744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
745
0186c6e9
OB
7462013-08-30 Ondřej Bílka <neleai@seznam.cz>
747
748 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
749 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
750
d4e16af1
OB
7512013-08-29 Ondřej Bílka <neleai@seznam.cz>
752
753 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
754 aix specific files.
755 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
756 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
757 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
758 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
759 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
760 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
761 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
762 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
763
88335980
TS
7642013-08-29 Thomas Schwinge <thomas@codesourcery.com>
765 Roland McGrath <roland@hack.frob.com>
766
767 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
768 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
769
ed479b02
ST
7702013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
771
772 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
773 __executable_start symbol instead of _start.
774
f1cc4c86
TS
7752013-08-29 Thomas Schwinge <thomas@codesourcery.com>
776
d821f07c
TS
777 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
778 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
779 Move macros to...
780 * sysdeps/gnu/ldsodefs.h: ... this new file.
781
c54290cf
TS
782 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
783 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
784 instead of ELFOSABI_LINUX.
785
0007fc9b 786 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
787 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
788 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
789 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
790 Likewise.
791 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
792 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
793 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
794 Likewise.
795 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
796 (ibm_extended_long_double): Add ieee_nan member.
797 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
798 (do_test): New function.
799
f1cc4c86
TS
800 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
801 TEST_TRUNC.
802 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
803 functions, renamed from truncdfsf_test, trunctfsf_test,
804 trunctfdf_test.
805 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
806 functions.
807 (do_test): Run all these.
808
6f65e668
OB
8092013-08-29 Ondřej Bílka <neleai@seznam.cz>
810
811 * argp/argp-help.c: Fix typos.
812 * argp/argp-parse.c: Likewise.
813 * debug/backtracesyms.c: Likewise.
814 * elf/elf.h: Likewise.
815 * malloc/malloc.c: Likewise.
816 * nis/nis_print.c: Likewise.
817 * resolv/res_comp.c: Likewise.
818 * stdlib/stdlib.h: Likewise.
819 * sunrpc/clnt_tcp.c: Likewise.
820 * sunrpc/clnt_udp.c: Likewise.
821 * sunrpc/clnt_unix.c: Likewise.
822 * sysdeps/unix/bsd/ptsname.c: Likewise.
823 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
824 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
826 Likewise.
827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
828 Likewise.
829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
830 Likewise.
6f65e668
OB
831 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
832
3a309239
SP
8332013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
834
835 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
837
3b813b29
MF
8382013-08-27 Mike Frysinger <vapier@gentoo.org>
839
840 [BZ #15897]
841 * dlfcn/Makefile (tests): Add bug-dl-leaf.
842 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
843 ($(objpfx)bug-dl-leaf): New rule.
844 ($(objpfx)bug-dl-leaf.so): Likewise.
845 ($(objpfx)bug-dl-leaf.out): Likewise.
846 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
847 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
848 * dlfcn/bug-dl-leaf.c: New test.
849 * dlfcn/bug-dl-leaf-lib.c: Likewise.
850 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
851 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
852 (dlclose): Likewise.
853 (dlmopen): Likewise.
854
8cc3269f
RM
8552013-08-27 Roland McGrath <roland@hack.frob.com>
856
7f9d0034
RM
857 * include/netdb.h [!_ISOMAC]:
858 Don't include <tls.h>.
859 (h_errno, __libc_h_errno): Move declaration and macros out of
860 [_LIBC_REENTRANT].
861
fb431262
RM
862 * include/resolv.h [_RESOLV_H_]:
863 Don't include <tls.h>.
864 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
865 * resolv/res_libc.c: Don't include <tls.h>.
866 (_res): Use __attribute__ ((nocommon)) in place of
867 __attribute__ ((section (".bss"))).
868
bd81123a
RM
869 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
870 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
871
c4e42566
RM
872 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
873
f890a59b
RM
874 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
875 only under [SIOCGIFCONF && SIOCGIFNETMASK].
876
877 * resolv/res_mkquery.c: Include <sys/time.h>.
878
5d1f0a09
RM
879 * inet/ifreq.c: Moved to ...
880 * sysdeps/unix/ifreq.c: ... here.
881 * inet/ifreq.c: New file, true stub version.
882
6fcf28b3
RM
883 * socket/sa_len.c: New file.
884 * socket/Makefile (aux): Add it.
885 * sysdeps/unix/sysv/linux/Makefile
886 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
887 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
888 and #include <socket/sa_len.c>.
889 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
890 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
891
e041fb8b
RM
892 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
893 * bits/socket.h: ... here.
894
8cc3269f
RM
895 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
896 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
897 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
898
5d228a43
AS
8992013-08-27 Andreas Schwab <schwab@suse.de>
900
45b8accc
AS
901 [BZ #15736]
902 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
903 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
904 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
905 * string/test-strcasecmp.c (test_main): Run tests in several
906 locales.
907 * string/test-strncasecmp.c (test_main): Likewise.
908
5d228a43
AS
909 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
910 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
911 to __strcasecmp_nonascii and __strncasecmp_nonascii.
912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
913 (__strncasecmp_ssse3) [PIC]: Likewise.
914
59d112a4
RM
9152013-08-26 Roland McGrath <roland@hack.frob.com>
916
53234cc3
RM
917 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
918
59d112a4
RM
919 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
920 instead of explicitly declaring xdecrypt.
921 * nis/nss_nis/nis-publickey.c: Likewise.
922
595aba70
SP
9232013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
924
925 [BZ #15890]
926 * nscd/aicache.c: Include res_hconf.h.
927 (addhstaiX): Initialize res_hconf.
928
ffabd393
AS
9292013-08-26 Andreas Schwab <schwab@suse.de>
930
931 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
932 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
933
e0a69f5c
SP
9342013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
935
936 * nscd/aicache.c (addhstaiX): Fix indentation.
937
8c12f01d
MF
9382013-08-25 Mike Frysinger <vapier@gentoo.org>
939
940 * configure.ac: Quote $build_pt_chown test.
941 * configure: Regenerated.
942
8fe89494
JM
9432013-08-23 Joseph Myers <joseph@codesourcery.com>
944
945 [BZ #15532]
946 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
947 * math/s_cexpf.c (__cexpf): Likewise.
948 * math/s_cexpl.c (__cexpl): Likewise.
949 * math/libm-test.inc (cexp_test_data): Correct expected return
950 value for NaN + i0. Add another test.
951
75b181d6
DM
9522013-08-22 David S. Miller <davem@davemloft.net>
953
954 * po/ca.po: Update Catalan translation from translation project.
936241e4 955 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 956
acd06bb1
JM
9572013-08-21 Joseph Myers <joseph@codesourcery.com>
958
959 [BZ #15797]
960 * math/s_fdim.c (__fdim): Check for infinite arguments if result
961 is infinite, not alongside NaN test.
962 * math/s_fdimf.c (__fdimf): Likewise.
963 * math/s_fdiml.c (__fdiml): Likewise.
964 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
965 errno is unchanged.
966
c0c3f78a
OB
9672013-08-21 Ondřej Bílka <neleai@seznam.cz>
968
969 * argp/argp-help.c: Fix typos.
970 * crypt/speeds.c: Likewise.
971 * csu/check_fds.c: Likewise.
972 * elf/dl-load.c: Likewise.
973 * elf/dl-open.c: Likewise.
974 * elf/reldep3.c: Likewise.
975 * elf/reldep.c: Likewise.
976 * elf/sprof.c: Likewise.
977 * iconv/iconv_charmap.c: Likewise.
978 * iconv/skeleton.c: Likewise.
979 * iconv/strtab.c: Likewise.
980 * io/lockf64.c: Likewise.
981 * libio/libioP.h: Likewise.
982 * resolv/gai_notify.c: Likewise.
983 * resolv/ns_name.c: Likewise.
984 * resolv/ns_samedomain.c: Likewise.
985 * resolv/res_send.c: Likewise.
986 * stdlib/random.c: Likewise.
987 * sunrpc/rpc/xdr.h: Likewise.
988 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
989 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
990 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
991 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
992 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
995 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
996 * sysdeps/mach/hurd/check_fds.c: Likewise.
997 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
998 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
999 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1000 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1001 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1002 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1003 * sysdeps/pthread/aio_notify.c: Likewise.
1004 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1005 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1006 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1007 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1008 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1009
46ed1038
LD
10102013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1011
1012 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1013 version if bit_Slow_SSE4_2 is set.
1014 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1015 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1016
d400dcac
AZ
10172013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1018
1019 [BZ #15867]
1020 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1021 trampoline stack frame information.
1022 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1023 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1024 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1025 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1026 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1027 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1028 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1029 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1030 sa_flags value.
1031 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1032 interrupting a syscall and set with option SA_SIGINFO.
1033
42c8fdd8
JM
10342013-08-20 Joseph Myers <joseph@codesourcery.com>
1035
c980f2f4
JM
1036 [BZ #15531]
1037 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1038 argument is infinite.
1039 * math/s_cprojf.c (__cprojf): Likewise.
1040 * math/s_cprojl.c (__cprojl): Likewise.
1041 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1042 * math/libm-test.inc (cproj_test_data): Add more tests.
1043
0716c4fc
JM
1044 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1045
42c8fdd8
JM
1046 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1047 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1048 size. Use __ffs to determine corresponding shift.
1049
b31469d0
JM
10502013-08-20 Joseph Myers <joseph@codesourcery.com>
1051 Roland McGrath <roland@hack.frob.com>
1052
1053 * Makefile (INSTALL): Remove trailing blank lines from output of
1054 makeinfo.
1055
4e39af6e
AK
10562013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1057
1058 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1059 Align 32 bit compat elf_greg to 8 bytes.
1060
f315524e
AA
10612013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1062
1063 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1064
1326ba1a
SP
10652013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1066
1067 * string/strcoll_l.c (coll_seq): New structure.
1068 (get_next_seq_cached): New function.
1069 (get_next_seq): New function.
1070 (do_compare): New function.
1071 (STRCOLL): Use GNU style definition. Simplify implementation
1072 by using get_next_seq, get_next_seq_cached and do_compare.
1073
91ce4085
FW
10742013-08-16 Florian Weimer <fweimer@redhat.com>
1075
1076 [BZ #14699]
1077 CVE-2013-4237
1078 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1079 member.
1080 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1081 member.
1082 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1083 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1084 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1085 conditional.
1086 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1087 GETDENTS_64BIT_ALIGNED.
1088 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1089 * manual/filesys.texi (Reading/Closing Directory): Document
1090 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1091 strongly.
1092 * manual/conf.texi (Limits for Files): Add portability note to
1093 NAME_MAX, PATH_MAX.
1094 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1095
ca0a6bc4
AS
10962013-08-13 Andreas Schwab <schwab@suse.de>
1097
1098 [BZ #15749]
1099 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1100 of fabs.
1101 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1102 LDBL_MAX_EXP >= 16384]: Add tests for it.
1103
6c1fd795
DM
11042013-08-12 David S. Miller <davem@davemloft.net>
1105
1106 * version.h (RELEASE): Set to "development".
1107 (VERSION): Set to "2.18.90".
1108 * NEWS: Add 2.19 section.
1109
31ad488d
DM
11102013-08-03 David S. Miller <davem@davemloft.net>
1111
1112 * po/ko.po: Update Korean translation from translation project.
1113
db24e684
DM
11142013-08-01 David S. Miller <davem@davemloft.net>
1115
1116 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1117 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1118 Bilka.
1119
f723285b
DM
11202013-07-30 David S. Miller <davem@davemloft.net>
1121
1122 * po/fr.po: Update French translation from translation project.
1123
3cbc52db
DM
11242013-07-28 David S. Miller <davem@davemloft.net>
1125
30bbc0cc
DM
1126 * po/cs.po: Update Czech translation from translation project.
1127
3cbc52db
DM
1128 * po/sv.po: Update Swedish translation from translation project.
1129
d492e6d0
DM
11302013-07-27 David S. Miller <davem@davemloft.net>
1131
f1a7f492
DM
1132 * po/eo.po: Update Esperanto translation from translation project.
1133
90e62a4a
DM
1134 * po/vi.po: Update Vietnamese translation from translation project.
1135
d492e6d0
DM
1136 * po/de.po: Update German translation from translation project.
1137
d4baa62d
DM
11382013-07-26 David S. Miller <davem@davemloft.net>
1139
641aa7b4
DM
1140 * po/bg.po: Update Bulgarian translation from translation project.
1141
d4baa62d
DM
1142 * po/nl.po: Update Dutch translation from translation project.
1143 * po/pl.po: Update Polish translation from translation project.
1144 * po/ru.po: Update Russian translation from translation project.
1145
61a9dcb9
DM
11462013-07-24 David S. Miller <davem@davemloft.net>
1147
1148 * po/libc.pot: Update.
1149
7b1f8b58
AZ
11502013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1151
1152 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1153 variable page size.
1154 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1155 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1156 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1157
a8fc7a03
AK
11582013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1159
1160 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1161
e4608715
CD
11622013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1163 Andreas Schwab <schwab@suse.de>
1164 Roland McGrath <roland@hack.frob.com>
1165 Joseph Myers <joseph@codesourcery.com>
1166 Carlos O'Donell <carlos@redhat.com>
1167
1168 [BZ #15755]
1169 * config.h.in: Define HAVE_PT_CHOWN.
1170 * config.make.in (build-pt-chown): New variable.
1171 * configure.in (--enable-pt_chown): New configure option.
1172 * configure: Regenerate.
1173 * login/Makefile: Include Makeconfig. Build pt_chown only if
1174 build-pt-chown is enabled.
1175 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1176 pt_chown to fix pty ownership.
1177 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1178 CLOSE_ALL_FDS.
1179 * manual/install.texi (Configuring and compiling): Mention
1180 --enable-pt_chown. Add @findex for grantpt.
1181 * INSTALL: Regenerate.
1182
da2d62df
DM
11832013-07-20 David S. Miller <davem@davemloft.net>
1184
1185 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1186 difference between 32-bit and 64-bit.
1187
d7e06450
CD
11882013-07-15 Carlos O'Donell <carlos@redhat.com>
1189
1190 [BZ #15711]
1191 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1192 Avoid system header dependency with -ffreestanding.
1193 ($(objpfx)bits/syscall%d): Likewise.
1194
f959cfd7
DM
11952013-07-13 David S. Miller <davem@davemloft.net>
1196
1197 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1198 underflows from atanl/atan2l due to bug 15319.
1199 (casinh_test_data): Likewise.
1200
c61f8513
DM
12012013-07-07 David S. Miller <davem@davemloft.net>
1202
1203 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1204
72c90ed0
JA
12052013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1206
1207 * sysdeps/i386/fpu/libm-test-ulps: Update.
1208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1209
52dfbe13
SP
12102013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1211
1212 * configure.in (--enable-lock-elision): Fix message text.
1213 * INSTALL: Regenerate.
1214 * configure: Regenerate.
1215
3f169543
AZ
12162013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1217
1218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1219
521c6785
AJ
12202013-07-03 Andreas Jaeger <aj@suse.de>
1221
1222 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1223 define.
1224 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1225 (ptrace_peeksiginfo_args): Add.
1226 (__ptrace_peeksiginfo_flags): Add.
1227 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1228 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1229 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1230
d2cc15cb
AM
12312013-07-03 Allan McRae <allan@archlinux.org>
1232
1233 * sysdeps/i386/fpu/libm-test-ulps: Update.
1234
3aaeeca7
DM
12352013-07-02 David S. Miller <davem@davemloft.net>
1236
1237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1238
5314ed1a
MT
12392013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1240
1241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1242
67338156
JM
12432013-07-02 Joseph Myers <joseph@codesourcery.com>
1244
1245 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1247
1717da59
AK
12482013-07-02 Andi Kleen <ak@linux.intel.com>
1249
1250 * config.h.in (ENABLE_LOCK_ELISION): Add.
1251 * configure.in (--enable-lock-elision): Add option.
1252 * manual/install.texi: Document --enable lock elision.
1253 * configure: Regenerate
1254 * INSTALL: Regenerate.
1255
1c81621c
L
12562013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1257
1258 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1259 SSE4.2 strcasecmp for libc.a.
1260 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1261
77f01ab5
JM
12622013-07-02 Joseph Myers <joseph@codesourcery.com>
1263
1264 [BZ #13304]
1265 * soft-fp/op-common.h (_FP_FMA): New macro.
1266 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1267 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1268 (_FP_MUL_MEAT_1_imm): ... here.
1269 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1270 (_FP_MUL_MEAT_1_wide): ... here.
1271 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1272 (_FP_MUL_MEAT_1_hard): ... here.
1273 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1274 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1275 (_FP_MUL_MEAT_2_wide): ... here.
1276 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1277 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1278 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1279 (_FP_MUL_MEAT_2_gmp): ... here.
1280 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1281 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1282 (_FP_MUL_MEAT_4_wide): ... here.
1283 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1284 (_FP_MUL_MEAT_4_gmp): ... here.
1285 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1286 (_FP_WFRACBITS_DW_S): Likewise.
1287 (_FP_WFRACXBITS_DW_S): Likewise.
1288 (_FP_HIGHBIT_DW_S): Likewise.
1289 (FP_FMA_S): Likewise.
1290 (_FP_FRAC_HIGH_DW_S): Likewise.
1291 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1292 (_FP_WFRACBITS_DW_D): Likewise.
1293 (_FP_WFRACXBITS_DW_D): Likewise.
1294 (_FP_HIGHBIT_DW_D): Likewise.
1295 (FP_FMA_D): Likewise.
1296 (_FP_FRAC_HIGH_DW_D): Likewise.
1297 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1298 (_FP_WFRACBITS_DW_E): Likewise.
1299 (_FP_WFRACXBITS_DW_E): Likewise.
1300 (_FP_HIGHBIT_DW_E): Likewise.
1301 (FP_FMA_E): Likewise.
1302 (_FP_FRAC_HIGH_DW_E): Likewise.
1303 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1304 (_FP_WFRACBITS_DW_Q): Likewise.
1305 (_FP_WFRACXBITS_DW_Q): Likewise.
1306 (_FP_HIGHBIT_DW_Q): Likewise.
1307 (FP_FMA_Q): Likewise.
1308 (_FP_FRAC_HIGH_DW_Q): Likewise.
1309 * soft-fp/fmasf4.c: New file.
1310 * soft-fp/fmadf4.c: Likewise.
1311 * soft-fp/fmatf4.c: Likewise.
1312
6308fd9a
LD
13132013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1314
1315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1316 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1317 Silvermont.
1318 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1319 macro.
1320 (index_Slow_SSE4_2): Likewise.
1321 (index_Prefer_PMINUB_for_stringop): Likewise.
1322 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1323 bit_Slow_SSE4_2 is set.
1324 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1326
89cd9569
RA
13272013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1328
1329 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1330 rtld_global._dl_hwcap2.
1331 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1332 POWER8.
1333 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1334 POWER8 feature descriptions defined in _dl_hwcap2.
1335 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1336 string handling for POWER8 feature bits.
1337 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1338 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1339 _dl_powerpc_cap_flags.
1340 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1341 * sysdeps/powerpc/rtld-global-offsets.sym
1342 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1343 _dl_hwcap2 in the rtld_global_ro structure.
1344
1ae8bfe0
RA
13452013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1346
1347 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1348 hardware capabilities in support of AT_HWCAP2.
1349 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1350 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1351 GLRO(dl_hwcap2).
1352 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1353 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1354 explicitly the unknown a_type display mechanism is used.
1355 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1356 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1357 struct member.
1358 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1359 to macro prototype for AT_HWCAP2 support.
1360 * sysdeps/i386/dl-procinfo.h: Likewise.
1361 * sysdeps/s390/dl-procinfo.h: Likewise.
1362 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1363 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1364 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1365 return -1 for unknown a_type display fallback.
1366 * sysdeps/sparc/dl-procinfo.h: Likewise.
1367 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1368 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1369
8fbec010
JM
13702013-06-28 Joseph Myers <joseph@codesourcery.com>
1371
1372 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1373 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1374
0432680e
PY
13752013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1376
1377 [BZ #12492]
1378 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1379 mprotect making __stack_prot writable.
1380
ce61a2ad
NF
13812013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1382 Joseph Myers <joseph@codesourcery.com>
1383
1384 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1385 as being properly aligned.
1386
f91f1c0f
MR
13872013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1388
3d0f5d0c
MR
1389 * dlfcn/modstatic5.c: New file.
1390 * dlfcn/tststatic5.c: New file.
1391 * dlfcn/Makefile (tests): Add tststatic5.
1392 (tests-static): Likewise.
1393 (modules-names): Add modstatic5.
1394 (tststatic5-ENV): New variable.
1395 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1396
f91f1c0f
MR
1397 [BZ #15022]
1398 * elf/dl-support.c (_dl_main_map): New variable.
1399 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1400 (_dl_nns, _dl_load_adds): Set to 1.
1401 (_dl_initial_searchlist): Refer to _dl_main_map.
1402 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1403 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1404 call to _dl_get_origin.
1405 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1406 around call_map.
1407 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1408 * dlfcn/modstatic3.c: New file.
1409 * dlfcn/tststatic3.c: New file.
1410 * dlfcn/tststatic4.c: New file.
1411 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1412 (tests-static): Likewise.
1413 (modules-names): Add modstatic3.
1414 (tststatic3-ENV, tststatic4-ENV): New variables.
1415 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1416 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1417
cbe7d24b
JM
14182013-06-26 Joseph Myers <joseph@codesourcery.com>
1419
1420 * configure.in (CC): Require GCC version 4.4 or later.
1421 * configure: Regenerated.
1422 * manual/install.texi (Tools for Compilation): Update GCC version
1423 requirement.
1424 * INSTALL: Regenerated.
1425
11b8a0e1
LD
14262013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1427
1428 [BZ #15674]
bb5bb87c
L
1429 * string/test-memcmp.c (check2): New.
1430 (main): Call check2.
1431
11b8a0e1
LD
1432 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1433
b0037103
MR
14342013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1435
1436 [BZ #15022]
1437 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1438 over to...
1439 (dl_open_worker) [!SHARED]: ... here.
1440
c18c701d
RA
14412013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1442
1443 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1444
1d17fa5f
RH
14452013-06-25 Richard Henderson <rth@redhat.com>
1446
1447 * locale/programs/locarchive.c: Include <libc-internal.h>
1448
8fcb833a
JM
14492013-06-25 Joseph Myers <joseph@codesourcery.com>
1450
1451 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1452 trailing whitespace removed.
1453
17db6e8d
MF
14542013-06-24 Mike Frysinger <vapier@gentoo.org>
1455
1456 [BZ #10283]
17db6e8d
MF
1457 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1458 * locale/programs/locarchive.c: Include libc-mmap.h.
1459 (prepare_address_space): Take two new outputs (the mmap base and len).
1460 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1461 values.
1462 (create_archive): Declare new mmap base and len values for
1463 prepare_address_space, and store the result in ah.
1464 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1465 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1466 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1467 Declare new mmap base and len values for
1468 prepare_address_space, and store the result in new_ah.
1469 (open_archive): Declare new mmap base and len values for
1470 prepare_address_space, and store the result in ah.
1471 (close_archive): If ah->mmap_base is not NULL, use that and
1472 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1473 * sysdeps/generic/libc-mmap.h: New file.
1474
d605071e
MF
14752013-06-24 Mike Frysinger <vapier@gentoo.org>
1476
1477 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1478 (ALIGN_UP): Likewise.
1479 (PTR_ALIGN_DOWN): Likewise.
1480 (PTR_ALIGN_UP): Likewise.
1481
2f063a6e
RA
14822013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1483
1484 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1485 entry mapped to PPC_PLATFORM_POWER8.
1486 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1487 POWER8.
1488 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1489 (_dl_string_platform): Add case for exporting platform position for
1490 POWER8.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1492 search path to sysdeps/powerpc/powerpc32/power8 directory.
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1494 search path to sysdeps/powerpc/powerpc64/power8 directory.
1495 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1496 power7 directories.
1497 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1498 power7 directories.
1499
a31ee4b3
SP
15002013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1501
a74ca98f
SP
1502 * INSTALL: Regenerate.
1503
a31ee4b3
SP
1504 * nscd/connections.c (nscd_init): Fix comment.
1505
695c378f
JM
15062013-06-22 Joseph Myers <joseph@codesourcery.com>
1507
d8412221
JM
1508 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1509
695c378f
JM
1510 [BZ #15667]
1511 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1512 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1513
d1d54715
MR
15142013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1515
1516 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1517 DL_DST_REQ_STATIC.
1518 (DL_DST_REQ_STATIC): Remove macro.
1519
8fdda7af
JM
15202013-06-21 Joseph Myers <joseph@codesourcery.com>
1521
1522 [BZ #7006]
1523 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1524 with a shift of 0 bits.
1525
f3bc5e5a
MR
15262013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1527
1528 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1529 $(tststatic-ENV).
1530
be09e8c9
KK
15312013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1532
1533 [BZ #15655]
1534 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1535
85c2e611
AZ
15362013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1537
1538 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1539 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1540 accepts -fno-tree-loop-distribute-patterns.
1541 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1542 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1543 recursive call.
1544 * string/memset.c (memset): Likewise.
1545 * string/test-memmove.c (simple_memmove): Disable loop transformation
1546 to library calls.
1547 * string/test-memset.c (simple_memset): Likewise.
1548 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1549 * benchtests/bench-memset.c (simple_memset): Likewise.
1550 * configure: Regenerated.
1551
c91e0825
JM
15522013-06-20 Joseph Myers <joseph@codesourcery.com>
1553
b8c792af
JM
1554 * math/test-misc.c (main): Ignore fesetround failure when failures
1555 of subsequent rounding tests would be ignored.
1556
c91e0825
JM
1557 [BZ #15654]
1558 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1559 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1560 * math/fegetenv.c (__fegetenv): Return 0.
1561 * math/fegetexcept.c (fegetexcept): Return 0.
1562 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1563 FE_TONEAREST.
1564 * math/feholdexcpt.c (feholdexcept): Return 0.
1565 * math/fesetenv.c (__fesetenv): Return 0.
1566 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1567 argument FE_TONEAREST.
1568 * math/feupdateenv.c (__feupdateenv): Return 0.
1569 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1570
bfcacbde
RM
15712013-06-18 Roland McGrath <roland@hack.frob.com>
1572
1573 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1574 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1575 ($(objpfx)rtld-%.os rules): Use them.
1576
e55a9b25
AZ
15772013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1578
1579 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1580 fields.
1581
346d65b3
RM
15822013-06-17 Roland McGrath <roland@hack.frob.com>
1583
12086fb4
RM
1584 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1585 length of target pattern, then descending length of dependency pattern.
1586 * configure.in (AWK): Require gawk 3.1.2 or newer.
1587 * manual/install.texi (Tools for Compilation): Say that we do.
1588 * configure: Regenerated.
1589
346d65b3
RM
1590 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1591 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1592 * scripts/sysd-rules.awk: ... this new script.
1593 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1594 than a glob-style pattern.
1595
1a846317
JM
15962013-06-17 Joseph Myers <joseph@codesourcery.com>
1597
1598 * math/test-misc.c (main): Do not treat incorrectly rounded
1599 conversions as failure unless ROUNDING_TESTS passes.
1600
8fc75e6f
JM
16012013-06-15 Joseph Myers <joseph@codesourcery.com>
1602
3711a167
JM
1603 [BZ #15631]
1604 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1605 restore exception state around main square root computation, then
1606 check for inexactness explicitly.
1607
8fc75e6f
JM
1608 * math/libm-test.inc (fma_test_data): Add another test.
1609
61dd6208
SP
16102013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1611
adf23d2c
SP
1612 * manual/threads.texi (Non-POSIX Extensions): New document
1613 node. Document pthread_getattr_default_np and
1614 pthread_setattr_default_np.
1615
61dd6208
SP
1616 * Versions.def (libpthread): Add GLIBC_2.18.
1617 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1619 Likewise.
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1621 Likewise.
1622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1623 Likewise.
1624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1625 Likewise.
1626 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1627 Likewise.
1628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1629 Likewise.
1630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1631 Likewise.
1632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1633 Likewise.
1634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1635 Likewise.
1636
d086fc7b
LD
16372013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1638
1639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1640 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1641
747ef469
SP
16422013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1643 H.J. Lu <hjl.tools@gmail.com>
1644
1645 [BZ #15627]
1646 * sysdeps/x86_64/rtld-memset.c: Remove file.
1647 * sysdeps/x86_64/rtld-memset.S: New file.
1648
1b2feed2
JM
16492013-06-14 Joseph Myers <joseph@codesourcery.com>
1650
1651 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1652 (test_in_one_mode): Take arguments for whether the rounding mode
1653 is supported for each floating-point type.
1654 (do_test): Pass new arguments to test_in_one_mode using
1655 ROUNDING_TESTS.
1656
a58ad3f8
RM
16572013-06-13 Roland McGrath <roland@hack.frob.com>
1658
1659 * posix/tst-waitid.c (do_test): Distinguish different instances of
1660 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1661 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1662 before entering the kernel for waitpid.
1663
c204ab28
SP
16642013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1665
1666 * NEWS: Fix note on clock function precision. Text by Roland
1667 McGrath.
1668
f4a29fba
RM
16692013-06-13 Roland McGrath <roland@hack.frob.com>
1670
1671 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1672 it into place only when and if the sanity check passes.
1673
1f24b9ad
JM
16742013-06-13 Joseph Myers <joseph@codesourcery.com>
1675
1676 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1677 output for whether conversion result is exact. Take argument
1678 indicating whether type is IBM long double.
1679 (round_for_all): Change need_exact field to ibm_ld.
1680 * stdlib/tst-strtod-round.c (struct exactness): New type.
1681 (struct test): Change bool ld_ok field to struct exactness exact.
1682 (TEST): Update all definitions for change to field.
1683 (tests): Regenerate array contents.
1684 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1685 field value. Check for IBM long double here.
1686 (do_test): Update calls to test_in_one_mode.
1687
58206c68
SP
16882013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1689
1690 [BZ #12515]
1691 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1692 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1693
2d6f4c5b 16942013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1695
1696 [BZ #15605]
1697 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1698 generated by the compiler on loop optimizations.
1699 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1700 general definitions.
1701
94f2c076
JM
17022013-06-12 Joseph Myers <joseph@codesourcery.com>
1703
1704 * math/bug-nextafter.c: Include <math-tests.h>.
1705 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1706 the relevant type.
1707 * math/bug-nexttoward.c: Include <math-tests.h>.
1708 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1709 the relevant type.
1710 * math/test-misc.c: Include <math-tests.h>.
1711 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1712 the relevant type.
1713
e0e50a0a
AJ
17142013-06-12 Andreas Jaeger <aj@suse.de>
1715
1716 * po/ia.po: Update Interlingua translation from translation
1717 project.
1718
25061094
SP
17192013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1720
1721 * include/fenv.h: Include stdbool.h.
1722 (struct rm_ctx): New structure.
1723 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1724 Define macro.
1725 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1726 (SET_RESTORE_ROUNDF): Likewise.
1727 (SET_RESTORE_ROUNDL): Likewise.
1728 (SET_RESTORE_ROUND_NOEX): Likewise.
1729 (SET_RESTORE_ROUND_NOEXF): Likewise.
1730 (SET_RESTORE_ROUND_NOEXL): Likewise.
1731 (SET_RESTORE_ROUND_53BIT): Likewise.
1732 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1733 (libc_feresetround_noexf_ctx): Likewise.
1734 (libc_feresetround_noexl_ctx): Likewise.
1735 (libc_feholdsetround_53bit_ctx): Likewise.
1736 (libc_feresetround_53bit_ctx): Likewise.
1737 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1738 (libc_feholdexcept_setround_sse_ctx): New function.
1739 (libc_fesetenv_sse_ctx): Likewise.
1740 (libc_feupdateenv_sse_ctx): Likewise.
1741 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1742 (libc_feholdexcept_setround_387_ctx): Likewise.
1743 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1744 (libc_feholdsetround_387_prec_ctx): Likewise.
1745 (libc_feholdsetround_387_ctx): Likewise.
1746 (libc_feholdsetround_387_53bit_ctx): Likewise.
1747 (libc_feholdsetround_sse_ctx): Likewise.
1748 (libc_feresetround_sse_ctx): Likewise.
1749 (libc_feresetround_387_ctx): Likewise.
1750 (libc_feupdateenv_387_ctx): Likewise.
1751 (libc_feholdexcept_setroundf_ctx): Define macro.
1752 (libc_fesetenvf_ctx): Likewise.
1753 (libc_feupdateenvf_ctx): Likewise.
1754 (libc_feholdsetroundf_ctx): Likewise.
1755 (libc_feresetroundf_ctx): Likewise.
1756 (libc_feholdexcept_setround_ctx): Likewise.
1757 (libc_fesetenv_ctx): Likewise.
1758 (libc_feupdateenv_ctx): Likewise.
1759 (libc_feholdsetround_ctx): Likewise.
1760 (libc_feresetround_ctx): Likewise.
1761 (libc_feholdexcept_setroundl_ctx): Likewise.
1762 (libc_feupdateenvl_ctx): Likewise.
1763 (libc_feholdsetroundl_ctx): Likewise.
1764 (libc_feresetroundl_ctx): Likewise.
1765 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1766 (libc_feresetround_53bit_ctx): Likewise.
1767
59b30555
SP
17682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1769
1770 * locale/iso-639.def: Convert to UTF-8.
1771
f1d73d30
JM
17722013-06-11 Joseph Myers <joseph@codesourcery.com>
1773
1774 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1775 (EXCEPTION_TESTS_double): Likewise.
1776 (EXCEPTION_TESTS_long_double): Likewise.
1777 (EXCEPTION_TESTS): Likewise.
1778 * math/libm-test.inc (test_exceptions): Only test exceptions if
1779 EXCEPTION_TESTS (FLOAT).
1780
94aca5e7
SP
17812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1782
1783 * benchtests/Makefile (string-bench): Add strcpy_chk and
1784 stpcpy_chk.
1785 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1786 * benchtests/bench-stpcpy_chk.c: New file.
1787 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1788 * benchtests/bench-strcpy_chk.c: New file.
1789 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1790 code.
1791 (do_test): Likewise.
1792
fac0c5f2
RA
17932013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1794
1795 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1796 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1797 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1798 with tabs where appropriate.
1799 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1800 dl-procinfo.h.
1801 [PPC_PLATFORM_PPC440]: Likewise.
1802 [PPC_PLATFORM_PPC464]: Likewise.
1803 [PPC_PLATFORM_PPC476]: Likewise.
1804 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1805 ppc464, and ppc476 platform strings merging from ports/
1806 dl-procinfo.h.
1807
f22bc486
AS
18082013-06-11 Andreas Schwab <schwab@suse.de>
1809
1810 [BZ #14991]
1811 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1812 (from_ucs4_idx): Regenerate.
1813 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1814 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1815 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1816 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1817 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1818 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1819 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1820 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1821 from FROM_LOOP and TO_LOOP specific macros.
1822 (BODY): Handle combining characters.
1823 * iconvdata/BIG5HKSCS.irreversible: Update.
1824 * iconvdata/BIG5HKSCS.precomposed: New file.
1825 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1826 characters.
1827 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1828
c1f75dc3
SP
18292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1830
4eacded2
SP
1831 * include/sys/time.h: Fix indentation and add copyright header.
1832
fec799f8
SP
1833 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1834 (do_test): Likewise.
1835 * string/test-memchr.c (do_one_test): Likewise.
1836 (do_test): Likewise.
1837 * string/test-memcmp.c (do_one_test): Likewise.
1838 (do_test): Likewise.
1839 * string/test-memcpy.c (do_one_test): Likewise.
1840 (do_test): Likewise.
1841 * string/test-memmem.c (do_one_test): Likewise.
1842 (do_test): Likewise.
1843 (do_random_tests): Likewise.
1844 * string/test-memmove.c (do_one_test): Likewise.
1845 (do_test): Likewise.
1846 * string/test-memset.c (do_one_test): Likewise.
1847 (do_test): Likewise.
1848 * string/test-rawmemchr.c (do_one_test): Likewise.
1849 (do_test): Likewise.
1850 * string/test-strcasecmp.c (do_one_test): Likewise.
1851 (do_test): Likewise.
1852 * string/test-strcasestr.c (do_one_test): Likewise.
1853 (do_test): Likewise.
1854 * string/test-strcat.c (do_one_test): Likewise.
1855 (do_test): Likewise.
1856 * string/test-strchr.c (do_one_test): Likewise.
1857 (do_test): Likewise.
1858 * string/test-strcmp.c (do_one_test): Likewise.
1859 (do_test): Likewise.
1860 * string/test-strcpy.c (do_one_test): Likewise.
1861 (do_test): Likewise.
1862 * string/test-string.h: Likewise.
1863 (test_init): Likewise.
1864 * string/test-strlen.c (do_one_test): Likewise.
1865 (do_test): Likewise.
1866 * string/test-strncasecmp.c (do_one_test): Likewise.
1867 (do_test): Likewise.
1868 * string/test-strncat.c (do_one_test): Likewise.
1869 (do_test): Likewise.
1870 * string/test-strncmp.c (do_one_test): Likewise.
1871 (do_test_limit): Likewise.
1872 (do_test): Likewise.
1873 * string/test-strncpy.c (do_one_test): Likewise.
1874 (do_test): Likewise.
1875 * string/test-strnlen.c (do_one_test): Likewise.
1876 (do_test): Likewise.
1877 * string/test-strpbrk.c (do_one_test): Likewise.
1878 (do_test): Likewise.
1879 * string/test-strrchr.c (do_one_test): Likewise.
1880 (do_test): Likewise.
1881 * string/test-strspn.c (do_one_test): Likewise.
1882 (do_test): Likewise.
1883 * string/test-strstr.c (do_one_test): Likewise.
1884 (do_test): Likewise.
1885
97020474
SP
1886 * benchtests/Makefile (string-bench): Add string benchmarks.
1887 * benchtests/bench-bcopy-ifunc.c: New file.
1888 * benchtests/bench-bcopy.c: New file.
1889 * benchtests/bench-bzero-ifunc.c: New file.
1890 * benchtests/bench-bzero.c: New file.
1891 * benchtests/bench-memccpy-ifunc.c: New file.
1892 * benchtests/bench-memccpy.c: New file.
1893 * benchtests/bench-memchr-ifunc.c: New file.
1894 * benchtests/bench-memchr.c: New file.
1895 * benchtests/bench-memcmp-ifunc.c: New file.
1896 * benchtests/bench-memcmp.c: New file.
1897 * benchtests/bench-memmem-ifunc.c: New file.
1898 * benchtests/bench-memmem.c: New file.
1899 * benchtests/bench-memmove-ifunc.c: New file.
1900 * benchtests/bench-memmove.c: New file.
1901 * benchtests/bench-mempcpy-ifunc.c: New file.
1902 * benchtests/bench-mempcpy.c: New file.
1903 * benchtests/bench-memset-ifunc.c: New file.
1904 * benchtests/bench-memset.c: New file.
1905 * benchtests/bench-rawmemchr-ifunc.c: New file.
1906 * benchtests/bench-rawmemchr.c: New file.
1907 * benchtests/bench-stpcpy-ifunc.c: New file.
1908 * benchtests/bench-stpcpy.c: New file.
1909 * benchtests/bench-stpncpy-ifunc.c: New file.
1910 * benchtests/bench-stpncpy.c: New file.
1911 * benchtests/bench-strcasecmp-ifunc.c: New file.
1912 * benchtests/bench-strcasecmp.c: New file.
1913 * benchtests/bench-strcasestr-ifunc.c: New file.
1914 * benchtests/bench-strcasestr.c: New file.
1915 * benchtests/bench-strcat-ifunc.c: New file.
1916 * benchtests/bench-strcat.c: New file.
1917 * benchtests/bench-strchr-ifunc.c: New file.
1918 * benchtests/bench-strchr.c: New file.
1919 * benchtests/bench-strchrnul-ifunc.c: New file.
1920 * benchtests/bench-strchrnul.c: New file.
1921 * benchtests/bench-strcmp-ifunc.c: New file.
1922 * benchtests/bench-strcmp.c: New file.
1923 * benchtests/bench-strcpy-ifunc.c: New file.
1924 * benchtests/bench-strcpy.c: New file.
1925 * benchtests/bench-strcspn-ifunc.c: New file.
1926 * benchtests/bench-strcspn.c: New file.
1927 * benchtests/bench-strlen-ifunc.c: New file.
1928 * benchtests/bench-strlen.c: New file.
1929 * benchtests/bench-strncasecmp-ifunc.c: New file.
1930 * benchtests/bench-strncasecmp.c: New file.
1931 * benchtests/bench-strncat-ifunc.c: New file.
1932 * benchtests/bench-strncat.c: New file.
1933 * benchtests/bench-strncmp-ifunc.c: New file.
1934 * benchtests/bench-strncmp.c: New file.
1935 * benchtests/bench-strncpy-ifunc.c: New file.
1936 * benchtests/bench-strncpy.c: New file.
1937 * benchtests/bench-strnlen-ifunc.c: New file.
1938 * benchtests/bench-strnlen.c: New file.
1939 * benchtests/bench-strpbrk-ifunc.c: New file.
1940 * benchtests/bench-strpbrk.c: New file.
1941 * benchtests/bench-strrchr-ifunc.c: New file.
1942 * benchtests/bench-strrchr.c: New file.
1943 * benchtests/bench-strspn-ifunc.c: New file.
1944 * benchtests/bench-strspn.c: New file.
1945 * benchtests/bench-strstr-ifunc.c: New file.
1946 * benchtests/bench-strstr.c: New file.
1947
c1f75dc3
SP
1948 * benchtests/Makefile: Disable parallel execution of targets.
1949 (string-bench): Add memcpy.
1950 (benchset): New variable to store a list of benchmark sets.
1951 (bench-func): Renamed from bench.
1952 (bench-set): New target.
1953 (bench): Depend on bench-func and bench-set.
1954 * benchtests/README: Add section on benchmark sets.
1955 * benchtests/bench-memcpy-ifunc.c: New file.
1956 * benchtests/bench-memcpy.c: New file.
1957 * benchtests/bench-string.h: New file.
1958
50fd745b
AS
19592013-06-11 Andreas Schwab <schwab@suse.de>
1960
1961 [BZ #15577]
1962 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1963 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1964 values in the triple.
1965 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1966 terminator in the group key.
1967
3ee7e9fe
AJ
19682013-06-11 Andreas Jaeger <aj@suse.de>
1969
1970 * po/zh_TW.po: Update Chinese (traditional) translation from
1971 translation project.
1972
89fb6835
SP
19732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1974
1975 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1976 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1977 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1978 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1979 (clock_getcpuclockid): Likewise.
1980 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1981 Add weak_alias and libc_hidden_def.
1982 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1983 * rt/clock_gettime.c (clock_gettime): Rename to
1984 __clock_gettime. Add weak_alias and libc_hidden_def.
1985 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1986 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1987 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1988 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1989 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1990 Likewise.
1991 * rt/clock_settime.c (clock_settime): Rename to
1992 __clock_settime. Add weak_alias and libc_hidden_def.
1993 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1994
0efa6f8b
JM
19952013-06-10 Joseph Myers <joseph@codesourcery.com>
1996
b8c61b4b
JM
1997 * mach/err_boot.sub: Remove trailing whitespace.
1998 * mach/err_ipc.sub: Likewise.
1999 * mach/err_mach.sub: Likewise.
2000
0efa6f8b
JM
2001 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2002 (ROUNDING_TESTS_double): Likewise.
2003 (ROUNDING_TESTS_long_double): Likewise.
2004 (ROUNDING_TESTS): Likewise.
2005 * math/libm-test.inc: Include <math-tests.h>.
2006 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2007 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2008 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2009 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2010
50b818bf
SP
20112013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2012
2013 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2014 of assigning.
2015
60d2f8f3
JM
20162013-06-08 Joseph Myers <joseph@codesourcery.com>
2017
4902d2c3
JM
2018 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2019 otherwise empty TRANS lines.
2020 * sysdeps/gnu/errlist.c: Regenerated.
2021
60d2f8f3
JM
2022 * catgets/gencat.c (error_print): Use (void) in function
2023 definition.
2024 * crypt/crypt_util.c (__init_des): Likewise.
2025 * crypt/speeds.c (Stop): Likewise.
2026 (main): Likewise.
2027 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2028 * inet/ruserpass.c (token): Likewise.
2029 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2030 * intl/localealias.c (extend_alias_table): Likewise.
2031 * intl/plural-exp.c (init_germanic_plural): Likewise.
2032 * libio/fcloseall.c (__fcloseall): Likewise.
2033 * libio/genops.c (_IO_flush_all): Likewise.
2034 (_IO_flush_all_linebuffered): Likewise.
2035 (_IO_cleanup): Likewise.
2036 (_IO_iter_begin): Likewise.
2037 (_IO_iter_end): Likewise.
2038 (_IO_list_lock): Likewise.
2039 (_IO_list_unlock): Likewise.
2040 (_IO_list_resetlock): Likewise.
2041 * libio/getchar.c (getchar): Likewise.
2042 * libio/getchar_u.c (getchar_unlocked): Likewise.
2043 * libio/getwchar.c (getwchar): Likewise.
2044 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2045 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2046 * login/getpt.c (__getpt): Likewise.
2047 * login/tst-utmp.c (main): Likewise.
2048 * malloc/hooks.c (__malloc_check_init): Likewise.
2049 * malloc/malloc.c (__malloc_stats): Likewise.
2050 * malloc/mtrace.c (tr_break): Likewise.
2051 (mtrace): Likewise.
2052 (muntrace): Likewise.
2053 * misc/fstab.c (endfsent): Likewise.
2054 * misc/getclktck.c (__getclktck): Likewise.
2055 * misc/getdtsz.c (__getdtablesize): Likewise.
2056 * misc/gethostid.c (gethostid): Likewise.
2057 * misc/getpagesize.c (__getpagesize): Likewise.
2058 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2059 (__get_nprocs): Likewise.
2060 (__get_phys_pages): Likewise.
2061 (__get_avphys_pages): Likewise.
2062 * misc/getttyent.c (getttyent): Likewise.
2063 (setttyent): Likewise.
2064 (endttyent): Likewise.
2065 * misc/getusershell.c (getusershell): Likewise.
2066 (endusershell): Likewise.
2067 (setusershell): Likewise.
2068 (initshells): Likewise.
2069 * misc/hsearch.c (__hdestroy): Likewise.
2070 * misc/sync.c (sync): Likewise.
2071 * misc/syslog.c (closelog_internal): Likewise.
2072 (closelog): Likewise.
2073 * misc/ttyslot.c (ttyslot): Likewise.
2074 * misc/vhangup.c (vhangup): Likewise.
2075 * posix/fork.c (__fork): Likewise.
2076 * posix/getegid.c (__getegid): Likewise.
2077 * posix/geteuid.c (__geteuid): Likewise.
2078 * posix/getgid.c (__getgid): Likewise.
2079 * posix/getpid.c (__getpid): Likewise.
2080 * posix/getppid.c (__getppid): Likewise.
2081 * posix/getuid.c (__getuid): Likewise.
2082 * posix/pause.c (pause): Likewise.
2083 * posix/setpgrp.c (setpgrp): Likewise.
2084 * posix/setsid.c (__setsid): Likewise.
2085 * posix/test-vfork.c (noop): Likewise.
2086 * resolv/gethnamaddr.c (_endhtent): Likewise.
2087 (_gethtent): Likewise.
2088 (ht_endhostent): Likewise.
2089 (gethostent): Likewise.
2090 (dns_service): Likewise.
2091 * stdlib/drand48.c (drand48): Likewise.
2092 * stdlib/lrand48.c (lrand48): Likewise.
2093 * stdlib/mrand48.c (mrand48): Likewise.
2094 * stdlib/rand.c (rand): Likewise.
2095 * stdlib/random.c (__random): Likewise.
2096 * stdlib/setenv.c (clearenv): Likewise.
2097 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2098 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2099 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2100 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2101 (__get_nprocs): Likewise.
2102 (__get_phys_pages): Likewise.
2103 (__get_avphys_pages): Likewise.
2104 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2105 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2106 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2107 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2108 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2109 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2110 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2111 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2112 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2113 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2114 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2115 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2116 * sysdeps/posix/clock.c (clock): Likewise.
2117 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2118 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2119 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2120 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2121 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2122 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2123 (__get_nprocs_conf): Likewise.
2124 (__get_phys_pages): Likewise.
2125 (__get_avphys_pages): Likewise.
2126 * time/clock.c (clock): Likewise.
2127 * time/tzset.c (__tzname_max): Likewise.
2128
2e09a79a
JM
21292013-06-07 Joseph Myers <joseph@codesourcery.com>
2130
2131 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2132 (__bswap_32): Do not use "register".
2133 * crypt/crypt.c (_ufc_doit_r): Likewise.
2134 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2135 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2136 * gmon/gmon.c (__monstartup): Likewise.
2137 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2138 * hurd/hurdmalloc.c (more_memory): Likewise.
2139 (malloc): Likewise.
2140 (free): Likewise.
2141 (realloc): Likewise.
2142 (malloc_fork_prepare): Likewise.
2143 (malloc_fork_parent): Likewise.
2144 (malloc_fork_child): Likewise.
2145 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2146 (_svcauth_des): Likewise.
2147 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2148 * inet/inet_net.c (inet_network): Likewise.
2149 * inet/inet_netof.c (inet_netof): Likewise.
2150 * inet/rcmd.c (__validuser2_sa): Likewise.
2151 * io/fts.c (fts_open): Likewise.
2152 (fts_load): Likewise.
2153 (fts_close): Likewise.
2154 (fts_read): Likewise.
2155 (fts_children): Likewise.
2156 (fts_build): Likewise.
2157 (fts_stat): Likewise.
2158 (fts_sort): Likewise.
2159 (fts_alloc): Likewise.
2160 (fts_lfree): Likewise.
2161 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2162 (_IO_file_xsgetn): Likewise.
2163 (_IO_file_xsgetn_mmap): Likewise.
2164 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2165 (_IO_cookie_write): Likewise.
2166 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2167 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2168 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2169 * malloc/obstack.c (_obstack_begin): Likewise.
2170 (_obstack_begin_1): Likewise.
2171 (_obstack_newchunk): Likewise.
2172 (_obstack_allocated_p): Likewise.
2173 (obstack_free): Likewise.
2174 (_obstack_memory_used): Likewise.
2175 * misc/getttyent.c (getttynam): Likewise.
2176 (getttyent): Likewise.
2177 (skip): Likewise.
2178 (value): Likewise.
2179 * misc/getusershell.c (initshells): Likewise.
2180 * misc/syslog.c (__vsyslog_chk): Likewise.
2181 * misc/ttyslot.c (ttyslot): Likewise.
2182 * nis/nis_hash.c (__nis_hash): Likewise.
2183 * posix/fnmatch_loop.c (FCT): Likewise.
2184 * posix/getconf.c (print_all): Likewise.
2185 (main): Likewise.
2186 * posix/getopt.c (exchange): Likewise.
2187 * posix/glob.c (globfree): Likewise.
2188 (prefix_array): Likewise.
2189 (__glob_pattern_type): Likewise.
2190 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2191 (NS_GET32): Likewise.
2192 (NS_PUT16): Likewise.
2193 (NS_PUT32): Likewise.
2194 * resolv/gethnamaddr.c (getanswer): Likewise.
2195 (gethostbyname2): Likewise.
2196 (gethostbyaddr): Likewise.
2197 (_gethtent): Likewise.
2198 (_gethtbyname2): Likewise.
2199 (_gethtbyaddr): Likewise.
2200 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2201 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2202 * resolv/res_init.c (__res_vinit): Likewise.
2203 (net_mask): Likewise.
2204 * resolv/res_mkquery.c (outchar): Likewise.
2205 (PRINT): Likewise.
2206 * stdio-common/printf_fp.c (outchar): Likewise.
2207 (PRINT): Likewise.
2208 * stdio-common/printf_fphex.c (outchar): Likewise.
2209 (PRINT): Likewise.
2210 * stdio-common/printf_size.c (outchar): Likewise.
2211 (PRINT): Likewise.
2212 * stdio-common/test_rdwr.c (main): Likewise.
2213 * stdio-common/tfformat.c (matches): Likewise.
2214 * stdio-common/vfprintf.c (outchar): Likewise.
2215 (printf_unknown): Likewise.
2216 (buffered_vfprintf): Likewise.
2217 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2218 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2219 (ReadFile): Likewise.
2220 * stdlib/qsort.c (SWAP): Likewise.
2221 (_quicksort): Likewise.
2222 * stdlib/setenv.c (__add_to_environ): Likewise.
2223 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2224 * stdlib/strtol_l.c (__strtol_l): Likewise.
2225 * stdlib/tst-strtod.c (main): Likewise.
2226 * stdlib/tst-strtol.c (main): Likewise.
2227 * stdlib/tst-strtoll.c (main): Likewise.
2228 * string/bits/string2.h (__strcmp_cc): Likewise.
2229 (__strcmp_cg): Likewise.
2230 (__strcspn_c1): Likewise.
2231 (__strcspn_c2): Likewise.
2232 (__strcspn_c3): Likewise.
2233 (__strspn_c1): Likewise.
2234 (__strspn_c2): Likewise.
2235 (__strspn_c3): Likewise.
2236 (__strsep_1c): Likewise.
2237 (__strsep_2c): Likewise.
2238 (__strsep_3c): Likewise.
2239 * string/memccpy.c (__memccpy): Likewise.
2240 * string/stpcpy.c (__stpcpy): Likewise.
2241 * string/strcmp.c (strcmp): Likewise.
2242 * string/strrchr.c (strrchr): Likewise.
2243 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2244 Likewise.
2245 * sysdeps/mach/hurd/getcwd.c
2246 (_hurd_canonicalize_directory_name_internal): Likewise.
2247 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2248 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2249 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2250 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2251 Likewise, in both definitions.
2252 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2253 definitions.
2254 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2255 64] (__bswap_64): Likewise.
2256 * time/test_time.c (main): Likewise.
2257 * time/tzfile.c (__tzfile_read): Likewise.
2258 (__tzfile_compute): Likewise.
2259 * time/tzset.c (__tzset_parse_tz): Likewise.
2260 (tzset_internal): Likewise.
2261 (compute_change): Likewise.
2262 * wcsmbs/wcscat.c (__wcscat): Likewise.
2263 * wcsmbs/wcschr.c (wcschr): Likewise.
2264 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2265 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2266 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2267 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2268 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2269 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2270 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2271 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2272 * wcsmbs/wmemset.c (wmemset): Likewise.
2273
9e54314b
JM
22742013-06-06 Joseph Myers <joseph@codesourcery.com>
2275
2276 * scripts/config.guess: Update to version 2013-05-16.
2277 * scripts/config.sub: Update to version 2013-04-24.
2278 * scripts/install-sh: Update to version 2011-11-20.07.
2279 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2280 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2281
350635a5
OB
22822013-06-06 Ondřej Bílka <neleai@seznam.cz>
2283
2284 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2285 * elf/sln.c: Likewise.
2286 * hurd/hurd/ioctl.h: Likewise.
2287 * hurd/hurdmalloc.c: Likewise.
2288 * hurd/xattr.c: Likewise.
2289 * include/shlib-compat.h: Likewise.
2290 * inet/ruserpass.c: Likewise.
2291 * libio/iofgets_u.c: Likewise.
2292 * libio/iofgetws_u.c: Likewise.
2293 * locale/programs/ld-identification.c: Likewise.
2294 * locale/programs/ld-time.c: Likewise.
2295 * mach/msg-destroy.c: Likewise.
2296 * nss/nss_files/files-netgrp.c: Likewise.
2297 * resolv/res_data.c: Likewise.
2298 * soft-fp/op-1.h: Likewise.
2299 * soft-fp/op-2.h: Likewise.
2300 * soft-fp/op-4.h: Likewise.
2301 * soft-fp/op-common.h: Likewise.
2302 * stdio-common/printf_fphex.c: Likewise.
2303 * stdlib/strtod_l.c: Likewise.
2304 * sunrpc/rpc/clnt.h: Likewise.
2305 * sysdeps/generic/framestate.c: Likewise.
2306 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2307 * sysdeps/i386/bsd-setjmp.S: Likewise.
2308 * sysdeps/i386/__longjmp.S: Likewise.
2309 * sysdeps/i386/setjmp.S: Likewise.
2310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2311 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2312 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2313 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2314 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2317 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2320 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2325 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2326 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2327 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2328 * sysdeps/ieee754/support.c: Likewise.
2329 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2330 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2331 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2332 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2333 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2334 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2335 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2336 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2337 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2338 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2339 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2340 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2341 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2342 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2343 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2344 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2345 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2347
44a988af
OB
23482013-06-05 Ondřej Bílka <neleai@seznam.cz>
2349
25506f09 2350 * posix/transbug.c: Remove executable mode.
44a988af 2351
9c84384c
JM
23522013-06-05 Joseph Myers <joseph@codesourcery.com>
2353
2354 * crypt/speeds.c: Remove trailing whitespace.
2355 * dlfcn/default.c: Likewise.
2356 * elf/ifuncdep2.c: Likewise.
2357 * elf/ifuncmain1.c: Likewise.
2358 * elf/ifuncmain1vis.c: Likewise.
2359 * elf/testobj.h: Likewise.
2360 * elf/tst-stackguard1.c: Likewise.
2361 * gmon/sys/gmon.h: Likewise.
2362 * hurd/hurdmsg.c: Likewise.
2363 * hurd/new-fd.c: Likewise.
2364 * hurd/ports-get.c: Likewise.
2365 * iconvdata/ibm1008_420.c: Likewise.
2366 * inet/tst-getni1.c: Likewise.
2367 * inet/tst-getni2.c: Likewise.
2368 * libio/ioungetc.c: Likewise.
2369 * libio/wfiledoalloc.c: Likewise.
2370 * manual/libm-err-tab.pl: Likewise.
2371 * math/w_dremf.c: Likewise.
2372 * misc/ftruncate.c: Likewise.
2373 * posix/bug-glob2.c: Likewise.
2374 * posix/tst-pcre.c: Likewise.
2375 * posix/wait4.c: Likewise.
2376 * resolv/README: Likewise.
2377 * resolv/res_debug.h: Likewise.
2378 * resolv/tst-inet_ntop.c: Likewise.
2379 * setjmp/bug269-setjmp.c: Likewise.
2380 * soft-fp/extended.h: Likewise.
2381 * soft-fp/op-1.h: Likewise.
2382 * soft-fp/op-2.h: Likewise.
2383 * soft-fp/op-4.h: Likewise.
2384 * soft-fp/op-8.h: Likewise.
2385 * soft-fp/testit.c: Likewise.
2386 * stdio-common/bug16.c: Likewise.
2387 * stdlib/random.c: Likewise.
2388 * sunrpc/rpcsvc/rquota.x: Likewise.
2389 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2390 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2391 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2392 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2393 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2394 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2395 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2396 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2397 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2398 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2399 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2400 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2401 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2402 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2403 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2404 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2407 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2408 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2409 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2410 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2411 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2412 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2413 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2415 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2416 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2417 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2418 * sysdeps/ieee754/s_lib_version.c: Likewise.
2419 * sysdeps/mach/hurd/check_fds.c: Likewise.
2420 * sysdeps/mach/hurd/getsockname.c: Likewise.
2421 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2422 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2423 * sysdeps/powerpc/bits/link.h: Likewise.
2424 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2425 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2426 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2427 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2428 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2429 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2430 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2431 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2432 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2433 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2434 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2435 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2436 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2437 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2438 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2439 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2440 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2441 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2442 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2443 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2444 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2445 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2446 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2447 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2448 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2449 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2450 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2451 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2452 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2453 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2454 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2455 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2456 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2457 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2458 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2459 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2460 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2461 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2462 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2463 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2464 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2465 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2466 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2467 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2468 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2469 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2470 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2471 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2472 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2473 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2474 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2475 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2476 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2477 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2478 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2479 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2480 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2481 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2482 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2483 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2484 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2485 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2486 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2487 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2488 * sysdeps/powerpc/sysdep.h: Likewise.
2489 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2490 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2491 * sysdeps/sh/dl-trampoline.S: Likewise.
2492 * sysdeps/sh/memset.S: Likewise.
2493 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2494 * sysdeps/sh/strlen.S: Likewise.
2495 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2496 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2497 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2498 * sysdeps/sparc/sparc32/rem.S: Likewise.
2499 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2500 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2501 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2502 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2503 * sysdeps/sparc/sparc32/urem.S: Likewise.
2504 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2505 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2506 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2507 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2508 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2509 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2510 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2511 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2512 * sysdeps/unix/bsd/times.c: Likewise.
2513 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2514 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2518 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2519 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2520 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2521 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2522 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2523 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2524 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2525 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2526 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2527 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2528 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2529 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2530 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2531 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2532 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2533 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2534 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2535 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2536 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2537 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2538 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2539 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2540 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2541 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2542 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2543 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2544 * sysdeps/x86_64/strcspn.S: Likewise.
2545
869378a5
RA
25462013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2547
2548 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2549 generated file. Regenerate properly from gen-translit.pl.
2550 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2551 locale/C-translit.h.
2552
840e2943
AS
25532013-06-05 Andreas Schwab <schwab@suse.de>
2554
2555 [BZ #15100]
2556 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2557 week as 6 instead of -1.
2558 * time/tst-strptime.c (day_tests): Add test case.
2559
4c60cb0c
SP
25602013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2561
2562 * sysdeps/generic/math_private.h
2563 (libc_feholdexcept_setround_53bit): Replace with
2564 libc_feholdsetround_53bit.
2565 (libc_feupdateenv_53bit): Replace with
2566 libc_feresetround_53bit.
2567 (SET_RESTORE_ROUND_53BIT): Adjust.
2568
d180203e
SP
25692013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2570
96df079a
SP
2571 * string/test-strchrnul.c: Add copyright header.
2572
d180203e
SP
2573 * posix/tst-getaddrinfo4.c: Increase test timeout.
2574
8b0ccb2d
CD
25752013-06-03 Carlos O'Donell <carlos@redhat.com>
2576
2577 [BZ #15536]
2578 * math/libm-test.inc (MAX_EXP): Remove
2579 (MIN_EXP): Define.
2580 (ulp): Use MIN_EXP - MANT_DIG.
2581 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2582
3b3c4d40
CD
25832013-05-31 Carlos O'Donell <carlos@redhat.com>
2584
2585 * po/be.po: Revert last change.
2586 * po/zh_CN.po: Likewise.
2587 * po/header.pot: Likewise.
2588
fab7ce3f
JM
25892013-05-31 Joseph Myers <joseph@codesourcery.com>
2590
2591 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2592 link-libc-deps to empty as target-specific variable.
2593 * Makerules (link-libc-args): New variable.
2594 (libc-for-link): Likewise.
2595 (link-libc-deps): Likewise.
2596 (lib%.so): Depend on $(link-libc-deps). Link with
2597 $(link-libc-args).
2598 (build-module): Link with $(link-libc-args).
2599 (build-module-asneeded): Likewise.
2600 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2601 list of objects.
2602 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2603 target-specific variable.
2604 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2605 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2606 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2607 libc.
2608 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2609 libc and ld.so.
2610 ($(objpfx)libpcprofile.so): Likewise.
2611 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2612 libc_nonshared.a.
2613 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2614 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2615 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2616 $(link-libc-deps).
2617 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2618 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2619 * login/Makefile ($(objpfx)libutil.so): Likewise.
2620 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2621 * math/Makefile ($(objpfx)libm.so): Likewise.
2622 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2623 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2624 variable instead of depending directly on libc.
2625 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2626 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2627 $(link-libc-deps).
2628 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2629 libc.
2630 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2631 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2632 ($(objpfx)libanl.so): Likewise.
2633 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2634 ld.so.
2635 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2636 $(link-libc-deps).
2637 * sysdeps/i386/fpu/Makefile: Remove file.
2638 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2639 ($(objpfx)libm.so): Remove dependency on ld.so.
2640
eca5920c
PF
26412013-05-30 Patsy Franklin <pfrankli@redhat.com>
2642
2643 [BZ # 15553]
2644 * nis/yp_xdr.c (XDRMAXNAME): Define.
2645 (XDRMAXRECORD): Define.
2646 (xdr_domainname): Use XDRMAXNAME.
2647 (xdr_mapname): Likewise.
2648 (xdr_peername): Likewise.
2649 (xdr_keydat): Use XDRMAXRECORD.
2650 (xdr_valdat): Likewise.
2651
26522013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2653
2654 [BZ #14256]
2655 * manual/errno.texi (ESTALE): Update to account for more than
2656 just NFS file systems.
2657 * sysdeps/gnu/errlist.c: Regenerated.
2658
b9375348
SP
26592013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2660
2661 [BZ #15465]
2662 * elf/Makefile (tests): Add tst-null-argv.
2663 (modules-names): Add tst-null-argv-lib.
2664 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2665 (tst-null-argv-ENV): Set environment for tst-null-argv.
2666 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2667 (RTLD_PROGNAME): New macro.
2668 * elf/tst-null-argv.c: New test case.
2669 * elf/tst-null-argv-lib.c: Library for test case.
2670 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2671 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2672 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2673 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2674 * elf/dl-init.c (call_init): Likewise.
2675 (_dl_init): Likewise.
2676 * elf/dl-load.c (print_search_path): Likewise.
2677 (_dl_map_object): Likewise.
2678 * elf/dl-lookup.c (do_lookup_x): Likewise.
2679 (add_dependency): Likewise.
2680 (_dl_lookup_symbol_x): Likewise.
2681 (_dl_debug_bindings): Likewise.
2682 * elf/dl-open.c (_dl_show_scope): Likewise.
2683 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2684 * elf/dl-version.c (match_symbol): Likewise.
2685 (_dl_check_map_versions): Likewise.
2686 * elf/rtld.c (dl_main): Likewise.
2687 (print_unresolved): Use RTLD_PROGNAME.
2688 (print_missing_version): Likewise.
2689 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2690 (elf_machine_rela): Likewise.
2691 * sysdeps/powerpc/powerpc32/dl-machine.c
2692 (__process_machine_rela): Likewise.
2693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2694 Likewise.
2695 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2696 Likewise.
2697 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2698 Likewise.
2699 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2700 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2701 Likewise.
2702 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2703 Likewise.
2704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2705
8a9f20c8
CD
27062013-05-28 Carlos O'Donell <carlos@redhat.com>
2707
2708 * po/be.po: Add descriptive title.
2709 * po/zh_CN.po: Likewise.
2710 * po/header.pot: Likewise.
2711
0e60d68e
MF
27122013-05-28 Mike Frysinger <vapier@gentoo.org>
2713
2714 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2715 error message.
2716 (enlarge_archive): Likewise.
2717
56b672e9
BN
27182013-05-28 Ben North <ben@redfrontdoor.org>
2719
2720 * manual/arith.texi (frexp): It is the magnitude of the return
2721 value which lies in [0.5, 1), not the return value itself.
2722
5e056687
AZ
27232013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2724
2725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2726
2b66ef5d
TS
27272013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2728
528c2405
TS
2729 * stdio-common/bug26.c (main): Correct fscanf template.
2730
07b4c13d
TS
2731 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2732 declare _dl_skip_args.
2733
ec9dd97c
TS
2734 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2735 Don't declare.
2736
2b66ef5d
TS
2737 * manual/platform.texi: Add missing @end deftypefun.
2738
4f8dfe27
JM
27392013-05-24 Joseph Myers <joseph@codesourcery.com>
2740
0323d086
JM
2741 [BZ #15529]
2742 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2743 bit of mantissa of 2^16382.
2744 * math/libm-test.inc (hypot_test_data): Add more tests.
2745
dd4259b9
JM
2746 * math/libm-test.inc: Add drem and pow10 to list of tested
2747 functions.
2748 (pow10_test): New function.
2749 (drem_test): Likewise.
2750 (drem_test_tonearest): Likewise.
2751 (drem_test_towardzero): Likewise.
2752 (drem_test_downward): Likewise.
2753 (drem_test_upward): Likewise.
2754 (main): Call the new functions.
2755
4f8dfe27
JM
2756 * math/libm-test.inc (finite_test_data): Remove.
2757 (finite_test): Run tests from isfinite_test_data.
2758 (gamma_test_data): Remove.
2759 (gamma_test): Run tests from lgamma_test_data.
2760 * sysdeps/i386/fpu/libm-test-ulps: Update.
2761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2762
d116b7c4
AZ
27632013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2764
2765 * manual/platform.texi: Add PowerPC PPR function set documentation.
2766 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2767 implementation.
2768
e96e3767
CD
27692013-05-24 Carlos O'Donell <carlos@redhat.com>
2770
2771 * math/libm-test.inc (MAX_EXP): Define.
2772 (ULPDIFF): Define.
2773 (ulp): New function.
2774 (check_float_internal): Use ULPDIFF.
2775 (cpow_test): Disable failing test.
2776 (check_ulp): Test ulp() implemetnation.
2777 (main): Call check_ulp before starting tests.
2778
b679a606
JM
27792013-05-24 Joseph Myers <joseph@codesourcery.com>
2780
e8bdba36
JM
2781 * math/gen-libm-test.pl (generate_testfile): Do not handle
2782 START_DATA and END_DATA.
2783 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2784 END_DATA.
2785 (acos_tonearest_test_data): Likewise.
2786 (acos_towardzero_test_data): Likewise.
2787 (acos_downward_test_data): Likewise.
2788 (acos_upward_test_data): Likewise.
2789 (acosh_test_data): Likewise.
2790 (asin_test_data): Likewise.
2791 (asin_tonearest_test_data): Likewise.
2792 (asin_towardzero_test_data): Likewise.
2793 (asin_downward_test_data): Likewise.
2794 (asin_upward_test_data): Likewise.
2795 (asinh_test_data): Likewise.
2796 (atan_test_data): Likewise.
2797 (atanh_test_data): Likewise.
2798 (atan2_test_data): Likewise.
2799 (cabs_test_data): Likewise.
2800 (cacos_test_data): Likewise.
2801 (cacosh_test_data): Likewise.
2802 (carg_test_data): Likewise.
2803 (casin_test_data): Likewise.
2804 (casinh_test_data): Likewise.
2805 (catan_test_data): Likewise.
2806 (catanh_test_data): Likewise.
2807 (cbrt_test_data): Likewise.
2808 (ccos_test_data): Likewise.
2809 (ccosh_test_data): Likewise.
2810 (ceil_test_data): Likewise.
2811 (cexp_test_data): Likewise.
2812 (cimag_test_data): Likewise.
2813 (clog_test_data): Likewise.
2814 (clog10_test_data): Likewise.
2815 (conj_test_data): Likewise.
2816 (copysign_test_data): Likewise.
2817 (cos_test_data): Likewise.
2818 (cos_tonearest_test_data): Likewise.
2819 (cos_towardzero_test_data): Likewise.
2820 (cos_downward_test_data): Likewise.
2821 (cos_upward_test_data): Likewise.
2822 (cosh_test_data): Likewise.
2823 (cosh_tonearest_test_data): Likewise.
2824 (cosh_towardzero_test_data): Likewise.
2825 (cosh_downward_test_data): Likewise.
2826 (cosh_upward_test_data): Likewise.
2827 (cpow_test_data): Likewise.
2828 (cproj_test_data): Likewise.
2829 (creal_test_data): Likewise.
2830 (csin_test_data): Likewise.
2831 (csinh_test_data): Likewise.
2832 (csqrt_test_data): Likewise.
2833 (ctan_test_data): Likewise.
2834 (ctan_tonearest_test_data): Likewise.
2835 (ctan_towardzero_test_data): Likewise.
2836 (ctan_downward_test_data): Likewise.
2837 (ctan_upward_test_data): Likewise.
2838 (ctanh_test_data): Likewise.
2839 (ctanh_tonearest_test_data): Likewise.
2840 (ctanh_towardzero_test_data): Likewise.
2841 (ctanh_downward_test_data): Likewise.
2842 (ctanh_upward_test_data): Likewise.
2843 (erf_test_data): Likewise.
2844 (erfc_test_data): Likewise.
2845 (exp_test_data): Likewise.
2846 (exp_tonearest_test_data): Likewise.
2847 (exp_towardzero_test_data): Likewise.
2848 (exp_downward_test_data): Likewise.
2849 (exp_upward_test_data): Likewise.
2850 (exp10_test_data): Likewise.
2851 (exp2_test_data): Likewise.
2852 (expm1_test_data): Likewise.
2853 (fabs_test_data): Likewise.
2854 (fdim_test_data): Likewise.
2855 (finite_test_data): Likewise.
2856 (floor_test_data): Likewise.
2857 (fma_test_data): Likewise.
2858 (fma_towardzero_test_data): Likewise.
2859 (fma_downward_test_data): Likewise.
2860 (fma_upward_test_data): Likewise.
2861 (fmax_test_data): Likewise.
2862 (fmin_test_data): Likewise.
2863 (fmod_test_data): Likewise.
2864 (fpclassify_test_data): Likewise.
2865 (frexp_test_data): Likewise.
2866 (gamma_test_data): Likewise.
2867 (hypot_test_data): Likewise.
2868 (ilogb_test_data): Likewise.
2869 (isfinite_test_data): Likewise.
2870 (isgreater_test_data): Likewise.
2871 (isgreaterequal_test_data): Likewise.
2872 (isinf_test_data): Likewise.
2873 (isless_test_data): Likewise.
2874 (islessequal_test_data): Likewise.
2875 (islessgreater_test_data): Likewise.
2876 (isnan_test_data): Likewise.
2877 (isnormal_test_data): Likewise.
2878 (issignaling_test_data): Likewise.
2879 (isunordered_test_data): Likewise.
2880 (j0_test_data): Likewise.
2881 (j1_test_data): Likewise.
2882 (jn_test_data): Likewise.
2883 (ldexp_test_data): Likewise.
2884 (lgamma_test_data): Likewise.
2885 (lrint_test_data): Likewise.
2886 (lrint_tonearest_test_data): Likewise.
2887 (lrint_towardzero_test_data): Likewise.
2888 (lrint_downward_test_data): Likewise.
2889 (lrint_upward_test_data): Likewise.
2890 (llrint_test_data): Likewise.
2891 (llrint_tonearest_test_data): Likewise.
2892 (llrint_towardzero_test_data): Likewise.
2893 (llrint_downward_test_data): Likewise.
2894 (llrint_upward_test_data): Likewise.
2895 (log_test_data): Likewise.
2896 (log10_test_data): Likewise.
2897 (log1p_test_data): Likewise.
2898 (log2_test_data): Likewise.
2899 (logb_test_data): Likewise.
2900 (logb_downward_test_data): Likewise.
2901 (lround_test_data): Likewise.
2902 (llround_test_data): Likewise.
2903 (modf_test_data): Likewise.
2904 (nearbyint_test_data): Likewise.
2905 (nextafter_test_data): Likewise.
2906 (nexttoward_test_data): Likewise.
2907 (pow_test_data): Likewise.
2908 (pow_tonearest_test_data): Likewise.
2909 (pow_towardzero_test_data): Likewise.
2910 (pow_downward_test_data): Likewise.
2911 (pow_upward_test_data): Likewise.
2912 (remainder_test_data): Likewise.
2913 (remainder_tonearest_test_data): Likewise.
2914 (remainder_towardzero_test_data): Likewise.
2915 (remainder_downward_test_data): Likewise.
2916 (remainder_upward_test_data): Likewise.
2917 (remquo_test_data): Likewise.
2918 (rint_test_data): Likewise.
2919 (rint_tonearest_test_data): Likewise.
2920 (rint_towardzero_test_data): Likewise.
2921 (rint_downward_test_data): Likewise.
2922 (rint_upward_test_data): Likewise.
2923 (round_test_data): Likewise.
2924 (scalb_test_data): Likewise.
2925 (scalbn_test_data): Likewise.
2926 (scalbln_test_data): Likewise.
2927 (signbit_test_data): Likewise.
2928 (sin_test_data): Likewise.
2929 (sin_tonearest_test_data): Likewise.
2930 (sin_towardzero_test_data): Likewise.
2931 (sin_downward_test_data): Likewise.
2932 (sin_upward_test_data): Likewise.
2933 (sincos_test_data): Likewise.
2934 (sinh_test_data): Likewise.
2935 (sinh_tonearest_test_data): Likewise.
2936 (sinh_towardzero_test_data): Likewise.
2937 (sinh_downward_test_data): Likewise.
2938 (sinh_upward_test_data): Likewise.
2939 (sqrt_test_data): Likewise.
2940 (tan_test_data): Likewise.
2941 (tan_tonearest_test_data): Likewise.
2942 (tan_towardzero_test_data): Likewise.
2943 (tan_downward_test_data): Likewise.
2944 (tan_upward_test_data): Likewise.
2945 (tanh_test_data): Likewise.
2946 (tgamma_test_data): Likewise.
2947 (trunc_test_data): Likewise.
2948 (y0_test_data): Likewise.
2949 (y1_test_data): Likewise.
2950 (yn_test_data): Likewise.
2951 (significand_test_data): Likewise.
2952
b679a606
JM
2953 * math/gen-libm-test.pl (@functions): Remove variable.
2954 (generate_testfile): Don't handle START and END lines.
2955 * math/libm-test.inc (START): New macro.
2956 (END): Likewise.
2957 (END_COMPLEX): Likewise.
2958 (acos_test): Use END macro without arguments.
2959 (acos_test_tonearest): Likewise.
2960 (acos_test_towardzero): Likewise.
2961 (acos_test_downward): Likewise.
2962 (acos_test_upward): Likewise.
2963 (acosh_test): Likewise.
2964 (asin_test): Likewise.
2965 (asin_test_tonearest): Likewise.
2966 (asin_test_towardzero): Likewise.
2967 (asin_test_downward): Likewise.
2968 (asin_test_upward): Likewise.
2969 (asinh_test): Likewise.
2970 (atan_test): Likewise.
2971 (atanh_test): Likewise.
2972 (atan2_test): Likewise.
2973 (cabs_test): Likewise.
2974 (cacos_test): Use END_COMPLEX macro without arguments.
2975 (cacosh_test): Likewise.
2976 (carg_test): Use END macro without arguments.
2977 (casin_test): Use END_COMPLEX macro without arguments.
2978 (casinh_test): Likewise.
2979 (catan_test): Likewise.
2980 (catanh_test): Likewise.
2981 (cbrt_test): Use END macro without arguments.
2982 (ccos_test): Use END_COMPLEX macro without arguments.
2983 (ccosh_test): Likewise.
2984 (ceil_test): Use END macro without arguments.
2985 (cexp_test): Use END_COMPLEX macro without arguments.
2986 (cimag_test): Use END macro without arguments.
2987 (clog_test): Use END_COMPLEX macro without arguments.
2988 (clog10_test): Likewise.
2989 (conj_test): Likewise.
2990 (copysign_test): Use END macro without arguments.
2991 (cos_test): Likewise.
2992 (cos_test_tonearest): Likewise.
2993 (cos_test_towardzero): Likewise.
2994 (cos_test_downward): Likewise.
2995 (cos_test_upward): Likewise.
2996 (cosh_test): Likewise.
2997 (cosh_test_tonearest): Likewise.
2998 (cosh_test_towardzero): Likewise.
2999 (cosh_test_downward): Likewise.
3000 (cosh_test_upward): Likewise.
3001 (cpow_test): Use END_COMPLEX macro without arguments.
3002 (cproj_test): Likewise.
3003 (creal_test): Use END macro without arguments.
3004 (csin_test): Use END_COMPLEX macro without arguments.
3005 (csinh_test): Likewise.
3006 (csqrt_test): Likewise.
3007 (ctan_test): Likewise.
3008 (ctan_test_tonearest): Likewise.
3009 (ctan_test_towardzero): Likewise.
3010 (ctan_test_downward): Likewise.
3011 (ctan_test_upward): Likewise.
3012 (ctanh_test): Likewise.
3013 (ctanh_test_tonearest): Likewise.
3014 (ctanh_test_towardzero): Likewise.
3015 (ctanh_test_downward): Likewise.
3016 (ctanh_test_upward): Likewise.
3017 (erf_test): Use END macro without arguments.
3018 (erfc_test): Likewise.
3019 (exp_test): Likewise.
3020 (exp_test_tonearest): Likewise.
3021 (exp_test_towardzero): Likewise.
3022 (exp_test_downward): Likewise.
3023 (exp_test_upward): Likewise.
3024 (exp10_test): Likewise.
3025 (exp2_test): Likewise.
3026 (expm1_test): Likewise.
3027 (fabs_test): Likewise.
3028 (fdim_test): Likewise.
3029 (finite_test): Likewise.
3030 (floor_test): Likewise.
3031 (fma_test): Likewise.
3032 (fma_test_towardzero): Likewise.
3033 (fma_test_downward): Likewise.
3034 (fma_test_upward): Likewise.
3035 (fmax_test): Likewise.
3036 (fmin_test): Likewise.
3037 (fmod_test): Likewise.
3038 (fpclassify_test): Likewise.
3039 (frexp_test): Likewise.
3040 (gamma_test): Likewise.
3041 (hypot_test): Likewise.
3042 (ilogb_test): Likewise.
3043 (isfinite_test): Likewise.
3044 (isgreater_test): Likewise.
3045 (isgreaterequal_test): Likewise.
3046 (isinf_test): Likewise.
3047 (isless_test): Likewise.
3048 (islessequal_test): Likewise.
3049 (islessgreater_test): Likewise.
3050 (isnan_test): Likewise.
3051 (isnormal_test): Likewise.
3052 (issignaling_test): Likewise.
3053 (isunordered_test): Likewise.
3054 (j0_test): Likewise.
3055 (j1_test): Likewise.
3056 (jn_test): Likewise.
3057 (ldexp_test): Likewise.
3058 (lgamma_test): Likewise.
3059 (lrint_test): Likewise.
3060 (lrint_test_tonearest): Likewise.
3061 (lrint_test_towardzero): Likewise.
3062 (lrint_test_downward): Likewise.
3063 (lrint_test_upward): Likewise.
3064 (llrint_test): Likewise.
3065 (llrint_test_tonearest): Likewise.
3066 (llrint_test_towardzero): Likewise.
3067 (llrint_test_downward): Likewise.
3068 (llrint_test_upward): Likewise.
3069 (log_test): Likewise.
3070 (log10_test): Likewise.
3071 (log1p_test): Likewise.
3072 (log2_test): Likewise.
3073 (logb_test): Likewise.
3074 (logb_test_downward): Likewise.
3075 (lround_test): Likewise.
3076 (llround_test): Likewise.
3077 (modf_test): Likewise.
3078 (nearbyint_test): Likewise.
3079 (nextafter_test): Likewise.
3080 (nexttoward_test): Likewise.
3081 (pow_test): Likewise.
3082 (pow_test_tonearest): Likewise.
3083 (pow_test_towardzero): Likewise.
3084 (pow_test_downward): Likewise.
3085 (pow_test_upward): Likewise.
3086 (remainder_test): Likewise.
3087 (remainder_test_tonearest): Likewise.
3088 (remainder_test_towardzero): Likewise.
3089 (remainder_test_downward): Likewise.
3090 (remainder_test_upward): Likewise.
3091 (remquo_test): Likewise.
3092 (rint_test): Likewise.
3093 (rint_test_tonearest): Likewise.
3094 (rint_test_towardzero): Likewise.
3095 (rint_test_downward): Likewise.
3096 (rint_test_upward): Likewise.
3097 (round_test): Likewise.
3098 (scalb_test): Likewise.
3099 (scalbn_test): Likewise.
3100 (scalbln_test): Likewise.
3101 (signbit_test): Likewise.
3102 (sin_test): Likewise.
3103 (sin_test_tonearest): Likewise.
3104 (sin_test_towardzero): Likewise.
3105 (sin_test_downward): Likewise.
3106 (sin_test_upward): Likewise.
3107 (sincos_test): Likewise.
3108 (sinh_test): Likewise.
3109 (sinh_test_tonearest): Likewise.
3110 (sinh_test_towardzero): Likewise.
3111 (sinh_test_downward): Likewise.
3112 (sinh_test_upward): Likewise.
3113 (sqrt_test): Likewise.
3114 (tan_test): Likewise.
3115 (tan_test_tonearest): Likewise.
3116 (tan_test_towardzero): Likewise.
3117 (tan_test_downward): Likewise.
3118 (tan_test_upward): Likewise.
3119 (tanh_test): Likewise.
3120 (tgamma_test): Likewise.
3121 (trunc_test): Likewise.
3122 (y0_test): Likewise.
3123 (y1_test): Likewise.
3124 (yn_test): Likewise.
3125 (significand_test): Likewise.
3126
bae143d2
OB
31272013-05-24 Ondřej Bílka <neleai@seznam.cz>
3128
3129 [BZ #15381]
3130 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3131
9323d39b
EM
31322013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3133
d4ea44a0 3134 [BZ #14894]
9323d39b
EM
3135 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3136 __ppc_mdoio and __ppc_mdoom.
3137 * manual/platform.texi: Document new functions __ppc_yield,
3138 __ppc_mdoio and __ppc_mdoom.
3139
13e23af7
CD
31402013-05-22 Carlos O'Donell <carlos@redhat.com>
3141
3142 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3143 (main): Mention "tls" pseudo-hwcap is legacy.
3144 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3145
351fe550
JM
31462013-05-22 Joseph Myers <joseph@codesourcery.com>
3147
3148 * math/gen-libm-test.pl (parse_args): Output only string of
3149 arguments as text for test name, not full call or descriptions of
3150 tests for extra outputs.
3151 (generate_testfile): Do not pass function name to parse_args.
3152 Generate this_func variable from START.
3153 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3154 field to arg_str.
3155 (struct test_ff_f_data): Likewise.
3156 (test_ff_f_data_nexttoward): Likewise.
3157 (struct test_fi_f_data): Likewise.
3158 (struct test_fl_f_data): Likewise.
3159 (struct test_if_f_data): Likewise.
3160 (struct test_fff_f_data): Likewise.
3161 (struct test_c_f_data): Likewise.
3162 (struct test_f_f1_data): Likewise. Remove field extra_name.
3163 (struct test_fF_f1_data): Likewise.
3164 (struct test_ffI_f1_data): Likewise.
3165 (struct test_c_c_data): Rename test_name field to arg_str.
3166 (struct test_cc_c_data): Likewise.
3167 (struct test_f_i_data): Likewise.
3168 (struct test_ff_i_data): Likewise.
3169 (struct test_f_l_data): Likewise.
3170 (struct test_f_L_data): Likewise.
3171 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3172 and extra2_name.
3173 (COMMON_TEST_SETUP): New macro.
3174 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3175 (COMMON_TEST_CLEANUP): Likewise.
3176 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3177 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3178 macros.
3179 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3180 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3181 macros.
3182 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3183 (RUN_TEST_fff_f): Take argument string. Call new setup and
3184 cleanup macros.
3185 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3186 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3187 macros.
3188 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3189 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3190 macros.
3191 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3192 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3193 cleanup macros.
3194 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3195 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3196 cleanup macros.
3197 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3198 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3199 cleanup macros.
3200 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3201 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3202 macros.
3203 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3204 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3205 macros.
3206 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3207 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3208 macros.
3209 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3210 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3211 cleanup macros.
3212 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3213 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3214 cleanup macros.
3215 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3216 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3217 macros.
3218 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3219 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3220 cleanup macros.
3221 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3222 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3223 macros.
3224 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3225 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3226 macros.
3227 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3228 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3229 cleanup macros.
3230 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3231
85118d4d
EBM
32322013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3233
3234 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3235 to _sifields.sigfault.
3236 (si_addr_lsb): Define new macro.
3237 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3238 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3239 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3240
7a44c18f
CD
32412013-05-03 Carlos O'Donell <carlos at redhat.com>
3242
3243 [BZ #15441]
3244 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3245 returns -1.
3246 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3247 null return -1.
3248 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3249 loading the domain.
3250
b50a7181
JM
32512013-05-22 Joseph Myers <joseph@codesourcery.com>
3252
3253 * math/gen-libm-test.pl (parse_args): Do not include expected
3254 result in test name.
3255 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3256 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3257 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3258 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3259 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3261
051063c8
SP
32622013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3263
3ce9e010
SP
3264 * benchtests/Makefile: Sort function entries.
3265
051063c8
SP
3266 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3267 tanh, asinh, acosh, atanh.
3268 * benchtests/acos-inputs: New file.
3269 * benchtests/acosh-inputs: New file.
3270 * benchtests/asin-inputs: New file.
3271 * benchtests/asinh-inputs: New file.
3272 * benchtests/atanh-inputs: New file.
3273 * benchtests/cosh-inputs: New file.
3274 * benchtests/log-inputs: New file.
3275 * benchtests/sinh-inputs: New file.
3276 * benchtests/tanh-inputs: New file.
3277
47c22455
DL
32782013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3279
3280 [BZ #15339]
3281 * posix/tst-getaddrinfo4.c: New test.
3282 * posix/Makefile (tests): Add it.
3283
3d04f5db
SP
32842013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3285
3286 [BZ #15339]
3287 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3288 when no services were used.
3289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3290 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3291
d5dd6189
AS
32922013-05-21 Andreas Schwab <schwab@suse.de>
3293
3294 [BZ #15014]
3295 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3296 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3297 successful.
3298 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3299 redundant variable declarations and reallocation of buffer when
3300 parsing as IPv6 address. Always set NSS status when called from
3301 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3302 buffer too small. Correct computation of needed size.
3303 * nss/Makefile (tests): Add test-digits-dots.
3304 * nss/test-digits-dots.c: New test.
3305
fef94eab
SP
33062013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3307
3308 * benchtests/Makefile: Remove instructions for adding
3309 benchmark tests.
3310 * benchtests/README: New file to explain how to execute and
3311 enhance the benchmark tests.
3312
e39adf43
AS
33132013-05-21 Andreas Schwab <schwab@suse.de>
3314
3315 [BZ #15493]
3316 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3317 * setjmp/tst-sigsetjmp.c: New test.
3318
b2b671b6
OB
33192013-05-20 Ondřej Bílka <neleai@seznam.cz>
3320
3321 * sysdeps/x86_64/memset.S (memset): New implementation.
3322 (__bzero): Likewise.
3323 (__memset_tail): New function.
3324
2d48b41c
OB
33252013-05-20 Ondřej Bílka <neleai@seznam.cz>
3326
3327 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3328 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3329 __memcpy_sse2_unaligned ifunc selection.
3330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3331 Add memcpy-sse2-unaligned.S.
3332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3333 Add: __memcpy_sse2_unaligned.
3334
f16cc3eb
JM
33352013-05-19 Joseph Myers <joseph@codesourcery.com>
3336
3e694268
JM
3337 [BZ #15490]
3338 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3339 math_force_eval before restoring floating-point envrionment.
3340 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3341 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3342 Likewise.
3343 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3344 <math_private.h>.
3345 (__nearbyintl): Use math_force_eval before restoring
3346 floating-point environment.
3347 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3348
db62a907
JM
3349 * math/gen-libm-test.pl (special_functions): Remove.
3350 (parse_args): Don't handle TEST_extra. Handle functions with no
3351 return value.
3352 * math/libm-test.inc (struct test_sincos_data): Replace with
3353 struct test_fFF_11_data.
3354 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3355 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3356 (sincos_test_data): Change element type to struct
3357 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3358 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3359 RUN_TEST_LOOP_sincos.
3360 * math/README.libm-test: Don't mention special handling of
3361 individual functions.
3362 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3364 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3365 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3366 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3368
f16cc3eb
JM
3369 * math/gen-libm-test.pl (get_variable): Remove function.
3370 (parse_args): Don't show pointer parameters to call in test
3371 names. Use "extra output N" in test names for extra outputs
3372 rather than naming variables.
3373
3779b5b6
JM
33742013-05-18 Joseph Myers <joseph@codesourcery.com>
3375
2ee094ff
JM
3376 [BZ #15488]
3377 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3378 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3379 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3380 double tests.
3381 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3382 disable.
3383 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3384 check_long_double.
3385
3779b5b6
JM
3386 * math/gen-libm-test.pl (@tests): Remove variable.
3387 ($count): Likewise.
3388 (new_test): Remove function.
3389 (show_exceptions): New function.
3390 (special_functions): Use show_exceptions instead of new_test.
3391 (parse_args): Likewise.
3392 (generate_testfile): Pass only function name in generated call to
3393 print_max_error or print_complex_max_error.
3394 (get_ulps): Do not handle complex tests specially.
3395 (output_test): Rename to ...
3396 (get_all_ulps_for_test): ... this. Return a string rather than
3397 printing to a file. Require ulps to be present.
3398 (output_ulps): Generate arrays rather than #defines.
3399 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3400 (struct ulp_data): New type.
3401 (BUILD_COMPLEX_ULP): Remove macro.
3402 (compare_ulp_data): New function.
3403 (find_ulps): Likewise.
3404 (find_test_ulps): Likewise.
3405 (find_function_ulps): Likewise.
3406 (find_complex_function_ulps): Likewise.
3407 (print_max_error): Determine allowed ulps using
3408 find_function_ulps.
3409 (print_complex_max_error): Determine allowed ulps using
3410 find_complex_function_ulps.
3411 (check_float_internal): Determine max ulps using find_test_ulps.
3412 (check_float): Do not take max_ulp parameter. Update call to
3413 check_float_internal.
3414 (check_complex): Likewise.
3415 (check_int): Do not take max_ulp parameter.
3416 (check_long): Likewise.
3417 (check_bool): Likewise.
3418 (check_longlong): Likewise.
3419 (struct test_f_f_data): Remove max_ulp field.
3420 (struct test_ff_f_data): Likewise.
3421 (struct test_ff_f_data_nexttoward): Likewise.
3422 (struct test_fi_f_data): Likewise.
3423 (struct test_fl_f_data): Likewise.
3424 (struct test_if_f_data): Likewise.
3425 (struct test_fff_f_data): Likewise.
3426 (struct test_c_f_data): Likewise.
3427 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3428 (struct test_fF_f1_data): Likewise.
3429 (struct test_ffI_f1_data): Likewise.
3430 (struct test_c_c_data): Remove max_ulp field.
3431 (struct test_cc_c_data): Likewise.
3432 (struct test_f_i_data): Likewise.
3433 (struct test_ff_i_data): Likewise.
3434 (struct test_f_l_data): Likewise.
3435 (struct test_f_L_data): Likewise.
3436 (struct test_sincos_data): Likewise.
3437 (RUN_TEST_f_f): Do not handle ulps.
3438 (RUN_TEST_LOOP_f_f): Likewise.
3439 (RUN_TEST_2_f): Likewise.
3440 (RUN_TEST_LOOP_2_f): Likewise.
3441 (RUN_TEST_fff_f): Likewise.
3442 (RUN_TEST_LOOP_fff_f): Likewise.
3443 (RUN_TEST_c_f): Likewise.
3444 (RUN_TEST_LOOP_c_f): Likewise.
3445 (RUN_TEST_f_f1): Likewise.
3446 (RUN_TEST_LOOP_f_f1): Likewise.
3447 (RUN_TEST_fF_f1): Likewise.
3448 (RUN_TEST_LOOP_fF_f1): Likewise.
3449 (RUN_TEST_fI_f1): Likewise.
3450 (RUN_TEST_LOOP_fI_f1): Likewise.
3451 (RUN_TEST_ffI_f1): Likewise.
3452 (RUN_TEST_LOOP_ffI_f1): Likewise.
3453 (RUN_TEST_c_c): Likewise.
3454 (RUN_TEST_LOOP_c_c): Likewise.
3455 (RUN_TEST_cc_c): Likewise.
3456 (RUN_TEST_LOOP_cc_c): Likewise.
3457 (RUN_TEST_f_i): Likewise.
3458 (RUN_TEST_LOOP_f_i): Likewise.
3459 (RUN_TEST_f_i_tg): Likewise.
3460 (RUN_TEST_LOOP_f_i_tg): Likewise.
3461 (RUN_TEST_ff_i_tg): Likewise.
3462 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3463 (RUN_TEST_f_b): Likewise.
3464 (RUN_TEST_LOOP_f_b): Likewise.
3465 (RUN_TEST_f_b_tg): Likewise.
3466 (RUN_TEST_LOOP_f_b_tg): Likewise.
3467 (RUN_TEST_f_l): Likewise.
3468 (RUN_TEST_LOOP_f_l): Likewise.
3469 (RUN_TEST_f_L): Likewise.
3470 (RUN_TEST_LOOP_f_L): Likewise.
3471 (RUN_TEST_sincos): Likewise.
3472 (RUN_TEST_LOOP_sincos): Likewise.
3473
8269107f
JM
34742013-05-17 Joseph Myers <joseph@codesourcery.com>
3475
bb38759d
JM
3476 [BZ #15480]
3477 [BZ #15485]
3478 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3479 main case of finite arguments, set rounding mode to FE_TONEAREST
3480 and discard exceptions.
3481 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3482 exceptions.
3483 (remainder_tonearest_test_data): New variable.
3484 (remainder_test_tonearest): New function.
3485 (remainder_towardzero_test_data): New variable.
3486 (remainder_test_towardzero): New function.
3487 (remainder_downward_test_data): New variable.
3488 (remainder_test_downward): New function.
3489 (remainder_upward_test_data): New variable.
3490 (remainder_test_upward): New function.
3491 (main): Call the new test functions.
3492
a00bdcf0
JM
3493 * math/libm-test.inc (struct test_f_f1_data): Remove field
3494 extra_init.
3495 (struct test_fF_f1_data): Likewise.
3496 (struct test_ffI_f1_data): Likewise.
3497 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3498 based on value of EXTRA_EXPECTED.
3499 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3500 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3501 EXTRA_VAR based on value of EXTRA_EXPECTED.
3502 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3503 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3504 EXTRA_VAR based on value of EXTRA_EXPECTED.
3505 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3506 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3507 EXTRA_VAR based on value of EXTRA_EXPECTED.
3508 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3509 * math/gen-libm-test.pl (parse_args): Don't output initializers
3510 for extra output values.
3511
de407f79
JM
3512 * math/libm-test.inc (check_int): Expect result to be exactly
3513 equal to expected value and do not handle ulps.
3514 (check_long): Likewise.
3515 (check_longlong): Likewise.
3516
8269107f
JM
3517 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3518 exceptions.
3519 (cimag_test_data): Likewise.
3520 (conj_test_data): Likewise.
3521 (copysign_test_data): Likewise.
3522 (cproj_test_data): Likewise.
3523 (creal_test_data): Likewise.
3524 (fabs_test_data): Likewise.
3525 (fdim_test_data): Likewise.
3526 (finite_test_data): Likewise.
3527 (floor_test_data): Likewise.
3528 (fmax_test_data): Likewise.
3529 (fmin_test_data): Likewise.
3530 (fmod_test_data): Likewise.
3531 (fpclassify_test_data): Likewise.
3532 (frexp_test_data): Likewise.
3533 (ilogb_test_data): Likewise.
3534 (isfinite_test_data): Likewise.
3535 (isgreater_test_data): Likewise.
3536 (isgreaterequal_test_data): Likewise.
3537 (isinf_test_data): Likewise.
3538 (isless_test_data): Likewise.
3539 (islessequal_test_data): Likewise.
3540 (islessgreater_test_data): Likewise.
3541 (isnan_test_data): Likewise.
3542 (isnormal_test_data): Likewise.
3543 (issignaling_test_data): Likewise.
3544 (isunordered_test_data): Likewise.
3545 (ldexp_test_data): Likewise.
3546 (lrint_test_data): Likewise.
3547 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3548 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3549 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3550 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3551 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3552 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3553 test input.
3554 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3555 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3556 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3557 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3558 that test input.
3559 (lrint_downward_test_data): Test for "inexact" exceptions.
3560 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3561 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3562 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3563 test input.
3564 (lrint_upward_test_data): Test for "inexact" exceptions.
3565 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3566 test input.
3567 (llrint_test_data): Test for "inexact" exceptions.
3568 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3569 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3570 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3571 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3572 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3573 (llrint_downward_test_data): Test for "inexact" exceptions.
3574 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3575 (llrint_upward_test_data): Test for "inexact" exceptions.
3576 (logb_test_data): Likewise.
3577 (logb_downward_test_data): Likewise.
3578 (nextafter_test_data): Likewise.
3579 (nexttoward_test_data): Likewise.
3580 (remainder_test_data): Likewise.
3581 (remquo_test_data): Likewise.
3582 (scalbn_test_data): Likewise.
3583 (scalbln_test_data): Likewise.
3584 (signbit_test_data): Likewise.
3585 (sqrt_test_data): Likewise.
3586 (significand_test_data): Likewise.
3587
48a18de1
SP
35882013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3589
3590 [BZ #15424]
3591 * benchtests/bench-modf.c (struct args): Mark arg0 as
3592 volatile.
3593 * scripts/bench.pl: Mark members of struct args as volatile.
3594
13d3b41a
AZ
35952013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3596
68191c1d 3597 [BZ # 15497]
13d3b41a
AZ
3598 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3599 negative infinity on POWER6 or lower.
3600 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3601
2848b105
MR
36022013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3603
3604 [BZ #15442]
3605 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3606 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3607 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3608 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3609 (_FP_SETQNAN): New macro.
3610 (_FP_SETQNAN_SEMIRAW): Likewise.
3611 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3612 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3613 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3614 (FP_EXTEND): Use _FP_FRAC_SNANP.
3615 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3616 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3617 into account.
3618 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3619 New macro.
3620 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3621 Likewise.
3622
323e5cb7
JM
36232013-05-16 Joseph Myers <joseph@codesourcery.com>
3624
c58b274f
JM
3625 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3626 with DIVIDE_BY_ZERO_EXCEPTION.
3627 (gamma_test_data): Likewise.
3628 (lgamma_test_data): Likewise.
3629 (log_test_data): Likewise.
3630 (log10_test_data): Likewise.
3631 (log2_test_data): Likewise.
3632 (tgamma_test_data): Likewise.
3633
0ab34904
JM
3634 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3635 (acos_test_tonearest): Likewise.
3636 (acos_test_towardzero): Likewise.
3637 (acos_test_downward): Likewise.
3638 (acos_test_upward): Likewise.
3639 (acosh_test): Likewise.
3640 (asin_test): Likewise.
3641 (asin_test_tonearest): Likewise.
3642 (asin_test_towardzero): Likewise.
3643 (asin_test_downward): Likewise.
3644 (asin_test_upward): Likewise.
3645 (asinh_test): Likewise.
3646 (atan_test): Likewise.
3647 (atanh_test): Likewise.
3648 (atan2_test): Likewise.
3649 (cabs_test): Likewise.
3650 (cacos_test): Likewise.
3651 (cacosh_test): Likewise.
3652 (casin_test): Likewise.
3653 (casinh_test): Likewise.
3654 (catan_test): Likewise.
3655 (catanh_test): Likewise.
3656 (cbrt_test): Likewise.
3657 (ccos_test): Likewise.
3658 (ccosh_test): Likewise.
3659 (cexp_test): Likewise.
3660 (clog_test): Likewise.
3661 (clog10_test): Likewise.
3662 (cos_test): Likewise.
3663 (cos_test_tonearest): Likewise.
3664 (cos_test_towardzero): Likewise.
3665 (cos_test_downward): Likewise.
3666 (cos_test_upward): Likewise.
3667 (cosh_test): Likewise.
3668 (cosh_test_tonearest): Likewise.
3669 (cosh_test_towardzero): Likewise.
3670 (cosh_test_downward): Likewise.
3671 (cosh_test_upward): Likewise.
3672 (cpow_test): Likewise.
3673 (csin_test): Likewise.
3674 (csinh_test): Likewise.
3675 (csqrt_test): Likewise.
3676 (ctan_test): Likewise.
3677 (ctan_test_tonearest): Likewise.
3678 (ctan_test_towardzero): Likewise.
3679 (ctan_test_downward): Likewise.
3680 (ctan_test_upward): Likewise.
3681 (ctanh_test): Likewise.
3682 (ctanh_test_tonearest): Likewise.
3683 (ctanh_test_towardzero): Likewise.
3684 (ctanh_test_downward): Likewise.
3685 (ctanh_test_upward): Likewise.
3686 (erf_test): Likewise.
3687 (erfc_test): Likewise.
3688 (exp_test): Likewise.
3689 (exp_test_tonearest): Likewise.
3690 (exp_test_towardzero): Likewise.
3691 (exp_test_downward): Likewise.
3692 (exp_test_upward): Likewise.
3693 (exp10_test): Likewise.
3694 (exp2_test): Likewise.
3695 (expm1_test): Likewise.
3696 (fmod_test): Likewise.
3697 (gamma_test): Likewise.
3698 (hypot_test): Likewise.
3699 (j0_test): Likewise.
3700 (j1_test): Likewise.
3701 (jn_test): Likewise.
3702 (lgamma_test): Likewise.
3703 (log_test): Likewise.
3704 (log10_test): Likewise.
3705 (log1p_test): Likewise.
3706 (log2_test): Likewise.
3707 (logb_test_downward): Likewise.
3708 (pow_test): Likewise.
3709 (pow_test_tonearest): Likewise.
3710 (pow_test_towardzero): Likewise.
3711 (pow_test_downward): Likewise.
3712 (pow_test_upward): Likewise.
3713 (remainder_test): Likewise.
3714 (remquo_test): Likewise.
3715 (sin_test): Likewise.
3716 (sin_test_tonearest): Likewise.
3717 (sin_test_towardzero): Likewise.
3718 (sin_test_downward): Likewise.
3719 (sin_test_upward): Likewise.
3720 (sincos_test): Likewise.
3721 (sinh_test): Likewise.
3722 (sinh_test_tonearest): Likewise.
3723 (sinh_test_towardzero): Likewise.
3724 (sinh_test_downward): Likewise.
3725 (sinh_test_upward): Likewise.
3726 (sqrt_test): Likewise.
3727 (tan_test): Likewise.
3728 (tan_test_tonearest): Likewise.
3729 (tan_test_towardzero): Likewise.
3730 (tan_test_downward): Likewise.
3731 (tan_test_upward): Likewise.
3732 (tanh_test): Likewise.
3733 (tgamma_test): Likewise.
3734 (y0_test): Likewise.
3735 (y1_test): Likewise.
3736 (yn_test): Likewise.
3737
323e5cb7
JM
3738 * math/gen-libm-test.pl (adjust_arg): Remove function.
3739 (special_function): Remove argument $in_func. Only handle
3740 generating output for tables of tests, not inside functions.
3741 (parse_args): Likewise.
3742 (generate_testfile): Remove variable $in_func. Update call to
3743 parse_args.
3744 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3745 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3746 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3747 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3748 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3749 (MAX_VALUE_INIT): Rename macro to max_value.
3750 (MIN_VALUE_INIT): Rename macro to min_value.
3751 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3752 (plus_zero): Remove variable.
3753 (minus_zero): Likewise.
3754 (plus_infty): Likewise.
3755 (minus_infty): Likewise.
3756 (qnan_value): Likewise.
3757 (max_value): Likewise.
3758 (min_value): Likewise.
3759 (min_subnorm_value): Likewise.
3760
e054f494
RA
37612013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3762
3763 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3764 uint64_t or uint32_t usage.
3765 * crypt/sha256-block.c: Likewise.
3766 * crypt/sha256-crypt.c: Likewise.
3767 * crypt/sha256.c: Likewise.
3768 * crypt/sha512-block.c: Likewise.
3769 * crypt/sha512-crypt.c: Likewise.
3770 * crypt/sha512.c: Likewise.
3771 * debug/backtrace-tst.c: Likewise.
3772 * debug/pcprofiledump.c: Likewise.
3773 * elf/cache.c: Likewise.
3774 * elf/dl-cache.c: Likewise.
3775 * elf/dl-misc.c: Likewise.
3776 * elf/dl-profile.c: Likewise.
3777 * elf/dl-support.c: Likewise.
3778 * elf/ldconfig.c: Likewise.
3779 * elf/sprof.c: Likewise.
3780 * iconv/dummy-repertoire.c: Likewise.
3781 * iconv/iconv_charmap.c: Likewise.
3782 * iconv/skeleton.c: Likewise.
3783 * iconvdata/8bit-generic.c: Likewise.
3784 * iconvdata/cp737.h: Likewise.
3785 * iconvdata/cp775.h: Likewise.
3786 * iconvdata/ibm1008.h: Likewise.
3787 * iconvdata/ibm1025.h: Likewise.
3788 * iconvdata/ibm1046.h: Likewise.
3789 * iconvdata/ibm1097.h: Likewise.
3790 * iconvdata/ibm1112.h: Likewise.
3791 * iconvdata/ibm1122.h: Likewise.
3792 * iconvdata/ibm1123.h: Likewise.
3793 * iconvdata/ibm1124.h: Likewise.
3794 * iconvdata/ibm1129.h: Likewise.
3795 * iconvdata/ibm1130.h: Likewise.
3796 * iconvdata/ibm1132.h: Likewise.
3797 * iconvdata/ibm1133.h: Likewise.
3798 * iconvdata/ibm1137.h: Likewise.
3799 * iconvdata/ibm1140.h: Likewise.
3800 * iconvdata/ibm1141.h: Likewise.
3801 * iconvdata/ibm1142.h: Likewise.
3802 * iconvdata/ibm1143.h: Likewise.
3803 * iconvdata/ibm1144.h: Likewise.
3804 * iconvdata/ibm1145.h: Likewise.
3805 * iconvdata/ibm1146.h: Likewise.
3806 * iconvdata/ibm1147.h: Likewise.
3807 * iconvdata/ibm1148.h: Likewise.
3808 * iconvdata/ibm1149.h: Likewise.
3809 * iconvdata/ibm1153.h: Likewise.
3810 * iconvdata/ibm1154.h: Likewise.
3811 * iconvdata/ibm1155.h: Likewise.
3812 * iconvdata/ibm1156.h: Likewise.
3813 * iconvdata/ibm1157.h: Likewise.
3814 * iconvdata/ibm1158.h: Likewise.
3815 * iconvdata/ibm1160.h: Likewise.
3816 * iconvdata/ibm1161.h: Likewise.
3817 * iconvdata/ibm1162.h: Likewise.
3818 * iconvdata/ibm1163.h: Likewise.
3819 * iconvdata/ibm1164.h: Likewise.
3820 * iconvdata/ibm1166.h: Likewise.
3821 * iconvdata/ibm1167.h: Likewise.
3822 * iconvdata/ibm12712.h: Likewise.
3823 * iconvdata/ibm1390.h: Likewise.
3824 * iconvdata/ibm1399.h: Likewise.
3825 * iconvdata/ibm16804.h: Likewise.
3826 * iconvdata/ibm4517.h: Likewise.
3827 * iconvdata/ibm4899.h: Likewise.
3828 * iconvdata/ibm4909.h: Likewise.
3829 * iconvdata/ibm4971.h: Likewise.
3830 * iconvdata/ibm5347.h: Likewise.
3831 * iconvdata/ibm803.h: Likewise.
3832 * iconvdata/ibm856.h: Likewise.
3833 * iconvdata/ibm901.h: Likewise.
3834 * iconvdata/ibm902.h: Likewise.
3835 * iconvdata/ibm9030.h: Likewise.
3836 * iconvdata/ibm9066.h: Likewise.
3837 * iconvdata/ibm921.h: Likewise.
3838 * iconvdata/ibm922.h: Likewise.
3839 * iconvdata/ibm9448.h: Likewise.
3840 * iconvdata/isiri-3342.h: Likewise.
3841 * iconvdata/jis0201.h: Likewise.
3842 * include/link.h: Likewise.
3843 * include/netdb.h: Likewise.
3844 * inet/check_native.c: Likewise.
3845 * inet/check_pf.c: Likewise.
3846 * inet/getipv4sourcefilter.c: Likewise.
3847 * inet/getnameinfo.c: Likewise.
3848 * inet/getsourcefilter.c: Likewise.
3849 * inet/htonl.c: Likewise.
3850 * inet/setipv4sourcefilter.c: Likewise.
3851 * inet/setsourcefilter.c: Likewise.
3852 * inet/test-inet6_opt.c: Likewise.
3853 * inet/tst-network.c: Likewise.
3854 * locale/C-collate.c: Likewise.
3855 * locale/C-ctype.c: Likewise.
3856 * locale/C-time.c: Likewise.
3857 * locale/C-translit.h: Likewise.
3858 * locale/loadarchive.c: Likewise.
3859 * locale/programs/3level.h: Likewise.
3860 * locale/programs/charmap.c: Likewise.
3861 * locale/programs/charmap.h: Likewise.
3862 * locale/programs/ld-address.c: Likewise.
3863 * locale/programs/ld-collate.c: Likewise.
3864 * locale/programs/ld-ctype.c: Likewise.
3865 * locale/programs/ld-identification.c: Likewise.
3866 * locale/programs/ld-measurement.c: Likewise.
3867 * locale/programs/ld-messages.c: Likewise.
3868 * locale/programs/ld-monetary.c: Likewise.
3869 * locale/programs/ld-name.c: Likewise.
3870 * locale/programs/ld-numeric.c: Likewise.
3871 * locale/programs/ld-paper.c: Likewise.
3872 * locale/programs/ld-telephone.c: Likewise.
3873 * locale/programs/ld-time.c: Likewise.
3874 * locale/programs/linereader.c: Likewise.
3875 * locale/programs/locale.c: Likewise.
3876 * locale/programs/locarchive.c: Likewise.
3877 * locale/programs/locfile.h: Likewise.
3878 * locale/programs/repertoire.c: Likewise.
3879 * locale/programs/simple-hash.c: Likewise.
3880 * locale/programs/simple-hash.h: Likewise.
3881 * malloc/memusage.c: Likewise.
3882 * malloc/memusagestat.c: Likewise.
3883 * nis/nis_defaults.c: Likewise.
3884 * nis/nis_hash.c: Likewise.
3885 * nis/nis_print.c: Likewise.
3886 * nis/nis_xdr.c: Likewise.
3887 * nscd/connections.c: Likewise.
3888 * nscd/hstcache.c: Likewise.
3889 * nscd/nscd_gethst_r.c: Likewise.
3890 * nscd/nscd_getserv_r.c: Likewise.
3891 * nscd/nscd_helper.c: Likewise.
3892 * nscd/servicescache.c: Likewise.
3893 * nss/makedb.c: Likewise.
3894 * nss/nss_db/db-XXX.c: Likewise.
3895 * nss/nss_db/db-initgroups.c: Likewise.
3896 * nss/nss_db/db-netgrp.c: Likewise.
3897 * nss/nss_files/files-network.c: Likewise.
3898 * nss/nss_files/files-parse.c: Likewise.
3899 * posix/bug-regex5.c: Likewise.
3900 * posix/fnmatch_loop.c: Likewise.
3901 * posix/regcomp.c: Likewise.
3902 * posix/regexec.c: Likewise.
3903 * posix/tst-rfc3484-2.c: Likewise.
3904 * posix/tst-rfc3484-3.c: Likewise.
3905 * posix/tst-rfc3484.c: Likewise.
3906 * resolv/nss_dns/dns-canon.c: Likewise.
3907 * resolv/nss_dns/dns-network.c: Likewise.
3908 * resolv/res_init.c: Likewise.
3909 * resolv/res_mkquery.c: Likewise.
3910 * resolv/tst-aton.c: Likewise.
3911 * stdlib/cxa_atexit.c: Likewise.
3912 * stdlib/cxa_finalize.c: Likewise.
3913 * stdlib/gen-fpioconst.c: Likewise.
3914 * stdlib/strtol_l.c: Likewise.
3915 * string/tst-endian.c: Likewise.
3916 * sunrpc/auth_des.c: Likewise.
3917 * sunrpc/clnt_udp.c: Likewise.
3918 * sunrpc/rtime.c: Likewise.
3919 * sunrpc/svcauth_des.c: Likewise.
3920 * sunrpc/xdr.c: Likewise.
3921 * sunrpc/xdr_intXX_t.c: Likewise.
3922 * sunrpc/xdr_rec.c: Likewise.
3923 * sysdeps/generic/ldconfig.h: Likewise.
3924 * sysdeps/generic/ldsodefs.h: Likewise.
3925 * sysdeps/generic/memusage.h: Likewise.
3926 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3927 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3929 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3936 * sysdeps/posix/getaddrinfo.c: Likewise.
3937 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3938 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3939 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3940 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3941 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3942 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3943 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3944 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3945 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3946 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3947 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3948 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3949 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3950 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3951 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3952 * sysdeps/x86_64/dl-tls.h: Likewise.
3953 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3954 * time/alt_digit.c: Likewise.
3955 * time/era.c: Likewise.
3956 * wcsmbs/tst-c16c32-1.c: Likewise.
3957
8c75f674
JM
39582013-05-16 Joseph Myers <joseph@codesourcery.com>
3959
3960 * math/libm-test.inc (struct test_sincos_data): New type.
3961 (RUN_TEST_LOOP_sincos): New macro.
3962 (sincos_test_data): New variable.
3963 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3964
e6e49e59
RH
39652013-05-16 Richard Henderson <rth@redhat.com>
3966
3967 * math/atest-exp2.c (LIMB64): New macro.
3968 (CONSTSZ): New macro.
3969 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3970 (hexdig): Move ...
3971 (print_mpn_fp): ... to function scope.
3972 (read_mpn_hex): Remove.
3973 (get_log2): Remove.
3974 (exp2_mpn): Use mp_log2.
3975 (main): Use mp_exp1.
3976
15c7c18d
JM
39772013-05-16 Joseph Myers <joseph@codesourcery.com>
3978
105a07df
JM
3979 * math/libm-test.inc: Remove comment about not testing "inexact"
3980 exceptions.
3981 (INEXACT_EXCEPTION): New macro.
3982 (NO_INEXACT_EXCEPTION): Likewise.
3983 (INVALID_EXCEPTION_OK): Update value.
3984 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3985 (OVERFLOW_EXCEPTION_OK): Likewise.
3986 (UNDERFLOW_EXCEPTION_OK): Likewise.
3987 (IGNORE_ZERO_INF_SIGN): Likewise.
3988 (ERRNO_UNCHANGED): Likewise.
3989 (ERRNO_EDOM): Likewise.
3990 (ERRNO_ERANGE): Likewise.
3991 (test_exceptions): Handle testing "inexact" exceptions.
3992 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3993 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3994 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3995 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3996 INEXACT_EXCEPTION.
3997 (rint_towardzero_test_data): Likewise.
3998 (rint_downward_test_data): Likewise.
3999 (rint_upward_test_data): Likewise.
4000
e9eee333
JM
4001 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4002 with OVERFLOW_EXCEPTION.
4003 (exp10_test_data): Likewise.
4004 (exp2_test_data): Likewise.
4005 (expm1_test_data): Likewise.
4006 (lgamma_test_data): Likewise.
4007 (pow_test_data): Likewise.
4008 (tgamma_test_data): Likewise.
4009 (yn_test_data): Remove duplicate test of overflow.
4010
1c38ff73
JM
4011 * math/libm-test.inc (struct test_cc_c_data): New type.
4012 (RUN_TEST_LOOP_cc_c): New macro.
4013 (cpow_test_data): New variable.
4014 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4015
15c7c18d
JM
4016 * math/libm-test.inc (struct test_f_L_data): New type.
4017 (RUN_TEST_LOOP_f_L): New macro.
4018 (llrint_test_data): New variable.
4019 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4020 (llrint_tonearest_test_data): New variable.
4021 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4022 (llrint_towardzero_test_data): New variable.
4023 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4024 (llrint_downward_test_data): New variable.
4025 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4026 (llrint_upward_test_data): New variable.
4027 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4028 (llround_test_data): New variable.
4029 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4030
f137ff13
PC
40312013-05-13 Peter Collingbourne <pcc@google.com>
4032
4033 * math/atest-exp2.c (get_log2): Remove const attribute.
4034
3608cb24
JM
40352013-05-15 Joseph Myers <joseph@codesourcery.com>
4036
4037 * math/libm-test.inc (struct test_f_l_data): New type.
4038 (RUN_TEST_LOOP_f_l): New macro.
4039 (lrint_test_data): New variable.
4040 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4041 (lrint_tonearest_test_data): New variable.
4042 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4043 (lrint_towardzero_test_data): New variable.
4044 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4045 (lrint_downward_test_data): New variable.
4046 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4047 (lrint_upward_test_data): New variable.
4048 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4049 (lround_test_data): New variable.
4050 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4051
39b1f617
PC
40522013-05-15 Peter Collingbourne <pcc@google.com>
4053
1deff3dc
PC
4054 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4055 (EXTRACT_WORDS64) Use where appropriate.
4056 (INSERT_WORDS64) Likewise.
4057
791f3ba0
PC
4058 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4059 constraints with x constraints.
4060 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4061
39b1f617
PC
4062 * malloc/obstack.c (_obstack_compat): Add initializer.
4063
12fba011
EM
40642013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4065
4066 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4067 si_trapno and add si_addr_lsb to _sifields.sigfault.
4068 (si_trapno): Remove macro.
4069 (si_addr_lsb): Define new macro.
4070 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4071
d369f531
JM
40722013-05-15 Joseph Myers <joseph@codesourcery.com>
4073
b861c6c4
JM
4074 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4075 instead of TEST_f_l.
4076 (llrint_test_tonearest): Likewise.
4077 (llrint_test_towardzero): Likewise.
4078 (llrint_test_downward): Likewise.
4079 (llrint_test_upward): Likewise.
4080 (llround_test): Likewise.
4081
7abeee12
JM
4082 * math/libm-test.inc (struct test_f_i_data): Add comment.
4083 (RUN_TEST_LOOP_f_b): New macro.
4084 (RUN_TEST_LOOP_f_b_tg): Likewise.
4085 (finite_test_data): New variable.
4086 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4087 (isfinite_test_data): New variable.
4088 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4089 (isinf_test_data): New variable.
4090 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4091 (isnan_test_data): New variable.
4092 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4093 (isnormal_test_data): New variable.
4094 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4095 (issignaling_test_data): New variable.
4096 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4097 (signbit_test_data): New variable.
4098 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4099
cbe8c4d3
JM
4100 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4101 with INVALID_EXCEPTION.
4102 (acosh_test_data): Likewise.
4103 (asin_test_data): Likewise.
4104 (atanh_test_data): Likewise.
4105 (fmod_test_data): Likewise.
4106 (log_test_data): Likewise.
4107 (log10_test_data): Likewise.
4108 (log2_test_data): Likewise.
4109 (pow_test_data): Likewise.
4110 (sqrt_test_data): Likewise.
4111 (y0_test_data): Likewise.
4112 (y1_test_data): Likewise.
4113 (yn_test_data): Likewise.
4114
5575c0e5
JM
4115 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4116 function contents.
4117
d369f531
JM
4118 * math/libm-test.inc (struct test_ff_i_data): New type.
4119 (RUN_TEST_LOOP_ff_i_tg): New macro.
4120 (isgreater_test_data): New variable.
4121 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4122 (isgreaterequal_test_data): New variable.
4123 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4124 (isless_test_data): New variable.
4125 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4126 (islessequal_test_data): New variable.
4127 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4128 (islessgreater_test_data): New variable.
4129 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4130 (isunordered_test_data): New variable.
4131 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4132
781fd748
DM
41332013-05-14 David S. Miller <davem@davemloft.net>
4134
4135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4136
87aa21df
JM
41372013-05-14 Joseph Myers <joseph@codesourcery.com>
4138
5e908270
JM
4139 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4140
f71172e5
JM
4141 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4142 extra_test to int.
4143 (struct test_f_i_data): Change type of max_ulp to int.
4144
8cfa635a
JM
4145 * math/libm-test.inc (test_ffI_f1_data): New type.
4146 (RUN_TEST_LOOP_ffI_f1): New macro.
4147 (remquo_test_data): New variable.
4148 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4149
2bcb36b2
JM
4150 * setjmp/tst-setjmp-fp.c: New file.
4151 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4152 (link-libm): New variable.
4153 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4154
acbd839a
JM
4155 * math/libm-test.inc (struct test_f_i_data): New type.
4156 (RUN_TEST_LOOP_f_i): New macro.
4157 (RUN_TEST_LOOP_f_i_tg): Likewise.
4158 (fpclassify_test_data): New variable.
4159 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4160 (ilogb_test_data): New variable.
4161 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4162
e414d745
JM
4163 * math/libm-test.inc (scalbln_test): Correct function name in END
4164 call.
4165
d9c2a0fd
JM
4166 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4167 (RUN_TEST_LOOP_fI_f1): New macro.
4168 (frexp_test_data): New variable.
4169 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4170
9dc9095d
JM
4171 * math/libm-test.inc (struct test_fF_f1_data): New type.
4172 (RUN_TEST_LOOP_fF_f1): New macro.
4173 (modf_test_data): New variable.
4174 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4175
87aa21df
JM
4176 * math/libm-test.inc (struct test_f_f1_data): New type.
4177 (RUN_TEST_LOOP_f_f1): New macro.
4178 (gamma_test_data): New variable.
4179 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4180 (lgamma_test_data): New variable.
4181 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4182
141af660
CD
41832013-05-13 Carlos O'Donell <carlos@redhat.com>
4184
4185 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4186 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4187 (main): Comment "tls" pseudo-hwcap.
4188
6d33265c
JM
41892013-05-13 Joseph Myers <joseph@codesourcery.com>
4190
68fc074c
JM
4191 * math/libm-test.inc (struct test_fl_f_data): New type.
4192 (RUN_TEST_LOOP_fl_f): New variable.
4193 (scalbln_test_data): New variable.
4194 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4195
243216e1
JM
4196 * math/libm-test.inc (struct test_fi_f_data): New type.
4197 (RUN_TEST_LOOP_fi_f): New macro.
4198 (ldexp_test_data): New variable.
4199 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4200 (scalbn_test_data): New variable.
4201 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4202
6a1992e2
JM
4203 * math/libm-test.inc (struct test_c_f_data): New type.
4204 (RUN_TEST_LOOP_c_f): New macro.
4205 (cabs_test_data): New variable.
4206 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4207 (carg_test_data): New variable.
4208 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4209 (cimag_test_data): New variable.
4210 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4211 (creal_test_data): New variable.
4212 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4213
0e400df5
JM
4214 * math/libm-test.inc (struct test_if_f_data): New type.
4215 (RUN_TEST_LOOP_if_f): New macro.
4216 (jn_test_data): New variable.
4217 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4218 (yn_test_data): New variable.
4219 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4220
6d33265c
JM
4221 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4222
f98ece5f
AZ
42232013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4224
4225 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4226 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4227
0f7d347b
SP
42282013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4229
43fe811b
SP
4230 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4231 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4232 (bench-deps): Add bench-timing.h.
4233 * benchtests-bench-skeleton.c: Include bench-timing.h.
4234 (main): Use TIMING_* macros instead of clock_gettime.
4235 * benchtests/bench-timing.h: New file.
4236
0f7d347b
SP
4237 [BZ #14582]
4238 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4239 Renamed from _LIB_VERSION.
4240 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4241
601a3a5f
JM
42422013-05-12 Joseph Myers <joseph@codesourcery.com>
4243
4f184d30
JM
4244 * math/libm-test.inc (struct test_fff_f_data): New type.
4245 (RUN_TEST_LOOP_fff_f): New macro.
4246 (fma_test_data): New variable.
4247 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4248 (fma_towardzero_test_data): New variable.
4249 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4250 (fma_downward_test_data): New variable.
4251 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4252 (fma_upward_test_data): New variable.
4253 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4254
08198877
JM
4255 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4256 (struct test_c_c_data): New type.
4257 (RUN_TEST_LOOP_c_c): New macro.
4258 (cacos_test_data): New variable.
4259 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4260 (cacosh_test_data): New variable.
4261 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4262 (casin_test_data): New variable.
4263 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4264 (casinh_test_data): New variable.
4265 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4266 (catan_test_data): New variable.
4267 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4268 (catanh_test_data): New variable.
4269 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4270 (ccos_test_data): New variable.
4271 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4272 (ccosh_test_data): New variable.
4273 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4274 (cexp_test_data): New variable.
4275 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4276 (clog_test_data): New variable.
4277 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4278 (clog10_test_data): New variable.
4279 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4280 (conj_test_data): New variable.
4281 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4282 (cproj_test_data): New variable.
4283 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4284 (csin_test_data): New variable.
4285 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4286 (csinh_test_data): New variable.
4287 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4288 (csqrt_test_data): New variable.
4289 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4290 (ctan_test_data): New variable.
4291 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4292 (ctan_tonearest_test_data): New variable.
4293 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4294 (ctan_towardzero_test_data): New variable.
4295 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4296 (ctan_downward_test_data): New variable.
4297 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4298 (ctan_upward_test_data): New variable.
4299 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4300 (ctanh_test_data): New variable.
4301 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4302 (ctanh_tonearest_test_data): New variable.
4303 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4304 (ctanh_towardzero_test_data): New variable.
4305 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4306 (ctanh_downward_test_data): New variable.
4307 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4308 (ctanh_upward_test_data): New variable.
4309 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4310 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4311 of BUILD_COMPLEX.
4312
601a3a5f
JM
4313 * math/libm-test.inc (struct test_ff_f_data): New type.
4314 (struct test_ff_f_data_nexttoward): Likewise.
4315 (RUN_TEST_LOOP_2_f): New macro.
4316 (RUN_TEST_LOOP_ff_f): Likewise.
4317 (atan2_test_data): New variable.
4318 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4319 (copysign_test_data): New variable.
4320 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4321 (fdim_test_data): New variable.
4322 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4323 (fmax_test_data): New variable.
4324 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4325 (fmin_test_data): New variable.
4326 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4327 (fmod_test_data): New variable.
4328 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4329 (hypot_test_data): New variable.
4330 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4331 (nextafter_test_data): New variable.
4332 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4333 (nexttoward_test_data): New variable.
4334 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4335 (pow_test_data): New variable.
4336 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4337 (pow_tonearest_test_data): New variable.
4338 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4339 (pow_towardzero_test_data): New variable.
4340 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4341 (pow_downward_test_data): New variable.
4342 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4343 (pow_upward_test_data): New variable.
4344 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4345 (remainder_test_data): New variable.
4346 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4347 (scalb_test_data): New variable.
4348 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4349 * sysdeps/i386/fpu/libm-test-ulps: Update.
4350
74c57478
JM
43512013-05-11 Joseph Myers <joseph@codesourcery.com>
4352
8329e4da
JM
4353 * math/libm-test.inc (fma_test): Use max_value instead of local
4354 variable fltmax.
4355 (nextafter_test): Likewise.
4356
74c57478
JM
4357 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4358 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4359 (acos_downward_test_data): New variable.
4360 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4361 (acos_upward_test_data): New variable.
4362 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4363 (acosh_test_data): New variable.
4364 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4365 (asin_test_data): New variable.
4366 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4367 (asin_tonearest_test_data): New variable.
4368 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4369 (asin_towardzero_test_data): New variable.
4370 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4371 (asin_downward_test_data): New variable.
4372 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4373 (asin_upward_test_data): New variable.
4374 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4375 (asinh_test_data): New variable.
4376 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4377 (atan_test_data): New variable.
4378 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4379 (atanh_test_data): New variable.
4380 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4381 (cbrt_test_data): New variable.
4382 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4383 (ceil_test_data): New variable.
4384 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4385 (cos_test_data): New variable.
4386 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4387 (cos_tonearest_test_data): New variable.
4388 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4389 (cos_towardzero_test_data): New variable.
4390 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4391 (cos_downward_test_data): New variable.
4392 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4393 (cos_upward_test_data): New variable.
4394 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4395 (cosh_test_data): New variable.
4396 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4397 (cosh_tonearest_test_data): New variable.
4398 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4399 (cosh_towardzero_test_data): New variable.
4400 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4401 (cosh_downward_test_data): New variable.
4402 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4403 (cosh_upward_test_data): New variable.
4404 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4405 (erf_test_data): New variable.
4406 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4407 (erfc_test_data): New variable.
4408 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4409 (exp_test_data): New variable.
4410 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4411 (exp_tonearest_test_data): New variable.
4412 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4413 (exp_towardzero_test_data): New variable.
4414 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4415 (exp_downward_test_data): New variable.
4416 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4417 (exp_upward_test_data): New variable.
4418 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4419 (exp10_test_data): New variable.
4420 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4421 (exp2_test_data): New variable.
4422 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4423 (expm1_test_data): New variable.
4424 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4425 (fabs_test_data): New variable.
4426 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4427 (floor_test_data): New variable.
4428 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4429 (j0_test_data): New variable.
4430 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4431 (j1_test_data): New variable.
4432 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4433 (log_test_data): New variable.
4434 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4435 (log10_test_data): New variable.
4436 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4437 (log1p_test_data): New variable.
4438 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4439 (log2_test_data): New variable.
4440 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4441 (logb_test_data): New variable.
4442 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4443 (logb_downward_test_data): New variable.
4444 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4445 (nearbyint_test_data): New variable.
4446 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4447 (rint_test_data): New variable.
4448 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4449 (rint_tonearest_test_data): New variable.
4450 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4451 (rint_towardzero_test_data): New variable.
4452 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4453 (rint_downward_test_data): New variable.
4454 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4455 (rint_upward_test_data): New variable.
4456 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4457 (round_test_data): New variable.
4458 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4459 (sin_test_data): New variable.
4460 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4461 (sin_tonearest_test_data): New variable.
4462 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4463 (sin_towardzero_test_data): New variable.
4464 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4465 (sin_downward_test_data): New variable.
4466 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4467 (sin_upward_test_data): New variable.
4468 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4469 (sinh_test_data): New variable.
4470 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4471 (sinh_tonearest_test_data): New variable.
4472 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4473 (sinh_towardzero_test_data): New variable.
4474 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4475 (sinh_downward_test_data): New variable.
4476 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4477 (sinh_upward_test_data): New variable.
4478 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4479 (sqrt_test_data): New variable.
4480 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4481 (tan_test_data): New variable.
4482 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4483 (tan_tonearest_test_data): New variable.
4484 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4485 (tan_towardzero_test_data): New variable.
4486 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4487 (tan_downward_test_data): New variable.
4488 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4489 (tan_upward_test_data): New variable.
4490 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4491 (tanh_test_data): New variable.
4492 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4493 (tgamma_test_data): New variable.
4494 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4495 (trunc_test_data): New variable.
4496 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4497 (y0_test_data): New variable.
4498 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4499 (y1_test_data): New variable.
4500 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4501 (significand_test_data): New variable.
4502 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4503
7187d844
CG
45042013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4505
4506 [BZ #12387]
4507 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4508
f63fae73
PT
45092013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4510
4511 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4512
8a67a4b3
AJ
45132013-05-10 Andreas Jaeger <aj@suse.de>
4514
4515 [BZ #15448]
4516 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4517 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4518
51df539d
JM
45192013-05-10 Joseph Myers <joseph@codesourcery.com>
4520
4521 * math/gen-libm-test.pl (adjust_arg): New function.
4522 (special_functions): Handle generating output in both functions
4523 and arrays.
4524 (parse_args): Likewise.
4525 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4526 $in_func argument to parse_args.
4527 * math/libm-test.inc (struct test_f_f_data): New type.
4528 (IF_ROUND_INIT_): New macro.
4529 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4530 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4531 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4532 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4533 (ROUND_RESTORE_): Likewise.
4534 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4535 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4536 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4537 (ROUND_RESTORE_FE_UPWARD): Likewise.
4538 (RUN_TEST_LOOP_f_f): New macro.
4539 (acos_test_data): New variable.
4540 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4541 (acos_tonearest_test_data): New variable.
4542 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4543
5c637fe5
SP
45442013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4545
4546 * benchtests/bench-skeleton.c (startup): Fix coding style.
4547
ab2b9461
JM
45482013-05-10 Joseph Myers <joseph@codesourcery.com>
4549
4550 [BZ #6809]
4551 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4552 negative infinity argument.
4553 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4554 negative infinity argument.
4555 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4556 negative infinity argument.
4557 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4558 domain errors.
4559
4c0fe6fe
FW
45602013-05-10 Florian Weimer <fweimer@redhat.com>
4561
4562 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4563 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4564 * iconv/iconv_prog.c (main): Likewise.
4565 * locale/programs/charmap-dir.c (charmap_readdir)
4566 (fopen_uncompressed): Likewise.
4567 * locale/programs/locfile.c (siblings_uncached)
4568 (write_locale_data): Use lstat64 instead of lstat.
4569 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4570 stat.
4571
a3375d29
AJ
45722013-05-10 Andreas Jaeger <aj@suse.de>
4573
4574 [BZ #15395]
4575 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4576 localization.
4577 Include <locale.h>.
4578
36129722
CD
45792013-05-09 Carlos O'Donell <carlos@redhat.com>
4580
4581 * elf/dl-close.c (_dl_close_worker): Add comments.
4582
faa7f811
JM
45832013-05-09 Joseph Myers <joseph@codesourcery.com>
4584
ed41ffef
JM
4585 [BZ #15359]
4586 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4587 high part of pi/2.
4588 (__ieee754_rem_pio2l): Update comments.
4589
d0213cd0
JM
4590 [BZ #15429]
4591 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4592 high part of pi/2.
4593 (__ieee754_rem_pio2l): Update comments.
4594
0d3e777a
JM
4595 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4596 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4597
24f56066
JM
4598 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4599 M_PI_4l.
4600
faa7f811
JM
4601 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4602 (M_PI_34_LOG10El): Likewise.
4603 (M_PI2_LOG10El): Likewise.
4604 (M_PI4_LOG10El): Likewise.
4605 (M_PI_LOG10El): Likewise.
4606
e9a5e0fd
AZ
46072013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4608
4609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4610
d8cd06db
JM
46112013-05-08 Joseph Myers <joseph@codesourcery.com>
4612
a0d9f9d7
JM
4613 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4614 (MINUS_ZERO_INIT): Likewise.
4615 (PLUS_INFTY_INIT): Likewise.
4616 (MINUS_INFTY_INIT): Likewise.
4617 (QNAN_VALUE_INIT): Likewise.
4618 (MAX_VALUE_INIT): Likewise.
4619 (MIN_VALUE_INIT): Likewise.
4620 (MIN_SUBNORM_VALUE_INIT): Likewise.
4621 (plus_zero): Initialize with PLUS_ZERO_INIT.
4622 (minus_zero): Initialize with MINUS_ZERO_INIT.
4623 (plus_infty): Initialize with PLUS_INFTY_INIT.
4624 (minus_infty): Initialize with MINUS_INFTY_INIT.
4625 (qnan_value): Initialize with QNAN_VALUE_INIT.
4626 (max_value): Initialize with MAX_VALUE_INIT.
4627 (min_value): Initialize with MIN_VALUE_INIT.
4628 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4629
ae08db3b
JM
4630 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4631 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4632 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4633 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4634
f44bf14a
JM
4635 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4636 (RUN_TEST_2_f): Likewise.
4637 (RUN_TEST_ff_f): Likewise.
4638 (RUN_TEST_fi_f): Likewise.
4639 (RUN_TEST_fl_f): Likewise.
4640 (RUN_TEST_fff_f): Likewise.
4641 (RUN_TEST_c_f): Likewise.
4642 (RUN_TEST_f_f1): Likewise.
4643 (RUN_TEST_fF_f1): Likewise.
4644 (RUN_TEST_fI_f1): Likewise.
4645 (RUN_TEST_ffI_f1): Likewise.
4646 (RUN_TEST_c_c): Likewise.
4647 (RUN_TEST_cc_c): Likewise.
4648 (RUN_TEST_f_i): Likewise.
4649 (RUN_TEST_f_i_tg): Likewise.
4650 (RUN_TEST_ff_i_tg): Likewise.
4651 (RUN_TEST_f_b): Likewise.
4652 (RUN_TEST_f_b_tg): Likewise.
4653 (RUN_TEST_f_l): Likewise.
4654 (RUN_TEST_f_L): Likewise.
4655 (RUN_TEST_sincos): Likewise.
4656 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4657 whether to show exceptions. Do not include ");\n" in return
4658 value.
4659 (special_functions): Output call to RUN_TEST_sincos instead of
4660 check_float calls. Update calls to new_test.
4661 (parse_args): Output call to single RUN_TEST_* macro instead of
4662 check_* calls and other assignments. Update calls to new_test.
4663
d8cd06db
JM
4664 [BZ #2546]
4665 [BZ #2560]
4666 [BZ #5159]
4667 [BZ #15426]
4668 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4669 input to result for tgamma overflow.
4670 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4671 (gamma_coeff): New variable.
4672 (NCOEFF): New macro.
4673 (gamma_positive): New function.
4674 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4675 underflow here. Use gamma_positive instead of exp (lgamma) for
4676 other arguments.
4677 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4678 (gamma_coeff): New variable.
4679 (NCOEFF): New macro.
4680 (gammaf_positive): New function.
4681 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4682 underflow here. Use gamma_positive instead of exp (lgamma) for
4683 other arguments.
4684 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4685 (gamma_coeff): New variable.
4686 (NCOEFF): New macro.
4687 (gammal_positive): New function.
4688 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4689 underflow here. Use gamma_positive instead of exp (lgamma) for
4690 other arguments.
4691 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4692 (gamma_coeff): New variable.
4693 (NCOEFF): New macro.
4694 (gammal_positive): New function.
4695 (__ieee754_gammal_r): Handle positive infinity, overflow and
4696 underflow here. Handle NaN the same as positive infinity. Remove
4697 check x < 0xffffffff for negative integers. Use gamma_positive
4698 instead of exp (lgamma) for other arguments.
4699 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4700 (gamma_coeff): New variable.
4701 (NCOEFF): New macro.
4702 (gammal_positive): New function.
4703 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4704 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4707 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4708 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4709 * sysdeps/generic/math_private.h (__gamma_productf): New
4710 prototype.
4711 (__gamma_product): Likewise.
4712 (__gamma_productl): Likewise.
4713 * math/Makefile (libm-calls): Add gamma_product.
4714 * math/libm-test.inc (tgamma_test): Add more tests.
4715 * sysdeps/i386/fpu/libm-test-ulps: Update.
4716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4717
bb7cf681
OB
47182013-05-08 Ondřej Bílka <neleai@seznam.cz>
4719
4720 * benchtests/bench-skeleton.c (main): Preheat CPU.
4721
ba853947
AJ
47222013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4723
4724 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4725
8347c74c
RM
47262013-05-07 Roland McGrath <roland@hack.frob.com>
4727
4728 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4729 and _dl_skip_args_internal.
4730
e8dd4791
CD
47312013-05-07 Carlos O'Donell <carlos@redhat.com>
4732
4733 * manual/message.texi (Message Translation): Talk about users.
4734 Message to key mapping impacts design.
4735
c7405830
RM
47362013-05-06 Roland McGrath <roland@hack.frob.com>
4737
a9173057
RM
4738 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4739
976e2f03
RM
4740 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4741
9723ffc5
RM
4742 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4743 * sysdeps/wordsize-64/glob64.c: ... here.
4744
962e6658
RM
4745 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4746 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4747 New macros.
4748
ee586a6d
RM
4749 * debug/getlogin_r_chk.c: Moved to ...
4750 * login/getlogin_r_chk.c: ... here.
4751 * debug/Makefile (routines): Move getlogin_r_chk to ...
4752 * login/Makefile (routines): ... here.
4753 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4754 * login/Versions (libc: GLIBC_2.4): ... here.
4755
355f9165
RM
4756 * io/poll.c (__poll): Renamed from poll.
4757 Add libc_hidden_def.
4758 (poll): Define as weak alias.
4759
bd9ffde6
RM
4760 * debug/ptsname_r_chk.c: Moved to ...
4761 * login/ptsname_r_chk.c: ... here.
4762 * debug/Makefile (routines): Move ptsname_r_chk to ...
4763 * login/Makefile (routines): ... here.
4764 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4765 * login/Versions (libc: GLIBC_2.4): ... here.
4766
8fb16a04
RM
4767 * posix/getlogin.c: Moved to ...
4768 * login/getlogin.c: ... here.
4769 * posix/getlogin_r.c: Moved to ...
4770 * login/getlogin_r.c: ... here.
4771 * posix/getlogin_r.c: Moved to ...
4772 * login/getlogin_r.c: ... here.
4773 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4774 * login/Makefile (routines): ... here.
4775 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4776 * login/Versions (libc: GLIBC_2.0): ... here.
4777
b99b892f
RM
4778 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4779 (setrlimit): Define as weak alias.
4780
c7405830
RM
4781 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4782 Call __ names for open, ftruncate, and close.
4783 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4784 (truncate): Define as weak alias.
4785
5bf96de5
JM
47862013-05-06 Joseph Myers <joseph@codesourcery.com>
4787
9ea3513c
JM
4788 * math/gen-libm-test.pl (parse_args): Initialize x before each
4789 test of frexp, modf and remquo.
4790
5bf96de5
JM
4791 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4792 test signgam value.
4793
16e616a7
AZ
47942013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4795
4796 [BZ #15418]
4797 [BZ #15419]
4798 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4799 internal tests.
4800 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4801
d5e82754
RM
48022013-05-06 Roland McGrath <roland@hack.frob.com>
4803
4804 * elf/dl-writev.h: New file.
4805 * elf/dl-misc.c: Include it.
4806 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4807 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4808
a7548d41
JM
48092013-05-04 Joseph Myers <joseph@codesourcery.com>
4810
b7dab1e4
JM
4811 * math/libm-test.inc (noXFails): Remove variable.
4812 (noXPasses): Likewise.
4813 (BUILD_COMPLEX_INT): Remove macro.
4814 (print_screen): Remove xfail argument.
4815 (print_screen_max_error): Likewise.
4816 (update_stats): Likewise.
4817 (print_max_error): Likewise. Update calls to other affected
4818 functions.
4819 (print_complex_max_error): Likewise.
4820 (test_single_exception): Update calls to print_screen.
4821 (test_single_errno): Likewise.
4822 (check_float_internal): Remove xfail argument. Update calls to
4823 other affected functions.
4824 (check_float): Likewise.
4825 (check_complex): Likewise.
4826 (check_int): Likewise.
4827 (check_long): Likewise.
4828 (check_bool): Likewise.
4829 (check_longlong): Likewise.
4830 (main): Don't print noXFails and noXPasses.
4831 * math/gen-libm-test.pl (top level): Don't mention expected
4832 failure handling in comment.
4833 (new_test): Don't handle expected failures.
4834 (parse_args): Don't mention expected failure handling in comment.
4835 (generate_testfile): Don't handle expected failures.
4836 (parse_ulps): Likewise.
4837 (print_ulps_file): Likewise.
4838 (get_failure): Remove function.
4839 (output_test): Don't handle expected failures.
4840 * make/README.libm-test: Don't mention expected failure handling.
4841
a7548d41
JM
4842 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4843 (minus_zero): Likewise.
4844 (plus_infty): Likewise.
4845 (minus_infty): Likewise.
4846 (qnan_value): Likewise.
4847 (max_value): Likewise.
4848 (min_value): Likewise.
4849 (min_subnorm_value): Likewise.
4850 (initialize): Do not initialize those variables dynamically.
4851
60bfd54c
RM
48522013-05-03 Roland McGrath <roland@hack.frob.com>
4853
cc0e6ed8
RM
4854 * io/open.c (__open_2): Moved to ...
4855 * io/open_2.c: ... this new file.
4856 * io/open64.c (__open64_2): Moved to ...
4857 * io/open64_2.c: ... this new file.
4858 * io/openat.c (__openat_2): Moved to ...
4859 * io/openat_2.c: ... this new file.
4860 * io/openat64.c (__openat64_2): Moved to ...
4861 * io/openat64_2.c: ... this new file.
4862 * io/Makefile (routines): Add them.
4863 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4864 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4865 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4866 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4867 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4868 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4869 (__openat64): Add hidden_ver.
4870 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4871 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4872
60bfd54c
RM
4873 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4874 Separately conditionalize setting of GLRO(dl_sysinfo) so
4875 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4876 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4877
83e7640f
AZ
48782013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4879
4880 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4881 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4882 definition.
4883 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4884 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4885 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4886 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4887 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4888
d5dc2af3
JM
48892013-05-03 Joseph Myers <joseph@codesourcery.com>
4890
c31a5b1e
JM
4891 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4892 test signgam value.
4893
d5dc2af3
JM
4894 * math/libm-test.inc (hypot_test): Do not use
4895 IGNORE_ZERO_INF_SIGN.
4896
164fd39d
AJ
48972013-05-03 Andreas Jaeger <aj@suse.de>
4898
4899 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4900 Linux 3.9.
4901 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4902 (PF_MAX): Adjust for VSOCK change.
4903
8237f48c
AZ
49042013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4905
4906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4907
9df02941
CD
49082013-05-02 Carlos O'Donell <carlos@redhat.com>
4909
4910 [BZ #15264]
4911 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4912 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4913 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4914
d422395e
DM
49152013-05-02 David S. Miller <davem@davemloft.net>
4916
4917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4918
a07c5731
OB
49192013-05-01 Ondřej Bílka <neleai@seznam.cz>
4920
4921 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4922
1324e37f
RM
49232013-05-01 Roland McGrath <roland@hack.frob.com>
4924
4925 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4926
0695940b
RS
49272013-05-01 Richard Smith <richard@metafoo.co.uk>
4928
bb5f27ad 4929 [BZ #14952]
0695940b
RS
4930 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4931 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4932 Use __attribute__ ((__gnu_inline__)).
4933 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4934 Don't use __attribute__ ((__gnu_inline__)).
4935
10de07f5
JM
49362013-05-01 Joseph Myers <joseph@codesourcery.com>
4937
4938 [BZ #15423]
4939 * math/s_catan.c (__catan): Handle small real or imaginary part of
4940 input specially to avoid spurious underflow.
4941 * math/s_catanf.c (__catanf): Likewise.
4942 * math/s_catanh.c (__catanh): Likewise.
4943 * math/s_catanhf.c (__catanhf): Likewise.
4944 * math/s_catanhl.c (__catanhl): Likewise.
4945 * math/s_catanl.c (__catanl): Likewise.
4946 * math/libm-test.inc (catan_test): Add more tests.
4947 (catanh_test): Likewise.
4948 * sysdeps/i386/fpu/libm-test-ulps: Update.
4949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4950
cb4d5414
AZ
49512013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4952
4953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4954
caf84319
JM
49552013-04-30 Joseph Myers <joseph@codesourcery.com>
4956
4957 [BZ #15416]
4958 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4959 accurately for denominator in atan2.
4960 * math/s_catanf.c (__catanf): Likewise.
4961 * math/s_catanh.c (__catanh): Likewise.
4962 * math/s_catanhf.c (__catanhf): Likewise.
4963 * math/s_catanhl.c (__catanhl): Likewise.
4964 * math/s_catanl.c (__catanl): Likewise.
4965 * math/libm-test.inc (catan_test): Add more tests.
4966 (catanh_test): Likewise.
4967 * sysdeps/i386/fpu/libm-test-ulps: Update.
4968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4969
d569c6ee
SP
49702013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4971
6dbe713d
SP
4972 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4973
f0ee064b
SP
4974 * benchtests/Makefile (bench): Remove slow benchmarks.
4975 * benchtests/atan-inputs: Add slow benchmark inputs.
4976 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4977 (BENCH_FUNC): Accept variant offset.
4978 (VARIANT): Define.
4979 * benchtests/bench-skeleton.c (main): Run benchmark for each
4980 variant.
4981 * benchtests/cos-inputs: Add slow benchmark inputs.
4982 * benchtests/exp-inputs: Likewise.
4983 * benchtests/pow-inputs: Likewise.
4984 * benchtests/sin-inputs: Likewise.
4985 * benchtests/slowatan-inputs: Remove.
4986 * benchtests/slowatan.c: Remove.
4987 * benchtests/slowcos-inputs: Remove.
4988 * benchtests/slowcos.c: Remove.
4989 * benchtests/slowexp-inputs: Remove.
4990 * benchtests/slowexp.c: Remove.
4991 * benchtests/slowpow-inputs: Remove.
4992 * benchtests/slowpow.c: Remove.
4993 * benchtests/slowsin-inputs: Remove.
4994 * benchtests/slowsin.c: Remove.
4995 * benchtests/slowtan-inputs: Remove.
4996 * benchtests/slowtan.c: Remove.
4997 * benchtests/tan-inputs: Add slow benchmark inputs.
4998 * scripts/bench.pl: Parse comments and directives.
4999
d569c6ee
SP
5000 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5001 in CPPFLAGS.
5002 ($(objpfx)bench-%.c): Remove *-ITER.
5003 * benchtests/bench-modf.c: Remove definition of ITER.
5004 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5005 (main): Loop for DURATION seconds instead of fixed number of
5006 iterations.
5007 * scripts/bench.pl: Don't expect iterations in parameters.
5008
a6a242fe
RM
50092013-04-29 Roland McGrath <roland@hack.frob.com>
5010
5011 * io/fchdir.c (__fchdir): Renamed from fchdir.
5012 (fchdir): Define as weak alias.
5013
f2da7793
JM
50142013-04-29 Joseph Myers <joseph@codesourcery.com>
5015
5016 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5017 (ERRNO_EDOM): Likewise.
5018 (ERRNO_ERANGE): Likewise.
5019 (noErrnoTests): New variable.
5020 (init_max_error): Set errno to 0.
5021 (test_single_errno): New function.
5022 (test_errno): Likewise.
5023 (check_float_internal): Call test_errno. Set errno to 0.
5024 (check_complex): Refer to errno tests in comment.
5025 (check_int): Call test_errno. Set errno to 0.
5026 (check_long): Likewise.
5027 (check_bool): Likewise.
5028 (check_longlong): Likewise.
5029 (cos_test): Use ERRNO_* flags for errno tests instead of
5030 check_int.
5031 (expm1_test): Likewise.
5032 (fmod_test): Likewise.
5033 (ilogb_test): Likewise.
5034 (lgamma_test): Likewise.
5035 (pow_test): Likewise.
5036 (remainder_test): Likewise.
5037 (sin_test): Likewise.
5038 (tan_test): Likewise.
5039 (yn_test): Likewise.
5040 (initialize): Set errno to 0.
5041 (main): Print number of errno tests.
5042 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5043
b1a36ceb
AJ
50442013-04-29 Andreas Jaeger <aj@suse.de>
5045
c3ed8088
AJ
5046 [BZ #15084]
5047 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5048 and RES_USEVC.
5049
f1a24198
AJ
5050 [BZ #15085]
5051 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5052 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5053 unimplemented.
5054
9ce3b2cb
AJ
5055 [BZ #15380]
5056 * stdlib/random.c (__initstate): Return NULL if
5057 __initstate fails.
5058
f1a24198 5059 [BZ #15086]
b1a36ceb
AJ
5060 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5061 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5062 RES_SNGLKUPREOP.
5063
7e7b6f36
AZ
50642013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5065
5066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5067
4d14f449
JM
50682013-04-29 Joseph Myers <joseph@codesourcery.com>
5069
5070 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5071 of individual tests.
5072 (casin_test): Likewise.
5073 (casinh_test): Likewise.
5074
5b4217d7
JM
50752013-04-27 Joseph Myers <joseph@codesourcery.com>
5076
5077 [BZ #15409]
5078 * math/s_catan.c (__catan): Handle arguments with large real or
5079 imaginary part separately without squaring.
5080 * math/s_catanf.c (__catanf): Likewise.
5081 * math/s_catanh.c (__catanh): Likewise.
5082 * math/s_catanhf.c (__catanhf): Likewise.
5083 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5084 and redefine.
5085 (__catanhl): Handle arguments with large real or imaginary part
5086 separately without squaring.
5087 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5088 and redefine.
5089 (__catanl): Handle arguments with large real or imaginary part
5090 separately without squaring.
5091 * math/libm-test.inc (catan_test): Add more tests.
5092 (catanh_test): Likewise.
5093 * sysdeps/i386/fpu/libm-test-ulps: Update.
5094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5095
4220c3ef
AJ
50962013-04-27 Andreas Jaeger <aj@suse.de>
5097
5098 [BZ #15007]
5099 * stdlib/stdlib.h: Update guards for qecvt.
5100 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5101 <stdlib.h>.
5102
4721b2d1
AM
51032013-04-27 Allan McRae <allan@archlinux.org>
5104
5105 * sysdeps/i386/fpu/libm-test-ulps: Update.
5106
f0302940
JM
51072013-04-26 Joseph Myers <joseph@codesourcery.com>
5108
9457fd95
JM
5109 [BZ #15406]
5110 * math/s_catan.c: Include <float.h>.
5111 (__catan): Ensure underflow exception occurs for underflowed
5112 result.
5113 * math/s_catanf.c: Include <float.h>.
5114 (__catanf): Ensure underflow exception occurs for underflowed
5115 result.
5116 * math/s_catanh.c: Include <float.h>.
5117 (__catanh): Ensure underflow exception occurs for underflowed
5118 result.
5119 * math/s_catanhf.c: Include <float.h>.
5120 (__catanhf): Ensure underflow exception occurs for underflowed
5121 result.
5122 * math/s_catanhl.c: Include <float.h>.
5123 (__catanhl): Ensure underflow exception occurs for underflowed
5124 result.
5125 * math/s_catanl.c: Include <float.h>.
5126 (__catanl): Ensure underflow exception occurs for underflowed
5127 result.
5128 * math/libm-test.inc (catan_test): Add more tests.
5129 (catanh_test): Likewise.
5130
f0302940
JM
5131 [BZ #15405]
5132 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5133 underflowed result.
5134 * math/s_ccoshf.c (__ccoshf): Likewise.
5135 * math/s_ccoshl.c (__ccoshl): Likewise.
5136 * math/s_csin.c (__csin): Likewise.
5137 * math/s_csinf.c (__csinf): Likewise.
5138 * math/s_csinh.c (__csinh): Likewise.
5139 * math/s_csinhf.c (__csinhf): Likewise.
5140 * math/s_csinhl.c (__csinhl): Likewise.
5141 * math/s_csinl.c (__csinl): Likewise.
5142 * math/libm-test.inc (ccos_test): Add more tests.
5143 (ccosh_test): Likewise.
5144 (csin_test): Likewise.
5145 (csinh_test): Likewise.
5146
aa630f59
AZ
51472013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5148
5149 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5150 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5151 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5152 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5153 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5154 powerpc/power5+/fpu folders.
5155 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5156
5157
1b835983
MT
51582013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5159
5160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5161
73709b26
JM
51622013-04-25 Joseph Myers <joseph@codesourcery.com>
5163
5164 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5165 additions to variable.
5166 [$(config-machine) = x86_64] (modules-names): Likewise.
5167 ($(objpfx)tst-audit3): Remove dependency.
5168 ($(objpfx)tst-audit3.out): Likewise.
5169 ($(objpfx)tst-audit4): Likewise.
5170 ($(objpfx)tst-audit4.out): Likewise.
5171 ($(objpfx)tst-audit5): Likewise.
5172 ($(objpfx)tst-audit5.out): Likewise.
5173 ($(objpfx)tst-audit6): Likewise.
5174 ($(objpfx)tst-audit6.out): Likewise.
5175 ($(objpfx)tst-audit7): Likewise.
5176 ($(objpfx)tst-audit7.out): Likewise.
5177 (tst-audit3-ENV): Remove variable.
5178 (tst-audit4-ENV): Likewise.
5179 (tst-audit5-ENV): Likewise.
5180 (tst-audit6-ENV): Likewise.
5181 (tst-audit7-ENV): Likewise.
5182 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5183 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5184 addition to variable.
5185 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5186 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5187 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5188 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5189 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5190 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5191 tst-audit3, tst-audit4 and tst-audit5.
5192 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5193 tst-audit6 and tst-audit7.
5194 [$(subdir) = elf] (modules-names): Add audit modules for those
5195 tests.
5196 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5197 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5198 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5199 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5200 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5201 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5202 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5203 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5204 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5205 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5206 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5207 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5208 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5209 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5210 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5211 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5212 Likewise.
5213 [$(subdir) = elf && $(config-cflags-avx) = yes]
5214 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5215 [$(subdir) = elf && $(config-cflags-avx) = yes]
5216 (CFLAGS-tst-auditmod4a.c): Likewise.
5217 [$(subdir) = elf && $(config-cflags-avx) = yes]
5218 (CFLAGS-tst-auditmod4b.c): Likewise.
5219 [$(subdir) = elf && $(config-cflags-avx) = yes]
5220 (CFLAGS-tst-auditmod6b.c): Likewise.
5221 [$(subdir) = elf && $(config-cflags-avx) = yes]
5222 (CFLAGS-tst-auditmod6c.c): Likewise.
5223 [$(subdir) = elf && $(config-cflags-avx) = yes]
5224 (CFLAGS-tst-auditmod7b.c): Likewise.
5225 * elf/tst-audit3.c: Move to ...
5226 * sysdeps/x86_64/tst-audit3.c: ... here.
5227 * elf/tst-audit4.c: Move to ...
5228 * sysdeps/x86_64/tst-audit4.c: ... here.
5229 * elf/tst-audit5.c: Move to ...
5230 * sysdeps/x86_64/tst-audit5.c: ... here.
5231 * elf/tst-audit6.c: Move to ...
5232 * sysdeps/x86_64/tst-audit6.c: ... here.
5233 * elf/tst-audit7.c: Move to ...
5234 * sysdeps/x86_64/tst-audit7.c: ... here.
5235 * elf/tst-auditmod3a.c: Move to ...
5236 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5237 * elf/tst-auditmod3b.c: Move to ...
5238 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5239 * elf/tst-auditmod4a.c: Move to ...
5240 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5241 * elf/tst-auditmod4b.c: Move to ...
5242 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5243 * elf/tst-auditmod5a.c: Move to ...
5244 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5245 * elf/tst-auditmod5b.c: Move to ...
5246 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5247 * elf/tst-auditmod6a.c: Move to ...
5248 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5249 * elf/tst-auditmod6b.c: Move to ...
5250 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5251 * elf/tst-auditmod6c.c: Move to ...
5252 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5253 * elf/tst-auditmod7a.c: Move to ...
5254 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5255 * elf/tst-auditmod7b.c: Move to ...
5256 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5257
1ef74943
PP
52582013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5259
5260 [BZ #15366]
5261 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5262 define unconditionally.
5263 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5264 define unconditionally.
5265 (INT8_C, INT16_C, etc.): Likewise.
5266
93fd48c5
MR
52672013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5268
ae9552cf
MR
5269 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5270 __ehdr_start with hidden visibility.
5271
93fd48c5
MR
5272 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5273
418601aa
CD
52742013-04-24 Carlos O'Donell <carlos@redhat.com>
5275
5276 * math/libm-test.inc (cos_test): Use accurate hex constants.
5277 (sincost_test): Likewise.
5278
2f38fbfe
JM
52792013-04-24 Joseph Myers <joseph@codesourcery.com>
5280
5e221800
JM
5281 * math/libm-test.inc (catan_test): Add more tests.
5282 (catanh_test): Likewise.
5283
77f143fd
JM
5284 * math/s_catanf.c (__catanf): Use suffixed floating-point
5285 constants.
5286 * math/s_catanhf.c (__catanhf): Likewise.
5287 * math/s_catanhl.c (__catanhl): Likewise.
5288 * math/s_catanl.c (__catanl): Likewise.
5289
2f38fbfe
JM
5290 [BZ #15394]
5291 * math/s_catan.c (__catan): Calculate imaginary part of result
5292 with log1p not log unless computing log of number close to 0.
5293 * math/s_catanf.c (__catanf): Likewise.
5294 * math/s_catanl.c (__catanl): Likewise.
5295 * math/s_catanh.c (__catanh): Calculate real part of result with
5296 log1p not log unless computing log of number close to 0.
5297 * math/s_catanhf.c (__catanhf): Likewise.
5298 * math/s_catanhl.c (__catanhl): Likewise.
5299 * math/libm-test.inc (catan_test): Add more tests.
5300 (catanh_test): Likewise.
5301 * sysdeps/i386/fpu/libm-test-ulps: Update.
5302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5303
45d69176
SP
53042013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5305
5306 * benchtests/Makefile: Mention files in which fast and slow
5307 paths of math functions are implemented.
5308
87f51853
RM
53092013-04-23 Roland McGrath <roland@hack.frob.com>
5310
5311 * sysdeps/posix/timespec_get.c: New file.
5312
3c026539
AZ
53132013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5314
5315 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5316 POWER.
5317 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5318 for POWER.
5319 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5320 powerpc/power5/fpu folders.
5321 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5322 * benchtests/Makefile: Add modf testcase.
5323 * benchtests/bench-modf.c: New file: Benchmark test for mo
5324
ff491d14
SP
53252013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5326
5327 [BZ #14888]
5328 * time/Makefile (tests): Add tst-strptime-whitespace.
5329 * time/strptime_l.c (get_number): Use ISSPACE.
5330 (__strptime_internal): Likewise.
5331 * time/tst-strptime-whitespace.c: New test case.
5332
7ed3f4e8
AS
53332013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5334
5335 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5336 member.
5337 (_nss_files_init): Set it here.
5338
5c95f7b6
HC
53392013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5340
5341 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5342 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5343 unsigned.
5344
d34c9158
JBG
53452013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5346
5347 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5348
2169712d
SP
53492013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5350
5351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5352 size just once.
5353
29c5de99
DM
53542013-04-21 David S. Miller <davem@davemloft.net>
5355
5356 * po/ru.po: Update Russion translation from translation project.
5357
ccdad15d
AC
53582013-04-17 Adam Conrad <adconrad@0c3.net>
5359
5360 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5361 and setfsgid.
5362
0f122b8d
CD
53632013-04-17 Carlos O'Donell <carlos@redhat.com>
5364
5c5b07da 5365 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5366 * configure: Regenerate.
5c5b07da 5367 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5368 Add example to error message.
5369 * sysdeps/i386/configure: Regenerate.
5370
037714dd
SP
53712013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5372
5373 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5374 slowtan.
5375 * benchtests/cos-inputs: New file.
5376 * benchtests/slowcos-inputs: New file.
5377 * benchtests/slowcos.c: New file.
5378 * benchtests/slowtan-inputs: New file.
5379 * benchtests/slowtan.c: New file.
5380 * benchtests/tan-inputs: New file.
5381
e913141d
RM
53822013-04-16 Roland McGrath <roland@hack.frob.com>
5383
5384 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5385 considered kosher.
5386
a2964074
SP
53872013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5388
4856bcd2
SP
5389 * benchtests/Makefile: Include cppflags-iterator.mk to add
5390 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5391
a2964074
SP
5392 * Makefile.in (bench-clean): New target.
5393 * benchtests/Makefile (bench-clean): Likewise.
5394
9fbf9aca
DH
53952013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5396
5397 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5398
207d1e2a
TS
53992013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5400
5401 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5402
306dfba9
AS
54032013-04-15 Andreas Schwab <schwab@suse.de>
5404
5405 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5406 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5407 * nscd/pwdcache.c (cache_addpw): Likewise.
5408 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5409 more than recsize.
5410
206a6699
SP
54112013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5412
5413 * benchtests/Makefile (bench): Write all output to
5414 bench-out.tmp together.
5415
0582f6b3
AS
54162013-04-15 Andreas Schwab <schwab@suse.de>
5417
5418 * nscd/nscd.c (main): Don't fork again after closing files.
5419
acb4325f
SP
54202013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5421
5cb26d0a
SP
5422 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5423
acb4325f
SP
5424 * benchtests/Rules (bench-deps): Collect dependencies into a
5425 single variable. Add Makefile to dependencies.
5426 ($(objpfx)bench-%.c): Depend on bench-deps.
5427
47792506
RM
54282013-04-12 Roland McGrath <roland@hack.frob.com>
5429 Xavier Roche <roche+kml2@exalead.com>
5430
5431 [BZ #15361]
5432 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5433 just that it's a file descriptor.
5434 * manual/llio.texi (Synchronizing AIO Operations): Update description
5435 for EBADF error from aio_fsync.
5436
8fc1bee5
SP
54372013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5438
5439 * Rules (bench): Move target definition...
5440 * benchtests/Makefile: ... here.
5441
aba5e333
CD
54422013-04-11 Carlos O'Donell <carlos@redhat.com>
5443
5444 * math/libm-test.inc (cos_test): Fix PI/2 test.
5445 (sincos_test): Likewise.
5446 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5447 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5448
273cdee8
AS
54492013-04-11 Andreas Schwab <schwab@suse.de>
5450
6ecec3b6
AS
5451 [BZ #13988]
5452 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5453 accept exponent character only when digits were seen.
5454 * stdio-common/Makefile (tests): Add bug26.
5455 * stdio-common/bug26.c: New file.
5456
273cdee8
AS
5457 [BZ #14293]
5458 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5459 non-freeable.
5460
8da491f5
SP
54612013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5462
01dc6df9
SP
5463 * Makeconfig (rtld-prefix): Define built linker prefix.
5464 * Rules (run-bench): Use it.
5465 * math/Makefile (run-regen-ulps): Likewise.
5466
8da491f5
SP
5467 * Rules (bench): Remove eval.
5468
abe7f530
SP
54692013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5470 Roland McGrath <roland@hack.frob.com>
5471 Ondrej Bilka <neleai@seznam.cz>
5472
5473 [BZ #15346]
5474 * time/getdate.c: Include ctype.h and alloca.h.
5475 (__getdate_r): Trim leading and trailing spaces of input.
5476 * time/tst-getdate.c (tests): Add tests with leading and
5477 trailing spaces.
5478
61c23e62
RM
54792013-04-08 Roland McGrath <roland@hack.frob.com>
5480
5481 [BZ #14280]
5482 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5483 when computing value.
5484
7208a313
CD
54852013-04-06 Carlos O'Donell <carlos@redhat.com>
5486
085b2d41
CD
5487 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5488 Use testrun.sh to run libm tests.
5489
7208a313
CD
5490 [BZ #15309]
5491 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5492
872c0acd
MM
54932013-04-06 Marko Myllynen <myllynen@redhat.com>
5494
5495 [BZ #15264]
5496 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5497
26510bdd
CD
54982013-04-06 Carlos O'Donell <carlos@redhat.com>
5499
5500 * Makefile.in (regen-ulps): New target.
5501 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5502 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5503 [ifneq (no,$(PERL)] (regen-ulps): New target.
5504 [ifeq (no,$(PERL)] (regen-ulps): New target.
5505 * math/libm-test.inc (ulps_file_name): Define.
5506 (output_dir): New variable.
5507 (options): Add "output-dir" option.
5508 (parse_opt): Handle 'o' case.
5509 (main): If output_dir is non-NULL use it as a prefix
5510 otherwise use "".
5511 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5512
a01f19c8
CD
55132013-04-06 Carlos O'Donell <carlos@redhat.com>
5514
5515 [BZ #10060, #10062]
5516 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5517 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5518 fail configure if __sync_val_compare_and_swap is not inlined.
5519 * sysdeps/i386/configure: Regenerate.
5520 * configure.in: Build for i686 when configured for i386.
5521 * configure: Regenerate.
5522 * README: Remove i386 reference.
5523
b7a329a5
CD
55242013-04-06 Carlos O'Donell <carlos@redhat.com>
5525
5526 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5527 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5528
bf0f50df
TS
55292013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5530
ee091edf
TS
5531 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5532 (lmsnanval): New variables.
5533 (F): Add conversion tests.
5534 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5535 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5536
a8b792d6
TS
5537 * stdio-common/tstdiomisc.c (F): Properly collect individual
5538 tests' results.
5539
a1cbf437
TS
5540 [BZ #14686, #15336]
5541 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5542 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5543 Instead, use input NaN values or generate a qNaN by arithmetic
5544 operation. Also fix bugs to comply with the standard.
5545 * math/libm-test.inc (remainder_test): Add more tests.
5546
8b43a0c9
TS
5547 [BZ #15335, #15342]
5548 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5549 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5550 input NaN values or generate a qNaN by arithmetic operation.
5551
d91da4ce
TS
5552 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5553 unreachable code.
5554
bf0f50df
TS
5555 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5556 definitions.
5557
05e166c8
JM
55582013-04-03 Joseph Myers <joseph@codesourcery.com>
5559
5560 [BZ #14478]
5561 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5562 underflowed result.
5563 * math/s_cexpf.c (__cexpf): Likewise.
5564 * math/s_cexpl.c (__cexpl): Likewise.
5565 * math/libm-test.inc (cexp_test): Add more tests.
5566
1cef1b19
AS
55672013-04-03 Andreas Schwab <schwab@suse.de>
5568
5569 [BZ #15330]
5570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5571 order arrays from heap if bigger than alloca cutoff.
5572
74d87055
TS
55732013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5574
5575 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5576 (SNAN_TESTS_double): Refer to GCC PR56831.
5577 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5578 GCC PR56828.
5579
d755bba4
SP
55802013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5581
90d5d5bb
SP
5582 * Rules (bench): Move bench.out after the run is complete.
5583
73e0cd5d
SP
5584 * Rules (bench): Echo currently running benchmark.
5585
64aabd4b
SP
5586 * benchtests/Makefile (bench): Add atan and slowatan.
5587 * benchtests/atan-inputs: New file.
5588 * benchtests/slowatan-inputs: New file.
5589 * benchtests/slowatan.c: New file.
5590
c871eccd
SP
5591 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5592 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5593 its value.
5594
d755bba4
SP
5595 [BZ #15305]
5596 * sysdeps/unix/sysv/linux/kernel-features.h
5597 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5598 __ASSUME_XFS_RESTRICTED_CHOWN.
5599 * sysdeps/unix/sysv/linux/pathconf.c
5600 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5601 Save and restore errno.
5602
52ce4860
JM
56032013-04-02 Joseph Myers <joseph@codesourcery.com>
5604
5605 [BZ #15327]
5606 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5607 arguments using __kernel_casinh.
5608 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5609 arguments using __kernel_casinhf.
5610 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5611 arguments using __kernel_casinhl.
5612 * math/libm-test.inc (cacosh_test): Add more tests.
5613 * sysdeps/i386/fpu/libm-test-ulps: Update.
5614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5615
81f311c2
SP
56162013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5617
e7906a47
SP
5618 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5620
92e3664b
SP
5621 * bench/Makefile (bench): Add sin and slowsin.
5622 * benchtests/sin-inputs: New file.
5623 * benchtests/slowsin-inputs: New file.
5624 * benchtests/slowsin.c: New file.
5625
81f311c2
SP
5626 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5627 (bench): Add slowexp and slowpow.
5628 (exp-ITER): Increase iterations.
5629 (pow-ITER): Likewise.
5630 * benchtests/exp-inputs: Change input.
5631 * benchtests/pow-inputs: Likewise.
5632 * benchtests/slowexp-inputs: New file.
5633 * benchtests/slowexp.c: New file.
5634 * benchtests/slowpow-inputs: New file.
5635 * benchtests/slowpow.c: New file.
5636
ab0f1aa9
AZ
56372013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5638
5639 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5640 instructions.
5641 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5642 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5643 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5644 * benchtests/Makefile: Add rint benchtest.
5645 * benchtests/rint-inputs: Input for rint benchtest.
5646
57267616
TS
56472013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5648
5649 * Versions.def (libm): Add GLIBC_2.18.
5650 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5651 hidden libm prototypes.
5652 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5653 * math/Makefile (libm-calls): Add s_issignaling.
5654 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5655 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5656 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5657 declaration.
5658 * math/math.h [__USE_GNU] (issignaling): New macro.
5659 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5660 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5661 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5662 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5663 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5664 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5665 * manual/arith.texi (issignaling): New section.
5666 * manual/libm-err-tab.pl (@all_functions): Update comment.
5667 * math/gen-libm-test.pl (parse_args): Apply special handling for
5668 issignaling.
5669 * math/libm-test.inc (print_float, issignaling_test): New
5670 functions.
5671 (check_float_internal): Add issignaling checks.
5672 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5673 default definition.
5674 * sysdeps/powerpc/math-tests.h: New file.
5675 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5676 tests.
5677 * math/test-snan.c (TEST_FUNC): Likewise.
5678
6142896d
DM
56792013-03-30 David S. Miller <davem@davemloft.net>
5680
5681 * po/de.po: Update from translation team.
5682
ccc8cadf
JM
56832013-03-30 Joseph Myers <joseph@codesourcery.com>
5684
5685 [BZ #10357]
5686 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5687 imaginary part less than 1.0 and real part less than 0.5
5688 specially.
5689 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5690 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5691 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5692 (cacos_test): Add more tests.
5693 (casin_test): Likewise.
5694 (casinh_test): Likewise.
5695 * sysdeps/i386/fpu/libm-test-ulps: Update.
5696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5697
0f6a8d4b
SP
56982013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5699
0d1029de
SP
5700 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5701 ONE with its value.
5702
c2d94018
SP
5703 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5704 (__pow_mp): Replace ONE and MONE with their values.
5705 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5707 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5708 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5709 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5710 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5711
27ec37f1
SP
5712 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5713
a64d7e0e
SP
5714 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5715 (__pow_mp): Replace ZERO and MZERO with their values.
5716 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5717 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5718 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5719 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5720 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5721 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5722 (__sqr): Likewise.
5723
d26dd3eb
SP
5724 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5725
0f6a8d4b
SP
5726 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5727
e57b0c61
RM
57282013-03-28 Roland McGrath <roland@hack.frob.com>
5729
5730 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5731 Declare with __attribute__ ((weak)).
5732 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5733 Call __call_tls_dtors only if it's not NULL.
5734
356b3480
RM
57352013-03-28 Roland McGrath <roland@hack.frob.com>
5736
288f7d79
RM
5737 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5738 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5739 magic __ehdr_start linker symbol if it's defined.
5740 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5741 them up here if it was already done.
5742
dc0a0263
RM
5743 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5744 (_dl_aux_init): Use const in cast when setting it.
5745 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5746 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5747 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5748
3d3436ae
RM
5749 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5750 Declare them here.
5751 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5752 * csu/libc-tls.c: Nor here.
5753 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5754
356b3480
RM
5755 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5756 (__libc_message): Never call vsyslog.
5757
b0f1246a
AM
57582013-03-28 Alan Modra <amodra@gmail.com>
5759
5760 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5761 Define as empty.
5762 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5763 Likewise.
5764
fbbe2b9a
AZ
57652013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5766
5767 [BZ #15214]
5768 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5769 underflow.
5770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5771
1728ab37
SP
57722013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5773
7a86be6e
SP
5774 [BZ #15304]
5775 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5776 Don't add gid passed as argument.
5777
1728ab37
SP
5778 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5779
3a7182a1
JM
57802013-03-27 Joseph Myers <joseph@codesourcery.com>
5781
5782 [BZ #15307]
5783 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5784 imaginary part between 1.0 and 1.5 and real part less than 0.5
5785 specially.
5786 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5787 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5788 * math/libm-test.inc (cacos_test): Add more tests.
5789 (casin_test): Likewise.
5790 (casinh_test): Likewise.
5791 * sysdeps/i386/fpu/libm-test-ulps: Update.
5792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5793
6f2e90e7
SP
57942013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5795
5739f705
SP
5796 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5797 constants.
5798 (norm): Likewise.
5799 (denorm): Likewise.
5800 (__dbl_mp): Likewise.
5801 (add_magnitudes): Likewise.
5802 (sub_magnitudes): Likewise.
5803 (__add): Likewise.
5804 (__sub): Likewise.
5805 (__mul): Likewise.
5806 (__sqr): Likewise.
5807 (__inv): Likewise.
5808 (__dvd): Likewise.
5809
e375e83d
SP
5810 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5811 commented code.
5812 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5813 (__dubcos): Likewise.
5814 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5815 (__ieee754_acos): Likewise.
5816 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5817 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5818 (__exp1): Likewise.
5819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5821 (log1): Likewise.
5822 (my_log2): Likewise.
5823 (checkint): Likewise.
5824 * sysdeps/ieee754/dbl-64/e_remainder.c
5825 (__ieee754_remainder): Likewise.
5826 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5827 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5828 (bsloww): Likewise.
5829 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5830
6f2e90e7
SP
5831 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5832 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5833 MANTISSA_STORE_T to store computations on mantissa. Use
5834 macros for rounding and division.
5835 (denorm): Likewise.
5836 (__dbl_mp): Likewise.
5837 (add_magnitudes): Likewise.
5838 (sub_magnitudes): Likewise.
5839 (__mul): Likewise.
5840 (__sqr): Likewise.
5841 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5842 powers of two in terms of TWOPOW macro.
5843 (mp_no): Make type of mantissa as MANTISSA_T.
5844 [!RADIXI]: Define RADIXI.
5845 [!TWO52]: Define TWO52.
5846 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5847
fce14d4e
AZ
58482013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5849
5850 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5851 llroundl symbol when building for PPC32.
5852
9ad027fb
MW
58532013-03-24 Mark H Weaver <mhw@netris.org>
5854
5855 * manual/arith.texi (Normalization Functions): Fix prototypes for
5856 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5857
e42a38dd
AZ
58582013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5859
5860 [BZ #13889]
5861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5862 high value to check if expl overflow.
5863 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5864 to check for underflow and overflow.
5865 * math/libm-test.inc: Add exp test.
5866
2e0fb521
DL
58672013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5868
5869 [BZ #11120]
5870 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5871 with NOT_IN_libc.
5872
b5784d95
AZ
58732013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5874
5875 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5876 symbol.
5877
5aa4a1a1
TS
58782013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5879
bdef0be7
TS
5880 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5881 wrap blocks consisting of several statements.
5882
5aa4a1a1
TS
5883 * sysdeps/generic/math-tests.h: New file.
5884 * sysdeps/i386/fpu/math-tests.h: Likewise.
5885 * math/test-snan.c: Include it.
5886 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5887
98c48fe5
JM
58882013-03-21 Joseph Myers <joseph@codesourcery.com>
5889
5890 [BZ #15285]
5891 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5892 (__ieee754_j0l): Do not improve calculations using cos of twice
5893 input for inputs above LDBL_MAX / 2.0L.
5894 (__ieee754_y0l): Likewise.
5895 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5896 (__ieee754_j1l): Do not improve calculations using cos of twice
5897 input for inputs above LDBL_MAX / 2.0L.
5898 (__ieee754_y1l): Likewise.
5899 * math/libm-test.inc (j0_test): Add another test.
5900 (j1_test): Likewise.
5901 (y0_test): Likewise.
5902 (y1_test): Likewise.
5903 * sysdeps/i386/fpu/libm-test-ulps: Update.
5904
3775a8bc
SP
59052013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5906
5907 * Rules ($(objpfx)bench-%.c): Include code from a C source
5908 file.
5909
0a1b2ae6
JM
59102013-03-21 Joseph Myers <joseph@codesourcery.com>
5911
5912 [BZ #15287]
5913 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5914 imaginary part 1.0 and real part less than 0.5 specially.
5915 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5916 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5917 * math/libm-test.inc (cacos_test): Add more tests.
5918 (casin_test): Likewise.
5919 (casinh_test): Likewise.
5920 * sysdeps/i386/fpu/libm-test-ulps: Update.
5921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5922
b33d4ce4
SP
59232013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5924
5925 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5926 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5927
bef0b507
JM
59282013-03-20 Joseph Myers <joseph@codesourcery.com>
5929
5930 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5931 * config.make.in (config-cflags-sse4): Remove variable.
5932 (config-cflags-avx): Likewise.
5933 (config-cflags-sse2avx): Likewise.
5934 (config-cflags-novzeroupper): Likewise.
5935 (config-asflags-i686): Likewise.
5936 (have-mfma4): Likewise.
5937 (have-as-vis3): Likewise.
5938 (MIG): Likewise.
5939 * configure.in (MIG): Do not AC_SUBST.
5940 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5941 (libc_cv_cc_sse4): Do not AC_SUBST.
5942 (libc_cv_cc_avx): Likewise.
5943 (libc_cv_cc_sse2avx): Likewise.
5944 (libc_cv_cc_novzeroupper): Likewise.
5945 (libc_cv_cc_fma4): Likewise.
5946 (libc_cv_as_i686): Likewise.
5947 (libc_cv_sparc_as_vis3): Likewise.
5948 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5949 LIBC_CONFIG_VAR.
5950 (config-asflags-i686): Likewise.
5951 (config-cflags-avx): Likewise.
5952 (config-cflags-sse2avx): Likewise.
5953 (have-mfma4): Likewise.
5954 (config-cflags-novzeroupper): Likewise.
5955 * sysdeps/mach/configure.in (MIG): Likewise.
5956 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5957 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5958 LIBC_CONFIG_VAR.
5959 (config-cflags-avx): Likewise.
5960 (config-cflags-sse2avx): Likewise.
5961 (have-mfma4): Likewise.
5962 (config-cflags-novzeroupper): Likewise.
5963 * configure: Regenerated.
5964 * sysdeps/i386/configure: Likewise.
5965 * sysdeps/mach/configure: Likewise.
5966 * sysdeps/sparc/configure: Likewise.
5967 * sysdeps/x86_64/configure: Likewise.
5968
912cc4b3
RM
59692013-03-20 Roland McGrath <roland@hack.frob.com>
5970
5971 [BZ #14812]
5972 * locale/programs/localedef.c (options): Put N_ translation marker
5973 on argument names, not just descriptions.
5974
04eed2b0
MS
59752013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5976
5977 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5978
a065ceff
OB
59792013-03-20 Ondřej Bílka <neleai@seznam.cz>
5980
9bb2a810 5981 [BZ #14176]
a065ceff
OB
5982 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5983
a600e5ce
RM
59842013-03-19 Roland McGrath <roland@hack.frob.com>
5985
5986 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5987 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5988 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5989 [!BEFORE_ABORT] (before_abort): New function.
5990 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5991 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5992 (writev_for_fatal): New function.
5993 (WRITEV_FOR_FATAL): New macro; call that.
5994 (backtrace_and_maps): New function.
5995 (BEFORE_ABORT): New macro; call that.
5996 (struct str_list): Type removed.
5997 (__libc_message, __libc_fatal): Functions removed.
5998 Include <sysdeps/posix/libc_fatal.c> instead.
5999
6b18bea6
JM
60002013-03-19 Joseph Myers <joseph@codesourcery.com>
6001
6002 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6003 constants.
6004 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6005 double constants.
6006
aaa8cb4b
AS
60072013-03-19 Andreas Schwab <schwab@suse.de>
6008
44673770
AS
6009 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6010 * sysdeps/gnu/configure: Regenerate.
6011
aaa8cb4b
AS
6012 * configure.in: Substitute libc_cv_rtlddir.
6013 * configure: Regenerate.
6014 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6015 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6016 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6017 * elf/Makefile (install-others, CFLAGS-interp.c)
6018 (ldso_install, common-ldd-rewrite): Likewise.
6019 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6020 $(inst_slibdir)/$(rtld-installed-name).
6021 * scripts/rellns-sh: Add -p option.
6022 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6023 for source.
6024
d3cfc668
SP
60252013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6026
6027 * manual/nptl.texi: Renamed to ...
6028 * manual/threads.texi: ... this.
6029 * manual/Makefile (chapters): Update.
6030
0e2b9cdd
RM
60312013-03-18 Roland McGrath <roland@hack.frob.com>
6032
6033 [BZ #14812]
6034 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6035 on argument names, not just descriptions.
0e2b9cdd
RM
6036 * malloc/memusagestat.c (options): Likewise.
6037 * nss/getent.c (options): Likewise.
63270c24
RM
6038
60392013-03-18 Benno Schulenberg <bensberg@justemail.net>
6040
6041 [BZ #14812]
6042 * iconv/iconv_prog.c (options): Put N_ translation marker
6043 on argument names, not just descriptions.
6044 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6045
b2e1393c
OB
60462013-03-18 Ondrej Bilka <neleai@seznam.cz>
6047
6048 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6049 implementation which is faster on all x86_64 architectures.
6050 Tested on AMD, Intel Nehalem, SNB, IVB.
6051 * sysdeps/x86_64/strnlen.S: Likewise.
6052
6053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6054 Remove all multiarch strlen and strnlen versions.
6055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6056 Remove strlen and strnlen related parts.
6057
6058 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6059 Inline strlen part.
6060 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6061
6062 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6063 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6064 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6065 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6066 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6067 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6068
ec4ff04d
CD
60692013-03-17 Carlos O'Donell <carlos@redhat.com>
6070
6071 * manual/memory.texi (Malloc Tunable Parameters):
6072 Sort parameters alphabetically. Add comments for missing entries.
6073
cd18e90a
DM
60742013-03-17 David S. Miller <davem@davemloft.net>
6075
6076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6077
2a185d32
JM
60782013-03-16 Joseph Myers <joseph@codesourcery.com>
6079
d2f9799e
JM
6080 [BZ #15283]
6081 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6082 for arguments at most half maximum finite value.
6083 * math/libm-test.inc (j0_test): Add more tests.
6084 (j1_test): Likewise.
6085 (y0_test): Likewise.
6086 (y1_test): Likewise.
6087 * sysdeps/i386/fpu/libm-test-ulps: Update.
6088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6089
2a185d32
JM
6090 [BZ #14155]
6091 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6092 1 / x and functions P and Q for arguments above 0x1p256L.
6093 (__ieee754_y0l): Likewise.
6094 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6095 (__ieee754_y1l): Likewise.
6096 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6097 (j1_test): Likewise.
6098 (y0_test): Likewise.
6099 (y1_test): Likewise.
6100
6cbec759
TS
61012013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6102
6103 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6104 variable.
6105
bc16e260
RM
61062013-03-15 Roland McGrath <roland@hack.frob.com>
6107
aefc9b8c
RM
6108 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6109 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6110 zero since it's initialized to EXEC_PAGESIZE.
6111
bc16e260
RM
6112 * sysdeps/unix/sysv/linux/ldsodefs.h
6113 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6114 * sysdeps/generic/ldsodefs.h: ... here.
6115
a57da955
TS
61162013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6117
af00a34d
TS
6118 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6119
495ded2c
TS
6120 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6121 math/test-snan.c.
6122 * math/test-snan.c: Renamed from
6123 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6124 * math/Makefile (tests): Add test-snan.
6125 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6126 test-powerpc-snan.
6127
777b0332
TS
6128 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6129 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6130 functions.
6131 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6132 __builtin_nan family of functions.
6133 * math/libm-test.inc (initialize): Initialize qnan_value with
6134 __builtin_nan family of functions.
6135 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6136 Remove variables.
6137 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6138 Remove functions.
6139 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6140 storage class. Initialize qNaN_var and sNaN_var with
6141 __builtin_nan and __builtin_nans families of functions,
6142 respectively.
6143
64d063b8
TS
6144 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6145 (sqrt_test): Remove duplicate test with qNaN input.
6146 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6147 (round_test, signbit_test, significand_test): Note missing +/-Inf
6148 as well as qNaN tests.
6149
67e971f1
TS
6150 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6151 qNaN_var. Fix a few strings, too.
6152 * math/libm-test.inc (nan_value): Rename to qnan_value.
6153 * math/gen-libm-test.pl (%beautify): Adjust to that.
6154 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6155 * math/test-misc.c (main): Likewise.
6156 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6157 to __qnan_bytes, and __qnan_union, respectively.
6158 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6159 Likewise.
6160 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6161 and lqnanval, respectively.
6162 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6163 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6164 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6165 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6166
64487e12
TS
6167 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6168 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6169 doubles.
6170
e015e27b
TS
6171 * math/test-misc.c (main): Fix copy'n'pastos.
6172 * misc/tst-efgcvt.c (special): Likewise.
6173
a57da955
TS
6174 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6175 Remove declarations.
6176
1e380345
SP
61772013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6178
6179 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6180 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6181 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6182 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6183
ef26eece
AZ
61842013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6185
6186 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6187 macro to return vdso values correctly in IFUNC implementations.
6188 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6189 Optimization by using IFUNC.
6190
8cfdb7e0
SP
61912013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6192 Richard Henderson <rth@redhat.com>
6193 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6194
6195 * Makefile.in (bench): New target.
6196 * NEWS: Mention the benchmark framework.
6197 * Rules (bench): Likewise.
6198 (binaries-bench): Generate binaries for functions to
6199 benchmark.
6200 * benchtests/Makefile: New makefile for benchmark tests.
6201 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6202 programs.
6203 * benchtests/exp-inputs: New input file for EXP function.
6204 * benchtests/pow-inputs: New input file for POW function.
6205 * scripts/bench.pl: New script to generate source files for
6206 benchmark programs.
6207
bcda9880
SP
62082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6209
d22ca8cd
SP
6210 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6211 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6212 computations on mantissa. Use macros for rounding and
6213 division.
6214 (denorm): Likewise.
6215 (__dbl_mp): Likewise.
6216 (add_magnitudes): Likewise.
6217 (sub_magnitudes): Likewise.
6218 (__mul): Likewise.
6219 (__sqr): Likewise.
6220 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6221 powers of two in terms of TWOPOW macro.
6222 (mp_no): Make type of mantissa as MANTISSA_T.
6223 [!RADIXI]: Define RADIXI.
6224 [!TWO52]: Define TWO52.
6225 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6226
bcda9880
SP
6227 * manual/nptl.texi (cindex): Modify threads to pthreads.
6228
06d5adfb
JM
62292013-03-15 Joseph Myers <joseph@codesourcery.com>
6230
6231 * sysdeps/x86_64/preconfigure: Regenerated.
6232
41c7328e
JM
62332013-03-14 Joseph Myers <joseph@codesourcery.com>
6234
6235 [BZ #14155]
6236 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6237 0x1p28 and above.
6238 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6239 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6240 0x1p28 and above.
6241 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6242 * math/libm-test.inc (j0_test): Do not allow one spurious
6243 underflow exception.
6244 (y1_test): Likewise.
6245
e25cfa60
SP
62462013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6247
0409959c
SP
6248 * manual/Makefile (chapters): Add nptl.
6249 * manual/debug.texi (Debugging Support): Add link to Threads
6250 chapter.
6251 * manual/nptl.texi: New file.
6252
e25cfa60
SP
6253 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6254
58a1335e
PB
62552013-03-14 Petr Baudis <pasky@ucw.cz>
6256
6257 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6258 for non-NULL pointer before the memory validity test. Pointed
6259 out by Holger Brunck <holger.brunck@keymile.com>.
6260
9dc7c64f
AS
62612013-03-13 Andreas Schwab <schwab@suse.de>
6262
6263 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6264 instead of .os.
6265
54206aa6
JM
62662013-03-13 Joseph Myers <joseph@codesourcery.com>
6267
6268 * timezone/zic.c: Update from tzcode 2013b.
6269
e98cdb38
CD
62702013-03-12 Carlos O'Donell <carlos@redhat.com>
6271
6272 * manual/install.texi (Configuring and compiling):
6273 Mention i686 and i586.
6274 * INSTALL: Regenerate.
6275
9967e003
RM
62762013-03-12 Roland McGrath <roland@hack.frob.com>
6277
6278 * sysdeps/init_array/elf-init.c: New file.
6279 * csu/elf-init.c
6280 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6281 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6282
6283 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6284 __gmon_start__ as global, but as static with a .preinit_array pointer.
6285 * sysdeps/init_array/gmon-start.c: New file. Use that.
6286 * sysdeps/init_array/crti.S: New file, empty except for comments.
6287 * sysdeps/init_array/crtn.S: Likewise.
6288
e6b5a293 62892013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6290
6291 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6292 definining bcopy.
80f844c9
OB
6293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6294 Remove Prefer_SSE_for_memop.
6295 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6296 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6297 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6299 memset-x86-64.
80f844c9 6300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6301 Remove bzero, memset ifunc support.
80f844c9
OB
6302 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6303 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6304 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6305 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6306
fb6b0fcb
AS
63072013-03-11 Andreas Schwab <schwab@suse.de>
6308
6309 [BZ #15234]
6310 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6311 by SHLIB_COMPAT.
6312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6313 (GLIBC_2.16): Remove pthread_atfork.
6314
3e6bd4b1
PP
63152013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6316
6317 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6318 (ptestcases.h): Likewise.
6319
222d7f00
RM
63202013-03-08 Roland McGrath <roland@hack.frob.com>
6321
6322 * Makeconfig ($(common-objpfx)config.status): Depend on
6323 sysdeps/*/preconfigure{,.in} too.
6324
1ba4f030
JM
63252013-03-08 Joseph Myers <joseph@codesourcery.com>
6326
a222d91a
JM
6327 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6328 (__free_hook): Use void * instead of __malloc_ptr_t.
6329 (__malloc_hook): Likewise.
6330 (__realloc_hook): Likewise.
6331 (__memalign_hook): Likewise.
6332 (__after_morecore_hook): Likewise.
6333 * malloc/arena.c (save_malloc_hook): Likewise.
6334 (save_free_hook): Likewise.
6335 * malloc/hooks.c (malloc_hook_ini): Likewise.
6336 (realloc_hook_ini): Likewise.
6337 (memalign_hook_ini): Likewise.
6338 * malloc/malloc.c (malloc_hook_ini): Likewise.
6339 (realloc_hook_ini): Likewise.
6340 (memalign_hook_ini): Likewise.
6341 (__free_hook): Likewise.
6342 (__malloc_hook): Likewise.
6343 (__realloc_hook): Likewise.
6344 (__memalign_hook): Likewise.
6345 (__libc_malloc): Likewise.
6346 (__libc_free): Likewise.
6347 (__libc_realloc): Likewise.
6348 (__libc_memalign): Likewise.
6349 (__libc_valloc): Likewise.
6350 (__libc_pvalloc): Likewise.
6351 (__libc_calloc): Likewise.
6352 (__posix_memalign): Likewise.
6353 * malloc/morecore.c (__sbrk): Likewise.
6354 (__default_morecore): Likewise.
6355
5cc45e10
JM
6356 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6357
dd54b864
JM
6358 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6359 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6360 __malloc_ptrdiff_t.
6361
1ba4f030
JM
6362 * malloc/malloc.h (__malloc_size_t): Remove macro.
6363 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6364 __malloc_size_t.
6365 (old_memalign_hook): Likewise.
6366 (old_realloc_hook): Likewise.
6367 (struct hdr): Likewise.
6368 (flood): Likewise.
6369 (mallochook): Likewise.
6370 (memalignhook): Likewise.
6371 (reallochook): Likewise.
6372 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6373 (tr_old_realloc_hook): Likewise.
6374 (tr_old_memalign_hook): Likewise.
6375 (tr_mallochook): Likewise.
6376 (tr_reallochook): Likewise.
6377 (tr_memalignhook): Likewise.
6378
edf66e57
AZ
63792013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6380
6381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6382 default_ldbl_pack and using as default implementation.
6383 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6384 implementation.
6385 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6386 redundant definition.
6387 (ldbl_insert_mantissa): Likewise.
6388 (ldbl_canonicalize): Likewise.
6389 (ldbl_nearbyint): Likewise.
6390 (ldbl_pack): Rename to ldbl_pack_ppc.
6391 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6392 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6393 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6394
6d9145d8
SP
63952013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6396
6397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6398 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6399 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6400 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6402 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6403 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6404 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6405
4dd4e157
AJ
64062013-03-07 Andreas Jaeger <aj@suse.de>
6407
6408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6409 bits/mman-linux.h.
6410
adbb8027
SP
64112013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6412
ce544b5b
SP
6413 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6414 Include mpa.h and declare __MPEXP.
6415 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6416 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6417 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6418 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6419 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6420 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6421 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6422
4cc149fd
SP
6423 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6424 (__slowpow): Use long double EXPL and LOGL functions to
6425 compute POW.
6426 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6427 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6428 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6429 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6430 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6431 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6432
e6ebd4a7
SP
6433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6434 intermediate variable to calculate exponent.
6435 (__sqr): Likewise.
6436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6437 Likewise.
6438 (__sqr): Likewise.
6439
82a9811d
SP
6440 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6441 [!NO__SQR]: Define __sqr.
6442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6443 and NO__SQR. Remove all code except __mul and __sqr. Include
6444 sysdeps/ieee754/dbl-64/mpa.c.
6445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6446
adbb8027
SP
6447 [BZ #12723]
6448 * posix/Makefile (tests): Add tst-pathconf.
6449 * posix/tst-pathconf.c: New test case.
6450 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6451 _PC_PIPE_BUF.
6452 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6453
39120df9
PF
64542013-03-06 Patsy Franklin <pfrankli@redhat.com>
6455
6456 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6457
67525cb8
AJ
64582013-03-06 Andreas Jaeger <aj@suse.de>
6459
664a9ce4
AJ
6460 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6461 definition via __MAP_ANONYMOUS.
6462
8e39047d
AJ
6463 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6464 it's not part of Linux headers.
6465
67525cb8
AJ
6466 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6467 (MAP_HUGE_MASK): Define.
6468
6469 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6470 Define.
6471 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6472 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6473 Define.
6474 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6475 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6476 Define.
6477 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6478 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6479 Define.
6480 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6481
6482 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6483 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6484 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6485 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6486 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6487 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6488
6489 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6490 Handle f2fs.
6491
6492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6493 Handle f2fs and efivarfs.
6494
6495 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6496 f2fs.
6497
6498 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6499 (EFIVARFS_MAGIC): Add.
6500 (F2FS_LINK_MAX): Add.
6501
e1b42695
PP
65022013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6503
6504 * stdio-common/vfprintf.c: Replace __builtin_expect with
6505 __glibc_unlikely.
6506
2d67d91a
JM
65072013-03-06 Joseph Myers <joseph@codesourcery.com>
6508
6509 [BZ #13550]
6510 * sysdeps/generic/bp-sym.h: Remove file.
6511 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6512 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6513 <bp-sym.h> and <bp-asm.h>.
6514 (__longjmp): Don't use BP_SYM.
6515 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6516 and <bp-asm.h>.
6517 (memcpy): Don't use BP_SYM.
6518 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6519 <bp-sym.h> and <bp-asm.h>.
6520 (memcpy): Don't use BP_SYM.
6521 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6522 <bp-asm.h>.
6523 (memcpy): Don't use BP_SYM.
6524 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6525 <bp-asm.h>.
6526 (memset): Don't use BP_SYM.
6527 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6528 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6529 (__bzero): Don't use BP_SYM.
6530 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6531 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6532 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6533 <bp-sym.h> and <bp-asm.h>.
6534 (memcmp): Don't use BP_SYM. Remove comment about bounded
6535 pointers.
6536 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6537 <bp-sym.h> and <bp-asm.h>.
6538 (memcpy): Don't use BP_SYM.
6539 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6540 <bp-sym.h> and <bp-asm.h>.
6541 (memset): Don't use BP_SYM.
6542 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6543 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6544 (__bzero): Don't use BP_SYM.
6545 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6546 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6547 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6548 <bp-sym.h> and <bp-asm.h>.
6549 (strncmp): Don't use BP_SYM. Remove comment about bounded
6550 pointers.
6551 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6552 <bp-sym.h> and <bp-asm.h>.
6553 (memcpy): Don't use BP_SYM.
6554 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6555 <bp-sym.h> and <bp-asm.h>.
6556 (memset): Don't use BP_SYM.
6557 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6558 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6559 (__bzero): Don't use BP_SYM.
6560 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6561 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6562 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6563 <bp-sym.h> and <bp-asm.h>.
6564 (__memchr): Don't use BP_SYM.
6565 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6566 <bp-sym.h> and <bp-asm.h>.
6567 (memcmp): Don't use BP_SYM. Remove comment about bounded
6568 pointers.
6569 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6570 <bp-sym.h> and <bp-asm.h>.
6571 (memcpy): Don't use BP_SYM.
6572 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6573 <bp-sym.h> and <bp-asm.h>.
6574 (__mempcpy): Don't use BP_SYM.
6575 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6576 <bp-sym.h> and <bp-asm.h>.
6577 (__memrchr): Don't use BP_SYM.
6578 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6579 <bp-sym.h> and <bp-asm.h>.
6580 (memset): Don't use BP_SYM.
6581 (__bzero): Likewise.
6582 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6583 <bp-sym.h> and <bp-asm.h>.
6584 (__rawmemchr): Don't use BP_SYM.
6585 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6586 <bp-sym.h> and <bp-asm.h>.
6587 (__STRCMP): Don't use BP_SYM.
6588 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6589 <bp-sym.h> and <bp-asm.h>.
6590 (strchr): Don't use BP_SYM.
6591 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6592 <bp-sym.h> and <bp-asm.h>.
6593 (__strchrnul): Don't use BP_SYM.
6594 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6595 <bp-sym.h> and <bp-asm.h>.
6596 (strlen): Don't use BP_SYM.
6597 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6598 <bp-sym.h> and <bp-asm.h>.
6599 (strncmp): Don't use BP_SYM. Remove comment about bounded
6600 pointers.
6601 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6602 <bp-sym.h> and <bp-asm.h>.
6603 (__strnlen): Don't use BP_SYM.
6604 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6605 <bp-sym.h> and <bp-asm.h>.
6606 (__GI__setjmp): Don't use BP_SYM.
6607 (_setjmp): Likewise.
6608 (__sigsetjmp): Likewise.
6609 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6610 (L(start_addresses)): Don't use BP_SYM.
6611 (_start): Likewise.
6612 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6613 <bp-asm.h>.
6614 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6615 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6616 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6617 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6618 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6619 <bp-asm.h>.
6620 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6621 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6622 about bounded pointers.
6623 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6624 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6625 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6626 <bp-asm.h>.
6627 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6628 about bounded pointers. Remove GKM FIXME comments.
6629 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6630 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6631 <bp-asm.h>.
6632 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6633 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6634 Remove GKM FIXME comments.
6635 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6636 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6637 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6638 <bp-asm.h>.
6639 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6640 about bounded pointers. Remove GKM FIXME comment.
6641 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6642 and <bp-asm.h>.
6643 (strncmp): Don't use BP_SYM. Remove comment about bounded
6644 pointers.
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6646 <bp-sym.h> and <bp-asm.h>.
6647 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6649 <bp-sym.h> and <bp-asm.h>.
6650 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6651 comment.
6652
cdcf361f
PP
66532013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6654
6655 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6656 call free(NULL).
6657
3c4a2b15
DM
66582013-03-05 David S. Miller <davem@davemloft.net>
6659
6660 * po/es.po: Update from translation team.
6661
cdcf361f 66622013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6663
6664 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6665 <bits/mman-linux.h>.
6666 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6667 is fine.
6668 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6669 <bits/mman-linux.h> to end of file.
6670 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6671 is fine.
6672 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6673 <bits/mman-linux.h> to end of file.
6674 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6675 is fine.
6676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6677 <bits/mman-linux.h> to end of file.
6678
6679 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6680 (MCL_CURRENT, MCL_FUTURE): Define here.
6681
5f67c04f
AK
66822013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6683
8a4473cc 6684 [BZ #15232]
5f67c04f
AK
6685 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6686 attribute_hidden.
6687 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6688
c3e94a95
AK
66892013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6690
6691 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6692 fourth parameter needed for rt_sigprocmask syscall.
6693 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6694 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6695 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6696 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6697 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6698 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6699
cfb6382a
JM
67002013-03-04 Joseph Myers <joseph@codesourcery.com>
6701
6702 [BZ #13550]
6703 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6704 comment about bounded pointers.
6705 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6706 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6707
539d8e01
AJ
67082013-03-04 Andreas Jaeger <aj@suse.de>
6709
6710 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6711 common definitions.
6712
6713 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6714 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6715 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6716 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6717 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6718 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6719
2e167a70 67202013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6721
6722 [BZ #15055]
6723 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6724 __ieee754_sqrl instead of __sqrl.
6725
68508633
JM
67262013-03-01 Joseph Myers <joseph@codesourcery.com>
6727
6728 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6729 * sysdeps/powerpc/fpu_control.h: ... here.
6730 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6731 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6732 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6733 * sysdeps/powerpc/bits/mathinline.h: ... here.
6734
7775448e
RM
67352013-03-01 Roland McGrath <roland@hack.frob.com>
6736
6737 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6738 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6739 to just [NEED_DL_SYSINFO_DSO].
6740 * elf/dl-support.c: Likewise.
6741 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6742 * elf/rtld.c (dl_main): Likewise.
6743 * elf/setup-vdso.h (setup_vdso): Likewise.
6744 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6745 * sysdeps/unix/sysv/linux/dl-sysdep.c
6746 (_dl_discover_osversion): Likewise.
6747
4e9b5995
CD
67482013-03-01 Carlos O'Donell <carlos@redhat.com>
6749
6750 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6751 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6752
e23872c8
SP
67532013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6754
e5c74c63
SP
6755 * NEWS: Mention libm performance improvements and non-x86 PI
6756 futex support.
6757
e23872c8
SP
6758 * csu/libc-start.c (__pthread_initialize_minimal): Change
6759 function arguments.
6760 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6761
b5510883
JM
67622013-02-28 Joseph Myers <joseph@codesourcery.com>
6763
6764 [BZ #13550]
6765 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6766 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6767 <bp-sym.h> and <bp-asm.h>.
6768 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6769 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6770 and <bp-asm.h>.
6771 (memcpy): Don't use BP_SYM.
6772 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6773 <bp-asm.h>.
6774 (__mpn_add_n): Don't use BP_SYM.
6775 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6776 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6777 and <bp-asm.h>.
6778 (__mpn_addmul_1): Don't use BP_SYM.
6779 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6780 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6781 <bp-sym.h>.
6782 (_setjmp): Don't use BP_SYM.
6783 (__novmx_setjmp): Likewise.
6784 (__GI__setjmp): Likewise.
6785 (__vmx_setjmp): Likewise.
6786 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6787 <bp-sym.h>.
6788 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6789 (__bzero): Don't use BP_SYM.
6790 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6791 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6792 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6793 <bp-sym.h> and <bp-asm.h>.
6794 (memcpy): Don't use BP_SYM.
6795 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6796 <bp-sym.h> and <bp-asm.h>.
6797 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6798 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6799 <bp-sym.h> and <bp-asm.h>.
6800 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6801 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6802 <bp-asm.h>.
6803 (__mpn_lshift): Don't use BP_SYM.
6804 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6805 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6806 <bp-asm.h>.
6807 (memset): Don't use BP_SYM.
6808 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6809 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6810 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6811 <bp-asm.h>.
6812 (__mpn_mul_1): Don't use BP_SYM.
6813 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6814 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6815 <bp-sym.h> and <bp-asm.h>.
6816 (memcmp): Don't use BP_SYM.
6817 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6818 <bp-sym.h> and <bp-asm.h>.
6819 (memcpy): Don't use BP_SYM.
6820 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6821 <bp-sym.h> and <bp-asm.h>.
6822 (memset): Don't use BP_SYM.
6823 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6824 <bp-sym.h> and <bp-asm.h>.
6825 (strncmp): Don't use BP_SYM.
6826 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6827 <bp-sym.h> and <bp-asm.h>.
6828 (memcpy): Don't use BP_SYM.
6829 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6830 <bp-sym.h> and <bp-asm.h>.
6831 (memset): Don't use BP_SYM.
6832 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6833 <bp-sym.h> and <bp-asm.h>.
6834 (__memchr): Don't use BP_SYM.
6835 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6836 <bp-sym.h> and <bp-asm.h>.
6837 (memcmp): Don't use BP_SYM.
6838 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6839 <bp-sym.h> and <bp-asm.h>.
6840 (memcpy): Don't use BP_SYM.
6841 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6842 <bp-sym.h> and <bp-asm.h>.
6843 (__mempcpy): Don't use BP_SYM.
6844 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6845 <bp-sym.h> and <bp-asm.h>.
6846 (__memrchr): Don't use BP_SYM.
6847 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6848 <bp-sym.h> and <bp-asm.h>.
6849 (memset): Don't use BP_SYM.
6850 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6851 <bp-sym.h> and <bp-asm.h>.
6852 (__rawmemchr): Don't use BP_SYM.
6853 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6854 <bp-sym.h> and <bp-asm.h>.
6855 (__STRCMP): Don't use BP_SYM.
6856 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6857 <bp-sym.h> and <bp-asm.h>.
6858 (strchr): Don't use BP_SYM.
6859 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6860 <bp-sym.h> and <bp-asm.h>.
6861 (__strchrnul): Don't use BP_SYM.
6862 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6863 <bp-sym.h> and <bp-asm.h>.
6864 (strlen): Don't use BP_SYM.
6865 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6866 <bp-sym.h> and <bp-asm.h>.
6867 (strncmp): Don't use BP_SYM.
6868 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6869 <bp-sym.h> and <bp-asm.h>.
6870 (__strnlen): Don't use BP_SYM.
6871 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6872 <bp-asm.h>.
6873 (__mpn_rshift): Don't use BP_SYM.
6874 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6875 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6876 <bp-sym.h> and <bp-asm.h>.
6877 (__sigsetjmp): Don't use BP_SYM.
6878 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6879 (L(start_addresses)): Don't use BP_SYM.
6880 (_start): Likewise.
6881 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6882 <bp-asm.h>.
6883 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6884 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6885 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6886 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6887 <bp-asm.h>.
6888 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6889 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6890 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6891 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6892 <bp-asm.h>.
6893 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6894 comments.
6895 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6896 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6897 <bp-asm.h>.
6898 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6899 FIXME comments.
6900 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6901 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6902 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6903 <bp-asm.h>.
6904 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6905 comment.
6906 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6907 and <bp-asm.h>.
6908 (strncmp): Don't use BP_SYM,
6909 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6910 <bp-asm.h>.
6911 (__mpn_sub_n): Don't use BP_SYM.
6912 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6913 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6914 and <bp-asm.h>.
6915 (__mpn_submul_1): Don't use BP_SYM.
6916 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6918 <bp-sym.h> and <bp-asm.h>.
6919 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6921 <bp-sym.h> and <bp-asm.h>.
6922 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6923 comment.
6924
8d19fe64
SP
69252013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6926
6927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6928 Use ZK to minimize writes to Z.
6929 (sub_magnitudes): Simplify code a bit.
6930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6931 Use ZK to minimize writes to Z.
6932 (sub_magnitudes): Simplify code a bit.
6933
85bd816a
RM
69342013-02-27 Roland McGrath <roland@hack.frob.com>
6935
6936 * csu/gmon-start.c: Add special exception to license text.
6937
b5977bf2
RH
69382013-02-27 Richard Henderson <rth@redhat.com>
6939
6940 * scripts/config.guess: Update from config.git.
6941 * scripts/config.sub: Likewise.
6942
11d6e2f2
SP
69432013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6944
09c14ed2
SP
6945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6946
a688864e
SP
6947 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6948
6295157a
SP
6949 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6950
b8de2202
SP
6951 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6952
11d6e2f2
SP
6953 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6954
7e80ddb8
RM
69552013-02-26 Roland McGrath <roland@hack.frob.com>
6956
6957 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6958 [$(build-shared = yes].
7e80ddb8 6959
7da6d9ed
SP
69602013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6961
45f05884
SP
6962 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6963 (__mul): Reduce iterations for calculating mantissa.
6964
2236d359
SP
6965 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6966 MPTWO.
6967 (__mpranred): Likewise.
6968
7da6d9ed
SP
6969 [BZ #15160]
6970 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6971 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6972
b7688c42
PE
69732013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6974
6975 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6976 Define __attribute__.
6977
53a5c423
SP
69782013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6979
6980 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6981 unused.
6982 * posix/regex_internal.h (__attribute): Remove.
6983 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6984 (re_string_context_at): Likewise.
6985 (bitset_not): Use __attribute__ and mark function as possibly
6986 unused.
6987 (bitset_merge): Likewise.
6988 (bitset_mask): Likewise.
6989 (re_string_char_size_at): Likewise.
6990 (re_string_wchar_at): Likewise.
6991 (re_string_elem_size_at): Likewise.
6992
60f5a8b5
SP
69932013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6994
2a983a2e
SP
6995 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6996 code.
6997 (cc32): Likewise.
6998
e69804d1
SP
6999 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7000 (__acr): Likewise.
7001 (__cpy): Likewise.
7002 (norm): Likewise.
7003 (denorm): Likewise.
7004 (__dbl_mp): Likewise.
7005 (add_magnitudes): Likewise.
7006 (sub_magnitudes): Likewise.
7007 (__mul): Likewise.
7008 (__inv): Likewise.
7009
2f22a1e8
SP
7010 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7011 style.
7012
8930ddc7
SP
7013 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7014 style.
7015
dc60cb11
SP
7016 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7017 code.
7018
60f5a8b5
SP
7019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7020 up changes with default code.
7021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7022 Likewise.
7023
b4d1fd33
AM
70242013-02-24 Allan McRae <allan@archlinux.org>
7025
faf6f8bc
AM
7026 * manual/socket.texi (The Internet Namespace): Order menu items
7027 to match that in the file.
7028
b4d1fd33
AM
7029 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7030 node listing of the info page menu.
7031
2366713d
JM
70322013-02-21 Joseph Myers <joseph@codesourcery.com>
7033
7034 [BZ #13550]
7035 * sysdeps/i386/bp-asm.h: Remove file.
7036 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7037 (PARMS): Do not use macros from bp-asm.h.
7038 (S1): Likewise.
7039 (S2): Likewise.
7040 (SIZE): Likewise.
7041 (__mpn_add_n): Do not use BP_SYM
7042 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7043 "bp-asm.h".
7044 (PARMS): Do not use macros from bp-asm.h.
7045 (S1): Likewise.
7046 (SIZE): Likewise.
7047 (__mpn_addmul_1): Do not use BP_SYM
7048 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7049 "bp-asm.h".
7050 (PARMS): Do not use macros from bp-asm.h.
7051 (SIGMSK): Likewise.
7052 (_setjmp): Likewise. Do not use BP_SYM.
7053 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7054 "bp-asm.h".
7055 (PARMS): Do not use macros from bp-asm.h.
7056 (SIGMSK): Likewise.
7057 (setjmp): Likewise. Do not use BP_SYM.
7058 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7059 "bp-asm.h".
7060 (PARMS): Do not use macros from bp-asm.h.
7061 (__frexp): Do not use BP_SYM.
7062 (frexp): Likewise.
7063 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7064 "bp-asm.h".
7065 (PARMS): Do not use macros from bp-asm.h.
7066 (__frexpf): Do not use BP_SYM.
7067 (frexpf): Likewise.
7068 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7069 "bp-asm.h".
7070 (PARMS): Do not use macros from bp-asm.h.
7071 (__frexpl): Do not use BP_SYM.
7072 (frexpl): Likewise.
7073 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7074 "bp-asm.h".
7075 (PARMS): Do not use macros from bp-asm.h.
7076 (__remquo): Do not use BP_SYM.
7077 (remquo): Likewise.
7078 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7079 "bp-asm.h".
7080 (PARMS): Do not use macros from bp-asm.h.
7081 (__remquof): Do not use BP_SYM.
7082 (remquof): Likewise.
7083 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7084 "bp-asm.h".
7085 (PARMS): Do not use macros from bp-asm.h.
7086 (__remquol): Do not use BP_SYM.
7087 (remquol): Likewise.
7088 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7089 "bp-asm.h".
7090 (PARMS): Do not use macros from bp-asm.h.
7091 (DEST): Likewise.
7092 (SRC): Likewise.
7093 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7094 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7095 "bp-asm.h".
7096 (PARMS): Do not use macros from bp-asm.h.
7097 (strlen): Do not use BP_SYM.
7098 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7099 "bp-asm.h".
7100 (PARMS): Do not use macros from bp-asm.h.
7101 (S1): Likewise.
7102 (S2): Likewise.
7103 (SIZE): Likewise.
7104 (__mpn_add_n): Do not use BP_SYM.
7105 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7106 "bp-asm.h".
7107 (PARMS): Do not use macros from bp-asm.h.
7108 (S1): Likewise.
7109 (SIZE): Likewise.
7110 (__mpn_addmul_1): Do not use BP_SYM.
7111 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7112 weak_alias.
7113 (bzero): Likewise.
7114 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7115 "bp-asm.h".
7116 (PARMS): Do not use macros from bp-asm.h.
7117 (S): Likewise.
7118 (SIZE): Likewise.
7119 (__mpn_lshift): Do not use BP_SYM.
7120 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7121 "bp-asm.h".
7122 (PARMS): Do not use macros from bp-asm.h.
7123 (DEST): Likewise.
7124 (SRC): Likewise.
7125 (LEN): Likewise.
7126 (memcpy): Likewise. Do not use BP_SYM.
7127 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7128 libc_hidden_def and weak_alias.
7129 (mempcpy): Do not use BP_SYM in weak_alias.
7130 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7131 "bp-asm.h".
7132 (PARMS): Do not use macros from bp-asm.h.
7133 (DEST): Likewise.
7134 (LEN): Likewise.
7135 [!BZERO_P] (CHR): Likewise.
7136 (memset): Likewise. Do not use BP_SYM.
7137 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7138 "bp-asm.h".
7139 (PARMS): Do not use macros from bp-asm.h.
7140 (S1): Likewise.
7141 (SIZE): Likewise.
7142 (__mpn_mul_1): Do not use BP_SYM.
7143 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7144 "bp-asm.h".
7145 (PARMS): Do not use macros from bp-asm.h.
7146 (S): Likewise.
7147 (SIZE): Likewise.
7148 (__mpn_rshift): Do not use BP_SYM.
7149 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7150 "bp-asm.h".
7151 (PARMS): Do not use macros from bp-asm.h.
7152 (STR): Likewise.
7153 (CHR): Likewise.
7154 (strchr): Likewise. Do not use BP_SYM.
7155 (index): Do not use BP_SYM in weak_alias.
7156 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7157 "bp-asm.h".
7158 (PARMS): Do not use macros from bp-asm.h.
7159 (DEST): Likewise.
7160 (SRC): Likewise.
7161 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7162 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7163 "bp-asm.h".
7164 (PARMS): Do not use macros from bp-asm.h.
7165 (strlen): Do not use BP_SYM.
7166 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7167 "bp-asm.h".
7168 (PARMS): Do not use macros from bp-asm.h.
7169 (S1): Likewise.
7170 (S2): Likewise.
7171 (SIZE): Likewise.
7172 (__mpn_sub_n): Do not use BP_SYM.
7173 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7174 "bp-asm.h".
7175 (PARMS): Do not use macros from bp-asm.h.
7176 (S1): Likewise.
7177 (SIZE): Likewise.
7178 (__mpn_submul_1): Do not use BP_SYM.
7179 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7180 "bp-asm.h".
7181 (PARMS): Do not use macros from bp-asm.h.
7182 (S1): Likewise.
7183 (S2): Likewise.
7184 (SIZE): Likewise.
7185 (__mpn_add_n): Do not use BP_SYM.
7186 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7187 weak_alias.
7188 (bzero): Likewise.
7189 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7190 "bp-asm.h".
7191 (PARMS): Do not use macros from bp-asm.h.
7192 (BLK2): Likewise.
7193 (LEN): Likewise.
7194 (memcmp): Do not use BP_SYM.
7195 (bcmp): Do not use BP_SYM in weak_alias.
7196 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7197 "bp-asm.h".
7198 (PARMS): Do not use macros from bp-asm.h.
7199 (DEST): Likewise.
7200 (SRC): Likewise.
7201 (LEN): Likewise.
7202 (memcpy): Likewise. Do not use BP_SYM.
7203 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7204 "bp-asm.h".
7205 (PARMS): Do not use macros from bp-asm.h.
7206 (DEST): Likewise.
7207 (SRC): Likewise.
7208 (LEN): Likewise.
7209 (memmove): Likewise. Do not use BP_SYM.
7210 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7211 "bp-asm.h".
7212 (PARMS): Do not use macros from bp-asm.h.
7213 (DEST): Likewise.
7214 (SRC): Likewise.
7215 (LEN): Likewise.
7216 (__mempcpy): Likewise. Do not use BP_SYM.
7217 (mempcpy): Do not use BP_SYM in weak_alias.
7218 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7219 "bp-asm.h".
7220 (PARMS): Do not use macros from bp-asm.h.
7221 (DEST): Likewise.
7222 (LEN): Likewise.
7223 [!BZERO_P] (CHR): Likewise.
7224 (memset): Likewise. Do not use BP_SYM.
7225 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7226 "bp-asm.h".
7227 (PARMS): Do not use macros from bp-asm.h.
7228 (STR2): Likewise.
7229 (strcmp): Do not use BP_SYM.
7230 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7231 "bp-asm.h".
7232 (PARMS): Do not use macros from bp-asm.h.
7233 (STR): Likewise.
7234 (DELIM): Likewise.
7235 [USE_AS_STRTOK_R] (SAVE): Likewise.
7236 (FUNCTION): Likewise. Do not use BP_SYM.
7237 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7238 aliases.
7239 (strtok_r): Likewise.
7240 (__GI___strtok_r): Likewise.
7241 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7242 (PARMS): Do not use macros from bp-asm.h.
7243 (S): Likewise.
7244 (SIZE): Likewise.
7245 (__mpn_lshift): Do not use BP_SYM.
7246 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7247 (PARMS): Do not use macros from bp-asm.h.
7248 (STR): Likewise.
7249 (CHR): Likewise.
7250 (__memchr): Do not use BP_SYM.
7251 (memchr): Do not use BP_SYM in weak_alias.
7252 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7253 (PARMS): Do not use macros from bp-asm.h.
7254 (BLK2): Likewise.
7255 (LEN): Likewise.
7256 (memcmp): Do not use BP_SYM.
7257 (bcmp): Do not use BP_SYM in weak_alias.
7258 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7259 (PARMS): Do not use macros from bp-asm.h.
7260 (S1): Likewise.
7261 (SIZE): Likewise.
7262 (__mpn_mul_1): Do not use BP_SYM.
7263 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7264 "bp-asm.h".
7265 (PARMS): Do not use macros from bp-asm.h.
7266 (STR): Likewise.
7267 (CHR): Likewise.
7268 (__rawmemchr): Do not use BP_SYM.
7269 (rawmemchr): Do not use BP_SYM in weak_alias.
7270 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7271 (PARMS): Do not use macros from bp-asm.h.
7272 (S): Likewise.
7273 (SIZE): Likewise.
7274 (__mpn_rshift): Do not use BP_SYM.
7275 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7276 (PARMS): Do not use macros from bp-asm.h.
7277 (SIGMSK): Likewise.
7278 (__sigsetjmp): Likewise. Do not use BP_SYM.
7279 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7280 (_start): Do not use BP_SYM.
7281 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7282 (PARMS): Do not use macros from bp-asm.h.
7283 (DEST): Likewise.
7284 (SRC): Likewise.
7285 (__stpcpy): Likewise. Do not use BP_SYM.
7286 (stpcpy): Do not use BP_SYM in weak_alias.
7287 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7288 "bp-asm.h".
7289 (PARMS): Do not use macros from bp-asm.h.
7290 (DEST): Likewise.
7291 (SRC): Likewise.
7292 (LEN): Likewise.
7293 (__stpncpy): Likewise. Do not use BP_SYM.
7294 (stpncpy): Do not use BP_SYM in weak_alias.
7295 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7296 (PARMS): Do not use macros from bp-asm.h.
7297 (STR): Likewise.
7298 (CHR): Likewise.
7299 (strchr): Likewise. Do not use BP_SYM.
7300 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7301 "bp-asm.h".
7302 (PARMS): Do not use macros from bp-asm.h.
7303 (STR): Likewise.
7304 (CHR): Likewise.
7305 (__strchrnul): Likewise. Do not use BP_SYM.
7306 (strchrnul): Do not use BP_SYM in weak_alias.
7307 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7308 "bp-asm.h".
7309 (PARMS): Do not use macros from bp-asm.h.
7310 (STOP): Likewise.
7311 (strcspn): Do not use BP_SYM.
7312 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7313 "bp-asm.h".
7314 (PARMS): Do not use macros from bp-asm.h.
7315 (STR): Likewise.
7316 (STOP): Likewise.
7317 (strpbrk): Likewise. Do not use BP_SYM.
7318 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7319 "bp-asm.h".
7320 (PARMS): Do not use macros from bp-asm.h.
7321 (STR): Likewise.
7322 (CHR): Likewise.
7323 (strrchr): Likewise. Do not use BP_SYM.
7324 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7325 (PARMS): Do not use macros from bp-asm.h.
7326 (SKIP): Likewise.
7327 (strspn): Do not use BP_SYM.
7328 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7329 (PARMS): Do not use macros from bp-asm.h.
7330 (STR): Likewise.
7331 (DELIM): Likewise.
7332 (SAVE): Likewise.
7333 (FUNCTION): Likewise. Do not use BP_SYM.
7334 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7335 aliases.
7336 (strtok_r): Likewise.
7337 (__GI___strtok_r): Likewise.
7338 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7339 (PARMS): Do not use macros from bp-asm.h.
7340 (S1): Likewise.
7341 (S2): Likewise.
7342 (SIZE): Likewise.
7343 (__mpn_sub_n): Do not use BP_SYM.
7344 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7345 "bp-asm.h".
7346 (PARMS): Do not use macros from bp-asm.h.
7347 (S1): Likewise.
7348 (SIZE): Likewise.
7349 (__mpn_submul_1): Do not use BP_SYM.
7350 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7351 <bp-sym.h>.
7352 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7353 and <bp-asm.h>.
7354 (PARMS): Do not use macros from bp-asm.h.
7355 (FLAGS): Likewise.
7356 (PTID): Likewise.
7357 (TLS): Likewise.
7358 (CTID): Likewise.
7359 (__clone): Do not use BP_SYM.
7360 (clone): Do not use BP_SYM in weak_alias.
7361 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7362 and <bp-asm.h>.
7363 (PARMS): Do not use macros from bp-asm.h.
7364 (LEN): Likewise.
7365 (__mmap64): Do not use BP_SYM.
7366 (mmap64): Do not use BP_SYM in weak_alias.
7367 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7368 <bp-sym.h> and <bp-asm.h>.
7369 (PARMS): Do not use macros from bp-asm.h.
7370 (__posix_fadvise64_l64): Do not use BP_SYM.
7371 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7372 (PARMS): Do not use macros from bp-asm.h.
7373 (NSOPS): Likewise.
7374 (semtimedop): Do not use BP_SYM.
7375 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7376 and <bp-asm.h>.
7377
582a3cff
AM
73782013-02-21 Allan McRae <allan@archlinux.org>
7379
7380 * manual/message.texi (Charset conversion in gettext):
7381 Move @end statement to beginning of line.
7382
bab8a695
SP
73832013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7384
80945231
SP
7385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7386 static.
7387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7388 Likewise.
7389
bab8a695
SP
7390 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7391 (denorm): Likewise.
7392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7394
e21d7aa7
AK
73952013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7396
7397 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7398 tail-call to the resolved function if pltexit isn't needed.
7399
4c7a4263
SP
74002013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7401
7402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7403 or Y being zero as being unlikely.
7404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7405 Likewise.
7406
41f49342
CD
74072013-02-20 Carlos O'Donell <carlos@redhat.com>
7408
7409 * manual/nss.texi (System Databases and Name Service Switch):
7410 Remove frobnicate @pxref.
7411
50022a93
TS
74122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7413
7414 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7415 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7416
08cbd996
PM
74172013-02-20 Petr Machata <pmachata@redhat.com>
7418
7419 * elf/elf.h (R_ARM_TARGET1): New macro.
7420 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7421 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7422 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7423 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7424 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7425 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7426 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7427 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7428 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7429 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7430 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7431 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7432 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7433 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7434 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7435 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7436 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7437 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7438 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7439 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7440 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7441 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7442 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7443 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7444 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7445 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7446 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7447 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7448 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7449 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7450 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7451 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7452 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7453 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7454 (R_ARM_THM_GOT_BREL12): Likewise.
7455 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7456 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7457 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7458 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7459 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7460 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7461 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7462 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7463 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7464
c7b275d6
TS
74652013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7466
7467 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7468 __attribute_used__ to __attribute__ ((unused)).
7469
20cd7fb3
SP
74702013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7471
7472 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7473 powerpc mpa.c.
7474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7475 comment formatting.
7476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7477
92945b52
JM
74782013-02-19 Joseph Myers <joseph@codesourcery.com>
7479
7480 [BZ #13550]
7481 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7482 Remove macro.
7483 (ENTER): Remove both macro definitions.
7484 (LEAVE): Likewise.
7485 (CHECK_BOUNDS_LOW): Likewise.
7486 (CHECK_BOUNDS_HIGH): Likewise.
7487 (CHECK_BOUNDS_BOTH): Likewise.
7488 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7489 (RETURN_BOUNDED_POINTER): Likewise.
7490 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7491 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7492 (POP_ERRNO_LOCATION_RETURN): Likewise.
7493 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7494 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7495 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7496 macros.
7497 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7498 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7499 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7500 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7501 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7502 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7503 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7504 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7505 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7506 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7507 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7508 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7509 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7510 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7511 removed macros.
7512 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7513 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7514 macros.
7515 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7516 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7517 * sysdeps/i386/i586/memset.S (memset): Likewise.
7518 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7519 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7520 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7521 macros.
7522 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7523 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7524 Change uses of L(2) to L(out).
7525 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7526 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7527 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7528 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7529 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7530 removed macros.
7531 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7532 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7533 macros.
7534 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7535 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7536 (RETURN): Do not use macro LEAVE.
7537 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7538 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7539 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7540 * sysdeps/i386/i686/memset.S (memset): Likewise.
7541 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7542 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7543 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7544 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7545 Likewise.
7546 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7547 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7548 L(1_2) and L(1_3) into L(1).
7549 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7550 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7551 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7552 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7553 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7554 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7555 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7556 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7557 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7558 macros.
7559 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7560 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7561 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7562 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7563 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7564 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7565 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7566 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7567 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7568 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7569 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7570 * sysdeps/i386/strspn.S (strspn): Likewise.
7571 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7572 conditional code.
7573 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7574 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7575 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7576 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7577 L(1_3) into L(1_1).
7578 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7579 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7580 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7581 macros.
7582 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7583
2389741a
JJ
75842013-02-19 Jakub Jelinek <jakub@redhat.com>
7585
7586 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7587 macro.
7588
2016b3cd
SP
75892013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7590
e4f22324
SP
7591 * math/atest-exp.c (exp_mpn): Remove ROUND.
7592 * math/atest-exp2.c (exp_mpn): Likewise.
7593 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7594
2016b3cd
SP
7595 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7596 * stdlib/tst-tls-atexit-lib.c: Likewise.
7597 * stdlib/tst-tls-atexit.c: Likewise.
7598
4be9b544
MF
75992013-02-18 Mike Frysinger <vapier@gentoo.org>
7600
7601 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7602 and __attribute_alloc_size__.
7603
2f62b9ee
MF
76042013-02-18 Mike Frysinger <vapier@gentoo.org>
7605
7606 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7607 __attribute_alloc_size__.
7608 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7609 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7610
6ff444c4
MF
76112013-02-18 Mike Frysinger <vapier@gentoo.org>
7612
7613 * include/programs/xmalloc.h: New file.
7614 * catgets/gencat.c: Include it.
7615 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7616 * elf/pldd.c: Likewise.
7617 * iconv/iconv_charmap.c: Likewise.
7618 * iconv/iconvconfig.c: Likewise.
7619 * iconv/strtab.c: Likewise.
7620 * locale/programs/locale.c: Likewise.
7621 * locale/programs/localedef.h: Likewise.
7622 * locale/programs/simple-hash.c: Likewise.
7623 * nscd/nscd.h: Likewise.
7624 * nss/makedb.c: Likewise.
7625 * sysdeps/generic/ldconfig.h: Likewise.
7626
be179c8a
SP
76272013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7628
ba384f6e
SP
7629 * Versions.def: Add GLIBC_2.18.
7630 * include/link.h (struct link_map): New member l_tls_dtor_count.
7631 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7632 (__call_tls_dtors): Likewise.
7633 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7634 __cxa_thread_atexit_impl.
7635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7636 Likewise.
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7638 Likewise.
7639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7640 Likewise.
7641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7642 Likewise.
7643 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7645 Likewise.
7646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7647 Likewise.
7648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7650 Likewise.
7651 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7652 (tests): Add test case tst-tls-atexit.
7653 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7654 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7655 (GLIBC_PRIVATE): Add __call_tls_dtors.
7656 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7657 for libstdc++.
7658 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7659 * stdlib/tst-tls-atexit.c: New test case.
7660 * stdlib/tst-tls-atexit-lib.c: New test case.
7661
ffaa74cf 7662 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7663
be179c8a
SP
7664 * elf/Versions (ld): Add _dl_find_dso_for_object.
7665 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7666 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7667 (dl_open_worker): Use _dl_find_dso_for_object.
7668 * elf/dl-sym.c (do_sym): Likewise.
7669 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7670
f78b5caa
AK
76712013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7672
7673 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7674 Syntactic changes only.
7675 (_dl_runtime_profile): Do a tail-call to the resolved function.
7676
29691210
JM
76772013-02-17 Joseph Myers <joseph@codesourcery.com>
7678
7679 [BZ #13550]
7680 * sysdeps/x86_64/bp-asm.h: Remove file.
7681 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7682 <bp-sym.h> and <bp-asm.h>.
7683 (__clone): Do not use BP_SYM.
7684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7685 <bp-sym.h> and <bp-asm.h>.
7686 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7687 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7688 "bp-asm.h".
7689 (_setjmp): Do not use BP_SYM.
7690 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7691 "bp-asm.h".
7692 (setjmp): Do not use BP_SYM.
7693 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7694 libc_hidden_def.
7695 (mempcpy): Do not use BP_SYM in weak_alias.
7696 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7697 "bp-asm.h".
7698 (strchr): Do not use BP_SYM.
7699 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7700 "bp-asm.h".
7701 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7702 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7703 (_start): Do not use BP_SYM.
7704 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7705 "bp-asm.h".
7706 (strcat): Do not use BP_SYM.
7707 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7708 "bp-asm.h".
7709 (STRCMP): Do not use BP_SYM.
7710 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7711 "bp-asm.h".
7712 (STRCPY): Do not use BP_SYM.
7713 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7714 "bp-asm.h".
7715 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7716 "bp-asm.h".
7717 (FUNCTION): Do not use BP_SYM.
7718 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7719 weak_alias.
7720 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7721
f238fd19
AJ
77222013-02-17 Andreas Jaeger <aj@suse.de>
7723
7724 * time/Versions: Sort entries.
7725 * string/Versions: Likewise.
7726 * resolv/Versions: Likewise.
7727 * posix/Versions: Likewise.
7728 * iconv/Versions: Likewise.
7729 * elf/Versions: Likewise.
7730 * wcsmbs/Versions: Likewise.
7731
bd07f23c 77322013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7733
22af19f9
SP
7734 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7735 loop termination condition.
7736
4709fe76
SP
7737 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7738 variable to calculate EZ.
7739 (__sqr): Likewise.
2d0e0f29
SP
7740
7741 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7742 the lower precision input.
7743
daaa7713
JM
77442013-02-15 Joseph Myers <joseph@codesourcery.com>
7745
7746 [BZ #13550]
7747 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7748 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7749 (run-via-rtld-prefix): Do not handle %-bp tests.
7750 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7751 (all-object-suffixes): Remove .ob.
7752 (bppfx): Remove variable.
7753 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7754 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7755 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7756 [$(build-bounded) = yes] (libtype.ob): Likewise.
7757 * Makerules (elide-routines.ob): Remove variable.
7758 (do-tests-clean): Do not handle *-bp.out.
7759 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7760 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7761 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7762 (tests): Do not include $(tests-bp.out).
7763 (xtests): Do not include $(xtests-bp.out).
7764 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7765 [$(build-bounded) = yes] ($(addprefix
7766 $(objpfx),$(binaries-bounded))): Remove rule.
7767 ($(objpfx)%-bp.out): Remove rule.
7768 * config.make.in (build-bounded): Remove variable.
7769 * crypt/Makefile [$(build-bounded) = yes]
7770 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7771 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7772 append to variable.
7773 [$(build-bounded) = yes] (install-lib): Likewise.
7774 [$(build-bounded) = yes] (generated): Likewise.
7775 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7776 Remove rule.
7777 * intl/Makefile [$(build-bounded) = yes]
7778 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7779 * math/Makefile [$(build-bounded) = yes]
7780 ($(tests:%=$(objpfx)%-bp): Likewise.
7781 * misc/Makefile [$(build-bounded) = yes]
7782 ($(objpfx)tst-tsearch-bp): Likewise.
7783 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7784 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7785 Remove dependency.
7786 * string/Makefile (o-objects.ob): Remove variable.
7787 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7788 (CFLAGS-.ob): Remove variable.
7789 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7790 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7791 both definitions of variable.
7792 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7793 (ASFLAGS-.ob): Remove variable.
7794
e97ed6dd
JM
77952013-02-14 Joseph Myers <joseph@codesourcery.com>
7796
2bdd4ca6
JM
7797 [BZ #13550]
7798 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7799 Remove __BOUNDED_POINTERS__ from condition.
7800 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7801 * string/bits/string2.h [!__NO_STRING_INLINES &&
7802 !__BOUNDED_POINTERS__]: Likewise.
7803 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7804 Likewise.
7805 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7806 Remove conditional code.
7807 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7808 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7809 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7810 condition.
7811
e97ed6dd
JM
7812 [BZ #13550]
7813 * csu/libc-start.c: Do not include <bp-sym.h>.
7814 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7815 * elf/dl-open.c: Do not include <bp-sym.h>.
7816 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7817 * math/fegetenv.c: Do not include <bp-sym.h>.
7818 (fegetenv): Do not use BP_SYM in versioned symbols.
7819 * nptl/sysdeps/pthread/bits/libc-lockP.h
7820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7821 <bp-sym.h>.
7822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7823 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7825 (__pthread_mutex_destroy): Likewise.
7826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7827 (__pthread_mutex_lock): Likewise.
7828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7829 (__pthread_mutex_trylock): Likewise.
7830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7831 (__pthread_mutex_unlock): Likewise.
7832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7833 (__pthread_mutexattr_init): Likewise.
7834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7835 (__pthread_mutexattr_destroy): Likewise.
7836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7837 (__pthread_mutexattr_settype): Likewise.
7838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7839 (__pthread_rwlock_init): Likewise.
7840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7841 (__pthread_rwlock_destroy): Likewise.
7842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7843 (__pthread_rwlock_rdlock): Likewise.
7844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7845 (__pthread_rwlock_tryrdlock): Likewise.
7846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7847 (__pthread_rwlock_wrlock): Likewise.
7848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7849 (__pthread_rwlock_trywrlock): Likewise.
7850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7851 (__pthread_rwlock_unlock): Likewise.
7852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7853 (__pthread_key_create): Likewise.
7854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7855 (__pthread_setspecific): Likewise.
7856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7857 (__pthread_getspecific): Likewise.
7858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7859 Likewise.
7860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7861 (_pthread_cleanup_push_defer): Likewise.
7862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7863 (_pthread_cleanup_pop_restore): Likewise.
7864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7865 (pthread_setcancelstate): Likewise.
7866 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7867 <bp-sym.h>.
7868 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7869 (memchr): Do not use BP_SYM in weak_alias.
7870 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7871 (fegetenv): Do not use BP_SYM in versioned symbols.
7872 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7873 (fesetenv): Do not use BP_SYM in versioned symbols.
7874 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7875 (feupdateenv): Do not use BP_SYM in versioned symbols.
7876 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7877 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7878 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7879 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7880 (open64): Do not use BP_SYM in weak_alias.
7881 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7882 (fegetenv): Do not use BP_SYM in versioned symbols.
7883 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7884 (fesetenv): Do not use BP_SYM in versioned symbols.
7885 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7886 (feupdateenv): Do not use BP_SYM in versioned symbols.
7887 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7888 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7889 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7890 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7891 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7892 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7893 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7894 <bp-sym.h>.
7895 (__libc_start_main): Do not use BP_SYM.
7896
d6752ccd
SP
78972013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7898
cb57ce60
SP
7899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7900 redundant return line.
7901 (norm): Likewise.
7902 (denorm): Likewise.
7903 (dbl_mp): Likewise.
7904 (sub_magnitudes): Likewise.
7905 (__add): Likewise.
7906 (__sub): Likewise.
7907 (__mul): Likewise.
7908 (__inv): Likewise.
7909 (__dvd): Likewise.
7910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7911 (norm): Likewise.
7912 (denorm): Likewise.
7913 (dbl_mp): Likewise.
7914 (sub_magnitudes): Likewise.
7915 (__add): Likewise.
7916 (__sub): Likewise.
7917 (__mul): Likewise.
7918 (__inv): Likewise.
7919 (__dvd): Likewise.
7920
f414520d
SP
7921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7922 instead of __mul.
7923 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7924 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7925 (cc32): Likewise.
7926
d6752ccd
SP
7927 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7928 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7930 of __mul for squares.
7931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7932 function
7933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7934 Likewise.
7935 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7936 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7937
70d9946a
JM
79382013-02-13 Joseph Myers <joseph@codesourcery.com>
7939
7940 [BZ #13550]
7941 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7942 code.
7943 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7944 prototype or function definition. Rename ubp_* variables and
7945 parameters. Remove argv definitions conditional on
7946 [__BOUNDED_POINTERS__].
7947 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7948 * elf/dl-runtime.c (_dl_fixup): Likewise.
7949 * include/set-hooks.h (RUN_HOOK): Likewise.
7950 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7951 definition.
7952 * string/strcpy.c (strcpy): Do not use __unbounded.
7953 * sysdeps/generic/frame.h (struct layout): Likewise.
7954 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7955 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7956 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7957 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7958 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7959 (__backtrace): Likewise.
7960 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7961 use __ptrvalue.
7962 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7963 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7964 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7965 Likewise.
7966 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7967 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7968 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7969 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7970 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7971 Do not use __unbounded.
7972 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7973 Rename __unboundedrlimits parameter to rlimits in prototype.
7974 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7975 Do not use __unbounded.
7976 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7977 not use __ptrvalue.
7978 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7979 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7980 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7981 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7982 __ptrvalue or __unbounded.
7983 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7984 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7985 use __unbounded.
7986 (__new_msgctl): Do not use __ptrvalue.
7987 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7988 __unbounded.
7989 (__libc_msgrcv): Do not use __ptrvalue.
7990 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7991 startup_info): Do not use __unbounded.
7992 (__libc_start_main): Likewise. Rename ubp_* variables and
7993 parameters. Remove argv definitions conditional on
7994 [__BOUNDED_POINTERS__].
7995 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7996 __ptrvalue.
7997 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7998 use __unbounded.
7999 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8000 or __ptrvalue.
8001 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8002 use __unbounded.
8003 (__new_shmctl): Do not use __ptrvalue.
8004 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8005 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8006 Likewise.
8007 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8008 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8009 (__libc_sigaction): Likewise.
8010 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8011 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8012 Likewise.
8013 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8014
cc7834d6
OB
80152013-02-13 Ondřej Bílka <neleai@seznam.cz>
8016
ffb1ec7b 8017 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8018
8019 * string/mempcpy.c: Implement by calling memcpy.
8020
bdf02814
SP
80212013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8022
c2af38aa
SP
8023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8024
4e92d59e
SP
8025 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8026 evaluation.
8027
909279a5
SP
8028 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8029 values in the mantissa.
8030
bdf02814
SP
8031 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8032 minimize writes to Z.
8033 (sub_magnitudes): Simplify code a bit.
8034
cd525923
RM
80352013-02-12 Roland McGrath <roland@hack.frob.com>
8036
8037 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8038 from the message. The linker prefixes all warnings with that already.
8039
7e2f0d2d
AS
80402013-02-12 Andreas Schwab <schwab@suse.de>
8041
a445af0b
AS
8042 [BZ #15078]
8043 * posix/regexec.c (extend_buffers): Add parameter min_len.
8044 (check_matching): Pass minimum needed length.
8045 (clean_state_log_if_needed): Likewise.
8046 (get_subexp): Likewise.
8047 * posix/Makefile (tests): Add bug-regex34.
8048 (bug-regex34-ENV): Define.
8049 * posix/bug-regex34.c: New file.
8050
7e2f0d2d
AS
8051 [BZ #11561]
8052 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8053 elements compare against the byte sequence of it, not its name.
8054 * posix/Makefile (tests): Add bug-regex35.
8055 (bug-regex35-ENV): Define.
8056 * posix/bug-regex35.c: New file.
8057
a175b684
TV
80582013-02-11 Tom de Vries <tom@codesourcery.com>
8059
8060 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8061 comment.
8062 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8063 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8064 (CHECK_EOL): Add undef.
8065
310998fe 80662013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8067
8068 * bits/stdlib-bsearch.h: New file.
8069 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8070 * stdlib/stdlib.h: Likewise.
41eda41d 8071
8ded91fb
RM
80722013-02-11 Roland McGrath <roland@hack.frob.com>
8073
8074 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8075 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8076 declaration.
8077 * manual/search.texi (Array Search Function): Add missing const in
8078 lfind prototype.
8079 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8080 declaration to use rlim_t.
8081 (Basic Scheduling Functions): Remove erroneous const from
8082 sched_getparam prototype. Remove erroneous * from
8083 sched_get_priority_max and sched_get_priority_min prototypes.
8084 (Resource Usage): Fix summary @comment on vtimes to refer to
8085 sys/vtimes.h rather than vtimes.h.
8086 Add missing *s in vtimes prototype.
8087 (Limits on Resources): Fix ulimit prototype to return long int.
8088 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8089 prototypes to use long int rather than double.
8090 (BSD Random): Fix initstate and setstate to use char *, not void *.
8091 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8092 prototype to make second argument 'struct aiocb64 *const[]'.
8093 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8094 (Status of AIO Operations): Remove erroneous const in aio_return and
8095 aio_return64 prototypes.
8096 (Synchronizing I/O): Fix sync prototype to return void.
8097 * manual/startup.texi (Suboptions): Remove an erroneous const in
8098 getsubopt prototype.
8099 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8100 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8101 use size_t rather than int.
8102 (Scanning All Users): Likewise for getpwent_r.
8103 (Setting Groups): Add missing const to setgroups prototype.
8104 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8105 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8106 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8107 'const void *' rather than 'const char *'.
8108 (Host Address Functions): Likewise for inet_ntop.
8109 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8110 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8111 ssize_t for return value.
8112 (Sending Data): Likewise for send, sendto, sendmsg.
8113 (Socket Option Functions): Add a missing const in setsockopt prototype.
8114 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8115 use wchar_t for the argument.
8116 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8117 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8118 take no arguments.
8119 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8120 double/float/long double for second argument.
8121 Fix return types of significand, significandf, significandl.
8122 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8123 argument in fchmod prototype.
8124 (File Owner): Use uid_t and gid_t in fchown prototype.
8125 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8126 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8127 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8128 use 'const struct dirent **' as argument types to CMP function pointer
8129 argument.
8130 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8131 (File Times): Fix summary magic @comment for struct utimbuf and utime
8132 to refer to utime.h, not time.h.
8133 * manual/string.texi (Argz Functions): Add missing const in
8134 argz_extract and argz_next prototypes.
8135 (Finding Tokens in a String): Likewise for basename.
8136 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8137 (Copying and Concatenation): Fix typo in wmemmove prototype.
8138 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8139 (Signal Stack): Remove erroneous const in sigstack prototype.
8140 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8141 prototype.
8142 (Simple Calendar Time): Likewise for stime.
8143 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8144 prototype.
8145 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8146 say sys/sysctl.h instead.
8147 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8148 and vsyslog prototypes.
8149
fe77fe6d
TV
81502013-02-11 Tom de Vries <tom@codesourcery.com>
8151
8152 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8153 Remove.
8154
3a09b620
RM
81552013-02-11 Roland McGrath <roland@hack.frob.com>
8156
8157 * misc/sys/mman.h: Fix typo in mremap comment.
8158
550a0b89
RM
81592013-02-08 Roland McGrath <roland@hack.frob.com>
8160
8161 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8162 the '\0' terminator.
8163
a2da1673
JM
81642013-02-08 Joseph Myers <joseph@codesourcery.com>
8165
8166 [BZ #13550]
8167 * debug/segfault.c: Don't include <bp-checks.h>.
8168 * sysdeps/generic/bp-checks.h: Remove file.
8169 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8170 (__GETDENTS): Don't use CHECK_N.
8171 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8172 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8173 (__getgroups): Don't use CHECK_N.
8174 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8175 (setgroups): Don't use CHECK_N.
8176 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8177 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8178 (__libc_msgrcv): Don't use CHECK_N.
8179 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8180 (__libc_msgsnd): Don't use CHECK_N.
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8182 <bp-checks.h>.
8183 (__libc_pread): Don't use CHECK_N.
8184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8185 include <bp-checks.h>.
8186 (__libc_pread64): Don't use CHECK_N.
8187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8188 include <bp-checks.h>.
8189 (__libc_pwrite): Don't use CHECK_N.
8190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8191 include <bp-checks.h>.
8192 (__libc_pwrite64): Don't use CHECK_N.
8193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8194 <bp-checks.h>.
8195 (__libc_pread): Don't use CHECK_N.
8196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8197 include <bp-checks.h>.
8198 (__libc_pread64): Don't use CHECK_N.
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8200 include <bp-checks.h>.
8201 (__libc_pwrite): Don't use CHECK_N.
8202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8203 include <bp-checks.h>.
8204 (__libc_pwrite64): Don't use CHECK_N.
8205 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8206 (do_pread): Don't use CHECK_N.
8207 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8208 (do_pread64): Don't use CHECK_N.
8209 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8210 (do_pwrite): Don't use CHECK_N.
8211 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8212 (do_pwrite64): Don't use CHECK_N.
8213 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8214 (__libc_readv): Don't use CHECK_N.
8215 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8216 (semop): Don't use CHECK_N.
8217 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8218 <bp-checks.h>.
8219 (semtimedop): Don't use CHECK_N.
8220 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8221 (__libc_pread): Don't use CHECK_N.
8222 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8223 <bp-checks.h>.
8224 (__libc_pread64): Don't use CHECK_N.
8225 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8226 <bp-checks.h>.
8227 (__libc_pwrite): Don't use CHECK_N.
8228 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8229 <bp-checks.h>.
8230 (__libc_pwrite64): Don't use CHECK_N.
8231 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8232 <bp-checks.h>.
8233 (__libc_msgrcv): Don't use CHECK_N.
8234 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8235 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8236 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8237 (__libc_writev): Don't use CHECK_N.
8238
b84660a8
RM
82392013-02-08 Roland McGrath <roland@hack.frob.com>
8240
7f3e75f8
RM
8241 * string/strcpy.c: Removed unused variable.
8242
b84660a8
RM
8243 * Makeconfig (+sysdep-includes): Define with := rather than =.
8244 Use an existing include/ subdir of each sysdeps dir before it.
8245
471514d3
CD
82462013-02-08 Carlos O'Donell <carlos@redhat.com>
8247
8248 * nscd/connection.c (register_traced_file): Comment function.
8249 [HAVE_INOTIFY] (union __inev): Define.
8250 [HAVE_INOTIFY] (inotify_check_files): New function.
8251 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8252 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8253 clear_db_cache.
8254 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8255
b2d3c3be
CD
82562013-02-08 Carlos O'Donell <carlos@redhat.com>
8257
8258 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8259 loaded if not already and that a failure is permanent.
8260
b39949d2
CD
82612013-02-08 Carlos O'Donell <carlos@redhat.com>
8262
ddacd1db 8263 [BZ #15006]
b39949d2
CD
8264 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8265 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8266
b2c9eff4
JM
82672013-02-08 Joseph Myers <joseph@codesourcery.com>
8268
f3aae3f3
JM
8269 [BZ #13550]
8270 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8271 (CHECK_1_NULL_OK): Likewise.
8272 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8273 (__fxstat): Do not use CHECK_1.
8274 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8275 <bp-checks.h>.
8276 (___fxstat64): Do not use CHECK_1.
8277 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8278 <bp-checks.h>.
8279 (__fxstatat): Do not use CHECK_1.
8280 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8281 <bp-checks.h>.
8282 (__fxstatat64): Do not use CHECK_1.
8283 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8284 <bp-checks.h>.
8285 (__fxstat): Do not use CHECK_1.
8286 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8287 <bp-checks.h>.
8288 (__fxstatat): Do not use CHECK_1.
8289 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8290 <bp-checks.h>.
8291 (__getresgid): Do not use CHECK_1.
8292 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8293 <bp-checks.h>.
8294 (__getresuid): Do not use CHECK_1.
8295 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8296 <bp-checks.h>.
8297 (__lxstat): Do not use CHECK_1.
8298 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8299 <bp-checks.h>.
8300 (__old_msgctl): Do not use CHECK_1.
8301 (__new_msgctl): Likewise.
8302 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8303 <bp-checks.h>.
8304 (__new_setrlimit): Do not use CHECK_1.
8305 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8306 <bp-checks.h>.
8307 (__old_shmctl): Do not use CHECK_1.
8308 (__new_shmctl): Likewise.
8309 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8310 <bp-checks.h>.
8311 (__xstat): Do not use CHECK_1.
8312 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8313 (__lxstat): Do not use CHECK_1.
8314 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8315 <bp-checks.h>.
8316 (___lxstat64): Do not use CHECK_1.
8317 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8318 (__old_msgctl): Do not use CHECK_1.
8319 (__new_msgctl): Likewise.
8320 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8321 <bp-checks.h>.
8322 (__gettimeofday): Do not use CHECK_1.
8323 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8324 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8325 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8326 <bp-checks.h>.
8327 (__gettimeofday): Do not use CHECK_1.
8328 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8329 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8330 (__new_shmctl): Do not use CHECK_1.
8331 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8332 <bp-checks.h>.
8333 (do_sigtimedwait): Do not use CHECK_1.
8334 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8335 <bp-checks.h>.
8336 (do_sigwaitinfo): Do not use CHECK_1.
8337 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8338 <bp-checks.h>.
8339 (msgctl): Do not use CHECK_1.
8340 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8341 <bp-checks.h>.
8342 (shmctl): Do not use CHECK_1.
8343 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8344 (ustat): Do not use CHECK_1.
8345 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8346 <bp-checks.h>.
8347 (__fxstat): Do not use CHECK_1.
8348 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8349 <bp-checks.h>.
8350 (__fxstatat): Do not use CHECK_1.
8351 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8352 <bp-checks.h>.
8353 (__lxstat): Do not use CHECK_1.
8354 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8355 <bp-checks.h>.
8356 (__xstat): Do not use CHECK_1.
8357 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8358 (__xstat): Do not use CHECK_1.
8359 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8360 (___xstat64): Do not use CHECK_1.
8361
b2c9eff4
JM
8362 [BZ #13550]
8363 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8364 definitions.
8365 (CHECK_BOUNDS_HIGH): Likewise.
8366 * string/strcpy.c: Do not include <bp-checks.h>.
8367 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8368
f1d70dad
RM
83692013-02-07 Roland McGrath <roland@hack.frob.com>
8370
8371 * nscd/nscd-client.h (__nscd_drop_map_ref):
8372 Add __attribute__ ((unused)).
8373 * nis/nss-nisplus.h (niserr2nss): Likewise.
8374
8375 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8376 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8377
8378 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8379 Remove inline keyword.
8380 * include/rounding-mode.h (round_away): Likewise.
8381 * libio/wfileops.c (adjust_wide_data): Likewise.
8382 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8383 (__m128i_strloadu_tolower): Likewise.
8384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8385 (__m128i_strloadu_tolower): Likewise.
8386 * time/mktime.c (ydhms_diff): Likewise.
8387 * locale/elem-hash.h (elem_hash): Likewise.
8388 * locale/setlocale.c (setdata): Likewise.
8389 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8390 (re_string_wchar_at): Likewise.
8391 (bitset_not, bitset_merge, bitset_mask): Likewise.
8392 [!(__GNUC__ > 3)] (inline): Remove macro.
8393 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8394 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8395 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8396 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8397 * string/memcmp.c (memcmp_bytes): Likewise.
8398 * locale/programs/locarchive.c (compute_hashval): Likewise.
8399 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8400 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8401 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8402 * nss/getent.c (print_rpc, print_protocols): Likewise.
8403 (print_passwd, print_group, print_aliases): Likewise.
8404 * nis/nss-nisplus.h (niserr2nss): Likewise.
8405 * nscd/connections.c (restart_p): Likewise.
8406 Change return type to bool.
8407
eab55bfb
RM
84082013-02-05 Roland McGrath <roland@hack.frob.com>
8409
7bd642f5
RM
8410 * Makeconfig (all-Depend-files): Add existing
8411 $(sorted-subdirs:=/Depend) files.
8412 (all-subdirs): Remove nss.
8413 * sysdeps/unix/inet/Subdirs: Add it here instead.
8414 * hesiod/Depend: New file.
8415
573c29b2
RM
8416 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8417 instead of calling alloca.
8418
b2e25af0
RM
8419 * io/lseek.c (__lseek): Rename to __libc_lseek.
8420 Define __lseek as an alias.
8421
eab55bfb
RM
8422 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8423
9a0d1941
CD
84242013-02-04 Carlos O'Donell <carlos@redhat.com>
8425
8426 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8427 else clause and remove check for non-standard endianness.
8428
b83bbec4
DM
84292013-02-04 David S. Miller <davem@davemloft.net>
8430
8431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8432
6277fdab
JM
84332013-02-04 Joseph Myers <joseph@codesourcery.com>
8434
8435 [BZ #13550]
8436 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8437 (__ubp_memchr): Remove prototype.
8438 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8439 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8440 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8441 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8442 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8443 Remove alias.
8444 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8445 (__ubp_memchr): Likewise.
8446 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8447 (__ubp_memchr): Likewise.
8448 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8449 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8450 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8451 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8452 CHECK_STRING.
8453 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8454 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8455 (__getcwd): Do not use CHECK_STRING.
8456 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8457 <bp-checks.h>.
8458 (__real_chown): Do not use CHECK_STRING.
8459 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8460 <bp-checks.h>.
8461 (fchownat): Do not use CHECK_STRING.
8462 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8463 CHECK_STRING.
8464 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8465 <bp-checks.h>.
8466 (__lchown): Do not use CHECK_STRING.
8467 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8468 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8469 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8470 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8472 include <bp-checks.h>.
8473 (truncate64): Do not use CHECK_STRING.
8474 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8475 <bp-checks.h>.
8476 (__real_chown): Do not use CHECK_STRING.
8477 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8478 <bp-checks.h>.
8479 (__lchown): Do not use CHECK_STRING.
8480 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8481 <bp-checks.h>.
8482 (__chown): Do not use CHECK_STRING.
8483 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8484 <bp-checks.h>.
8485 (truncate64): Do not use CHECK_STRING.
8486 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8487 Likewise.
8488 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8489 (__xmknod): Do not use CHECK_STRING.
8490 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8491 <bp-checks.h>.
8492 (__xmknodat): Do not use CHECK_STRING.
8493 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8494 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8495
903ae060
AS
84962013-02-04 Andreas Schwab <schwab@suse.de>
8497
8498 [BZ #14142]
8499 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8500 * include/netdb.h: Likewise for h_errno.
8501 * elf/tst-stackguard1.c: Include <tls.h>.
8502
542f9466
JK
85032013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8504
8505 * elf/link.h (struct link_map): Extend the l_addr comment.
8506 * include/link.h (struct link_map): Likewise.
8507
e782a927
JM
85082013-02-01 Joseph Myers <joseph@codesourcery.com>
8509
8510 [BZ #13550]
8511 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8512 (BOUNDED_1): Remove macro.
8513 * debug/backtrace.c: Don't include <bp-checks.h>.
8514 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8515 (__backtrace): Likewise.
8516 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8517 <bp-checks.h>.
8518 (__backtrace): Don't use BOUNDED_1.
8519 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8520 <bp-checks.h>.
8521 (__backtrace): Don't use BOUNDED_1.
8522 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8523 (__backtrace): Don't use BOUNDED_1.
8524 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8525 (shmat): Don't use BOUNDED_N.
8526
8cf28c5e
JM
85272013-01-31 Joseph Myers <joseph@codesourcery.com>
8528
3a7ac8a0
JM
8529 [BZ #13550]
8530 * sysdeps/generic/bp-start.h: Remove file.
8531 * csu/libc-start.c: Don't include <bp-start.h>.
8532 (LIBC_START_MAIN): Set up __environ directly instead of using
8533 INIT_ARGV_and_ENVIRON.
8534 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8535 <bp-start.h>.
8536
f3499f95
JM
8537 [BZ #13550]
8538 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8539 definitions.
8540 (CHECK_FCNTL): Likewise.
8541 (CHECK_N_PAGES): Likewise.
8542
32a45bea
JM
8543 [BZ #13550]
8544 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8545 definitions.
8546 (CHECK_SIGSET_NULL_OK): Likewise.
8547 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8548 <bp-checks.h>.
8549 (sigpending): Don't use CHECK_SIGSET.
8550 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8551 <bp-checks.h>.
8552 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8553 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8554 <bp-checks.h>.
8555 (do_sigsuspend): Don't use CHECK_SIGSET.
8556 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8557 use CHECK_SIGSET.
8558 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8559 (do_sigwait): Don't use CHECK_SIGSET.
8560 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8561 use CHECK_SIGSET.
8562 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8563 include <bp-checks.h>.
8564 (sigpending): Don't use CHECK_SIGSET.
8565 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8566 include <bp-checks.h>.
8567 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8568 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8569 <bp-checks.h>.
8570 (sigpending): Don't use CHECK_SIGSET.
8571 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8572 <bp-checks.h>.
8573 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8574
2e8a5c8c
JM
8575 [BZ #13550]
8576 * sysdeps/generic/bp-semctl.h: Remove file.
8577 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8578 <bp-checks.h> and <bp-semctl.h>.
8579 (__old_semctl): Don't use CHECK_SEMCTL.
8580 (__new_semctl): Likewise.
8581 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8582 and <bp-semctl.h>.
8583 (__old_semctl): Don't use CHECK_SEMCTL.
8584 (__new_semctl): Likewise.
8585 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8586 <bp-checks.h> and <bp-semctl.h>.
8587 (__old_semctl): Don't use CHECK_SEMCTL.
8588 (__new_semctl): Likewise.
8589 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8590 <bp-checks.h> and <bp-semctl.h>.
8591 (semctl): Don't use CHECK_SEMCTL.
8592
c2d54929
JM
8593 [BZ #13550]
8594 * Makerules (elide-bp-thunks): Remove variable.
8595 (elide-routines.oS): Don't use $(elide-bp-thunks).
8596 (elide-routines.os): Likewise.
8597 (elide-routines.o): Likewise.
8598 (elide-routines.op): Likewise.
8599 (elide-routines.og): Likewise.
8600 (objects): Don't use $(bp-thunks).
8601 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8602 include.
8603 (common-generated): Do not add s-proto-bp.d.
8604 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8605 (int): Likewise.
8606 (typ): Likewise.
8607 Do not generate makefile rules for bounded-pointer thunks.
8608 * sysdeps/generic/bp-thunks.h: Remove file.
8609 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8610 * sysdeps/unix/s-proto-bp.S: Likewise.
8611
8cf28c5e
JM
8612 [BZ #15062]
8613 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8614 parts of result separately when argument is not close to line from
8615 -i to i and one part of argument is small.
8616 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8617 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8618 * math/libm-test.inc (cacos_test): Add more tests.
8619 (casin_test): Likewise.
8620 (casinh_test): Likewise.
8621 * sysdeps/i386/fpu/libm-test-ulps: Update.
8622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8623
c4e33b8d
DM
86242013-01-31 David S. Miller <davem@davemloft.net>
8625
8626 * po/de.po: Update from translation team.
8627
3b60b421
MK
86282013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8629
8630 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8631
bb931195
TS
86322013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8633
b5a5da23
TS
8634 * configure.in (_AC_PROG_CC_C89): New definition.
8635 * configure: Regenerate.
8636
bb931195
TS
8637 * configure.in (AC_PROG_CPP): New definition.
8638 * configure: Regenerate.
8639
8c53a12c
JM
86402013-01-23 Joseph Myers <joseph@codesourcery.com>
8641
8642 * debug/tst-backtrace.h: New file.
8643 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8644 (ret): Remove variable.
8645 (x): Likewise.
8646 (FAIL): Remove macro.
8647 (NO_INLINE): Likewise.
8648 (fn1): Use match function instead of strstr.
8649 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8650 (ret): Remove variable.
8651 (x): Likewise.
8652 (FAIL): Remove macro.
8653 (NO_INLINE): Likewise.
8654 (fn): Use match function instead of strstr.
8655 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8656 (ret): Remove variable.
8657 (x): Likewise.
8658 (FAIL): Remove macro.
8659 (NO_INLINE): Likewise.
8660 (handle_signal): Use match function instead of strstr.
8661 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8662 (ret): Remove variable.
8663 (x): Likewise.
8664 (FAIL): Remove macro.
8665 (NO_INLINE): Likewise.
8666 (handle_signal): Use match function instead of strstr.
8667
4858fa2a
RM
86682013-01-23 Roland McGrath <roland@hack.frob.com>
8669
8670 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8671
bae8e7f5
DM
86722013-01-23 David S. Miller <davem@davemloft.net>
8673
8674 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8675 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8676 argument of CAS if possible.
8677 * sysdeps/sparc/sparc64/bits/atomic.h
8678 (__arch_compare_and_exchange_val_32_acq): Likewise.
8679 (__arch_compare_and_exchange_val_64_acq): Likewise.
8680
9cbbc4ae
PT
86812013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8682
8683 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8684 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8685 Include <limits.h>.
67b3f58c 8686 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8687
5655a0b5
AC
86882013-01-23 Adam Conrad <adconrad@0c3.net>
8689
8690 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8691 (LDFLAGS-tst-array5): Likewise.
8692
052aff95
JM
86932013-01-23 Joseph Myers <joseph@codesourcery.com>
8694
8695 [BZ #15036]
8696 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8697 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8698 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8699 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8700
7c1e01aa
DM
87012013-01-21 David S. Miller <davem@davemloft.net>
8702
8703 * sysdeps/sparc/backtrace.c: New file.
8704 * sysdeps/sparc/sparc32/backtrace.h: New file.
8705 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8706 * sysdeps/sparc/sparc64/backtrace.h: New file.
8707 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8708 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8709 -funwind-tables.
8710
ab087e0a
AS
87112013-01-21 Andreas Schwab <schwab@suse.de>
8712
8713 [BZ #15020]
8714 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8715 closed its stdout.
8716
ed689c2f
AS
87172013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8718
8719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8720 "mpa2.h".
8721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8722
31d470ac
JM
87232013-01-18 Joseph Myers <joseph@codesourcery.com>
8724 Mark Mitchell <mark@codesourcery.com>
8725 Tom de Vries <tom@codesourcery.com>
8726 Paul Pluzhnikov <ppluzhnikov@google.com>
8727
8728 * debug/tst-backtrace2.c: New file.
8729 * debug/tst-backtrace3.c: Likewise.
8730 * debug/tst-backtrace4.c: Likewise.
8731 * debug/tst-backtrace5.c: Likewise.
8732 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8733 (CFLAGS-tst-backtrace3.c): Likewise.
8734 (CFLAGS-tst-backtrace4.c): Likewise.
8735 (CFLAGS-tst-backtrace5.c): Likewise.
8736 (LDFLAGS-tst-backtrace2): Likewise.
8737 (LDFLAGS-tst-backtrace3): Likewise.
8738 (LDFLAGS-tst-backtrace4): Likewise.
8739 (LDFLAGS-tst-backtrace5): Likewise.
8740 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8741 tst-backtrace4 and tst-backtrace5.
8742
90567f30 87432013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8744 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8745
8746 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8747 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8748 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8749 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8751 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8752 "+r" and remove output regs list as redundant. Add explicit inline
8753 asm to specify register of return val to work around compiler codegen
8754 bug. Remove (int) cast on return value. Add return type parameter to
8755 use in macro so that this macro does not truncate return value for
8756 64-bit values.
8757 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8758 pass to INTERNAL_VSYSCALL_NCS.
8759 (INLINE_VSYSCALL): Add 'long int' as return type to
8760 INTERNAL_VSYSCALL_NCS macro invocation.
8761 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8762 INTERNAL_VSYSCALL_NCS macro invocation.
8763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8764
d3b9ea61
SP
87652013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8766
0b57daeb
SP
8767 [BZ #14496]
8768 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8769 Fix application of SIMD FP exception mask.
8770
caa99d06
SP
8771 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8772 mp_no from a power of two.
8773 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8774 __mpexp_twomm1. Use __pow_mp.
8775
d3b9ea61
SP
8776 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8777 multiplication.
8778
1dbaee3c
DM
87792013-01-17 David S. Miller <davem@davemloft.net>
8780
8781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8782
728d7b43
JM
87832013-01-17 Joseph Myers <joseph@codesourcery.com>
8784
8785 [BZ #15023]
8786 * include/complex.h: Condition contents on [!_COMPLEX_H].
8787 (__kernel_casinhf): New prototype.
8788 (__kernel_casinh): Likewise.
8789 (__kernel_casinhl): Likewise.
8790 * math/Makefile (libm_calls): Add k_casinh.
8791 * math/k_casinh.c: New file.
8792 * math/k_casinhf.c: Likewise.
8793 * math/k_casinhl.c: Likewise.
8794 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8795 finite nonzero arguments.
8796 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8797 finite nonzero arguments.
8798 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8799 finite nonzero arguments.
8800 * math/s_casinh.c: Do not include <float.h>.
8801 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8802 * math/s_casinhf.c: Do not include <float.h>.
8803 (__casinhf): Move code for finite nonzero arguments to
8804 k_casinhf.c.
8805 * math/s_casinhl.c: Do not include <float.h>.
8806 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8807 redefine.
8808 (__casinhl): Move code for finite nonzero arguments to
8809 k_casinhl.c.
8810 * math/libm-test.inc (cacos_test): Add more tests.
8811 * sysdeps/i386/fpu/libm-test-ulps: Update.
8812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8813
2a26ef3a
PT
88142013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8815
8816 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8817 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8818 [!HAVE_MREMAP]: Remove [defined linux] case.
8819 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8820
a897655d
SP
88212013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8822
8823 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8824
881ebe89 88252013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8826
8827 * elf/elf.h (R_386_SIZE32): New relocation.
8828 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8829 R_386_SIZE32.
8830 (elf_machine_rela): Likewise.
8831 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8832 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8833
59981e9b
JM
88342013-01-17 Joseph Myers <joseph@codesourcery.com>
8835
8836 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8837 (FP_FAST_FMA): Do not define.
8838 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8839 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8840 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8841 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8842 !_SOFT_FLOAT]: Likewise.
8843 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8844 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8845 value.
8846 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8847 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8848 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8849 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8850 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8851 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8852 file.
8853
cfa8054f
AS
88542013-01-16 Andreas Schwab <schwab@suse.de>
8855
8856 [BZ #14327]
8857 * include/stdlib.h (__mktemp): Add declaration.
8858 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8859 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8860
dd930cc5
SP
88612013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8862
881ebe89
SP
8863 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8864 definitions.
8865 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8866 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8867 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8868 definitions here.
8869 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8870 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8871 definitions.
8872 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8873 and ONE.
8874 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8875 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8876 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8877 definitions.
8878 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8879 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8880 definitions.
8881 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8882
dd930cc5
SP
8883 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8884
c19a9f89
DM
88852013-01-15 David S. Miller <davem@davemloft.net>
8886
1aa61767
DM
8887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8888 trunc{,f} to libm-sysdep_routes.
8889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8891 file.
8892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8894 file.
8895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8896 file.
8897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8899 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8900 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8901 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8902 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8903 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8904 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8905
c42d5e98
DM
8906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8907 nearbyint{,f} to libm-sysdep_routes.
8908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8910 New file.
8911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8912 file.
8913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8914 New file.
8915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8916 file.
8917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8919 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8920 file.
8921 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8922 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8923 file.
8924 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8925 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8926 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8927
c19a9f89
DM
8928 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8929 libc_feholdexcept and libc_fesetenv.
8930
357679d2
MF
89312013-01-15 Mike Frysinger <vapier@gentoo.org>
8932
8933 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8934
65a82e3d
DM
89352013-01-14 David S. Miller <davem@davemloft.net>
8936
8b954ab9
DM
8937 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8938 (SPARC_ASM_VIS2_IFUNC): Likewise.
8939 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8941 use of 'siam' instruction.
8942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8943 Likewise.
8944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8945 Likewise.
8946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8947 Likewise.
8948 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8953 file.
8954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8955 file.
8956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8957 file.
8958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8959 file.
8960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8965 new VIS2 routines.
8966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8969 Likewise.
8970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8975 routines to libm-sysdep_routines.
8976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8977
65a82e3d
DM
8978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8979 fdim/fdimf to libm-sysdep_routines.
8980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8981 file.
8982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8984 file.
8985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8988 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8989 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8990 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8991 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8992
e34ab705
SP
89932013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8994
2a91b573
SP
8995 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8996 to optimize copies.
8997
1066a534
SP
8998 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9001
e34ab705
SP
9002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9003 local variable MPTWO.
9004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9005 Likewise.
9006
aba5e596
MF
90072013-01-13 Mike Frysinger <vapier@gentoo.org>
9008
9009 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9010 GLOB_NOESCAPE.
9011
e557e9e5
MF
90122013-01-13 Mike Frysinger <vapier@gentoo.org>
9013
9014 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9015
0428cec9
MF
90162013-01-13 Mike Frysinger <vapier@gentoo.org>
9017
9018 * manual/pattern.texi (glob_t): Document gl_flags.
9019 (glob64_t): Likewise.
9020
8794a964
DM
90212013-01-11 David S. Miller <davem@davemloft.net>
9022
66438c3f
RM
9023 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9024 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9025 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9026 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9027 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9028 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9029 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9030 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9031 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9032 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9033 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9034 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9035 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9036
4ae4244d
DM
9037 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9038 sparc V9 rather than using V8 code.
9039 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9040 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9041
8794a964
DM
9042 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9043 Move to...
9044 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9045 Here.
9046
6270516e
RM
90472013-01-11 Roland McGrath <roland@hack.frob.com>
9048
9049 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9050 not in the main loop.
9051 * configure: Regenerated.
9052
6a57d931
JM
90532013-01-11 Joseph Myers <joseph@codesourcery.com>
9054
9055 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9056 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9057 to just #else.
9058 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9059 [!__GLIBC_HAVE_LONG_LONG] case.
9060 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9061 condition to just #else.
9062 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9063 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9064 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9065 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9066 unconditional.
9067 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9068 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9069 #elif condition to just #else.
9070 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9071 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9072 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9073 #elif condition to just #else.
9074
0e8529e9
SE
90752013-01-11 Steve Ellcey <sellcey@mips.com>
9076
9077 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9078 (EF_MIPS_ARCH_64): Fix value.
9079 (EF_MIPS_ARCH_32R2): New.
9080 (EF_MIPS_ARCH_64R2): New.
9081
740b3dbe
L
90822013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9083
9084 * Makeconfig (+link-pie-before-libc): New.
9085 (+link-pie-after-libc): Likewise.
9086 (+link-pie-tests): Likewise.
9087 (+link-pie): Rewritten.
9088 (link-before-libc): Remove $(config-LDFLAGS).
9089 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9090 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9091 (config-LDFLAGS): Renamed to ...
9092 (rtld-LDFLAGS): This.
9093 (rtld-tests-LDFLAGS): New macro.
9094 (link-libc-rpath-link): Likewise.
9095 (link-libc-tests-rpath-link): Likewise.
9096 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9097 (link-libc): Prepand $(link-libc-rpath-link).
9098 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9099 (test-program-prefix): New macro.
9100 (test-via-rtld-prefix): Likewise.
9101 (test-program-cmd): Likewise.
9102 (host-test-program-cmd): Likewise.
9103 * Makefile ($(common-objpfx)testrun.sh): Replace
9104 $(run-program-prefix) with $(test-program-prefix).
9105 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9106 $(rtld-LDFLAGS).
9107 ($(common-objpfx)shlib.lds): Likewise.
9108 (build-module-helper): Likewise.
9109 ($(common-objpfx)format.lds): Likewise.
9110 * Rules (binaries-pie-tests): New.
9111 (binaries-pie-notests): Likewise.
9112 (binaries-pie): Rewritten.
9113 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9114 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9115 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9116 (make-test-out): Replace $(host-built-program-cmd) with
9117 $(host-test-program-cmd).
9118 * config.make.in (build-hardcoded-path-in-tests): New variable.
9119 * configure.in (--enable-hardcoded-path-in-tests): New configure
9120 option.
9121 (hardcoded_path_in_tests): New AC_SUBST.
9122 * configure: Regenerated.
9123 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9124 $(built-program-cmd) with $(test-program-cmd).
9125 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9126 (test_program_cmd): This.
9127 * elf/Makefile ($(objpfx)order.out): Run test with
9128 $(test-program-prefix).
9129 ($(objpfx)order2.out): Likewise.
9130 ($(objpfx)tst-initorder.out): Likewise.
9131 ($(objpfx)tst-initorder2.out): Likewise.
9132 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9133 $(test-program-cmd).
9134 ($(objpfx)tst-array1-static.out): Likewise.
9135 ($(objpfx)tst-array2.out): Likewise.
9136 ($(objpfx)tst-array3.out): Likewise.
9137 ($(objpfx)tst-array4.out): Likewise.
9138 ($(objpfx)tst-array5.out): Likewise.
9139 ($(objpfx)tst-array5-static.out): Likewise.
9140 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9141 $(test-program-cmd).
9142 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9143 $(run-program-prefix) with $(test-program-prefix).
9144 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9145 (test_program_prefix): This.
9146 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9147 $(run-program-prefix) with $(test-program-prefix).
9148 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9149 (test_program_prefix): This.
9150 * iconvdata/tst-tables.sh: Likewise.
9151 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9152 $(run-program-prefix) with $(test-program-prefix).
9153 ($(objpfx)tst-translit.out): Likewise.
9154 ($(objpfx)tst-gettext2.out): Likewise.
9155 ($(objpfx)tst-gettext4.out): Likewise.
9156 ($(objpfx)tst-gettext6.out): Likewise.
9157 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9158 (test_program_prefix): This.
9159 * intl/tst-gettext2.sh: Likewise.
9160 * intl/tst-gettext4.sh Likewise.
9161 * intl/tst-gettext6.sh: Likewise.
9162 * intl/tst-translit.sh: Likewise.
9163 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9164 with $(test-program-cmd).
9165 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9166 $(run-program-prefix) with $(test-program-prefix).
9167 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9168 (test_program_prefix): This.
9169 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9170 $(run-program-prefix) with $(test-program-prefix).
9171 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9172 (test_program_prefix): This.
9173 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9174 * posix/Makefile ($(objpfx)globtest.out): Replace
9175 $(run-via-rtld-prefix) and $(test-wrapper) with
9176 $(test-program-prefix) and $(test-via-rtld-prefix).
9177 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9178 $(test-program-prefix).
9179 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9180 $(host-test-program-cmd).
9181 (tst-spawn-ARGS): Likewise.
9182 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9183 $(test-program-prefix).
9184 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9185 (test_via_rtld_prefix): This.
9186 (test_wrapper): Renamed to ...
9187 (test_program_prefix): This.
9188 (run_program_prefix): Replaced by test_program_prefix.
9189 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9190 (test_program_prefix): This.
9191 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9192 with $(host-test-program-cmd).
9193 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9194 $(run-program-prefix) with $(test-program-prefix).
9195 ($(objpfx)tst-printf.out): Likewise.
9196 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9197 $(test-program-cmd).
9198 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9199 (test_program_prefix): This.
9200 * stdio-common/tst-unbputc.sh: Likewise.
9201 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9202 $(run-program-prefix) with $(test-program-prefix).
9203 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9204 (test_program_prefix): This.
9205 * string/Makefile ($(objpfx)tst-svc.out): Replace
9206 $(built-program-cmd) with $(test-program-cmd).
9207
c6fe55cf
AJ
92082013-01-11 Andreas Jaeger <aj@suse.de>
9209
9210 [BZ #15003]
9211 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9212 value. Sync with Linux 3.7.
9213
9e6919c8
DM
92142013-01-10 David S. Miller <davem@davemloft.net>
9215
9216 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9217 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9218 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9219
1c9f1a02
RM
92202013-01-10 Roland McGrath <roland@hack.frob.com>
9221
9222 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9223 never set.
9224 * configure: Regenerated.
9225
b9de2dde
DM
92262013-01-10 David S. Miller <davem@davemloft.net>
9227
9228 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9229 sparc V9 rather than using V8 code.
9230 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9231 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9232
e7f68ef4
RM
92332013-01-10 Roland McGrath <roland@hack.frob.com>
9234
9235 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9236 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9237 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9238 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9239 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9240 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9241 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9242 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9243 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9244 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9245 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9246 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9247 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9248 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9249 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9250 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9251 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9252 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9253 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9254 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9255 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9256 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9257 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9258 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9259 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9260 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9261 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9262
5a47cc9c
DM
92632013-01-10 David S. Miller <davem@davemloft.net>
9264
9265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9266
4cf8f209
L
92672013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9268
9269 * posix/Makefile (tests-static): New variable.
9270 (tests): Add $(tests-static).
9271 (tst-exec-static-ARGS): New variable.
9272 (tst-spawn-static-ARGS): Likewise.
9273 * posix/tst-exec-static.c: New file.
9274 * posix/tst-spawn-static.c: Likewise.
9275 * posix/tst-exec.c: Support run directly.
9276 * posix/tst-spawn.c: Likewise.
9277
fed0faa1
JM
92782013-01-10 Joseph Myers <joseph@codesourcery.com>
9279
828beb13
JM
9280 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9281 long.
9282 * math/bits/mathcalls.h (llrint): Likewise.
9283 (llround): Likewise.
9284 * stdlib/stdlib.h (struct drand48_data): Likewise.
9285 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9286 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9287 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9288 Likewise.
9289 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9290 Likewise.
9291 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9292 (elf_greg_t): Likewise.
9293 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9294 (__jmp_buf): Likewise.
9295 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9296 definitions.
9297 (llrint): Likewise, for all definitions.
9298 (llrintl): Likewise.
9299
fed0faa1
JM
9300 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9301 Remove [__GNUC__] condition.
9302 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9303 condition to just [__USE_ISOC99].
9304 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9305
1a20cb20
L
93062013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9307
9308 [BZ #14200]
9309 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9310 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9311 defined.
9312 (_POSIX_V6_ILP32_OFF32): Likewise.
9313 (_XBS5_ILP32_OFF32): Likewise.
9314 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9315 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9316
751b85f7
SP
93172013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9318
7490eb81
SP
9319 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9320
751b85f7
SP
9321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9322 doubles __mpexp_twomm1. Adjust usage.
9323 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9324 Remove.
9325
988197f0
AS
93262013-01-10 Andreas Schwab <schwab@suse.de>
9327
9328 [BZ #14964]
9329 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9330 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9331
e83d7298
DM
93322013-01-09 David S. Miller <davem@davemloft.net>
9333
034ed64b 9334 [BZ #15003]
e83d7298
DM
9335 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9336 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9337 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9338 TCP_FASTOPEN): Define.
9339 (tcp_repair_opt): New structure.
9340 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9341 enum values.
9342 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9343 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9344 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9345 (tcp_cookie_transactions): New structure.
9346
d5e0b9bd
AB
93472013-01-09 Anton Blanchard <anton@samba.org>
9348
9349 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9350 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9351 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9352 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9353
0c07e3ea
JM
93542013-01-09 Joseph Myers <joseph@codesourcery.com>
9355
9356 * include/features.h (__USE_ANSI): Remove.
9357
232f7002
RM
93582013-01-09 Roland McGrath <roland@hack.frob.com>
9359
ad98e30c
RM
9360 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9361
232f7002
RM
9362 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9363
950c99ca
SP
93642013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9365
b5792741
SP
9366 * sysdeps/s390/fpu/libm-test-ulps: Update.
9367
47cf2278
SP
9368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9369
950c99ca
SP
9370 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9371 (__acr): Likewise.
9372 (__cpy): Likewise.
9373 (norm): Likewise.
9374 (denorm): Likewise.
9375 (__mp_dbl): Likewise.
9376 (__dbl_mp): Likewise.
9377 (add_magnitudes): Likewise.
9378 (sub_magnitudes): Likewise.
9379 (__add): Likewise.
9380 (__sub): Likewise.
9381 (__mul): Likewise.
9382 (__inv): Likewise.
9383 (__dvd): Likewise.
9384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9385 (__acr): Likewise.
9386 (__cpy): Likewise.
9387 (norm): Likewise.
9388 (denorm): Likewise.
9389 (__mp_dbl): Likewise.
9390 (__dbl_mp): Likewise.
9391 (add_magnitudes): Likewise.
9392 (sub_magnitudes): Likewise.
9393 (__add): Likewise.
9394 (__sub): Likewise.
9395 (__mul): Likewise.
9396 (__inv): Likewise.
9397 (__dvd): Likewise.
9398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9399 (__acr): Likewise.
9400 (__cpy): Likewise.
9401 (norm): Likewise.
9402 (denorm): Likewise.
9403 (__mp_dbl): Likewise.
9404 (__dbl_mp): Likewise.
9405 (add_magnitudes): Likewise.
9406 (sub_magnitudes): Likewise.
9407 (__add): Likewise.
9408 (__sub): Likewise.
9409 (__mul): Likewise.
9410 (__inv): Likewise.
9411 (__dvd): Likewise.
9412
eede9df9
JM
94132013-01-08 Joseph Myers <joseph@codesourcery.com>
9414
9415 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9416 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9417 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9418 2 && __USE_EXTERN_INLINES]: Likewise.
9419
c40ea3d9
AJ
94202013-01-08 Andreas Jaeger <aj@suse.de>
9421
9422 [BZ# 14985]
9423 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9424 Remove.
9425 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9426 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9427
2ccdea26
AB
94282013-01-07 Anton Blanchard <anton@samba.org>
9429
9430 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9431 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9432 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9433 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9434 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9435 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9436 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9437 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9439 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9440 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9441 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9442 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9443 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9444 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9445 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9446 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9447 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9448 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9449 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9450 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9451 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9453 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9454 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9455 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9456 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9457 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9458 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9459 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9460 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9462 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9463 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9464 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9465 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9466 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9467 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9468 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9469 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9470 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9471 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9472 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9473
a9708fed
JM
94742013-01-07 Joseph Myers <joseph@codesourcery.com>
9475
375607b9
JM
9476 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9477 (__MALLOC_PMT): Likewise.
9478 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9479 [__GNUC__], only on [_LIBC].
9480 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9481 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9482 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9483 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9484 forward declaration.
9485 (realloc_hook_ini): Likewise.
9486 (memalign_hook_ini): Likewise.
9487 (__libc_memalign): Do not use __MALLOC_PMT in variable
9488 declaration.
9489 (__libc_valloc): Likewise.
9490 (__libc_pvalloc): Likewise.
9491 (__libc_calloc): Likewise.
9492 (__posix_memalign): Likewise.
9493
a9708fed
JM
9494 [BZ #14996]
9495 * math/s_casinh.c: Include <float.h>.
9496 (__casinh): Do not do computation with squaring and square root
9497 for large arguments.
9498 * math/s_casinhf.c: Include <float.h>.
9499 (__casinhf): Do not do computation with squaring and square root
9500 for large arguments.
9501 * math/s_casinhl.c: Include <float.h>.
9502 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9503 (__casinhl): Do not do computation with squaring and square root
9504 for large arguments.
9505 * math/libm-test.inc (casin_test): Add more tests.
9506 (casinh_test): Likewise.
9507 * sysdeps/i386/fpu/libm-test-ulps: Update.
9508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9509
afec409a
L
95102013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9511
9512 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9513 (__x86_64_raw_data_cache_size): Likewise.
9514 (__x86_64_data_cache_size_half): Likewise.
9515 (__x86_64_raw_data_cache_size_half): Likewise.
9516 (__x86_64_shared_cache_size): Likewise.
9517 (__x86_64_raw_shared_cache_size): Likewise.
9518 (__x86_64_shared_cache_size_half): Likewise.
9519 (__x86_64_raw_shared_cache_size_half): Likewise.
9520 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9521 to ...
9522 (__x86_data_cache_size): This.
9523 (__x86_64_raw_data_cache_size): Renamed to ...
9524 (__x86_raw_data_cache_size): This.
9525 (__x86_64_data_cache_size_half): Renamed to ...
9526 (__x86_data_cache_size_half): This.
9527 (__x86_64_raw_data_cache_size_half): Renamed to ...
9528 (__x86_raw_data_cache_size_half): This.
9529 (__x86_64_shared_cache_size): Renamed to ...
9530 (__x86_shared_cache_size): This.
9531 (__x86_64_raw_shared_cache_size): Renamed to ...
9532 (__x86_raw_shared_cache_size): This.
9533 (__x86_64_shared_cache_size_half): Renamed to ...
9534 (__x86_shared_cache_size_half): This.
9535 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9536 (__x86_raw_shared_cache_size_half): This.
9537 * sysdeps/x86_64/memcpy.S: Updated.
9538 * sysdeps/x86_64/memset.S: Likewise.
9539 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9540 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9541 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9542
0b3986d0
DM
95432013-01-04 David S. Miller <davem@davemloft.net>
9544
9545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9546
e47686e9
AS
95472013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9548
d643bac1
AS
9549 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9550 1 to avoid redefinition warning.
9551 (__USE_GNU): Don't define.
9552 (init_signaling_nan): Protoize.
9553
e47686e9
AS
9554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9555
b18decba
SP
95562013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9557
fffb407f
SP
9558 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9560 (__cpymn): Likewise.
9561 (norm): Remove commented code.
9562 (denorm): Likewise.
9563 (__mp_dbl): Likewise.
9564 (__inv): Likewise.
9565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9566 (__cpymn): Likewise.
9567 (norm): Remove commented code.
9568 (denorm): Likewise.
9569 (__mp_dbl): Likewise.
9570 (__inv): Likewise.
9571
b18decba
SP
9572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9573 mp_no value for 1.0 and 2.0.
9574 (norm): Use RADIXI instead of radixi.d.
9575 (denorm): Likewise.
9576 (__mul): Use 0.0 instead of zero.d.
9577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9578 mp_no value for 1.0 and 2.0.
9579 (norm): Use RADIXI instead of radixi.d.
9580 (denorm): Likewise.
9581 (__mul): Use 0.0 instead of zero.d.
9582
cdc1c96f
JM
95832013-01-04 Joseph Myers <joseph@codesourcery.com>
9584
9585 [BZ #14994]
9586 * math/s_casinh.c (__casinh): Reduce finite argument to first
9587 quadrant then set signs of results at the end.
9588 * math/s_casinhf.c (__casinhf): Likewise.
9589 * math/s_casinhl.c (__casinhl): Likewise.
9590 * math/libm-test.inc (casin_test): Add more tests.
9591 (casinh_test): Likewise.
9592 * sysdeps/i386/fpu/libm-test-ulps: Update.
9593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9594
302913e1
SP
95952013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9596
6420d207
SP
9597 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9598
a9e48ab4
SP
9599 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9600
b7837264
SP
9601 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9602 declarations.
9603 (denorm): Likewise.
9604 (__mp_dbl): Likewise.
9605 (__inv): Likewise.
9606
f8af25d2
SP
9607 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9608 and adjust the header comment.
9609
302913e1
SP
9610 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9611 variable name from declaration.
9612
5d7dd1ca
L
96132013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9614
9615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9616 Initialize COMMON_CPUID_INDEX_7 element.
9617 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9618 (CPUID_RTM): Likewise.
9619 (HAS_RTM): Likewise.
9620 (COMMON_CPUID_INDEX_7): New enum.
9621
2f5f40f4
AS
96222013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9623
9624 [BZ #14981]
9625 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9626 size is zero, record memory as freed.
9627
4056f4a0
AJ
96282013-01-03 Andreas Jaeger <aj@suse.de>
9629
9630 * po/ia.po: Add new Interlingua translation.
9631
ab15736f 96322012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9633
9634 * locale/programs/localedef.c: Fix description of '--posix' flag.
9635
568035b7
JM
96362013-01-02 Joseph Myers <joseph@codesourcery.com>
9637
e6898b8d
JM
9638 * NEWS: Update dates in second copyright notice.
9639 * README: Update copyright dates in example.
9640 * manual/libc.texinfo: Update copyright dates.
9641 * scripts/test-installation.pl: Update copyright date in --version
9642 output.
9643
0e2f9562
JM
9644 * hurd/ctty-input.c: Fix copyright notice formatting.
9645 * hurd/ctty-output.c: Likewise.
9646 * hurd/dtable.c: Likewise.
9647 * hurd/hurd-raise.c: Likewise.
9648 * hurd/hurdprio.c: Likewise.
9649 * hurd/msgportdemux.c: Likewise.
9650 * misc/sys/file.h: Likewise.
9651 * misc/sys/ioctl.h: Likewise.
9652 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9653 * sysdeps/mach/hurd/chdir.c: Likewise.
9654 * sysdeps/mach/hurd/fchdir.c: Likewise.
9655 * sysdeps/mach/hurd/rename.c: Likewise.
9656 * sysdeps/mach/hurd/rmdir.c: Likewise.
9657 * sysdeps/mach/hurd/seekdir.c: Likewise.
9658 * sysdeps/mach/hurd/setsid.c: Likewise.
9659 * sysdeps/posix/wait3.c: Likewise.
9660
568035b7
JM
9661 * All files with FSF copyright notices: Update copyright dates
9662 using scripts/update-copyrights.
9663 * intl/plural.c: Regenerated.
9664 * locale/programs/charmap-kw.h: Likewise.
9665 * locale/programs/locfile-kw.h: Likewise.
9666
da08f647
SP
96672013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9668
0f5477af
SP
9669 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9670 four values.
9671
44e0d4c2
SP
9672 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9673 calculation loop and add branch prediction.
9674
4d55b4e5
SP
9675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9676 check access beyond bounds of m1np.
9677
da08f647
SP
9678 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9679 MPTWO.
9680 (__inv): Remove local variable MPTWO to use the global
9681 constant.
9682 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9683 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9684 variable MPTWO.
9685 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9686 MP3HALFS static const.
9687
8e051029
DM
96882013-01-01 David S. Miller <davem@davemloft.net>
9689
9690 * po/ca.po: Update from translation team.
9691
f4cf5f2d
JM
96922013-01-01 Joseph Myers <joseph@codesourcery.com>
9693
9694 * scripts/update-copyrights: New file.
9695 * Makeconfig: Reformat copyright notice.
9696 * ctype/ctype.h: Likewise.
9697 * debug/swprintf_chk.c: Likewise.
9698 * elf/dl-cache.c: Likewise.
9699 * elf/dl-debug.c: Likewise.
9700 * elf/dl-object.c: Likewise.
9701 * grp/initgroups.c: Likewise.
9702 * hurd/Makefile: Likewise.
9703 * hurd/hurd/signal.h: Likewise.
9704 * hurd/hurdfault.c: Likewise.
9705 * hurd/hurdioctl.c: Likewise.
9706 * hurd/hurdlookup.c: Likewise.
9707 * hurd/intr-msg.c: Likewise.
9708 * iconv/gconv_open.c: Likewise.
9709 * libio/swprintf.c: Likewise.
9710 * locale/lc-ctype.c: Likewise.
9711 * locale/nl_langinfo.c: Likewise.
9712 * mach/Machrules: Likewise.
9713 * mach/Makefile: Likewise.
9714 * malloc/obstack.h: Likewise.
9715 * manual/Makefile: Likewise.
9716 * manual/tsort.awk: Likewise.
9717 * misc/bits/stab.def: Likewise.
9718 * nis/nis_print_group_entry.c: Likewise.
9719 * nis/nis_table.c: Likewise.
9720 * nis/nss_compat/compat-pwd.c: Likewise.
9721 * nis/nss_compat/compat-spwd.c: Likewise.
9722 * po/Makefile: Likewise.
9723 * posix/fnmatch.c: Likewise.
9724 * posix/regex.h: Likewise.
9725 * resolv/Makefile: Likewise.
9726 * resolv/nss_dns/dns-network.c: Likewise.
9727 * resolv/res_hconf.c: Likewise.
9728 * scripts/gen-sorted.awk: Likewise.
9729 * soft-fp/soft-fp.h: Likewise.
9730 * stdio-common/printf.h: Likewise.
9731 * stdlib/monetary.h: Likewise.
9732 * stdlib/random.c: Likewise.
9733 * stdlib/random_r.c: Likewise.
9734 * sysdeps/generic/Makefile: Likewise.
9735 * sysdeps/gnu/Makefile: Likewise.
9736 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9737 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9738 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9739 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9740 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9741 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9742 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9743 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9744 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9746 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9747 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9748 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9749 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9750 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9751 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9752 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9754 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9755 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9756 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9757 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9758 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9759 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9764 * sysdeps/mach/hurd/errnos.awk: Likewise.
9765 * sysdeps/mach/hurd/fork.c: Likewise.
9766 * sysdeps/mach/hurd/getcwd.c: Likewise.
9767 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9768 * sysdeps/mach/hurd/mmap.c: Likewise.
9769 * sysdeps/mach/hurd/utimes.c: Likewise.
9770 * sysdeps/mach/hurd/xmknod.c: Likewise.
9771 * sysdeps/posix/profil.c: Likewise.
9772 * sysdeps/posix/readdir_r.c: Likewise.
9773 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9774 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9775 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9776 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9778 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9779 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9780 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9782 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9783 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9784 * sysdeps/pthread/lio_listio.c: Likewise.
9785 * sysdeps/sparc/dl-procinfo.h: Likewise.
9786 * sysdeps/unix/i386/sysdep.S: Likewise.
9787 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9788 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9789 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9790 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9792 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9793 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9794 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9795 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9796 * sysdeps/wordsize-32/divdi3.c: Likewise.
9797 * time/sys/time.h: Likewise.
9798 * wcsmbs/Makefile: Likewise.
9799
0549fbba
DM
98002013-01-01 David S. Miller <davem@davemloft.net>
9801
a141f1a7
DM
9802 * po/fr.po: Update from translation team.
9803
0549fbba
DM
9804 * catgets/gencat.c: Update copyright year.
9805 * csu/version.c: Likewise.
9806 * debug/catchsegv.sh: Likewise.
9807 * debug/pcprofiledump.c: Likewise.
9808 * debug/xtrace.sh: Likewise.
9809 * elf/ldconfig.c: Likewise.
9810 * elf/ldd.bash.in: Likewise.
9811 * elf/pldd.c: Likewise.
9812 * elf/sotruss.ksh: Likewise.
9813 * elf/sprof.c: Likewise.
9814 * iconv/iconv_prog.c: Likewise.
9815 * iconv/iconvconfig.c: Likewise.
9816 * locale/programs/locale.c: Likewise.
9817 * locale/programs/localedef.c: Likewise.
9818 * login/programs/pt_chown.c: Likewise.
9819 * malloc/memusage.sh: Likewise.
9820 * malloc/memusagestat.c: Likewise.
9821 * malloc/mtrace.pl: Likewise.
9822 * nscd/nscd.c: Likewise.
9823 * nss/getent.c: Likewise.
9824 * nss/makedb.c: Likewise.
9825 * posix/getconf.c: Likewise.
9826
18ea052c
SP
98272012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9828
9829 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9830 numbers.
9831
9c89fca6
MF
98322012-12-30 Mike Frysinger <vapier@gentoo.org>
9833
9834 * math/bits/mathcalls.h (modf): Use __nonnull.
9835
085ec079
SP
98362012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9837
9838 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9839 (split): Use macro CN instead of the bare value.
9840 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9841 could be used.
9842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9843 instead of the bare value.
9844 (power1): Likewise.
9845
6d9f97e1
SP
98462012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9847
d63f73be
SP
9848 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9849 __ATAN_TWOM.
9850 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9851
6d9f97e1
SP
9852 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9853 their values.
9854 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9855 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9856 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9857 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9858
4c4febf5
AJ
98592012-12-28 Andreas Jaeger <aj@suse.de>
9860
af5843ef
AJ
9861 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9862 values are from Linux 3.7.
9863
4c4febf5
AJ
9864 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9865 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9866
99136f82
SP
98672012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9868
2f216c3c 9869 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9870 TRUE case.
9871
99136f82
SP
9872 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9873 (norm): Likewise.
9874 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9875 variables with preprocessor constants.
9876 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9877 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9878 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9879
7fffbdff
BH
98802012-12-27 Bruno Haible <bruno@clisp.org>
9881
9882 [BZ #14317]
9883 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9884 only if needed.
9885
b76eb5f0
SP
98862012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9887
31a7fe5c
SP
9888 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9889 and use variable directly.
9890 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9891
b76eb5f0
SP
9892 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9893 MPONE.
9894 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9895 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9896 variable MPONE.
9897 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9899 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9900 include directive. Remove local variable MPONE.
9901 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9902 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9903 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9904
2c8bfe7d
DM
99052012-12-25 David S. Miller <davem@davemloft.net>
9906
9907 * version.h (RELEASE): Set to "development".
9908 (VERSION): Set to "2.17.90".
9909 * NEWS: Add 2.18 section.
9910
147d03b0
DM
99112012-12-21 David S. Miller <davem@davemloft.net>
9912
9913 * po/hr.po: Update from translation team.
9914
a8ebb2b9
AK
99152012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9916
9917 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9918
95b4f1b6
SE
99192012-12-19 Steve Ellcey <sellcey@mips.com>
9920
b2d94007 9921 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9922
cedb2a90
MS
99232012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9924
9925 * manual/contrib.texi (Contributors): Spelling correction.
9926
bbf527d6
DM
99272012-12-15 David S. Miller <davem@davemloft.net>
9928
9929 * po/ru.po: Update from translation team.
9930
bc38c906
DM
99312012-12-13 David S. Miller <davem@davemloft.net>
9932
85429b1a
DM
9933 * NEWS: Mention IFUNC testsuite enhancements.
9934
d283e353
DM
9935 * po/pl.po: Update from translation team.
9936 * po/bg.po: Likewise.
9937
bc38c906
DM
9938 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9939 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9940
a181b0d7
DM
99412012-12-11 David S. Miller <davem@davemloft.net>
9942
4641d57e
DM
9943 * po/sv.po: Update from translation team.
9944
f7bc6495
DM
9945 * po/vi.po: Update from translation team.
9946
6fc9048f
DM
9947 * po/cs.po: Update from translation team.
9948
a181b0d7
DM
9949 * po/de.po: Update from translation team.
9950 * po/eo.po: Likewise.
9951 * po/nl.po: Likewise.
9952
f70bfe80
SP
99532012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9954
3c8b4190
SP
9955 [BZ #14246]
9956 * manual/argp.texi (Argp Helper Functions): Move node to follow
9957 Argp Parsing State.
9958
f70bfe80
SP
9959 [BZ #14872]
9960 * manual/conf.texi (Limits on File System Capacity): Mention if
9961 terminating null is included in the max size.
9962
188f0adf
AJ
99632012-12-10 Andreas Jaeger <aj@suse.de>
9964
9965 * po/cs.po: Update from translation team.
9966
56e7d3ad
SP
99672012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9968
9969 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9970 void pointer and cast to uintptr_t.
9971 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9972 path.
9973 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9974 * sysdeps/s390/s390-64/memset.S: Likewise.
9975
76f2d2ea 99762012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9977
9978 [BZ #14833]
9979 * menual/message.texi (Message Translation): Fix typos.
9980 (Helper programs for gettext): Likewise.
9981
67cbf9a2
AS
99822012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9983
9984 [BZ #14898]
9985 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9986 Change to -1.
9987
682d0e9a
DM
99882012-12-07 David S. Miller <davem@davemloft.net>
9989
9990 * po/libc.pot: Update.
9991
573cd484
RH
99922012-12-07 Richard Henderson <rth@redhat.com>
9993
7e9da188 9994 [BZ #10114]
573cd484
RH
9995 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9996 normal/normal case to before the switch.
9997 (_FP_DIV): Likewise.
9998
e933a943
MF
99992012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10000 Mike Frysinger <vapier@gentoo.org>
10001
10002 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10003 check for __NR_fadvise64_64.
10004
82123268
CM
100052012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10006
10007 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10008 0, not just to plain "0" as a statement.
10009 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10010 with cw.
10011
d9814526
JM
100122012-12-06 Joseph Myers <joseph@codesourcery.com>
10013
10014 * NEWS: Use sourceware.org in Bugzilla URL.
10015
7728c574
SP
100162012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10017
f16946dd
SP
10018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10019 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10020
5704bbcb
SP
10021 * stdio-common/tst-put-error.c (do_test): Add newline to the
10022 padded test to ensure flush.
10023
17aa0516
JL
100242012-12-05 Jeff Law <law@redhat.com>
10025
10026 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10027
363313b5
JM
100282012-12-05 Joseph Myers <joseph@codesourcery.com>
10029
effbd42a
JM
10030 * README: Don't refer to ports add-on as distributed separately.
10031 Mention AArch64 in list of systems supported in the ports add-on.
10032
87600365
JM
10033 * LICENSES: Add more non-FSF copyright and license notices.
10034
a0d7066a
JM
10035 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10036 ((unused)).
10037
66ca5a5b
JM
10038 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10039
363313b5
JM
10040 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10041 10000 as width of padded output.
10042
b37984ad
JM
100432012-12-04 Joseph Myers <joseph@codesourcery.com>
10044
9003570a
JM
10045 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10046
b37984ad
JM
10047 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10048 variable LX with __attribute__ ((unused)).
10049 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10050 Likewise.
10051 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10052 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10053 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10054 with __attribute__ ((unused)).
10055
c8df52ec
DM
100562012-12-04 David S. Miller <davem@abraco.davemloft.net>
10057
10058 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10059
b3b099af
JM
100602012-12-04 Joseph Myers <joseph@codesourcery.com>
10061
c33aa6e3
JM
10062 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10063 (CFLAGS-nldbl-acos.c): New variable.
10064 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10065 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10066 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10067 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10068 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10069 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10070 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10071 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10072 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10073 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10074 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10075 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10076 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10077 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10078 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10079 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10080 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10081 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10082 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10083 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10084 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10085 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10086 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10087 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10088 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10089 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10090 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10091 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10092 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10093 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10094 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10095 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10096 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10097 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10098 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10099 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10100 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10101 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10102 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10103 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10104 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10105 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10106 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10107 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10108 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10109 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10110 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10111 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10112 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10113 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10114 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10115 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10116 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10117 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10118 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10119 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10120 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10121 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10122 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10123 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10124 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10125 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10126 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10127 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10128 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10129 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10130 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10131 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10132 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10133 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10134 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10135 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10136 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10137 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10138 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10139 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10140 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10141 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10142 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10143 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10144 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10145 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10146 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10147 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10148 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10149 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10150 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10151 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10152 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10153 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10154 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10155 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10156 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10157 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10158 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10159 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10160 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10161
20f0018d
JM
10162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10163 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10164
b3b099af
JM
10165 [BZ #14914]
10166 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10167 whole low double instead of just low 47 bits when splitting values
10168 into two parts.
10169
029264d1
AM
101702012-12-03 Allan McRae <allan@archlinux.org>
10171
10172 * manual/stdio.texi (Predefined Printf Handlers): Remove
10173 @hsep and @vsep usage.
10174
c9d6789e
MF
101752012-12-03 Mike Frysinger <vapier@gentoo.org>
10176
10177 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10178 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10179
4b7634a5
JL
101802012-12-03 Jeff Law <law@redhat.com>
10181
10182 * time/sys/time.h (settimeofday): Do not mark TV argument
10183 as __nonnull.
10184
eb6cbd24
MF
101852012-12-01 Mike Frysinger <vapier@gentoo.org>
10186
10187 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10188 when currently writing and seek to current position when not.
10189 * libio/Makefile (tests): Remove bug-fclose1.
10190 * libio/bug-fclose1.c: Delete.
10191
f638872a
JM
101922012-12-01 Joseph Myers <joseph@codesourcery.com>
10193
10194 * manual/arith.texi (feenableexcept): Fix typo.
10195 (fedisableexcept): Likewise.
10196
48085d14
RM
101972012-11-30 Roland McGrath <roland@hack.frob.com>
10198
10199 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10200 second, differently-typed declaration, rather than a cast.
10201
1a538b9f
SP
102022012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10203
10204 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10205 * include/rpc/svc.h: ... here.
10206
d07f2ff1 102072012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10208
10209 [BZ #13013]
10210 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10211 depending n and resplen2 to catch cases where answer
10212 equals answerp2.
10213
c93ec1f0
CD
102142012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10215
10216 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10217 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10218
37db69de
MF
102192012-11-29 Mike Frysinger <vapier@gentoo.org>
10220
10221 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10222
e10c4e4f
RM
102232012-11-29 Roland McGrath <roland@hack.frob.com>
10224
10225 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10226
2af1b328
JL
102272012-11-28 Jeff Law <law@redhat.com>
10228
10229 [BZ #13761]
10230 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10231 dataset_temporary. Track alloca usage into alloca_used.
10232 If dataset is large allocate and release it via malloc/free.
10233
111db5b1
FW
102342012-06-04 Florian Weimer <fweimer@redhat.com>
10235
f06cc227 10236 [BZ #14197]
111db5b1
FW
10237 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10238
dd694abd
DM
102392012-11-28 David S. Miller <davem@davemloft.net>
10240
10241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10242
9984dd01
JM
102432012-11-28 Joseph Myers <joseph@codesourcery.com>
10244
10245 [BZ #14803]
10246 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10247 of pi/2 rounded to nearest to 64 bits.
10248 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10249 nearest to 64 bits.
10250 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10251 bits.
10252
14bc93a9
JL
102532012-11-28 Jeff Law <law@redhat.com>
10254 Martin Osvald <mosvald@redhat.com>
10255
10256 [BZ #14889]
10257 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10258 * sunrpc/svc.c: Include time.h.
10259 (__svc_accept_failed): New function.
10260 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10261 any reason other than EINTR, call __svc_accept_failed.
10262 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10263 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10264
e3c6aa3a
AS
102652012-11-28 Andreas Schwab <schwab@suse.de>
10266
10267 * scripts/abilist.awk: Also handle indirect functions in .opd
10268 section.
10269
1bead169
JM
102702012-11-28 Joseph Myers <joseph@codesourcery.com>
10271
10272 [BZ #13881]
10273 * sysdeps/x86/fpu/powl_helper.c: New file.
10274 * sysdeps/x86/fpu/Makefile: Likewise.
10275 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10276 (p3): New object.
10277 (__ieee754_powl): Use __powl_helper for finite arguments except
10278 integer exponents below 8.
10279 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10280 (p3): New object.
10281 (__ieee754_powl): Use __powl_helper for finite arguments except
10282 integer exponents below 8.
10283 * math/libm-test.inc (pow_test): Add more tests and enable some
10284 previously disabled tests.
10285 * sysdeps/i386/fpu/libm-test-ulps: Update.
10286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10287
0817d63d
SP
102882012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10289 Carlos O'Donell <carlos_odonell@mentor.com>
10290
10291 * nss/makedb.c (is_prime): Assert that input is odd and greater
10292 than 4. Note that fact in a comment too.
10293 (next_prime): Add 4 to input.
10294
de2fd463
SP
102952012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10296
10297 [BZ #11741]
10298 * libio/Makefile (tests): Add test case tst-fwrite-error.
10299 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10300 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10301 * libio/tst-fwrite-error.c: New test case.
10302
c515fb51
L
103032012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10304
10305 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10306 before casting to void *.
10307 * include/libc-internal.h (__pointer_type): New macro.
10308 (__integer_if_pointer_type_sub): Likewise.
10309 (__integer_if_pointer_type): Likewise.
10310 (cast_to_integer): Likewise.
10311 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10312 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10313 before casting to atomic64_t.
10314 (atomic_exchange_acq): Likewise.
10315 (__arch_exchange_and_add_body): Likewise.
10316 (__arch_add_body): Likewise.
10317 (atomic_add_negative): Likewise.
10318 (atomic_add_zero): Likewise.
10319
4cf77aa9
JM
103202012-11-26 Joseph Myers <joseph@codesourcery.com>
10321
10322 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10323 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10324 (add_fdes): Likewise.
10325 (linear_search_fdes): Likewise.
10326 (binary_search_unencoded_fdes): Likewise.
10327
d260b3b4
AS
103282012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10329
10330 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10331
67060746
AC
103322012-11-24 Adam Conrad <adconrad@0c3.net>
10333
10334 * configure.in: Autodetect C++ header directories.
10335 * configure: Regenerated.
10336
800938a1
MF
103372012-11-23 Mike Frysinger <vapier@gentoo.org>
10338
10339 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10340
4e6e34e6
AS
103412012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10342
10343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10344
7c7feb47
JM
103452012-11-22 Joseph Myers <joseph@codesourcery.com>
10346
7184dcdf
JM
10347 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10348 LDBL_MANT_DIG == 106]: Disable some tests.
10349 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10350 Likewise.
10351 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10352 Likewise.
10353
0a42601f
JM
10354 [BZ #14871]
10355 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10356 input for small inputs. Return +/- pi/2 for large inputs.
10357 * math/libm-test.inc (atan_test): Add more tests.
10358
79c9b9fe
JM
10359 * sysdeps/generic/unwind-dw2-fde-glibc.c
10360 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10361 __attribute__ ((unused)).
10362
c60d3bf2
JM
10363 [BZ #14645]
10364 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10365 x * y if x and y are nonzero and z is zero.
10366
ef1e0867
JM
10367 [BZ #14811]
10368 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10369 nonzero exponents with absolute value below 0x1p-117 to +/-
10370 0x1p-117.
10371
1468ded3
JM
10372 [BZ #14869]
10373 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10374 up arguments below 2**-450, not just those below 2**-500.
10375 * math/libm-test.inc (hypot_test): Add another test.
10376
8e27e3cc
JM
10377 [BZ #14868]
10378 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10379 Return a+b for ratio over 2**120, not 2**60.
10380 * math/libm-test.inc (hypot_test): Add another test.
10381
c9c0279b
JM
10382 * math/libm-test.inc (clog_test): Use
10383 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10384 (clog10_test): Likewise.
10385
7c7feb47
JM
10386 [BZ #6778]
10387 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10388
fff1530e
AS
103892012-11-22 Andreas Schwab <schwab@suse.de>
10390
10391 * sysdeps/i386/fpu/libm-test-ulps: Update.
10392
94558d30
PT
103932012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10394
10395 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10396 printf output with newline.
10397
7e1be741
L
103982012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10399
6bfea974
L
10400 [BZ #14865]
10401 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10402 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10403 -z nodlopen, -z initfirst and -z execstack support.
10404 * configure: Regenerated.
10405
7e1be741
L
10406 * elf/elf.h (DF_1_NODIRECT): New macro.
10407 (DF_1_IGNMULDEF): Likewise.
10408 (DF_1_NOKSYMS): Likewise.
10409 (DF_1_NOHDR): Likewise.
10410 (DF_1_EDITED): Likewise.
10411 (DF_1_NORELOC): Likewise.
10412 (DF_1_SYMINTPOSE): Likewise.
10413 (DF_1_GLOBAUDIT): Likewise.
10414 (DF_1_SINGLETON): Likewise.
10415 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10416 DT_1_SUPPORTED_MASK bits.
10417 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10418
105ce2ce
CD
104192012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10420
10421 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10422
123be9de
TS
104232012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10424
d072f3f7
TS
10425 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10426 macro.
10427
123be9de
TS
10428 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10429 (sendmmsg): Move declarations...
10430 * socket/sys/socket.h: ... here.
10431 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10432 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10433 include it from...
10434 * socket/recvmmsg.c: ... this new file.
10435 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10436 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10437 definition of __sendmmsg hidden.
10438 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10439 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10440 Move ENOSYS stub into and include it from...
10441 * socket/sendmmsg.c: ... this new file.
10442 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10443 (sysdep_routines): Move recvmmsg and sendmmsg...
10444 * socket/Makefile (routines): ... here.
10445 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10446 (GLIBC_PRIVATE): Add __sendmmsg.
10447 * include/sys/socket.h (__sendmmsg): Add declarations.
10448 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10449 sendmmsg.
10450
cf9a5d18
JM
104512012-11-20 Joseph Myers <joseph@codesourcery.com>
10452
10453 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10454 variable I1 with __attribute__ ((unused)).
10455 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10456
ecd4caf9
JM
104572012-11-19 Joseph Myers <joseph@codesourcery.com>
10458
be14d48f
JM
10459 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10460 DUMMY variables with __attribute__ ((unused)).
10461
ecd4caf9
JM
10462 * bits/byteswap.h: Include <bits/types.h>.
10463 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10464
986cab95
PT
104652012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10466
10467 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10468 string_t. Do not manually set errno.
10469 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10470 length with __strnlen. Make sure to both set errno and return it on
10471 failure.
10472
6d33cc9d
DM
104732012-11-19 David S. Miller <davem@davemloft.net>
10474
10475 With help from Joseph Myers.
10476 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10477 very large arguments properly.
10478 * math/libm-test.inc (atan_test): New tests.
10479 (atan2_test): New tests.
10480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10482
ee663277
JM
104832012-11-19 Joseph Myers <joseph@codesourcery.com>
10484
877f2d8e
JM
10485 [BZ #14856]
10486 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10487 Define to 3.
10488
116fc08a
JM
10489 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10490 [POSIX] (EADDRNOTAVAIL): Likewise.
10491 [POSIX] (EAFNOSUPPORT): Likewise.
10492 [POSIX] (EALREADY): Likewise.
10493 [POSIX] (ECONNABORTED): Likewise.
10494 [POSIX] (ECONNREFUSED): Likewise.
10495 [POSIX] (ECONNRESET): Likewise.
10496 [POSIX] (EDESTADDRREQ): Likewise.
10497 [POSIX] (EDQUOT): Likewise.
10498 [POSIX] (EHOSTUNREACH): Likewise.
10499 [POSIX] (EIDRM): Likewise.
10500 [POSIX] (EISCONN): Likewise.
10501 [POSIX] (ELOOP): Likewise.
10502 [POSIX] (EMULTIHOP): Likewise.
10503 [POSIX] (ENETDOWN): Likewise.
10504 [POSIX] (ENETUNREACH): Likewise.
10505 [POSIX] (ENOBUFS): Likewise.
10506 [POSIX] (ENODATA): Likewise.
10507 [POSIX] (ENOLINK): Likewise.
10508 [POSIX] (ENOMSG): Likewise.
10509 [POSIX] (ENOPROTOOPT): Likewise.
10510 [POSIX] (ENOSR): Likewise.
10511 [POSIX] (ENOSTR): Likewise.
10512 [POSIX] (ENOTCONN): Likewise.
10513 [POSIX] (ENOTSOCK): Likewise.
10514 [POSIX] (EOPNOTSUPP): Likewise.
10515 [POSIX] (EOVERFLOW): Likewise.
10516 [POSIX] (EPROTO): Likewise.
10517 [POSIX] (EPROTONOSUPPORT): Likewise.
10518 [POSIX] (EPROTOTYPE): Likewise.
10519 [POSIX] (ESTALE): Likewise.
10520 [POSIX] (ETIME): Likewise.
10521 [POSIX] (ETXTBSY): Likewise.
10522 [POSIX] (EWOULDBLOCK): Likewise.
10523 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10524 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10525 [POSIX] (SEEK_CUR): Likewise.
10526 [POSIX] (SEEK_END): Likewise.
10527 [POSIX || UNIX98] (mode_t): Do not require.
10528 [POSIX] (off_t): Likewise.
10529 [POSIX] (pid_t): Likewise.
10530 [POSIX] (sys/stat.h): Do not allow header.
10531 [POSIX] (unistd.h): Likewise.
10532 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10533 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10534 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10535 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10536 require.
10537 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10538 sigevent): Specify elements.
10539 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10540 entry.
10541 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10542 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10543
a483863f
JM
10544 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10545 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10546 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10547 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10548 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10549 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10550 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10551 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10552 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10553 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10554 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10555 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10556 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10557 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10558 Likewise.
10559 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10560 Likewise.
10561 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10562 Likewise.
10563 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10564 Likewise.
10565 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10566 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10567 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10568 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10569 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10570 Specify lower bound on value.
10571 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10572 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10573 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10574 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10575 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10576 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10577 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10578 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10579 value.
10580 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10581 as optional.
10582 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10583 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10584 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10585 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10586 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10587 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10588 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10589 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10590 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10591 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10592 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10593 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10594 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10595 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10596 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10597 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10598 entry.
10599 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10600 optional.
10601 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10602 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10603 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10604 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10605 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10606 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10607 Likewise.
10608 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10609 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10610 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10611 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10612 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10613 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10614 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10615 as optional.
10616 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10617 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10618 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10619 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10620 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10621 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10622 specify as optional.
10623 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10624 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10625 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10626 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10627 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10628 [XPG3] (NL_LANGMAX): Likewise.
10629 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10630 [POSIX || XPG3] (NL_NMAX): Likewise.
10631 [POSIX || XPG3] (NL_SETMAX): Likewise.
10632 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10633 [XPG3] (NZERO): Likewise.
10634 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10635 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10636 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10637 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10638 (REG_ERANGE): Expect.
10639 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10640 optional-constant.
10641 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10642 Use (void) in prototype.
10643 [POSIX] (*_t): Allow.
10644 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10645 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10646 (WRDE_BADVAL): Expect.
10647
5ba924e3
JM
10648 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10649 expect.
10650 [XPG3 || XPG4] (O_RSYNC): Likewise.
10651 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10652 Likewise.
10653 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10654 [XPG3 || XPG4] (sigqueue): Likewise.
10655 [XPG3 || XPG4] (sigtimedwait): Likewise.
10656 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10657 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10658 [XPG3 || XPG4] (vsnprintf): Likewise.
10659 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10660 Likewise.
10661 [XPG3 || XPG4] (blksize_t): Likewise.
10662 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10663 Likewise.
10664 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10665 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10666 [XPG3 || XPG4] (struct itimerspec): Likewise.
10667 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10668 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10669 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10670 [XPG3 || XPG4] (clockid_t): Likewise.
10671 [XPG3 || XPG4] (timer_t): Likewise.
10672 [XPG3 || XPG4] (clock_getres): Likewise.
10673 [XPG3 || XPG4] (clock_gettime): Likewise.
10674 [XPG3 || XPG4] (clock_settime): Likewise.
10675 [XPG3 || XPG4] (nanosleep): Likewise.
10676 [XPG3 || XPG4] (timer_create): Likewise.
10677 [XPG3 || XPG4] (timer_delete): Likewise.
10678 [XPG3 || XPG4] (timer_gettime): Likewise.
10679 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10680 [XPG3 || XPG4] (timer_settime): Likewise.
10681 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10682 [XPG3 || XPG4] (getlogin_r): Likewise.
10683 [XPG3 || XPG4] (pread): Likewise.
10684 [XPG3 || XPG4] (pthread_atfork): Likewise.
10685 [XPG3 || XPG4] (pwrite): Likewise.
10686
ee663277
JM
10687 [BZ #14835]
10688 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10689 <bits/siginfo.h>.
10690
942caa16
PT
106912012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10692
e19af380
PT
10693 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10694 finalizing MALLSTREAM.
10695
942caa16
PT
10696 * sysdeps/mach/hurd/syncfs.c: New file.
10697
cfde9b46
SP
106982012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10699
10700 [BZ #14719]
10701 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10702 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10703 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10704 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10705 (_nss_dns_gethostbyname4_r): Likewise.
10706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10707 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10708
f6da27e5
PH
107092012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10710
10711 [BZ #13763]
10712 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10713
6665d4a2
SM
107142012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10715
1f51ee92
SM
10716 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10717 * elf/cache.c (print_entry): Print ",AArch64" for
10718 FLAG_AARCH64_LIB64
10719
6665d4a2
SM
10720 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10721 * elf/cache.c (print_entry): Print ",hard-float" for
10722 FLAG_ARM_LIBHF.
10723
05b227bd
DM
107242012-11-18 David S. Miller <davem@davemloft.net>
10725
10726 With help from Joseph Myers.
10727 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10728 cutoff to 2**-13.
10729 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10730 cutoff to 2**-25.
10731 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10732 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10733 small.
10734 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10735 * math/libm-test.inc (y0_test): New tests.
10736 (y1_test): New tests.
10737 * sysdeps/i386/fpu/libm-test-ulps: Update.
10738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10740
786b0b67
AS
107412012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10742
10743 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10744 64-bit targets.
10745 * configure: Regenerated.
10746
8e18b86d
DM
107472012-11-17 David S. Miller <davem@davemloft.net>
10748
10749 [BZ #14811]
10750 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10751 nonzero exponents with absolute value below 0x1p-128 to +/-
10752 0x1p-128.
10753
531f1ae0
JM
107542012-11-17 Joseph Myers <joseph@codesourcery.com>
10755
12df29e2
JM
10756 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10757
150dc1a0
JM
10758 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10759
531f1ae0
JM
10760 * posix/getconf-speclist.c: New file.
10761 * posix/posix-envs.def: Likewise.
10762 * posix/confstr.c (START_ENV_GROUP): New macro.
10763 (END_ENV_GROUP): Likewise.
10764 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10765 (KNOWN_PRESENT_ENV_STRING): Likewise.
10766 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10767 (UNKNOWN_ENVIRONMENT): Likewise.
10768 (confstr): Include posix-envs.def instead of handling
10769 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10770 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10771 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10772 (END_ENV_GROUP): Likewise.
10773 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10774 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10775 (UNKNOWN_ENVIRONMENT): Likewise.
10776 (__sysconf): Include posix-envs.def instead of handling associated
10777 cases directly here.
10778 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10779 preprocessing getconf-speclist.c rather than running getconf or
10780 generating empty file.
10781
a93f9cbc
PT
107822012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10783
10784 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10785
d64d9f87
AL
107862012-11-16 Andrej Lajovic <natrij@gmail.com>
10787
10788 [BZ #14672]
10789 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10790
447885eb
DM
107912012-11-16 David S. Miller <davem@davemloft.net>
10792
10793 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10794 smaller than LDBL_EPSILON/2.0L, just return xm1.
10795
bcbf9830
L
107962012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10797
10798 * elf/tst-array1.c (init): Set constructor priority to 1000.
10799 (fini): Set destructor priority to 1000.
10800 * elf/tst-array2dep.c: Likewise.
10801
2b766585
SP
108022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10803
10804 [BZ #11741]
10805 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10806 (_IO_new_file_xsputn): Also return EOF if none of the input
10807 data was written when overflow failed.
10808 * libio/iopadn.c (_IO_padn): Likewise.
10809 * libio/iowpadn.c (_IO_wpadn): Likewise.
10810 * stdio-common/tst-put-error.c: Add copyright notice.
10811 (do_test): Add case for printing padded string.
10812 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10813 _IO_padn returned error.
10814 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10815 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10816 return EOF.
10817
b1848fde
SP
108182012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10819
10820 * libio/libioP.h: Add comment note that the references to C++
10821 bits are now obsolete.
10822
2fd89785
MS
108232012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10824
10825 * math/libm-test.inc (check_complex): Use asprintf.
10826
e3ea5409
JM
108272012-11-14 Joseph Myers <joseph@codesourcery.com>
10828
10829 * debug/pcprofiledump.c (print_version): Update copyright year.
10830 * malloc/memusagestat.c (print_version): Likewise.
10831
2e64d265
L
108322012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10833
10834 [BZ #14831]
10835 * elf/Makefile (tests): Add tst-audit8.
10836 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10837 ($(objpfx)tst-audit8.out): New target.
10838 (tst-audit8-ENV): New variable.
10839 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10840 audit if l_reloc_result is NULL.
10841 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10842 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10843 * elf/tst-audit8.c: New file.
10844
c485e4d2
MS
108452012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10846
10847 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10848 * misc/Makefile (CFLAGS-select.c): Define.
10849 * posix/Makefile (CFLAGS-pause.c): Define.
10850
3a0d900a
DM
108512012-11-13 David S. Miller <davem@davemloft.net>
10852
10853 * crypt/Makefile: Move test targets after toplevel Rules
10854 inclusion. Grab any necessary sysdep routines when linking.
10855 * crypt/md5.c (md5_process_block): Remove define, we will always
10856 name it __md5_process_block.
10857 (md5_finish_ctx): Update md5_process_block call.
10858 (md5_stream): Likewise.
10859 (md5_process_bytes): Likewise.
10860 (md5_process_block): Rename to __md5_process_block and move to ...
10861 * crypt/md5-block.c: ... here.
10862 * crypt/sha256.c (sha256_process_block): Move to ...
10863 * crypt/sha256-block.c: ... here.
10864 * crypt/sha512.c (sha512_process_block): Move to ...
10865 * crypt/sha512-block.c: ... here.
10866 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10867 path.
10868 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10869 * sysdeps/sparc/sparc64/multiarch/Makefile
10870 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10871 crypt subdir.
10872 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10873 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10874 multiarch changes.
10875 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10876 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10877 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10878 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10879 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10880 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10881 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10882 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10883 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10884 file.
10885 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10886 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10887 file.
10888 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10889
8ca89318
JM
108902012-11-13 Joseph Myers <joseph@codesourcery.com>
10891
e27d476a
JM
10892 * timezone/tzselect.ksh: Update from tzcode git revision
10893 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10894 * timezone/zdump.c: Likewise.
10895 * timezone/zic.c: Likewise.
10896 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10897 in TZVERSION setting, not $(PKGVERSION).
10898 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10899 REPORT_BUGS_TO settings.
10900
8ca89318
JM
10901 [BZ #14838]
10902 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10903 macro.
10904
47594329
MS
109052012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10906
10907 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10908 detection to immediately after _FP_ROUND().
10909 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10910 bits are 0.
10911
640ac3f1
DM
109122012-11-11 David S. Miller <davem@davemloft.net>
10913
10914 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10915 inttypes.h
10916 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10917 __close rather than their public counterparts.
10918
3d2577bb
JM
109192012-11-10 Joseph Myers <joseph@codesourcery.com>
10920
10921 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10922 file.
10923 [UNIX98] (sem_timedwait): Do not expect.
10924 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10925 [XPG4 || UNIX98] (sockatmark): Do not expect.
10926 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10927 (clock_getcpuclockid): Do not expect.
10928 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10929 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10930 Do not expect.
10931 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10932 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10933 [UNIX98] (vwscanf): Likewise.
10934 [UNIX98] (vswscanf): Likewise.
10935
fb1ae1ee
JM
109362012-11-09 Joseph Myers <joseph@codesourcery.com>
10937
9ec6f8bd
JM
10938 * timezone/version.h: Remove file.
10939 * timezone/README: Do not refer to version.h.
10940 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10941 $(objpfx)version.h.
10942 ($(objpfx)zdump.o): Likewise.
c3f81911 10943 ($(objpfx)version.h): New target.
9ec6f8bd 10944
0aa8f8a1
JM
10945 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10946 2012i.
10947 * timezone/README: Don't mention modification to tzselect.ksh.
10948 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10949 work on unmodified tzselect.ksh. Substitute version numbers in
10950 tzselect.ksh.
10951
4e87147f
JM
10952 * Makefile (format-me): Remove.
10953 (INSTALL): Adjust indentation. Use commands directly instead of
10954 using $(format-me).
10955
8b748aed
JM
10956 * aclocal.m4 (ACX_PKGVERSION): New macro.
10957 (ACX_BUGURL): Likewise.
10958 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10959 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10960 (REPORT_BUGS_TO): Likewise.
10961 * configure: Regenerated.
10962 * config.h.in (PKGVERSION): New macro.
10963 (REPORT_BUGS_TO): Likewise.
10964 * config.make.in (PKGVERSION): New variable.
10965 (PKGVERSION_TEXI): Likewise.
10966 (REPORT_BUGS_TO): Likewise.
10967 (REPORT_BUGS_TEXI): Likewise.
10968 * Makefile (format-me): Use -I$(common-objpfx)manual.
10969 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10970 ($(common-objpfx)manual/%): New target.
10971 (manual/%): Remove target.
10972 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10973 (print_version): Use PKGVERSION.
10974 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10975 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10976 and REPORT_BUGS_TO.
10977 ($(objpfx)xtrace): Likewise.
10978 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10979 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10980 (print_version): Use PKGVERSION.
10981 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10982 (do_version): Use PKGVERSION.
10983 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10984 REPORT_BUGS_TO.
10985 (common-ldd-rewrite): Likewise.
10986 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10987 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10988 (print_version): Use PKGVERSION.
10989 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10990 * elf/pldd.c (argp_program_bug_address): Remove variable.
10991 (more_help): New function.
10992 (argp): Use more_help.
10993 (print_version): Use PKGVERSION.
10994 * elf/sln.c (main): Use PKGVERSION.
10995 (usage): Use REPORT_BUGS_TO.
10996 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10997 (top level): Use PKGVERSION.
10998 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10999 (print_version): Use PKGVERSION.
11000 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11001 (print_version): Use PKGVERSION.
11002 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11003 (print_version): Use PKGVERSION.
11004 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11005 (print_version): Use PKGVERSION.
11006 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11007 (print_version): Use PKGVERSION.
11008 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11009 (print_version): Use PKGVERSION.
11010 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11011 and BUGURL.
11012 ($(objpfx)memusage): Likewise.
11013 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11014 (do_version): Use PKGVERSION.
11015 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11016 (print_version): Use PKGVERSION.
11017 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11018 ($PKGVERSION): New variable.
11019 ($REPORT_BUGS_TO): Likewise.
11020 (usage): Use $REPORT_BUGS_TO.
11021 (top level): Use $PKGVERSION.
11022 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11023 ($(objpfx)pkgvers.texi): New rule.
11024 ($(objpfx)stamp-pkgvers): Likewise.
11025 * manual/install.texi: Include pkgvers.texi.
11026 (--with-pkgversion): Document new configure option.
11027 (--with-bugurl): Likewise.
11028 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11029 than necessarily for this particular distribution. Use
11030 REPORT_BUGS_TO for where to report bugs.
11031 * INSTALL: Regenerated.
11032 * manual/libc.texinfo: Include pkgvers.texi.
11033 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11034 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11035 (print_version): Use PKGVERSION.
11036 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11037 (print_version): Use PKGVERSION.
11038 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11039 (print_version): Use PKGVERSION.
11040 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11041 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11042 macro.
11043 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11044 (print_version): Use PKGVERSION.
11045 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11046 (print_version): Use PKGVERSION.
11047 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11048 and PKGVERSION.
11049
92e4b6a9
JM
11050 * timezone/checktab.awk: Update from tzcode 2012i.
11051 * timezone/ialloc.c: Likewise.
11052 * timezone/private.h: Likewise.
11053 * timezone/scheck.c: Likewise.
11054 * timezone/tzfile.h: Likewise.
11055 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11056 (TZVERSION): Hardcode tzcode version number.
11057 * timezone/zdump.c: Update from tzcode 2012i.
11058 * timezone/zic.c: Likewise.
11059 * timezone/version.h: New file.
11060 * timezone/README: Describe version.h. Update upstream location.
11061
9bde902c
JM
11062 [BZ #14824]
11063 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11064 (mktemp): Enable declaration.
11065 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11067 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11069 Likewise.
11070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11071 Likewise.
11072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11073 Likewise.
11074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11075 Likewise.
11076 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11077 Likewise.
11078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11079 Likewise.
11080
fb1ae1ee
JM
11081 [BZ #14821]
11082 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11083 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11084 for copies of such integer values.
11085 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11086 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11087
2c1adbcb
AJ
110882012-11-09 Andreas Jaeger <aj@suse.de>
11089
11090 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11091 definitions and declarations that are provided by
11092 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11093
d0f8457e
AK
110942012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11095
3a235abb 11096 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11097 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11098 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11099 definition.
11100
57241e26
MS
111012012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11102
11103 * elf/elf.h: Update comment before AArch64 relocations.
11104
60e8270d
DM
111052012-11-07 David S. Miller <davem@davemloft.net>
11106
11107 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11108 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11109 (__start_context): Declare.
11110 (__makecontext_ret): Delete.
11111 (__makecontext): Hook up __start_context instead of
11112 __makecontext_ret.
11113 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11114 (sysdep_routines): Add __start_context when in stdlib.
11115
0fbb0fbc
JM
111162012-11-07 Joseph Myers <joseph@codesourcery.com>
11117
11118 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11119 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11120 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11121 hardcoded "nm".
11122 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11123 (READELF): New variable. Use it instead of hardcoded "readelf".
11124
eb48db7e
L
111252012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11126
11127 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11128 * sysdeps/x86/Makefile: Here.
11129 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11130 * sysdeps/x86/tst-xmmymm.sh: This.
11131
05bcf62a
JM
111322012-11-07 Joseph Myers <joseph@codesourcery.com>
11133
c4b6cf53
JM
11134 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11135 expectations.
11136 [UNIX98] (pthread_barrier_t): Do not expect.
11137 [UNIX98] (pthread_barrierattr_t): Likewise.
11138 [UNIX98] (pthread_spinlock_t): Likewise.
11139 [UNIX98] (pthread_barrier_destroy): Likewise.
11140 [UNIX98] (pthread_barrier_init): Likewise.
11141 [UNIX98] (pthread_barrier_wait): Likewise.
11142 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11143 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11144 [UNIX98] (pthread_barrierattr_init): Likewise.
11145 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11146 [UNIX98] (pthread_getcpuclockid): Likewise.
11147 [UNIX98] (pthread_mutex_timedlock): Likewise.
11148 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11149 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11150 [UNIX98] (pthread_sigmask): Likewise.
11151 [UNIX98] (pthread_spin_destroy): Likewise.
11152 [UNIX98] (pthread_spin_init): Likewise.
11153 [UNIX98] (pthread_spin_lock): Likewise.
11154 [UNIX98] (pthread_spin_trylock): Likewise.
11155 [UNIX98] (pthread_spin_unlock): Likewise.
11156 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11157 Do not expect.
11158 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11159 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11160 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11161 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11162 [XPG3 || XPG4] (pthread_key_t): Likewise.
11163 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11164 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11165 [XPG3 || XPG4] (pthread_once_t): Likewise.
11166 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11167 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11168 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11169 [XPG3 || XPG4] (pthread_t): Likewise.
11170
cbe6e120
JM
11171 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11172 not expect.
11173 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11174
1b126443
JM
11175 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11176 Change function return type to int.
11177
b961a573
JM
11178 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11179 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11180 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11181 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11182 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11183 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11184 [!POSIX] (posix_madvise): Likewise.
11185 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11186 && !UNIX98].
11187 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11188 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11189 (mode_t): Likewise.
11190 (posix_mem_offset): Likewise.
11191 (posix_typed_mem_get_info): Likewise.
11192 (posix_typed_mem_open): Likewise.
11193
9e188909
JM
11194 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11195 Change condition to [XOPEN2K8].
11196
05bcf62a
JM
11197 * conform/conformtest.pl: Preprocess allow-header data with -x c
11198 instead of from stdin.
11199 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11200 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11201 [C99-based standards] (cerfc): Likewise.
11202 [C99-based standards] (cexp2): Likewise.
11203 [C99-based standards] (cexpm1): Likewise.
11204 [C99-based standards] (clog10): Likewise.
11205 [C99-based standards] (clog1p): Likewise.
11206 [C99-based standards] (clog2): Likewise.
11207 [C99-based standards] (clgamma): Likewise.
11208 [C99-based standards] (ctgamma): Likewise.
11209 [C99-based standards] (cerff): Likewise.
11210 [C99-based standards] (cerfcf): Likewise.
11211 [C99-based standards] (cexp2f): Likewise.
11212 [C99-based standards] (cexpm1f): Likewise.
11213 [C99-based standards] (clog10f): Likewise.
11214 [C99-based standards] (clog1pf): Likewise.
11215 [C99-based standards] (clog2f): Likewise.
11216 [C99-based standards] (clgammaf): Likewise.
11217 [C99-based standards] (ctgammaf): Likewise.
11218 [C99-based standards] (cerfl): Likewise.
11219 [C99-based standards] (cerfcl): Likewise.
11220 [C99-based standards] (cexp2l): Likewise.
11221 [C99-based standards] (cexpm1l): Likewise.
11222 [C99-based standards] (clog10l): Likewise.
11223 [C99-based standards] (clog1pl): Likewise.
11224 [C99-based standards] (clog2l): Likewise.
11225 [C99-based standards] (clgammal): Likewise.
11226 [C99-based standards] (ctgammal): Likewise.
11227 * conform/data/inttypes.h-data [C99-based standards]: Include
11228 stdint.h-data. Remove all expectations for stdint.h contents.
11229 [C99-based standards] (PRI*): Do not allow.
11230 [C99-based standards] (SCN*): Likewise.
11231 [C99-based standards] (*_t): Likewise.
11232 [C99-based-standards] (PRId8): Expect macro.
11233 [C99-based-standards] (PRIi8): Likewise.
11234 [C99-based-standards] (PRIo8): Likewise.
11235 [C99-based-standards] (PRIu8): Likewise.
11236 [C99-based-standards] (PRIx8): Likewise.
11237 [C99-based-standards] (PRIX8): Likewise.
11238 [C99-based-standards] (SCNd8): Likewise.
11239 [C99-based-standards] (SCNi8): Likewise.
11240 [C99-based-standards] (SCNo8): Likewise.
11241 [C99-based-standards] (SCNu8): Likewise.
11242 [C99-based-standards] (SCNx8): Likewise.
11243 [C99-based-standards] (PRIdLEAST8): Likewise.
11244 [C99-based-standards] (PRIiLEAST8): Likewise.
11245 [C99-based-standards] (PRIoLEAST8): Likewise.
11246 [C99-based-standards] (PRIuLEAST8): Likewise.
11247 [C99-based-standards] (PRIxLEAST8): Likewise.
11248 [C99-based-standards] (PRIXLEAST8): Likewise.
11249 [C99-based-standards] (SCNdLEAST8): Likewise.
11250 [C99-based-standards] (SCNiLEAST8): Likewise.
11251 [C99-based-standards] (SCNoLEAST8): Likewise.
11252 [C99-based-standards] (SCNuLEAST8): Likewise.
11253 [C99-based-standards] (SCNxLEAST8): Likewise.
11254 [C99-based-standards] (PRIdFAST8): Likewise.
11255 [C99-based-standards] (PRIiFAST8): Likewise.
11256 [C99-based-standards] (PRIoFAST8): Likewise.
11257 [C99-based-standards] (PRIuFAST8): Likewise.
11258 [C99-based-standards] (PRIxFAST8): Likewise.
11259 [C99-based-standards] (PRIXFAST8): Likewise.
11260 [C99-based-standards] (SCNdFAST8): Likewise.
11261 [C99-based-standards] (SCNiFAST8): Likewise.
11262 [C99-based-standards] (SCNoFAST8): Likewise.
11263 [C99-based-standards] (SCNuFAST8): Likewise.
11264 [C99-based-standards] (SCNxFAST8): Likewise.
11265 [C99-based-standards] (PRId16): Likewise.
11266 [C99-based-standards] (PRIi16): Likewise.
11267 [C99-based-standards] (PRIo16): Likewise.
11268 [C99-based-standards] (PRIu16): Likewise.
11269 [C99-based-standards] (PRIx16): Likewise.
11270 [C99-based-standards] (PRIX16): Likewise.
11271 [C99-based-standards] (SCNd16): Likewise.
11272 [C99-based-standards] (SCNi16): Likewise.
11273 [C99-based-standards] (SCNo16): Likewise.
11274 [C99-based-standards] (SCNu16): Likewise.
11275 [C99-based-standards] (SCNx16): Likewise.
11276 [C99-based-standards] (PRIdLEAST16): Likewise.
11277 [C99-based-standards] (PRIiLEAST16): Likewise.
11278 [C99-based-standards] (PRIoLEAST16): Likewise.
11279 [C99-based-standards] (PRIuLEAST16): Likewise.
11280 [C99-based-standards] (PRIxLEAST16): Likewise.
11281 [C99-based-standards] (PRIXLEAST16): Likewise.
11282 [C99-based-standards] (SCNdLEAST16): Likewise.
11283 [C99-based-standards] (SCNiLEAST16): Likewise.
11284 [C99-based-standards] (SCNoLEAST16): Likewise.
11285 [C99-based-standards] (SCNuLEAST16): Likewise.
11286 [C99-based-standards] (SCNxLEAST16): Likewise.
11287 [C99-based-standards] (PRIdFAST16): Likewise.
11288 [C99-based-standards] (PRIiFAST16): Likewise.
11289 [C99-based-standards] (PRIoFAST16): Likewise.
11290 [C99-based-standards] (PRIuFAST16): Likewise.
11291 [C99-based-standards] (PRIxFAST16): Likewise.
11292 [C99-based-standards] (PRIXFAST16): Likewise.
11293 [C99-based-standards] (SCNdFAST16): Likewise.
11294 [C99-based-standards] (SCNiFAST16): Likewise.
11295 [C99-based-standards] (SCNoFAST16): Likewise.
11296 [C99-based-standards] (SCNuFAST16): Likewise.
11297 [C99-based-standards] (SCNxFAST16): Likewise.
11298 [C99-based-standards] (PRId32): Likewise.
11299 [C99-based-standards] (PRIi32): Likewise.
11300 [C99-based-standards] (PRIo32): Likewise.
11301 [C99-based-standards] (PRIu32): Likewise.
11302 [C99-based-standards] (PRIx32): Likewise.
11303 [C99-based-standards] (PRIX32): Likewise.
11304 [C99-based-standards] (SCNd32): Likewise.
11305 [C99-based-standards] (SCNi32): Likewise.
11306 [C99-based-standards] (SCNo32): Likewise.
11307 [C99-based-standards] (SCNu32): Likewise.
11308 [C99-based-standards] (SCNx32): Likewise.
11309 [C99-based-standards] (PRIdLEAST32): Likewise.
11310 [C99-based-standards] (PRIiLEAST32): Likewise.
11311 [C99-based-standards] (PRIoLEAST32): Likewise.
11312 [C99-based-standards] (PRIuLEAST32): Likewise.
11313 [C99-based-standards] (PRIxLEAST32): Likewise.
11314 [C99-based-standards] (PRIXLEAST32): Likewise.
11315 [C99-based-standards] (SCNdLEAST32): Likewise.
11316 [C99-based-standards] (SCNiLEAST32): Likewise.
11317 [C99-based-standards] (SCNoLEAST32): Likewise.
11318 [C99-based-standards] (SCNuLEAST32): Likewise.
11319 [C99-based-standards] (SCNxLEAST32): Likewise.
11320 [C99-based-standards] (PRIdFAST32): Likewise.
11321 [C99-based-standards] (PRIiFAST32): Likewise.
11322 [C99-based-standards] (PRIoFAST32): Likewise.
11323 [C99-based-standards] (PRIuFAST32): Likewise.
11324 [C99-based-standards] (PRIxFAST32): Likewise.
11325 [C99-based-standards] (PRIXFAST32): Likewise.
11326 [C99-based-standards] (SCNdFAST32): Likewise.
11327 [C99-based-standards] (SCNiFAST32): Likewise.
11328 [C99-based-standards] (SCNoFAST32): Likewise.
11329 [C99-based-standards] (SCNuFAST32): Likewise.
11330 [C99-based-standards] (SCNxFAST32): Likewise.
11331 [C99-based-standards] (PRId64): Likewise.
11332 [C99-based-standards] (PRIi64): Likewise.
11333 [C99-based-standards] (PRIo64): Likewise.
11334 [C99-based-standards] (PRIu64): Likewise.
11335 [C99-based-standards] (PRIx64): Likewise.
11336 [C99-based-standards] (PRIX64): Likewise.
11337 [C99-based-standards] (SCNd64): Likewise.
11338 [C99-based-standards] (SCNi64): Likewise.
11339 [C99-based-standards] (SCNo64): Likewise.
11340 [C99-based-standards] (SCNu64): Likewise.
11341 [C99-based-standards] (SCNx64): Likewise.
11342 [C99-based-standards] (PRIdLEAST64): Likewise.
11343 [C99-based-standards] (PRIiLEAST64): Likewise.
11344 [C99-based-standards] (PRIoLEAST64): Likewise.
11345 [C99-based-standards] (PRIuLEAST64): Likewise.
11346 [C99-based-standards] (PRIxLEAST64): Likewise.
11347 [C99-based-standards] (PRIXLEAST64): Likewise.
11348 [C99-based-standards] (SCNdLEAST64): Likewise.
11349 [C99-based-standards] (SCNiLEAST64): Likewise.
11350 [C99-based-standards] (SCNoLEAST64): Likewise.
11351 [C99-based-standards] (SCNuLEAST64): Likewise.
11352 [C99-based-standards] (SCNxLEAST64): Likewise.
11353 [C99-based-standards] (PRIdFAST64): Likewise.
11354 [C99-based-standards] (PRIiFAST64): Likewise.
11355 [C99-based-standards] (PRIoFAST64): Likewise.
11356 [C99-based-standards] (PRIuFAST64): Likewise.
11357 [C99-based-standards] (PRIxFAST64): Likewise.
11358 [C99-based-standards] (PRIXFAST64): Likewise.
11359 [C99-based-standards] (SCNdFAST64): Likewise.
11360 [C99-based-standards] (SCNiFAST64): Likewise.
11361 [C99-based-standards] (SCNoFAST64): Likewise.
11362 [C99-based-standards] (SCNuFAST64): Likewise.
11363 [C99-based-standards] (SCNxFAST64): Likewise.
11364 [C99-based-standards] (PRIdMAX): Likewise.
11365 [C99-based-standards] (PRIiMAX): Likewise.
11366 [C99-based-standards] (PRIoMAX): Likewise.
11367 [C99-based-standards] (PRIuMAX): Likewise.
11368 [C99-based-standards] (PRIxMAX): Likewise.
11369 [C99-based-standards] (PRIXMAX): Likewise.
11370 [C99-based-standards] (SCNdMAX): Likewise.
11371 [C99-based-standards] (SCNiMAX): Likewise.
11372 [C99-based-standards] (SCNoMAX): Likewise.
11373 [C99-based-standards] (SCNuMAX): Likewise.
11374 [C99-based-standards] (SCNxMAX): Likewise.
11375 [C99-based-standards] (PRIdPTR): Likewise.
11376 [C99-based-standards] (PRIiPTR): Likewise.
11377 [C99-based-standards] (PRIoPTR): Likewise.
11378 [C99-based-standards] (PRIuPTR): Likewise.
11379 [C99-based-standards] (PRIxPTR): Likewise.
11380 [C99-based-standards] (PRIXPTR): Likewise.
11381 [C99-based-standards] (SCNdPTR): Likewise.
11382 [C99-based-standards] (SCNiPTR): Likewise.
11383 [C99-based-standards] (SCNoPTR): Likewise.
11384 [C99-based-standards] (SCNuPTR): Likewise.
11385 [C99-based-standards] (SCNxPTR): Likewise.
11386 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11387 allow.
11388 * conform/data/stdint.h-data: Update comments to clarify
11389 requirements.
11390 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11391 type.
11392 [C99-based standards] (INT8_MAX): Likewise.
11393 [C99-based standards] (INT16_MIN): Likewise.
11394 [C99-based standards] (INT16_MAX): Likewise.
11395 [C99-based standards] (INT32_MIN): Likewise.
11396 [C99-based standards] (INT32_MAX): Likewise.
11397 [C99-based standards] (INT64_MIN): Likewise.
11398 [C99-based standards] (INT64_MAX): Likewise.
11399 [C99-based standards] (UINT8_MAX): Likewise.
11400 [C99-based standards] (UINT16_MAX): Likewise.
11401 [C99-based standards] (UINT32_MAX): Likewise.
11402 [C99-based standards] (UINT64_MAX): Likewise.
11403 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11404 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11405 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11406 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11407 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11408 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11409 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11410 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11411 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11412 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11413 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11414 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11415 [C99-based standards] (INT_FAST8_MIN): Likewise.
11416 [C99-based standards] (INT_FAST8_MAX): Likewise.
11417 [C99-based standards] (INT_FAST16_MIN): Likewise.
11418 [C99-based standards] (INT_FAST16_MAX): Likewise.
11419 [C99-based standards] (INT_FAST32_MIN): Likewise.
11420 [C99-based standards] (INT_FAST32_MAX): Likewise.
11421 [C99-based standards] (INT_FAST64_MIN): Likewise.
11422 [C99-based standards] (INT_FAST64_MAX): Likewise.
11423 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11424 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11425 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11426 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11427 [C99-based standards] (INTPTR_MIN): Likewise.
11428 [C99-based standards] (INTPTR_MAX): Likewise.
11429 [C99-based standards] (UINTPTR_MAX): Likewise.
11430 [C99-based standards] (INTMAX_MIN): Likewise.
11431 [C99-based standards] (INTMAX_MAX): Likewise.
11432 [C99-based standards] (UINTMAX_MAX): Likewise.
11433 [C99-based standards] (PTRDIFF_MIN): Likewise.
11434 [C99-based standards] (PTRDIFF_MAX): Likewise.
11435 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11436 [C99-based standards] (SIZE_MAX): Likewise.
11437 [C99-based standards] (WCHAR_MAX): Likewise.
11438 [C99-based standards] (WINT_MAX): Likewise.
11439 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11440 constraint on value.
11441 [C99-based standards] (WCHAR_MIN): Likewise.
11442 [C99-based standards] (WINT_MIN): Likewise.
11443 [C99-based standards] (*_t): Allow.
11444 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11445 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11446 Include math.h-data and complex.h-data. Remove all expectations
11447 of math.h and complex.h contents.
11448 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11449 at end of line.
11450 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11451 (struct tm): Expect tag.
11452 [C99-based-standards] (wcstof): Expect function.
11453 [C99-based-standards] (wcstold): Likewise.
11454 [C99-based-standards] (wcstoll): Likewise.
11455 [C99-based-standards] (wcstoull): Likewise.
11456 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11457 macro-int-constant. Specify type.
11458 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11459 constraint on value.
11460 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11461 Specify type.
11462 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11463 Specify value.
11464 [ISO C standards]: Do not allow headers.
11465 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11466 wcs[abcdefghijklmnopqrstuvwxyz]*.
11467 [ISO C standards] (*_t): Do not allow.
11468 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11469 Expect function.
11470 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11471 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11472 Specify type.
11473 [ISO C standards]: Do not allow headers.
11474 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11475 is[abcdefghijklmnopqrstuvwxyz]*.
11476 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11477 to[abcdefghijklmnopqrstuvwxyz]*.
11478 [ISO C standards] (*_t): Do not allow.
11479 * conform/data/stdalign.h-data: New file.
11480 * conform/data/stdbool.h-data: Likewise.
11481 * conform/data/stdnoreturn.h-data: Likewise.
11482
7514feb8
RM
114832012-11-07 Roland McGrath <roland@hack.frob.com>
11484
11485 [BZ #14815]
11486 * manual/filesys.texi (Directory Entries): Typo fix.
11487 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11488
19b2ecfc
MS
114892012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11490
11491 * elf/elf.h (EM_AARCH64): New macro.
11492 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11493 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11494 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11495 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11496 (R_AARCH64_TLSDESC): Likewise.
11497 (NT_ARM_TLS): Likewise.
11498 (NT_ARM_HW_BREAK): Likewise.
11499 (NT_ARM_HW_WATCH): Likewise.
11500
60e235ee
JM
115012012-11-07 Joseph Myers <joseph@codesourcery.com>
11502
11503 [BZ #14811]
11504 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11505 (__ieee754_powl): Saturate nonzero exponents with absolute value
11506 below 0x1p-79 to +/- 0x1p-79.
11507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11508 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11509 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11510 nonzero exponents with absolute value below 0x1p-32 to +/-
11511 0x1p-32.
11512 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11513 (__ieee754_powl): Saturate nonzero exponents with absolute value
11514 below 0x1p-79 to +/- 0x1p-79.
11515 * math/libm-test.inc (pow_test): Add more tests.
11516
0ab234b7
AK
115172012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11518
11519 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11520 _dl_s390_cap_flags with kernel. Increase string length.
11521 (_dl_s390_platforms): Add z196 and zEC12.
11522
45832f74
JM
115232012-11-07 Joseph Myers <joseph@codesourcery.com>
11524
11525 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11526 Change XOPEN21K to XOPEN2K.
11527
19218757
MK
115282012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11529
11530 * string/memmove.c: Use memcpy when possible.
11531
c5f45721
AJ
115322012-11-06 Andreas Jaeger <aj@suse.de>
11533
11534 * po/eo.po: Update from translation team.
11535
82477c28
JM
115362012-11-06 Joseph Myers <joseph@codesourcery.com>
11537
11538 [BZ #14793]
11539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11540 exponent and small x and y exponents, scale x or y up. Increase
11541 by 2 the exponent used in scaling up.
11542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11543 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11544 * math/libm-test.inc (fma_test): Add more tests.
11545 (fma_test_towardzero): Likewise.
11546 (fma_test_downward): Likewise.
11547 (fma_test_upward): Likewise.
11548
99252c8c
JM
115492012-11-05 Joseph Myers <joseph@codesourcery.com>
11550
acfa885f
JM
11551 [BZ #14805]
11552 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11553 fenv_t *.
11554
99252c8c
JM
11555 [BZ #14801]
11556 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11557 namespace for names of struct fields.
11558 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11559 fenv_t fields.
11560 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11561 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11562
d6d98dea
ST
115632012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11564
11565 [BZ #3665]
11566 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11567
e10bb107
TS
115682012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11569
11570 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11571 PTR_DEMANGLE.
11572
11573 [BZ #5246]
11574 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11575 PTR_DEMANGLE.
11576
a0c2940d
JM
115772012-11-04 Joseph Myers <joseph@codesourcery.com>
11578
11579 [BZ #14797]
11580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11581 definitely overflow as x * y not x * y + z.
11582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11583 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11584 * math/libm-test.inc (fma_test): Add more tests.
11585 (fma_test_towardzero): Likewise.
11586 (fma_test_downward): Likewise.
11587 (fma_test_upward): Likewise.
11588
b830319d
TS
115892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11590
11591 [BZ #157]
11592
11593 * include/stub-tag.h: Remove file.
11594 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11595 '#include' of it.
11596 * manual/maint.texi (Porting): Don't reference it.
11597 * Makerules ($(objpfx)stubs): Likewise.
11598 * dirent/closedir.c: Don't include <stub-tag.h>.
11599 * dirent/dirfd.c: Likewise.
11600 * dirent/fdopendir.c: Likewise.
11601 * dirent/getdents.c: Likewise.
11602 * dirent/getdents64.c: Likewise.
11603 * dirent/opendir.c: Likewise.
11604 * dirent/readdir.c: Likewise.
11605 * dirent/readdir64.c: Likewise.
11606 * dirent/readdir64_r.c: Likewise.
11607 * dirent/readdir_r.c: Likewise.
11608 * dirent/rewinddir.c: Likewise.
11609 * dirent/seekdir.c: Likewise.
11610 * dirent/telldir.c: Likewise.
11611 * gmon/profil.c: Likewise.
11612 * grp/setgroups.c: Likewise.
11613 * inet/if_index.c: Likewise.
11614 * io/access.c: Likewise.
11615 * io/chdir.c: Likewise.
11616 * io/chmod.c: Likewise.
11617 * io/chown.c: Likewise.
11618 * io/close.c: Likewise.
11619 * io/dup.c: Likewise.
11620 * io/dup2.c: Likewise.
11621 * io/dup3.c: Likewise.
11622 * io/euidaccess.c: Likewise.
11623 * io/faccessat.c: Likewise.
11624 * io/fchdir.c: Likewise.
11625 * io/fchmod.c: Likewise.
11626 * io/fchmodat.c: Likewise.
11627 * io/fchown.c: Likewise.
11628 * io/fchownat.c: Likewise.
11629 * io/fcntl.c: Likewise.
11630 * io/flock.c: Likewise.
11631 * io/fstatfs.c: Likewise.
11632 * io/fstatfs64.c: Likewise.
11633 * io/fstatvfs.c: Likewise.
11634 * io/fstatvfs64.c: Likewise.
11635 * io/futimens.c: Likewise.
11636 * io/fxstat.c: Likewise.
11637 * io/fxstat64.c: Likewise.
11638 * io/fxstatat.c: Likewise.
11639 * io/fxstatat64.c: Likewise.
11640 * io/getcwd.c: Likewise.
11641 * io/isatty.c: Likewise.
11642 * io/lchmod.c: Likewise.
11643 * io/lchown.c: Likewise.
11644 * io/link.c: Likewise.
11645 * io/linkat.c: Likewise.
11646 * io/lseek.c: Likewise.
11647 * io/lseek64.c: Likewise.
11648 * io/lxstat64.c: Likewise.
11649 * io/mkdir.c: Likewise.
11650 * io/mkdirat.c: Likewise.
11651 * io/mkfifo.c: Likewise.
11652 * io/mkfifoat.c: Likewise.
11653 * io/open.c: Likewise.
11654 * io/open64.c: Likewise.
11655 * io/openat.c: Likewise.
11656 * io/openat64.c: Likewise.
11657 * io/pipe.c: Likewise.
11658 * io/pipe2.c: Likewise.
11659 * io/poll.c: Likewise.
11660 * io/posix_fadvise.c: Likewise.
11661 * io/posix_fadvise64.c: Likewise.
11662 * io/posix_fallocate.c: Likewise.
11663 * io/posix_fallocate64.c: Likewise.
11664 * io/read.c: Likewise.
11665 * io/readlink.c: Likewise.
11666 * io/readlinkat.c: Likewise.
11667 * io/rmdir.c: Likewise.
11668 * io/sendfile.c: Likewise.
11669 * io/sendfile64.c: Likewise.
11670 * io/statfs.c: Likewise.
11671 * io/statfs64.c: Likewise.
11672 * io/statvfs.c: Likewise.
11673 * io/statvfs64.c: Likewise.
11674 * io/symlink.c: Likewise.
11675 * io/symlinkat.c: Likewise.
11676 * io/ttyname.c: Likewise.
11677 * io/ttyname_r.c: Likewise.
11678 * io/umask.c: Likewise.
11679 * io/unlink.c: Likewise.
11680 * io/unlinkat.c: Likewise.
11681 * io/utime.c: Likewise.
11682 * io/utimensat.c: Likewise.
11683 * io/write.c: Likewise.
11684 * io/xmknod.c: Likewise.
11685 * io/xmknodat.c: Likewise.
11686 * io/xstat.c: Likewise.
11687 * io/xstat64.c: Likewise.
11688 * login/getpt.c: Likewise.
11689 * login/grantpt.c: Likewise.
11690 * login/unlockpt.c: Likewise.
11691 * math/e_acoshl.c: Likewise.
11692 * math/e_acosl.c: Likewise.
11693 * math/e_asinl.c: Likewise.
11694 * math/e_atan2l.c: Likewise.
11695 * math/e_atanhl.c: Likewise.
11696 * math/e_coshl.c: Likewise.
11697 * math/e_expl.c: Likewise.
11698 * math/e_fmodl.c: Likewise.
11699 * math/e_gammal_r.c: Likewise.
11700 * math/e_hypotl.c: Likewise.
11701 * math/e_j0l.c: Likewise.
11702 * math/e_j1l.c: Likewise.
11703 * math/e_jnl.c: Likewise.
11704 * math/e_lgammal_r.c: Likewise.
11705 * math/e_log10l.c: Likewise.
11706 * math/e_log2l.c: Likewise.
11707 * math/e_logl.c: Likewise.
11708 * math/e_powl.c: Likewise.
11709 * math/e_rem_pio2l.c: Likewise.
11710 * math/e_sinhl.c: Likewise.
11711 * math/e_sqrtl.c: Likewise.
11712 * math/fclrexcpt.c: Likewise.
11713 * math/fedisblxcpt.c: Likewise.
11714 * math/feenablxcpt.c: Likewise.
11715 * math/fegetenv.c: Likewise.
11716 * math/fegetexcept.c: Likewise.
11717 * math/fegetround.c: Likewise.
11718 * math/feholdexcpt.c: Likewise.
11719 * math/fesetenv.c: Likewise.
11720 * math/fesetround.c: Likewise.
11721 * math/feupdateenv.c: Likewise.
11722 * math/fgetexcptflg.c: Likewise.
11723 * math/fraiseexcpt.c: Likewise.
11724 * math/fsetexcptflg.c: Likewise.
11725 * math/ftestexcept.c: Likewise.
11726 * math/k_cosl.c: Likewise.
11727 * math/k_rem_pio2l.c: Likewise.
11728 * math/k_sinl.c: Likewise.
11729 * math/k_tanl.c: Likewise.
11730 * math/s_asinhl.c: Likewise.
11731 * math/s_atanl.c: Likewise.
11732 * math/s_cbrtl.c: Likewise.
11733 * math/s_erfl.c: Likewise.
11734 * math/s_expm1l.c: Likewise.
11735 * math/s_log1pl.c: Likewise.
11736 * math/s_tanhl.c: Likewise.
11737 * misc/acct.c: Likewise.
11738 * misc/brk.c: Likewise.
11739 * misc/chflags.c: Likewise.
11740 * misc/chroot.c: Likewise.
11741 * misc/fchflags.c: Likewise.
11742 * misc/fgetxattr.c: Likewise.
11743 * misc/flistxattr.c: Likewise.
11744 * misc/fremovexattr.c: Likewise.
11745 * misc/fsetxattr.c: Likewise.
11746 * misc/fsync.c: Likewise.
11747 * misc/ftruncate.c: Likewise.
11748 * misc/futimes.c: Likewise.
11749 * misc/futimesat.c: Likewise.
11750 * misc/getdomain.c: Likewise.
11751 * misc/getdtsz.c: Likewise.
11752 * misc/gethostid.c: Likewise.
11753 * misc/gethostname.c: Likewise.
11754 * misc/getloadavg.c: Likewise.
11755 * misc/getpagesize.c: Likewise.
11756 * misc/getsysstats.c: Likewise.
11757 * misc/getxattr.c: Likewise.
11758 * misc/gtty.c: Likewise.
11759 * misc/ioctl.c: Likewise.
11760 * misc/lgetxattr.c: Likewise.
11761 * misc/listxattr.c: Likewise.
11762 * misc/llistxattr.c: Likewise.
11763 * misc/lremovexattr.c: Likewise.
11764 * misc/lsetxattr.c: Likewise.
11765 * misc/lutimes.c: Likewise.
11766 * misc/madvise.c: Likewise.
11767 * misc/mincore.c: Likewise.
11768 * misc/mlock.c: Likewise.
11769 * misc/mlockall.c: Likewise.
11770 * misc/mmap.c: Likewise.
11771 * misc/mprotect.c: Likewise.
11772 * misc/msync.c: Likewise.
11773 * misc/munlock.c: Likewise.
11774 * misc/munlockall.c: Likewise.
11775 * misc/munmap.c: Likewise.
11776 * misc/preadv.c: Likewise.
11777 * misc/preadv64.c: Likewise.
11778 * misc/ptrace.c: Likewise.
11779 * misc/pwritev.c: Likewise.
11780 * misc/pwritev64.c: Likewise.
11781 * misc/readv.c: Likewise.
11782 * misc/reboot.c: Likewise.
11783 * misc/remap_file_pages.c: Likewise.
11784 * misc/removexattr.c: Likewise.
11785 * misc/revoke.c: Likewise.
11786 * misc/select.c: Likewise.
11787 * misc/setdomain.c: Likewise.
11788 * misc/setegid.c: Likewise.
11789 * misc/seteuid.c: Likewise.
11790 * misc/sethostid.c: Likewise.
11791 * misc/sethostname.c: Likewise.
11792 * misc/setregid.c: Likewise.
11793 * misc/setreuid.c: Likewise.
11794 * misc/setxattr.c: Likewise.
11795 * misc/sstk.c: Likewise.
11796 * misc/stty.c: Likewise.
11797 * misc/swapoff.c: Likewise.
11798 * misc/swapon.c: Likewise.
11799 * misc/sync.c: Likewise.
11800 * misc/syncfs.c: Likewise.
11801 * misc/syscall.c: Likewise.
11802 * misc/truncate.c: Likewise.
11803 * misc/ualarm.c: Likewise.
11804 * misc/usleep.c: Likewise.
11805 * misc/ustat.c: Likewise.
11806 * misc/utimes.c: Likewise.
11807 * misc/vhangup.c: Likewise.
11808 * misc/writev.c: Likewise.
11809 * posix/_exit.c: Likewise.
11810 * posix/alarm.c: Likewise.
11811 * posix/execve.c: Likewise.
11812 * posix/fexecve.c: Likewise.
11813 * posix/fork.c: Likewise.
11814 * posix/fpathconf.c: Likewise.
11815 * posix/getaddrinfo.c: Likewise.
11816 * posix/getegid.c: Likewise.
11817 * posix/geteuid.c: Likewise.
11818 * posix/getgid.c: Likewise.
11819 * posix/getgroups.c: Likewise.
11820 * posix/getlogin.c: Likewise.
11821 * posix/getlogin_r.c: Likewise.
11822 * posix/getpgid.c: Likewise.
11823 * posix/getpid.c: Likewise.
11824 * posix/getppid.c: Likewise.
11825 * posix/getresgid.c: Likewise.
11826 * posix/getresuid.c: Likewise.
11827 * posix/getsid.c: Likewise.
11828 * posix/getuid.c: Likewise.
11829 * posix/glob64.c: Likewise.
11830 * posix/nanosleep.c: Likewise.
11831 * posix/pathconf.c: Likewise.
11832 * posix/pause.c: Likewise.
11833 * posix/posix_madvise.c: Likewise.
11834 * posix/pread.c: Likewise.
11835 * posix/pread64.c: Likewise.
11836 * posix/pwrite.c: Likewise.
11837 * posix/pwrite64.c: Likewise.
11838 * posix/sched_getaffinity.c: Likewise.
11839 * posix/sched_getp.c: Likewise.
11840 * posix/sched_gets.c: Likewise.
11841 * posix/sched_primax.c: Likewise.
11842 * posix/sched_primin.c: Likewise.
11843 * posix/sched_rr_gi.c: Likewise.
11844 * posix/sched_setaffinity.c: Likewise.
11845 * posix/sched_setp.c: Likewise.
11846 * posix/sched_sets.c: Likewise.
11847 * posix/sched_yield.c: Likewise.
11848 * posix/setgid.c: Likewise.
11849 * posix/setlogin.c: Likewise.
11850 * posix/setpgid.c: Likewise.
11851 * posix/setresgid.c: Likewise.
11852 * posix/setresuid.c: Likewise.
11853 * posix/setsid.c: Likewise.
11854 * posix/setuid.c: Likewise.
11855 * posix/sleep.c: Likewise.
11856 * posix/spawni.c: Likewise.
11857 * posix/sysconf.c: Likewise.
11858 * posix/times.c: Likewise.
11859 * posix/wait.c: Likewise.
11860 * posix/wait3.c: Likewise.
11861 * posix/wait4.c: Likewise.
11862 * posix/waitpid.c: Likewise.
11863 * resolv/gai_sigqueue.c: Likewise.
11864 * resource/getpriority.c: Likewise.
11865 * resource/getrlimit.c: Likewise.
11866 * resource/getrusage.c: Likewise.
11867 * resource/nice.c: Likewise.
11868 * resource/setpriority.c: Likewise.
11869 * resource/setrlimit.c: Likewise.
11870 * resource/ulimit.c: Likewise.
11871 * rt/aio_cancel.c: Likewise.
11872 * rt/aio_fsync.c: Likewise.
11873 * rt/aio_read.c: Likewise.
11874 * rt/aio_sigqueue.c: Likewise.
11875 * rt/aio_suspend.c: Likewise.
11876 * rt/aio_write.c: Likewise.
11877 * rt/clock_getres.c: Likewise.
11878 * rt/clock_gettime.c: Likewise.
11879 * rt/clock_nanosleep.c: Likewise.
11880 * rt/clock_settime.c: Likewise.
11881 * rt/lio_listio.c: Likewise.
11882 * rt/mq_close.c: Likewise.
11883 * rt/mq_getattr.c: Likewise.
11884 * rt/mq_notify.c: Likewise.
11885 * rt/mq_open.c: Likewise.
11886 * rt/mq_receive.c: Likewise.
11887 * rt/mq_send.c: Likewise.
11888 * rt/mq_setattr.c: Likewise.
11889 * rt/mq_timedreceive.c: Likewise.
11890 * rt/mq_timedsend.c: Likewise.
11891 * rt/mq_unlink.c: Likewise.
11892 * rt/shm_open.c: Likewise.
11893 * rt/shm_unlink.c: Likewise.
11894 * rt/timer_create.c: Likewise.
11895 * rt/timer_delete.c: Likewise.
11896 * rt/timer_getoverr.c: Likewise.
11897 * rt/timer_gettime.c: Likewise.
11898 * rt/timer_settime.c: Likewise.
11899 * setjmp/__longjmp.c: Likewise.
11900 * setjmp/setjmp.c: Likewise.
11901 * signal/kill.c: Likewise.
11902 * signal/killpg.c: Likewise.
11903 * signal/raise.c: Likewise.
11904 * signal/sigaction.c: Likewise.
11905 * signal/sigaltstack.c: Likewise.
11906 * signal/sigblock.c: Likewise.
11907 * signal/sigignore.c: Likewise.
11908 * signal/sigintr.c: Likewise.
11909 * signal/signal.c: Likewise.
11910 * signal/sigpause.c: Likewise.
11911 * signal/sigpending.c: Likewise.
11912 * signal/sigqueue.c: Likewise.
11913 * signal/sigreturn.c: Likewise.
11914 * signal/sigset.c: Likewise.
11915 * signal/sigsetmask.c: Likewise.
11916 * signal/sigstack.c: Likewise.
11917 * signal/sigsuspend.c: Likewise.
11918 * signal/sigtimedwait.c: Likewise.
11919 * signal/sigvec.c: Likewise.
11920 * signal/sigwait.c: Likewise.
11921 * signal/sigwaitinfo.c: Likewise.
11922 * signal/sysv_signal.c: Likewise.
11923 * socket/accept.c: Likewise.
11924 * socket/accept4.c: Likewise.
11925 * socket/bind.c: Likewise.
11926 * socket/connect.c: Likewise.
11927 * socket/getpeername.c: Likewise.
11928 * socket/getsockname.c: Likewise.
11929 * socket/getsockopt.c: Likewise.
11930 * socket/isfdtype.c: Likewise.
11931 * socket/listen.c: Likewise.
11932 * socket/recv.c: Likewise.
11933 * socket/recvfrom.c: Likewise.
11934 * socket/recvmsg.c: Likewise.
11935 * socket/send.c: Likewise.
11936 * socket/sendmsg.c: Likewise.
11937 * socket/sendto.c: Likewise.
11938 * socket/setsockopt.c: Likewise.
11939 * socket/shutdown.c: Likewise.
11940 * socket/sockatmark.c: Likewise.
11941 * socket/socket.c: Likewise.
11942 * socket/socketpair.c: Likewise.
11943 * stdio-common/ctermid.c: Likewise.
11944 * stdio-common/cuserid.c: Likewise.
11945 * stdio-common/remove.c: Likewise.
11946 * stdio-common/rename.c: Likewise.
11947 * stdio-common/renameat.c: Likewise.
11948 * stdio-common/tempname.c: Likewise.
11949 * stdlib/getcontext.c: Likewise.
11950 * stdlib/makecontext.c: Likewise.
11951 * stdlib/setcontext.c: Likewise.
11952 * stdlib/swapcontext.c: Likewise.
11953 * stdlib/system.c: Likewise.
11954 * streams/fattach.c: Likewise.
11955 * streams/fdetach.c: Likewise.
11956 * streams/getmsg.c: Likewise.
11957 * streams/getpmsg.c: Likewise.
11958 * streams/putmsg.c: Likewise.
11959 * streams/putpmsg.c: Likewise.
11960 * sysdeps/unix/bsd/getpt.c: Likewise.
11961 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11962 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11963 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11965 Likewise.
11966 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11967 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11968 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11969 * sysvipc/msgctl.c: Likewise.
11970 * sysvipc/msgget.c: Likewise.
11971 * sysvipc/msgrcv.c: Likewise.
11972 * sysvipc/msgsnd.c: Likewise.
11973 * sysvipc/semctl.c: Likewise.
11974 * sysvipc/semget.c: Likewise.
11975 * sysvipc/semop.c: Likewise.
11976 * sysvipc/semtimedop.c: Likewise.
11977 * sysvipc/shmat.c: Likewise.
11978 * sysvipc/shmctl.c: Likewise.
11979 * sysvipc/shmdt.c: Likewise.
11980 * sysvipc/shmget.c: Likewise.
11981 * termios/tcdrain.c: Likewise.
11982 * termios/tcflow.c: Likewise.
11983 * termios/tcflush.c: Likewise.
11984 * termios/tcgetattr.c: Likewise.
11985 * termios/tcgetpgrp.c: Likewise.
11986 * termios/tcsendbrk.c: Likewise.
11987 * termios/tcsetattr.c: Likewise.
11988 * termios/tcsetpgrp.c: Likewise.
11989 * time/adjtime.c: Likewise.
11990 * time/clock.c: Likewise.
11991 * time/getitimer.c: Likewise.
11992 * time/gettimeofday.c: Likewise.
11993 * time/setitimer.c: Likewise.
11994 * time/settimeofday.c: Likewise.
11995 * time/stime.c: Likewise.
11996 * time/time.c: Likewise.
11997
119982012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11999
a20492cf
PT
12000 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12001 /usr/old/bin.
12002
72e182e3
PT
12003 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12004 instead of spaces.
12005 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12006
fbeafede
JM
120072012-11-03 Joseph Myers <joseph@codesourcery.com>
12008
5b5b04d6
JM
12009 [BZ #14796]
12010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12011 FE_TONEAREST before applying Dekker multiplication and Knuth
12012 addition. Clear inexact exceptions and check for exact zero
12013 results afterwards.
12014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12015 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12016 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12017 * math/libm-test.inc (fma_test): Add more tests.
12018 (fma_test_towardzero): Likewise.
12019 (fma_test_downward): Likewise.
12020 (fma_test_upward): Likewise.
12021 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12022 function.
12023 (libc_fesetround): New macro.
12024 (libc_fesetroundf): Likewise.
12025 (libc_fesetroundl): Likewise.
12026 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12027 function.
12028 (libc_fesetround_387): Likewise.
12029 (libc_fesetroundf): New macro.
12030 (libc_fesetround): Likewise.
12031 (libc_fesetroundl): Likewise.
12032 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12033 function.
12034 (libc_fesetroundf): New macro.
12035 (libc_fesetround): Likewise.
12036 (libc_fesetroundl): Likewise.
12037 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12038 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12039 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12040 libm_hidden_ver.
12041 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12042 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12043 libm_hidden_def.
12044 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12045 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12046 libm_hidden_ver.
12047 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12048 libm_hidden_def.
12049
fbeafede
JM
12050 [BZ #3439]
12051 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12052 integer constant usable in #if and use that to give value to enum
12053 constant.
12054 (FE_DIVBYZERO): Likewise.
12055 (FE_UNDERFLOW): Likewise.
12056 (FE_OVERFLOW): Likewise.
12057 (FE_INVALID): Likewise.
12058 (FE_INVALID_SNAN): Likewise.
12059 (FE_INVALID_ISI): Likewise.
12060 (FE_INVALID_IDI): Likewise.
12061 (FE_INVALID_ZDZ): Likewise.
12062 (FE_INVALID_IMZ): Likewise.
12063 (FE_INVALID_COMPARE): Likewise.
12064 (FE_INVALID_SOFTWARE): Likewise.
12065 (FE_INVALID_SQRT): Likewise.
12066 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12067 (FE_TONEAREST): Likewise.
12068 (FE_TOWARDZERO): Likewise.
12069 (FE_UPWARD): Likewise.
12070 (FE_DOWNWARD): Likewise.
12071 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12072 (FE_DIVBYZERO): Likewise.
12073 (FE_OVERFLOW): Likewise.
12074 (FE_UNDERFLOW): Likewise.
12075 (FE_INEXACT): Likewise.
12076 (FE_TONEAREST): Likewise.
12077 (FE_DOWNWARD): Likewise.
12078 (FE_UPWARD): Likewise.
12079 (FE_TOWARDZERO): Likewise.
12080 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12081 (FE_UNDERFLOW): Likewise.
12082 (FE_OVERFLOW): Likewise.
12083 (FE_DIVBYZERO): Likewise.
12084 (FE_INVALID): Likewise.
12085 (FE_TONEAREST): Likewise.
12086 (FE_TOWARDZERO): Likewise.
12087 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12088 (FE_OVERFLOW): Likewise.
12089 (FE_UNDERFLOW): Likewise.
12090 (FE_DIVBYZERO): Likewise.
12091 (FE_INEXACT): Likewise.
12092 (FE_TONEAREST): Likewise.
12093 (FE_TOWARDZERO): Likewise.
12094 (FE_UPWARD): Likewise.
12095 (FE_DOWNWARD): Likewise.
12096 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12097 (FE_DIVBYZERO): Likewise.
12098 (FE_OVERFLOW): Likewise.
12099 (FE_UNDERFLOW): Likewise.
12100 (FE_INEXACT): Likewise.
12101 (FE_TONEAREST): Likewise.
12102 (FE_DOWNWARD): Likewise.
12103 (FE_UPWARD): Likewise.
12104 (FE_TOWARDZERO): Likewise.
12105
105ca950
CM
121062012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12107
12108 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12109
a542b389
AS
121102012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12111
12112 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12113 commands. Quote $PWD.
12114 (blacklist_exports): Don't use remove_newlines. Replace "declare
12115 -x" by "export".
12116 (remove_newlines): Remove.
12117
f62c8abc
L
121182012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12119
12120 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12121 * stdlib/stdlib.h (atof): Moved to ...
12122 * include/bits/stdlib-float.h: Here. New file.
12123 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12124 * stdlib/bits/stdlib-float.h: New file.
12125 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12126 -mno-sse -mno-mmx.
12127 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12128 <xmmintrin.h>.
12129
0155d5b2
JM
121302012-11-02 Joseph Myers <joseph@codesourcery.com>
12131
a68d0680
JM
12132 * conform/conformtest.pl (@headers): Add fenv.h.
12133 * conform/data/fenv.h-data: New file.
12134 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12135 include of <math/fenv.h>.
12136
caf7f573
JM
12137 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12138 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12139 && !UNIX98]. Enables tests for XOPEN2K8.
12140 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12141 POSIX2008]: Likewise.
12142
6c073ad6
JM
12143 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12144 (struct rusage): Do not expect type or its members.
12145
0155d5b2
JM
12146 [BZ #3439]
12147 * math/math.h (FP_NAN): Define macro to integer constant usable in
12148 #if and use that to give value to enum constant.
12149 (FP_INFINITE): Likewise.
12150 (FP_ZERO): Likewise.
12151 (FP_SUBNORMAL): Likewise.
12152 (FP_NORMAL): Likewise.
12153
b5dcacb4
AS
121542012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12155
12156 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12157 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12158 arguments.
12159
f7934be8
RM
121602012-11-02 Roland McGrath <roland@hack.frob.com>
12161
12162 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12163 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12164 autoconf-time if not.
12165 * configure.in: Remove AC_PREREQ.
12166
d7d08bde
TMQMF
121672012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12168
12169 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12170 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12171 of the internal implementation.
12172
dcdae19a
JM
121732012-11-02 Joseph Myers <joseph@codesourcery.com>
12174
12175 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12176 except include of <misc/sys/syslog.h>.
12177
d6cffd3e
AS
121782012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12179
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12181 function returns with a NULL context exit with zero.
12182
b3563932
TMQMF
121832012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12184
12185 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12186
b288a93d
L
121872012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12188
12189 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12190 (run_program_cmd): This.
12191 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12192 (tst_langinfo): New variable. Use it.
12193
a2421a68
SAS
121942012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12195
12196 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12197 floating point opcodes.
12198
6f796e1b
TS
121992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12200
7402596b
TS
12201 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12202 variable.
12203
d0d4f868
TS
12204 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12205
6f796e1b
TS
12206 * sysdeps/mach/hurd/powerpc: Remove directory.
12207 * sysdeps/mach/powerpc: Likewise.
12208
4da224a2
AS
122092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12210
12211 * scripts/check-local-headers.sh: Ignore c++ headers.
12212
341dd673
TS
122132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12214
12215 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12216 __libc_cleanup_region_start argument.
12217
473611b2
JM
122182012-11-01 Joseph Myers <joseph@codesourcery.com>
12219
12220 [BZ #14784]
12221 [BZ #14785]
12222 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12223 x * y using scaling, not as x * y + z.
12224 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12225 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12226 * math/libm-test.inc (fma_test): Add more tests.
12227 (fma_test_towardzero): Likewise.
12228 (fma_test_downward): Likewise.
12229 (fma_test_upward): Likewise.
12230
4078da3d
TS
122312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12232
12233 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12234
903252aa
JM
122352012-10-31 Joseph Myers <joseph@codesourcery.com>
12236
12237 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12238 New variable.
12239
cbc818d0
TS
122402012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12241
12242 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12243
5a03cb1e
AS
122442012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12245
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12247 Fix sort order.
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12249 Likewise.
12250
90aff2ff
TMQMF
122512012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12252
12253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12254 Fix the order of the list for glibc 2.17.
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12256 Likewise.
12257
1818fcb7
AS
122582012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12259
12260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12261
ef82f4da
JM
122622012-10-31 Joseph Myers <joseph@codesourcery.com>
12263
16a0e2ec
JM
12264 [BZ #14610]
12265 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12266 for low part of x being zero before using __atanl (y).
12267 * math/libm-test.inc (atan2_test): Add another test.
12268
0eb69512
JM
12269 * manual/install.texi (Configuring and compiling): Document
12270 general use of test-wrapper and test-wrapper-env.
12271 * INSTALL: Regenerated.
12272
ef82f4da
JM
12273 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12274 (__fma): Do not extract and scale down low bits on after-rounding
12275 systems when result rounded to normal precision would have normal
12276 exponent.
12277 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12278 (__fmal): Do not extract and scale down low bits on after-rounding
12279 systems when result rounded to normal precision would have normal
12280 exponent.
12281 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12282 (__fmal): Do not extract and scale down low bits on after-rounding
12283 systems when result rounded to normal precision would have normal
12284 exponent.
12285 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12286 macro.
12287 (fma_test): Add more tests.
12288 (fma_test_towardzero): Likewise.
12289 (fma_test_downward): Likewise.
12290 (fma_test_upward): Likewise.
12291
954ef0d9
L
122922012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12293
12294 * sysdeps/i386/tininess.h: Renamed to ...
12295 * sysdeps/x86/tininess.h: This.
12296 * sysdeps/x86_64/tininess.h: Removed.
12297
df61ffb2
JM
122982012-10-30 Joseph Myers <joseph@codesourcery.com>
12299
12300 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12301 input. Use $(build-program-cmd).
12302 ($(objpfx)tst-array1-static.out): Likewise.
12303 ($(objpfx)tst-array2.out): Likewise.
12304 ($(objpfx)tst-array3.out): Likewise.
12305 ($(objpfx)tst-array4.out): Likewise.
12306 ($(objpfx)tst-array5.out): Likewise.
12307 ($(objpfx)tst-array5-static.out): Likewise.
12308
01767843
CM
123092012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12310
47cc1490
CM
12311 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12312 if defined.
12313
01767843
CM
12314 * nss/nsswitch.h (nss_interface_function): Provide new
12315 macro for use with NSS functions.
12316 * grp/initgroups.c: Use new macro.
12317 * nss/getXXbyYY.c: Likewise.
12318 * nss/getXXbyYY_r.c: Likewise.
12319 * nss/getXXent.c: Likewise.
12320 * nss/getXXent_r.c: Likewise.
12321 * sysdeps/posix/getaddrinfo.c: Likewise.
12322
8321aa97
AJ
123232012-10-30 Andreas Jaeger <aj@suse.de>
12324
12325 * po/ru.po: Update Russion translation from translation project.
12326
2a27fd6d
JM
123272012-10-30 Joseph Myers <joseph@codesourcery.com>
12328
8627a232
JM
12329 [BZ #14152]
12330 [BZ #14783]
12331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12332 result and shift together with sticky bit instead of replicating
12333 round-to-nearest rounding.
12334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12335 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12336 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12337 missing underflow exceptions.
12338 (fma_test_towardzero): Add more tests.
12339 (fma_test_downward): Likewise.
12340 (fma_test_upward): Likewise.
12341
2a27fd6d
JM
12342 [BZ #14047]
12343 * sysdeps/generic/tininess.h: New file.
12344 * sysdeps/i386/tininess.h: Likewise.
12345 * sysdeps/sh/tininess.h: Likewise.
12346 * sysdeps/x86_64/tininess.h: Likewise.
12347 * stdlib/tst-strtod-underflow.c: Likewise.
12348 * stdlib/tst-tininess.c: Likewise.
12349 * stdlib/strtod_l.c: Include <tininess.h>.
12350 (round_and_return): Do not set errno for exact underflow cases.
12351 Force an underflow exception when setting errno for underflow.
12352 Determine underflow based on rounding to normal precision if
12353 TININESS_AFTER_ROUNDING.
12354 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12355 ERANGE for exact underflow cases.
12356 * stdlib/Makefile (tests): Add tst-tininess and
12357 tst-strtod-underflow.
12358 ($(objpfx)tst-tininess): Use $(link-libm).
12359 ($(objpfx)tst-strtod-underflow): Likewise.
12360
e7170363
AJ
123612012-10-30 Andreas Jaeger <aj@suse.de>
12362
e5088dc6
AJ
12363 [BZ#14767]
12364 * elf/Makefile (tests): Remove conditional for have-initfini-array
12365 since this is now always required and the variable does not exist
12366 anymore.
12367 (tests-static): Likewise.
12368 (modules-names): Likewise.
12369
e7170363 12370 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12371
12372 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12373 merged with constructor/destructor.
12374 (init_array): Likewise.
12375 * elf/tst-array2dep.c (fini_array): Likewise.
12376 (init_array): Likewise.
12377
60457d8a
MF
123782012-10-29 Mike Frysinger <vapier@gentoo.org>
12379
12380 * manual/message.texi: Delete @cartouche tags.
12381
8bece752
PT
123822012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12383
94ce799f
PT
12384 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12385 EOPNOTSUPP.
12386 * sysdeps/mach/hurd/fsync.c: Likewise.
12387
8bece752
PT
12388 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12389 [_POSIX_REALTIME_SIGNALS]: Change condition to
12390 [_POSIX_REALTIME_SIGNALS > 0].
12391
86ebe6b1
AJ
123922012-10-27 Andreas Jaeger <aj@suse.de>
12393
12394 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12395 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12396 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12397 [__WORDSIZE != 64]: Likewise.
12398
54399c08
L
123992012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12400
12401 * iconvdata/tst-table.sh: Remove ${SHELL}.
12402 * iconvdata/tst-tables.sh: Likewise.
12403
e2211bed
DM
124042012-10-25 David S. Miller <davem@davemloft.net>
12405
12406 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12407 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12408 of strtoull.
12409
f303f97c
DM
12410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12411 ifunc-impl-list.c
12412 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12413 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12414 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12415 file.
12416
1e9d84cd
RM
124172012-10-25 Roland McGrath <roland@hack.frob.com>
12418
12419 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12420 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12421 __getdirentries.
12422
df381762
JM
124232012-10-25 Joseph Myers <joseph@codesourcery.com>
12424 Jim Blandy <jimb@codesourcery.com>
12425
12426 * scripts/cross-test-ssh.sh: New file.
12427 * manual/install.texi (Configuring and compiling): Document use of
12428 cross-test-ssh.sh.
12429 * INSTALL: Regenerated.
12430
bff64913
PT
124312012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12432
12433 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12434 EOPNOTSUPP.
12435
25fe8932
JM
124362012-10-25 Joseph Myers <joseph@codesourcery.com>
12437
12438 * Makeconfig (run-program-prefix): Fix comment.
12439
cc1290d0
JM
124402012-10-24 Joseph Myers <joseph@codesourcery.com>
12441 Jim Blandy <jimb@codesourcery.com>
12442
12443 * Makeconfig (test-wrapper): New variable,
12444 (test-wrapper-env): Likewise.
12445 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12446 (run-built-tests): Define to yes.
12447 (run-program-prefix): Use $(test-wrapper).
12448 (built-program-cmd): Likewise.
12449 * Rules (make-test-out): Use $(test-wrapper-env) and
12450 $(host-built-program-cmd).
12451 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12452 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12453 tst-pathopt.sh.
12454 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12455 $(test-wrapper-env) to tst-rtld-load-self.sh.
12456 ($(objpfx)order2.out): Use $(test-wrapper).
12457 ($(objpfx)tst-initorder.out): Likewise.
12458 ($(objpfx)tst-initorder2.out): Likewise.
12459 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12460 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12461 (test_wrapper_env): New variable. Use it to run ld.so.
12462 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12463 Use it to run ld.so.
12464 (test_wrapper_env): Likewise.
12465 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12466 $(test-wrapper) to run-iconv-test.sh.
12467 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12468 (ICONV): Use $test_wrapper.
12469 * posix/Makefile ($(objpfx)globtest.out): Pass
12470 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12471 globtest.sh, not $(run-program-prefix).
12472 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12473 (test_wrapper): Likewise.
12474 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12475 set together with run_via_rtld_prefix.
12476 (run_program_prefix): Define in terms of test_wrapper and
12477 run_via_rtld_prefix.
12478
6e6249d0
RM
124792012-10-24 Roland McGrath <roland@hack.frob.com>
12480
12481 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12482 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12483 Targets removed.
12484
12485 [BZ #14743]
12486 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12487 Declare __clock_getres, __clock_gettime, __clock_settime,
12488 __clock_nanosleep, and __clock_getcpuclockid.
12489 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12490 Remove librt_hidden_def (clock_gettime).
12491 * sysdeps/unix/clock_gettime.c: Likewise.
12492 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12493 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12494 * rt/clock_getres.c: Define __clock_getres as an alias.
12495 * sysdeps/posix/clock_getres.c: Likewise.
12496 * rt/clock_settime.c: Define __clock_settime as an alias.
12497 * sysdeps/unix/clock_settime.c: Likewise.
12498 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12499 * sysdeps/unix/clock_nanosleep.c: Likewise.
12500 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12501 * rt/clock-compat.c: New file.
12502 * rt/Makefile (librt-routines): Add clock-compat and move
12503 $(clock-routines) to ...
12504 (routines): ... here, new variable.
12505 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12506 Don't add get_clockfreq here.
12507 * rt/Versions (libc: GLIBC_2.17): New version set.
12508 Add clock_* symbols here.
12509 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12510 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12511 (GLIBC_2.17): Add clock_* symbols.
12512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12514 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12516 Likewise.
12517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12518 Likewise.
12519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12523 * NEWS: Mention the move.
12524
12525 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12526 Use __open, __read, __close rather than their public counterparts.
12527 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12528 (__get_clockfreq_via_cpuinfo): Likewise.
12529 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12530 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12531
12532 * config.h.in (HAVE_IFUNC): New #undef.
12533 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12534 was successful.
12535 * configure: Regenerated.
12536
0cae3f4b
MF
125372012-10-24 Mike Frysinger <vapier@gentoo.org>
12538
12539 * configure.in: Move READELF check to start of file.
12540 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12541 libc_cv_asm_gnu_indirect_function in the process.
12542 * configure: Regenerated.
12543
8175a253
MF
125442012-10-24 Mike Frysinger <vapier@gentoo.org>
12545
12546 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12547 send the output to /dev/null.
12548 (libc_cv_cc_with_libunwind): Likewise.
12549 (libc_cv_as_noexecstack): Likewise.
12550 * configure: Regenerate.
12551
0708a7d1
JM
125522012-10-24 Joseph Myers <joseph@codesourcery.com>
12553
10b40d85
JM
12554 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12555
0708a7d1
JM
12556 * posix/globtest.sh (TMPDIR): Do not set.
12557 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12558 (testout): Likewise.
12559
9fddec1a
AJ
125602012-10-24 Andreas Jaeger <aj@suse.de>
12561
3a8db22f
AJ
12562 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12563 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12564 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12565 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12566 posix_fadvise64, posix_fallocate64.
12567
9fddec1a
AJ
12568 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12569 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12570 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12571 Likewise.
12572 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12573 Likewise.
12574 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12575
12576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12577 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12578 <bits/fcntl-linux.h>.
12579 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12580
12581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12582 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12583 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12584 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12585 [__WORDSIZE != 64]: Likewise.
12586
ebfd1bbd
JM
125872012-10-23 Joseph Myers <joseph@codesourcery.com>
12588
03ac099f
JM
12589 * Makeconfig (run-built-tests): New variable.
12590 * Rules [$(cross-compiling) = yes]: Change condition to
12591 [$(run-built-tests) = no].
12592 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12593 to [$(run-built-tests) = yes].
12594 * elf/Makefile [$(cross-compiling) = no]: Likewise
12595 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12596 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12597 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12598 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12599 * io/Makefile [$(cross-compiling) = no]: Likewise.
12600 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12601 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12602 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12603 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12604 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12605 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12606 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12607 * string/Makefile [$(cross-compiling) = no]: Likewise.
12608
ebfd1bbd
JM
12609 * posix/Makefile ($(objpfx)globtest.out): Pass
12610 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12611 $(rtld-installed-name).
12612 * posix/globtest.sh (elf_objpfx): Remove variable.
12613 (rtld_installed_name): Likewise.
12614 (library_path): Likewise.
12615 (run_program_prefix): New variable. Use for running globtest
12616 binary.
12617
166bca24
JB
126182012-10-23 Jim Blandy <jimb@codesourcery.com>
12619 Joseph Myers <joseph@codesourcery.com>
12620
12621 * Makeconfig (host-built-program-cmd): New variable.
12622 * elf/Makefile (tst-stackguard1-ARGS): Use
12623 $(host-built-program-cmd).
12624 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12625 (tst-spawn-ARGS): Likewise.
12626 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12627
88866099
JM
126282012-10-23 Joseph Myers <joseph@codesourcery.com>
12629 Jim Blandy <jimb@codesourcery.com>
12630
12631 * Makeconfig (run-via-rtld-prefix): New variable.
12632 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12633 (built-program-cmd): Likewise.
12634
b4b4c296
AJ
126352012-10-22 Andreas Jaeger <aj@suse.de>
12636
12637 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12638 __O_RSYNC if it exists, otherwise to O_SYNC.
12639
6fb54a22
JB
126402012-10-22 Jim Blandy <jimb@codesourcery.com>
12641 Joseph Myers <joseph@codesourcery.com>
12642
12643 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12644 /dev/null.
12645 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12646 from /dev/null
12647 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12648 /dev/null.
12649
481b90b9
AJ
126502012-10-22 Andreas Jaeger <aj@suse.de>
12651
2a0e2669
AJ
12652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12653 Define always.
12654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12655
76e38f9a
AJ
12656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12657 bits/fcntl-linux.h.
12658
7cd37b43
AJ
12659 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12660 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12661
481b90b9
AJ
12662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12663 to __O_LARGEFILE.
12664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12665 to __O_LARGEFILE.
12666
aba75984
JB
126672012-10-21 Jim Blandy <jimb@codesourcery.com>
12668 Joseph Myers <joseph@codesourcery.com>
12669
12670 * config.make.in (NM): New variable.
12671
88d4247f
AJ
126722012-10-21 Andreas Jaeger <aj@suse.de>
12673
12674 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12675 definitions and declarations that are provided by
12676 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12677
f2eed205
L
126782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12679
12680 [BZ #14683]
12681 * elf/Makefile (tests-static): Add tst-leaks1-static.
12682 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12683 ($(objpfx)tst-leaks1-static): New rule.
12684 ($(objpfx)tst-leaks1-static-mem): Likewise.
12685 (tst-leaks1-static-ENV): New macro.
12686 * elf/dl-open.c (dl_open_worker): Check the main application
12687 only if SHARED is defined.
12688 * elf/tst-leaks1-static.c: New file.
12689
335e6931
AJ
126902012-10-20 Andreas Jaeger <aj@suse.de>
12691
12692 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12693 generic values for Linux.
12694 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12695 and declarations that are provided by <bits/fcntl-linux.h> and
12696 include <bits/fcntl-linux.h>.
12697 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12698 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12699
ac5c94d3
RM
127002012-10-20 Roland McGrath <roland@hack.frob.com>
12701
12702 * io/fcntl.h: Move include of <bits/types.h> to the top and
12703 include it unconditionally.
12704
de54b33a
L
127052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12706
228cfb01
L
12707 * wcsmbs/Makefile (tests-ifunc): New variable.
12708 (tests): Add $(tests-ifunc).
12709 * wcsmbs/test-wcschr-ifunc.c: New file.
12710 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12711 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12712 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12713 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12714 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12715
69f07e5f
L
12716 * string/Makefile (tests-ifunc): New variable.
12717 (tests): Add $(tests-ifunc).
12718 * string/test-memccpy.c (TEST_NAME): New macro.
12719 * string/test-memchr.c (TEST_NAME): Likewise.
12720 * string/test-memcmp.c (TEST_NAME): Likewise.
12721 * string/test-memcpy.c (TEST_NAME): Likewise.
12722 * string/test-memmem.c (TEST_NAME): Likewise.
12723 * string/test-memmove.c (TEST_NAME): Likewise.
12724 * string/test-memset.c (TEST_NAME): Likewise.
12725 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12726 * string/test-stpcpy.c (TEST_NAME): Likewise.
12727 * string/test-stpncpy.c (TEST_NAME): Likewise.
12728 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12729 * string/test-strcasestr.c (TEST_NAME): Likewise.
12730 * string/test-strcat.c (TEST_NAME): Likewise.
12731 * string/test-strchr.c (TEST_NAME): Likewise.
12732 * string/test-strcmp.c(TEST_NAME): Likewise.
12733 * string/test-strcpy.c (TEST_NAME): Likewise.
12734 * string/test-strcspn.c (TEST_NAME): Likewise.
12735 * string/test-strlen.c (TEST_NAME): Likewise.
12736 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12737 * string/test-strncmp.c (TEST_NAME): Likewise.
12738 * string/test-strncpy.c (TEST_NAME): Likewise.
12739 * string/test-strnlen.c (TEST_NAME): Likewise.
12740 * string/test-strpbrk.c (TEST_NAME): Likewise.
12741 * string/test-strrchr.c (TEST_NAME): Likewise.
12742 * string/test-strspn.c (TEST_NAME): Likewise.
12743 * string/test-strstr.c (TEST_NAME): Likewise.
12744 * string/test-bcopy-ifunc.c: New file.
12745 * string/test-bzero-ifunc.c: Likewise.
12746 * string/test-memccpy-ifunc.c: Likewise.
12747 * string/test-memchr-ifunc.c: Likewise.
12748 * string/test-memcmp-ifunc.c: Likewise.
12749 * string/test-memcpy-ifunc.c: Likewise.
12750 * string/test-memmem-ifunc.c: Likewise.
12751 * string/test-memmove-ifunc.c: Likewise.
12752 * string/test-mempcpy-ifunc.c: Likewise.
12753 * string/test-memset-ifunc.c: Likewise.
12754 * string/test-rawmemchr-ifunc.c: Likewise.
12755 * string/test-stpcpy-ifunc.c: Likewise.
12756 * string/test-stpncpy-ifunc.c: Likewise.
12757 * string/test-strcasecmp-ifunc.c: Likewise.
12758 * string/test-strcasestr-ifunc.c: Likewise.
12759 * string/test-strcat-ifunc.c: Likewise.
12760 * string/test-strchr-ifunc.c: Likewise.
12761 * string/test-strchrnul-ifunc.c: Likewise.
12762 * string/test-strcmp-ifunc.c: Likewise.
12763 * string/test-strcpy-ifunc.c: Likewise.
12764 * string/test-strcspn-ifunc.c: Likewise.
12765 * string/test-strlen-ifunc.c: Likewise.
12766 * string/test-strncasecmp-ifunc.c: Likewise.
12767 * string/test-strncat-ifunc.c: Likewise.
12768 * string/test-strncmp-ifunc.c: Likewise.
12769 * string/test-strncpy-ifunc.c: Likewise.
12770 * string/test-strnlen-ifunc.c: Likewise.
12771 * string/test-strpbrk-ifunc.c: Likewise.
12772 * string/test-strrchr-ifunc.c: Likewise.
12773 * string/test-strspn-ifunc.c: Likewise.
12774 * string/test-strstr-ifunc.c: Likewise.
12775
de54b33a
L
12776 * debug/Makefile (tests-ifunc): New variable.
12777 (tests): Add $(tests-ifunc).
12778 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12779 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12780 * debug/test-stpcpy_chk-ifunc.c: New file.
12781 * debug/test-strcpy_chk-ifunc.c: Likewise.
12782
88481c16
SP
127832012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12784
12785 [BZ #13601]
12786 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12787 header is not read in.
12788
135948bd
JM
127892012-10-19 Joseph Myers <joseph@codesourcery.com>
12790
89f1c388
JM
12791 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12792 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12793 directly. Pass built executable to script as
12794 $(built-program-cmd).
12795 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12796 $testprogram without using LD_LIBRARY_PATH and $ldso.
12797
e40a0d21
JM
12798 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12799 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12800 $(rtld-installed-name).
12801 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12802 (rtld_installed_name): Likewise.
12803 (library_path): Likewise.
12804 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12805 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12806 $(run-program-prefix) to tst-tables.sh.
12807 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12808 it to run tst-table-from and tst-table-to.
12809 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12810 Pass it to tst-table.sh.
12811 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12812 $(run-program-prefix) to tst-gettext.sh.
12813 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12814 tst-translit.sh.
12815 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12816 tst-gettext2.sh.
12817 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12818 to run tst-gettext.
12819 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12820 to run tst-gettext2.
12821 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12822 to run tst-translit.
12823 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12824 $(run-program-prefix) to tst-mtrace.sh.
12825 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12826 to run tst-mtrace.
12827 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12828 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12829 $(rtld-installed-name).
12830 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12831 (rtld_installed_name): Likewise.
12832 (run_program_prefix): New variable. Use it to run wordexp-test.
12833
728e272a
JM
12834 * Makeconfig (ARCH): Remove all definitions.
12835 (machine): Likewise.
12836 [ARCH]: Remove conditional code.
12837 [!objdir]: Give error.
12838 [!objdir] (objpfx): Remove.
12839 [!objdir] (common-objpfx): Likewise.
12840 [!objdir] (common-objdir): Likewise.
12841 * configure.in (config_makefile): Remove. Hardcode Makefile in
12842 AC_CONFIG_FILES call.
12843 * configure: Regenerated.
12844
d528cdcf
JM
12845 [BZ #13888]
12846 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12847 or TMPDIR.
12848 (testout): Likewise.
12849
135948bd
JM
12850 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12851 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12852 $(rtld-installed-name).
12853 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12854 (rtld_installed_name): Likwise.
12855 (runit): Remove function.
12856 (run_getconf): New variable, Use it for running getconf binary.
12857
38c78296
L
128582012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12859
12860 [BZ #14716]
12861 * string/test-memmem.c (check_result): New function.
12862 (do_one_test): Use it.
12863 (check1): New function.
12864 (test_main): Use it.
12865
d077f65f
MT
128662012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12867
12868 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12869
ced52c71
JM
128702012-10-18 Joseph Myers <joseph@codesourcery.com>
12871
12872 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12873 (_G_LSEEK64): Likewise.
12874 (_G_MMAP64): Likewise.
12875 (_G_FSTAT64): Likewise.
12876 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12877 (_G_LSEEK64): Likewise.
12878 (_G_MMAP64): Likewise.
12879 (_G_FSTAT64): Likewise.
12880 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12881 unconditional. Call __mmap64 directly.
12882 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12883 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12884 __lseek64 directly.
12885 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12886 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12887 __mmap64 directly.
12888 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12889 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12890 __lseek64 directly.
12891 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12892 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12893 __lseek64 directly.
12894 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12895 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12896 __lseek64 directly.
12897 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12898 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12899 __fxstat64 directly.
12900 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12901 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12902 unconditional.
12903 (freopen64) [!_G_OPEN64]: Remove conditional code.
12904 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12905 unconditional.
12906 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12907 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12908 unconditional.
12909 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12910 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12911 unconditional.
12912 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12913 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12914 unconditional.
12915 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12916 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12917 unconditional.
12918 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12919 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12920 unconditional.
12921 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12922 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12923 unconditional.
12924 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12925
b741de23
SP
129262012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12927
12928 [BZ #12140]
12929 * manual/memory.texi (Malloc Tunable Parameters): Add note
12930 about free list pointers overwriting some perturb bytes.
12931 Wording suggested by Roland McGrath.
12932
f9b9d9c9
JM
129332012-10-17 Joseph Myers <joseph@codesourcery.com>
12934
12935 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12936 (lgamma_test): Likewise.
12937 (tgamma_test): Likewise.
12938
172a631a
FW
129392012-10-16 Florian Weimer <fweimer@redhat.com>
12940
12941 [BZ #14700]
12942 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12943 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12944
e9f37252
MK
129452012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12946
12947 * NEWS: Mention BZ #14716.
12948 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12949 when removing AVAILABLE1_USES_J macro.
12950
d394eb74
L
129512012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12952
12953 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12954 (__bswap_64): __uint64_t for unsigned 64-bit int.
12955
ca38dc17
AS
129562012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12957
12958 * include/string.h (memmem): Declare libc hidden alias.
12959 * string/memmem.c (memmem): Define libc hidden alias.
12960 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12961 __read, __close instead of open, read, close.
12962
9a387d1f
L
129632012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12964
ac49ecaf
L
12965 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12966 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12967 global and hidden.
12968 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12969 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12970 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12971 Likewise.
12972 (__rawmemchr_sse2): Likewise.
12973 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12974 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12975 (__strchr_sse2): Likewise.
12976 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12977 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12978 (__strcasecmp_sse2): Likewise.
12979 (__strncasecmp_sse2): Likewise.
12980 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12981 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12982 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12983 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12984 (__strrchr_sse2): Likewise.
12985 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12986 ifunc-impl-list.c.
12987 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12988 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12989 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12990 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12991 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12992 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12993 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12994 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12995 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12996 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12997 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12998 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12999 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13000 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13001 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13002 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13003 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13004 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13005 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13006 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13007 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13008 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13009 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13010 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13011 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13012 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13013 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13014 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13015 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13016 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13017
b090e8ea
L
13018 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13019 global and hidden.
13020 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13021 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13022 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13023 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13024 Likewise.
13025 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13026 Likewise.
13027 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13028 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13029 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13030 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13031 ifunc-impl-list.c.
13032 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13033 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13034 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13035 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13036 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13037 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13038 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13039 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13040 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13041 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13042 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13043 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13044 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13045 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13046 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13047 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13048 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13049 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13050 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13051 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13052 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13053 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13054 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13055 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13056 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13057 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13058 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13059 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13060 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13061 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13062 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13063 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13064 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13065 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13066 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13067 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13068 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13069 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13070 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13071 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13072 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13073
11dd4af6
L
13074 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13075 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13076 * include/ifunc-impl-list.h: New file.
13077 * misc/ifunc-impl-list.c: Likewise.
13078 * misc/Makefile (routines): Add ifunc-impl-list.
13079 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13080 * string/test-string.h: Include <ifunc-impl-list.h>.
13081 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13082 impl_array): New variables.
13083 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13084 are defined.
13085 (test_init): Call __libc_ifunc_impl_list to initialize
13086 func_list if TEST_IFUNC and TEST_NAME are defined.
13087
9a387d1f
L
13088 * string/Makefile (strop-tests): Add bcopy and bzero.
13089 * string/test-bcopy.c: New file.
13090 * string/test-bzero.c: Likewise.
13091 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13092 defined.
13093 * string/test-memset.c: Support bzero test if TEST_BZERO is
13094 defined.
13095 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13096 __libc_memmove.
13097 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13098 __libc_memset.
13099 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13100 of memset.
13101
472371b9
JM
131022012-10-10 Joseph Myers <joseph@codesourcery.com>
13103
1e4a9536
JM
13104 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13105 * configure: Regenerated.
13106
d173d12e
JM
13107 * Makeconfig (+link-static-before-libc): Don't include
13108 $(link-static-libc).
13109
472371b9
JM
13110 * libio/libio.h (_IO_pos_t): Remove.
13111
89a3ad0b
AO
131122012-10-10 Alexandre Oliva <aoliva@redhat.com>
13113
13114 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13115 McGrath.
13116
e7451425
AO
131172012-10-10 Alexandre Oliva <aoliva@redhat.com>
13118
13119 * crypt/crypt-entry.c: Include fips-private.h.
13120 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13121 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13122 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13123 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13124
4ba74a35
AO
131252012-10-10 Alexandre Oliva <aoliva@redhat.com>
13126
13127 * crypt/crypt-private.h: Include stdbool.h.
13128 (_ufc_setup_salt_r): Return bool.
13129 * crypt/crypt-entry.c: Include errno.h.
13130 (__crypt_r): Return NULL with EINVAL for bad salt.
13131 * crypt/crypt_util.c (bad_for_salt): New.
13132 (_ufc_setup_salt_r): Check that salt is long enough and within
13133 the specified alphabet.
13134 * crypt/badsalttest.c: New file.
13135 * crypt/Makefile (tests): Add it.
13136 ($(objpfx)badsalttest): New.
13137
f96f1242
MK
131382012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13139
13140 * NEWS: Add entry for BZ #14602.
13141
0e8e0c1c
JM
131422012-10-09 Joseph Myers <joseph@codesourcery.com>
13143
13144 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13145 type-generic.
13146 * math/libm-test.inc: Update comment listing what functions and
13147 macros are tested.
13148 (isgreater_test): New function.
13149 (isgreaterequal_test): Likewise.
13150 (isless_test): Likewise.
13151 (islessequal_test): Likewise.
13152 (islessgreater_test): Likewise.
13153 (isunordered_test): Likewise.
13154 (main): Call the new functions.
13155
273edc5e
RM
131562012-10-09 Roland McGrath <roland@hack.frob.com>
13157
b8493de0
RM
13158 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13159 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13160 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13161 * sysdeps/i386/configure: Regenerated.
13162 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13163 * sysdeps/mach/configure: Regenerated.
13164 * sysdeps/mach/hurd/configure: Regenerated.
13165 * sysdeps/powerpc/configure: Regenerated.
13166 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13167 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13168 * sysdeps/s390/s390-32/configure: Regenerated.
13169 * sysdeps/s390/s390-64/configure: Regenerated.
13170 * sysdeps/sh/configure: Regenerated.
13171 * sysdeps/sparc/configure: Regenerated.
13172 * sysdeps/unix/sysv/linux/configure: Regenerated.
13173 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13174 * sysdeps/x86_64/configure: Regenerated.
13175
273edc5e
RM
13176 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13177 defined. Don't check if MAP is NULL.
13178
c8450f70
JM
131792012-10-09 Joseph Myers <joseph@codesourcery.com>
13180
13181 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13182 (_G_stat64): Likewise.
13183 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13184 (_G_stat64): Likewise.
13185 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13186 instead of struct _G_stat64.
13187 * libio/fileops.c (mmap_remap_check): Likewise.
13188 (decide_maybe_mmap): Likewise.
13189 (_IO_new_file_seekoff): Likewise.
13190 (_IO_file_stat): Likewise.
13191 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13192 _G_off64_t.
13193 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13194 instead of struct _G_stat64.
13195 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13196
57e605ba
MK
131972012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13198
13199 [BZ #14602]
13200 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13201 Replace with ...
13202 (CHECK_EOL): New macro.
13203 (two_way_short_needle): Check beginning of haystack for EOL. Use
13204 CHECK_EOL.
13205 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13206 Replace with CHECK_EOL.
13207 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13208 Replace with CHECK_EOL.
13209
ef1bb361
JM
132102012-10-08 Joseph Myers <joseph@codesourcery.com>
13211
13212 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13213 type-generic.
13214 * math/libm-test.inc: Update comment listing what functions and
13215 macros are tested.
13216 (finite_test): New function.
13217 (isinf_test): Likewise.
13218 (isnan_test): Likewise.
13219 (fpclassify_test): Test subnormal input.
13220 (isfinite_test): Likewise.
13221 (isnormal_test): Likewise.
13222 (main): Call the new functions.
13223
55f11534
JN
132242012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13225
13226 [BZ #14660]
13227 * Makerules (%.dynsym): Force C locale when running
13228 $(OBJDUMP) --dynamic-syms.
13229
1ab29350
AS
132302012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13231
13232 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13233 <stdint.h>.
13234
f1ecb7ef
DM
132352012-10-06 David S. Miller <davem@davemloft.net>
13236
13237 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13238 upper 32-bits of the length value in %o2 since we use branch-on-register
13239 tests which consider the entire 64-bit register.
13240
5d41d91a
L
132412012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13242
13243 * string/test-strstr.c (check2): Add a test for page boundary.
13244
3baddb72
DM
132452012-10-05 David S. Miller <davem@davemloft.net>
13246
13247 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13248 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13249 file.
13250 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13251 sysdep_routines.
13252 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13253 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13254 and bzero when HWCAP_SPARC_CRYPTO is present.
13255
9cee5585
L
132562012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13257
d7e0dab9
L
13258 [BZ #14602]
13259 * string/test-strstr.c (check2): New function.
13260 (test_main): Call check2.
13261
03759f47
L
13262 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13263 and bug-strchr1.
13264 * string/bug-strcasestr1.c (do_test): Moved to ...
13265 * string/test-strcasestr.c (check1): Here. New function.
13266 (do_one_test): Break out result checking code into ...
13267 (check_result): This. New function.
13268 (do_one_test): Call check_result.
13269 (test_main): Call check1.
13270 * string/bug-strchr1.c (do_test): Moved to ...
13271 * string/test-strchr.c (check1): Here. New function.
13272 (do_one_test): Break out result checking code into ...
13273 (check_result): This. New function.
13274 (do_one_test): Call check_result.
13275 (test_main): Call check1.
13276 * string/bug-strstr1.c (main): Moved to ...
046f153e 13277 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13278 (do_one_test): Break out result checking code into ...
13279 (check_result): This. New function.
13280 (do_one_test): Call check_result.
13281 (test_main): Call check1.
13282 * string/bug-strcasestr1.c: Removed.
13283 * string/bug-strchr1.c: Likewise.
13284 * string/bug-strstr1.c: Likewise.
13285
53cea63e
L
13286 * elf/Makefile (dl-routines): Add hwcaps.
13287 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13288 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13289 (_dl_important_hwcaps): Moved to ...
13290 * elf/dl-hwcaps.c: Here. New file.
13291 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13292
9cee5585 13293 [BZ #14557]
bb859b06
L
13294 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13295 if IS_IN_rtld isn't defined.
13296
9cee5585
L
13297 * elf/dl-support.c (_dl_sysinfo_map): New.
13298 Include "get-dynamic-info.h" and "setup-vdso.h".
13299 (_dl_non_dynamic_init): Call setup_vdso.
13300 * elf/dynamic-link.h: Don't include <assert.h>.
13301 (elf_get_dynamic_info): Moved to ...
13302 * elf/get-dynamic-info.h: Here. New file.
13303 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13304 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13305 * elf/setup-vdso.h: Here. New file.
13306 * elf/rtld.c: Include "setup-vdso.h".
13307 (dl_main): Call setup_vdso.
13308
23c31b76
JM
133092012-10-05 Joseph Myers <joseph@codesourcery.com>
13310
28234b07
JM
13311 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13312 creal in comment listing functions tested. List finite, isinf,
13313 isnan, isless, islessequal, isgreater, isgreaterequal,
13314 islessgreater, isunordered, lgamma_r and pow10 as functions and
13315 macros not tested. Mention which functions not tested are aliases
13316 for other functions. Fix typo. Note that signs of NaNs are not
13317 tested.
13318
23c31b76
JM
13319 * scripts/config.guess: Update from config.git.
13320 * scripts/config.sub: Likewise.
13321
9043e228
RM
133222012-10-04 Roland McGrath <roland@hack.frob.com>
13323
13324 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13325 * misc/madvise.c (madvise): Renamed to __madvise.
13326 Make madvise a weak alias.
13327 * include/sys/mman.h: Declare __madvise.
13328 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13329 * sysdeps/unix/syscalls.list
13330 (madvise): Make __madvise the strong name, and madvise a weak alias.
13331 * sysdeps/unix/sysv/linux/syscalls.list
13332 (madvise, mmap): Remove redundant entries.
13333 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13334 * malloc/malloc.c (mtrim): Likewise.
13335 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13336
f57f8055
RM
133372012-10-03 Roland McGrath <roland@hack.frob.com>
13338
13339 * sysdeps/mach/hurd/dl-cache.c: File removed.
13340 * config.h.in (USE_LDCONFIG): New #undef.
13341 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13342 * configure: Regenerated.
13343 * elf/Makefile (dl-routines): Add dl-cache only under
13344 [$(use-ldconfig) = yes].
13345 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13346 cache on [USE_LDCONFIG].
13347 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13348 [USE_LDCONFIG].
13349 * elf/rtld.c (dl_main): Likewise.
13350
5bb0c10a
PT
133512012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13352
13353 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13354 _SC_LEVEL4_CACHE_LINESIZE.
13355
010188c6
RM
133562012-10-03 Roland McGrath <roland@hack.frob.com>
13357
13358 * sysdeps/unix/bsd/confstr.h: File removed.
13359
b6c5ec07
AO
133602012-10-02 Alexandre Oliva <aoliva@redhat.com>
13361
13362 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13363 sys/sdt-config.h.
13364
408223d4
RM
133652012-10-02 Roland McGrath <roland@hack.frob.com>
13366
13367 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13368 Make 'mapoff' field ElfW(Off) rather than off_t.
13369
bb9510dc
DL
133702012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13371
fc997c6e
DL
13372 * nscd/Makefile: Remove nscd-cflags and all its users.
13373 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13374 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13375
bb9510dc
DL
13376 [BZ #10631]
13377 * malloc.c (malloc_printerr): Clarify error message.
13378
05699367
L
133792012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13380
13381 [BZ #14648]
13382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13383 Set bit_FMA_Usable if FMA is supported.
13384 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13385 macro.
13386 (bit_FMA4_Usable): Updated.
13387 (index_FMA_Usable): New macro.
13388 (CPUID_FMA): Likewise
13389 (HAS_FMA): Defined with bit_FMA_Usable.
13390
51367701
RM
133912012-10-01 Roland McGrath <roland@hack.frob.com>
13392
13393 * bits/types.h (__swblk_t): Type removed.
13394 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13395 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13396 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13397 (__SWBLK_T_TYPE): Likewise.
13398 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13399 (__SWBLK_T_TYPE): Likewise.
13400 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13401 (__SWBLK_T_TYPE): Likewise.
13402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13403 (__SWBLK_T_TYPE): Likewise.
13404
4d57bf63 134052012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13406 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13407
13408 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13409 (xdr_mapname): Use YPMAXMAP as maxsize.
13410 (xdr_peername): Use YPMAXPEER as maxsize.
13411 (xdr_keydat): Use YPAXRECORD as maxsize.
13412 (xdr_valdat): Use YPMAXRECORD as maxsize.
13413
93c65d43
RM
134142012-10-01 Roland McGrath <roland@hack.frob.com>
13415
497a03d6
RM
13416 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13417
93c65d43
RM
13418 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13419 * csu/init-first.c: ... here.
13420 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13421 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13422 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13423 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13424 * sysdeps/i386/init-first.c: File removed.
13425 * sysdeps/sh/init-first.c: File removed.
13426
bec749fd
JM
134272012-10-01 Joseph Myers <joseph@codesourcery.com>
13428
13429 [BZ #14645]
13430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13431 if x * y might underflow to zero and z is zero.
13432 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13433 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13434 * math/libm-test.inc (min_subnorm_value): New variable.
13435 (fma_test): Add more tests.
13436 (fma_test_towardzero): Likewise.
13437 (fma_test_downward): Likewise
13438 (fma_test_upward): Likewise.
13439 (initialize): Set min_subnorm_value.
13440
8ec5b013
JM
134412012-09-29 Joseph Myers <joseph@codesourcery.com>
13442
13443 [BZ #14638]
13444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13445 0 + 0.
13446 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13447 mode for addition resulting in exact zero.
13448 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13450 exact 0 + 0.
13451 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13452 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13453 * math/libm-test.inc (fma_test): Add more tests.
13454 (fma_test_towardzero): New function.
13455 (fma_test_downward): Likewise.
13456 (fma_test_upward): Likewise.
13457 (main): Call the new functions.
13458
b1fa802e
DM
134592012-09-28 David S. Miller <davem@davemloft.net>
13460
13461 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13462
d3b9fd9e
RM
134632012-09-28 Roland McGrath <roland@hack.frob.com>
13464
ea4d37b3
RM
13465 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13466 instead of SIGALRM.
13467
ac51c949
RM
13468 * sysdeps/gnu/_G_config.h: Moved to ...
13469 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13470 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13471 * sysdeps/generic/_G_config.h: ... here.
13472
28c195f7
RM
13473 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13474
848917f9
RM
13475 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13476
6bacf05b
RM
13477 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13478 Conditionalize target on [libnss_test1.so-version].
13479
91363dbb
RM
13480 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13481
cc87f7d8
RM
13482 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13483 (elfobjdir): Move out of conditionals.
13484
b1c608fe
RM
13485 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13486 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13487 (__nss_lookup_function): Conditionalize label remove_from_tree on
13488 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13489
1d9a6d96
DM
134902012-09-28 David S. Miller <davem@davemloft.net>
13491
13492 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13493 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13494 file.
13495 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13496 sysdep_routines.
13497 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13499 when HWCAP_SPARC_CRYPTO is present.
13500
72581615
PT
135012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13502
13503 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13504
715a900c
JL
135052012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13506
13507 [BZ #6530]
13508 * stdio-common/vfprintf.c (process_string_arg): Revert
13509 2000-07-22 change.
13510
135112011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13512
13513 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13514 for testcase.
13515 * stdio-common/tst-sprintf.c: Include <locale.h>
13516 (main): Test sprintf's handling of incomplete multibyte
13517 characters.
13518
9bac1d86
L
135192012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13520
13521 * elf/dl-runtime.c (VERSYMIDX): Removed.
13522 * elf/dl-version.c (VERSYMIDX): Likewise.
13523 * elf/do-rel.h (VERSYMIDX): Likewise.
13524 (VALIDX): Likewise.
13525 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13526 * elf/rtld.c (VALIDX): Likewise.
13527 (ADDRIDX): Likewise.
9bac1d86
L
13528 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13529 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13530 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13531 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13532 (VALIDX): Likewise.
13533 (ADDRIDX): Likewise.
9bac1d86 13534
b31606c0
PT
135352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13536
13537 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13538
11541177
JL
135392012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13540
13541 [BZ #11438]
13542 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13543 to global scope.
13544 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13545 addresses are in the same scope as 192.0.2/24.
13546 * posix/gai.conf: Document new scope table defaults.
13547
adb26fae
SP
135482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13549
13550 [BZ #5298]
13551 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13552 for ftell. Compute offsets from write pointers instead.
13553 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13554
4573c6b0
SP
135552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13556
13557 [BZ #14543]
13558 * libio/Makefile (tests): New test case tst-fseek.
13559 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13560 combination works in wide mode.
13561 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13562 state when the external buffer state changes.
13563
aa9bbfe6
DM
135642012-09-27 David S. Miller <davem@davemloft.net>
13565
13566 [BZ #14376]
13567 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13568 pass reloc->r_addend in as the 'high' argument to
13569 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13570
784421e7
DM
13571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13572
c39bc8b8
PT
135732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13574
13575 * rt/tst-aio2.c: Include <pthread.h>.
13576 * rt/tst-aio3.c: Likewise.
13577
1ccc2399
SE
135782012-09-27 Steve Ellcey <sellcey@mips.com>
13579
13580 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13581
31ed4153
L
135822012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13583
25f5f885
L
13584 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13585 contents on [SHARED].
31ed4153 13586
b7bfe116
MP
135872012-09-26 Marek Polacek <polacek@redhat.com>
13588
13589 [BZ #14530]
13590 [BZ #13741]
13591 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13592 for C++ and GCC <4.3 as well as for non GCC compilers.
13593
43c4edba
MT
135942012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13595
13596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13597
6a1bf82f
RM
135982012-09-25 Roland McGrath <roland@hack.frob.com>
13599
13600 * Makefile.in (all, install): Declare with .PHONY.
13601 Reported by Michael Hope <michael.hope@linaro.org>.
13602
8ad11b9a
TMQMF
136032012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13604
13605 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13606 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13607 system header.
13608 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13609 Likewise.
13610 (sydep_routines): Add the new and the internal functions.
13611 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13612 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13614 (GLIBC_2.17): Add the new function.
13615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13616 (GLIBC_2.17): Likewise.
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13618 (GLIBC_2.17): Likewise.
13619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13620 (GLIBC_2.17): Likewise.
13621 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13622
7e2fca8d
AM
136232012-09-25 Alan Modra <amodra@gmail.com>
13624
13625 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13626 Add release barrier before setting once_control to say
13627 initialisation is done. Add hints on lwarx. Use macro in
13628 place of isync.
13629 (clear_once_control): Add release barrier.
13630
b87c4b24
JM
136312012-09-25 Joseph Myers <joseph@codesourcery.com>
13632
d032e0d2
JM
13633 [BZ #13629]
13634 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13635 specially.
13636 * math/s_clog10.c (__clog10): Likewise.
13637 * math/s_clog10f.c (__clog10f): Likewise.
13638 * math/s_clog10l.c (__clog10l): Likewise.
13639 * math/s_clogf.c (__clogf): Likewise.
13640 * math/s_clogl.c (__clogl): Likewise.
13641 * math/Makefile (libm-calls): Add x2y2m1.
13642 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13643 (__x2y2m1): Likewise.
13644 (__x2y2m1l): Likewise.
13645 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13646 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13648 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13649 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13650 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13651 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13652 * sysdeps/i386/fpu/libm-test-ulps: Update.
13653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13654
b87c4b24
JM
13655 [BZ #14621]
13656 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13657 int as type of variable DEPTH.
13658 (glob): Use size_t instead of int as type of variables NEWCOUNT
13659 and OLD_PATHC.
13660
6d3bf199
LD
136612012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13662
22bf5c17
LD
13663 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13664 Add s_sincosf-sse2.
13665 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13666 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13667 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13668 macros for using routine as __sincosf_ia32.
13669 Use macro for function declaration and weak_alias.
13670 * sysdeps/i386/fpu/libm-test-ulps: Update.
13671
13672 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13674
13675 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13676 subnormal argument.
13677 * math/s_cexpf.c (__cexpf): Likewise.
13678 * math/s_csinf.c (__csinf): Likewise.
13679 * math/s_csinhf.c (__csinhf): Likewise.
13680 * math/s_ctanf.c (__ctanf): Likewise.
13681 * math/s_ctanhf.c (__ctanhf): Likewise.
13682 * math/s_ccosh.c (__ccoshf): Likewise.
13683 * math/s_cexp.c (__cexpl): Likewise.
13684 * math/s_csin.c (__csin): Likewise.
13685 * math/s_csinh.c (__csinh): Likewise.
13686 * math/s_ctan.c (__ctan): Likewise.
13687 * math/s_ctanh.c (ctanh): Likewise.
13688 * math/s_ccoshl.c (__ccoshl): Likewise.
13689 * math/s_cexpl.c (__cexpl): Likewise.
13690 * math/s_csinl.c (__csinl): Likewise.
13691 * math/s_csinhl.c (__csinhl): Likewise.
13692 * math/s_ctanl.c (__ctanl): Likewise.
13693 * math/s_ctanhl.c (__ctanhl): Likewise.
13694
203e5603
JM
136952012-09-25 Joseph Myers <joseph@codesourcery.com>
13696
13697 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13698 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13699 (_IO_off_t): Define to __off_t, not _G_off_t.
13700 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13701 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13702 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13703 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13704 type of __dummy and __dummy2 fields.
13705 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13706 (_G_ssize_t): Likewise.
13707 (_G_off_t): Likewise.
13708 (_G_pid_t): Likewise.
13709 (_G_uid_t): Likewise.
13710 (_G_wchar_t): Likewise.
13711 (_G_wint_t): Likewise.
13712 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13713 (_G_ssize_t): Likewise.
13714 (_G_off_t): Likewise.
13715 (_G_pid_t): Likewise.
13716 (_G_uid_t): Likewise.
13717 (_G_wchar_t): Likewise.
13718 (_G_wint_t): Likewise.
13719 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13720 (_G_ssize_t): Likewise.
13721 (_G_off_t): Likewise.
13722 (_G_pid_t): Likewise.
13723 (_G_uid_t): Likewise.
13724 (_G_wchar_t): Likewise.
13725 (_G_wint_t): Likewise.
13726
9fab36eb
SP
137272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13728
13729 * malloc/arena.c: Include malloc-sysdep.h.
13730 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13731 is sufficient to shrink the heap or an unmap is needed.
13732 * sysdeps/generic/malloc-sysdep.h: New file. Define
13733 new function check_may_shrink_heap.
13734 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13735 new function check_may_shrink_heap.
13736
2b4f00d1
SP
137372012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13738
13739 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13740 comments.
13741
9a9028b1
DL
137422012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13743
57c69bef
DL
13744 * catgets/test-gencat.sh: Add "set -e".
13745 * elf/tst-pathopt.sh: Likewise.
13746 * grp/tst_fgetgrent.sh: Likewise.
13747 * iconvdata/run-iconv-test.sh: Likewise.
13748 * intl/tst-gettext.sh: Likewise.
13749 * intl/tst-gettext2.sh: Likewise.
13750 * intl/tst-gettext4.sh: Likewise.
13751 * intl/tst-gettext6.sh: Likewise.
13752 * intl/tst-translit.sh: Likewise.
13753 * io/ftwtest-sh: Likewise.
13754 * libio/test-freopen.sh: Likewise.
13755 * malloc/tst-mtrace.sh: Likewise.
13756 * posix/globtest.sh: Likewise.
13757 * posix/tst-getconf.sh: Likewise.
13758 * posix/wordexp-tst.sh: Likewise.
13759 * stdio-common/tst-printf.sh: Likewise.
13760 * stdio-common/tst-unbputc.sh: Likewise.
13761 * stdlib/tst-fmtmsg.sh: Likewise.
13762 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13763 * catgets/Makefile: Do not specify -e option when running
13764 testsuite shell scripts.
13765 * elf/Makefile: Likewise.
13766 * grp/Makefile: Likewise.
13767 * iconvdata/Makefile: Likewise.
13768 * intl/Makefile: Likewise.
13769 * io/Makefile: Likewise.
13770 * libio/Makefile: Likewise.
13771 * malloc/Makefile: Likewise.
13772 * posix/Makefile: Likewise.
13773 * stdio-common/Makefile: Likewise.
13774 * stdlib/Makefile: Likewise.
13775 * sysdeps/x86_64/Makefile: Likewise.
13776
9a9028b1
DL
13777 * io/ftwtest-sh: Add copyright header.
13778 * posix/globtest.sh: Likewise.
13779 * posix/tst-getconf.sh: Likewise.
13780 * posix/wordexp-tst.sh: Likewise.
13781 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13782
ced6f16e
L
137832012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13784
94b32c39
L
13785 [BZ #13679]
13786 * Makeconfig (+link): Defined as $(+link-static) if
13787 $(build-shared) isn't yes.
13788 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13789 isn't yes.
13790 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13791
189e935b
L
13792 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13793
ced6f16e
L
13794 [BZ #14562]
13795 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13796 new chunk size with MALLOC_ALIGN_MASK.
13797
a9f8e53a
JM
137982012-09-24 Joseph Myers <joseph@codesourcery.com>
13799
13800 [BZ #5044]
13801 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13802 <rounding-mode.h>.
13803 (__printf_fphex): Determine rounding using get_rounding_mode and
13804 round_away.
13805 * stdio-common/tst-printf-round.c (struct hex_test): New
13806 structure.
13807 (hex_tests): New variable.
13808 (test_hex_in_one_mode): New function.
13809 (do_test): Also run tests for hex float output.
13810
43153109
JM
138112012-09-21 Joseph Myers <joseph@codesourcery.com>
13812
13813 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13814 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13815 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13816 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13817 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13818 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13819 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13820 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13821
8a26625d
JM
138222012-09-20 Joseph Myers <joseph@codesourcery.com>
13823
13824 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13825 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13826 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13827 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13828
f3fd569c
DL
138292012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13830
13831 [BZ #14579]
13832 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13833 mode only.
13834 * elf/tst-rtld-load-self.sh: New test.
13835 * elf/Makefile: Run it.
13836
63bbedd4
JM
138372012-09-18 Joseph Myers <joseph@codesourcery.com>
13838
13839 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13840 (tst-writev-ENV): Remove.
13841 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13842
626f8b6a
CM
138432012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13844
13845 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13846
b7aaa4d6
JM
138472012-09-17 Joseph Myers <joseph@codesourcery.com>
13848
13849 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13850 unconditional.
13851 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13852 Likewise.
13853 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13854 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13855 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13856 Likewise.
13857
65513990
L
138582012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13859
13860 [BZ #14587]
13861 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13862 * config.make.in (have-cpp-asm-debuginfo): Removed.
13863 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13864 * configure: Regenerated.
13865
784761be
JM
138662012-09-14 Joseph Myers <joseph@codesourcery.com>
13867
13868 [BZ #5044]
13869 * stdio-common/printf_fp.c: Include <stdbool.h> and
13870 <rounding-mode.h>.
13871 (___printf_fp): Determine rounding using get_rounding_mode and
13872 round_away.
13873 * stdio-common/tst-printf-round.c: New file.
13874 * stdio-common/Makefile (tests): Add tst-printf-round.
13875 (link-libm): New variable.
13876 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13877
9503345f
L
138782012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13879
13880 [BZ #14576]
13881 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13882 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13883 Likewise.
13884 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13885 Likewise.
13886
ad35fc00
JM
138872012-09-13 Joseph Myers <joseph@codesourcery.com>
13888
13889 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13890 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13891 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13892 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13893
6c9b0f68
JM
138942012-09-12 Joseph Myers <joseph@codesourcery.com>
13895
13896 [BZ #14518]
13897 * include/rounding-mode.h: New file.
13898 * sysdeps/generic/get-rounding-mode.h: Likewise.
13899 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13900 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13901 (MAX_VALUE): New macro.
13902 (MIN_VALUE): Likewise.
13903 (overflow_value): New function.
13904 (underflow_value): Likewise.
13905 (round_and_return): Use overflow_value and underflow_value to
13906 determine return values in overflow and underflow cases. Use
13907 round_away to determine rounding depending on rounding mode.
13908 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13909 determine return values in overflow and underflow cases.
13910 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13911 (struct test_results): New structure.
13912 (struct test): Use struct test_results to store expected results
13913 for all rounding modes.
13914 (TEST): Include expected results for all rounding modes.
13915 (test_in_one_mode): New function.
13916 (do_test): Use test_in_one_mode to compute and check results.
13917 Check results for all rounding modes.
13918 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13919 $(link-libm).
13920
19fcedd5
AM
139212012-12-09 Allan McRae <allan@archlinux.org>
13922
1e9d84cd 13923 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13924
8bbfd2f1
JM
139252012-09-11 Joseph Myers <joseph@codesourcery.com>
13926
13927 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13928 (_G_int32_t): Likewise.
13929 (_G_uint16_t): Likewise.
13930 (_G_uint32_t): Likewise.
13931 (_G_HAVE_BOOL): Likewise.
13932 (_G_HAVE_ATEXIT): Likewise.
13933 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13934 (_G_HAVE_IO_FILE_OPEN): Likewise.
13935 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13936 (_G_int32_t): Likewise.
13937 (_G_uint16_t): Likewise.
13938 (_G_uint32_t): Likewise.
13939 (_G_HAVE_BOOL): Likewise.
13940 (_G_HAVE_ATEXIT): Likewise.
13941 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13942 (_G_HAVE_IO_FILE_OPEN): Likewise.
13943 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13944 (_G_int32_t): Likewise.
13945 (_G_uint16_t): Likewise.
13946 (_G_uint32_t): Likewise.
13947 (_G_HAVE_BOOL): Likewise.
13948 (_G_HAVE_ATEXIT): Likewise.
13949 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13950 (_G_HAVE_IO_FILE_OPEN): Likewise.
13951
b1dc5912
L
139522012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13953
13954 * csu/libc-tls.c: Update copyright years.
13955
0e886ef9
JM
139562012-09-10 Joseph Myers <joseph@codesourcery.com>
13957
28361c5e
JM
13958 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13959 [!_G_USING_THUNKS]: Remove conditional code.
13960 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13961 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13962
0e886ef9
JM
13963 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13964 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13965 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13966 (_G_VTABLE_LABEL_PREFIX): Likewise.
13967 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13968 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13969 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13970 (_G_VTABLE_LABEL_PREFIX): Likewise.
13971 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13972 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13973 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13974 (_G_VTABLE_LABEL_PREFIX): Likewise.
13975 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13976
bcba7aa2
L
139772012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13978
13979 * libio/Makefile: Include ../Makeconfig before tests.
13980 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13981 only if $(build-shared) is yes.
13982
06585ee8
L
13983 * iconv/gconv_db.c: Update copyright years.
13984
80ccd52c
LD
139852012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13986
13987 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13988 unwind info if defined PIC. Fix special cases description.
13989 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13990
13991 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13992 DP_HI_MASK entry.
13993 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13994
691bc9c1
L
139952012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13996
3d9b46b3
L
13997 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13998
de2139a9
L
13999 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14000 is NULL.
14001
5ca78dd0
L
14002 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14003 (LDLIBS-tst-chk4): This.
14004 (LDFLAGS-tst-chk5): Renamed to ...
14005 (LDLIBS-tst-chk5): This.
14006 (LDFLAGS-tst-chk6): Renamed to ...
14007 (LDLIBS-tst-chk6): This.
14008 (LDFLAGS-tst-lfschk4): Renamed to ...
14009 (LDLIBS-tst-lfschk4): This.
14010 (LDFLAGS-tst-lfschk5): Renamed to ...
14011 (LDLIBS-tst-lfschk5): This.
14012 (LDFLAGS-tst-lfschk6): Renamed to ...
14013 (LDLIBS-tst-lfschk6): This.
14014
691bc9c1
L
14015 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14016 on $(common-objpfx)soversions.mk.
14017
65cafb1c
JM
140182012-09-07 Joseph Myers <joseph@codesourcery.com>
14019
14020 [BZ #10014]
14021 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14022 example host name.
14023
c78ab094
SP
140242012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14025
14026 * malloc/arena.c (arena_get_retry): New function that gets
14027 another arena for the caller to try its request on.
14028 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14029 current arena cannot fulfill the request.
14030 (__libc_memalign): Likewise.
14031 (__libc_memalign): Likewise.
14032 (__libc_pvalloc): Likewise.
14033 (__libc_calloc): Likewise.
14034
01f49f59
JT
140352012-09-05 John Tobey <john.tobey@gmail.com>
14036
14037 [BZ #13542]
14038 * manual/arith.texi (Operations on Complex): Fix description
14039 of carg branch cut.
14040
4c23fed5
JM
140412012-09-06 Joseph Myers <joseph@codesourcery.com>
14042
1d3c8572
JM
14043 [BZ #10014]
14044 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14045 host name.
14046
4c23fed5
JM
14047 [BZ #10038]
14048 * manual/memory.texi (Memory): Make order of menu items match
14049 order of sections.
14050
04570aaa
L
140512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14052
14053 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14054 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14055 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14056
b80af2f4
L
140572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14058
14059 * csu/libc-tls.c (static_dtv): Renamed to ...
14060 (_dl_static_dtv): This. Make it global.
14061 (_dl_initial_dtv): Removed.
14062 (__libc_setup_tls): Updated.
14063 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14064 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14065 DL_INITIAL_DTV.
14066
2abe9f15
PM
140672012-09-06 Petr Machata <pmachata@redhat.com>
14068
14069 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14070 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14071 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14072 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14073
0948c3af
L
140742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14075
14076 [BZ #14545]
14077 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14078 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14079 freeing dtv[-1].
14080
a5055ad1
L
140812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14082
14083 [BZ #14544]
14084 * Makeconfig (link-static-before-libc): Replace $(+prector)
14085 with $(+prectorT).
14086 (link-static-after-libc): Replace $(+postctor) with
14087 $(+postctorT).
14088 (link-bounded): Replace $(+prector)/$(+postctor) with
14089 $(+prectorT)/$(+postctorT).
14090 (+prectorT): New macro.
14091 (+postctorT): Likewise.
14092
ed8c2ecd
JM
140932012-09-06 Joseph Myers <joseph@codesourcery.com>
14094
14095 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14096 (round_str): Handle values above the maximum for IBM long double
14097 as inexact.
14098 * stdlib/tst-strtod-round.c (tests): Regenerated.
14099
14c996c8
AK
141002012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14101
14102 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14103 assembler flag.
14104 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14105 zarch_nohighgprs around the zarch optimized routines.
14106 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14107 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14108 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14109 for zarch.
14110
430d6ce6
DM
141112012-09-05 David S. Miller <davem@davemloft.net>
14112
14113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14114
ff04dda4
DM
14115 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14116 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14117 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14118 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14119 entries.
14120
24d4e01b
AO
141212012-09-05 Alexandre Oliva <aoliva@redhat.com>
14122
14123 * malloc/arena.c: Fold copyright years.
14124 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14125
61d58174
AO
141262012-09-05 Alexandre Oliva <aoliva@redhat.com>
14127
14128 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14129
20196a5e
AO
141302012-09-05 Alexandre Oliva <aoliva@redhat.com>
14131
14132 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14133
5c447383
AO
141342012-09-05 Alexandre Oliva <aoliva@redhat.com>
14135
14136 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14137 change internal state upon failure.
14138
fad64255
AO
141392012-09-05 Alexandre Oliva <aoliva@redhat.com>
14140
14141 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14142 * malloc/memusage.c (mmap): Likewise.
14143 (mmap64, mremap): Likewise. Adjust name in comment.
14144
1ffb8c90
SP
141452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14146
14147 * libio/fileops.c: Fix typos in comments.
14148 * libio/oldfileops.c: Likewise.
14149 * libio/wfileops.c: Likewise.
14150
6ef9cc37
SP
141512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14152
14153 [BZ #1349]
14154 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14155 (tst-malloc-usable-ENV): Set environment for test case.
14156 * malloc/hooks.c (malloc_check_get_size): New function to get
14157 requested size.
14158 * malloc/malloc.c (musable): Use malloc_check_get_size.
14159 * malloc/tst-malloc-usable.c: New test case.
14160
4d038ae3
AS
141612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14162
14163 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14164
c4e85184
AM
141652012-09-05 Allan McRae <allan@archlinux.org>
14166
b9dafc56 14167 [BZ #13966]
c4e85184
AM
14168 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14169 determine header location.
14170 * configure: Regenerated.
14171
e1343020
AS
141722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14173
14174 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14175 float format.
14176 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14177 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14178 format.
e1343020
AS
14179 (test): Regenerate.
14180
0a9f1987
DM
141812012-09-04 David S. Miller <davem@davemloft.net>
14182
14183 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14184 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14185 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14186
29237804
FW
141872012-09-04 Florian Weimer <fweimer@redhat.com>
14188
14189 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14190 failures.
14191
edb3cb88
FW
14192 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14193
60160d83
JM
141942012-09-04 Joseph Myers <joseph@codesourcery.com>
14195
14196 [BZ #9914]
14197 * libio/iogetdelim.c: Include <limits.h>.
14198 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14199 + len + 1 would overflow.
14200
bcd6c8dc
AJ
142012012-09-03 Andreas Jaeger <aj@suse.de>
14202
14203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14204 * sysdeps/i386/fpu/libm-test-ulps: Update.
14205
4ffffbd2
LD
142062012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14207
14208 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14209 Add s_sinf-sse2, s_conf-sse2.
14210
14211 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14212 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14213 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14214 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14215
14216 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14217 for using routine as __sinf_ia32.
14218 Use macro for function declaration and weak_alias.
14219 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14220 for using routine as __cosf_ia32.
14221 Use macro for function declaration and weak_alias.
14222
14223 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14224 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14225
14226 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14227 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14229
14230 * math/libm-test.inc (cos_test): Add more test cases.
14231 (sin_test): Likewise.
14232 (sincos_test): Likewise.
14233
511fa286
AK
142342012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14235
14236 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14237 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14238 hidden.
14239 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14240
5f30cfec
L
142412012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14242
14243 [BZ #14538]
14244 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14245 first element of the GOT.
14246 (elf_machine_load_address): Return the difference between
14247 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14248
0786794f
AM
142492012-09-01 Allan McRae <allan@archlinux.org>
14250
5f30cfec
L
14251 [BZ #13412]
14252 * configure.in (AWK): Require gawk version 3.0 or later.
14253 * configure: Regenerated.
0786794f 14254
26889eac
JM
142552012-09-01 Joseph Myers <joseph@codesourcery.com>
14256
14257 * sysdeps/unix/sysv/linux/kernel-features.h
14258 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14259 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14260 [__NR_clock_getres]: Make code unconditional.
14261 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14262 (clock_getcpuclockid): Remove code left unreachable by removal of
14263 conditionals.
14264 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14265 code unconditional.
14266 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14267 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14268 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14269 Make code unconditional.
14270 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14271 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14272 * sysdeps/unix/sysv/linux/clock_settime.c
14273 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14274 conditional code.
14275 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14276 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14277
d22e28b0
L
142782012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14279
14280 [BZ #14476]
14281 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14282 scripts/test-installation.pl.
14283
14284 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14285 and $ld_so_version if it is set.
14286
050af9c4
SP
142872012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14288
14289 [BZ #14516]
14290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14291 failure if reading from procfs failed.
14292 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14293
ad845c0b
JM
142942012-08-27 Joseph Myers <joseph@codesourcery.com>
14295
14296 * sysdeps/unix/sysv/linux/kernel-features.h
14297 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14298 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14299 Remove conditional code.
14300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14301 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14302 Remove conditional code.
14303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14304 * sysdeps/unix/sysv/linux/i386/fxstat.c
14305 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14307 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14308 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14310 * sysdeps/unix/sysv/linux/i386/lxstat.c
14311 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14312 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14313 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14314 Remove conditional code.
14315 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14316 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14317 Remove conditional code.
14318 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14319 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14320 <kernel-features.h>.
14321 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14322 Remove.
14323 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14324 Remove conditional code.
14325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14326 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14327 Remove conditional.
14328
5dbf56af
MF
143292012-08-27 Mike Frysinger <vapier@gentoo.org>
14330
14331 [BZ #5400]
14332 * NEWS: Add fixed bug number.
14333
d6e70f43
JM
143342012-08-27 Joseph Myers <joseph@codesourcery.com>
14335
7efb4737
JM
14336 [BZ #14519]
14337 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14338 underflowing exponent in case of negative sign.
14339 * stdlib/tst-strtod-round-data: Add more tests.
14340 * stdlib/tst-strtod-round.c (tests): Regenerated.
14341
af92131a
JM
14342 [BZ #3479]
14343 * stdlib/strtod_l.c (NDIG): Remove.
14344 (HEXNDIG): Likewise.
14345 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14346 smallest representable value.
14347 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14348 lie within an exact representation of 1/2 ulp of the result.
14349 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14350 unconditionally.
14351 (TENS_P9_IDX): Define unconditionally.
14352 (TENS_P9_SIZE): Likewise.
14353 (TENS_P10_IDX): Likewise.
14354 (TENS_P10_SIZE): Likewise.
14355 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14356 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14357 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14358 entries for 10^2^13 and 10^2^14.
14359 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14360 (TENS_P13_IDX): Define.
14361 (TENS_P13_SIZE): Likewise.
14362 (TENS_P14_IDX): Likewise.
14363 (TENS_P14_SIZE): Likewise.
14364 (_fpioconst_pow10): Change array size to
14365 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14366 unconditional.
14367 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14368 1024]: Add entries for 10^2^13 and 10^2^14.
14369 [LAST_POW10 > _LAST_POW10]: Remove #error.
14370 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14371 (_fpioconst_pow10): Change array size to
14372 FPIOCONST_POW10_ARRAY_SIZE.
14373 * stdlib/gen-fpioconst.c: New file.
14374 * stdlib/gen-tst-strtod-round.c: Likewise.
14375 * stdlib/tst-strtod-round-data: Likewise.
14376 * stdlib/tst-strtod-round.c: Likewise.
14377 * stdlib/Makefile (tests): Add tst-strtod-round.
14378
d6e70f43
JM
14379 [BZ #14459]
14380 * stdlib/strtod_l.c: Include <stdint.h>.
14381 (NDEBUG): Do not define.
14382 (round_and_return): Change EXPONENT parameter to type intmax_t.
14383 Rearrange calculations to avoid internal overflow possibilities.
14384 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14385 Rearrange calculations to avoid internal overflow possibilities.
14386 Assert that number fits inside MPNSIZE limbs.
14387 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14388 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14389 calculations and add assertions to avoid internal overflow
14390 possibilities. Add casts to avoid signed/unsigned operations.
14391 * stdlib/tst-strtod-overflow.c: New file.
14392 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14393
1f529f7d
MP
143942012-08-25 Marek Polacek <polacek@redhat.com>
14395
14396 * time/time.h: Fix some typos in comments.
14397
59a629f1
RM
143982012-08-23 Roland McGrath <roland@hack.frob.com>
14399
14400 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14401 * posix/tst-rfc3484-2.c: Likewise.
14402 * posix/tst-rfc3484-3.c: Likewise.
14403
d3bafbc9
SM
144042012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14405
14406 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14407 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14408
4efcc022
JM
144092012-08-23 Joseph Myers <joseph@codesourcery.com>
14410
14411 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14412 #include of fxstatat64.c.
14413
3cc3ef96
RM
144142012-08-22 Roland McGrath <roland@hack.frob.com>
14415
f04e2132
RM
14416 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14417 * shadow/getspent_r.c: Likewise.
14418 * shadow/getspnam.c: Likewise.
14419 * shadow/getspnam_r.c: Likewise.
14420 * gshadow/getsgent.c: Likewise.
14421 * gshadow/getsgent_r.c: Likewise.
14422 * gshadow/getsgnam.c: Likewise.
14423 * gshadow/getsgnam_r.c: Likewise.
14424 * inet/getnetbyad.c: Likewise.
14425 * inet/getnetbyad_r.c: Likewise.
14426 * inet/getnetbynm.c: Likewise.
14427 * inet/getnetbynm_r.c: Likewise.
14428 * inet/getnetent.c: Likewise.
14429 * inet/getnetent_r.c: Likewise.
14430 * inet/getproto.c: Likewise.
14431 * inet/getproto_r.c: Likewise.
14432 * inet/getprtent.c: Likewise.
14433 * inet/getprtent_r.c: Likewise.
14434 * inet/getprtname.c: Likewise.
14435 * inet/getprtname_r.c: Likewise.
14436 * inet/getrpcbyname.c: Likewise.
14437 * inet/getrpcbyname_r.c: Likewise.
14438 * inet/getrpcbynumber.c: Likewise.
14439 * inet/getrpcbynumber_r.c: Likewise.
14440 * inet/getrpcent.c: Likewise.
14441 * inet/getrpcent_r.c: Likewise.
14442 * inet/getaliasent.c: Likewise.
14443 * inet/getaliasent_r.c: Likewise.
14444 * inet/getaliasname.c: Likewise.
14445 * inet/getaliasname_r.c: Likewise.
14446 * nscd/getgrgid_r.c: Likewise.
14447 * nscd/getgrnam_r.c: Likewise.
14448 * nscd/gethstbyad_r.c: Likewise.
14449 * nscd/gethstbynm3_r.c: Likewise.
14450 * nscd/getpwnam_r.c: Likewise.
14451 * nscd/getpwuid_r.c: Likewise.
14452 * nscd/getsrvbynm_r.c: Likewise.
14453 * nscd/getsrvbypt_r.c: Likewise.
14454 * nscd/gai.c: Likewise.
14455
c53d909c
RM
14456 * configure.in (build_nscd): New substituted variable, set
14457 by --disable-build-nscd and defaults to $use_nscd.
14458 * configure: Regenerated.
14459 * config.make.in (build-nscd): New substituted variable.
14460 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14461 Change conditional to require [$(build-nscd) = yes] as well.
14462 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14463
3cc3ef96
RM
14464 [BZ# 13696]
14465 * configure.in (use_nscd): New substituted variable, set by
14466 --disable-nscd. If enabled, define USE_NSCD.
14467 * configure: Regenerated.
14468 * config.h.in: Add USE_NSCD.
14469 * config.make.in (use-nscd): New substituted variable.
14470 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14471 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14472 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14473 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14474 (CFLAGS-getgrnam_r.c): Likewise.
14475 (CFLAGS-initgroups.c): Likewise.
14476 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14477 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14478 Variables removed.
14479 * inet/getnetgrent_r.c
14480 (nscd_setnetgrent): New function, broken out of ...
14481 (setnetgrent): ... here. Call it.
14482 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14483 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14484 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14485 * nscd/Makefile (routines, aux): Move definitions after include of
14486 Makeconfig. Conditionalize on [$(use-nscd) != no].
14487 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14488 Conditionalize on [USE_NSCD].
14489 (is_nscd, nscd_init_cb): Likewise.
14490 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14491 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14492 * nss/nss_db/db-init.c: Likewise.
14493 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14494 [USE_NSCD].
14495 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14496 (make_request): Use it.
14497 (cache_valid_p): New function.
14498 (__check_pf): Use it.
14499 * NEWS: Add item for --disable-nscd.
14500
07e51550
DL
145012012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14502
14503 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14504 to support sed >= 4.2.1-20-ga9bf076.
14505 * configure: Regenerated.
14506
35a5b08b
RM
145072012-08-22 Roland McGrath <roland@hack.frob.com>
14508
14509 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14510 Conditionalize whole body on [IREL].
14511
8479f23a
JL
145122012-08-22 Jeff Law <law@redhat.com>
14513
14514 [BZ #14505]
14515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14516 if the family is PF_UNSPEC.
14517
48da0b21
MF
145182012-08-22 Mike Frysinger <vapier@gentoo.org>
14519
14520 * Makerules (lib-version): Rename from V.
14521 (install-lib-nosubdir): Change V to lib-version.
14522
15d0da8c
WS
145232012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14524
14525 [BZ #14252]
14526 * powerpc32/power6/wcschr.c: New file.
14527 * powerpc32/power6/wcscpy.c: New file.
14528 * powerpc32/power6/wcsrchr.c: New file.
14529 * powerpc64/power6/wcschr.c: New file.
14530 * powerpc64/power6/wcscpy.c: New file.
14531 * powerpc64/power6/wcsrchr.c: New file.
14532
bcca0895
MK
145332012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14534
14535 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14536 (two_way_short_needle): Use it.
5a4aaa33
RM
14537 * string/strstr.c (AVAILABLE1_USES_J): Define.
14538 * string/strcasestr.c: Likewise.
99677e57
MK
14539
14540 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14541 array references.
14542 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14543
400726de
MK
14544 [BZ #11607]
14545 * NEWS: Add an entry.
14546 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14547 define their defaults.
14548 (two_way_short_needle): Detect end-of-string on-the-fly.
14549 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14550 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14551 * string/bug-strcasestr1.c: New test.
14552 * string/Makefile: Run it.
14553
20a71f2c
MK
145542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14555
14556 [BZ #11607]
14557 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14558 the first character.
14559
21ad0558
RM
145602012-08-21 Roland McGrath <roland@hack.frob.com>
14561
14562 * csu/elf-init.c (__libc_csu_irel): Function removed.
14563 * csu/libc-start.c (apply_irel): New function.
14564 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14565
0e1d9911
JM
145662012-08-21 Joseph Myers <joseph@codesourcery.com>
14567
14568 * sysdeps/unix/sysv/linux/kernel-features.h
14569 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14570 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14571 <kernel-features.h>.
14572 [__NR_fadvise64_64]: Make code unconditional.
14573 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14574 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14575 !__NR_fadvise64_64)]: Likewise.
14576 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14577 !__NR_fadvise64_64))]: Likewise.
14578 [__NR_fadvise64]: Make code unconditional.
14579 [!__NR_fadvise64]: Remove conditional code.
14580 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14581 <kernel-features.h>.
14582 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14583 unconditional.
14584 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14585 conditional code.
14586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14587 not include <kernel-features.h>.
14588 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14589 unconditional.
14590 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14591 conditional code.
14592 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14593 include <kernel-features.h>.
14594 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14595 unconditional.
14596 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14597 conditional code.
14598
14a50c9d
WS
145992012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14600
14601 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14602 slight instruction rearrangements per scrollpipe analysis.
14603 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14604
c0f4faf0
RM
146052012-08-20 Roland McGrath <roland@hack.frob.com>
14606
696da859
RM
14607 * manual/syslog.texi (syslog; vsyslog, closelog):
14608 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14609 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14610
c0f4faf0
RM
14611 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14612 DSOCAPS to match condition on defining it.
14613
348363b2
JM
146142012-08-20 Joseph Myers <joseph@codesourcery.com>
14615
a35cbf28
JM
14616 * sysdeps/unix/sysv/linux/kernel-features.h
14617 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14619 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14620 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14622 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14623 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14625 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14626 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14627
445f7ecd
JM
14628 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14629 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14630
348363b2
JM
14631 * sysdeps/unix/sysv/linux/kernel-features.h
14632 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14633 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14634 unconditional.
14635 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14636 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14637 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14638 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14639 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14640 Make code unconditional.
14641 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14642 (__mmap64) [!__NR_mmap2]: Likewise.
14643 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14644 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14645 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14646 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14647 [__NR_mmap2]: Make code unconditional.
14648 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14649 (__mmap64) [!__NR_mmap2]: Likewise.
14650
bc5bc0e5
AK
146512012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14652
14653 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14654
88d506de
AJ
146552012-08-18 Andreas Jaeger <aj@suse.de>
14656
14657 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14658
493387d2
MF
146592012-08-18 Mike Frysinger <vapier@gentoo.org>
14660
14661 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14662 * include/unistd.h (__have_sock_cloexec): Likewise.
14663 (__have_pipe2): Likewise.
14664 (__have_dup3): Likewise.
14665
a277af22
MF
146662012-08-18 Mike Frysinger <vapier@gentoo.org>
14667
14668 [BZ #9685]
14669 * include/unistd.h (__have_pipe2): Change define into an extern int.
14670 (__have_dup3): Likewise.
14671 * socket/have_sock_cloexec.c: Include fcntl.h.
14672 (__have_pipe2): New variable.
14673 (__have_dup3): Likewise.
14674
fdab8fd3
MF
146752012-08-17 Mike Frysinger <vapier@gentoo.org>
14676
14677 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14678
31035e80
MP
146792012-08-17 Marek Polacek <polacek@redhat.com>
14680
14681 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14682 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14683
3bd9e993
RM
146842012-08-17 Roland McGrath <roland@hack.frob.com>
14685
c91c505f
RM
14686 * configure.in: Add AC_SUBST for sysheaders.
14687 * configure: Regenerated.
14688 * config.make.in (sysheaders): New substituted variable.
14689
7c6f9d53
RM
14690 * sysdeps/unix/mkfifo.c: Moved ...
14691 * sysdeps/posix/mkfifo.c: ... here.
14692 * sysdeps/unix/mkfifoat.c: Moved ...
14693 * sysdeps/posix/mkfifoat.c: ... here.
14694
14695 * sysdeps/unix/utime.c: Moved ...
14696 * sysdeps/posix/utime.c: ... here.
14697
14698 * sysdeps/unix/time.c: Moved ...
14699 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14700 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14701 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14702
14703 * sysdeps/unix/nice.c: Moved ...
14704 * sysdeps/posix/nice.c: ... here.
14705
14706 * sysdeps/unix/alarm.c: Moved ...
14707 * sysdeps/posix/alarm.c: ... here.
14708
3bd9e993
RM
14709 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14710
d1f09384
JL
147112012-08-17 Jeff Law <law@redhat.com>
14712
14713 * intl/Makefile (codeset_mo): New variable.
14714 ($(codeset_mo)): New target.
14715 (tst-codeset.out): Depend on that. Remove explicit rule.
14716 (tst-gettext3.out, tst-gettext5.out): Likewise.
14717 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14718 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14719 * intl/tst-codeset.sh: Remove.
14720 * intl/tst-gettext3.sh: Likewise.
14721 * intl/tst-gettext5.sh: Likewise.
14722
2ae1ae5c
RM
147232012-08-17 Roland McGrath <roland@hack.frob.com>
14724
c31fdb83
RM
14725 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14726 * sysdeps/unix/syscalls.list: ... here.
14727
a0844057
RM
14728 * sysdeps/posix/getaddrinfo.c
14729 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14730 (gaiconf_init, gaiconf_reload): Use them.
14731 [!_STATBUF_ST_NSEC]
14732 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14733 Define using time_t rather than struct timespec.
14734
750c1f2a
RM
14735 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14736 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14737 Macros removed.
14738 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14739 [!NO_THREADS].
14740 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14741 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14742 Likewise.
14743
2ae1ae5c
RM
14744 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14745 __libc_cleanup_push argument.
14746
e66a42f5
RM
14747 * bits/param.h: New file.
14748 * misc/sys/param.h: New file.
14749 * include/sys/param.h: New file.
14750 * misc/Makefile (headers): Add bits/param.h.
14751 * sysdeps/generic/sys/param.h: File removed.
14752 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14753 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14754 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14755 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14756
b7c08a66
RM
14757 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14758 last change.
14759
b2e1c562
RM
14760 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14761 [_IO_MTSAFE_IO].
14762 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14763 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14764 New macros.
14765
c75ccd4c
RM
14766 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14767 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14768 rather than -D_IO_MTSAFE_IO conditionally.
14769 * stdio-common/Makefile (CPPFLAGS): Likewise.
14770 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14771 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14772 Use $(libio-mtsafe).
14773 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14774 of -D_IO_MTSAFE_IO.
14775 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14776 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14777 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14778 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14779 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14780 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14781 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14782 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14783 (CFLAGS-fread_u_chk.c): Likewise.
14784 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14785 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14786 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14787 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14788 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14789 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14790 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14791 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14792 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14793
14794 * libio/Makefile: Test [$(libc-reentrant) = yes]
14795 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14796
14797 * Makeconfig
14798 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14799 * sysdeps/pthread/configure: File removed.
14800 * sysdeps/pthread/Makeconfig: New file.
14801 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14802 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14803
d9195db8
GB
148042012-08-16 Gary Benson <gbenson@redhat.com>
14805
14806 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14807 unmapping the first object in a namespace.
14808
86466cd9
RM
148092012-08-16 Roland McGrath <roland@hack.frob.com>
14810
14811 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14812 (__internal_setnetgrent): ... this. Add internal_function to
14813 definition. Add libc_hidden_def.
14814 (setnetgrent): Update caller.
14815 (internal_endnetgrent): Renamed to ...
14816 (__internal_endnetgrent): ... this. Add internal_function to
14817 definition. Add libc_hidden_def.
14818 (endnetgrent): Update caller.
14819 (internal_getnetgrent_r): Renamed to ...
14820 (__internal_getnetgrent_r): ... this. Add internal_function to
14821 definition. Add libc_hidden_def.
14822 (__getnetgrent_r): Update caller.
14823 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14824
c3c8283c
JM
148252012-08-16 Joseph Myers <joseph@codesourcery.com>
14826
14827 * stdlib/longlong.h: Update from GCC.
14828
db1ee0a8
RM
148292012-08-16 Roland McGrath <roland@hack.frob.com>
14830
14831 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14832 on _QL, which is set by umul_ppmm but never used.
14833 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14834 variables, which are set by GMP macros but never used.
14835 * stdio-common/_itowa.c (_itowa): Likewise.
14836 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14837 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14838
30f69637
CD
148392012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14840
14841 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14842 struct La_sh_regs is not constant.
14843 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14844 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14845 and struct La_sparc64_regs are not constant.
14846
93a78ac4
JM
148472012-08-16 Joseph Myers <joseph@codesourcery.com>
14848
14849 * sysdeps/unix/sysv/linux/kernel-features.h
14850 (__ASSUME_POSIX_TIMERS): Remove.
14851 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14852 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14853 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14854 Make code unconditional.
14855 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14856 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14857 Make code unconditional.
14858 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14859 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14860 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14861 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14862 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14863 Make code unconditional.
14864 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14865 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14866 (__libc_missing_posix_timers): Remove.
14867
dd924cd7
RM
148682012-08-15 Roland McGrath <roland@hack.frob.com>
14869
4b4f2771
RM
14870 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14871 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14872
601c888b
RM
14873 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14874
176790a7
RM
14875 * elf/dl-sym.c: Include <stdlib.h>.
14876
329bc018
RM
14877 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14878 constants, which avoids warnings in 32-bit builds.
14879
e04e272d
RM
14880 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14881 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14882
952bf94a
RM
14883 * misc/lseek.c: File moved to ...
14884 * io/lseek.c: ... here.
14885
7c99b50a
RM
14886 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14887
dd924cd7
RM
14888 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14889 shifting LEN more than 31 bits at once.
14890
b3f479a8
LD
148912012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14892
14893 [BZ #14195]
8c4ae0d4
RM
14894 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14895 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14896 * string/test-strncasecmp.c (check1): Renamed to...
14897 (bz12205): ...this.
14898 (bz14195): Add new testcase for two empty input strings and N > 0.
14899 (test_main): Call new testcase, adapt for renamed function.
14900
9c55864e
AJ
149012012-08-15 Andreas Jaeger <aj@suse.de>
14902
14903 [BZ #14090]
14904 * crypt/md5test2.c: New test, based on test supplied by Serge
14905 Belyshev <belyshev@depni.sinp.msu.ru>.
14906 * crypt/Makefile (xtests): Add md5test-giant..
14907 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14908
02dcb6c5
PE
149092012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14910
14911 [BZ #14090]
14912 * crypt/md5.c (md5_process_block): Don't assume the buffer
14913 length is less than 2**32.
14914 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14915 length is less than 2**64.
14916
a3f95dcc
RM
149172012-08-15 Roland McGrath <roland@hack.frob.com>
14918
be75d758
RM
14919 * string/str-two-way.h: Include <sys/param.h>.
14920 (MAX): Macro removed.
14921
7312ca90
RM
14922 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14923 Move #define and #undef of memmove to just before and after
14924 including <string.h>.
14925
9a0a5486
RM
14926 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14927 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14928 and after including <string.h>. Move declarations of
14929 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14930 to before #include "string/memmove.c".
14931
67cc348d
RM
14932 * include/dirent.h: Declare __getdirentries.
14933
a3f95dcc
RM
14934 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14935 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14936
ca98e171
MF
149372012-08-14 Mike Frysinger <vapier@gentoo.org>
14938
14939 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14940 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14941 * sysdeps/i386/configure: Regenerated.
14942 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14943 STABS_CURRENT_FILE, and STABS_FUN.
14944 (END): Remove call to STABS_FUN_END.
14945 (STABS_CURRENT_FILE1): Delete.
14946 (STABS_CURRENT_FILE): Likewise.
14947 (STABS_FUN): Likewise.
14948 (STABS_FUN_END): Likewise.
14949 (STABS_FUN2): Likewise.
14950 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14951 * sysdeps/x86_64/configure: Regenerated.
14952
5908bf46
RM
149532012-08-14 Roland McGrath <roland@hack.frob.com>
14954
14955 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14956 * elf/dl-lookup.c: Likewise.
5908bf46 14957
f2c05b9e
JM
149582012-08-14 Joseph Myers <joseph@codesourcery.com>
14959
14960 * sysdeps/unix/sysv/linux/kernel-features.h
14961 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14962 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14963 unconditionally.
14964 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14965 unconditionally.
14966 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14967 condition on __ASSUME_CLONE_THREAD_FLAGS.
14968
e11f5155
AJ
149692012-08-14 Andreas Jaeger <aj@suse.de>
14970
14971 * sysdeps/i386/fpu/libm-test-ulps: Update.
14972
51a9ba86
MK
149732012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14974
2fdd4f78
AJ
14975 * include/atomic.h (atomic_exchange_and_add): Split into ...
14976 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14977 New atomic macros.
51a9ba86 14978
ba6cba9e
MT
149792012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14980
14981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14982
42443a47
JL
149832012-08-13 Jeff Law <law@redhat.com>
14984
14985 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14986 null byte in the output string.
14987
121dce05
JM
149882012-08-10 Joseph Myers <joseph@codesourcery.com>
14989
14990 * sysdeps/unix/sysv/linux/kernel-features.h
14991 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14992 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14993 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14994 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14995 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14996 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14997 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14998
bf51f568
JL
149992012-08-09 Jeff Law <law@redhat.com>
15000
15001 [BZ #13939]
15002 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15003 When avoid_arena is set, don't retry in the that arena. Pick the
15004 next one, whatever it might be.
15005 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15006 (arena_lock): Pass in new parameter to arena_get2.
15007 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15008 arena_get2.
15009 (__libc_malloc): Unify retrying after main arena failure with
15010 __libc_memalign version.
15011 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15012
f85fa270
L
150132012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15014
15015 [BZ #14166]
15016 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15017 to __redirect_strstr.
15018 (__strstr_sse42): Use typeof __redirect_strstr.
15019 (__strstr_ia32): Likewise.
15020 (__libc_strstr): New prototype.
15021 (strstr): Renamed to ...
15022 (__libc_strstr): This.
15023 (strstr): New strong alias of __libc_strstr.
15024 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15025 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15026 __redirect_time.
15027 Include <time.h>.
15028 (__libc_time): New prototype.
15029 (time_ifunc): Replace time with __libc_time.
15030 (time): New strong alias and hidden definition of __libc_time.
15031 (__GI_time): Remove strong alias.
15032 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15033 Include <stddef.h>.
15034 (memmove): Redefined to __redirect_memmove.
15035 (__memmove_sse2): Use typeof __redirect_memmove.
15036 (__memmove_ssse3): Likewise.
15037 (__memmove_ssse3_back): Likewise.
15038 (__libc_memmove): New prototype.
15039 (memmove): Renamed to ...
15040 (__libc_memmove): This.
15041 (memmove): New strong alias of __libc_memmove.
15042
33b4a91e
MS
150432012-08-08 Mark Salter <msalter@redhat.com>
15044
15045 * elf/elf.h
15046 (R_MN10300_TLS_GD): Define.
15047 (R_MN10300_TLS_LD): Likewise.
15048 (R_MN10300_TLS_LDO): Likewise.
15049 (R_MN10300_TLS_GOTIE): Likewise.
15050 (R_MN10300_TLS_IE): Likewise.
15051 (R_MN10300_TLS_LE): Likewise.
15052 (R_MN10300_TLS_DTPMOD): Likewise.
15053 (R_MN10300_TLS_DTPOFF): Likewise.
15054 (R_MN10300_TLS_TPOFF): Likewise.
15055 (R_MN10300_SYM_DIFF): Likewise.
15056 (R_MN10300_ALIGN): Likewise.
15057 (R_MN10300_NUM): Update.
15058
b36137f1
JM
150592012-08-08 Joseph Myers <joseph@codesourcery.com>
15060
15061 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15062 Remove.
15063
cdd915fd
RM
150642012-08-08 Roland McGrath <roland@hack.frob.com>
15065
a2433aac
RM
15066 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15067
cdd915fd
RM
15068 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15069 sysdeps/unix -> sysdeps/posix move.
15070 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15071
bf9b740a
AM
150722012-08-07 Allan McRae <allan@archlinux.org>
15073
15074 [BZ #14303]
15075 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15076 (SUNOS_CPP): Likewise.
15077 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15078 not found.
15079 (open_input): Call CPP using execvp.
15080
93df14ee
JM
150812012-08-07 Joseph Myers <joseph@codesourcery.com>
15082
15083 * sysdeps/unix/sysv/linux/kernel-features.h
15084 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15085 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15086 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15087 (__ASSUME_WAITID_SYSCALL): Likewise.
15088 * sysdeps/unix/sysv/linux/dl-execstack.c
15089 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15090 code unconditional.
15091 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15092 conditional code.
15093 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15094 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15095 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15096 code.
15097 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15098 unconditional.
15099 [__ASSUME_WAITID_SYSCALL]: Likewise.
15100 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15101
d34689de
RM
151022012-08-07 Roland McGrath <roland@hack.frob.com>
15103
a281decc
RM
15104 * sysdeps/unix/closedir.c: Renamed to ...
15105 * sysdeps/posix/closedir.c: ... here.
15106 * sysdeps/unix/dirfd.c: Renamed to ...
15107 * sysdeps/posix/dirfd.c: ... here.
15108 * sysdeps/unix/dirstream.h: Renamed to ...
15109 * sysdeps/posix/dirstream.h: ... here.
15110 * sysdeps/unix/fdopendir.c: Renamed to ...
15111 * sysdeps/posix/fdopendir.c: ... here.
15112 * sysdeps/unix/opendir.c: Renamed to ...
15113 * sysdeps/posix/opendir.c: ... here.
15114 * sysdeps/unix/readdir.c: Renamed to ...
15115 * sysdeps/posix/readdir.c: ... here.
15116 * sysdeps/unix/readdir_r.c: Renamed to ...
15117 * sysdeps/posix/readdir_r.c: ... here.
15118 * sysdeps/unix/rewinddir.c: Renamed to ...
15119 * sysdeps/posix/rewinddir.c: ... here.
15120 * sysdeps/unix/seekdir.c: Renamed to ...
15121 * sysdeps/posix/seekdir.c: ... here.
15122 * sysdeps/unix/telldir.c: Renamed to ...
15123 * sysdeps/posix/telldir.c: ... here.
15124 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15125 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15126 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15127 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15128
22895b47
RM
15129 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15130 * bits/fcntl.h: ... here.
15131
707a53b6
RM
15132 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15133 not 0.
15134 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15135 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15136 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15137 (struct flock): Move l_start, l_len to the beginning.
15138 Use __pid_t for l_pid.
15139 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15140 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15141 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15142 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15143 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15144 [__USE_LARGEFILE64] (struct flock64): New type.
15145 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15146
f0bd3e25
RM
15147 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15148 * bits/dirent.h: ... here.
15149
d34689de
RM
15150 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15151 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15152
6dad2c06
JM
151532012-08-07 Joseph Myers <joseph@codesourcery.com>
15154
15155 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15156 Change from 2.6.0 to 2.6.16.
15157 * sysdeps/unix/sysv/linux/configure: Regenerated.
15158 * sysdeps/unix/sysv/linux/kernel-features.h
15159 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15160 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15161 version.
15162 (__ASSUME_UTIMES): Likewise.
15163 (__ASSUME_CLONE_STOPPED): Remove.
15164 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15165 architectures, not kernel version.
15166 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15167 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15168 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15169 (__ASSUME_WAITID_SYSCALL): Likewise.
15170 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15171 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15172 * README: State 2.6.16 as minimum Linux kernel version. Do not
15173 refer to older versions.
15174
03af9520
RM
151752012-08-06 Roland McGrath <roland@hack.frob.com>
15176
8e49df1d
RM
15177 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15178 Define alphasort64 as an alias.
15179 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15180 Define versionsort64 as an alias.
15181 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15182 Define scandir64 as an alias.
15183 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15184 Define scandirat64 as an alias.
15185 * dirent/alphasort64.c (alphasort64):
15186 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15187 * dirent/versionsort64.c: Likewise.
15188 * dirent/scandir64.c: Likewise.
15189 * dirent/scandirat64.c: Likewise.
15190 * sysdeps/wordsize-64/alphasort.c: File removed.
15191 * sysdeps/wordsize-64/alphasort64.c: File removed.
15192 * sysdeps/wordsize-64/scandir.c: File removed.
15193 * sysdeps/wordsize-64/scandir64.c: File removed.
15194 * sysdeps/wordsize-64/scandirat.c: File removed.
15195 * sysdeps/wordsize-64/scandirat64.c: File removed.
15196 * sysdeps/wordsize-64/versionsort.c: File removed.
15197 * sysdeps/wordsize-64/versionsort64.c: File removed.
15198 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15199 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15200 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15201 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15202 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15203 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15204 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15205 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15206
15207 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15208 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15209 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15210 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15211 [defined __arch64__ || defined __sparcv9]
15212 (__INO_T_MATCHES_INO64_T): New macro.
15213 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15214 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15215 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15216 * sysdeps/unix/sysv/linux/bits/dirent.h
15217 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15218 (_DIRENT_MATCHES_DIRENT64): New macro.
15219
03af9520
RM
15220 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15221 Define lockf64 as an alias.
15222 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15223 Define fseeko64 as an alias.
15224 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15225 Define ftello64 as an alias.
15226 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15227 Define _IO_fgetpos64 and fgetpos64 as aliases.
15228 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15229 Define _IO_fsetpos64 and fsetpos64 as aliases.
15230 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15231 Conditionalize body on this.
15232 * libio/fseeko64.c: Likewise.
15233 * libio/ftello64.c: Likewise.
15234 * libio/iofgetpos64.c: Likewise.
15235 * libio/iofsetpos64.c: Likewise.
15236 * sysdeps/wordsize-64/lockf.c: File removed.
15237 * sysdeps/wordsize-64/lockf64.c: File removed.
15238 * sysdeps/wordsize-64/fseeko.c: File removed.
15239 * sysdeps/wordsize-64/fseeko64.c: File removed.
15240 * sysdeps/wordsize-64/ftello.c: File removed.
15241 * sysdeps/wordsize-64/ftello64.c: File removed.
15242 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15243 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15244 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15245 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15247 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15248 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15249 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15250 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15251 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15252 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15253 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15254 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15255 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15256
15257 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15258 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15259 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15261 [defined __arch64__ || defined __sparcv9]
15262 (__OFF_T_MATCHES_OFF64_T): New macro.
15263 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15264 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15265 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15266 (__OFF_T_MATCHES_OFF64_T): New macro.
15267
c5757acd
L
152682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15269
15270 * stdlib/secure-getenv.c (__secure_getenv): Replace
15271 GLIBC_2_16 with GLIBC_2_17.
15272
3a31811e
L
152732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15274
15275 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15276 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15277
faa2bccb
DM
152782012-08-03 David S. Miller <davem@davemloft.net>
15279
15280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15281
85fe1997
JM
152822012-08-03 Joseph Myers <joseph@codesourcery.com>
15283
15284 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15285 Remove.
15286 (__ASSUME_CORRECT_SI_PID): Likewise.
15287 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15288 (__ASSUME_TMPFS_NAME): Likewise.
15289 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15290 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15291 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15292 (HAVE_AUX_SECURE): Make definition unconditional.
15293 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15294 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15295
4f75b7a0
RM
152962012-08-03 Roland McGrath <roland@hack.frob.com>
15297
15298 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15299 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15300 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15301 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15302 __eloop_threshold instead of SYMLOOP_MAX.
15303
15304 * sysdeps/generic/eloop-threshold.h: New file.
15305 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15306 of MAXSYMLINKS.
15307 * elf/chroot_canon.c (chroot_canon): Likewise.
15308
7aab07e4
JM
153092012-08-03 Joseph Myers <joseph@codesourcery.com>
15310
15311 [BZ #13717]
15312 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15313 Change to 2.6.0 everywhere.
15314 * sysdeps/unix/sysv/linux/configure: Regenerated.
15315 * sysdeps/unix/sysv/linux/kernel-features.h
15316 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15317 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15318 kernel versions.
15319 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15320 (__ASSUME_FUTEX_REQUEUE): Remove.
15321 (__ASSUME_STATFS64): Define unconditionally.
15322 (__ASSUME_AT_SECURE): Likewise.
15323 (__ASSUME_CORRECT_SI_PID): Likewise.
15324 (__ASSUME_TGKILL): Define without depending on kernel version for
15325 i386.
15326 (__ASSUME_UTIMES): Likewise.
15327 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15328 kernel version.
15329 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15330 (__ASSUME_TMPFS_NAME): Likewise.
15331 * README: Update reference to Linux kernel versions.
15332
b67e9372
MP
153332012-08-02 Marek Polacek <polacek@redhat.com>
15334
1f529f7d 15335 [BZ# 14150]
b67e9372
MP
15336 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15337 libc_cv_asm_type_prefix with %.
15338 * configure: Regenerated.
d2441631
RM
15339 * include/libc-symbols.h: Remove comment about
15340 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15341 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15342 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15343 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15344 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15345 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15346 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15347 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15348 * elf/tst-unique2mod1.c: Likewise.
15349 * elf/tst-unique1mod2.c: Likewise.
15350 * elf/tst-unique1mod1.c: Likewise.
15351 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15352 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15353 Replace ASM_TYPE_DIRECTIVE with .type.
15354 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15355 * sysdeps/i386/sysdep.h: Likewise.
15356 * sysdeps/x86_64/sysdep.h: Likewise.
15357 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15359 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15360 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15361 * sysdeps/powerpc/powerpc32/sysdep.h:
15362 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15363 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15364 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15365 * sysdeps/i386/fpu/e_powf.S: Likewise.
15366 * sysdeps/i386/fpu/e_expl.S: Likewise.
15367 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15368 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15369 * sysdeps/i386/fpu/e_pow.S: Likewise.
15370 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15371 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15372 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15373 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15374 * sysdeps/i386/fpu/e_log2.S: Likewise.
15375 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15376 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15377 * sysdeps/i386/fpu/e_powl.S: Likewise.
15378 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15379 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15380 * sysdeps/i386/fpu/e_logl.S: Likewise.
15381 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15382 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15383 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15384 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15385 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15386 * sysdeps/i386/fpu/e_log.S: Likewise.
15387 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15388 * sysdeps/i386/fpu/e_logf.S: Likewise.
15389 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15390 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15391 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15392 * sysdeps/i386/fpu/e_log10.S: Likewise.
15393 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15394 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15395 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15396 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15397 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15398 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15399 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15400 * sysdeps/i386/i686/strtok.S: Likewise.
15401 * sysdeps/i386/i386-mcount.S: Likewise.
15402 * sysdeps/i386/strtok.S: Likewise.
15403 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15404 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15405 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15406 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15407 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15408 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15409 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15410 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15411 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15412 * sysdeps/x86_64/_mcount.S: Likewise.
15413 * sysdeps/x86_64/strtok.S: Likewise.
15414 * sysdeps/sh/_mcount.S: Likewise.
15415
2747bf9a
RM
154162012-08-01 Roland McGrath <roland@hack.frob.com>
15417
15418 * libio/iofopen.c: Include <fcntl.h>.
15419 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15420 (_IO_fopen64, fopen64): Define as aliases.
15421 * libio/iofopen64.c: Include <fcntl.h>.
15422 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15423 Conditionalize body on this.
15424 * sysdeps/wordsize-64/iofopen.c: File removed.
15425 * sysdeps/wordsize-64/iofopen64.c: File removed.
15426
3fb791b8
MP
154272012-08-01 Marek Polacek <polacek@redhat.com>
15428
15429 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15430 Use dlfcn directly instead of a variable.
15431 (binfmt-subdir): Do not define.
15432 (dlfcn): Likewise.
15433
a9f1039f
JM
154342012-08-01 Joseph Myers <joseph@codesourcery.com>
15435
23bddc06
JM
15436 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15437 Remove all definitions.
15438 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15439 <kernel-features.h>.
15440 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15441 (miss_F_GETOWN_EX): Remove all definitions.
15442 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15443 macro definition.
15444 [!__ASSUME_FCNTL64]: Remove conditional code.
15445 [__ASSUME_FCNTL64]: Make code unconditional.
15446 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15447 <kernel-features.h>.
15448 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15449 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15450 (lockf64) [__NR_fcntl64]: Make code unconditional.
15451 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15452
a9f1039f
JM
15453 * sysdeps/unix/sysv/linux/kernel-features.h
15454 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15455 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15456 Make code unconditional.
15457 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15458 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15460 [__NR_vfork]: Make code unconditional.
15461 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15462 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15464 [__NR_vfork]: Make code unconditional.
15465 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15466 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15467
09c0ee5f
RM
154682012-08-01 Roland McGrath <roland@hack.frob.com>
15469
48aec5b9
RM
15470 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15471 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15472
cd97c966
RM
15473 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15474 Define mkstemp64 as an alias.
3f55550c
RM
15475 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15476 Define mkstemps64 as an alias.
cd97c966
RM
15477 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15478 Define mkostemp64 as an alias.
b8625cfc
RM
15479 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15480 Define mkostemps64 as an alias.
cd97c966
RM
15481 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15482 Conditionalize body on this.
15483 * misc/mkostemp64.c: Likewise.
b8625cfc 15484 * misc/mkostemps64.c: Likewise.
3f55550c 15485 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15486 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15487 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15488 * sysdeps/wordsize-64/mkostemp.c: File removed.
15489 * sysdeps/wordsize-64/mkstemp.c: File removed.
15490 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15491 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15492 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15493 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15494
09c0ee5f
RM
15495 [BZ #14138]
15496 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15497 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15498 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15499 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15500
15501 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15502 compat_symbol macros from <shlib-compat.h> rather than the underlying
15503 default_symbol_version and symbol_version macros, so that DEFAULT
15504 lines in shlib-versions are respected.
15505 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15506
7e66ee51
FW
155072012-08-01 Florian Weimer <fweimer@redhat.com>
15508
15509 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15510 Declare with warn_unused_result.
15511 (setgid, setregid, setegid, setresgid): Likewise.
15512 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15513 Likewise.
15514 * WUR-REPORT: Remove set*id functions.
15515
d2a54255
PT
155162012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15517
15518 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15519
7ecdb005
RM
155202012-07-31 Roland McGrath <roland@hack.frob.com>
15521
b4180a5e 15522 [BZ #10191]
789bd351
RM
15523 * include/sys/socket.h (__libc_accept, __libc_accept4):
15524 Add attribute_hidden.
15525 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15526
40ce302d
RM
15527 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15528 use of PTR_MANGLE.
15529 * inet/getnetgrent_r.c (setup): Likewise.
15530
7ecdb005
RM
15531 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15532
e2eabb2c
DM
155332012-07-31 David S. Miller <davem@davemloft.net>
15534
15535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15536
d0419dbf
JM
155372012-07-31 Joseph Myers <joseph@codesourcery.com>
15538
15539 [BZ #13629]
15540 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15541 value between 1.0 and 2.0 and smaller part has absolute value less
15542 than 1.0.
15543 * math/s_clog10.c (__clog10): Likewise.
15544 * math/s_clog10f.c (__clog10f): Likewise.
15545 * math/s_clog10l.c (__clog10l): Likewise.
15546 * math/s_clogf.c (__clogf): Likewise.
15547 * math/s_clogl.c (__clogl): Likewise.
15548 * math/libm-test.inc (clog_test): Add more tests.
15549 (clog10_test): Likewise.
15550 * sysdeps/i386/fpu/libm-test-ulps: Update.
15551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15552
2bc13872
FW
155532012-07-31 Florian Weimer <fweimer@redhat.com>
15554
15555 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15556 Exit with zero in case no suitable GID is found, and write a
15557 message to standard error.
15558
bea9b193
RM
155592012-07-30 Roland McGrath <roland@hack.frob.com>
15560
15561 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15562 rather than to 1.
15563 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15564 (MAXPATHLEN): Removed.
15565 (NOGROUP, NODEV): New macros.
15566 (setbit, clrbit, isset, isclr): New macros.
15567 (howmany, roundup, powerof2): New macros.
15568 (DEV_BSIZE): New macro.
15569
15570 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15571 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15572
15573 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15574 definition on [!__NO_LONG_DOUBLE_MATH].
15575
15576 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15577 PTR_MANGLE and PTR_DEMANGLE.
15578
15579 * socket/accept4.c (accept4): Rename to __libc_accept4.
15580 Define accept4 as a weak alias.
15581
15582 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15583 on [_DIRENT_HAVE_D_TYPE].
15584 * io/ftw.c (ftw_dir): Likewise.
15585
15586 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15587
15588 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15589
15590 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15591 Use the BSD numbers rather than the arbitrary ones we had.
15592 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15593 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15594 (SIGXCPU, SIGXFSZ): New macros.
15595 (_NSIG): Now 32.
15596
15597 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15598 initializer on [_LIBC_REENTRANT].
15599
15600 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15601 definitions inside [_POSIX_MAPPED_FILES].
15602
15603 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15604
15605 * dirent/opendir.c: Include <fcntl.h>.
15606
15607 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15608 (__libc_getspecific): Likewise.
15609 (__libc_key_create): Likewise.
15610
15611 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15612 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15613 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15614 (tmpfile64): Define as alias.
15615 * sysdeps/wordsize-64/tmpfile.c: File removed.
15616 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15617 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15618 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15619
15620 * stdio-common/vfscanf.c: Include <stdbool.h>.
15621 * nss/makedb.c: Likewise.
15622 * stdio-common/_i18n_number.h: Likewise.
15623 * argp/argp-help.c: Likewise.
15624 * posix/wordexp.c: Likewise.
15625 * sysdeps/posix/spawni.c: Likewise.
15626 * nss/nss_files/files-initgroups.c: Likewise.
15627 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15628 * nss/nss_files/files-initgroups.c: Likewise.
15629 * nss/nss_db/db-netgrp.c: Likewise.
15630 * nss/nss_db/db-initgroups.c: Likewise.
15631 * io/fchmodat.c: Include <sys/stat.h>.
15632
15633 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15634 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15635
15636 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15637 [HAVE_MMAP].
15638
15639 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15640 Add multiple inclusion protection.
15641
e5abc686
DM
156422012-07-27 David S. Miller <davem@davemloft.net>
15643
15644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15645
815e6fa3
GB
156462012-07-27 Gary Benson <gbenson@redhat.com>
15647
15648 [BZ #14298]
15649 * elf/rtld.c: Include <stap-probe.h>.
15650 (dl_main): Added static probes "init_start" and "init_complete".
15651 * elf/dl-load.c: Include <stap-probe.h>.
15652 (lose): Take new parameter "nsid".
15653 Added static probe "map_failed".
15654 (_dl_map_object_from_fd): Pass namespace id to lose.
15655 Added static probe "map_start".
15656 (open_verify): Pass namespace id to lose.
15657 * elf/dl-open.c: Include <stap-probe.h>.
15658 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15659 and "reloc_complete".
15660 * elf/dl-close.c: Include <stap-probe.h>.
15661 (_dl_close_worker): Added static probes "unmap_start" and
15662 "unmap_complete".
15663 * elf/rtld-debugger-interface.txt: New file documenting the above.
15664
9f98c16c
RM
156652012-07-26 Roland McGrath <roland@hack.frob.com>
15666
15667 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15668 rather than a string variable.
15669 * sunrpc/rpc_main.c (h_output): Likewise.
15670 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15671
f3c22df3
PT
156722012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15673
15674 * inet/check_native.c: New file.
15675
3129cfc6
JM
156762012-07-26 Joseph Myers <joseph@codesourcery.com>
15677
da865e95
JM
15678 [BZ #13629]
15679 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15680 if larger part has absolute value 1.0.
15681 * math/s_clog10.c (__clog10): Likewise.
15682 * math/s_clog10f.c (__clog10f): Likewise.
15683 * math/s_clog10l.c (__clog10l): Likewise.
15684 * math/s_clogf.c (__clogf): Likewise.
15685 * math/s_clogl.c (__clogl): Likewise.
15686 * math/libm-test.inc (clog_test): Add more tests.
15687 (clog10_test): Likewise.
15688 * sysdeps/i386/fpu/libm-test-ulps: Update.
15689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15690
3129cfc6
JM
15691 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15692 (pltexit): Likewise.
15693 (La_regs): Likewise.
15694 (La_retval): Likewise.
15695 (int_retval): Likewise.
15696 Update #error for removed macros to refer only to definitions in
15697 tst-audit.h.
15698 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15699 macro.
15700 (pltexit): Likewise.
15701 (La_regs): Likewise.
15702 (La_retval): Likewise.
15703 (int_retval): Likewise.
15704 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15705 macro.
15706 (pltexit): Likewise.
15707 (La_regs): Likewise.
15708 (La_retval): Likewise.
15709 (int_retval): Likewise.
15710 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15711 macro.
15712 (pltexit): Likewise.
15713 (La_regs): Likewise.
15714 (La_retval): Likewise.
15715 (int_retval): Likewise.
15716 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15717 macro.
15718 (pltexit): Likewise.
15719 (La_regs): Likewise.
15720 (La_retval): Likewise.
15721 (int_retval): Likewise.
15722 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15723 macro.
15724 (pltexit): Likewise.
15725 (La_regs): Likewise.
15726 (La_retval): Likewise.
15727 (int_retval): Likewise.
15728 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15729 macro.
15730 (pltexit): Likewise.
15731 (La_regs): Likewise.
15732 (La_retval): Likewise.
15733 (int_retval): Likewise.
15734 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15735 macro definitions in tst-audit.h.
15736 * sysdeps/i386/tst-audit.h: New file.
15737 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15738 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15739 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15740 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15741 * sysdeps/sh/tst-audit.h: Likewise.
15742 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15743 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15744 * sysdeps/x86_64/tst-audit.h: Likewise.
15745
bfc07087
AJ
157462012-07-26 Andreas Jaeger <aj@suse.de>
15747
b1b2aaf8
AJ
15748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15749 ptrace.
15750
15751 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15752 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15753 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15754 PTRACE_O_MASK.
15755 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15756 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15757 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15758
bfc07087
AJ
15759 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15760 value.
15761
15762 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15763 _sigsys.
15764 (si_call_addr, si_syscall, si_arch): Define new macro.
15765 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15766 _sigsys.
15767 (si_call_addr, si_syscall, si_arch): Define new marcro.
15768 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15769 _sigsys.
15770 (si_call_addr, si_syscall, si_arch): Define new macro.
15771 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15772 _sigsys.
15773 (si_call_addr, si_syscall, si_arch): Define new macro.
15774
89b4b02f
JM
157752012-07-25 Joseph Myers <joseph@codesourcery.com>
15776
15777 [BZ #13717]
15778 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15779 Change to 2.4.21 where previously 2.4.1.
15780 * sysdeps/unix/sysv/linux/configure: Regenerated.
15781 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15782 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15783 Linux kernel version.
15784 (__ASSUME_STD_AUXV): Remove.
15785 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15786 kernel version.
15787 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15788 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15789 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15790 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15791 (__ASSUME_NETLINK_SUPPORT): Likewise.
15792 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15793 (__no_netlink_support): Remove conditional definition.
15794 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15795 Remove.
15796 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15797 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15798 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15799 (if_nameindex_ioctl): Remove.
15800 (if_nameindex_netlink): Do not handle __no_netlink_support.
15801 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15802 code.
15803 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15804 Remove conditional code.
15805 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15806 code.
15807 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15808 unconditional.
15809 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15810 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15811 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15812 Remove.
15813 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15814 [!__ASSUME_STD_AUXV]: Remove conditional code.
15815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15816 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15817 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15819 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15820 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15821 code.
15822 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15824 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15825 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15826 conditional code.
15827 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15829 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15830 code.
15831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15832 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15833 conditional code.
15834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15835 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15836 code unconditional.
15837 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15838 conditional code.
15839 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15840 unconditional.
15841 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15842 conditional code.
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15844 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15845 unconditional.
15846 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15847 conditional code.
15848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15849 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15850 code unconditional.
15851 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15852 conditional code.
15853 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15854 unconditional.
15855 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15856 conditional code.
15857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15858 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15859 code unconditional.
15860 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15861 conditional code.
15862 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15863 unconditional.
15864 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15865 conditional code.
15866
842a39cd
AS
158672012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15868
15869 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15870 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15871 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15872 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15873 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15874 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15875 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15876 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15877 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15878 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15879 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15880 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15881 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15882 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15883 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15884 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15885 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15886 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15887 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15889 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15890 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15891 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15892
84b3fd84
FW
158932012-07-25 Florian Weimer <fweimer@redhat.com>
15894
15895 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15896 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15897 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15898 Introduce __libc_secure_getenv.
0c7936d5
FW
15899 * stdlib/Versions (2.17): Add secure_getenv
15900 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15901 * stdlib/secure-getenv.c: Rename __secure_getenv to
15902 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15903 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15904 * stdlib/tst-secure-getenv.c: New.
15905 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15906 * manual/startup.texi (Environment Access): Document
15907 secure_getenv.
84b3fd84
FW
15908 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15909 __libc_secure_getenv.
15910 * inet/ruserpass.c (ruserpass): Likewise.
15911 * malloc/mtrace.c (mtrace): Likewise.
15912 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15913 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15914 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15915 * sysdeps/posix/tempname.c: Likewise. Evaluate
15916 HAVE_SECURE_GETENV.
15917 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15918 __secure_getenv to __libc_secure_getenv.
84b3fd84 15919 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15921 Likewise.
15922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15923 Likewise.
15924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15926 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15931
56e49b71
JM
159322012-07-25 Joseph Myers <joseph@codesourcery.com>
15933
15934 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15935 (struct La_i86_retval): Likewise.
15936 (struct La_x86_64_regs): Likewise.
15937 (struct La_x86_64_retval): Likewise.
15938 (struct La_x32_regs): Likewise.
15939 (struct La_x32_retval): Likewise.
15940 (struct La_ppc32_regs): Likewise.
15941 (struct La_ppc32_retval): Likewise.
15942 (struct La_ppc64_regs): Likewise.
15943 (struct La_ppc64_retval): Likewise.
15944 (struct La_sh_regs): Likewise.
15945 (struct La_sh_retval): Likewise.
15946 (struct La_s390_32_regs): Likewise.
15947 (struct La_s390_32_retval): Likewise.
15948 (struct La_s390_64_regs): Likewise.
15949 (struct La_s390_64_retval): Likewise.
15950 (struct La_sparc32_regs): Likewise.
15951 (struct La_sparc32_retval): Likewise.
15952 (struct La_sparc64_regs): Likewise.
15953 (struct La_sparc64_retval): Likewise.
15954 (struct audit_ifaces): Remove architecture-specific pltenter and
15955 pltexit members.
15956 * sysdeps/i386/ldsodefs.h: New file.
15957 * sysdeps/powerpc/ldsodefs.h: Likewise.
15958 * sysdeps/s390/ldsodefs.h: Likewise.
15959 * sysdeps/sh/ldsodefs.h: Likewise.
15960 * sysdeps/sparc/ldsodefs.h: Likewise.
15961 * sysdeps/x86_64/ldsodefs.h: Likewise.
15962
354691b7
MP
159632012-07-25 Marek Polacek <polacek@redhat.com>
15964
15965 [BZ #6808]
15966 * math/libm-test.inc (yn_test): Add another test.
15967 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15968 to ERANGE when the result is +-Inf.
15969 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15970 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15971 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15972 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15973
bf9e2071
JM
159742012-07-24 Joseph Myers <joseph@codesourcery.com>
15975
15976 * conform/data/time.h-data (NULL): Use macro-constant. Require
15977 equal to 0.
15978 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15979 clock_t.
15980 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15981
57633811
TS
159822012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15983
15984 * configure.in <sysdeps resolving>: Correct printing
15985 Implies_before.
15986 * configure: Regenerate.
15987
c23c33b0
TS
159882012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15989
15990 * math/w_ilogb.c: Include <limits.h>.
15991 * math/w_ilogbl.c: Likewise.
15992
b5982523
JM
159932012-07-20 Joseph Myers <joseph@codesourcery.com>
15994
15995 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15996 va_copy. Document allowing for unavailable va_copy only as
15997 pre-C99 compatibility.
15998 * manual/string.texi (Copying and Concatenation): Use va_copy
15999 instead of __va_copy in concat example.
16000
ac4ea442
PT
160012012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16002
16003 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16004 (__sendto): Use create_address_port. Initialize APORT and deallocate
16005 it if not null.
16006
f98eafbd
PT
16007 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16008 with O_NOLINK passed to __file_name_lookup.
16009
898c7aab
PT
16010 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16011 with O_NOLINK passed to __file_name_lookup.
16012
0ced335a
PT
16013 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16014 negative N or less than NGIDS.
16015
b3404dbd
PT
16016 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16017 type to string_t. Set ERANGE as errno and return it if NAME is not big
16018 enough. Use memcpy instead of strncpy.
16019
0f48659e
JM
160202012-07-20 Joseph Myers <joseph@codesourcery.com>
16021
16022 * elf/Makefile (check-data): Remove.
16023 (localplt.data): New vpath directive.
16024 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16025 instead of $(check-data).
16026 * scripts/data/localplt-generic.data: Move to ...
16027 * sysdeps/generic/localplt.data: ... here.
16028 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16029 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16030 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16032 ... here.
16033 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16035 ... here.
16036 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16038 ... here.
16039 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16041 ... here.
16042 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16044 ... here.
16045 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16047 ... here.
16048
d37cbdaa
AZ
160492012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16050
16051 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16052 PPC32 and PPC64 files.
16053 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16054 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16055
46f85fc2
AK
160562012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16057
16058 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16059 __makecontext_ret to ...
16060 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16061 ... here and call exit if uc_link is NULL. New file.
16062 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16063 __makecontext_ret.S.
16064 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16065 __makecontext_ret to ...
16066 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16067 ... here and call exit if uc_link is NULL. New file.
16068 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16069 __makecontext_ret.S.
16070
08f43f9b
AK
160712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16072
16073 * elf/elf.h (R_390_IRELATIVE): New definition.
16074 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16075 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16076 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16077 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16078 (elf_machine_lazy_rel): Likewise.
16079 * sysdeps/s390/dl-irel.h: New file.
16080 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16081 * sysdeps/s390/s390-64/memset.S: New asm code.
16082 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16083 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16084 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16085 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16086 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16087 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16088 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16089 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16090 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16091 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16092 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16093 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16094 * sysdeps/s390/s390-32/memset.S: New asm code.
16095 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16096
3b05db33
MP
160972012-07-17 Marek Polacek <polacek@redhat.com>
16098
16099 [BZ #14349]
16100 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16101 * sysdeps/s390/s390-64/configure.in: Likewise.
16102 * sysdeps/sparc/configure.in: Likewise.
16103 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16104 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16105 * sysdeps/i386/configure.in: Likewise.
16106 * sysdeps/x86_64/configure.in: Likewise.
16107 * sysdeps/sh/configure.in: Likewise.
16108 * sysdeps/s390/s390-32/configure: Regenerated.
16109 * sysdeps/s390/s390-64/configure: Likewise.
16110 * sysdeps/x86_64/configure: Likewise.
16111 * sysdeps/sh/configure: Likewise.
16112 * sysdeps/powerpc/powerpc64/configure: Likewise.
16113 * sysdeps/powerpc/powerpc32/configure: Likewise.
16114 * sysdeps/sparc/configure: Likwise.
16115 * sysdeps/i386/configure: Likewise.
16116
a66877c6
MP
16117 * elf/dl-open.c: Comment fixes.
16118
cfc82fd8
JM
161192012-07-17 Joseph Myers <joseph@codesourcery.com>
16120
bd29910a
JM
16121 * Makefile [CXX] (check-data): Remove.
16122 [CXX] (c++-types.data): New vpath directive.
16123 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16124 vpath. Do not allow for C++ type data being missing.
16125 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16126 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16127 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16128 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16129 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16130 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16131 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16133 ... here.
16134 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16136 ... here.
16137 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16139 ... here.
16140 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16142 ... here.
16143 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16145 ... here.
16146 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16148 ... here.
16149 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16151 ... here.
16152 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16154
cfc82fd8
JM
16155 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16156 definitions to architecture-specific files.
16157 (TLS_IE): Likewise.
16158 (TLS_LD): Likewise.
16159 (TLS_GD): Likewise.
16160 * sysdeps/i386/tls-macros.h: New file.
16161 * sysdeps/powerpc/tls-macros.h: Likewise.
16162 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16163 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16164 * sysdeps/sh/tls-macros.h: Likewise.
16165 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16166 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16167 * sysdeps/x86_64/tls-macros.h: Likewise.
16168
f7db3170
TS
161692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16170
07cbfc23
TS
16171 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16172 zero value for regular exit case.
16173
f7db3170
TS
16174 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16175 (__start_context): Preserve zero value for regular exit case.
16176
dc97c227
TS
161772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16178 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16179
16180 * manual/setjmp.texi (setcontext): Clarify normal process
16181 termination when uc_link is the null pointer.
16182 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16183 exit call.
16184
d0cd7d02
AS
161852012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16186
16187 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16188 preprocessor. Test for each exception mask separately.
16189
dd318934
AJ
161902012-07-16 Andreas Jaeger <aj@suse.de>
16191
16192 * po/ru.po: Update from translation team.
16193
8048311a
JM
161942012-07-15 Joseph Myers <joseph@codesourcery.com>
16195
16196 * conform/data/string.h-data (NULL): Use macro-constant. Require
16197 equal to 0.
16198 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16199 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16200 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16201 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16202 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16203
b637d46e
AJ
162042012-07-13 Andreas Jaeger <aj@suse.de>
16205
16206 * po/fr.po: Update from translation team.
16207
541428fe
MP
162082012-07-12 Marek Polacek <polacek@redhat.com>
16209
16210 [BZ #14173]
16211 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16212 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16213 loop condition.
16214
ec332e94
JM
162152012-07-12 Joseph Myers <joseph@codesourcery.com>
16216
16217 [BZ #13717]
16218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16219 Change to 2.4.1 where previously 2.4.0.
16220 * sysdeps/unix/sysv/linux/configure: Regenerated.
16221 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16222 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16223 version.
16224 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16225 (__ASSUME_AT_CLKTCK): Remove.
16226 (__ASSUME_AT_PAGESIZE): Likewise.
16227 (__ASSUME_AT_XID): Likewise.
16228 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16229 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16230 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16231 unconditionally.
16232 (HAVE_AUX_PAGESIZE): Likewise.
16233 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16234 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16235 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16236
7b6e99be
JB
162372012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16238
16239 [BZ #14307]
16240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16241 the temporary buffer used to invoke __gethostbyname2_r,
16242 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16243 host_data / struct gaih_addrtuple.
16244 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16245 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16246 header file nss/nsswitch.h.
16247 * nss/nsswitch.h (global scope): Add definition of implementation
16248 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16249 resolv/nss_dns/dns-host.c).
16250
608404eb
AJ
162512012-07-11 Andreas Jaeger <aj@suse.de>
16252
16253 * po/fr.po: Update from translation team.
16254
71220aca
AJ
16255 * po/sv.po: Update from translation team
16256 * po/fr.po: Another update from translation team.
16257
28cfe843
AZ
162582012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16259
16260 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16261 for subnormals or multiply small sinh result by itself.
16262 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16264
6b90f981
DM
162652012-07-11 David S. Miller <davem@davemloft.net>
16266
16267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16268
c6825772
AS
162692012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16270
16271 [BZ #14347]
16272 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16273 (INTERNAL_MARK): Shift it here.
16274
7b8e0d49
MP
162752012-07-10 Marek Polacek <polacek@redhat.com>
16276
16277 [BZ #14151]
16278 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16279 libc_cv_asm_global_directive with .globl.
16280 * configure: Regenerated.
16281 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16282 with .globl.
16283 * sysdeps/i386/configure: Regenerated.
16284 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16285 with .globl.
16286 * sysdeps/x86_64/configure: Regenerated.
16287 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16288 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16289 * elf/tst-unique2mod2.c: Likewise.
16290 * elf/tst-unique2mod1.c: Likewise.
16291 * elf/tst-unique1mod2.c: Likewise.
16292 * elf/tst-unique1mod1.c: Likewise.
16293 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16294 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16295 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16296 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16297 * sysdeps/mach/sysdep.h: Likewise.
16298 * sysdeps/i386/sysdep.h: Likewise.
16299 * sysdeps/i386/i386-mcount.S: Likewise.
16300 * sysdeps/x86_64/_mcount.S: Likewise.
16301 * sysdeps/x86_64/sysdep.h: Likewise.
16302 * sysdeps/sh/_mcount.S: Likewise.
16303 * sysdeps/sh/sysdep.h: Likewise.
16304 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16305 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16306 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16307 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16308 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16309 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16310 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16311 * locale/localeinfo.h: Likewise.
16312 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16313 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16314
6c55cda3
RM
163152012-07-09 Roland McGrath <roland@hack.frob.com>
16316
16317 [BZ #14336]
16318 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16319 system".
16320 * manual/message.texi (The Uniforum approach): Likewise.
16321 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16322 (glibc iconv Implementation): Likewise.
16323
638a572e
JM
163242012-07-09 Joseph Myers <joseph@codesourcery.com>
16325
16326 [BZ #14337]
16327 * math/s_clog.c (__clog): Avoid scaling a value down where that
16328 could result in underflow.
16329 * math/s_clog10.c (__clog10): Likewise.
16330 * math/s_clog10f.c (__clog10f): Likewise.
16331 * math/s_clog10l.c (__clog10l): Likewise.
16332 * math/s_clogf.c (__clogf): Likewise.
16333 * math/s_clogl.c (__clogl): Likewise.
16334 * math/libm-test.inc (clog_test): Add more tests.
16335 (clog10_test): Likewise.
16336 * sysdeps/i386/fpu/libm-test-ulps: Update.
16337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16338
261f4859
AS
163392012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16340
0abaf3e4
AS
16341 [BZ #14283]
16342 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16343 by 7 not 8 to examine high bit of fractional part.
16344
261f4859
AS
16345 [BZ #14042]
16346 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16347 for call to __mcount_internal.
16348 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16349 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16350 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16351
f17ac40d
JM
163522012-07-06 Joseph Myers <joseph@codesourcery.com>
16353
9ad63c23
JM
16354 [BZ #14154]
16355 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16356 approximation for values within 0x1p-13f of an odd multiple of
16357 pi/4.
16358 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16359 exception. Add more tests.
16360 * sysdeps/i386/fpu/libm-test-ulps: Update.
16361
f17ac40d
JM
16362 [BZ #6778]
16363 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16364 inputs and return -1 for them. Do not check for +Inf in case not
16365 reachable for +Inf.
16366 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16367 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16368 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16369 and return -1 for them. Do not check for +Inf in case not
16370 reachable for +Inf.
16371 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16372 define.
16373 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16374 and return -1 for them. Do not check for +Inf in case not
16375 reachable for +Inf.
16376 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16377 spurious underflow.
16378 * sysdeps/i386/fpu/libm-test-ulps: Update.
16379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16380
fb21f89b
MF
163812012-07-06 Mike Frysinger <vapier@gentoo.org>
16382
16383 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16384
cdfe2c5e
JM
163852012-07-05 Joseph Myers <joseph@codesourcery.com>
16386
16387 [BZ #14157]
16388 [BZ #14331]
16389 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16390 could result in spurious underflow. Scale down values above
16391 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16392 * math/s_csqrtf.c (__csqrtf): Likewise.
16393 * math/s_csqrtl.c (__csqrtl): Likewise.
16394 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16395 spurious underflow.
16396 * sysdeps/i386/fpu/libm-test-ulps: Update.
16397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16398
70d35b67
AS
163992012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16400
704bc459
AS
16401 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16402 xopen-msg.sed.
16403 * catgets/xopen-msg.awk: New file.
16404 * catgets/xopen-msg.sed: Removed.
16405
70d35b67
AS
16406 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16407 po2text.sed.
16408 * intl/po2test.awk: New file.
16409 * intl/po2test.sed: Removed.
16410
ca61cf32
JM
164112012-07-04 Joseph Myers <joseph@codesourcery.com>
16412
16413 [BZ #14328]
16414 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16415 or multiply small sinh result by itself.
16416 * math/s_ctanf.c (__ctanf): Likewise.
16417 * math/s_ctanh.c (__ctanh): Likewise.
16418 * math/s_ctanhf.c (__ctanhf): Likewise.
16419 * math/s_ctanhl.c (__ctanhl): Likewise.
16420 * math/s_ctanl.c (__ctanl): Likewise.
16421 * math/libm-test.inc (ctan_test_tonearest): New function.
16422 (ctan_test_towardzero): Likewise.
16423 (ctan_test_downward): Likewise.
16424 (ctan_test_upward): Likewise.
16425 (ctanh_test_tonearest): Likewise.
16426 (ctanh_test_towardzero): Likewise.
16427 (ctanh_test_downward): Likewise.
16428 (ctanh_test_upward): Likewise.
16429 (main): Call these new functions.
16430 * sysdeps/i386/fpu/libm-test-ulps: Update.
16431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16432
ca48a46a
MF
164332012-07-03 Mike Frysinger <vapier@gentoo.org>
16434
16435 * .gitignore: Delete /ports entry.
16436
9d63d37d
AJ
164372012-07-03 Andreas Jaeger <aj@suse.de>
16438
16439 * po/bg.po: Update from translation team.
16440 * po/cs.po: Likewise.
16441 * po/de.po: Likewise.
16442 * po/hr.po: Likewise.
16443 * po/nl.pl: Likewise.
16444 * po/pl.po: Likewise.
16445 * po/vi.po: Likewise.
16446
370ca3d2
JM
164472012-07-03 Joseph Myers <joseph@codesourcery.com>
16448
95f5a9a8
JM
16449 * Makeconfig [!+link] (+link-before-libc): New variable.
16450 [!+link] (+link-after-libc): Likewise.
16451 [!+link] (+link-tests): Likewise.
16452 [!+link] (+link): Define in terms of $(+link-before-libc) and
16453 $(+link-after-libc).
16454 [!+link-static] (+link-static-before-libc): New variable.
16455 [!+link-static] (+link-static-after-libc): Likewise.
16456 [!+link-static] (+link-static-tests): Likewise.
16457 [!+link-static] (+link-static): Define in terms of
16458 $(+link-static-before-libc) and $(+link-static-after-libc).
16459 [build-shared] (link-libc-before-gnulib): New variable.
16460 [build-shared] (link-libc-tests): Likewise.
16461 [build-shared] (link-libc): Define in terms of
16462 $(link-libc-before-gnulib).
16463 [!build-shared] (link-libc-tests): New variable.
16464 (link-libc-static-tests): New variable.
16465 [!gnulib] (gnulib-arch): New variable.
16466 [!gnulib] (gnulib-tests): Likewise.
16467 [!gnulib] (static-gnulib-arch): Likewise.
16468 [!gnulib] (static-gnulib-tests): Likewise.
16469 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16470 Define with "=" instead of ":=".
16471 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16472 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16473 * Rules (binaries-all-notests): New variable.
16474 (binaries-all-tests): Likewise.
16475 (binaries-static-notests): Likewise.
16476 (binaries-static-tests): Likewise.
16477 (binaries-all): Define using $(binaries-all-notests) and
16478 $(binaries-all-tests).
16479 (binaries-static): Define using $(binaries-static-notests) and
16480 $(binaries-static-tests).
16481 (binaries-shared-tests): New variable.
16482 (binaries-shared-notests): Likewise.
16483 (binaries-shared): Remove variable.
16484 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16485 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16486 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16487 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16488 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16489 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16490 * elf/Makefile (sln-modules): New variable.
16491 (extra-objs): Add $(sln-modules:=.o).
16492 (ldconfig-modules): Add static-stubs.
16493 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16494 * elf/static-stubs.c: New file.
16495
7a845b2c
JM
16496 [BZ #14283]
16497 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16498 by 7 not 8 to examine high bit of fractional part. Use volatile
16499 variables when splitting into final array of floats if
16500 __FLT_EVAL_METHOD__ != 0.
16501 * math/libm-test.inc (cos_test): Add another test.
16502 (sin_test): Likewise.
16503 * sysdeps/i386/fpu/libm-test-ulps: Update.
16504
e2283f38
JM
16505 [BZ #14273]
16506 * math/libm-test.inc (cosh_test): Add more tests.
16507
370ca3d2
JM
16508 * version.h (RELEASE): Set to "development".
16509 (VERSION): Set to "2.16.90".
16510
ee9247c3
CD
165112012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16512
16513 * NEWS: Update copyright. Remove last-updated date.
16514 Mention math library bug fixes and timezone data changes.
16515 * README: Mention GNU/Hurd, x32, and HPPA support status.
16516
4648c381
TS
165172012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16518
16519 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16520
aac78a43
AJ
165212012-06-27 Andreas Jaeger <aj@suse.de>
16522
16523 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16524
ed3dbfad
AJ
165252012-06-25 Andreas Jaeger <aj@suse.de>
16526
16527 * sysdeps/s390/fpu/libm-test-ulps: Update.
16528
4d0ee855
AS
165292012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16530 Thomas Schwinge <thomas@codesourcery.com>
16531
16532 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16533 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16534 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16535 fanotify_mark.
16536
af1bce34
TS
165372012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16538
a9fa33ba
TS
16539 * sysdeps/mach/start.c: Remove file.
16540 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16541 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16542 * sysdeps/sh/init-first.c: Likewise.
16543
58f902b8
TS
16544 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16545 registers for frame unwinding purposes, add CFI directives.
16546 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16547 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16548 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16549 Likewise.
16550
1518f58b
TS
16551 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16552 __fortify_fail returning.
16553 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16554
db9b5059
TS
16555 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16556 sysdeps/sh/____longjmp_chk.S.
16557 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16558 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16559 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16560 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16561
967705fe
TS
16562 * sysdeps/sh/abort-instr.h: New file.
16563 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16564 process in case exit returns.
16565
a9def8c4
TS
16566 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16567 initialize the GOT register before use.
16568
2a649725
TS
16569 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16570 calculation of ARGC > 4.
16571
af1bce34
TS
16572 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16573 meaningful names to some local labels.
16574
d230f50a
KK
165752012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16576 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16577
16578 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16579 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16580 (__arch_compare_and_exchange_val_16_acq): Likewise.
16581 (__arch_compare_and_exchange_val_32_acq): Likewise.
16582 (atomic_exchange_and_add): Fix gUSA sequence.
16583 (atomic_add): Likewise.
16584 (atomic_add_negative): Likewise.
16585 (atomic_add_zero): Likewise.
16586 (atomic_bit_test_set): Likewise.
16587
0479b305
AS
165882012-06-22 Andreas Schwab <schwab@redhat.com>
16589
16590 [BZ #13579]
16591 * include/link.h (struct link_map): Add l_free_initfini.
16592 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16593 l_initfini.
16594 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16595 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16596 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16597 set.
16598
0e3933b9
CD
165992012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16600
16601 * configure.in: Use AC_LANG_SOURCE.
16602 * configure: Regenerate.
16603
4248b1b1
RM
166042012-06-22 Roland McGrath <roland@hack.frob.com>
16605
16606 * configure.in (libc_cv_localstatedir): New substituted variable.
16607 * configure: Regenerated.
16608 * config.make.in (localstatedir): New variable, substituted from
16609 libc_cv_localstatedir.
16610 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16611 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16612 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16613 * sysdeps/gnu/configure: Regenerated.
16614
006dd861
JL
166152012-06-21 Jeff Law <law@redhat.com>
16616
16617 [BZ #14277]
16618 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16619 free. Simplify list management for _LIBC case.
16620
79662d42
JM
166212012-06-21 Joseph Myers <joseph@codesourcery.com>
16622
b7abb4bf
JM
16623 [BZ #14273]
16624 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16625 Clear sign bit of 64-bit integer value before comparing against
16626 overflow value.
16627
79662d42
JM
16628 * sysdeps/mach/configure: Regenerated.
16629
1f150908
L
166302012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16631
16632 [BZ #14278]
16633 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16634
28363bbf
JL
166352012-06-21 Jeff Law <law@redhat.com>
16636
16637 [BZ #13882]
16638 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16639 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16640 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16641 * elf/dl-open.c (dl_open_worker): Likewise.
16642
09615db4
CD
166432012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16644
16645 * scripts/list-sources.sh: Scan PORTS for translations.
16646 * po/libc.pot: Regenerated.
16647
2174c6dd
AJ
166482012-06-21 Andreas Jaeger <aj@suse.de>
16649
16650 [BZ #12194]
16651 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16652 warning.
16653 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16654 * bits/byteswap-16.h (__bswap_16): Likewise.
16655 * bits/byteswap.h (__bswap_constant_16): Likewise.
16656
3ee947b1
L
166572012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16658
16659 [BZ #14117]
a2f34833
L
16660 * sysdeps/i386/fpu_control.h: Removed.
16661 * sysdeps/x86_64/fpu_control.h: Moved to ...
16662 * sysdeps/x86/fpu_control.h: Here.
16663
3ee947b1
L
16664 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16665 (_FPU_SETCW): Likewise.
16666
ed1825f8
L
166672012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16668
25f1282a
L
16669 [BZ #14117]
16670 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16671 * sysdeps/x86/fpu/bits/mathinline.h: This.
16672 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16673
ed1825f8
L
16674 [BZ #14050]
16675 [BZ #14117]
16676 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16677 functions if __x86_64__ is defined.
16678
36d54b74
CLT
166792012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16680
16681 * string/endian.h: Add !__ASSEMBLER__ condition for including
16682 conversion interfaces.
16683
10285c21
JM
166842012-06-15 Joseph Myers <joseph@codesourcery.com>
16685
16686 [BZ #14241]
16687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16688 of ABS(x) in calculating zero to negative powers other than odd
16689 integers.
16690 * math/libm-test.inc (pow_test): Add more tests.
16691
06c5abbd
AJ
166922012-06-15 Andreas Jaeger <aj@suse.de>
16693
16694 * manual/contrib.texi (Contributors): Update entry of Liubov
16695 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16696 Machado Filho.
16697
a3aeac40
CH
166982012-06-15 Cyril Hrubis <metan@ucw.cz>
16699
16700 * string/string.h: Add __wur to GNU version of strerror_r.
16701
49bdf4c1
L
167022012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16703
16704 [BZ #14229]
16705 * string/Makefile (tests): Add tst-strtok_r.
16706 * string/tst-strtok_r.c: New file.
16707 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16708 RAX_LP/RDX_LP on SAVE_PTR.
16709
834f9b8d
RM
167102012-06-14 Roland McGrath <roland@hack.frob.com>
16711
16712 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16713
75fa1921
JM
167142012-06-14 Joseph Myers <joseph@codesourcery.com>
16715
16716 * libm_test.inc (csqrt_test): Allow more spurious underflow
16717 exceptions.
16718 (j0_test): Likewise.
16719 (j1_test): Likewise.
16720 (y0_test): Likewise.
16721 (y1_test): Likewise.
16722
771766df
CD
167232012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16724
16725 * po/Makefile (libc.pot): Use UTF-8 charset.
16726
ceb9e56b
PP
167272012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16728
16729 [BZ #14210]
16730 Suppress sign-conversion warning from FD_SET.
16731 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16732 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16733 not unsigned long int.
16734 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16735
ddb28975
L
167362012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16737
16738 [BZ #14050]
16739 [BZ #14117]
16740 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16741 __extern_always_inline instead of __extern_inline.
16742 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16743 (__signbit): Likewise.
16744 (__signbitl): Support C++ namespace.
16745 (lrintf): New inline function.
16746 (lrint): Likewise.
16747 (llrintf): Likewise.
16748 (llrint): Likewise.
16749 (fmaxf): Likewise.
16750 (fmax): Likewise.
16751 (fminf): Likewise.
16752 (fmin): Likewise.
16753 (rint): Likewise.
16754 (rintf): Likewise.
16755 (ceil): Likewise.
16756 (ceilf): Likewise.
16757 (floor): Likewise.
16758 (floorf): Likewise.
16759 (nearbyint): Likewise.
16760 (nearbyintf): Likewise.
16761
d7b4fb26
TS
167622012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16763
16764 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16765 non-default versions.
16766
eb55f5c2
RM
167672012-06-11 Roland McGrath <roland@hack.frob.com>
16768
16769 [BZ #14218]
16770 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16771
366af02c
TS
167722012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16773
99ff6e5c
TS
16774 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16775 (FE_UPWARD, FE_DOWNWARD): Don't define.
16776 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16777 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16778
366af02c
TS
16779 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16780 reading it.
16781 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16782 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16783
793ea851
KK
167842012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16785
16786 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16787 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16788 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16789 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16790
a728a38f
L
167912012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16792
16793 [BZ #14117]
c08010c7
L
16794 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16795 * sysdeps/i386/fpu/Implies: New file.
16796 * sysdeps/x86_64/fpu/Implies: Likewise.
16797 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16798 * sysdeps/x86/fpu/bits/fenv.h: This.
16799
a728a38f
L
16800 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16801 __SSE_MATH__.
16802
6e230d11
SP
168032012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16804
16805 [BZ #14134]
16806 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16807 character 0xffff that matches the last element of the
16808 conversion table.
16809
1b671feb
AZ
168102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16811
16812 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16813 fmodl commit.
16814
6043738b
AZ
168152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16816
16817 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16818 values higher than 25.6283.
16819
34ae0b32
AZ
168202012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16821
16822 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16823 subnormal exponent extraction and add some __builtin_expect.
16824 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16825 Fix for subnormal mantissa calculation.
16826
1214ec8f
MF
168272012-06-04 Mike Frysinger <vapier@gentoo.org>
16828
16829 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16830 cpu2 is -1 and errno is not ENOSYS.
16831
f3d1f93c
L
168322012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16833
16834 [BZ #14117]
0e4a3cd7
L
16835 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16836 * sysdeps/x86/bits/string.h: This.
16837 * sysdeps/x86_64/bits/string.h: Removed.
16838
6704c645
L
16839 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16840 if not compiling for x86-64, but compiling for >= i486.
16841
48495318
L
16842 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16843 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16844
14adcbfc
L
16845 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16846 New macro from Linux kernel 3.4.0.
16847 (FP_XSTATE_MAGIC2): Likewise.
16848 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16849 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16850 (struct _fpx_sw_bytes): New struct.
16851 (struct _xsave_hdr): Likewise.
16852 (struct _ymmh_state): Likewise.
16853 (struct _xstate): Likewise.
16854
68e408ab
L
16855 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16856 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16857 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16858 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16859 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16860 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16861
f3d1f93c
L
16862 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16863 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16864 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16865 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16866 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16867 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16868
d9dc34cd
TMQMF
168692012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16870
16871 [BZ #13743]
16872 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16873 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16874 (sysdep_headers): Include sys/platform/ppc.h.
16875 * sysdeps/powerpc/test-gettimebase.c: Test for
16876 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16877 * manual/Makefile (appendices): Include platform.texi.
16878 * manual/contrib.texi (Contributors): Update @node pointers.
16879 * manual/maint.texi (Maintenance): Likewise.
16880 (Platform): New node.
16881 * manual/platform.texi: New file. Document the new features.
16882
4af3879c
SP
168832012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16884 Jakub Jelinek <jakub@redhat.com>
16885
16886 [BZ #14188]
16887 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16888 where __builtin_expect is unavailable.
16889
2fd6ff13
DM
168902012-06-03 David S. Miller <davem@davemloft.net>
16891
16892 * stdlib/longlong.h: Updated from GCC.
16893
173f7220
AS
168942012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16895
16896 [BZ #14042]
16897 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16898 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16899 __mcount_internal.
16900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16901 (GLIBC_2.16): Likewise.
16902
f34a1c6f
L
169032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16904
16905 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16906
88a4576f
JM
169072012-06-01 Joseph Myers <joseph@codesourcery.com>
16908
ea32bcdd
JM
16909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16910 (default-abi): New variable.
16911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16912 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16913 variable.
16914 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16915 Likewise.
16916 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16917 Likewise.
16918 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16919 Likewise.
16920
88a4576f
JM
16921 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16922 definition. Document in comment.
16923
402fe938
DM
169242012-06-01 David S. Miller <davem@davemloft.net>
16925
16926 * stdlib/longlong.h: Updated from GCC.
16927
3553723f
L
169282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16929
16930 [BZ #14117]
3bd872c4
L
16931 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16932 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16933 sys/debugreg.h sys/io.h here.
16934 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16935 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16936 sys/io.h.
16937 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16938 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16939 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16940 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16941 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16942 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16943
3553723f
L
16944 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16945 Define only if __x86_64__ is defined.
16946
4842e4fe
JM
169472012-06-01 Joseph Myers <joseph@codesourcery.com>
16948
c5bfe3d5
JM
16949 [BZ #14048]
16950 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16951 Use int64_t for variable i.
16952 * math/libm-test.inc (fmod_test): Add more tests.
16953
4842e4fe
JM
16954 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16955 z computation is not scheduled after fetestexcept.
16956 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16957 Use math_force_eval instead of asm to ensure calculation scheduled
16958 before exception test.
16959 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16960 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16961
efb73488
AJ
169622012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16963
16964 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16965 computation is not scheduled after fetestexcept.
16966
29bcce7c
L
169672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16968
16969 [BZ #14117]
16970 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16971 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16972
73a68f94
AZ
169732012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16974
16975 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16976 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16977
67b6df78
L
169782012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16979
edf2933a 16980 [BZ #14117]
ebc64a18
L
16981 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16982 <bits/wordsize.h>.
16983 (__WCHAR_MIN): Support __WORDSIZE == 64.
16984 (__WCHAR_MAX): Likewise.
16985
edf2933a
L
16986 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16987 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16988
57c6cf40
L
16989 [BZ #14183]
16990 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16991 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16992
67b6df78 16993 [BZ #14117]
8eb6281e
L
16994 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16995 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16996
aac639f4
L
16997 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16998 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16999
67b6df78
L
17000 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17001 Defined to 1 if __x86_64__ isn't defined.
17002 (_STAT_VER_LINUX_OLD): New.
17003 (st_atime): Remove duplicate.
17004 (st_mtime): Likewise.
17005 (st_ctime): Likewise.
17006
1c2cfe81
DM
170072012-05-31 David S. Miller <davem@davemloft.net>
17008
17009 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17010 entries.
17011
5be8418c
AS
170122012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17013
e7725326
AS
17014 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17015 gen-libm-test.pl.
17016
5be8418c
AS
17017 [BZ #14132]
17018 * elf/dl-reloc.c: Include <_itoa.h>.
17019 (_dl_reloc_bad_type): Remove use of INTUSE.
17020 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17021 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17022 * stdio-common/psiginfo.c (psiginfo): Likewise.
17023 * stdio-common/psignal.c (psignal): Likewise.
17024 * string/strsignal.c (strsignal): Likewise.
17025 * include/signal.h (_sys_siglist): Declare hidden proto.
17026 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17027 INTVARDEF with libc_hidden_data_def.
17028 * stdio-common/itoa-udigits.c: Likewise.
17029 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17030 (_itoa_lower_digits_internal): Remove declaration.
17031 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17032 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17033 (_sys_sigabbrev_internal): Remove aliases.
17034 (_sys_siglist): Define hidden alias.
17035
507352f1
MT
170362012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17037
17038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17039 bits/sysctl.h.
17040
42bbb1c3
L
170412012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17042
17043 [BZ #14117]
6bd784b6
L
17044 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17045 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17046
8bca20f0
L
17047 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17048 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17049 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17050 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17051 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17052 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17053
f9e890a9
L
17054 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17055 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17056 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17057
471101a1
L
17058 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17059 with __addr.
17060 (insw): Likewise.
17061 (insl): Likewise.
17062 (outsb): Likewise.
17063 (outsw): Likewise.
17064 (outsl): Likewise.
17065
6451c862
L
17066 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17067 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17068 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17069
a254b8c9
L
17070 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17071 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17072 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17073 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17074 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17075 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17076
b8dfdd92
L
17077 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17078 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17079
578cd270
L
17080 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17081 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17082
de662f5f
L
17083 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17084 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17085 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17086
25653439
L
17087 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17088 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17089 to ...
17090 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17091
6bad24a0
L
17092 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17093 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17094 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17095
42bbb1c3
L
17096 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17097 for x86-64.
17098 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17099
2d10d547
JM
171002012-05-31 Joseph Myers <joseph@codesourcery.com>
17101
17102 * math/math.h (M_El): Use two more decimal places.
17103 (M_LOG2El): Likewise.
17104 (M_LOG10El): Likewise.
17105 (M_LN2l): Likewise.
17106 (M_LN10l): Likewise.
17107 (M_PIl): Likewise.
17108 (M_PI_2l): Likewise.
17109 (M_PI_4l): Likewise.
17110 (M_1_PIl): Likewise.
17111 (M_2_PIl): Likewise.
17112 (M_2_SQRTPIl): Likewise.
17113 (M_SQRT2l): Likewise.
17114 (M_SQRT1_2l): Likewise.
17115
f230c29b
DM
171162012-05-31 David S. Miller <davem@davemloft.net>
17117
17118 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17119 values between float registers.
17120 * sysdeps/sparc/sparc64/memset.S: Likewise.
17121 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17122
fed806c3
MF
171232012-05-31 Mike Frysinger <vapier@gentoo.org>
17124
17125 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17126 -D_FORTIFY_SOURCE=1.
17127 (CPPFLAGS-tst-longjmp_chk.c): Define.
17128 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17129 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17130 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17131 CFLAGS-tst-wchar-h.c.
17132
30917259
MP
171332012-05-31 Marek Polacek <polacek@redhat.com>
17134
17135 [BZ #14132]
17136 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17137 __endmntent_internal): Remove declaration.
17138 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17139 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17140 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17141
1c58d5dc
DM
171422012-05-30 David S. Miller <davem@davemloft.net>
17143
17144 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17145 (___Q_simulate_exceptions): Use real FP ops rather than writing
17146 into the %fsr.
17147 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17148 Likewise.
17149
7dc00e0d
L
171502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17151
17152 [BZ #14117]
0bd53985
L
17153 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17154 * sysdeps/x86/bits/xtitypes.h: This.
17155
3a257e66
L
17156 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17157 * sysdeps/x86/bits/wordsize.h: This.
17158
62f62904
L
17159 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17160 * sysdeps/x86/bits/huge_vall.h: This.
17161
404fe9d9
L
17162 * sysdeps/i386/bits/select.h: Removed.
17163 * sysdeps/x86_64/bits/select.h: Renamed to ...
17164 * sysdeps/x86/bits/select.h: This.
17165
d48d0446
L
17166 * sysdeps/i386/bits/setjmp.h: Removed.
17167 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17168 * sysdeps/x86/bits/setjmp.h: This.
17169
7dc00e0d
L
17170 * sysdeps/i386/bits/mathdef.h: Removed.
17171 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17172 * sysdeps/x86/bits/mathdef.h: This.
17173
03277f8f
AS
171742012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17175
17176 [BZ #14132]
17177 * include/sys/socket.h (__connect_internal)
17178 (__libc_sa_len_internal): Remove declaration.
17179 (__connect, __libc_sa_len): Declare hidden_proto.
17180 (SA_LEN): Remove use of INTUSE.
17181 * socket/connect.c: Add libc_hidden_def.
17182 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17183 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17184 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17185 alias.
17186 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17187 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17188 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17189 of adding _internal alias.
17190
13764867
L
171912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17192
17193 [BZ #14117]
6bd97696
L
17194 * sysdeps/i386/bits/link.h: Removed.
17195 * sysdeps/i386/bits/linkmap.h: Likewise.
17196 * sysdeps/x86_64/bits/link.h: Renamed to ...
17197 * sysdeps/x86/bits/link.h: This.
17198 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17199 * sysdeps/x86/bits/linkmap.h: This.
17200
f726f0bb
L
17201 * sysdeps/i386/bits/endian.h: Removed.
17202 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17203 * sysdeps/x86/bits/endian.h: This.
17204
13764867
L
17205 * sysdeps/i386/bits/byteswap.h: Removed.
17206 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17207 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17208 * sysdeps/x86/bits/byteswap.h: This.
17209 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17210 * sysdeps/x86/bits/byteswap-16.h: This.
17211 * sysdeps/i386/Implies: Add x86.
17212 * sysdeps/x86_64/Implies: Likewise.
17213
ae251b0b
DM
172142012-05-30 David S. Miller <davem@davemloft.net>
17215
17216 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17217 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17218 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17219 (FP_TRAPPING_EXCEPTIONS): Define.
17220 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17221 (FP_TRAPPING_EXCEPTIONS): Define.
17222 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17223 subnormals only when inexact has been signalled or underflow
17224 exceptions are enabled.
17225 (_FP_PACK_CANONICAL): Likewise.
17226
d5c90867
L
172272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17228
17229 [BZ #14183]
17230 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17231 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17232
63f1549e
RH
172332012-05-30 Richard Henderson <rth@twiddle.net>
17234
8d8f2279
RH
17235 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17236 with #ifndef NOT_IN_libc.
17237
63f1549e
RH
17238 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17239 marked to avoid plt entry.
17240
0ab0291b
L
172412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17242
17243 [BZ #14112]
17244 * Makeconfig (default-abi): New macro.
17245 (abi-includes): Likewise.
17246 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17247 $(abi-$(default-abi)-lib-soname) for soname if defined.
17248 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17249 abi-variants.
17250 * Makefile (installed-stubs): Likewise.
17251 * include/stubs-biarch.h: Removed.
17252 * scripts/lib-names.awk: Only handle one library at a time.
17253 * scripts/soversions.awk: Remove WORDSIZE support.
17254 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17255 entries.
17256 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17257 Removed.
17258 (syscall-list-default-condition): Likewise.
17259 (syscall-list-default-condition): Likewise.
17260 (syscall-list-includes): Likewise.
17261 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17262 syscall-list-* with abi-*. Handle undefined abi-variants.
17263 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17264 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17265 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17266 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17267 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17268 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17269 Removed.
17270 (syscall-list-32-options): Likewise.
17271 (syscall-list-32-condition): Likewise.
17272 (syscall-list-64-options): Likewise.
17273 (syscall-list-64-condition): Likewise.
17274 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17275 macro.
17276 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17277 Renamed to ...
17278 (abi-*): This.
17279 (abi-64-ld-soname): New macro.
17280 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17281 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17282 Renamed to ...
17283 (abi-*): This.
17284 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17285 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17286
4da0431d
JM
172872012-05-30 Joseph Myers <joseph@codesourcery.com>
17288
3a85279c
JM
17289 * sysdeps/unix/sysv/linux/kernel-features.h
17290 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17291 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17292 include <kernel-features.h>.
17293 [!__NR_ftruncate64]: Remove conditional code.
17294 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17295 [__NR_ftruncate64]: Make code unconditional.
17296 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17297 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17298 include <kernel-features.h>.
17299 [!__NR_ftruncate64]: Remove conditional code.
17300 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17301 [__NR_ftruncate64]: Make code unconditional.
17302 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17304 include <kernel-features.h>.
17305 [!__NR_ftruncate64]: Remove conditional code.
17306 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17307 [__NR_ftruncate64]: Make code unconditional.
17308 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17310 include <kernel-features.h>.
17311 [!__NR_ftruncate64]: Remove conditional code.
17312 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17313 [__NR_ftruncate64]: Make code unconditional.
17314 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17315
4da0431d
JM
17316 * configure.in (libc_cv_fpie): Weaken to a compile test using
17317 LIBC_TRY_CC_OPTION.
17318 * configure: Regenerated.
17319
11ef492c
AK
173202012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17321
17322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17326 Refreshed.
17327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17333 Refreshed.
17334
d66ef399
DM
173352012-05-27 David S. Miller <davem@davemloft.net>
17336
17337 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17338 (___Q_zero): New.
17339 (__Q_simulate_exceptions): Return void. Change to simulate
17340 exceptions by writing into the %fsr.
17341 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17342 (__Qp_handle_exceptions): Likewise.
17343 (numbers): Delete.
17344 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17345 __Qp_handle_exceptions.
17346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17347 __Qp_handle_exceptions.
17348 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17349 as unused and give dummy FP_RND_NEAREST initializer.
17350 (FP_INHIBIT_RESULTS): Define.
17351 (___Q_simulate_exceptions): Update declaration.
17352 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17353 formatting.
17354 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17355 as unused and give dummy FP_RND_NEAREST initializer.
17356 (__Qp_handle_exceptions): Update declaration.
17357 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17358 formatting.
17359
04fb54b5
TS
173602012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17361
17362 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17363 the temporary FPU control word.
17364 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17365 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17366 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17367 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17368 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17369 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17370 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17371 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17372 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17373 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17374 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17375
3f99608f
KK
173762012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17377
17378 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17379 fields.
17380
65a4de4e
CLT
173812012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17382
17383 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17384 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17385 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17386 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17387 Likewise.
17388 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17389 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17390 Likewise.
17391
15749d40
UD
173922012-05-27 Ulrich Drepper <drepper@gmail.com>
17393
17394 * po/h.po: Update from translation team.
17395
25dbcb27
AS
173962012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17397
3d3f8e55
AS
17398 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17399
25dbcb27
AS
17400 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17401 handling of denormals.
17402 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17403 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17404 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17405 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17407 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17408 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17409 Likewise.
17410
7ad47a80 174112012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17412
17413 [BZ #14152]
17414 * math/libm-test.inc (fma_test): Don't always expect underflow
17415 exception.
17416
9c6ea9fa
SP
174172012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17418
17419 [BZ #12416]
17420 * elf/tst-execstack.c: Include stackinfo.h.
17421 (do_test): Adjust test case to ensure that pthread_getattr_np
17422 behaviour remains the same after marking stack executable.
17423
a8239222
JM
174242012-05-25 Joseph Myers <joseph@codesourcery.com>
17425
17426 * sysdeps/unix/sysv/linux/kernel-features.h
17427 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17428 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17429 kernel-features.h.
17430 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17431 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17432 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17433 kernel-features.h.
17434 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17435 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17436
918b5606
L
174372012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17438
17439 * configure.in: Define the default includes to being none.
17440 * configure: Regenerated.
17441
3a097cc7
RM
174422012-05-25 Roland McGrath <roland@hack.frob.com>
17443
8422c9a5
RM
17444 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17445 * sysdeps/x86_64/setjmp.S: Likewise.
17446 * sysdeps/i386/bsd-setjmp.S: Likewise.
17447 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17448 * sysdeps/i386/setjmp.S: Likewise.
17449 * sysdeps/i386/__longjmp.S: Likewise.
17450 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17451 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17452
3a097cc7
RM
17453 * include/stap-probe.h: New file.
17454 * configure.in: Handle --enable-systemtap.
17455 * configure: Regenerated.
17456 * config.h.in (USE_STAP_PROBE): New #undef.
17457 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17458 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17459 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17460
21708942
JM
174612012-05-25 Joseph Myers <joseph@codesourcery.com>
17462
17463 [BZ #13717]
17464 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17465 to 2.4.0 where earlier.
17466 * sysdeps/unix/sysv/linux/configure: Regenerated.
17467 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17468 <kernel-features.h>.
17469 [__ASSUME_32BITUIDS]: Make code unconditional.
17470 [!__ASSUME_32BITUIDS]: Remove conditional code.
17471 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17472 <kernel-features.h>.
17473 [__ASSUME_32BITUIDS]: Make code unconditional.
17474 [!__ASSUME_32BITUIDS]: Remove conditional code.
17475 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17476 [__ASSUME_32BITUIDS]: Make code unconditional.
17477 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17478 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/i386/msgctl.c: Do not include
17511 <kernel-features.h>.
17512 [__ASSUME_32BITUIDS]: Make code unconditional.
17513 [!__ASSUME_32BITUIDS]: Remove conditional code.
17514 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17515 <kernel-features.h>.
17516 [__ASSUME_32BITUIDS]: Make code unconditional.
17517 [!__ASSUME_32BITUIDS]: Remove conditional code.
17518 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17519 <kernel-features.h>.
17520 [__NR_setresgid] (__setresgid): Do not declare.
17521 [__ASSUME_32BITUIDS]: Make code unconditional.
17522 [!__ASSUME_32BITUIDS]: Remove conditional code.
17523 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17524 <kernel-features.h>.
17525 [__NR_setresuid] (__setresuid): Do not declare.
17526 [__ASSUME_32BITUIDS]: Make code unconditional.
17527 [!__ASSUME_32BITUIDS]: Remove conditional code.
17528 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17529 <kernel-features.h>.
17530 [__ASSUME_32BITUIDS]: Make code unconditional.
17531 [!__ASSUME_32BITUIDS]: Remove conditional code.
17532 * sysdeps/unix/sysv/linux/i386/setfsuid.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/i386/setgid.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/i386/setgroups.c: Do not include
17541 <kernel-features.h>.
17542 [__ASSUME_32BITUIDS]: Make code unconditional.
17543 [!__ASSUME_32BITUIDS]: Remove conditional code.
17544 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17545 <kernel-features.h>.
17546 [__ASSUME_32BITUIDS]: Make code unconditional.
17547 [!__ASSUME_32BITUIDS]: Remove conditional code.
17548 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17549 <kernel-features.h>.
17550 [__ASSUME_32BITUIDS]: Make code unconditional.
17551 [!__ASSUME_32BITUIDS]: Remove conditional code.
17552 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17553 <kernel-features.h>.
17554 [__ASSUME_32BITUIDS]: Make code unconditional.
17555 [!__ASSUME_32BITUIDS]: Remove conditional code.
17556 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17557 <kernel-features.h>.
17558 [__ASSUME_32BITUIDS]: Make code unconditional.
17559 [!__ASSUME_32BITUIDS]: Remove conditional code.
17560 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17561 <kernel-features.h>.
17562 [__ASSUME_32BITUIDS]: Make code unconditional.
17563 [!__ASSUME_32BITUIDS]: Remove conditional code.
17564 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17565 <kernel-features.h>.
17566 [__ASSUME_32BITUIDS]: Make code unconditional.
17567 [!__ASSUME_32BITUIDS]: Remove conditional code.
17568 * sysdeps/unix/sysv/linux/kernel-features.h
17569 (__ASSUME_SETRESUID_SYSCALL): Remove.
17570 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17571 (__ASSUME_32BITUIDS): Likewise.
17572 (__ASSUME_LDT_WORKS): Likewise.
17573 (__ASSUME_O_DIRECTORY): Likewise.
17574 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17575 architecture but not kernel version.
17576 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17577 (__ASSUME_MMAP2_SYSCALL): Likewise.
17578 (__ASSUME_STAT64_SYSCALL): Likewise.
17579 (__ASSUME_IPC64): Likewise.
17580 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17581 <kernel-features.h>.
17582 [__ASSUME_32BITUIDS]: Make code unconditional.
17583 [!__ASSUME_32BITUIDS]: Remove conditional code.
17584 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17585 <kernel-features.h>.
17586 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17587 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17588 132096]: Remove conditional code.
17589 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17590 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17591 <kernel-features.h>.
17592 [__ASSUME_32BITUIDS]: Make code unconditional.
17593 [!__ASSUME_32BITUIDS]: Remove conditional code.
17594 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17595 <kernel-features.h>.
17596 [__ASSUME_32BITUIDS]: Make code unconditional.
17597 [!__ASSUME_32BITUIDS]: Remove conditional code.
17598 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17599 <kernel-features.h>.
17600 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17601 unconditional.
17602 (__setresgid): Do not declare.
17603 [__ASSUME_32BITUIDS]: Make code unconditional.
17604 [!__ASSUME_32BITUIDS]: Remove conditional code.
17605 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17606 <kernel-features.h>.
17607 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17608 unconditional.
17609 (__setresuid): Do not declare.
17610 [__ASSUME_32BITUIDS]: Make code unconditional.
17611 [!__ASSUME_32BITUIDS]: Remove conditional code.
17612 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17613 <kernel-features.h>.
17614 [__ASSUME_32BITUIDS]: Make code unconditional.
17615 [!__ASSUME_32BITUIDS]: Remove conditional code.
17616 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17617 <kernel-features.h>.
17618 [__ASSUME_32BITUIDS]: Make code unconditional.
17619 [!__ASSUME_32BITUIDS]: Remove conditional code.
17620
a386f1cc
RH
176212012-05-25 Richard Henderson <rth@twiddle.net>
17622
17623 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17624 dl_hwcap to ifunc resolver.
17625 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17626 elf_ifunc_invoke.
17627 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17628 dl_hwcap to ifunc resolver.
17629 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17630
b6550497
JM
176312012-05-24 Joseph Myers <joseph@codesourcery.com>
17632
17633 [BZ #14153]
17634 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17635 for |x| <= 2**-26, not 2**-57.
17636 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17637 exception.
17638
b0bc23a1
JL
176392012-05-24 Jeff Law <law@redhat.com>
17640
17641 * stdio-common/Makefile (tests): Add bug25.
17642 * stdio-common/bug25.c: New test.
17643
347c92e9
L
176442012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17645
17646 [BZ #13576]
17647 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17648 multiple of MALLOC_ALIGNMENT in size.
17649 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17650
6bcc8b3f
JM
176512012-05-24 Joseph Myers <joseph@codesourcery.com>
17652
17653 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17654 Require >= 256.
17655 (FILENAME_MAX): Use macro-int-constant.
17656 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17657 (_IOFBF): Use macro-int-constant.
17658 (_IOLBF): Likewise.
17659 (_IONBF): Likewise.
17660 (SEEK_CUR): Likewise.
17661 (SEEK_END): Likewise.
17662 (SEEK_SET): Likewise.
17663 (TMP_MAX): Likewise.
17664 (EOF): Use macro-int-constant. Require < 0.
17665 (NULL): Use macro-constant. Require == 0.
17666 (stdin): Require type to be FILE *.
17667 (stdout): Likewise.
17668 (stderr): Likewise.
17669 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17670 macro-int-constant.
17671 (EXIT_SUCCESS): Likewise.
17672 (NULL): Use macro-constant. Require == 0.
17673 (RAND_MAX): Use macro-int-constant.
17674 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17675 [C99-based standards] (strtof): Require function.
17676 [C99-based standards] (strtold): Likewise.
17677 [C99-based standards] (strtoll): Likewise.
17678 [C99-based standards] (strtoull): Likewise.
17679 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17680 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17681 [ISO || ISO99 || ISO11] (math.h): Likewise.
17682 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17683 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17684 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17685
d18ea0c5
AS
176862012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17687
17688 [BZ #14132]
56d25bb8
AS
17689 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17690 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17691 * intl/dgettext.c (DCGETTEXT): Likewise.
17692 * intl/gettext.c (DCGETTEXT): Likewise.
17693 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17694 * posix/regex_internal.h (gettext): Likewise.
17695 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17696 Remove declaration.
17697 * include/argz.h (__argz_count_internal)
17698 (__argz_stringify_internal): Remove declaration.
17699 (__argz_count, __argz_stringify): Declare hidden proto.
17700 * intl/dcgettext.c: Remove use of INTDEF.
17701 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17702 * string/argz-stringify.c: Likewise.
17703 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17704 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17705 Declare hidden proto.
d18ea0c5
AS
17706 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17707 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17708 Declare hidden proto.
17709 * include/stdio.h (__asprintf_internal): Don't declare.
17710 (__asprintf): Don't define as macro. Declare hidden proto.
17711 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17712 (__fsetlocking): Declare hidden proto.
17713 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17714 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17715 hidden proto.
17716 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17717 (_IO_setlinebuf): Remove use of INTUSE.
17718 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17719 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17720 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17721 Remove declaration.
17722 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17723 (_IO_do_flush): Remove use of INTUSE.
17724 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17725 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17726 (_IO_adjust_column, _IO_least_wmarker)
17727 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17728 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17729 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17730 (_IO_default_doallocate, _IO_wdefault_doallocate)
17731 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17732 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17733 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17734 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17735 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17736 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17737 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17738 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17739 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17740 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17741 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17742 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17743 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17744 proto.
17745 (_IO_flush_all_internal, _IO_adjust_column_internal)
17746 (_IO_default_uflow_internal, _IO_default_finish_internal)
17747 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17748 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17749 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17750 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17751 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17752 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17753 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17754 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17755 (_IO_file_close_internal, _IO_file_close_it_internal)
17756 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17757 (_IO_file_init_internal, _IO_file_attach_internal)
17758 (_IO_file_fopen_internal, _IO_file_read_internal)
17759 (_IO_file_sync_internal, _IO_file_seek_internal)
17760 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17761 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17762 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17763 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17764 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17765 (_IO_list_all_internal, _IO_link_in_internal)
17766 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17767 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17768 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17769 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17770 (_IO_do_write_internal, _IO_padn_internal)
17771 (_IO_getline_info_internal, _IO_getline_internal)
17772 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17773 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17774 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17775 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17776 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17777 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17778 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17779 with libc_hidden_ver, remove use of INTUSE.
17780 * libio/genops.c: Likewise.
17781 * libio/freopen.c: Likewise.
17782 * libio/freopen64.c: Likewise.
17783 * libio/iofclose.c: Likewise.
17784 * libio/iofdopen.c: Likewise.
17785 * libio/iofflush.c: Likewise.
17786 * libio/iofflush_u.c: Likewise.
17787 * libio/iofgets.c: Likewise.
17788 * libio/iofgets_u.c: Likewise.
17789 * libio/iofopen.c: Likewise.
17790 * libio/iofopncook.c: Likewise.
17791 * libio/iofread.c: Likewise.
17792 * libio/iofread_u.c: Likewise.
17793 * libio/ioftell.c: Likewise.
17794 * libio/iofwrite.c: Likewise.
17795 * libio/iogetline.c: Likewise.
17796 * libio/iogets.c: Likewise.
17797 * libio/iogetwline.c: Likewise.
17798 * libio/iopadn.c: Likewise.
17799 * libio/iopopen.c: Likewise.
17800 * libio/ioseekoff.c: Likewise.
17801 * libio/ioseekpos.c: Likewise.
17802 * libio/iosetbuffer.c: Likewise.
17803 * libio/iosetvbuf.c: Likewise.
17804 * libio/ioungetc.c: Likewise.
17805 * libio/ioungetwc.c: Likewise.
17806 * libio/iovdprintf.c: Likewise.
17807 * libio/iovsprintf.c: Likewise.
17808 * libio/iovsscanf.c: Likewise.
17809 * libio/memstream.c: Likewise.
17810 * libio/obprintf.c: Likewise.
17811 * libio/oldfileops.c: Likewise.
17812 * libio/oldiofclose.c: Likewise.
17813 * libio/oldiofdopen.c: Likewise.
17814 * libio/oldiofopen.c: Likewise.
17815 * libio/oldiopopen.c: Likewise.
17816 * libio/oldstdfiles.c: Likewise.
17817 * libio/putc.c: Likewise.
17818 * libio/setbuf.c: Likewise.
17819 * libio/setlinebuf.c: Likewise.
17820 * libio/stdfiles.c: Likewise.
17821 * libio/strops.c: Likewise.
17822 * libio/vasprintf.c: Likewise.
17823 * libio/vscanf.c: Likewise.
17824 * libio/vsnprintf.c: Likewise.
17825 * libio/vswprintf.c: Likewise.
17826 * libio/wfiledoalloc.c: Likewise.
17827 * libio/wfileops.c: Likewise.
17828 * libio/wgenops.c: Likewise.
17829 * libio/wmemstream.c: Likewise.
17830 * libio/wstrops.c: Likewise.
17831 * libio/__fpurge.c: Likewise.
17832 * libio/__fsetlocking.c: Likewise.
17833 * assert/assert.c: Likewise.
17834 * debug/fgets_chk.c: Likewise.
17835 * debug/fgets_u_chk.c: Likewise.
17836 * debug/fread_chk.c: Likewise.
17837 * debug/fread_u_chk.c: Likewise.
17838 * debug/gets_chk.c: Likewise.
17839 * debug/obprintf_chk.c: Likewise.
17840 * debug/vasprintf_chk.c: Likewise.
17841 * debug/vdprintf_chk.c: Likewise.
17842 * debug/vsnprintf_chk.c: Likewise.
17843 * debug/vsprintf_chk.c: Likewise.
17844 * malloc/mtrace.c: Likewise.
17845 * misc/error.c: Likewise.
17846 * misc/syslog.c: Likewise.
17847 * stdio-common/asprintf.c: Likewise.
17848 * stdio-common/fxprintf.c: Likewise.
17849 * stdio-common/getw.c: Likewise.
17850 * stdio-common/isoc99_fscanf.c: Likewise.
17851 * stdio-common/isoc99_scanf.c: Likewise.
17852 * stdio-common/isoc99_vfscanf.c: Likewise.
17853 * stdio-common/isoc99_vscanf.c: Likewise.
17854 * stdio-common/isoc99_vsscanf.c: Likewise.
17855 * stdio-common/printf-prs.c: Likewise.
17856 * stdio-common/printf_fp.c: Likewise.
17857 * stdio-common/printf_fphex.c: Likewise.
17858 * stdio-common/printf_size.c: Likewise.
17859 * stdio-common/putw.c: Likewise.
17860 * stdio-common/scanf.c: Likewise.
17861 * stdio-common/sprintf.c: Likewise.
17862 * stdio-common/tmpfile.c: Likewise.
17863 * stdio-common/vfprintf.c: Likewise.
17864 * stdio-common/vfscanf.c: Likewise.
17865 * stdlib/strfmon_l.c: Likewise.
17866 * sunrpc/openchild.c: Likewise.
17867 * sunrpc/xdr_stdio.c: Likewise.
17868 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17869 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17870
d6c33fda
RM
178712012-05-24 Roland McGrath <roland@hack.frob.com>
17872
c1487492
RM
17873 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17874
17875 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17876 in the third column, to generate for the shared library an IFUNC
17877 that uses _dl_vdso_vsym.
17878 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17879 * Makeconfig (object-suffixes-noshared): New variable.
17880
17881 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17882 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17883 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17884 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17885
d6c33fda
RM
17886 [BZ #14132]
17887 * include/sys/time.h (__gettimeofday): Remove macro.
17888 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17889 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17890 Remove INTDEF.
17891 (__gettimeofday): Add libc_hidden_def.
17892 (gettimeofday): Add libc_hidden_weak.
17893 * sysdeps/mach/gettimeofday.c: Likewise.
17894 * sysdeps/posix/gettimeofday.c: Likewise.
17895 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17896 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17897 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17898 (__gettimeofday_internal): Remove strong_alias.
17899 (__gettimeofday): Add libc_hidden_def.
17900 (gettimeofday): Add libc_hidden_weak.
17901 * sysdeps/unix/syscalls.list (gettimeofday):
17902 Remove __gettimeofday_internal alias.
17903
b5a2bbe6
L
179042012-05-24 Daniel Jacobowitz <drow@false.org>
17905 H.J. Lu <hongjiu.lu@intel.com>
17906
17907 [BZ #12495]
17908 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17909 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17910 (largebin_index_32_big): New.
17911 (largebin_index): Use it for 16-byte alignment.
17912 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17913 correction with front_misalign.
17914
cfba4fda
L
179152012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17916
7f907421
L
17917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17919 Likewise.
17920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17921 Likewise.
17922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17923 Likewise.
17924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17925 Likewise.
17926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17927 Likewise.
17928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17929 Likewise.
17930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17931 Likewise.
17932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17933 Likewise.
17934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17935 Likewise.
17936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17937 Likewise.
17938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17939 Likewise.
17940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17941 Likewise.
17942
cfba4fda
L
17943 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17944 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17945
80bad0cc
JM
179462012-05-24 Joseph Myers <joseph@codesourcery.com>
17947
7a25eb06
JM
17948 [BZ #10846]
17949 [BZ #14036]
17950 * math/libm-test.inc (exp_test): Add test from bug 14036.
17951 (pow_test): Add test from bug 10846.
17952
795405f9
JM
17953 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17954 and other flags.
17955 (special_function): Do not include flags in test name.
17956 (parse_args): Likewise.
17957 * sysdeps/i386/fpu/libm-test-ulps: Update.
17958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17959 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17960 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17962
80bad0cc
JM
17963 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17964 exceptions.
17965 * math/libm-test.inc ("Philosophy"): Update comment about
17966 exception testing.
17967 (UNDERFLOW_EXCEPTION): New macro.
17968 (UNDERFLOW_EXCEPTION_OK): Likewise.
17969 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17970 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17971 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17972 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17973 (INVALID_EXCEPTION_OK): Update value.
17974 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17975 (OVERFLOW_EXCEPTION_OK): Likewise.
17976 (IGNORE_ZERO_INF_SIGN): Likewise.
17977 (test_exceptions): Handle underflow exceptions.
17978 (acos_test): Update for underflow exception expectations.
17979 (cexp_test): Likewise.
17980 (clog_test): Likewise.
17981 (clog10_test): Likewise.
17982 (csqrt_test): Likewise.
17983 (ctan_test): Likewise.
17984 (ctanh_test): Likewise.
17985 (exp_test): Likewise.
17986 (exp10_test): Likewise.
17987 (exp2_test): Likewise.
17988 (expm1_test): Likewise.
17989 (fma_test): Likewise.
17990 (j0_test): Likewise.
17991 (jn_test): Likewise.
17992 (nexttoward_test): Likewise.
17993 (pow_test): Likewise.
17994 (scalbn_test): Likewise.
17995 (scalbln_test): Likewise.
17996 (tan_test): Likewise.
17997 (y1_test): Likewise.
17998 * sysdeps/i386/fpu/libm-test-ulps: Update.
17999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18000
9e0e3d0b
DM
180012012-05-23 David S. Miller <davem@davemloft.net>
18002
18003 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18004 (__libc_sigaction): Remove unused local variables.
18005
ccd0a08f
L
180062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18007
18008 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18009
62bdf9a6
PE
180102012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18011
f8591f80
PE
18012 mktime: avoid signed integer overflow
18013 * time/mktime.c (__mktime_internal): Do not mishandle the case
18014 where diff == INT_MIN.
18015
94c7d826
PE
18016 mktime: simplify computation of average
18017 * time/mktime.c (ranged_convert): Use new time_t_avg function
18018 instead of rolling our own (probably-slower) code.
18019
ce73d683
PE
18020 mktime: do not assume signed right shift propagates sign bit
18021 * time/mktime.c (isdst_differ): New static function.
18022 (__mktime_internal): No need to normalize tm_isdst now.
18023 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18024 tm_isdst values.
18025
72a22e59
PE
18026 mktime: merge another wrapv change from gnulib
18027 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18028 from some compilers.
18029
68605433
PE
18030 mktime: remove incorrect attempt at unusual arithmetics
18031 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18032 The code didn't really work on such machines anyway.
18033 (TYPE_MINIMUM): Assume two's complement.
18034 (twos_complement_arithmetic): Verify that long_int and time_t
18035 are two's complement (or unsigned, in the latter case).
18036
03cf7fe3
PE
18037 mktime: check signed shifts on long_int and time_t, too
18038 * time/mktime.c (SHR): Check that shifts work as desired
18039 on the types long_int and time_t too, as SHR is used on
18040 such types.
18041
f04dfbc2
PE
18042 mktime: do not assume 'long' is wide enough
18043 * time/mktime.c (verify): Move decl up.
18044 (long_int): New type.
18045 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18046 to remove assumption in the code that 'long' is wide enough to
18047 store year values. This assumption is not true on x32 and on
18048 some non-glibc platforms.
18049
62bdf9a6
PE
18050 mktime: merge wrapv change from gnulib
18051 * time/mktime.c (WRAPV): New macro.
18052 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18053 (guess_time_tm, __mktime_internal): Do not assume that signed
18054 integer overflow wraps around; modern compilers generate code
18055 where this assumption is no longer valid.
18056
5e292e4f
L
180572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18058
18059 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18060 Replace "jmp L(pseudo_end)" with "ret".
18061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18062 Likewise.
18063
8caf8c87
AJ
180642012-05-23 Andreas Jaeger <aj@suse.de>
18065
18066 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18067 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18068
1a09dc56
AJ
180692012-05-23 Andreas Jaeger <aj@suse.de>
18070 Maximilian Attems <max@stro.at>
18071
18072 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18073 New macros.
18074
1c87aba0
L
180752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18076
18077 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18078 code so that pseudo_end is just ret and the stack pointer is
18079 correct also for static library in error case.
18080
40e45bd5
JM
180812012-05-23 Joseph Myers <joseph@codesourcery.com>
18082
c2670533
JM
18083 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18084 move to syscalls.list.
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18089
40e45bd5
JM
18090 * manual/install.texi (Running make install): Do not mention Linux
18091 kernel version for which pt_chown is not needed.
18092 (Linux): Do not mention problems with nscd with 2.0 kernels.
18093 * INSTALL: Regenerated.
18094
be08eda5
AJ
180952012-05-23 Andreas Jaeger <aj@suse.de>
18096
18097 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18098 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18099 macro.
18100 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18101 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18102 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18104 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18106 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18107 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18108 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18110 * sysdeps/unix/sysv/linux/bits/in.h
18111 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18112
a6a056bb
RM
181132012-05-22 Roland McGrath <roland@hack.frob.com>
18114
18115 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18116 (PREPARE_VERSION): Just use assert instead, it will be elided
18117 under [NDEBUG] anyway.
18118
c9009328
L
181192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18120
18121 * sysdeps/unix/sysv/linux/Makefile: Include
18122 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18123 (sysdep_routines): Remove sysctl.
c9009328
L
18124 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18125 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18126 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18127 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18128 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18129
73338355
AJ
181302012-05-22 Andreas Jaeger <aj@suse.de>
18131
18132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18133 that pseudo_end is just ret and the stack pointer is correct also
18134 for static library in error case.
18135
d44638b0
PP
181362012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18137
18138 [BZ #14122]
18139 * nss/nsswitch.c (defconfig_entries): New variable.
18140 (__nss_database_lookup): Don't leak defconfig entries.
18141 (nss_parse_service_list): Don't leak on error paths.
18142 (free_database_entries): New function.
18143 (free_defconfig): New function.
18144 (free_mem): Move common code to free_database_entries.
18145
31a39bd8
L
181462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18147
da0331a8
L
18148 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18149 Add arch_prctl.
18150 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18151
31a39bd8
L
18152 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18153 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18155 New macro.
18156 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18157 (INTERNAL_SYSCALL_TYPES): Likewise.
18158 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18159 (LOAD_REGS_TYPES_[1-6]): Likewise.
18160 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18161 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18162
45470df3
AZ
181632012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18164
18165 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18166 copysignl for GLIBC_2_0.
18167 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18168 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18169 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18170 logbl for GLIBC_2_0.
18171 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18172 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18173
98a61bcb
L
181742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18175
a4f6e481
L
18176 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18177 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18178
f63d5db6
L
18179 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18180 Use "neg %eax".
18181
98a61bcb
L
18182 * time/mktime.c: Update copyright years.
18183
95770f14
PE
181842012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18185
6226efbd
PE
18186 mktime: merge comment-quoting-style change from gnulib
18187 * time/mktime.c: Quote 'like this' in comments.
18188 The GNU coding standards suggest that we no longer quote `like this',
18189 as "`" and "'" are typically rendered asymmetrically nowadays.
18190 The typical gnulib style is to quote 'like this' when quoting
18191 code, and "like this" when quoting English.
18192
b99e4f78
PE
18193 * time/mktime.c (compile-command): Add "-I.".
18194
643e01e6
PE
18195 mktime: merge mktime-internal.h change from gnulib
18196 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18197
2554247d
PE
18198 mktime: merge time_r change from gnulib
18199 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18200
826dd0ab
PE
18201 mktime: merge DEBUG change from gnulib
18202 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18203 case system <time.h> has a #define.
18204
bd83aabe
PE
18205 mktime: merge <sys/types.h> change from gnulib
18206 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18207 since <time.t> is now guaranteed to define time_t.
18208
95770f14
PE
18209 mktime: merge HAVE_CONFIG_H change from gnulib
18210 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18211
5e1a27a9
L
182122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18213
0e44a77e
L
18214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18215 Use "neg %eax".
18216
5e1a27a9
L
18217 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18218 __rlim_t cast.
18219 (struct rusage): Use anonymous union to pad each field to
18220 __syscall_slong_t.
18221
46259bec
DM
182222012-05-21 David S. Miller <davem@davemloft.net>
18223
18224 * Makefules (o-iterator): Remove .s cases.
18225 (compile-command.s): Delete.
18226 (COMPILE.s): Delete.
18227 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18228
59f0c22e
JM
182292012-05-21 Joseph Myers <joseph@codesourcery.com>
18230
18231 * configure.in (libc_cv_predef_stack_protector): Only consider
18232 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18233 * configure: Regenerated.
18234
20c07380
L
182352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18236
bbb3154b
L
18237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18238 New macro. Use R*LP on int and pointer.
18239 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18240 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18241 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18242 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18243
20c07380
L
18244 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18245 [__WORDSIZE_TIME64_COMPAT32] instead of
18246 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18247 (struct utmp): Likewise.
18248 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18249 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18250 Renamed to ...
18251 (__WORDSIZE_TIME64_COMPAT32): This.
18252 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18253 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18254 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18255 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18256 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18257 (__WORDSIZE_TIME64_COMPAT32): New macro.
18258
d8d1017e
AJ
182592012-05-21 Andreas Jaeger <aj@suse.de>
18260
18261 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18262 only if [SHARED]. Add prototype for __wcschr_ia32.
18263
6c7fb145
RM
182642012-05-21 Roland McGrath <roland@hack.frob.com>
18265
18266 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18267 of %rbp unmolested in the jmp_buf while mangling the low bits.
18268 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18269 unmolested high bits of %rbp while demangling the low bits.
18270 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18271
66274218
AJ
182722012-05-21 Andreas Jaeger <aj@suse.de>
18273
07c58f8f
AJ
18274 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18275 * sunrpc/svc_simple.c: Use it for registerrpc.
18276 * sunrpc/xcrypt.c: Use it for passwd2des.
18277
66274218
AJ
18278 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18279
61f65140
L
182802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18281
18282 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18283 Don't define if [__SYSCALL_WORDSIZE != 32].
18284 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18285 New macro.
18286
5fefb436
AJ
182872012-05-21 Bruno Haible <bruno@clisp.org>
18288 Andreas Jaeger <aj@suse.de>
18289
18290 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18291 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18292 inptr and inend for must_buffer_ch.
18293 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18294 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18295 * stdio-common/Makefile (tests): Remove bug15.
18296 (bug15-ENV): Remove macro.
18297 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18298 anymore.
18299
d8e272ab
AJ
183002012-05-19 Andreas Jaeger <aj@suse.de>
18301 Roland McGrath <roland@hack.frob.com>
18302
18303 * manual/contrib.texi: Completely rewritten. It contains now an
18304 alphabetical list of contributors and their contributions.
18305
4a56a162
RH
183062012-05-21 Richard Henderson <rth@twiddle.net>
18307
18308 * misc/getauxval.c (__getauxval): Use unsigned long int.
18309 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18310 (getauxval): Use unsigned long int.
18311
d024d23c
L
183122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18313
18314 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18315
cbc00a03
RM
183162012-05-21 Roland McGrath <roland@hack.frob.com>
18317
18318 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18319 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18320 __alignof__ (long double).
18321
478143fa
AZ
183222012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18323
18324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18325
c7683a6d
RH
183262012-05-20 Richard Henderson <rth@twiddle.net>
18327
18328 * misc/getauxval.c: New file.
18329 * misc/sys/auxv.h: New file.
18330 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18331 (routines): Add getauxval.
18332 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18333 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18334 * elf/dl-sysdep.c (_dl_auxv): Remove.
18335 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18336 * elf/dl-support.c (_dl_auxv): New variable.
18337 (_dl_aux_init): Initialize it.
18338 * manual/startup.texi (Auxiliary Vector): New node.
18339 * sysdeps/generic/bits/hwcap.h: New file.
18340 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18341 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18342 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18343 * sysdeps/sparc/sysdep.h: ... here. Include it.
18344 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18345 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18347 Update.
c7683a6d
RH
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18356
a6f1845d
AZ
183572012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18358
18359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18360
cbcbe830
DM
183612012-05-19 David S. Miller <davem@davemloft.net>
18362
18363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18364
e0b16cc2
JM
183652012-05-19 Joseph Myers <joseph@codesourcery.com>
18366
18367 [BZ #14123]
18368 * math/s_ccosh.c: Include <float.h>
18369 (__ccosh): Avoid internal overflow calculating sinh and cosh
18370 values before multiplying by sin and cos values.
18371 * math/s_ccoshf.c: Likewise.
18372 * math/s_ccoshl.c: Likewise.
18373 * math/s_csin.c: Likewise.
18374 * math/s_csinf.c: Likewise.
18375 * math/s_csinl.c: Likewise.
18376 * math/s_csinh.c: Likewise.
18377 * math/s_csinhf.c: Likewise.
18378 * math/s_csinhl.c: Likewise.
18379 * math/libm-test.inc (ccos_test): Add more tests.
18380 (ccosh_test): Likewise.
18381 (csin_test): Likewise.
18382 (csinh_test): Likewise.
18383 * sysdeps/i386/fpu/libm-test-ulps: Update.
18384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18385
6ad13e08
L
183862012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18387
f66f0ce8
L
18388 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18389 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18390
6ad13e08
L
18391 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18392
b1d072a7
JM
183932012-05-19 Joseph Myers <joseph@codesourcery.com>
18394
18395 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18396 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18397 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18398 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18399 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18400 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18401 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18402 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18403 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18404 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18405 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18406 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18407 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18408 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18409 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18410 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18411 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18412 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18413 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18414 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18415 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18416 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18417 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18418 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18419 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18420 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18421 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18422 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18423 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18424 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18425 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18426
9eae47cb
AJ
184272012-05-18 Andreas Jaeger <aj@suse.de>
18428
18429 * csu/.gitignore: Delete.
18430
bb07f69f
L
184312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18432
18433 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18434 (timex): Use __syscall_slong_t.
18435
e6bdb741
AJ
184362012-05-18 Andreas Jaeger <aj@suse.de>
18437 Carlos O'Donell <carlos_odonell@mentor.com>
18438
18439 * manual/install.texi (Configuring and compiling): Update
18440 description about files modified in the source directory.
d6c33fda 18441 * INSTALL: Regenerated.
e6bdb741 18442
1b74487e
L
184432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18444
18445 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18446 value. Use "or" to set return value to -1.
18447 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18448 negate return value.
18449
a88b64b9
TMQMF
184502012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18451
18452 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18453 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18454 failure if the compiler has Graphite support disabled.
18455 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18456 Likewise.
18457 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18458 CFLAGS-memmove.c): Likewise.
18459 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18460 Likewise.
18461
3707636e
L
184622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18463
610b8622
L
18464 * sysdeps/x86_64/x32/_itoa.h: New file.
18465
7cd195df
L
18466 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18467 getdents system call only if kernel and user dirents have the
18468 same d_ino and d_off.
18469
94b07d20
L
18470 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18471 LLONG_MAX != LONG_MAX.
18472 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18473 (_fitoa_word): Likewise.
18474
18298070
L
18475 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18476 years.
18477 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18478 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18479 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18480
553c7ea4
L
18481 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18482 include <bits/wordsize.h>. Check __x86_64__ instead of
18483 __WORDSIZE.
18484 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18485 if __x86_64__ is defined. Use anonymous union on fpstate.
18486
3707636e
L
18487 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18488 anonymous union.
18489
b53ef01a
AS
184902012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18491
37fb1dc0
AS
18492 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18493 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18494 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18495 Refer to _rtld_local_ro instead of _rtld_global_ro.
18496 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18497 Likewise.
18498 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18499 Likewise.
18500 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18501 Likewise.
18502 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18503 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18504 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18505
b53ef01a
AS
18506 * sysdeps/powerpc/powerpc32/dl-machine.c
18507 (__elf_machine_runtime_setup) [PROF]: Don't reference
18508 _dl_prof_resolve.
18509
7a185db2
AJ
185102012-05-18 Andreas Jaeger <aj@suse.de>
18511
18512 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18513 function only available for GCCs before 3.4 since GCC 3.4
18514 introduced a builtin.
18515 (lrint): Likewise.
18516 (llrintf): Likewise.
18517 (llrint): Likewise.
18518 (fmaxf): Likewise.
18519 (fmax): Likewise.
18520 (fminf): Likewise.
18521 (fmin): Likewise.
18522 (rint): Likewise.
18523 (rintf): Likewise.
18524 (nearbyint): Likewise.
18525 (nearbyintf): Likewise.
18526 (ceil): Likewise.
18527 (ceilf): Likewise.
18528 (floor): Likewise.
18529 (floorf): Likewise.
18530
3e5aef87
L
185312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18532
428bd707
L
18533 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18534 on both fields and cast pointer to __syscall_ulong_t.
18535
3e5aef87
L
18536 * bits/types.h (__fsword_t): New type.
18537 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18538 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18540 (__FSWORD_T_TYPE): Likewise.
18541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18542 (__FSWORD_T_TYPE): Likewise.
18543 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18544 (__FSWORD_T_TYPE): Likewise.
18545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18546 (__FSWORD_T_TYPE): Likewise.
18547 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18548 __SWORD_TYPE with __fsword_t.
18549 (statfs64): Likewise.
18550
1ba7c3dc
DM
185512012-05-17 David S. Miller <davem@davemloft.net>
18552
18553 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18554
59910343
AJ
185552012-05-17 Andreas Jaeger <aj@suse.de>
18556
18557 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18558 warning.
18559
2e4c1e9e
L
185602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18561
18562 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18563
de7f5ce7
AJ
185642012-05-17 Andreas Jaeger <aj@suse.de>
18565
18566 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18567 when it is used.
18568
286abc3d
CM
185692012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18570
18571 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18572
477cc68e
L
185732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18574
18575 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18576 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18577
1a0994f5
CD
185782012-05-17 Andreas Jaeger <aj@suse.de>
18579 Carlos O'Donell <carlos_odonell@mentor.com>
18580
18581 [BZ #14059]
18582 * sysdeps/x86_64/multiarch/init-arch.h
18583 (bit_YMM_Usable): Rename to...
18584 (bit_AVX_Usable): ... this.
18585 (bit_FMA4_Usable): New macro.
18586 (bit_XMM_state): New macro.
18587 (bit_YMM_state): New macro.
18588 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18589 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18590 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18591 (CPUID_OSXSAVE): New macro.
18592 (CPUID_AVX): New macro.
18593 (CPUID_FMA4): New macro.
18594 (index_YMM_Usable): Rename to...
18595 (index_AVX_Usable): ... this.
18596 (HAS_AVX): Use HAS_ARCH_FEATURE.
18597 (HAS_FMA4): Likewise.
18598 (HAS_YMM_USABLE): Remove.
18599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18600 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18601 are present.
18602 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18603 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18604 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18605 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18606 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18607
0af797de
CM
186082012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18609
18610 * math/libm-test.c: Support platforms without multiple rounding modes.
18611 * math/bug-nextafter.c: Support platforms without FP exceptions.
18612 * math/bug-nexttoward.c: Likewise.
18613 * math/test-fenv.c: Likewise.
18614 * math/test-misc.c: Likewise.
18615 * stdlib/bug-getcontext.c: Likewise.
18616
e39745ff
AJ
186172012-05-17 Andreas Jaeger <aj@suse.de>
18618
18619 * manual/examples/search.c (critter_cmp): Change signature to
18620 avoid warnings.
18621 * manual/string.texi (Collation Functions): Likewise.
18622
48970aba
L
186232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18624
18625 * bits/types.h: Fold copyright years.
18626 * bits/typesizes.h: Likewise.
18627 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18628 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18630 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18631 * time/time.h: Likewise.
18632
bedee953
PP
186332012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18634
18635 [BZ #208]
18636 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18637 in instead of returning them. Return void.
18638 (__libc_mallinfo): Accumulate over all arenas.
18639 (__malloc_stats): Adjust for change in int_mallinfo interface.
18640
61653dfb
RM
186412012-05-16 Roland McGrath <roland@hack.frob.com>
18642
30b99d79
RM
18643 [BZ #10375]
18644 * configure.in (NM): Add AC_CHECK_TOOL for it.
18645 (libc_extra_cflags): New substituted variable.
18646 Check for -fstack-protector being used implicitly.
18647 * configure: Regenerated.
18648 * config.make.in (config-extra-cflags): New variable,
18649 gets @libc_extra_cflags@.
18650 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18651
61653dfb
RM
18652 [BZ #10375]
18653 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18654 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18655 * configure: Regenerated.
18656 * config.make.in (CPPUNDEFS): New substituted variable.
18657 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18658 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18659 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18660
661768bb
L
186612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18662
18663 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18664 (mq_attr): Use __syscall_slong_t.
18665
d4261567
L
186662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18667
18668 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18669 Check __x86_64__ instead of __WORDSIZE.
18670 (_STAT_VER_LINUX): Likewise.
18671 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18672 __syscall_ulong_t and __syscall_slong_t.
18673 (stat64): Likewise.
18674
cf3ff365
L
186752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18676
18677 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18678
76cf3e4d
L
186792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18680
18681 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18682
a637753a
L
186832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18684
18685 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18686 __syscall_ulong_t.
18687
d5e05119
L
18688 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18689 include <bits/wordsize.h>. Check __x86_64__ instead of
18690 __WORDSIZE.
18691 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18692 defined.
18693 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18694
f62ee380
L
18695 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18696 include <bits/wordsize.h>. Check __x86_64__ instead of
18697 __WORDSIZE.
18698 (user_regs_struct): Use "__extension__ unsigned long long"
18699 instead of "unsigned long" if __x86_64__ is defined.
18700 (user): Likewise. Pad after pointer field if __ILP32__ is
18701 defined.
18702
4e124ced
JM
187032012-05-16 Joseph Myers <joseph@codesourcery.com>
18704
6a3951a0
JM
18705 * configure.in (makeinfo): Require version 4.5 or later. Allow
18706 versions 5 to 9.
18707 * configure: Regenerated.
18708 * manual/install.texi (texinfo): Increase version requirement to
18709 4.5 or later.
18710 * INSTALL: Regenerated.
18711
4e124ced
JM
18712 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18713
953ca31a
L
187142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18715
18716 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18717
617aca05
L
18718 * sysdeps/x86_64/x32/ffs.c: New file.
18719
5762f7ae
L
18720 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18721 __syscall_ulong_t.
18722 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18723 defined. Use __syscall_ulong_t.
18724 (shminfo): Use __syscall_ulong_t.
18725 (shm_info): Likewise.
18726
a26b6856
L
18727 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18728 __syscall_ulong_t.
18729
cb2b9ef7
L
18730 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18731 <bits/wordsize.h>.
18732 (msgqnum_t): Use __syscall_ulong_t.
18733 (msglen_t): Likewise.
18734 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18735 __syscall_ulong_t.
18736
34683bb0
L
18737 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18738 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18739
84a68786
L
18740 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18741
48baa5f1
L
18742 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18743 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18744
180be88b
L
18745 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18746 __syscall_slong_t.
18747
5e90c8ad
L
18748 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18749 include <bits/wordsize.h>. Check __x86_64__ instead of
18750 __WORDSIZE.
18751
23dfb58b
L
18752 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18753 "unsigned long long int" if __x86_64__ is defined.
18754 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18755
ce5d54b0
L
18756 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18757 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18758 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18759
13dc9eac
L
18760 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18761 <stdint.h>.
18762 (GET_PC): Cast to uintptr_t first.
18763 (GET_FRAME): Likewise.
18764 (GET_STACK): Likewise.
18765
a7895d15
L
18766 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18767 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18768 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18769 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18770 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18771 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18772 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18773 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18774 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18775 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18776 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18777 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18778 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18779 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18780 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18781 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18782 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18783 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18784 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18785 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18786 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18787 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18788 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18789 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18790 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18791 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18792 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18793 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18794 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18795
656416c9
AS
187962012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18797
5bd66283
AS
18798 * Makerules (+depfiles): Also collect depfiles from .oS in
18799 $(extra-objs).
18800 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18801 .oS, $(libnldbl-routines)).
18802
656416c9
AS
18803 * Makerules (native-compile-mkdep-flags): Define.
18804 * sunrpc/Makefile (extra-objs): Add $(addprefix
18805 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18806 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18807 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18808 calling $(make-target-directory).
18809
a46f2169
L
188102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18811
18812 * bits/types.h (__snseconds_t): Removed.
18813 * time/time.h (struct timespec): Replace __snseconds_t with
18814 __syscall_slong_t.
18815 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18816 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18817 Likewise.
18818 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18819 (__SNSECONDS_T_TYPE): Likewise.
18820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18821 (__SNSECONDS_T_TYPE): Likewise.
18822 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18823 (__SNSECONDS_T_TYPE): Likewise.
18824
6af6528b
L
188252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18826
18827 * sysdeps/mach/hurd/bits/typesizes.h
18828 (__SYSCALL_SLONG_TYPE): New macro.
18829 (__SYSCALL_ULONG_TYPE): Likewise.
18830
de986b56
L
188312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18832
18833 * bits/types.h (__syscall_slong_t): New type.
18834 (__syscall_ulong_t): Likewise.
18835
18836 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18837 (__SYSCALL_ULONG_TYPE): Likewise.
18838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18839 (__SYSCALL_SLONG_TYPE): Likewise.
18840 (__SYSCALL_ULONG_TYPE): Likewise.
18841 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18842 (__SYSCALL_SLONG_TYPE): Likewise.
18843 (__SYSCALL_ULONG_TYPE): Likewise.
18844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18845 (__SYSCALL_SLONG_TYPE): Likewise.
18846 (__SYSCALL_ULONG_TYPE): Likewise.
18847
85736dc7
L
188482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18849
18850 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18851 Add sigaltstack-offsets.sym.
18852 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18853 <sigaltstack-offsets.h>.
18854 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18855 longjmp_msg pointer.
18856 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18857 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18858 signal stack.
18859 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18860
cc03b296
JM
188612012-05-15 Joseph Myers <joseph@codesourcery.com>
18862
a9538892
JM
18863 * elf/stackguard-macros.h: Remove file.
18864 * sysdeps/generic/stackguard-macros.h: New file.
18865 * sysdeps/i386/stackguard-macros.h: Likewise.
18866 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18867 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18868 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18869 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18870 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18871 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18872 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18873 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18874 <elf/stackguard-macros.h>.
18875
cc03b296
JM
18876 [BZ #14109]
18877 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18878 __aligned__ in attribute.
18879 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18880 (gregset_t): Likewise.
18881
93171016
L
188822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18883
18884 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18885 * sysdeps/x86_64/64/Implies-after: Here. New file.
18886 * sysdeps/x86_64/x32/Implies-after: New file.
18887
d86813a0
L
188882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18889
18890 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18891 and access return value for _dl_profile_fixup. Use R10_LP to
18892 load frame size.
18893
2953ec75
L
188942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18895
18896 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18897
3b550e9e
L
188982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18899
18900 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18901 * sysdeps/x86_64/x32/sysdep.h: New file.
18902
eda41706
L
189032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18904
18905 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18906 * sysdeps/x86_64/setjmp.S: Likewise.
18907
9ea01d93
AZ
189082012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18909
18910 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18911 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18912 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18913 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18914 remove unused global constant.
18915
02a91938
CM
189162012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18917
18918 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18919 include of <not-cancel.h>.
18920
6540185f
RM
189212012-05-15 Roland McGrath <roland@hack.frob.com>
18922
18923 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18924
509072a0
AJ
189252012-05-15 Jeff Law <law@redhat.com>
18926 Andreas Jaeger <aj@suse.de>
18927
18928 [BZ #13594]
18929 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18930 out from...
18931 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18932 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18933 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18934 code changing __hst_map_handle.map.
18935
ba75122d
RM
189362012-05-15 Roland McGrath <roland@hack.frob.com>
18937
18938 * configure.in (sysnames): Look for Implies-before and Implies-after
18939 files.
18940 * configure: Regenerated.
18941
890d8bd8
L
189422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18943
18944 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18945 8-byte data alignment with LP_SIZE alignment.
18946
f6ee6623
L
189472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18948
18949 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18950 into R10_LP.
18951
ea2626f6
L
189522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18953
18954 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18955
085f715e
L
189562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18957
18958 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18959 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18960 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18961 Likewise.
18962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18963
be8498fc
L
189642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18965
18966 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18967 (stackinfo_sub_sp): Likewise.
18968
70bc83b9
L
189692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18970
18971 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18972 RAX_LP.
18973
9bc0b730
L
189742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18975
18976 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18977 into R*_LP.
18978
6d2850e7
L
189792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18980
18981 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18982 sizes into R*_LP.
18983
3cb84561
L
189842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18985
18986 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18987
54e2ed81
L
189882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18989
18990 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18991 into R11_LP and load __x86_64_shared_cache_size_half into
18992 R8_LP.
18993
8a17f349
L
189942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18995
18996 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18997 R8_LP.
18998
777b1eea
AZ
189992012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19000
19001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19002 logb for POWER7.
19003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19004 logbf for POWER7.
19005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19006 logbl for POWER7.
19007 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19008 powerpc32/power7/fpu/s_logb.c via #include.
19009 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19010 powerpc32/power7/fpu/s_logbf.c via #include.
19011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19012 powerpc32/power7/fpu/s_logbl.c via #include.
19013
d20d4ac2
JM
190142012-05-15 Joseph Myers <joseph@codesourcery.com>
19015
19016 * README.libm: Remove file.
19017
6cdef1ab
L
190182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19019
19020 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19021 count for x32. Use R*_LP and omit operand-size suffix.
19022
0b254d8f
L
190232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19024
19025 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19026 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19027 * sysdeps/x86_64/x32/shlib-versions: New file.
19028
ceb809dc
RM
190292012-05-14 Roland McGrath <roland@hack.frob.com>
19030
19031 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19032 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19033 Use _dl_fatal_printf instead.
19034
37f1abd4
JM
190352012-05-14 Joseph Myers <joseph@codesourcery.com>
19036
19037 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19038 set if not set by the user. Do not allow for being unset.
19039 * sysdeps/unix/sysv/linux/configure: Regenerated.
19040
11de3a33
L
190412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19042
19043 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19044 the `q' suffix from lea and replace .quad with ASM_ADDR.
19045
e02f153a
L
190462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19047
19048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19049 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19050 instead of $17.
19051 (PTR_DEMANGLE): Likewise.
19052
520ae0fd
L
190532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19054
19055 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19056 (LP_OP): Likewise.
19057 (ASM_ADDR): Likewise.
19058 (RAX_LP): Likewise.
19059 (RBP_LP): Likewise.
19060 (RBX_LP): Likewise.
19061 (RCX_LP): Likewise.
19062 (RDI_LP): Likewise.
19063 (RSI_LP): Likewise.
19064 (RSP_LP): Likewise.
19065 (R8_LP): Likewise.
19066 (R9_LP): Likewise.
19067 (R10_LP): Likewise.
19068 (R10_LP): Likewise.
19069 (R11_LP): Likewise.
19070 (R12_LP): Likewise.
19071 (R13_LP): Likewise.
19072 (R14_LP): Likewise.
19073 (R15_LP): Likewise.
19074
b985be81
L
190752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19076
19077 * sysdeps/x86_64/x32/dl-machine.h: New file.
19078
6a4888ff
AJ
190792012-05-14 Andreas Jaeger <aj@suse.de>
19080
19081 * manual/Makefile (subdir): Remove export of subdir.
19082 (all): Remove target.
19083 (.PHONY): Remove all from list.
19084 (mkinstalldirs): Remove.
19085 (.PHONY): Remove installdirs from list.
19086 ($(inst_infodir)/libc.info): Use make-target-directory.
19087 (installdirs): Remove.
19088 (subdir_%): Remove.
19089 (glibc-targets): Remove.
19090 (lib): Remove.
19091 (stubs): Remove.
19092 ($(objpfx)stubs ../po/manual.pot): Remove.
19093 ($(objpfx)stamp%): Remove.
19094 (make-target-directory): Remove.
19095 (subdir_install): Remove.
19096 (routines): Remove.
19097 (aux): Remove.
19098 (sources): Remove.
19099 (objects): Remove.
19100 (headers): Remove.
19101
19102 [BZ #13750]
19103 * manual/.gitignore: Remove, it's not needed anymore.
19104 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19105 all files in it.
19106 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19107 directory.
19108 (texis): Renamed to $(objpfx)texis.
19109 (texis-path): New, contains path to generated files.
19110 (chapters.%): Use texis-path for complete path, add extra argument
19111 libc-texinfo.sh.
19112 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19113 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19114 (summary,texi, stamp-summary): Use complete path of
19115 files. Generate files in build dir.
19116 (dir-add.texi): Build in build dir.
19117 (libm-err.texi,stamp-libm-err): Likewise.
19118 (version.texi, stamp-version): Likewise.
19119 (.%c.texi): Likewise.
19120 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19121 (mostlyclean): Remove target.
19122 (realclean): Remove target.
19123 (generated): Add new variable with contents from mostlyclean and
19124 realclean, remove entries duplicated in common-mostlyclean, add
19125 stamp-libm-err and stamp-version.
19126 (generated-dirs): Add libc directory.
19127 ($(inst_infodir)/libc.info): Install files from build dir.
19128
19129 * manual/install.texi (Configuring and compiling): Adjust since
19130 the info files are not part of the tar ball anymore.
19131
7ac77294
AJ
191322012-05-14 Andreas Jaeger <aj@suse.de>
19133
19134 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19135 variable.
19136
ffb7875d
JM
191372012-05-14 Joseph Myers <joseph@codesourcery.com>
19138
19139 [BZ #13717]
19140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19141 to 2.2.0 where earlier.
19142 * sysdeps/unix/sysv/linux/configure: Regenerated.
19143 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19144 Remove conditional code.
19145 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19146 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19147 Remove conditional code.
19148 [!__NR_lchown]: Likewise.
19149 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19150 [__NR_lchown]: Likewise.
19151 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19152 comment referencing __ASSUME_LCHOWN_SYSCALL.
19153 * sysdeps/unix/sysv/linux/i386/sigaction.c
19154 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19155 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19156 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19157 Remove conditional code.
19158 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19159 (__protocol_available): Remove #if 0 code.
19160 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19161 conditional code.
19162 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19163 * sysdeps/unix/sysv/linux/kernel-features.h
19164 (__ASSUME_GETCWD_SYSCALL): Don't define.
19165 (__ASSUME_REALTIME_SIGNALS): Likewise.
19166 (__ASSUME_PREAD_SYSCALL): Likewise.
19167 (__ASSUME_PWRITE_SYSCALL): Likewise.
19168 (__ASSUME_POLL_SYSCALL): Likewise.
19169 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19170 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19171 non-SPARC.
19172 (__ASSUME_SIOCGIFNAME): Don't define.
19173 (__ASSUME_MSG_NOSIGNAL): Likewise.
19174 (__ASSUME_SENDFILE): Define unconditionally.
19175 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19176 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19177 conditional code.
19178 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19179 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19180 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19181 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19182 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19183 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19184 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19186 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19189 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19192 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19193 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19195 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19196 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19198 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19199 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19201 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19202 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19204 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19205 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19207 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19209 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19210 Remove conditional code.
19211 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19212 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19213 Remove conditional code.
19214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19215 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19216 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19217 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19218 Remove conditional code.
19219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19220 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19221 Remove conditional code.
19222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19223 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19224 Remove conditional code.
19225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19226 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19227 Remove conditional code.
19228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19229 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19230 Remove conditional code.
19231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19232 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19233 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19235 * sysdeps/unix/sysv/linux/sigaction.c
19236 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19237 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19238 * sysdeps/unix/sysv/linux/sigpending.c
19239 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19240 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19241 * sysdeps/unix/sysv/linux/sigprocmask.c
19242 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19243 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19244 * sysdeps/unix/sysv/linux/sigsuspend.c
19245 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19246 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19247 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19248 (__libc_missing_rt_sigs): Remove.
19249 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19250 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19251 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19252 Remove conditional code.
19253 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19254 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19255 return 1.
19256 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19257 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19258 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19259 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19260
1bfb7291
AJ
192612012-05-14 Andreas Jaeger <aj@suse.de>
19262
caae5a81
AJ
19263 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19264 it's not used in glibc.
19265 (__coshm1): Likewise.
19266 (__acosh1p): Likewise.
19267 (__sgn): Likewise.
19268
1bfb7291
AJ
19269 * manual/string.texi (Copying and Concatenation): Add missing
19270 variable in concat example.
19271 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19272
c044d724
L
192732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19274
144c5467 19275 [BZ #14103]
c044d724
L
19276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19277 __builtin_clzl with __builtin_clzll.
19278
2523c62b
L
192792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19280
19281 [BZ #14104]
19282 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19283 libc_freeres_ptr.
19284
d7bb4c42
LD
192852012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19286
19287 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19288 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19289 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19290 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19291
9dc4e1fb
MF
192922012-05-14 Mike Frysinger <vapier@gentoo.org>
19293
19294 * NEWS: Update ia64 info.
19295
c7df0112
AS
192962012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19297
19298 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19299 used as bcopy.
19300
dc70356c
TS
193012012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19302
19303 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19304 * sysdeps/unix/syscalls.list (dup3): Likewise.
19305 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19306 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19307
9fb1a21f
L
193082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19309
19310 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19311 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19312
4822a2a5
L
193132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19314
19315 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19316 thread pointer.
19317 (TLS_IE): Use mov/add instead of movq/addq to load thread
19318 pointer.
19319 (TLS_GD_PREFIX): New.
19320 (TLS_GD): Use it.
19321
842b81d6
DM
193222012-05-11 David S. Miller <davem@davemloft.net>
19323
19324 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19325 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19326 (_FPU_SETCW): Likewise.
19327
1cf463cd
L
193282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19329
19330 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19331 is 32-byte aligned.
19332
60cc4a18
AS
193332012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19334
19335 [BZ #11837]
19336 * iconvdata/gb18030.c: Update tables.
19337 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19338 characters specially.
19339 (BODY for TO_LOOP): Add encoding of missing ranges.
19340
febb44a4
TS
193412012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19342
19343 [BZ #13673]
19344 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19345 * sysdeps/mach/hurd/dup3.c: Likewise.
19346 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19347 * sysdeps/powerpc/memmove.c:: Likewise.
19348
0a10fb9e
L
193492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19350
19351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19352 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19353
df8a552f
L
193542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19355
19356 * elf/elf.h (R_X86_64_RELATIVE64): New.
19357 (R_X86_64_NUM): Updated.
19358 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19359 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19360 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19361 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19362 tst-quad1pie tst-quad2pie
19363 (modules-names): Add tst-quadmod1 tst-quadmod2.
19364 ($(objpfx)tst-quad1): New dependency.
19365 ($(objpfx)tst-quad2): Likewise.
19366 ($(objpfx)tst-quad1pie): Likewise.
19367 ($(objpfx)tst-quad2pie): Likewise.
19368 * sysdeps/x86_64/tst-quad1.c: New file.
19369 * sysdeps/x86_64/tst-quad1pie.c: New file.
19370 * sysdeps/x86_64/tst-quad2.c: Likewise.
19371 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19372 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19373 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19374 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19375 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19376
f34d6f84
ST
193772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19378
f42d41d1
ST
19379 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19380 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19381 * streams/stropts.h (t_scalar_t): Define type.
19382
3c3571fc
ST
19383 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19384 (_PATH_PRESERVE): Set to "/var/lib".
19385 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19386
61f06bd3
ST
19387 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19388 instead of int.
19389
918d4d71
ST
19390 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19391 if __dir_mkfile succeeded.
19392
f34d6f84
ST
19393 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19394 checking for _hurd_dtablesize. Unlock it right after having
19395 finished _hurd_dtable allocation.
19396
10589b4a
TS
193972012-05-10 Thomas Schwinge <thomas@schwinge.name>
19398
674cdbc7
TS
19399 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19400 * sysdeps/mach/hurd/configure: Regenerated.
19401 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19402 special-casing to...
19403 * sysdeps/gnu/configure.in: ... this new file.
19404 * sysdeps/unix/sysv/linux/configure: Regenerated.
19405 * sysdeps/gnu/configure: New generated file.
19406
8e41b99f
TS
19407 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19408 for Linux: use nsec instead of usec, as well as:
19409 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19410 members of type struct timespec.
19411 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19412 New macros.
19413 (struct stat64): Likewise.
19414 (_STATBUF_ST_NSEC): New macro.
19415 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19416
10589b4a
TS
19417 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19418 __strtoul_internal rather than strtoul.
19419
63643c85
PT
194202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19421
19422 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19423 and reject them.
19424
3faebe6a
ST
194252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19426
19427 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19428 which preserves existing values.
19429 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19430
c6474b07
PT
194312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19432
19433 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19434 TIMEOUT values. Return EINVAL for NFDS values either negative or
19435 greater than FD_SETSIZE.
19436
1043890b
ST
194372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19438
19439 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19440 allocated, call __vm_protect to finish enabling the existing space, and
19441 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19442 allocate the remainder.
19443
37ed8b9b
PT
194442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19445
19446 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19447 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19448
db653660
ST
194492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19450
37ed8b9b
PT
19451 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19452 sysdeps/mach/hurd/readlink.c.
b29d4053 19453
db653660
ST
19454 * posix/tst-sysconf.c (posix_options): Only use
19455 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19456 _POSIX_SYNCHRONIZED_IO when they are defined
19457 * sysdeps/mach/hurd/bits/posix_opt.h:
19458 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19459 (_XOPEN_REALTIME): Undefine macro.
19460 (_XOPEN_REALTIME_THREADS): Undefine macro.
19461 (_XOPEN_SHM): Undefine macro.
19462 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19463 macro to -1.
19464 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19465 macro to -1.
19466 (_POSIX_ASYNC_IO): Undefine macro.
19467 (_POSIX_PRIORITIZED_IO): Undefine macro.
19468 (_POSIX_SPIN_LOCKS): Define macro to -1.
19469
ee16e894
ST
19470 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19471 SA_NODEFER, SA_RESETHAND.
19472 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19473 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19474 F_DUPFD_CLOEXEC.
19475
6103ae3b
TS
194762012-05-10 Thomas Schwinge <thomas@schwinge.name>
19477
19478 * elf/Makefile (pldd-modules): Define unconditionally.
19479
80b4e5f3
TS
194802012-05-10 Thomas Schwinge <thomas@schwinge.name>
19481
19482 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19483
edadcbd6
ST
194842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19485
19486 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19487 Return ENOENT when name is empty.
19488 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19489
80694780
TS
194902012-05-10 Thomas Schwinge <thomas@schwinge.name>
19491
1792c087
TS
19492 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19493
80694780
TS
19494 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19495
6b645f0d
ST
194962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19497
80694780
TS
19498 Fix mlock in all cases except non-readable pages.
19499 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19500 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19501
6b645f0d
ST
19502 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19503 (__mkdir): When path is `/', just fail with EEXIST.
19504 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19505
e468f8a3
TS
195062012-05-10 Thomas Schwinge <thomas@schwinge.name>
19507
19508 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19509 <sys/uio.h> (for writev).
19510 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19511 and <sys/param.h> (for MIN).
19512
a4186cff
PT
195132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19514
19515 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19516 REQUESTED_TIME. Properly set the remaining time and return EINTR
19517 if interrupted.
19518
510bbf14
TS
195192012-05-10 Thomas Schwinge <thomas@schwinge.name>
19520
19521 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19522 Depend on against $(link-rpcuserlibs).
19523
5d5722e8
ST
195242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19525
a4186cff
PT
19526 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19527 (__libc_stack_end): Do not use attribute_relro.
19528 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19529 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19530 to libthread-provided value.
a4186cff
PT
19531 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19532 attribute_relro.
5d5722e8 19533
37233df9
TS
195342012-05-10 Thomas Schwinge <thomas@schwinge.name>
19535
be971a2b
TS
19536 [BZ #3748]
19537 * bits/libc-lock.h (__libc_once_get): New macro.
19538 * sysdeps/mach/bits/libc-lock.h: Likewise.
19539 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19540 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19541 instead of using implementation details.
19542
37233df9
TS
19543 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19544 * libio/freopen.c: Likewise.
19545 * libio/freopen64.c: Likewise.
19546 * misc/syslog.c: Likewise.
19547 * nscd/connections.c: Likewise.
19548 * nscd/netgroupcache.c: Likewise.
19549 * sysdeps/posix/getcwd.c: Likewise.
19550
38de94a5
RM
195512012-05-10 Roland McGrath <roland@hack.frob.com>
19552
19553 * math/w_ilogbf.c: Add #include <limits.h>.
19554
67530489
ST
195552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19556
a4186cff 19557 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19558 path instead of returning without unlocking.
19559
67530489
ST
19560 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19561 immediate-write ioctls.
19562 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19563
5aa3a74a
TS
195642012-05-10 Thomas Schwinge <thomas@schwinge.name>
19565
18bad2ae
TS
19566 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19567 __builtin_frame_address instead of making assumptions about the
19568 location of the return address relative to DATA. Force early load of
19569 the return address.
19570 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19571 __builtin_frame_address.
19572
5aa3a74a
TS
19573 dup3 for GNU Hurd.
19574 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19575 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19576 implement dup3 and do some further code clean-ups.
19577 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19578 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19579
ecd0de9a
ST
195802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19581
cd9fa985
ST
19582 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19583
a4186cff
PT
19584 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19585 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19586 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19587 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19588 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19589 d->port.lock.
802ca5a5 19590
a4186cff
PT
19591 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19592 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19593 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19594
bcf55240
TS
195952012-05-10 Thomas Schwinge <thomas@schwinge.name>
19596
6960eb42
TS
19597 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19598 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19599 definitions.
19600
eb43375f
TS
19601 accept4 for GNU Hurd.
19602 * include/sys/socket.h (__libc_accept4): New prototype.
19603 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19604 to implement __libc_accept4.
19605 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19606 __libc_accept4.
19607 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19608
bcf55240
TS
19609 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19610 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19611 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19612 signal-defines.sym.
19613
6178c55b
ST
196142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19615
a4186cff 19616 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19617
6f080c2f
TS
196182012-05-10 Thomas Schwinge <thomas@schwinge.name>
19619
19620 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19621 assertion on O_CLOEXEC flag.
19622 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19623 * hurd/intern-fd.c: Likewise.
19624 * hurd/port2fd.c: Likewise.
19625
bcfe3a54
ST
196262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19627
19628 [BZ #3906]
19629 * bits/in.h (IPV6_PKTINFO): Define new macro.
19630 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19631
89c9aa49
AZ
196322012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19633
19634 [BZ #13954]
19635 [BZ #13955]
19636 [BZ #13956]
19637 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19638 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19639 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19640 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19641 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19642 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19643 * math/libm-test.inc (logb_test) : Additional logb tests.
19644
021db4be
AJ
196452012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19646 Andreas Jaeger <aj@suse.de>
19647
19648 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19649 * configure: Regenerated.
19650 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19651 * config.make.in (link-obsolete-rpc): New substituted variable.
19652 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19653 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19654 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19655 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19656 so that libc.a contains the symbols.
19657 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19658 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19659 * sunrpc/auth_none.c: Likewise.
19660 * sunrpc/auth_unix.c: Likewise.
19661 * sunrpc/authdes_prot.c: Likewise.
19662 * sunrpc/authuxprot.c: Likewise.
19663 * sunrpc/clnt_gen.c: Likewise.
19664 * sunrpc/clnt_perr.c: Likewise.
19665 * sunrpc/clnt_raw.c: Likewise.
19666 * sunrpc/clnt_simp.c: Likewise.
19667 * sunrpc/clnt_tcp.c: Likewise.
19668 * sunrpc/clnt_udp.c: Likewise.
19669 * sunrpc/clnt_unix.c: Likewise.
19670 * sunrpc/des_crypt.c: Likewise.
19671 * sunrpc/des_soft.c: Likewise.
19672 * sunrpc/get_myaddr.c: Likewise.
19673 * sunrpc/key_call.c: Likewise.
19674 * sunrpc/key_prot.c: Likewise.
19675 * sunrpc/netname.c: Likewise.
19676 * sunrpc/pm_getmaps.c: Likewise.
19677 * sunrpc/pm_getport.c: Likewise.
19678 * sunrpc/pmap_clnt.c: Likewise.
19679 * sunrpc/pmap_prot.c: Likewise.
19680 * sunrpc/pmap_prot2.c: Likewise.
19681 * sunrpc/pmap_rmt.c: Likewise.
19682 * sunrpc/publickey.c: Likewise.
19683 * sunrpc/rpc_cmsg.c: Likewise.
19684 * sunrpc/rpc_common.c: Likewise.
19685 * sunrpc/rpc_dtable.c: Likewise.
19686 * sunrpc/rpc_prot.c: Likewise.
19687 * sunrpc/rpc_thread.c: Likewise.
19688 * sunrpc/rtime.c: Likewise.
19689 * sunrpc/svc.c: Likewise.
19690 * sunrpc/svc_auth.c: Likewise.
19691 * sunrpc/svc_raw.c: Likewise.
19692 * sunrpc/svc_run.c: Likewise.
19693 * sunrpc/svc_tcp.c: Likewise.
19694 * sunrpc/svc_udp.c: Likewise.
19695 * sunrpc/svc_unix.c: Likewise.
19696 * sunrpc/svcauth_des.c: Likewise.
19697 * sunrpc/xcrypt.c: Likewise.
19698 * sunrpc/xdr.c: Likewise.
19699 * sunrpc/xdr_array.c: Likewise.
19700 * sunrpc/xdr_float.c: Likewise.
19701 * sunrpc/xdr_intXX_t.c: Likewise.
19702 * sunrpc/xdr_mem.c: Likewise.
19703 * sunrpc/xdr_rec.c: Likewise.
19704 * sunrpc/xdr_ref.c: Likewise.
19705 * sunrpc/xdr_sizeof.c: Likewise.
19706 * sunrpc/xdr_stdio.c: Likewise.
19707
b5c086a2
RM
197082012-05-10 Roland McGrath <roland@hack.frob.com>
19709
19710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19711 change. Update copyright years.
19712
6d74dd09
JM
197132012-05-10 Joseph Myers <joseph@codesourcery.com>
19714
19715 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19716
28e72501
MK
197172012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19718 Joseph Myers <joseph@codesourcery.com>
19719 Paul Pluzhnikov <ppluzhnikov@google.com>
19720
19721 [BZ #14012]
19722 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19723 requiring rpcgen.
19724 [cross-compiling] (extra-libs): Likewise.
19725 [cross-compiling] (extra-libs-others): Likewise.
19726 [cross-compiling] (librpcsvc-routines): Likewise.
19727 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19728 [cross-compiling] (omit-deps): Likewise.
19729 (sunrpc-CPPFLAGS): New variable.
19730 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19731 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19732 (cross-rpcgen-objs): New variable.
19733 (extra-objs): Append $(cross-rpcgen-objs).
19734 ($(cross-rpcgen-objs)): New rule.
19735 ($(objpfx)cross-rpcgen): Likewise.
19736 (rpcgen-cmd): Define to use $(built-program-file). Expand
19737 comment.
19738 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19739 ($(objpfx)x%.stmp): Likewise.
19740 * sunrpc/proto.h [IS_IN_build] (_): Define.
19741 [IS_IN_build] (_libc_intl_domainname): Likewise.
19742
c8c59454
L
197432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19744
19745 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19746 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19747 and R_X86_64_TPOFF64.
19748
6f27cd16
JM
197492012-05-10 Joseph Myers <joseph@codesourcery.com>
19750
19751 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19752 sysdeps/unix/sysv/syscalls.list.
19753 (stime): Likewise.
19754 (utime): Likewise.
19755 * sysdeps/unix/sysv/syscalls.list: Remove file.
19756
02467e1c
PE
197572012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19758
19759 [BZ #3440]
19760 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19761 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19762 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19763 (__LC_IDENTIFICATION): Make these macros useful in #if
19764 expressions, as required by C99.
19765
da392631
AS
197662012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19767
19768 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19769 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19770 after this.
19771
8115f29b
L
197722012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19773
19774 * stdlib/longlong.h: Updated from GCC.
19775
bdd74070
AJ
197762012-05-09 Andreas Jaeger <aj@suse.de>
19777
edfe0dbe
AJ
19778 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19779 default is first entry.
19780 (run_mode): Set type.
19781 (main): Remove informal message about syslog.
19782 (options): Fix typo.
19783
bcfe3a54
ST
19784 [BZ #14053]
19785 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19786 to asm.
bcfe3a54
ST
19787 (lrint): Likewise.
19788 (llrintf): Likewise.
19789 (llrint): Likewise.
19790 (rint): Likewise.
19791 (rintf): Likewise.
19792 (nearbyint): Likewise.
19793 (nearbyintf): Likewise.
bdd74070 19794
91d8d69e
AJ
197952012-05-09 Andreas Jaeger <aj@suse.de>
19796 Pedro Alves <palves@redhat.com>
19797
19798 * nscd/nscd.c (run_mode): Use enum.
19799 (main): Cleanup coding style issue.
19800
bb90b80b
AJ
198012012-05-09 Alexandre Oliva <aoliva@redhat.com>
19802 Andreas Jaeger <aj@suse.de>
19803
bcfe3a54
ST
19804 * nscd/nscd.c (go_background): Replaced with...
19805 (run_mode): ... this.
bb90b80b 19806 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19807 (options): Add -F --foreground.
19808 (main): Implement it.
19809 (parse_opt): Parse it.
bb90b80b 19810
1a4b75a1
AJ
198112012-05-09 Andreas Jaeger <aj@suse.de>
19812
19813 [BZ #14083]
19814 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19815 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19816 -Wconversion warning.
19817 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19818 Likewise.
19819
b1cc2472
JM
198202012-05-09 Joseph Myers <joseph@codesourcery.com>
19821
19822 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19823 == 0.
19824 (LC_ALL): Use macro-int-constant.
19825 (LC_COLLATE): Likewise.
19826 (LC_CTYPE): Likewise.
19827 (LC_MESSAGES): Likewise.
19828 (LC_MONETARY): Likewise.
19829 (LC_NUMERIC): Likewise.
19830 (LC_TIME): Likewise.
19831 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19832 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19834 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19835 Specify type.
19836 [C99-based standards] (float_t): Expect type.
19837 [C99-based standards] (double_t): Expect type.
19838 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19839 type.
19840 [C99-based standards] (HUGE_VALL): Likewise.
19841 [C99-based standards] (INFINITY): Likewise.
19842 [C99-based standards] (NAN): Likewise.
19843 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19844 [C99-based standards] (FP_NAN): Likewise.
19845 [C99-based standards] (FP_NORMAL): Likewise.
19846 [C99-based standards] (FP_SUBNORMAL): Likewise.
19847 [C99-based standards] (FP_ZERO): Likewise.
19848 [C99-based standards] (FP_FAST_FMA): Use
19849 optional-macro-int-constant. Specify type. Require == 1.
19850 [C99-based standards] (FP_FAST_FMAF): Likewise.
19851 [C99-based standards] (FP_FAST_FMAL): Likewise.
19852 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19853 [C99-based standards] (FP_ILOGBNAN): Likewise.
19854 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19855 Specify type.
19856 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19857 [C99-based standards] (math_errhandling): Specify type.
19858 [ISO99 || ISO11] (signgam): Do not allow.
19859 [non-C99-based standards] (copysignf): Do not allow.
19860 [non-C99-based standards] (exp2f): Likewise.
19861 [non-C99-based standards] (log2f): Likewise.
19862 [non-C99-based standards] (modff): Allow.
19863 [non-C99-based standards] (erff): Do not allow.
19864 [non-C99-based standards] (erfcf): Likewise.
19865 [non-C99-based standards] (gammaf): Likewise.
19866 [non-C99-based standards] (hypotf): Likewise.
19867 [non-C99-based standards] (j0f): Likewise.
19868 [non-C99-based standards] (j1f): Likewise.
19869 [non-C99-based standards] (jnf): Likewise.
19870 [non-C99-based standards] (lgammaf): Likewise.
19871 [non-C99-based standards] (tgammaf): Likewise.
19872 [non-C99-based standards] (y0f): Likewise.
19873 [non-C99-based standards] (y1f): Likewise.
19874 [non-C99-based standards] (ynf): Likewise.
19875 [non-C99-based standards] (isnanf): Likewise.
19876 [non-C99-based standards] (acoshf): Likewise.
19877 [non-C99-based standards] (asinhf): Likewise.
19878 [non-C99-based standards] (atanhf): Likewise.
19879 [non-C99-based standards] (cbrtf): Likewise.
19880 [non-C99-based standards] (expm1f): Likewise.
19881 [non-C99-based standards] (ilogbf): Likewise.
19882 [non-C99-based standards] (log1pf): Likewise.
19883 [non-C99-based standards] (logbf): Likewise.
19884 [non-C99-based standards] (nextafterf): Likewise.
19885 [non-C99-based standards] (remainderf): Likewise.
19886 [non-C99-based standards] (rintf): Likewise.
19887 [non-C99-based standards] (scalbf): Likewise.
19888 [non-C99-based standards] (copysignl): Likewise.
19889 [non-C99-based standards] (exp2l): Likewise.
19890 [non-C99-based standards] (log2l): Likewise.
19891 [non-C99-based standards] (modfl): Allow.
19892 [non-C99-based standards] (erfl): Do not allow.
19893 [non-C99-based standards] (erfcl): Likewise.
19894 [non-C99-based standards] (gammal): Likewise.
19895 [non-C99-based standards] (hypotl): Likewise.
19896 [non-C99-based standards] (j0l): Likewise.
19897 [non-C99-based standards] (j1l): Likewise.
19898 [non-C99-based standards] (jnl): Likewise.
19899 [non-C99-based standards] (lgammal): Likewise.
19900 [non-C99-based standards] (tgammal): Likewise.
19901 [non-C99-based standards] (y0l): Likewise.
19902 [non-C99-based standards] (y1l): Likewise.
19903 [non-C99-based standards] (ynl): Likewise.
19904 [non-C99-based standards] (isnanl): Likewise.
19905 [non-C99-based standards] (acoshl): Likewise.
19906 [non-C99-based standards] (asinhl): Likewise.
19907 [non-C99-based standards] (atanhl): Likewise.
19908 [non-C99-based standards] (cbrtl): Likewise.
19909 [non-C99-based standards] (expm1l): Likewise.
19910 [non-C99-based standards] (ilogbl): Likewise.
19911 [non-C99-based standards] (log1pl): Likewise.
19912 [non-C99-based standards] (logbl): Likewise.
19913 [non-C99-based standards] (nextafterl): Likewise.
19914 [non-C99-based standards] (remainderl): Likewise.
19915 [non-C99-based standards] (rintl): Likewise.
19916 [non-C99-based standards] (scalbl): Likewise.
19917 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19918 [non-C99-based standards] (FP_*): Do not allow.
19919 [C99-based standards] (FP_*): Change to
19920 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19921 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19922 allow.
19923 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19924 (SIG_ERR): Likewise.
19925 [X/Open-based standards] (SIG_HOLD): Likewise.
19926 (SIG_IGN): Likewise.
19927 (SIGABRT): Use macro-int-constant. Specify type. Require
19928 positive value.
19929 (SIGFPE): Likewise.
19930 (SIGILL): Likewise.
19931 (SIGINT): Likewise.
19932 (SIGSEGV): Likewise.
19933 (SIGTER): Likewise.
19934 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19935 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19936 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19937 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19938 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19939 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19940 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19941 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19942 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19943 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19944 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19945 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19946 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19947 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19948 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19949 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19950 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19951 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19952 [X/Open-based standards] (SIGTRAP): Likewise.
19953 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19954 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19955 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19956 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19957 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19958 allow.
19959
b9f1922d
IW
199602012-05-08 Ian Wienand <ianw@vmware.com>
19961
19962 [BZ #14080]
19963 * time/tzset.c (__tzset_parse_tz): Update default rules for
19964 daylight time changes in the Energy Policy Act of 2005.
19965
1db86e88
AJ
199662012-05-09 Andreas Jaeger <aj@suse.de>
19967
19968 [BZ #13983]
19969 * elf/ldconfig.c (parse_conf): Change string to make clear that
19970 ldconfig only issued a warning if ld.so.conf does not exist.
19971
dee4a4e3
DM
199722012-05-08 David S. Miller <davem@davemloft.net>
19973
ee0db190
DM
19974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19975 movxtod instead of popping the value on the stack.
19976
dee4a4e3
DM
19977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19978
6a43ec98
CD
199792012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19980
19981 * config.h.in: Add HAVE_ARM_PCS_VFP.
19982
05c2c961
RMG
199832012-05-08 Roland Mc Grath <roland@hack.frob.com>
19984
bcfe3a54
ST
19985 [BZ #13979]
19986 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19987 checking but the checks are disabled for any reason.
05c2c961 19988
4b30f61a
L
199892012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19990
19991 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19992 and ELF64_R_TYPE with ELFW(R_TYPE).
19993
eee2bc67
JM
199942012-05-08 Joseph Myers <joseph@codesourcery.com>
19995
7ea5391a
JM
19996 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19997 (ulimit): Likewise.
19998
eee2bc67
JM
19999 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20000 (settimeofday): Likewise.
20001
abb66a67
MF
200022012-05-08 Mike Frysinger <vapier@gentoo.org>
20003
20004 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20005 a struct th_u2 inside the union, and move tu_block/tu_code into
20006 a new th_u3 union of tu_block/tu_code inside of that. Move
20007 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20008 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20009 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20010 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20011 (th_stuff): Change to th_u1.tu_stuff.
20012 (th_data): Define.
20013 (th_msg): Change to th_u1.th_u2.tu_data.
20014
7f18b530
DM
200152012-05-07 David S. Miller <davem@davemloft.net>
20016
05760585
DM
20017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20018
7f18b530
DM
20019 [BZ #14074]
20020 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20021 (SETUP_PIC_REG): Use it.
20022 (SETUP_PIC_REG_LEAF): Use it.
20023
495fd99f
JM
200242012-05-07 Joseph Myers <joseph@codesourcery.com>
20025
20026 [BZ #13885]
20027 [BZ #13923]
20028 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20029 USE_AS_EXPM1L.
20030 (EXPL_FINITE): Likewise.
20031 (FLDLOG): Likewise.
20032 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20033 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20034 e_expl.S.
20035 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20036 USE_AS_EXPM1L.
20037 (EXPL_FINITE): Likewise.
20038 (FLDLOG): Likewise.
20039 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20040 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20041 e_expl.S.
20042 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20043 test of -max_value argument for long double.
20044 * sysdeps/i386/fpu/libm-test-ulps: Update.
20045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20046
6693d694
DM
200472012-05-06 David S. Miller <davem@davemloft.net>
20048
20049 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20050 quad soft-float symbols whose references which are compiler
20051 generated.
20052 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20053
6c23e11c
JM
200542012-05-06 Joseph Myers <joseph@codesourcery.com>
20055
d8b82cad
JM
20056 [BZ #13884]
20057 [BZ #13914]
20058 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20059 USE_AS_EXP10L.
20060 (EXPL_FINITE): Likewise.
20061 (FLDLOG): Likewise.
20062 (c0): Likewise.
20063 (c1): Likewise.
20064 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20065 Adjust comments for base varying.
20066 (__expl_finite): Change alias to EXPL_FINITE.
20067 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20068 e_expl.S.
20069 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20070 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20071 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20072 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20073 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20074 USE_AS_EXP10L.
20075 (EXPL_FINITE): Likewise.
20076 (FLDLOG): Likewise.
20077 (c0): Likewise.
20078 (c1): Likewise.
20079 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20080 Adjust comments for base varying.
20081 (__expl_finite): Change alias to EXPL_FINITE.
20082 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20083 tests for bugs.
20084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20085
6c23e11c
JM
20086 [BZ #14064]
20087 * math/libm-test.inc (check_float_internal): Correct ulp
20088 calculation for subnormal expected results.
20089
29ba805c
AJ
200902012-05-06 Andreas Jaeger <aj@suse.de>
20091
20092 * Makeconfig (+math-flags): New, set to -frounding-math.
20093 (+cflags): Add +math-flags so that all of glibc gets compiled with
20094 it.
20095
20096 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20097
7b17aeda
JM
200982012-05-05 Joseph Myers <joseph@codesourcery.com>
20099
5779f134
JM
20100 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20101 Disable one test.
20102
41498f4d
JM
20103 [BZ #13787]
20104 [BZ #13922]
20105 [BZ #14036]
20106 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20107 (__ieee754_expl): Allow for and saturate large arguments.
20108 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20109 (u_threshold): Likewise.
20110 (__exp): Call __ieee754_exp before checking for overflow and
20111 underflow.
20112 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20113 (u_threshold): Likewise.
20114 (__expf): Call __ieee754_expf before checking for overflow and
20115 underflow.
20116 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20117 (u_threshold): Likewise.
20118 (__expl): Call __ieee754_expl before checking for overflow and
20119 underflow.
20120 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20121 (__ieee754_expl): Allow for and saturate large arguments.
20122 * math/libm-test.inc (exp_test): Add another test. Do not allow
20123 missing overflow exception on overflow.
20124 (expm1_test): Do not allow missing overflow exception on overflow.
20125
6698b8bf
JM
20126 * sysdeps/i386/fpu/e_expl.c: Move to ...
20127 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20128 rather than using inline asm.
20129 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20130 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20131 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20132
7b17aeda
JM
20133 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20134 (nice): Likewise.
20135 (poll): Likewise.
20136 (signal): Likewise.
20137 (time): Likewise.
20138 (times): Likewise.
20139
f7c85819
JM
201402012-05-04 Joseph Myers <joseph@codesourcery.com>
20141
20142 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20143 sysdeps/unix/common/syscalls.list.
20144 (fchmod): Likewise.
20145 (fchown): Likewise.
20146 (ftruncate): Likewise.
20147 (getrusage): Likewise.
20148 (gettimeofday): Likewise.
20149 (setpgid): Likewise.
20150 (setregid): Likewise.
20151 (setreuid): Likewise.
20152 (sigaction): Likewise.
20153 (truncate): Likewise.
20154 (vhangup): Likewise.
20155 * sysdeps/unix/common/syscalls.list: Remove file.
20156 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20157 * sysdeps/unix/sysv/linux/Implies: Likewise.
20158
336270d0
L
201592012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20160
20161 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20163 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20164 Moved to ...
20165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20166 Here.
20167 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20168 to ...
20169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20170 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20171 to ...
20172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20173 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20174 to ...
20175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20176 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20177 to ...
20178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20179 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20180 to ...
20181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20182 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20183 to ...
20184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20185 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20186 to ...
20187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20188 Here.
20189 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20190 to ...
20191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20192 Here.
20193 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20194 to ...
20195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20196 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20197 Moved to ...
20198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20199 Here.
20200 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20201 to ...
20202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20203
d128e450
JM
202042012-05-04 Joseph Myers <joseph@codesourcery.com>
20205
fa8ee516
JM
20206 * sysdeps/unix/common/bits/dirent.h: Remove file.
20207 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20208
d128e450
JM
20209 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20210 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20211 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20212 * sysdeps/unix/bsd/isatty.c: Likewise.
20213 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20214 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20215 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20216
ff8faaf0 202172012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20218
62881be4 20219 [BZ #13563]
31dc8730
AZ
20220 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20221 long double comparison inaccuracies.
20222 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20224
6fef930c
AS
202252012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20226
20227 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20228 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20229
8f203e6c
JM
202302012-05-04 Joseph Myers <joseph@codesourcery.com>
20231
20232 [BZ #14049]
20233 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20234 nonzero digits before rounding a hex value.
20235 * stdlib/tst-strtod.c (tests): Add another test.
20236
5197d9c2
AK
202372012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20238
20239 * sysdeps/s390/fpu/libm-test-ulps: Update.
20240
f0c1dedf
AJ
202412012-05-03 Andreas Jaeger <aj@suse.de>
20242
20243 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20244 does not get optimized out.
20245 (malloc_opt_barrier): New.
20246
a65ef2ae 202472012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20248 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20249
2b942cb7 20250 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20251 intermediate file deletion.
2b942cb7 20252 (generated): Add .symlist files.
a65ef2ae 20253
54b71e02
JM
202542012-05-03 Joseph Myers <joseph@codesourcery.com>
20255
20256 [BZ #13775]
20257 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20258 Redirect under this condition.
20259 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20260 [__USE_GNU] (__dprintf_chk): Not under this condition.
20261 [__USE_GNU] (__vdprintf_chk): Likewise.
20262 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20263 under this condition.
20264 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20265 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20266 [__USE_XOPEN2K8] (vdprintf): Likewise.
20267 [__USE_GNU] (__dprintf_chk): Not under this condition.
20268 [__USE_GNU] (__vdprintf_chk): Likewise.
20269 [__USE_GNU] (dprintf): Likewise.
20270 [__USE_GNU] (vdprintf): Likewise.
20271
d3dfcc41
RM
202722012-05-03 Roland McGrath <roland@hack.frob.com>
20273
20274 * elf/Makefile (common-generated): Set this instead of generated for
20275 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20276 $(all-built-dso)-derived lists.
20277
7ac30cc5
AJ
202782012-05-03 Andreas Jaeger <aj@suse.de>
20279
0c51e550
AJ
20280 * sysdeps/i386/fpu/libm-test-ulps: Update.
20281
7ac30cc5
AJ
20282 * FAQ: Removed.
20283 * FAQ.in: Likewise.
20284 * scripts/gen-FAQ.pl: Likewise.
20285 * manual/install.texi (Installation): Point to online location of
20286 FAQ.
20287 * Makefile (files-for-dist): Remove FAQ.
20288 (FAQ): Remove.
20289
d4c2917f
AM
202902012-05-02 Allan McRae <allan@archlinux.org>
20291
20292 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20293 (LDFLAGS-reldepmod5.so): Likewise.
20294 (LDFLAGS-reldep6mod1.so): Likewise.
20295 (LDFLAGS-reldep6mod4.so): Likewise.
20296 (LDFLAGS-reldep8mod3.so): Likewise.
20297 (LDFLAGS-unload4mod1.so): Likewise.
20298 (LDFLAGS-unload4mod2.so): Likewise.
20299 (LDFLAGS-tst-initorder): Likewise.
20300 (LDFLAGS-tst-initordera2.so): Likewise.
20301 (LDFLAGS-tst-initordera3.so): Likewise.
20302 (LDFLAGS-tst-initordera4.so): Likewise.
20303 (LDFLAGS-tst-initorderb2.so): Likewise.
20304 (LDFLAGS-noload): Likewise.
20305 (LDFLAGS-next): Likewise.
20306 (LDFLAGS-order2mod1.so): Likewise.
20307 (LDFLAGS-order2mod2.so): Likewise.
20308 (LDFLAGS-tst-initorder2): Likewise.
20309 (LDFLAGS-tst-initorder2a.so): Likewise.
20310 (LDFLAGS-tst-initorder2b.so): Likewise.
20311 (LDFLAGS-tst-initorder2c.so): Likewise.
20312 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20313
d77f993f
DM
203142012-05-02 David S. Miller <davem@davemloft.net>
20315
20316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20317
171a70b4
PP
203182012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20319
20320 [BZ #14055]
20321 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20322
0be196ad
AJ
203232012-05-02 Andreas Jaeger <aj@suse.de>
20324
20325 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20326 since we manipulate rounding mode.
20327 (CPPFLAGS-test-idouble.c): Likewise.
20328 (CPPFLAGS-test-ifloat.c): Likewise.
20329 (CFLAGS-test-ldouble.c): Likewise.
20330 (CFLAGS-test-double.c): Likewise.
20331 (CFLAGS-test-float.c): Likewise.
20332 (CFLAGS-test-misc.c): Likewise.
20333 (CFLAGS-test-test-fenv.c): Likewise.
20334
4f9d04aa
AZ
203352012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20336
2b942cb7
RM
20337 [BZ #2550]
20338 [BZ #2570]
20339 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20340 comparisons to determine direction to adjust input.
4f9d04aa 20341
82a79e7d
RM
203422012-05-01 Roland McGrath <roland@hack.frob.com>
20343
f5a01ca9
RM
20344 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20345 output to the target.
20346
90fe4186
RM
20347 * scripts/localplt.awk: New file.
20348 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20349 (check-localplt-CFLAGS): Variable removed.
20350 ($(all-built-dso:=.jmprel)): New static pattern rule.
20351 (generated): Add those targets.
20352 (localplt-built-dso): New variable.
20353 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20354
20355 * elf/check-localplt.c: File removed.
20356
82397ed6
RM
20357 * scripts/check-execstack.awk: New file.
20358 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20359 (check-execstack-CFLAGS): Variable removed.
20360 ($(objpfx)check-execstack.h): Target removed.
20361 ($(objpfx)execstack-default): New target.
20362 (generated): Add that instead of check-execstack.h.
20363 ($(all-built-dso:=.phdr)): New static pattern rule.
20364 (generated): Add those targets.
20365 * elf/check-execstack.c: File removed.
20366
82a79e7d
RM
20367 * scripts/check-textrel.awk: New file.
20368 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20369 (check-textrel-CFLAGS): Variable removed.
20370 (all-built-dso): Use := to define.o
20371 ($(all-built-dso:=.dyn)): New static pattern rule.
20372 (generated): Add those targets.
20373 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20374 * config.make.in (READELF): New substituted variable.
20375 * elf/check-textrel.c: File removed.
20376
62fde54f 203772012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20378
615605c9
JM
20379 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20380 allow.
20381 * conform/data/ctype.h-data [C99-based standards] (isblank):
20382 Expect function.
20383 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20384 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20385 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20386 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20387 Specify type. Require positive value.
20388 (EILSEQ): Likewise.
20389 (ERANGE): Likewise.
20390 [ISO || POSIX] (EILSEQ): Do not expect.
20391 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20392 Specify type. Require positive value.
20393 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20394 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20395 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20396 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20397 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20398 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20399 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20400 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20401 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20402 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20403 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20404 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20405 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20406 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20407 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20408 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20409 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20410 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20411 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20412 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20413 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20414 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20415 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20416 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20417 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20418 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20419 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20420 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20421 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20422 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20423 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20424 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20425 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20426 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20427 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20428 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20429 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20430 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20431 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20432 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20433 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20434 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20435 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20436 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20437 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20438 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20439 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20440 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20441 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20442 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20443 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20444 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20445 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20446 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20447 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20448 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20449 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20450 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20451 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20452 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20453 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20454 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20455 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20456 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20457 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20458 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20459 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20460 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20461 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20462 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20463 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20464 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20465 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20466 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20467 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20468 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20469 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20470 Require >= 2.
20471 (FLT_ROUNDS): Expect as macro, not constant.
20472 (FLT_MANT_DIG): Use macro-int-constant.
20473 (DBL_MANT_DIG): Likewise.
20474 (LDBL_MANT_DIG): Likewise.
20475 (FLT_DIG): Likewise.
20476 (DBL_DIG): Likewise.
20477 (LDBL_DIG): Likewise.
20478 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20479 (DBL_MIN_EXP): Likewise.
20480 (LDBL_MIN_EXP): Likewise.
20481 (FLT_MAX_EXP): Use macro-int-constant.
20482 (DBL_MAX_EXP): Likewise.
20483 (LDBL_MAX_EXP): Likewise.
20484 (FLT_MAX_10_EXP): Likewise.
20485 (DBL_MAX_10_EXP): Likewise.
20486 (LDBL_MAX_10_EXP): Likewise.
20487 (FLT_MAX): Use macro-constant.
20488 (DBL_MAX): Likewise.
20489 (LDBL_MAX): Likewise.
20490 (FLT_EPSILON): Use macro-constant. Give upper bound.
20491 (DBL_EPSILON): Likewise.
20492 (LDBL_EPSILON): Likewise.
20493 (FLT_MIN): Likewise.
20494 (DBL_MIN): Likewise.
20495 (LDBL_MIN): Likewise.
20496 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20497 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20498 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20499 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20500 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20501 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20502 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20503 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20504 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20505 [ISO11] (FLT_TRUE_MIN): Likewise.
20506 [ISO11] (LDBL_TRUE_MIN): Likewise.
20507 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20508 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20509 (SCHAR_MIN): Use macro-int-constant. Specify type.
20510 (SCHAR_MAX): Likewise.
20511 (UCHAR_MAX): Likewise.
20512 (CHAR_MIN): Likewise.
20513 (CHAR_MAX): Likewise.
20514 (MB_LEN_MAX): Use macro-int-constant.
20515 (SHRT_MIN): Use macro-int-constant. Specify type.
20516 (SHRT_MAX): Likewise.
20517 (USHRT_MAX): Likewise.
20518 (INT_MAX): Likewise.
20519 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20520 bound negative.
20521 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20522 bound with "U".
20523 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20524 bound with "L".
20525 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20526 bound negative. Suffix upper bound with "L".
20527 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20528 bound with "UL".
20529 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20530 Specify type.
20531 [C99-based standards] (LLONG_MAX): Likewise.
20532 [C99-based standards] (ULLONG_MAX): Likewise.
20533 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20534 == 0.
20535 [ISO11] (max_align_t): Require type.
20536 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20537
c9140a62
JM
20538 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20539 from $CFLAGS, without defining away __attribute__ calls.
20540 (checknamespace): Use $CFLAGS_namespace.
20541
9af0bf29
JM
20542 * conform/conformtest.pl (@keywords): Only include C99 keywords
20543 for standards based on C99 or C11.
20544
343222a2
JM
20545 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20546 Disable tests.
20547 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20548 UNIX98]: Likewise.
20549
661f8cf0
JM
20550 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20551 usability of symbols in #if.
20552
ee74b9cb
JM
20553 * conform/conformtest.pl: If macro or constant types start
20554 "promoted:", expect the symbol to be of the following type
20555 promoted by the integer promotions.
62fde54f 20556
aafc49b3
JM
20557 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20558 in one place. Also handle "macro-constant".
20559
fefdf574
JM
20560 * conform/conformtest.pl: Only accept expected macro values with
20561 "==". Parse all "macro" lines in one place.
20562 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20563
f2d922fe
JM
20564 * conform/conformtest.pl: Handle braced types on "constant" lines
20565 instead of handling "typed-constant".
20566 * conform/data/signal.h-data: Use "constant" instead of
20567 "typed-constant".
20568
d22956c9
JM
20569 * conform/conformtest.pl: Handle "optional-" at start of lines in
20570 one place rather than duplicating several cases. Handle each
20571 format of "macro" line with initial "optional-".
20572
028e2e38
JM
20573 * conform/conformtest.pl: Only accept expected constant or
20574 optional-constant values with "==". Parse all "constant" lines in
20575 one place. Parse all "optional-constant" lines in one place.
20576 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20577 * conform/data/fmtmsg.h-data: Likewise.
20578 * conform/data/netinet/in.h-data: Likewise.
20579 * conform/data/tar.h-data: Likewise.
20580 * conform/data/limits.h-data: Use "==" form on "constant" and
20581 "optional-constant" lines.
20582
1b8f2850
JM
20583 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20584 Use -std=c99 for XOPEN2K.
20585 (@knownproblems): Remove.
20586 (newtoken): Don't check %isknown.
20587
a05a144b
JM
20588 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20589 Do not expect macro.
20590 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20591 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20592 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20593 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20594 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20595 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20596 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20597 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20598 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20599 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20600 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20601 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20602 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20603 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20604 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20605 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20606 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20607 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20608 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20609 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20610 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20611 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20612 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20614 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20615 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20616 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20617 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20618 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20619 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20620 [XPG3] (acosh): Likewise.
20621 [XPG3] (asinh): Likewise.
20622 [XPG3] (atanh): Likewise.
20623 [XPG3] (cbrt): Likewise.
20624 [XPG3] (expm1): Likewise.
20625 [XPG3] (ilogb): Likewise.
20626 [XPG3] (log1p): Likewise.
20627 [XPG3] (logb): Likewise.
20628 [XPG3] (nextafter): Likewise.
20629 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20630 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20631 [XPG3] (remainder): Likewise.
20632 [XPG3] (rint): Likewise.
20633 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20634 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20635 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20636 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20637 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20638 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20639 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20640 [UNIX98 || XOPEN2K] (scalb): Expect.
20641 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20642 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20643 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20644 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20645 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20646 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20647 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20648 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20649 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20650 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20651 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20652 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20653 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20654 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20655 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20656 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20657 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20658 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20659 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20660 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20661 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20662 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20663 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20664 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20665 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20666 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20667 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20668 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20669 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20670 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20671 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20672 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20673 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20674 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20675 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20676 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20677 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20678 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20679 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20680 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20681 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20682 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20683 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20684 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20685 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20686 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20687 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20688 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20689 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20690 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20691 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20692 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20693 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20694 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20695 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20696 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20697 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20698 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20699 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20700 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20701 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20702 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20703 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20704 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20705 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20706 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20707 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20708 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20709 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20710 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20711 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20712 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20713 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20714 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20715 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20716 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20717 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20718 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20719 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20720 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20721 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20722 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20723 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20724 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20725 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20726 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20727 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20728 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20729 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20730 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20731 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20732 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20733 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20734 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20735 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20736 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20737 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20738 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20739 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20740 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20741 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20742 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20743 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20744 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20745 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20746 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20747 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20748 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20749 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20750 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20751 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20752 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20753 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20754 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20755 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20756 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20757 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20758 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20759 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20760 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20761 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20762 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20763 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20764 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20765 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20766 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20767 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20768 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20769 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20770 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20771 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20772 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20773 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20774 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20775 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20776 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20777 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20778
73c5ebe3
JM
20779 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20780 _XOPEN_SOURCE_EXTENDED for XPG4.
20781
39c33b6c
JM
20782 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20783
62fde54f
JM
20784 * Makeconfig (localtime): Remove variable.
20785 (inst_localtime-file): Likewise.
20786
0741d64c
AS
207872012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20788
20789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20790 Update.
20791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20792 Update.
20793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20794 Update.
20795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20796 Update.
20797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20798 Update.
20799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20800 Update.
20801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20802 Update.
20803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20804 Update.
20805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20806 Update.
20807
7cb029ee
JM
208082012-05-01 Joseph Myers <joseph@codesourcery.com>
20809
20810 [BZ #2550]
20811 [BZ #2570]
20812 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20813 comparisons to determine direction to adjust input.
20814 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20815 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20817 Likewise.
20818 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20819 Likewise.
20820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20821 Likewise.
20822 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20823 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20824 Likewise.
20825 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20826 Likewise.
20827 * math/libm-test.inc (nexttoward_test): Add more tests.
20828
412bd966
AS
208292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20830
20831 [BZ #14040]
20832 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20833 in version GLIBC_2.1, not GLIBC_2.0.
20834 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20835 Likewise.
20836
9568c0c2
JM
208372012-04-30 Joseph Myers <joseph@codesourcery.com>
20838
adfbc8ac
JM
20839 [BZ #13942]
20840 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20841 (1 - x) * (1 + x).
20842 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20843 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20844 * math/libm-test.inc (acos_test): Add more tests.
20845 (asin_test): Likewise.
20846 * sysdeps/i386/fpu/libm-test-ulps: Update.
20847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20848
5ba3cc69
JM
20849 [BZ #14034]
20850 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20851 of square root.
20852 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20853 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20854 * math/libm-test.inc (acos_test_tonearest): New function.
20855 (acos_test_towardzero): Likewise.
20856 (acos_test_downward): Likewise.
20857 (acos_test_upward): Likewise.
20858 (asin_test_tonearest): Likewise.
20859 (asin_test_towardzero): Likewise.
20860 (asin_test_downward): Likewise.
20861 (asin_test_upward): Likewise.
20862 (main): Call the new functions.
20863 * sysdeps/i386/fpu/libm-test-ulps: Update.
20864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20865
9568c0c2
JM
20866 [BZ #13884]
20867 [BZ #13924]
20868 * math/e_exp10.c: Include <float.h>.
20869 (__ieee754_exp10): Handle underflow here rather than multiplying
20870 large negative argument by M_LN10.
20871 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20872 of __ieee754_expf.
20873 * math/e_exp10l.c: Include <float.h>.
20874 (__ieee754_exp10l): Handle underflow here rather than multiplying
20875 large negative argument by M_LN10l.
20876 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20877 spurious overflow exception on underflow.
20878
5ac3ea17
MP
208792012-04-29 Marek Polacek <polacek@redhat.com>
20880
20881 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20882 (__fortify_function): New macro.
20883 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20884 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20885 __extern_always_inline.
20886 * libio/bits/stdio2.h: Likewise.
20887 * libio/bits/stdio.h: Likewise.
20888 * string/string.h: Likewise.
20889 * string/bits/string3.h: Likewise.
20890 * include/stdio.h: Likewise.
20891 * stdlib/bits/stdlib.h: Likewise.
20892 * stdlib/stdlib.h: Likewise.
20893 * rt/bits/mqueue2.h: Likewise.
20894 * rt/mqueue.h: Likewise.
20895 * posix/bits/unistd.h: Likewise.
20896 * posix/unistd.h: Likewise.
20897 * io/bits/poll2.h: Likewise.
20898 * io/bits/fcntl2.h: Likewise.
20899 * io/fcntl.h: Likewise.
20900 * io/sys/poll.h: Likewise.
20901 * misc/bits/syslog.h: Likewise.
20902 * misc/bits/syslog-ldbl.h: Likewise.
20903 * misc/sys/syslog.h: Likewise.
20904 * socket/bits/socket2.h: Likewise.
20905 * socket/sys/socket.h: Likewise.
20906 * debug/tst-chk1.c: Likewise.
20907 * wcsmbs/bits/wchar2.h: Likewise.
20908 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20909 * wcsmbs/wchar.h: Likewise.
20910
ecf0ebfb
AJ
209112012-04-29 Andreas Jaeger <aj@suse.de>
20912
20913 * Makerules (tests): Remove enable-check-abi protection.
20914 (check-abi-warn): Remove.
20915 (check-abi-%): Remove check-abi-warn usage.
20916
20917 * configure.in: Remove check-abi configure option.
20918 * configure: Regenerated.
20919 * config.make.in (enable-check-abi): Remove.
20920
6d5c57fa
AS
209212012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20922
24c5d07e 20923 [BZ #14033]
ded5180a
AS
20924 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20925 double functions to double *_finite functions.
20926
7e0d315d
AS
20927 [BZ #13941]
20928 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20929 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20930 LDBL_MIN_EXP.
20931 * stdio-common/Makefile (tests): Add tst-sprintf3.
20932 * stdio-common/tst-sprintf3.c: New file.
20933
6d5c57fa
AS
20934 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20935 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20936
0749ff8b
JM
209372012-04-28 Joseph Myers <joseph@codesourcery.com>
20938
20939 * conform/conformtest.pl: Remove duplicate typed-constant
20940 handling.
20941
8dbd5d7b
DM
209422012-04-28 David S. Miller <davem@davemloft.net>
20943
20944 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20945 (check-abi-%): Remove AWK script prerequisite and explicit
20946 abilist directory.
20947 (check-abi): Rewrite to just diff the symlist with the abilist.
20948 (config-tls, config-abi-config): Delete, no longer used.
20949 (update-abi-%): Remove AWK script and explicit abilist directory.
20950 (update-abi): Rewrite to simply compare and conditionally copy the
20951 symlist and the sysdep abilist file. Remove update-abi-config
20952 checks.
20953 * abilist/ld.abilist: Remove.
20954 * abilist/libBrokenLocale.abilist: Remove.
20955 * abilist/libanl.abilist: Remove.
20956 * abilist/libcrypt.abilist: Remove.
20957 * abilist/libdl.abilist: Remove.
20958 * abilist/librt.abilist: Remove.
20959 * abilist/libthread_db.abilist: Remove.
20960 * abilist/libutil.abilist: Remove.
20961 * scripts/extract-abilist.awk: Remove.
20962 * scripts/merge-abilist.awk: Remove.
20963 * sysdeps/generic/libcidn.abilist: New file.
20964 * sysdeps/generic/libnss_compat.abilist: New file.
20965 * sysdeps/generic/libnss_db.abilist: New file.
20966 * sysdeps/generic/libnss_dns.abilist: New file.
20967 * sysdeps/generic/libnss_files.abilist: New file.
20968 * sysdeps/generic/libnss_hesiod.abilist: New file.
20969 * sysdeps/generic/libnss_nis.abilist: New file.
20970 * sysdeps/generic/libnss_nisplus.abilist: New file.
20971 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20972 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20973 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20974 file.
20975 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20976 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20977 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20978 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20979 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20980 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20981 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20982 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20983 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20984 file.
20985 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20986 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20987 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20988 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20989 file.
20990 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20991 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20992 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20993 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20994 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20995 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20996 file.
20997 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20998 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20999 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21000 file.
21001 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21003 New file.
21004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21005 New file.
21006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21007 New file.
21008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21009 New file.
21010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21011 New file.
21012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21013 New file.
21014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21015 New file.
21016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21017 New file.
21018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21019 New file.
21020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21021 New file.
21022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21023 New file.
21024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21025 New file.
21026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21027 New file.
21028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21029 file.
21030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21031 New file.
21032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21033 New file.
21034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21035 file.
21036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21037 New file.
21038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21039 New file.
21040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21041 file.
21042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21043 New file.
21044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21045 New file.
21046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21047 New file.
21048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21049 New file.
21050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21051 New file.
21052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21053 New file.
21054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21056 file.
21057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21058 New file.
21059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21060 file.
21061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21062 file.
21063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21064 file.
21065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21066 file.
21067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21068 file.
21069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21070 New file.
21071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21072 file.
21073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21074 file.
21075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21076 New file.
21077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21078 file.
21079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21081 file.
21082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21083 New file.
21084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21085 file.
21086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21087 file.
21088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21089 file.
21090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21091 file.
21092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21093 file.
21094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21095 New file.
21096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21097 file.
21098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21099 file.
21100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21101 New file.
21102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21103 file.
21104 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21105 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21106 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21107 file.
21108 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21109 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21110 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21111 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21112 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21113 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21114 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21115 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21116 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21117 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21120 file.
21121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21122 New file.
21123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21124 file.
21125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21126 file.
21127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21128 file.
21129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21130 file.
21131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21132 file.
21133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21134 New file.
21135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21136 New file.
21137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21138 file.
21139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21140 New file.
21141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21142 file.
21143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21145 file.
21146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21147 New file.
21148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21149 file.
21150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21151 file.
21152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21153 file.
21154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21155 file.
21156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21157 file.
21158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21159 New file.
21160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21161 New file.
21162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21163 file.
21164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21165 New file.
21166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21167 file.
21168
41d73a1b
JM
211692012-04-28 Joseph Myers <joseph@codesourcery.com>
21170
21171 * conform/conformtest.pl: Fix typo in handling typed-constant from
21172 allow-header.
21173
28aeeda4
JM
211742012-04-27 Joseph Myers <joseph@codesourcery.com>
21175
adae8f5e
JM
21176 * README: Cut down references to pre-2.6 Linux kernels and
21177 Linuxthreads. Update lists of configurations in libc and ports
21178 and sort alphabetically. Say "or newer" with Linux kernel version
21179 requirements.
21180
28aeeda4
JM
21181 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21182
a462cb63
RA
211832012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21184
21185 [BZ #887]
21186 * math/libm-test.inc (logb_test_downward): New test to expose
21187 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21188 rounding mode.
21189
6ad3493e
JM
211902012-04-27 Joseph Myers <joseph@codesourcery.com>
21191
21192 [BZ #14027]
21193 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21194 to be done.
21195 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21196 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21197
2ce4f015
JM
211982012-04-26 Joseph Myers <joseph@codesourcery.com>
21199
5aeb141a
JM
21200 * sysdeps/unix/i386/brk.S: Remove file.
21201 * sysdeps/unix/i386/dl-brk.S: Likewise.
21202 * sysdeps/unix/i386/pipe.S: Likewise.
21203 * sysdeps/unix/i386/sigreturn.S: Likewise.
21204 * sysdeps/unix/i386/syscall.S: Likewise.
21205 * sysdeps/unix/i386/vfork.S: Likewise.
21206 * sysdeps/unix/i386/wait.S: Likewise.
21207
7143acae
JM
21208 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21209 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21210
2ce4f015
JM
21211 * configure.in (arm*-none*): Do not allow without
21212 --enable-hacker-mode.
21213 (netbsd*): Remove case setting base_os.
21214 (386bsd*): Likewise.
21215 (freebsd*): Likewise.
21216 (bsdi*): Likewise.
21217 (osf*): Likewise.
21218 (sunos*): Likewise.
21219 (ultrix*): Likewise.
21220 (newsos*): Likewise.
21221 (dynix*): Likewise.
21222 (*bsd*): Likewise.
21223 (sysv*): Likewise.
21224 (isc*): Likewise.
21225 (esix*): Likewise.
21226 (sco*): Likewise.
21227 (minix*): Likewise.
21228 (irix4*): Likewise.
21229 (irix6*): Likewise.
21230 (solaris[2-9]*): Likewise.
21231 (none): Likewise.
21232 * configure: Regenerated.
21233
0ac229c8
AZ
212342012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21235
21236 [BZ #11521]
21237 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21238 overflow or cancellation in calculating denominator.
21239 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21240 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21241 down expression to avoid unexpected rounding in newer GCCs.
21242 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21243
33f244f4
DM
212442012-04-26 David S. Miller <davem@davemloft.net>
21245
21246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21247 long-double compat symbols.
21248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21261
cfa1f3e8
DM
212622012-04-25 David S. Miller <davem@davemloft.net>
21263
21264 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21265 HWCAP_* values only after the memory barriers have been defined.
21266 (atomic_full_barrier): Define.
21267 (atomic_read_barrier): Define.
21268 (atomic_write_barrier): Define.
21269
6e236b92
SP
212702012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21271
21272 * shlib-versions: Add libgcc_s version information.
21273 * sysdeps/generic/libgcc_s.h: Remove.
21274 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21275 libgcc_s.h.
21276 * sysdeps/gnu/unwind-resume.c: Likewise.
21277 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21278
aab39a09
DM
212792012-04-25 David S. Miller <davem@davemloft.net>
21280
21281 * sysdeps/unix/sparc/brk.S: Delete.
21282 * sysdeps/unix/sparc/dl-brk.S: Delete.
21283 * sysdeps/unix/sparc/pipe.S: Delete.
21284 * sysdeps/unix/sparc/sysdep.S: Delete.
21285 * sysdeps/unix/sparc/sysdep.h: Delete.
21286 * sysdeps/unix/sparc/vfork.S: Delete.
21287 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21288 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21289 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21290 ret_ERRVAL, r0, r1, MOVE): Define.
21291 (JUMPTARGET): Remove.
21292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21293 sysdeps/unix/sparc/sysdep.h
21294 (ENTRY, END): Remove.
21295 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21296
a3cc4f48
JM
212972012-04-25 Joseph Myers <joseph@codesourcery.com>
21298
2ed8cda2
JM
21299 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21300 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21301 -DIS_IN_build.
21302
35d76d59
JM
21303 * timezone/README: Update upstream location and email address for
21304 tzcode and tzdata.
21305 * timezone/zdump.c: Update from tzcode 2012b.
21306 * timezone/zic.c: Likewise.
21307
a3cc4f48
JM
21308 * configure.in (libc_cv_as_needed): Remove test.
21309 * configure: Regenerated.
21310 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21311 conditional definition.
21312 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21313 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21314 * config.make.in (have-as-needed): Remove variable.
21315
ceab42c3
SP
213162012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21317 Paul Pluzhnikov <ppluzhnikov@google.com>
21318
21319 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21320 strings correctly.
21321
3ce2865f
CLT
213222012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21323
21324 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21325 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21326 * sysdeps/sh/strlen.S: Likewise.
21327
f37e0d68
JM
213282012-04-24 Joseph Myers <joseph@codesourcery.com>
21329
ae186e9a
JM
21330 * sysdeps/unix/fork.S: Remove file.
21331 * sysdeps/unix/i386/fork.S: Likewise.
21332 * sysdeps/unix/sparc/fork.S: Likewise.
21333
b96914af
JM
21334 * sysdeps/unix/system.c: Remove file.
21335 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21336
f37e0d68
JM
21337 * sysdeps/unix/getegid.S: Remove file.
21338 * sysdeps/unix/geteuid.S: Likewise.
21339
87ef29ca
RM
213402012-04-24 Roland McGrath <roland@hack.frob.com>
21341
83bcd236
RM
21342 * scripts/check-localplt.awk: New file.
21343 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21344 of diff.
21345 * scripts/data/localplt-generic.data: Add a comment.
21346
87ef29ca
RM
21347 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21348 NODE when __dir_mkfile failed.
21349 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21350 Reported by Ludovic Courtès <ludo@gnu.org>.
21351
e5a6e567
AJ
213522012-04-24 Andreas Jaeger <aj@suse.de>
21353
21354 * Makerules (common-clean): Also remove gen-as-const-headers
21355 files.
21356
c1820385
JM
213572012-04-24 Joseph Myers <joseph@codesourcery.com>
21358
21359 * Makerules (native-compile): Do not change working directory for
21360 build. Use $(OUTPUT_OPTION) in command.
21361 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21362
94e02fc4
AZ
213632012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21364
21365 [BZ #13886]
21366 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21367 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21368 * math/libm-test.inc (floor_test): Add more tests.
21369 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21370
3a533ca3
JM
213712012-04-24 Joseph Myers <joseph@codesourcery.com>
21372
940ab4b3
JM
21373 * sysdeps/unix/getdents.c: Remove file.
21374 * sysdeps/unix/sysv/getdents.c: Likewise.
21375 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21376
90e037bd
JM
21377 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21378 sysdeps/unix/mman/syscalls.list.
21379 (mmap): Likewise.
21380 (mprotect): Likewise.
21381 (msync): Likewise.
21382 (munmap): Likewise.
21383 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21384 * sysdeps/unix/mman/syscalls.list: Remove.
21385 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21386
3a533ca3
JM
21387 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21388 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21389 * configure: Regenerated.
21390 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21391 $(libgcc_s_suffix).
21392 * config.make.in (libgcc_s_suffix): Remove variable.
21393
1ad743de
JM
213942012-04-23 Joseph Myers <joseph@codesourcery.com>
21395
4ad451e2
JM
21396 * sysdeps/unix/sysv/gethostname.c: Move to ...
21397 * sysdeps/posix/gethostname.c: ... here.
21398
5e37ce39
JM
21399 * sysdeps/unix/execve.S: Remove file.
21400
1ad743de
JM
21401 * sysdeps/unix/_exit.S: Remove file.
21402
4e681b5b
AJ
214032012-04-23 Andreas Jaeger <aj@suse.de>
21404
21405 [BZ #13739]
21406 * manual/Makefile: Remove make dist support, there's no
21407 need for a stand-alone documentation tar ball.
21408 (TEXI2DVI): Define always, it's not in Makeconfig.
21409 (dist): Removed.
21410 (tar-it): Removed.
21411 (edition): Removed.
21412 (glibc-doc-$(edition).tar): Removed
21413 (%.Z): Removed.
21414 (%.gz): Removed.
21415 (%.uu): Removed.
21416 (ETAGS): Remove, it's in Makeconfig.
21417 (move-if-change): Remove, it's in Makeconfig.
21418
38686a03 214192012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21420
21421 [BZ #13970]
21422 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21423 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21424 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21425 (strtod_l, strtof_l, strtold_l): Remove __wur.
21426 It is not necessarily an error to ignore strtol's return value.
21427 One can reliably look at the stored endptr to decide whether
21428 the number had valid syntax.
21429
7c0616fa
AJ
214302012-04-21 Andreas Jaeger <aj@suse.de>
21431
803cb6b7 21432 [BZ #13739]
7c0616fa
AJ
21433 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21434
b0fe253f
JM
214352012-04-21 Joseph Myers <joseph@codesourcery.com>
21436
21437 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21438 * sysdeps/unix/sysv/Versions: Remove file.
21439
8280f22d
MT
214402012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21441
21442 [BZ #13927]
21443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21444
75ce411f 214452012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21446
21447 [BZ #7064]
21448 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21449 version from __vm86.
21450
097d59fa
JM
214512012-04-20 Joseph Myers <joseph@codesourcery.com>
21452
a90f3bcb
JM
21453 * sysdeps/unix/common/lxstat.c: Remove file.
21454 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21455
edc7ea78
JM
21456 * sysdeps/unix/sysv/Makefile: Remove file.
21457
cb78c221
JM
21458 * sysdeps/unix/sysv/direct.h: Remove file.
21459
efa6a45f
JM
21460 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21461 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21462 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21463 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21464 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21465 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21466 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21467
9c9f2d0c
JM
21468 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21469
4541c83b
JM
21470 * sysdeps/unix/xmknod.c: Remove file.
21471 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21472
f5d153a0
JM
21473 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21474
aa746595
JM
21475 * sysdeps/unix/sysv/i386/time.S: Remove file.
21476
cce5905e
JM
21477 * sysdeps/unix/fxstat.c: Remove file.
21478 * sysdeps/unix/xstat.c: Likewise.
21479 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21480
37fa3841
JM
21481 * sysdeps/unix/sysv/sigaction.c: Remove file.
21482
ff1962a3
JM
21483 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21484 (sysdep_headers): Remove variable.
21485 [termio.h not in sysdep_headers] (generated): Likewise.
21486 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21487 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21488 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21489 * sysdeps/unix/sysv/tcflow.c: Likewise.
21490 * sysdeps/unix/sysv/tcflush.c: Likewise.
21491 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21492 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21493 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21494 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21495 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21496
e7740d31
JM
21497 * sysdeps/unix/siglist.c: Remove file.
21498
ee06f18b
JM
21499 * sysdeps/unix/getppid.S: Remove file.
21500
097d59fa
JM
21501 * sysdeps/unix/mkdir.c: Remove file.
21502 * sysdeps/unix/rmdir.c: Likewise.
21503
ff3d51ec
AS
215042012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21505
21506 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21507 ERR_MAX value.
21508 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21509 errlist-compat value.
21510
50f81fd7
DM
215112012-04-18 David S. Miller <davem@davemloft.net>
21512
21513 * sysdeps/generic/memcopy.h (reg_char): Delete.
21514 * debug/strcat_chk.c: Use char, not reg_char.
21515 * debug/strcpy_chk.c: Likewise.
21516 * debug/strncat_chk.c: Likewise.
21517 * debug/strncpy_chk.c: Likewise.
21518 * string/memchr.c: Likewise.
21519 * string/memrchr.c: Likewise.
21520 * string/rawmemchr.c: Likewise.
21521 * string/strcat.c: Likewise.
21522 * string/strchr.c: Likewise.
21523 * string/strchrnul.c: Likewise.
21524 * string/strcmp.c: Likewise.
21525 * string/strcpy.c: Likewise.
21526 * string/strncat.c: Likewise.
21527 * string/strncmp.c: Likewise.
21528 * string/strncpy.c: Likewise.
21529
8ff41c46
WS
215302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21531
21532 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21533 __builtin_memcopy is called when src and dest ranges are known to not
21534 overlap.
21535
6b652f46
WS
215362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21537
21538 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21539 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21540 fwd_align_merge macro call.
21541 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21542 bwd_align_merge macro call.
21543 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21544
b282631e
WS
215452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21546
21547 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21548 bwd_align_merge macros.
21549 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21550 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21551 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21552
95aa737c
DM
215532012-04-18 David S. Miller <davem@davemloft.net>
21554
21555 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21556
7a99a614
AJ
215572012-04-18 Andreas Jaeger <aj@suse.de>
21558
21559 [BZ# 6794]
21560 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21561 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21562 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21563
21564 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21565 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21566 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21567
21568 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21569 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21570 Adjust for changed ldbl-128 files.
21571
21572 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21573 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21574 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21575
e5270c23
DM
215762012-04-17 David S. Miller <davem@davemloft.net>
21577
21578 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21579
fb5e92c9
AS
215802012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21581
21582 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21583 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21584 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21585 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21586 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21587 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21588
76da7265
AZ
215892012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21590
21591 [BZ #6794]
21592 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21593 * math/libm-test.inc: Add ilogb errno and exception tests.
21594 * math/w_ilogb.c: New file: ilogb wrapper.
21595 * math/w_ilogbf.c: New file: ilogbf wrapper.
21596 * math/w_ilogbl.c: New file: ilogbl wrapper.
21597 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21598 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21599 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21600 exception being thrown with 0.0 as argument.
21601 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21602 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21603 exception being thrown with 0.0 as argument.
21604 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21605 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21606 exception being thrown with 0.0 as argument.
21607 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21608 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21609 exception being thrown with 0.0 as argument.
21610 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21611 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21612 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21613 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21614 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21615 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21616 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21617 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21618 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21619
0396e69d
PB
216202012-04-17 Petr Baudis <pasky@ucw.cz>
21621
21622 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21623 with altivec.
21624
750b5926
MP
216252012-04-16 Marek Polacek <polacek@redhat.com>
21626
21627 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21628
751728a1
MP
216292012-04-16 Marek Polacek <polacek@redhat.com>
21630
21631 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21632 operands of fdivp instruction.
21633
34a27407
L
216342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21635
21636 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21637 * elf/tst-auditmod3b.c: Likewise.
21638 * elf/tst-auditmod4b.c: Likewise.
21639 * elf/tst-auditmod5b.c: Likewise.
21640 * elf/tst-auditmod6b.c: Likewise.
21641 * elf/tst-auditmod6c.c: Likewise.
21642 * elf/tst-auditmod7b.c: Likewise.
21643 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21644 * sysdeps/x86_64/preconfigure.in: Likewise.
21645 * sysdeps/x86_64/preconfigure: Regenerated.
21646
7e73e17d
L
216472012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21648
21649 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21650 __ILP32__.
21651
c7a6ab72
AB
216522012-04-13 Antoine Balestrat <merkil33@gmail.com>
21653
21654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21655 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21656
a9e8e0e0
CL
216572012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21658
21659 [BZ #13973]
21660 * locale/iso-639.def: Fix gl language name. Spotted by
21661 Yaron Shahrabani.
21662
ec98af7d
RM
216632012-04-12 Roland McGrath <roland@hack.frob.com>
21664
21665 [BZ #2074]
21666 * libio/libio.h (__io_write_fn): Update comment.
21667
247c3ede
PB
216682012-04-12 Petr Baudis <pasky@ucw.cz>
21669
21670 [BZ #2074]
21671 * stdio.texi (Hook Functions): The user provided writer function
21672 is not allowed to return -1.
21673
55939d6d
DM
216742012-04-11 David S. Miller <davem@davemloft.net>
21675
21676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21677
90020f5a
MF
216782012-04-11 Mike Frysinger <vapier@gentoo.org>
21679
21680 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21681 Add a leading slash to rtkaio.
21682
288f9098
JM
216832012-04-11 Jim Meyering <meyering@redhat.com>
21684
90020f5a
MF
21685 [BZ #11959]
21686 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21687 It is not necessarily an error to ignore fwrite's return
21688 value. One can reliably use ferror to test for errors after
21689 the fact.
288f9098 21690
4be2b570
L
216912012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21692
21693 * bits/types.h (__snseconds_t): New type.
21694 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21695
21696 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21697 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21698 (__SNSECONDS_T_TYPE): Likewise.
21699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21700 (__SNSECONDS_T_TYPE): Likewise.
21701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21702 (__SNSECONDS_T_TYPE): Likewise.
21703
288f9098 217042012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21705
21706 [BZ #2636]
21707 * manual/time.texi (Processor Time): Return type of times is
21708 elapsed real time since an arbitrary point in the past.
21709 (CPU Time): Move CLK_TCK from here...
21710 (Processor Time): ...to here. Correct description.
21711 * manual/conf.texi (Constants for Sysconf): Correct description of
21712 _SC_CLK_TCK.
21713
d7dd4413
DM
217142012-04-10 David S. Miller <davem@davemloft.net>
21715
21716 [BZ #13967]
21717 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21718 where the is a gap between DT_REL(A) and DT_JMPREL.
21719
b46068fc
L
217202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21721
21722 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21723 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21724 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21725
73d65cc3
SP
217262012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21727
21728 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21729 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21730 (dl_main): Handle --inhibit-cache.
21731 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21732 _dl_inhibit_cache.
21733 * elf/dl-load.c (_dl_map_object): Use it.
21734 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21735
bcc8d661
JM
217362012-04-09 Joseph Myers <joseph@codesourcery.com>
21737
8f9a2fae
JM
21738 [BZ #13872]
21739 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21740 (__ieee754_powl): Saturate large exponents rather than testing for
21741 overflow of y*log2(x).
21742 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21743 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21744 exceptions.
21745
bcc8d661
JM
21746 [BZ #11521]
21747 * math/s_ctan.c: Include <float.h>.
21748 (__ctan): Avoid internal overflow or cancellation in calculating
21749 denominator.
21750 * math/s_ctanf.c: Likewise.
21751 * math/s_ctanl.c: Likewise.
21752 * math/s_ctanh.c: Likewise.
21753 * math/s_ctanhf.c: Likewise.
21754 * math/s_ctanhl.c: Likewise.
21755 * math/libm-test.inc (ctan_test): Add more tests.
21756 (ctanh_test): Likewise.
21757 * sysdeps/i386/fpu/libm-test-ulps: Update.
21758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21759
823fbbb4
AJ
217602012-04-09 Andreas Jaeger <aj@suse.de>
21761
03879793
AJ
21762 [BZ #6894]
21763 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21764 is an optional BSD extension.
21765
823fbbb4
AJ
21766 [BZ #10254]
21767 * manual/stdio.texi (Opening Streams): Document additional fopen
21768 parameters.
21769
8de131cb
RM
217702012-04-09 Roland McGrath <roland@hack.frob.com>
21771
21772 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21773 %eax without telling the compiler.
21774
c0ed9d7d
CD
217752012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21776
21777 [BZ # 13963]
21778 * manual/install.texi: Use sourceware.org.
21779
c483f6b4
JM
217802012-04-09 Joseph Myers <joseph@codesourcery.com>
21781
d7dd9453
JM
21782 [BZ #13873]
21783 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21784 (__ieee754_pow): Generate overflow and underflow using huge*huge
21785 and tiny*tiny rather than just returning constant infinity or zero
21786 for large exponents.
21787 * math/libm-test.inc (pow_test): Require overflow exceptions for
21788 applicable cases of large exponents.
21789
c483f6b4
JM
21790 [BZ #706]
21791 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21792 (__ieee754_pow): Use iterative multiplication algorithm only for
21793 integer exponents with absolute value below 1024. Check for odd
21794 integer exponents when using algorithm for real exponents.
21795 * math/libm-test.inc (pow_test): Add more tests.
21796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21797
d2de7579
JM
217982012-04-08 Joseph Myers <joseph@codesourcery.com>
21799
21800 [BZ #13705]
21801 * math/libm-test.inc (exp_test): Do not allow overflow exception
21802 on underflow test.
21803
f77f1232
AJ
218042012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21805
21806 [BZ #13705]
21807 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21808 instead of __kernel_standard_f.
21809
3884932b
MF
218102012-04-08 Mike Frysinger <vapier@gentoo.org>
21811
21812 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21813 * sysdeps/x86_64/memset_chk.S: Likewise.
21814
54472e9c
AJ
218152012-04-08 Andreas Jaeger <aj@suse.de>
21816
6ab0fbfc
AJ
21817 [BZ #10153]
21818 * manual/startup.texi (Environment Access): Describe return value
21819 for putenv and setenv.
21820
61efba8c
AJ
21821 [BZ #6895]
21822 * manual/filesys.texi (Directory Entries): Add description for
21823 DT_LNK.
21824
95c3f29a
AJ
21825 [BZ #6890]
21826 * manual/filesys.texi (Directory Entries): Clarify that it's file
21827 system not operating system in the description of DT_UNKNOWN.
21828
54472e9c
AJ
21829 [BZ #6578]
21830 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21831
624254b1
SC
218322012-04-08 Stephen Compall <s11@member.fsf.org>
21833
21834 [BZ #6649]
21835 * manual/llio.texi (Opening and Closing Files): Add cross
21836 reference to explain mode argument.
21837
1e4920e0
MF
218382012-04-07 Mike Frysinger <vapier@gentoo.org>
21839
21840 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21841 * sysdeps/x86_64/memset_chk.S: Likewise.
21842
5ed848f3
DM
218432012-04-07 David S. Miller <davem@davemloft.net>
21844
21845 * elf/elf.h (R_SPARC_WDISP10): Define.
21846 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21847 R_SPARC_SIZE32.
21848 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21849 R_SPARC_SIZE64 and R_SPARC_H34.
21850
96154cd8
CD
218512012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21852
21853 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21854 conditions and remove no longer applicable assertion.
21855
9904dc47
L
218562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21857
21858 * bits/byteswap.h: Include <features.h>.
21859 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21860 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21861
f8887d0a
L
218622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21863
21864 * bits/byteswap.h (__bswap_16): Removed.
21865 Include <bits/byteswap-16.h> to get __bswap_16.
21866 * sysdeps/i386/bits/byteswap.h: Likewise.
21867 * sysdeps/s390/bits/byteswap.h: Likewise.
21868 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21869 * bits/byteswap-16.h: New file.
21870 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21871 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21872 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21873 * string/Makefile (headers): Add bits/byteswap-16.h.
21874
62470f60
PP
218752012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21876
21877 [BZ #13895]
21878 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21879 extra indirection.
21880 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21881 * nss/tst-nss-static.c: New.
21882
4dad7bab
RM
218832012-04-06 Robert Millan <rmh@gnu.org>
21884
21885 [BZ #6486]
21886 * manual/llio.texi (File Position Primitive): lseek
21887 refers to WHENCE when it really means OFFSET.
21888
e9142a17
AJ
218892012-04-06 Andreas Jaeger <aj@suse.de>
21890
2c040eff
AJ
21891 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21892 strncmp declarations.
21893
e9142a17
AJ
21894 * abilist/libc.abilist: Add __poll and __ppoll.
21895
ff9f1c5f
DM
218962012-04-05 David S. Miller <davem@davemloft.net>
21897
dcd2ae90
DM
21898 * scripts/check-local-headers.sh: Accept a host triplet in the
21899 path matched by the exclude regexp.
21900
993eb054
DM
21901 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21902 definition.
21903 * sysdeps/powerpc/powerpc32/dl-machine.h
21904 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21905 * sysdeps/s390/s390-32/dl-machine.h
21906 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21907 * sysdeps/sparc/sparc32/dl-machine.h
21908 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21909 * sysdeps/sparc/sparc64/dl-machine.h
21910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21911
ff9f1c5f
DM
21912 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21913 lazy binding.
48e2e132 21914 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21915 undefined symbol errors.
21916
48e2e132 21917 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21918 DT_NEEDED entries.
21919
e80d6f94
MM
219202012-04-05 Michael Matz <matz@suse.de>
21921
21922 [BZ #13592]
21923 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21924
349fa79f
AJ
219252012-04-05 Andreas Jaeger <aj@suse.de>
21926
21927 [BZ #13908]
21928 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21929 comment.
21930
f402708f
KK
219312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21932
21933 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21934 which ROUND is no valid rounding mode.
21935
2ecccfc9
KK
219362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21937
21938 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21939 read again.
21940 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21941
8a53f50f
KK
219422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21943
21944 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21945 an exception using FPU order intentionally.
21946
219472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21948
21949 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21950 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21951 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21952 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21953
d653abb7
SJ
219542012-04-05 Simon Josefsson <simon@josefsson.org>
21955
21956 [BZ #12340]
21957 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21958 EINVAL when BUFLEN is too smal.
21959
c3b1bf7d
TS
219602012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21961
21962 [BZ #13553]
21963 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21964 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21965
b1aa60f3
AJ
219662012-04-03 Andreas Jaeger <aj@suse.de>
21967
c3b1bf7d 21968 [BZ #13938]
67f60a26
AJ
21969 * manual/setjmp.texi (System V contexts): Fix sentence.
21970
b1aa60f3
AJ
21971 [BZ #13926]
21972 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21973 New macro for this case.
21974 [!__GNUC__] (__bswap_64): New inline function for this case.
21975 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21976 * bits/byteswap.h: Likewise.
21977 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21978 ull, guard with __GLIBC_HAVE_LONG_LONG.
21979
21980 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21981 __GLIBC_HAVE_LONG_LONG.
21982
21983 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21984 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21985
39c59c35
TMQMF
219862012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21987
21988 [BZ #13691]
21989 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21990 inptr and inend, rather than using last_ch.
21991
135ffda8
DM
219922012-04-02 David S. Miller <davem@davemloft.net>
21993
21994 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21995 * stdio-common/printf-parse.h (read_int): Change return type to
21996 'int', return -1 on INT_MAX overflow.
21997 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21998 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21999 overflows INT_MAX. Check for overflow of in-format-string precision
22000 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22001 SIZE_MAX not INT_MAX for integer overflow test.
22002 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22003 skip the construct in the format string but do not record anything.
22004 * stdio-common/bug22.c: Adjust to test both width/prevision
22005 INT_MAX overflow as well as total length INT_MAX overflow. Check
22006 explicitly for proper errno values.
22007
228c019e
TS
220082012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22009
302cadd3
TS
22010 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22011 CHAR_MAX.
22012 * string/test-strcmp.c [! WIDE]: Likewise.
22013 * time/tst-mktime2.c: Likewise for INT_MAX.
22014 * string/test-string.h: #include <sys/param.h> for MIN.
22015
228c019e
TS
22016 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22017 * sysdeps/i386/init-first.c (init): Likewise.
22018 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22019 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22020 * sysdeps/sh/init-first.c (init): Likewise.
22021
cfa633f5
UD
220222012-04-01 Ulrich Drepper <drepper@gmail.com>
22023
22024 * po/ru.po: Update from translation team.
d1635ef8 22025 * po/vi.po: Likewise.
cfa633f5 22026
6cd0a5ea
SP
220272012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22028
22029 * resolv/nss_dns/dns-host.c: Merge copyright years.
22030
4b43400f
LD
220312012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22032
22033 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22034 Optimize memcpy with prefetch if
22035 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22036 src, dst pointers have unequal 16 byte alignments.
22037
48c41d04
SP
220382012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22039
22040 [BZ #13928]
22041 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22042 from a CNAME entry and return the minimum ttl for the query.
22043 (gaih_getanswer_slice): Likewise.
22044
b8dc394d
JL
220452012-03-30 Jeff Law <law@redhat.com>
22046
22047 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22048 due to long keys.
22049 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22050 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22051
2f5a5ed0
JL
22052 * resolv/nss_dns/dns-host.c: Update copyright year.
22053
1d39e359
UD
220542012-03-30 Ulrich Drepper <drepper@gmail.com>
22055
c030f70c 22056 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22057 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22058
1d39e359
UD
22059 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22060 comments for sendmmsg.
22061
220622012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22063
22064 [BZ #13691]
22065 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22066 with only 1 character between 0x0041 and 0x01b0.
22067 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22068 * wcsmbs/tst-mbsnrtowcs.c: New file.
22069
20fde227
DM
220702012-03-29 David S. Miller <davem@davemloft.net>
22071
22072 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22073 small copies by hand.
22074
984a4237
JL
220752012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22076
22077 [BZ #13761]
22078 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22079 _nss_compat_initgroups_dyn): Fall back to malloc/free
22080 for large group memberships.
22081
18c9d62b
DM
220822012-03-28 David S. Miller <davem@davemloft.net>
22083
88d85d4f
DM
22084 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22085 that branches into memcpy.
22086 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22087 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22088 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22089 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22091 bits.
22092 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22093 implementation too.
22094 * sysdeps/sparc/mempcpy.S: New file.
22095
e5aa83e1
DM
22096 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22097 the IFUNC routine in the libc case.
22098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22099
88570753
DM
22100 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22101 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22102 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22103 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22104 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22105 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22106 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22107 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22108
249d7567
DM
22109 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22110 loop to 256 bytes instead of 64 bytes and fix test signedness.
22111
18c9d62b
DM
22112 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22113 * sysdeps/sparc/sparc32/Makefile: rather than here...
22114 * sysdeps/sparc/sparc64/Makefile: and here.
22115
05f3d1f6
UD
221162012-03-28 Ulrich Drepper <drepper@gmail.com>
22117
22118 * malloc/mallocbug.c: Avoid warnings about unused variables.
22119
86ae07a8
JL
221202012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22121
22122 [BZ #13760]
22123 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22124 in the right place. Discard and retry query if response is
22125 larger than input buffer size.
22126
41bf21a1
JM
221272012-03-28 Joseph Myers <joseph@codesourcery.com>
22128
d6270972
JM
22129 [BZ #369]
22130 [BZ #2678]
22131 [BZ #3866]
22132 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22133 x for large integer exponent.
22134 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22135 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22136 sign of result as needed afterwards.
22137 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22138 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22139 result for underflowing pow the same as for overflow.
22140 (__kernel_standard_l): Handle powl overflow and underflow here
22141 rather than calling __kernel_standard.
22142 * math/libm-test.inc (pow_test): Add more tests.
22143
414fca03 22144 [BZ #3868]
41bf21a1
JM
22145 [BZ #13879]
22146 [BZ #13910]
22147 [BZ #13911]
22148 [BZ #13912]
22149 [BZ #13913]
22150 [BZ #13915]
22151 [BZ #13916]
22152 [BZ #13917]
22153 [BZ #13918]
22154 [BZ #13919]
22155 [BZ #13920]
22156 [BZ #13921]
22157 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22158 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22159 (__kernel_standard_l): New function.
22160 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22161 __kernel_standard.
22162 * math/w_acosl.c (__acosl): Likewise.
22163 * math/w_asinl.c (__asinl): Likewise.
22164 * math/w_atan2l.c (__atan2l): Likewise.
22165 * math/w_atanhl.c (__atanhl): Likewise.
22166 * math/w_coshl.c (__coshl): Likewise.
22167 * math/w_exp10l.c (__exp10l): Likewise.
22168 * math/w_exp2l.c (__exp2l): Likewise.
22169 * math/w_fmodl.c (__fmodl): Likewise.
22170 * math/w_hypotl.c (__hypotl): Likewise.
22171 * math/w_j0l.c (__j0l, __y0l): Likewise.
22172 * math/w_j1l.c (__j1l, __y1l): Likewise.
22173 * math/w_jnl.c (__jnl, __ynl): Likewise.
22174 * math/w_lgammal.c (__lgammal): Likewise.
22175 * math/w_log10l.c (__log10l): Likewise.
22176 * math/w_log2l.c (__log2l): Likewise.
22177 * math/w_logl.c (__logl): Likewise.
22178 * math/w_powl.c (__powl): Likewise.
22179 * math/w_remainderl.c (__remainderl): Likewise.
22180 * math/w_scalbl.c (sysv_scalbl): Likewise.
22181 * math/w_sinhl.c (__sinhl): Likewise.
22182 * math/w_sqrtl.c (__sqrtl): Likewise.
22183 * math/w_tgammal.c (__tgammal): Likewise.
22184 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22185 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22186 * math/libm-test.inc (acos_test): Add more tests.
22187 (acosh_test): Likewise.
22188 (asin_test): Likewise.
22189 (atanh_test): Likewise.
22190 (exp_test): Likewise.
22191 (exp10_test): Likewise.
22192 (exp2_test): Likewise.
22193 (expm1_test): Likewise.
22194 (lgamma_test): Likewise.
22195 (log_test): Likewise.
22196 (log10_test): Likewise.
22197 (log1p_test): Likewise.
22198 (log2_test): Likewise.
22199 (pow_test): Do not allow some spurious overflow exceptions.
22200 (sqrt_test): Add more tests.
22201 (tgamma_test): Likewise.
22202 (y0_test): Likewise.
22203 (y1_test): Likewise.
22204 (yn_test): Likewise.
22205
dd62fda6
AB
222062012-03-27 Anton Blanchard <anton@samba.org>
22207
22208 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22209 MAP_HUGETLB.
22210 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22211 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22212 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22213
1e3cdfda
AJ
222142012-03-27 David S. Miller <davem@davemloft.net>
22215
b855ab85
DM
22216 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22217
1e3cdfda
AJ
22218 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22219 have-as-vis3 check.
22220
222212012-03-27 Andreas Jaeger <aj@suse.de>
22222
22223 * sysdeps/x86_64/elf/configure.in: Moved to ...
22224 * sysdeps/x86_64/configure.in: ... here.
22225 * sysdeps/x86_64/elf/start.S: Moved to ...
22226 * sysdeps/x86_64/start.S: ... here.
22227 * sysdeps/x86_64/elf/configure: Delete.
22228
22229 * sysdeps/x86_64/configure.in: Merge contents from
22230 sysdeps/i386/configure.in (without i686 check).
22231
22232 * sysdeps/i386/elf/Versions: Merge into ...
22233 * sysdeps/i386/Versions: ... this.
22234 * sysdeps/i386/elf/Versions: Delete file.
22235 * sysdeps/i386/elf/start.S: Moved to ...
22236 * sysdeps/i386/start.S: ...here.
22237 * sysdeps/i386/elf/configure.in: Merge into...
22238 * sysdeps/i386/configure.in: ...here.
22239 * sysdeps/i386/elf/configure.in: Delete file.
22240 * sysdeps/i386/elf/configure: Delete file.
22241
22242 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22243 * debug/backtracesyms.c: ... here.
22244 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22245 * debug/backtracesymsfd.c: ... here.
22246 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22247 * sysdeps/generic/ifunc-sel.h: ... here.
22248
22249 * sysdeps/unix/i386/start.c: Delete file.
22250 * sysdeps/unix/sparc/start.c: Delete file.
22251 * sysdeps/unix/start.c: Delete file.
22252
22253 * sysdeps/sh/elf/configure.in: Moved to ...
22254 * sysdeps/sh/configure.in: ... here.
22255 * sysdeps/sh/elf/start.S: Moved to ...
22256 * sysdeps/sh/start.S: ... here.
22257 * sysdeps/sh/elf/configure: Delete file.
22258
22259 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22260 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22261 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22262 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22263 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22264 * sysdeps/powerpc/powerpc64/start.S: here.
22265 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22266 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22267 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22268 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22269 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22270
22271 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22272 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22273 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22274 * sysdeps/powerpc/powerpc32/start.S: ... here.
22275 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22276 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22277 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22278
22279 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22280 * sysdeps/powerpc/ifunc-sel.h: ... here.
22281 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22282 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22283
22284 * sysdeps/sparc/elf/configure.in: Moved to ...
22285 * sysdeps/sparc/configure.in: ... here.
22286 * sysdeps/sparc/elf/configure: Delete file.
22287 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22288 * sysdeps/sparc/sparc32/start.S: ... here.
22289 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22290 * sysdeps/sparc/sparc64/start.S: ... here.
22291 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22292 * sysdeps/sparc/sparc32/Makefile: ... this.
22293 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22294 * sysdeps/sparc/sparc64/Makefile: ... this.
22295
22296 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22297 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22298 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22299 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22300 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22301 * sysdeps/s390/s390-32/setjmp.S: ... here.
22302 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22303 * sysdeps/s390/s390-32/configure.in: ... here.
22304 * sysdeps/s390/s390-32/elf/configure: Delete file.
22305 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22306 * sysdeps/s390/s390-32/start.S: ... here.
22307
22308 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22309 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22310 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22311 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22312 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22313 * sysdeps/s390/s390-64/setjmp.S: ... here.
22314 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22315 * sysdeps/s390/s390-64/configure.in: ... here
22316 * sysdeps/s390/s390-64/elf/configure: Delete file.
22317 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22318 * sysdeps/s390/s390-64/start.S: ... here.
22319 * sysdeps/s390/s390-64/elf/configure: Delete.
22320
22321 * configure.in: Remove support for elf directories in sysdeps.
22322
22323 * configure: Regenerated.
22324 * sysdeps/i386/configure: Regenerated.
22325 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22326 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22327 * sysdeps/s390/s390-32/configure: Regenerated.
22328 * sysdeps/s390/s390-64/configure: Regenerated.
22329 * sysdeps/sh/configure: Regenerated.
22330 * sysdeps/sparc/configure: Regenerated.
22331 * sysdeps/x86_64/configure: Regenerated.
22332
a3f61311
AS
223332012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22334
c876e002
AS
22335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22336
a3f61311
AS
22337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22338 denormal result into account.
22339
ac4c54f0
RM
223402012-03-25 Roland McGrath <roland@hack.frob.com>
22341
22342 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22343 Reported by Allan McRae <allan@archlinux.org>.
22344
6a9b9c02
JL
223452012-03-23 Jeff Law <law@redhat.com>
22346
22347 * nss/getnssent.c (__nss_getent): Fix typo.
22348
4c42a0c1
DM
223492012-03-23 David S. Miller <davem@davemloft.net>
22350
22351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22352
1532c7ac
L
223532012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22354
22355 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22356 to pad to uint64_t for each field.
22357 (dl_tls_index): Replace unsigned long with uint64_t.
22358
3ff42526
PP
223592012-03-23 Daniel Jacobowitz <dmj@google.com>
22360 Paul Pluzhnikov <ppluzhnikov@google.com>
22361
22362 [BZ #6528]
22363 * grp/Makefile (otherlibs): Don't set it.
22364 * inet/Makefile (otherlibs): Likewise.
22365 * login/Makefile (otherlibs): Likewise.
22366 * nscd/Makefile (otherlibs): Likewise.
22367 * posix/Makefile (otherlibs): Likewise.
22368 * pwd/Makefile (otherlibs): Likewise.
22369 * rt/Makefile (otherlibs): Likewise.
22370 * sunrpc/Makefile (otherlibs): Likewise.
22371 * nss/Makefile (otherlibs): Likewise.
22372 Add libnss_files to routines and static-only-routines.
22373 ($(objpfx)getent): Remove rule.
22374 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22375 static-only-routines.
22376
7c69cd14
JM
223772012-03-22 Joseph Myers <joseph@codesourcery.com>
22378
22379 [BZ #13892]
22380 * math/s_cexp.c: Include <float.h>.
22381 (__cexp): Handle exp result overflowing not necessarily
22382 overflowing both real and imaginary parts of result.
22383 * math/s_cexpf.c: Likewise.
22384 * math/s_cexpl.c: Likewise.
22385 * math/libm-test.inc (cexp_test): Add more tests.
22386 * sysdeps/i386/fpu/libm-test-ulps: Update.
22387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22388
81b035fe
L
223892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22390
22391 * include/link.h (ELFW): New macro.
22392 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22393 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22394
1da7940c
L
223952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22396
22397 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22398 with uint64_t.
22399
b749dbb9
L
224002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22401
22402 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22403 declaration.
22404 (struct La_x32_retval): Likewise.
22405
2ff87f3f
L
224062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22407
22408 * sysdeps/x86_64/preconfigure.in: New file.
22409 * sysdeps/x86_64/preconfigure: New generated file.
22410
c0df8e69
JM
224112012-03-22 Joseph Myers <joseph@codesourcery.com>
22412
48e44791
JM
22413 [BZ #13824]
22414 * math/e_exp2l.c: Include <float.h>.
22415 (__ieee754_exp2l): Handle overflow and underflow cases
22416 separately. Only pass fractional part of argument to
22417 __ieee754_expl.
22418 * math/libm-test.inc (exp2_test): Add more tests.
22419
c0df8e69
JM
22420 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22421 negating x to take absolute value.
22422 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22423 Likewise.
22424 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22425 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22426 Likewise.
22427 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22428 computing low part if x was negated.
22429 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22430
c8e43ba7
L
224312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22432
22433 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22434 la_x32_gnu_pltexit.
22435 (pltexit): Cast int_retval to ptrdiff_t.
22436 * elf/tst-auditmod3b.c: Likewise.
22437 * elf/tst-auditmod4b.c: Likewise.
22438 * elf/tst-auditmod5b.c: Likewise.
22439 * elf/tst-auditmod6b.c: Likewise.
22440 * elf/tst-auditmod6c.c: Likewise.
22441 * elf/tst-auditmod7b.c: Likewise.
22442
22443 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22444 and x32_gnu_pltexit.
22445
22446 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22447 __ELF_NATIVE_CLASS.
22448 (La_x32_regs): New macro.
22449 (La_x32_retval): Likewise.
22450 (la_x32_gnu_pltenter): New function prototype.
22451 (la_x32_gnu_pltexit): Likewise.
22452
7998fa78
AS
224532012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22454
dcb33988
AS
22455 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22456 exponent.
22457
233fc563
AS
22458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22459
7998fa78
AS
22460 * configure.in (libc_cv_cc_nofma): Check for option to disable
22461 generation of FMA instructions.
22462 * configure: Regenerate.
22463 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22464 * sysdeps/ieee754/dbl-64/Makefile: New file.
22465 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22466 Remove brandred-fma4.
22467 (CFLAGS-brandred-fma4.c): Remove.
22468 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22469 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22470 define.
22471 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22472 define.
22473
8e95c99a
L
224742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22475
22476 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22477 LLONG_MAX != LONG_MAX.
22478 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22479 (_fitoa_word): Likewise.
22480 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22481 LLONG_MAX != LONG_MAX.
22482 * stdio-common/_itowa.h: Include <_itoa.h>.
22483 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22484 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22485 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22486 only if not defined.
22487 (_ITOA_WORD_TYPE): Likewise.
22488 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22489 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22490
6f4db457
DM
224912012-03-21 David S. Miller <davem@davemloft.net>
22492
22493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22494
7785fe5a
L
224952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22496
22497 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22498 of x86_64 when setting libc_cv_slibdir, libdir and
22499 libc_cv_localedir.
22500 * sysdeps/unix/sysv/linux/configure: Regenerated.
22501
4535cd55
JM
225022012-03-21 Joseph Myers <joseph@codesourcery.com>
22503
22504 * manual/lang.texi (Old Varargs): Remove section.
22505 (How Variadic): Update menu.
22506 (va_start): Do not mention varargs.h.
22507
17228132
TS
225082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22509 Joseph Myers <joseph@codesourcery.com>
22510
22511 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22512 link test.
22513 * configure: Regenerated.
22514
8149f976
TS
225152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22516
05f3d1f6
UD
22517 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22518 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22519 conformtest.pl
8149f976 22520
1a4ac776
JM
225212012-03-21 Joseph Myers <joseph@codesourcery.com>
22522
be22ce65
JM
22523 * NOTES: Remove.
22524 * Makefile (files-for-dist): Remove NOTES.
22525 (NOTES): Remove rule.
22526 * README: Don't refer to NOTES.
22527 * manual/creature.texi: Don't include macros.texi.
22528 * manual/intro.texi (creature.texi): Remove comment referring to
22529 NOTES.
22530
40b601fb
JM
22531 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22532 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22533 * configure: Regenerated.
22534 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22535 LIBC_TRY_CC_OPTION.
22536 (libc_cv_as_i686): Likewise.
22537 (libc_cv_cc_avx): Likewise.
22538 (libc_cv_cc_sse2avx): Likewise.
22539 (libc_cv_cc_fma4): Likewise.
22540 (libc_cv_cc_novzeroupper): Likewise.
22541 * sysdeps/i386/configure: Regenerated.
22542
1a4ac776
JM
22543 [BZ #13883]
22544 * sysdeps/i386/fpu/s_cexp.S: Remove.
22545 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22546 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22547 * math/libm-test.inc (cexp_test): Add more tests.
22548 * sysdeps/i386/fpu/libm-test-ulps: Update.
22549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22550
a458e7fe
AM
225512012-03-21 Allan McRae <allan@archlinux.org>
22552
22553 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22554
0cb7efc5
JM
225552012-03-21 Joseph Myers <joseph@codesourcery.com>
22556
22557 [BZ #13871]
22558 * math/w_exp2.c: Do not include <float.h>.
22559 (o_threshold, u_threshold): Remove.
22560 (__exp2): Calculate result before checking finiteness and calling
22561 __kernel_standard.
22562 * math/w_exp2f.c: Likewise.
22563 * math/w_exp2l.c: Likewise.
22564 * math/libm-test.inc (exp2_test): Require overflow exception for
22565 1e6 input.
2460d3aa
JM
22566
22567 [BZ #3866]
22568 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22569 range of signed 64-bit integers before using fistpll. Remove
22570 checks for whether integers fit in mantissa bits.
22571 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22572 the range of signed 32-bit integers before using fistpl. Remove
22573 checks for whether integers fit in mantissa bits.
22574 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22575 (__ieee754_powl): Test for y outside the range of signed 64-bit
22576 integers before using fistpll. Reduce 64-bit values to 63-bit
22577 ones as needed.
22578 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22579 divide-by-zero is raised for zero to large negative powers.
22580 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22581 (__ieee754_powl): Test for y outside the range of signed 64-bit
22582 integers before using fistpll. Reduce 64-bit values to 63-bit
22583 ones as needed.
22584 * math/libm-test.inc (pow_test): Add more tests.
22585
eb96ffb0
L
225862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22587
22588 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22589 <stdio-common/_itoa.h>.
22590 * debug/segfault.c: Likewise.
22591 * elf/dl-cache.c: Likewise.
22592 * elf/dl-minimal.c: Likewise.
22593 * elf/dl-misc.c: Likewise.
22594 * elf/dl-sysdep.c: Likewise.
22595 * elf/dl-version.c: Likewise.
22596 * elf/rtld.c: Likewise.
22597 * hurd/hurdsock.c: Likewise.
22598 * hurd/lookup-retry.c: Likewise.
22599 * malloc/malloc.c: Likewise.
22600 * malloc/mtrace.c: Likewise.
22601 * nscd/nscd_getgr_r.c: Likewise.
22602 * nscd/nscd_getpw_r.c: Likewise.
22603 * nscd/nscd_getserv_r.c: Likewise.
22604 * posix/getopt_init.c: Likewise.
22605 * posix/wordexp.c: Likewise.
22606 * stdio-common/_itoa.c: Likewise.
22607 * stdio-common/printf_fphex.c: Likewise.
22608 * stdio-common/vfprintf.c: Likewise.
22609 * string/_strerror.c: Likewise.
22610 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22611 * sysdeps/i386/i686/hp-timing.h: Likewise.
22612 * sysdeps/mach/_strerror.c: Likewise.
22613 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22614 * sysdeps/mach/hurd/sethostid.c: Likewise.
22615 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22616 * sysdeps/mach/xpg-strerror.c: Likewise.
22617 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22618 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22619 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22620 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22621 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22622 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22623 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22624 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22625 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22626 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22627 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22628 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22629 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22630 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22631 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22632 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22633 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22634 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22635 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22636 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22637 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22638
22639 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22640
22641 * stdio-common/_itoa.h: Moved to ...
22642 * sysdeps/generic/_itoa.h: Here.
22643
22644 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22645
22646 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22647 instead of "_itoa.h" and "_itowa.h".
22648 * stdio-common/vfprintf.: Likewise.
22649
d1af992d
L
226502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22651
22652 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22653 <bits/wordsize.h>.
22654 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22655 (__signbit): Likwise.
22656 (llrintf): Likwise.
22657 (llrint): Likwise.
22658
114883e0
L
226592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22660
22661 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22662 __WORDSIZE != 64.
22663
c135cc1b
JM
226642012-03-20 Joseph Myers <joseph@codesourcery.com>
22665
22666 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22667 OVERFLOW_EXCEPTION_OK.
22668 * math/libm-test.inc ("Philosophy"): Update comment about
22669 exception testing.
22670 (OVERFLOW_EXCEPTION): Define.
22671 (OVERFLOW_EXCEPTION_OK): Likewise.
22672 (INVALID_EXCEPTION_OK): Renumber.
22673 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22674 (IGNORE_ZERO_INF_SIGN): Likewise.
22675 (test_exceptions): Handle FE_OVERFLOW.
22676 (exp10_test): Expect overflow exceptions.
22677 (exp2_test): Likewise.
22678 (expm1_test): Likewise.
22679 (nextafter_test): Likewise.
22680 (pow_test): Likewise.
22681 (scalbn_test): Likewise.
22682 (scalbln_test): Likewise.
22683
95443d88
L
226842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22685
22686 * sysdeps/x86_64/bits/atomic.h
22687 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22688 64bit integer.
22689 (atomic_exchange_acq): Likewise.
22690 (__arch_exchange_and_add_body): Likewise.
22691 (__arch_add_body): Likewise.
22692 (atomic_add_negative): Likewise.
22693 (atomic_add_zero): Likewise.
22694
490df6c4
L
226952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22696
c2722551 22697 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22698 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22699
5e52b189
L
227002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22701
22702 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22703 Check __x86_64__ instead of __WORDSIZE.
22704
a9879d4c
L
227052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22706
22707 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22708
5df98260
DM
227092012-03-19 David S. Miller <davem@davemloft.net>
22710
e1497744
DM
22711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22712
5df98260
DM
22713 * sysdeps/sparc/fpu/fenv_private.h: New file.
22714 * sysdeps/sparc/fpu/math_private.h: Use it.
22715 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22716 Remove.
22717 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22718 (libc_feholdexcept_setroundl): Remove.
22719 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22720 Remove.
22721 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22722 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22723
b4c35121
L
227242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22725
22726 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22727 int64_t instead of long int.
22728 (INSERT_WORDS64): Likwise.
22729
56965fd7
L
227302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22731
22732 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22733 _Unwind_GetCFA return to _Unwind_Ptr first.
22734
83d1aec8
JM
227352012-03-19 Joseph Myers <joseph@codesourcery.com>
22736
1897ad44
JM
22737 [BZ #13629]
22738 * math/s_clog.c: Include <float.h>.
22739 (__clog): Scale large or subnormal inputs.
22740 * math/s_clogf.c: Likewise.
22741 * math/s_clogl.c: Likewise.
22742 * math/s_clog10.c: Include <float.h>.
22743 (M_LOG10_2): Define.
22744 (__clog10): Scale large or subnormal inputs.
22745 * math/s_clog10f.c: Likewise.
22746 * math/s_clog10l.c: Likewise.
22747 * math/libm-test.inc (clog_test): Add more tests.
22748 (clog10_test): Likewise.
22749 * sysdeps/i386/fpu/libm-test-ulps: Update.
22750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22751
7726d6a9
JM
22752 [BZ #11451]
22753 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22754 x and y.
22755 * math/libm-test.inc (atan2_test): Add another test.
22756
83d1aec8
JM
22757 * Makerules (common-objdir-compile): Remove.
22758 * sysdeps/unix/Makefile (config-generated): Do not add
22759 $(unix-generated) to variable.
22760 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22761 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22762 Remove rule.
22763 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22764 Likewise.
22765 [generic bits/local_lim.h] (before-compile): Do not append to
22766 variable.
22767 [generic bits/local_lim.h] (common-generated): Likewise.
22768 [generic sys/param.h] (before-compile): Do not append to variable.
22769 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22770 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22771 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22772 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22773 include.
22774 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22775 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22776 [generic sys/param.h] ($(addprefix
22777 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22778 [generic sys/param.h] (common-generated): Do not append to
22779 variable.
22780 [generic sys/param.h] (sysdep_headers): Likewise.
22781 [generic bits/errno.h] (before-compile): Do not append to
22782 variable.
22783 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22784 rule.
22785 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22786 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22787 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22788 [generic bits/errno.h] (common-generated): Do not append to
22789 variable.
22790 [generic bits/ioctls.h] (before-compile): Do not append to
22791 variable.
22792 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22793 rule.
22794 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22795 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22796 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22797 rule.
22798 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22799 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22800 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22801 [generic bits/ioctls.h] (common-generated): Do not append to
22802 variable.
22803 [generic sys/syscall.h] (syscall.h): Remove variable.
22804 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22805 rule.
22806 [generic sys/syscall.h] (before-compile): Do not append to
22807 variable.
22808 [generic sys/syscall.h] (common-generated): Likewise.
22809 * sysdeps/unix/errnos-tmpl.c: Remove file.
22810 * sysdeps/unix/errnos.awk: Likewise.
22811 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22812 * sysdeps/unix/ioctls.awk: Likewise.
22813 * sysdeps/unix/mk-local_lim.c: Likewise.
22814 * sysdeps/unix/snarf-ioctls: Likewise.
22815
4851a949
RH
228162012-03-19 Richard Henderson <rth@twiddle.net>
22817
bd37f2ee
RH
22818 * sysdeps/i386/fpu/fenv_private.h: New file.
22819 * sysdeps/i386/fpu/math_private.h: Use it.
22820 (math_opt_barrier, math_force_eval): Remove.
22821 (libc_feholdexcept_setround_53bit): Remove.
22822 (libc_feupdateenv_53bit): Remove.
22823 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22824 (math_opt_barrier, math_force_eval): Remove.
22825 (libc_feholdexcept): Remove.
22826 (libc_feholdexcept_setround): Remove.
22827 (libc_fetestexcept, libc_fesetenv): Remove.
22828 (libc_feupdateenv_test): Remove.
22829 (libc_feupdateenv, libc_feholdsetround): Remove.
22830 (libc_feresetround): Remove.
22831
d0adc922
RH
22832 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22833 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22834
0fe0f1f8
RH
22835 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22836 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22837 (libc_feupdateenv_testl): New.
22838 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22839 (libc_feupdateenv_testf): New.
22840 (libc_feupdateenv): Use libc_feupdateenv_test.
22841 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22842 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22843
eb92c487
RH
22844 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22845 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22846 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22847 (libc_feresetround_noex): New.
22848 (libc_feresetround_noexf): New.
22849 (libc_feresetround_noexl): New.
22850 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22851 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22852 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22853 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22854 SET_RESTORE_ROUND.
22855 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22856 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22857 (__cos): Likewise.
22858 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22859 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22860 SET_RESTORE_ROUND_NOEX.
22861 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22862 SET_RESTORE_ROUND_NOEXF.
22863 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22864 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22865 (libc_feholdsetroundf): New.
22866 (libc_feresetround, libc_feresetroundf): New.
22867
7d2e8012
RH
22868 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22869 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22870 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22871
b4dabbb4
RH
22872 * sysdeps/generic/math_private.h: Include <fenv.h>.
22873 (default_libc_feholdexcept): New.
22874 (default_libc_feholdexcept_setround): New.
22875 (default_libc_fesetenv, default_libc_feupdateenv): New.
22876 (libc_feholdexcept): Only define if undefined.
22877 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22878 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22879 (libc_feholdexcept_setroundl): Likewise.
22880 (libc_feholdexcept_setround_53bit): Likewise.
22881 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22882 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22883 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22884 (libc_feupdateenv_53bit): Likewise.
22885 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22886 (libc_feholdexcept): Convert from macro to inline function.
22887 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22888 (libc_fesetenv, libc_feupdateenv): Likewise.
22889
4851a949
RH
22890 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22891 not previously defined.
22892 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22893 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22894 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22895 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22896 * sysdeps/ieee754/flt-32/math_private.h: New file.
22897 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22898 math_private.h below SET_FLOAT_WORD.
22899 (__isnan, __isinf_ns, __finite): Remove.
22900 (__isnanf, __isinf_nsf, __finitef): Remove.
22901
e79d442e
AS
229022012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22903
22904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22905
90b80344
DM
229062012-03-17 David S. Miller <davem@davemloft.net>
22907
22908 [BZ #6471]
22909 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22910 for 2.16.
22911
edc21804
DM
229122012-03-16 David S. Miller <davem@davemloft.net>
22913
77e927af
DM
22914 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22915 warnings.
22916
374976dd
DM
22917 [BZ #6471]
22918 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22919 properly.
22920 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22921 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22922 sysdep_routines when subdir is sysvipc.
22923 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22924 __getshmlba helper.
22925
edc21804
DM
22926 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22927
473c3ef3
L
229282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22929
22930 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22931 [__LP64__].
22932
eb0f39b6
L
229332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22934
22935 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22936 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22937 (__lround): Renamed to ...
22938 (__llround): This. Replace long int with long long int.
22939 Define lround functions as aliases of llround functions.
22940 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22941
6b6cd74b
L
229422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22943
22944 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22945 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22946 adresses to uintptr_t. Replace "long int" and "unsigned long
22947 int" with "greg_t" on va_arg.
22948
f1a77b01
L
229492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22950
22951 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22952 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22953
22954 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22955 Move e_machine check before EI_CLASS check. Handle x32
22956 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22957 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22958 SKIP_EM_IA_64 and include
22959 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22960
22961 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22962 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22963 (add_system_dir): New macro.
22964
22965 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22966 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22967
11b90b9f
JM
229682012-03-16 Joseph Myers <joseph@codesourcery.com>
22969
c36e1d23
JM
22970 [BZ #2551]
22971 [BZ #2552]
22972 [BZ #2553]
22973 [BZ #2554]
22974 [BZ #2562]
22975 [BZ #2563]
22976 [BZ #2565]
22977 [BZ #2566]
22978 [BZ #2576]
22979 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22980 (y0): Likewise.
22981 * math/w_j0f.c (j0f): Likewise.
22982 (y0f): Likewise.
22983 * math/w_j0l.c (__j0l): Likewise.
22984 (__y0l): Likewise.
22985 * math/w_j1.c (j1): Likewise.
22986 (y1): Likewise.
22987 * math/w_j1f.c (j1f): Likewise.
22988 (y1f): Likewise.
22989 * math/w_j1l.c (__j1l): Likewise.
22990 (__y1l): Likewise.
22991 * math/w_jn.c (jn): Likewise.
22992 (yn): Likewise.
22993 * math/w_jnf.c (jnf): Likewise.
22994 (ynf): Likewise.
22995 * math/w_jnl.c (__jnl): Likewise.
22996 (__ynl): Likewise.
22997 * math/libm-test.inc (j0_test): Add more tests.
22998 (j1_test): Likewise.
22999 (jn_test): Likewise. Add trailing semicolon to existing test.
23000 (y0_test): Likewise.
23001 (y1_test): Likewise.
23002 * sysdeps/i386/fpu/libm-test-ulps: Update.
23003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23004
11b90b9f
JM
23005 [BZ #13851]
23006 [BZ #13854]
23007 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23008 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23009 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23010 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23011 (__tanl): Set errno for infinite argument.
23012 * sysdeps/i386/fpu/mptan.c: Remove.
23013 * sysdeps/i386/fpu/s_tan.S: Likewise.
23014 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23015 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23016 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23017 * math/libm-test.inc (tan_test): Add more tests and enable more
23018 tests for double and long double.
23019 * sysdeps/i386/fpu/libm-test-ulps: Update.
23020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23021
6a1bd2a1
JK
230222012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23023
23024 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23025 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23026
10a803e0
RM
230272012-03-16 Roland McGrath <roland@hack.frob.com>
23028
23029 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23030 * configure.in: Use it for both main tree and add-ons.
23031 * configure: Regenerated.
23032
f196c7f7
L
230332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23034
23035 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23036
8848d99d
JM
230372012-03-16 Joseph Myers <joseph@codesourcery.com>
23038
96cbe7f4
JM
23039 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23040 in comment.
23041
8848d99d
JM
23042 [BZ #13851]
23043 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23044 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23045 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23046 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23047 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23048 infinite argument.
23049 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23051 != 0 for prec == 2.
23052 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23053 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23054 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23055 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23056 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23057 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23058 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23059 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23060 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23061 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23062 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23063 * math/libm-test.inc (cos_test): Add more tests and enable more
23064 tests for long double.
23065 (sin_test): Likewise.
23066 (sincos_test): Likewise.
23067 * sysdeps/i386/fpu/libm-test-ulps: Update.
23068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23069
dd7f4703
DM
230702012-03-16 David S. Miller <davem@davemloft.net>
23071
23072 * sysdeps/sparc/fpu/math_private.h: New file.
23073
006f1daa
DM
230742012-03-15 David S. Miller <davem@davemloft.net>
23075
c0c83bc8
DM
23076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23077 file.
e6a62e18 23078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23080 file.
e6a62e18
DM
23081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23086 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23087 sysdep routines.
23088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23089
88cb87d9
DM
23090 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23091 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23092
006f1daa 23093 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23095 sparc-ifunc.h
006f1daa 23096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23098 Likewise.
23099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23100 Likewise.
006f1daa
DM
23101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23105 Likewise.
006f1daa
DM
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23111 Likewise.
23112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23113 Likewise.
006f1daa
DM
23114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23118 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23120 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23121 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23128 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23133 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23134 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23136 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23137 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23138
11e0098e
AS
231392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23140
23141 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23142 scaling.
23143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23144
e85b09d0
AJ
231452012-03-15 Andreas Jaeger <aj@suse.de>
23146
23147 [BZ #13852]
23148 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23149 ieee754/flt-32 implementation for sin, cos and sincos.
23150 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23151 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23152 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23153 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23154 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23155 ieee754/flt-32 implementation for tan.
23156
23157 * math/libm-test.inc (cos_test): Enable some large input tests for
23158 float as well
23159 (sin_test): Likewise.
23160 (sincos_test): Likewise.
23161 (tan_test): Add tests for large input.
23162
23163 * sysdeps/i386/fpu/libm-test-ulps: Update.
23164
81c64153
AJ
231652012-03-15 Andreas Jaeger <aj@suse.de>
23166
23167 [BZ #13658]
23168 * math/libm-test.inc (cos_test): Add more test cases.
23169 (sin_test): Likewise.
23170 (sincos_test): Likewise.
23171
7bbfa5c6
AJ
231722012-03-15 Andreas Jaeger <aj@suse.de>
23173
23174 [BZ #13837]
23175 * math/libm-test.inc (cos_test): Add a test case for large input
23176 value.
23177 (sin_test): Likewise.
23178 (sincos_test): Likewise.
23179
231802012-03-15 Andreas Jaeger <aj@suse.de>,
23181 Joseph Myers <joseph@codesourcery.com>
23182
23183 [BZ #13658]
0671f479 23184 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23185 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23186 * sysdeps/i386/fpu/branred.c: Likewise.
23187 * sysdeps/i386/fpu/dosincos.c: Likewise.
23188 * sysdeps/i386/fpu/mpa.c: Likewise.
23189 * sysdeps/i386/fpu/s_cos.S: Likewise.
23190 * sysdeps/i386/fpu/s_sin.S: Likewise.
23191 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23192 * sysdeps/i386/fpu/sincos32.c: Likewise.
23193
23194 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23195 Define.
23196 (libc_feupdateenv_53bit): Define.
23197 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23198 Define.
23199 (libc_feupdateenv_53bit): Define.
23200
23201 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23202 53 bit (without extend i386 double precision).
23203
23204 * math/libm-test.inc (sincos_test): Add tests for large input.
23205 (sin): Likewise.
23206 (cos): Likewise.
23207
23208 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23209
9cad04ea
AS
232102012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23211
23212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23213
f7062b9a
DM
232142012-03-15 David S. Miller <davem@davemloft.net>
23215
23216 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23217 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23218 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23219 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23232 file.
f7062b9a 23233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23235 file.
f7062b9a 23236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23238 file.
f7062b9a 23239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23241 file.
f7062b9a
DM
23242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23243 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23244 fmin/fmax sysdep routines.
23245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23246
7bd951ff
DM
232472012-03-14 David S. Miller <davem@davemloft.net>
23248
559398ab
DM
23249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23253 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23254 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23269 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23270 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23274 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23277 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23278 routines.
23279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23280 file.
559398ab 23281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23283 file.
559398ab 23284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23286 file.
559398ab 23287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23289 file.
559398ab 23290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23292 file.
559398ab 23293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23295 file.
23296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23297 file.
23298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23299 file.
23300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23301 file.
23302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23303 New file.
23304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23305 file.
23306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23307 file.
559398ab 23308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23310 file.
559398ab 23311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23313 file.
559398ab 23314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23316 file.
559398ab 23317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23319 VIS3 routines.
559398ab
DM
23320
23321 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23322 New file.
23323
5a1c1e32
DM
23324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23325
eae47a36
DM
23326 * sysdeps/sparc/configure.in: New file.
23327 * sysdeps/sparc/configure: Generate.
23328 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23329 * configure: Regenerate.
23330 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23331 * config.make.in (have-as-vis3): New.
23332 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23333 available use -Av9d instead of -Av9a.
23334 * sysdeps/sparc/sparc64/Makefile: Likewise.
23335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23337 New file.
23338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23339 file.
23340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23341 New file.
23342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23343 file.
eae47a36
DM
23344 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23345 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23346 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23349
c0c83bc8
DM
23350 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23351 fzeros/fnegs to load 0x80000000 into a float register instead of
23352 using the stack.
7bd951ff
DM
23353 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23354
bd951ccb
JM
233552012-03-14 Joseph Myers <joseph@codesourcery.com>
23356
23357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23358 bits/syscall.h.
23359 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23360 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23361 ($(inst_includedir)/bits/syscall.h): Remove rule.
23362 ($(objpfx)bits/syscall.d): Include instead of
23363 $(objpfx)syscall-list.d.
23364 (generated): Change syscall-list.h and syscall-list.d to
23365 bits/syscall.h and bits/syscall.d.
23366
bb4e6db2
RM
233672012-03-14 Roland McGrath <roland@hack.frob.com>
23368
23369 [BZ #13846]
23370 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23371
aa4a2ae1
JM
233722012-03-14 Joseph Myers <joseph@codesourcery.com>
23373
e456826d
JM
23374 [BZ #13841]
23375 * math/s_csqrt.c: Include <float.h>.
23376 (__csqrt): Scale large or subnormal inputs.
23377 * math/s_csqrtf.c: Likewise.
23378 * math/s_csqrtl.c: Likewise.
23379 * math/libm-test.inc (csqrt_test): Add more tests.
23380 * sysdeps/i386/fpu/libm-test-ulps: Update.
23381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23382
aa4a2ae1
JM
23383 [BZ #13840]
23384 * math/libm-test.inc (hypot_test): Add more tests.
23385
7c10fd35
DM
233862012-03-13 David S. Miller <davem@davemloft.net>
23387
23388 [BZ #13840]
23389 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23390 double-precision for the calculation instead of scaling.
23391
f453b98b
JM
233922012-03-13 Joseph Myers <joseph@codesourcery.com>
23393
23394 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23395 manipulate bits before adding and subtracting TWO52[sx].
23396 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23397 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23398 Likewise.
23399 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23400
09a3453f
DM
234012012-03-13 David S. Miller <davem@davemloft.net>
23402
8e59da90
DM
23403 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23404 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23406 rtld-global-offsets.h
23407 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23408
2a8ab7f2
DM
23409 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23410 large parameters.
23411
10f62770
DM
23412 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23413
5f0bdb18
DM
23414 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23415 'err' in the ifdef scope in which it is actually used.
23416
09a3453f
DM
23417 * nss/nss_db/db-init.c: Include string.h
23418
b4b2eb5e
DM
234192012-03-12 David S. Miller <davem@davemloft.net>
23420
98bb2f1c
DM
23421 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23422 masking out of the most significant byte of random value used.
23423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23424 Fix coding style in previous change.
23425
b4b2eb5e
DM
23426 * sysdeps/unix/sysv/linux/kernel-features.h
23427 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23428 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23429 expression.
23430 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23431 later.
23432
6e226b09
DM
234332012-03-11 David S. Miller <davem@davemloft.net>
23434
a1bcbd40
DM
23435 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23436 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23437 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23438 for 'resultvar' otherwise things get truncated on 64-bit.
23439
cb9d6174
DM
23440 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23441 Fix masking out of the most significant byte of random value used.
23442
6e226b09
DM
23443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23444
058c132d
AS
234452012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23446
23447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23448
2d2cd515
DM
234492012-03-09 David S. Miller <davem@davemloft.net>
23450
23451 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23452 variables with appropriate CPP guards.
23453 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23454 frame pointer, not the stack pointer. Correct layout comments. Fix test
23455 on resulting framesize and the management of the outregs buffer for pltexit.
23456 Preserve floating point return values across _dl_call_pltexit call.
23457 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23458 framesize and the management of the outregs buffer for pltexit.
23459 Preserve floating point return values across _dl_call_pltexit
23460 call.
23461 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23462 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23463 (print_exit): Fix format string for return register value.
23464
9a07f9d0
JM
234652012-03-10 Joseph Myers <joseph@codesourcery.com>
23466
23467 * sunrpc/Makefile (others): Add rpcgen.
23468 ($(objpfx)rpcgen): Remove special build rule and dependency on
23469 libc.
23470 * sunrpc/rpcgen.c: New file.
23471
547b5e30
PE
234722012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23473
c524201a
PE
23474 [BZ #13673]
23475 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23476 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23477 * sysdeps/i386/crti.S: Likewise.
23478 * sysdeps/i386/crtn.S: Likewise.
23479 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23480 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23481 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23482 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23483 * sysdeps/sh/crti.S: Likewise.
23484 * sysdeps/sh/crtn.S: Likewise.
23485 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23486
7b6235f2
PE
23487 [BZ #13673]
23488 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23489 with URL.
23490 * locale/programs/locfile-kw.gperf: Likewise.
23491 * locale/programs/charmap-kw.h: Regenerated.
23492 * locale/programs/locfile-kw.h: Likewise.
23493
547b5e30
PE
23494 [BZ #13673]
23495 * intl/plural.y: Replace FSF snail mail address with URL.
23496 * intl/plural.c: Regenerated.
23497
5f0a5dae
RH
234982012-03-09 Richard Henderson <rth@twiddle.net>
23499
23500 * include/math_private.h: Remove file.
23501 * math/math_private.h: Move file ...
23502 * sysdeps/generic/math_private.h: ... here.
23503
b8c03620
RH
23504 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23505 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23506 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23507
4e234f5d 23508 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23509 and <math_private.h>.
23510 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23511 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23512 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23513 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23514 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23515 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23516 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23518 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23519 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23520 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23521 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23522 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23523 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23524 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23525 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23526 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23527 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23528 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23529 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23531 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23532 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23533 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23534 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23535 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23536 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23539 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23540 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23541 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23542 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23543 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23544 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23545 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23546 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23547 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23548 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23549 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23550 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23551 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23552 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23553 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23554 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23555 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23556 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23557 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23559 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23561 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23562 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23563 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23564 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23565 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23566 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23567 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23568 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23569 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23570 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23571 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23572 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23573 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23574 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23575 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23576 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23577 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23578 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23579 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23580 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23581 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23582 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23583 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23584 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23585 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23586 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23588 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23589 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23590 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23591 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23592 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23593 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23594 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23595 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23597 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23598 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23599 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23600 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23601 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23602 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23603 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23604 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23605 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23606 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23607 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23608 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23609 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23610 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23611 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23612 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23613 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23614 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23615 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23616 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23617 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23618 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23619 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23620 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23621 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23622 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23623 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23624 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23625 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23626 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23627 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23628 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23629 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23630 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23631 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23632 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23633 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23634 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23635 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23636 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23637 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23638 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23639 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23640 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23641 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23642 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23643 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23644 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23645 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23646 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23647 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23648 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23649 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23650 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23651 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23652 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23653 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23654 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23655 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23656 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23657 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23658 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23659 * sysdeps/ieee754/k_standard.c: Likewise.
23660 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23663 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23664 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23665 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23666 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23668 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23669 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23670 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23671 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23672 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23673 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23674 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23675 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23676 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23677 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23678 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23679 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23680 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23681 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23682 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23683 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23684 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23685 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23686 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23687 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23688 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23689 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23690 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23691 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23692 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23693 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23694 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23695 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23696 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23697 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23698 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23699 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23700 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23701 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23702 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23703 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23704 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23705 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23706 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23708 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23709 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23710 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23711 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23712 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23713 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23714 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23715 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23716 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23717 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23718 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23719 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23720 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23721 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23722 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23723 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23724 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23725 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23726 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23727 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23728 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23729 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23730 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23732 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23733 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23734 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23735 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23736 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23737 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23738 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23739 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23740 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23741 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23742 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23743 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23744 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23745 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23746 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23747 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23748 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23749 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23750 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23751 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23752 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23753 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23754 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23755 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23756 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23757 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23758 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23759 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23761 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23762 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23763 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23764 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23765 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23766 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23767 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23768 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23769 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23770 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23771 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23772 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23773 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23774 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23775 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23776 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23777 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23778 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23779 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23780 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23781 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23782 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23783 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23784 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23785 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23786 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23787 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23788 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23789 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23790 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23791 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23792 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23793 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23794 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23795 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23796 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23797 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23798 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23799 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23800 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23801 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23802 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23803 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23804 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23805 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23806 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23807 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23808 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23809 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23810 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23811 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23812 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23813 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23815 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23816 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23817 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23818 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23819 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23820 * sysdeps/ieee754/s_lib_version.c: Likewise.
23821 * sysdeps/ieee754/s_matherr.c: Likewise.
23822 * sysdeps/ieee754/s_signgam.c: Likewise.
23823 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23824 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23825 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23826 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23827 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23828 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23829 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23830 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23831 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23832 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23833 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23834 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23835 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23836 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23837 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23838 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23839 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23840 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23841 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23842 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23843 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23844
1991fa03
JM
238452012-03-09 Joseph Myers <joseph@codesourcery.com>
23846
23847 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23848 * sunrpc/rpc_main.c: Likewise.
23849 * sunrpc/rpc_svcout.c: Likewise.
23850
60d6f5a6
DM
238512012-03-09 David S. Miller <davem@davemloft.net>
23852
23853 * include/math_private.h: New file.
23854
4962050e
JM
238552012-03-09 Joseph Myers <joseph@codesourcery.com>
23856
02a6f887
JM
23857 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23858 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23859 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23860 from <bits/socket_type.h>.
23861 (enum __socket_type): Don't define here.
23862 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23864 bits/socket_type.h.
23865
c6e013c1
JM
23866 [BZ #13566]
23867 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23868 checking __USE_GNU.
23869
4962050e
JM
23870 * Makerules ($(inst_includedir)/%.h): New rule.
23871 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23872 (install-others): Remove variable setting.
23873 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23874
38842f45
RH
238752012-03-08 Richard Henderson <rth@twiddle.net>
23876
67bb6da6
RH
23877 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23878 from macro to inline function; merge with the
23879 !__LIBC_INTERNAL_MATH_INLINES version.
23880 (__ieee754_sqrtf): Likewise.
23881
15194b4b
RH
23882 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23883 to inline function.
23884 (__rintf, __floor, __floorf): Likewise.
23885
64e21ede
RH
23886 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23887 macro to inline function.
23888 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23889
38842f45
RH
23890 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23891 not <math/math_private.h>.
23892
c64bf5fe
DM
238932012-03-08 David S. Miller <davem@davemloft.net>
23894
23895 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23896 copyright year.
23897 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23898
82d86f28
TS
238992012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23900
23901 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23902 normalization.
23903 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23904 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23905
aea5d727
UD
239062012-03-08 Ulrich Drepper <drepper@gmail.com>
23907
23908 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23909 be defined individually, they must be defined as a block. Define
23910 S for printing a string instead of hidint the different by using a
23911 macro for adding the 'l'.
23912 * stdio-common/tst-fphex-wide.c: Adjust.
23913
70bca0a3
MP
239142012-03-07 Marek Polacek <polacek@redhat.com>
23915
23916 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23917
65b81130
MP
239182012-03-08 Marek Polacek <polacek@redhat.com>
23919
23920 [BZ #13806]
23921 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23922 * stdio-common/tst-fphex.c: Define a few macros to make the
23923 test reusable. Use them.
23924 * stdio-common/tst-fphex-wide.c: New file.
23925
07037eeb
JM
239262012-03-08 Joseph Myers <joseph@codesourcery.com>
23927
a7a93d50
JM
23928 [BZ #6911]
23929 * manual/macros.texi (gnusystems): New macro.
23930 (nongnusystems): Likewise.
23931 (gnulinuxhurdsystems): Likewise.
23932 (gnuhurdsystems): Likewise..
23933 (gnulinuxsystems): Likewise.
23934 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23935 variants of the GNU system, not "GNU system".
23936 * manual/conf.texi: Likewise.
23937 * manual/errno.texi: Likewise. Update example of errno macro
23938 expansion.
23939 * manual/filesys.texi: Likewise.
23940 (getumask): Document as specific to GNU/Hurd.
23941 * manual/install.texi: Likewise. Reword some references to
23942 GNU/Linux.
23943 * manual/intro.texi: Likewise.
23944 * manual/io.texi: Likewise.
23945 (File Name Portability): Detail which constraints are inapplicable
23946 to all GNU systems and which are only inapplicable to GNU/Hurd.
23947 * manual/job.texi: Likewise.
23948 * manual/llio.texi: Likewise.
23949 (O_NOCTTY): Document as present on GNU/Linux.
23950 * manual/maint.texi: Likewise.
23951 * manual/memory.texi: Likewise.
23952 * manual/pattern.texi: Likewise.
23953 * manual/pipe.texi: Likewise.
23954 * manual/process.texi: Likewise.
23955 * manual/resource.texi: Likewise.
23956 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23957 child on GNU/Hurd.
23958 * manual/setjmp.texi: Likewise.
23959 * manual/signal.texi: Likewise.
23960 * manual/startup.texi: Likewise.
23961 * manual/stdio.texi: Likewise.
23962 * manual/terminal.texi: Likewise.
23963 (ONLCR): Document as POSIX.
23964 (OXTABS): Document availability on GNU/Linux as XTABS.
23965 (ONOEOT): Document availability separately from other bits.
23966 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23967 * manual/time.texi: Likewise.
23968 * manual/users.texi: Likewise.
23969 * INSTALL: Regenerated.
23970 * sysdeps/gnu/errlist.c: Regenerated.
23971
07037eeb
JM
23972 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23973 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23974 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23975 puts.
23976 * configure: Regenerated.
23977
d1d3431a
JM
239782012-03-07 Joseph Myers <joseph@codesourcery.com>
23979
af6a1e37
JM
23980 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23981 default includes instead of AC_HEADER_CHECK.
23982 * sysdeps/i386/configure: Regenerated.
23983
d1d3431a
JM
23984 [BZ #10716]
23985 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23986 * math/s_cacoshf.c (__cacoshf): Likewise.
23987 * math/s_cacoshl.c (__cacoshl): Likewise.
23988 * math/s_casinh.c (__casinh): Set signs of result from argument.
23989 * math/s_casinhf.c (__casinhf): Likewise.
23990 * math/s_casinhl.c (__casinhl): Likewise.
23991 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23992 (casinh_test): Add more tests.
23993 * sysdeps/i386/fpu/libm-test-ulps: Update.
23994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23995
482ff4da
UD
239962012-03-07 Ulrich Drepper <drepper@gmail.com>
23997
872fda05
UD
23998 * po/zh_TW.po: Update from translation team.
23999
a4300c7a
UD
24000 * login/Makefile (distribute): Remove variable.
24001 * catgets/Makefile: Likewise.
24002 * mach/Makefile: Likewise.
24003 * malloc/Makefile: Likewise.
24004 * misc/Makefile: Likewise.
24005 * iconv/Makefile: Likewise.
24006 * nscd/Makefile: Likewise.
24007 * hurd/Makefile: Likewise.
24008 * manual/Makefile: Likewise.
24009 * locale/Makefile: Likewise.
24010 * intl/Makefile: Likewise.
24011 * conform/Makefile: Likewise.
24012 * nss/Makefile: Likewise.
24013 * time/Makefile: Likewise.
24014 * soft-fp/Makefile: Likewise.
24015 * dirent/Makefile: Likewise.
24016 * gmon/Makefile: Likewise.
24017 * po/Makefile: Likewise.
24018 * rt/Makefile: Likewise.
24019 * socket/Makefile: Likewise.
24020 * math/Makefile: Likewise.
24021 * signal/Makefile: Likewise.
24022 * debug/Makefile: Likewise.
24023 * elf/Makefile: Likewise.
24024 * timezone/Makefile: Likewise.
24025 * stdlib/Makefile: Likewise.
24026 * iconvdata/Makefile: Likewise.
24027 * sunrpc/Makefile: Likewise.
24028 * io/Makefile: Likewise.
24029 * argp/Makefile: Likewise.
24030 * inet/Makefile: Likewise.
24031 * hesiod/Makefile: Likewise.
24032 * grp/Makefile: Likewise.
24033 * csu/Makefile: Likewise.
24034 * wctype/Makefile: Likewise.
24035 * crypt/Makefile: Likewise.
24036 * libio/Makefile: Likewise.
24037 * string/Makefile: Likewise.
24038 * nis/Makefile: Likewise.
24039 * resolv/Makefile: Likewise.
24040 * stdio-common/Makefile: Likewise.
24041 * wcsmbs/Makefile: Likewise.
24042 * dlfcn/Makefile: Likewise.
24043 * posix/Makefile: Likewise.
24044
3b7c4e74 24045 [BZ #6959]
482ff4da
UD
24046 * timezone/Makefile: Don't install timezone files, just the programs
24047 and scripts.
24048
f72ed77d
UD
240492012-03-06 Ulrich Drepper <drepper@gmail.com>
24050
a000466f
UD
24051 * nss/databases.def: Add missing gshadow entry.
24052
f72ed77d
UD
24053 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24054
a53b7a4e
MP
240552012-03-06 Marek Polacek <polacek@redhat.com>
24056
24057 [BZ #13726]
24058 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24059 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24060 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24061 * stdio-common/tst-long-dbl-fphex.c: New file.
24062
e9258400
DM
240632012-03-06 David S. Miller <davem@davemloft.net>
24064
24065 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24066 (set_obp_int): New function.
24067 (get_obp_int): New function.
24068 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24069 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24070 Avoid unused variable warnings on 'val' and use builtin_expect.
24071 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24072 __builtin_expect.
e9258400
DM
24073 (INLINE_CLONE_SYSCALL): Likewise.
24074
3bd2c723
DM
240752012-03-05 David S. Miller <davem@davemloft.net>
24076
24077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24078
bbb78d03
AS
240792012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24080
884c5db4
AS
24081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24082
bbb78d03
AS
24083 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24084 only for |x| >= 40.
24085 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24086
1c9f702a 240872012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24088
24089 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24090 Replace gettimeofday with __vdso_gettimeofday.
24091
7be16f82
RM
24092 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24093 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24094 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24095
24096 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24097 time with __vdso_time.
24098
ed58a00f
JM
240992012-03-05 Joseph Myers <joseph@codesourcery.com>
24100
24101 * manual/lang.texi (size_t): Note types to which size_t may be
24102 equivalent with the GNU C Library, but do not describe when
24103 differences between them are significant.
24104
30ee4ced
AJ
241052012-03-05 Andreas Jaeger <aj@suse.de>
24106
24107 * sysdeps/i386/fpu/libm-test-ulps: Update.
24108
b7cd39e8
JM
241092012-03-05 Joseph Myers <joseph@codesourcery.com>
24110
24111 [BZ #3976]
24112 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24113 (__ieee754_pow): Save and restore rounding mode and use
24114 round-to-nearest for main computations.
24115 * math/libm-test.inc (pow_test_tonearest): New function.
24116 (pow_test_towardzero): Likewise.
24117 (pow_test_downward): Likewise.
24118 (pow_test_upward): Likewise.
24119 (main): Call the new functions.
24120 * sysdeps/i386/fpu/libm-test-ulps: Update.
24121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24122
24123 [BZ #3976]
24124 * math/libm-test.inc (cosh_test_tonearest): New function.
24125 (cosh_test_towardzero): Likewise.
24126 (cosh_test_downward): Likewise.
24127 (cosh_test_upward): Likewise.
24128 (sinh_test_tonearest): Likewise.
24129 (sinh_test_towardzero): Likewise.
24130 (sinh_test_downward): Likewise.
24131 (sinh_test_upward): Likewise.
24132 (main): Call the new functions.
24133 * sysdeps/i386/fpu/libm-test-ulps: Update.
24134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24135
6c6a98c9
TV
241362012-03-05 Tom de Vries <tom@codesourcery.com>
24137
24138 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24139 default stack guard is set in last bytes.
24140 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24141
21bb2d2e 241422012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24143
21bb2d2e 24144 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24145
21bb2d2e
AJ
24146 [BZ #13656]
24147 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24148 possibly allocate from heap instead of stack.
24149 * stdio-common/bug-vfprintf-nargs.c: New file.
24150 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24151
c6922934
AS
241522012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24153
24154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24155
bc957d53
MP
241562012-03-03 Marek Polacek <polacek@redhat.com>
24157
24158 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24159 * math/math_private.h: Likewise.
24160 * stdlib/tst-strtod.c: Likewise.
24161 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24162 * sysdeps/x86_64/bits/atomic.h: Likewise.
24163
6358490d
DM
241642012-03-02 David S. Miller <davem@davemloft.net>
24165
24166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24170 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24171 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24172 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24173 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24174
01ae168d
RM
241752012-03-02 Roland McGrath <roland@hack.frob.com>
24176
d9a17c07
RM
24177 [BZ #13792]
24178 * manual/examples/README: New file, says the example source files
24179 can be used under GPL>=2.
24180 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24181 line containing just "*/".
24182 * manual/examples/add.c: Add copyright header (GPL>=2).
24183 * manual/examples/argp-ex1.c: Likewise.
24184 * manual/examples/argp-ex2.c: Likewise.
24185 * manual/examples/argp-ex3.c: Likewise.
24186 * manual/examples/argp-ex4.c: Likewise.
24187 * manual/examples/atexit.c: Likewise.
24188 * manual/examples/db.c: Likewise.
24189 * manual/examples/dir.c: Likewise.
24190 * manual/examples/dir2.c: Likewise.
24191 * manual/examples/execinfo.c: Likewise.
24192 * manual/examples/filecli.c: Likewise.
24193 * manual/examples/filesrv.c: Likewise.
24194 * manual/examples/fmtmsgexpl.c: Likewise.
24195 * manual/examples/genpass.c: Likewise.
24196 * manual/examples/inetcli.c: Likewise.
24197 * manual/examples/inetsrv.c: Likewise.
24198 * manual/examples/isockad.c: Likewise.
24199 * manual/examples/longopt.c: Likewise.
24200 * manual/examples/memopen.c: Likewise.
24201 * manual/examples/memstrm.c: Likewise.
24202 * manual/examples/mkfsock.c: Likewise.
24203 * manual/examples/mkisock.c: Likewise.
24204 * manual/examples/mygetpass.c: Likewise.
24205 * manual/examples/pipe.c: Likewise.
24206 * manual/examples/popen.c: Likewise.
24207 * manual/examples/rprintf.c: Likewise.
24208 * manual/examples/search.c: Likewise.
24209 * manual/examples/select.c: Likewise.
24210 * manual/examples/setjmp.c: Likewise.
24211 * manual/examples/sigh1.c: Likewise.
24212 * manual/examples/sigusr.c: Likewise.
24213 * manual/examples/stpcpy.c: Likewise.
24214 * manual/examples/strdupa.c: Likewise.
24215 * manual/examples/strftim.c: Likewise.
24216 * manual/examples/strncat.c: Likewise.
24217 * manual/examples/subopt.c: Likewise.
24218 * manual/examples/swapcontext.c: Likewise.
24219 * manual/examples/termios.c: Likewise.
24220 * manual/examples/testopt.c: Likewise.
24221 * manual/examples/testpass.c: Likewise.
24222 * manual/examples/timeval_subtract.c: Likewise.
24223
01ae168d
RM
24224 [BZ #13792]
24225 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24226 function to ...
24227 * manual/timeval_subtract.c.texi: ... here, new file.
24228
49efa33d
DM
242292012-03-02 David S. Miller <davem@davemloft.net>
24230
24231 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24232
28afd92d
JM
242332012-03-02 Joseph Myers <joseph@codesourcery.com>
24234
804360ed
JM
24235 [BZ #3976]
24236 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24237 (__sin): Save and restore rounding mode and use round-to-nearest
24238 for all computations.
24239 (__cos): Save and restore rounding mode and use round-to-nearest
24240 for all computations.
24241 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24242 <fenv.h>.
24243 (tan): Save and restore rounding mode and use round-to-nearest for
24244 all computations.
24245 * math/libm-test.inc (cos_test_tonearest): New function.
24246 (cos_test_towardzero): Likewise.
24247 (cos_test_downward): Likewise.
24248 (cos_test_upward): Likewise.
24249 (sin_test_tonearest): Likewise.
24250 (sin_test_towardzero): Likewise.
24251 (sin_test_downward): Likewise.
24252 (sin_test_upward): Likewise.
24253 (tan_test_tonearest): Likewise.
24254 (tan_test_towardzero): Likewise.
24255 (tan_test_downward): Likewise.
24256 (tan_test_upward): Likewise.
24257 (main): Call the new functions.
24258 * sysdeps/i386/fpu/libm-test-ulps: Update.
24259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24260
a6d06d7b
JM
24261 [BZ #10135]
24262 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24263 small n, then large n, before computing and testing k+n.
24264 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24265 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24266 Likewise.
24267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24268 Likewise.
24269 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24270 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24271 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24272 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24273 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24274 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24275 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24276 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24277 * math/libm-test.inc (scalbn_test): Add more tests.
24278 (scalbln_test): Likewise.
24279
07e12bb3
JM
24280 * manual/filesys.texi (mode_t): Describe constraints on size and
24281 signedness, not exact equivalence to a particular type.
24282 (ino_t): Likewise.
24283 (ino64_t): Likewise.
24284 (dev_t): Likewise.
24285 (nlink_t): Likewise.
24286 (blkcnt_t): Likewise.
24287 (blkcnt64_t): Likewise.
24288 * manual/llio.texi (off_t): Likewise.
24289
28afd92d
JM
24290 [BZ #3976]
24291 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24292 (__ieee754_exp): Save and restore rounding mode and use
24293 round-to-nearest for all computations.
24294 * math/libm-test.inc (exp_test_tonearest): New function.
24295 (exp_test_towardzero): Likewise.
24296 (exp_test_downward): Likewise.
24297 (exp_test_upward): Likewise.
24298 (main): Call the new functions.
24299 * sysdeps/i386/fpu/libm-test-ulps: Update.
24300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24301
b1eeb65d
CD
243022012-03-01 Chris Demetriou <cgd@google.com>
24303
24304 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24305 have predictable order.
24306
53362a4b
DM
243072012-03-01 David S. Miller <davem@davemloft.net>
24308
3c969083
DM
24309 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24310
759707de
DM
24311 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24312 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24313 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24314 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24315
dfdb8ff2
DM
24316 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24317 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24318 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24320 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24321 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24322 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24323 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24324 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24325
ead89f96
DM
24326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24327
7f66bd07
DM
24328 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24329 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24330 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24331
53362a4b
DM
24332 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24333 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24334 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24335 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24336 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24337 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24338 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24339 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24340 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24341 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24342 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24343 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24344 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24345 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24346 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24347 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24348 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24349 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24350 * sysdeps/sparc/elf/configure: Regenerated.
24351
7b1902cb
JM
243522012-03-01 Joseph Myers <joseph@codesourcery.com>
24353
bec039bc
JM
24354 * configure.in (AS, LD): Require binutils 2.20 or later.
24355 * configure: Regenerated.
24356 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24357 as required minimum version.
24358 * INSTALL: Regenerated.
24359
7b1902cb
JM
24360 [BZ #2541]
24361 [BZ #4108]
24362 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24363 before squaring exponent.
24364 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24365 bottom long double and 27 bits of top long double before squaring
24366 exponent.
24367 * math/libm-test.inc (erfc_test): Add more tests.
24368 * sysdeps/i386/fpu/libm-test-ulps: Update.
24369 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24371
f775c276
KT
243722012-03-01 Kai Tietz <ktietz@redhat.com>
24373
24374 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24375 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24376 containing bit-fields.
24377 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24378 * soft-fp/single.h (_FP_UNION_S): Likewise.
24379 * soft-fp/double.h (_FP_UNION_D): Likewise.
24380
5b8a4d4a
JM
243812012-02-29 Joseph Myers <joseph@codesourcery.com>
24382
0bab47b6
JM
24383 [BZ #13786]
24384 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24385 not include ../strcmp.S.
24386 [USE_AS_STRNCASECMP_L]: Likewise.
24387 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24388 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24389 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24390 (__strncasecmp_l_ia32): Define as alias to
24391 __strncasecmp_l_nonascii.
24392
0fcad3e2
JM
24393 [BZ #5794]
24394 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24395 * sysdeps/i386/fpu/libm-test-ulps: Update.
24396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24397
5b8a4d4a
JM
24398 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24400
8fdceb2e
JL
244012012-02-29 Jeff Law <law@redhat.com>
24402
24403 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24404 out of bounds read.
24405
1f393a11
MP
244062012-02-29 Marek Polacek <polacek@redhat.com>
24407
24408 [BZ #13706]
24409 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24410 * elf/Makefile: Add rules to run tst-unused-dep.out.
24411
8847f037
DM
244122012-02-28 David S. Miller <davem@davemloft.net>
24413
24414 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24415 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24416 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24417 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24418 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24419 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24420
169d7f11
JM
244212012-02-29 Joseph Myers <joseph@codesourcery.com>
24422
24423 * math/libm-test.inc (llround_test): Move one test from
24424 lround_test. Use TEST_f_L in moved test.
24425 (lround_test): Move misplaced test to llround_test. Add testcase
24426 from bug 2561.
24427
39adf059
UD
244282012-02-28 Ulrich Drepper <drepper@gmail.com>
24429
24430 * sysdeps/x86_64/fpu/e_expf.S: New file.
24431 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24432
71b5d1c5
SB
244332012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24434
24435 [BZ #13637]
24436 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24437 of remain_len that may cause incomplete multi-byte character and
24438 false match.
24439 * posix/bug-regex33.c: New file.
24440 * posix/Makefile (tests): Add bug-regex33.
24441
1f77f049
JM
244422012-02-28 Joseph Myers <joseph@codesourcery.com>
24443
24444 * manual/macros.texi: New file.
24445 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24446 * manual/libc.texinfo: Include macros.texi.
24447 * manual/creatute.texi: Likewise.
24448 * manual/install.texi: Likewise.
24449 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24450 @glibcadj{} in references to the GNU C Library.
24451 * manual/charset.texi: Likewise.
24452 * manual/conf.texi: Likewise.
24453 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24454 when not using those macros.
24455 * manual/creature.texi: Likewise.
24456 * manual/crypt.texi: Likewise.
24457 * manual/errno.texi: Likewise.
24458 * manual/filesys.texi: Likewise.
24459 * manual/header.texi: Likewise.
24460 * manual/install.texi: Likewise.
24461 * manual/intro.texi: Likewise.
24462 * manual/io.texi: Likewise.
24463 * manual/job.texi: Likewise.
24464 * manual/lang.texi: Likewise.
24465 * manual/libc.texiinfo: Likewise.
24466 * manual/llio.texi: Likewise.
24467 * manual/locale.texi: Likewise.
24468 * manual/maint.texi: Likewise.
24469 * manual/math.texi: Likewise.
24470 * manual/memory.texi: Likewise.
24471 * manual/message.texi: Likewise.
24472 * manual/nss.texi: Likewise.
24473 * manual/pattern.texi: Likewise.
24474 * manual/process.texi: Likewise.
24475 * manual/resource.texi: Likewise.
24476 * manual/search.texi: Likewise.
24477 * manual/setjmp.texi: Likewise.
24478 * manual/signal.texi: Likewise.
24479 * manual/socket.texi: Likewise.
24480 * manual/startup.texi: Likewise.
24481 * manual/stdio.texi: Likewise.
24482 * manual/string.texi: Likewise.
24483 * manual/sysinfo.texi: Likewise.
24484 * manual/syslog.texi: Likewise.
24485 * manual/terminal.texi: Likewise.
24486 * manual/time.texi: Likewise.
24487 * manual/users.texi: Likewise.
24488 * INSTALL: Regenerated.
24489 * NOTES: Regenerated.
d40c5d54 24490 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24491
450bf206
AS
244922012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24493
24494 * include/dirent.h: Include <dirstream.h> before
24495 <dirent/dirent.h>.
24496
741a235b
DM
244972012-02-28 David S. Miller <davem@davemloft.net>
24498
24499 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24500 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24501 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24502 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24503
d6b5aa58
DM
245042012-02-27 David S. Miller <davem@davemloft.net>
24505
1aff59a3
DM
24506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24508 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24509 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24510
d6b5aa58
DM
24511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24512 frame pointer instead of stack pointer relative arg slot.
24513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24514 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24515 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24516
433f48bf
CD
245172012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24518
24519 [BZ #3992]
24520 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24521
d674b76d
DM
245222012-02-27 David S. Miller <davem@davemloft.net>
24523
24524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24528 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24529 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24530 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24531 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24532
0e7727f7
JM
245332012-02-27 Joseph Myers <joseph@codesourcery.com>
24534
24535 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24536 later. Allow versions 5-9.
43be4ca2 24537 * configure: Regenerated.
0e7727f7
JM
24538 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24539 required minimum version and 4.6 as recommended version. Do not
24540 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24541 * INSTALL: Regenerated.
0e7727f7 24542
a78bc654
DM
245432012-02-27 David S. Miller <davem@davemloft.net>
24544
428d5830
DM
24545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24549 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24550 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24551 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24552 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24553
a78bc654
DM
24554 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24555 manipulate bits before adding and subtracting TWO112[sx].
24556 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24557
4579f81c
RM
245582012-02-27 Roland McGrath <roland@hack.frob.com>
24559
36c8acb4
RM
24560 [BZ #13775]
24561 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24562 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24563 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24564 being in POSIX, because they are in 1003.1-2008.
24565
84ad622b
RM
24566 * rt/tst-aio.c: Include <fcntl.h>.
24567 * rt/tst-aio7.c: Likewise.
24568 * rt/tst-aio64.c: Likewise.
24569
4579f81c
RM
24570 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24571
abd923db
JM
245722012-02-27 Joseph Myers <joseph@codesourcery.com>
24573
24574 * manual/install.texi (--with-headers): Describe headers as
24575 interface headers, not private headers.
24576 (Specific advice for GNU/Linux systems): Describe use of headers
24577 from "make headers_install", not private headers from older
24578 kernels.
43be4ca2 24579 * INSTALL: Regenerated.
abd923db
JM
24580 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24581 Change to 2.6.19.
24582 * sysdeps/unix/sysv/linux/configure: Regenerated.
24583
6664049b
JM
24584 * manual/llio.texi (fclean): Remove documentation.
24585
bb8b6697
JM
24586 * manual/Makefile (libc-texi-generated): New variable. Include
24587 version.texi.
24588 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24589 $(libc-texi-generated), not duplicated list of files.
24590 (version.texi, stamp-version): New rules.
24591 (realclean): Remove $(libc-texi-generated), not individual files
24592 from that list. Do not remove dir-add.texinfo.
24593 * manual/libc.texinfo: Comment out uses of edition numbers and
24594 references to printed manual. Remove last-updated dates.
24595 (EDITION): Comment out.
24596 (ISBN): Likewise.
24597 (VERSION, UPDATED): Remove.
24598 (version.texi): Include.
24599
12e5c3b9
AS
246002012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24601
24602 * sysdeps/posix/spawni.c: Include <signal.h>.
24603 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24604 * sysdeps/pthread/aio_fsync.c: Likewise.
24605
4efeffc1 246062012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24607
ba63ba08
UD
24608 * conform/Makefile (tests): Run only when not cross-compiling and
24609 when fast-check is not defined.
24610
d94a4670
UD
24611 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24612 * conform/data/limits.h-data: Fixes for POSIX2008.
24613 * conform/run-conformtest.sh: Run all tests.
24614 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24615 headers.
24616 * include/bits/dlfcn.h: Likewise.
24617 * include/langinfo.h: Likewise.
24618 * include/monetary.h: Likewise.
24619 * include/sys/poll.h: Likewise.
24620
24621 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24622 for __USE_GNU.
24623 * posix/spawn.h: Define __need_sigset_t.
24624 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24625 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24626 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24627 to get sigevent_t only.
24628 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24629 only for __USE_GNU.
24630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24631 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24632 process_vm_writev only for __USE_GNU.
24633 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24634
24635 * conform/Makefile: For now ignore errors from run-conformtest.
24636 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24637 POSIX to avoid namespace pollution. Don't prepend headers.
24638 * conform/data/aio.h-data: Fixes for POSIX testing.
24639 * conform/data/fcntl.h-data: Likewise.
24640 * conform/data/glob.h-data: Likewise.
24641 * conform/data/grp.h-data: Likewise.
24642 * conform/data/pthread.h-data: Likewise.
24643 * conform/data/pwd.h-data: Likewise.
24644 * conform/data/signal.h-data: Likewise.
24645 * conform/data/spawn.h-data: Likewise.
24646 * conform/data/stdio.h-data: Likewise.
24647 * conform/data/stdlib.h-data: Likewise.
24648 * conform/data/stropts.h-data: Likewise.
24649 * conform/data/sys/mman.h-data: Likewise.
24650 * conform/data/sys/stat.h-data: Likewise.
24651 * conform/data/sys/types.h-data: Likewise.
24652 * conform/data/sys/wait.h-data: Likewise.
24653 * conform/data/time.h-data: Likewise.
24654 * conform/data/unistd.h-data: Likewise.
24655 * conform/data/utime.h-data: Likewise.
24656
24657 * io/sys/stat.h: fchmod was always in POSIX.
24658 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24659 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24660 * rt/aio.h: Define __need_timespec before including <time.h>.
24661 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24662 struct. Add forward declaration of pthread_attr_t and use it in
24663 sigevent.
24664 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24665 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24666 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24667 always remove CLK_TCK definition.
24668
c20105c3
AS
246692012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24670
24671 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24672
7a270350
UD
246732012-02-25 Ulrich Drepper <drepper@gmail.com>
24674
31341567
UD
24675 * conform/run-conformtest.sh: New file.
24676 * conform/Makefile: Run run-conformtest for tests.
24677 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24678 support.
24679
24680 * conform/data/uchar.h-data: New file.
24681 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24682 * conform/data/arpa/inet.h-data: Likewise.
24683 * conform/data/assert.h-data: Likewise.
24684 * conform/data/complex.h-data: Likewise.
24685 * conform/data/cpio.h-data: Likewise.
24686 * conform/data/ctype.h-data: Likewise.
24687 * conform/data/dirent.h-data: Likewise.
24688 * conform/data/dlfcn.h-data: Likewise.
24689 * conform/data/errno.h-data: Likewise.
24690 * conform/data/fcntl.h-data: Likewise.
24691 * conform/data/float.h-data: Likewise.
24692 * conform/data/fmtmsg.h-data: Likewise.
24693 * conform/data/fnmatch.h-data: Likewise.
24694 * conform/data/ftw.h-data: Likewise.
24695 * conform/data/glob.h-data: Likewise.
24696 * conform/data/grp.h-data: Likewise.
24697 * conform/data/iconv.h-data: Likewise.
24698 * conform/data/inttypes.h-data: Likewise.
24699 * conform/data/langinfo.h-data: Likewise.
24700 * conform/data/libgen.h-data: Likewise.
24701 * conform/data/limits.h-data: Likewise.
24702 * conform/data/locale.h-data: Likewise.
24703 * conform/data/math.h-data: Likewise.
24704 * conform/data/monetary.h-data: Likewise.
24705 * conform/data/mqueue.h-data: Likewise.
24706 * conform/data/ndbm.h-data: Likewise.
24707 * conform/data/net/if.h-data: Likewise.
24708 * conform/data/netdb.h-data: Likewise.
24709 * conform/data/netinet/in.h-data: Likewise.
24710 * conform/data/nl_types.h-data: Likewise.
24711 * conform/data/poll.h-data: Likewise.
24712 * conform/data/pthread.h-data: Likewise.
24713 * conform/data/pwd.h-data: Likewise.
24714 * conform/data/regex.h-data: Likewise.
24715 * conform/data/sched.h-data: Likewise.
24716 * conform/data/search.h-data: Likewise.
24717 * conform/data/semaphore.h-data: Likewise.
24718 * conform/data/setjmp.h-data: Likewise.
24719 * conform/data/signal.h-data: Likewise.
24720 * conform/data/spawn.h-data: Likewise.
24721 * conform/data/stdarg.h-data: Likewise.
24722 * conform/data/stdio.h-data: Likewise.
24723 * conform/data/stdlib.h-data: Likewise.
24724 * conform/data/string.h-data: Likewise.
24725 * conform/data/strings.h-data: Likewise.
24726 * conform/data/stropts.h-data: Likewise.
24727 * conform/data/sys/ipc.h-data: Likewise.
24728 * conform/data/sys/mman.h-data: Likewise.
24729 * conform/data/sys/msg.h-data: Likewise.
24730 * conform/data/sys/resource.h-data: Likewise.
24731 * conform/data/sys/select.h-data: Likewise.
24732 * conform/data/sys/sem.h-data: Likewise.
24733 * conform/data/sys/shm.h-data: Likewise.
24734 * conform/data/sys/socket.h-data: Likewise.
24735 * conform/data/sys/stat.h-data: Likewise.
24736 * conform/data/sys/statvfs.h-data: Likewise.
24737 * conform/data/sys/time.h-data: Likewise.
24738 * conform/data/sys/timeb.h-data: Likewise.
24739 * conform/data/sys/times.h-data: Likewise.
24740 * conform/data/sys/types.h-data: Likewise.
24741 * conform/data/sys/uio.h-data: Likewise.
24742 * conform/data/sys/un.h-data: Likewise.
24743 * conform/data/sys/utsname.h-data: Likewise.
24744 * conform/data/sys/wait.h-data: Likewise.
24745 * conform/data/syslog.h-data: Likewise.
24746 * conform/data/tar.h-data: Likewise.
24747 * conform/data/termios.h-data: Likewise.
24748 * conform/data/utime.h-data: Likewise.
24749 * conform/data/utmpx.h-data: Likewise.
24750 * conform/data/varargs.h-data: Likewise.
24751 * conform/data/wchar.h-data: Likewise.
24752 * conform/data/wctype.h-data: Likewise.
24753 * conform/data/wordexp.h-data: Likewise.
24754
24755 * include/stropts.h: New file.
24756 * include/uchar.h: New file.
24757 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24758 * include/assert.h: Likewise.
24759 * include/ctype.h: Likewise.
24760 * include/dirent.h: Likewise.
24761 * include/dlfcn.h: Likewise.
24762 * include/fcntl.h: Likewise.
24763 * include/fnmatch.h: Likewise.
24764 * include/glob.h: Likewise.
24765 * include/grp.h: Likewise.
24766 * include/libio.h: Likewise.
24767 * include/locale.h: Likewise.
24768 * include/math.h: Likewise.
24769 * include/net/if.h: Likewise.
24770 * include/netdb.h: Likewise.
24771 * include/netinet/in.h: Likewise.
24772 * include/pthread.h: Likewise.
24773 * include/pwd.h: Likewise.
24774 * include/regex.h: Likewise.
24775 * include/sched.h: Likewise.
24776 * include/search.h: Likewise.
24777 * include/setjmp.h: Likewise.
24778 * include/signal.h: Likewise.
24779 * include/stdio.h: Likewise.
24780 * include/stdlib.h: Likewise.
24781 * include/string.h: Likewise.
24782 * include/sys/cdefs.h: Likewise.
24783 * include/sys/mman.h: Likewise.
24784 * include/sys/msg.h: Likewise.
24785 * include/sys/resource.h: Likewise.
24786 * include/sys/select.h: Likewise.
24787 * include/sys/socket.h: Likewise.
24788 * include/sys/stat.h: Likewise.
24789 * include/sys/statvfs.h: Likewise.
24790 * include/sys/time.h: Likewise.
24791 * include/sys/times.h: Likewise.
24792 * include/sys/uio.h: Likewise.
24793 * include/sys/utsname.h: Likewise.
24794 * include/sys/wait.h: Likewise.
24795 * include/termios.h: Likewise.
24796 * include/time.h: Likewise.
24797 * include/ulimit.h: Likewise.
24798 * include/unistd.h: Likewise.
24799 * include/utime.h: Likewise.
24800 * include/wchar.h: Likewise.
24801 * include/wctype.h: Likewise.
24802 * include/wordexp.h: Likewise.
24803
24804 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24805
7a270350
UD
24806 * time/time.h: TIME_UTC must be a macro.
24807 Make timespec_get available for ISO C11 only as well.
24808
7724defc
UD
248092012-02-24 Ulrich Drepper <drepper@gmail.com>
24810
24811 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24812 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24813
6b1d1d46
JM
248142012-02-24 Joseph Myers <joseph@codesourcery.com>
24815
24816 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24817
0f8bbd69
JM
248182012-02-24 Joseph Myers <joseph@codesourcery.com>
24819
24820 * manual/texinfo.tex: Update to version 2012-01-19.16.
24821
66ab80bc
JM
248222012-02-24 Joseph Myers <joseph@codesourcery.com>
24823
24824 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24825
74981cc5
RM
248262012-02-24 Roland McGrath <roland@hack.frob.com>
24827
ee968201
RM
24828 [BZ #13738]
24829 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24830 * manual/fdl-1.3.texi: New file.
24831 * manual/fdl-1.1.texi: File removed.
24832
74981cc5
RM
24833 [BZ #13738]
24834 * manual/libc.texinfo (FDL_VERSION): New @set.
24835 Use it for mention of FDL in cover text.
24836 (Documentation License): Use it in @include file name.
24837
7bb764bc
JM
248382012-02-22 Joseph Myers <joseph@codesourcery.com>
24839 Roland McGrath <roland@hack.frob.com>
24840
24841 [BZ #5461]
24842 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24843 not LONG_LONG_MAX and LONG_LONG_MIN.
24844 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24845 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24846 name.
24847 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24848
6cbeae47
JM
248492012-02-22 Joseph Myers <joseph@codesourcery.com>
24850
24851 [BZ #2547]
24852 [BZ #11365]
24853 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24854 manipulate bits before adding and subtracting TWO23[sx].
24855 * math/libm-test.inc (nearbyint_test): Add more tests.
24856
fe45ce09
JM
248572012-02-22 Joseph Myers <joseph@codesourcery.com>
24858
24859 [BZ #2548]
24860 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24861 bits before adding and subtracting TWO23[sx].
24862 * math/libm-test.inc (rint_test): Add more tests.
24863 (rint_test_tonearest): Likewise.
24864 (rint_test_towardzero): Likewise.
24865 (rint_test_downward): Likewise.
24866 (rint_test_upward: Likewise.
24867
ff3b3d82
JM
248682012-02-22 Joseph Myers <joseph@codesourcery.com>
24869
24870 [BZ #10110]
24871 * include/stdc-predef.h: New file. Extracted from features.h.
24872 * include/features.h: Include stdc-predef.h.
24873 * Makefile (headers): Add stdc-predef.h.
24874 * CONFORMANCE (Compiler limitations): Update.
24875
ef0aab35
JM
248762012-02-22 Joseph Myers <joseph@codesourcery.com>
24877
24878 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24879
58639409
DM
248802012-02-21 David S. Miller <davem@davemloft.net>
24881
24882 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24883 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24884
c0e70b25
DM
248852012-02-20 David S. Miller <davem@davemloft.net>
24886
24887 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24888 using a normal save/restore sequence, rather than allocating a
24889 dummy stack frame just to store a frame pointer and restore.
24890 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24891
fb06851d
JM
248922012-02-21 Joseph Myers <joseph@codesourcery.com>
24893
24894 * manual/install.texi: Fix stray word in line-wrapped comment.
24895
7a8b71c3
DM
248962012-02-20 David S. Miller <davem@davemloft.net>
24897
d510c123
DM
24898 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24899 both binutils and gcc support GOTDATA.
24900
0722d7c2
DM
24901 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24902 "rd %pc" in the PIC register setup sequences.
24903
3d2b3019
DM
24904 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24905 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24906 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24907 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24908 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24910 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24911 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24912 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24913 (SYSCALL_ERROR_HANDLER): Likewise.
24914 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24915 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24916 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24917 (SYSCALL_ERROR_HANDLER): Likewise.
24918
c80098a9
DM
24919 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24920 (HAVE_GCC_GOTDATA): New.
24921 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24922 relocation support in both binutils and gcc.
24923 * sysdeps/sparc/elf/configure: Regenerate.
24924
3a2545a0
DM
24925 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24926 * sysdeps/sparc/sparc32/elf/configure: Delete.
24927 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24928 * sysdeps/sparc/sparc64/elf/configure: Delete.
24929 * sysdeps/sparc/elf/configure.in: New file.
24930 * sysdeps/sparc/elf/configure: Generate.
24931
7a8b71c3
DM
24932 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24933 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24934 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24935 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24936 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24937
f1e86fca
JM
249382012-02-21 Joseph Myers <joseph@codesourcery.com>
24939
24940 * manual/install.texi: Do not mention specific glibc version
24941 numbers.
24942 * manual/libc.texinfo (VERSION, UPDATED): Update.
24943 (@copying): Use @copyright{} and range of years.
24944
0e7dfaef
JM
249452012-02-21 Joseph Myers <joseph@codesourcery.com>
24946
24947 [BZ #13695]
24948 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24949 [crti.S not in sysdirs] (generated): Do not append.
24950 [crti.S not in sysdirs] (omit-deps): Likewise.
24951 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24952 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24953 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24954 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24955 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24956 Likewise.
24957 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24958 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24959 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24960 * csu/defs.awk: Remove file.
24961 * sysdeps/generic/initfini.c: Likewise.
24962 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24963 variable.
24964 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24965 Likewise.
24966
599af3ca
JM
249672012-02-20 Joseph Myers <joseph@codesourcery.com>
24968
24969 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24970 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24971 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24972 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24973 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24974 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24975 <bits/epoll.h>.
24976 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24977 (__EPOLL_PACKED): Define to empty if not defined by
24978 <bits/epoll.h>.
24979 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24981 bits/epoll.h.
24982
0e499750
JM
249832012-02-20 Joseph Myers <joseph@codesourcery.com>
24984
24985 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24986 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24987 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24988 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24989 <bits/timerfd.h>.
24990 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24992 bits/timerfd.h.
24993
5ad91f6e
JM
249942012-02-20 Joseph Myers <joseph@codesourcery.com>
24995
24996 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24997 in C locale.
24998 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24999 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25000 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25002
06b99b02
AJ
250032012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25004
25005 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25006 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25007
7638c0fd
AS
250082012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25009
25010 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25011 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25012 defined.
25013 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25014 Likewise.
25015 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25016 entry for 2.16.
25017
92221550
AJ
250182012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25019
25020 * math/w_acos.c: Use non-signaling floating-point comparisons.
25021 * math/w_acosf.c: Likewise.
25022 * math/w_acosh.c: Likewise.
25023 * math/w_acoshf.c: Likewise.
25024 * math/w_acoshl.c: Likewise.
25025 * math/w_acosl.c: Likewise.
25026 * math/w_asin.c: Likewise.
25027 * math/w_asinf.c: Likewise.
25028 * math/w_asinl.c: Likewise.
25029 * math/w_atanh.c: Likewise.
25030 * math/w_atanhf.c: Likewise.
25031 * math/w_atanhl.c: Likewise.
25032 * math/w_exp2.c: Likewise.
25033 * math/w_exp2f.c: Likewise.
25034 * math/w_exp2l.c: Likewise.
25035 * math/w_j0.c: Likewise.
25036 * math/w_j0f.c: Likewise.
25037 * math/w_j0l.c: Likewise.
25038 * math/w_j1.c: Likewise.
25039 * math/w_j1f.c: Likewise.
25040 * math/w_j1l.c: Likewise.
25041 * math/w_jn.c: Likewise.
25042 * math/w_jnf.c: Likewise.
25043 * math/w_log.c: Likewise.
25044 * math/w_log10.c: Likewise.
25045 * math/w_log10f.c: Likewise.
25046 * math/w_log10l.c: Likewise.
25047 * math/w_log2.c: Likewise.
25048 * math/w_log2f.c: Likewise.
25049 * math/w_log2l.c: Likewise.
25050 * math/w_logf.c: Likewise.
25051 * math/w_logl.c: Likewise.
25052 * math/w_sqrt.c: Likewise.
25053 * math/w_sqrtf.c: Likewise.
25054 * math/w_sqrtl.c: Likewise.
25055 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25056 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25057 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25058 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25059 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25060
ebaf36eb
JM
250612012-02-19 Joseph Myers <joseph@codesourcery.com>
25062
25063 [BZ #9739]
25064 * manual/string.texi (strnlen): Use correct parameter name in
25065 equivalent expression.
25066
71c254a6
JM
250672012-02-19 Joseph Myers <joseph@codesourcery.com>
25068
25069 [BZ #11174]
25070 * manual/users.texi (seteuid): Consistently use neweuid for
25071 argument name.
25072
16d2c631
JM
250732012-02-19 Joseph Myers <joseph@codesourcery.com>
25074
25075 [BZ #13704]
25076 * manual/nss.texi (Services in the NSS configuration): Correct
25077 list of services in example configuration file.
25078
cd837b09
NB
250792012-02-19 Nick Bowler <nbowler@draconx.ca>
25080
25081 [BZ #11322]
25082 * manual/arith.texi: Remove statements about negative zero
25083 behaving identically to zero.
25084
02c4bbad
JM
250852012-02-18 Joseph Myers <joseph@codesourcery.com>
25086
25087 [BZ #5993]
25088 * manual/install.texi: Do not document upgrading from libc5.
25089
366842e7
JM
250902012-02-18 Joseph Myers <joseph@codesourcery.com>
25091
25092 [BZ #4596]
25093 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25094
dd54084d
DM
250952012-02-18 David S. Miller <davem@davemloft.net>
25096
25097 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25098 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25099 %o7 across the call.
25100 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25101 instead.
25102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25103 SETUP_PIC_REG_LEAF.
25104 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25105 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25106 * sysdeps/sparc/crtn.S: Likewise.
25107
2bcc53a3
UD
251082012-02-17 Ulrich Drepper <drepper@gmail.com>
25109
25110 * aout/Makefile: Remove.
25111
09c093b5
RK
251122012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25113
25114 [BZ #13058]
25115 * manual/examples/argp-ex1.c (main): Format definition in GNU
25116 style.
25117 * manual/examples/argp-ex2.c (main): Likewise.
25118 * manual/examples/argp-ex3.c (main): Likewise.
25119 * manual/examples/argp-ex4.c (main): Likewise.
25120 * manual/examples/longopt.c (main): Use new-style prototype
25121 definition.
25122 * manual/examples/strncat.c (main): Specify return type and use
25123 (void) for arguments.
25124 * manual/examples/subopt.c (main): Use char **argv argument.
25125
2ee633a2
JM
251262012-02-17 Joseph Myers <joseph@codesourcery.com>
25127
25128 [BZ #5077]
25129 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25130 rounding modes.
25131
0520adde
FB
251322012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25133
25134 [BZ #6907]
25135 * manual/string.texi (strchr): Change when strchrnul is
25136 recommended.
25137
3f4081cd
DGM
251382012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25139
25140 [BZ #174]
25141 * manual/locale.texi (setlocale): Document LOCPATH.
25142
d1b10e78
JM
251432012-02-17 Joseph Myers <joseph@codesourcery.com>
25144
25145 [BZ #10210]
25146 * manual/process.texi (execle): Move @dots{} before last argument.
25147
79c6869c
PB
251482012-02-17 Paul Bolle <pebolle@tiscali.nl>
25149
25150 [BZ #12047]
25151 * manual/charset.texi (Generic Charset Conversion): Fix typo
25152 (LC_TYPE -> LC_CTYPE).
25153
cc6e48bc
NB
251542012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25155
25156 [BZ #5805]
25157 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25158 (scalbnf): Likewise.
25159 (scalbnl): Likewise.
25160 (scalbln): Likewise.
25161 (scalblnf): Likewise.
25162 (scalblnl): Likewise.
25163 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25164 (vwarnx): Likewise.
25165 (verr): Likewise.
25166 (verrx): Likewise.
25167 * manual/filesys.texi (telldir): Use braces around return type.
25168 * manual/llio.texi (mmap): Add space after comma.
25169 (mmap64): Likewise.
25170 * manual/math.texi (jn): Use @var{} on parameter names.
25171 (jnf): Likewise.
25172 (jnl): Likewise.
25173 (yn): Likewise.
25174 (ynf): Likewise.
25175 (ynl): Likewise.
25176 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25177 line.
25178 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25179 "...".
25180 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25181 (sched_get_priority_max): Likewise.
25182 * manual/signal.texi (sigvec): Add space after comma.
25183 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25184 names.
25185 (if_indextoname): Likewise.
25186 (if_freenameindex): Likewise.
25187 (sendto): Use ',' instead of '.' in prototype.
25188 * manual/startup.texi (syscall): Use @dots{} instead of literal
25189 "...".
25190 * manual/stdio.texi (__fpending): Separate initial words of
25191 paragraph from @deftypefun line.
25192 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25193 "...".
25194 (vsyslog): Use @var{} on parameter names.
25195 * manual/terminal.texi (stty): Use @var{} on parameter names.
25196 * manual/users.texi (getutmp): Use @var{} on parameter names.
25197 (getutmpx): Likewise.
25198
5b23062f
JM
251992012-02-17 Joseph Myers <joseph@codesourcery.com>
25200
25201 [BZ #6884]
25202 * manual/stdio.texi (fopen): Fix typos in description of
25203 ",ccs=STRING".
25204
8dee4833
AJ
252052012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25206
25207 [BZ #4026]
25208 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25209 get clock_id definition.
25210
9078ce93
TS
252112012-02-17 Thomas Schwinge <thomas@schwinge.name>
25212
25213 [BZ #4822]
25214 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25215 (madvise): Cast every argument to void on its own.
25216
3835c55f
JM
252172012-02-17 Joseph Myers <joseph@codesourcery.com>
25218
25219 [BZ #9902]
25220 * manual/startup.texi (Exit Status): Fix typo.
25221
35c47e37
JM
252222012-02-17 Joseph Myers <joseph@codesourcery.com>
25223
25224 [BZ #10140]
25225 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25226 * manual/examples/argp-ex2.c: Likewise.
25227 * manual/examples/argp-ex3.c: Likewise.
25228
e3b69ca7
RH
252292012-02-16 Richard Henderson <rth@redhat.com>
25230
25231 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25232 * sysdeps/s390/s390-32/initfini.c: Remove.
25233 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25234 * sysdeps/s390/s390-64/initfini.c: Remove.
25235
df83af67
KK
252362012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25237
25238 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25239 compiler output for sysdeps/generic/initfini.c.
25240 * sysdeps/sh/elf/initfini.c: Remove file.
25241
f63f3380
DM
252422012-02-16 David S. Miller <davem@davemloft.net>
25243
fb59b3a4
DM
25244 [BZ #11494]
25245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25246
f63f3380
DM
25247 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25248 * sysdeps/sparc/crti.S: New file.
25249 * sysdeps/sparc/crtn.S: New file.
25250 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25251 * sysdeps/sparc/sparc64/Makefile: Likewise.
25252
df6a4a4a
MF
252532012-02-15 Mike Frysinger <vapier@gentoo.org>
25254
6dd8f3dc 25255 [BZ #3335]
df6a4a4a
MF
25256 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25257
1cac7236
RM
252582012-02-15 Roland McGrath <roland@hack.frob.com>
25259
d2c736f8
RM
25260 [BZ #4822]
25261 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25262
1cac7236
RM
25263 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25264 (write, read, close): Likewise.
25265 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25266
8e475601
JM
252672012-02-15 Joseph Myers <joseph@codesourcery.com>
25268
25269 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25270 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25271 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25272 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25273 <bits/signalfd.h>.
25274 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25276 bits/signalfd.h.
25277
ed656b40
MP
252782012-02-14 Marek Polacek <polacek@redhat.com>
25279
25280 * sysdeps/x86_64/crti.S: New file.
25281 * sysdeps/x86_64/crtn.S: New file.
25282 * sysdeps/x86_64/elf/initfini.c: Remove file.
25283
2a979d3a
JM
252842012-02-13 Joseph Myers <joseph@codesourcery.com>
25285
25286 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25287 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25288 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25289 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25290 <bits/inotify.h>.
25291 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25293 bits/inotify.h.
25294
2a418ac3
JM
252952012-02-13 Joseph Myers <joseph@codesourcery.com>
25296
25297 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25298 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25299 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25300 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25301 <bits/eventfd.h>.
25302 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25304 bits/eventfd.h.
25305
fb779be7
TS
253062012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25307
e19e83c5
RM
25308 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25309 __feraiseexcept instead of feraiseexcept.
7c35ffed 25310
fb779be7
TS
25311 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25312 nanosleep invocations.
25313 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25314 strings, and add error checking for a nanosleep invocations.
25315
59ba27a6
PE
253162012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25317
25318 Replace FSF snail mail address with URLs, as per GNU coding standards.
25319 Most of the snail mail addresses were wrong anyway, and omitting
25320 them makes the source code easier to maintain. Almost all of the
25321 changes are to license notices and to locale LC_IDENTIFICATION
25322 addresses, except for this one:
25323 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25324 not its snail mail address.
25325
57b957eb
RH
253262012-02-09 Richard Henderson <rth@twiddle.net>
25327
af850b1c
RH
25328 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25329 of kernel-features.h.
25330
57b957eb
RH
25331 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25332
6b73181a
MP
253332012-02-08 Marek Polacek <polacek@redhat.com>
25334
25335 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25336 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25337 * sysdeps/gnu/_G_config.h: Likewise.
25338 * sysdeps/generic/_G_config.h: Likewise.
25339
26ecc33a
AS
253402012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25341
6c6dbc63
AS
25342 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25343 tests.
25344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25345
e216c012
AS
25346 * sysdeps/powerpc/powerpc32/crti.S: New file.
25347 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25348 * sysdeps/powerpc/powerpc64/crti.S: New file.
25349 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25350
26ecc33a
AS
25351 * Makeconfig (have-initfini): Don't set.
25352 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25353 * configure.in (nopic_initfini): Don't substitute.
25354 * config.h.in (HAVE_INITFINI): Don't #undef.
25355 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25356 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25357
3add8e13
JM
253582012-02-08 Joseph Myers <joseph@codesourcery.com>
25359
25360 Support crti.S and crtn.S provided directly by architectures.
25361 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25362 [crti.S in sysdirs] (omit-deps): Likewise.
25363 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25364 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25365 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25366 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25367 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25368 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25369 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25370 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25371 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25372 compiler output for sysdeps/generic/initfini.c.
25373 * sysdeps/i386/elf/Makefile: Remove file.
25374 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25375
a22f12b4
MP
253762012-02-07 Marek Polacek <polacek@redhat.com>
25377
25378 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25379 * sysdeps/gnu/_G_config.h: Likewise.
25380 * sysdeps/mach/hurd/_G_config.h: Likewise.
25381
148cf100
MP
253822012-02-07 Marek Polacek <polacek@redhat.com>
25383
25384 * math/Makefile (tests): Add tst-CMPLX2.
25385 * math/tst-CMPLX2.c: New file.
25386
cfdc0dd7
AS
253872012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25388
84ba42c4
AS
25389 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25390
cfdc0dd7
AS
25391 * math/libm-test.inc (jn_test): Add missing L suffix.
25392
622c86f4
MP
253932012-02-06 Marek Polacek <polacek@redhat.com>
25394
25395 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25396 * sysdeps/i386/fpu/e_powf.S: Likewise.
25397 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25398 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25399 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25400 * sysdeps/i386/fpu/e_pow.S: Likewise.
25401 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25402 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25403 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25404 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25405 * sysdeps/i386/fpu/e_log2.S: Likewise.
25406 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25407 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25408 * sysdeps/i386/fpu/e_powl.S: Likewise.
25409 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25410 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25411 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25412 * sysdeps/i386/fpu/e_logl.S: Likewise.
25413 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25414 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25415 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25416 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25417 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25418 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25419 * sysdeps/i386/fpu/e_log.S: Likewise.
25420 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25421 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25422 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25423 * sysdeps/i386/fpu/e_logf.S: Likewise.
25424 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25425 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25426 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25427 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25428 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25429 * sysdeps/i386/fpu/e_log10.S: Likewise.
25430 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25431 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25432 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25433 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25434 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25435 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25436 * sysdeps/i386/asm-syntax.h: Likewise.
25437 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25438 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25439 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25440 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25441 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25442 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25443 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25444 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25445 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25446 * sysdeps/powerpc/sysdep.h: Likewise.
25447 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25448 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25449
d4a54ac6
JM
254502012-02-06 Joseph Myers <joseph@codesourcery.com>
25451
25452 [BZ #411]
25453 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25454
314054ea
JM
254552012-02-06 Joseph Myers <joseph@codesourcery.com>
25456
25457 * sysdeps/i386/sysdep.h: Include <features.h>.
25458 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25459 version.
25460
d8e0ca50
JM
254612012-02-05 Joseph Myers <joseph@codesourcery.com>
25462
25463 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25464 Define.
25465 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25466 LOAD_PIC_REG_STR.
25467
b1da7dd9
JM
254682012-02-03 Joseph Myers <joseph@codesourcery.com>
25469
25470 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25471 (SETUP_PIC_REG): Use GET_PC_THUNK.
25472 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25473 macro.
25474
9a1d9254
JM
254752012-02-03 Joseph Myers <joseph@codesourcery.com>
25476
25477 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25478 for non-PIC compilation.
25479 (SETUP_PIC_REG): Add .p2align directive.
25480 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25481 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25482 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25483 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25484 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25485 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25486 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25487 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25488 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25489 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25490 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25491 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25492 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25493 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25494 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25495 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25496 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25497 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25498 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25499 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25500 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25501 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25502 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25503 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25504 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25506 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25507 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25508 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25509 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25510 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25511 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25512 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25513 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25514 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25515 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25516 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25517 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25518 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25519 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25520 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25521
65dc3b75
JM
255222012-02-03 Joseph Myers <joseph@codesourcery.com>
25523
25524 * math/tst-CMPLX.c: Include <stdio.h>.
25525
d55bf177
JM
255262012-01-31 Joseph Myers <joseph@codesourcery.com>
25527
25528 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25529 float.
25530 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25531 * sysdeps/sparc/bits/mathdef.h: Likewise.
25532
69db4f8f
MP
255332012-01-31 Marek Polacek <polacek@redhat.com>
25534
25535 * libio/libio.h: Don't define _PARAMS.
25536 * locale/programs/config.h: Don't define PARAMS.
25537 * stdlib/strtol_l.c: Likewise.
25538 (__strtol_l): Remove PARAMS from the prototype.
25539
41b81892
UD
255402012-01-31 Ulrich Drepper <drepper@gmail.com>
25541
3b49edc0
UD
25542 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25543 names. Just use the correct names. Remove unnecessary wrapper
25544 functions.
25545 * malloc/arena.c: Likewise.
25546 * malloc/hooks.c: Likewise.
25547
41b81892
UD
25548 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25549 ARENA_TEST says not to. Simplify test for creation of a new arena.
25550 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25551
27a25b6e
UD
255522012-01-30 Ulrich Drepper <drepper@gmail.com>
25553
25554 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25555 into tail calls.
25556 (update_get_addr): New function.
25557 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25558 GET_ADDR_MODULE parameter.
25559
c8a89e7d
JM
255602012-01-30 Joseph Myers <joseph@codesourcery.com>
25561
25562 * crypt/cert.c: Remove __STDC__ conditionals.
25563 * crypt/crypt-entry.c: Likewise.
25564 * crypt/crypt_util.c: Likewise.
25565 * libio/filedoalloc.c: Likewise.
25566 * libio/fileops.c: Likewise.
25567 * libio/genops.c: Likewise.
25568 * libio/iofclose.c: Likewise.
25569 * libio/iofdopen.c: Likewise.
25570 * libio/iofopen.c: Likewise.
25571 * libio/iofopen64.c: Likewise.
25572 * libio/iogetdelim.c: Likewise.
25573 * libio/iopopen.c: Likewise.
25574 * libio/obprintf.c: Likewise.
25575 * libio/oldfileops.c: Likewise.
25576 * libio/oldiofclose.c: Likewise.
25577 * libio/oldiofdopen.c: Likewise.
25578 * libio/oldiofopen.c: Likewise.
25579 * libio/oldiopopen.c: Likewise.
25580 * libio/wfiledoalloc.c: Likewise.
25581 * libio/wgenops.c: Likewise.
25582 * locale/programs/xmalloc.c: Likewise.
25583 * misc/syslog.c: Likewise.
25584 * stdio-common/xbug.c: Likewise.
25585 * string/memchr.c: Likewise.
25586 * string/memcmp.c: Likewise.
25587 * string/memrchr.c: Likewise.
25588 * string/rawmemchr.c: Likewise.
25589 * sysdeps/posix/getcwd.c: Likewise.
25590 * time/strftime_l.c: Likewise.
25591
3b100462
JM
255922012-01-30 Joseph Myers <joseph@codesourcery.com>
25593
25594 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25595 * config.make.in (config-cflags-sse2avx): Define.
25596 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25597 Fix typo.
25598
607998af
CM
255992012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25600
25601 * scripts/config.guess: Update from upstream config git repository.
25602 * scripts/config.sub: Likewise.
25603
3601428f
CM
256042012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25605
3ac8b282
CM
25606 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25607 (EM_NUM): Update.
25608 (R_TILEPRO_*, R_TILEGX_*): New macros.
25609
e034841e
CM
25610 * scripts/firstversions.awk: Fix bug in version range handling.
25611
540d7568
CM
25612 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25613
3601428f
CM
25614 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25615
463de862
CM
25616 * include/sys/epoll.h: New file.
25617 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25618 libc_hidden_def.
25619
73139a76
UD
256202012-01-28 Ulrich Drepper <drepper@gmail.com>
25621
96bc5b45
UD
25622 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25623 Avoid unnecessary __WORDSIZE == 64 test.
25624 (fmaxf): Use VEX format if possible.
25625 (fmax): Likewise.
25626 (fminf): Likewise.
25627 (fmin): Likewise.
25628
56f6f6a2
UD
25629 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25630 * math/math_private.h: Remove libc_fegetround* and
25631 libc_fesetround*.
25632 * sysdeps/i386/configure.in: Check for -msse2avx.
25633 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25634 also if SSE2AVX is defined.
25635 Remove libc_fegetround* and libc_fesetround*.
25636 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25637 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25638 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25639 of HAS_YMM_USABLE.
25640 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25641 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25642 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25643 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25644 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25645
73139a76
UD
25646 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25647
d73f93a4
AZ
256482012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25649
25650 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25651 size is not set.
25652 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25653
6ee65ed6
UD
256542012-01-27 Ulrich Drepper <drepper@gmail.com>
25655
25656 [BZ #13618]
25657 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25658 relocation.
25659 * Makeconfig (libm): Define.
25660 * elf/Makefile: Add rules to build and run tst-relsort1.
25661 * elf/tst-relsort1.c: New file.
25662 * elf/tst-relsort1mod1.c: New file.
25663 * elf/tst-relsort1mod2.c: New file.
25664
8db21882
JM
256652012-01-27 Joseph Myers <joseph@codesourcery.com>
25666
25667 * math/s_ldexp.c: Remove __STDC__ conditionals.
25668 * math/s_ldexpf.c: Likewise.
25669 * math/s_ldexpl.c: Likewise.
25670 * math/s_nextafter.c: Likewise.
25671 * math/s_nexttowardf.c: Likewise.
25672 * math/s_significand.c: Likewise.
25673 * math/s_significandf.c: Likewise.
25674 * math/s_significandl.c: Likewise.
25675 * math/w_jnl.c: Likewise.
25676 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25677 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25678 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25679 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25680 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25681 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25682 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25683 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25684 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25685 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25686 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25687 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25688 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25689 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25690 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25691 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25692 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25693 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25695 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25696 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25697 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25698 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25699 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25700 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25701 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25702 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25703 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25704 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25705 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25706 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25707 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25708 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25709 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25710 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25711 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25712 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25713 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25714 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25715 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25716 * sysdeps/ieee754/k_standard.c: Likewise.
25717 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25718 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25721 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25723 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25725 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25726 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25727 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25728 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25729 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25730 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25731 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25732 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25733 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25734 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25735 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25736 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25738 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25739 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25740 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25741 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25742 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25743 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25744 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25745 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25746 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25747 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25748 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25749 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25750 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25752 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25753 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25754 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25755 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25756 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25757 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25758 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25759 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25760 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25761 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25762 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25763 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25764 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25766 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25767 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25768 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25769 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25770 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25771 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25772 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25773 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25774 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25775 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25776 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25777 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25778 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25779 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25780 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25781 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25782 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25783 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25784 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25785 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25786 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25787 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25788 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25789 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25790 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25791 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25792 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25793 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25794 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25795 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25796 * sysdeps/ieee754/s_matherr.c: Likewise.
25797 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25798 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25799 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25800 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25801
965a54a4
JM
258022012-01-26 Joseph Myers <joseph@codesourcery.com>
25803
25804 * crypt/md5.h: Remove __STDC__ conditionals.
25805 * libio/libioP.h: Likewise.
25806 * locale/programs/config.h: Likewise.
25807 * sysdeps/generic/sysdep.h: Likewise.
25808 * sysdeps/i386/asm-syntax.h: Likewise.
25809 * sysdeps/s390/asm-syntax.h: Likewise.
25810 * sysdeps/unix/sysdep.h: Likewise.
25811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25813
7071ad79
JM
258142012-01-26 Joseph Myers <joseph@codesourcery.com>
25815
25816 * libio/libio.h: Remove __STDC__ conditionals.
25817 * malloc/obstack.h: Likewise.
25818 * math/complex.h: Likewise.
25819 * math/math.h: Likewise.
25820 * sysdeps/generic/_G_config.h: Likewise.
25821 * sysdeps/gnu/_G_config.h: Likewise.
25822 * sysdeps/mach/hurd/_G_config.h: Likewise.
25823 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25824 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25825 * sysdeps/sparc/bits/mathdef.h: Likewise.
25826
afc5ed09
UD
258272012-01-26 Ulrich Drepper <drepper@gmail.com>
25828
25829 [BZ #13583]
25830 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25831 Clean up HAS_* macros.
afc5ed09 25832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25833 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25834 possible.
25835 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25836 HAS_AVX.
25837 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25838 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25839 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25840 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25841 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25842
bdb6de1d
JM
258432012-01-25 Joseph Myers <joseph@codesourcery.com>
25844
25845 * elf/tst-unique3.cc (gets): Remove declaration.
25846 * elf/tst-unique3lib.cc (gets): Likewise.
25847 * elf/tst-unique3lib2.cc (gets): Likewise.
25848 * elf/tst-unique4.cc (gets): Likewise.
25849
b15549e6
UD
258502012-01-24 Ulrich Drepper <drepper@gmail.com>
25851
25852 * include/stdio.h: Add C++ protection. Add gets declarations and
25853 definitions.
25854 * debug/tst-chk1.c: Don't declare gets here.
25855 * stdio-common/tst-gets.c: Likewise.
25856
a037381f
JM
258572012-01-24 Joseph Myers <joseph@codesourcery.com>
25858
25859 * posix/glob: Remove directory.
25860
f1d4aa75
JM
258612012-01-24 Joseph Myers <joseph@codesourcery.com>
25862
25863 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25864
81c0c964
PT
258652012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25866
25867 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25868 of the non-standard EPFNOSUPPORT.
25869
0ea698ae
ST
258702011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25871
25872 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25873 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25874 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25875
d220b117
UD
258762012-01-21 Ulrich Drepper <drepper@gmail.com>
25877
25878 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25879
3e1aa84e
UD
258802012-01-20 Ulrich Drepper <drepper@gmail.com>
25881
25882 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25883 transient errors.
25884 * nscd/grpcache.c (cache_addgr): Likewise.
25885 * nscd/hstcache.c (cache_addhst): Likewise.
25886 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25887 * nscd/pwdcache.c (cache_addpw): Likewise.
25888 * nscd/servicescache.c (cache_addserv): Likewise.
25889
400aa020
UD
258902012-01-16 Ulrich Drepper <drepper@gmail.com>
25891
d77e7869
UD
25892 * malloc/malloc.c: Various cleanups.
25893 * malloc/hooks.c: Likewise.
25894
400aa020
UD
25895 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25896 * stdlib/bug-fmtmsg1.c: New file.
25897
25898 * stdlib/fmtmsg.c (init): Add missing unlock.
25899 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25900
e0a309cf
MP
259012012-01-12 Marek Polacek <polacek@redhat.com>
25902
25903 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25904 and _GNU_SOURCE.
25905
929d11c7
WS
259062012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25907
25908 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25909 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25910 macro to ensure uniqueness of label name.
25911 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25912 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25913
41d0e869
UD
259142012-01-11 Ulrich Drepper <drepper@gmail.com>
25915
0cc5ed3b
UD
25916 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25917
41d0e869
UD
25918 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25919 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25920 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25921 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25922
a47a831a
UD
259232012-01-10 Ulrich Drepper <drepper@gmail.com>
25924
daa891c0
UD
25925 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25926
25927 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25928 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25929 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25930
e58ef0f2
UD
25931 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25932
a47a831a 25933 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25934 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25935 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25936 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25937
25938 * math/bits/math-finite.h: Add ldexp support.
25939
a0bfc9c7
MP
259402012-01-10 Marek Polacek <polacek@redhat.com>
25941
25942 * locale/programs/localedef.h (show_archive_content): Add noreturn
25943 attribute.
25944
d6e97a1d
UD
259452012-01-09 Ulrich Drepper <drepper@gmail.com>
25946
25947 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25948
d5835c26
UD
259492012-01-08 Ulrich Drepper <drepper@gmail.com>
25950
e5f484c6
UD
25951 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25952
d5835c26
UD
25953 * io/Makefile (headers): Add bits/poll2.h.
25954
d1f741e9
WS
259552011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25956
25957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25958 typo #include statement.
25959
ec09c1c4
UD
259602012-01-08 Ulrich Drepper <drepper@gmail.com>
25961
25962 * include/sys/cdefs.h: Define __attribute_alloc_size.
25963 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25964 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25965 * elf/pldd.c: Likewise.
25966 * iconv/iconv_charmap.c: Likewise.
25967 * iconv/iconvconfig.c: Likewise.
25968 * iconv/strtab.c: Likewise.
25969 * locale/programs/locale.c: Likewise.
25970 * locale/programs/localedef.h: Likewise.
25971 * locale/programs/simple-hash.c: Likewise.
25972 * nscd/nscd.h: Likewise.
25973 * nss/makedb.c: Likewise.
25974 * sysdeps/generic/ldconfig.h: Likewise.
25975 * locale/programs/localedef.c: Remove xmalloc prototype.
25976 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25977
20b38e03
PP
259782012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25979
25980 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25981 appropriate.
25982
a0da5fe1
UD
259832012-01-08 Ulrich Drepper <drepper@gmail.com>
25984
1d5a644a 25985 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25986 * math/tst-CMPLX.c: New file.
1d5a644a 25987
8784a6db
UD
25988 * math/complex.h (CMPLXL): Fix typo.
25989
d9a216c0
UD
25990 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25991 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25992 GLIBC_2.16.
25993 * debug/tst-chk1.c: Add poll and ppoll tests.
25994 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25995 * include/sys/poll.h: Add hidden proto for ppoll.
25996 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25997 * sysdeps/mach/hurd/ppoll.c: Likewise.
25998 * io/ppoll.c: Likewise.
25999 * debug/poll_chk.c: New file.
26000 * debug/ppoll_chk.c: New file.
26001 * include/bits/poll2.h: New file.
26002 * io/bits/poll2.h: New file.
26003
ac097f5c
UD
26004 [BZ #1350]
26005 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26006
2119dcfa
UD
26007 * configure.in: static is always set to yes. Remove.
26008 * config.make.in: Don't set build-static.
26009 * Makeconfig: Remove use of build-static.
26010 * dlfcn/Makefile: Likewise.
26011 * elf/Makefile: Likewise.
26012 * math/Makefile: Likewise.
26013 * misc/Makefile: Likewise.
26014 * nptl/Makefile: Likewise.
26015 * sysdeps/mach/hurd/Makefile: Likewise.
26016
121766a9
UD
26017 * configure.in: PWD_P is not used anymore.
26018 * config.make.in: Remove PWD_P entry.
26019
51a1d39c 26020 * configure.in: Remove last remnants of RANLIB.
8720d066 26021 No need to check for signed size_t anymore.
215f4bdc
UD
26022 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26023 and IA-64.
3857022a 26024 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26025 * aclocal.m4: Likewise.
26026
d3ed7225
UD
26027 * wcsmbs/mbrtoc16.c: Implement using towc function.
26028 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26029 * wcsmbs/wcsmbsload.c: Likewise.
26030 * iconv/gconv_simple.c: Likewise.
26031 * iconv/gconv_int.h: Likewise.
26032 * iconv/gconv_builtin.h: Likewise.
26033 * iconv/iconv_prog.c: Remove CHAR16 handling.
26034
26035 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26036
26037 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26038
a0da5fe1
UD
26039 * configure.in: Remove --with-elf and --enable-bounded options.
26040 Dont set base_machine for ia64. More non-ELF conditions removed.
26041 Remove testing and setting of leading underscore information.
26042 * config.make.in (build-bounded): Set to no.
26043 * config.h.in: Remove NO_UNDERSCORES entry.
26044 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26045 them.
26046 * csu/start.c: Remove !NO_UNDERSCORE code.
26047 * locale/localeinfo.h: Likewise.
26048 * sysdeps/generic/machine-gmon.h: Likewise.
26049 * sysdeps/generic/sysdep.h: Likewise.
26050 * sysdeps/i386/sysdep.h: Likewise.
26051 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26052 * sysdeps/mach/sysdep.h: Likewise.
26053 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26054 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26055 * sysdeps/sh/sysdep.h: Likewise.
26056 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26057 * sysdeps/unix/i386/sysdep.S: Likewise.
26058 * sysdeps/unix/sparc/start.c: Likewise.
26059 * sysdeps/unix/sparc/sysdep.S: Likewise.
26060 * sysdeps/unix/sparc/sysdep.h: Likewise.
26061 * sysdeps/unix/start.c: Likewise.
26062 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26063 * sysdeps/x86_64/sysdep.h: Likewise.
26064
df78418a
UD
260652012-01-07 Ulrich Drepper <drepper@gmail.com>
26066
a784e502
UD
26067 [BZ #13553]
26068 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26069 for non-gcc.
26070 * argp/argp-fmtstream.h: Use const instead __const.
26071 * argp/argp.h: Likewise.
26072 * assert/assert.h: Likewise.
26073 * bits/fenv.h: Likewise.
26074 * bits/sched.h: Likewise.
26075 * bits/sigset.h: Likewise.
26076 * bits/sigthread.h: Likewise.
26077 * catgets/nl_types.h: Likewise.
26078 * conform/data/pthread.h-data: Likewise.
26079 * crypt/crypt-private.h: Likewise.
26080 * crypt/crypt.h: Likewise.
26081 * crypt/crypt_util.c: Likewise.
26082 * ctype/ctype.h: Likewise.
26083 * debug/execinfo.h: Likewise.
26084 * debug/mbsnrtowcs_chk.c: Likewise.
26085 * debug/mbsrtowcs_chk.c: Likewise.
26086 * debug/wcsnrtombs_chk.c: Likewise.
26087 * debug/wcsrtombs_chk.c: Likewise.
26088 * debug/wcstombs_chk.c: Likewise.
26089 * dirent/dirent.h: Likewise.
26090 * dlfcn/dlfcn.h: Likewise.
26091 * elf/neededtest4.c: Likewise.
26092 * grp/grp.h: Likewise.
26093 * gshadow/gshadow.h: Likewise.
26094 * iconv/gconv.h: Likewise.
26095 * iconv/gconv_int.h: Likewise.
26096 * iconv/gconv_simple.c: Likewise.
26097 * iconv/iconv.h: Likewise.
26098 * iconv/loop.c: Likewise.
26099 * iconv/skeleton.c: Likewise.
26100 * include/aio.h: Likewise.
26101 * include/aliases.h: Likewise.
26102 * include/argz.h: Likewise.
26103 * include/arpa/inet.h: Likewise.
26104 * include/assert.h: Likewise.
26105 * include/dirent.h: Likewise.
26106 * include/dlfcn.h: Likewise.
26107 * include/execinfo.h: Likewise.
26108 * include/fcntl.h: Likewise.
26109 * include/fenv.h: Likewise.
26110 * include/glob.h: Likewise.
26111 * include/grp.h: Likewise.
26112 * include/libintl.h: Likewise.
26113 * include/mntent.h: Likewise.
26114 * include/netdb.h: Likewise.
26115 * include/pwd.h: Likewise.
26116 * include/rpc/netdb.h: Likewise.
26117 * include/sched.h: Likewise.
26118 * include/search.h: Likewise.
26119 * include/shadow.h: Likewise.
26120 * include/signal.h: Likewise.
26121 * include/stdio.h: Likewise.
26122 * include/stdlib.h: Likewise.
26123 * include/string.h: Likewise.
26124 * include/sys/socket.h: Likewise.
26125 * include/sys/stat.h: Likewise.
26126 * include/sys/statfs.h: Likewise.
26127 * include/sys/statvfs.h: Likewise.
26128 * include/sys/syslog.h: Likewise.
26129 * include/sys/time.h: Likewise.
26130 * include/sys/uio.h: Likewise.
26131 * include/time.h: Likewise.
26132 * include/unistd.h: Likewise.
26133 * include/utmp.h: Likewise.
26134 * include/wchar.h: Likewise.
26135 * include/wctype.h: Likewise.
26136 * inet/aliases.h: Likewise.
26137 * inet/arpa/inet.h: Likewise.
26138 * inet/netinet/ether.h: Likewise.
26139 * inet/netinet/in.h: Likewise.
26140 * intl/libintl.h: Likewise.
26141 * io/bits/fcntl2.h: Likewise.
26142 * io/fcntl.h: Likewise.
26143 * io/ftw.h: Likewise.
26144 * io/sys/poll.h: Likewise.
26145 * io/sys/stat.h: Likewise.
26146 * io/sys/statfs.h: Likewise.
26147 * io/sys/statvfs.h: Likewise.
26148 * io/utime.h: Likewise.
26149 * libio/bits/stdio.h: Likewise.
26150 * libio/bits/stdio2.h: Likewise.
26151 * libio/libio.h: Likewise.
26152 * libio/libioP.h: Likewise.
26153 * libio/stdio.h: Likewise.
26154 * locale/lc-ctype.c: Likewise.
26155 * locale/locale.h: Likewise.
26156 * login/utmp.h: Likewise.
26157 * malloc/arena.c: Likewise.
26158 * malloc/malloc.c: Likewise.
26159 * malloc/malloc.h: Likewise.
26160 * malloc/mcheck.c: Likewise.
26161 * malloc/mtrace.c: Likewise.
26162 * math/bits/mathcalls.h: Likewise.
26163 * math/fenv.h: Likewise.
26164 * math/math_private.h: Likewise.
26165 * misc/bits/error.h: Likewise.
26166 * misc/bits/syslog.h: Likewise.
26167 * misc/err.h: Likewise.
26168 * misc/error.h: Likewise.
26169 * misc/fstab.h: Likewise.
26170 * misc/mntent.h: Likewise.
26171 * misc/regexp.h: Likewise.
26172 * misc/search.h: Likewise.
26173 * misc/sgtty.h: Likewise.
26174 * misc/sys/mman.h: Likewise.
26175 * misc/sys/syslog.h: Likewise.
26176 * misc/sys/uio.h: Likewise.
26177 * misc/sys/xattr.h: Likewise.
26178 * misc/ttyent.h: Likewise.
26179 * nis/rpcsvc/ypclnt.h: Likewise.
26180 * nss/nss.h: Likewise.
26181 * posix/bits/unistd.h: Likewise.
26182 * posix/fnmatch.h: Likewise.
26183 * posix/glob.h: Likewise.
26184 * posix/sched.h: Likewise.
26185 * posix/spawn.h: Likewise.
26186 * posix/sys/wait.h: Likewise.
26187 * posix/unistd.h: Likewise.
26188 * posix/wordexp.h: Likewise.
26189 * pwd/pwd.h: Likewise.
26190 * resolv/netdb.h: Likewise.
26191 * resource/sys/resource.h: Likewise.
26192 * rt/aio.h: Likewise.
26193 * rt/bits/mqueue2.h: Likewise.
26194 * rt/mqueue.h: Likewise.
26195 * shadow/shadow.h: Likewise.
26196 * signal/signal.h: Likewise.
26197 * socket/send.c: Likewise.
26198 * socket/sendto.c: Likewise.
26199 * socket/sys/socket.h: Likewise.
26200 * stdio-common/printf.h: Likewise.
26201 * stdlib/bits/stdlib.h: Likewise.
26202 * stdlib/fmtmsg.h: Likewise.
26203 * stdlib/monetary.h: Likewise.
26204 * stdlib/stdlib.h: Likewise.
26205 * stdlib/ucontext.h: Likewise.
26206 * streams/stropts.h: Likewise.
26207 * string/argz.h: Likewise.
26208 * string/bits/string2.h: Likewise.
26209 * string/string.h: Likewise.
26210 * string/strings.h: Likewise.
26211 * sunrpc/rpc/auth.h: Likewise.
26212 * sunrpc/rpc/auth_des.h: Likewise.
26213 * sunrpc/rpc/clnt.h: Likewise.
26214 * sunrpc/rpc/netdb.h: Likewise.
26215 * sunrpc/rpc/pmap_clnt.h: Likewise.
26216 * sunrpc/rpc/xdr.h: Likewise.
26217 * sysdeps/generic/inttypes.h: Likewise.
26218 * sysdeps/generic/net/if.h: Likewise.
26219 * sysdeps/generic/sys/swap.h: Likewise.
26220 * sysdeps/gnu/net/if.h: Likewise.
26221 * sysdeps/gnu/utmpx.h: Likewise.
26222 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26223 * sysdeps/i386/i486/bits/string.h: Likewise.
26224 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26225 * sysdeps/s390/bits/string.h: Likewise.
26226 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26227 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26228 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26229 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26230 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26231 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26232 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26233 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26234 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26235 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26236 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26237 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26238 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26239 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26240 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26241 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26242 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26244 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26245 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26247 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26248 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26249 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26250 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26251 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26252 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26253 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26254 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26255 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26256 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26257 * sysvipc/sys/ipc.h: Likewise.
26258 * sysvipc/sys/msg.h: Likewise.
26259 * sysvipc/sys/sem.h: Likewise.
26260 * sysvipc/sys/shm.h: Likewise.
26261 * termios/termios.h: Likewise.
26262 * time/sys/time.h: Likewise.
26263 * time/time.h: Likewise.
26264 * wcsmbs/bits/wchar2.h: Likewise.
26265 * wcsmbs/uchar.h: Likewise.
26266 * wcsmbs/wchar.h: Likewise.
26267 * wctype/wctype.h: Likewise.
26268
0269750c
UD
26269 [BZ #13551]
26270 * Makeconfig: Remove all but ELF support including AIX support.
26271 * Makerules: Likewise.
26272 * config.h.in: Likewise.
26273 * config.make.in: Likewise.
26274 * configure: Likewise.
26275 * configure.in: Likewise.
26276 * csu/Makefile: Likewise.
26277 * csu/version.c: Likewise.
26278 * debug/Makefile: Likewise.
26279 * dlfcn/Makefile: Likewise.
26280 * elf/Makefile: Likewise.
26281 * extra-lib.mk: Likewise.
26282 * iconv/Makefile: Likewise.
26283 * include/libc-symbols.h: Likewise.
26284 * include/shlib-compat.h: Likewise.
26285 * resolv/Makefile: Likewise.
26286 * resolv/res_libc.c: Likewise.
26287 * rt/Makefile: Likewise.
26288 * sysdeps/i386/asm-syntax.h: Likewise.
26289 * sysdeps/i386/sysdep.h: Likewise.
26290 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26291 * sysdeps/mach/sysdep.h: Likewise.
26292 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26293 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26294 * sysdeps/s390/asm-syntax.h: Likewise.
26295 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26296 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26297 * sysdeps/sh/sysdep.h: Likewise.
26298 * sysdeps/unix/sparc/sysdep.h: Likewise.
26299 * sysdeps/wordsize-32/divdi3.c: Likewise.
26300 * sysdeps/x86_64/sysdep.h: Likewise.
26301
00bbd29b
UD
26302 * argp/Versions: Remove _argp_unlock_xxx.
26303
26304 [BZ #13559]
26305 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26306 * abilist/libBrokenLocale.abilist: Likewise.
26307 * abilist/libanl.abilist: Likewise.
26308 * abilist/libc.abilist: Likewise.
26309 * abilist/libcrypt.abilist: Likewise.
26310 * abilist/libdl.abilist: Likewise.
26311 * abilist/libm.abilist: Likewise.
26312 * abilist/libnsl.abilist: Likewise.
26313 * abilist/libpthread.abilist: Likewise.
26314 * abilist/libresolv.abilist: Likewise.
26315 * abilist/librt.abilist: Likewise.
26316 * abilist/libthread_db.abilist: Likewise.
26317 * abilist/libutil.abilist: Likewise.
26318 * abilist/libnss_db.abilist: New file.
26319
26320 * scripts/abilist.awk: Add support for indirect functions.
26321
a2693a0e
UD
26322 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26323
3f05895f
UD
26324 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26325
ecb6fb48
UD
26326 * shlib-versions: Remove entries for ports architectures.
26327
664f8cb9
UD
26328 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26329 files in ports.
26330 * elf/stackguard-macros.h: Remove support for IA-64.
26331 * elf/tst-auditmod1.c: Likewise.
26332 * sysdeps/generic/ldsodefs.h: Likewise.
26333
7ae81d88
UD
26334 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26335 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26336 configure files.
26337
bdeba135
UD
26338 [BZ #13552]
26339 * configure.in: Remove --enable-omitfp support.
26340 * FAQ.in: Adjust.
26341 * config.make.in: Likewise.
26342 * Makeconfig: Likewise.
26343 * manual/install.texi: Likewise.
26344
d75a0a62
UD
26345 In case anyone cares, the IA-64 architecture could move to ports.
26346 * sysdeps/ia64/*: Removed.
26347 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26348 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26349
dcc9756b
UD
26350 [BZ #13555]
26351 * configure.in: Remove entries for unsupported architectures.
26352
d3761ebc 26353 [BZ #13533]
9954432e
UD
26354 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26355 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26356 routines.
26357 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26358 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26359 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26360 fall back to using wcrtomb.
26361 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26362 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26363 renaming.
26364 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26365 * wcsmbs/tst-c16c32-1.c: New file.
26366
26367 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26368 local variable.
26369
c3a87236
UD
26370 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26371
28926a1b
UD
26372 * elf/tst-unique3.cc: Add explicit declaration of gets.
26373 * elf/tst-unique3lib.cc: Likewise.
26374 * elf/tst-unique3lib2.cc: Likewise.
26375 * elf/tst-unique4.cc: Likewise.
26376
df78418a
UD
26377 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26378
8ecd6b2a
JM
263792012-01-06 Joseph Myers <joseph@codesourcery.com>
26380
26381 [BZ #13566]
26382 * assert/assert.h (static_assert): Don't define for C++.
26383 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26384 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26385
9f115170
UD
263862012-01-03 Ulrich Drepper <drepper@gmail.com>
26387
5e0d0300
UD
26388 * iconv/loop.c (single loop): Fix assertion in storing of
26389 remaining bytes.
26390
9f115170
UD
26391 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26392
81fb02b0
UD
263932012-01-01 Ulrich Drepper <drepper@gmail.com>
26394
26395 * posix/getconf.c: Update copyright year.
26396 * nss/getent.c: Likewise.
a316c1f6 26397 * nss/makedb.c: Likewise.
81fb02b0
UD
26398 * iconv/iconvconfig.c: Likewise.
26399 * iconv/iconv_prog.c: Likewise.
26400 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26401 * elf/pldd.c: Likewise.
26402 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26403 * catgets/gencat.c: Likewise.
26404 * csu/version.c: Likewise.
26405 * elf/ldd.bash.in: Likewise.
26406 * elf/sprof.c (print_version): Likewise.
26407 * locale/programs/locale.c: Likewise.
26408 * locale/programs/localedef.c: Likewise.
a316c1f6 26409 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26410 * nscd/nscd.c (print_version): Likewise.
26411 * debug/xtrace.sh: Likewise.
26412 * malloc/memusage.sh: Likewise.
26413 * malloc/mtrace.pl: Likewise.
26414 * debug/catchsegv.sh: Likewise.
26415
2ba92745
JJ
264162011-12-30 Jakub Jelinek <jakub@redhat.com>
26417
26418 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26419 pure attribute.
26420
dadebdae
UD
264212011-12-24 Ulrich Drepper <drepper@gmail.com>
26422
d3761ebc 26423 [BZ #13533]
db6af3eb
UD
26424 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26425 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26426 transformations.
26427 * iconv/gconv_int.h: Likewise.
26428 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26429 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26430 from libc for GLIBC_2.16.
26431 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26432 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26433 * wcsmbs/uchar.h: Really define mbstate_t.
26434 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26435 * wcsmbs/c16rtomb.c: New file.
26436 * wcsmbs/mbrtoc16.c: New file.
26437 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26438 for C/POSIX locale.
26439 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26440 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26441
dadebdae
UD
26442 * wcsmbs/wchar.h: Add missing __restrict.
26443
67371b56
UD
264442011-12-23 Ulrich Drepper <drepper@gmail.com>
26445
74033a25
UD
26446 [BZ #13532]
26447 * time/Makefile (routines): Add timespec_get.
26448 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26449 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26450 timespec for ISO C11.
26451 * time/timespec_get.c: New file.
26452 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26453 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26454
380d7e87
UD
26455 [BZ #13531]
26456 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26457 * stdlib/stdlib.h: Declare aligned_alloc.
26458 * Versions.def: Add GLIBC_2.16 for libc.
26459 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26460
4e9e7a35
UD
26461 [BZ 13527]
26462 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26463 ISO C11.
26464
380d7e87 26465 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26466 code.
26467
03a71829
UD
26468 [BZ #13528]
26469 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26470
839e283e
UD
26471 [BZ #13529]
26472 * assert/assert.h (static_assert): Define.
26473
ce5294e2 26474 * version.h: Update for 2.16 development version.
90fa7312 26475
8d44e150 26476 [BZ #13526]
d7809905
UD
26477 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26478 _ISOC11_SOURCE.
26479
c0da14cd
UD
26480 * version.h (RELEASE): Bump for 2.15 release.
26481 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26482
530a3249
MP
26483 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26484 Patch by Marek Polacek <mpolacek@redhat.com>.
26485
67371b56
UD
26486 * bits/byteswap.h: Protect long long constants with __extension__.
26487 * sysdeps/i386/bits/byteswap.h: Likewise.
26488 * sysdeps/ia64/bits/byteswap.h: Likewise.
26489 * sysdeps/s390/bits/byteswap.h: Likewise.
26490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26491
15db4de1
LD
264922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26493
26494 [BZ #13540]
bbe315ea
LD
26495 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26496 destination buffer.
15db4de1
LD
26497 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26498
2b2596b1
MP
264992011-12-23 Marek Polacek <polacek@redhat.com>
26500
26501 * elf/dl-addr.c (determine_info): Add inline keyword.
26502 * elf/tst-auditmod4b.c (check_avx): Likewise.
26503 * elf/tst-auditmod6b.c (check_avx): Likewise.
26504 * elf/tst-auditmod6c.c (check_avx): Likewise.
26505 * elf/tst-auditmod7b.c (check_avx): Likewise.
26506
70c6c246
UD
265072011-12-23 Ulrich Drepper <drepper@gmail.com>
26508
26509 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26510 !__SSE_MATH__.
26511
c044cf14
LD
265122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26513
15db4de1 26514 [BZ #13540]
c044cf14
LD
26515 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26516 processing for last bytes.
26517
6b13d9d9
BH
265182011-08-06 Bruno Haible <bruno@clisp.org>
26519
d455f537
BH
26520 [BZ #13061]
26521 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26522 U+0385, not to U+1FEE.
26523
6b13d9d9
BH
26524 [BZ #13062]
26525 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26526 entry for U+00A5 U+0301.
26527
db910efd
UD
265282011-12-22 Ulrich Drepper <drepper@gmail.com>
26529
27deeafc
UD
26530 [BZ #13166]
26531 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26532 buffer for the output is too small.
26533
aed9d171
UD
26534 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26535 optimization.
26536
db910efd
UD
26537 [BZ #13185]
26538 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26539 SSE flags if possible.
26540
2bd779ae
LD
265412011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26542
e7f9dac3 26543 [BZ #13540]
2bd779ae
LD
26544 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26545 processing for last bytes.
26546
154bfc16
JM
265472011-12-22 Joseph Myers <joseph@codesourcery.com>
26548
26549 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26550 (syscall-list-default-options, syscall-list-default-condition)
26551 (syscall-list-includes): Define.
26552 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26553 list of ABIs and options and #if conditions for each ABI. Do not
26554 handle common syscalls between ABIs specially.
26555 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26556 Remove.
26557 (syscall-list-variants, syscall-list-32bit-options)
26558 (syscall-list-32bit-condition, syscall-list-64bit-options)
26559 (syscall-list-64bit-condition): Define.
26560 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26561 (syscall-list-variants, syscall-list-32bit-options)
26562 (syscall-list-32bit-condition, syscall-list-64bit-options)
26563 (syscall-list-64bit-condition): Define.
26564 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26565 Remove.
26566 (syscall-list-variants, syscall-list-32bit-options)
26567 (syscall-list-32bit-condition, syscall-list-64bit-options)
26568 (syscall-list-64bit-condition): Define.
26569 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26570 Remove.
26571 (syscall-list-variants, syscall-list-32bit-options)
26572 (syscall-list-32bit-condition, syscall-list-64bit-options)
26573 (syscall-list-64bit-condition): Define.
26574
21eaf3a5
UD
265752011-12-22 Ulrich Drepper <drepper@gmail.com>
26576
16c6f992
UD
26577 * locale/iso-639.def: Add brx entry.
26578
41043168
UD
26579 [BZ #13328]
26580 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26581 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26582
21eaf3a5
UD
26583 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26584 __feraiseexcept_renamed.
26585
e3a851a2
UD
265862011-12-21 Ulrich Drepper <drepper@gmail.com>
26587
4920765e
UD
26588 [BZ #13538]
26589 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26590 EPOLLET with unsigned values.
26591 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26592 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26593
e3a851a2
UD
26594 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26595 to large cancellation.
26596 * math/s_cacoshf.c: Likewise.
26597 * math/s_cacoshl.c: Likewise.
26598
b27e24b8
RK
265992011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26600
26601 [BZ #13305]
aebefeee 26602 [BZ #12786]
b27e24b8
RK
26603 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26604 * math/s_cacoshf.c: Likewise.
26605 * math/s_cacoshl.c: Likewise.
26606
ee190f67
UD
266072011-12-21 Ulrich Drepper <drepper@gmail.com>
26608
26609 [BZ #13439]
26610 * iconv/gconv.h: Define __GCONV_SWAP.
26611 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26612 * iconvdata/utf-16.c: Likewise.
26613 * iconvdata/utf-32.c: Likewise.
26614
707f25df
AS
266152011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26616
26617 [BZ #13524]
26618 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26619 numerator after shifting it by one limb.
26620
d2daaa1e
RÁE
266212011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26622
26623 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26624 under [__USE_EXTERN_INLINES].
26625
a4647e72
UD
266262011-12-17 Ulrich Drepper <drepper@gmail.com>
26627
26628 [BZ #13446]
26629 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26630
f0b264f1
AZ
266312011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26632
26633 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26634 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26635 optimized code.
26636 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26637 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26638 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26639 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26640 for strncasecmp/strncasecmp_l compilation.
26641 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26642 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26643
8ef4f244
MP
266442011-12-08 Marek Polacek <mpolacek@redhat.com>
26645
26646 [BZ #13484]
26647 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26648 of __asm__.
26649
97ac2654
UD
266502011-12-17 Ulrich Drepper <drepper@gmail.com>
26651
26652 [BZ #13506]
26653 * time/tzfile.c (__tzfile_read): Check values from file header.
26654
91d2a845
WS
266552011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26656
26657 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26658 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26659 * powerpc/powerpc32/dl-start.S: Likewise.
26660 * powerpc/powerpc32/elf/start.S: Likewise.
26661 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26662 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26663 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26664 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26665 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26666 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26667 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26668 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26669 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26670 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26671 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26672 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26673 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26674 * powerpc/powerpc32/memset.S: Likewise.
26675 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26676 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26677 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26678 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26679 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26680 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26681 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26682 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26683 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26684 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26685 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26686 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26687 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26688
a1267ba1
AZ
266892011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26690
26691 * math/libm-test.inc: Added more nearbyint tests.
26692 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26693 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26694 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26695 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26696
ad8ac1bd
RL
266972011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26698
26699 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26700 FD_CLOEXEC.
26701
1d3e4b61
UD
267022011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26703
26704 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26705 Add wcscpy-ssse3 wcscpy-c.
26706 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26707 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26708 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26709 * sysdeps/x86_64/wcschr.S: New file.
26710 * sysdeps/x86_64/wcsrchr.S: New file.
26711 * string/test-strcmp.c: Remove checking of wcscmp function for
26712 wrong alignments.
26713 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26714 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26715 wcsrchr-sse2 wcsrchr-c.
26716 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26717 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26718 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26719 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26720 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26721 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26722 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26723 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26724 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26725 * wcsmbc/wcschr.c (WCSCHR): New macro.
26726
5b330a2d
UD
267272011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26728
26729 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26730 * wcsmbs/test-wcsrchr.c: New file.
26731 * string/test-strrchr.c: Add wcsrchr support.
26732 (WIDE): New macro.
26733 * wcsmbs/test-wcscpy.c: New file.
26734 * string/test-strcpy.c: Add wcscpy support.
26735 (WIDE): New macro.
26428b7c 26736
f039c043
UD
267372011-12-10 Ulrich Drepper <drepper@gmail.com>
26738
26739 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26740 the inner loop.
26741
850fb039
AS
267422011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26743
26744 [BZ #13472]
26745 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26746
4efbd5cb
UD
267472011-12-04 Ulrich Drepper <drepper@gmail.com>
26748
52ff5dd0 26749 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26750 Minor optimizations.
52ff5dd0 26751
4efbd5cb
UD
26752 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26753 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26754 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26755
8a426e12
UD
267562011-12-03 Ulrich Drepper <drepper@gmail.com>
26757
aff2453d
UD
26758 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26759 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26760 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26761 for gcc to avoid warnings.
26762 * inet/Makefile (tests): Add tst-checks.
26763 * inet/tst-checks.c: New file.
26764
26765 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26766 warning.
26767
26768 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26769 __wmemcmp_sse2.
26770
26771 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26772 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26773
8a426e12
UD
26774 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26775
9bea3473
UD
267762011-12-02 Ulrich Drepper <drepper@gmail.com>
26777
3a965496
UD
26778 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26779 problem.
26780
9bea3473
UD
26781 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26782
f101631b
UD
267832011-11-29 Joseph Myers <joseph@codesourcery.com>
26784
26785 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26786 conditional on GCC version.
26787 (__arch_compare_and_exchange_val_8_acq)
26788 (__arch_compare_and_exchange_val_16_acq)
26789 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26790 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26791 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26792
a98275aa
UD
267932011-12-02 Joseph Myers <joseph@codesourcery.com>
26794
26795 * sysdeps/sh/backtrace.c: New file.
26796
d4cc29a2
AS
267972011-12-02 Andreas Schwab <schwab@redhat.com>
26798
26799 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26800 parenthesis.
26801
6257af2d
AS
268022011-12-01 Andreas Schwab <schwab@redhat.com>
26803
26804 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26805 falling back to utime.
26806
b5f44c1a
AS
268072011-11-30 Andreas Schwab <schwab@redhat.com>
26808
26809 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26810 expectations for float.
26811
f3a6cc0a
AS
268122011-11-29 Andreas Schwab <schwab@redhat.com>
26813
26814 * locale/weight.h (findidx): Add parameter len.
26815 * locale/weightwc.h (findidx): Likewise.
26816 * posix/fnmatch_loop.c (FCT): Adjust caller.
26817 * posix/regcomp.c (build_equiv_class): Likewise.
26818 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26819 * posix/regexec.c (check_node_accept_bytes): Likewise.
26820 * string/strcoll_l.c (STRCOLL): Likewise.
26821 * string/strxfrm_l.c (STRXFRM): Likewise.
26822
9d65ea3a
UD
268232011-11-17 Ulrich Drepper <drepper@gmail.com>
26824
26825 * Makefile.in: Remove CVSOPT handling.
26826 * configure.in: Remove use of AC_REVISION.
26827 * iconvdata/Makefile (distribute): No need to filter out CVS.
26828 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26829 handling.
26830
5583a086
AS
268312011-11-16 Andreas Schwab <schwab@redhat.com>
26832
26833 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26834 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26835 [USE_AS_STRNCASECMP_L]: Likewise.
26836 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26837 NO_TLS_DIRECT_SEG_REFS.
26838 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26839 Fix argument offsets for non-PIC.
26840 [USE_AS_STRNCASECMP_L]: Likewise.
26841 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26842 NO_TLS_DIRECT_SEG_REFS.
26843
d62a8200
UD
268442011-11-15 Ulrich Drepper <drepper@gmail.com>
26845
9d65ea3a 26846 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26847 O_CLOEXEC.
26848 * locale/loadlocale.c (_nl_load_locale): Likewise.
26849
09f93bd3
AS
268502011-11-15 Andreas Schwab <schwab@redhat.com>
26851
446514f9
AS
26852 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26853 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26854 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26855 (SYSCALL_GETTIME): Set errno on error.
26856
09f93bd3
AS
26857 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26858 count references to noai6ai_cached.
26859
312be3f9
UD
268602011-11-15 Ulrich Drepper <drepper@gmail.com>
26861
26862 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26863
26864 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26865 FD_CLOEXEC for /proc/self/maps.
26866
26867 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26868 FD_CLOEXEC for /proc/meminfo.
26869
26870 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26871 gai.conf.
26872
26873 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26874 FD_CLOEXEC for given file.
26875
26876 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26877
26878 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26879 FD_CLOEXEC for /etc/hosts.
26880 (_gethtent): Likewise.
26881
26882 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26883
26884 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26885 cancellation and set FD_CLOEXEC for /etc/netgroup.
26886
26887 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26888 reading /etc/publickey.
26889
26890 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26891 allow cancellation when reading /etc/group.
26892
26893 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26894 cancellation.
26895 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26896
26897 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26898 when using data file.
26899
26900 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26901
26902 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26903 (write_nis_obj): Use "c" and "e" in fopen.
26904
26905 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26906
26907 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26908
26909 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26910
26911 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26912
26913 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26914 locale.alias.
26915
26916 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26917
26918 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26919
26920 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26921
26922 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26923 file parsing and set FD_CLOEXEC.
26924
82af0fa8
UD
269252011-11-14 Ulrich Drepper <drepper@gmail.com>
26926
26927 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26928
a5fb313c
AS
269292011-11-14 Andreas Schwab <schwab@redhat.com>
26930
26931 * malloc/arena.c (arena_get2): Don't call reused_arena when
26932 _int_new_arena failed.
26933
6abf3465
UD
269342011-11-14 Ulrich Drepper <drepper@gmail.com>
26935
26936 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26937 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26938 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26939 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26940 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26942 to compile strcasecmp and strncasecmp.
26943 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26944 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26945
26946 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26947
76e3966e
UD
269482011-11-13 Ulrich Drepper <drepper@gmail.com>
26949
26950 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26951 locale-defines.sym to gen-as-const-headers.
26952 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26953 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26955 to compile strcasecmp and strncasecmp.
26956 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26957 strcasecmp_l and strncasecmp_l.
26958 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26959 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26960 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26961 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26962 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26963 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26964 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26965 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26966 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26967 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26968 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26969
ab26144e
UD
269702011-11-12 Ulrich Drepper <drepper@gmail.com>
26971
7edb22ef
UD
26972 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26973 result of SYSDEP_GETTIME_CPU to retval.
26974 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26975 parameter list to macro. Remove trailing semicolon. Adjust users.
26976
9694fc44
UD
26977 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26978 variable.
26979
8ad89ef8
UD
26980 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26981 mantissa words.
26982 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26983
0c822ef9
UD
26984 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26985 from unused variable.
26986
874e0564
UD
26987 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26988 DWARF definitions.
26989 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26990 for assembling.
26991
3a2edc79
UD
26992 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26993 over namespaces.
26994
f3c2577f
UD
26995 * sunrpc/rpc_prot.c (rejected): Fix case value.
26996
294ce126
UD
26997 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26998 unsigned long long int to avoid warnings in shift.
26999
5e2b63c6
UD
27000 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27001 of use of trans.
27002 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27003 variable tmp.
27004
e7f4b08e
UD
27005 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27006 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27007 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27008
ab26144e
UD
27009 * nis/nis_table.c (nis_list): Use variable of correct type for
27010 result of __follow_path call.
27011
8a6d5255
AZ
270122011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27013
27014 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27015 of math functions ceil, trunc, floor, round, and sqrt, when
27016 avaliable on the platform.
27017 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27018 name clash.
27019 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27020 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27021 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27022
aaddc98c
MP
270232011-10-30 Marek Polacek <mpolacek@redhat.com>
27024
27025 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27026 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27027
95b7042b
RM
270282011-11-11 Roland McGrath <roland@hack.frob.com>
27029
27030 * include/unistd.h: Fix __readlink return type.
27031 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27032
57769839
UD
270332011-11-11 Ulrich Drepper <drepper@gmail.com>
27034
27035 * stdlib/ucontext.h: Undo last change for makecontext.
27036
edc5984d
AS
270372011-11-11 Andreas Schwab <schwab@redhat.com>
27038
98591e58
AS
27039 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27040
edc5984d
AS
27041 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27042 * setjmp/setjmp.h: Mark functions as non-leaf.
27043 * setjmp/bits/setjmp2.h: Likewise.
27044 * stdlib/ucontext.h: Likewise.
27045
77cdc054
AS
270462011-11-10 Andreas Schwab <schwab@redhat.com>
27047
27048 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27049 (reused_arena): Don't check arena limit.
27050 (arena_get2): Atomically check arena limit.
27051
fe72eebd
UD
270522011-11-08 Ulrich Drepper <drepper@gmail.com>
27053
5f078c32
UD
27054 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27055 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27056
fe72eebd
UD
27057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27058 instructions.
27059
ae1bc2fa
AS
270602011-11-07 Andreas Schwab <schwab@redhat.com>
27061
7583a88d
AS
27062 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27063 handler when locking.
27064
ae1bc2fa
AS
27065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27066 Fix size of allocated buffer.
27067
10fb0bfa
AS
270682011-11-04 Andreas Schwab <schwab@redhat.com>
27069
998832a4
AS
27070 [BZ #10103]
27071 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27072 declarations for long double functions.
27073 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27074
10fb0bfa
AS
27075 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27076
3d7ba52b
AS
270772011-11-03 Andreas Schwab <schwab@redhat.com>
27078
a9ae54a1
AS
27079 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27080 installed.
27081
3d7ba52b
AS
27082 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27083 is disabled.
27084
bc8db248
ST
270852011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27086
27087 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27088
45b96dd6
AS
270892011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27090
647776f6
AS
27091 * include/alloca.h (stackinfo_alloca_round): Define.
27092 (extend_alloca): Use it.
27093 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27094 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27095 here.
27096
d91a8b93
AS
27097 * scripts/check-local-headers.sh: Ignore libaudit.h.
27098
45b96dd6
AS
27099 * nscd/Makefile (extra-objs): Make recursively expanded.
27100
432d41ce
UD
271012011-11-01 Ulrich Drepper <drepper@gmail.com>
27102
34372fc6
UD
27103 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27104 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27105
fadb59f8
UD
27106 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27107 * posix/tst-rfc3484-2.c: Likewise.
27108 * posix/tst-rfc3484-3.c: Likewise.
27109
78239589
UD
27110 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27111 process_vm_writev.
27112 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27113 process_vm_writev.
27114 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27115 process_vm_writev from libc using GLIBC_2.15 version.
27116
432d41ce
UD
27117 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27118
02f9c6cf
PP
271192011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27120
27121 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27122 stack usage.
27123
3a2c0242
UD
271242011-10-31 Ulrich Drepper <drepper@gmail.com>
27125
f4ec4833
UD
27126 [BZ #13367]
27127 * nss/getent.c (initgroups_keys): Show error message in case no group
27128 names are given.
27129
3a2c0242
UD
27130 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27131 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27132 __bump_nl_timestamp.
27133 * nscd/connections (nscd_init): When host database is served open
27134 netlink socket and request notification about configuration changes.
27135 (main_loop_poll): Track netlink file descriptor and bump timestamp
27136 in case data becomes available.
27137 (main_loop_epoll): Likewise.
27138 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27139 (database_pers_head): Add extra_data fileds.
27140 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27141 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27142 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27143 Adjust caller.
27144 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27145 in6ai data, call __free_in6ai.
27146 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27147 Add -DHAVE_NETLINK.
27148 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27149 interface information. Reuse previous data if netlink timestamp
27150 is not changed.
27151 (__bump_nl_timestamp): New function.
27152 (__free_in6ai): New function.
27153
636064eb
UD
271542011-10-30 Ulrich Drepper <drepper@gmail.com>
27155
27156 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27157 close_not_cancel_no_status here.
27158 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27159
9beb2334
UD
271602011-10-29 Ulrich Drepper <drepper@gmail.com>
27161
6ef76f3b
UD
27162 [BZ #13276]
27163 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27164 return value.
27165
0ffc4f3e 27166 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27167 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27168 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27169
cb95113e
UD
271702011-07-03 Andreas Jaeger <aj@suse.de>
27171
27172 [BZ #10709]
27173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27174 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27175 * math/libm-test.inc (sin_test): Add test case.
27176
a1b560ff
UD
271772011-10-29 Ulrich Drepper <drepper@gmail.com>
27178
c9aaface
UD
27179 [BZ #13337]
27180 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27181 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27182
d272e7f1
UD
27183 * elf/chroot_canon.c (chroot_canon): Cleanups.
27184
1bc33071
UD
27185 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27186
1760874d
TJ
27187 [BZ #13335]
27188 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27189 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27190
51d91b18
UD
27191 * string/test-strchr.c: Make usable for strchrnul testing.
27192 * string/test-strchrnul.c: New file.
27193 * string/Makefile (strop-tests): Add strchrnul.
27194
a1b560ff 27195 * po/it.po: Update from translation team.
b611fb81 27196 * po/es.po: Likewise.
a1b560ff 27197
a5b81e1f
UD
271982011-10-28 Ulrich Drepper <drepper@gmail.com>
27199
fd52bc6d
UD
27200 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27201 the three constants needed as parameters. Drop the others.
27202 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27203 __m128i_strloadu_tolower.
52e4b9eb
UD
27204 Create and initialize variable zero and use it in all the places
27205 where _mm_setzero_si128 was used.
fd52bc6d 27206
a5b81e1f
UD
27207 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27208 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27209 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27210 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27211 anymore.
27212 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27213 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27214 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27215 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27216 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27217 __mpranred, __mptan.
27218 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27219 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27220 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27221 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27222 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27223 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27224 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27225 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27226 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27227
b4343346
AS
272282011-10-28 Andreas Schwab <schwab@redhat.com>
27229
0c92d8a8
AS
27230 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27231 redefine if SHARED.
27232 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27233
b4343346
AS
27234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27235 wide char related routines to wcsmbs subdir.
27236
3871f58f
AS
272372011-10-27 Andreas Schwab <schwab@redhat.com>
27238
27239 [BZ #13344]
27240 * misc/sys/cdefs.h (__THROWNL): Define.
27241 * posix/unistd.h: Use __THREADNL instead of __THREAD
27242 for memory synchronization functions.
27243
94d44d9f
RM
272442011-10-26 Roland McGrath <roland@hack.frob.com>
27245
21b64b15 27246 [BZ #13349]
94d44d9f
RM
27247 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27248 doesn't exist.
27249 * manual/stdio.texi (Obstack Streams): Node removed.
27250
f6ce9294
AS
272512011-10-26 Andreas Schwab <schwab@redhat.com>
27252
80479147
AS
27253 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27254 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27255 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27256
f6ce9294
AS
27257 * math/math_private.h (math_force_eval): Allow non-addressable
27258 arguments.
27259 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27260
618280a1
UD
272612011-10-25 Ulrich Drepper <drepper@gmail.com>
27262
e0016b11
UD
27263 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27264 file is not needed.
27265
27266 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27267 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27268 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27269 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27270 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27271 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27272 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27273 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27274 Add AVX variants.
27275 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27276 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27277 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27278 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27279 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27280 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27281 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27282 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27283 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27284 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27285 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27286 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27288 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27289 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27290 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27291 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27292 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27293 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27294
27295 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27296 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27297
618280a1
UD
27298 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27299 place. Use VEX encoding when compiling for AVX.
27300
37822576
AS
273012011-10-25 Andreas Schwab <schwab@redhat.com>
27302
1f1e1947
AS
27303 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27304 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27305
37822576
AS
27306 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27307
31ea014d
UD
273082011-10-25 Ulrich Drepper <drepper@gmail.com>
27309
d7826aa1 27310 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27311 useless if() expression.
d7826aa1
UD
27312 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27313 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27314 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27315 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27316 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27317 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27318 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27319 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27320 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27321 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27322 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27323 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27324 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27325 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27326 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27327 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27328 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27329 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27330 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27331
31ea014d
UD
27332 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27333
16437fec
AS
273342011-10-25 Andreas Schwab <schwab@redhat.com>
27335
27336 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27337 condition.
27338 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27339
31d3cc00
UD
273402011-10-25 Ulrich Drepper <drepper@gmail.com>
27341
27342 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27343 .text section. Avoid duplicate constants.
27344 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27345 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27346 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27348 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27352 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27353 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27354 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27355 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27356 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27357 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27358 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27359 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27360 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27361 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27362 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27363 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27364 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27365 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27366 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27367 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27368 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27369 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27370 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27371 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27372 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27373 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27374 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27375 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27376 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27377 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27378 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27379 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27380 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27381 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27382 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27383 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27384 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27385 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27386 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27387 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27388 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27389
58985aa9
UD
273902011-10-24 Ulrich Drepper <drepper@gmail.com>
27391
202c9deb
UD
27392 * sysdeps/x86_64/dla.h: Move to ...
27393 * sysdeps/x86_64/fpu/dla.h: ...here.
27394 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27395 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27396
af968f62
UD
27397 * config.make.in: Add have-mfma4 entry.
27398 * configure.in: Substitute libc_cv_cc_fma4.
27399 * math/Makefile (dbl-only-routines): Add sincostab.
27400 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27401 Use __sincostab not sincos.
27402 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27403 name is a macro.
27404 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27405 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27406 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27408 using __copysign.
27409 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27410 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27411 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27412 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27413 and __inv.
27414 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27415 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27416 __copysign.
27417 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27418 define aliases when function name is a macro.
27419 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27420 sysdeps/ieee754/dbl-64/sincos.tbl.
27421 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27422 fma4-enabled routines.
27423 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27424 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27425 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27426 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27427 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27428 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27429 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27430 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27431 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27432 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27433 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27434 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27435 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27436 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27437 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27438 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27439 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27440 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27441 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27442 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27443 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27444 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27446 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27447 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27448 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27449 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27450 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27451 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27452 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27453
58985aa9
UD
27454 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27455 rename.
27456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27461 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27464
a201fbcf
AS
274652011-10-24 Andreas Schwab <schwab@redhat.com>
27466
27467 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27468
fc2ee42a
LD
274692011-10-23 Ulrich Drepper <drepper@gmail.com>
27470
bb3129bd
UD
27471 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27472
0275fff8
UD
27473 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27474 prediction.
27475 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27476
2fa2ae85
UD
27477 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27478 Remove unused variable magic_bits.
27479 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27480
fc2ee42a
LD
27481 * string/strnlen.c: Define and use STRNLEN macro.
27482 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27483 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27484 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27485 * wcsmbs/wcslen.c: Define and use WCSLEN.
27486 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27487 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27488 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27489 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27490 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27491 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27492 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27493
ce7dd29f
LD
274942011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27495
27496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27497 strnlen-sse2-no-bsf.
27498 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27499 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27500 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27501 Add strnlen support.
27502 (USE_AS_STRNLEN): New macro.
27503 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27504 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27505 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27506 * sysdeps/x86_64/wcslen.S: New file.
27507
979c70a3
MZ
275082011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27509
27510 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27511 XMM-moves are used for copying on small sizes.
27512
2d09f82f
LD
275132011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27514
27515 * wcsmbs/Makefile (strop-tests): Add wcschr.
27516 * wcsmbs/test-wcschr.c: New file.
27517 * string/test-strchr.c: Update.
27518 Add wcschr support.
27519 (WIDE): New macro.
27520
619fccca
LD
275212011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27522
2d09f82f 27523 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27524 * wcsmbs/test-wcslen.c: New file.
27525 * string/test-strlen.c: Update.
27526 Add wcslen support.
27527 (WIDE): New macro.
27528
09f699ea
UD
275292011-10-23 Ulrich Drepper <drepper@gmail.com>
27530
27531 * po/it.po: Update from translation team.
27532
95584d3b
LD
275332011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27534
27535 * sysdeps/x86_64/wcscmp.S: Update.
27536 Fix wrong comparison semantics.
27537 wcscmp shall use signed comparison not unsigned.
27538 Don't use substraction to avoid overflow bug.
27539 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27540 * wcsmbc/wcscmp.c: Likewise.
27541 * string/test-strcmp.c: Likewise.
27542 Add new tests to check cases with negative values.
27543
c8b3296b
UD
275442011-10-23 Ulrich Drepper <drepper@gmail.com>
27545
27546 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27547 * sysdeps/x86_64/dla.h: ...here. New file.
27548 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27552 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27553 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27554 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27555 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27557
246ad57a
AS
275582011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27559
27560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27561 __ynl_finite aliases.
27562
a1a87169
UD
275632011-10-22 Ulrich Drepper <drepper@gmail.com>
27564
0d355eb7
UD
27565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27566
a1a87169
UD
27567 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27568 define DLA_FMA.
27569 [DLA_FMA] (EMULV): Use DLA_FMA.
27570 [DLA_FMA] (MUL12): Use EMULV.
27571 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27572 that are not needed.
27573 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27574 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27575 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27576 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27578 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27579 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27580
ee2aafe0
AS
275812011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27582
27583 * math/s_nan.c: Undef __nan.
27584 * math/s_nanf.c: Undef __nanf.
27585 * math/s_nanl.c: Undef __nanl.
27586 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27587 "math_private.h".
27588
bc62c2fb
UD
275892011-10-22 Ulrich Drepper <drepper@gmail.com>
27590
77425c63
UD
27591 * math/s_catan.c: Add branch predictions.
27592 * math/s_catanf.c: Likewise.
27593 * math/s_catanh.c: Likewise.
27594 * math/s_catanhf.c: Likewise.
27595 * math/s_catanhl.c: Likewise.
27596 * math/s_catanl.c: Likewise.
27597 * math/s_cexp.c: Likewise.
27598 * math/s_cexpf.c: Likewise.
27599 * math/s_cexpl.c: Likewise.
27600 * math/s_clog.c: Likewise.
27601 * math/s_clog10.c: Likewise.
27602 * math/s_clog10f.c: Likewise.
27603 * math/s_clog10l.c: Likewise.
27604 * math/s_clogf.c: Likewise.
27605 * math/s_clogl.c: Likewise.
27606 * math/s_csqrt.c: Likewise.
27607 * math/s_csqrtf.c: Likewise.
27608 * math/s_csqrtl.c: Likewise.
27609 * math/s_ctanf.c: Likewise.
27610 * math/s_ctanh.c: Likewise.
27611 * math/s_ctanhf.c: Likewise.
27612 * math/s_ctanhl.c: Likewise.
27613 * math/s_ctanl.c: Likewise.
27614
bc62c2fb
UD
27615 * math/math_private.h: Define __nan, __nanf, __nanl.
27616 * math/s_cacosh.c: Include <math_private.h>.
27617 * math/s_cacoshl.c: Likewise.
27618 * math/s_casinh.c: Likewise.
27619 * math/s_casinhf.c: Likewise.
27620 * math/s_casinhl.c: Likewise.
27621 * math/s_ccos.c: Rely entire on ccosh.
27622 * math/s_ccosf.c: Rely entire on ccoshf.
27623 * math/s_ccosl.c: Rely entirely on ccoshl.
27624 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27625 Remove tests for FE_INVALID.
27626 * math/s_ccoshf.c: Likewise.
27627 * math/s_ccoshl.c: Likewise.
27628 * math/s_csin.c: Likewise.
27629 * math/s_csinf.c: Likewise.
27630 * math/s_csinh.c Likewise.
27631 * math/s_csinhf.c: Likewise.
27632 * math/s_csinhl.c: Likewise.
27633 * math/s_csinl.c: Likewise.
27634 * math/s_ctan.c: Likewise.
27635 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27636 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27637 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27638
8ec250a4
UD
276392011-10-21 Ulrich Drepper <drepper@gmail.com>
27640
c196fed8
UD
27641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27642 compilation problems.
27643
8ec250a4
UD
27644 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27645 __builtin_expect.
27646
8d4f46c6
UD
276472011-10-20 Ulrich Drepper <drepper@gmail.com>
27648
ed72b654
UD
27649 * sysdeps/i386/configure.in: Test for -mfma4 option.
27650 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27651 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27652 COMMON_CPUID_INDEX_80000001.
27653 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27654 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27655 use it if FMA3 is not supported.
27656 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27657
8d4f46c6
UD
27658 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27659 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27660
d45c60c2
AS
276612011-10-20 Andreas Schwab <schwab@redhat.com>
27662
27663 [BZ #12892]
27664 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27665 it would create a cycle with a link time dependency.
27666
d9a4d2ab
UD
276672011-10-19 Ulrich Drepper <drepper@gmail.com>
27668
855d1560
UD
27669 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27670 instruction.
27671 * string/Makefile (strop-tests): Add rawmemchr.
27672 * string/test-rawmemchr.c: New file.
27673
d9a4d2ab
UD
27674 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27675 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27676 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27677 when compiling str{,n}casecmp and when AVX is available. Hook up
27678 new optimized code in initializers.
27679
8f3b1ffe
AS
276802011-10-19 Andreas Schwab <schwab@redhat.com>
27681
27682 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27683 __feraiseexcept instead of feraiseexcept.
27684
d38f1dba
UD
276852011-10-18 Ulrich Drepper <drepper@gmail.com>
27686
d9a8d0ab
UD
27687 * math/math_private.h: Define defaults for libc_fetestexcept and
27688 libc_feupdateenv.
27689 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27690 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27691 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27692 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27693 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27694 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27695 libc_fetestexcept and libc_feupdateenv.
27696
4855e3dd
UD
27697 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27698 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27699 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27700 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27701 libc_feholdexcept_setround.
27702
581d30e3
UD
27703 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27704 Add s_nearbyint-c and s_nearbyintf-c.
27705 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27706 nearbyintf inlines.
27707 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27708 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27709 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27710 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27711
d38f1dba
UD
27712 * math/math_private.h: Define defaults for libc_fegetround,
27713 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27714 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27715 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27716 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27717 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27718 standard functions.
27719 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27720 Remove comments and hacks for old compiler versions.
27721 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27722 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27723 libc_feholdexceptl.
27724
caa6c9d8
AS
277252011-10-18 Andreas Schwab <schwab@redhat.com>
27726
27727 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27728 (__feraiseexcept_renamed): Add __NTH.
27729 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27730 namespace violations.
27731
97c066e6
UD
277322011-10-17 Ulrich Drepper <drepper@gmail.com>
27733
99ce7b04
UD
27734 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27735
1004d182
UD
27736 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27737
228a984d
UD
27738 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27739 recently added interfaces.
27740 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27741
c8553a6a
UD
27742 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27743 about macro parameter expansion.
27744
ed22dcf6
UD
27745 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27746 __NO_MATH_INLINES is defined. Cleanups.
27747
27748 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27749 and __floorf is target has SSE4.1.
27750 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27751 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27752 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27753 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27754
b171c137
UD
27755 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27756 name.
27757 (floorf): Likewise.
27758
97c066e6
UD
27759 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27760
629f62ef
AS
277612011-10-17 Andreas Schwab <schwab@redhat.com>
27762
49a43d80
AS
27763 * misc/sys/cdefs.h: Fix last change.
27764
629f62ef
AS
27765 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27766 database lookup.
27767
e453f6cd
UD
277682011-10-16 Ulrich Drepper <drepper@gmail.com>
27769
aa78043a
UD
27770 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27771
ad0f5cad
UD
27772 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27774 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27775 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27776 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27777 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27778 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27779 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27780 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27781 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27782 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27783 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27784 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27785 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27786 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27787 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27788 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27789 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27790 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27791 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27792 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27793 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27794
27795 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27796 ceil, ceilf, floor, floorf.
27797
27798 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27799 Perform IRELATIVE relocations last.
27800
e453f6cd
UD
27801 * elf/do-rel.h: Add another parameter nrelative, replacing the
27802 local variable with the same name. Change name of the function
27803 to end in Rel or Rela (uppercase).
27804 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27805 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27806 elf_dynamic_do_##reloc function.
27807
fd5bdc09
UD
278082011-10-15 Ulrich Drepper <drepper@gmail.com>
27809
79b195b5
UD
27810 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27811 is sufficient, at least on modern CPUs.
27812
d4a28569
UD
27813 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27814
b61099b5
UD
27815 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27816 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27817
bcf01e6d
UD
27818 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27819 __expl_finite.
27820 * math/bits/math-finite.h: Add entries for exp.
27821 * math/e_expl.c: Add __*_finite alias.
27822 * sysdeps/i386/fpu/e_exp.S: Likewise.
27823 * sysdeps/i386/fpu/e_expf.S: Likewise.
27824 * sysdeps/i386/fpu/e_expl.c: Likewise.
27825 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27826 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27827 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27828 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27829 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27830 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27831 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27832
ba1a0d59
UD
27833 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27834 is sufficient, at least on modern CPUs.
27835
fd5bdc09
UD
27836 * ctype/ctype-info.c (__ctype_init): Define.
27837 * include/ctype.h (__ctype_init): Declare.
27838 (__ctype_b_loc): The variable is always initialized.
27839 (__ctype_toupper_loc): Likewise.
27840 (__ctype_tolower_loc): Likewise.
27841 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27842 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27843
7872cfb0
AS
278442011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27845
b468825a
AS
27846 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27847
7872cfb0
AS
27848 * configure.in: Also look in $cxxmachine/include for C++ system
27849 headers.
27850
be13f7bf
LD
278512011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27852
27853 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27854 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27855 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27856 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27857 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27858 (USE_AS_WMEMCMP): New macro.
27859 Fixing indents.
27860 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27861 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27862 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27863 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27864 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27865 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27866 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27867 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27868 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27869 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27870 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27871 (USE_AS_WMEMCMP): New macro.
27872 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27873 * sysdeps/string/test-memcmp.c: Update.
27874 Fix simple_wmemcmp.
27875 Add new tests.
27876 * wcsmbs/wmemcmp.c: Update.
27877 (WMEMCMP): New macro.
27878 Fix overflow bug.
27879
556a2007
AJ
278802011-10-12 Andreas Jaeger <aj@suse.de>
27881
27882 [BZ #13268]
27883 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27884
538faaa7
UD
278852011-10-15 Ulrich Drepper <drepper@gmail.com>
27886
ab6737ff
UD
27887 * libio/iofwide.c (do_length): Avoid warning.
27888
538faaa7
UD
27889 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27890
396a21b1
UD
278912011-10-14 Ulrich Drepper <drepper@gmail.com>
27892
cdf2901f
UD
27893 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27894
38ad40ce
UD
27895 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27896 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27897 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27898 * sysdeps/i386/i686/fpu/e_log.S: New file.
27899 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27900 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27901
396a21b1
UD
27902 * ctype/ctype.h: Add support for inlined isXXX functions when
27903 compiling C++ code.
27904
6b1f68c9
AS
279052011-10-14 Andreas Schwab <schwab@redhat.com>
27906
349290c0
AS
27907 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27908
6b1f68c9
AS
27909 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27910
f2282d42
RM
279112011-10-13 Roland McGrath <roland@hack.frob.com>
27912
27913 [BZ #13291]
27914 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27915
5298ffa8
AS
279162011-10-13 Andreas Schwab <schwab@redhat.com>
27917
714fad23
AS
27918 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27919 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27920 feraiseexcept.
27921
81dcc7fb
AS
27922 * sysdeps/x86_64/memrchr.S: Check for zero size.
27923
5298ffa8
AS
27924 * string/stratcliff.c: Add memrchr tests.
27925
951fbcec
LD
279262011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27927
27928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27929 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27930 rawmemchr-sse2 rawmemchr-sse2-bsf.
27931 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27932 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27933 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27934 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27935 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27936 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27937 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27938 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27939 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27940 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27941 * string/memrchr.c (MEMRCHR): New macro.
27942
0ac5ae23
UD
279432011-10-12 Ulrich Drepper <drepper@gmail.com>
27944
27945 Add integration with gcc's -ffinite-math-only and optimize wrapper
27946 functions in libm.
27947 * Versions.def: Define GLIBC_2.15 version for libm.
27948 * math/Makefile (headers): Add bits/math-finite.h.
27949 * math/bits/math-finite.h: New file.
27950 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27951 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27952 * math/e_acoshl.c: Add __*_finite alias.
27953 * math/e_acosl.c: Likewise.
27954 * math/e_asinl.c: Likewise.
27955 * math/e_atan2l.c: Likewise.
27956 * math/e_atanhl.c: Likewise.
27957 * math/e_coshl.c: Likewise.
27958 * math/e_exp10.c: Likewise.
27959 * math/e_exp10f.c: Likewise.
27960 * math/e_exp10l.c: Likewise.
27961 * math/e_exp2l.c: Likewise.
27962 * math/e_fmodl.c: Likewise.
27963 * math/e_gammal_r.c: Likewise.
27964 * math/e_hypotl.c: Likewise.
27965 * math/e_j0l.c: Likewise.
27966 * math/e_j1l.c: Likewise.
27967 * math/e_jnl.c: Likewise.
27968 * math/e_lgammal_r.c: Likewise.
27969 * math/e_log10l.c: Likewise.
27970 * math/e_log2l.c: Likewise.
27971 * math/e_logl.c: Likewise.
27972 * math/e_powl.c: Likewise.
27973 * math/e_sinhl.c: Likewise.
27974 * math/e_sqrtl.c: Likewise.
27975 * math/e_scalb.c: Completely rewritten and optimized.
27976 * math/e_scalbf.c: Likewise.
27977 * math/e_scalbl.c: Likewise.
27978 * math/w_acos.c: Likewise.
27979 * math/w_acosf.c: Likewise.
27980 * math/w_acosl.c: Likewise.
27981 * math/w_acosh.c: Likewise.
27982 * math/w_acoshf.c: Likewise.
27983 * math/w_acoshl.c: Likewise.
27984 * math/w_asin.c: Likewise.
27985 * math/w_asinf.c: Likewise.
27986 * math/w_asinl.c: Likewise.
27987 * math/w_atan2.c: Likewise.
27988 * math/w_atan2f.c: Likewise.
27989 * math/w_atan2l.c: Likewise.
27990 * math/w_atanh.c: Likewise.
27991 * math/w_atanhf.c: Likewise.
27992 * math/w_atanhl.c: Likewise.
27993 * math/w_exp10.c: Likewise.
27994 * math/w_exp10f.c: Likewise.
27995 * math/w_exp10l.c: Likewise.
27996 * math/w_fmod.c: Likewise.
27997 * math/w_fmodf.c: Likewise.
27998 * math/w_fmodl.c: Likewise.
27999 * math/w_j0.c: Likewise.
28000 * math/w_j0f.c: Likewise.
28001 * math/w_j0l.c: Likewise.
28002 * math/w_j1.c: Likewise.
28003 * math/w_j1f.c: Likewise.
28004 * math/w_j1l.c: Likewise.
28005 * math/w_jn.c: Likewise.
28006 * math/w_jnf.c: Likewise.
28007 * math/w_log.c: Likewise.
28008 * math/w_logf.c: Likewise.
28009 * math/w_logl.c: Likewise.
28010 * math/w_log10.c: Likewise.
28011 * math/w_log10f.c: Likewise.
28012 * math/w_log10l.c: Likewise.
28013 * math/w_log2.c: Likewise.
28014 * math/w_log2f.c: Likewise.
28015 * math/w_log2l.c: Likewise.
28016 * math/w_pow.c: Likewise.
28017 * math/w_powf.c: Likewise.
28018 * math/w_powl.c: Likewise.
28019 * math/w_remainder.c: Likewise.
28020 * math/w_remainderf.c: Likewise.
28021 * math/w_remainderl.c: Likewise.
28022 * math/w_scalb.c: Likewise.
28023 * math/w_scalbf.c: Likewise.
28024 * math/w_scalbl.c: Likewise.
28025 * math/w_sqrt.c: Likewise.
28026 * math/w_sqrtf.c: Likewise.
28027 * math/w_sqrtl.c: Likewise.
28028 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28029 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28030 used.
28031 * math/math_private.h: Declare __kernel_standard_f.
28032 * math/w_cosh.c: Remove cruft and optimize a bit.
28033 * math/w_coshf.c: Likewise.
28034 * math/w_coshl.c: Likewise.
28035 * math/w_exp2.c: Likewise.
28036 * math/w_exp2f.c: Likewise.
28037 * math/w_exp2l.c: Likewise.
28038 * math/w_hypot.c: Likewise.
28039 * math/w_hypotf.c: Likewise.
28040 * math/w_hypotl.c: Likewise.
28041 * math/w_lgamma.c: Likewise.
28042 * math/w_lgamma_r.c: Likewise.
28043 * math/w_lgammaf.c: Likewise.
28044 * math/w_lgammaf_r.c: Likewise.
28045 * math/w_lgammal.c: Likewise.
28046 * math/w_lgammal_r.c: Likewise.
28047 * math/w_sinh.c: Likewise.
28048 * math/w_sinhf.c: Likewise.
28049 * math/w_sinhl.c: Likewise.
28050 * math/w_tgamma.c: Likewise.
28051 * math/w_tgammaf.c: Likewise.
28052 * math/w_tgammal.c: Likewise.
28053 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28054 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28055 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28056 Minor optimizations. Pretty printing. Remove cruft.
28057 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28058 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28059 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28060 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28061 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28062 * sysdeps/i386/fpu/e_asin.S: Likewise.
28063 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28064 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28065 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28066 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28067 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28068 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28069 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28070 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28071 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28072 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28073 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28074 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28075 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28076 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28077 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28078 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28079 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28080 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28081 * sysdeps/i386/fpu/e_log.S: Likewise.
28082 * sysdeps/i386/fpu/e_log10.S: Likewise.
28083 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28084 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28085 * sysdeps/i386/fpu/e_log2.S: Likewise.
28086 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28087 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28088 * sysdeps/i386/fpu/e_logf.S: Likewise.
28089 * sysdeps/i386/fpu/e_logl.S: Likewise.
28090 * sysdeps/i386/fpu/e_pow.S: Likewise.
28091 * sysdeps/i386/fpu/e_powf.S: Likewise.
28092 * sysdeps/i386/fpu/e_powl.S: Likewise.
28093 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28094 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28095 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28096 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28097 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28098 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28099 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28100 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28101 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28102 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28103 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28105 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28106 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28107 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28108 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28109 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28110 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28111 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28112 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28113 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28115 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28116 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28118 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28119 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28120 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28121 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28122 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28123 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28124 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28125 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28126 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28127 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28128 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28129 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28130 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28131 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28132 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28133 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28134 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28135 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28136 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28137 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28138 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28139 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28140 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28141 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28142 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28143 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28144 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28145 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28146 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28147 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28148 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28149 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28150 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28151 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28152 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28153 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28154 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28155 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28156 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28157 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28158 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28159 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28160 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28161 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28162 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28163 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28165 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28166 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28167 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28168 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28169 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28170 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28171 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28172 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28173 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28174 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28175 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28176 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28177 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28178 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28179 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28180 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28181 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28182 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28183 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28184 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28185 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28186 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28187 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28188 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28189 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28190 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28191 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28192 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28193 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28194 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28195 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28196 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28197 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28198 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28199 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28200 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28201 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28202 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28203 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28204 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28205 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28206 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28207 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28208 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28209 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28210 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28211 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28212 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28213 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28214 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28215 (__isnanf): Likewise.
28216 (__isinf_ns): Likewise.
28217 (__isinf_nsf): Likewise.
28218 (__finite): Likewise.
28219 (__finitef): Likewise.
28220 (__ieee754_sqrt): Define as macro.
28221 (__ieee754_sqrtf): Define as macro.
28222 (__ieee754_sqrtl): Define as macro.
28223 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28224 inlined copy.
28225 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28226 __FINITE_MATH_ONLY__ consistent.
28227 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28228
12cc2fcd
AS
282292011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28230
a843a204
AS
28231 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28232 of rawmemchr.
28233
12cc2fcd
AS
28234 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28235
c853acd5
UD
282362011-10-09 Ulrich Drepper <drepper@gmail.com>
28237
28238 * po/ja.po: Update from translation team.
28239
c658d255
RM
282402011-10-08 Roland McGrath <roland@hack.frob.com>
28241
110946e4
RM
28242 * locale/programs/locarchive.c (prepare_address_space): New function.
28243 (create_archive, enlarge_archive, open_archive): Use it.
28244
50604220
RM
28245 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28246 inside [SHARED], where it is used.
28247
c658d255
RM
28248 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28249
28250 * nss/getent.c (netgroup_keys): Remove unused variable.
28251 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28252
6a621eb7
UD
282532011-10-08 Ulrich Drepper <drepper@gmail.com>
28254
7edb55ce
UD
28255 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28256 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28258 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28259 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28260 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28261 * math/Makefile (libm-calls): Add s_isinf_ns.
28262 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28263 * math/multc3.c: Likewise.
28264 * math/s_casin.c: Likewise.
28265 * math/s_casinf.c: Likewise.
28266 * math/s_casinl.c: Likewise.
28267 * math/s_ccos.c: Likewise.
28268 * math/s_ccosf.c: Likewise.
28269 * math/s_ccosl.c: Likewise.
28270 * math/s_ctan.c: Likewise.
28271 * math/s_ctanf.c: Likewise.
28272 * math/s_ctanh.c: Likewise.
28273 * math/s_ctanhf.c: Likewise.
28274 * math/s_ctanhl.c: Likewise.
28275 * math/s_ctanl.c: Likewise.
28276 * math/w_fmod.c: Likewise.
28277 * math/w_fmodf.c: Likewise.
28278 * math/w_fmodl.c: Likewise.
28279 * math/w_remainder.c: Likewise.
28280 * math/w_remainderf.c: Likewise.
28281 * math/w_remainderl.c: Likewise.
28282 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28283 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28284 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28285 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28286 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28287 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28288 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28289 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28290
187da0ae
UD
28291 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28292 of the number.
28293 * stdio-common/printf_fphex.c: Likewise.
28294 * stdio-common/printf_size.c: Likewise.
28295
9277c064
UD
28296 * math/e_exp10.c: Include math_private.h using <...> not "...".
28297 * math/e_exp10f.c: Likewise.
28298 * math/e_exp10l.c: Likewise.
28299 * math/e_exp2l.c: Likewise.
28300 * math/e_j0l.c: Likewise.
28301 * math/e_j1l.c: Likewise.
28302 * math/e_jnl.c: Likewise.
28303 * math/e_lgammal_r.c: Likewise.
28304 * math/e_rem_pio2l.c: Likewise.
28305 * math/e_scalb.c: Likewise.
28306 * math/e_scalbf.c: Likewise.
28307 * math/e_scalbl.c: Likewise.
28308 * math/k_cosl.c: Likewise.
28309 * math/k_sinl.c: Likewise.
28310 * math/k_tanl.c: Likewise.
28311 * math/s_cacoshf.c: Likewise.
28312 * math/s_catan.c: Likewise.
28313 * math/s_catanf.c: Likewise.
28314 * math/s_catanh.c: Likewise.
28315 * math/s_catanhf.c: Likewise.
28316 * math/s_catanhl.c: Likewise.
28317 * math/s_catanl.c: Likewise.
28318 * math/s_ccosh.c: Likewise.
28319 * math/s_ccoshf.c: Likewise.
28320 * math/s_ccoshl.c: Likewise.
28321 * math/s_cexp.c: Likewise.
28322 * math/s_cexpf.c: Likewise.
28323 * math/s_cexpl.c: Likewise.
28324 * math/s_clog.c: Likewise.
28325 * math/s_clog10.c: Likewise.
28326 * math/s_clog10f.c: Likewise.
28327 * math/s_clog10l.c: Likewise.
28328 * math/s_clogf.c: Likewise.
28329 * math/s_clogl.c: Likewise.
28330 * math/s_csin.c: Likewise.
28331 * math/s_csinf.c: Likewise.
28332 * math/s_csinh.c: Likewise.
28333 * math/s_csinhf.c: Likewise.
28334 * math/s_csinhl.c: Likewise.
28335 * math/s_csinl.c: Likewise.
28336 * math/s_csqrt.c: Likewise.
28337 * math/s_csqrtf.c: Likewise.
28338 * math/s_csqrtl.c: Likewise.
28339 * math/s_ctan.c: Likewise.
28340 * math/s_ctanf.c: Likewise.
28341 * math/s_ctanh.c: Likewise.
28342 * math/s_ctanhf.c: Likewise.
28343 * math/s_ctanhl.c: Likewise.
28344 * math/s_ctanl.c: Likewise.
28345 * math/s_ldexp.c: Likewise.
28346 * math/s_ldexpf.c: Likewise.
28347 * math/s_ldexpl.c: Likewise.
28348 * math/s_significand.c: Likewise.
28349 * math/s_significandf.c: Likewise.
28350 * math/s_significandl.c: Likewise.
28351 * math/w_acos.c: Likewise.
28352 * math/w_acosf.c: Likewise.
28353 * math/w_acosh.c: Likewise.
28354 * math/w_acoshf.c: Likewise.
28355 * math/w_acoshl.c: Likewise.
28356 * math/w_acosl.c: Likewise.
28357 * math/w_asin.c: Likewise.
28358 * math/w_asinf.c: Likewise.
28359 * math/w_asinl.c: Likewise.
28360 * math/w_atan2.c: Likewise.
28361 * math/w_atan2f.c: Likewise.
28362 * math/w_atan2l.c: Likewise.
28363 * math/w_atanh.c: Likewise.
28364 * math/w_atanhf.c: Likewise.
28365 * math/w_atanhl.c: Likewise.
28366 * math/w_cosh.c: Likewise.
28367 * math/w_coshf.c: Likewise.
28368 * math/w_coshl.c: Likewise.
28369 * math/w_dremf.c: Likewise.
28370 * math/w_exp10.c: Likewise.
28371 * math/w_exp10f.c: Likewise.
28372 * math/w_exp10l.c: Likewise.
28373 * math/w_exp2.c: Likewise.
28374 * math/w_exp2f.c: Likewise.
28375 * math/w_fmod.c: Likewise.
28376 * math/w_fmodf.c: Likewise.
28377 * math/w_fmodl.c: Likewise.
28378 * math/w_hypot.c: Likewise.
28379 * math/w_hypotf.c: Likewise.
28380 * math/w_hypotl.c: Likewise.
28381 * math/w_j0.c: Likewise.
28382 * math/w_j0f.c: Likewise.
28383 * math/w_j0l.c: Likewise.
28384 * math/w_j1.c: Likewise.
28385 * math/w_j1f.c: Likewise.
28386 * math/w_j1l.c: Likewise.
28387 * math/w_jn.c: Likewise.
28388 * math/w_jnf.c: Likewise.
28389 * math/w_jnl.c: Likewise.
28390 * math/w_lgamma.c: Likewise.
28391 * math/w_lgamma_r.c: Likewise.
28392 * math/w_lgammaf.c: Likewise.
28393 * math/w_lgammaf_r.c: Likewise.
28394 * math/w_lgammal.c: Likewise.
28395 * math/w_lgammal_r.c: Likewise.
28396 * math/w_log.c: Likewise.
28397 * math/w_log10.c: Likewise.
28398 * math/w_log10f.c: Likewise.
28399 * math/w_log10l.c: Likewise.
28400 * math/w_log2.c: Likewise.
28401 * math/w_log2f.c: Likewise.
28402 * math/w_log2l.c: Likewise.
28403 * math/w_logf.c: Likewise.
28404 * math/w_logl.c: Likewise.
28405 * math/w_pow.c: Likewise.
28406 * math/w_powf.c: Likewise.
28407 * math/w_powl.c: Likewise.
28408 * math/w_remainder.c: Likewise.
28409 * math/w_remainderf.c: Likewise.
28410 * math/w_remainderl.c: Likewise.
28411 * math/w_scalb.c: Likewise.
28412 * math/w_scalbf.c: Likewise.
28413 * math/w_scalbl.c: Likewise.
28414 * math/w_sinh.c: Likewise.
28415 * math/w_sinhf.c: Likewise.
28416 * math/w_sinhl.c: Likewise.
28417 * math/w_sqrt.c: Likewise.
28418 * math/w_sqrtf.c: Likewise.
28419 * math/w_sqrtl.c: Likewise.
28420 * math/w_tgamma.c: Likewise.
28421 * math/w_tgammaf.c: Likewise.
28422 * math/w_tgammal.c: Likewise.
28423
6a621eb7
UD
28424 * po/ja.po: Update from translation team.
28425
bf582445
AJ
284262011-09-29 Andreas Jaeger <aj@suse.de>
28427
f9efbf3a
AJ
28428 [BZ #13179]
28429 * sunrpc/netname.c (netname2host): Fix logic.
28430
bf582445
AJ
28431 [BZ #6779]
28432 [BZ #6783]
28433 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28434 correctly.
28435 * math/w_remainder.c (__remainder): Likewise.
28436 * math/w_remainderf.c (__remainderf): Likewise.
28437 * math/libm-test.inc (remainder_test): Add test cases.
28438
48693bea
AK
284392011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28440
28441 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28442 sdiv_qrnnd.
28443
42622229
LD
284442011-10-07 Ulrich Drepper <drepper@gmail.com>
28445
28446 * string/test-memcmp.c: Avoid unncessary #defines.
28447 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28448
093ecf92
LD
284492011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28450
28451 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28452 Use new sse2 version for core i3 - i7 as it's faster
28453 than sse42 version.
28454 (bit_Prefer_PMINUB_for_stringop): New.
28455 * sysdeps/x86_64/rawmemchr.S: Update.
28456 Replace with faster SSE2 version.
28457 * sysdeps/x86_64/memrchr.S: New file.
28458 * sysdeps/x86_64/memchr.S: Update.
28459 Replace with faster SSE2 version.
28460
fde56e5c
MP
284612011-09-12 Marek Polacek <mpolacek@redhat.com>
28462
28463 * elf/dl-load.c (lose): Add cast to avoid warning.
28464
21fd49a9
UD
284652011-10-07 Ulrich Drepper <drepper@gmail.com>
28466
5a06e643
UD
28467 * po/ca.po: Update from translation team.
28468
684ae515
UD
28469 * inet/getnetgrent_r.c: Hook up nscd.
28470 * nscd/Makefile (routines): Add nscd_netgroup.
28471 (nscd-modules): Add netgroupcache.
28472 (CFLAGS-netgroupcache.c): Define.
28473 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28474 (cache_search): Add const to second parameter.
28475 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28476 INNETGR.
28477 (dbs): Add netgrdb entry.
28478 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28479 (verify_persistent_db): Handle netgrdb.
28480 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28481 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28482 GETFDNETGR.
28483 (netgroup_response_header): Define.
28484 (innetgroup_response_header): Define.
28485 (datahead): Add netgroup_response_header and innetgroup_response_header
28486 elements.
28487 * nscd/nscd.conf: Add entries for netgroup cache.
28488 * nscd/nscd.h (dbtype): Add netgrdb.
28489 (_PATH_NSCD_NETGROUP_DB): Define.
28490 (netgroup_iov_disabled): Declare.
28491 (xmalloc, xcalloc, xrealloc): Move declarations here.
28492 (cache_search): Adjust prototype.
28493 Add netgroup-related prototypes.
28494 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28495 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28496 (__nscd_innetgr): Declare.
28497 * nscd/selinux.c (perms): Use access_vector_t as element type and
28498 add netgroup-related initializers.
28499 * nscd/netgroupcache.c: New file.
28500 * nscd/nscd_netgroup.c: New file.
28501 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28502 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28503 For four parameters use innetgr.
28504 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28505 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28506 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28507 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28508
21fd49a9
UD
28509 * nscd/connections.c (register_traced_file): Don't register file
28510 for disabled databases.
28511
054c0457
UD
285122011-10-06 Ulrich Drepper <drepper@gmail.com>
28513
32b63198
UD
28514 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28515
054c0457
UD
28516 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28517 from tree and freeing node.
28518
64031225
JO
285192011-09-25 Jiri Olsa <jolsa@redhat.com>
28520
28521 * nss/nsswitch.c (__nss_database_lookup): Handle
28522 nss_parse_service_list out of memory case.
28523
0490345c
JO
285242011-09-15 Jiri Olsa <jolsa@redhat.com>
28525
28526 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28527 out of memory case.
28528
3a62d00d
AS
285292011-10-04 Andreas Schwab <schwab@redhat.com>
28530
28531 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28532 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28533 pass it down.
28534 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28535 elf_machine_rela, elf_machine_lazy_rel.
28536 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28537 (ELF_DYNAMIC_DO_REL): Likewise.
28538 (ELF_DYNAMIC_DO_RELA): Likewise.
28539 (ELF_DYNAMIC_RELOCATE): Likewise.
28540 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28541 to ELF_DYNAMIC_DO_REL.
28542 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28543 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28544 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28545 elf_machine_rela.
28546 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28547 skip_ifunc, don't call ifunc function if non-zero.
28548 (elf_machine_rela): Likewise.
28549 (elf_machine_lazy_rel): Likewise.
28550 (elf_machine_lazy_rela): Likewise.
28551 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28552 (elf_machine_lazy_rel): Likewise.
28553 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28554 Likewise.
28555 (elf_machine_lazy_rel): Likewise.
28556 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28557 Likewise.
28558 (elf_machine_lazy_rel): Likewise.
28559 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28560 (elf_machine_lazy_rel): Likewise.
28561 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28562 (elf_machine_lazy_rel): Likewise.
28563 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28564 (elf_machine_lazy_rel): Likewise.
28565 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28566 (elf_machine_lazy_rel): Likewise.
28567 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28568 (elf_machine_lazy_rel): Likewise.
28569 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28570 (elf_machine_lazy_rel): Likewise.
28571
68577918
UD
285722011-09-28 Ulrich Drepper <drepper@gmail.com>
28573
28574 * nss/nss_files/files-init.c (_nss_files_init): Use static
28575 initialization for all the *_traced_file variables.
28576
68822d74
AS
285772011-09-28 Andreas Schwab <schwab@redhat.com>
28578
28579 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28580
2056100b
RM
285812011-09-27 Roland McGrath <roland@hack.frob.com>
28582
28583 [BZ #13226]
28584 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28585
32c76b63
AS
285862011-09-27 Andreas Schwab <schwab@redhat.com>
28587
28588 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28589 Reread the line before reparsing it.
28590
bf972c9d
AS
285912011-09-26 Andreas Schwab <schwab@redhat.com>
28592
28593 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28594
e057a1b5
JM
285952011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28596 Maxim Kuvyrkov <maxim@codesourcery.com>
28597 Joseph Myers <joseph@codesourcery.com>
28598
28599 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28600 if needed for __stack_chk_guard.
28601
bc7e1c36
RM
286022011-09-19 Roland McGrath <roland@hack.frob.com>
28603
ecb1482f
RM
28604 * sysdeps/posix/spawni.c (script_execute): Always define it.
28605 It will be optimized away if unused.
28606 (maybe_script_execute): New function.
28607 (__spawni): Call it.
28608
bc7e1c36
RM
28609 * Makerules: Don't include tls.make.
28610 (config-tls): Always set to thread.
28611 * tls.make.c: File removed.
28612
1c3b002b
MF
286132011-09-19 Mike Frysinger <vapier@gentoo.org>
28614
28615 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28616 * config.make.in (CPPFLAGS-config): New substituted variable.
28617
2840865d
UD
286182011-09-15 Ulrich Drepper <drepper@gmail.com>
28619
88738eb6
UD
28620 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28621
cbf645a6 28622 [BZ #13192]
2840865d
UD
28623 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28624 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28625
b402e91a
RM
286262011-09-15 Roland McGrath <roland@hack.frob.com>
28627
28628 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28629 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28631 (CALL_FAIL): Likewise.
28632 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28633 (CALL_FAIL): Macro removed.
28634 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28635
4c1a1f71
UD
286362011-09-15 Ulrich Drepper <drepper@gmail.com>
28637
28638 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28639 for __FINITE_MATH_ONLY__ == 1.
28640
edc121be
AS
286412011-09-15 Andreas Schwab <schwab@redhat.com>
28642
28643 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28644 __ieee754_sqrt instead of sqrt.
28645 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28646 __ieee754_sqrtf instead of sqrtf.
28647 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28648 __floorf instead of floorf.
28649 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28650 __floorf, __truncf instead of floorf, truncf.
28651
cd205654
UD
286522011-09-14 Ulrich Drepper <drepper@gmail.com>
28653
ee4d0315
UD
28654 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28655
cd205654
UD
28656 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28657 __extern_always_inline.
28658 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28659 32-bit.
28660
48b67d71
AS
286612011-09-14 Andreas Schwab <schwab@redhat.com>
28662
28663 * elf/rtld.c (dl_main): Also relocate in dependency order when
28664 doing symbol dependency testing.
28665
1ae12c75
AS
286662011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28667
28668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28669 Always define `refsym'.
28670
995a80df
AS
286712011-09-13 Andreas Schwab <schwab@redhat.com>
28672
e529793b
AS
28673 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28674 (__FD_ELT): Renamed from __FDELT.
28675 * misc/bits/select2.h (__FD_ELT): Likewise.
28676 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28677 __FD_MASK instead of __FDELT, __FDMASK.
28678 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28679 Likewise.
28680 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28681 Likewise.
28682
52d4fef8
AS
28683 * elf/Makefile (gen-ldd): Fix pattern.
28684
995a80df
AS
28685 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28686 (init_tls): Likewise.
28687
8682f8b0
UD
286882011-09-12 Ulrich Drepper <drepper@gmail.com>
28689
28690 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28691
de82006d
AS
286922011-09-12 Andreas Schwab <schwab@redhat.com>
28693
a7c8e6a1
AS
28694 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28695 `struct cmsghdr *' instead of `void *'.
28696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28697 Likewise.
28698
0f31fe77
AS
286992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28700
28701 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28702 if non-absolute.
28703 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28704 ldd_rewrite_script.
0f31fe77 28705
32b4c839
UD
287062011-09-11 Ulrich Drepper <drepper@gmail.com>
28707
83cd1420
UD
28708 * configure.in: Remove --with-tls option.
28709 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28710 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28711 out in case it is missing.
28712 * sysdeps/ia64/elf/configure.in: Likewise.
28713 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28714 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28715 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28716 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28717 * sysdeps/sh/elf/configure.in: Likewise.
28718 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28719 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28720 * sysdeps/x86_64/elf/configure.in: Likewise.
28721 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28722 * sysdeps/mach/hurd/tls.h: Likewise.
28723
633f745d
UD
28724 [BZ #13067]
28725 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28726
f318beb8
UD
28727 [BZ #13090]
28728 * configure.in: Fix use of AC_INIT.
28729
32b4c839
UD
28730 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28731
3ce1f295
UD
287322011-09-10 Ulrich Drepper <drepper@gmail.com>
28733
bb016596
UD
28734 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28735 __set_errno.
8e58439c
UD
28736 * malloc/hooks.c: Likewise.
28737
aebae053 28738 [BZ #11929]
02d46fc4
UD
28739 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28740 variables statically.
28741 (narenas): Initialize.
28742 (list_lock): Initialize.
bb016596
UD
28743 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28744 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28745 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28746 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28747 Add initializers to main_arena and mp_.
28748 (malloc_state): Remove pagesize member. Change all users to use
28749 GLRO(dl_pagesize).
28750
28751 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28752 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28753 is always initialized.
28754
22a89187
UD
28755 * malloc/malloc.c: Removed unused configurations and dead code.
28756 * malloc/arena.c: Likewise.
28757 * malloc/hooks.c: Likewise.
02d46fc4 28758 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28759
d063d164
UD
28760 * include/tls.h: Removed. USE___THREAD must always be defined.
28761 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28762 * elf/dl-libc.c: Likewise.
28763 * elf/dl-tsd.c: Likewise.
28764 * include/errno.h: Likewise.
28765 * include/netdb.h: Likewise.
28766 * include/resolv.h: Likewise.
28767 * inet/herrno-loc.c: Likewise.
28768 * inet/herrno.c: Likewise.
28769 * malloc/arena.c: Likewise.
28770 * malloc/hooks.c: Likewise.
28771 * malloc/malloc.c: Likewise.
28772 * resolv/res-state.c: Likewise.
28773 * resolv/res_libc.c: Likewise.
28774 * sysdeps/i386/dl-machine.h: Likewise.
28775 * sysdeps/ia64/dl-machine.h: Likewise.
28776 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28777 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28778 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28779 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28780 * sysdeps/sh/dl-machine.h: Likewise.
28781 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28782 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28783 * sysdeps/unix/i386/sysdep.S: Likewise.
28784 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28785 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28786 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28787 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28788 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28789 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28790 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28792 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28794 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28795 * sysdeps/x86_64/dl-machine.h: Likewise.
28796 * tls.make.c: Likewise.
28797
3ce1f295
UD
28798 * configure.in: Remove --with-__thread option. Make tests for
28799 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28800 tls_model attribute fail if no support is available. Remove
28801 USE_IN_LIBIO.
28802 * Makeconfig: Adjust for dropped configure option. All features are
28803 now mandatory.
28804 * Makerules: Likewise.
28805 * Versions.def: Likewise.
28806 * argp/argp-fmtstream.c: Likewise.
28807 * argp/argp-fmtstream.h: Likewise.
28808 * argp/argp-help.c: Likewise.
28809 * assert/assert.c: Likewise.
28810 * config.h.in: Likewise.
28811 * config.make.in: Likewise.
28812 * configure: Likewise.
28813 * configure.in: Likewise.
28814 * csu/Versions: Likewise.
28815 * csu/init.c: Likewise.
28816 * elf/tst-audit2.c: Likewise.
28817 * elf/tst-tls10.c: Likewise.
28818 * elf/tst-tls10.h: Likewise.
28819 * elf/tst-tls11.c: Likewise.
28820 * elf/tst-tls12.c: Likewise.
28821 * elf/tst-tls14.c: Likewise.
28822 * elf/tst-tlsmod11.c: Likewise.
28823 * elf/tst-tlsmod12.c: Likewise.
28824 * elf/tst-tlsmod13.c: Likewise.
28825 * elf/tst-tlsmod13a.c: Likewise.
28826 * elf/tst-tlsmod14a.c: Likewise.
28827 * elf/tst-tlsmod15b.c: Likewise.
28828 * elf/tst-tlsmod16a.c: Likewise.
28829 * elf/tst-tlsmod16b.c: Likewise.
28830 * elf/tst-tlsmod7.c: Likewise.
28831 * elf/tst-tlsmod8.c: Likewise.
28832 * elf/tst-tlsmod9.c: Likewise.
28833 * gmon/gmon.c: Likewise.
28834 * grp/fgetgrent_r.c: Likewise.
28835 * grp/putgrent.c: Likewise.
28836 * hurd/fopenport.c: Likewise.
28837 * include/libc-symbols.h: Likewise.
28838 * include/tls.h: Likewise.
28839 * intl/gettextP.h: Likewise.
28840 * intl/loadinfo.h: Likewise.
28841 * locale/global-locale.c: Likewise.
28842 * locale/localeinfo.h: Likewise.
28843 * mach/devstream.c: Likewise.
28844 * malloc/arena.c: Likewise.
28845 * malloc/set-freeres.c: Likewise.
28846 * misc/err.c: Likewise.
28847 * misc/getttyent.c: Likewise.
28848 * misc/mntent_r.c: Likewise.
28849 * posix/getopt.c: Likewise.
28850 * posix/wordexp.c: Likewise.
28851 * pwd/fgetpwent_r.c: Likewise.
28852 * resolv/Versions: Likewise.
28853 * resolv/res_hconf.c: Likewise.
28854 * shadow/fgetspent_r.c: Likewise.
28855 * shadow/putspent.c: Likewise.
28856 * stdio-common/printf_fphex.c: Likewise.
28857 * stdio-common/tmpfile.c: Likewise.
28858 * stdlib/abort.c: Likewise.
28859 * stdlib/fmtmsg.c: Likewise.
28860 * sunrpc/auth_unix.c: Likewise.
28861 * sunrpc/clnt_perr.c: Likewise.
28862 * sunrpc/clnt_tcp.c: Likewise.
28863 * sunrpc/clnt_udp.c: Likewise.
28864 * sunrpc/clnt_unix.c: Likewise.
28865 * sunrpc/openchild.c: Likewise.
28866 * sunrpc/svc_simple.c: Likewise.
28867 * sunrpc/svc_tcp.c: Likewise.
28868 * sunrpc/svc_udp.c: Likewise.
28869 * sunrpc/svc_unix.c: Likewise.
28870 * sunrpc/xdr.c: Likewise.
28871 * sunrpc/xdr_array.c: Likewise.
28872 * sunrpc/xdr_rec.c: Likewise.
28873 * sunrpc/xdr_ref.c: Likewise.
28874 * sunrpc/xdr_stdio.c: Likewise.
28875
1248c1c4
PB
288762011-09-09 Ulrich Drepper <drepper@gmail.com>
28877
28878 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28879
288802011-07-03 Andreas Jaeger <aj@suse.de>
28881
28882 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28883 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28884 regenerate with gen-libm-tests.pl.
28885
288862010-05-12 Petr Baudis <pasky@suse.cz>
28887
28888 [BZ #11589]
28889 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28890 around j0() zero points by switching to j1().
28891 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28892 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28894 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28895
f22e1074
UD
288962011-09-09 Ulrich Drepper <drepper@gmail.com>
28897
f19009c1
UD
28898 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28899 instead of 0.
28900 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28901 instead of 0.
f19009c1
UD
28902 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28903 Patch in part by Pavel Roskin <proski@gnu.org>.
28904
3f8cc204
UD
28905 [BZ #13138]
28906 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28907 realloc.
28908 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28909 Free memory block if necessary.
28910
f22e1074
UD
28911 [BZ #12847]
28912 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28913 be NULL. Don't lock in this case.
28914
0a2349f9
RM
289152011-09-09 Roland McGrath <roland@hack.frob.com>
28916
28917 * elf/elf.h (ELFOSABI_GNU): New macro.
28918 (ELFOSABI_LINUX): Define to that.
28919
f3cdd467
DZ
289202011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28921
28922 * string/strncat.c (strncat): Undef the symbol in case it has been
28923 defined in bits/string.h.
28924
74718d13
UD
289252011-09-09 Ulrich Drepper <drepper@gmail.com>
28926
633e9e0f
UD
28927 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28928
0a2349f9 28929 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28930 link map.
28931
f9924780
AJ
289322011-08-17 Andreas Jaeger <aj@suse.de>
28933
28934 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28935
7f5517aa
PP
289362011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28937 Ian Lance Taylor <iant@google.com>
28938
28939 * math/libm-test.inc (lround_test): New testcase.
28940 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28941
762011fe
UD
289422011-09-08 Ulrich Drepper <drepper@gmail.com>
28943
92963737
UD
28944 * Makefile: Remove support for automatic cvs check-ins.
28945 * Makerules: Likewise.
28946 * config.make.in: Likewise.
28947 * configure.in: Likewise.
28948 * intl/Makefile: Likewise.
28949 * locale/Makefile: Likewise.
28950 * po/Makefile: Likewise.
28951 * posix/Makefile: Likewise.
28952 * sysdeps/gnu/Makefile: Likewise.
28953 * sysdeps/mach/hurd/Makefile: Likewise.
28954 * sysdeps/sparc/sparc32/Makefile: Likewise.
28955
b0727fd8
JS
28956 [BZ #13118]
28957 * posix/Makefile (bug-regex32-ENV): Define.
28958 Patch by John Stanley <jpsinthemix@verizon.net>.
28959
a0f33f99
UD
28960 * misc/Makefile (headers): Add bits/select2.h.
28961 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28962 * misc/bits/select2.h: New file.
28963 * include/bits/select2.h: New file.
28964 * debug/Makefile (routines): Add fdelt_chk.
28965 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28966 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28967 FD_ISSET.
28968 * debug/fdelt_chk.c: New file.
28969
762011fe
UD
28970 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28971 * wcsmbs/test-wmemcmp.c: Likewise.
28972 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28973 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28974
289752011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28976
28977 * string/Makefile (strop-tests): Add memcmp.
28978 * string/test-wmemcmp.c: New file.
28979 * string/test-memcmp.c: Add wmemcmp support.
28980
7f513ec8
RM
289812011-09-08 Roland McGrath <roland@hack.frob.com>
28982
0442afb4
RM
28983 [BZ #13153]
28984 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28985 2011-07-19 change.
28986
7f513ec8
RM
28987 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28988 garbage value in a __mach_port_mod_refs call in the cases of the
28989 task-self and thread-self ports.
28990
a12b2239
ST
289912011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28992
28993 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28994
610f9ab4
AS
289952011-09-08 Andreas Schwab <schwab@redhat.com>
28996
7f513ec8 28997 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28998
48882a1a
LD
289992011-09-07 Ulrich Drepper <drepper@gmail.com>
29000
b49865be
UD
29001 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29002
fdc86bc9
UD
29003 * elf/dl-libc.c (dlerror_run): Pass back error code from
29004 dl_catch_error.
29005
c966526a
UD
29006 [BZ #13123]
29007 * elf/dl-load.c (lose): Free l_origin if it is valid.
29008
48882a1a
LD
29009 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29010 names.
29011 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29012 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29013 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29014 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29015 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29016 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29017
77a2a8b4
AZ
290182011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29019
29020 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29021 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29022 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29023 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29024 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29025 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29026 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29027 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29028 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29029 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29030
24f579d8
AM
290312011-08-15 Alan Modra <amodra@gmail.com>
29032
29033 [BZ #13092]
29034 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29035 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29036 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29037 ppc_mcount to static-only-routines.
29038 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29039 __mcount_internal.
29040 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29041 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29042
3d4837df
UD
290432011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29044
29045 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29046 for finite and infinity parameters.
29047
22700377
WS
290482011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29049
29050 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29051 and add nop instructions for throughput optimization.
29052 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29053
5025581e
WS
290542011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29055
29056 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29057 aligned copy for power7 with vector-scalar instructions.
29058 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29059
08a300c9
L
290602011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29061
29062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29063 AVX check.
29064
59178ef9
AS
290652011-09-07 Andreas Schwab <schwab@redhat.com>
29066
29067 [BZ #13144]
29068 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29069 last change.
29070
e38ba7ab
UD
290712011-09-07 Ulrich Drepper <drepper@gmail.com>
29072
29073 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29074 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29075 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29076 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29077 clock_gettime.
29078
d53a73ac
UD
290792011-09-06 Ulrich Drepper <drepper@gmail.com>
29080
fc8bffcc
UD
29081 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29082 Forgot to demangle the pointer.
29083
ceaa0c5d
UD
29084 * sysdeps/i386/sysdep.h: Define atom_text_section.
29085 * sysdeps/x86_64/sysdep.h: Likewise.
29086 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29087 section with atom_text_section.
29088 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29089 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29090 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29091 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29092 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29093
a77d3c17
UD
29094 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29095 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29096 already be defined. Change to take two parameters and don't assign
29097 result to variable. Adjust all users.
29098 Define INTERNAL_GETTIME if not already defined.
29099 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29100 call.
29101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29102 HAVE_CLOCK_GETTIME_VSYSCALL.
29103 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29104
d53a73ac
UD
29105 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29106 gettimeofday vsyscall, just use time.
29107
a8f84144
AS
291082011-09-06 Andreas Schwab <schwab@redhat.com>
29109
29110 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29111 <errno.h>.
29112
ef606249
UD
291132011-09-06 Ulrich Drepper <drepper@gmail.com>
29114
29115 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29116 syscall on x86-64.
29117 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29118 syscall.
29119 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29120 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29121 syscall if possible.
29122
6585cb60
UD
291232011-09-05 Ulrich Drepper <drepper@gmail.com>
29124
29125 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29126 e_ident. Don't pass to find_mapsXX.
29127 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29128
a5f524e4
LD
291292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29130
29131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29132 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29133 * sysdeps/x86_64/multiarch/strchr.S: Update.
29134 Check bit_slow_BSF bit.
29135 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29136 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29137 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29138
554881ef
UD
291392011-09-05 Ulrich Drepper <drepper@gmail.com>
29140
d96de963
UD
29141 [BZ #13134]
29142 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29143 before glibc 2.15.
29144 (tryshell): Define.
29145 (__spawni): Change last parameter to be flag. Test
29146 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29147 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29148 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29149 * posix/spawni.c: Likewise.
29150 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29151 * posix/spawnp.c: Likewise. Change normal version to use
29152 SPAWN_XFLAGS_USE_PATH.
29153 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29154 SPAWN_XFLAGS_TRY_SHELL.
29155
d48e5868
UD
29156 [BZ #13150]
29157 * posix/glob.h: Remove gcc 1.x support.
29158
554881ef
UD
29159 [BZ #13068]
29160 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29161
693fb948
LD
291622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29163
29164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29165 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29166 strrchr-sse2-bsf
29167 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29168 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29169 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29170 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29171 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29172 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29173
1b48c537
UD
291742011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29175
49d42c37
UD
29176 * sysdeps/x86_64/wcscmp.S: New file.
29177
1b48c537
UD
29178 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29179 wcscmp-c wcscmp-sse2
29180 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29181 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29182 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29183 * wcsmbs/wcscmp.c: Allow renaming.
29184
15c95c5d
DM
291852011-09-05 David S. Miller <davem@davemloft.net>
29186
29187 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29188 stack slot, rather than the struct return pointer slot.
29189 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29190 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29192 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29193
2f0ad8f3
UD
291942011-09-05 Ulrich Drepper <drepper@gmail.com>
29195
d88ae418
UD
29196 * po/ja.po: Update from translation team.
29197
2f0ad8f3
UD
29198 [BZ #13144]
29199 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29200 kernel in 64-bit binaries.
29201
5f4318d1
DM
292022011-09-01 David S. Miller <davem@davemloft.net>
29203
29204 * elf/elf.h (HWCAP_SPARC_*): Move to..
29205 * sysdeps/sparc/sysdep.h: this new file and add new values.
29206 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29207 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29208 _DL_HWCAP_COUNT to 24.
29209 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29210 entries.
29211 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29212 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29213 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29215 instead of magic constants.
29216 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29217
3ba57516
DM
292182011-08-31 David S. Miller <davem@davemloft.net>
29219
29220 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29222 Reimplement to do errno handling inline.
29223 (SYSCALL_ERROR_HANDLER): New macro.
29224 (__SYSCALL_STRING): Do not do errno handling in asm.
29225 (__CLONE_SYSCALL_STRING): Delete.
29226 (__INTERNAL_SYSCALL_STRING): Delete.
29227 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29228 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29229 (PSEUDO): Reimplement to do errno handling inline.
29230 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29231 (SYSCALL_ERROR_HANDLER): New macro.
29232 (__SYSCALL_STRING): Do not do errno handling in asm.
29233 (__CLONE_SYSCALL_STRING): Delete.
29234 (__INTERNAL_SYSCALL_STRING): Delete.
29235 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29236 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29237 i386.
29238 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29239 (inline_syscall*): Add 'err' argument.
29240 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29241 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29242 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29243 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29244
29245 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29246 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29247
2bc17433
AS
292482011-08-30 Andreas Schwab <schwab@redhat.com>
29249
29250 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29251
fbeb5f4d
JO
292522011-08-29 Jiri Olsa <jolsa@redhat.com>
29253
29254 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29255 directive.
29256
ad69cc26
DM
292572011-08-24 David S. Miller <davem@davemloft.net>
29258
29259 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29260
39dd69df
AS
292612011-08-24 Andreas Schwab <schwab@redhat.com>
29262
29263 * elf/Makefile: Add rules to build and run unload8 test.
29264 * elf/unload8.c: New file.
29265 * elf/unload8mod1.c: New file.
29266 * elf/unload8mod1x.c: New file.
29267 * elf/unload8mod2.c: New file.
29268 * elf/unload8mod3.c: New file.
29269
29270 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29271 it wasn't used.
29272
2c0b250a
DM
292732011-08-23 David S. Miller <davem@davemloft.net>
29274
29275 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29276 subtract stack bias.
29277 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29278 %sp not %fp in calculations.
29279 (_JMPBUF_UNWINDS_ADJ): Likewise.
29280
22044b48
DM
29281 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29282 (aio_suspend): Call it to force an exception region around the
29283 AIO_MISC_WAIT() invocation.
29284
2cae4995
AS
292852011-08-23 Andreas Schwab <schwab@redhat.com>
29286
29287 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29288 backslash.
29289
873a772e
AJ
292902011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29291
29292 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29293 protection macro.
29294 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29295 and <dl-machine.h>.
29296 (Elf64_FuncDesc): Remove.
29297
25ad0df1
DM
292982011-08-22 David S. Miller <davem@davemloft.net>
29299
29300 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29301 sigaltstack check, add missing cfi directives.
29302 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29303 missing cfi directives, and sigaltstack handling.
29304
e888bcbe
AS
293052011-08-16 Andreas Schwab <schwab@redhat.com>
29306
29307 [BZ #11724]
29308 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29309 object is seen twice.
29310 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29311
29312 * elf/Makefile (distribute): Add tst-initorder2.c.
29313 (tests): Add tst-initorder2.
29314 (modules-names): Add tst-initorder2a tst-initorder2b
29315 tst-initorder2c tst-initorder2d. Add rules to build them.
29316 ($(objpfx)tst-initorder2.out): New rule.
29317 * elf/tst-initorder2.c: New file.
29318 * elf/tst-initorder2.exp: New file.
29319
87162f46
AS
293202011-08-22 Andreas Schwab <schwab@redhat.com>
29321
70538b7f
AS
29322 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29323
f55ffe58
AS
29324 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29325 dependencies back to end of function.
29326
87162f46
AS
29327 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29328 $(elfobjdir)/ld.so.
29329
91b392a4
UD
293302011-08-21 Ulrich Drepper <drepper@gmail.com>
29331
29332 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29333 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29335 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29336 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29337 of __vdso_gettimeofday.
29338 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29339 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29340 attribute_hidden.
29341 (_libc_vdso_platform_setup): Remove initialization of
29342 __vdso_gettimeofday and __vdso_time.
29343
5c43483f
UD
293442011-08-20 Ulrich Drepper <drepper@gmail.com>
29345
775a77e7
UD
29346 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29347 and fgetc_unlocked.
29348 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29349 getc_unlocked.
89f447ed 29350
49c74ba9
UD
29351 * elf/dl-open.c (add_to_global): Report additions to the global scope
29352 for LD_DEBUG=scopes.
29353 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29354 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29355
5c43483f
UD
29356 [BZ #13114]
29357 * stdio-common/Makefile (tests): Add bug24.
29358 * stdio-common/bug24.c: New file.
29359
a101b025
AJ
293602011-08-19 Andreas Jaeger <aj@suse.de>
29361
29362 [BZ #13114]
29363 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29364 non-existant file when using close-on-exec mode.
29365
c88f1766
UD
293662011-08-20 Ulrich Drepper <drepper@gmail.com>
29367
0276a718
UD
29368 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29369 the very first instruction.
29370
c88f1766
UD
29371 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29372 the CFI state in the end.
29373 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29374 inclusion of dl-trampoline.h.
29375 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29376
51ccffa0
AS
293772011-08-19 Andreas Schwab <schwab@redhat.com>
29378
94d7165f
AS
29379 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29380 expectations for long double.
29381
51ccffa0
AS
29382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29383 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29384
fd708658 293852011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29386
29387 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29388 artificual limit depends upon the system page size.
29389
44f0a71e
UD
293902011-08-17 Ulrich Drepper <drepper@gmail.com>
29391
29392 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29393 * resolv/Makefile: Define CFLAGS-libresolv.
29394
8de79a24
AS
293952011-08-17 Andreas Schwab <schwab@redhat.com>
29396
29397 * nss/makedb.c (compute_tables): Make variables used in nested
29398 function static.
29399
27724598
UD
294002011-08-17 Ulrich Drepper <drepper@gmail.com>
29401
c5305d88
UD
29402 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29403 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29404 if buffer was too small.
29405
27724598
UD
29406 * elf/pldd.c (main): Attach to all threads in the process.
29407 Rewrite /proc handling to use *at functions.
29408
076fe015
UD
294092011-08-16 Ulrich Drepper <drepper@gmail.com>
29410
174baab3
UD
29411 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29412 specifies first scope to show.
29413 (dl_open_worker): Update callers. Move printing scope of new
29414 object to before the relocation.
44f0a71e 29415 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29416 * sysdeps/generic/ldsodefs.h: Update declaration.
29417
076fe015
UD
29418 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29419 string for the scope number.
29420
a60df2c3
UD
294212011-08-14 Ulrich Drepper <drepper@gmail.com>
29422
29423 * nscd/servicescache.c (cache_addserv): Make sure written is always
29424 initialized.
29425
5e4287d1
RM
294262011-08-14 Roland McGrath <roland@hack.frob.com>
29427
85ae0589
RM
29428 * sysdeps/i386/i486/bits/atomic.h
29429 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29430 statement expression, so as to suppress "set but not used" warning.
29431 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29432
69f63097
RM
29433 * string/strncat.c (STRNCAT): Use prototype definition.
29434
675456ef
RM
29435 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29436 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29437 -Iprograms here.
29438 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29439 (localedef-modules): Add localedef.
29440 (locale-modules): Add locale.
29441
5e4287d1
RM
29442 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29443 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29444 to avoid a warning.
29445
9c96ff23
DM
294462011-08-14 David S. Miller <davem@davemloft.net>
29447
29448 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29449 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29450
f9ddf089
UD
294512011-08-13 Ulrich Drepper <drepper@gmail.com>
29452
44f0a71e 29453 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29454 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29455 * elf/rtld.c (dl_main): Set l_name of vDSO.
29456 Call _dl_show_scope when DL_DEBUG_SCOPES.
29457 (process_dl_debug): Recognize scopes flag and also set it for all.
29458 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29459 Declare _dl_show_scope.
29460
1dc27704
UD
29461 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29462 (do_dlopen): Pass caller_dlopen to dl_open.
29463 (__libc_dlopen_mode): Initialize caller_dlopen.
29464
f9ddf089
UD
29465 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29466 of libc. Make tolower call locale-independent. Optimize a bit by
29467 using isdigit instead of isalnum.
29468 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29469
9ac533d3
UD
294702011-08-12 Ulrich Drepper <drepper@gmail.com>
29471
29472 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29473 was a dependency or dynamically loaded.
29474
89edf2e9
UD
294752011-08-11 Ulrich Drepper <drepper@gmail.com>
29476
8e999d29
UD
29477 * intl/l10nflist.c: Allow architecture-specific pop function.
29478 * sysdeps/x86_64/l10nflist.c: New file.
29479
89edf2e9
UD
29480 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29481 classification.
29482
14d96785
AS
294832011-08-10 Andreas Schwab <schwab@redhat.com>
29484
29485 * include/dirent.h: Add libc_hidden_proto for scandirat and
29486 scandirat64. Don't declare __scandirat64.
29487 * dirent/scandirat.c: Add libc_hidden_def.
29488 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29489 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29490
6761ac04
DM
294912011-08-10 David S. Miller <davem@davemloft.net>
29492
29493 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29494 enum.
29495 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29496 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29497 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29498
c55fbd1e
UD
294992011-08-09 Ulrich Drepper <drepper@gmail.com>
29500
29501 * Versions.def [libc]: Add GLIBC_2.15.
29502 * dirent/Makefile (routines): Add scandirat and scandirat64.
29503 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29504 GLIBC_2.15.
29505 * dirent/dirent.h: Declare scandirat and scandirat64.
29506 * dirent/scandirat.c: New file.
29507 * dirent/scandirat64.c: New file.
29508 * sysdeps/wordsize-64/scandirat.c: New file.
29509 * sysdeps/wordsize-64/scandirat64.c: New file.
29510 * dirent/opendir.c: Define opendirat.
29511 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29512 using scandirat.
29513 * dirent/scandir64.c: Adjust for scandir.c change.
29514 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29515 __scandirat64, and __scandir_cancel_handler.
29516 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29517 additional parameter and use openat instead of open (outside of ld.so).
29518 Add new __opendir as wrapper around __opendirat.
29519 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29520 here without requiring old scandirat implementation.
29521
879165f2
UD
295222011-08-08 Ulrich Drepper <drepper@gmail.com>
29523
29524 * dirent/scandir.c (cancel_handler): Renamed to
29525 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29526 defined. Adjust users.
29527 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29528 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29529
cb7e923b
UD
295302011-08-04 Ulrich Drepper <drepper@gmail.com>
29531
16292edd
UD
29532 * string/test-string.h (IMPL): Use __STRING to expand name and then
29533 stringify it.
29534
cb7e923b
UD
29535 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29536 of cleanups.
29537
cff82933
LD
295382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29539
29540 * string/Makefile: Update.
29541 (strop-tests): Append strncat.
29542 * string/test-wcscmp.c: New file.
29543 New comprehensive test for wcscmp.
29544 * string/test-strcmp.c: Update.
29545 (WIDE): New define.
29546
9be9bfcc
AS
295472011-07-22 Andreas Schwab <schwab@redhat.com>
29548
29549 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29550 line.
29551
2e96f1c7
AS
295522011-07-26 Andreas Schwab <schwab@redhat.com>
29553
29554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29555 encoding to ACE if AI_IDN.
29556
85188888
JJ
295572011-08-01 Jakub Jelinek <jakub@redhat.com>
29558
29559 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29560 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29561
5fa16e9b
LD
295622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29563
29564 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29565 Fix overflow bug in strncat.
29566 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29567
29568 * string/test-strncat.c: Update.
29569 Add new tests for checking overflow bugs.
29570
295712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29572
29573 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29574 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29575 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29576 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29577 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29578 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29579 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29580 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29581 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29582
29583 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29584 (USE_AS_STRCAT): Define.
29585 Add strcat and strncat support.
29586 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29587
8c1a459f
AS
295882011-07-25 Andreas Schwab <schwab@redhat.com>
29589
29590 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29591 __n bigger than INT_MAX+1.
29592 (__strncmp_g): Likewise.
29593
bba33c28
UD
295942011-07-23 Ulrich Drepper <drepper@gmail.com>
29595
798be72d
UD
29596 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29597 * libio/stido.h: Likewise.
29598
8accd4dc
UD
29599 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29600 (AF_NFC): Define.
29601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29602 (AF_NFC): Define.
29603
cbff0d96
UD
29604 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29605 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29606 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29607 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29608 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29609
9191c04a
UD
29610 [BZ #13021]
29611 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29612 installed.
29613
bba33c28
UD
29614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29615 typo.
29616 (_dl_x86_64_save_sse): Likewise.
29617
90f139dd
UD
296182011-07-22 Ulrich Drepper <drepper@gmail.com>
29619
1aae088a
UD
29620 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29621 OSXSAVE.
29622 (_dl_x86_64_save_sse): Likewise.
29623
8e2045f5
UD
29624 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29625
90f139dd
UD
29626 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29627
1d002f25
AS
296282011-07-21 Andreas Schwab <schwab@redhat.com>
29629
29630 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29631 change.
29632 (_dl_x86_64_save_sse): Use correct AVX check.
29633
21137f89
UD
296342011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29635
29636 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29637 bug in strncpy/strncat.
29638 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29639
a65c0b7a
UD
296402011-07-21 Ulrich Drepper <drepper@gmail.com>
29641
29642 * string/tester.c (test_strcat): Add tests for different alignments
29643 of source and destination.
29644 (test_strncat): Likewise.
29645
6986b98a
UD
296462011-07-20 Ulrich Drepper <drepper@gmail.com>
29647
90bb2039
UD
29648 [BZ #12852]
29649 * posix/glob.c (glob): Check passed in values before using them in
29650 expressions to avoid some overflows.
29651 (glob_in_dir): Likewise.
29652
5644ef54
UD
29653 [BZ #13007]
29654 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29655 check for AVX enablement so that we don't crash with old kernels and
29656 new hardware.
29657 * elf/tst-audit4.c: Add same checks here.
29658 * elf/tst-audit6.c: Likewise.
29659
29660 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29661
bfc9dc9b
AS
296622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29663
29664 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29665
702e64bb
UD
296662011-07-20 Ulrich Drepper <drepper@gmail.com>
29667
29668 * po/cs.po: Update from translation team.
29669 * po/bg.po: Likewise.
29670
295e904f
MP
296712011-07-12 Marek Polacek <mpolacek@redhat.com>
29672
29673 * misc/sys/cdefs.h: Add support for const attribute.
29674 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29675 to gnu_dev_{major,minor,makedev} functions.
29676
3ff94596
MP
296772011-07-20 Marek Polacek <mpolacek@redhat.com>
29678
29679 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29680
28b59fca
AS
296812011-07-20 Andreas Schwab <schwab@redhat.com>
29682
29683 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29684 strlen results.
29685
19df733e
AK
296862011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29687
29688 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29689 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29690 register in order to avoid conflicts with the soft frame pointer
29691 being held in r11 when necessary.
29692 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29693 (INTERNAL_VSYSCALL_NCS): Likewise.
29694
c8835729
MP
296952011-07-14 Marek Polacek <mpolacek@redhat.com>
29696
29697 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29698 * elf/dl-fini.c (_dl_fini): Adjust caller.
29699 * elf/dl-close.c (_dl_close_worker): Likewise.
29700 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29701
b902330c
MP
297022011-07-15 Marek Polacek <mpolacek@redhat.com>
29703
8991e135
MP
29704 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29705 "aux_cache->nlibs < 0".
29706
b902330c
MP
29707 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29708 in the reload-count case.
29709
99710781
LD
297102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29711
29712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29713 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29714 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29715 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29716 * sysdeps/x86_64/multiarch/strcat.S: New file.
29717 * sysdeps/x86_64/multiarch/strncat.S: New file.
29718 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29719 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29720 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29721 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29722 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29723 (USE_AS_STRCAT): Define.
29724 Add strcat and strncat support.
29725 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29726 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29727 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29728 * string/strncat.c: Update.
29729 (USE_AS_STRNCAT): Define.
29730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29731 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29732 and i7.
29733 * sysdeps/x86_64/multiarch/init-arch.h
29734 (bit_Prefer_PMINUB_for_stringop): New.
29735 (index_Prefer_PMINUB_for_stringop): Likewise.
29736 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29737 bit_Prefer_PMINUB_for_stringop.
29738
7dc6bd90
UD
297392011-07-19 Ulrich Drepper <drepper@gmail.com>
29740
29741 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29742 buffer64.
29743 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29744 of casting of buffer.
29745 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29746 buffer32 and buffer64.
29747 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29748 writes instead of casting of buffer.
29749 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29750 buffer32.
29751 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29752 casting of buffer.
29753
e0e72284
AS
297542011-07-19 Andreas Schwab <schwab@redhat.com>
29755
29756 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29757
feb1eb0b
UD
297582011-07-19 Ulrich Drepper <drepper@gmail.com>
29759
29760 * nscd/nscd.c (termination_handler): Don't do anything for a database
29761 if it has not yet been initialized.
29762
298711ff
UD
297632011-07-18 Ulrich Drepper <drepper@gmail.com>
29764
29765 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29766
297672011-07-15 Marek Polacek <mpolacek@redhat.com>
29768
29769 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29770
f9d68389
UD
297712011-07-18 Ulrich Drepper <drepper@gmail.com>
29772
29773 * po/nl.po: Update from translation team.
29774 * po/sv.po: Likewise.
29775
db290cf5
RM
297762011-07-16 Roland McGrath <roland@hack.frob.com>
29777
29778 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29779 now disallowed by GCC.
5c550700 29780
fd5e21c7
RM
29781 * configure.in (use-default-link): Default to yes if a test -shared
29782 link meets our qualifications.
29783 * configure: Regenerated.
29784
5c550700
RM
29785 * config.make.in (output-format): New variable.
29786 * configure.in: Check for ld --print-output-format support.
29787 * configure: Regenerated.
29788 * Makerules ($(common-objpfx)format.lds)
29789 [$(output-format) != unknown]: Just use $(output-format),
29790 instead of the linker-script munging.
29791
9fa2c032
RM
297922011-07-14 Roland McGrath <roland@hack.frob.com>
29793
a6928d51
RM
29794 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29795 of $(common-objpfx)shlib.lds.
29796 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29797
661607b3
RM
29798 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29799 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29800
9fa2c032
RM
29801 * configure.in (-z relro check): Adjust test code to add a large
29802 writable data section after it.
29803 * configure: Regenerated.
29804
defe9061
RM
298052011-07-11 Roland McGrath <roland@hack.frob.com>
29806
29807 * configure.in (-z relro check): Fix test code to make the variable
29808 truly const.
29809 * configure: Regenerated.
29810
319b9ad4
UD
298112011-07-11 Ulrich Drepper <drepper@gmail.com>
29812
29813 * nscd/nscd.h (struct traced_file): Define.
29814 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29815 elements. Add traced_files.
29816 (inotify_fd): Declare.
29817 (register_traced_file): Declare.
29818 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29819 (inotify_fd): Export.
29820 (resolv_conf_descr): Remove.
29821 (nscd_init): Move inotify descriptor creation to main.
29822 Don't register files for notification here.
29823 (register_traced_file): New function.
29824 (invalidate_cache): Don't use reset_res to determine whether to call
29825 res_init, go through the list of registered files.
29826 (main_loop_poll): The inotify descriptors are now stored in the
29827 structures for the traced files.
29828 (main_loop_epoll): Likewise
29829 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29830 to __nss_disable_nscd.
29831 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29832 for a database anymore. Check the records for all the registered
29833 files instead.
29834 * nss/Makefile (libnss_files-routines): Add files-init.
29835 (libnss_db-routines): Add db-init.
29836 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29837 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29838 * nss/nss_db/db-init.c: New file.
29839 * nss/nss_files/files-init.c: New file.
29840 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29841 __nss_lookup_function.
29842 (__nss_lookup_function): Call nss_load_library.
29843 (nss_load_all_libraries): New function.
29844 (__nss_disable_nscd): Take parameter with callback function for files
29845 to register. Set is_nscd. Load all the DSOs for the NSS modules
29846 used for the cached services.
29847 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29848 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29849 options for features to all the files in nscd.
29850
29851 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29852
23bee3e8
RM
298532011-07-10 Roland McGrath <roland@hack.frob.com>
29854
29855 * csu/elf-init.c (__libc_csu_init): Comment typo.
29856
46a5b7f0
UD
298572011-07-09 Ulrich Drepper <drepper@gmail.com>
29858
29859 * po/pl.po: Update from translation team.
29860 * po/ja.po: Likewise.
29861 * po/ru.po: Likewise.
29862 * po/ko.po: Likewise.
29863 * po/fr.po: Likewise.
29864
d30cf5bb
RM
298652011-07-09 Roland McGrath <roland@hack.frob.com>
29866
113ddea4
RM
29867 * configure.in (.ctors/.dtors header and trailer check):
29868 Use an empirical test on a built program.
29869 * configure: Regenerated.
29870
574920b4
RM
29871 * configure.in (-z relro check): Use an empirical test on a built DSO.
29872 Detect, but do not require, on ia64.
29873 * configure: Regenerated.
29874
d30cf5bb
RM
29875 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29876 Update tests that use readelf to use $READELF instead.
29877 * configure: Regenerated.
29878
8538fdb3
UD
298792011-07-08 Ulrich Drepper <drepper@gmail.com>
29880
29881 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29882 if the result is not used.
29883
04d08991
AJ
298842011-07-05 Andreas Jaeger <aj@suse.de>
29885
29886 [BZ#9696]
29887 * stdlib/tst-strtod.c: Add testcase.
29888
de283087
AD
298892011-07-07 Ulrich Drepper <drepper@gmail.com>
29890
4e5f31c8 29891 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29892 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29893 The latter has a higher limit. Take additional parameter to pass to
29894 the new function.
29895 (__pathconf): Pass file to __statfs_link_max.
29896 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29897 __statfs_link_max.
29898 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29899 __statfs_link_max.
29900
de283087
AD
29901 [BZ #12868]
29902 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29903 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29904 Handle Lustre.
29905 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29906 (__statfs_filesize_max): Likewise.
29907 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29908
c75fa153
AJ
299092011-07-05 Andreas Jaeger <aj@suse.de>
29910
29911 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29912
1a544854
UD
299132011-07-06 Marek Polacek <mpolacek@redhat.com>
29914
29915 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29916 `status' variable.
29917 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29918 Likewise.
29919
6f0eec67
UD
299202011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29921
29922 * Makefile (strop-tests): Add strncat.
29923 * string/test-strncat.c: New file.
29924
aae30307
UD
299252011-06-30 Marek Polacek <mpolacek@redhat.com>
29926
29927 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29928
c0cfb5eb
UD
299292011-06-21 Andreas Jaeger <aj@suse.de>
29930
29931 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29932 Copy rule from iconvdata/Makefile.
29933
01636b21
UD
299342011-07-06 Ulrich Drepper <drepper@gmail.com>
29935
29936 [BZ #12922]
29937 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29938 but no long options are defined, just return 'W'.
29939
9895c8bc
UD
299402011-06-22 Marek Polacek <mpolacek@redhat.com>
29941
29942 [BZ #9696]
29943 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29944
5d4cf042
UD
299452011-07-06 Ulrich Drepper <drepper@gmail.com>
29946
29947 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29948 netgroups to read.
960e5535 29949 (innetgr): Likewise.
5d4cf042 29950
751eb97e
RM
299512011-07-05 Roland McGrath <roland@hack.frob.com>
29952
29953 * config.make.in (install_root): Default to $(DESTDIR).
29954
f15f1e45
UD
299552011-07-05 Ulrich Drepper <drepper@gmail.com>
29956
29957 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29958
4e34ac6a
RM
299592011-07-02 Roland McGrath <roland@hack.frob.com>
29960
5e9b6af4
RM
29961 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29962
84f9ea0f
RM
29963 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29964 containing directory rather than embedding absolute directory names.
29965
ea5ee9f7
RM
29966 * scripts/check-local-headers.sh: Rewritten using awk.
29967 Match by word, not by line. Print error messages for matches.
29968 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29969
1b74661a
RM
29970 * Makerules [shlib-lds-flags empty]:
29971 ($(common-objpfx)libc_pic.opts): New target.
29972 ($(common-objpfx)libc_pic.os.clean): New target.
29973 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29974
29975 * config.make.in (OBJCOPY): New variable.
29976 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29977 * configure: Regenerated.
29978
f781ef40
RM
29979 * config.make.in (use-default-link): New variable.
29980 * configure.in (use_default_link): Grok --with-default-link to set it.
29981 * configure: Regenerated.
29982 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29983 (shlib-lds, shlib-lds-flags): Define to empty.
29984
2d4fa81e
RM
29985 * Makerules (shlib-lds): New variable.
29986 (shlib-lds-flags): New variable.
29987 (build-shlib, build-moduile, build-module-asneeded): Use it.
29988 ($(common-objpfx)libc.so): Use $(shlib-lds).
29989 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29990 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29991
31fffa6b
RM
29992 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29993 DT_FLAGS/DT_FLAGS_1 with zero flags.
29994
4e34ac6a
RM
29995 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29996 linker script munging.
29997
fcfc776b
UD
299982011-07-02 Ulrich Drepper <drepper@gmail.com>
29999
30000 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30001 as 128-bit value.
30002 * crypt/sha512.c (sha512_process_block): Perform total addition using
30003 128-bit if possible.
30004 (__sha512_finish_ctx): Likewise.
30005 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30006 as 64-bit value.
30007 * crypt/sha256.c (SWAP64): Define.
30008 (sha256_process_block): Perform total addition using 64-bit if
30009 possible.
30010 (__sha256_finish_ctx): Likewise.
30011
99231d9a
UD
300122011-07-01 Ulrich Drepper <drepper@gmail.com>
30013
30014 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30015 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30016 * nscd/hstcache.c (cache_addhst): Likewise.
30017 * nscd/grpcache.c (cache_addgr): Likewise.
30018 * nscd/aicache.c (addhstaiX): Likewise
30019 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30020
445b4a53
TK
300212011-07-01 Thorsten Kukuk <kukuk@suse.de>
30022
30023 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30024 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30025 * nscd/hstcache.c (cache_addhst): Likewise.
30026 * nscd/grpcache.c (cache_addgr): Likewise.
30027 * nscd/aicache.c (addhstaiX): Likewise
30028
6d4d8e8e
AS
300292011-07-01 Andreas Schwab <schwab@redhat.com>
30030
30031 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30032 domain only when needed.
30033
89f654c5
AS
300342011-06-30 Andreas Schwab <schwab@redhat.com>
30035
30036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30037 is always restored.
30038
cf3b23ff
UD
300392011-06-29 Ulrich Drepper <drepper@gmail.com>
30040
30041 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30042 are re-adding the entry.
30043 * nscd/servicescache.c (cache_addserv): Likewise.
30044
751626f9
AJ
300452011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30046
30047 * sysdeps/generic/dl-irel.h: fix protection against multiple
30048 inclusions.
30049 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30050
9113ea1f
UD
300512011-06-28 Ulrich Drepper <drepper@gmail.com>
30052
5c0b8d90
UD
30053 [BZ #12935]
30054 * malloc/memusage.sh: Fix quoting in message.
30055 * debug/xtrace.sh: Likewise.
30056
9113ea1f
UD
30057 * configure.in: Remove support for --experimental-malloc option, make
30058 it the default.
30059 * config.make.in: Likewise.
30060 * malloc/Makefile: Likewise.
30061
a4172181
AS
300622011-06-27 Andreas Schwab <schwab@redhat.com>
30063
30064 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30065 two-byte characters.
30066
78a7eee7
RM
300672011-06-27 Roland McGrath <roland@hack.frob.com>
30068
62bede13
RM
30069 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30070 AC_CACHE_CHECK invocation.
30071 * configure: Regenerated.
30072
78a7eee7
RM
30073 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30074
5ce33a62
UD
300752011-06-27 Ulrich Drepper <drepper@gmail.com>
30076
034807a9
UD
30077 [BZ #12350]
30078 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30079 bit from old_res_options.
30080
4902da17
UD
30081 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30082
5ce33a62
UD
30083 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30084 value type for setfct.
30085
c2344f56
L
300862011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30087
30088 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30089 __gettimeofday instead of gettimeofday.
30090
68468076
UD
300912011-06-26 Ulrich Drepper <drepper@gmail.com>
30092
30093 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30094
acb0d739
L
300952011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30096
30097 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30098
30099 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30100 info.
30101
8912479f
L
301022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30103
30104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30105 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30106 strcpy-sse2-unaligned strncpy-sse2-unaligned
30107 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30108 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30109 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30110 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30111 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30112 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30113 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30114 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30115 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30116 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30117 (STRCPY): Support SSE2 and SSSE3 versions.
30118
d5495a11
UD
301192011-06-24 Ulrich Drepper <drepper@gmail.com>
30120
30121 [BZ #12874]
30122 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30123 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30124 kernels which artificially limit size of requests.
30125
0b1cbaae
L
301262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30127
30128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30129 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30130 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30131 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30132 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30133 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30134 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30135 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30136 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30137 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30138 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30139 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30140 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30141 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30142 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30144 Enable unaligned load optimization for Intel Core i3, i5 and i7
30145 processors.
30146 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30147 Define.
30148 (index_Fast_Unaligned_Load): Define.
30149 (HAS_FAST_UNALIGNED_LOAD): Define.
30150
07f494a0
MP
301512011-06-23 Marek Polacek <mpolacek@redhat.com>
30152
30153 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30154
fa3fc0fe
UD
301552011-06-22 Ulrich Drepper <drepper@gmail.com>
30156
30157 [BZ #12907]
30158 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30159 until it is clear that the information is realy needed.
30160 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30161
e12df166
AS
301622011-06-22 Andreas Schwab <schwab@redhat.com>
30163
30164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30165
852eb34d
UD
301662011-06-22 Ulrich Drepper <drepper@gmail.com>
30167
84e2a551
UD
30168 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30169 /sys/devices/system/cpu/online if it is usable.
30170
852eb34d
UD
30171 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30172 reading the information from the /proc filesystem to once a second.
30173
6e502e19
UD
301742011-06-21 Andreas Jaeger <aj@suse.de>
30175
30176 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30177 NULL after inclusion of kernel headers.
30178
75d39ff2
UD
301792011-06-21 Ulrich Drepper <drepper@gmail.com>
30180
51f9aa6a
UD
30181 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30182 calls to internal_setent.
30183
c0244a9d
UD
30184 [BZ #12885]
30185 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30186 addresses using gethostbyname4_r ignore IPv4 addresses.
30187
c5e3c2ae
UD
30188 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30189 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30190
75d39ff2
UD
30191 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30192
42675c6f
DM
301932011-06-20 David S. Miller <davem@davemloft.net>
30194
30195 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30196 inclusions.
30197 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30198
30199 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30200 (elf_irel): Use it.
30201 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30202 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30203 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30204 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30205 * sysdeps/x86_64/dl-irel.h: Likewise.
30206
30207 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30208 * elf/dl-sym.c: Likewise.
30209
57912a71
UD
302102011-06-15 Ulrich Drepper <drepper@gmail.com>
30211
30212 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30213 need to dereference resplen2.
30214
ee22793d
AS
302152011-06-14 Andreas Schwab <schwab@redhat.com>
30216
30217 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30218
a9e836b0
UD
302192011-06-15 Ulrich Drepper <drepper@gmail.com>
30220
77fb9117
UD
30221 * Makeconfig: Define vardbdir and inst_vardbdir.
30222 * nss/Makefile: Add rules to install db-Makefile.
30223
40c1b22c
UD
30224 * nss/nss_db/db-XXX.c: Cleanup.
30225
9f2da732
UD
30226 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30227 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30228 GLIBC_PRIVATE.
30229 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30230 * nss/makedb.c: Implement -g option to specify that value strings
30231 are generated and should not be added to table iterated over for
30232 get*ent calls.
30233 * nss/nss_db/db-initgroups.c: New file.
30234
82e9a1f7
UD
30235 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30236 interface.
30237
c41af17e
UD
30238 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30239 (internal_getgrouplist): Adjust to name change.
30240 Update use_initgroups_entry if this is not the first call.
30241 * nss/databases.def: Add initgroups entry.
30242
a9e836b0
UD
30243 * nss/makedb.c (compute_tables): Check result of multiple hash table
30244 sizes to minimize maximum chain length.
30245
2666d441
UD
302462011-06-14 Ulrich Drepper <drepper@gmail.com>
30247
30248 * Versions.def: Add entry for libnss_db.
30249 * shlib-versions: Likewise.
30250 * nss/Makefile: Add rules to build libnss_db.
30251 * nss/Versions: Add libnss_db information. Organize libnss_files
30252 entries better.
30253 * nss/db-Makefile: Add gshadow support. Change rules for the new
30254 makedb progra. Some minor improvements to generate smaller files.
30255 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30256 here from...
30257 * nss/makedb.c: ...here.
30258 Improve database format to be smaller and require less memory at
30259 runtime.
30260 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30261 db anymore.
30262 * nss/nss_db/db-netgrp.c: Likewise.
30263 * nss/nss_db/db-open.c: Likewise.
30264 * nss/nss_files/flies-XXX.x: Adjust comments.
30265 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30266 * nss/nss_files/files-grp.c: Likewise.
30267 * nss/nss_files/files-hosts.c: Likewise.
30268 * nss/nss_files/files-network.c: Likewise.
30269 * nss/nss_files/files-proto.c: Likewise.
30270 * nss/nss_files/files-pwd.c: Likewise.
30271 * nss/nss_files/files-rpc.c: Likewise.
30272 * nss/nss_files/files-service.c: Likewise.
30273 * nss/nss_files/files-sgrp.c: Likewise.
30274 * nss/nss_files/files-spwd.c: Likewise.
30275 * nss/nss_db/db-alias.c: Removed.
30276 * nss/nss_db/dummy-db.h: Removed.
30277
9ee76b5a
UD
302782011-06-02 Ulrich Drepper <drepper@gmail.com>
30279
30280 * nss/makedb.c: Rewritten to not use database library.
30281 * nss/Makefile: Update to build new makedb program.
30282
c71ca1f8
AJ
302832011-06-14 Andreas Jaeger <aj@suse.de>
30284
30285 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30286 memset declaration.
30287
3154bfb8
UD
302882011-06-10 Andreas Schwab <schwab@redhat.com>
30289
30290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30291 tmpbuf.
30292
b350afab
RM
302932011-06-10 Roland McGrath <roland@hack.frob.com>
30294
decd4e50
RM
30295 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30296 * elf/Makefile ($(objpfx)ld.so): Likewise.
30297
5615eaf2
RM
30298 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30299 Don't list ld.so twice in dependencies.
30300
30301 * posix/bug-regex31.c: Include <stdlib.h>.
30302
30303 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30304
30305 * nis/nss_compat/compat-spwd.c
30306 (getspent_next_nss_netgr): Remove unused variable.
30307 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30308
30309 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30310 nonmembers" output to use the right array.
30311
30312 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30313
30314 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30315
30316 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30317 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30318 * catgets/gencat.c (read_input_file): Likewise.
30319 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30320
30321 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30322 variable definition inside #if's controlling its use.
30323
30324 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30325
30326 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30327
30328 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30329
30330 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30331 unreachable code.
30332
30333 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30334
b68e08db
RM
30335 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30336 * configure: Regenerated.
30337
b350afab
RM
30338 * Makerules: Revert last change.
30339 * elf/Makefile: Likewise.
30340
28368601
RM
303412011-06-09 Roland McGrath <roland@hack.frob.com>
30342
30343 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30344 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30345 (reloc-link): Likewise.
30346
11988f8f
UD
303472011-06-09 Ulrich Drepper <drepper@gmail.com>
30348
30349 * elf/Makefile: Add rules to build pldd.
30350 * elf/pldd.c: New file.
30351 * elf/pldd-xx.c: New file.
30352
e80fab37
UD
303532011-06-07 Ulrich Drepper <drepper@gmail.com>
30354
30355 * version.h: Update for 2.15 development version.
30356
9b849836
DM
303572011-06-07 David S. Miller <davem@davemloft.net>
30358
30359 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30360 ifuncs.
30361 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30362 elf_machine_lazy_rel): Likewise.
30363 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30364 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30365 elf_machine_lazy_rel): Likewise.
30366 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30367 dl_hwcap via passed in argument.
30368 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30369 Likewise.
30370
5a31b283
AK
303712011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30372
30373 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30374
069e52f8
RM
303752011-06-06 Roland McGrath <roland@hack.frob.com>
30376
30377 [BZ #12849]
30378 * manual/fdl-1.1.texi: New file, verbatim from:
30379 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30380 * manual/lgpl-2.1.texi: New file, verbatim from:
30381 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30382 * manual/Makefile (licenses): New variable, list those new file names.
30383 (texis): Use it.
30384 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30385
30386 * manual/fdl.texi: File removed.
30387 * manual/lesser.texi: File removed.
30388 * manual/libc.texinfo (Copying, Documentation License):
30389 Use new @include file names, put @appendix directive before @include.
30390
f16846a5
JJ
303912011-06-04 Jakub Jelinek <jakub@redhat.com>
30392
30393 [BZ #12841]
30394 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30395 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30396 (mq_open): Add __NTH.
30397
3d29045b
L
303982011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30399
30400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30401 Assume Intel Core i3/i5/i7 processor if AVX is available.
30402
8c297311
UD
304032011-05-31 Ulrich Drepper <drepper@gmail.com>
30404
30405 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30406 typo.
30407
c8fc0c91
UD
304082011-05-31 Andreas Schwab <schwab@redhat.com>
30409
30410 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30411 memory. Use alloca_account. Fix memory leak when retrying.
30412
5b27a807
UD
304132011-05-31 Ulrich Drepper <drepper@gmail.com>
30414
356f8bc6
UD
30415 * version.h (RELEASE): Bump for 2.14 release.
30416 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30417
5b27a807
UD
30418 * config.make.in (RANLIB): Remove entry.
30419
01f16ab0
UD
304202011-05-30 Ulrich Drepper <drepper@gmail.com>
30421
41fce8bd
UD
30422 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30423 (libc.pot): Work around missing support for .ksh extension in xgettext.
30424
4769ae77
UD
30425 [BZ #12684]
30426 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30427 if both request failed.
30428 (send_dg): In case of server errors clear resplen or *resplen2.
30429
6b1e7d19
UD
30430 [BZ #12454]
30431 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30432 when there are multiple maps.
30433 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30434 (_dl_fini): Remove test here.
30435
01f16ab0
UD
30436 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30437
b1ebd700
UD
304382011-05-29 Ulrich Drepper <drepper@gmail.com>
30439
7ae22829
UD
30440 [BZ #12350]
30441 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30442 bit from old_res_options.
30443 (gaih_inet): Likewise.
30444
553149f6 30445 [BZ #11099]
18a84741 30446 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30447 as signed.
30448
652ffab1
UD
30449 * resolv/res_init.c (res_setoptions): Make the code more compact.
30450
16985fd0
UD
30451 [BZ #11558]
30452 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30453 set RES_USEVC.
30454
0464f746
UD
30455 [BZ #11634]
30456 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30457
7d17596c
UD
30458 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30459
cf6bbbd7
UD
30460 [BZ #11781]
30461 * malloc/malloc.h: Declare malloc hook variables as volatile.
30462
13f1ab36
UD
30463 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30464 in last patch.
30465
b1ebd700
UD
30466 [BZ #11799]
30467 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30468 raise in the comment.
80e2212d
UD
30469 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30470 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30471 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30472
ce67228d
UD
304732011-05-28 Ulrich Drepper <drepper@gmail.com>
30474
8887a920
UD
30475 [BZ #12811]
30476 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30477 grow the buffers more if it already has to be sufficient.
30478 (build_wcs_upper_buffer): Likewise.
30479 * posix/regexec.c (check_matching): Likewise.
30480 (clean_state_log_if_needed): Likewise.
30481 (extend_buffers): Don't enlarge buffers beyond size of the input
30482 buffer.
30483 Patches mostly by Emil Wojak <emil@wojak.eu>.
30484 * posix/bug-regex32.c: New file.
30485 * posix/Makefile (tests): Add bug-regex32.
30486
4f031072
UD
30487 * locale/findlocale.c (_nl_find_locale): Return right away if
30488 _nl_explode_name failed.
30489 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30490
d0478f0c
UD
30491 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30492
de81b246
UD
30493 * debug/xtrace.sh: Unify messages.
30494 * malloc/memusage.sh: Likewise.
30495
c738465a
UD
30496 [BZ #12813]
30497 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30498 time symbol from vDSO. Substitute with vsyscall if not available.
30499 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30500 __vdso_time.
30501
f1f929d7
UD
30502 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30503 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30504 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30505 Add sendmmsg and internal_sendmmsg.
30506 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30507 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30508 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30509
ce67228d
UD
30510 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30511 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30512 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30513
e57420c6
UD
305142011-05-27 Ulrich Drepper <drepper@gmail.com>
30515
a8509ca5
UD
30516 [BZ #12813]
30517 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30518 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30519 available.
30520 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30521 __vdso_getcpu.
30522
e57420c6
UD
30523 [BZ #12814]
30524 * iconvdata/Makefile (tests): Add bug-iconv9.
30525 * iconvdata/bug-iconv9.c: New file.
30526
4d07db15
AS
305272011-05-27 Andreas Schwab <schwab@redhat.com>
30528
30529 [BZ #12814]
30530 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30531
ea486f69
JJ
305322011-05-25 Jakub Jelinek <jakub@redhat.com>
30533
30534 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30535 (struct user_regs_struct): Change intcs field back to cs.
30536
6f038433
UD
305372011-05-25 Ulrich Drepper <drepper@gmail.com>
30538
30539 * po/ja.po: Update from translation team.
30540
67f86a25
UD
305412011-05-23 Ulrich Drepper <drepper@gmail.com>
30542
30543 [BZ #12795]
30544 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30545 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30546
def7fbd6
AS
305472011-05-20 Andreas Schwab <schwab@redhat.com>
30548
30549 * stdlib/longlong.h: Update from GCC.
30550
f50ef8f1
AS
305512011-05-23 Andreas Schwab <schwab@redhat.com>
30552
30553 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30554 parameter name.
30555 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30556 Add parameter name.
30557 (__sysconf): Pass it down.
30558
de7ce8f1
UD
305592011-05-22 Ulrich Drepper <drepper@gmail.com>
30560
f2962a71
UD
30561 [BZ #12671]
30562 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30563 some situations.
30564 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30565 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30566 add in in __libc_use_alloca calls. Adjust callers.
30567 (glob): Use malloc in some situations.
30568
de7ce8f1
UD
30569 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30570 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30571 pltexit.
30572
aec84f53
UD
305732011-05-21 Ulrich Drepper <drepper@gmail.com>
30574
05bb4a68
UD
30575 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30576 and CLOCK_BOOTTIME_ALARM.
30577
7ea72f99
UD
30578 [BZ #12782]
30579 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30580 is returned.
30581
7e4afad5
UD
30582 * string/_strerror.c (__strerror_r): Print negative errors as signed
30583 numbers.
30584
8e211fec
UD
30585 [BZ #12777]
30586 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30587 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30588 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30589
f7d82dc9
UD
30590 * configure.in: Fix typo in redirection and correct removal of test
30591 files in two cases.
30592
cc9e536d
UD
30593 [BZ #12788]
30594 * locale/setlocale.c (new_composite_name): Fix test to check for
30595 identical name of all categories.
30596
aec84f53
UD
30597 [BZ #12792]
30598 * libio/filedoalloc.c (local_isatty): New function.
30599 (_IO_file_doallocate): Use local_isatty.
30600 * stdio-common/perror.c (perror): In case a new stream is used
30601 forward the stream error.
30602 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30603 error flag.
30604
78e64fdc
RT
306052011-05-20 Ulrich Drepper <drepper@gmail.com>
30606
34a9094f
UD
30607 [BZ #11869]
30608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30609 alloca.
30610 * include/alloca.h (extend_alloca_account): Define.
30611
78e64fdc
RT
30612 [BZ #11857]
30613 * posix/regex.h: Fix comments with documentation of user-accessible
30614 fields after compilation and describe correct free'ing of pattern
30615 after re_compile_pattern.
30616 Patch by Reuben Thomas <rrt@sc3d.org>.
30617
457bddfc
RA
306182011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30619
30620 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30621 and -mno-altivec to prevent the compiler from using Altivec and/or
30622 VSX instructions when the corresponding registers are not available.
30623
a4527b51
AS
306242011-05-19 Andreas Schwab <schwab@redhat.com>
30625
30626 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30627
ed690b2f
UD
306282011-05-19 Ulrich Drepper <drepper@gmail.com>
30629
30630 * libio/freopen.c (freopen): Use __dup2, not dup2.
30631 * libio/freopen64.c (freopen64): Likewise.
30632
8db73634
L
306332011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30634
30635 [BZ #12775]
30636 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30637 * math/Makefile (tests): Add test-powl.
30638 (CFLAGS-test-powl.c): Define.
30639 * math/test-powl.c: New file.
30640
0a197a9d
L
306412011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30642
30643 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30644
ee30c380
UD
306452011-05-17 Ulrich Drepper <drepper@gmail.com>
30646
30647 [BZ #11837]
30648 * iconvdata/gb18030.c: Update to GB18020-2005.
30649
6ce75379
UD
306502011-05-16 Ulrich Drepper <drepper@gmail.com>
30651
a4b89fd8
AR
30652 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30653 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30654 Patch by Aharon Robbins <arnold@skeeve.com>.
30655
ea389b12
UD
30656 [BZ #11892]
30657 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30658 on the stack.
30659
68a3f91f
UD
30660 [BZ #11895]
30661 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30662 through underflows.
30663
15cc7dd1
UD
30664 [BZ #12766]
30665 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30666 point to strings before performing equality test for error_one_per_line
30667 mode.
30668
f3799213
UD
30669 [BZ #11697]
30670 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30671
d79a9c94
UD
30672 [BZ #11820]
30673 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30674 (struct user_fpregs_struct): Avoid __uint*_t types.
30675
56e5eb46
UD
30676 [BZ #6420]
30677 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30678 symbol info. Use it instead of calling _dl_addr locally.
30679 (lock_and_info): New function.
30680 (tr_freehook): Call lock_and_info and pass symbol info as additional
30681 parameter to tr_where.
30682 (tr_mallochook): Likewise.
30683 (tr_reallochook): Likewise.
30684 (tr_memalignhook): Likewise.
30685
6ce75379
UD
30686 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30687 used and couldn't be at all thread-safe.
30688
f8a3b5bf
UD
306892011-05-15 Ulrich Drepper <drepper@gmail.com>
30690
94b7cc37
UD
30691 * libio/freopen.c (freopen): Don't close old file descriptor
30692 before the new one is opened. Instead dup the new file descriptor
30693 to the old one after the new stream is created.
30694 * libio/freopen64.c (freopen64): Likewise.
30695 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30696 * libio/fileops.c (_IO_new_file_close_it): Handle new
30697 _IO_FLAGS2_NOCLOSE flag.
30698 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30699 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30700 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30701 _IO_FLAGS2_NOCLOSE flag.
30702 * include/unistd.h: Add hidden_proto for dup3.
30703 Define __have_dup3.
30704 * io/dup3.c: Define hidden symbol.
30705 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30706
bd25564e
UD
30707 [BZ #7101]
30708 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30709 when an incomplete long option is used.
30710 * posix/tst-getopt_long1.c: New file.
30711 * posix/Makefile (tests): Add tst-getopt_long1.
30712
c84cfef4
UD
30713 [BZ #10138]
30714 * scripts/config.guess: Update from autoconf-2.68.
30715 * scripts/config.sub: Likewise.
30716
3b85df27
UD
30717 [BZ #10157]
30718 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30719 tests into ...
30720 (has_cpuclock): ...this. New function.
30721 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30722 macro here based on has_cpuclock code.
30723
15a856b1
UD
30724 [BZ #10149]
30725 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30726 First byte (not low byte) is now always NUL.
30727 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30728
05f399e6
UD
30729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30730 Use non-cancelable interfaces.
30731
10a52685 30732 [BZ #9809]
94ecc67d
UD
30733 * locale/iso-639.def: Add entry for Sorani.
30734
f8a3b5bf
UD
30735 [BZ #11901]
30736 * include/stdlib.h: Move include protection to the right place.
30737 Define abort_msg_s. Declare __abort_msg with it.
30738 * stdlib/abort.c (__abort_msg): Adjust type.
30739 * assert/assert.c (__assert_fail_base): New function. Majority
30740 of code from __assert_fail. Allocate memory for __abort_msg with
30741 mmap.
30742 (__assert_fail): Now call __assert_fail_base.
30743 * assert/assert-perr.c: Remove bulk of implementation. Use
30744 __assert_fail_base.
30745 * include/assert.hL Declare __assert_fail_base.
30746 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30747 mmap.
30748 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30749
1af4e298
UD
307502011-05-14 Ulrich Drepper <drepper@gmail.com>
30751
f8a3b5bf 30752 [BZ #11952]
d26dfc60
MG
30753 [BZ #12453]
30754 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30755 until all modules are registered in the DTV.
30756 * elf/Makefile: Add rules to build and run tst-tls19.
30757 * elf/tst-tls19.c: New file.
30758 * elf/tst-tls19mod1.c: New file.
30759 * elf/tst-tls19mod2.c: New file.
30760 * elf/tst-tls19mod3.c: New file.
30761 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30762
2fc54d6f
UD
30763 [BZ #12083]
30764 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30765 correctly.
30766
98d76b46
UD
30767 [BZ #12601]
30768 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30769 two-byte sequence errors.
30770 * iconvdata/Makefile (tests): Add bug-iconv8.
30771 * iconvdata/bug-iconv8.c: New file.
30772
da3c19ef
UD
30773 [BZ #12626]
30774 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30775 buf2 definition.
30776
ca408c15
UD
30777 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30778
d6f67f7d
UD
30779 [BZ #12432]
30780 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30781 (dummy_getcfa): New function.
30782 (init): Get _Unwind_GetCFA address, use dummy if not found.
30783 (backtrace_helper): In recursion check, also check whether CFA changes.
30784 (__backtrace): Completely initialize arg.
30785
1af4e298 30786 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30787 storing incomplete byte sequence in state object. Avoid testing for
30788 guaranteed too small input if we know there is enough data available.
1af4e298 30789
da62f81b
AS
307902011-05-11 Andreas Schwab <schwab@redhat.com>
30791
30792 * Makeconfig (+link-pie): Indent.
30793 * Rules (binaries-pie): Define if $(have-fpie) and
30794 $(build-shared).
30795 (binaries-shared): Also filter out $(binaries-pie).
30796 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30797 * nscd/Makefile (others-pie): Add nscd.
30798 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30799 ($(objpfx)nscd): Remove command override.
30800 * login/Makefile (others-pie): Add pt_chown.
30801 ($(objpfx)pt_chown): Remove command override.
30802 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30803 remove command overrides.
30804
fcabc0f8
UD
308052011-05-13 Ulrich Drepper <drepper@gmail.com>
30806
20030ae6
UD
30807 * libio/tst_putwc.c: Fix error messages.
30808
fcabc0f8
UD
30809 [BZ #12724]
30810 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30811 currently writing and seek to current position when not.
30812 * libio/Makefile (tests): Add bug-fclose1.
30813 * libio/bug-fclose1.c: New file.
30814
320a5dc0
PB
308152011-05-12 Ulrich Drepper <drepper@gmail.com>
30816
30817 [BZ #12511]
30818 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30819 don't set DF_1_NODELETE here.
30820 (do_lookup_x): When entering new entry test for copy relocation
30821 and if necessary set DF_1_NODELETE flag.
30822 * elf/tst-unique4.cc: New file.
30823 * elf/tst-unique4.h: New file.
30824 * elf/tst-unique4lib.cc: New file.
30825 * elf/Makefile: Add rules to build and run tst-unique4.
30826 Patch by Piotr Bury <pbury@goahead.com>.
30827
22836f52
UD
308282011-05-11 Ulrich Drepper <drepper@gmail.com>
30829
f574184a
UD
30830 [BZ #12052]
30831 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30832
e1fb097f
UD
30833 [BZ #12625]
30834 * misc/mntent_r.c (addmntent): Flush the stream after the output
30835
22836f52
UD
30836 [BZ #12393]
30837 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30838 (is_trusted_path_normalize): Skip initial colon. Append slash
30839 to empty buffer. Duplicate is_trusted_path code but allow
30840 constructed patch to be prefix.
30841 (is_dst): Allow $ORIGIN followed by /.
30842 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30843 Correct testing of result of is_trusted_path_normalize
30844 (decompose_rpath): Fix warning.
30845
7b3b0b2a
UD
308462011-05-10 Ulrich Drepper <drepper@gmail.com>
30847
30848 [BZ #11257]
30849 * grp/initgroups.c (internal_getgrouplist): When we found the service
30850 list through the initgroups entry in nsswitch.conf do not always
30851 continue on a successful lookup. Don't always use the
eac80ce2 30852 __nss_group_database value if it is set.
7b3b0b2a
UD
30853 * nss/nsswitch.conf (initgroups): Change action for successful db
30854 lookup to continue for compatibility.
30855
2a81eaa5
UD
308562011-05-09 Ulrich Drepper <drepper@gmail.com>
30857
be97a69e
UD
30858 [BZ #11532]
30859 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30860 and CP774 modules.
30861 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30862 and CP774 modules.
30863 * iconvdata/tst-tables.sh: Likewise.
30864 * iconvdata/cp770.c: New file.
30865 * iconvdata/cp771.c: New file.
30866 * iconvdata/cp772.c: New file.
30867 * iconvdata/cp773.c: New file.
30868 * iconvdata/cp774.c: New file.
30869 * iconvdata/testdata/CP770: New file.
30870 * iconvdata/testdata/CP770..UTF8: New file.
30871 * iconvdata/testdata/CP771: New file.
30872 * iconvdata/testdata/CP771..UTF8: New file.
30873 * iconvdata/testdata/CP772: New file.
30874 * iconvdata/testdata/CP772..UTF8: New file.
30875 * iconvdata/testdata/CP773: New file.
30876 * iconvdata/testdata/CP773..UTF8: New file.
30877 * iconvdata/testdata/CP774: New file.
30878 * iconvdata/testdata/CP774..UTF8: New file.
30879
30880 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30881 END CHARMAP line.
30882 * iconvdata/gen-8bit-gap.sh: Likewise.
30883 * iconvdata/gen-8bit.sh: Likewise.
30884
c1e9e399
UD
30885 * locale/iso-639.def: Add ary entry.
30886
24c55fb3 30887 [BZ #11258]
96b4b1b0
UD
30888 * locale/C-translit.h.in: Add U20A1 transliteration.
30889
bdc2f971
KB
30890 [BZ #12178]
30891 * locale/iso-639.def: Add wae entry.
30892 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30893
2952b117
UD
30894 [BZ #12545]
30895 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30896 for n.
30897
2a81eaa5
UD
30898 [BZ #12711]
30899 * locale/C-translit.h.in: Add entry for U20B9.
30900 Patch by pravin.d.s@gmail.com.
30901
28377d1b
UD
309022011-05-08 Ulrich Drepper <drepper@gmail.com>
30903
7fb90fb8
UD
30904 [BZ #12713]
30905 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30906 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30907 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30908 in rtld. Use *stat64.
7fb90fb8 30909 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30910 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30911 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30912 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30913 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30914 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30915 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30916 __fstatat64 macros.
7fb90fb8
UD
30917 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30918 * dirent/rewinddir.c: Add libc_hidden_def.
30919 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30920 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30921
28377d1b
UD
30922 * include/dirent.h (__alloc_dir): Add flags parameter.
30923 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30924 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30925 __alloc_dir.
30926 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30927 from fdopendir if O_CLOEXEC is already set.
30928
66bdbaa4
AM
309292011-03-15 Alan Modra <amodra@gmail.com>
30930
30931 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30932 l_tls_firstbyte_offset non-zero. Save padding offset in
30933 l_tls_firstbyte_offset for later use.
30934 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30935 freeing static tls block.
30936
95721191
JN
309372011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30938
30939 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30940 where #ifdef was intended. The intent is to prevent ARG_MAX from
30941 being defined by the kernel headers.
30942
f87dfb1f
UD
309432011-05-07 Ulrich Drepper <drepper@gmail.com>
30944
30945 [BZ #12734]
30946 * resolv/resolv.h: Define RES_NOTLDQUERY.
30947 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30948 no-tld-query and set RES_NOTLDQUERY.
30949 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30950 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30951 modern BIND to search name as TLD unless forbidden.
30952
47c3cd7a
UD
309532011-05-07 Petr Baudis <pasky@suse.cz>
30954 Ulrich Drepper <drepper@gmail.com>
30955
30956 [BZ #12393]
30957 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30958 (is_trusted_path): ...to here.
c1e9ea35 30959 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30960 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30961 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30962
8a35c912
PP
309632011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30964
30965 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30966 __BEGIN/__END_DECLS.
30967
acd41f47
UD
309682011-05-06 Ulrich Drepper <drepper@gmail.com>
30969
30970 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30971 NSS_STATUS_NOTFOUND if no record was found.
30972
597df647
AS
309732011-05-05 Andreas Schwab <schwab@redhat.com>
30974
30975 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30976 (headers-not-in-tirpc): Remove rpc/netdb.h
30977 * resolv/netdb.h: Revert last change.
30978
b9af1301
PP
309792011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30980
30981 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30982 circular dependency between libgcc.a and libc.a.
30983
4e34d5f5
AS
309842011-05-05 Andreas Schwab <schwab@redhat.com>
30985
30986 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30987 * nis/Makefile: Don't install rpcsvc/*.
30988 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30989 instead of <rpc/types.h>.
30990 (MAXHOSTNAMELEN): Define.
30991
00ee369c
AS
309922011-05-03 Andreas Schwab <schwab@redhat.com>
30993
30994 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30995
0b592a30
MB
309962011-04-28 Maciej Babinski <mbabinski@google.com>
30997
30998 [BZ #12714]
30999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31000 gethostbyname4_r when IPv6 results are possible.
31001
6e04cbbe
UD
310022011-05-02 Ulrich Drepper <drepper@gmail.com>
31003
31004 [BZ #12723]
31005 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31006 _PC_PIPE_BUF handling.
31007
e4ecafe0
BH
310082011-04-30 Bruno Haible <bruno@clisp.org>
31009
31010 [BZ #12717]
31011 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31012 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31013 to 'int'.
31014 * inet/getnameinfo.c (getnameinfo): Likewise.
31015
125ee683
UD
310162011-04-29 Ulrich Drepper <drepper@gmail.com>
31017
31018 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31019 to groups setting in database lookup.
31020 * nss/nsswitch.conf: Add initgroups entry.
31021
b722481a
EB
310222011-04-22 Ulrich Drepper <drepper@gmail.com>
31023
31024 [BZ #12685]
31025 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31026 mode string.
31027 Patch by Eric Blake <eblake@redhat.com>.
31028
4df46dbd
L
310292011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31030
31031 * sunrpc/Makefile (need-export-routines): Add svc_run.
31032 (routines): Remove svc_run.
31033 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31034 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31035 * sunrpc/svc_run.c (svc_run): Likewise.
31036 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31037
e84142d2
UD
310382011-04-21 Ulrich Drepper <drepper@gmail.com>
31039
31040 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31041 problem in reallocation in last patch.
31042
877175d8
UD
310432011-04-20 Ulrich Drepper <drepper@gmail.com>
31044
31045 * sunrpc/Makefile: Move inclusion of Rules.
31046
ab8eed78
UD
310472011-04-19 Ulrich Drepper <drepper@gmail.com>
31048
31049 * nss/nss_files/files-initgroups.c: New file.
31050 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31051 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31052 _nss_files_initgroups_dyn.
31053
e3d8f584
RS
310542011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31055
31056 * elf/elf.h (R_ARM_IRELATIVE): Define.
31057
af190f45
UD
310582011-04-19 Ulrich Drepper <drepper@gmail.com>
31059
31060 * po/ru.po: Update from translation team.
31061
53cf59ef
UD
310622011-04-17 Ulrich Drepper <drepper@gmail.com>
31063
31064 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31065 dependencies.
31066
4c559bcd
MF
310672011-02-06 Mike Frysinger <vapier@gentoo.org>
31068
31069 [BZ #12653]
31070 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31071 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31072 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31073 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31074 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31075
4420675c
AS
310762011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31077
31078 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31079 differing bytes.
31080 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31081 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31082 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31083
75ea32ab
UD
310842011-04-17 Ulrich Drepper <drepper@gmail.com>
31085
31086 [BZ #12420]
31087 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31088 storing it.
31089 * stdlib/bug-getcontext.c: New file.
31090 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31091
27390476
AK
310922011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31093
31094 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31095 instructions into .machine "z9-109".
31096 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31097 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31098
10442705
AK
310992011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31100
31101 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31102 between environment variables and auxiliary vector.
31103
7b57bfe5
UD
311042011-04-16 Ulrich Drepper <drepper@gmail.com>
31105
31106 * Makefile: Add rules to build linkobj/libc.so.
31107 * include/libc-symbols.h: Define libc_hidden_nolink.
31108 * include/rpc/auth.h: Mark functions which are to be hidden.
31109 * include/rpc/auth_des.h: Likewise.
31110 * include/rpc/auth_unix.h: Likewise.
31111 * include/rpc/clnt.h: Likewise.
31112 * include/rpc/des_crypt.h: Likewise.
31113 * include/rpc/key_prot.h: Likewise.
31114 * include/rpc/pmap_clnt.h: Likewise.
31115 * include/rpc/pmap_prot.h: Likewise.
31116 * include/rpc/pmap_rmt.h: Likewise.
31117 * include/rpc/rpc_msg.h: Likewise.
31118 * include/rpc/svc.h: Likewise.
31119 * include/rpc/svc_auth.h: Likewise.
31120 * include/rpc/xdr.h: Likewise.
31121 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31122 * nss/Makefile: Likewise.
31123 * sunrpc/Makefile: Don't install headers. Build library with normal
31124 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31125 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31126 for the compat linking library. Remove use of INTDEF/INTUSE.
31127 * sunrpc/auth_none.c: Likewise.
31128 * sunrpc/auth_unix.c: Likewise.
31129 * sunrpc/authdes_prot.c: Likewise.
31130 * sunrpc/authuxprot.c: Likewise.
31131 * sunrpc/clnt_gen.c: Likewise.
31132 * sunrpc/clnt_perr.c: Likewise.
31133 * sunrpc/clnt_raw.c: Likewise.
31134 * sunrpc/clnt_simp.c: Likewise.
31135 * sunrpc/clnt_tcp.c: Likewise.
31136 * sunrpc/clnt_udp.c: Likewise.
31137 * sunrpc/clnt_unix.c: Likewise.
31138 * sunrpc/des_crypt.c: Likewise.
31139 * sunrpc/des_soft.c: Likewise.
31140 * sunrpc/get_myaddr.c: Likewise.
31141 * sunrpc/key_call.c: Likewise.
31142 * sunrpc/key_prot.c: Likewise.
31143 * sunrpc/netname.c: Likewise.
31144 * sunrpc/pm_getmaps.c: Likewise.
31145 * sunrpc/pm_getport.c: Likewise.
31146 * sunrpc/pmap_clnt.c: Likewise.
31147 * sunrpc/pmap_prot.c: Likewise.
31148 * sunrpc/pmap_prot2.c: Likewise.
31149 * sunrpc/pmap_rmt.c: Likewise.
31150 * sunrpc/publickey.c: Likewise.
31151 * sunrpc/rpc_cmsg.c: Likewise.
31152 * sunrpc/rpc_common.c: Likewise.
31153 * sunrpc/rpc_dtable.c: Likewise.
31154 * sunrpc/rpc_prot.c: Likewise.
31155 * sunrpc/rpc_thread.c: Likewise.
31156 * sunrpc/rtime.c: Likewise.
31157 * sunrpc/svc.c: Likewise.
31158 * sunrpc/svc_auth.c: Likewise.
31159 * sunrpc/svc_authux.c: Likewise.
31160 * sunrpc/svc_raw.c: Likewise.
31161 * sunrpc/svc_run.c: Likewise.
31162 * sunrpc/svc_simple.c: Likewise.
31163 * sunrpc/svc_tcp.c: Likewise.
31164 * sunrpc/svc_udp.c: Likewise.
31165 * sunrpc/svc_unix.c: Likewise.
31166 * sunrpc/svcauth_des.c: Likewise.
31167 * sunrpc/xcrypt.c: Likewise.
31168 * sunrpc/xdr.c: Likewise.
31169 * sunrpc/xdr_array.c: Likewise.
31170 * sunrpc/xdr_float.c: Likewise.
31171 * sunrpc/xdr_intXX_t.c: Likewise.
31172 * sunrpc/xdr_mem.c: Likewise.
31173 * sunrpc/xdr_rec.c: Likewise.
31174 * sunrpc/xdr_ref.c: Likewise.
31175 * sunrpc/xdr_sizeof.c: Likewise.
31176 * sunrpc/xdr_stdio.c: Likewise.
31177
e6c61494
UD
311782011-04-10 Ulrich Drepper <drepper@gmail.com>
31179
31180 [BZ #12650]
31181 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31182 * sysdeps/ia64/dl-tls.h: Likewise.
31183 * sysdeps/powerpc/dl-tls.h: Likewise.
31184 * sysdeps/s390/dl-tls.h: Likewise.
31185 * sysdeps/sh/dl-tls.h: Likewise.
31186 * sysdeps/sparc/dl-tls.h: Likewise.
31187 * sysdeps/x86_64/dl-tls.h: Likewise.
31188 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31189
34fe483e
AS
311902011-03-14 Andreas Schwab <schwab@redhat.com>
31191
31192 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31193 rpath element also skip the following colon.
31194 (expand_dynamic_string_token): Add is_path parameter and pass
31195 down to DL_DST_REQUIRED and _dl_dst_substitute.
31196 (decompose_rpath): Call expand_dynamic_string_token with
31197 non-zero is_path. Ignore empty rpaths.
31198 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31199 with zero is_path.
31200
f12a32e6
AS
312012011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31202
31203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31204 Make cancelable.
31205
38a7d692
UD
312062011-04-09 Ulrich Drepper <drepper@gmail.com>
31207
31208 [BZ #12655]
31209 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31210 Patch by Filipe David Manana <fdmanana@apache.org>.
31211
e451d22b
AS
312122011-04-07 Andreas Schwab <schwab@redhat.com>
31213
31214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31215 Maintain aligned stack.
31216 (CHECK_RSP): Remove unused macro.
31217
dedc7c7b
UD
312182011-04-03 Ulrich Drepper <drepper@gmail.com>
31219
31220 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31221 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31222
94521213
UD
312232011-04-02 Ulrich Drepper <drepper@gmail.com>
31224
31225 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31226
8cb700c0 31227 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31228
0354e355
L
312292011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31230
31231 [BZ #12518]
31232 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31233 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31234 * sysdeps/x86_64/memmove.c: New file.
31235 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31236 (memcpy): Renamed to ...
31237 (__new_memcpy): This.
31238 (memcpy): Provide GLIBC_2_14 memcpy.
31239 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31240 (memcpy): Provide GLIBC_2_2_5 memcpy.
31241
8593482f
UD
312422011-04-01 Ulrich Drepper <drepper@gmail.com>
31243
31244 [BZ #12631]
31245 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31246
81a5726b
AS
312472011-03-30 Andreas Schwab <schwab@redhat.com>
31248
31249 * misc/syncfs.c: New file.
31250 * misc/Makefile (routines): Add syncfs.
31251 * posix/unistd.h: Declare syncfs.
31252 * sysdeps/unix/syscalls.list: Add syncfs.
31253
00e5419f
AS
312542011-04-01 Andreas Schwab <schwab@redhat.com>
31255
31256 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31257 open_by_handle_at.
31258 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31259 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31263 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31264 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31265
748876bf
UD
312662011-04-01 Ulrich Drepper <drepper@gmail.com>
31267
658e451d
UD
31268 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31269 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31270 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31272 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31274 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31275
748876bf
UD
31276 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31277 sync_file_range.c with -fexceptions.
31278 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31279 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31280 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31281 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31282 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31283 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31284 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31285 sync_file_range as cancellation point
31286 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31287 now a wrapper around __call_sync_file_range with cancellation handling.
31288 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31289 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31290 function name to __call_sync_file_range.
31291 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31292 Add call_sync_file_range.
748876bf 31293
6e63d5e1
AS
312942011-04-01 Andreas Schwab <schwab@redhat.com>
31295
31296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31297 bits/timex.h.
6e63d5e1 31298
46998f74
UD
312992011-04-01 Ulrich Drepper <drepper@gmail.com>
31300
4c1423ed
UD
31301 * iconv/iconv.h: Fix typo in comment.
31302 * io/fcntl.h: Likewise.
31303 * libio/stdio.h: Likewise.
31304 * posix/spawn.h: Likewise.
31305 * posix/unistd.h: Likewise.
31306 * stdlib/stdlib.h: Likewise.
31307 * time/time.h: Likewise.
31308 * wcsmbs/wchar.h: Likewise.
31309
158648c0
UD
31310 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31311 open_by_handle): Add.
31312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31313 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31314 Augment a few comments.
31315 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31316 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31317 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31318 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31319 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31320 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31321 open_by_handle.
31322
46998f74
UD
31323 * io/fcntl.h (AT_EMPTY_PATH): Define.
31324
83fe108b
UD
313252011-03-30 Ulrich Drepper <drepper@gmail.com>
31326
31327 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31328 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31329 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31330 to...
31331 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31332 * Versions.def: Add GLIBC_2.14.
31333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31334 Export.
83fe108b 31335
bb242059
UD
313362011-03-22 Ulrich Drepper <drepper@gmail.com>
31337
31338 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31339 round counter.
31340 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31341
c97a1282
L
313422011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31343
31344 [BZ #12597]
31345 * string/test-strncmp.c (do_page_test): New function.
31346 (check2): Likewise.
31347 (test_main): Call check2.
31348 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31349
2a115601
UD
313502011-03-20 Ulrich Drepper <drepper@gmail.com>
31351
31352 [BZ #12587]
31353 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31354 Handle cache information in CPU leaf 4.
31355 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31356
8126d904
UD
313572011-03-18 Ulrich Drepper <drepper@gmail.com>
31358
042c49c6 31359 [BZ #12583]
8126d904
UD
31360 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31361 character representation.
31362 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31363
ccfe366e
RA
313642011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31365
31366 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31367 END(__isnan) to END(__isnanf) to match function entry point/label
31368 EALIGN(__isnanf,...).
31369
c6e13027
JJ
313702011-03-10 Jakub Jelinek <jakub@redhat.com>
31371
31372 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31373
33f85a3f
UD
313742011-03-10 Ulrich Drepper <drepper@gmail.com>
31375
028478fa
UD
31376 [BZ #12510]
31377 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31378 copy from the symbol referenced in the relocation to initialize the
31379 used variable.
31380 Patch by Piotr Bury <pbury@goahead.com>.
31381 * elf/Makefile: Add rules to build and tst-unique3.
31382 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31383 * elf/tst-unique3.cc: New file.
31384 * elf/tst-unique3.h: New file.
31385 * elf/tst-unique3lib.cc: New file.
31386 * elf/tst-unique3lib2.cc: New file.
31387
33f85a3f
UD
31388 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31389
03592fc7
MF
313902011-03-10 Mike Frysinger <vapier@gentoo.org>
31391
31392 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31393 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31394 to _start.
03592fc7 31395
6a5ee102
UD
313962011-03-06 Ulrich Drepper <drepper@gmail.com>
31397
31398 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31399 to-be-loaded object along a path to loader is ld.so.
31400
7e4ba49c
HJ
314012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31402 Ulrich Drepper <drepper@gmail.com>
31403
31404 * sysdeps/x86_64/memset.S: After aligning destination, code
31405 branches to different locations depending on the value of
31406 misalignment, when multiarch is enabled. Fix this.
31407
314082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31409
31410 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31411 Set _x86_64_preferred_memory_instruction for AMD processsors.
31412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31413 Set bit_Prefer_SSE_for_memop for AMD processors.
31414
13a804de
UD
314152011-03-04 Ulrich Drepper <drepper@gmail.com>
31416
31417 * libio/fmemopen.c (fmemopen): Optimize a bit.
31418
9d25c392
AS
314192011-03-03 Andreas Schwab <schwab@redhat.com>
31420
31421 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31422
a5543c6a
RM
314232011-03-03 Roland McGrath <roland@redhat.com>
31424
31425 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31426
012d35f7
DM
314272011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31428
7e4ba49c 31429 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31430 __bzero_ultra1 instead of __memset_ultra1.
31431
4bff6e01
AS
314322011-02-23 Andreas Schwab <schwab@redhat.com>
31433 Ulrich Drepper <drepper@gmail.com>
31434
31435 [BZ #12509]
31436 * include/link.h (struct link_map): Add l_orig_initfini.
31437 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31438 returning unsuccessfully.
31439 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31440 close of a file loaded at startup, restore the original l_initfini
31441 list.
31442 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31443 list, store the pointer.
31444 * elf/Makefile ($(objpfx)noload-mem): New rule.
31445 (noload-ENV): Define.
31446 (tests): Add $(objpfx)noload-mem.
31447 * elf/noload.c: Include <memcheck.h>.
31448 (main): Call mtrace. Close all opened handles.
31449
f2092faf
AS
314502011-02-17 Andreas Schwab <schwab@redhat.com>
31451
31452 [BZ #12454]
31453 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31454 dependencies are missing.
31455
6c8a2e88
ST
314562011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31457
f2092faf 31458 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31459 Hurd needs munmap.
31460 * sysdeps/mach/hurd/ifreq.h: New file.
31461
84a42118
PB
314622011-01-27 Petr Baudis <pasky@suse.cz>
31463 Ulrich Drepper <drepper@gmail.com>
31464
071f805e 31465 [BZ 12445]#
84a42118
PB
31466 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31467 to extend_alloca().
31468 * stdio-common/bug23.c: New file.
31469 * stdio-common/Makefile (tests): Add bug23.
31470
e23fe25b
AS
314712010-09-28 Andreas Schwab <schwab@redhat.com>
31472 Ulrich Drepper <drepper@gmail.com>
31473
31474 [BZ #12489]
31475 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31476 before performing relro protection. At old place add assertion
31477 to make sure nothing changed.
31478
d3f02e10
NS
314792011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31480 Glauber de Oliveira Costa <glommer@gmail.com>
31481
31482 * elf/elf.h: Add new ARM TLS relocs.
31483
d55fd7a5
RA
314842011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31485
31486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31487 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31488 cast from r3.
31489 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31490 'tests' variable.
31491 * sysdeps/wordsize-64/tst-writev.c: New file.
31492
2206397e
RA
314932011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31494
31495 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31496 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31497 insns in _dl_start to prevent a TOC reference before relocs are
31498 resolved.
31499
e9433893
UD
315002011-02-15 Ulrich Drepper <drepper@gmail.com>
31501
31502 [BZ #12469]
31503 * Makeconfig: Remove RANLIB definition.
31504 * Makerules: Don't use RANLIB.
31505 * aclocal.m4: Remove ranlib test.
31506 * configure.in: No need to check for ranlib.
31507 * elf/rtld-Rules: Don't use RANLIB.
31508
f75286c6
ST
315092011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31510
8e31c82d
ST
31511 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31512 protection macro.
31513 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31514 inclusion protection macro.
31515
f75286c6
ST
31516 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31517 SIGRTMIN and SIGRTMAX and print information in that case only when
31518 SIGRTMIN is defined.
31519
c1d0e639
JJ
315202011-02-11 Jakub Jelinek <jakub@redhat.com>
31521
31522 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31523 arginfo fn returning -1.
31524
31525 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31526 and thousands string is zero terminated.
31527
edf9294e
AS
315282011-02-03 Andreas Schwab <schwab@redhat.com>
31529
31530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31531 sysdeps/unix/sysv/linux/bits/socket.h.
31532
2b7e92df
ST
315332011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31534
edf9294e
AS
31535 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31536 (__CPU_COUNT): Remove old macros.
31537 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31538 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31539 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31540 (__sched_cpualloc, __sched_cpufree): Add declarations.
31541
a4c7ea7b
UD
315422011-02-05 Ulrich Drepper <drepper@gmail.com>
31543
31544 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31545 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31546 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31547 (readdhstai): Return value of addhstaiX call.
31548 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31549 (addgrbyX): Return value returned by cache_addgr.
31550 (readdgrbyname): Return value returned by addgrbyX.
31551 (readdgrbygid): Likewise.
31552 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31553 (addpwbyX): Return value returned by cache_addpw.
31554 (readdpwbyname): Return value returned by addhstbyX.
31555 (readdpwbyuid): Likewise.
31556 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31557 (addservbyX): Return value returned by cache_addserv.
31558 (readdservbyname): Return value returned by addservbyX:
31559 (readdservbyport): Likewise.
31560 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31561 (addhstbyX): Return value returned by cache_addhst.
31562 (readdhstbyname): Return value returned by addhstbyX.
31563 (readdhstbyaddr): Likewise.
31564 (readdhstbynamev6): Likewise.
31565 (readdhstbyaddrv6): Likewise.
31566 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31567 (readdinitgroups): Return value returned by addinitgroupsX.
31568 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31569 (prune_cache): Keep track of timeout value of re-added entries.
31570 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31571 * nscd/nscd.h: Adjust prototypes of readd* functions.
31572
a0bf67cc
RM
315732011-02-04 Roland McGrath <roland@redhat.com>
31574
31575 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31576 (nis_stats): Likewise.
31577 * nis/nis_modify.c (nis_modify): Likewise.
31578 * nis/nis_remove.c (nis_remove): Likewise.
31579 * nis/nis_add.c (nis_add): Likewise.
31580
31581 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31582
31583 * posix/fnmatch_loop.c: Add some consts.
31584
31585 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31586
435b95eb
L
315872011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31588
31589 [BZ #12460]
31590 * config.make.in (config-cflags-novzeroupper): Define.
31591 * configure.in: Substitute libc_cv_cc_novzeroupper.
31592 * elf/Makefile (AVX-CFLAGS): Define.
31593 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31594 (CFLAGS-tst-auditmod4a.c): Likewise.
31595 (CFLAGS-tst-auditmod4b.c): Likewise.
31596 (CFLAGS-tst-auditmod6b.c): Likewise.
31597 (CFLAGS-tst-auditmod6c.c): Likewise.
31598 (CFLAGS-tst-auditmod7b.c): Likewise.
31599 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31600
8517b15e
UD
316012011-02-02 Ulrich Drepper <drepper@gmail.com>
31602
31603 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31604 function to the callback.
31605 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31606
10a656fe
AS
316072011-02-02 Andreas Schwab <schwab@redhat.com>
31608
31609 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31610 of errno.
31611
968dad0a
UD
316122011-01-19 Ulrich Drepper <drepper@gmail.com>
31613
9f94d2ea 31614 [BZ #11724]
968dad0a
UD
31615 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31616 of constructors.
31617 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31618 of destructors.
31619 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31620
31621 [BZ #11724]
31622 * elf/Makefile: Add rules to build and run new test.
31623 * elf/tst-initorder.c: New file.
31624 * elf/tst-initorder.exp: New file.
31625 * elf/tst-initordera1.c: New file.
31626 * elf/tst-initordera2.c: New file.
31627 * elf/tst-initordera3.c: New file.
31628 * elf/tst-initordera4.c: New file.
31629 * elf/tst-initorderb1.c: New file.
31630 * elf/tst-initorderb2.c: New file.
31631 * elf/tst-order-a1.c: New file.
31632 * elf/tst-order-a2.c: New file.
31633 * elf/tst-order-a3.c: New file.
31634 * elf/tst-order-a4.c: New file.
31635 * elf/tst-order-b1.c: New file.
31636 * elf/tst-order-b2.c: New file.
31637 * elf/tst-order-main.c: New file.
31638 New test case by George Gensure <werkt0@gmail.com>.
31639
86e92359
UD
316402010-10-01 Andreas Schwab <schwab@redhat.com>
31641
31642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31643 decoding ACE if AI_CANONIDN.
31644
5d5732b0
UD
316452011-01-18 Ulrich Drepper <drepper@gmail.com>
31646
31647 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31648
a77e8cbc
UD
316492011-01-17 Ulrich Drepper <drepper@gmail.com>
31650
6392473f
UD
31651 * version.h (RELEASE): Bump for 2.13 release.
31652 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31653
620a0529
UD
31654 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31655
18ba70a5
UD
31656 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31657 MADV_NOHUGEPAGE.
32465c3e
UD
31658 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31659 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31660 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31661 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31662 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31663 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31664
c0dafcf1
UD
31665 * posix/getconf.c: Update copyright year.
31666 * catgets/gencat.c: Likewise.
31667 * csu/version.c: Likewise.
31668 * debug/catchsegv.sh: Likewise.
31669 * debug/xtrace.sh: Likewise.
31670 * elf/ldconfig.c: Likewise.
31671 * elf/ldd.bash.in: Likewise.
31672 * elf/sprof.c (print_version): Likewise.
31673 * iconv/iconv_prog.c: Likewise.
31674 * iconv/iconvconfig.c: Likewise.
31675 * locale/programs/locale.c: Likewise.
31676 * locale/programs/localedef.c: Likewise.
31677 * malloc/memusage.sh: Likewise.
31678 * malloc/mtrace.pl: Likewise.
31679 * nscd/nscd.c (print_version): Likewise.
31680 * nss/getent.c: Likewise.
31681
a77e8cbc
UD
31682 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31683 PF_CAIF, and PF_ALG.
31684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31685
77e8bddf
AS
316862011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31687
1f20b93a
AS
31688 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31689 (modules-names): Use them.
31690 (ifunc-test-modules, ifunc-pie-tests): Define.
31691 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31692 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31693 (test-extras): Likewise.
31694 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31695 $(compile-command.c).
31696 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31697 (all-built-dso): Define.
31698 (check-textrel.out, check-execstack.out): Depend on it.
31699
77e8bddf
AS
31700 * configure.in: Don't override --enable-multi-arch.
31701
bc425b33
UD
317022011-01-15 Ulrich Drepper <drepper@gmail.com>
31703
31704 [BZ #6812]
31705 * nscd/hstcache.c (tryagain): Define.
31706 (cache_addhst): Return tryagain not notfound for temporary errors.
31707 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31708 failed.
31709
794c3ad3
UD
317102011-01-14 Ulrich Drepper <drepper@gmail.com>
31711
70181fdd
UD
31712 [BZ #10563]
31713 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31714 to make the syscall.
31715 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31716
794c3ad3
UD
31717 [BZ #12378]
31718 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31719 and fall back to matching as normal character if the string ends before
31720 the matching ']' is found. This is what POSIX requires.
31721 * posix/testfnm.c: Adjust test result.
31722 * posix/globtest.sh: Adjust test result. Add new test.
31723 * posix/tst-fnmatch.input: Likewise.
31724 * posix/tst-fnmatch2.c: Add new test.
31725
68dc9497
AS
317262010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31727
31728 * elf/Makefile (check-execstack): Revert last change. Depend on
31729 check-execstack.h.
31730 (check-execstack.h): New target.
31731 (generated): Add check-execstack.h.
31732 * elf/check-execstack.c: Include "check-execstack.h".
31733 (main): Revert last change.
31734 (handle_file): Return zero if GNU_STACK is absent and
31735 DEFAULT_STACK_PERMS doesn't include PF_X.
31736
451f001b
UD
317372011-01-13 Ulrich Drepper <drepper@gmail.com>
31738
cfa28e56
UD
31739 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31740 in child fails because the descriptor is already closed.
8cf8ce17
UD
31741 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31742 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31743 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31744
1086d70d
UD
31745 [BZ #12397]
31746 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31747 syscall.
31748
451f001b
UD
31749 [BZ #10484]
31750 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31751 temporary buffer used to handle multi lookups locally.
a85b5cb4 31752 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31753
08769175
UD
317542011-01-12 Ulrich Drepper <drepper@gmail.com>
31755
31756 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31757 loader is ld.so.
31758
5e49c52e
UD
317592011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31760
31761 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31762 alignment for SSE2.
31763
60522a5f
UD
317642011-01-12 Ulrich Drepper <drepper@gmail.com>
31765
31766 [BZ #12394]
31767 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31768 characters. When rounding increased number of integer digits recompute
31769 number of groups.
31770 * stdio-common/tst-grouping.c: New file.
31771 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31772
f257bbd7
UD
317732011-01-09 Ulrich Drepper <drepper@gmail.com>
31774
31775 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31776 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31777
31778 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31779 void.
31780 * bits/select.h: Likewise.
31781
fa9c15cb
UD
317822011-01-08 Ulrich Drepper <drepper@gmail.com>
31783
31784 * po/ja.po: Update from translation team.
31785
16c2895f
DM
317862011-01-04 David S. Miller <davem@sunset.davemloft.net>
31787
31788 [BZ #11155]
31789 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31790 implementation just like for lxstat, fxstatat, et al.
31791
2543fef2
JM
317922010-12-27 Jim Meyering <meyering@redhat.com>
31793
31794 [BZ #12348]
31795 * posix/regexec.c (build_trtable): Return failure indication upon
31796 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31797
98727dbe
UD
317982010-12-25 Ulrich Drepper <drepper@gmail.com>
31799
5bd6dc5c
UD
31800 [BZ #12201]
31801 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31802 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31803 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31804 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31805
97983464
UD
31806 [BZ #12207]
31807 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31808
98727dbe
UD
31809 [BZ #12204]
31810 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31811 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31812
4a531bb0
L
318132010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31814
31815 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31816 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31817 script has SORT_BY_INIT_PRIORITY.
31818 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31819 NO_CTORS_DTORS_SECTIONS is defined.
31820 * elf/soinit.c: Likewise.
31821 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31822 NO_CTORS_DTORS_SECTIONS is defined.
31823 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31824 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31825 * sysdeps/sh/init-first.c: Likewise.
31826 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31827
07eb4b71
UD
318282010-12-24 Ulrich Drepper <drepper@gmail.com>
31829
31830 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31831 always use the slow path.
31832
30950a5f
RA
318332010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31834
31835 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31836 similar rule which adds the sysdep directories to the header search in
31837 order to pick up the correct platform stackinfo.h.
31838 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31839 perform test if it is, otherwise return successfully without testing.
31840 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31841 DEFAULT_STACK_PERMS define in stackinfo.h.
31842 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31843 defined in stackinfo.h.
31844 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31845 DEFAULT_STACK_PERMS defined in stackinfo.h.
31846 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31847 * sysdeps/ia64/stackinfo.h: Likewise.
31848 * sysdeps/s390/stackinfo.h: Likewise.
31849 * sysdeps/sh/stackinfo.h: Likewise.
31850 * sysdeps/sparc/stackinfo.h: Likewise.
31851 * sysdeps/x86_64/stackinfo.h: Likewise.
31852 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31853 PF_X for powerpc64. Retain PF_X for powerpc32.
31854
db753e2c
UD
318552010-12-19 Ulrich Drepper <drepper@gmail.com>
31856
14b697f7
UD
31857 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31858 accurately.
db753e2c
UD
31859 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31860 GETDENTS_64BIT_ALIGNED.
31861
28300719
UD
318622010-12-14 Ulrich Drepper <dreper@gmail.com>
31863
14b697f7 31864 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31865
4f197237
AS
318662010-12-10 Andreas Schwab <schwab@redhat.com>
31867
dbb0472f
AS
31868 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31869 _GNU_SOURCE.
31870
4f197237
AS
31871 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31872 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31873 Remove __restrict.
31874 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31875 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31876
fb88ac72
UD
318772010-12-09 Ulrich Drepper <drepper@gmail.com>
31878
31879 [BZ #11655]
31880 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31881 are initialized.
31882
42acbb92
JJ
318832010-12-09 Jakub Jelinek <jakub@redhat.com>
31884
31885 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31886
c038d98d
UD
318872010-12-03 Ulrich Drepper <drepper@gmail.com>
31888
31889 * po/it.po: Update from translation team.
31890
3a4a2499
L
318912010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31892
31893 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31894 unused codes.
31895
1e24cf6e
UD
318962010-11-30 Ulrich Drepper <drepper@gmail.com>
31897
31898 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31899
a7690819
AS
319002010-11-24 Andreas Schwab <schwab@redhat.com>
31901
31902 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31903 specially.
31904 (gaih_getanswer_slice): Likewise.
31905
3bf8d1b1
JJ
319062010-10-20 Jakub Jelinek <jakub@redhat.com>
31907
31908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31909
6db52fbb
PB
319102010-05-31 Petr Baudis <pasky@suse.cz>
31911
31912 [BZ #11149]
31913 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31914 silently even in the chroot mode.
31915
eaca7569
UD
319162010-11-22 Ulrich Drepper <drepper@gmail.com>
31917
31918 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31919 last patch a bit. Pretty printing
31920
3056dcdb
UD
319212010-05-31 Petr Baudis <pasky@suse.cz>
31922
31923 [BZ #10085]
31924 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31925 initialization of skip_initgroups_dyn.
31926
cf7c9078
UD
319272010-11-19 Ulrich Drepper <drepper@gmail.com>
31928
31929 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31930 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31931
a1fb5e3e
UD
319322010-11-16 Ulrich Drepper <drepper@gmail.com>
31933
31934 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31935
3540d66b
AS
319362010-11-11 Andreas Schwab <schwab@redhat.com>
31937
31938 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31939 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31940 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31941 ($(objpfx)tst-fnmatch-mem): New rule.
31942 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31943 * posix/tst-fnmatch.c (main): Call mtrace.
31944
13b69574
L
319452010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31946
31947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31948 Support Intel processor model 6 and model 0x2c.
31949
da93d214
LM
319502010-11-10 Luis Machado <luisgpm@br.ibm.com>
31951
31952 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31953 signed comparison.
31954
8ca52c6e
L
319552010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31956
31957 [BZ #12205]
31958 * string/test-strncasecmp.c (check_result): New function.
31959 (do_one_test): Use it.
31960 (check1): New function.
31961 (test_main): Use it.
31962 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31963 Support strcasecmp and strncasecmp.
31964
69da074d
UD
319652010-11-08 Ulrich Drepper <drepper@gmail.com>
31966
31967 [BZ #12194]
31968 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31969 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31970
ff02d528
L
319712010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31972
31973 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31974 IFUNC support.
31975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31976 memset-x86-64.
31977 * sysdeps/x86_64/multiarch/bzero.S: New file.
31978 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31979 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31980 * sysdeps/x86_64/multiarch/memset.S: New file.
31981 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31983 Set bit_Prefer_SSE_for_memop for Intel processors.
31984 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31985 Define.
31986 (index_Prefer_SSE_for_memop): Define.
31987 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31988
344d0b54
LM
319892010-11-04 Luis Machado <luisgpm@br.ibm.com>
31990
31991 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31992 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31993
c0dde15b
UD
319942010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31995
31996 [BZ #12191]
31997 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31998 (__x86_64_raw_data_cache_size_half): Likewise.
31999 (__x86_64_raw_shared_cache_size): Likewise.
32000 (__x86_64_raw_shared_cache_size_half): Likewise.
32001
32002 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32003 (__x86_64_raw_data_cache_size_half): Likewise.
32004 (__x86_64_raw_shared_cache_size): Likewise.
32005 (__x86_64_raw_shared_cache_size_half): Likewise.
32006 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32007 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32008 and __x86_64_raw_shared_cache_size_half. Round
32009 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32010 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32011 to multiple of 256 bytes.
32012
0e516e0e
MS
320132010-11-03 Ulrich Drepper <drepper@gmail.com>
32014
32015 [BZ #12167]
32016 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32017 of inacessible symlinks. Verify result of symlink before returning it.
32018 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32019 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32020
0e012e87
ER
320212010-10-28 Erich Ritz <erichritz@gmail.com>
32022
32023 * math/math.h (isinf): Fix typo in comment.
32024
de0ff7bc
UD
320252010-11-01 Ulrich Drepper <drepper@gmail.com>
32026
32027 * po/da.po: Update from translation team.
32028
fa41c84d
UD
320292010-10-26 Ulrich Drepper <drepper@gmail.com>
32030
32031 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32032 is added to the list.
32033
f0967738
AK
320342010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32035 Ulrich Drepper <drepper@gmail.com>
32036
32037 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32038 the global list here. Move code to...
32039 (_dl_add_to_namespace_list): ...here. New function.
32040 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32041 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32042 * elf/dl-load.c (lose): Don't remove the element from the list.
32043 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32044 (_dl_map_object): Likewise.
32045
320462010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32047
32048 [BZ #12159]
32049 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32050 into all bytes of SSE register.
32051 Patch by Richard Li <richardpku@gmail.com>.
32052
f0967738 320532010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32054
32055 [BZ #12140]
32056 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32057 perturbing.
32058
d0b9e94f
MB
320592010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32060
32061 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32062 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32063 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32064 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32066 submachine.
32067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32068
8e9f92e9
AS
320692010-10-22 Andreas Schwab <schwab@redhat.com>
32070
32071 * include/dlfcn.h (__RTLD_SECURE): Define.
32072 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32073 mode & __RTLD_SECURE instead.
32074 (open_path): Rename preloaded parameter to secure.
32075 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32076 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32077 * elf/dl-deps.c (openaux): Likewise.
32078 * elf/rtld.c (struct map_args): Remove is_preloaded.
32079 (map_doit): Don't use it.
32080 (dl_main): Likewise.
32081 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32082 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32083
bc96fbda
AS
320842010-09-09 Andreas Schwab <schwab@redhat.com>
32085
32086 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32087 (sysd-rules-targets): Remove duplicates.
32088 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32089 rtld-%.$o dependency.
32090
22cd1c9b
AS
320912010-10-18 Andreas Schwab <schwab@redhat.com>
32092
32093 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32094 _dl_map_object do it.
32095
18edac48
UD
320962010-10-19 Ulrich Drepper <drepper@gmail.com>
32097
32098 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32099 fast fma builtins, define the macros in the C99 standard.
32100 (FP_FAST_FMAF): Likewise.
32101 (FP_FAST_FMAL): Likewise.
32102 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32103
32104 * bits/mathdef.h: Update copyright year.
32105 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32106
d2050124
MM
321072010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32108
32109 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32110 builtins, define the macros in the C99 standard.
32111 (FP_FAST_FMAF): Likewise.
32112 (FP_FAST_FMAL): Likewise.
32113 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32114 multiply/add.
32115 (FP_FAST_FMAF): Likewise.
32116
475facd1
JJ
321172010-10-15 Jakub Jelinek <jakub@redhat.com>
32118
32119 [BZ #3268]
32120 * math/libm-test.inc (fma_test): Some new testcases.
32121 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32122 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32123 y and infinite z. Do multiplication by C already in long double.
32124 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32126 y and infinite z. Do bitwise or of inexact bit into u.d.
32127 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32128 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32129 * sysdeps/i386/fpu/s_fma.S: Removed.
32130 * sysdeps/i386/fpu/s_fmal.S: Removed.
32131
7c08a05c
JJ
321322010-10-16 Jakub Jelinek <jakub@redhat.com>
32133
32134 [BZ #3268]
32135 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32136 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32137 computation is not scheduled after fetestexcept. Fix value
32138 of minimum denormal long double.
32139
f3f7372d
JJ
321402010-10-14 Jakub Jelinek <jakub@redhat.com>
32141
32142 [BZ #3268]
32143 * math/libm-test.inc (fma_test): Add some more tests.
32144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32145 correctly.
32146
14d43591
AS
321472010-10-15 Andreas Schwab <schwab@redhat.com>
32148
32149 * scripts/data/localplt-s390-linux-gnu.data: New file.
32150 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32151
5e908464
JJ
321522010-10-13 Jakub Jelinek <jakub@redhat.com>
32153
32154 [BZ #3268]
32155 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32156 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32157 instead of dbl-64.
32158 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32159 inlines.
32160 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32162 if one of x and y is very large and the other is subnormal.
32163 * sysdeps/s390/fpu/s_fmaf.c: New file.
32164 * sysdeps/s390/fpu/s_fma.c: New file.
32165 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32166 * sysdeps/powerpc/fpu/s_fma.S: New file.
32167 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32168 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32169 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32170
321712010-10-12 Jakub Jelinek <jakub@redhat.com>
32172
32173 [BZ #3268]
32174 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32175 fma tests.
32176 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32177 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32178 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32179 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32180 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32181 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32182 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32183
b833d51f
UD
321842010-10-12 Ulrich Drepper <drepper@redhat.com>
32185
32186 [BZ #12078]
32187 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32188 * posix/bug-regex31.input: Add test case.
32189
1751705d
UD
321902010-10-11 Ulrich Drepper <drepper@gmail.com>
32191
e9b9cbf5
UD
32192 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32193 * posix/bug-regex31.input: New file.
32194
32195 [BZ #12078]
32196 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32197 (parse_sub_exp): Fix last change, use postorder.
32198
ef06edbe
UD
32199 * posix/bug-regex31.c: New file.
32200 * posix/Makefile: Add rules to build and run bug-regex31.
32201
a129c80d
UD
32202 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32203
32204 [BZ #12078]
32205 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32206
b76b818e
UD
32207 [BZ #12108]
32208 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32209 to have entries in sys_siglist.
32210
1751705d
UD
32211 [BZ #12093]
32212 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32213 be NULL.
32214
9ff8d36f
JJ
322152010-10-07 Jakub Jelinek <jakub@redhat.com>
32216
32217 [BZ #3268]
32218 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32219 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32220 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32221 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32222 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32223 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32224 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32225 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32226 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32227 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32228 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32229 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32230 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32231 * math/ftestexcept.c (fetestexcept): Likewise.
32232 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32233 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32234 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32235 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32236 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32237 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32238 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32239
af325969
UD
322402010-10-11 Ulrich Drepper <drepper@gmail.com>
32241
c579b202 32242 [BZ #12107]
af325969
UD
32243 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32244 newline.
32245
67a67b95
UD
322462010-10-06 Ulrich Drepper <drepper@gmail.com>
32247
32248 * string/bug-strstr1.c: New file.
32249 * string/Makefile: Add rules to build and run bug-strstr1.
32250
5fb308bc
EB
322512010-10-05 Eric Blake <eblake@redhat.com>
32252
32253 [BZ #12092]
32254 * string/str-two-way.h (two_way_long_needle): Always clear memory
32255 when skipping input due to the shift table.
32256
45db99c7
UD
322572010-10-03 Ulrich Drepper <drepper@gmail.com>
32258
3b111893
UD
32259 [BZ #12005]
32260 * malloc/mcheck.c: Handle large requests.
32261
45db99c7
UD
32262 [BZ #12077]
32263 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32264 for strncmp and strncasecmp.
32265 * string/stratcliff.c: Add tests for strcmp and strncmp.
32266 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32267
cf7a1eb8
NI
322682010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32269
32270 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32271 __set_fpscr.
32272
6484ba5e
AJ
322732010-09-30 Andreas Jaeger <aj@suse.de>
32274
32275 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32276 (CGROUP_SUPER_MAGIC): Define.
32277 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32278 Handle btrfs and cgroup file systems.
32279 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32280 Likewise.
32281
91c42559
LM
322822010-09-27 Luis Machado <luisgpm@br.ibm.com>
32283
32284 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32285 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32286
87a97932
AK
322872010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32288
32289 [BZ #12067]
32290 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32291 trying to locate the ELF header.
32292
c21cc9bc
AS
322932010-09-27 Andreas Schwab <schwab@redhat.com>
32294
32295 [BZ #11611]
32296 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32297 Mask out sign-bit copies when constructing f_fsid.
32298
315970f6
PB
322992010-09-24 Petr Baudis <pasky@suse.cz>
32300
32301 * debug/stack_chk_fail_local.c: Add missing licence exception.
32302 * debug/warning-nop.c: Likewise.
32303
1ac7a2c7
JM
323042010-09-15 Joseph Myers <joseph@codesourcery.com>
32305
32306 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32307 implementing getdents64 using getdents syscall, set d_type if
32308 __ASSUME_GETDENTS32_D_TYPE.
32309
56801c50
AS
323102010-09-16 Andreas Schwab <schwab@redhat.com>
32311
32312 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32313 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32314
dda51327
UD
323152010-09-21 Ulrich Drepper <drepper@redhat.com>
32316
32317 [BZ #12037]
32318 * posix/unistd.h: Undo change of feature selection for ftruncate from
32319 2010-01-11.
32320
8ffcee4a
UD
323212010-09-20 Ulrich Drepper <drepper@redhat.com>
32322
a545ecd9 32323 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32324 detection.
32325
e24f0a8b
AS
323262010-09-20 Andreas Schwab <schwab@redhat.com>
32327
32328 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32329 fanotify_mark.
32330 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32331
7291c56f
AS
323322010-09-14 Andreas Schwab <schwab@redhat.com>
32333
32334 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32335 variables after CHECK_SP call.
32336 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32337
bc5fb037
AS
323382010-09-13 Andreas Schwab <schwab@redhat.com>
32339 Ulrich Drepper <drepper@redhat.com>
32340
32341 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32342 re-relocationg ld.so.
32343 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32344 _dl_init_paths call.
32345 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32346 here anymore.
32347
e66e7419
UD
323482010-09-14 Ulrich Drepper <drepper@redhat.com>
32349
32350 * resolv/res_init.c (__res_vinit): Count the default server we added.
32351
c044aa75
CLT
323522010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32353 Ulrich Drepper <drepper@redhat.com>
32354
32355 [BZ #11968]
32356 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32357 (____longjmp_chk): Use %ebx for saving value across system call.
32358 Add unwind info.
32359
32cf4069
AS
323602010-09-06 Andreas Schwab <schwab@redhat.com>
32361
32362 * manual/Makefile: Don't mix pattern rules with normal rules.
32363
817328ee
AS
323642010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32365
32366 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32367 operation.
32368 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32369 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32370 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32371 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32372 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32373 Likewise.
32374
29fddf61
UD
323752010-09-04 Ulrich Drepper <drepper@redhat.com>
32376
32377 [BZ #11979]
32378 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32379 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32380
0959ffc9
UD
323812010-09-02 Ulrich Drepper <drepper@redhat.com>
32382
32383 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32384 * sysdeps/x86_64/addmul_1.S: Likewise.
32385 * sysdeps/x86_64/lshift.S: Likewise.
32386 * sysdeps/x86_64/mul_1.S: Likewise.
32387 * sysdeps/x86_64/rshift.S: Likewise.
32388 * sysdeps/x86_64/sub_n.S: Likewise.
32389 * sysdeps/x86_64/submul_1.S: Likewise.
32390
ece29840
ST
323912010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32392
0959ffc9
UD
32393 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32394 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32395 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32396 * bits/sched.h [__need_schedparam]
ece29840 32397 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32398 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32399 (__defined_schedparam): Define to 1.
ece29840
ST
32400 (__sched_param): New structure, identical to sched_param.
32401 (__need_schedparam): Undefine.
32402
e53a31fe
MF
324032010-08-31 Mike Frysinger <vapier@gentoo.org>
32404
fdc0c10d
MF
32405 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32406 (epoll_create1): Declare.
32407
e53a31fe
MF
32408 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32409
a726d796
AS
324102010-08-31 Andreas Schwab <schwab@redhat.com>
32411
32412 [BZ #7066]
32413 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32414 shifting retval into place.
32415
2f3e3dc7
UD
324162010-09-01 Ulrich Drepper <drepper@redhat.com>
32417
f2933da9
UD
32418 * nis/rpcsvc/nis.h: Update copyright notice.
32419 * nis/rpcsvc/nis.x: Likewise.
32420 * nis/rpcsvc/nis_callback.h: Likewise.
32421 * nis/rpcsvc/nis_callback.x: Likewise.
32422 * nis/rpcsvc/nis_object.x: Likewise.
32423 * nis/rpcsvc/nis_tags.h: Likewise.
32424 * nis/rpcsvc/yp.h: Likewise.
32425 * nis/rpcsvc/yp.x: Likewise.
32426 * nis/rpcsvc/ypupd.h: Likewise.
32427 * nis/yp_xdr.c: Likewise.
32428 * nis/ypupdate_xdr.c: Likewise.
32429
2f3e3dc7
UD
32430 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32431 mainly the body of pmap_getport. Add parameters to specify timeouts.
32432 (pmap_getport): Use __libc_rpc_getport.
32433 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32434 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32435 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32436
f3dcc2f9
AS
324372010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32438
32439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32440 fanotify_mark.
32441
6d34eb5b
RM
324422010-08-27 Roland McGrath <roland@redhat.com>
32443
32444 * sysdeps/i386/i686/multiarch/Makefile
32445 (CFLAGS-varshift.c): New variable.
32446
9ea3de11
UD
324472010-08-27 Ulrich Drepper <drepper@redhat.com>
32448
c96d23fc
UD
32449 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32450 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32451
9ea3de11
UD
32452 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32453
32454 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32455
623aac7f
L
324562010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32457
32458 * sysdeps/x86_64/strlen.S: Unroll the loop.
32459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32460 strlen-sse2 strlen-sse2-bsf.
32461 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32462 __strlen_no_bsf if bit_Slow_BSF is set.
32463 (__strlen_sse42): Removed.
32464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32465 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32466
8b2b7715
RM
324672010-08-25 Roland McGrath <roland@redhat.com>
32468
32469 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32470 * sysdeps/x86_64/multiarch/varshift.c: New file.
32471 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32472 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32473 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32474 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32475
e73015f2
L
324762010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32477
32478 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32479 strlen-sse2 strlen-sse2-bsf.
32480 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32481 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32482 (__strlen_sse2): Removed.
32483 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32484 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32486 bit_Slow_BSF for Atom.
32487 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32488 (index_Slow_BSF): Define.
32489 (HAS_SLOW_BSF): Define.
32490
df24a73e
UD
324912010-08-25 Ulrich Drepper <drepper@redhat.com>
32492
32493 [BZ #10851]
32494 * resolv/res_init.c (__res_vinit): When no server address at all
32495 is given default to loopback.
32496
f2ac4868
RM
324972010-08-24 Roland McGrath <roland@redhat.com>
32498
09055553
RM
32499 * configure.in: Remove config-name.h generation.
32500 * configure: Regenerated.
32501 * config-name.in: File removed.
32502 * scripts/config-uname.sh: New file.
32503 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32504 ($(objdir)config-name.h): New target.
32505
f2ac4868
RM
32506 * sunrpc/rpc_parse.h: Avoid nested comment.
32507
73f27d5e
RH
325082010-08-24 Richard Henderson <rth@redhat.com>
32509 Ulrich Drepper <drepper@redhat.com>
32510 H.J. Lu <hongjiu.lu@intel.com>
32511
32512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32514 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32515 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32516 _mm_alignr_epi8 with _mm_loadu_si128.
32517 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32518 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32519 (__m128i_shift_right): Removed.
32520 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32521 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32522 * sysdeps/x86_64/multiarch/varshift.h: New file.
32523 * sysdeps/x86_64/multiarch/varshift.S: New file.
32524
84b9230c
MF
325252010-08-21 Mike Frysinger <vapier@gentoo.org>
32526
32527 * configure.in: Move assembler checks to before sysdep dir checking.
32528
9bbd0ddc
PB
325292010-08-20 Petr Baudis <pasky@suse.cz>
32530
32531 * LICENSES: Sync the sunrpc license.
32532
9da4bb31
UD
325332010-08-19 Ulrich Drepper <drepper@redhat.com>
32534
a7ab6ec8
UD
32535 * sunrpc/auth_des.c: Update copyright notice once again.
32536 * sunrpc/auth_none.c: Likewise.
32537 * sunrpc/auth_unix.c: Likewise.
32538 * sunrpc/authdes_prot.c: Likewise.
32539 * sunrpc/authuxprot.c: Likewise.
32540 * sunrpc/bindrsvprt.c: Likewise.
32541 * sunrpc/clnt_gen.c: Likewise.
32542 * sunrpc/clnt_perr.c: Likewise.
32543 * sunrpc/clnt_raw.c: Likewise.
32544 * sunrpc/clnt_simp.c: Likewise.
32545 * sunrpc/clnt_tcp.c: Likewise.
32546 * sunrpc/clnt_udp.c: Likewise.
32547 * sunrpc/clnt_unix.c: Likewise.
32548 * sunrpc/des_crypt.c: Likewise.
32549 * sunrpc/des_soft.c: Likewise.
32550 * sunrpc/get_myaddr.c: Likewise.
32551 * sunrpc/getrpcport.c: Likewise.
32552 * sunrpc/key_call.c: Likewise.
32553 * sunrpc/key_prot.c: Likewise.
32554 * sunrpc/openchild.c: Likewise.
32555 * sunrpc/pm_getmaps.c: Likewise.
32556 * sunrpc/pm_getport.c: Likewise.
32557 * sunrpc/pmap_clnt.c: Likewise.
32558 * sunrpc/pmap_prot.c: Likewise.
32559 * sunrpc/pmap_prot2.c: Likewise.
32560 * sunrpc/pmap_rmt.c: Likewise.
32561 * sunrpc/rpc/auth.h: Likewise.
32562 * sunrpc/rpc/auth_unix.h: Likewise.
32563 * sunrpc/rpc/clnt.h: Likewise.
32564 * sunrpc/rpc/des_crypt.h: Likewise.
32565 * sunrpc/rpc/key_prot.h: Likewise.
32566 * sunrpc/rpc/netdb.h: Likewise.
32567 * sunrpc/rpc/pmap_clnt.h: Likewise.
32568 * sunrpc/rpc/pmap_prot.h: Likewise.
32569 * sunrpc/rpc/pmap_rmt.h: Likewise.
32570 * sunrpc/rpc/rpc.h: Likewise.
32571 * sunrpc/rpc/rpc_des.h: Likewise.
32572 * sunrpc/rpc/rpc_msg.h: Likewise.
32573 * sunrpc/rpc/svc.h: Likewise.
32574 * sunrpc/rpc/svc_auth.h: Likewise.
32575 * sunrpc/rpc/types.h: Likewise.
32576 * sunrpc/rpc/xdr.h: Likewise.
32577 * sunrpc/rpc_clntout.c: Likewise.
32578 * sunrpc/rpc_cmsg.c: Likewise.
32579 * sunrpc/rpc_common.c: Likewise.
32580 * sunrpc/rpc_cout.c: Likewise.
32581 * sunrpc/rpc_dtable.c: Likewise.
32582 * sunrpc/rpc_hout.c: Likewise.
32583 * sunrpc/rpc_main.c: Likewise.
32584 * sunrpc/rpc_parse.c: Likewise.
32585 * sunrpc/rpc_parse.h: Likewise.
32586 * sunrpc/rpc_prot.c: Likewise.
32587 * sunrpc/rpc_sample.c: Likewise.
32588 * sunrpc/rpc_scan.c: Likewise.
32589 * sunrpc/rpc_scan.h: Likewise.
32590 * sunrpc/rpc_svcout.c: Likewise.
32591 * sunrpc/rpc_tblout.c: Likewise.
32592 * sunrpc/rpc_util.c: Likewise.
32593 * sunrpc/rpc_util.h: Likewise.
32594 * sunrpc/rpcinfo.c: Likewise.
32595 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32596 * sunrpc/rpcsvc/key_prot.x: Likewise.
32597 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32598 * sunrpc/rpcsvc/mount.x: Likewise.
32599 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32600 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32601 * sunrpc/rpcsvc/rex.x: Likewise.
32602 * sunrpc/rpcsvc/rstat.x: Likewise.
32603 * sunrpc/rpcsvc/rusers.x: Likewise.
32604 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32605 * sunrpc/rpcsvc/spray.x: Likewise.
32606 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32607 * sunrpc/rtime.c: Likewise.
32608 * sunrpc/svc.c: Likewise.
32609 * sunrpc/svc_auth.c: Likewise.
32610 * sunrpc/svc_authux.c: Likewise.
32611 * sunrpc/svc_raw.c: Likewise.
32612 * sunrpc/svc_run.c: Likewise.
32613 * sunrpc/svc_simple.c: Likewise.
32614 * sunrpc/svc_tcp.c: Likewise.
32615 * sunrpc/svc_udp.c: Likewise.
32616 * sunrpc/svc_unix.c: Likewise.
32617 * sunrpc/svcauth_des.c: Likewise.
32618 * sunrpc/xcrypt.c: Likewise.
32619 * sunrpc/xdr.c: Likewise.
32620 * sunrpc/xdr_array.c: Likewise.
32621 * sunrpc/xdr_float.c: Likewise.
32622 * sunrpc/xdr_mem.c: Likewise.
32623 * sunrpc/xdr_rec.c: Likewise.
32624 * sunrpc/xdr_ref.c: Likewise.
32625 * sunrpc/xdr_sizeof.c: Likewise.
32626 * sunrpc/xdr_stdio.c: Likewise.
32627
9da4bb31
UD
32628 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32629 handling.
32630
bdaa77bc
AS
326312010-08-19 Andreas Schwab <schwab@redhat.com>
32632
32633 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32634
fe2f79db
LM
326352010-08-19 Luis Machado <luisgpm@br.ibm.com>
32636
32637 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32638 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32639 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32640 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32641 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32642 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32643 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32644 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32645 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32646 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32647 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32648 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32649 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32650 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32651
b9b42ee0
AB
326522010-07-26 Anton Blanchard <anton@samba.org>
32653
32654 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32655 * malloc/arena.c (heap_trim): Likewise.
32656
1c06ba31
UD
326572010-08-16 Ulrich Drepper <drepper@redhat.com>
32658
32659 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32660 here. Not...
32661 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32662 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32663
f8392f40
L
326642010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32665
32666 * sysdeps/i386/elf/Makefile: New file.
32667
3162f12e
AS
326682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32669
32670 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32671 from fanotify_init.
32672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32674
28c90b2c
UD
326752010-08-15 Ulrich Drepper <drepper@redhat.com>
32676
32677 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32678 of strncasecmp_l.
1feccb6c 32679 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32680
ca6bb004
UD
326812010-08-14 Ulrich Drepper <drepper@redhat.com>
32682
e9f82e0d
UD
32683 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32684 strncase_l-nonascii.
32685 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32686 Add strncase_l-ssse3.
32687 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32688 * sysdeps/x86_64/strcmp.S: Likewise.
32689 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32690 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32691 * sysdeps/x86_64/strncase.S: New file.
32692 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32693 * sysdeps/x86_64/strncase_l.S: New file.
32694 * string/Makefile (strop-tests): Add strncasecmp.
32695 * string/test-strncasecmp.c: New file.
32696
32697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32698 warning.
32699
ca6bb004
UD
32700 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32701 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32702
052fa7b3
AS
327032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32704
32705 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32706
962dba78
UD
327072010-08-12 Ulrich Drepper <drepper@redhat.com>
32708
32709 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32710 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32711 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32712
bebff237
AM
327132010-05-01 Alan Modra <amodra@gmail.com>
32714
32715 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32716 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32717 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32718 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32719 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32720 tidying. Don't tail-call __sigjmp_save for static lib.
32721 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32722 save location.
32723 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32724 (CALL_MCOUNT): Add eh info, and nop after bl.
32725 (TAIL_CALL_SYSCALL_ERROR): New macro.
32726 (PSEUDO_RET): Use it.
32727 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32728 Correct save location of integer regs and cr.
32729 (_dl_profile_resolve): Correct cr save location. Delete nops
32730 after bl when SHARED. Reduce cfi size a little by better
32731 placement of cfi directives.
32732 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32733 make a stack frame. Instead use parm save area as a temp.
32734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32735 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32737 Don't make a stack frame for parent, use parm save area.
32738 Increase child stack frame to 112 bytes. Don't save unused reg,
32739 and adjust reg usage. Set up cfi on error recovery and
32740 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32742 (__makecontext): Add dummy nop after jump to exit.
32743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32744 Use correct parm save area and cr save, reduce stack frame.
32745 Correct cfi for possible PSEUDO_RET frame setup.
32746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32747 Branch to local label emitted by PSEUDO_RET rather than
32748 __syscall_error.
32749
02637374
AS
327502010-08-12 Andreas Schwab <schwab@redhat.com>
32751
32752 [BZ #11904]
32753 * locale/programs/locale.c (print_assignment): New function.
32754 (show_locale_vars): Use it.
32755
c3e2f19b
UD
327562010-08-11 Ulrich Drepper <drepper@redhat.com>
32757
3cdaa6ad
UD
32758 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32759 field.
32760 (struct statfs64): Likewise.
32761 (_STATFS_F_FLAGS): Define.
32762 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32763 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32764 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32765 (ST_VALID): Define locally.
32766 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32767 __statvfs_getflags, use the provided value.
32768 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32769 __ASSUME_STATFS_F_FLAGS.
32770
754f7da3
UD
32771 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32772
10b3bedc
UD
32773 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32774 Add sys/fanotify.h.
32775 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32776 fanotify_mask for GLIBC_2.13.
32777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32778 fanotify_init and fanotify_mark.
32779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32780 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32781
c08fb0d7
UD
32782 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32783 Add prlimit.
32784 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32785 prlimit64 for GLIBC_2.13.
32786 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32787 prlimit64.
32788 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32789 syscall.
32790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32791 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32792 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32793 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32794 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32795 add prlimit alias.
32796 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32797
15bac72b
UD
32798 [BZ #11903]
32799 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32800 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32801
c3e2f19b
UD
32802 * nss/Makefile: Add rules to build and run tst-nss-test1.
32803 * shlib-versions: Add entry for libnss_test1.
32804 * nss/nss_test1.c: New file.
32805 * nss/tst-nss-test1.c: New file.
32806
32807 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32808 (__nss_configure_lookup): Set appropriate entry in
32809 __nss_configure_lookup to true.
32810 * nss/nsswitch.h: Define enum with indeces of databases in
32811 databases and __nss_database_custom arrays. Declare
32812 __nss_database_custom.
32813 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32814 to avoid using nscd when custom rules are installed.
32815 * nss/getXXbyYY_r.c: Likewise.
32816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32817
32818 * nss/nss_files/files-parse.c: Whitespace fixes.
32819
f15ce4d8
UD
328202010-08-09 Ulrich Drepper <drepper@redhat.com>
32821
32822 [BZ #11883]
32823 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32824 * posix/fnmatch_loop.c: Likewise.
32825
d22e4cc9
AK
328262010-07-17 Andi Kleen <ak@linux.intel.com>
32827
32828 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32829 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32830 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32831 * Versions.def [GLIBC_2.13]: Add.
32832
805bc17d
UD
328332010-08-06 Ulrich Drepper <drepper@redhat.com>
32834
32835 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32836 Also fail if tpwd after pwuid call is NULL.
32837
5a42321d
ST
328382010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32839
32840 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32841 when converting to ms.
32842
fd3ebeda
ST
328432010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32844
32845 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32846 EOPNOTSUPP errors with ENOTTY.
32847 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32848 EOPNOTSUPP errors with ENOTTY.
32849
73507d3a
UD
328502010-07-31 Ulrich Drepper <drepper@redhat.com>
32851
32852 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32853 Add strcasecmp_l-ssse3.
32854 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32855 strcasecmp.
32856 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32857 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32858 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32859
fe36dd02
UD
328602010-07-30 Ulrich Drepper <drepper@redhat.com>
32861
66f6765a
UD
32862 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32863
42e08a54
UD
32864 * string/Makefile (strop-tests): Add strcasecmp.
32865 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32866 strcasecmp_l-nonascii.
32867 (gen-as-const-headers): Add locale-defines.sym.
32868 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32869 * sysdeps/x86_64/strcasecmp.S: New file.
32870 * sysdeps/x86_64/strcasecmp_l.S: New file.
32871 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32872 * sysdeps/x86_64/locale-defines.sym: New file.
32873 * string/test-strcasecmp.c: New file.
32874
fe36dd02
UD
32875 * string/test-strcasestr.c: Test both ends of the range of characters.
32876 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32877
48cbc0d6
RM
328782010-07-29 Roland McGrath <roland@redhat.com>
32879
76e6d6bc 32880 [BZ #11856]
48cbc0d6
RM
32881 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32882
880113d9
UD
328832010-07-27 Ulrich Drepper <drepper@redhat.com>
32884
32885 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32886 for ld.so.
32887
deb9cabb
AS
328882010-07-27 Andreas Schwab <schwab@redhat.com>
32889
32890 * manual/memory.texi (Malloc Tunable Parameters): Document
32891 M_PERTURB.
32892
1c7570ff
RM
328932010-07-26 Roland McGrath <roland@redhat.com>
32894
32895 [BZ #11840]
32896 * configure.in (-fgnu89-inline check): Set and substitute
32897 gnu89_inline, not libc_cv_gnu89_inline.
32898 * configure: Regenerated.
32899 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32900
24fb0f88
UD
329012010-07-26 Ulrich Drepper <drepper@redhat.com>
32902
32903 * string/test-strnlen.c: New file.
32904 * string/Makefile (strop-tests): Add strnlen.
32905 * string/tester.c (test_strnlen): Add a few more test cases.
32906 * string/tst-strlen.c: Better error reporting.
32907
32908 * sysdeps/x86_64/strnlen.S: New file.
32909
8e96b93a
UD
329102010-07-24 Ulrich Drepper <drepper@redhat.com>
32911
32912 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32913 lower-latency instructions.
32914
dbc676d4
UD
329152010-07-23 Ulrich Drepper <drepper@redhat.com>
32916
32917 * string/test-strcasestr.c: New file.
32918 * string/test-strstr.c: New file.
32919 * string/Makefile (strop-tests): Add strstr and strcasestr.
32920 * string/str-two-way.h: Don't undefine MAX.
32921 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32922
f6a31e0e
AS
329232010-07-21 Andreas Schwab <schwab@redhat.com>
32924
32925 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32926 strcasestr-nonascii.
32927 (CFLAGS-strcasestr-nonascii.c): Define.
32928 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32929 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32930 Remove unused attribute.
32931
5dbc3b6c
RM
329322010-07-20 Roland McGrath <roland@redhat.com>
32933
32934 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32935 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32936 ld.so.cache was broken. With it, there is no way to disable dsocaps
32937 like LD_HWCAP_MASK can disable hwcaps.
32938
23d101d8
EPM
329392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32940
32941 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32942
cc9f2e47
UD
329432010-07-16 Ulrich Drepper <drepper@redhat.com>
32944
32945 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32946 call in strcasestr.
32947 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32948 __strcasestr_sse42_nonascii.
32949 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32950 strcasestr-nonascii.c.
32951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32952
77c1b069
LM
329532010-06-15 Luis Machado <luisgpm@br.ibm.com>
32954
32955 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32956 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32957 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32958 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32959
440566c3
UD
329602010-07-09 Ulrich Drepper <drepper@redhat.com>
32961
32962 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32963 fcntl.
32964
5be9d05d
AS
329652010-07-06 Andreas Schwab <schwab@redhat.com>
32966
c30b7ee2 32967 [BZ #11577]
5be9d05d
AS
32968 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32969 dl_signal_cerror.
32970
8a492a67
UD
329712010-07-06 Ulrich Drepper <drepper@redhat.com>
32972
32973 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32974 _PC_PIPE_BUF using F_GETPIPE_SZ.
32975
713df3d5
RM
329762010-07-05 Roland McGrath <roland@redhat.com>
32977
32978 * manual/arith.texi (Rounding Functions): Fix rint description
32979 implicit in round description.
32980
702e8f14
UD
329812010-07-02 Ulrich Drepper <drepper@redhat.com>
32982
32983 * elf/Makefile: Fix linking for a few tests to make recent linker
32984 happy.
32985
52ed8be9
AS
329862010-06-30 Andreas Schwab <schwab@redhat.com>
32987
32988 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32989 $(common-objpfx)libc_nonshared.a.
32990
f47c9a11
LM
329912010-06-21 Luis Machado <luisgpm@br.ibm.com>
32992
32993 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32994 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32995 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32996 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32997 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32998 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32999 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33000 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33015 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33016 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33017 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33018 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33019 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33020 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33021 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33022 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33023 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33024 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33025 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33026 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33041
6fb8cbcb
L
330422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33043
33044 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33045 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33046 * string/memmove.c (memmove): Renamed to ...
33047 (MEMMOVE): ...this. Default to memmove.
33048 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33049 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33050 (END_CHK): Define.
33051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33052 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33053 mempcpy-ssse3-back memmove-ssse3-back.
33054 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33055 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33056 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33057 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33058 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33059 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33060 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33061 * sysdeps/x86_64/multiarch/memmove.c: New file.
33062 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33063 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33064 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33065 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33066 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33067 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33068 Define.
33069 (index_Fast_Copy_Backward): Define.
33070 (HAS_ARCH_FEATURE): Define.
33071 (HAS_FAST_REP_STRING): Define.
33072 (HAS_FAST_COPY_BACKWARD): Define.
33073
4e733bac 330742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33075
33076 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33077 Restore proper fallback handling.
33078
63c4ed22
UD
330792010-06-19 Ulrich Drepper <drepper@redhat.com>
33080
ac2b484c
UD
33081 [BZ #11701]
33082 * posix/group_member.c (__group_member): Correct checking loop.
33083
63c4ed22
UD
33084 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33085 OOM in getpwuid_r correctly. Return error number when the caller
33086 should return, otherwise -1.
33087 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33088 call returning > 0 value.
33089 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33090
765ade4b
AS
330912010-06-07 Andreas Schwab <schwab@redhat.com>
33092
33093 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33094 libc_nonshared.a from targets in modules-names.
33095
80da2e09
KS
330962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33097
33098 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33099 requires it.
33100
158db122
LM
331012010-06-10 Luis Machado <luisgpm@br.ibm.com>
33102
33103 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33104 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33105 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33106 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33107
caa78cf8
AS
331082010-06-02 Andreas Schwab <schwab@redhat.com>
33109
33110 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33111
b2ef2c01
UD
331122010-06-14 Ulrich Drepper <drepper@redhat.com>
33113
33114 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33115 and F_GETPIPE_SZ.
33116 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33120 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33121 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33122
fbd643b6
RM
331232010-06-14 Roland McGrath <roland@redhat.com>
33124
33125 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33126
f32f2869
JJ
331272010-06-07 Jakub Jelinek <jakub@redhat.com>
33128
33129 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33130 __REDIRECT followed by __THROW.
33131 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33132 * posix/getopt.h (getopt): Likewise.
33133
2a50c078
EPM
331342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33135
33136 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33137 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33138 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33139 in AT_FLAGS.
33140 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33141 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33142
eb5ad2eb
LM
331432010-05-28 Luis Machado <luisgpm@br.ibm.com>
33144
33145 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33146
3c88fe1e
L
331472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33148
33149 [BZ #11640]
33150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33151 Properly check family and model.
33152
d2f73151
TY
331532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33154
33155 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33156
ebd2e13d
LM
331572010-05-24 Luis Machado <luisgpm@br.ibm.com>
33158
33159 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33160
b32b8b45
UD
331612010-05-21 Ulrich Drepper <drepper@redhat.com>
33162
33163 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33164 symbol reference.
33165
9acbe24d
AS
331662010-05-19 Andreas Schwab <schwab@redhat.com>
33167
33168 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33169 symbol reference.
33170
f0ccf6ea
AS
331712010-05-21 Andreas Schwab <schwab@redhat.com>
33172
3d04ff3a
AS
33173 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33174 and internal_recvmmsg.
33175 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33176 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33177 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33178 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33179
f0ccf6ea
AS
33180 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33181 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33182 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33183
5b08ac57
AS
331842010-05-20 Andreas Schwab <schwab@redhat.com>
33185
33186 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33187
4828935d
LM
331882010-05-17 Luis Machado <luisgpm@br.ibm.com>
33189
33190 POWER7 optimizations.
33191 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33192 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33193
373d545e
UD
331942010-05-19 Ulrich Drepper <drepper@redhat.com>
33195
33196 * version.h: Update for 2.13 development version.
33197
21a2b1ae
AS
331982010-05-12 Andrew Stubbs <ams@codesourcery.com>
33199
33200 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33201 exceptions. Return 0.
33202
3f7dcb2b
RM
332032010-05-07 Roland McGrath <roland@redhat.com>
33204
33205 * elf/ldconfig.c (main): Add a const.
33206
5f24d53a 332072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33208
a160f8d8
UD
33209 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33210 (args_options): Add no-idn option.
33211 (ahosts_keys_int): Add idn_flags to ai_flags.
33212 (parse_option): Handle 'i' option to clear idn_flags.
33213
5f24d53a
UD
33214 * malloc/malloc.c (_int_free): Possible race in the most recently
33215 added check. Only act on the data if no current modification
33216 happened.
265bb1ce
UD
33217
33218See ChangeLog.17 for earlier changes.