]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
conformtest: Clean up expectations for POSIX for pthread.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a03d8ea7
JM
12013-09-24 Joseph Myers <joseph@codesourcery.com>
2
3 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4 Expect macro.
5 [POSIX] (pthread_attr_t): Do not require type.
6 [POSIX] (pthread_cond_t): Likewise.
7 [POSIX] (pthread_condattr_t): Likewise.
8 [POSIX] (pthread_key_t): Likewise.
9 [POSIX] (pthread_mutex_t): Likewise.
10 [POSIX] (pthread_mutexattr_t): Likewise.
11 [POSIX] (pthread_once_t): Likewise.
12 [POSIX] (pthread_t): Likewise.
13 [POSIX-based standards] (pthread_atfork): Expect function.
14
6055173a
JM
152013-09-24 Joseph Myers <joseph@codesourcery.com>
16 Richard Sandiford <richard@codesourcery.com>
17
18 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19 (swap_endianness_p): New extern variable.
20 (set_big_endian): New inline function.
21 (maybe_swap_uint32): Likewise.
22 (maybe_swap_uint32_array): Likewise.
23 (maybe_swap_uint32_obstack): Likewise.
24 * locale/programs/locfile.c: Include <stdbool.h>.
25 (swap_endianness_p): New variable.
26 (add_locale_uint32): Call maybe_swap_uint32.
27 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28 (write_locale_data): Call maybe_swap_uint32_array.
29 * locale/programs/ld-collate.c (obstack_int32_grow): Call
30 maybe_swap_uint32.
31 (obstack_int32_grow_fast): Likewise.
32 (output_weightwc): Call maybe_swap_uint32_obstack.
33 (collate_output): Likewise.
34 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
35 (OPT_LITTLE_ENDIAN): Likewise.
36 (options): Add --little-endian and --big-endian options.
37 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38 * locale/programs/locarchive.c: Include "locfile.h".
39 (GET): New macro.
40 (SET): Likewise.
41 (INC): Likewise.
42 (create_archive): Use the new macros to access fields of
43 structures directly mapped from or written to locale archives.
44 (oldlocrecentcmp): Likewise.
45 (enlarge_archive): Likewise.
46 (insert_name): Likewise.
47 (add_alias): Likewise.
48 (add_locale): Likewise.
49 (delete_locales_from_archive): Likewise.
50 (show_archive_content): Likewise.
51 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
52 locale data.
53
39bf0bb4
RM
542013-09-24 Roland McGrath <roland@hack.frob.com>
55
56 * manual/freemanuals.texi: Updated from (newly) canonical copy at
57 http://www.gnu.org/doc/freemanuals.texi.
58 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
59
f02eed10
WN
602013-09-24 Will Newton <will.newton@linaro.org>
61
62 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63 macro.
64
a3a6c312
JM
652013-09-23 Joseph Myers <joseph@codesourcery.com>
66
67 * locale/hashval.h (compute_hashval): Interpret bytes of key as
68 unsigned char.
69
107375ac
MR
702013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
71
72 * manual/threads.texi (POSIX Threads): Fix a typo.
73
141f3a77
SP
742013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
75
303e567a
SP
76 [BZ #14547]
77 * string/tst-strcoll-overflow.c: New test case.
78 * string/Makefile (xtests): Add tst-strcoll-overflow.
79 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
80 cache if string sizes may cause integer overflow.
81
141f3a77
SP
82 [BZ #14547]
83 * string/strcoll_l.c (coll_seq): New members rule, idx,
84 save_idx and back_us.
85 (get_next_seq_nocache): New function.
86 (do_compare_nocache): New function.
87 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
88 when malloc fails.
89
c61b4d41
CD
902013-09-23 Carlos O'Donell <carlos@redhat.com>
91
0b1f8e35
CD
92 [BZ #15754]
93 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
94 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
95 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
96
c61b4d41
CD
97 [BZ #15754]
98 * elf/Makefile (tests): Add tst-ptrguard1.
99 (tests-static): Add tst-ptrguard1-static.
100 (tst-ptrguard1-ARGS): Define.
101 (tst-ptrguard1-static-ARGS): Define.
102 * elf/tst-ptrguard1.c: New file.
103 * elf/tst-ptrguard1-static.c: New file.
104 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
105 * sysdeps/i386/stackguard-macros.h: Likewise.
106 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
107 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
108 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
109 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
110 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
111 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
112
1132013-09-23 Hector Marco <hecmargi@upv.es>
114 Ismael Ripoll <iripoll@disca.upv.es>
115 Carlos O'Donell <carlos@redhat.com>
116
117 [BZ #15754]
118 * sysdeps/generic/stackguard-macros.h: Define
119 __pointer_chk_guard_local and POINTER_CHK_GUARD.
120 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
121 Define __pointer_chk_guard_local.
122 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
123 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
124
f5f4e7b4
VV
1252013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
126
127 [BZ #15859]
128 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
129
5bb43a43
AS
1302013-09-20 Andreas Schwab <schwab@linux-m68k.org>
131
132 * include/string.h (__ffs): Declare as hidden.
133 * string/ffs.c (__ffs): Define as hidden.
134 * sysdeps/i386/ffs.c (__ffs): Likewise.
135 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
136 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
137 * sysdeps/s390/ffs.c (__ffs): Likewise.
138 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
139
3ea5be54
AO
1402013-09-20 Alexandre Oliva <aoliva@redhat.com>
141
ffb89e53
AO
142 * NEWS: Mention malloc probes.
143
322dea08
AO
144 * malloc/arena.c (new_heap): New memory_heap_new probe.
145 (grow_heap): New memory_heap_more probe.
146 (shrink_heap): New memory_heap_less probe.
147 (heap_trim): New memory_heap_free probe.
148 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
149 (systrim): New memory_sbrk_less probe.
150 * manual/probes.texi: Document them.
151
655673f3
AO
152 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
153 * manual/probes.texi: Document it.
154
35fed6f1
AO
155 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
156 (__libc_realloc): Add memory_realloc_retry probe.
157 (__libc_memalign): Add memory_memalign_retry probe.
158 (__libc_valloc): Add memory_valloc_retry probe.
159 (__libc_pvalloc): Add memory_pvalloc_retry probe.
160 (__libc_calloc): Add memory_calloc_retry probe.
161 * manual/probes.texi: Document them.
162
6999d38c
AO
163 * malloc/arena.c (get_free_list): Add probe
164 memory_arena_reuse_free_list.
165 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
166 and memory_arena_reuse.
167 (arena_get2) [!PER_THREAD]: Likewise.
168 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
169 memory_arena_reuse_realloc.
170 * manual/probes.texi: Document them.
171
0653427f
AO
172 * malloc/malloc.c (__libc_free): Add
173 memory_mallopt_free_dyn_thresholds probe.
174 (__libc_mallopt): Add multiple memory_mallopt probes.
175 * manual/probes.texi: Document them.
176
3ea5be54
AO
177 * malloc/malloc.c: Include stap-probe.h.
178 (__libc_mallopt): Add memory_mallopt probe.
179 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
180 * manual/probes.texi: New.
181 * manual/Makefile (chapters): Add probes.
182 * manual/threads.texi: Set next node.
183
e35696c3 1842013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 185
e35696c3
CL
186 [BZ #15963, #13985]
187 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
188 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
189 Add `Chinese' to `nan' entry name.
190
4aafb73c
SP
1912013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
192
193 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
194 (POLYNOMIAL): Likewise.
195 (TAYLOR_SINCOS): Likewise.
196 (TAYLOR_SLOW): Likewise.
197 (__sin): Use TAYLOR_SINCOS.
198 (__cos): Likewise.
199 (slow): Use TAYLOR_SLOW.
200 (sloww): Likewise.
201 (bsloww): Likewise.
202 (csloww): Likewise.
203
d84f25c7
LD
2042013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
205
206 * stdlib/strtod_l.c: Fix buffer overrun.
207
5eea0404
SP
2082013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
209
7849ff93
SP
210 * benchtests/Makefile (bench): Add sincos.
211 * benchtests/bench-sincos.c: New file.
212
cfa3c886
SP
213 * math/libm-test.inc (cos_test_data): New test inputs.
214 (sin_test_data): Likewise.
215
b348e1e3
SP
216 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
217 macro.
218 (__sin): Use it.
219 (__cos): Likewise.
220 (slow1): Likewise.
221 (slow2): Likewise.
222 (sloww1): Likewise.
223 (sloww2): Likewise.
224 (bsloww1): Likewise.
225 (bsloww2): Likewise.
226 (cslow2): Likewise.
227 (csloww1): Likewise.
228 (csloww2): Likewise.
229
6cce25f8
SP
230 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
231 function.
232 (__sin): Use it.
233 (__cos): Likewise.
234
5eea0404
SP
235 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
236 gotos.
237 (__cos): Likewise.
238
9c21573c
MR
2392013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
240
241 * config.h.in (HAVE_MIPS_NAN2008): New macro.
242 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
243 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
244 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
245 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
246 * elf/cache.c (print_entry): Handle the new cache flags.
247
24d22e65
JM
2482013-09-18 Joseph Myers <joseph@codesourcery.com>
249 Aldy Hernandez <aldyh@redhat.com>
250
251 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
252 Change condition to [_SOFT_FLOAT].
253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
265 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
268 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
269 declaration.
270
d13ef066
JM
2712013-09-18 Joseph Myers <joseph@codesourcery.com>
272
2e071de0
JM
273 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
274 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
275 (__longjmp): Use LOAD_GP to load saved GPRs.
276 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
277 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
278 (__sigsetjmp): Use SAVE_GP to save GPRs.
279
d13ef066
JM
280 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
281 Do not append -msoft-float.
282 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
283
97a0650b
SP
2842013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
285
286 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
287
11ca09e9
JM
2882013-09-17 Joseph Myers <joseph@codesourcery.com>
289
290 [BZ #15966]
291 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
292 (_FPU_GETCW): Use initial "__" on variable and field names but not
293 on macro parameter name.
294 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
295 parentheses around reference to macro parameter.
296
08ffcf34
RS
2972013-09-13 Richard Sandiford <richard@codesourcery.com>
298
299 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
300 prototype.
301 (ctype_startup): Use uint32_t in cast and sizeof for
302 ctype->charnames.
303
ae7080d3
JL
3042013-09-11 Jia Liu <proljc@gmail.com>
305
306 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
307 __daddr_t_defined.
308 [__FreeBSD__]: Likewise.
309
5905e7b3
OB
3102013-09-11 Ondřej Bílka <neleai@seznam.cz>
311
312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
313 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
314 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
315 (strchr): Remove __strchr_sse42 ifunc selection.
316 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
317 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
318
b987c776
WN
3192013-09-11 Will Newton <will.newton@linaro.org>
320
321 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
322 parameter to RES. Remove hardcoded 1000 value.
323 * benchtests/bench-skeleton.c (main): Pass RES parameter
324 to TIMING_INIT and multiply result by 1000.
325
ddf985af
AZ
3262013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
327
328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
329
ffdd3181
AS
3302013-09-11 Andreas Schwab <schwab@suse.de>
331
332 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
333 if not defined.
334 (O_TMPFILE) [__USE_GNU]: Define.
335 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
336 Define.
337
b73ed247
WN
3382013-09-11 Will Newton <will.newton@linaro.org>
339
340 [BZ #15857]
341 * malloc/malloc.c (__libc_memalign): Check the value of bytes
342 does not overflow.
343
55e17aad
WN
3442013-09-11 Will Newton <will.newton@linaro.org>
345
346 [BZ #15856]
347 * malloc/malloc.c (__libc_valloc): Check the value of bytes
348 does not overflow.
349
1159a193
WN
3502013-09-11 Will Newton <will.newton@linaro.org>
351
352 [BZ #15855]
353 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
354 does not overflow.
355
5905e7b3 3562013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
357
358 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
359 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
360 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
361 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
362 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
363
cdfc721b
AM
3642013-09-10 Allan McRae <allan@archlinux.org>
365
aa04af00
AM
366 [BZ #15748]
367 * manual/arith.texi (Parsing of Floats): Clarify
368 cross-reference.
369
cdfc721b
AM
370 [BZ #15849]
371 * manual/install.texi (Running make install): Mention
372 --enable-pt-chown.
373 * INSTALL: Regenerated.
374
95e7cf29
MR
3752013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
376
377 * csu/init-first.c (_init): Remove the !SHARED condition around
378 FPU control word initialization.
379 * elf/dl-support.c (_dl_fpu_control): New variable.
380 (_dl_aux_init) <AT_FPUCW>: Initialize it.
381 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
382 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
383 * math/test-fpucw-static.c: New file.
384 * math/test-fpucw-ieee.c: New file.
385 * math/test-fpucw-ieee-static.c: New file.
386 * math/Makefile (tests): Add `test-fpucw-ieee' and
387 `$(tests-static)'.
388 (tests-static): New variable.
389 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
390 dependency to...
391 [($(build-shared),yes)]
392 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
393 ... this.
394 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
395 New dependency.
396
83e43bf0
AM
3972013-09-09 Allan McRae <allan@archlinux.org>
398
a9f5ce09
AM
399 [BZ #15939]
400 * manual/string.texi (Collation Functions): Fix typo in
401 strcoll example.
402 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
403
34829bc2
AM
404 [BZ #15893]
405 * stdlib/isomac.c (get_null_defines): Fix memory leak.
406
3932737d
AM
407 [BZ #15892]
408 * libio/memstream.c (open_memstream): Fix memory leak.
409 * libio/wmemstream.c (open_wmemstream): Likewise.
410
83e43bf0
AM
411 [BZ #15895]
412 * nscd/netgroupcache.c: Fix nesting of ifdefs.
413
0c66b8e9
WN
4142013-09-09 Will Newton <will.newton@linaro.org>
415
416 * malloc/Makefile: Add tst-realloc to tests.
417 * malloc/tst-realloc.c: New file.
418
f6b00fd1
AM
4192013-09-09 Allan McRae <allan@archlinux.org>
420
421 [BZ #15844]
422 * COPYING: Update from GNU website to fix FSF address.
423 * COPYING.LIB: Likewise.
424
eec55e16
DM
4252013-09-06 David S. Miller <davem@davemloft.net>
426
427 * po/zh_TW.po: Update Chinese (traditional) translation from
428 translation project.
429
1ecbb381
RS
4302013-09-06 Richard Sandiford <richard@codesourcery.com>
431 Joseph Myers <joseph@codesourcery.com>
432
433 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
434 "localeinfo.h".
435 (obstack_chunk_alloc): New macro.
436 (obstack_chunk_free): Likewise.
437 (record_offset): New function.
438 (init_locale_data): Likewise.
439 (align_locale_data): Likewise.
440 (add_locale_empty): Likewise.
441 (add_locale_raw_data): Likewise.
442 (add_locale_raw_obstack): Likewise.
443 (add_locale_string): Likewise.
444 (add_locale_wstring): Likewise.
445 (add_locale_uint32): Likewise.
446 (add_locale_uint32_array): Likewise.
447 (add_locale_char): Likewise.
448 (start_locale_structure): Likewise.
449 (end_locale_structure): Likewise.
450 (start_locale_prelude): Likewise.
451 (end_locale_prelude): Likewise.
452 (write_locale_data): Take locale_file structure rather than an
453 iovec.
454 * locale/programs/locfile.h: Include "obstack.h".
455 (struct locale_file): Change to store locale file contents instead
456 of header.
457 (init_locale_data): New prototype.
458 (align_locale_data): Likewise.
459 (add_locale_empty): Likewise.
460 (add_locale_raw_data): Likewise.
461 (add_locale_raw_obstack): Likewise.
462 (add_locale_string): Likewise.
463 (add_locale_wstring): Likewise.
464 (add_locale_uint32): Likewise.
465 (add_locale_uint32_array): Likewise.
466 (add_locale_char): Likewise.
467 (start_locale_structure): Likewise.
468 (end_locale_structure): Likewise.
469 (start_locale_prelude): Likewise.
470 (end_locale_prelude): Likewise.
471 (write_locale_data): Update prototype.
472 * locale/programs/3level.h (struct TABLE): Remove result field.
473 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
474 Use new locale_file interface.
475 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
476 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
477 * locale/programs/ld-address.c (address_output): Use new
478 locale_file interface.
479 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
480 NO_ADD_LOCALE.
481 (collate_finish): Don't call collseq_table_finalize.
482 (collate_output): Use new locale_file interface.
483 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
484 in file.
485 (NO_FINALIZE): Change to NO_ADD_LOCALE.
486 (TABLE): Move defines earlier in file.
487 (ELEMENT): Likewise.
488 (DEFAULT): Likewise.
489 (wctrans_table_add): Move macro and inline function earlier in
490 file.
491 (struct wctype_table): Move type earlier in file.
492 (add_locale_wctype_table): New static prototype.
493 (struct locale_ctype_t): Use logical types instead of struct iovec
494 pointers for members.
495 (ctype_output): Use new locale_file interface.
496 (wctype_table_finalize): Change to add_locale_wctype_table. Use
497 new locale_file interface.
498 (allocate_arrays): Update for use of new locale_file interface.
499 * locale/programs/ld-identification.c (identification_output): Use
500 new locale_file interface.
501 * locale/programs/ld-measurement.c (measurement_output): Likewise.
502 * locale/programs/ld-messages.c (messages_output): Likewise.
503 * locale/programs/ld-monetary.c (monetary_output): Likewise.
504 * locale/programs/ld-name.c (name_output): Likewise.
505 * locale/programs/ld-numeric.c (numeric_output): Likewise.
506 * locale/programs/ld-paper.c (paper_output): Likewise.
507 * locale/programs/ld-telephone.c (telephone_output): Likewise.
508 * locale/programs/ld-time.c (time_output): Likewise.
509
e029e2e5
AZ
5102013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
511
512 * benchtests/Makefile: Add memrchr benchmark.
513 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
514 benchmark as memrchr.
515 * benchtests/bench-memrchr-ifunc.c: New file.
516 * benchtests/bench-memrchr.c: New file.
517
bbf6e8e4
WN
5182013-09-06 Will Newton <will.newton@linaro.org>
519
520 * benchtests/Makefile (string-bench): Add memcpy.
521
6c82a2f8
CD
5222013-09-05 Carlos O'Donell <carlos@redhat.com>
523 Cong Wang <amwang@redhat.com>
524
525 * sysdeps/unix/sysv/linux/bits/in.h
526 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
527 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
528 before __USE_KERNEL_IPV6_DEFS uses.
529 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
530 IPPROTO_BEETPH.
531 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
532 sockaddr_in6, or ipv6_mreq.
533
5430fc65
AZ
5342013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
535
536 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
537 memory access for final bytes in some large inputs.
538 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
539
4660856c
AZ
5402013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
541
542 * string/test-memrchr.c: New file.
543 * string/test-memrchr-ifunc.c: New file.
544 * string/Makefile: Add new memrchr testcase.
545
bb8ea713
MF
5462013-09-05 Mike Frysinger <vapier@gentoo.org>
547
548 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
549 fanotify_init returns EPERM.
550
b92a20b5
JM
5512013-09-04 Joseph Myers <joseph@codesourcery.com>
552
553 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
554 errors.
555 (top level): Treat second token from macro or constant entries for
556 allowed headers as allowed.
557 * include/complex.h: Condition internal declarations on
558 [!_ISOMAC].
559 * include/fenv.h: Condition include of <stdbool.h> and internal
560 declarations on [!_ISOMAC].
7447ccd9
CL
561
5622013-09-04 Chris Leonard <cjl@sugarlabs,.org>
563
3e181dda 564 [BZ #15923]
7447ccd9
CL
565 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
566
3f2e46a4
JM
5672013-09-04 Joseph Myers <joseph@codesourcery.com>
568
569 * configure.in (--enable-versioning): Remove configure option.
570 (libc_cv_asm_symver_directive): Remove configure test.
571 (libc_cv_ld_version_script_option): Likewise.
572 (VERSIONING): Remove variable and AC_SUBST.
573 (DO_VERSIONING): Remove AC_DEFINE.
574 * configure: Regenerated.
575 * config.h.in (DO_VERSIONING): Remove macro.
576 * Makerules [$(versioning) = yes]: Change conditionals to
577 [$(build-shared) = yes].
578 * config.make.in (versioning): Remove variable.
579 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
580 [$(build-shared) = yes].
581 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
582 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
583 * elf/Makefile [$(versioning) = yes]: Change conditionals to
584 [$(build-shared) = yes].
585 * extra-lib.mk [$(versioning) = yes]: Likewise.
586 * hurd/Makefile [$(versioning) = yes]: Likewise.
587 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
588 [SHARED].
589 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
590 [SHARED].
591 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
592 [SHARED && !NO_HIDDEN].
593 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
594 [SHARED].
595 [SHARED && DO_VERSIONING]: Likewise..
596 * libio/Makefile [$(versioning) = yes]: Change conditionals to
597 [$(build-shared) = yes].
598 * manual/install.texi (--disable-versioning): Remove
599 documentation.
600 * INSTALL: Regenerated.
601 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
602 to [SHARED].
603 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
604 [$(build-shared) = yes].
605 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
606 * sysdeps/i386/i686/multiarch/strstr-c.c
607 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
608 [SHARED && !NO_HIDDEN].
609 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
610 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
611 * sysdeps/powerpc/powerpc32/dl-machine.c
612 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
613 * sysdeps/powerpc/powerpc32/sysdep.h
614 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
615 to [SHARED && PIC && !NO_HIDDEN].
616 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
617 conditional to [SHARED].
618
44558701
WN
6192013-09-04 Will Newton <will.newton@linaro.org>
620
621 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
622 * benchtests/bench-string.h: Include bench-timing.h instead
623 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
624 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
625 call to HP_TIMING_DIFF_INIT.
626 * benchtests/bench-memccpy.c: Use bench-timing.h macros
627 instead of hp-timing.h macros.
628 * benchtests/bench-memchr.c: Likewise.
629 * benchtests/bench-memcmp.c: Likewise.
630 * benchtests/bench-memcpy.c: Likewise.
631 * benchtests/bench-memmem.c: Likewise.
632 * benchtests/bench-memmove.c: Likewise.
633 * benchtests/bench-memset.c: Likewise.
634 * benchtests/bench-rawmemchr.c: Likewise.
635 * benchtests/bench-strcasecmp.c: Likewise.
636 * benchtests/bench-strcasestr.c: Likewise.
637 * benchtests/bench-strcat.c: Likewise.
638 * benchtests/bench-strchr.c: Likewise.
639 * benchtests/bench-strcmp.c: Likewise.
640 * benchtests/bench-strcpy.c: Likewise.
641 * benchtests/bench-strcpy_chk.c: Likewise.
642 * benchtests/bench-strlen.c: Likewise.
643 * benchtests/bench-strncasecmp.c: Likewise.
644 * benchtests/bench-strncat.c: Likewise.
645 * benchtests/bench-strncmp.c: Likewise.
646 * benchtests/bench-strncpy.c: Likewise.
647 * benchtests/bench-strnlen.c: Likewise.
648 * benchtests/bench-strpbrk.c: Likewise.
649 * benchtests/bench-strrchr.c: Likewise.
650 * benchtests/bench-strspn.c: Likewise.
651 * benchtests/bench-strstr.c: Likewise.
652
cae16d66
WN
6532013-09-04 Will Newton <will.newton@linaro.org>
654
655 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
656
ffa3cd7f
JM
6572013-09-03 Joseph Myers <joseph@codesourcery.com>
658
659 [BZ #15427]
660 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
661 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
662 * math/libm-test.inc (lgamma_test_data): Add more tests.
663 * sysdeps/i386/fpu/libm-test-ulps: Update.
664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
665
8f02859f
OB
6662013-09-03 Ondřej Bílka <neleai@seznam.cz>
667
668 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
669 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
670 Add ifunc.
671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
672 Add strcmp-sse2-unaligned
673 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
674
18d43716
MF
6752013-09-02 Mike Frysinger <vapier@gentoo.org>
676
677 * Versions.def (libc): Add GLIBC_2.19.
678
ac444012
MF
6792013-09-02 Mike Frysinger <vapier@gentoo.org>
680
681 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
682 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
683
b7835e32
JM
6842013-09-02 Joseph Myers <joseph@codesourcery.com>
685
686 [BZ #14155]
687 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
688 intermediate calculations in recurrence.
689 (__ieee754_ynf): Likewise.
690 * math/libm-test.inc (jn_test_data): Do not allow spurious
691 underflow exception. Add more tests.
692 (yn_test_data): Add more tests.
693 * sysdeps/i386/fpu/libm-test-ulps: Update.
694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
695
8220f4f0
OB
6962013-09-02 Ondřej Bílka <neleai@seznam.cz>
697
698 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
699
f24a6d08
OB
7002013-08-30 Ondřej Bílka <neleai@seznam.cz>
701
702 * csu/init-first.c: Fix then/than typos.
703 * locale/programs/ld-collate.c: Likewise.
704 * locale/programs/linereader.h: Likewise.
705 * manual/charset.texi: Likewise.
706 * manual/filesys.texi: Likewise.
707 * manual/stdio.texi: Likewise.
708 * manual/string.texi: Likewise.
709 * stdlib/fmtmsg.c: Likewise.
710 * sysdeps/i386/stpncpy.S: Likewise.
711 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
712 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
713 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
714 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
715
382466e0
OB
7162013-08-30 Ondřej Bílka <neleai@seznam.cz>
717
718 * elf/dl-open.c: Fix typos.
719 * iconvdata/gbbig5.c: Likewise.
720 * iconvdata/iso-2022-jp.c: Likewise.
721 * iconv/gconv_int.h: Likewise.
722 * iconv/loop.c: Likewise.
723 * nis/rpcsvc/nis.h: Likewise.
724 * resolv/ns_name.c: Likewise.
725 * stdio-common/vfscanf.c: Likewise.
726 * streams/stropts.h: Likewise.
727 * sunrpc/rpc_thread.c: Likewise.
728 * sysdeps/i386/strpbrk.S: Likewise.
729 * sysdeps/ieee754/k_standard.c: Likewise.
730 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
731 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
732 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
733 * sysdeps/mach/hurd/profil.c: Likewise.
734 * sysdeps/s390/dl-procinfo.h: Likewise.
735 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
736 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
737 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
738 * sysdeps/x86_64/dl-trampoline.S: Likewise.
739 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
740
0186c6e9
OB
7412013-08-30 Ondřej Bílka <neleai@seznam.cz>
742
743 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
745
d4e16af1
OB
7462013-08-29 Ondřej Bílka <neleai@seznam.cz>
747
748 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
749 aix specific files.
750 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
752 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
753 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
754 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
755 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
756 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
757 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
758
88335980
TS
7592013-08-29 Thomas Schwinge <thomas@codesourcery.com>
760 Roland McGrath <roland@hack.frob.com>
761
762 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
763 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
764
ed479b02
ST
7652013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
766
767 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
768 __executable_start symbol instead of _start.
769
f1cc4c86
TS
7702013-08-29 Thomas Schwinge <thomas@codesourcery.com>
771
d821f07c
TS
772 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
773 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
774 Move macros to...
775 * sysdeps/gnu/ldsodefs.h: ... this new file.
776
c54290cf
TS
777 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
778 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
779 instead of ELFOSABI_LINUX.
780
0007fc9b 781 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
782 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
783 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
784 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
785 Likewise.
786 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
787 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
788 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
789 Likewise.
790 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
791 (ibm_extended_long_double): Add ieee_nan member.
792 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
793 (do_test): New function.
794
f1cc4c86
TS
795 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
796 TEST_TRUNC.
797 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
798 functions, renamed from truncdfsf_test, trunctfsf_test,
799 trunctfdf_test.
800 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
801 functions.
802 (do_test): Run all these.
803
6f65e668
OB
8042013-08-29 Ondřej Bílka <neleai@seznam.cz>
805
806 * argp/argp-help.c: Fix typos.
807 * argp/argp-parse.c: Likewise.
808 * debug/backtracesyms.c: Likewise.
809 * elf/elf.h: Likewise.
810 * malloc/malloc.c: Likewise.
811 * nis/nis_print.c: Likewise.
812 * resolv/res_comp.c: Likewise.
813 * stdlib/stdlib.h: Likewise.
814 * sunrpc/clnt_tcp.c: Likewise.
815 * sunrpc/clnt_udp.c: Likewise.
816 * sunrpc/clnt_unix.c: Likewise.
817 * sysdeps/unix/bsd/ptsname.c: Likewise.
818 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
819 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
821 Likewise.
822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
823 Likewise.
824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
825 Likewise.
6f65e668
OB
826 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
827
3a309239
SP
8282013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
829
830 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
832
3b813b29
MF
8332013-08-27 Mike Frysinger <vapier@gentoo.org>
834
835 [BZ #15897]
836 * dlfcn/Makefile (tests): Add bug-dl-leaf.
837 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
838 ($(objpfx)bug-dl-leaf): New rule.
839 ($(objpfx)bug-dl-leaf.so): Likewise.
840 ($(objpfx)bug-dl-leaf.out): Likewise.
841 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
842 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
843 * dlfcn/bug-dl-leaf.c: New test.
844 * dlfcn/bug-dl-leaf-lib.c: Likewise.
845 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
846 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
847 (dlclose): Likewise.
848 (dlmopen): Likewise.
849
8cc3269f
RM
8502013-08-27 Roland McGrath <roland@hack.frob.com>
851
7f9d0034
RM
852 * include/netdb.h [!_ISOMAC]:
853 Don't include <tls.h>.
854 (h_errno, __libc_h_errno): Move declaration and macros out of
855 [_LIBC_REENTRANT].
856
fb431262
RM
857 * include/resolv.h [_RESOLV_H_]:
858 Don't include <tls.h>.
859 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
860 * resolv/res_libc.c: Don't include <tls.h>.
861 (_res): Use __attribute__ ((nocommon)) in place of
862 __attribute__ ((section (".bss"))).
863
bd81123a
RM
864 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
865 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
866
c4e42566
RM
867 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
868
f890a59b
RM
869 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
870 only under [SIOCGIFCONF && SIOCGIFNETMASK].
871
872 * resolv/res_mkquery.c: Include <sys/time.h>.
873
5d1f0a09
RM
874 * inet/ifreq.c: Moved to ...
875 * sysdeps/unix/ifreq.c: ... here.
876 * inet/ifreq.c: New file, true stub version.
877
6fcf28b3
RM
878 * socket/sa_len.c: New file.
879 * socket/Makefile (aux): Add it.
880 * sysdeps/unix/sysv/linux/Makefile
881 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
882 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
883 and #include <socket/sa_len.c>.
884 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
885 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
886
e041fb8b
RM
887 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
888 * bits/socket.h: ... here.
889
8cc3269f
RM
890 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
891 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
892 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
893
5d228a43
AS
8942013-08-27 Andreas Schwab <schwab@suse.de>
895
45b8accc
AS
896 [BZ #15736]
897 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
898 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
899 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
900 * string/test-strcasecmp.c (test_main): Run tests in several
901 locales.
902 * string/test-strncasecmp.c (test_main): Likewise.
903
5d228a43
AS
904 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
905 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
906 to __strcasecmp_nonascii and __strncasecmp_nonascii.
907 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
908 (__strncasecmp_ssse3) [PIC]: Likewise.
909
59d112a4
RM
9102013-08-26 Roland McGrath <roland@hack.frob.com>
911
53234cc3
RM
912 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
913
59d112a4
RM
914 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
915 instead of explicitly declaring xdecrypt.
916 * nis/nss_nis/nis-publickey.c: Likewise.
917
595aba70
SP
9182013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
919
920 [BZ #15890]
921 * nscd/aicache.c: Include res_hconf.h.
922 (addhstaiX): Initialize res_hconf.
923
ffabd393
AS
9242013-08-26 Andreas Schwab <schwab@suse.de>
925
926 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
927 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
928
e0a69f5c
SP
9292013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
930
931 * nscd/aicache.c (addhstaiX): Fix indentation.
932
8c12f01d
MF
9332013-08-25 Mike Frysinger <vapier@gentoo.org>
934
935 * configure.ac: Quote $build_pt_chown test.
936 * configure: Regenerated.
937
8fe89494
JM
9382013-08-23 Joseph Myers <joseph@codesourcery.com>
939
940 [BZ #15532]
941 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
942 * math/s_cexpf.c (__cexpf): Likewise.
943 * math/s_cexpl.c (__cexpl): Likewise.
944 * math/libm-test.inc (cexp_test_data): Correct expected return
945 value for NaN + i0. Add another test.
946
75b181d6
DM
9472013-08-22 David S. Miller <davem@davemloft.net>
948
949 * po/ca.po: Update Catalan translation from translation project.
936241e4 950 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 951
acd06bb1
JM
9522013-08-21 Joseph Myers <joseph@codesourcery.com>
953
954 [BZ #15797]
955 * math/s_fdim.c (__fdim): Check for infinite arguments if result
956 is infinite, not alongside NaN test.
957 * math/s_fdimf.c (__fdimf): Likewise.
958 * math/s_fdiml.c (__fdiml): Likewise.
959 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
960 errno is unchanged.
961
c0c3f78a
OB
9622013-08-21 Ondřej Bílka <neleai@seznam.cz>
963
964 * argp/argp-help.c: Fix typos.
965 * crypt/speeds.c: Likewise.
966 * csu/check_fds.c: Likewise.
967 * elf/dl-load.c: Likewise.
968 * elf/dl-open.c: Likewise.
969 * elf/reldep3.c: Likewise.
970 * elf/reldep.c: Likewise.
971 * elf/sprof.c: Likewise.
972 * iconv/iconv_charmap.c: Likewise.
973 * iconv/skeleton.c: Likewise.
974 * iconv/strtab.c: Likewise.
975 * io/lockf64.c: Likewise.
976 * libio/libioP.h: Likewise.
977 * resolv/gai_notify.c: Likewise.
978 * resolv/ns_name.c: Likewise.
979 * resolv/ns_samedomain.c: Likewise.
980 * resolv/res_send.c: Likewise.
981 * stdlib/random.c: Likewise.
982 * sunrpc/rpc/xdr.h: Likewise.
983 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
984 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
985 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
986 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
987 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
988 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
989 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
990 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
991 * sysdeps/mach/hurd/check_fds.c: Likewise.
992 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
993 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
994 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
995 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
996 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
997 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
998 * sysdeps/pthread/aio_notify.c: Likewise.
999 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1000 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1001 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1002 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1003 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1004
46ed1038
LD
10052013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1006
1007 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1008 version if bit_Slow_SSE4_2 is set.
1009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1010 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1011
d400dcac
AZ
10122013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1013
1014 [BZ #15867]
1015 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1016 trampoline stack frame information.
1017 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1018 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1019 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1020 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1021 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1022 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1023 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1024 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1025 sa_flags value.
1026 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1027 interrupting a syscall and set with option SA_SIGINFO.
1028
42c8fdd8
JM
10292013-08-20 Joseph Myers <joseph@codesourcery.com>
1030
c980f2f4
JM
1031 [BZ #15531]
1032 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1033 argument is infinite.
1034 * math/s_cprojf.c (__cprojf): Likewise.
1035 * math/s_cprojl.c (__cprojl): Likewise.
1036 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1037 * math/libm-test.inc (cproj_test_data): Add more tests.
1038
0716c4fc
JM
1039 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1040
42c8fdd8
JM
1041 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1042 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1043 size. Use __ffs to determine corresponding shift.
1044
b31469d0
JM
10452013-08-20 Joseph Myers <joseph@codesourcery.com>
1046 Roland McGrath <roland@hack.frob.com>
1047
1048 * Makefile (INSTALL): Remove trailing blank lines from output of
1049 makeinfo.
1050
4e39af6e
AK
10512013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1052
1053 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1054 Align 32 bit compat elf_greg to 8 bytes.
1055
f315524e
AA
10562013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1057
1058 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1059
1326ba1a
SP
10602013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1061
1062 * string/strcoll_l.c (coll_seq): New structure.
1063 (get_next_seq_cached): New function.
1064 (get_next_seq): New function.
1065 (do_compare): New function.
1066 (STRCOLL): Use GNU style definition. Simplify implementation
1067 by using get_next_seq, get_next_seq_cached and do_compare.
1068
91ce4085
FW
10692013-08-16 Florian Weimer <fweimer@redhat.com>
1070
1071 [BZ #14699]
1072 CVE-2013-4237
1073 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1074 member.
1075 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1076 member.
1077 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1078 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1079 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1080 conditional.
1081 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1082 GETDENTS_64BIT_ALIGNED.
1083 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1084 * manual/filesys.texi (Reading/Closing Directory): Document
1085 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1086 strongly.
1087 * manual/conf.texi (Limits for Files): Add portability note to
1088 NAME_MAX, PATH_MAX.
1089 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1090
ca0a6bc4
AS
10912013-08-13 Andreas Schwab <schwab@suse.de>
1092
1093 [BZ #15749]
1094 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1095 of fabs.
1096 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1097 LDBL_MAX_EXP >= 16384]: Add tests for it.
1098
6c1fd795
DM
10992013-08-12 David S. Miller <davem@davemloft.net>
1100
1101 * version.h (RELEASE): Set to "development".
1102 (VERSION): Set to "2.18.90".
1103 * NEWS: Add 2.19 section.
1104
31ad488d
DM
11052013-08-03 David S. Miller <davem@davemloft.net>
1106
1107 * po/ko.po: Update Korean translation from translation project.
1108
db24e684
DM
11092013-08-01 David S. Miller <davem@davemloft.net>
1110
1111 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1112 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1113 Bilka.
1114
f723285b
DM
11152013-07-30 David S. Miller <davem@davemloft.net>
1116
1117 * po/fr.po: Update French translation from translation project.
1118
3cbc52db
DM
11192013-07-28 David S. Miller <davem@davemloft.net>
1120
30bbc0cc
DM
1121 * po/cs.po: Update Czech translation from translation project.
1122
3cbc52db
DM
1123 * po/sv.po: Update Swedish translation from translation project.
1124
d492e6d0
DM
11252013-07-27 David S. Miller <davem@davemloft.net>
1126
f1a7f492
DM
1127 * po/eo.po: Update Esperanto translation from translation project.
1128
90e62a4a
DM
1129 * po/vi.po: Update Vietnamese translation from translation project.
1130
d492e6d0
DM
1131 * po/de.po: Update German translation from translation project.
1132
d4baa62d
DM
11332013-07-26 David S. Miller <davem@davemloft.net>
1134
641aa7b4
DM
1135 * po/bg.po: Update Bulgarian translation from translation project.
1136
d4baa62d
DM
1137 * po/nl.po: Update Dutch translation from translation project.
1138 * po/pl.po: Update Polish translation from translation project.
1139 * po/ru.po: Update Russian translation from translation project.
1140
61a9dcb9
DM
11412013-07-24 David S. Miller <davem@davemloft.net>
1142
1143 * po/libc.pot: Update.
1144
7b1f8b58
AZ
11452013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1146
1147 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1148 variable page size.
1149 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1150 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1151 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1152
a8fc7a03
AK
11532013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1154
1155 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1156
e4608715
CD
11572013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1158 Andreas Schwab <schwab@suse.de>
1159 Roland McGrath <roland@hack.frob.com>
1160 Joseph Myers <joseph@codesourcery.com>
1161 Carlos O'Donell <carlos@redhat.com>
1162
1163 [BZ #15755]
1164 * config.h.in: Define HAVE_PT_CHOWN.
1165 * config.make.in (build-pt-chown): New variable.
1166 * configure.in (--enable-pt_chown): New configure option.
1167 * configure: Regenerate.
1168 * login/Makefile: Include Makeconfig. Build pt_chown only if
1169 build-pt-chown is enabled.
1170 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1171 pt_chown to fix pty ownership.
1172 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1173 CLOSE_ALL_FDS.
1174 * manual/install.texi (Configuring and compiling): Mention
1175 --enable-pt_chown. Add @findex for grantpt.
1176 * INSTALL: Regenerate.
1177
da2d62df
DM
11782013-07-20 David S. Miller <davem@davemloft.net>
1179
1180 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1181 difference between 32-bit and 64-bit.
1182
d7e06450
CD
11832013-07-15 Carlos O'Donell <carlos@redhat.com>
1184
1185 [BZ #15711]
1186 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1187 Avoid system header dependency with -ffreestanding.
1188 ($(objpfx)bits/syscall%d): Likewise.
1189
f959cfd7
DM
11902013-07-13 David S. Miller <davem@davemloft.net>
1191
1192 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1193 underflows from atanl/atan2l due to bug 15319.
1194 (casinh_test_data): Likewise.
1195
c61f8513
DM
11962013-07-07 David S. Miller <davem@davemloft.net>
1197
1198 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1199
72c90ed0
JA
12002013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1201
1202 * sysdeps/i386/fpu/libm-test-ulps: Update.
1203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1204
52dfbe13
SP
12052013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1206
1207 * configure.in (--enable-lock-elision): Fix message text.
1208 * INSTALL: Regenerate.
1209 * configure: Regenerate.
1210
3f169543
AZ
12112013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1212
1213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1214
521c6785
AJ
12152013-07-03 Andreas Jaeger <aj@suse.de>
1216
1217 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1218 define.
1219 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1220 (ptrace_peeksiginfo_args): Add.
1221 (__ptrace_peeksiginfo_flags): Add.
1222 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1223 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1224 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1225
d2cc15cb
AM
12262013-07-03 Allan McRae <allan@archlinux.org>
1227
1228 * sysdeps/i386/fpu/libm-test-ulps: Update.
1229
3aaeeca7
DM
12302013-07-02 David S. Miller <davem@davemloft.net>
1231
1232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1233
5314ed1a
MT
12342013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1235
1236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1237
67338156
JM
12382013-07-02 Joseph Myers <joseph@codesourcery.com>
1239
1240 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1242
1717da59
AK
12432013-07-02 Andi Kleen <ak@linux.intel.com>
1244
1245 * config.h.in (ENABLE_LOCK_ELISION): Add.
1246 * configure.in (--enable-lock-elision): Add option.
1247 * manual/install.texi: Document --enable lock elision.
1248 * configure: Regenerate
1249 * INSTALL: Regenerate.
1250
1c81621c
L
12512013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1252
1253 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1254 SSE4.2 strcasecmp for libc.a.
1255 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1256
77f01ab5
JM
12572013-07-02 Joseph Myers <joseph@codesourcery.com>
1258
1259 [BZ #13304]
1260 * soft-fp/op-common.h (_FP_FMA): New macro.
1261 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1262 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1263 (_FP_MUL_MEAT_1_imm): ... here.
1264 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1265 (_FP_MUL_MEAT_1_wide): ... here.
1266 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1267 (_FP_MUL_MEAT_1_hard): ... here.
1268 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1269 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1270 (_FP_MUL_MEAT_2_wide): ... here.
1271 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1272 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1273 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1274 (_FP_MUL_MEAT_2_gmp): ... here.
1275 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1276 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1277 (_FP_MUL_MEAT_4_wide): ... here.
1278 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1279 (_FP_MUL_MEAT_4_gmp): ... here.
1280 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1281 (_FP_WFRACBITS_DW_S): Likewise.
1282 (_FP_WFRACXBITS_DW_S): Likewise.
1283 (_FP_HIGHBIT_DW_S): Likewise.
1284 (FP_FMA_S): Likewise.
1285 (_FP_FRAC_HIGH_DW_S): Likewise.
1286 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1287 (_FP_WFRACBITS_DW_D): Likewise.
1288 (_FP_WFRACXBITS_DW_D): Likewise.
1289 (_FP_HIGHBIT_DW_D): Likewise.
1290 (FP_FMA_D): Likewise.
1291 (_FP_FRAC_HIGH_DW_D): Likewise.
1292 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1293 (_FP_WFRACBITS_DW_E): Likewise.
1294 (_FP_WFRACXBITS_DW_E): Likewise.
1295 (_FP_HIGHBIT_DW_E): Likewise.
1296 (FP_FMA_E): Likewise.
1297 (_FP_FRAC_HIGH_DW_E): Likewise.
1298 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1299 (_FP_WFRACBITS_DW_Q): Likewise.
1300 (_FP_WFRACXBITS_DW_Q): Likewise.
1301 (_FP_HIGHBIT_DW_Q): Likewise.
1302 (FP_FMA_Q): Likewise.
1303 (_FP_FRAC_HIGH_DW_Q): Likewise.
1304 * soft-fp/fmasf4.c: New file.
1305 * soft-fp/fmadf4.c: Likewise.
1306 * soft-fp/fmatf4.c: Likewise.
1307
6308fd9a
LD
13082013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1309
1310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1311 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1312 Silvermont.
1313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1314 macro.
1315 (index_Slow_SSE4_2): Likewise.
1316 (index_Prefer_PMINUB_for_stringop): Likewise.
1317 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1318 bit_Slow_SSE4_2 is set.
1319 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1320 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1321
89cd9569
RA
13222013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1323
1324 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1325 rtld_global._dl_hwcap2.
1326 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1327 POWER8.
1328 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1329 POWER8 feature descriptions defined in _dl_hwcap2.
1330 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1331 string handling for POWER8 feature bits.
1332 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1333 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1334 _dl_powerpc_cap_flags.
1335 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1336 * sysdeps/powerpc/rtld-global-offsets.sym
1337 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1338 _dl_hwcap2 in the rtld_global_ro structure.
1339
1ae8bfe0
RA
13402013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1341
1342 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1343 hardware capabilities in support of AT_HWCAP2.
1344 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1345 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1346 GLRO(dl_hwcap2).
1347 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1348 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1349 explicitly the unknown a_type display mechanism is used.
1350 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1351 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1352 struct member.
1353 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1354 to macro prototype for AT_HWCAP2 support.
1355 * sysdeps/i386/dl-procinfo.h: Likewise.
1356 * sysdeps/s390/dl-procinfo.h: Likewise.
1357 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1358 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1359 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1360 return -1 for unknown a_type display fallback.
1361 * sysdeps/sparc/dl-procinfo.h: Likewise.
1362 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1363 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1364
8fbec010
JM
13652013-06-28 Joseph Myers <joseph@codesourcery.com>
1366
1367 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1368 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1369
0432680e
PY
13702013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1371
1372 [BZ #12492]
1373 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1374 mprotect making __stack_prot writable.
1375
ce61a2ad
NF
13762013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1377 Joseph Myers <joseph@codesourcery.com>
1378
1379 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1380 as being properly aligned.
1381
f91f1c0f
MR
13822013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1383
3d0f5d0c
MR
1384 * dlfcn/modstatic5.c: New file.
1385 * dlfcn/tststatic5.c: New file.
1386 * dlfcn/Makefile (tests): Add tststatic5.
1387 (tests-static): Likewise.
1388 (modules-names): Add modstatic5.
1389 (tststatic5-ENV): New variable.
1390 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1391
f91f1c0f
MR
1392 [BZ #15022]
1393 * elf/dl-support.c (_dl_main_map): New variable.
1394 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1395 (_dl_nns, _dl_load_adds): Set to 1.
1396 (_dl_initial_searchlist): Refer to _dl_main_map.
1397 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1398 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1399 call to _dl_get_origin.
1400 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1401 around call_map.
1402 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1403 * dlfcn/modstatic3.c: New file.
1404 * dlfcn/tststatic3.c: New file.
1405 * dlfcn/tststatic4.c: New file.
1406 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1407 (tests-static): Likewise.
1408 (modules-names): Add modstatic3.
1409 (tststatic3-ENV, tststatic4-ENV): New variables.
1410 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1411 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1412
cbe7d24b
JM
14132013-06-26 Joseph Myers <joseph@codesourcery.com>
1414
1415 * configure.in (CC): Require GCC version 4.4 or later.
1416 * configure: Regenerated.
1417 * manual/install.texi (Tools for Compilation): Update GCC version
1418 requirement.
1419 * INSTALL: Regenerated.
1420
11b8a0e1
LD
14212013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1422
1423 [BZ #15674]
bb5bb87c
L
1424 * string/test-memcmp.c (check2): New.
1425 (main): Call check2.
1426
11b8a0e1
LD
1427 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1428
b0037103
MR
14292013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1430
1431 [BZ #15022]
1432 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1433 over to...
1434 (dl_open_worker) [!SHARED]: ... here.
1435
c18c701d
RA
14362013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1437
1438 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1439
1d17fa5f
RH
14402013-06-25 Richard Henderson <rth@redhat.com>
1441
1442 * locale/programs/locarchive.c: Include <libc-internal.h>
1443
8fcb833a
JM
14442013-06-25 Joseph Myers <joseph@codesourcery.com>
1445
1446 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1447 trailing whitespace removed.
1448
17db6e8d
MF
14492013-06-24 Mike Frysinger <vapier@gentoo.org>
1450
1451 [BZ #10283]
17db6e8d
MF
1452 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1453 * locale/programs/locarchive.c: Include libc-mmap.h.
1454 (prepare_address_space): Take two new outputs (the mmap base and len).
1455 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1456 values.
1457 (create_archive): Declare new mmap base and len values for
1458 prepare_address_space, and store the result in ah.
1459 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1460 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1461 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1462 Declare new mmap base and len values for
1463 prepare_address_space, and store the result in new_ah.
1464 (open_archive): Declare new mmap base and len values for
1465 prepare_address_space, and store the result in ah.
1466 (close_archive): If ah->mmap_base is not NULL, use that and
1467 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1468 * sysdeps/generic/libc-mmap.h: New file.
1469
d605071e
MF
14702013-06-24 Mike Frysinger <vapier@gentoo.org>
1471
1472 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1473 (ALIGN_UP): Likewise.
1474 (PTR_ALIGN_DOWN): Likewise.
1475 (PTR_ALIGN_UP): Likewise.
1476
2f063a6e
RA
14772013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1478
1479 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1480 entry mapped to PPC_PLATFORM_POWER8.
1481 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1482 POWER8.
1483 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1484 (_dl_string_platform): Add case for exporting platform position for
1485 POWER8.
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1487 search path to sysdeps/powerpc/powerpc32/power8 directory.
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1489 search path to sysdeps/powerpc/powerpc64/power8 directory.
1490 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1491 power7 directories.
1492 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1493 power7 directories.
1494
a31ee4b3
SP
14952013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1496
a74ca98f
SP
1497 * INSTALL: Regenerate.
1498
a31ee4b3
SP
1499 * nscd/connections.c (nscd_init): Fix comment.
1500
695c378f
JM
15012013-06-22 Joseph Myers <joseph@codesourcery.com>
1502
d8412221
JM
1503 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1504
695c378f
JM
1505 [BZ #15667]
1506 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1507 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1508
d1d54715
MR
15092013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1510
1511 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1512 DL_DST_REQ_STATIC.
1513 (DL_DST_REQ_STATIC): Remove macro.
1514
8fdda7af
JM
15152013-06-21 Joseph Myers <joseph@codesourcery.com>
1516
1517 [BZ #7006]
1518 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1519 with a shift of 0 bits.
1520
f3bc5e5a
MR
15212013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1522
1523 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1524 $(tststatic-ENV).
1525
be09e8c9
KK
15262013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1527
1528 [BZ #15655]
1529 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1530
85c2e611
AZ
15312013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1532
1533 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1534 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1535 accepts -fno-tree-loop-distribute-patterns.
1536 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1537 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1538 recursive call.
1539 * string/memset.c (memset): Likewise.
1540 * string/test-memmove.c (simple_memmove): Disable loop transformation
1541 to library calls.
1542 * string/test-memset.c (simple_memset): Likewise.
1543 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1544 * benchtests/bench-memset.c (simple_memset): Likewise.
1545 * configure: Regenerated.
1546
c91e0825
JM
15472013-06-20 Joseph Myers <joseph@codesourcery.com>
1548
b8c792af
JM
1549 * math/test-misc.c (main): Ignore fesetround failure when failures
1550 of subsequent rounding tests would be ignored.
1551
c91e0825
JM
1552 [BZ #15654]
1553 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1554 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1555 * math/fegetenv.c (__fegetenv): Return 0.
1556 * math/fegetexcept.c (fegetexcept): Return 0.
1557 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1558 FE_TONEAREST.
1559 * math/feholdexcpt.c (feholdexcept): Return 0.
1560 * math/fesetenv.c (__fesetenv): Return 0.
1561 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1562 argument FE_TONEAREST.
1563 * math/feupdateenv.c (__feupdateenv): Return 0.
1564 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1565
bfcacbde
RM
15662013-06-18 Roland McGrath <roland@hack.frob.com>
1567
1568 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1569 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1570 ($(objpfx)rtld-%.os rules): Use them.
1571
e55a9b25
AZ
15722013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1573
1574 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1575 fields.
1576
346d65b3
RM
15772013-06-17 Roland McGrath <roland@hack.frob.com>
1578
12086fb4
RM
1579 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1580 length of target pattern, then descending length of dependency pattern.
1581 * configure.in (AWK): Require gawk 3.1.2 or newer.
1582 * manual/install.texi (Tools for Compilation): Say that we do.
1583 * configure: Regenerated.
1584
346d65b3
RM
1585 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1586 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1587 * scripts/sysd-rules.awk: ... this new script.
1588 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1589 than a glob-style pattern.
1590
1a846317
JM
15912013-06-17 Joseph Myers <joseph@codesourcery.com>
1592
1593 * math/test-misc.c (main): Do not treat incorrectly rounded
1594 conversions as failure unless ROUNDING_TESTS passes.
1595
8fc75e6f
JM
15962013-06-15 Joseph Myers <joseph@codesourcery.com>
1597
3711a167
JM
1598 [BZ #15631]
1599 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1600 restore exception state around main square root computation, then
1601 check for inexactness explicitly.
1602
8fc75e6f
JM
1603 * math/libm-test.inc (fma_test_data): Add another test.
1604
61dd6208
SP
16052013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1606
adf23d2c
SP
1607 * manual/threads.texi (Non-POSIX Extensions): New document
1608 node. Document pthread_getattr_default_np and
1609 pthread_setattr_default_np.
1610
61dd6208
SP
1611 * Versions.def (libpthread): Add GLIBC_2.18.
1612 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1614 Likewise.
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1616 Likewise.
1617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1618 Likewise.
1619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1620 Likewise.
1621 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1622 Likewise.
1623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1624 Likewise.
1625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1626 Likewise.
1627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1628 Likewise.
1629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1630 Likewise.
1631
d086fc7b
LD
16322013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1633
1634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1635 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1636
747ef469
SP
16372013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1638 H.J. Lu <hjl.tools@gmail.com>
1639
1640 [BZ #15627]
1641 * sysdeps/x86_64/rtld-memset.c: Remove file.
1642 * sysdeps/x86_64/rtld-memset.S: New file.
1643
1b2feed2
JM
16442013-06-14 Joseph Myers <joseph@codesourcery.com>
1645
1646 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1647 (test_in_one_mode): Take arguments for whether the rounding mode
1648 is supported for each floating-point type.
1649 (do_test): Pass new arguments to test_in_one_mode using
1650 ROUNDING_TESTS.
1651
a58ad3f8
RM
16522013-06-13 Roland McGrath <roland@hack.frob.com>
1653
1654 * posix/tst-waitid.c (do_test): Distinguish different instances of
1655 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1656 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1657 before entering the kernel for waitpid.
1658
c204ab28
SP
16592013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1660
1661 * NEWS: Fix note on clock function precision. Text by Roland
1662 McGrath.
1663
f4a29fba
RM
16642013-06-13 Roland McGrath <roland@hack.frob.com>
1665
1666 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1667 it into place only when and if the sanity check passes.
1668
1f24b9ad
JM
16692013-06-13 Joseph Myers <joseph@codesourcery.com>
1670
1671 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1672 output for whether conversion result is exact. Take argument
1673 indicating whether type is IBM long double.
1674 (round_for_all): Change need_exact field to ibm_ld.
1675 * stdlib/tst-strtod-round.c (struct exactness): New type.
1676 (struct test): Change bool ld_ok field to struct exactness exact.
1677 (TEST): Update all definitions for change to field.
1678 (tests): Regenerate array contents.
1679 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1680 field value. Check for IBM long double here.
1681 (do_test): Update calls to test_in_one_mode.
1682
58206c68
SP
16832013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1684
1685 [BZ #12515]
1686 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1687 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1688
2d6f4c5b 16892013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1690
1691 [BZ #15605]
1692 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1693 generated by the compiler on loop optimizations.
1694 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1695 general definitions.
1696
94f2c076
JM
16972013-06-12 Joseph Myers <joseph@codesourcery.com>
1698
1699 * math/bug-nextafter.c: Include <math-tests.h>.
1700 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1701 the relevant type.
1702 * math/bug-nexttoward.c: Include <math-tests.h>.
1703 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1704 the relevant type.
1705 * math/test-misc.c: Include <math-tests.h>.
1706 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1707 the relevant type.
1708
e0e50a0a
AJ
17092013-06-12 Andreas Jaeger <aj@suse.de>
1710
1711 * po/ia.po: Update Interlingua translation from translation
1712 project.
1713
25061094
SP
17142013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1715
1716 * include/fenv.h: Include stdbool.h.
1717 (struct rm_ctx): New structure.
1718 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1719 Define macro.
1720 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1721 (SET_RESTORE_ROUNDF): Likewise.
1722 (SET_RESTORE_ROUNDL): Likewise.
1723 (SET_RESTORE_ROUND_NOEX): Likewise.
1724 (SET_RESTORE_ROUND_NOEXF): Likewise.
1725 (SET_RESTORE_ROUND_NOEXL): Likewise.
1726 (SET_RESTORE_ROUND_53BIT): Likewise.
1727 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1728 (libc_feresetround_noexf_ctx): Likewise.
1729 (libc_feresetround_noexl_ctx): Likewise.
1730 (libc_feholdsetround_53bit_ctx): Likewise.
1731 (libc_feresetround_53bit_ctx): Likewise.
1732 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1733 (libc_feholdexcept_setround_sse_ctx): New function.
1734 (libc_fesetenv_sse_ctx): Likewise.
1735 (libc_feupdateenv_sse_ctx): Likewise.
1736 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1737 (libc_feholdexcept_setround_387_ctx): Likewise.
1738 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1739 (libc_feholdsetround_387_prec_ctx): Likewise.
1740 (libc_feholdsetround_387_ctx): Likewise.
1741 (libc_feholdsetround_387_53bit_ctx): Likewise.
1742 (libc_feholdsetround_sse_ctx): Likewise.
1743 (libc_feresetround_sse_ctx): Likewise.
1744 (libc_feresetround_387_ctx): Likewise.
1745 (libc_feupdateenv_387_ctx): Likewise.
1746 (libc_feholdexcept_setroundf_ctx): Define macro.
1747 (libc_fesetenvf_ctx): Likewise.
1748 (libc_feupdateenvf_ctx): Likewise.
1749 (libc_feholdsetroundf_ctx): Likewise.
1750 (libc_feresetroundf_ctx): Likewise.
1751 (libc_feholdexcept_setround_ctx): Likewise.
1752 (libc_fesetenv_ctx): Likewise.
1753 (libc_feupdateenv_ctx): Likewise.
1754 (libc_feholdsetround_ctx): Likewise.
1755 (libc_feresetround_ctx): Likewise.
1756 (libc_feholdexcept_setroundl_ctx): Likewise.
1757 (libc_feupdateenvl_ctx): Likewise.
1758 (libc_feholdsetroundl_ctx): Likewise.
1759 (libc_feresetroundl_ctx): Likewise.
1760 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1761 (libc_feresetround_53bit_ctx): Likewise.
1762
59b30555
SP
17632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1764
1765 * locale/iso-639.def: Convert to UTF-8.
1766
f1d73d30
JM
17672013-06-11 Joseph Myers <joseph@codesourcery.com>
1768
1769 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1770 (EXCEPTION_TESTS_double): Likewise.
1771 (EXCEPTION_TESTS_long_double): Likewise.
1772 (EXCEPTION_TESTS): Likewise.
1773 * math/libm-test.inc (test_exceptions): Only test exceptions if
1774 EXCEPTION_TESTS (FLOAT).
1775
94aca5e7
SP
17762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1777
1778 * benchtests/Makefile (string-bench): Add strcpy_chk and
1779 stpcpy_chk.
1780 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1781 * benchtests/bench-stpcpy_chk.c: New file.
1782 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1783 * benchtests/bench-strcpy_chk.c: New file.
1784 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1785 code.
1786 (do_test): Likewise.
1787
fac0c5f2
RA
17882013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1789
1790 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1791 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1792 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1793 with tabs where appropriate.
1794 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1795 dl-procinfo.h.
1796 [PPC_PLATFORM_PPC440]: Likewise.
1797 [PPC_PLATFORM_PPC464]: Likewise.
1798 [PPC_PLATFORM_PPC476]: Likewise.
1799 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1800 ppc464, and ppc476 platform strings merging from ports/
1801 dl-procinfo.h.
1802
f22bc486
AS
18032013-06-11 Andreas Schwab <schwab@suse.de>
1804
1805 [BZ #14991]
1806 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1807 (from_ucs4_idx): Regenerate.
1808 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1809 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1810 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1811 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1812 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1813 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1814 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1815 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1816 from FROM_LOOP and TO_LOOP specific macros.
1817 (BODY): Handle combining characters.
1818 * iconvdata/BIG5HKSCS.irreversible: Update.
1819 * iconvdata/BIG5HKSCS.precomposed: New file.
1820 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1821 characters.
1822 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1823
c1f75dc3
SP
18242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1825
4eacded2
SP
1826 * include/sys/time.h: Fix indentation and add copyright header.
1827
fec799f8
SP
1828 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1829 (do_test): Likewise.
1830 * string/test-memchr.c (do_one_test): Likewise.
1831 (do_test): Likewise.
1832 * string/test-memcmp.c (do_one_test): Likewise.
1833 (do_test): Likewise.
1834 * string/test-memcpy.c (do_one_test): Likewise.
1835 (do_test): Likewise.
1836 * string/test-memmem.c (do_one_test): Likewise.
1837 (do_test): Likewise.
1838 (do_random_tests): Likewise.
1839 * string/test-memmove.c (do_one_test): Likewise.
1840 (do_test): Likewise.
1841 * string/test-memset.c (do_one_test): Likewise.
1842 (do_test): Likewise.
1843 * string/test-rawmemchr.c (do_one_test): Likewise.
1844 (do_test): Likewise.
1845 * string/test-strcasecmp.c (do_one_test): Likewise.
1846 (do_test): Likewise.
1847 * string/test-strcasestr.c (do_one_test): Likewise.
1848 (do_test): Likewise.
1849 * string/test-strcat.c (do_one_test): Likewise.
1850 (do_test): Likewise.
1851 * string/test-strchr.c (do_one_test): Likewise.
1852 (do_test): Likewise.
1853 * string/test-strcmp.c (do_one_test): Likewise.
1854 (do_test): Likewise.
1855 * string/test-strcpy.c (do_one_test): Likewise.
1856 (do_test): Likewise.
1857 * string/test-string.h: Likewise.
1858 (test_init): Likewise.
1859 * string/test-strlen.c (do_one_test): Likewise.
1860 (do_test): Likewise.
1861 * string/test-strncasecmp.c (do_one_test): Likewise.
1862 (do_test): Likewise.
1863 * string/test-strncat.c (do_one_test): Likewise.
1864 (do_test): Likewise.
1865 * string/test-strncmp.c (do_one_test): Likewise.
1866 (do_test_limit): Likewise.
1867 (do_test): Likewise.
1868 * string/test-strncpy.c (do_one_test): Likewise.
1869 (do_test): Likewise.
1870 * string/test-strnlen.c (do_one_test): Likewise.
1871 (do_test): Likewise.
1872 * string/test-strpbrk.c (do_one_test): Likewise.
1873 (do_test): Likewise.
1874 * string/test-strrchr.c (do_one_test): Likewise.
1875 (do_test): Likewise.
1876 * string/test-strspn.c (do_one_test): Likewise.
1877 (do_test): Likewise.
1878 * string/test-strstr.c (do_one_test): Likewise.
1879 (do_test): Likewise.
1880
97020474
SP
1881 * benchtests/Makefile (string-bench): Add string benchmarks.
1882 * benchtests/bench-bcopy-ifunc.c: New file.
1883 * benchtests/bench-bcopy.c: New file.
1884 * benchtests/bench-bzero-ifunc.c: New file.
1885 * benchtests/bench-bzero.c: New file.
1886 * benchtests/bench-memccpy-ifunc.c: New file.
1887 * benchtests/bench-memccpy.c: New file.
1888 * benchtests/bench-memchr-ifunc.c: New file.
1889 * benchtests/bench-memchr.c: New file.
1890 * benchtests/bench-memcmp-ifunc.c: New file.
1891 * benchtests/bench-memcmp.c: New file.
1892 * benchtests/bench-memmem-ifunc.c: New file.
1893 * benchtests/bench-memmem.c: New file.
1894 * benchtests/bench-memmove-ifunc.c: New file.
1895 * benchtests/bench-memmove.c: New file.
1896 * benchtests/bench-mempcpy-ifunc.c: New file.
1897 * benchtests/bench-mempcpy.c: New file.
1898 * benchtests/bench-memset-ifunc.c: New file.
1899 * benchtests/bench-memset.c: New file.
1900 * benchtests/bench-rawmemchr-ifunc.c: New file.
1901 * benchtests/bench-rawmemchr.c: New file.
1902 * benchtests/bench-stpcpy-ifunc.c: New file.
1903 * benchtests/bench-stpcpy.c: New file.
1904 * benchtests/bench-stpncpy-ifunc.c: New file.
1905 * benchtests/bench-stpncpy.c: New file.
1906 * benchtests/bench-strcasecmp-ifunc.c: New file.
1907 * benchtests/bench-strcasecmp.c: New file.
1908 * benchtests/bench-strcasestr-ifunc.c: New file.
1909 * benchtests/bench-strcasestr.c: New file.
1910 * benchtests/bench-strcat-ifunc.c: New file.
1911 * benchtests/bench-strcat.c: New file.
1912 * benchtests/bench-strchr-ifunc.c: New file.
1913 * benchtests/bench-strchr.c: New file.
1914 * benchtests/bench-strchrnul-ifunc.c: New file.
1915 * benchtests/bench-strchrnul.c: New file.
1916 * benchtests/bench-strcmp-ifunc.c: New file.
1917 * benchtests/bench-strcmp.c: New file.
1918 * benchtests/bench-strcpy-ifunc.c: New file.
1919 * benchtests/bench-strcpy.c: New file.
1920 * benchtests/bench-strcspn-ifunc.c: New file.
1921 * benchtests/bench-strcspn.c: New file.
1922 * benchtests/bench-strlen-ifunc.c: New file.
1923 * benchtests/bench-strlen.c: New file.
1924 * benchtests/bench-strncasecmp-ifunc.c: New file.
1925 * benchtests/bench-strncasecmp.c: New file.
1926 * benchtests/bench-strncat-ifunc.c: New file.
1927 * benchtests/bench-strncat.c: New file.
1928 * benchtests/bench-strncmp-ifunc.c: New file.
1929 * benchtests/bench-strncmp.c: New file.
1930 * benchtests/bench-strncpy-ifunc.c: New file.
1931 * benchtests/bench-strncpy.c: New file.
1932 * benchtests/bench-strnlen-ifunc.c: New file.
1933 * benchtests/bench-strnlen.c: New file.
1934 * benchtests/bench-strpbrk-ifunc.c: New file.
1935 * benchtests/bench-strpbrk.c: New file.
1936 * benchtests/bench-strrchr-ifunc.c: New file.
1937 * benchtests/bench-strrchr.c: New file.
1938 * benchtests/bench-strspn-ifunc.c: New file.
1939 * benchtests/bench-strspn.c: New file.
1940 * benchtests/bench-strstr-ifunc.c: New file.
1941 * benchtests/bench-strstr.c: New file.
1942
c1f75dc3
SP
1943 * benchtests/Makefile: Disable parallel execution of targets.
1944 (string-bench): Add memcpy.
1945 (benchset): New variable to store a list of benchmark sets.
1946 (bench-func): Renamed from bench.
1947 (bench-set): New target.
1948 (bench): Depend on bench-func and bench-set.
1949 * benchtests/README: Add section on benchmark sets.
1950 * benchtests/bench-memcpy-ifunc.c: New file.
1951 * benchtests/bench-memcpy.c: New file.
1952 * benchtests/bench-string.h: New file.
1953
50fd745b
AS
19542013-06-11 Andreas Schwab <schwab@suse.de>
1955
1956 [BZ #15577]
1957 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1958 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1959 values in the triple.
1960 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1961 terminator in the group key.
1962
3ee7e9fe
AJ
19632013-06-11 Andreas Jaeger <aj@suse.de>
1964
1965 * po/zh_TW.po: Update Chinese (traditional) translation from
1966 translation project.
1967
89fb6835
SP
19682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1969
1970 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1971 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1972 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1973 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1974 (clock_getcpuclockid): Likewise.
1975 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1976 Add weak_alias and libc_hidden_def.
1977 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1978 * rt/clock_gettime.c (clock_gettime): Rename to
1979 __clock_gettime. Add weak_alias and libc_hidden_def.
1980 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1981 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1982 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1983 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1984 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1985 Likewise.
1986 * rt/clock_settime.c (clock_settime): Rename to
1987 __clock_settime. Add weak_alias and libc_hidden_def.
1988 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1989
0efa6f8b
JM
19902013-06-10 Joseph Myers <joseph@codesourcery.com>
1991
b8c61b4b
JM
1992 * mach/err_boot.sub: Remove trailing whitespace.
1993 * mach/err_ipc.sub: Likewise.
1994 * mach/err_mach.sub: Likewise.
1995
0efa6f8b
JM
1996 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1997 (ROUNDING_TESTS_double): Likewise.
1998 (ROUNDING_TESTS_long_double): Likewise.
1999 (ROUNDING_TESTS): Likewise.
2000 * math/libm-test.inc: Include <math-tests.h>.
2001 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2002 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2003 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2004 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2005
50b818bf
SP
20062013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2007
2008 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2009 of assigning.
2010
60d2f8f3
JM
20112013-06-08 Joseph Myers <joseph@codesourcery.com>
2012
4902d2c3
JM
2013 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2014 otherwise empty TRANS lines.
2015 * sysdeps/gnu/errlist.c: Regenerated.
2016
60d2f8f3
JM
2017 * catgets/gencat.c (error_print): Use (void) in function
2018 definition.
2019 * crypt/crypt_util.c (__init_des): Likewise.
2020 * crypt/speeds.c (Stop): Likewise.
2021 (main): Likewise.
2022 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2023 * inet/ruserpass.c (token): Likewise.
2024 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2025 * intl/localealias.c (extend_alias_table): Likewise.
2026 * intl/plural-exp.c (init_germanic_plural): Likewise.
2027 * libio/fcloseall.c (__fcloseall): Likewise.
2028 * libio/genops.c (_IO_flush_all): Likewise.
2029 (_IO_flush_all_linebuffered): Likewise.
2030 (_IO_cleanup): Likewise.
2031 (_IO_iter_begin): Likewise.
2032 (_IO_iter_end): Likewise.
2033 (_IO_list_lock): Likewise.
2034 (_IO_list_unlock): Likewise.
2035 (_IO_list_resetlock): Likewise.
2036 * libio/getchar.c (getchar): Likewise.
2037 * libio/getchar_u.c (getchar_unlocked): Likewise.
2038 * libio/getwchar.c (getwchar): Likewise.
2039 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2040 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2041 * login/getpt.c (__getpt): Likewise.
2042 * login/tst-utmp.c (main): Likewise.
2043 * malloc/hooks.c (__malloc_check_init): Likewise.
2044 * malloc/malloc.c (__malloc_stats): Likewise.
2045 * malloc/mtrace.c (tr_break): Likewise.
2046 (mtrace): Likewise.
2047 (muntrace): Likewise.
2048 * misc/fstab.c (endfsent): Likewise.
2049 * misc/getclktck.c (__getclktck): Likewise.
2050 * misc/getdtsz.c (__getdtablesize): Likewise.
2051 * misc/gethostid.c (gethostid): Likewise.
2052 * misc/getpagesize.c (__getpagesize): Likewise.
2053 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2054 (__get_nprocs): Likewise.
2055 (__get_phys_pages): Likewise.
2056 (__get_avphys_pages): Likewise.
2057 * misc/getttyent.c (getttyent): Likewise.
2058 (setttyent): Likewise.
2059 (endttyent): Likewise.
2060 * misc/getusershell.c (getusershell): Likewise.
2061 (endusershell): Likewise.
2062 (setusershell): Likewise.
2063 (initshells): Likewise.
2064 * misc/hsearch.c (__hdestroy): Likewise.
2065 * misc/sync.c (sync): Likewise.
2066 * misc/syslog.c (closelog_internal): Likewise.
2067 (closelog): Likewise.
2068 * misc/ttyslot.c (ttyslot): Likewise.
2069 * misc/vhangup.c (vhangup): Likewise.
2070 * posix/fork.c (__fork): Likewise.
2071 * posix/getegid.c (__getegid): Likewise.
2072 * posix/geteuid.c (__geteuid): Likewise.
2073 * posix/getgid.c (__getgid): Likewise.
2074 * posix/getpid.c (__getpid): Likewise.
2075 * posix/getppid.c (__getppid): Likewise.
2076 * posix/getuid.c (__getuid): Likewise.
2077 * posix/pause.c (pause): Likewise.
2078 * posix/setpgrp.c (setpgrp): Likewise.
2079 * posix/setsid.c (__setsid): Likewise.
2080 * posix/test-vfork.c (noop): Likewise.
2081 * resolv/gethnamaddr.c (_endhtent): Likewise.
2082 (_gethtent): Likewise.
2083 (ht_endhostent): Likewise.
2084 (gethostent): Likewise.
2085 (dns_service): Likewise.
2086 * stdlib/drand48.c (drand48): Likewise.
2087 * stdlib/lrand48.c (lrand48): Likewise.
2088 * stdlib/mrand48.c (mrand48): Likewise.
2089 * stdlib/rand.c (rand): Likewise.
2090 * stdlib/random.c (__random): Likewise.
2091 * stdlib/setenv.c (clearenv): Likewise.
2092 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2093 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2094 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2095 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2096 (__get_nprocs): Likewise.
2097 (__get_phys_pages): Likewise.
2098 (__get_avphys_pages): Likewise.
2099 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2100 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2101 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2102 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2103 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2104 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2105 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2106 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2107 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2108 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2109 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2110 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2111 * sysdeps/posix/clock.c (clock): Likewise.
2112 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2113 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2114 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2115 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2116 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2118 (__get_nprocs_conf): Likewise.
2119 (__get_phys_pages): Likewise.
2120 (__get_avphys_pages): Likewise.
2121 * time/clock.c (clock): Likewise.
2122 * time/tzset.c (__tzname_max): Likewise.
2123
2e09a79a
JM
21242013-06-07 Joseph Myers <joseph@codesourcery.com>
2125
2126 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2127 (__bswap_32): Do not use "register".
2128 * crypt/crypt.c (_ufc_doit_r): Likewise.
2129 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2130 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2131 * gmon/gmon.c (__monstartup): Likewise.
2132 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2133 * hurd/hurdmalloc.c (more_memory): Likewise.
2134 (malloc): Likewise.
2135 (free): Likewise.
2136 (realloc): Likewise.
2137 (malloc_fork_prepare): Likewise.
2138 (malloc_fork_parent): Likewise.
2139 (malloc_fork_child): Likewise.
2140 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2141 (_svcauth_des): Likewise.
2142 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2143 * inet/inet_net.c (inet_network): Likewise.
2144 * inet/inet_netof.c (inet_netof): Likewise.
2145 * inet/rcmd.c (__validuser2_sa): Likewise.
2146 * io/fts.c (fts_open): Likewise.
2147 (fts_load): Likewise.
2148 (fts_close): Likewise.
2149 (fts_read): Likewise.
2150 (fts_children): Likewise.
2151 (fts_build): Likewise.
2152 (fts_stat): Likewise.
2153 (fts_sort): Likewise.
2154 (fts_alloc): Likewise.
2155 (fts_lfree): Likewise.
2156 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2157 (_IO_file_xsgetn): Likewise.
2158 (_IO_file_xsgetn_mmap): Likewise.
2159 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2160 (_IO_cookie_write): Likewise.
2161 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2162 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2163 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2164 * malloc/obstack.c (_obstack_begin): Likewise.
2165 (_obstack_begin_1): Likewise.
2166 (_obstack_newchunk): Likewise.
2167 (_obstack_allocated_p): Likewise.
2168 (obstack_free): Likewise.
2169 (_obstack_memory_used): Likewise.
2170 * misc/getttyent.c (getttynam): Likewise.
2171 (getttyent): Likewise.
2172 (skip): Likewise.
2173 (value): Likewise.
2174 * misc/getusershell.c (initshells): Likewise.
2175 * misc/syslog.c (__vsyslog_chk): Likewise.
2176 * misc/ttyslot.c (ttyslot): Likewise.
2177 * nis/nis_hash.c (__nis_hash): Likewise.
2178 * posix/fnmatch_loop.c (FCT): Likewise.
2179 * posix/getconf.c (print_all): Likewise.
2180 (main): Likewise.
2181 * posix/getopt.c (exchange): Likewise.
2182 * posix/glob.c (globfree): Likewise.
2183 (prefix_array): Likewise.
2184 (__glob_pattern_type): Likewise.
2185 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2186 (NS_GET32): Likewise.
2187 (NS_PUT16): Likewise.
2188 (NS_PUT32): Likewise.
2189 * resolv/gethnamaddr.c (getanswer): Likewise.
2190 (gethostbyname2): Likewise.
2191 (gethostbyaddr): Likewise.
2192 (_gethtent): Likewise.
2193 (_gethtbyname2): Likewise.
2194 (_gethtbyaddr): Likewise.
2195 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2196 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2197 * resolv/res_init.c (__res_vinit): Likewise.
2198 (net_mask): Likewise.
2199 * resolv/res_mkquery.c (outchar): Likewise.
2200 (PRINT): Likewise.
2201 * stdio-common/printf_fp.c (outchar): Likewise.
2202 (PRINT): Likewise.
2203 * stdio-common/printf_fphex.c (outchar): Likewise.
2204 (PRINT): Likewise.
2205 * stdio-common/printf_size.c (outchar): Likewise.
2206 (PRINT): Likewise.
2207 * stdio-common/test_rdwr.c (main): Likewise.
2208 * stdio-common/tfformat.c (matches): Likewise.
2209 * stdio-common/vfprintf.c (outchar): Likewise.
2210 (printf_unknown): Likewise.
2211 (buffered_vfprintf): Likewise.
2212 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2213 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2214 (ReadFile): Likewise.
2215 * stdlib/qsort.c (SWAP): Likewise.
2216 (_quicksort): Likewise.
2217 * stdlib/setenv.c (__add_to_environ): Likewise.
2218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2219 * stdlib/strtol_l.c (__strtol_l): Likewise.
2220 * stdlib/tst-strtod.c (main): Likewise.
2221 * stdlib/tst-strtol.c (main): Likewise.
2222 * stdlib/tst-strtoll.c (main): Likewise.
2223 * string/bits/string2.h (__strcmp_cc): Likewise.
2224 (__strcmp_cg): Likewise.
2225 (__strcspn_c1): Likewise.
2226 (__strcspn_c2): Likewise.
2227 (__strcspn_c3): Likewise.
2228 (__strspn_c1): Likewise.
2229 (__strspn_c2): Likewise.
2230 (__strspn_c3): Likewise.
2231 (__strsep_1c): Likewise.
2232 (__strsep_2c): Likewise.
2233 (__strsep_3c): Likewise.
2234 * string/memccpy.c (__memccpy): Likewise.
2235 * string/stpcpy.c (__stpcpy): Likewise.
2236 * string/strcmp.c (strcmp): Likewise.
2237 * string/strrchr.c (strrchr): Likewise.
2238 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2239 Likewise.
2240 * sysdeps/mach/hurd/getcwd.c
2241 (_hurd_canonicalize_directory_name_internal): Likewise.
2242 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2243 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2244 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2245 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2246 Likewise, in both definitions.
2247 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2248 definitions.
2249 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2250 64] (__bswap_64): Likewise.
2251 * time/test_time.c (main): Likewise.
2252 * time/tzfile.c (__tzfile_read): Likewise.
2253 (__tzfile_compute): Likewise.
2254 * time/tzset.c (__tzset_parse_tz): Likewise.
2255 (tzset_internal): Likewise.
2256 (compute_change): Likewise.
2257 * wcsmbs/wcscat.c (__wcscat): Likewise.
2258 * wcsmbs/wcschr.c (wcschr): Likewise.
2259 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2260 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2261 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2262 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2263 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2264 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2265 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2266 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2267 * wcsmbs/wmemset.c (wmemset): Likewise.
2268
9e54314b
JM
22692013-06-06 Joseph Myers <joseph@codesourcery.com>
2270
2271 * scripts/config.guess: Update to version 2013-05-16.
2272 * scripts/config.sub: Update to version 2013-04-24.
2273 * scripts/install-sh: Update to version 2011-11-20.07.
2274 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2275 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2276
350635a5
OB
22772013-06-06 Ondřej Bílka <neleai@seznam.cz>
2278
2279 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2280 * elf/sln.c: Likewise.
2281 * hurd/hurd/ioctl.h: Likewise.
2282 * hurd/hurdmalloc.c: Likewise.
2283 * hurd/xattr.c: Likewise.
2284 * include/shlib-compat.h: Likewise.
2285 * inet/ruserpass.c: Likewise.
2286 * libio/iofgets_u.c: Likewise.
2287 * libio/iofgetws_u.c: Likewise.
2288 * locale/programs/ld-identification.c: Likewise.
2289 * locale/programs/ld-time.c: Likewise.
2290 * mach/msg-destroy.c: Likewise.
2291 * nss/nss_files/files-netgrp.c: Likewise.
2292 * resolv/res_data.c: Likewise.
2293 * soft-fp/op-1.h: Likewise.
2294 * soft-fp/op-2.h: Likewise.
2295 * soft-fp/op-4.h: Likewise.
2296 * soft-fp/op-common.h: Likewise.
2297 * stdio-common/printf_fphex.c: Likewise.
2298 * stdlib/strtod_l.c: Likewise.
2299 * sunrpc/rpc/clnt.h: Likewise.
2300 * sysdeps/generic/framestate.c: Likewise.
2301 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2302 * sysdeps/i386/bsd-setjmp.S: Likewise.
2303 * sysdeps/i386/__longjmp.S: Likewise.
2304 * sysdeps/i386/setjmp.S: Likewise.
2305 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2306 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2307 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2308 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2311 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2312 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2313 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2314 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2315 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2321 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2323 * sysdeps/ieee754/support.c: Likewise.
2324 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2325 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2326 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2327 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2328 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2329 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2330 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2331 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2332 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2333 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2334 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2335 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2336 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2337 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2338 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2339 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2340 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2342
44a988af
OB
23432013-06-05 Ondřej Bílka <neleai@seznam.cz>
2344
25506f09 2345 * posix/transbug.c: Remove executable mode.
44a988af 2346
9c84384c
JM
23472013-06-05 Joseph Myers <joseph@codesourcery.com>
2348
2349 * crypt/speeds.c: Remove trailing whitespace.
2350 * dlfcn/default.c: Likewise.
2351 * elf/ifuncdep2.c: Likewise.
2352 * elf/ifuncmain1.c: Likewise.
2353 * elf/ifuncmain1vis.c: Likewise.
2354 * elf/testobj.h: Likewise.
2355 * elf/tst-stackguard1.c: Likewise.
2356 * gmon/sys/gmon.h: Likewise.
2357 * hurd/hurdmsg.c: Likewise.
2358 * hurd/new-fd.c: Likewise.
2359 * hurd/ports-get.c: Likewise.
2360 * iconvdata/ibm1008_420.c: Likewise.
2361 * inet/tst-getni1.c: Likewise.
2362 * inet/tst-getni2.c: Likewise.
2363 * libio/ioungetc.c: Likewise.
2364 * libio/wfiledoalloc.c: Likewise.
2365 * manual/libm-err-tab.pl: Likewise.
2366 * math/w_dremf.c: Likewise.
2367 * misc/ftruncate.c: Likewise.
2368 * posix/bug-glob2.c: Likewise.
2369 * posix/tst-pcre.c: Likewise.
2370 * posix/wait4.c: Likewise.
2371 * resolv/README: Likewise.
2372 * resolv/res_debug.h: Likewise.
2373 * resolv/tst-inet_ntop.c: Likewise.
2374 * setjmp/bug269-setjmp.c: Likewise.
2375 * soft-fp/extended.h: Likewise.
2376 * soft-fp/op-1.h: Likewise.
2377 * soft-fp/op-2.h: Likewise.
2378 * soft-fp/op-4.h: Likewise.
2379 * soft-fp/op-8.h: Likewise.
2380 * soft-fp/testit.c: Likewise.
2381 * stdio-common/bug16.c: Likewise.
2382 * stdlib/random.c: Likewise.
2383 * sunrpc/rpcsvc/rquota.x: Likewise.
2384 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2385 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2386 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2387 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2388 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2389 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2390 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2391 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2392 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2393 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2394 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2395 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2396 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2397 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2398 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2399 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2400 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2402 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2403 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2404 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2407 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2408 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2409 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2410 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2411 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2412 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2413 * sysdeps/ieee754/s_lib_version.c: Likewise.
2414 * sysdeps/mach/hurd/check_fds.c: Likewise.
2415 * sysdeps/mach/hurd/getsockname.c: Likewise.
2416 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2417 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2418 * sysdeps/powerpc/bits/link.h: Likewise.
2419 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2420 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2421 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2422 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2423 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2424 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2425 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2426 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2427 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2428 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2429 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2430 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2431 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2432 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2433 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2434 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2435 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2436 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2437 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2438 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2439 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2440 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2441 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2442 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2443 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2444 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2445 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2446 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2447 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2448 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2449 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2450 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2451 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2452 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2453 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2454 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2455 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2456 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2457 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2458 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2459 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2460 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2461 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2462 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2463 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2464 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2465 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2466 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2467 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2468 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2469 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2470 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2471 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2472 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2473 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2474 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2475 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2476 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2477 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2478 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2479 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2480 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2481 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2482 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2483 * sysdeps/powerpc/sysdep.h: Likewise.
2484 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2485 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2486 * sysdeps/sh/dl-trampoline.S: Likewise.
2487 * sysdeps/sh/memset.S: Likewise.
2488 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2489 * sysdeps/sh/strlen.S: Likewise.
2490 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2491 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2492 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2493 * sysdeps/sparc/sparc32/rem.S: Likewise.
2494 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2495 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2496 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2497 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2498 * sysdeps/sparc/sparc32/urem.S: Likewise.
2499 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2500 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2501 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2502 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2503 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2504 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2505 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2506 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2507 * sysdeps/unix/bsd/times.c: Likewise.
2508 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2509 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2513 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2514 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2515 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2516 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2517 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2518 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2519 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2520 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2521 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2522 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2523 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2524 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2525 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2526 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2527 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2528 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2529 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2530 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2531 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2532 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2533 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2534 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2535 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2536 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2537 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2538 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2539 * sysdeps/x86_64/strcspn.S: Likewise.
2540
869378a5
RA
25412013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2542
2543 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2544 generated file. Regenerate properly from gen-translit.pl.
2545 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2546 locale/C-translit.h.
2547
840e2943
AS
25482013-06-05 Andreas Schwab <schwab@suse.de>
2549
2550 [BZ #15100]
2551 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2552 week as 6 instead of -1.
2553 * time/tst-strptime.c (day_tests): Add test case.
2554
4c60cb0c
SP
25552013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2556
2557 * sysdeps/generic/math_private.h
2558 (libc_feholdexcept_setround_53bit): Replace with
2559 libc_feholdsetround_53bit.
2560 (libc_feupdateenv_53bit): Replace with
2561 libc_feresetround_53bit.
2562 (SET_RESTORE_ROUND_53BIT): Adjust.
2563
d180203e
SP
25642013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2565
96df079a
SP
2566 * string/test-strchrnul.c: Add copyright header.
2567
d180203e
SP
2568 * posix/tst-getaddrinfo4.c: Increase test timeout.
2569
8b0ccb2d
CD
25702013-06-03 Carlos O'Donell <carlos@redhat.com>
2571
2572 [BZ #15536]
2573 * math/libm-test.inc (MAX_EXP): Remove
2574 (MIN_EXP): Define.
2575 (ulp): Use MIN_EXP - MANT_DIG.
2576 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2577
3b3c4d40
CD
25782013-05-31 Carlos O'Donell <carlos@redhat.com>
2579
2580 * po/be.po: Revert last change.
2581 * po/zh_CN.po: Likewise.
2582 * po/header.pot: Likewise.
2583
fab7ce3f
JM
25842013-05-31 Joseph Myers <joseph@codesourcery.com>
2585
2586 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2587 link-libc-deps to empty as target-specific variable.
2588 * Makerules (link-libc-args): New variable.
2589 (libc-for-link): Likewise.
2590 (link-libc-deps): Likewise.
2591 (lib%.so): Depend on $(link-libc-deps). Link with
2592 $(link-libc-args).
2593 (build-module): Link with $(link-libc-args).
2594 (build-module-asneeded): Likewise.
2595 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2596 list of objects.
2597 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2598 target-specific variable.
2599 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2600 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2601 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2602 libc.
2603 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2604 libc and ld.so.
2605 ($(objpfx)libpcprofile.so): Likewise.
2606 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2607 libc_nonshared.a.
2608 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2609 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2610 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2611 $(link-libc-deps).
2612 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2613 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2614 * login/Makefile ($(objpfx)libutil.so): Likewise.
2615 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2616 * math/Makefile ($(objpfx)libm.so): Likewise.
2617 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2618 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2619 variable instead of depending directly on libc.
2620 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2621 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2622 $(link-libc-deps).
2623 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2624 libc.
2625 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2626 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2627 ($(objpfx)libanl.so): Likewise.
2628 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2629 ld.so.
2630 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2631 $(link-libc-deps).
2632 * sysdeps/i386/fpu/Makefile: Remove file.
2633 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2634 ($(objpfx)libm.so): Remove dependency on ld.so.
2635
eca5920c
PF
26362013-05-30 Patsy Franklin <pfrankli@redhat.com>
2637
2638 [BZ # 15553]
2639 * nis/yp_xdr.c (XDRMAXNAME): Define.
2640 (XDRMAXRECORD): Define.
2641 (xdr_domainname): Use XDRMAXNAME.
2642 (xdr_mapname): Likewise.
2643 (xdr_peername): Likewise.
2644 (xdr_keydat): Use XDRMAXRECORD.
2645 (xdr_valdat): Likewise.
2646
26472013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2648
2649 [BZ #14256]
2650 * manual/errno.texi (ESTALE): Update to account for more than
2651 just NFS file systems.
2652 * sysdeps/gnu/errlist.c: Regenerated.
2653
b9375348
SP
26542013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2655
2656 [BZ #15465]
2657 * elf/Makefile (tests): Add tst-null-argv.
2658 (modules-names): Add tst-null-argv-lib.
2659 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2660 (tst-null-argv-ENV): Set environment for tst-null-argv.
2661 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2662 (RTLD_PROGNAME): New macro.
2663 * elf/tst-null-argv.c: New test case.
2664 * elf/tst-null-argv-lib.c: Library for test case.
2665 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2666 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2667 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2668 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2669 * elf/dl-init.c (call_init): Likewise.
2670 (_dl_init): Likewise.
2671 * elf/dl-load.c (print_search_path): Likewise.
2672 (_dl_map_object): Likewise.
2673 * elf/dl-lookup.c (do_lookup_x): Likewise.
2674 (add_dependency): Likewise.
2675 (_dl_lookup_symbol_x): Likewise.
2676 (_dl_debug_bindings): Likewise.
2677 * elf/dl-open.c (_dl_show_scope): Likewise.
2678 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2679 * elf/dl-version.c (match_symbol): Likewise.
2680 (_dl_check_map_versions): Likewise.
2681 * elf/rtld.c (dl_main): Likewise.
2682 (print_unresolved): Use RTLD_PROGNAME.
2683 (print_missing_version): Likewise.
2684 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2685 (elf_machine_rela): Likewise.
2686 * sysdeps/powerpc/powerpc32/dl-machine.c
2687 (__process_machine_rela): Likewise.
2688 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2689 Likewise.
2690 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2691 Likewise.
2692 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2693 Likewise.
2694 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2695 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2696 Likewise.
2697 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2698 Likewise.
2699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2700
8a9f20c8
CD
27012013-05-28 Carlos O'Donell <carlos@redhat.com>
2702
2703 * po/be.po: Add descriptive title.
2704 * po/zh_CN.po: Likewise.
2705 * po/header.pot: Likewise.
2706
0e60d68e
MF
27072013-05-28 Mike Frysinger <vapier@gentoo.org>
2708
2709 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2710 error message.
2711 (enlarge_archive): Likewise.
2712
56b672e9
BN
27132013-05-28 Ben North <ben@redfrontdoor.org>
2714
2715 * manual/arith.texi (frexp): It is the magnitude of the return
2716 value which lies in [0.5, 1), not the return value itself.
2717
5e056687
AZ
27182013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2719
2720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2721
2b66ef5d
TS
27222013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2723
528c2405
TS
2724 * stdio-common/bug26.c (main): Correct fscanf template.
2725
07b4c13d
TS
2726 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2727 declare _dl_skip_args.
2728
ec9dd97c
TS
2729 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2730 Don't declare.
2731
2b66ef5d
TS
2732 * manual/platform.texi: Add missing @end deftypefun.
2733
4f8dfe27
JM
27342013-05-24 Joseph Myers <joseph@codesourcery.com>
2735
0323d086
JM
2736 [BZ #15529]
2737 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2738 bit of mantissa of 2^16382.
2739 * math/libm-test.inc (hypot_test_data): Add more tests.
2740
dd4259b9
JM
2741 * math/libm-test.inc: Add drem and pow10 to list of tested
2742 functions.
2743 (pow10_test): New function.
2744 (drem_test): Likewise.
2745 (drem_test_tonearest): Likewise.
2746 (drem_test_towardzero): Likewise.
2747 (drem_test_downward): Likewise.
2748 (drem_test_upward): Likewise.
2749 (main): Call the new functions.
2750
4f8dfe27
JM
2751 * math/libm-test.inc (finite_test_data): Remove.
2752 (finite_test): Run tests from isfinite_test_data.
2753 (gamma_test_data): Remove.
2754 (gamma_test): Run tests from lgamma_test_data.
2755 * sysdeps/i386/fpu/libm-test-ulps: Update.
2756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2757
d116b7c4
AZ
27582013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2759
2760 * manual/platform.texi: Add PowerPC PPR function set documentation.
2761 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2762 implementation.
2763
e96e3767
CD
27642013-05-24 Carlos O'Donell <carlos@redhat.com>
2765
2766 * math/libm-test.inc (MAX_EXP): Define.
2767 (ULPDIFF): Define.
2768 (ulp): New function.
2769 (check_float_internal): Use ULPDIFF.
2770 (cpow_test): Disable failing test.
2771 (check_ulp): Test ulp() implemetnation.
2772 (main): Call check_ulp before starting tests.
2773
b679a606
JM
27742013-05-24 Joseph Myers <joseph@codesourcery.com>
2775
e8bdba36
JM
2776 * math/gen-libm-test.pl (generate_testfile): Do not handle
2777 START_DATA and END_DATA.
2778 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2779 END_DATA.
2780 (acos_tonearest_test_data): Likewise.
2781 (acos_towardzero_test_data): Likewise.
2782 (acos_downward_test_data): Likewise.
2783 (acos_upward_test_data): Likewise.
2784 (acosh_test_data): Likewise.
2785 (asin_test_data): Likewise.
2786 (asin_tonearest_test_data): Likewise.
2787 (asin_towardzero_test_data): Likewise.
2788 (asin_downward_test_data): Likewise.
2789 (asin_upward_test_data): Likewise.
2790 (asinh_test_data): Likewise.
2791 (atan_test_data): Likewise.
2792 (atanh_test_data): Likewise.
2793 (atan2_test_data): Likewise.
2794 (cabs_test_data): Likewise.
2795 (cacos_test_data): Likewise.
2796 (cacosh_test_data): Likewise.
2797 (carg_test_data): Likewise.
2798 (casin_test_data): Likewise.
2799 (casinh_test_data): Likewise.
2800 (catan_test_data): Likewise.
2801 (catanh_test_data): Likewise.
2802 (cbrt_test_data): Likewise.
2803 (ccos_test_data): Likewise.
2804 (ccosh_test_data): Likewise.
2805 (ceil_test_data): Likewise.
2806 (cexp_test_data): Likewise.
2807 (cimag_test_data): Likewise.
2808 (clog_test_data): Likewise.
2809 (clog10_test_data): Likewise.
2810 (conj_test_data): Likewise.
2811 (copysign_test_data): Likewise.
2812 (cos_test_data): Likewise.
2813 (cos_tonearest_test_data): Likewise.
2814 (cos_towardzero_test_data): Likewise.
2815 (cos_downward_test_data): Likewise.
2816 (cos_upward_test_data): Likewise.
2817 (cosh_test_data): Likewise.
2818 (cosh_tonearest_test_data): Likewise.
2819 (cosh_towardzero_test_data): Likewise.
2820 (cosh_downward_test_data): Likewise.
2821 (cosh_upward_test_data): Likewise.
2822 (cpow_test_data): Likewise.
2823 (cproj_test_data): Likewise.
2824 (creal_test_data): Likewise.
2825 (csin_test_data): Likewise.
2826 (csinh_test_data): Likewise.
2827 (csqrt_test_data): Likewise.
2828 (ctan_test_data): Likewise.
2829 (ctan_tonearest_test_data): Likewise.
2830 (ctan_towardzero_test_data): Likewise.
2831 (ctan_downward_test_data): Likewise.
2832 (ctan_upward_test_data): Likewise.
2833 (ctanh_test_data): Likewise.
2834 (ctanh_tonearest_test_data): Likewise.
2835 (ctanh_towardzero_test_data): Likewise.
2836 (ctanh_downward_test_data): Likewise.
2837 (ctanh_upward_test_data): Likewise.
2838 (erf_test_data): Likewise.
2839 (erfc_test_data): Likewise.
2840 (exp_test_data): Likewise.
2841 (exp_tonearest_test_data): Likewise.
2842 (exp_towardzero_test_data): Likewise.
2843 (exp_downward_test_data): Likewise.
2844 (exp_upward_test_data): Likewise.
2845 (exp10_test_data): Likewise.
2846 (exp2_test_data): Likewise.
2847 (expm1_test_data): Likewise.
2848 (fabs_test_data): Likewise.
2849 (fdim_test_data): Likewise.
2850 (finite_test_data): Likewise.
2851 (floor_test_data): Likewise.
2852 (fma_test_data): Likewise.
2853 (fma_towardzero_test_data): Likewise.
2854 (fma_downward_test_data): Likewise.
2855 (fma_upward_test_data): Likewise.
2856 (fmax_test_data): Likewise.
2857 (fmin_test_data): Likewise.
2858 (fmod_test_data): Likewise.
2859 (fpclassify_test_data): Likewise.
2860 (frexp_test_data): Likewise.
2861 (gamma_test_data): Likewise.
2862 (hypot_test_data): Likewise.
2863 (ilogb_test_data): Likewise.
2864 (isfinite_test_data): Likewise.
2865 (isgreater_test_data): Likewise.
2866 (isgreaterequal_test_data): Likewise.
2867 (isinf_test_data): Likewise.
2868 (isless_test_data): Likewise.
2869 (islessequal_test_data): Likewise.
2870 (islessgreater_test_data): Likewise.
2871 (isnan_test_data): Likewise.
2872 (isnormal_test_data): Likewise.
2873 (issignaling_test_data): Likewise.
2874 (isunordered_test_data): Likewise.
2875 (j0_test_data): Likewise.
2876 (j1_test_data): Likewise.
2877 (jn_test_data): Likewise.
2878 (ldexp_test_data): Likewise.
2879 (lgamma_test_data): Likewise.
2880 (lrint_test_data): Likewise.
2881 (lrint_tonearest_test_data): Likewise.
2882 (lrint_towardzero_test_data): Likewise.
2883 (lrint_downward_test_data): Likewise.
2884 (lrint_upward_test_data): Likewise.
2885 (llrint_test_data): Likewise.
2886 (llrint_tonearest_test_data): Likewise.
2887 (llrint_towardzero_test_data): Likewise.
2888 (llrint_downward_test_data): Likewise.
2889 (llrint_upward_test_data): Likewise.
2890 (log_test_data): Likewise.
2891 (log10_test_data): Likewise.
2892 (log1p_test_data): Likewise.
2893 (log2_test_data): Likewise.
2894 (logb_test_data): Likewise.
2895 (logb_downward_test_data): Likewise.
2896 (lround_test_data): Likewise.
2897 (llround_test_data): Likewise.
2898 (modf_test_data): Likewise.
2899 (nearbyint_test_data): Likewise.
2900 (nextafter_test_data): Likewise.
2901 (nexttoward_test_data): Likewise.
2902 (pow_test_data): Likewise.
2903 (pow_tonearest_test_data): Likewise.
2904 (pow_towardzero_test_data): Likewise.
2905 (pow_downward_test_data): Likewise.
2906 (pow_upward_test_data): Likewise.
2907 (remainder_test_data): Likewise.
2908 (remainder_tonearest_test_data): Likewise.
2909 (remainder_towardzero_test_data): Likewise.
2910 (remainder_downward_test_data): Likewise.
2911 (remainder_upward_test_data): Likewise.
2912 (remquo_test_data): Likewise.
2913 (rint_test_data): Likewise.
2914 (rint_tonearest_test_data): Likewise.
2915 (rint_towardzero_test_data): Likewise.
2916 (rint_downward_test_data): Likewise.
2917 (rint_upward_test_data): Likewise.
2918 (round_test_data): Likewise.
2919 (scalb_test_data): Likewise.
2920 (scalbn_test_data): Likewise.
2921 (scalbln_test_data): Likewise.
2922 (signbit_test_data): Likewise.
2923 (sin_test_data): Likewise.
2924 (sin_tonearest_test_data): Likewise.
2925 (sin_towardzero_test_data): Likewise.
2926 (sin_downward_test_data): Likewise.
2927 (sin_upward_test_data): Likewise.
2928 (sincos_test_data): Likewise.
2929 (sinh_test_data): Likewise.
2930 (sinh_tonearest_test_data): Likewise.
2931 (sinh_towardzero_test_data): Likewise.
2932 (sinh_downward_test_data): Likewise.
2933 (sinh_upward_test_data): Likewise.
2934 (sqrt_test_data): Likewise.
2935 (tan_test_data): Likewise.
2936 (tan_tonearest_test_data): Likewise.
2937 (tan_towardzero_test_data): Likewise.
2938 (tan_downward_test_data): Likewise.
2939 (tan_upward_test_data): Likewise.
2940 (tanh_test_data): Likewise.
2941 (tgamma_test_data): Likewise.
2942 (trunc_test_data): Likewise.
2943 (y0_test_data): Likewise.
2944 (y1_test_data): Likewise.
2945 (yn_test_data): Likewise.
2946 (significand_test_data): Likewise.
2947
b679a606
JM
2948 * math/gen-libm-test.pl (@functions): Remove variable.
2949 (generate_testfile): Don't handle START and END lines.
2950 * math/libm-test.inc (START): New macro.
2951 (END): Likewise.
2952 (END_COMPLEX): Likewise.
2953 (acos_test): Use END macro without arguments.
2954 (acos_test_tonearest): Likewise.
2955 (acos_test_towardzero): Likewise.
2956 (acos_test_downward): Likewise.
2957 (acos_test_upward): Likewise.
2958 (acosh_test): Likewise.
2959 (asin_test): Likewise.
2960 (asin_test_tonearest): Likewise.
2961 (asin_test_towardzero): Likewise.
2962 (asin_test_downward): Likewise.
2963 (asin_test_upward): Likewise.
2964 (asinh_test): Likewise.
2965 (atan_test): Likewise.
2966 (atanh_test): Likewise.
2967 (atan2_test): Likewise.
2968 (cabs_test): Likewise.
2969 (cacos_test): Use END_COMPLEX macro without arguments.
2970 (cacosh_test): Likewise.
2971 (carg_test): Use END macro without arguments.
2972 (casin_test): Use END_COMPLEX macro without arguments.
2973 (casinh_test): Likewise.
2974 (catan_test): Likewise.
2975 (catanh_test): Likewise.
2976 (cbrt_test): Use END macro without arguments.
2977 (ccos_test): Use END_COMPLEX macro without arguments.
2978 (ccosh_test): Likewise.
2979 (ceil_test): Use END macro without arguments.
2980 (cexp_test): Use END_COMPLEX macro without arguments.
2981 (cimag_test): Use END macro without arguments.
2982 (clog_test): Use END_COMPLEX macro without arguments.
2983 (clog10_test): Likewise.
2984 (conj_test): Likewise.
2985 (copysign_test): Use END macro without arguments.
2986 (cos_test): Likewise.
2987 (cos_test_tonearest): Likewise.
2988 (cos_test_towardzero): Likewise.
2989 (cos_test_downward): Likewise.
2990 (cos_test_upward): Likewise.
2991 (cosh_test): Likewise.
2992 (cosh_test_tonearest): Likewise.
2993 (cosh_test_towardzero): Likewise.
2994 (cosh_test_downward): Likewise.
2995 (cosh_test_upward): Likewise.
2996 (cpow_test): Use END_COMPLEX macro without arguments.
2997 (cproj_test): Likewise.
2998 (creal_test): Use END macro without arguments.
2999 (csin_test): Use END_COMPLEX macro without arguments.
3000 (csinh_test): Likewise.
3001 (csqrt_test): Likewise.
3002 (ctan_test): Likewise.
3003 (ctan_test_tonearest): Likewise.
3004 (ctan_test_towardzero): Likewise.
3005 (ctan_test_downward): Likewise.
3006 (ctan_test_upward): Likewise.
3007 (ctanh_test): Likewise.
3008 (ctanh_test_tonearest): Likewise.
3009 (ctanh_test_towardzero): Likewise.
3010 (ctanh_test_downward): Likewise.
3011 (ctanh_test_upward): Likewise.
3012 (erf_test): Use END macro without arguments.
3013 (erfc_test): Likewise.
3014 (exp_test): Likewise.
3015 (exp_test_tonearest): Likewise.
3016 (exp_test_towardzero): Likewise.
3017 (exp_test_downward): Likewise.
3018 (exp_test_upward): Likewise.
3019 (exp10_test): Likewise.
3020 (exp2_test): Likewise.
3021 (expm1_test): Likewise.
3022 (fabs_test): Likewise.
3023 (fdim_test): Likewise.
3024 (finite_test): Likewise.
3025 (floor_test): Likewise.
3026 (fma_test): Likewise.
3027 (fma_test_towardzero): Likewise.
3028 (fma_test_downward): Likewise.
3029 (fma_test_upward): Likewise.
3030 (fmax_test): Likewise.
3031 (fmin_test): Likewise.
3032 (fmod_test): Likewise.
3033 (fpclassify_test): Likewise.
3034 (frexp_test): Likewise.
3035 (gamma_test): Likewise.
3036 (hypot_test): Likewise.
3037 (ilogb_test): Likewise.
3038 (isfinite_test): Likewise.
3039 (isgreater_test): Likewise.
3040 (isgreaterequal_test): Likewise.
3041 (isinf_test): Likewise.
3042 (isless_test): Likewise.
3043 (islessequal_test): Likewise.
3044 (islessgreater_test): Likewise.
3045 (isnan_test): Likewise.
3046 (isnormal_test): Likewise.
3047 (issignaling_test): Likewise.
3048 (isunordered_test): Likewise.
3049 (j0_test): Likewise.
3050 (j1_test): Likewise.
3051 (jn_test): Likewise.
3052 (ldexp_test): Likewise.
3053 (lgamma_test): Likewise.
3054 (lrint_test): Likewise.
3055 (lrint_test_tonearest): Likewise.
3056 (lrint_test_towardzero): Likewise.
3057 (lrint_test_downward): Likewise.
3058 (lrint_test_upward): Likewise.
3059 (llrint_test): Likewise.
3060 (llrint_test_tonearest): Likewise.
3061 (llrint_test_towardzero): Likewise.
3062 (llrint_test_downward): Likewise.
3063 (llrint_test_upward): Likewise.
3064 (log_test): Likewise.
3065 (log10_test): Likewise.
3066 (log1p_test): Likewise.
3067 (log2_test): Likewise.
3068 (logb_test): Likewise.
3069 (logb_test_downward): Likewise.
3070 (lround_test): Likewise.
3071 (llround_test): Likewise.
3072 (modf_test): Likewise.
3073 (nearbyint_test): Likewise.
3074 (nextafter_test): Likewise.
3075 (nexttoward_test): Likewise.
3076 (pow_test): Likewise.
3077 (pow_test_tonearest): Likewise.
3078 (pow_test_towardzero): Likewise.
3079 (pow_test_downward): Likewise.
3080 (pow_test_upward): Likewise.
3081 (remainder_test): Likewise.
3082 (remainder_test_tonearest): Likewise.
3083 (remainder_test_towardzero): Likewise.
3084 (remainder_test_downward): Likewise.
3085 (remainder_test_upward): Likewise.
3086 (remquo_test): Likewise.
3087 (rint_test): Likewise.
3088 (rint_test_tonearest): Likewise.
3089 (rint_test_towardzero): Likewise.
3090 (rint_test_downward): Likewise.
3091 (rint_test_upward): Likewise.
3092 (round_test): Likewise.
3093 (scalb_test): Likewise.
3094 (scalbn_test): Likewise.
3095 (scalbln_test): Likewise.
3096 (signbit_test): Likewise.
3097 (sin_test): Likewise.
3098 (sin_test_tonearest): Likewise.
3099 (sin_test_towardzero): Likewise.
3100 (sin_test_downward): Likewise.
3101 (sin_test_upward): Likewise.
3102 (sincos_test): Likewise.
3103 (sinh_test): Likewise.
3104 (sinh_test_tonearest): Likewise.
3105 (sinh_test_towardzero): Likewise.
3106 (sinh_test_downward): Likewise.
3107 (sinh_test_upward): Likewise.
3108 (sqrt_test): Likewise.
3109 (tan_test): Likewise.
3110 (tan_test_tonearest): Likewise.
3111 (tan_test_towardzero): Likewise.
3112 (tan_test_downward): Likewise.
3113 (tan_test_upward): Likewise.
3114 (tanh_test): Likewise.
3115 (tgamma_test): Likewise.
3116 (trunc_test): Likewise.
3117 (y0_test): Likewise.
3118 (y1_test): Likewise.
3119 (yn_test): Likewise.
3120 (significand_test): Likewise.
3121
bae143d2
OB
31222013-05-24 Ondřej Bílka <neleai@seznam.cz>
3123
3124 [BZ #15381]
3125 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3126
9323d39b
EM
31272013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3128
d4ea44a0 3129 [BZ #14894]
9323d39b
EM
3130 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3131 __ppc_mdoio and __ppc_mdoom.
3132 * manual/platform.texi: Document new functions __ppc_yield,
3133 __ppc_mdoio and __ppc_mdoom.
3134
13e23af7
CD
31352013-05-22 Carlos O'Donell <carlos@redhat.com>
3136
3137 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3138 (main): Mention "tls" pseudo-hwcap is legacy.
3139 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3140
351fe550
JM
31412013-05-22 Joseph Myers <joseph@codesourcery.com>
3142
3143 * math/gen-libm-test.pl (parse_args): Output only string of
3144 arguments as text for test name, not full call or descriptions of
3145 tests for extra outputs.
3146 (generate_testfile): Do not pass function name to parse_args.
3147 Generate this_func variable from START.
3148 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3149 field to arg_str.
3150 (struct test_ff_f_data): Likewise.
3151 (test_ff_f_data_nexttoward): Likewise.
3152 (struct test_fi_f_data): Likewise.
3153 (struct test_fl_f_data): Likewise.
3154 (struct test_if_f_data): Likewise.
3155 (struct test_fff_f_data): Likewise.
3156 (struct test_c_f_data): Likewise.
3157 (struct test_f_f1_data): Likewise. Remove field extra_name.
3158 (struct test_fF_f1_data): Likewise.
3159 (struct test_ffI_f1_data): Likewise.
3160 (struct test_c_c_data): Rename test_name field to arg_str.
3161 (struct test_cc_c_data): Likewise.
3162 (struct test_f_i_data): Likewise.
3163 (struct test_ff_i_data): Likewise.
3164 (struct test_f_l_data): Likewise.
3165 (struct test_f_L_data): Likewise.
3166 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3167 and extra2_name.
3168 (COMMON_TEST_SETUP): New macro.
3169 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3170 (COMMON_TEST_CLEANUP): Likewise.
3171 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3172 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3173 macros.
3174 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3175 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3176 macros.
3177 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3178 (RUN_TEST_fff_f): Take argument string. Call new setup and
3179 cleanup macros.
3180 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3181 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3182 macros.
3183 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3184 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3185 macros.
3186 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3187 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3188 cleanup macros.
3189 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3190 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3191 cleanup macros.
3192 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3193 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3194 cleanup macros.
3195 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3196 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3197 macros.
3198 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3199 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3200 macros.
3201 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3202 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3203 macros.
3204 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3205 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3206 cleanup macros.
3207 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3208 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3209 cleanup macros.
3210 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3211 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3212 macros.
3213 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3214 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3215 cleanup macros.
3216 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3217 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3218 macros.
3219 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3220 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3221 macros.
3222 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3223 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3224 cleanup macros.
3225 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3226
85118d4d
EBM
32272013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3228
3229 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3230 to _sifields.sigfault.
3231 (si_addr_lsb): Define new macro.
3232 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3233 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3234 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3235
7a44c18f
CD
32362013-05-03 Carlos O'Donell <carlos at redhat.com>
3237
3238 [BZ #15441]
3239 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3240 returns -1.
3241 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3242 null return -1.
3243 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3244 loading the domain.
3245
b50a7181
JM
32462013-05-22 Joseph Myers <joseph@codesourcery.com>
3247
3248 * math/gen-libm-test.pl (parse_args): Do not include expected
3249 result in test name.
3250 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3251 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3252 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3253 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3254 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3256
051063c8
SP
32572013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3258
3ce9e010
SP
3259 * benchtests/Makefile: Sort function entries.
3260
051063c8
SP
3261 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3262 tanh, asinh, acosh, atanh.
3263 * benchtests/acos-inputs: New file.
3264 * benchtests/acosh-inputs: New file.
3265 * benchtests/asin-inputs: New file.
3266 * benchtests/asinh-inputs: New file.
3267 * benchtests/atanh-inputs: New file.
3268 * benchtests/cosh-inputs: New file.
3269 * benchtests/log-inputs: New file.
3270 * benchtests/sinh-inputs: New file.
3271 * benchtests/tanh-inputs: New file.
3272
47c22455
DL
32732013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3274
3275 [BZ #15339]
3276 * posix/tst-getaddrinfo4.c: New test.
3277 * posix/Makefile (tests): Add it.
3278
3d04f5db
SP
32792013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3280
3281 [BZ #15339]
3282 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3283 when no services were used.
3284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3285 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3286
d5dd6189
AS
32872013-05-21 Andreas Schwab <schwab@suse.de>
3288
3289 [BZ #15014]
3290 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3291 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3292 successful.
3293 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3294 redundant variable declarations and reallocation of buffer when
3295 parsing as IPv6 address. Always set NSS status when called from
3296 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3297 buffer too small. Correct computation of needed size.
3298 * nss/Makefile (tests): Add test-digits-dots.
3299 * nss/test-digits-dots.c: New test.
3300
fef94eab
SP
33012013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3302
3303 * benchtests/Makefile: Remove instructions for adding
3304 benchmark tests.
3305 * benchtests/README: New file to explain how to execute and
3306 enhance the benchmark tests.
3307
e39adf43
AS
33082013-05-21 Andreas Schwab <schwab@suse.de>
3309
3310 [BZ #15493]
3311 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3312 * setjmp/tst-sigsetjmp.c: New test.
3313
b2b671b6
OB
33142013-05-20 Ondřej Bílka <neleai@seznam.cz>
3315
3316 * sysdeps/x86_64/memset.S (memset): New implementation.
3317 (__bzero): Likewise.
3318 (__memset_tail): New function.
3319
2d48b41c
OB
33202013-05-20 Ondřej Bílka <neleai@seznam.cz>
3321
3322 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3323 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3324 __memcpy_sse2_unaligned ifunc selection.
3325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3326 Add memcpy-sse2-unaligned.S.
3327 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3328 Add: __memcpy_sse2_unaligned.
3329
f16cc3eb
JM
33302013-05-19 Joseph Myers <joseph@codesourcery.com>
3331
3e694268
JM
3332 [BZ #15490]
3333 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3334 math_force_eval before restoring floating-point envrionment.
3335 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3336 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3337 Likewise.
3338 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3339 <math_private.h>.
3340 (__nearbyintl): Use math_force_eval before restoring
3341 floating-point environment.
3342 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3343
db62a907
JM
3344 * math/gen-libm-test.pl (special_functions): Remove.
3345 (parse_args): Don't handle TEST_extra. Handle functions with no
3346 return value.
3347 * math/libm-test.inc (struct test_sincos_data): Replace with
3348 struct test_fFF_11_data.
3349 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3350 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3351 (sincos_test_data): Change element type to struct
3352 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3353 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3354 RUN_TEST_LOOP_sincos.
3355 * math/README.libm-test: Don't mention special handling of
3356 individual functions.
3357 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3358 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3359 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3360 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3361 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3363
f16cc3eb
JM
3364 * math/gen-libm-test.pl (get_variable): Remove function.
3365 (parse_args): Don't show pointer parameters to call in test
3366 names. Use "extra output N" in test names for extra outputs
3367 rather than naming variables.
3368
3779b5b6
JM
33692013-05-18 Joseph Myers <joseph@codesourcery.com>
3370
2ee094ff
JM
3371 [BZ #15488]
3372 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3373 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3374 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3375 double tests.
3376 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3377 disable.
3378 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3379 check_long_double.
3380
3779b5b6
JM
3381 * math/gen-libm-test.pl (@tests): Remove variable.
3382 ($count): Likewise.
3383 (new_test): Remove function.
3384 (show_exceptions): New function.
3385 (special_functions): Use show_exceptions instead of new_test.
3386 (parse_args): Likewise.
3387 (generate_testfile): Pass only function name in generated call to
3388 print_max_error or print_complex_max_error.
3389 (get_ulps): Do not handle complex tests specially.
3390 (output_test): Rename to ...
3391 (get_all_ulps_for_test): ... this. Return a string rather than
3392 printing to a file. Require ulps to be present.
3393 (output_ulps): Generate arrays rather than #defines.
3394 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3395 (struct ulp_data): New type.
3396 (BUILD_COMPLEX_ULP): Remove macro.
3397 (compare_ulp_data): New function.
3398 (find_ulps): Likewise.
3399 (find_test_ulps): Likewise.
3400 (find_function_ulps): Likewise.
3401 (find_complex_function_ulps): Likewise.
3402 (print_max_error): Determine allowed ulps using
3403 find_function_ulps.
3404 (print_complex_max_error): Determine allowed ulps using
3405 find_complex_function_ulps.
3406 (check_float_internal): Determine max ulps using find_test_ulps.
3407 (check_float): Do not take max_ulp parameter. Update call to
3408 check_float_internal.
3409 (check_complex): Likewise.
3410 (check_int): Do not take max_ulp parameter.
3411 (check_long): Likewise.
3412 (check_bool): Likewise.
3413 (check_longlong): Likewise.
3414 (struct test_f_f_data): Remove max_ulp field.
3415 (struct test_ff_f_data): Likewise.
3416 (struct test_ff_f_data_nexttoward): Likewise.
3417 (struct test_fi_f_data): Likewise.
3418 (struct test_fl_f_data): Likewise.
3419 (struct test_if_f_data): Likewise.
3420 (struct test_fff_f_data): Likewise.
3421 (struct test_c_f_data): Likewise.
3422 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3423 (struct test_fF_f1_data): Likewise.
3424 (struct test_ffI_f1_data): Likewise.
3425 (struct test_c_c_data): Remove max_ulp field.
3426 (struct test_cc_c_data): Likewise.
3427 (struct test_f_i_data): Likewise.
3428 (struct test_ff_i_data): Likewise.
3429 (struct test_f_l_data): Likewise.
3430 (struct test_f_L_data): Likewise.
3431 (struct test_sincos_data): Likewise.
3432 (RUN_TEST_f_f): Do not handle ulps.
3433 (RUN_TEST_LOOP_f_f): Likewise.
3434 (RUN_TEST_2_f): Likewise.
3435 (RUN_TEST_LOOP_2_f): Likewise.
3436 (RUN_TEST_fff_f): Likewise.
3437 (RUN_TEST_LOOP_fff_f): Likewise.
3438 (RUN_TEST_c_f): Likewise.
3439 (RUN_TEST_LOOP_c_f): Likewise.
3440 (RUN_TEST_f_f1): Likewise.
3441 (RUN_TEST_LOOP_f_f1): Likewise.
3442 (RUN_TEST_fF_f1): Likewise.
3443 (RUN_TEST_LOOP_fF_f1): Likewise.
3444 (RUN_TEST_fI_f1): Likewise.
3445 (RUN_TEST_LOOP_fI_f1): Likewise.
3446 (RUN_TEST_ffI_f1): Likewise.
3447 (RUN_TEST_LOOP_ffI_f1): Likewise.
3448 (RUN_TEST_c_c): Likewise.
3449 (RUN_TEST_LOOP_c_c): Likewise.
3450 (RUN_TEST_cc_c): Likewise.
3451 (RUN_TEST_LOOP_cc_c): Likewise.
3452 (RUN_TEST_f_i): Likewise.
3453 (RUN_TEST_LOOP_f_i): Likewise.
3454 (RUN_TEST_f_i_tg): Likewise.
3455 (RUN_TEST_LOOP_f_i_tg): Likewise.
3456 (RUN_TEST_ff_i_tg): Likewise.
3457 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3458 (RUN_TEST_f_b): Likewise.
3459 (RUN_TEST_LOOP_f_b): Likewise.
3460 (RUN_TEST_f_b_tg): Likewise.
3461 (RUN_TEST_LOOP_f_b_tg): Likewise.
3462 (RUN_TEST_f_l): Likewise.
3463 (RUN_TEST_LOOP_f_l): Likewise.
3464 (RUN_TEST_f_L): Likewise.
3465 (RUN_TEST_LOOP_f_L): Likewise.
3466 (RUN_TEST_sincos): Likewise.
3467 (RUN_TEST_LOOP_sincos): Likewise.
3468
8269107f
JM
34692013-05-17 Joseph Myers <joseph@codesourcery.com>
3470
bb38759d
JM
3471 [BZ #15480]
3472 [BZ #15485]
3473 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3474 main case of finite arguments, set rounding mode to FE_TONEAREST
3475 and discard exceptions.
3476 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3477 exceptions.
3478 (remainder_tonearest_test_data): New variable.
3479 (remainder_test_tonearest): New function.
3480 (remainder_towardzero_test_data): New variable.
3481 (remainder_test_towardzero): New function.
3482 (remainder_downward_test_data): New variable.
3483 (remainder_test_downward): New function.
3484 (remainder_upward_test_data): New variable.
3485 (remainder_test_upward): New function.
3486 (main): Call the new test functions.
3487
a00bdcf0
JM
3488 * math/libm-test.inc (struct test_f_f1_data): Remove field
3489 extra_init.
3490 (struct test_fF_f1_data): Likewise.
3491 (struct test_ffI_f1_data): Likewise.
3492 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3493 based on value of EXTRA_EXPECTED.
3494 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3495 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3496 EXTRA_VAR based on value of EXTRA_EXPECTED.
3497 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3498 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3499 EXTRA_VAR based on value of EXTRA_EXPECTED.
3500 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3501 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3502 EXTRA_VAR based on value of EXTRA_EXPECTED.
3503 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3504 * math/gen-libm-test.pl (parse_args): Don't output initializers
3505 for extra output values.
3506
de407f79
JM
3507 * math/libm-test.inc (check_int): Expect result to be exactly
3508 equal to expected value and do not handle ulps.
3509 (check_long): Likewise.
3510 (check_longlong): Likewise.
3511
8269107f
JM
3512 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3513 exceptions.
3514 (cimag_test_data): Likewise.
3515 (conj_test_data): Likewise.
3516 (copysign_test_data): Likewise.
3517 (cproj_test_data): Likewise.
3518 (creal_test_data): Likewise.
3519 (fabs_test_data): Likewise.
3520 (fdim_test_data): Likewise.
3521 (finite_test_data): Likewise.
3522 (floor_test_data): Likewise.
3523 (fmax_test_data): Likewise.
3524 (fmin_test_data): Likewise.
3525 (fmod_test_data): Likewise.
3526 (fpclassify_test_data): Likewise.
3527 (frexp_test_data): Likewise.
3528 (ilogb_test_data): Likewise.
3529 (isfinite_test_data): Likewise.
3530 (isgreater_test_data): Likewise.
3531 (isgreaterequal_test_data): Likewise.
3532 (isinf_test_data): Likewise.
3533 (isless_test_data): Likewise.
3534 (islessequal_test_data): Likewise.
3535 (islessgreater_test_data): Likewise.
3536 (isnan_test_data): Likewise.
3537 (isnormal_test_data): Likewise.
3538 (issignaling_test_data): Likewise.
3539 (isunordered_test_data): Likewise.
3540 (ldexp_test_data): Likewise.
3541 (lrint_test_data): Likewise.
3542 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3543 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3544 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3545 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3546 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3547 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3548 test input.
3549 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3550 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3551 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3552 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3553 that test input.
3554 (lrint_downward_test_data): Test for "inexact" exceptions.
3555 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3556 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3557 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3558 test input.
3559 (lrint_upward_test_data): Test for "inexact" exceptions.
3560 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3561 test input.
3562 (llrint_test_data): Test for "inexact" exceptions.
3563 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3564 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3565 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3566 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3567 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3568 (llrint_downward_test_data): Test for "inexact" exceptions.
3569 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3570 (llrint_upward_test_data): Test for "inexact" exceptions.
3571 (logb_test_data): Likewise.
3572 (logb_downward_test_data): Likewise.
3573 (nextafter_test_data): Likewise.
3574 (nexttoward_test_data): Likewise.
3575 (remainder_test_data): Likewise.
3576 (remquo_test_data): Likewise.
3577 (scalbn_test_data): Likewise.
3578 (scalbln_test_data): Likewise.
3579 (signbit_test_data): Likewise.
3580 (sqrt_test_data): Likewise.
3581 (significand_test_data): Likewise.
3582
48a18de1
SP
35832013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3584
3585 [BZ #15424]
3586 * benchtests/bench-modf.c (struct args): Mark arg0 as
3587 volatile.
3588 * scripts/bench.pl: Mark members of struct args as volatile.
3589
13d3b41a
AZ
35902013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3591
68191c1d 3592 [BZ # 15497]
13d3b41a
AZ
3593 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3594 negative infinity on POWER6 or lower.
3595 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3596
2848b105
MR
35972013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3598
3599 [BZ #15442]
3600 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3601 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3602 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3603 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3604 (_FP_SETQNAN): New macro.
3605 (_FP_SETQNAN_SEMIRAW): Likewise.
3606 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3607 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3608 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3609 (FP_EXTEND): Use _FP_FRAC_SNANP.
3610 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3611 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3612 into account.
3613 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3614 New macro.
3615 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3616 Likewise.
3617
323e5cb7
JM
36182013-05-16 Joseph Myers <joseph@codesourcery.com>
3619
c58b274f
JM
3620 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3621 with DIVIDE_BY_ZERO_EXCEPTION.
3622 (gamma_test_data): Likewise.
3623 (lgamma_test_data): Likewise.
3624 (log_test_data): Likewise.
3625 (log10_test_data): Likewise.
3626 (log2_test_data): Likewise.
3627 (tgamma_test_data): Likewise.
3628
0ab34904
JM
3629 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3630 (acos_test_tonearest): Likewise.
3631 (acos_test_towardzero): Likewise.
3632 (acos_test_downward): Likewise.
3633 (acos_test_upward): Likewise.
3634 (acosh_test): Likewise.
3635 (asin_test): Likewise.
3636 (asin_test_tonearest): Likewise.
3637 (asin_test_towardzero): Likewise.
3638 (asin_test_downward): Likewise.
3639 (asin_test_upward): Likewise.
3640 (asinh_test): Likewise.
3641 (atan_test): Likewise.
3642 (atanh_test): Likewise.
3643 (atan2_test): Likewise.
3644 (cabs_test): Likewise.
3645 (cacos_test): Likewise.
3646 (cacosh_test): Likewise.
3647 (casin_test): Likewise.
3648 (casinh_test): Likewise.
3649 (catan_test): Likewise.
3650 (catanh_test): Likewise.
3651 (cbrt_test): Likewise.
3652 (ccos_test): Likewise.
3653 (ccosh_test): Likewise.
3654 (cexp_test): Likewise.
3655 (clog_test): Likewise.
3656 (clog10_test): Likewise.
3657 (cos_test): Likewise.
3658 (cos_test_tonearest): Likewise.
3659 (cos_test_towardzero): Likewise.
3660 (cos_test_downward): Likewise.
3661 (cos_test_upward): Likewise.
3662 (cosh_test): Likewise.
3663 (cosh_test_tonearest): Likewise.
3664 (cosh_test_towardzero): Likewise.
3665 (cosh_test_downward): Likewise.
3666 (cosh_test_upward): Likewise.
3667 (cpow_test): Likewise.
3668 (csin_test): Likewise.
3669 (csinh_test): Likewise.
3670 (csqrt_test): Likewise.
3671 (ctan_test): Likewise.
3672 (ctan_test_tonearest): Likewise.
3673 (ctan_test_towardzero): Likewise.
3674 (ctan_test_downward): Likewise.
3675 (ctan_test_upward): Likewise.
3676 (ctanh_test): Likewise.
3677 (ctanh_test_tonearest): Likewise.
3678 (ctanh_test_towardzero): Likewise.
3679 (ctanh_test_downward): Likewise.
3680 (ctanh_test_upward): Likewise.
3681 (erf_test): Likewise.
3682 (erfc_test): Likewise.
3683 (exp_test): Likewise.
3684 (exp_test_tonearest): Likewise.
3685 (exp_test_towardzero): Likewise.
3686 (exp_test_downward): Likewise.
3687 (exp_test_upward): Likewise.
3688 (exp10_test): Likewise.
3689 (exp2_test): Likewise.
3690 (expm1_test): Likewise.
3691 (fmod_test): Likewise.
3692 (gamma_test): Likewise.
3693 (hypot_test): Likewise.
3694 (j0_test): Likewise.
3695 (j1_test): Likewise.
3696 (jn_test): Likewise.
3697 (lgamma_test): Likewise.
3698 (log_test): Likewise.
3699 (log10_test): Likewise.
3700 (log1p_test): Likewise.
3701 (log2_test): Likewise.
3702 (logb_test_downward): Likewise.
3703 (pow_test): Likewise.
3704 (pow_test_tonearest): Likewise.
3705 (pow_test_towardzero): Likewise.
3706 (pow_test_downward): Likewise.
3707 (pow_test_upward): Likewise.
3708 (remainder_test): Likewise.
3709 (remquo_test): Likewise.
3710 (sin_test): Likewise.
3711 (sin_test_tonearest): Likewise.
3712 (sin_test_towardzero): Likewise.
3713 (sin_test_downward): Likewise.
3714 (sin_test_upward): Likewise.
3715 (sincos_test): Likewise.
3716 (sinh_test): Likewise.
3717 (sinh_test_tonearest): Likewise.
3718 (sinh_test_towardzero): Likewise.
3719 (sinh_test_downward): Likewise.
3720 (sinh_test_upward): Likewise.
3721 (sqrt_test): Likewise.
3722 (tan_test): Likewise.
3723 (tan_test_tonearest): Likewise.
3724 (tan_test_towardzero): Likewise.
3725 (tan_test_downward): Likewise.
3726 (tan_test_upward): Likewise.
3727 (tanh_test): Likewise.
3728 (tgamma_test): Likewise.
3729 (y0_test): Likewise.
3730 (y1_test): Likewise.
3731 (yn_test): Likewise.
3732
323e5cb7
JM
3733 * math/gen-libm-test.pl (adjust_arg): Remove function.
3734 (special_function): Remove argument $in_func. Only handle
3735 generating output for tables of tests, not inside functions.
3736 (parse_args): Likewise.
3737 (generate_testfile): Remove variable $in_func. Update call to
3738 parse_args.
3739 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3740 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3741 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3742 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3743 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3744 (MAX_VALUE_INIT): Rename macro to max_value.
3745 (MIN_VALUE_INIT): Rename macro to min_value.
3746 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3747 (plus_zero): Remove variable.
3748 (minus_zero): Likewise.
3749 (plus_infty): Likewise.
3750 (minus_infty): Likewise.
3751 (qnan_value): Likewise.
3752 (max_value): Likewise.
3753 (min_value): Likewise.
3754 (min_subnorm_value): Likewise.
3755
e054f494
RA
37562013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3757
3758 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3759 uint64_t or uint32_t usage.
3760 * crypt/sha256-block.c: Likewise.
3761 * crypt/sha256-crypt.c: Likewise.
3762 * crypt/sha256.c: Likewise.
3763 * crypt/sha512-block.c: Likewise.
3764 * crypt/sha512-crypt.c: Likewise.
3765 * crypt/sha512.c: Likewise.
3766 * debug/backtrace-tst.c: Likewise.
3767 * debug/pcprofiledump.c: Likewise.
3768 * elf/cache.c: Likewise.
3769 * elf/dl-cache.c: Likewise.
3770 * elf/dl-misc.c: Likewise.
3771 * elf/dl-profile.c: Likewise.
3772 * elf/dl-support.c: Likewise.
3773 * elf/ldconfig.c: Likewise.
3774 * elf/sprof.c: Likewise.
3775 * iconv/dummy-repertoire.c: Likewise.
3776 * iconv/iconv_charmap.c: Likewise.
3777 * iconv/skeleton.c: Likewise.
3778 * iconvdata/8bit-generic.c: Likewise.
3779 * iconvdata/cp737.h: Likewise.
3780 * iconvdata/cp775.h: Likewise.
3781 * iconvdata/ibm1008.h: Likewise.
3782 * iconvdata/ibm1025.h: Likewise.
3783 * iconvdata/ibm1046.h: Likewise.
3784 * iconvdata/ibm1097.h: Likewise.
3785 * iconvdata/ibm1112.h: Likewise.
3786 * iconvdata/ibm1122.h: Likewise.
3787 * iconvdata/ibm1123.h: Likewise.
3788 * iconvdata/ibm1124.h: Likewise.
3789 * iconvdata/ibm1129.h: Likewise.
3790 * iconvdata/ibm1130.h: Likewise.
3791 * iconvdata/ibm1132.h: Likewise.
3792 * iconvdata/ibm1133.h: Likewise.
3793 * iconvdata/ibm1137.h: Likewise.
3794 * iconvdata/ibm1140.h: Likewise.
3795 * iconvdata/ibm1141.h: Likewise.
3796 * iconvdata/ibm1142.h: Likewise.
3797 * iconvdata/ibm1143.h: Likewise.
3798 * iconvdata/ibm1144.h: Likewise.
3799 * iconvdata/ibm1145.h: Likewise.
3800 * iconvdata/ibm1146.h: Likewise.
3801 * iconvdata/ibm1147.h: Likewise.
3802 * iconvdata/ibm1148.h: Likewise.
3803 * iconvdata/ibm1149.h: Likewise.
3804 * iconvdata/ibm1153.h: Likewise.
3805 * iconvdata/ibm1154.h: Likewise.
3806 * iconvdata/ibm1155.h: Likewise.
3807 * iconvdata/ibm1156.h: Likewise.
3808 * iconvdata/ibm1157.h: Likewise.
3809 * iconvdata/ibm1158.h: Likewise.
3810 * iconvdata/ibm1160.h: Likewise.
3811 * iconvdata/ibm1161.h: Likewise.
3812 * iconvdata/ibm1162.h: Likewise.
3813 * iconvdata/ibm1163.h: Likewise.
3814 * iconvdata/ibm1164.h: Likewise.
3815 * iconvdata/ibm1166.h: Likewise.
3816 * iconvdata/ibm1167.h: Likewise.
3817 * iconvdata/ibm12712.h: Likewise.
3818 * iconvdata/ibm1390.h: Likewise.
3819 * iconvdata/ibm1399.h: Likewise.
3820 * iconvdata/ibm16804.h: Likewise.
3821 * iconvdata/ibm4517.h: Likewise.
3822 * iconvdata/ibm4899.h: Likewise.
3823 * iconvdata/ibm4909.h: Likewise.
3824 * iconvdata/ibm4971.h: Likewise.
3825 * iconvdata/ibm5347.h: Likewise.
3826 * iconvdata/ibm803.h: Likewise.
3827 * iconvdata/ibm856.h: Likewise.
3828 * iconvdata/ibm901.h: Likewise.
3829 * iconvdata/ibm902.h: Likewise.
3830 * iconvdata/ibm9030.h: Likewise.
3831 * iconvdata/ibm9066.h: Likewise.
3832 * iconvdata/ibm921.h: Likewise.
3833 * iconvdata/ibm922.h: Likewise.
3834 * iconvdata/ibm9448.h: Likewise.
3835 * iconvdata/isiri-3342.h: Likewise.
3836 * iconvdata/jis0201.h: Likewise.
3837 * include/link.h: Likewise.
3838 * include/netdb.h: Likewise.
3839 * inet/check_native.c: Likewise.
3840 * inet/check_pf.c: Likewise.
3841 * inet/getipv4sourcefilter.c: Likewise.
3842 * inet/getnameinfo.c: Likewise.
3843 * inet/getsourcefilter.c: Likewise.
3844 * inet/htonl.c: Likewise.
3845 * inet/setipv4sourcefilter.c: Likewise.
3846 * inet/setsourcefilter.c: Likewise.
3847 * inet/test-inet6_opt.c: Likewise.
3848 * inet/tst-network.c: Likewise.
3849 * locale/C-collate.c: Likewise.
3850 * locale/C-ctype.c: Likewise.
3851 * locale/C-time.c: Likewise.
3852 * locale/C-translit.h: Likewise.
3853 * locale/loadarchive.c: Likewise.
3854 * locale/programs/3level.h: Likewise.
3855 * locale/programs/charmap.c: Likewise.
3856 * locale/programs/charmap.h: Likewise.
3857 * locale/programs/ld-address.c: Likewise.
3858 * locale/programs/ld-collate.c: Likewise.
3859 * locale/programs/ld-ctype.c: Likewise.
3860 * locale/programs/ld-identification.c: Likewise.
3861 * locale/programs/ld-measurement.c: Likewise.
3862 * locale/programs/ld-messages.c: Likewise.
3863 * locale/programs/ld-monetary.c: Likewise.
3864 * locale/programs/ld-name.c: Likewise.
3865 * locale/programs/ld-numeric.c: Likewise.
3866 * locale/programs/ld-paper.c: Likewise.
3867 * locale/programs/ld-telephone.c: Likewise.
3868 * locale/programs/ld-time.c: Likewise.
3869 * locale/programs/linereader.c: Likewise.
3870 * locale/programs/locale.c: Likewise.
3871 * locale/programs/locarchive.c: Likewise.
3872 * locale/programs/locfile.h: Likewise.
3873 * locale/programs/repertoire.c: Likewise.
3874 * locale/programs/simple-hash.c: Likewise.
3875 * locale/programs/simple-hash.h: Likewise.
3876 * malloc/memusage.c: Likewise.
3877 * malloc/memusagestat.c: Likewise.
3878 * nis/nis_defaults.c: Likewise.
3879 * nis/nis_hash.c: Likewise.
3880 * nis/nis_print.c: Likewise.
3881 * nis/nis_xdr.c: Likewise.
3882 * nscd/connections.c: Likewise.
3883 * nscd/hstcache.c: Likewise.
3884 * nscd/nscd_gethst_r.c: Likewise.
3885 * nscd/nscd_getserv_r.c: Likewise.
3886 * nscd/nscd_helper.c: Likewise.
3887 * nscd/servicescache.c: Likewise.
3888 * nss/makedb.c: Likewise.
3889 * nss/nss_db/db-XXX.c: Likewise.
3890 * nss/nss_db/db-initgroups.c: Likewise.
3891 * nss/nss_db/db-netgrp.c: Likewise.
3892 * nss/nss_files/files-network.c: Likewise.
3893 * nss/nss_files/files-parse.c: Likewise.
3894 * posix/bug-regex5.c: Likewise.
3895 * posix/fnmatch_loop.c: Likewise.
3896 * posix/regcomp.c: Likewise.
3897 * posix/regexec.c: Likewise.
3898 * posix/tst-rfc3484-2.c: Likewise.
3899 * posix/tst-rfc3484-3.c: Likewise.
3900 * posix/tst-rfc3484.c: Likewise.
3901 * resolv/nss_dns/dns-canon.c: Likewise.
3902 * resolv/nss_dns/dns-network.c: Likewise.
3903 * resolv/res_init.c: Likewise.
3904 * resolv/res_mkquery.c: Likewise.
3905 * resolv/tst-aton.c: Likewise.
3906 * stdlib/cxa_atexit.c: Likewise.
3907 * stdlib/cxa_finalize.c: Likewise.
3908 * stdlib/gen-fpioconst.c: Likewise.
3909 * stdlib/strtol_l.c: Likewise.
3910 * string/tst-endian.c: Likewise.
3911 * sunrpc/auth_des.c: Likewise.
3912 * sunrpc/clnt_udp.c: Likewise.
3913 * sunrpc/rtime.c: Likewise.
3914 * sunrpc/svcauth_des.c: Likewise.
3915 * sunrpc/xdr.c: Likewise.
3916 * sunrpc/xdr_intXX_t.c: Likewise.
3917 * sunrpc/xdr_rec.c: Likewise.
3918 * sysdeps/generic/ldconfig.h: Likewise.
3919 * sysdeps/generic/ldsodefs.h: Likewise.
3920 * sysdeps/generic/memusage.h: Likewise.
3921 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3922 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3923 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3924 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3925 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3926 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3931 * sysdeps/posix/getaddrinfo.c: Likewise.
3932 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3933 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3934 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3935 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3936 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3937 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3938 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3939 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3940 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3941 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3942 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3943 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3944 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3945 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3946 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3947 * sysdeps/x86_64/dl-tls.h: Likewise.
3948 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3949 * time/alt_digit.c: Likewise.
3950 * time/era.c: Likewise.
3951 * wcsmbs/tst-c16c32-1.c: Likewise.
3952
8c75f674
JM
39532013-05-16 Joseph Myers <joseph@codesourcery.com>
3954
3955 * math/libm-test.inc (struct test_sincos_data): New type.
3956 (RUN_TEST_LOOP_sincos): New macro.
3957 (sincos_test_data): New variable.
3958 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3959
e6e49e59
RH
39602013-05-16 Richard Henderson <rth@redhat.com>
3961
3962 * math/atest-exp2.c (LIMB64): New macro.
3963 (CONSTSZ): New macro.
3964 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3965 (hexdig): Move ...
3966 (print_mpn_fp): ... to function scope.
3967 (read_mpn_hex): Remove.
3968 (get_log2): Remove.
3969 (exp2_mpn): Use mp_log2.
3970 (main): Use mp_exp1.
3971
15c7c18d
JM
39722013-05-16 Joseph Myers <joseph@codesourcery.com>
3973
105a07df
JM
3974 * math/libm-test.inc: Remove comment about not testing "inexact"
3975 exceptions.
3976 (INEXACT_EXCEPTION): New macro.
3977 (NO_INEXACT_EXCEPTION): Likewise.
3978 (INVALID_EXCEPTION_OK): Update value.
3979 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3980 (OVERFLOW_EXCEPTION_OK): Likewise.
3981 (UNDERFLOW_EXCEPTION_OK): Likewise.
3982 (IGNORE_ZERO_INF_SIGN): Likewise.
3983 (ERRNO_UNCHANGED): Likewise.
3984 (ERRNO_EDOM): Likewise.
3985 (ERRNO_ERANGE): Likewise.
3986 (test_exceptions): Handle testing "inexact" exceptions.
3987 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3988 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3989 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3990 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3991 INEXACT_EXCEPTION.
3992 (rint_towardzero_test_data): Likewise.
3993 (rint_downward_test_data): Likewise.
3994 (rint_upward_test_data): Likewise.
3995
e9eee333
JM
3996 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3997 with OVERFLOW_EXCEPTION.
3998 (exp10_test_data): Likewise.
3999 (exp2_test_data): Likewise.
4000 (expm1_test_data): Likewise.
4001 (lgamma_test_data): Likewise.
4002 (pow_test_data): Likewise.
4003 (tgamma_test_data): Likewise.
4004 (yn_test_data): Remove duplicate test of overflow.
4005
1c38ff73
JM
4006 * math/libm-test.inc (struct test_cc_c_data): New type.
4007 (RUN_TEST_LOOP_cc_c): New macro.
4008 (cpow_test_data): New variable.
4009 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4010
15c7c18d
JM
4011 * math/libm-test.inc (struct test_f_L_data): New type.
4012 (RUN_TEST_LOOP_f_L): New macro.
4013 (llrint_test_data): New variable.
4014 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4015 (llrint_tonearest_test_data): New variable.
4016 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4017 (llrint_towardzero_test_data): New variable.
4018 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4019 (llrint_downward_test_data): New variable.
4020 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4021 (llrint_upward_test_data): New variable.
4022 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4023 (llround_test_data): New variable.
4024 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4025
f137ff13
PC
40262013-05-13 Peter Collingbourne <pcc@google.com>
4027
4028 * math/atest-exp2.c (get_log2): Remove const attribute.
4029
3608cb24
JM
40302013-05-15 Joseph Myers <joseph@codesourcery.com>
4031
4032 * math/libm-test.inc (struct test_f_l_data): New type.
4033 (RUN_TEST_LOOP_f_l): New macro.
4034 (lrint_test_data): New variable.
4035 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4036 (lrint_tonearest_test_data): New variable.
4037 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4038 (lrint_towardzero_test_data): New variable.
4039 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4040 (lrint_downward_test_data): New variable.
4041 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4042 (lrint_upward_test_data): New variable.
4043 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4044 (lround_test_data): New variable.
4045 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4046
39b1f617
PC
40472013-05-15 Peter Collingbourne <pcc@google.com>
4048
1deff3dc
PC
4049 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4050 (EXTRACT_WORDS64) Use where appropriate.
4051 (INSERT_WORDS64) Likewise.
4052
791f3ba0
PC
4053 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4054 constraints with x constraints.
4055 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4056
39b1f617
PC
4057 * malloc/obstack.c (_obstack_compat): Add initializer.
4058
12fba011
EM
40592013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4060
4061 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4062 si_trapno and add si_addr_lsb to _sifields.sigfault.
4063 (si_trapno): Remove macro.
4064 (si_addr_lsb): Define new macro.
4065 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4066
d369f531
JM
40672013-05-15 Joseph Myers <joseph@codesourcery.com>
4068
b861c6c4
JM
4069 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4070 instead of TEST_f_l.
4071 (llrint_test_tonearest): Likewise.
4072 (llrint_test_towardzero): Likewise.
4073 (llrint_test_downward): Likewise.
4074 (llrint_test_upward): Likewise.
4075 (llround_test): Likewise.
4076
7abeee12
JM
4077 * math/libm-test.inc (struct test_f_i_data): Add comment.
4078 (RUN_TEST_LOOP_f_b): New macro.
4079 (RUN_TEST_LOOP_f_b_tg): Likewise.
4080 (finite_test_data): New variable.
4081 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4082 (isfinite_test_data): New variable.
4083 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4084 (isinf_test_data): New variable.
4085 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4086 (isnan_test_data): New variable.
4087 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4088 (isnormal_test_data): New variable.
4089 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4090 (issignaling_test_data): New variable.
4091 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4092 (signbit_test_data): New variable.
4093 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4094
cbe8c4d3
JM
4095 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4096 with INVALID_EXCEPTION.
4097 (acosh_test_data): Likewise.
4098 (asin_test_data): Likewise.
4099 (atanh_test_data): Likewise.
4100 (fmod_test_data): Likewise.
4101 (log_test_data): Likewise.
4102 (log10_test_data): Likewise.
4103 (log2_test_data): Likewise.
4104 (pow_test_data): Likewise.
4105 (sqrt_test_data): Likewise.
4106 (y0_test_data): Likewise.
4107 (y1_test_data): Likewise.
4108 (yn_test_data): Likewise.
4109
5575c0e5
JM
4110 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4111 function contents.
4112
d369f531
JM
4113 * math/libm-test.inc (struct test_ff_i_data): New type.
4114 (RUN_TEST_LOOP_ff_i_tg): New macro.
4115 (isgreater_test_data): New variable.
4116 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4117 (isgreaterequal_test_data): New variable.
4118 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4119 (isless_test_data): New variable.
4120 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4121 (islessequal_test_data): New variable.
4122 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4123 (islessgreater_test_data): New variable.
4124 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4125 (isunordered_test_data): New variable.
4126 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4127
781fd748
DM
41282013-05-14 David S. Miller <davem@davemloft.net>
4129
4130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4131
87aa21df
JM
41322013-05-14 Joseph Myers <joseph@codesourcery.com>
4133
5e908270
JM
4134 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4135
f71172e5
JM
4136 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4137 extra_test to int.
4138 (struct test_f_i_data): Change type of max_ulp to int.
4139
8cfa635a
JM
4140 * math/libm-test.inc (test_ffI_f1_data): New type.
4141 (RUN_TEST_LOOP_ffI_f1): New macro.
4142 (remquo_test_data): New variable.
4143 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4144
2bcb36b2
JM
4145 * setjmp/tst-setjmp-fp.c: New file.
4146 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4147 (link-libm): New variable.
4148 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4149
acbd839a
JM
4150 * math/libm-test.inc (struct test_f_i_data): New type.
4151 (RUN_TEST_LOOP_f_i): New macro.
4152 (RUN_TEST_LOOP_f_i_tg): Likewise.
4153 (fpclassify_test_data): New variable.
4154 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4155 (ilogb_test_data): New variable.
4156 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4157
e414d745
JM
4158 * math/libm-test.inc (scalbln_test): Correct function name in END
4159 call.
4160
d9c2a0fd
JM
4161 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4162 (RUN_TEST_LOOP_fI_f1): New macro.
4163 (frexp_test_data): New variable.
4164 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4165
9dc9095d
JM
4166 * math/libm-test.inc (struct test_fF_f1_data): New type.
4167 (RUN_TEST_LOOP_fF_f1): New macro.
4168 (modf_test_data): New variable.
4169 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4170
87aa21df
JM
4171 * math/libm-test.inc (struct test_f_f1_data): New type.
4172 (RUN_TEST_LOOP_f_f1): New macro.
4173 (gamma_test_data): New variable.
4174 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4175 (lgamma_test_data): New variable.
4176 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4177
141af660
CD
41782013-05-13 Carlos O'Donell <carlos@redhat.com>
4179
4180 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4181 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4182 (main): Comment "tls" pseudo-hwcap.
4183
6d33265c
JM
41842013-05-13 Joseph Myers <joseph@codesourcery.com>
4185
68fc074c
JM
4186 * math/libm-test.inc (struct test_fl_f_data): New type.
4187 (RUN_TEST_LOOP_fl_f): New variable.
4188 (scalbln_test_data): New variable.
4189 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4190
243216e1
JM
4191 * math/libm-test.inc (struct test_fi_f_data): New type.
4192 (RUN_TEST_LOOP_fi_f): New macro.
4193 (ldexp_test_data): New variable.
4194 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4195 (scalbn_test_data): New variable.
4196 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4197
6a1992e2
JM
4198 * math/libm-test.inc (struct test_c_f_data): New type.
4199 (RUN_TEST_LOOP_c_f): New macro.
4200 (cabs_test_data): New variable.
4201 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4202 (carg_test_data): New variable.
4203 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4204 (cimag_test_data): New variable.
4205 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4206 (creal_test_data): New variable.
4207 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4208
0e400df5
JM
4209 * math/libm-test.inc (struct test_if_f_data): New type.
4210 (RUN_TEST_LOOP_if_f): New macro.
4211 (jn_test_data): New variable.
4212 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4213 (yn_test_data): New variable.
4214 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4215
6d33265c
JM
4216 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4217
f98ece5f
AZ
42182013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4219
4220 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4221 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4222
0f7d347b
SP
42232013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4224
43fe811b
SP
4225 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4226 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4227 (bench-deps): Add bench-timing.h.
4228 * benchtests-bench-skeleton.c: Include bench-timing.h.
4229 (main): Use TIMING_* macros instead of clock_gettime.
4230 * benchtests/bench-timing.h: New file.
4231
0f7d347b
SP
4232 [BZ #14582]
4233 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4234 Renamed from _LIB_VERSION.
4235 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4236
601a3a5f
JM
42372013-05-12 Joseph Myers <joseph@codesourcery.com>
4238
4f184d30
JM
4239 * math/libm-test.inc (struct test_fff_f_data): New type.
4240 (RUN_TEST_LOOP_fff_f): New macro.
4241 (fma_test_data): New variable.
4242 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4243 (fma_towardzero_test_data): New variable.
4244 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4245 (fma_downward_test_data): New variable.
4246 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4247 (fma_upward_test_data): New variable.
4248 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4249
08198877
JM
4250 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4251 (struct test_c_c_data): New type.
4252 (RUN_TEST_LOOP_c_c): New macro.
4253 (cacos_test_data): New variable.
4254 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4255 (cacosh_test_data): New variable.
4256 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4257 (casin_test_data): New variable.
4258 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4259 (casinh_test_data): New variable.
4260 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4261 (catan_test_data): New variable.
4262 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4263 (catanh_test_data): New variable.
4264 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4265 (ccos_test_data): New variable.
4266 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4267 (ccosh_test_data): New variable.
4268 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4269 (cexp_test_data): New variable.
4270 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4271 (clog_test_data): New variable.
4272 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4273 (clog10_test_data): New variable.
4274 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4275 (conj_test_data): New variable.
4276 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4277 (cproj_test_data): New variable.
4278 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4279 (csin_test_data): New variable.
4280 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4281 (csinh_test_data): New variable.
4282 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4283 (csqrt_test_data): New variable.
4284 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4285 (ctan_test_data): New variable.
4286 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4287 (ctan_tonearest_test_data): New variable.
4288 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4289 (ctan_towardzero_test_data): New variable.
4290 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4291 (ctan_downward_test_data): New variable.
4292 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4293 (ctan_upward_test_data): New variable.
4294 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4295 (ctanh_test_data): New variable.
4296 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4297 (ctanh_tonearest_test_data): New variable.
4298 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4299 (ctanh_towardzero_test_data): New variable.
4300 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4301 (ctanh_downward_test_data): New variable.
4302 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4303 (ctanh_upward_test_data): New variable.
4304 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4305 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4306 of BUILD_COMPLEX.
4307
601a3a5f
JM
4308 * math/libm-test.inc (struct test_ff_f_data): New type.
4309 (struct test_ff_f_data_nexttoward): Likewise.
4310 (RUN_TEST_LOOP_2_f): New macro.
4311 (RUN_TEST_LOOP_ff_f): Likewise.
4312 (atan2_test_data): New variable.
4313 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4314 (copysign_test_data): New variable.
4315 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4316 (fdim_test_data): New variable.
4317 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4318 (fmax_test_data): New variable.
4319 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4320 (fmin_test_data): New variable.
4321 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4322 (fmod_test_data): New variable.
4323 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4324 (hypot_test_data): New variable.
4325 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4326 (nextafter_test_data): New variable.
4327 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4328 (nexttoward_test_data): New variable.
4329 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4330 (pow_test_data): New variable.
4331 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4332 (pow_tonearest_test_data): New variable.
4333 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4334 (pow_towardzero_test_data): New variable.
4335 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4336 (pow_downward_test_data): New variable.
4337 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4338 (pow_upward_test_data): New variable.
4339 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4340 (remainder_test_data): New variable.
4341 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4342 (scalb_test_data): New variable.
4343 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4344 * sysdeps/i386/fpu/libm-test-ulps: Update.
4345
74c57478
JM
43462013-05-11 Joseph Myers <joseph@codesourcery.com>
4347
8329e4da
JM
4348 * math/libm-test.inc (fma_test): Use max_value instead of local
4349 variable fltmax.
4350 (nextafter_test): Likewise.
4351
74c57478
JM
4352 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4353 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4354 (acos_downward_test_data): New variable.
4355 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4356 (acos_upward_test_data): New variable.
4357 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4358 (acosh_test_data): New variable.
4359 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4360 (asin_test_data): New variable.
4361 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4362 (asin_tonearest_test_data): New variable.
4363 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4364 (asin_towardzero_test_data): New variable.
4365 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4366 (asin_downward_test_data): New variable.
4367 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4368 (asin_upward_test_data): New variable.
4369 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4370 (asinh_test_data): New variable.
4371 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4372 (atan_test_data): New variable.
4373 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4374 (atanh_test_data): New variable.
4375 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4376 (cbrt_test_data): New variable.
4377 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4378 (ceil_test_data): New variable.
4379 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4380 (cos_test_data): New variable.
4381 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4382 (cos_tonearest_test_data): New variable.
4383 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4384 (cos_towardzero_test_data): New variable.
4385 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4386 (cos_downward_test_data): New variable.
4387 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4388 (cos_upward_test_data): New variable.
4389 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4390 (cosh_test_data): New variable.
4391 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4392 (cosh_tonearest_test_data): New variable.
4393 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4394 (cosh_towardzero_test_data): New variable.
4395 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4396 (cosh_downward_test_data): New variable.
4397 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4398 (cosh_upward_test_data): New variable.
4399 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4400 (erf_test_data): New variable.
4401 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4402 (erfc_test_data): New variable.
4403 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4404 (exp_test_data): New variable.
4405 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4406 (exp_tonearest_test_data): New variable.
4407 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4408 (exp_towardzero_test_data): New variable.
4409 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4410 (exp_downward_test_data): New variable.
4411 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4412 (exp_upward_test_data): New variable.
4413 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4414 (exp10_test_data): New variable.
4415 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4416 (exp2_test_data): New variable.
4417 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4418 (expm1_test_data): New variable.
4419 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4420 (fabs_test_data): New variable.
4421 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4422 (floor_test_data): New variable.
4423 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4424 (j0_test_data): New variable.
4425 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4426 (j1_test_data): New variable.
4427 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4428 (log_test_data): New variable.
4429 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4430 (log10_test_data): New variable.
4431 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4432 (log1p_test_data): New variable.
4433 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4434 (log2_test_data): New variable.
4435 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4436 (logb_test_data): New variable.
4437 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4438 (logb_downward_test_data): New variable.
4439 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4440 (nearbyint_test_data): New variable.
4441 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4442 (rint_test_data): New variable.
4443 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4444 (rint_tonearest_test_data): New variable.
4445 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4446 (rint_towardzero_test_data): New variable.
4447 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4448 (rint_downward_test_data): New variable.
4449 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4450 (rint_upward_test_data): New variable.
4451 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4452 (round_test_data): New variable.
4453 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4454 (sin_test_data): New variable.
4455 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4456 (sin_tonearest_test_data): New variable.
4457 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4458 (sin_towardzero_test_data): New variable.
4459 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4460 (sin_downward_test_data): New variable.
4461 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4462 (sin_upward_test_data): New variable.
4463 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4464 (sinh_test_data): New variable.
4465 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4466 (sinh_tonearest_test_data): New variable.
4467 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4468 (sinh_towardzero_test_data): New variable.
4469 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4470 (sinh_downward_test_data): New variable.
4471 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4472 (sinh_upward_test_data): New variable.
4473 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4474 (sqrt_test_data): New variable.
4475 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4476 (tan_test_data): New variable.
4477 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4478 (tan_tonearest_test_data): New variable.
4479 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4480 (tan_towardzero_test_data): New variable.
4481 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4482 (tan_downward_test_data): New variable.
4483 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4484 (tan_upward_test_data): New variable.
4485 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4486 (tanh_test_data): New variable.
4487 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4488 (tgamma_test_data): New variable.
4489 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4490 (trunc_test_data): New variable.
4491 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4492 (y0_test_data): New variable.
4493 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4494 (y1_test_data): New variable.
4495 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4496 (significand_test_data): New variable.
4497 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4498
7187d844
CG
44992013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4500
4501 [BZ #12387]
4502 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4503
f63fae73
PT
45042013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4505
4506 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4507
8a67a4b3
AJ
45082013-05-10 Andreas Jaeger <aj@suse.de>
4509
4510 [BZ #15448]
4511 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4512 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4513
51df539d
JM
45142013-05-10 Joseph Myers <joseph@codesourcery.com>
4515
4516 * math/gen-libm-test.pl (adjust_arg): New function.
4517 (special_functions): Handle generating output in both functions
4518 and arrays.
4519 (parse_args): Likewise.
4520 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4521 $in_func argument to parse_args.
4522 * math/libm-test.inc (struct test_f_f_data): New type.
4523 (IF_ROUND_INIT_): New macro.
4524 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4525 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4526 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4527 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4528 (ROUND_RESTORE_): Likewise.
4529 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4530 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4531 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4532 (ROUND_RESTORE_FE_UPWARD): Likewise.
4533 (RUN_TEST_LOOP_f_f): New macro.
4534 (acos_test_data): New variable.
4535 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4536 (acos_tonearest_test_data): New variable.
4537 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4538
5c637fe5
SP
45392013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4540
4541 * benchtests/bench-skeleton.c (startup): Fix coding style.
4542
ab2b9461
JM
45432013-05-10 Joseph Myers <joseph@codesourcery.com>
4544
4545 [BZ #6809]
4546 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4547 negative infinity argument.
4548 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4549 negative infinity argument.
4550 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4551 negative infinity argument.
4552 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4553 domain errors.
4554
4c0fe6fe
FW
45552013-05-10 Florian Weimer <fweimer@redhat.com>
4556
4557 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4558 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4559 * iconv/iconv_prog.c (main): Likewise.
4560 * locale/programs/charmap-dir.c (charmap_readdir)
4561 (fopen_uncompressed): Likewise.
4562 * locale/programs/locfile.c (siblings_uncached)
4563 (write_locale_data): Use lstat64 instead of lstat.
4564 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4565 stat.
4566
a3375d29
AJ
45672013-05-10 Andreas Jaeger <aj@suse.de>
4568
4569 [BZ #15395]
4570 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4571 localization.
4572 Include <locale.h>.
4573
36129722
CD
45742013-05-09 Carlos O'Donell <carlos@redhat.com>
4575
4576 * elf/dl-close.c (_dl_close_worker): Add comments.
4577
faa7f811
JM
45782013-05-09 Joseph Myers <joseph@codesourcery.com>
4579
ed41ffef
JM
4580 [BZ #15359]
4581 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4582 high part of pi/2.
4583 (__ieee754_rem_pio2l): Update comments.
4584
d0213cd0
JM
4585 [BZ #15429]
4586 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4587 high part of pi/2.
4588 (__ieee754_rem_pio2l): Update comments.
4589
0d3e777a
JM
4590 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4591 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4592
24f56066
JM
4593 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4594 M_PI_4l.
4595
faa7f811
JM
4596 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4597 (M_PI_34_LOG10El): Likewise.
4598 (M_PI2_LOG10El): Likewise.
4599 (M_PI4_LOG10El): Likewise.
4600 (M_PI_LOG10El): Likewise.
4601
e9a5e0fd
AZ
46022013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4603
4604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4605
d8cd06db
JM
46062013-05-08 Joseph Myers <joseph@codesourcery.com>
4607
a0d9f9d7
JM
4608 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4609 (MINUS_ZERO_INIT): Likewise.
4610 (PLUS_INFTY_INIT): Likewise.
4611 (MINUS_INFTY_INIT): Likewise.
4612 (QNAN_VALUE_INIT): Likewise.
4613 (MAX_VALUE_INIT): Likewise.
4614 (MIN_VALUE_INIT): Likewise.
4615 (MIN_SUBNORM_VALUE_INIT): Likewise.
4616 (plus_zero): Initialize with PLUS_ZERO_INIT.
4617 (minus_zero): Initialize with MINUS_ZERO_INIT.
4618 (plus_infty): Initialize with PLUS_INFTY_INIT.
4619 (minus_infty): Initialize with MINUS_INFTY_INIT.
4620 (qnan_value): Initialize with QNAN_VALUE_INIT.
4621 (max_value): Initialize with MAX_VALUE_INIT.
4622 (min_value): Initialize with MIN_VALUE_INIT.
4623 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4624
ae08db3b
JM
4625 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4626 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4627 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4628 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4629
f44bf14a
JM
4630 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4631 (RUN_TEST_2_f): Likewise.
4632 (RUN_TEST_ff_f): Likewise.
4633 (RUN_TEST_fi_f): Likewise.
4634 (RUN_TEST_fl_f): Likewise.
4635 (RUN_TEST_fff_f): Likewise.
4636 (RUN_TEST_c_f): Likewise.
4637 (RUN_TEST_f_f1): Likewise.
4638 (RUN_TEST_fF_f1): Likewise.
4639 (RUN_TEST_fI_f1): Likewise.
4640 (RUN_TEST_ffI_f1): Likewise.
4641 (RUN_TEST_c_c): Likewise.
4642 (RUN_TEST_cc_c): Likewise.
4643 (RUN_TEST_f_i): Likewise.
4644 (RUN_TEST_f_i_tg): Likewise.
4645 (RUN_TEST_ff_i_tg): Likewise.
4646 (RUN_TEST_f_b): Likewise.
4647 (RUN_TEST_f_b_tg): Likewise.
4648 (RUN_TEST_f_l): Likewise.
4649 (RUN_TEST_f_L): Likewise.
4650 (RUN_TEST_sincos): Likewise.
4651 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4652 whether to show exceptions. Do not include ");\n" in return
4653 value.
4654 (special_functions): Output call to RUN_TEST_sincos instead of
4655 check_float calls. Update calls to new_test.
4656 (parse_args): Output call to single RUN_TEST_* macro instead of
4657 check_* calls and other assignments. Update calls to new_test.
4658
d8cd06db
JM
4659 [BZ #2546]
4660 [BZ #2560]
4661 [BZ #5159]
4662 [BZ #15426]
4663 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4664 input to result for tgamma overflow.
4665 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4666 (gamma_coeff): New variable.
4667 (NCOEFF): New macro.
4668 (gamma_positive): New function.
4669 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4670 underflow here. Use gamma_positive instead of exp (lgamma) for
4671 other arguments.
4672 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4673 (gamma_coeff): New variable.
4674 (NCOEFF): New macro.
4675 (gammaf_positive): New function.
4676 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4677 underflow here. Use gamma_positive instead of exp (lgamma) for
4678 other arguments.
4679 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4680 (gamma_coeff): New variable.
4681 (NCOEFF): New macro.
4682 (gammal_positive): New function.
4683 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4684 underflow here. Use gamma_positive instead of exp (lgamma) for
4685 other arguments.
4686 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4687 (gamma_coeff): New variable.
4688 (NCOEFF): New macro.
4689 (gammal_positive): New function.
4690 (__ieee754_gammal_r): Handle positive infinity, overflow and
4691 underflow here. Handle NaN the same as positive infinity. Remove
4692 check x < 0xffffffff for negative integers. Use gamma_positive
4693 instead of exp (lgamma) for other arguments.
4694 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4695 (gamma_coeff): New variable.
4696 (NCOEFF): New macro.
4697 (gammal_positive): New function.
4698 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4699 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4700 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4702 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4703 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4704 * sysdeps/generic/math_private.h (__gamma_productf): New
4705 prototype.
4706 (__gamma_product): Likewise.
4707 (__gamma_productl): Likewise.
4708 * math/Makefile (libm-calls): Add gamma_product.
4709 * math/libm-test.inc (tgamma_test): Add more tests.
4710 * sysdeps/i386/fpu/libm-test-ulps: Update.
4711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4712
bb7cf681
OB
47132013-05-08 Ondřej Bílka <neleai@seznam.cz>
4714
4715 * benchtests/bench-skeleton.c (main): Preheat CPU.
4716
ba853947
AJ
47172013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4718
4719 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4720
8347c74c
RM
47212013-05-07 Roland McGrath <roland@hack.frob.com>
4722
4723 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4724 and _dl_skip_args_internal.
4725
e8dd4791
CD
47262013-05-07 Carlos O'Donell <carlos@redhat.com>
4727
4728 * manual/message.texi (Message Translation): Talk about users.
4729 Message to key mapping impacts design.
4730
c7405830
RM
47312013-05-06 Roland McGrath <roland@hack.frob.com>
4732
a9173057
RM
4733 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4734
976e2f03
RM
4735 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4736
9723ffc5
RM
4737 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4738 * sysdeps/wordsize-64/glob64.c: ... here.
4739
962e6658
RM
4740 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4741 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4742 New macros.
4743
ee586a6d
RM
4744 * debug/getlogin_r_chk.c: Moved to ...
4745 * login/getlogin_r_chk.c: ... here.
4746 * debug/Makefile (routines): Move getlogin_r_chk to ...
4747 * login/Makefile (routines): ... here.
4748 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4749 * login/Versions (libc: GLIBC_2.4): ... here.
4750
355f9165
RM
4751 * io/poll.c (__poll): Renamed from poll.
4752 Add libc_hidden_def.
4753 (poll): Define as weak alias.
4754
bd9ffde6
RM
4755 * debug/ptsname_r_chk.c: Moved to ...
4756 * login/ptsname_r_chk.c: ... here.
4757 * debug/Makefile (routines): Move ptsname_r_chk to ...
4758 * login/Makefile (routines): ... here.
4759 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4760 * login/Versions (libc: GLIBC_2.4): ... here.
4761
8fb16a04
RM
4762 * posix/getlogin.c: Moved to ...
4763 * login/getlogin.c: ... here.
4764 * posix/getlogin_r.c: Moved to ...
4765 * login/getlogin_r.c: ... here.
4766 * posix/getlogin_r.c: Moved to ...
4767 * login/getlogin_r.c: ... here.
4768 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4769 * login/Makefile (routines): ... here.
4770 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4771 * login/Versions (libc: GLIBC_2.0): ... here.
4772
b99b892f
RM
4773 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4774 (setrlimit): Define as weak alias.
4775
c7405830
RM
4776 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4777 Call __ names for open, ftruncate, and close.
4778 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4779 (truncate): Define as weak alias.
4780
5bf96de5
JM
47812013-05-06 Joseph Myers <joseph@codesourcery.com>
4782
9ea3513c
JM
4783 * math/gen-libm-test.pl (parse_args): Initialize x before each
4784 test of frexp, modf and remquo.
4785
5bf96de5
JM
4786 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4787 test signgam value.
4788
16e616a7
AZ
47892013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4790
4791 [BZ #15418]
4792 [BZ #15419]
4793 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4794 internal tests.
4795 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4796
d5e82754
RM
47972013-05-06 Roland McGrath <roland@hack.frob.com>
4798
4799 * elf/dl-writev.h: New file.
4800 * elf/dl-misc.c: Include it.
4801 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4802 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4803
a7548d41
JM
48042013-05-04 Joseph Myers <joseph@codesourcery.com>
4805
b7dab1e4
JM
4806 * math/libm-test.inc (noXFails): Remove variable.
4807 (noXPasses): Likewise.
4808 (BUILD_COMPLEX_INT): Remove macro.
4809 (print_screen): Remove xfail argument.
4810 (print_screen_max_error): Likewise.
4811 (update_stats): Likewise.
4812 (print_max_error): Likewise. Update calls to other affected
4813 functions.
4814 (print_complex_max_error): Likewise.
4815 (test_single_exception): Update calls to print_screen.
4816 (test_single_errno): Likewise.
4817 (check_float_internal): Remove xfail argument. Update calls to
4818 other affected functions.
4819 (check_float): Likewise.
4820 (check_complex): Likewise.
4821 (check_int): Likewise.
4822 (check_long): Likewise.
4823 (check_bool): Likewise.
4824 (check_longlong): Likewise.
4825 (main): Don't print noXFails and noXPasses.
4826 * math/gen-libm-test.pl (top level): Don't mention expected
4827 failure handling in comment.
4828 (new_test): Don't handle expected failures.
4829 (parse_args): Don't mention expected failure handling in comment.
4830 (generate_testfile): Don't handle expected failures.
4831 (parse_ulps): Likewise.
4832 (print_ulps_file): Likewise.
4833 (get_failure): Remove function.
4834 (output_test): Don't handle expected failures.
4835 * make/README.libm-test: Don't mention expected failure handling.
4836
a7548d41
JM
4837 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4838 (minus_zero): Likewise.
4839 (plus_infty): Likewise.
4840 (minus_infty): Likewise.
4841 (qnan_value): Likewise.
4842 (max_value): Likewise.
4843 (min_value): Likewise.
4844 (min_subnorm_value): Likewise.
4845 (initialize): Do not initialize those variables dynamically.
4846
60bfd54c
RM
48472013-05-03 Roland McGrath <roland@hack.frob.com>
4848
cc0e6ed8
RM
4849 * io/open.c (__open_2): Moved to ...
4850 * io/open_2.c: ... this new file.
4851 * io/open64.c (__open64_2): Moved to ...
4852 * io/open64_2.c: ... this new file.
4853 * io/openat.c (__openat_2): Moved to ...
4854 * io/openat_2.c: ... this new file.
4855 * io/openat64.c (__openat64_2): Moved to ...
4856 * io/openat64_2.c: ... this new file.
4857 * io/Makefile (routines): Add them.
4858 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4859 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4860 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4861 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4862 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4863 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4864 (__openat64): Add hidden_ver.
4865 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4866 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4867
60bfd54c
RM
4868 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4869 Separately conditionalize setting of GLRO(dl_sysinfo) so
4870 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4871 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4872
83e7640f
AZ
48732013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4874
4875 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4876 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4877 definition.
4878 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4879 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4880 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4881 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4882 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4883
d5dc2af3
JM
48842013-05-03 Joseph Myers <joseph@codesourcery.com>
4885
c31a5b1e
JM
4886 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4887 test signgam value.
4888
d5dc2af3
JM
4889 * math/libm-test.inc (hypot_test): Do not use
4890 IGNORE_ZERO_INF_SIGN.
4891
164fd39d
AJ
48922013-05-03 Andreas Jaeger <aj@suse.de>
4893
4894 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4895 Linux 3.9.
4896 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4897 (PF_MAX): Adjust for VSOCK change.
4898
8237f48c
AZ
48992013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4900
4901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4902
9df02941
CD
49032013-05-02 Carlos O'Donell <carlos@redhat.com>
4904
4905 [BZ #15264]
4906 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4907 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4908 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4909
d422395e
DM
49102013-05-02 David S. Miller <davem@davemloft.net>
4911
4912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4913
a07c5731
OB
49142013-05-01 Ondřej Bílka <neleai@seznam.cz>
4915
4916 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4917
1324e37f
RM
49182013-05-01 Roland McGrath <roland@hack.frob.com>
4919
4920 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4921
0695940b
RS
49222013-05-01 Richard Smith <richard@metafoo.co.uk>
4923
bb5f27ad 4924 [BZ #14952]
0695940b
RS
4925 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4926 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4927 Use __attribute__ ((__gnu_inline__)).
4928 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4929 Don't use __attribute__ ((__gnu_inline__)).
4930
10de07f5
JM
49312013-05-01 Joseph Myers <joseph@codesourcery.com>
4932
4933 [BZ #15423]
4934 * math/s_catan.c (__catan): Handle small real or imaginary part of
4935 input specially to avoid spurious underflow.
4936 * math/s_catanf.c (__catanf): Likewise.
4937 * math/s_catanh.c (__catanh): Likewise.
4938 * math/s_catanhf.c (__catanhf): Likewise.
4939 * math/s_catanhl.c (__catanhl): Likewise.
4940 * math/s_catanl.c (__catanl): Likewise.
4941 * math/libm-test.inc (catan_test): Add more tests.
4942 (catanh_test): Likewise.
4943 * sysdeps/i386/fpu/libm-test-ulps: Update.
4944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4945
cb4d5414
AZ
49462013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4947
4948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4949
caf84319
JM
49502013-04-30 Joseph Myers <joseph@codesourcery.com>
4951
4952 [BZ #15416]
4953 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4954 accurately for denominator in atan2.
4955 * math/s_catanf.c (__catanf): Likewise.
4956 * math/s_catanh.c (__catanh): Likewise.
4957 * math/s_catanhf.c (__catanhf): Likewise.
4958 * math/s_catanhl.c (__catanhl): Likewise.
4959 * math/s_catanl.c (__catanl): Likewise.
4960 * math/libm-test.inc (catan_test): Add more tests.
4961 (catanh_test): Likewise.
4962 * sysdeps/i386/fpu/libm-test-ulps: Update.
4963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4964
d569c6ee
SP
49652013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4966
6dbe713d
SP
4967 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4968
f0ee064b
SP
4969 * benchtests/Makefile (bench): Remove slow benchmarks.
4970 * benchtests/atan-inputs: Add slow benchmark inputs.
4971 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4972 (BENCH_FUNC): Accept variant offset.
4973 (VARIANT): Define.
4974 * benchtests/bench-skeleton.c (main): Run benchmark for each
4975 variant.
4976 * benchtests/cos-inputs: Add slow benchmark inputs.
4977 * benchtests/exp-inputs: Likewise.
4978 * benchtests/pow-inputs: Likewise.
4979 * benchtests/sin-inputs: Likewise.
4980 * benchtests/slowatan-inputs: Remove.
4981 * benchtests/slowatan.c: Remove.
4982 * benchtests/slowcos-inputs: Remove.
4983 * benchtests/slowcos.c: Remove.
4984 * benchtests/slowexp-inputs: Remove.
4985 * benchtests/slowexp.c: Remove.
4986 * benchtests/slowpow-inputs: Remove.
4987 * benchtests/slowpow.c: Remove.
4988 * benchtests/slowsin-inputs: Remove.
4989 * benchtests/slowsin.c: Remove.
4990 * benchtests/slowtan-inputs: Remove.
4991 * benchtests/slowtan.c: Remove.
4992 * benchtests/tan-inputs: Add slow benchmark inputs.
4993 * scripts/bench.pl: Parse comments and directives.
4994
d569c6ee
SP
4995 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4996 in CPPFLAGS.
4997 ($(objpfx)bench-%.c): Remove *-ITER.
4998 * benchtests/bench-modf.c: Remove definition of ITER.
4999 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5000 (main): Loop for DURATION seconds instead of fixed number of
5001 iterations.
5002 * scripts/bench.pl: Don't expect iterations in parameters.
5003
a6a242fe
RM
50042013-04-29 Roland McGrath <roland@hack.frob.com>
5005
5006 * io/fchdir.c (__fchdir): Renamed from fchdir.
5007 (fchdir): Define as weak alias.
5008
f2da7793
JM
50092013-04-29 Joseph Myers <joseph@codesourcery.com>
5010
5011 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5012 (ERRNO_EDOM): Likewise.
5013 (ERRNO_ERANGE): Likewise.
5014 (noErrnoTests): New variable.
5015 (init_max_error): Set errno to 0.
5016 (test_single_errno): New function.
5017 (test_errno): Likewise.
5018 (check_float_internal): Call test_errno. Set errno to 0.
5019 (check_complex): Refer to errno tests in comment.
5020 (check_int): Call test_errno. Set errno to 0.
5021 (check_long): Likewise.
5022 (check_bool): Likewise.
5023 (check_longlong): Likewise.
5024 (cos_test): Use ERRNO_* flags for errno tests instead of
5025 check_int.
5026 (expm1_test): Likewise.
5027 (fmod_test): Likewise.
5028 (ilogb_test): Likewise.
5029 (lgamma_test): Likewise.
5030 (pow_test): Likewise.
5031 (remainder_test): Likewise.
5032 (sin_test): Likewise.
5033 (tan_test): Likewise.
5034 (yn_test): Likewise.
5035 (initialize): Set errno to 0.
5036 (main): Print number of errno tests.
5037 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5038
b1a36ceb
AJ
50392013-04-29 Andreas Jaeger <aj@suse.de>
5040
c3ed8088
AJ
5041 [BZ #15084]
5042 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5043 and RES_USEVC.
5044
f1a24198
AJ
5045 [BZ #15085]
5046 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5047 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5048 unimplemented.
5049
9ce3b2cb
AJ
5050 [BZ #15380]
5051 * stdlib/random.c (__initstate): Return NULL if
5052 __initstate fails.
5053
f1a24198 5054 [BZ #15086]
b1a36ceb
AJ
5055 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5056 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5057 RES_SNGLKUPREOP.
5058
7e7b6f36
AZ
50592013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5060
5061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5062
4d14f449
JM
50632013-04-29 Joseph Myers <joseph@codesourcery.com>
5064
5065 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5066 of individual tests.
5067 (casin_test): Likewise.
5068 (casinh_test): Likewise.
5069
5b4217d7
JM
50702013-04-27 Joseph Myers <joseph@codesourcery.com>
5071
5072 [BZ #15409]
5073 * math/s_catan.c (__catan): Handle arguments with large real or
5074 imaginary part separately without squaring.
5075 * math/s_catanf.c (__catanf): Likewise.
5076 * math/s_catanh.c (__catanh): Likewise.
5077 * math/s_catanhf.c (__catanhf): Likewise.
5078 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5079 and redefine.
5080 (__catanhl): Handle arguments with large real or imaginary part
5081 separately without squaring.
5082 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5083 and redefine.
5084 (__catanl): Handle arguments with large real or imaginary part
5085 separately without squaring.
5086 * math/libm-test.inc (catan_test): Add more tests.
5087 (catanh_test): Likewise.
5088 * sysdeps/i386/fpu/libm-test-ulps: Update.
5089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5090
4220c3ef
AJ
50912013-04-27 Andreas Jaeger <aj@suse.de>
5092
5093 [BZ #15007]
5094 * stdlib/stdlib.h: Update guards for qecvt.
5095 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5096 <stdlib.h>.
5097
4721b2d1
AM
50982013-04-27 Allan McRae <allan@archlinux.org>
5099
5100 * sysdeps/i386/fpu/libm-test-ulps: Update.
5101
f0302940
JM
51022013-04-26 Joseph Myers <joseph@codesourcery.com>
5103
9457fd95
JM
5104 [BZ #15406]
5105 * math/s_catan.c: Include <float.h>.
5106 (__catan): Ensure underflow exception occurs for underflowed
5107 result.
5108 * math/s_catanf.c: Include <float.h>.
5109 (__catanf): Ensure underflow exception occurs for underflowed
5110 result.
5111 * math/s_catanh.c: Include <float.h>.
5112 (__catanh): Ensure underflow exception occurs for underflowed
5113 result.
5114 * math/s_catanhf.c: Include <float.h>.
5115 (__catanhf): Ensure underflow exception occurs for underflowed
5116 result.
5117 * math/s_catanhl.c: Include <float.h>.
5118 (__catanhl): Ensure underflow exception occurs for underflowed
5119 result.
5120 * math/s_catanl.c: Include <float.h>.
5121 (__catanl): Ensure underflow exception occurs for underflowed
5122 result.
5123 * math/libm-test.inc (catan_test): Add more tests.
5124 (catanh_test): Likewise.
5125
f0302940
JM
5126 [BZ #15405]
5127 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5128 underflowed result.
5129 * math/s_ccoshf.c (__ccoshf): Likewise.
5130 * math/s_ccoshl.c (__ccoshl): Likewise.
5131 * math/s_csin.c (__csin): Likewise.
5132 * math/s_csinf.c (__csinf): Likewise.
5133 * math/s_csinh.c (__csinh): Likewise.
5134 * math/s_csinhf.c (__csinhf): Likewise.
5135 * math/s_csinhl.c (__csinhl): Likewise.
5136 * math/s_csinl.c (__csinl): Likewise.
5137 * math/libm-test.inc (ccos_test): Add more tests.
5138 (ccosh_test): Likewise.
5139 (csin_test): Likewise.
5140 (csinh_test): Likewise.
5141
aa630f59
AZ
51422013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5143
5144 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5145 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5146 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5147 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5148 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5149 powerpc/power5+/fpu folders.
5150 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5151
5152
1b835983
MT
51532013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5154
5155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5156
73709b26
JM
51572013-04-25 Joseph Myers <joseph@codesourcery.com>
5158
5159 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5160 additions to variable.
5161 [$(config-machine) = x86_64] (modules-names): Likewise.
5162 ($(objpfx)tst-audit3): Remove dependency.
5163 ($(objpfx)tst-audit3.out): Likewise.
5164 ($(objpfx)tst-audit4): Likewise.
5165 ($(objpfx)tst-audit4.out): Likewise.
5166 ($(objpfx)tst-audit5): Likewise.
5167 ($(objpfx)tst-audit5.out): Likewise.
5168 ($(objpfx)tst-audit6): Likewise.
5169 ($(objpfx)tst-audit6.out): Likewise.
5170 ($(objpfx)tst-audit7): Likewise.
5171 ($(objpfx)tst-audit7.out): Likewise.
5172 (tst-audit3-ENV): Remove variable.
5173 (tst-audit4-ENV): Likewise.
5174 (tst-audit5-ENV): Likewise.
5175 (tst-audit6-ENV): Likewise.
5176 (tst-audit7-ENV): Likewise.
5177 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5178 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5179 addition to variable.
5180 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5181 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5182 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5183 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5184 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5185 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5186 tst-audit3, tst-audit4 and tst-audit5.
5187 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5188 tst-audit6 and tst-audit7.
5189 [$(subdir) = elf] (modules-names): Add audit modules for those
5190 tests.
5191 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5192 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5193 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5194 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5195 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5196 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5197 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5198 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5199 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5200 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5201 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5202 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5203 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5204 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5205 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5206 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5207 Likewise.
5208 [$(subdir) = elf && $(config-cflags-avx) = yes]
5209 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5210 [$(subdir) = elf && $(config-cflags-avx) = yes]
5211 (CFLAGS-tst-auditmod4a.c): Likewise.
5212 [$(subdir) = elf && $(config-cflags-avx) = yes]
5213 (CFLAGS-tst-auditmod4b.c): Likewise.
5214 [$(subdir) = elf && $(config-cflags-avx) = yes]
5215 (CFLAGS-tst-auditmod6b.c): Likewise.
5216 [$(subdir) = elf && $(config-cflags-avx) = yes]
5217 (CFLAGS-tst-auditmod6c.c): Likewise.
5218 [$(subdir) = elf && $(config-cflags-avx) = yes]
5219 (CFLAGS-tst-auditmod7b.c): Likewise.
5220 * elf/tst-audit3.c: Move to ...
5221 * sysdeps/x86_64/tst-audit3.c: ... here.
5222 * elf/tst-audit4.c: Move to ...
5223 * sysdeps/x86_64/tst-audit4.c: ... here.
5224 * elf/tst-audit5.c: Move to ...
5225 * sysdeps/x86_64/tst-audit5.c: ... here.
5226 * elf/tst-audit6.c: Move to ...
5227 * sysdeps/x86_64/tst-audit6.c: ... here.
5228 * elf/tst-audit7.c: Move to ...
5229 * sysdeps/x86_64/tst-audit7.c: ... here.
5230 * elf/tst-auditmod3a.c: Move to ...
5231 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5232 * elf/tst-auditmod3b.c: Move to ...
5233 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5234 * elf/tst-auditmod4a.c: Move to ...
5235 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5236 * elf/tst-auditmod4b.c: Move to ...
5237 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5238 * elf/tst-auditmod5a.c: Move to ...
5239 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5240 * elf/tst-auditmod5b.c: Move to ...
5241 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5242 * elf/tst-auditmod6a.c: Move to ...
5243 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5244 * elf/tst-auditmod6b.c: Move to ...
5245 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5246 * elf/tst-auditmod6c.c: Move to ...
5247 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5248 * elf/tst-auditmod7a.c: Move to ...
5249 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5250 * elf/tst-auditmod7b.c: Move to ...
5251 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5252
1ef74943
PP
52532013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5254
5255 [BZ #15366]
5256 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5257 define unconditionally.
5258 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5259 define unconditionally.
5260 (INT8_C, INT16_C, etc.): Likewise.
5261
93fd48c5
MR
52622013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5263
ae9552cf
MR
5264 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5265 __ehdr_start with hidden visibility.
5266
93fd48c5
MR
5267 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5268
418601aa
CD
52692013-04-24 Carlos O'Donell <carlos@redhat.com>
5270
5271 * math/libm-test.inc (cos_test): Use accurate hex constants.
5272 (sincost_test): Likewise.
5273
2f38fbfe
JM
52742013-04-24 Joseph Myers <joseph@codesourcery.com>
5275
5e221800
JM
5276 * math/libm-test.inc (catan_test): Add more tests.
5277 (catanh_test): Likewise.
5278
77f143fd
JM
5279 * math/s_catanf.c (__catanf): Use suffixed floating-point
5280 constants.
5281 * math/s_catanhf.c (__catanhf): Likewise.
5282 * math/s_catanhl.c (__catanhl): Likewise.
5283 * math/s_catanl.c (__catanl): Likewise.
5284
2f38fbfe
JM
5285 [BZ #15394]
5286 * math/s_catan.c (__catan): Calculate imaginary part of result
5287 with log1p not log unless computing log of number close to 0.
5288 * math/s_catanf.c (__catanf): Likewise.
5289 * math/s_catanl.c (__catanl): Likewise.
5290 * math/s_catanh.c (__catanh): Calculate real part of result with
5291 log1p not log unless computing log of number close to 0.
5292 * math/s_catanhf.c (__catanhf): Likewise.
5293 * math/s_catanhl.c (__catanhl): Likewise.
5294 * math/libm-test.inc (catan_test): Add more tests.
5295 (catanh_test): Likewise.
5296 * sysdeps/i386/fpu/libm-test-ulps: Update.
5297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5298
45d69176
SP
52992013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5300
5301 * benchtests/Makefile: Mention files in which fast and slow
5302 paths of math functions are implemented.
5303
87f51853
RM
53042013-04-23 Roland McGrath <roland@hack.frob.com>
5305
5306 * sysdeps/posix/timespec_get.c: New file.
5307
3c026539
AZ
53082013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5309
5310 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5311 POWER.
5312 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5313 for POWER.
5314 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5315 powerpc/power5/fpu folders.
5316 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5317 * benchtests/Makefile: Add modf testcase.
5318 * benchtests/bench-modf.c: New file: Benchmark test for mo
5319
ff491d14
SP
53202013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5321
5322 [BZ #14888]
5323 * time/Makefile (tests): Add tst-strptime-whitespace.
5324 * time/strptime_l.c (get_number): Use ISSPACE.
5325 (__strptime_internal): Likewise.
5326 * time/tst-strptime-whitespace.c: New test case.
5327
7ed3f4e8
AS
53282013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5329
5330 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5331 member.
5332 (_nss_files_init): Set it here.
5333
5c95f7b6
HC
53342013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5335
5336 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5337 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5338 unsigned.
5339
d34c9158
JBG
53402013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5341
5342 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5343
2169712d
SP
53442013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5345
5346 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5347 size just once.
5348
29c5de99
DM
53492013-04-21 David S. Miller <davem@davemloft.net>
5350
5351 * po/ru.po: Update Russion translation from translation project.
5352
ccdad15d
AC
53532013-04-17 Adam Conrad <adconrad@0c3.net>
5354
5355 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5356 and setfsgid.
5357
0f122b8d
CD
53582013-04-17 Carlos O'Donell <carlos@redhat.com>
5359
5c5b07da 5360 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5361 * configure: Regenerate.
5c5b07da 5362 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5363 Add example to error message.
5364 * sysdeps/i386/configure: Regenerate.
5365
037714dd
SP
53662013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5367
5368 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5369 slowtan.
5370 * benchtests/cos-inputs: New file.
5371 * benchtests/slowcos-inputs: New file.
5372 * benchtests/slowcos.c: New file.
5373 * benchtests/slowtan-inputs: New file.
5374 * benchtests/slowtan.c: New file.
5375 * benchtests/tan-inputs: New file.
5376
e913141d
RM
53772013-04-16 Roland McGrath <roland@hack.frob.com>
5378
5379 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5380 considered kosher.
5381
a2964074
SP
53822013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5383
4856bcd2
SP
5384 * benchtests/Makefile: Include cppflags-iterator.mk to add
5385 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5386
a2964074
SP
5387 * Makefile.in (bench-clean): New target.
5388 * benchtests/Makefile (bench-clean): Likewise.
5389
9fbf9aca
DH
53902013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5391
5392 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5393
207d1e2a
TS
53942013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5395
5396 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5397
306dfba9
AS
53982013-04-15 Andreas Schwab <schwab@suse.de>
5399
5400 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5402 * nscd/pwdcache.c (cache_addpw): Likewise.
5403 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5404 more than recsize.
5405
206a6699
SP
54062013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5407
5408 * benchtests/Makefile (bench): Write all output to
5409 bench-out.tmp together.
5410
0582f6b3
AS
54112013-04-15 Andreas Schwab <schwab@suse.de>
5412
5413 * nscd/nscd.c (main): Don't fork again after closing files.
5414
acb4325f
SP
54152013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5416
5cb26d0a
SP
5417 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5418
acb4325f
SP
5419 * benchtests/Rules (bench-deps): Collect dependencies into a
5420 single variable. Add Makefile to dependencies.
5421 ($(objpfx)bench-%.c): Depend on bench-deps.
5422
47792506
RM
54232013-04-12 Roland McGrath <roland@hack.frob.com>
5424 Xavier Roche <roche+kml2@exalead.com>
5425
5426 [BZ #15361]
5427 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5428 just that it's a file descriptor.
5429 * manual/llio.texi (Synchronizing AIO Operations): Update description
5430 for EBADF error from aio_fsync.
5431
8fc1bee5
SP
54322013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5433
5434 * Rules (bench): Move target definition...
5435 * benchtests/Makefile: ... here.
5436
aba5e333
CD
54372013-04-11 Carlos O'Donell <carlos@redhat.com>
5438
5439 * math/libm-test.inc (cos_test): Fix PI/2 test.
5440 (sincos_test): Likewise.
5441 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5442 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5443
273cdee8
AS
54442013-04-11 Andreas Schwab <schwab@suse.de>
5445
6ecec3b6
AS
5446 [BZ #13988]
5447 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5448 accept exponent character only when digits were seen.
5449 * stdio-common/Makefile (tests): Add bug26.
5450 * stdio-common/bug26.c: New file.
5451
273cdee8
AS
5452 [BZ #14293]
5453 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5454 non-freeable.
5455
8da491f5
SP
54562013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5457
01dc6df9
SP
5458 * Makeconfig (rtld-prefix): Define built linker prefix.
5459 * Rules (run-bench): Use it.
5460 * math/Makefile (run-regen-ulps): Likewise.
5461
8da491f5
SP
5462 * Rules (bench): Remove eval.
5463
abe7f530
SP
54642013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5465 Roland McGrath <roland@hack.frob.com>
5466 Ondrej Bilka <neleai@seznam.cz>
5467
5468 [BZ #15346]
5469 * time/getdate.c: Include ctype.h and alloca.h.
5470 (__getdate_r): Trim leading and trailing spaces of input.
5471 * time/tst-getdate.c (tests): Add tests with leading and
5472 trailing spaces.
5473
61c23e62
RM
54742013-04-08 Roland McGrath <roland@hack.frob.com>
5475
5476 [BZ #14280]
5477 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5478 when computing value.
5479
7208a313
CD
54802013-04-06 Carlos O'Donell <carlos@redhat.com>
5481
085b2d41
CD
5482 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5483 Use testrun.sh to run libm tests.
5484
7208a313
CD
5485 [BZ #15309]
5486 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5487
872c0acd
MM
54882013-04-06 Marko Myllynen <myllynen@redhat.com>
5489
5490 [BZ #15264]
5491 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5492
26510bdd
CD
54932013-04-06 Carlos O'Donell <carlos@redhat.com>
5494
5495 * Makefile.in (regen-ulps): New target.
5496 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5497 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5498 [ifneq (no,$(PERL)] (regen-ulps): New target.
5499 [ifeq (no,$(PERL)] (regen-ulps): New target.
5500 * math/libm-test.inc (ulps_file_name): Define.
5501 (output_dir): New variable.
5502 (options): Add "output-dir" option.
5503 (parse_opt): Handle 'o' case.
5504 (main): If output_dir is non-NULL use it as a prefix
5505 otherwise use "".
5506 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5507
a01f19c8
CD
55082013-04-06 Carlos O'Donell <carlos@redhat.com>
5509
5510 [BZ #10060, #10062]
5511 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5512 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5513 fail configure if __sync_val_compare_and_swap is not inlined.
5514 * sysdeps/i386/configure: Regenerate.
5515 * configure.in: Build for i686 when configured for i386.
5516 * configure: Regenerate.
5517 * README: Remove i386 reference.
5518
b7a329a5
CD
55192013-04-06 Carlos O'Donell <carlos@redhat.com>
5520
5521 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5522 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5523
bf0f50df
TS
55242013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5525
ee091edf
TS
5526 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5527 (lmsnanval): New variables.
5528 (F): Add conversion tests.
5529 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5530 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5531
a8b792d6
TS
5532 * stdio-common/tstdiomisc.c (F): Properly collect individual
5533 tests' results.
5534
a1cbf437
TS
5535 [BZ #14686, #15336]
5536 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5537 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5538 Instead, use input NaN values or generate a qNaN by arithmetic
5539 operation. Also fix bugs to comply with the standard.
5540 * math/libm-test.inc (remainder_test): Add more tests.
5541
8b43a0c9
TS
5542 [BZ #15335, #15342]
5543 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5544 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5545 input NaN values or generate a qNaN by arithmetic operation.
5546
d91da4ce
TS
5547 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5548 unreachable code.
5549
bf0f50df
TS
5550 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5551 definitions.
5552
05e166c8
JM
55532013-04-03 Joseph Myers <joseph@codesourcery.com>
5554
5555 [BZ #14478]
5556 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5557 underflowed result.
5558 * math/s_cexpf.c (__cexpf): Likewise.
5559 * math/s_cexpl.c (__cexpl): Likewise.
5560 * math/libm-test.inc (cexp_test): Add more tests.
5561
1cef1b19
AS
55622013-04-03 Andreas Schwab <schwab@suse.de>
5563
5564 [BZ #15330]
5565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5566 order arrays from heap if bigger than alloca cutoff.
5567
74d87055
TS
55682013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5569
5570 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5571 (SNAN_TESTS_double): Refer to GCC PR56831.
5572 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5573 GCC PR56828.
5574
d755bba4
SP
55752013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5576
90d5d5bb
SP
5577 * Rules (bench): Move bench.out after the run is complete.
5578
73e0cd5d
SP
5579 * Rules (bench): Echo currently running benchmark.
5580
64aabd4b
SP
5581 * benchtests/Makefile (bench): Add atan and slowatan.
5582 * benchtests/atan-inputs: New file.
5583 * benchtests/slowatan-inputs: New file.
5584 * benchtests/slowatan.c: New file.
5585
c871eccd
SP
5586 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5587 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5588 its value.
5589
d755bba4
SP
5590 [BZ #15305]
5591 * sysdeps/unix/sysv/linux/kernel-features.h
5592 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5593 __ASSUME_XFS_RESTRICTED_CHOWN.
5594 * sysdeps/unix/sysv/linux/pathconf.c
5595 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5596 Save and restore errno.
5597
52ce4860
JM
55982013-04-02 Joseph Myers <joseph@codesourcery.com>
5599
5600 [BZ #15327]
5601 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5602 arguments using __kernel_casinh.
5603 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5604 arguments using __kernel_casinhf.
5605 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5606 arguments using __kernel_casinhl.
5607 * math/libm-test.inc (cacosh_test): Add more tests.
5608 * sysdeps/i386/fpu/libm-test-ulps: Update.
5609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5610
81f311c2
SP
56112013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5612
e7906a47
SP
5613 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5614 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5615
92e3664b
SP
5616 * bench/Makefile (bench): Add sin and slowsin.
5617 * benchtests/sin-inputs: New file.
5618 * benchtests/slowsin-inputs: New file.
5619 * benchtests/slowsin.c: New file.
5620
81f311c2
SP
5621 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5622 (bench): Add slowexp and slowpow.
5623 (exp-ITER): Increase iterations.
5624 (pow-ITER): Likewise.
5625 * benchtests/exp-inputs: Change input.
5626 * benchtests/pow-inputs: Likewise.
5627 * benchtests/slowexp-inputs: New file.
5628 * benchtests/slowexp.c: New file.
5629 * benchtests/slowpow-inputs: New file.
5630 * benchtests/slowpow.c: New file.
5631
ab0f1aa9
AZ
56322013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5633
5634 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5635 instructions.
5636 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5637 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5638 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5639 * benchtests/Makefile: Add rint benchtest.
5640 * benchtests/rint-inputs: Input for rint benchtest.
5641
57267616
TS
56422013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5643
5644 * Versions.def (libm): Add GLIBC_2.18.
5645 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5646 hidden libm prototypes.
5647 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5648 * math/Makefile (libm-calls): Add s_issignaling.
5649 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5650 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5651 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5652 declaration.
5653 * math/math.h [__USE_GNU] (issignaling): New macro.
5654 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5655 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5656 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5657 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5660 * manual/arith.texi (issignaling): New section.
5661 * manual/libm-err-tab.pl (@all_functions): Update comment.
5662 * math/gen-libm-test.pl (parse_args): Apply special handling for
5663 issignaling.
5664 * math/libm-test.inc (print_float, issignaling_test): New
5665 functions.
5666 (check_float_internal): Add issignaling checks.
5667 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5668 default definition.
5669 * sysdeps/powerpc/math-tests.h: New file.
5670 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5671 tests.
5672 * math/test-snan.c (TEST_FUNC): Likewise.
5673
6142896d
DM
56742013-03-30 David S. Miller <davem@davemloft.net>
5675
5676 * po/de.po: Update from translation team.
5677
ccc8cadf
JM
56782013-03-30 Joseph Myers <joseph@codesourcery.com>
5679
5680 [BZ #10357]
5681 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5682 imaginary part less than 1.0 and real part less than 0.5
5683 specially.
5684 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5685 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5686 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5687 (cacos_test): Add more tests.
5688 (casin_test): Likewise.
5689 (casinh_test): Likewise.
5690 * sysdeps/i386/fpu/libm-test-ulps: Update.
5691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5692
0f6a8d4b
SP
56932013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5694
0d1029de
SP
5695 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5696 ONE with its value.
5697
c2d94018
SP
5698 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5699 (__pow_mp): Replace ONE and MONE with their values.
5700 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5701 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5702 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5703 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5704 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5705 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5706
27ec37f1
SP
5707 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5708
a64d7e0e
SP
5709 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5710 (__pow_mp): Replace ZERO and MZERO with their values.
5711 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5712 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5713 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5715 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5716 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5717 (__sqr): Likewise.
5718
d26dd3eb
SP
5719 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5720
0f6a8d4b
SP
5721 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5722
e57b0c61
RM
57232013-03-28 Roland McGrath <roland@hack.frob.com>
5724
5725 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5726 Declare with __attribute__ ((weak)).
5727 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5728 Call __call_tls_dtors only if it's not NULL.
5729
356b3480
RM
57302013-03-28 Roland McGrath <roland@hack.frob.com>
5731
288f7d79
RM
5732 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5733 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5734 magic __ehdr_start linker symbol if it's defined.
5735 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5736 them up here if it was already done.
5737
dc0a0263
RM
5738 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5739 (_dl_aux_init): Use const in cast when setting it.
5740 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5741 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5742 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5743
3d3436ae
RM
5744 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5745 Declare them here.
5746 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5747 * csu/libc-tls.c: Nor here.
5748 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5749
356b3480
RM
5750 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5751 (__libc_message): Never call vsyslog.
5752
b0f1246a
AM
57532013-03-28 Alan Modra <amodra@gmail.com>
5754
5755 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5756 Define as empty.
5757 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5758 Likewise.
5759
fbbe2b9a
AZ
57602013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5761
5762 [BZ #15214]
5763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5764 underflow.
5765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5766
1728ab37
SP
57672013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5768
7a86be6e
SP
5769 [BZ #15304]
5770 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5771 Don't add gid passed as argument.
5772
1728ab37
SP
5773 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5774
3a7182a1
JM
57752013-03-27 Joseph Myers <joseph@codesourcery.com>
5776
5777 [BZ #15307]
5778 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5779 imaginary part between 1.0 and 1.5 and real part less than 0.5
5780 specially.
5781 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5782 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5783 * math/libm-test.inc (cacos_test): Add more tests.
5784 (casin_test): Likewise.
5785 (casinh_test): Likewise.
5786 * sysdeps/i386/fpu/libm-test-ulps: Update.
5787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5788
6f2e90e7
SP
57892013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5790
5739f705
SP
5791 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5792 constants.
5793 (norm): Likewise.
5794 (denorm): Likewise.
5795 (__dbl_mp): Likewise.
5796 (add_magnitudes): Likewise.
5797 (sub_magnitudes): Likewise.
5798 (__add): Likewise.
5799 (__sub): Likewise.
5800 (__mul): Likewise.
5801 (__sqr): Likewise.
5802 (__inv): Likewise.
5803 (__dvd): Likewise.
5804
e375e83d
SP
5805 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5806 commented code.
5807 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5808 (__dubcos): Likewise.
5809 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5810 (__ieee754_acos): Likewise.
5811 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5812 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5813 (__exp1): Likewise.
5814 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5816 (log1): Likewise.
5817 (my_log2): Likewise.
5818 (checkint): Likewise.
5819 * sysdeps/ieee754/dbl-64/e_remainder.c
5820 (__ieee754_remainder): Likewise.
5821 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5822 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5823 (bsloww): Likewise.
5824 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5825
6f2e90e7
SP
5826 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5827 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5828 MANTISSA_STORE_T to store computations on mantissa. Use
5829 macros for rounding and division.
5830 (denorm): Likewise.
5831 (__dbl_mp): Likewise.
5832 (add_magnitudes): Likewise.
5833 (sub_magnitudes): Likewise.
5834 (__mul): Likewise.
5835 (__sqr): Likewise.
5836 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5837 powers of two in terms of TWOPOW macro.
5838 (mp_no): Make type of mantissa as MANTISSA_T.
5839 [!RADIXI]: Define RADIXI.
5840 [!TWO52]: Define TWO52.
5841 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5842
fce14d4e
AZ
58432013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5844
5845 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5846 llroundl symbol when building for PPC32.
5847
9ad027fb
MW
58482013-03-24 Mark H Weaver <mhw@netris.org>
5849
5850 * manual/arith.texi (Normalization Functions): Fix prototypes for
5851 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5852
e42a38dd
AZ
58532013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5854
5855 [BZ #13889]
5856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5857 high value to check if expl overflow.
5858 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5859 to check for underflow and overflow.
5860 * math/libm-test.inc: Add exp test.
5861
2e0fb521
DL
58622013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5863
5864 [BZ #11120]
5865 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5866 with NOT_IN_libc.
5867
b5784d95
AZ
58682013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5869
5870 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5871 symbol.
5872
5aa4a1a1
TS
58732013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5874
bdef0be7
TS
5875 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5876 wrap blocks consisting of several statements.
5877
5aa4a1a1
TS
5878 * sysdeps/generic/math-tests.h: New file.
5879 * sysdeps/i386/fpu/math-tests.h: Likewise.
5880 * math/test-snan.c: Include it.
5881 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5882
98c48fe5
JM
58832013-03-21 Joseph Myers <joseph@codesourcery.com>
5884
5885 [BZ #15285]
5886 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5887 (__ieee754_j0l): Do not improve calculations using cos of twice
5888 input for inputs above LDBL_MAX / 2.0L.
5889 (__ieee754_y0l): Likewise.
5890 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5891 (__ieee754_j1l): Do not improve calculations using cos of twice
5892 input for inputs above LDBL_MAX / 2.0L.
5893 (__ieee754_y1l): Likewise.
5894 * math/libm-test.inc (j0_test): Add another test.
5895 (j1_test): Likewise.
5896 (y0_test): Likewise.
5897 (y1_test): Likewise.
5898 * sysdeps/i386/fpu/libm-test-ulps: Update.
5899
3775a8bc
SP
59002013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5901
5902 * Rules ($(objpfx)bench-%.c): Include code from a C source
5903 file.
5904
0a1b2ae6
JM
59052013-03-21 Joseph Myers <joseph@codesourcery.com>
5906
5907 [BZ #15287]
5908 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5909 imaginary part 1.0 and real part less than 0.5 specially.
5910 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5911 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5912 * math/libm-test.inc (cacos_test): Add more tests.
5913 (casin_test): Likewise.
5914 (casinh_test): Likewise.
5915 * sysdeps/i386/fpu/libm-test-ulps: Update.
5916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5917
b33d4ce4
SP
59182013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5919
5920 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5921 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5922
bef0b507
JM
59232013-03-20 Joseph Myers <joseph@codesourcery.com>
5924
5925 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5926 * config.make.in (config-cflags-sse4): Remove variable.
5927 (config-cflags-avx): Likewise.
5928 (config-cflags-sse2avx): Likewise.
5929 (config-cflags-novzeroupper): Likewise.
5930 (config-asflags-i686): Likewise.
5931 (have-mfma4): Likewise.
5932 (have-as-vis3): Likewise.
5933 (MIG): Likewise.
5934 * configure.in (MIG): Do not AC_SUBST.
5935 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5936 (libc_cv_cc_sse4): Do not AC_SUBST.
5937 (libc_cv_cc_avx): Likewise.
5938 (libc_cv_cc_sse2avx): Likewise.
5939 (libc_cv_cc_novzeroupper): Likewise.
5940 (libc_cv_cc_fma4): Likewise.
5941 (libc_cv_as_i686): Likewise.
5942 (libc_cv_sparc_as_vis3): Likewise.
5943 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5944 LIBC_CONFIG_VAR.
5945 (config-asflags-i686): Likewise.
5946 (config-cflags-avx): Likewise.
5947 (config-cflags-sse2avx): Likewise.
5948 (have-mfma4): Likewise.
5949 (config-cflags-novzeroupper): Likewise.
5950 * sysdeps/mach/configure.in (MIG): Likewise.
5951 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5952 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5953 LIBC_CONFIG_VAR.
5954 (config-cflags-avx): Likewise.
5955 (config-cflags-sse2avx): Likewise.
5956 (have-mfma4): Likewise.
5957 (config-cflags-novzeroupper): Likewise.
5958 * configure: Regenerated.
5959 * sysdeps/i386/configure: Likewise.
5960 * sysdeps/mach/configure: Likewise.
5961 * sysdeps/sparc/configure: Likewise.
5962 * sysdeps/x86_64/configure: Likewise.
5963
912cc4b3
RM
59642013-03-20 Roland McGrath <roland@hack.frob.com>
5965
5966 [BZ #14812]
5967 * locale/programs/localedef.c (options): Put N_ translation marker
5968 on argument names, not just descriptions.
5969
04eed2b0
MS
59702013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5971
5972 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5973
a065ceff
OB
59742013-03-20 Ondřej Bílka <neleai@seznam.cz>
5975
9bb2a810 5976 [BZ #14176]
a065ceff
OB
5977 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5978
a600e5ce
RM
59792013-03-19 Roland McGrath <roland@hack.frob.com>
5980
5981 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5982 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5983 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5984 [!BEFORE_ABORT] (before_abort): New function.
5985 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5986 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5987 (writev_for_fatal): New function.
5988 (WRITEV_FOR_FATAL): New macro; call that.
5989 (backtrace_and_maps): New function.
5990 (BEFORE_ABORT): New macro; call that.
5991 (struct str_list): Type removed.
5992 (__libc_message, __libc_fatal): Functions removed.
5993 Include <sysdeps/posix/libc_fatal.c> instead.
5994
6b18bea6
JM
59952013-03-19 Joseph Myers <joseph@codesourcery.com>
5996
5997 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5998 constants.
5999 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6000 double constants.
6001
aaa8cb4b
AS
60022013-03-19 Andreas Schwab <schwab@suse.de>
6003
44673770
AS
6004 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6005 * sysdeps/gnu/configure: Regenerate.
6006
aaa8cb4b
AS
6007 * configure.in: Substitute libc_cv_rtlddir.
6008 * configure: Regenerate.
6009 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6010 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6011 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6012 * elf/Makefile (install-others, CFLAGS-interp.c)
6013 (ldso_install, common-ldd-rewrite): Likewise.
6014 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6015 $(inst_slibdir)/$(rtld-installed-name).
6016 * scripts/rellns-sh: Add -p option.
6017 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6018 for source.
6019
d3cfc668
SP
60202013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6021
6022 * manual/nptl.texi: Renamed to ...
6023 * manual/threads.texi: ... this.
6024 * manual/Makefile (chapters): Update.
6025
0e2b9cdd
RM
60262013-03-18 Roland McGrath <roland@hack.frob.com>
6027
6028 [BZ #14812]
6029 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6030 on argument names, not just descriptions.
0e2b9cdd
RM
6031 * malloc/memusagestat.c (options): Likewise.
6032 * nss/getent.c (options): Likewise.
63270c24
RM
6033
60342013-03-18 Benno Schulenberg <bensberg@justemail.net>
6035
6036 [BZ #14812]
6037 * iconv/iconv_prog.c (options): Put N_ translation marker
6038 on argument names, not just descriptions.
6039 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6040
b2e1393c
OB
60412013-03-18 Ondrej Bilka <neleai@seznam.cz>
6042
6043 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6044 implementation which is faster on all x86_64 architectures.
6045 Tested on AMD, Intel Nehalem, SNB, IVB.
6046 * sysdeps/x86_64/strnlen.S: Likewise.
6047
6048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6049 Remove all multiarch strlen and strnlen versions.
6050 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6051 Remove strlen and strnlen related parts.
6052
6053 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6054 Inline strlen part.
6055 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6056
6057 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6058 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6059 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6060 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6061 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6062 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6063
ec4ff04d
CD
60642013-03-17 Carlos O'Donell <carlos@redhat.com>
6065
6066 * manual/memory.texi (Malloc Tunable Parameters):
6067 Sort parameters alphabetically. Add comments for missing entries.
6068
cd18e90a
DM
60692013-03-17 David S. Miller <davem@davemloft.net>
6070
6071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6072
2a185d32
JM
60732013-03-16 Joseph Myers <joseph@codesourcery.com>
6074
d2f9799e
JM
6075 [BZ #15283]
6076 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6077 for arguments at most half maximum finite value.
6078 * math/libm-test.inc (j0_test): Add more tests.
6079 (j1_test): Likewise.
6080 (y0_test): Likewise.
6081 (y1_test): Likewise.
6082 * sysdeps/i386/fpu/libm-test-ulps: Update.
6083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6084
2a185d32
JM
6085 [BZ #14155]
6086 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6087 1 / x and functions P and Q for arguments above 0x1p256L.
6088 (__ieee754_y0l): Likewise.
6089 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6090 (__ieee754_y1l): Likewise.
6091 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6092 (j1_test): Likewise.
6093 (y0_test): Likewise.
6094 (y1_test): Likewise.
6095
6cbec759
TS
60962013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6097
6098 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6099 variable.
6100
bc16e260
RM
61012013-03-15 Roland McGrath <roland@hack.frob.com>
6102
aefc9b8c
RM
6103 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6104 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6105 zero since it's initialized to EXEC_PAGESIZE.
6106
bc16e260
RM
6107 * sysdeps/unix/sysv/linux/ldsodefs.h
6108 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6109 * sysdeps/generic/ldsodefs.h: ... here.
6110
a57da955
TS
61112013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6112
af00a34d
TS
6113 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6114
495ded2c
TS
6115 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6116 math/test-snan.c.
6117 * math/test-snan.c: Renamed from
6118 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6119 * math/Makefile (tests): Add test-snan.
6120 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6121 test-powerpc-snan.
6122
777b0332
TS
6123 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6124 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6125 functions.
6126 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6127 __builtin_nan family of functions.
6128 * math/libm-test.inc (initialize): Initialize qnan_value with
6129 __builtin_nan family of functions.
6130 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6131 Remove variables.
6132 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6133 Remove functions.
6134 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6135 storage class. Initialize qNaN_var and sNaN_var with
6136 __builtin_nan and __builtin_nans families of functions,
6137 respectively.
6138
64d063b8
TS
6139 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6140 (sqrt_test): Remove duplicate test with qNaN input.
6141 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6142 (round_test, signbit_test, significand_test): Note missing +/-Inf
6143 as well as qNaN tests.
6144
67e971f1
TS
6145 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6146 qNaN_var. Fix a few strings, too.
6147 * math/libm-test.inc (nan_value): Rename to qnan_value.
6148 * math/gen-libm-test.pl (%beautify): Adjust to that.
6149 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6150 * math/test-misc.c (main): Likewise.
6151 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6152 to __qnan_bytes, and __qnan_union, respectively.
6153 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6154 Likewise.
6155 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6156 and lqnanval, respectively.
6157 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6158 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6159 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6160 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6161
64487e12
TS
6162 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6163 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6164 doubles.
6165
e015e27b
TS
6166 * math/test-misc.c (main): Fix copy'n'pastos.
6167 * misc/tst-efgcvt.c (special): Likewise.
6168
a57da955
TS
6169 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6170 Remove declarations.
6171
1e380345
SP
61722013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6173
6174 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6175 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6176 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6177 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6178
ef26eece
AZ
61792013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6180
6181 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6182 macro to return vdso values correctly in IFUNC implementations.
6183 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6184 Optimization by using IFUNC.
6185
8cfdb7e0
SP
61862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6187 Richard Henderson <rth@redhat.com>
6188 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6189
6190 * Makefile.in (bench): New target.
6191 * NEWS: Mention the benchmark framework.
6192 * Rules (bench): Likewise.
6193 (binaries-bench): Generate binaries for functions to
6194 benchmark.
6195 * benchtests/Makefile: New makefile for benchmark tests.
6196 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6197 programs.
6198 * benchtests/exp-inputs: New input file for EXP function.
6199 * benchtests/pow-inputs: New input file for POW function.
6200 * scripts/bench.pl: New script to generate source files for
6201 benchmark programs.
6202
bcda9880
SP
62032013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6204
d22ca8cd
SP
6205 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6206 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6207 computations on mantissa. Use macros for rounding and
6208 division.
6209 (denorm): Likewise.
6210 (__dbl_mp): Likewise.
6211 (add_magnitudes): Likewise.
6212 (sub_magnitudes): Likewise.
6213 (__mul): Likewise.
6214 (__sqr): Likewise.
6215 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6216 powers of two in terms of TWOPOW macro.
6217 (mp_no): Make type of mantissa as MANTISSA_T.
6218 [!RADIXI]: Define RADIXI.
6219 [!TWO52]: Define TWO52.
6220 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6221
bcda9880
SP
6222 * manual/nptl.texi (cindex): Modify threads to pthreads.
6223
06d5adfb
JM
62242013-03-15 Joseph Myers <joseph@codesourcery.com>
6225
6226 * sysdeps/x86_64/preconfigure: Regenerated.
6227
41c7328e
JM
62282013-03-14 Joseph Myers <joseph@codesourcery.com>
6229
6230 [BZ #14155]
6231 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6232 0x1p28 and above.
6233 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6234 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6235 0x1p28 and above.
6236 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6237 * math/libm-test.inc (j0_test): Do not allow one spurious
6238 underflow exception.
6239 (y1_test): Likewise.
6240
e25cfa60
SP
62412013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6242
0409959c
SP
6243 * manual/Makefile (chapters): Add nptl.
6244 * manual/debug.texi (Debugging Support): Add link to Threads
6245 chapter.
6246 * manual/nptl.texi: New file.
6247
e25cfa60
SP
6248 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6249
58a1335e
PB
62502013-03-14 Petr Baudis <pasky@ucw.cz>
6251
6252 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6253 for non-NULL pointer before the memory validity test. Pointed
6254 out by Holger Brunck <holger.brunck@keymile.com>.
6255
9dc7c64f
AS
62562013-03-13 Andreas Schwab <schwab@suse.de>
6257
6258 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6259 instead of .os.
6260
54206aa6
JM
62612013-03-13 Joseph Myers <joseph@codesourcery.com>
6262
6263 * timezone/zic.c: Update from tzcode 2013b.
6264
e98cdb38
CD
62652013-03-12 Carlos O'Donell <carlos@redhat.com>
6266
6267 * manual/install.texi (Configuring and compiling):
6268 Mention i686 and i586.
6269 * INSTALL: Regenerate.
6270
9967e003
RM
62712013-03-12 Roland McGrath <roland@hack.frob.com>
6272
6273 * sysdeps/init_array/elf-init.c: New file.
6274 * csu/elf-init.c
6275 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6276 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6277
6278 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6279 __gmon_start__ as global, but as static with a .preinit_array pointer.
6280 * sysdeps/init_array/gmon-start.c: New file. Use that.
6281 * sysdeps/init_array/crti.S: New file, empty except for comments.
6282 * sysdeps/init_array/crtn.S: Likewise.
6283
e6b5a293 62842013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6285
6286 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6287 definining bcopy.
80f844c9
OB
6288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6289 Remove Prefer_SSE_for_memop.
6290 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6291 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6292 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6294 memset-x86-64.
80f844c9 6295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6296 Remove bzero, memset ifunc support.
80f844c9
OB
6297 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6298 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6299 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6300 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6301
fb6b0fcb
AS
63022013-03-11 Andreas Schwab <schwab@suse.de>
6303
6304 [BZ #15234]
6305 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6306 by SHLIB_COMPAT.
6307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6308 (GLIBC_2.16): Remove pthread_atfork.
6309
3e6bd4b1
PP
63102013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6311
6312 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6313 (ptestcases.h): Likewise.
6314
222d7f00
RM
63152013-03-08 Roland McGrath <roland@hack.frob.com>
6316
6317 * Makeconfig ($(common-objpfx)config.status): Depend on
6318 sysdeps/*/preconfigure{,.in} too.
6319
1ba4f030
JM
63202013-03-08 Joseph Myers <joseph@codesourcery.com>
6321
a222d91a
JM
6322 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6323 (__free_hook): Use void * instead of __malloc_ptr_t.
6324 (__malloc_hook): Likewise.
6325 (__realloc_hook): Likewise.
6326 (__memalign_hook): Likewise.
6327 (__after_morecore_hook): Likewise.
6328 * malloc/arena.c (save_malloc_hook): Likewise.
6329 (save_free_hook): Likewise.
6330 * malloc/hooks.c (malloc_hook_ini): Likewise.
6331 (realloc_hook_ini): Likewise.
6332 (memalign_hook_ini): Likewise.
6333 * malloc/malloc.c (malloc_hook_ini): Likewise.
6334 (realloc_hook_ini): Likewise.
6335 (memalign_hook_ini): Likewise.
6336 (__free_hook): Likewise.
6337 (__malloc_hook): Likewise.
6338 (__realloc_hook): Likewise.
6339 (__memalign_hook): Likewise.
6340 (__libc_malloc): Likewise.
6341 (__libc_free): Likewise.
6342 (__libc_realloc): Likewise.
6343 (__libc_memalign): Likewise.
6344 (__libc_valloc): Likewise.
6345 (__libc_pvalloc): Likewise.
6346 (__libc_calloc): Likewise.
6347 (__posix_memalign): Likewise.
6348 * malloc/morecore.c (__sbrk): Likewise.
6349 (__default_morecore): Likewise.
6350
5cc45e10
JM
6351 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6352
dd54b864
JM
6353 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6354 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6355 __malloc_ptrdiff_t.
6356
1ba4f030
JM
6357 * malloc/malloc.h (__malloc_size_t): Remove macro.
6358 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6359 __malloc_size_t.
6360 (old_memalign_hook): Likewise.
6361 (old_realloc_hook): Likewise.
6362 (struct hdr): Likewise.
6363 (flood): Likewise.
6364 (mallochook): Likewise.
6365 (memalignhook): Likewise.
6366 (reallochook): Likewise.
6367 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6368 (tr_old_realloc_hook): Likewise.
6369 (tr_old_memalign_hook): Likewise.
6370 (tr_mallochook): Likewise.
6371 (tr_reallochook): Likewise.
6372 (tr_memalignhook): Likewise.
6373
edf66e57
AZ
63742013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6375
6376 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6377 default_ldbl_pack and using as default implementation.
6378 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6379 implementation.
6380 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6381 redundant definition.
6382 (ldbl_insert_mantissa): Likewise.
6383 (ldbl_canonicalize): Likewise.
6384 (ldbl_nearbyint): Likewise.
6385 (ldbl_pack): Rename to ldbl_pack_ppc.
6386 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6387 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6388 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6389
6d9145d8
SP
63902013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6391
6392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6393 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6394 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6395 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6397 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6398 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6399 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6400
4dd4e157
AJ
64012013-03-07 Andreas Jaeger <aj@suse.de>
6402
6403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6404 bits/mman-linux.h.
6405
adbb8027
SP
64062013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6407
ce544b5b
SP
6408 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6409 Include mpa.h and declare __MPEXP.
6410 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6411 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6412 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6413 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6414 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6415 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6416 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6417
4cc149fd
SP
6418 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6419 (__slowpow): Use long double EXPL and LOGL functions to
6420 compute POW.
6421 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6422 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6424 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6425 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6426 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6427
e6ebd4a7
SP
6428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6429 intermediate variable to calculate exponent.
6430 (__sqr): Likewise.
6431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6432 Likewise.
6433 (__sqr): Likewise.
6434
82a9811d
SP
6435 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6436 [!NO__SQR]: Define __sqr.
6437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6438 and NO__SQR. Remove all code except __mul and __sqr. Include
6439 sysdeps/ieee754/dbl-64/mpa.c.
6440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6441
adbb8027
SP
6442 [BZ #12723]
6443 * posix/Makefile (tests): Add tst-pathconf.
6444 * posix/tst-pathconf.c: New test case.
6445 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6446 _PC_PIPE_BUF.
6447 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6448
39120df9
PF
64492013-03-06 Patsy Franklin <pfrankli@redhat.com>
6450
6451 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6452
67525cb8
AJ
64532013-03-06 Andreas Jaeger <aj@suse.de>
6454
664a9ce4
AJ
6455 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6456 definition via __MAP_ANONYMOUS.
6457
8e39047d
AJ
6458 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6459 it's not part of Linux headers.
6460
67525cb8
AJ
6461 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6462 (MAP_HUGE_MASK): Define.
6463
6464 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6465 Define.
6466 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6467 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6468 Define.
6469 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6470 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6471 Define.
6472 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6473 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6474 Define.
6475 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6476
6477 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6478 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6479 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6480 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6481 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6482 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6483
6484 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6485 Handle f2fs.
6486
6487 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6488 Handle f2fs and efivarfs.
6489
6490 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6491 f2fs.
6492
6493 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6494 (EFIVARFS_MAGIC): Add.
6495 (F2FS_LINK_MAX): Add.
6496
e1b42695
PP
64972013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6498
6499 * stdio-common/vfprintf.c: Replace __builtin_expect with
6500 __glibc_unlikely.
6501
2d67d91a
JM
65022013-03-06 Joseph Myers <joseph@codesourcery.com>
6503
6504 [BZ #13550]
6505 * sysdeps/generic/bp-sym.h: Remove file.
6506 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6507 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6508 <bp-sym.h> and <bp-asm.h>.
6509 (__longjmp): Don't use BP_SYM.
6510 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6511 and <bp-asm.h>.
6512 (memcpy): Don't use BP_SYM.
6513 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6514 <bp-sym.h> and <bp-asm.h>.
6515 (memcpy): Don't use BP_SYM.
6516 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6517 <bp-asm.h>.
6518 (memcpy): Don't use BP_SYM.
6519 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6520 <bp-asm.h>.
6521 (memset): Don't use BP_SYM.
6522 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6523 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6524 (__bzero): Don't use BP_SYM.
6525 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6526 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6527 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6528 <bp-sym.h> and <bp-asm.h>.
6529 (memcmp): Don't use BP_SYM. Remove comment about bounded
6530 pointers.
6531 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6532 <bp-sym.h> and <bp-asm.h>.
6533 (memcpy): Don't use BP_SYM.
6534 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6535 <bp-sym.h> and <bp-asm.h>.
6536 (memset): Don't use BP_SYM.
6537 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6538 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6539 (__bzero): Don't use BP_SYM.
6540 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6541 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6542 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6543 <bp-sym.h> and <bp-asm.h>.
6544 (strncmp): Don't use BP_SYM. Remove comment about bounded
6545 pointers.
6546 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6547 <bp-sym.h> and <bp-asm.h>.
6548 (memcpy): Don't use BP_SYM.
6549 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6550 <bp-sym.h> and <bp-asm.h>.
6551 (memset): Don't use BP_SYM.
6552 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6553 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6554 (__bzero): Don't use BP_SYM.
6555 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6556 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6557 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6558 <bp-sym.h> and <bp-asm.h>.
6559 (__memchr): Don't use BP_SYM.
6560 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6561 <bp-sym.h> and <bp-asm.h>.
6562 (memcmp): Don't use BP_SYM. Remove comment about bounded
6563 pointers.
6564 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6565 <bp-sym.h> and <bp-asm.h>.
6566 (memcpy): Don't use BP_SYM.
6567 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6568 <bp-sym.h> and <bp-asm.h>.
6569 (__mempcpy): Don't use BP_SYM.
6570 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6571 <bp-sym.h> and <bp-asm.h>.
6572 (__memrchr): Don't use BP_SYM.
6573 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6574 <bp-sym.h> and <bp-asm.h>.
6575 (memset): Don't use BP_SYM.
6576 (__bzero): Likewise.
6577 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6578 <bp-sym.h> and <bp-asm.h>.
6579 (__rawmemchr): Don't use BP_SYM.
6580 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6581 <bp-sym.h> and <bp-asm.h>.
6582 (__STRCMP): Don't use BP_SYM.
6583 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6584 <bp-sym.h> and <bp-asm.h>.
6585 (strchr): Don't use BP_SYM.
6586 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6587 <bp-sym.h> and <bp-asm.h>.
6588 (__strchrnul): Don't use BP_SYM.
6589 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6590 <bp-sym.h> and <bp-asm.h>.
6591 (strlen): Don't use BP_SYM.
6592 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6593 <bp-sym.h> and <bp-asm.h>.
6594 (strncmp): Don't use BP_SYM. Remove comment about bounded
6595 pointers.
6596 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6597 <bp-sym.h> and <bp-asm.h>.
6598 (__strnlen): Don't use BP_SYM.
6599 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6600 <bp-sym.h> and <bp-asm.h>.
6601 (__GI__setjmp): Don't use BP_SYM.
6602 (_setjmp): Likewise.
6603 (__sigsetjmp): Likewise.
6604 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6605 (L(start_addresses)): Don't use BP_SYM.
6606 (_start): Likewise.
6607 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6608 <bp-asm.h>.
6609 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6610 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6611 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6612 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6613 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6614 <bp-asm.h>.
6615 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6616 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6617 about bounded pointers.
6618 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6619 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6620 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6621 <bp-asm.h>.
6622 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6623 about bounded pointers. Remove GKM FIXME comments.
6624 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6625 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6626 <bp-asm.h>.
6627 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6628 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6629 Remove GKM FIXME comments.
6630 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6631 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6632 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6633 <bp-asm.h>.
6634 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6635 about bounded pointers. Remove GKM FIXME comment.
6636 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6637 and <bp-asm.h>.
6638 (strncmp): Don't use BP_SYM. Remove comment about bounded
6639 pointers.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6641 <bp-sym.h> and <bp-asm.h>.
6642 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6644 <bp-sym.h> and <bp-asm.h>.
6645 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6646 comment.
6647
cdcf361f
PP
66482013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6649
6650 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6651 call free(NULL).
6652
3c4a2b15
DM
66532013-03-05 David S. Miller <davem@davemloft.net>
6654
6655 * po/es.po: Update from translation team.
6656
cdcf361f 66572013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6658
6659 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6660 <bits/mman-linux.h>.
6661 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6662 is fine.
6663 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6664 <bits/mman-linux.h> to end of file.
6665 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6666 is fine.
6667 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6668 <bits/mman-linux.h> to end of file.
6669 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6670 is fine.
6671 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6672 <bits/mman-linux.h> to end of file.
6673
6674 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6675 (MCL_CURRENT, MCL_FUTURE): Define here.
6676
5f67c04f
AK
66772013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6678
8a4473cc 6679 [BZ #15232]
5f67c04f
AK
6680 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6681 attribute_hidden.
6682 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6683
c3e94a95
AK
66842013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6685
6686 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6687 fourth parameter needed for rt_sigprocmask syscall.
6688 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6689 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6690 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6691 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6692 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6693 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6694
cfb6382a
JM
66952013-03-04 Joseph Myers <joseph@codesourcery.com>
6696
6697 [BZ #13550]
6698 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6699 comment about bounded pointers.
6700 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6701 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6702
539d8e01
AJ
67032013-03-04 Andreas Jaeger <aj@suse.de>
6704
6705 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6706 common definitions.
6707
6708 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6709 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6710 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6711 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6712 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6713 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6714
2e167a70 67152013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6716
6717 [BZ #15055]
6718 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6719 __ieee754_sqrl instead of __sqrl.
6720
68508633
JM
67212013-03-01 Joseph Myers <joseph@codesourcery.com>
6722
6723 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6724 * sysdeps/powerpc/fpu_control.h: ... here.
6725 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6726 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6727 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6728 * sysdeps/powerpc/bits/mathinline.h: ... here.
6729
7775448e
RM
67302013-03-01 Roland McGrath <roland@hack.frob.com>
6731
6732 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6733 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6734 to just [NEED_DL_SYSINFO_DSO].
6735 * elf/dl-support.c: Likewise.
6736 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6737 * elf/rtld.c (dl_main): Likewise.
6738 * elf/setup-vdso.h (setup_vdso): Likewise.
6739 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6740 * sysdeps/unix/sysv/linux/dl-sysdep.c
6741 (_dl_discover_osversion): Likewise.
6742
4e9b5995
CD
67432013-03-01 Carlos O'Donell <carlos@redhat.com>
6744
6745 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6746 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6747
e23872c8
SP
67482013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6749
e5c74c63
SP
6750 * NEWS: Mention libm performance improvements and non-x86 PI
6751 futex support.
6752
e23872c8
SP
6753 * csu/libc-start.c (__pthread_initialize_minimal): Change
6754 function arguments.
6755 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6756
b5510883
JM
67572013-02-28 Joseph Myers <joseph@codesourcery.com>
6758
6759 [BZ #13550]
6760 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6761 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6762 <bp-sym.h> and <bp-asm.h>.
6763 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6764 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6765 and <bp-asm.h>.
6766 (memcpy): Don't use BP_SYM.
6767 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6768 <bp-asm.h>.
6769 (__mpn_add_n): Don't use BP_SYM.
6770 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6771 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6772 and <bp-asm.h>.
6773 (__mpn_addmul_1): Don't use BP_SYM.
6774 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6775 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6776 <bp-sym.h>.
6777 (_setjmp): Don't use BP_SYM.
6778 (__novmx_setjmp): Likewise.
6779 (__GI__setjmp): Likewise.
6780 (__vmx_setjmp): Likewise.
6781 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6782 <bp-sym.h>.
6783 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6784 (__bzero): Don't use BP_SYM.
6785 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6786 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6787 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6788 <bp-sym.h> and <bp-asm.h>.
6789 (memcpy): Don't use BP_SYM.
6790 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6791 <bp-sym.h> and <bp-asm.h>.
6792 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6793 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6794 <bp-sym.h> and <bp-asm.h>.
6795 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6796 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6797 <bp-asm.h>.
6798 (__mpn_lshift): Don't use BP_SYM.
6799 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6800 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6801 <bp-asm.h>.
6802 (memset): Don't use BP_SYM.
6803 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6804 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6805 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6806 <bp-asm.h>.
6807 (__mpn_mul_1): Don't use BP_SYM.
6808 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6809 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6810 <bp-sym.h> and <bp-asm.h>.
6811 (memcmp): Don't use BP_SYM.
6812 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6813 <bp-sym.h> and <bp-asm.h>.
6814 (memcpy): Don't use BP_SYM.
6815 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6816 <bp-sym.h> and <bp-asm.h>.
6817 (memset): Don't use BP_SYM.
6818 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6819 <bp-sym.h> and <bp-asm.h>.
6820 (strncmp): Don't use BP_SYM.
6821 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6822 <bp-sym.h> and <bp-asm.h>.
6823 (memcpy): Don't use BP_SYM.
6824 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6825 <bp-sym.h> and <bp-asm.h>.
6826 (memset): Don't use BP_SYM.
6827 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6828 <bp-sym.h> and <bp-asm.h>.
6829 (__memchr): Don't use BP_SYM.
6830 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6831 <bp-sym.h> and <bp-asm.h>.
6832 (memcmp): Don't use BP_SYM.
6833 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6834 <bp-sym.h> and <bp-asm.h>.
6835 (memcpy): Don't use BP_SYM.
6836 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6837 <bp-sym.h> and <bp-asm.h>.
6838 (__mempcpy): Don't use BP_SYM.
6839 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6840 <bp-sym.h> and <bp-asm.h>.
6841 (__memrchr): Don't use BP_SYM.
6842 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6843 <bp-sym.h> and <bp-asm.h>.
6844 (memset): Don't use BP_SYM.
6845 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6846 <bp-sym.h> and <bp-asm.h>.
6847 (__rawmemchr): Don't use BP_SYM.
6848 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6849 <bp-sym.h> and <bp-asm.h>.
6850 (__STRCMP): Don't use BP_SYM.
6851 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6852 <bp-sym.h> and <bp-asm.h>.
6853 (strchr): Don't use BP_SYM.
6854 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6855 <bp-sym.h> and <bp-asm.h>.
6856 (__strchrnul): Don't use BP_SYM.
6857 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6858 <bp-sym.h> and <bp-asm.h>.
6859 (strlen): Don't use BP_SYM.
6860 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6861 <bp-sym.h> and <bp-asm.h>.
6862 (strncmp): Don't use BP_SYM.
6863 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6864 <bp-sym.h> and <bp-asm.h>.
6865 (__strnlen): Don't use BP_SYM.
6866 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6867 <bp-asm.h>.
6868 (__mpn_rshift): Don't use BP_SYM.
6869 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6870 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6871 <bp-sym.h> and <bp-asm.h>.
6872 (__sigsetjmp): Don't use BP_SYM.
6873 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6874 (L(start_addresses)): Don't use BP_SYM.
6875 (_start): Likewise.
6876 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6877 <bp-asm.h>.
6878 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6879 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6880 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6881 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6882 <bp-asm.h>.
6883 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6884 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6885 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6886 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6887 <bp-asm.h>.
6888 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6889 comments.
6890 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6891 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6892 <bp-asm.h>.
6893 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6894 FIXME comments.
6895 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6896 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6897 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6898 <bp-asm.h>.
6899 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6900 comment.
6901 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6902 and <bp-asm.h>.
6903 (strncmp): Don't use BP_SYM,
6904 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6905 <bp-asm.h>.
6906 (__mpn_sub_n): Don't use BP_SYM.
6907 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6908 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6909 and <bp-asm.h>.
6910 (__mpn_submul_1): Don't use BP_SYM.
6911 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6913 <bp-sym.h> and <bp-asm.h>.
6914 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6916 <bp-sym.h> and <bp-asm.h>.
6917 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6918 comment.
6919
8d19fe64
SP
69202013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6921
6922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6923 Use ZK to minimize writes to Z.
6924 (sub_magnitudes): Simplify code a bit.
6925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6926 Use ZK to minimize writes to Z.
6927 (sub_magnitudes): Simplify code a bit.
6928
85bd816a
RM
69292013-02-27 Roland McGrath <roland@hack.frob.com>
6930
6931 * csu/gmon-start.c: Add special exception to license text.
6932
b5977bf2
RH
69332013-02-27 Richard Henderson <rth@redhat.com>
6934
6935 * scripts/config.guess: Update from config.git.
6936 * scripts/config.sub: Likewise.
6937
11d6e2f2
SP
69382013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6939
09c14ed2
SP
6940 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6941
a688864e
SP
6942 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6943
6295157a
SP
6944 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6945
b8de2202
SP
6946 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6947
11d6e2f2
SP
6948 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6949
7e80ddb8
RM
69502013-02-26 Roland McGrath <roland@hack.frob.com>
6951
6952 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6953 [$(build-shared = yes].
7e80ddb8 6954
7da6d9ed
SP
69552013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6956
45f05884
SP
6957 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6958 (__mul): Reduce iterations for calculating mantissa.
6959
2236d359
SP
6960 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6961 MPTWO.
6962 (__mpranred): Likewise.
6963
7da6d9ed
SP
6964 [BZ #15160]
6965 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6966 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6967
b7688c42
PE
69682013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6969
6970 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6971 Define __attribute__.
6972
53a5c423
SP
69732013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6974
6975 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6976 unused.
6977 * posix/regex_internal.h (__attribute): Remove.
6978 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6979 (re_string_context_at): Likewise.
6980 (bitset_not): Use __attribute__ and mark function as possibly
6981 unused.
6982 (bitset_merge): Likewise.
6983 (bitset_mask): Likewise.
6984 (re_string_char_size_at): Likewise.
6985 (re_string_wchar_at): Likewise.
6986 (re_string_elem_size_at): Likewise.
6987
60f5a8b5
SP
69882013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6989
2a983a2e
SP
6990 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6991 code.
6992 (cc32): Likewise.
6993
e69804d1
SP
6994 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6995 (__acr): Likewise.
6996 (__cpy): Likewise.
6997 (norm): Likewise.
6998 (denorm): Likewise.
6999 (__dbl_mp): Likewise.
7000 (add_magnitudes): Likewise.
7001 (sub_magnitudes): Likewise.
7002 (__mul): Likewise.
7003 (__inv): Likewise.
7004
2f22a1e8
SP
7005 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7006 style.
7007
8930ddc7
SP
7008 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7009 style.
7010
dc60cb11
SP
7011 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7012 code.
7013
60f5a8b5
SP
7014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7015 up changes with default code.
7016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7017 Likewise.
7018
b4d1fd33
AM
70192013-02-24 Allan McRae <allan@archlinux.org>
7020
faf6f8bc
AM
7021 * manual/socket.texi (The Internet Namespace): Order menu items
7022 to match that in the file.
7023
b4d1fd33
AM
7024 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7025 node listing of the info page menu.
7026
2366713d
JM
70272013-02-21 Joseph Myers <joseph@codesourcery.com>
7028
7029 [BZ #13550]
7030 * sysdeps/i386/bp-asm.h: Remove file.
7031 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7032 (PARMS): Do not use macros from bp-asm.h.
7033 (S1): Likewise.
7034 (S2): Likewise.
7035 (SIZE): Likewise.
7036 (__mpn_add_n): Do not use BP_SYM
7037 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7038 "bp-asm.h".
7039 (PARMS): Do not use macros from bp-asm.h.
7040 (S1): Likewise.
7041 (SIZE): Likewise.
7042 (__mpn_addmul_1): Do not use BP_SYM
7043 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7044 "bp-asm.h".
7045 (PARMS): Do not use macros from bp-asm.h.
7046 (SIGMSK): Likewise.
7047 (_setjmp): Likewise. 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/fpu/s_frexp.S: Do not include "bp-sym.h" and
7054 "bp-asm.h".
7055 (PARMS): Do not use macros from bp-asm.h.
7056 (__frexp): Do not use BP_SYM.
7057 (frexp): Likewise.
7058 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7059 "bp-asm.h".
7060 (PARMS): Do not use macros from bp-asm.h.
7061 (__frexpf): Do not use BP_SYM.
7062 (frexpf): Likewise.
7063 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7064 "bp-asm.h".
7065 (PARMS): Do not use macros from bp-asm.h.
7066 (__frexpl): Do not use BP_SYM.
7067 (frexpl): Likewise.
7068 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7069 "bp-asm.h".
7070 (PARMS): Do not use macros from bp-asm.h.
7071 (__remquo): Do not use BP_SYM.
7072 (remquo): Likewise.
7073 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7074 "bp-asm.h".
7075 (PARMS): Do not use macros from bp-asm.h.
7076 (__remquof): Do not use BP_SYM.
7077 (remquof): Likewise.
7078 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7079 "bp-asm.h".
7080 (PARMS): Do not use macros from bp-asm.h.
7081 (__remquol): Do not use BP_SYM.
7082 (remquol): Likewise.
7083 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7084 "bp-asm.h".
7085 (PARMS): Do not use macros from bp-asm.h.
7086 (DEST): Likewise.
7087 (SRC): Likewise.
7088 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7089 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7090 "bp-asm.h".
7091 (PARMS): Do not use macros from bp-asm.h.
7092 (strlen): Do not use BP_SYM.
7093 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7094 "bp-asm.h".
7095 (PARMS): Do not use macros from bp-asm.h.
7096 (S1): Likewise.
7097 (S2): Likewise.
7098 (SIZE): Likewise.
7099 (__mpn_add_n): Do not use BP_SYM.
7100 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7101 "bp-asm.h".
7102 (PARMS): Do not use macros from bp-asm.h.
7103 (S1): Likewise.
7104 (SIZE): Likewise.
7105 (__mpn_addmul_1): Do not use BP_SYM.
7106 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7107 weak_alias.
7108 (bzero): Likewise.
7109 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7110 "bp-asm.h".
7111 (PARMS): Do not use macros from bp-asm.h.
7112 (S): Likewise.
7113 (SIZE): Likewise.
7114 (__mpn_lshift): Do not use BP_SYM.
7115 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7116 "bp-asm.h".
7117 (PARMS): Do not use macros from bp-asm.h.
7118 (DEST): Likewise.
7119 (SRC): Likewise.
7120 (LEN): Likewise.
7121 (memcpy): Likewise. Do not use BP_SYM.
7122 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7123 libc_hidden_def and weak_alias.
7124 (mempcpy): Do not use BP_SYM in weak_alias.
7125 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7126 "bp-asm.h".
7127 (PARMS): Do not use macros from bp-asm.h.
7128 (DEST): Likewise.
7129 (LEN): Likewise.
7130 [!BZERO_P] (CHR): Likewise.
7131 (memset): Likewise. Do not use BP_SYM.
7132 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7133 "bp-asm.h".
7134 (PARMS): Do not use macros from bp-asm.h.
7135 (S1): Likewise.
7136 (SIZE): Likewise.
7137 (__mpn_mul_1): Do not use BP_SYM.
7138 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7139 "bp-asm.h".
7140 (PARMS): Do not use macros from bp-asm.h.
7141 (S): Likewise.
7142 (SIZE): Likewise.
7143 (__mpn_rshift): Do not use BP_SYM.
7144 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7145 "bp-asm.h".
7146 (PARMS): Do not use macros from bp-asm.h.
7147 (STR): Likewise.
7148 (CHR): Likewise.
7149 (strchr): Likewise. Do not use BP_SYM.
7150 (index): Do not use BP_SYM in weak_alias.
7151 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7152 "bp-asm.h".
7153 (PARMS): Do not use macros from bp-asm.h.
7154 (DEST): Likewise.
7155 (SRC): Likewise.
7156 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7157 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7158 "bp-asm.h".
7159 (PARMS): Do not use macros from bp-asm.h.
7160 (strlen): Do not use BP_SYM.
7161 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7162 "bp-asm.h".
7163 (PARMS): Do not use macros from bp-asm.h.
7164 (S1): Likewise.
7165 (S2): Likewise.
7166 (SIZE): Likewise.
7167 (__mpn_sub_n): Do not use BP_SYM.
7168 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7169 "bp-asm.h".
7170 (PARMS): Do not use macros from bp-asm.h.
7171 (S1): Likewise.
7172 (SIZE): Likewise.
7173 (__mpn_submul_1): Do not use BP_SYM.
7174 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7175 "bp-asm.h".
7176 (PARMS): Do not use macros from bp-asm.h.
7177 (S1): Likewise.
7178 (S2): Likewise.
7179 (SIZE): Likewise.
7180 (__mpn_add_n): Do not use BP_SYM.
7181 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7182 weak_alias.
7183 (bzero): Likewise.
7184 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7185 "bp-asm.h".
7186 (PARMS): Do not use macros from bp-asm.h.
7187 (BLK2): Likewise.
7188 (LEN): Likewise.
7189 (memcmp): Do not use BP_SYM.
7190 (bcmp): Do not use BP_SYM in weak_alias.
7191 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7192 "bp-asm.h".
7193 (PARMS): Do not use macros from bp-asm.h.
7194 (DEST): Likewise.
7195 (SRC): Likewise.
7196 (LEN): Likewise.
7197 (memcpy): Likewise. Do not use BP_SYM.
7198 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7199 "bp-asm.h".
7200 (PARMS): Do not use macros from bp-asm.h.
7201 (DEST): Likewise.
7202 (SRC): Likewise.
7203 (LEN): Likewise.
7204 (memmove): Likewise. Do not use BP_SYM.
7205 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7206 "bp-asm.h".
7207 (PARMS): Do not use macros from bp-asm.h.
7208 (DEST): Likewise.
7209 (SRC): Likewise.
7210 (LEN): Likewise.
7211 (__mempcpy): Likewise. Do not use BP_SYM.
7212 (mempcpy): Do not use BP_SYM in weak_alias.
7213 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7214 "bp-asm.h".
7215 (PARMS): Do not use macros from bp-asm.h.
7216 (DEST): Likewise.
7217 (LEN): Likewise.
7218 [!BZERO_P] (CHR): Likewise.
7219 (memset): Likewise. Do not use BP_SYM.
7220 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7221 "bp-asm.h".
7222 (PARMS): Do not use macros from bp-asm.h.
7223 (STR2): Likewise.
7224 (strcmp): Do not use BP_SYM.
7225 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7226 "bp-asm.h".
7227 (PARMS): Do not use macros from bp-asm.h.
7228 (STR): Likewise.
7229 (DELIM): Likewise.
7230 [USE_AS_STRTOK_R] (SAVE): Likewise.
7231 (FUNCTION): Likewise. Do not use BP_SYM.
7232 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7233 aliases.
7234 (strtok_r): Likewise.
7235 (__GI___strtok_r): Likewise.
7236 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7237 (PARMS): Do not use macros from bp-asm.h.
7238 (S): Likewise.
7239 (SIZE): Likewise.
7240 (__mpn_lshift): Do not use BP_SYM.
7241 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7242 (PARMS): Do not use macros from bp-asm.h.
7243 (STR): Likewise.
7244 (CHR): Likewise.
7245 (__memchr): Do not use BP_SYM.
7246 (memchr): Do not use BP_SYM in weak_alias.
7247 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7248 (PARMS): Do not use macros from bp-asm.h.
7249 (BLK2): Likewise.
7250 (LEN): Likewise.
7251 (memcmp): Do not use BP_SYM.
7252 (bcmp): Do not use BP_SYM in weak_alias.
7253 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7254 (PARMS): Do not use macros from bp-asm.h.
7255 (S1): Likewise.
7256 (SIZE): Likewise.
7257 (__mpn_mul_1): Do not use BP_SYM.
7258 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7259 "bp-asm.h".
7260 (PARMS): Do not use macros from bp-asm.h.
7261 (STR): Likewise.
7262 (CHR): Likewise.
7263 (__rawmemchr): Do not use BP_SYM.
7264 (rawmemchr): Do not use BP_SYM in weak_alias.
7265 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7266 (PARMS): Do not use macros from bp-asm.h.
7267 (S): Likewise.
7268 (SIZE): Likewise.
7269 (__mpn_rshift): Do not use BP_SYM.
7270 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7271 (PARMS): Do not use macros from bp-asm.h.
7272 (SIGMSK): Likewise.
7273 (__sigsetjmp): Likewise. Do not use BP_SYM.
7274 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7275 (_start): Do not use BP_SYM.
7276 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7277 (PARMS): Do not use macros from bp-asm.h.
7278 (DEST): Likewise.
7279 (SRC): Likewise.
7280 (__stpcpy): Likewise. Do not use BP_SYM.
7281 (stpcpy): Do not use BP_SYM in weak_alias.
7282 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7283 "bp-asm.h".
7284 (PARMS): Do not use macros from bp-asm.h.
7285 (DEST): Likewise.
7286 (SRC): Likewise.
7287 (LEN): Likewise.
7288 (__stpncpy): Likewise. Do not use BP_SYM.
7289 (stpncpy): Do not use BP_SYM in weak_alias.
7290 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7291 (PARMS): Do not use macros from bp-asm.h.
7292 (STR): Likewise.
7293 (CHR): Likewise.
7294 (strchr): Likewise. Do not use BP_SYM.
7295 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7296 "bp-asm.h".
7297 (PARMS): Do not use macros from bp-asm.h.
7298 (STR): Likewise.
7299 (CHR): Likewise.
7300 (__strchrnul): Likewise. Do not use BP_SYM.
7301 (strchrnul): Do not use BP_SYM in weak_alias.
7302 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7303 "bp-asm.h".
7304 (PARMS): Do not use macros from bp-asm.h.
7305 (STOP): Likewise.
7306 (strcspn): Do not use BP_SYM.
7307 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7308 "bp-asm.h".
7309 (PARMS): Do not use macros from bp-asm.h.
7310 (STR): Likewise.
7311 (STOP): Likewise.
7312 (strpbrk): Likewise. Do not use BP_SYM.
7313 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7314 "bp-asm.h".
7315 (PARMS): Do not use macros from bp-asm.h.
7316 (STR): Likewise.
7317 (CHR): Likewise.
7318 (strrchr): Likewise. Do not use BP_SYM.
7319 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7320 (PARMS): Do not use macros from bp-asm.h.
7321 (SKIP): Likewise.
7322 (strspn): Do not use BP_SYM.
7323 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7324 (PARMS): Do not use macros from bp-asm.h.
7325 (STR): Likewise.
7326 (DELIM): Likewise.
7327 (SAVE): Likewise.
7328 (FUNCTION): Likewise. Do not use BP_SYM.
7329 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7330 aliases.
7331 (strtok_r): Likewise.
7332 (__GI___strtok_r): Likewise.
7333 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7334 (PARMS): Do not use macros from bp-asm.h.
7335 (S1): Likewise.
7336 (S2): Likewise.
7337 (SIZE): Likewise.
7338 (__mpn_sub_n): Do not use BP_SYM.
7339 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7340 "bp-asm.h".
7341 (PARMS): Do not use macros from bp-asm.h.
7342 (S1): Likewise.
7343 (SIZE): Likewise.
7344 (__mpn_submul_1): Do not use BP_SYM.
7345 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7346 <bp-sym.h>.
7347 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7348 and <bp-asm.h>.
7349 (PARMS): Do not use macros from bp-asm.h.
7350 (FLAGS): Likewise.
7351 (PTID): Likewise.
7352 (TLS): Likewise.
7353 (CTID): Likewise.
7354 (__clone): Do not use BP_SYM.
7355 (clone): Do not use BP_SYM in weak_alias.
7356 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7357 and <bp-asm.h>.
7358 (PARMS): Do not use macros from bp-asm.h.
7359 (LEN): Likewise.
7360 (__mmap64): Do not use BP_SYM.
7361 (mmap64): Do not use BP_SYM in weak_alias.
7362 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7363 <bp-sym.h> and <bp-asm.h>.
7364 (PARMS): Do not use macros from bp-asm.h.
7365 (__posix_fadvise64_l64): Do not use BP_SYM.
7366 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7367 (PARMS): Do not use macros from bp-asm.h.
7368 (NSOPS): Likewise.
7369 (semtimedop): Do not use BP_SYM.
7370 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7371 and <bp-asm.h>.
7372
582a3cff
AM
73732013-02-21 Allan McRae <allan@archlinux.org>
7374
7375 * manual/message.texi (Charset conversion in gettext):
7376 Move @end statement to beginning of line.
7377
bab8a695
SP
73782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7379
80945231
SP
7380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7381 static.
7382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7383 Likewise.
7384
bab8a695
SP
7385 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7386 (denorm): Likewise.
7387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7389
e21d7aa7
AK
73902013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7391
7392 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7393 tail-call to the resolved function if pltexit isn't needed.
7394
4c7a4263
SP
73952013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7396
7397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7398 or Y being zero as being unlikely.
7399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7400 Likewise.
7401
41f49342
CD
74022013-02-20 Carlos O'Donell <carlos@redhat.com>
7403
7404 * manual/nss.texi (System Databases and Name Service Switch):
7405 Remove frobnicate @pxref.
7406
50022a93
TS
74072013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7408
7409 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7410 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7411
08cbd996
PM
74122013-02-20 Petr Machata <pmachata@redhat.com>
7413
7414 * elf/elf.h (R_ARM_TARGET1): New macro.
7415 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7416 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7417 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7418 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7419 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7420 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7421 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7422 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7423 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7424 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7425 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7426 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7427 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7428 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7429 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7430 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7431 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7432 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7433 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7434 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7435 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7436 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7437 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7438 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7439 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7440 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7441 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7442 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7443 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7444 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7445 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7446 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7447 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7448 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7449 (R_ARM_THM_GOT_BREL12): Likewise.
7450 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7451 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7452 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7453 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7454 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7455 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7456 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7457 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7458 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7459
c7b275d6
TS
74602013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7461
7462 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7463 __attribute_used__ to __attribute__ ((unused)).
7464
20cd7fb3
SP
74652013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7466
7467 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7468 powerpc mpa.c.
7469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7470 comment formatting.
7471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7472
92945b52
JM
74732013-02-19 Joseph Myers <joseph@codesourcery.com>
7474
7475 [BZ #13550]
7476 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7477 Remove macro.
7478 (ENTER): Remove both macro definitions.
7479 (LEAVE): Likewise.
7480 (CHECK_BOUNDS_LOW): Likewise.
7481 (CHECK_BOUNDS_HIGH): Likewise.
7482 (CHECK_BOUNDS_BOTH): Likewise.
7483 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7484 (RETURN_BOUNDED_POINTER): Likewise.
7485 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7486 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7487 (POP_ERRNO_LOCATION_RETURN): Likewise.
7488 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7489 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7490 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7491 macros.
7492 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7493 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7494 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7495 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7496 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7497 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7498 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7499 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7500 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7501 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7502 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7503 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7504 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7505 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7506 removed macros.
7507 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7508 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7509 macros.
7510 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7511 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7512 * sysdeps/i386/i586/memset.S (memset): Likewise.
7513 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7514 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7515 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7516 macros.
7517 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7518 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7519 Change uses of L(2) to L(out).
7520 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7521 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7522 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7523 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7524 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7525 removed macros.
7526 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7527 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7528 macros.
7529 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7530 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7531 (RETURN): Do not use macro LEAVE.
7532 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7533 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7534 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7535 * sysdeps/i386/i686/memset.S (memset): Likewise.
7536 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7537 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7538 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7539 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7540 Likewise.
7541 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7542 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7543 L(1_2) and L(1_3) into L(1).
7544 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7545 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7546 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7547 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7548 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7549 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7550 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7551 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7552 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7553 macros.
7554 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7555 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7556 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7557 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7558 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7559 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7560 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7561 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7562 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7563 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7564 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7565 * sysdeps/i386/strspn.S (strspn): Likewise.
7566 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7567 conditional code.
7568 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7569 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7570 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7571 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7572 L(1_3) into L(1_1).
7573 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7574 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7575 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7576 macros.
7577 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7578
2389741a
JJ
75792013-02-19 Jakub Jelinek <jakub@redhat.com>
7580
7581 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7582 macro.
7583
2016b3cd
SP
75842013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7585
e4f22324
SP
7586 * math/atest-exp.c (exp_mpn): Remove ROUND.
7587 * math/atest-exp2.c (exp_mpn): Likewise.
7588 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7589
2016b3cd
SP
7590 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7591 * stdlib/tst-tls-atexit-lib.c: Likewise.
7592 * stdlib/tst-tls-atexit.c: Likewise.
7593
4be9b544
MF
75942013-02-18 Mike Frysinger <vapier@gentoo.org>
7595
7596 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7597 and __attribute_alloc_size__.
7598
2f62b9ee
MF
75992013-02-18 Mike Frysinger <vapier@gentoo.org>
7600
7601 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7602 __attribute_alloc_size__.
7603 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7604 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7605
6ff444c4
MF
76062013-02-18 Mike Frysinger <vapier@gentoo.org>
7607
7608 * include/programs/xmalloc.h: New file.
7609 * catgets/gencat.c: Include it.
7610 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7611 * elf/pldd.c: Likewise.
7612 * iconv/iconv_charmap.c: Likewise.
7613 * iconv/iconvconfig.c: Likewise.
7614 * iconv/strtab.c: Likewise.
7615 * locale/programs/locale.c: Likewise.
7616 * locale/programs/localedef.h: Likewise.
7617 * locale/programs/simple-hash.c: Likewise.
7618 * nscd/nscd.h: Likewise.
7619 * nss/makedb.c: Likewise.
7620 * sysdeps/generic/ldconfig.h: Likewise.
7621
be179c8a
SP
76222013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7623
ba384f6e
SP
7624 * Versions.def: Add GLIBC_2.18.
7625 * include/link.h (struct link_map): New member l_tls_dtor_count.
7626 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7627 (__call_tls_dtors): Likewise.
7628 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7629 __cxa_thread_atexit_impl.
7630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7631 Likewise.
7632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7633 Likewise.
7634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7635 Likewise.
7636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7637 Likewise.
7638 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7640 Likewise.
7641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7642 Likewise.
7643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7645 Likewise.
7646 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7647 (tests): Add test case tst-tls-atexit.
7648 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7649 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7650 (GLIBC_PRIVATE): Add __call_tls_dtors.
7651 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7652 for libstdc++.
7653 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7654 * stdlib/tst-tls-atexit.c: New test case.
7655 * stdlib/tst-tls-atexit-lib.c: New test case.
7656
ffaa74cf 7657 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7658
be179c8a
SP
7659 * elf/Versions (ld): Add _dl_find_dso_for_object.
7660 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7661 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7662 (dl_open_worker): Use _dl_find_dso_for_object.
7663 * elf/dl-sym.c (do_sym): Likewise.
7664 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7665
f78b5caa
AK
76662013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7667
7668 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7669 Syntactic changes only.
7670 (_dl_runtime_profile): Do a tail-call to the resolved function.
7671
29691210
JM
76722013-02-17 Joseph Myers <joseph@codesourcery.com>
7673
7674 [BZ #13550]
7675 * sysdeps/x86_64/bp-asm.h: Remove file.
7676 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7677 <bp-sym.h> and <bp-asm.h>.
7678 (__clone): Do not use BP_SYM.
7679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7680 <bp-sym.h> and <bp-asm.h>.
7681 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7682 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7683 "bp-asm.h".
7684 (_setjmp): Do not use BP_SYM.
7685 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7686 "bp-asm.h".
7687 (setjmp): Do not use BP_SYM.
7688 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7689 libc_hidden_def.
7690 (mempcpy): Do not use BP_SYM in weak_alias.
7691 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7692 "bp-asm.h".
7693 (strchr): Do not use BP_SYM.
7694 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7695 "bp-asm.h".
7696 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7697 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7698 (_start): Do not use BP_SYM.
7699 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7700 "bp-asm.h".
7701 (strcat): Do not use BP_SYM.
7702 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7703 "bp-asm.h".
7704 (STRCMP): Do not use BP_SYM.
7705 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7706 "bp-asm.h".
7707 (STRCPY): Do not use BP_SYM.
7708 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7709 "bp-asm.h".
7710 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7711 "bp-asm.h".
7712 (FUNCTION): Do not use BP_SYM.
7713 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7714 weak_alias.
7715 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7716
f238fd19
AJ
77172013-02-17 Andreas Jaeger <aj@suse.de>
7718
7719 * time/Versions: Sort entries.
7720 * string/Versions: Likewise.
7721 * resolv/Versions: Likewise.
7722 * posix/Versions: Likewise.
7723 * iconv/Versions: Likewise.
7724 * elf/Versions: Likewise.
7725 * wcsmbs/Versions: Likewise.
7726
bd07f23c 77272013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7728
22af19f9
SP
7729 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7730 loop termination condition.
7731
4709fe76
SP
7732 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7733 variable to calculate EZ.
7734 (__sqr): Likewise.
2d0e0f29
SP
7735
7736 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7737 the lower precision input.
7738
daaa7713
JM
77392013-02-15 Joseph Myers <joseph@codesourcery.com>
7740
7741 [BZ #13550]
7742 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7743 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7744 (run-via-rtld-prefix): Do not handle %-bp tests.
7745 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7746 (all-object-suffixes): Remove .ob.
7747 (bppfx): Remove variable.
7748 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7749 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7750 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7751 [$(build-bounded) = yes] (libtype.ob): Likewise.
7752 * Makerules (elide-routines.ob): Remove variable.
7753 (do-tests-clean): Do not handle *-bp.out.
7754 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7755 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7756 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7757 (tests): Do not include $(tests-bp.out).
7758 (xtests): Do not include $(xtests-bp.out).
7759 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7760 [$(build-bounded) = yes] ($(addprefix
7761 $(objpfx),$(binaries-bounded))): Remove rule.
7762 ($(objpfx)%-bp.out): Remove rule.
7763 * config.make.in (build-bounded): Remove variable.
7764 * crypt/Makefile [$(build-bounded) = yes]
7765 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7766 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7767 append to variable.
7768 [$(build-bounded) = yes] (install-lib): Likewise.
7769 [$(build-bounded) = yes] (generated): Likewise.
7770 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7771 Remove rule.
7772 * intl/Makefile [$(build-bounded) = yes]
7773 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7774 * math/Makefile [$(build-bounded) = yes]
7775 ($(tests:%=$(objpfx)%-bp): Likewise.
7776 * misc/Makefile [$(build-bounded) = yes]
7777 ($(objpfx)tst-tsearch-bp): Likewise.
7778 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7779 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7780 Remove dependency.
7781 * string/Makefile (o-objects.ob): Remove variable.
7782 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7783 (CFLAGS-.ob): Remove variable.
7784 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7785 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7786 both definitions of variable.
7787 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7788 (ASFLAGS-.ob): Remove variable.
7789
e97ed6dd
JM
77902013-02-14 Joseph Myers <joseph@codesourcery.com>
7791
2bdd4ca6
JM
7792 [BZ #13550]
7793 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7794 Remove __BOUNDED_POINTERS__ from condition.
7795 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7796 * string/bits/string2.h [!__NO_STRING_INLINES &&
7797 !__BOUNDED_POINTERS__]: Likewise.
7798 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7799 Likewise.
7800 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7801 Remove conditional code.
7802 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7803 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7804 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7805 condition.
7806
e97ed6dd
JM
7807 [BZ #13550]
7808 * csu/libc-start.c: Do not include <bp-sym.h>.
7809 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7810 * elf/dl-open.c: Do not include <bp-sym.h>.
7811 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7812 * math/fegetenv.c: Do not include <bp-sym.h>.
7813 (fegetenv): Do not use BP_SYM in versioned symbols.
7814 * nptl/sysdeps/pthread/bits/libc-lockP.h
7815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7816 <bp-sym.h>.
7817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7818 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7820 (__pthread_mutex_destroy): Likewise.
7821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7822 (__pthread_mutex_lock): Likewise.
7823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7824 (__pthread_mutex_trylock): Likewise.
7825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7826 (__pthread_mutex_unlock): Likewise.
7827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7828 (__pthread_mutexattr_init): Likewise.
7829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7830 (__pthread_mutexattr_destroy): Likewise.
7831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7832 (__pthread_mutexattr_settype): Likewise.
7833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7834 (__pthread_rwlock_init): Likewise.
7835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7836 (__pthread_rwlock_destroy): Likewise.
7837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7838 (__pthread_rwlock_rdlock): Likewise.
7839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7840 (__pthread_rwlock_tryrdlock): Likewise.
7841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7842 (__pthread_rwlock_wrlock): Likewise.
7843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7844 (__pthread_rwlock_trywrlock): Likewise.
7845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7846 (__pthread_rwlock_unlock): Likewise.
7847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7848 (__pthread_key_create): Likewise.
7849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7850 (__pthread_setspecific): Likewise.
7851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7852 (__pthread_getspecific): Likewise.
7853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7854 Likewise.
7855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7856 (_pthread_cleanup_push_defer): Likewise.
7857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7858 (_pthread_cleanup_pop_restore): Likewise.
7859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7860 (pthread_setcancelstate): Likewise.
7861 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7862 <bp-sym.h>.
7863 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7864 (memchr): Do not use BP_SYM in weak_alias.
7865 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7866 (fegetenv): Do not use BP_SYM in versioned symbols.
7867 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7868 (fesetenv): Do not use BP_SYM in versioned symbols.
7869 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7870 (feupdateenv): Do not use BP_SYM in versioned symbols.
7871 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7872 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7873 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7874 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7875 (open64): Do not use BP_SYM in weak_alias.
7876 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7877 (fegetenv): Do not use BP_SYM in versioned symbols.
7878 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7879 (fesetenv): Do not use BP_SYM in versioned symbols.
7880 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7881 (feupdateenv): Do not use BP_SYM in versioned symbols.
7882 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7883 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7884 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7885 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7886 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7887 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7888 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7889 <bp-sym.h>.
7890 (__libc_start_main): Do not use BP_SYM.
7891
d6752ccd
SP
78922013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7893
cb57ce60
SP
7894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7895 redundant return line.
7896 (norm): Likewise.
7897 (denorm): Likewise.
7898 (dbl_mp): Likewise.
7899 (sub_magnitudes): Likewise.
7900 (__add): Likewise.
7901 (__sub): Likewise.
7902 (__mul): Likewise.
7903 (__inv): Likewise.
7904 (__dvd): Likewise.
7905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7906 (norm): Likewise.
7907 (denorm): Likewise.
7908 (dbl_mp): Likewise.
7909 (sub_magnitudes): Likewise.
7910 (__add): Likewise.
7911 (__sub): Likewise.
7912 (__mul): Likewise.
7913 (__inv): Likewise.
7914 (__dvd): Likewise.
7915
f414520d
SP
7916 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7917 instead of __mul.
7918 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7919 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7920 (cc32): Likewise.
7921
d6752ccd
SP
7922 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7923 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7924 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7925 of __mul for squares.
7926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7927 function
7928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7929 Likewise.
7930 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7931 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7932
70d9946a
JM
79332013-02-13 Joseph Myers <joseph@codesourcery.com>
7934
7935 [BZ #13550]
7936 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7937 code.
7938 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7939 prototype or function definition. Rename ubp_* variables and
7940 parameters. Remove argv definitions conditional on
7941 [__BOUNDED_POINTERS__].
7942 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7943 * elf/dl-runtime.c (_dl_fixup): Likewise.
7944 * include/set-hooks.h (RUN_HOOK): Likewise.
7945 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7946 definition.
7947 * string/strcpy.c (strcpy): Do not use __unbounded.
7948 * sysdeps/generic/frame.h (struct layout): Likewise.
7949 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7950 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7951 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7952 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7953 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7954 (__backtrace): Likewise.
7955 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7956 use __ptrvalue.
7957 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7958 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7959 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7960 Likewise.
7961 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7962 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7963 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7964 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7965 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7966 Do not use __unbounded.
7967 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7968 Rename __unboundedrlimits parameter to rlimits in prototype.
7969 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7970 Do not use __unbounded.
7971 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7972 not use __ptrvalue.
7973 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7974 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7975 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7976 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7977 __ptrvalue or __unbounded.
7978 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7979 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7980 use __unbounded.
7981 (__new_msgctl): Do not use __ptrvalue.
7982 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7983 __unbounded.
7984 (__libc_msgrcv): Do not use __ptrvalue.
7985 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7986 startup_info): Do not use __unbounded.
7987 (__libc_start_main): Likewise. Rename ubp_* variables and
7988 parameters. Remove argv definitions conditional on
7989 [__BOUNDED_POINTERS__].
7990 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7991 __ptrvalue.
7992 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7993 use __unbounded.
7994 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7995 or __ptrvalue.
7996 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7997 use __unbounded.
7998 (__new_shmctl): Do not use __ptrvalue.
7999 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8000 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8001 Likewise.
8002 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8003 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8004 (__libc_sigaction): Likewise.
8005 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8006 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8007 Likewise.
8008 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8009
cc7834d6
OB
80102013-02-13 Ondřej Bílka <neleai@seznam.cz>
8011
ffb1ec7b 8012 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8013
8014 * string/mempcpy.c: Implement by calling memcpy.
8015
bdf02814
SP
80162013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8017
c2af38aa
SP
8018 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8019
4e92d59e
SP
8020 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8021 evaluation.
8022
909279a5
SP
8023 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8024 values in the mantissa.
8025
bdf02814
SP
8026 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8027 minimize writes to Z.
8028 (sub_magnitudes): Simplify code a bit.
8029
cd525923
RM
80302013-02-12 Roland McGrath <roland@hack.frob.com>
8031
8032 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8033 from the message. The linker prefixes all warnings with that already.
8034
7e2f0d2d
AS
80352013-02-12 Andreas Schwab <schwab@suse.de>
8036
a445af0b
AS
8037 [BZ #15078]
8038 * posix/regexec.c (extend_buffers): Add parameter min_len.
8039 (check_matching): Pass minimum needed length.
8040 (clean_state_log_if_needed): Likewise.
8041 (get_subexp): Likewise.
8042 * posix/Makefile (tests): Add bug-regex34.
8043 (bug-regex34-ENV): Define.
8044 * posix/bug-regex34.c: New file.
8045
7e2f0d2d
AS
8046 [BZ #11561]
8047 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8048 elements compare against the byte sequence of it, not its name.
8049 * posix/Makefile (tests): Add bug-regex35.
8050 (bug-regex35-ENV): Define.
8051 * posix/bug-regex35.c: New file.
8052
a175b684
TV
80532013-02-11 Tom de Vries <tom@codesourcery.com>
8054
8055 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8056 comment.
8057 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8058 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8059 (CHECK_EOL): Add undef.
8060
310998fe 80612013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8062
8063 * bits/stdlib-bsearch.h: New file.
8064 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8065 * stdlib/stdlib.h: Likewise.
41eda41d 8066
8ded91fb
RM
80672013-02-11 Roland McGrath <roland@hack.frob.com>
8068
8069 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8070 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8071 declaration.
8072 * manual/search.texi (Array Search Function): Add missing const in
8073 lfind prototype.
8074 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8075 declaration to use rlim_t.
8076 (Basic Scheduling Functions): Remove erroneous const from
8077 sched_getparam prototype. Remove erroneous * from
8078 sched_get_priority_max and sched_get_priority_min prototypes.
8079 (Resource Usage): Fix summary @comment on vtimes to refer to
8080 sys/vtimes.h rather than vtimes.h.
8081 Add missing *s in vtimes prototype.
8082 (Limits on Resources): Fix ulimit prototype to return long int.
8083 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8084 prototypes to use long int rather than double.
8085 (BSD Random): Fix initstate and setstate to use char *, not void *.
8086 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8087 prototype to make second argument 'struct aiocb64 *const[]'.
8088 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8089 (Status of AIO Operations): Remove erroneous const in aio_return and
8090 aio_return64 prototypes.
8091 (Synchronizing I/O): Fix sync prototype to return void.
8092 * manual/startup.texi (Suboptions): Remove an erroneous const in
8093 getsubopt prototype.
8094 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8095 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8096 use size_t rather than int.
8097 (Scanning All Users): Likewise for getpwent_r.
8098 (Setting Groups): Add missing const to setgroups prototype.
8099 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8100 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8101 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8102 'const void *' rather than 'const char *'.
8103 (Host Address Functions): Likewise for inet_ntop.
8104 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8105 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8106 ssize_t for return value.
8107 (Sending Data): Likewise for send, sendto, sendmsg.
8108 (Socket Option Functions): Add a missing const in setsockopt prototype.
8109 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8110 use wchar_t for the argument.
8111 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8112 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8113 take no arguments.
8114 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8115 double/float/long double for second argument.
8116 Fix return types of significand, significandf, significandl.
8117 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8118 argument in fchmod prototype.
8119 (File Owner): Use uid_t and gid_t in fchown prototype.
8120 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8121 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8122 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8123 use 'const struct dirent **' as argument types to CMP function pointer
8124 argument.
8125 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8126 (File Times): Fix summary magic @comment for struct utimbuf and utime
8127 to refer to utime.h, not time.h.
8128 * manual/string.texi (Argz Functions): Add missing const in
8129 argz_extract and argz_next prototypes.
8130 (Finding Tokens in a String): Likewise for basename.
8131 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8132 (Copying and Concatenation): Fix typo in wmemmove prototype.
8133 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8134 (Signal Stack): Remove erroneous const in sigstack prototype.
8135 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8136 prototype.
8137 (Simple Calendar Time): Likewise for stime.
8138 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8139 prototype.
8140 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8141 say sys/sysctl.h instead.
8142 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8143 and vsyslog prototypes.
8144
fe77fe6d
TV
81452013-02-11 Tom de Vries <tom@codesourcery.com>
8146
8147 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8148 Remove.
8149
3a09b620
RM
81502013-02-11 Roland McGrath <roland@hack.frob.com>
8151
8152 * misc/sys/mman.h: Fix typo in mremap comment.
8153
550a0b89
RM
81542013-02-08 Roland McGrath <roland@hack.frob.com>
8155
8156 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8157 the '\0' terminator.
8158
a2da1673
JM
81592013-02-08 Joseph Myers <joseph@codesourcery.com>
8160
8161 [BZ #13550]
8162 * debug/segfault.c: Don't include <bp-checks.h>.
8163 * sysdeps/generic/bp-checks.h: Remove file.
8164 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8165 (__GETDENTS): Don't use CHECK_N.
8166 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8167 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8168 (__getgroups): Don't use CHECK_N.
8169 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8170 (setgroups): Don't use CHECK_N.
8171 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8172 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8173 (__libc_msgrcv): Don't use CHECK_N.
8174 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8175 (__libc_msgsnd): Don't use CHECK_N.
8176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8177 <bp-checks.h>.
8178 (__libc_pread): Don't use CHECK_N.
8179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8180 include <bp-checks.h>.
8181 (__libc_pread64): Don't use CHECK_N.
8182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8183 include <bp-checks.h>.
8184 (__libc_pwrite): Don't use CHECK_N.
8185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8186 include <bp-checks.h>.
8187 (__libc_pwrite64): Don't use CHECK_N.
8188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8189 <bp-checks.h>.
8190 (__libc_pread): Don't use CHECK_N.
8191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8192 include <bp-checks.h>.
8193 (__libc_pread64): Don't use CHECK_N.
8194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8195 include <bp-checks.h>.
8196 (__libc_pwrite): Don't use CHECK_N.
8197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8198 include <bp-checks.h>.
8199 (__libc_pwrite64): Don't use CHECK_N.
8200 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8201 (do_pread): Don't use CHECK_N.
8202 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8203 (do_pread64): Don't use CHECK_N.
8204 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8205 (do_pwrite): Don't use CHECK_N.
8206 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8207 (do_pwrite64): Don't use CHECK_N.
8208 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8209 (__libc_readv): Don't use CHECK_N.
8210 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8211 (semop): Don't use CHECK_N.
8212 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8213 <bp-checks.h>.
8214 (semtimedop): Don't use CHECK_N.
8215 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8216 (__libc_pread): Don't use CHECK_N.
8217 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8218 <bp-checks.h>.
8219 (__libc_pread64): Don't use CHECK_N.
8220 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8221 <bp-checks.h>.
8222 (__libc_pwrite): Don't use CHECK_N.
8223 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8224 <bp-checks.h>.
8225 (__libc_pwrite64): Don't use CHECK_N.
8226 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8227 <bp-checks.h>.
8228 (__libc_msgrcv): Don't use CHECK_N.
8229 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8230 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8231 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8232 (__libc_writev): Don't use CHECK_N.
8233
b84660a8
RM
82342013-02-08 Roland McGrath <roland@hack.frob.com>
8235
7f3e75f8
RM
8236 * string/strcpy.c: Removed unused variable.
8237
b84660a8
RM
8238 * Makeconfig (+sysdep-includes): Define with := rather than =.
8239 Use an existing include/ subdir of each sysdeps dir before it.
8240
471514d3
CD
82412013-02-08 Carlos O'Donell <carlos@redhat.com>
8242
8243 * nscd/connection.c (register_traced_file): Comment function.
8244 [HAVE_INOTIFY] (union __inev): Define.
8245 [HAVE_INOTIFY] (inotify_check_files): New function.
8246 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8247 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8248 clear_db_cache.
8249 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8250
b2d3c3be
CD
82512013-02-08 Carlos O'Donell <carlos@redhat.com>
8252
8253 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8254 loaded if not already and that a failure is permanent.
8255
b39949d2
CD
82562013-02-08 Carlos O'Donell <carlos@redhat.com>
8257
ddacd1db 8258 [BZ #15006]
b39949d2
CD
8259 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8260 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8261
b2c9eff4
JM
82622013-02-08 Joseph Myers <joseph@codesourcery.com>
8263
f3aae3f3
JM
8264 [BZ #13550]
8265 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8266 (CHECK_1_NULL_OK): Likewise.
8267 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8268 (__fxstat): Do not use CHECK_1.
8269 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8270 <bp-checks.h>.
8271 (___fxstat64): Do not use CHECK_1.
8272 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8273 <bp-checks.h>.
8274 (__fxstatat): Do not use CHECK_1.
8275 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8276 <bp-checks.h>.
8277 (__fxstatat64): Do not use CHECK_1.
8278 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8279 <bp-checks.h>.
8280 (__fxstat): Do not use CHECK_1.
8281 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8282 <bp-checks.h>.
8283 (__fxstatat): Do not use CHECK_1.
8284 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8285 <bp-checks.h>.
8286 (__getresgid): Do not use CHECK_1.
8287 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8288 <bp-checks.h>.
8289 (__getresuid): Do not use CHECK_1.
8290 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8291 <bp-checks.h>.
8292 (__lxstat): Do not use CHECK_1.
8293 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8294 <bp-checks.h>.
8295 (__old_msgctl): Do not use CHECK_1.
8296 (__new_msgctl): Likewise.
8297 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8298 <bp-checks.h>.
8299 (__new_setrlimit): Do not use CHECK_1.
8300 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8301 <bp-checks.h>.
8302 (__old_shmctl): Do not use CHECK_1.
8303 (__new_shmctl): Likewise.
8304 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8305 <bp-checks.h>.
8306 (__xstat): Do not use CHECK_1.
8307 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8308 (__lxstat): Do not use CHECK_1.
8309 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8310 <bp-checks.h>.
8311 (___lxstat64): Do not use CHECK_1.
8312 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8313 (__old_msgctl): Do not use CHECK_1.
8314 (__new_msgctl): Likewise.
8315 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8316 <bp-checks.h>.
8317 (__gettimeofday): Do not use CHECK_1.
8318 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8319 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8320 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8321 <bp-checks.h>.
8322 (__gettimeofday): Do not use CHECK_1.
8323 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8324 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8325 (__new_shmctl): Do not use CHECK_1.
8326 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8327 <bp-checks.h>.
8328 (do_sigtimedwait): Do not use CHECK_1.
8329 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8330 <bp-checks.h>.
8331 (do_sigwaitinfo): Do not use CHECK_1.
8332 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8333 <bp-checks.h>.
8334 (msgctl): Do not use CHECK_1.
8335 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8336 <bp-checks.h>.
8337 (shmctl): Do not use CHECK_1.
8338 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8339 (ustat): Do not use CHECK_1.
8340 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8341 <bp-checks.h>.
8342 (__fxstat): Do not use CHECK_1.
8343 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8344 <bp-checks.h>.
8345 (__fxstatat): Do not use CHECK_1.
8346 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8347 <bp-checks.h>.
8348 (__lxstat): Do not use CHECK_1.
8349 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8350 <bp-checks.h>.
8351 (__xstat): Do not use CHECK_1.
8352 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8353 (__xstat): Do not use CHECK_1.
8354 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8355 (___xstat64): Do not use CHECK_1.
8356
b2c9eff4
JM
8357 [BZ #13550]
8358 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8359 definitions.
8360 (CHECK_BOUNDS_HIGH): Likewise.
8361 * string/strcpy.c: Do not include <bp-checks.h>.
8362 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8363
f1d70dad
RM
83642013-02-07 Roland McGrath <roland@hack.frob.com>
8365
8366 * nscd/nscd-client.h (__nscd_drop_map_ref):
8367 Add __attribute__ ((unused)).
8368 * nis/nss-nisplus.h (niserr2nss): Likewise.
8369
8370 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8371 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8372
8373 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8374 Remove inline keyword.
8375 * include/rounding-mode.h (round_away): Likewise.
8376 * libio/wfileops.c (adjust_wide_data): Likewise.
8377 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8378 (__m128i_strloadu_tolower): Likewise.
8379 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8380 (__m128i_strloadu_tolower): Likewise.
8381 * time/mktime.c (ydhms_diff): Likewise.
8382 * locale/elem-hash.h (elem_hash): Likewise.
8383 * locale/setlocale.c (setdata): Likewise.
8384 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8385 (re_string_wchar_at): Likewise.
8386 (bitset_not, bitset_merge, bitset_mask): Likewise.
8387 [!(__GNUC__ > 3)] (inline): Remove macro.
8388 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8389 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8390 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8391 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8392 * string/memcmp.c (memcmp_bytes): Likewise.
8393 * locale/programs/locarchive.c (compute_hashval): Likewise.
8394 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8395 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8396 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8397 * nss/getent.c (print_rpc, print_protocols): Likewise.
8398 (print_passwd, print_group, print_aliases): Likewise.
8399 * nis/nss-nisplus.h (niserr2nss): Likewise.
8400 * nscd/connections.c (restart_p): Likewise.
8401 Change return type to bool.
8402
eab55bfb
RM
84032013-02-05 Roland McGrath <roland@hack.frob.com>
8404
7bd642f5
RM
8405 * Makeconfig (all-Depend-files): Add existing
8406 $(sorted-subdirs:=/Depend) files.
8407 (all-subdirs): Remove nss.
8408 * sysdeps/unix/inet/Subdirs: Add it here instead.
8409 * hesiod/Depend: New file.
8410
573c29b2
RM
8411 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8412 instead of calling alloca.
8413
b2e25af0
RM
8414 * io/lseek.c (__lseek): Rename to __libc_lseek.
8415 Define __lseek as an alias.
8416
eab55bfb
RM
8417 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8418
9a0d1941
CD
84192013-02-04 Carlos O'Donell <carlos@redhat.com>
8420
8421 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8422 else clause and remove check for non-standard endianness.
8423
b83bbec4
DM
84242013-02-04 David S. Miller <davem@davemloft.net>
8425
8426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8427
6277fdab
JM
84282013-02-04 Joseph Myers <joseph@codesourcery.com>
8429
8430 [BZ #13550]
8431 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8432 (__ubp_memchr): Remove prototype.
8433 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8434 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8435 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8436 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8437 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8438 Remove alias.
8439 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8440 (__ubp_memchr): Likewise.
8441 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8442 (__ubp_memchr): Likewise.
8443 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8444 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8445 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8446 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8447 CHECK_STRING.
8448 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8449 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8450 (__getcwd): Do not use CHECK_STRING.
8451 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8452 <bp-checks.h>.
8453 (__real_chown): Do not use CHECK_STRING.
8454 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8455 <bp-checks.h>.
8456 (fchownat): Do not use CHECK_STRING.
8457 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8458 CHECK_STRING.
8459 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8460 <bp-checks.h>.
8461 (__lchown): Do not use CHECK_STRING.
8462 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8463 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8464 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8465 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8467 include <bp-checks.h>.
8468 (truncate64): Do not use CHECK_STRING.
8469 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8470 <bp-checks.h>.
8471 (__real_chown): Do not use CHECK_STRING.
8472 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8473 <bp-checks.h>.
8474 (__lchown): Do not use CHECK_STRING.
8475 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8476 <bp-checks.h>.
8477 (__chown): Do not use CHECK_STRING.
8478 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8479 <bp-checks.h>.
8480 (truncate64): Do not use CHECK_STRING.
8481 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8482 Likewise.
8483 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8484 (__xmknod): Do not use CHECK_STRING.
8485 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8486 <bp-checks.h>.
8487 (__xmknodat): Do not use CHECK_STRING.
8488 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8489 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8490
903ae060
AS
84912013-02-04 Andreas Schwab <schwab@suse.de>
8492
8493 [BZ #14142]
8494 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8495 * include/netdb.h: Likewise for h_errno.
8496 * elf/tst-stackguard1.c: Include <tls.h>.
8497
542f9466
JK
84982013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8499
8500 * elf/link.h (struct link_map): Extend the l_addr comment.
8501 * include/link.h (struct link_map): Likewise.
8502
e782a927
JM
85032013-02-01 Joseph Myers <joseph@codesourcery.com>
8504
8505 [BZ #13550]
8506 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8507 (BOUNDED_1): Remove macro.
8508 * debug/backtrace.c: Don't include <bp-checks.h>.
8509 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8510 (__backtrace): Likewise.
8511 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8512 <bp-checks.h>.
8513 (__backtrace): Don't use BOUNDED_1.
8514 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8515 <bp-checks.h>.
8516 (__backtrace): Don't use BOUNDED_1.
8517 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8518 (__backtrace): Don't use BOUNDED_1.
8519 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8520 (shmat): Don't use BOUNDED_N.
8521
8cf28c5e
JM
85222013-01-31 Joseph Myers <joseph@codesourcery.com>
8523
3a7ac8a0
JM
8524 [BZ #13550]
8525 * sysdeps/generic/bp-start.h: Remove file.
8526 * csu/libc-start.c: Don't include <bp-start.h>.
8527 (LIBC_START_MAIN): Set up __environ directly instead of using
8528 INIT_ARGV_and_ENVIRON.
8529 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8530 <bp-start.h>.
8531
f3499f95
JM
8532 [BZ #13550]
8533 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8534 definitions.
8535 (CHECK_FCNTL): Likewise.
8536 (CHECK_N_PAGES): Likewise.
8537
32a45bea
JM
8538 [BZ #13550]
8539 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8540 definitions.
8541 (CHECK_SIGSET_NULL_OK): Likewise.
8542 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8543 <bp-checks.h>.
8544 (sigpending): Don't use CHECK_SIGSET.
8545 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8546 <bp-checks.h>.
8547 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8548 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8549 <bp-checks.h>.
8550 (do_sigsuspend): Don't use CHECK_SIGSET.
8551 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8552 use CHECK_SIGSET.
8553 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8554 (do_sigwait): Don't use CHECK_SIGSET.
8555 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8556 use CHECK_SIGSET.
8557 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8558 include <bp-checks.h>.
8559 (sigpending): Don't use CHECK_SIGSET.
8560 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8561 include <bp-checks.h>.
8562 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8563 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8564 <bp-checks.h>.
8565 (sigpending): Don't use CHECK_SIGSET.
8566 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8567 <bp-checks.h>.
8568 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8569
2e8a5c8c
JM
8570 [BZ #13550]
8571 * sysdeps/generic/bp-semctl.h: Remove file.
8572 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8573 <bp-checks.h> and <bp-semctl.h>.
8574 (__old_semctl): Don't use CHECK_SEMCTL.
8575 (__new_semctl): Likewise.
8576 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8577 and <bp-semctl.h>.
8578 (__old_semctl): Don't use CHECK_SEMCTL.
8579 (__new_semctl): Likewise.
8580 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8581 <bp-checks.h> and <bp-semctl.h>.
8582 (__old_semctl): Don't use CHECK_SEMCTL.
8583 (__new_semctl): Likewise.
8584 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8585 <bp-checks.h> and <bp-semctl.h>.
8586 (semctl): Don't use CHECK_SEMCTL.
8587
c2d54929
JM
8588 [BZ #13550]
8589 * Makerules (elide-bp-thunks): Remove variable.
8590 (elide-routines.oS): Don't use $(elide-bp-thunks).
8591 (elide-routines.os): Likewise.
8592 (elide-routines.o): Likewise.
8593 (elide-routines.op): Likewise.
8594 (elide-routines.og): Likewise.
8595 (objects): Don't use $(bp-thunks).
8596 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8597 include.
8598 (common-generated): Do not add s-proto-bp.d.
8599 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8600 (int): Likewise.
8601 (typ): Likewise.
8602 Do not generate makefile rules for bounded-pointer thunks.
8603 * sysdeps/generic/bp-thunks.h: Remove file.
8604 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8605 * sysdeps/unix/s-proto-bp.S: Likewise.
8606
8cf28c5e
JM
8607 [BZ #15062]
8608 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8609 parts of result separately when argument is not close to line from
8610 -i to i and one part of argument is small.
8611 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8612 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8613 * math/libm-test.inc (cacos_test): Add more tests.
8614 (casin_test): Likewise.
8615 (casinh_test): Likewise.
8616 * sysdeps/i386/fpu/libm-test-ulps: Update.
8617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8618
c4e33b8d
DM
86192013-01-31 David S. Miller <davem@davemloft.net>
8620
8621 * po/de.po: Update from translation team.
8622
3b60b421
MK
86232013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8624
8625 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8626
bb931195
TS
86272013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8628
b5a5da23
TS
8629 * configure.in (_AC_PROG_CC_C89): New definition.
8630 * configure: Regenerate.
8631
bb931195
TS
8632 * configure.in (AC_PROG_CPP): New definition.
8633 * configure: Regenerate.
8634
8c53a12c
JM
86352013-01-23 Joseph Myers <joseph@codesourcery.com>
8636
8637 * debug/tst-backtrace.h: New file.
8638 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8639 (ret): Remove variable.
8640 (x): Likewise.
8641 (FAIL): Remove macro.
8642 (NO_INLINE): Likewise.
8643 (fn1): Use match function instead of strstr.
8644 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8645 (ret): Remove variable.
8646 (x): Likewise.
8647 (FAIL): Remove macro.
8648 (NO_INLINE): Likewise.
8649 (fn): Use match function instead of strstr.
8650 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8651 (ret): Remove variable.
8652 (x): Likewise.
8653 (FAIL): Remove macro.
8654 (NO_INLINE): Likewise.
8655 (handle_signal): Use match function instead of strstr.
8656 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8657 (ret): Remove variable.
8658 (x): Likewise.
8659 (FAIL): Remove macro.
8660 (NO_INLINE): Likewise.
8661 (handle_signal): Use match function instead of strstr.
8662
4858fa2a
RM
86632013-01-23 Roland McGrath <roland@hack.frob.com>
8664
8665 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8666
bae8e7f5
DM
86672013-01-23 David S. Miller <davem@davemloft.net>
8668
8669 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8670 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8671 argument of CAS if possible.
8672 * sysdeps/sparc/sparc64/bits/atomic.h
8673 (__arch_compare_and_exchange_val_32_acq): Likewise.
8674 (__arch_compare_and_exchange_val_64_acq): Likewise.
8675
9cbbc4ae
PT
86762013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8677
8678 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8679 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8680 Include <limits.h>.
67b3f58c 8681 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8682
5655a0b5
AC
86832013-01-23 Adam Conrad <adconrad@0c3.net>
8684
8685 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8686 (LDFLAGS-tst-array5): Likewise.
8687
052aff95
JM
86882013-01-23 Joseph Myers <joseph@codesourcery.com>
8689
8690 [BZ #15036]
8691 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8692 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8693 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8694 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8695
7c1e01aa
DM
86962013-01-21 David S. Miller <davem@davemloft.net>
8697
8698 * sysdeps/sparc/backtrace.c: New file.
8699 * sysdeps/sparc/sparc32/backtrace.h: New file.
8700 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8701 * sysdeps/sparc/sparc64/backtrace.h: New file.
8702 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8703 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8704 -funwind-tables.
8705
ab087e0a
AS
87062013-01-21 Andreas Schwab <schwab@suse.de>
8707
8708 [BZ #15020]
8709 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8710 closed its stdout.
8711
ed689c2f
AS
87122013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8713
8714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8715 "mpa2.h".
8716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8717
31d470ac
JM
87182013-01-18 Joseph Myers <joseph@codesourcery.com>
8719 Mark Mitchell <mark@codesourcery.com>
8720 Tom de Vries <tom@codesourcery.com>
8721 Paul Pluzhnikov <ppluzhnikov@google.com>
8722
8723 * debug/tst-backtrace2.c: New file.
8724 * debug/tst-backtrace3.c: Likewise.
8725 * debug/tst-backtrace4.c: Likewise.
8726 * debug/tst-backtrace5.c: Likewise.
8727 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8728 (CFLAGS-tst-backtrace3.c): Likewise.
8729 (CFLAGS-tst-backtrace4.c): Likewise.
8730 (CFLAGS-tst-backtrace5.c): Likewise.
8731 (LDFLAGS-tst-backtrace2): Likewise.
8732 (LDFLAGS-tst-backtrace3): Likewise.
8733 (LDFLAGS-tst-backtrace4): Likewise.
8734 (LDFLAGS-tst-backtrace5): Likewise.
8735 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8736 tst-backtrace4 and tst-backtrace5.
8737
90567f30 87382013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8739 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8740
8741 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8742 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8743 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8744 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8746 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8747 "+r" and remove output regs list as redundant. Add explicit inline
8748 asm to specify register of return val to work around compiler codegen
8749 bug. Remove (int) cast on return value. Add return type parameter to
8750 use in macro so that this macro does not truncate return value for
8751 64-bit values.
8752 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8753 pass to INTERNAL_VSYSCALL_NCS.
8754 (INLINE_VSYSCALL): Add 'long int' as return type to
8755 INTERNAL_VSYSCALL_NCS macro invocation.
8756 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8757 INTERNAL_VSYSCALL_NCS macro invocation.
8758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8759
d3b9ea61
SP
87602013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8761
0b57daeb
SP
8762 [BZ #14496]
8763 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8764 Fix application of SIMD FP exception mask.
8765
caa99d06
SP
8766 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8767 mp_no from a power of two.
8768 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8769 __mpexp_twomm1. Use __pow_mp.
8770
d3b9ea61
SP
8771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8772 multiplication.
8773
1dbaee3c
DM
87742013-01-17 David S. Miller <davem@davemloft.net>
8775
8776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8777
728d7b43
JM
87782013-01-17 Joseph Myers <joseph@codesourcery.com>
8779
8780 [BZ #15023]
8781 * include/complex.h: Condition contents on [!_COMPLEX_H].
8782 (__kernel_casinhf): New prototype.
8783 (__kernel_casinh): Likewise.
8784 (__kernel_casinhl): Likewise.
8785 * math/Makefile (libm_calls): Add k_casinh.
8786 * math/k_casinh.c: New file.
8787 * math/k_casinhf.c: Likewise.
8788 * math/k_casinhl.c: Likewise.
8789 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8790 finite nonzero arguments.
8791 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8792 finite nonzero arguments.
8793 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8794 finite nonzero arguments.
8795 * math/s_casinh.c: Do not include <float.h>.
8796 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8797 * math/s_casinhf.c: Do not include <float.h>.
8798 (__casinhf): Move code for finite nonzero arguments to
8799 k_casinhf.c.
8800 * math/s_casinhl.c: Do not include <float.h>.
8801 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8802 redefine.
8803 (__casinhl): Move code for finite nonzero arguments to
8804 k_casinhl.c.
8805 * math/libm-test.inc (cacos_test): Add more tests.
8806 * sysdeps/i386/fpu/libm-test-ulps: Update.
8807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8808
2a26ef3a
PT
88092013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8810
8811 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8812 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8813 [!HAVE_MREMAP]: Remove [defined linux] case.
8814 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8815
a897655d
SP
88162013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8817
8818 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8819
881ebe89 88202013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8821
8822 * elf/elf.h (R_386_SIZE32): New relocation.
8823 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8824 R_386_SIZE32.
8825 (elf_machine_rela): Likewise.
8826 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8827 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8828
59981e9b
JM
88292013-01-17 Joseph Myers <joseph@codesourcery.com>
8830
8831 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8832 (FP_FAST_FMA): Do not define.
8833 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8834 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8835 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8836 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8837 !_SOFT_FLOAT]: Likewise.
8838 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8839 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8840 value.
8841 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8842 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8843 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8844 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8845 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8846 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8847 file.
8848
cfa8054f
AS
88492013-01-16 Andreas Schwab <schwab@suse.de>
8850
8851 [BZ #14327]
8852 * include/stdlib.h (__mktemp): Add declaration.
8853 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8854 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8855
dd930cc5
SP
88562013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8857
881ebe89
SP
8858 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8859 definitions.
8860 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8861 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8862 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8863 definitions here.
8864 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8865 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8866 definitions.
8867 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8868 and ONE.
8869 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8870 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8871 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8872 definitions.
8873 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8874 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8875 definitions.
8876 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8877
dd930cc5
SP
8878 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8879
c19a9f89
DM
88802013-01-15 David S. Miller <davem@davemloft.net>
8881
1aa61767
DM
8882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8883 trunc{,f} to libm-sysdep_routes.
8884 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8886 file.
8887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8889 file.
8890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8891 file.
8892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8894 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8895 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8896 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8897 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8898 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8899 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8900
c42d5e98
DM
8901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8902 nearbyint{,f} to libm-sysdep_routes.
8903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8905 New file.
8906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8907 file.
8908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8909 New file.
8910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8911 file.
8912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8914 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8915 file.
8916 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8917 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8918 file.
8919 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8920 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8921 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8922
c19a9f89
DM
8923 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8924 libc_feholdexcept and libc_fesetenv.
8925
357679d2
MF
89262013-01-15 Mike Frysinger <vapier@gentoo.org>
8927
8928 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8929
65a82e3d
DM
89302013-01-14 David S. Miller <davem@davemloft.net>
8931
8b954ab9
DM
8932 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8933 (SPARC_ASM_VIS2_IFUNC): Likewise.
8934 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8936 use of 'siam' instruction.
8937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8938 Likewise.
8939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8940 Likewise.
8941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8942 Likewise.
8943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8948 file.
8949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8950 file.
8951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8952 file.
8953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8954 file.
8955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8960 new VIS2 routines.
8961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8964 Likewise.
8965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8970 routines to libm-sysdep_routines.
8971 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8972
65a82e3d
DM
8973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8974 fdim/fdimf to libm-sysdep_routines.
8975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8976 file.
8977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8979 file.
8980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8983 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8984 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8985 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8986 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8987
e34ab705
SP
89882013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8989
2a91b573
SP
8990 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8991 to optimize copies.
8992
1066a534
SP
8993 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8996
e34ab705
SP
8997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8998 local variable MPTWO.
8999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9000 Likewise.
9001
aba5e596
MF
90022013-01-13 Mike Frysinger <vapier@gentoo.org>
9003
9004 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9005 GLOB_NOESCAPE.
9006
e557e9e5
MF
90072013-01-13 Mike Frysinger <vapier@gentoo.org>
9008
9009 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9010
0428cec9
MF
90112013-01-13 Mike Frysinger <vapier@gentoo.org>
9012
9013 * manual/pattern.texi (glob_t): Document gl_flags.
9014 (glob64_t): Likewise.
9015
8794a964
DM
90162013-01-11 David S. Miller <davem@davemloft.net>
9017
66438c3f
RM
9018 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9019 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9020 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9021 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9022 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9023 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9024 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9025 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9026 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9027 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9028 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9029 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9030 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9031
4ae4244d
DM
9032 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9033 sparc V9 rather than using V8 code.
9034 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9035 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9036
8794a964
DM
9037 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9038 Move to...
9039 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9040 Here.
9041
6270516e
RM
90422013-01-11 Roland McGrath <roland@hack.frob.com>
9043
9044 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9045 not in the main loop.
9046 * configure: Regenerated.
9047
6a57d931
JM
90482013-01-11 Joseph Myers <joseph@codesourcery.com>
9049
9050 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9051 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9052 to just #else.
9053 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9054 [!__GLIBC_HAVE_LONG_LONG] case.
9055 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9056 condition to just #else.
9057 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9058 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9059 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9060 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9061 unconditional.
9062 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9063 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9064 #elif condition to just #else.
9065 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9066 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9067 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9068 #elif condition to just #else.
9069
0e8529e9
SE
90702013-01-11 Steve Ellcey <sellcey@mips.com>
9071
9072 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9073 (EF_MIPS_ARCH_64): Fix value.
9074 (EF_MIPS_ARCH_32R2): New.
9075 (EF_MIPS_ARCH_64R2): New.
9076
740b3dbe
L
90772013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9078
9079 * Makeconfig (+link-pie-before-libc): New.
9080 (+link-pie-after-libc): Likewise.
9081 (+link-pie-tests): Likewise.
9082 (+link-pie): Rewritten.
9083 (link-before-libc): Remove $(config-LDFLAGS).
9084 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9085 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9086 (config-LDFLAGS): Renamed to ...
9087 (rtld-LDFLAGS): This.
9088 (rtld-tests-LDFLAGS): New macro.
9089 (link-libc-rpath-link): Likewise.
9090 (link-libc-tests-rpath-link): Likewise.
9091 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9092 (link-libc): Prepand $(link-libc-rpath-link).
9093 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9094 (test-program-prefix): New macro.
9095 (test-via-rtld-prefix): Likewise.
9096 (test-program-cmd): Likewise.
9097 (host-test-program-cmd): Likewise.
9098 * Makefile ($(common-objpfx)testrun.sh): Replace
9099 $(run-program-prefix) with $(test-program-prefix).
9100 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9101 $(rtld-LDFLAGS).
9102 ($(common-objpfx)shlib.lds): Likewise.
9103 (build-module-helper): Likewise.
9104 ($(common-objpfx)format.lds): Likewise.
9105 * Rules (binaries-pie-tests): New.
9106 (binaries-pie-notests): Likewise.
9107 (binaries-pie): Rewritten.
9108 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9109 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9110 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9111 (make-test-out): Replace $(host-built-program-cmd) with
9112 $(host-test-program-cmd).
9113 * config.make.in (build-hardcoded-path-in-tests): New variable.
9114 * configure.in (--enable-hardcoded-path-in-tests): New configure
9115 option.
9116 (hardcoded_path_in_tests): New AC_SUBST.
9117 * configure: Regenerated.
9118 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9119 $(built-program-cmd) with $(test-program-cmd).
9120 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9121 (test_program_cmd): This.
9122 * elf/Makefile ($(objpfx)order.out): Run test with
9123 $(test-program-prefix).
9124 ($(objpfx)order2.out): Likewise.
9125 ($(objpfx)tst-initorder.out): Likewise.
9126 ($(objpfx)tst-initorder2.out): Likewise.
9127 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9128 $(test-program-cmd).
9129 ($(objpfx)tst-array1-static.out): Likewise.
9130 ($(objpfx)tst-array2.out): Likewise.
9131 ($(objpfx)tst-array3.out): Likewise.
9132 ($(objpfx)tst-array4.out): Likewise.
9133 ($(objpfx)tst-array5.out): Likewise.
9134 ($(objpfx)tst-array5-static.out): Likewise.
9135 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9136 $(test-program-cmd).
9137 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9138 $(run-program-prefix) with $(test-program-prefix).
9139 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9140 (test_program_prefix): This.
9141 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9142 $(run-program-prefix) with $(test-program-prefix).
9143 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9144 (test_program_prefix): This.
9145 * iconvdata/tst-tables.sh: Likewise.
9146 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9147 $(run-program-prefix) with $(test-program-prefix).
9148 ($(objpfx)tst-translit.out): Likewise.
9149 ($(objpfx)tst-gettext2.out): Likewise.
9150 ($(objpfx)tst-gettext4.out): Likewise.
9151 ($(objpfx)tst-gettext6.out): Likewise.
9152 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9153 (test_program_prefix): This.
9154 * intl/tst-gettext2.sh: Likewise.
9155 * intl/tst-gettext4.sh Likewise.
9156 * intl/tst-gettext6.sh: Likewise.
9157 * intl/tst-translit.sh: Likewise.
9158 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9159 with $(test-program-cmd).
9160 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9161 $(run-program-prefix) with $(test-program-prefix).
9162 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9163 (test_program_prefix): This.
9164 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9165 $(run-program-prefix) with $(test-program-prefix).
9166 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9167 (test_program_prefix): This.
9168 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9169 * posix/Makefile ($(objpfx)globtest.out): Replace
9170 $(run-via-rtld-prefix) and $(test-wrapper) with
9171 $(test-program-prefix) and $(test-via-rtld-prefix).
9172 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9173 $(test-program-prefix).
9174 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9175 $(host-test-program-cmd).
9176 (tst-spawn-ARGS): Likewise.
9177 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9178 $(test-program-prefix).
9179 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9180 (test_via_rtld_prefix): This.
9181 (test_wrapper): Renamed to ...
9182 (test_program_prefix): This.
9183 (run_program_prefix): Replaced by test_program_prefix.
9184 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9185 (test_program_prefix): This.
9186 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9187 with $(host-test-program-cmd).
9188 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9189 $(run-program-prefix) with $(test-program-prefix).
9190 ($(objpfx)tst-printf.out): Likewise.
9191 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9192 $(test-program-cmd).
9193 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9194 (test_program_prefix): This.
9195 * stdio-common/tst-unbputc.sh: Likewise.
9196 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9197 $(run-program-prefix) with $(test-program-prefix).
9198 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9199 (test_program_prefix): This.
9200 * string/Makefile ($(objpfx)tst-svc.out): Replace
9201 $(built-program-cmd) with $(test-program-cmd).
9202
c6fe55cf
AJ
92032013-01-11 Andreas Jaeger <aj@suse.de>
9204
9205 [BZ #15003]
9206 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9207 value. Sync with Linux 3.7.
9208
9e6919c8
DM
92092013-01-10 David S. Miller <davem@davemloft.net>
9210
9211 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9212 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9213 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9214
1c9f1a02
RM
92152013-01-10 Roland McGrath <roland@hack.frob.com>
9216
9217 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9218 never set.
9219 * configure: Regenerated.
9220
b9de2dde
DM
92212013-01-10 David S. Miller <davem@davemloft.net>
9222
9223 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9224 sparc V9 rather than using V8 code.
9225 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9226 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9227
e7f68ef4
RM
92282013-01-10 Roland McGrath <roland@hack.frob.com>
9229
9230 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9231 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9232 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9233 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9234 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9235 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9236 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9237 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9238 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9239 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9240 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9241 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9242 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9243 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9244 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9245 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9246 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9247 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9248 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9249 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9250 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9251 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9252 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9253 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9254 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9255 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9256 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9257
5a47cc9c
DM
92582013-01-10 David S. Miller <davem@davemloft.net>
9259
9260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9261
4cf8f209
L
92622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9263
9264 * posix/Makefile (tests-static): New variable.
9265 (tests): Add $(tests-static).
9266 (tst-exec-static-ARGS): New variable.
9267 (tst-spawn-static-ARGS): Likewise.
9268 * posix/tst-exec-static.c: New file.
9269 * posix/tst-spawn-static.c: Likewise.
9270 * posix/tst-exec.c: Support run directly.
9271 * posix/tst-spawn.c: Likewise.
9272
fed0faa1
JM
92732013-01-10 Joseph Myers <joseph@codesourcery.com>
9274
828beb13
JM
9275 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9276 long.
9277 * math/bits/mathcalls.h (llrint): Likewise.
9278 (llround): Likewise.
9279 * stdlib/stdlib.h (struct drand48_data): Likewise.
9280 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9281 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9282 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9283 Likewise.
9284 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9285 Likewise.
9286 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9287 (elf_greg_t): Likewise.
9288 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9289 (__jmp_buf): Likewise.
9290 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9291 definitions.
9292 (llrint): Likewise, for all definitions.
9293 (llrintl): Likewise.
9294
fed0faa1
JM
9295 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9296 Remove [__GNUC__] condition.
9297 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9298 condition to just [__USE_ISOC99].
9299 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9300
1a20cb20
L
93012013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9302
9303 [BZ #14200]
9304 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9305 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9306 defined.
9307 (_POSIX_V6_ILP32_OFF32): Likewise.
9308 (_XBS5_ILP32_OFF32): Likewise.
9309 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9310 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9311
751b85f7
SP
93122013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9313
7490eb81
SP
9314 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9315
751b85f7
SP
9316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9317 doubles __mpexp_twomm1. Adjust usage.
9318 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9319 Remove.
9320
988197f0
AS
93212013-01-10 Andreas Schwab <schwab@suse.de>
9322
9323 [BZ #14964]
9324 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9325 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9326
e83d7298
DM
93272013-01-09 David S. Miller <davem@davemloft.net>
9328
034ed64b 9329 [BZ #15003]
e83d7298
DM
9330 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9331 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9332 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9333 TCP_FASTOPEN): Define.
9334 (tcp_repair_opt): New structure.
9335 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9336 enum values.
9337 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9338 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9339 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9340 (tcp_cookie_transactions): New structure.
9341
d5e0b9bd
AB
93422013-01-09 Anton Blanchard <anton@samba.org>
9343
9344 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9345 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9346 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9347 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9348
0c07e3ea
JM
93492013-01-09 Joseph Myers <joseph@codesourcery.com>
9350
9351 * include/features.h (__USE_ANSI): Remove.
9352
232f7002
RM
93532013-01-09 Roland McGrath <roland@hack.frob.com>
9354
ad98e30c
RM
9355 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9356
232f7002
RM
9357 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9358
950c99ca
SP
93592013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9360
b5792741
SP
9361 * sysdeps/s390/fpu/libm-test-ulps: Update.
9362
47cf2278
SP
9363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9364
950c99ca
SP
9365 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9366 (__acr): Likewise.
9367 (__cpy): Likewise.
9368 (norm): Likewise.
9369 (denorm): Likewise.
9370 (__mp_dbl): Likewise.
9371 (__dbl_mp): Likewise.
9372 (add_magnitudes): Likewise.
9373 (sub_magnitudes): Likewise.
9374 (__add): Likewise.
9375 (__sub): Likewise.
9376 (__mul): Likewise.
9377 (__inv): Likewise.
9378 (__dvd): Likewise.
9379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9380 (__acr): Likewise.
9381 (__cpy): Likewise.
9382 (norm): Likewise.
9383 (denorm): Likewise.
9384 (__mp_dbl): Likewise.
9385 (__dbl_mp): Likewise.
9386 (add_magnitudes): Likewise.
9387 (sub_magnitudes): Likewise.
9388 (__add): Likewise.
9389 (__sub): Likewise.
9390 (__mul): Likewise.
9391 (__inv): Likewise.
9392 (__dvd): Likewise.
9393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9394 (__acr): Likewise.
9395 (__cpy): Likewise.
9396 (norm): Likewise.
9397 (denorm): Likewise.
9398 (__mp_dbl): Likewise.
9399 (__dbl_mp): Likewise.
9400 (add_magnitudes): Likewise.
9401 (sub_magnitudes): Likewise.
9402 (__add): Likewise.
9403 (__sub): Likewise.
9404 (__mul): Likewise.
9405 (__inv): Likewise.
9406 (__dvd): Likewise.
9407
eede9df9
JM
94082013-01-08 Joseph Myers <joseph@codesourcery.com>
9409
9410 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9411 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9412 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9413 2 && __USE_EXTERN_INLINES]: Likewise.
9414
c40ea3d9
AJ
94152013-01-08 Andreas Jaeger <aj@suse.de>
9416
9417 [BZ# 14985]
9418 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9419 Remove.
9420 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9421 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9422
2ccdea26
AB
94232013-01-07 Anton Blanchard <anton@samba.org>
9424
9425 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9426 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9427 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9428 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9429 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9430 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9431 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9432 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9434 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9435 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9436 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9437 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9438 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9439 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9440 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9441 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9442 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9443 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9444 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9445 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9446 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9448 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9449 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9450 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9451 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9452 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9453 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9454 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9455 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9457 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9458 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9459 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9460 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9461 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9462 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9463 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9464 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9465 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9466 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9467 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9468
a9708fed
JM
94692013-01-07 Joseph Myers <joseph@codesourcery.com>
9470
375607b9
JM
9471 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9472 (__MALLOC_PMT): Likewise.
9473 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9474 [__GNUC__], only on [_LIBC].
9475 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9476 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9477 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9478 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9479 forward declaration.
9480 (realloc_hook_ini): Likewise.
9481 (memalign_hook_ini): Likewise.
9482 (__libc_memalign): Do not use __MALLOC_PMT in variable
9483 declaration.
9484 (__libc_valloc): Likewise.
9485 (__libc_pvalloc): Likewise.
9486 (__libc_calloc): Likewise.
9487 (__posix_memalign): Likewise.
9488
a9708fed
JM
9489 [BZ #14996]
9490 * math/s_casinh.c: Include <float.h>.
9491 (__casinh): Do not do computation with squaring and square root
9492 for large arguments.
9493 * math/s_casinhf.c: Include <float.h>.
9494 (__casinhf): Do not do computation with squaring and square root
9495 for large arguments.
9496 * math/s_casinhl.c: Include <float.h>.
9497 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9498 (__casinhl): Do not do computation with squaring and square root
9499 for large arguments.
9500 * math/libm-test.inc (casin_test): Add more tests.
9501 (casinh_test): Likewise.
9502 * sysdeps/i386/fpu/libm-test-ulps: Update.
9503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9504
afec409a
L
95052013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9506
9507 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9508 (__x86_64_raw_data_cache_size): Likewise.
9509 (__x86_64_data_cache_size_half): Likewise.
9510 (__x86_64_raw_data_cache_size_half): Likewise.
9511 (__x86_64_shared_cache_size): Likewise.
9512 (__x86_64_raw_shared_cache_size): Likewise.
9513 (__x86_64_shared_cache_size_half): Likewise.
9514 (__x86_64_raw_shared_cache_size_half): Likewise.
9515 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9516 to ...
9517 (__x86_data_cache_size): This.
9518 (__x86_64_raw_data_cache_size): Renamed to ...
9519 (__x86_raw_data_cache_size): This.
9520 (__x86_64_data_cache_size_half): Renamed to ...
9521 (__x86_data_cache_size_half): This.
9522 (__x86_64_raw_data_cache_size_half): Renamed to ...
9523 (__x86_raw_data_cache_size_half): This.
9524 (__x86_64_shared_cache_size): Renamed to ...
9525 (__x86_shared_cache_size): This.
9526 (__x86_64_raw_shared_cache_size): Renamed to ...
9527 (__x86_raw_shared_cache_size): This.
9528 (__x86_64_shared_cache_size_half): Renamed to ...
9529 (__x86_shared_cache_size_half): This.
9530 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9531 (__x86_raw_shared_cache_size_half): This.
9532 * sysdeps/x86_64/memcpy.S: Updated.
9533 * sysdeps/x86_64/memset.S: Likewise.
9534 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9535 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9536 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9537
0b3986d0
DM
95382013-01-04 David S. Miller <davem@davemloft.net>
9539
9540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9541
e47686e9
AS
95422013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9543
d643bac1
AS
9544 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9545 1 to avoid redefinition warning.
9546 (__USE_GNU): Don't define.
9547 (init_signaling_nan): Protoize.
9548
e47686e9
AS
9549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9550
b18decba
SP
95512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9552
fffb407f
SP
9553 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9555 (__cpymn): Likewise.
9556 (norm): Remove commented code.
9557 (denorm): Likewise.
9558 (__mp_dbl): Likewise.
9559 (__inv): Likewise.
9560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9561 (__cpymn): Likewise.
9562 (norm): Remove commented code.
9563 (denorm): Likewise.
9564 (__mp_dbl): Likewise.
9565 (__inv): Likewise.
9566
b18decba
SP
9567 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9568 mp_no value for 1.0 and 2.0.
9569 (norm): Use RADIXI instead of radixi.d.
9570 (denorm): Likewise.
9571 (__mul): Use 0.0 instead of zero.d.
9572 * sysdeps/powerpc/powerpc64/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
cdc1c96f
JM
95782013-01-04 Joseph Myers <joseph@codesourcery.com>
9579
9580 [BZ #14994]
9581 * math/s_casinh.c (__casinh): Reduce finite argument to first
9582 quadrant then set signs of results at the end.
9583 * math/s_casinhf.c (__casinhf): Likewise.
9584 * math/s_casinhl.c (__casinhl): Likewise.
9585 * math/libm-test.inc (casin_test): Add more tests.
9586 (casinh_test): Likewise.
9587 * sysdeps/i386/fpu/libm-test-ulps: Update.
9588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9589
302913e1
SP
95902013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9591
6420d207
SP
9592 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9593
a9e48ab4
SP
9594 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9595
b7837264
SP
9596 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9597 declarations.
9598 (denorm): Likewise.
9599 (__mp_dbl): Likewise.
9600 (__inv): Likewise.
9601
f8af25d2
SP
9602 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9603 and adjust the header comment.
9604
302913e1
SP
9605 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9606 variable name from declaration.
9607
5d7dd1ca
L
96082013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9609
9610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9611 Initialize COMMON_CPUID_INDEX_7 element.
9612 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9613 (CPUID_RTM): Likewise.
9614 (HAS_RTM): Likewise.
9615 (COMMON_CPUID_INDEX_7): New enum.
9616
2f5f40f4
AS
96172013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9618
9619 [BZ #14981]
9620 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9621 size is zero, record memory as freed.
9622
4056f4a0
AJ
96232013-01-03 Andreas Jaeger <aj@suse.de>
9624
9625 * po/ia.po: Add new Interlingua translation.
9626
ab15736f 96272012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9628
9629 * locale/programs/localedef.c: Fix description of '--posix' flag.
9630
568035b7
JM
96312013-01-02 Joseph Myers <joseph@codesourcery.com>
9632
e6898b8d
JM
9633 * NEWS: Update dates in second copyright notice.
9634 * README: Update copyright dates in example.
9635 * manual/libc.texinfo: Update copyright dates.
9636 * scripts/test-installation.pl: Update copyright date in --version
9637 output.
9638
0e2f9562
JM
9639 * hurd/ctty-input.c: Fix copyright notice formatting.
9640 * hurd/ctty-output.c: Likewise.
9641 * hurd/dtable.c: Likewise.
9642 * hurd/hurd-raise.c: Likewise.
9643 * hurd/hurdprio.c: Likewise.
9644 * hurd/msgportdemux.c: Likewise.
9645 * misc/sys/file.h: Likewise.
9646 * misc/sys/ioctl.h: Likewise.
9647 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9648 * sysdeps/mach/hurd/chdir.c: Likewise.
9649 * sysdeps/mach/hurd/fchdir.c: Likewise.
9650 * sysdeps/mach/hurd/rename.c: Likewise.
9651 * sysdeps/mach/hurd/rmdir.c: Likewise.
9652 * sysdeps/mach/hurd/seekdir.c: Likewise.
9653 * sysdeps/mach/hurd/setsid.c: Likewise.
9654 * sysdeps/posix/wait3.c: Likewise.
9655
568035b7
JM
9656 * All files with FSF copyright notices: Update copyright dates
9657 using scripts/update-copyrights.
9658 * intl/plural.c: Regenerated.
9659 * locale/programs/charmap-kw.h: Likewise.
9660 * locale/programs/locfile-kw.h: Likewise.
9661
da08f647
SP
96622013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9663
0f5477af
SP
9664 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9665 four values.
9666
44e0d4c2
SP
9667 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9668 calculation loop and add branch prediction.
9669
4d55b4e5
SP
9670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9671 check access beyond bounds of m1np.
9672
da08f647
SP
9673 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9674 MPTWO.
9675 (__inv): Remove local variable MPTWO to use the global
9676 constant.
9677 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9678 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9679 variable MPTWO.
9680 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9681 MP3HALFS static const.
9682
8e051029
DM
96832013-01-01 David S. Miller <davem@davemloft.net>
9684
9685 * po/ca.po: Update from translation team.
9686
f4cf5f2d
JM
96872013-01-01 Joseph Myers <joseph@codesourcery.com>
9688
9689 * scripts/update-copyrights: New file.
9690 * Makeconfig: Reformat copyright notice.
9691 * ctype/ctype.h: Likewise.
9692 * debug/swprintf_chk.c: Likewise.
9693 * elf/dl-cache.c: Likewise.
9694 * elf/dl-debug.c: Likewise.
9695 * elf/dl-object.c: Likewise.
9696 * grp/initgroups.c: Likewise.
9697 * hurd/Makefile: Likewise.
9698 * hurd/hurd/signal.h: Likewise.
9699 * hurd/hurdfault.c: Likewise.
9700 * hurd/hurdioctl.c: Likewise.
9701 * hurd/hurdlookup.c: Likewise.
9702 * hurd/intr-msg.c: Likewise.
9703 * iconv/gconv_open.c: Likewise.
9704 * libio/swprintf.c: Likewise.
9705 * locale/lc-ctype.c: Likewise.
9706 * locale/nl_langinfo.c: Likewise.
9707 * mach/Machrules: Likewise.
9708 * mach/Makefile: Likewise.
9709 * malloc/obstack.h: Likewise.
9710 * manual/Makefile: Likewise.
9711 * manual/tsort.awk: Likewise.
9712 * misc/bits/stab.def: Likewise.
9713 * nis/nis_print_group_entry.c: Likewise.
9714 * nis/nis_table.c: Likewise.
9715 * nis/nss_compat/compat-pwd.c: Likewise.
9716 * nis/nss_compat/compat-spwd.c: Likewise.
9717 * po/Makefile: Likewise.
9718 * posix/fnmatch.c: Likewise.
9719 * posix/regex.h: Likewise.
9720 * resolv/Makefile: Likewise.
9721 * resolv/nss_dns/dns-network.c: Likewise.
9722 * resolv/res_hconf.c: Likewise.
9723 * scripts/gen-sorted.awk: Likewise.
9724 * soft-fp/soft-fp.h: Likewise.
9725 * stdio-common/printf.h: Likewise.
9726 * stdlib/monetary.h: Likewise.
9727 * stdlib/random.c: Likewise.
9728 * stdlib/random_r.c: Likewise.
9729 * sysdeps/generic/Makefile: Likewise.
9730 * sysdeps/gnu/Makefile: Likewise.
9731 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9732 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9733 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9734 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9735 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9737 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9738 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9739 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9740 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9741 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9742 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9743 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9744 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9745 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9746 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9747 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9749 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9751 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9752 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9753 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9754 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9755 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9759 * sysdeps/mach/hurd/errnos.awk: Likewise.
9760 * sysdeps/mach/hurd/fork.c: Likewise.
9761 * sysdeps/mach/hurd/getcwd.c: Likewise.
9762 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9763 * sysdeps/mach/hurd/mmap.c: Likewise.
9764 * sysdeps/mach/hurd/utimes.c: Likewise.
9765 * sysdeps/mach/hurd/xmknod.c: Likewise.
9766 * sysdeps/posix/profil.c: Likewise.
9767 * sysdeps/posix/readdir_r.c: Likewise.
9768 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9769 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9770 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9771 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9773 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9774 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9775 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9777 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9778 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9779 * sysdeps/pthread/lio_listio.c: Likewise.
9780 * sysdeps/sparc/dl-procinfo.h: Likewise.
9781 * sysdeps/unix/i386/sysdep.S: Likewise.
9782 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9783 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9784 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9785 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9787 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9788 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9789 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9790 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9791 * sysdeps/wordsize-32/divdi3.c: Likewise.
9792 * time/sys/time.h: Likewise.
9793 * wcsmbs/Makefile: Likewise.
9794
0549fbba
DM
97952013-01-01 David S. Miller <davem@davemloft.net>
9796
a141f1a7
DM
9797 * po/fr.po: Update from translation team.
9798
0549fbba
DM
9799 * catgets/gencat.c: Update copyright year.
9800 * csu/version.c: Likewise.
9801 * debug/catchsegv.sh: Likewise.
9802 * debug/pcprofiledump.c: Likewise.
9803 * debug/xtrace.sh: Likewise.
9804 * elf/ldconfig.c: Likewise.
9805 * elf/ldd.bash.in: Likewise.
9806 * elf/pldd.c: Likewise.
9807 * elf/sotruss.ksh: Likewise.
9808 * elf/sprof.c: Likewise.
9809 * iconv/iconv_prog.c: Likewise.
9810 * iconv/iconvconfig.c: Likewise.
9811 * locale/programs/locale.c: Likewise.
9812 * locale/programs/localedef.c: Likewise.
9813 * login/programs/pt_chown.c: Likewise.
9814 * malloc/memusage.sh: Likewise.
9815 * malloc/memusagestat.c: Likewise.
9816 * malloc/mtrace.pl: Likewise.
9817 * nscd/nscd.c: Likewise.
9818 * nss/getent.c: Likewise.
9819 * nss/makedb.c: Likewise.
9820 * posix/getconf.c: Likewise.
9821
18ea052c
SP
98222012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9823
9824 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9825 numbers.
9826
9c89fca6
MF
98272012-12-30 Mike Frysinger <vapier@gentoo.org>
9828
9829 * math/bits/mathcalls.h (modf): Use __nonnull.
9830
085ec079
SP
98312012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9832
9833 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9834 (split): Use macro CN instead of the bare value.
9835 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9836 could be used.
9837 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9838 instead of the bare value.
9839 (power1): Likewise.
9840
6d9f97e1
SP
98412012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9842
d63f73be
SP
9843 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9844 __ATAN_TWOM.
9845 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9846
6d9f97e1
SP
9847 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9848 their values.
9849 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9850 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9851 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9852 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9853
4c4febf5
AJ
98542012-12-28 Andreas Jaeger <aj@suse.de>
9855
af5843ef
AJ
9856 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9857 values are from Linux 3.7.
9858
4c4febf5
AJ
9859 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9860 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9861
99136f82
SP
98622012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9863
2f216c3c 9864 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9865 TRUE case.
9866
99136f82
SP
9867 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9868 (norm): Likewise.
9869 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9870 variables with preprocessor constants.
9871 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9872 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9873 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9874
7fffbdff
BH
98752012-12-27 Bruno Haible <bruno@clisp.org>
9876
9877 [BZ #14317]
9878 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9879 only if needed.
9880
b76eb5f0
SP
98812012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9882
31a7fe5c
SP
9883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9884 and use variable directly.
9885 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9886
b76eb5f0
SP
9887 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9888 MPONE.
9889 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9890 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9891 variable MPONE.
9892 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9893 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9894 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9895 include directive. Remove local variable MPONE.
9896 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9897 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9898 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9899
2c8bfe7d
DM
99002012-12-25 David S. Miller <davem@davemloft.net>
9901
9902 * version.h (RELEASE): Set to "development".
9903 (VERSION): Set to "2.17.90".
9904 * NEWS: Add 2.18 section.
9905
147d03b0
DM
99062012-12-21 David S. Miller <davem@davemloft.net>
9907
9908 * po/hr.po: Update from translation team.
9909
a8ebb2b9
AK
99102012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9911
9912 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9913
95b4f1b6
SE
99142012-12-19 Steve Ellcey <sellcey@mips.com>
9915
b2d94007 9916 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9917
cedb2a90
MS
99182012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9919
9920 * manual/contrib.texi (Contributors): Spelling correction.
9921
bbf527d6
DM
99222012-12-15 David S. Miller <davem@davemloft.net>
9923
9924 * po/ru.po: Update from translation team.
9925
bc38c906
DM
99262012-12-13 David S. Miller <davem@davemloft.net>
9927
85429b1a
DM
9928 * NEWS: Mention IFUNC testsuite enhancements.
9929
d283e353
DM
9930 * po/pl.po: Update from translation team.
9931 * po/bg.po: Likewise.
9932
bc38c906
DM
9933 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9934 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9935
a181b0d7
DM
99362012-12-11 David S. Miller <davem@davemloft.net>
9937
4641d57e
DM
9938 * po/sv.po: Update from translation team.
9939
f7bc6495
DM
9940 * po/vi.po: Update from translation team.
9941
6fc9048f
DM
9942 * po/cs.po: Update from translation team.
9943
a181b0d7
DM
9944 * po/de.po: Update from translation team.
9945 * po/eo.po: Likewise.
9946 * po/nl.po: Likewise.
9947
f70bfe80
SP
99482012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9949
3c8b4190
SP
9950 [BZ #14246]
9951 * manual/argp.texi (Argp Helper Functions): Move node to follow
9952 Argp Parsing State.
9953
f70bfe80
SP
9954 [BZ #14872]
9955 * manual/conf.texi (Limits on File System Capacity): Mention if
9956 terminating null is included in the max size.
9957
188f0adf
AJ
99582012-12-10 Andreas Jaeger <aj@suse.de>
9959
9960 * po/cs.po: Update from translation team.
9961
56e7d3ad
SP
99622012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9963
9964 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9965 void pointer and cast to uintptr_t.
9966 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9967 path.
9968 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9969 * sysdeps/s390/s390-64/memset.S: Likewise.
9970
76f2d2ea 99712012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9972
9973 [BZ #14833]
9974 * menual/message.texi (Message Translation): Fix typos.
9975 (Helper programs for gettext): Likewise.
9976
67cbf9a2
AS
99772012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9978
9979 [BZ #14898]
9980 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9981 Change to -1.
9982
682d0e9a
DM
99832012-12-07 David S. Miller <davem@davemloft.net>
9984
9985 * po/libc.pot: Update.
9986
573cd484
RH
99872012-12-07 Richard Henderson <rth@redhat.com>
9988
7e9da188 9989 [BZ #10114]
573cd484
RH
9990 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9991 normal/normal case to before the switch.
9992 (_FP_DIV): Likewise.
9993
e933a943
MF
99942012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9995 Mike Frysinger <vapier@gentoo.org>
9996
9997 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9998 check for __NR_fadvise64_64.
9999
82123268
CM
100002012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10001
10002 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10003 0, not just to plain "0" as a statement.
10004 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10005 with cw.
10006
d9814526
JM
100072012-12-06 Joseph Myers <joseph@codesourcery.com>
10008
10009 * NEWS: Use sourceware.org in Bugzilla URL.
10010
7728c574
SP
100112012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10012
f16946dd
SP
10013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10014 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10015
5704bbcb
SP
10016 * stdio-common/tst-put-error.c (do_test): Add newline to the
10017 padded test to ensure flush.
10018
17aa0516
JL
100192012-12-05 Jeff Law <law@redhat.com>
10020
10021 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10022
363313b5
JM
100232012-12-05 Joseph Myers <joseph@codesourcery.com>
10024
effbd42a
JM
10025 * README: Don't refer to ports add-on as distributed separately.
10026 Mention AArch64 in list of systems supported in the ports add-on.
10027
87600365
JM
10028 * LICENSES: Add more non-FSF copyright and license notices.
10029
a0d7066a
JM
10030 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10031 ((unused)).
10032
66ca5a5b
JM
10033 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10034
363313b5
JM
10035 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10036 10000 as width of padded output.
10037
b37984ad
JM
100382012-12-04 Joseph Myers <joseph@codesourcery.com>
10039
9003570a
JM
10040 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10041
b37984ad
JM
10042 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10043 variable LX with __attribute__ ((unused)).
10044 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10045 Likewise.
10046 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10047 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10048 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10049 with __attribute__ ((unused)).
10050
c8df52ec
DM
100512012-12-04 David S. Miller <davem@abraco.davemloft.net>
10052
10053 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10054
b3b099af
JM
100552012-12-04 Joseph Myers <joseph@codesourcery.com>
10056
c33aa6e3
JM
10057 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10058 (CFLAGS-nldbl-acos.c): New variable.
10059 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10060 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10061 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10062 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10063 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10064 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10065 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10066 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10067 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10068 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10069 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10070 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10071 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10072 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10073 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10074 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10075 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10076 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10077 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10078 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10079 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10080 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10081 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10082 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10083 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10084 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10085 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10086 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10087 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10088 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10089 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10090 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10091 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10092 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10093 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10094 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10095 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10096 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10097 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10098 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10099 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10100 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10101 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10102 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10103 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10104 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10105 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10106 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10107 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10108 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10109 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10110 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10111 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10112 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10113 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10114 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10115 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10116 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10117 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10118 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10119 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10120 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10121 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10122 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10123 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10124 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10125 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10126 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10127 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10128 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10129 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10130 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10131 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10132 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10133 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10134 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10135 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10136 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10137 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10138 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10139 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10140 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10141 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10142 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10143 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10144 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10145 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10146 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10147 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10148 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10149 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10150 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10151 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10152 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10153 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10154 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10155 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10156
20f0018d
JM
10157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10158 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10159
b3b099af
JM
10160 [BZ #14914]
10161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10162 whole low double instead of just low 47 bits when splitting values
10163 into two parts.
10164
029264d1
AM
101652012-12-03 Allan McRae <allan@archlinux.org>
10166
10167 * manual/stdio.texi (Predefined Printf Handlers): Remove
10168 @hsep and @vsep usage.
10169
c9d6789e
MF
101702012-12-03 Mike Frysinger <vapier@gentoo.org>
10171
10172 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10173 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10174
4b7634a5
JL
101752012-12-03 Jeff Law <law@redhat.com>
10176
10177 * time/sys/time.h (settimeofday): Do not mark TV argument
10178 as __nonnull.
10179
eb6cbd24
MF
101802012-12-01 Mike Frysinger <vapier@gentoo.org>
10181
10182 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10183 when currently writing and seek to current position when not.
10184 * libio/Makefile (tests): Remove bug-fclose1.
10185 * libio/bug-fclose1.c: Delete.
10186
f638872a
JM
101872012-12-01 Joseph Myers <joseph@codesourcery.com>
10188
10189 * manual/arith.texi (feenableexcept): Fix typo.
10190 (fedisableexcept): Likewise.
10191
48085d14
RM
101922012-11-30 Roland McGrath <roland@hack.frob.com>
10193
10194 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10195 second, differently-typed declaration, rather than a cast.
10196
1a538b9f
SP
101972012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10198
10199 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10200 * include/rpc/svc.h: ... here.
10201
d07f2ff1 102022012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10203
10204 [BZ #13013]
10205 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10206 depending n and resplen2 to catch cases where answer
10207 equals answerp2.
10208
c93ec1f0
CD
102092012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10210
10211 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10212 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10213
37db69de
MF
102142012-11-29 Mike Frysinger <vapier@gentoo.org>
10215
10216 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10217
e10c4e4f
RM
102182012-11-29 Roland McGrath <roland@hack.frob.com>
10219
10220 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10221
2af1b328
JL
102222012-11-28 Jeff Law <law@redhat.com>
10223
10224 [BZ #13761]
10225 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10226 dataset_temporary. Track alloca usage into alloca_used.
10227 If dataset is large allocate and release it via malloc/free.
10228
111db5b1
FW
102292012-06-04 Florian Weimer <fweimer@redhat.com>
10230
f06cc227 10231 [BZ #14197]
111db5b1
FW
10232 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10233
dd694abd
DM
102342012-11-28 David S. Miller <davem@davemloft.net>
10235
10236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10237
9984dd01
JM
102382012-11-28 Joseph Myers <joseph@codesourcery.com>
10239
10240 [BZ #14803]
10241 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10242 of pi/2 rounded to nearest to 64 bits.
10243 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10244 nearest to 64 bits.
10245 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10246 bits.
10247
14bc93a9
JL
102482012-11-28 Jeff Law <law@redhat.com>
10249 Martin Osvald <mosvald@redhat.com>
10250
10251 [BZ #14889]
10252 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10253 * sunrpc/svc.c: Include time.h.
10254 (__svc_accept_failed): New function.
10255 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10256 any reason other than EINTR, call __svc_accept_failed.
10257 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10258 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10259
e3c6aa3a
AS
102602012-11-28 Andreas Schwab <schwab@suse.de>
10261
10262 * scripts/abilist.awk: Also handle indirect functions in .opd
10263 section.
10264
1bead169
JM
102652012-11-28 Joseph Myers <joseph@codesourcery.com>
10266
10267 [BZ #13881]
10268 * sysdeps/x86/fpu/powl_helper.c: New file.
10269 * sysdeps/x86/fpu/Makefile: Likewise.
10270 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10271 (p3): New object.
10272 (__ieee754_powl): Use __powl_helper for finite arguments except
10273 integer exponents below 8.
10274 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10275 (p3): New object.
10276 (__ieee754_powl): Use __powl_helper for finite arguments except
10277 integer exponents below 8.
10278 * math/libm-test.inc (pow_test): Add more tests and enable some
10279 previously disabled tests.
10280 * sysdeps/i386/fpu/libm-test-ulps: Update.
10281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10282
0817d63d
SP
102832012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10284 Carlos O'Donell <carlos_odonell@mentor.com>
10285
10286 * nss/makedb.c (is_prime): Assert that input is odd and greater
10287 than 4. Note that fact in a comment too.
10288 (next_prime): Add 4 to input.
10289
de2fd463
SP
102902012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10291
10292 [BZ #11741]
10293 * libio/Makefile (tests): Add test case tst-fwrite-error.
10294 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10295 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10296 * libio/tst-fwrite-error.c: New test case.
10297
c515fb51
L
102982012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10299
10300 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10301 before casting to void *.
10302 * include/libc-internal.h (__pointer_type): New macro.
10303 (__integer_if_pointer_type_sub): Likewise.
10304 (__integer_if_pointer_type): Likewise.
10305 (cast_to_integer): Likewise.
10306 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10307 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10308 before casting to atomic64_t.
10309 (atomic_exchange_acq): Likewise.
10310 (__arch_exchange_and_add_body): Likewise.
10311 (__arch_add_body): Likewise.
10312 (atomic_add_negative): Likewise.
10313 (atomic_add_zero): Likewise.
10314
4cf77aa9
JM
103152012-11-26 Joseph Myers <joseph@codesourcery.com>
10316
10317 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10318 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10319 (add_fdes): Likewise.
10320 (linear_search_fdes): Likewise.
10321 (binary_search_unencoded_fdes): Likewise.
10322
d260b3b4
AS
103232012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10324
10325 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10326
67060746
AC
103272012-11-24 Adam Conrad <adconrad@0c3.net>
10328
10329 * configure.in: Autodetect C++ header directories.
10330 * configure: Regenerated.
10331
800938a1
MF
103322012-11-23 Mike Frysinger <vapier@gentoo.org>
10333
10334 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10335
4e6e34e6
AS
103362012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10337
10338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10339
7c7feb47
JM
103402012-11-22 Joseph Myers <joseph@codesourcery.com>
10341
7184dcdf
JM
10342 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10343 LDBL_MANT_DIG == 106]: Disable some tests.
10344 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10345 Likewise.
10346 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10347 Likewise.
10348
0a42601f
JM
10349 [BZ #14871]
10350 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10351 input for small inputs. Return +/- pi/2 for large inputs.
10352 * math/libm-test.inc (atan_test): Add more tests.
10353
79c9b9fe
JM
10354 * sysdeps/generic/unwind-dw2-fde-glibc.c
10355 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10356 __attribute__ ((unused)).
10357
c60d3bf2
JM
10358 [BZ #14645]
10359 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10360 x * y if x and y are nonzero and z is zero.
10361
ef1e0867
JM
10362 [BZ #14811]
10363 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10364 nonzero exponents with absolute value below 0x1p-117 to +/-
10365 0x1p-117.
10366
1468ded3
JM
10367 [BZ #14869]
10368 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10369 up arguments below 2**-450, not just those below 2**-500.
10370 * math/libm-test.inc (hypot_test): Add another test.
10371
8e27e3cc
JM
10372 [BZ #14868]
10373 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10374 Return a+b for ratio over 2**120, not 2**60.
10375 * math/libm-test.inc (hypot_test): Add another test.
10376
c9c0279b
JM
10377 * math/libm-test.inc (clog_test): Use
10378 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10379 (clog10_test): Likewise.
10380
7c7feb47
JM
10381 [BZ #6778]
10382 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10383
fff1530e
AS
103842012-11-22 Andreas Schwab <schwab@suse.de>
10385
10386 * sysdeps/i386/fpu/libm-test-ulps: Update.
10387
94558d30
PT
103882012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10389
10390 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10391 printf output with newline.
10392
7e1be741
L
103932012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10394
6bfea974
L
10395 [BZ #14865]
10396 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10397 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10398 -z nodlopen, -z initfirst and -z execstack support.
10399 * configure: Regenerated.
10400
7e1be741
L
10401 * elf/elf.h (DF_1_NODIRECT): New macro.
10402 (DF_1_IGNMULDEF): Likewise.
10403 (DF_1_NOKSYMS): Likewise.
10404 (DF_1_NOHDR): Likewise.
10405 (DF_1_EDITED): Likewise.
10406 (DF_1_NORELOC): Likewise.
10407 (DF_1_SYMINTPOSE): Likewise.
10408 (DF_1_GLOBAUDIT): Likewise.
10409 (DF_1_SINGLETON): Likewise.
10410 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10411 DT_1_SUPPORTED_MASK bits.
10412 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10413
105ce2ce
CD
104142012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10415
10416 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10417
123be9de
TS
104182012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10419
d072f3f7
TS
10420 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10421 macro.
10422
123be9de
TS
10423 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10424 (sendmmsg): Move declarations...
10425 * socket/sys/socket.h: ... here.
10426 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10427 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10428 include it from...
10429 * socket/recvmmsg.c: ... this new file.
10430 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10431 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10432 definition of __sendmmsg hidden.
10433 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10434 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10435 Move ENOSYS stub into and include it from...
10436 * socket/sendmmsg.c: ... this new file.
10437 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10438 (sysdep_routines): Move recvmmsg and sendmmsg...
10439 * socket/Makefile (routines): ... here.
10440 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10441 (GLIBC_PRIVATE): Add __sendmmsg.
10442 * include/sys/socket.h (__sendmmsg): Add declarations.
10443 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10444 sendmmsg.
10445
cf9a5d18
JM
104462012-11-20 Joseph Myers <joseph@codesourcery.com>
10447
10448 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10449 variable I1 with __attribute__ ((unused)).
10450 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10451
ecd4caf9
JM
104522012-11-19 Joseph Myers <joseph@codesourcery.com>
10453
be14d48f
JM
10454 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10455 DUMMY variables with __attribute__ ((unused)).
10456
ecd4caf9
JM
10457 * bits/byteswap.h: Include <bits/types.h>.
10458 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10459
986cab95
PT
104602012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10461
10462 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10463 string_t. Do not manually set errno.
10464 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10465 length with __strnlen. Make sure to both set errno and return it on
10466 failure.
10467
6d33cc9d
DM
104682012-11-19 David S. Miller <davem@davemloft.net>
10469
10470 With help from Joseph Myers.
10471 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10472 very large arguments properly.
10473 * math/libm-test.inc (atan_test): New tests.
10474 (atan2_test): New tests.
10475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10477
ee663277
JM
104782012-11-19 Joseph Myers <joseph@codesourcery.com>
10479
877f2d8e
JM
10480 [BZ #14856]
10481 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10482 Define to 3.
10483
116fc08a
JM
10484 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10485 [POSIX] (EADDRNOTAVAIL): Likewise.
10486 [POSIX] (EAFNOSUPPORT): Likewise.
10487 [POSIX] (EALREADY): Likewise.
10488 [POSIX] (ECONNABORTED): Likewise.
10489 [POSIX] (ECONNREFUSED): Likewise.
10490 [POSIX] (ECONNRESET): Likewise.
10491 [POSIX] (EDESTADDRREQ): Likewise.
10492 [POSIX] (EDQUOT): Likewise.
10493 [POSIX] (EHOSTUNREACH): Likewise.
10494 [POSIX] (EIDRM): Likewise.
10495 [POSIX] (EISCONN): Likewise.
10496 [POSIX] (ELOOP): Likewise.
10497 [POSIX] (EMULTIHOP): Likewise.
10498 [POSIX] (ENETDOWN): Likewise.
10499 [POSIX] (ENETUNREACH): Likewise.
10500 [POSIX] (ENOBUFS): Likewise.
10501 [POSIX] (ENODATA): Likewise.
10502 [POSIX] (ENOLINK): Likewise.
10503 [POSIX] (ENOMSG): Likewise.
10504 [POSIX] (ENOPROTOOPT): Likewise.
10505 [POSIX] (ENOSR): Likewise.
10506 [POSIX] (ENOSTR): Likewise.
10507 [POSIX] (ENOTCONN): Likewise.
10508 [POSIX] (ENOTSOCK): Likewise.
10509 [POSIX] (EOPNOTSUPP): Likewise.
10510 [POSIX] (EOVERFLOW): Likewise.
10511 [POSIX] (EPROTO): Likewise.
10512 [POSIX] (EPROTONOSUPPORT): Likewise.
10513 [POSIX] (EPROTOTYPE): Likewise.
10514 [POSIX] (ESTALE): Likewise.
10515 [POSIX] (ETIME): Likewise.
10516 [POSIX] (ETXTBSY): Likewise.
10517 [POSIX] (EWOULDBLOCK): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10519 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10520 [POSIX] (SEEK_CUR): Likewise.
10521 [POSIX] (SEEK_END): Likewise.
10522 [POSIX || UNIX98] (mode_t): Do not require.
10523 [POSIX] (off_t): Likewise.
10524 [POSIX] (pid_t): Likewise.
10525 [POSIX] (sys/stat.h): Do not allow header.
10526 [POSIX] (unistd.h): Likewise.
10527 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10528 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10529 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10530 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10531 require.
10532 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10533 sigevent): Specify elements.
10534 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10535 entry.
10536 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10537 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10538
a483863f
JM
10539 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10540 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10541 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10542 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10543 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10544 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10545 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10546 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10547 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10548 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10549 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10550 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10551 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10552 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10553 Likewise.
10554 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10555 Likewise.
10556 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10557 Likewise.
10558 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10559 Likewise.
10560 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10561 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10562 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10563 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10564 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10565 Specify lower bound on value.
10566 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10567 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10568 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10569 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10570 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10571 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10572 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10573 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10574 value.
10575 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10576 as optional.
10577 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10578 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10579 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10580 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10581 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10582 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10583 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10584 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10585 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10586 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10587 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10588 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10589 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10590 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10591 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10592 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10593 entry.
10594 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10595 optional.
10596 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10597 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10598 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10599 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10600 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10601 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10602 Likewise.
10603 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10604 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10605 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10606 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10607 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10608 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10609 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10610 as optional.
10611 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10612 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10613 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10614 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10615 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10616 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10617 specify as optional.
10618 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10619 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10620 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10621 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10622 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10623 [XPG3] (NL_LANGMAX): Likewise.
10624 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10625 [POSIX || XPG3] (NL_NMAX): Likewise.
10626 [POSIX || XPG3] (NL_SETMAX): Likewise.
10627 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10628 [XPG3] (NZERO): Likewise.
10629 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10630 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10631 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10632 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10633 (REG_ERANGE): Expect.
10634 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10635 optional-constant.
10636 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10637 Use (void) in prototype.
10638 [POSIX] (*_t): Allow.
10639 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10640 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10641 (WRDE_BADVAL): Expect.
10642
5ba924e3
JM
10643 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10644 expect.
10645 [XPG3 || XPG4] (O_RSYNC): Likewise.
10646 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10647 Likewise.
10648 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10649 [XPG3 || XPG4] (sigqueue): Likewise.
10650 [XPG3 || XPG4] (sigtimedwait): Likewise.
10651 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10652 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10653 [XPG3 || XPG4] (vsnprintf): Likewise.
10654 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10655 Likewise.
10656 [XPG3 || XPG4] (blksize_t): Likewise.
10657 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10658 Likewise.
10659 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10660 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10661 [XPG3 || XPG4] (struct itimerspec): Likewise.
10662 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10663 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10664 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10665 [XPG3 || XPG4] (clockid_t): Likewise.
10666 [XPG3 || XPG4] (timer_t): Likewise.
10667 [XPG3 || XPG4] (clock_getres): Likewise.
10668 [XPG3 || XPG4] (clock_gettime): Likewise.
10669 [XPG3 || XPG4] (clock_settime): Likewise.
10670 [XPG3 || XPG4] (nanosleep): Likewise.
10671 [XPG3 || XPG4] (timer_create): Likewise.
10672 [XPG3 || XPG4] (timer_delete): Likewise.
10673 [XPG3 || XPG4] (timer_gettime): Likewise.
10674 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10675 [XPG3 || XPG4] (timer_settime): Likewise.
10676 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10677 [XPG3 || XPG4] (getlogin_r): Likewise.
10678 [XPG3 || XPG4] (pread): Likewise.
10679 [XPG3 || XPG4] (pthread_atfork): Likewise.
10680 [XPG3 || XPG4] (pwrite): Likewise.
10681
ee663277
JM
10682 [BZ #14835]
10683 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10684 <bits/siginfo.h>.
10685
942caa16
PT
106862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10687
e19af380
PT
10688 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10689 finalizing MALLSTREAM.
10690
942caa16
PT
10691 * sysdeps/mach/hurd/syncfs.c: New file.
10692
cfde9b46
SP
106932012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10694
10695 [BZ #14719]
10696 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10697 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10698 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10699 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10700 (_nss_dns_gethostbyname4_r): Likewise.
10701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10702 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10703
f6da27e5
PH
107042012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10705
10706 [BZ #13763]
10707 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10708
6665d4a2
SM
107092012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10710
1f51ee92
SM
10711 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10712 * elf/cache.c (print_entry): Print ",AArch64" for
10713 FLAG_AARCH64_LIB64
10714
6665d4a2
SM
10715 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10716 * elf/cache.c (print_entry): Print ",hard-float" for
10717 FLAG_ARM_LIBHF.
10718
05b227bd
DM
107192012-11-18 David S. Miller <davem@davemloft.net>
10720
10721 With help from Joseph Myers.
10722 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10723 cutoff to 2**-13.
10724 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10725 cutoff to 2**-25.
10726 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10727 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10728 small.
10729 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10730 * math/libm-test.inc (y0_test): New tests.
10731 (y1_test): New tests.
10732 * sysdeps/i386/fpu/libm-test-ulps: Update.
10733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10735
786b0b67
AS
107362012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10737
10738 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10739 64-bit targets.
10740 * configure: Regenerated.
10741
8e18b86d
DM
107422012-11-17 David S. Miller <davem@davemloft.net>
10743
10744 [BZ #14811]
10745 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10746 nonzero exponents with absolute value below 0x1p-128 to +/-
10747 0x1p-128.
10748
531f1ae0
JM
107492012-11-17 Joseph Myers <joseph@codesourcery.com>
10750
12df29e2
JM
10751 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10752
150dc1a0
JM
10753 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10754
531f1ae0
JM
10755 * posix/getconf-speclist.c: New file.
10756 * posix/posix-envs.def: Likewise.
10757 * posix/confstr.c (START_ENV_GROUP): New macro.
10758 (END_ENV_GROUP): Likewise.
10759 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10760 (KNOWN_PRESENT_ENV_STRING): Likewise.
10761 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10762 (UNKNOWN_ENVIRONMENT): Likewise.
10763 (confstr): Include posix-envs.def instead of handling
10764 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10765 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10766 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10767 (END_ENV_GROUP): Likewise.
10768 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10769 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10770 (UNKNOWN_ENVIRONMENT): Likewise.
10771 (__sysconf): Include posix-envs.def instead of handling associated
10772 cases directly here.
10773 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10774 preprocessing getconf-speclist.c rather than running getconf or
10775 generating empty file.
10776
a93f9cbc
PT
107772012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10778
10779 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10780
d64d9f87
AL
107812012-11-16 Andrej Lajovic <natrij@gmail.com>
10782
10783 [BZ #14672]
10784 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10785
447885eb
DM
107862012-11-16 David S. Miller <davem@davemloft.net>
10787
10788 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10789 smaller than LDBL_EPSILON/2.0L, just return xm1.
10790
bcbf9830
L
107912012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10792
10793 * elf/tst-array1.c (init): Set constructor priority to 1000.
10794 (fini): Set destructor priority to 1000.
10795 * elf/tst-array2dep.c: Likewise.
10796
2b766585
SP
107972012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10798
10799 [BZ #11741]
10800 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10801 (_IO_new_file_xsputn): Also return EOF if none of the input
10802 data was written when overflow failed.
10803 * libio/iopadn.c (_IO_padn): Likewise.
10804 * libio/iowpadn.c (_IO_wpadn): Likewise.
10805 * stdio-common/tst-put-error.c: Add copyright notice.
10806 (do_test): Add case for printing padded string.
10807 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10808 _IO_padn returned error.
10809 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10810 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10811 return EOF.
10812
b1848fde
SP
108132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10814
10815 * libio/libioP.h: Add comment note that the references to C++
10816 bits are now obsolete.
10817
2fd89785
MS
108182012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10819
10820 * math/libm-test.inc (check_complex): Use asprintf.
10821
e3ea5409
JM
108222012-11-14 Joseph Myers <joseph@codesourcery.com>
10823
10824 * debug/pcprofiledump.c (print_version): Update copyright year.
10825 * malloc/memusagestat.c (print_version): Likewise.
10826
2e64d265
L
108272012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10828
10829 [BZ #14831]
10830 * elf/Makefile (tests): Add tst-audit8.
10831 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10832 ($(objpfx)tst-audit8.out): New target.
10833 (tst-audit8-ENV): New variable.
10834 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10835 audit if l_reloc_result is NULL.
10836 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10837 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10838 * elf/tst-audit8.c: New file.
10839
c485e4d2
MS
108402012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10841
10842 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10843 * misc/Makefile (CFLAGS-select.c): Define.
10844 * posix/Makefile (CFLAGS-pause.c): Define.
10845
3a0d900a
DM
108462012-11-13 David S. Miller <davem@davemloft.net>
10847
10848 * crypt/Makefile: Move test targets after toplevel Rules
10849 inclusion. Grab any necessary sysdep routines when linking.
10850 * crypt/md5.c (md5_process_block): Remove define, we will always
10851 name it __md5_process_block.
10852 (md5_finish_ctx): Update md5_process_block call.
10853 (md5_stream): Likewise.
10854 (md5_process_bytes): Likewise.
10855 (md5_process_block): Rename to __md5_process_block and move to ...
10856 * crypt/md5-block.c: ... here.
10857 * crypt/sha256.c (sha256_process_block): Move to ...
10858 * crypt/sha256-block.c: ... here.
10859 * crypt/sha512.c (sha512_process_block): Move to ...
10860 * crypt/sha512-block.c: ... here.
10861 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10862 path.
10863 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10864 * sysdeps/sparc/sparc64/multiarch/Makefile
10865 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10866 crypt subdir.
10867 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10868 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10869 multiarch changes.
10870 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10871 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10872 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10873 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10874 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10875 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10876 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10877 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10878 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10879 file.
10880 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10881 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10882 file.
10883 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10884
8ca89318
JM
108852012-11-13 Joseph Myers <joseph@codesourcery.com>
10886
e27d476a
JM
10887 * timezone/tzselect.ksh: Update from tzcode git revision
10888 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10889 * timezone/zdump.c: Likewise.
10890 * timezone/zic.c: Likewise.
10891 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10892 in TZVERSION setting, not $(PKGVERSION).
10893 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10894 REPORT_BUGS_TO settings.
10895
8ca89318
JM
10896 [BZ #14838]
10897 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10898 macro.
10899
47594329
MS
109002012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10901
10902 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10903 detection to immediately after _FP_ROUND().
10904 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10905 bits are 0.
10906
640ac3f1
DM
109072012-11-11 David S. Miller <davem@davemloft.net>
10908
10909 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10910 inttypes.h
10911 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10912 __close rather than their public counterparts.
10913
3d2577bb
JM
109142012-11-10 Joseph Myers <joseph@codesourcery.com>
10915
10916 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10917 file.
10918 [UNIX98] (sem_timedwait): Do not expect.
10919 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10920 [XPG4 || UNIX98] (sockatmark): Do not expect.
10921 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10922 (clock_getcpuclockid): Do not expect.
10923 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10924 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10925 Do not expect.
10926 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10927 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10928 [UNIX98] (vwscanf): Likewise.
10929 [UNIX98] (vswscanf): Likewise.
10930
fb1ae1ee
JM
109312012-11-09 Joseph Myers <joseph@codesourcery.com>
10932
9ec6f8bd
JM
10933 * timezone/version.h: Remove file.
10934 * timezone/README: Do not refer to version.h.
10935 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10936 $(objpfx)version.h.
10937 ($(objpfx)zdump.o): Likewise.
c3f81911 10938 ($(objpfx)version.h): New target.
9ec6f8bd 10939
0aa8f8a1
JM
10940 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10941 2012i.
10942 * timezone/README: Don't mention modification to tzselect.ksh.
10943 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10944 work on unmodified tzselect.ksh. Substitute version numbers in
10945 tzselect.ksh.
10946
4e87147f
JM
10947 * Makefile (format-me): Remove.
10948 (INSTALL): Adjust indentation. Use commands directly instead of
10949 using $(format-me).
10950
8b748aed
JM
10951 * aclocal.m4 (ACX_PKGVERSION): New macro.
10952 (ACX_BUGURL): Likewise.
10953 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10954 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10955 (REPORT_BUGS_TO): Likewise.
10956 * configure: Regenerated.
10957 * config.h.in (PKGVERSION): New macro.
10958 (REPORT_BUGS_TO): Likewise.
10959 * config.make.in (PKGVERSION): New variable.
10960 (PKGVERSION_TEXI): Likewise.
10961 (REPORT_BUGS_TO): Likewise.
10962 (REPORT_BUGS_TEXI): Likewise.
10963 * Makefile (format-me): Use -I$(common-objpfx)manual.
10964 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10965 ($(common-objpfx)manual/%): New target.
10966 (manual/%): Remove target.
10967 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10968 (print_version): Use PKGVERSION.
10969 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10970 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10971 and REPORT_BUGS_TO.
10972 ($(objpfx)xtrace): Likewise.
10973 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10974 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10975 (print_version): Use PKGVERSION.
10976 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10977 (do_version): Use PKGVERSION.
10978 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10979 REPORT_BUGS_TO.
10980 (common-ldd-rewrite): Likewise.
10981 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10982 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10983 (print_version): Use PKGVERSION.
10984 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10985 * elf/pldd.c (argp_program_bug_address): Remove variable.
10986 (more_help): New function.
10987 (argp): Use more_help.
10988 (print_version): Use PKGVERSION.
10989 * elf/sln.c (main): Use PKGVERSION.
10990 (usage): Use REPORT_BUGS_TO.
10991 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10992 (top level): Use PKGVERSION.
10993 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10994 (print_version): Use PKGVERSION.
10995 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10996 (print_version): Use PKGVERSION.
10997 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10998 (print_version): Use PKGVERSION.
10999 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11000 (print_version): Use PKGVERSION.
11001 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11002 (print_version): Use PKGVERSION.
11003 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11004 (print_version): Use PKGVERSION.
11005 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11006 and BUGURL.
11007 ($(objpfx)memusage): Likewise.
11008 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11009 (do_version): Use PKGVERSION.
11010 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11011 (print_version): Use PKGVERSION.
11012 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11013 ($PKGVERSION): New variable.
11014 ($REPORT_BUGS_TO): Likewise.
11015 (usage): Use $REPORT_BUGS_TO.
11016 (top level): Use $PKGVERSION.
11017 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11018 ($(objpfx)pkgvers.texi): New rule.
11019 ($(objpfx)stamp-pkgvers): Likewise.
11020 * manual/install.texi: Include pkgvers.texi.
11021 (--with-pkgversion): Document new configure option.
11022 (--with-bugurl): Likewise.
11023 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11024 than necessarily for this particular distribution. Use
11025 REPORT_BUGS_TO for where to report bugs.
11026 * INSTALL: Regenerated.
11027 * manual/libc.texinfo: Include pkgvers.texi.
11028 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11029 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11030 (print_version): Use PKGVERSION.
11031 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11032 (print_version): Use PKGVERSION.
11033 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11034 (print_version): Use PKGVERSION.
11035 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11036 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11037 macro.
11038 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11039 (print_version): Use PKGVERSION.
11040 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11041 (print_version): Use PKGVERSION.
11042 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11043 and PKGVERSION.
11044
92e4b6a9
JM
11045 * timezone/checktab.awk: Update from tzcode 2012i.
11046 * timezone/ialloc.c: Likewise.
11047 * timezone/private.h: Likewise.
11048 * timezone/scheck.c: Likewise.
11049 * timezone/tzfile.h: Likewise.
11050 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11051 (TZVERSION): Hardcode tzcode version number.
11052 * timezone/zdump.c: Update from tzcode 2012i.
11053 * timezone/zic.c: Likewise.
11054 * timezone/version.h: New file.
11055 * timezone/README: Describe version.h. Update upstream location.
11056
9bde902c
JM
11057 [BZ #14824]
11058 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11059 (mktemp): Enable declaration.
11060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11063 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11064 Likewise.
11065 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11066 Likewise.
11067 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11068 Likewise.
11069 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11070 Likewise.
11071 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11072 Likewise.
11073 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11074 Likewise.
11075
fb1ae1ee
JM
11076 [BZ #14821]
11077 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11078 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11079 for copies of such integer values.
11080 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11081 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11082
2c1adbcb
AJ
110832012-11-09 Andreas Jaeger <aj@suse.de>
11084
11085 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11086 definitions and declarations that are provided by
11087 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11088
d0f8457e
AK
110892012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11090
3a235abb 11091 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11092 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11093 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11094 definition.
11095
57241e26
MS
110962012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11097
11098 * elf/elf.h: Update comment before AArch64 relocations.
11099
60e8270d
DM
111002012-11-07 David S. Miller <davem@davemloft.net>
11101
11102 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11103 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11104 (__start_context): Declare.
11105 (__makecontext_ret): Delete.
11106 (__makecontext): Hook up __start_context instead of
11107 __makecontext_ret.
11108 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11109 (sysdep_routines): Add __start_context when in stdlib.
11110
0fbb0fbc
JM
111112012-11-07 Joseph Myers <joseph@codesourcery.com>
11112
11113 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11114 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11115 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11116 hardcoded "nm".
11117 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11118 (READELF): New variable. Use it instead of hardcoded "readelf".
11119
eb48db7e
L
111202012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11121
11122 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11123 * sysdeps/x86/Makefile: Here.
11124 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11125 * sysdeps/x86/tst-xmmymm.sh: This.
11126
05bcf62a
JM
111272012-11-07 Joseph Myers <joseph@codesourcery.com>
11128
c4b6cf53
JM
11129 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11130 expectations.
11131 [UNIX98] (pthread_barrier_t): Do not expect.
11132 [UNIX98] (pthread_barrierattr_t): Likewise.
11133 [UNIX98] (pthread_spinlock_t): Likewise.
11134 [UNIX98] (pthread_barrier_destroy): Likewise.
11135 [UNIX98] (pthread_barrier_init): Likewise.
11136 [UNIX98] (pthread_barrier_wait): Likewise.
11137 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11138 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11139 [UNIX98] (pthread_barrierattr_init): Likewise.
11140 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11141 [UNIX98] (pthread_getcpuclockid): Likewise.
11142 [UNIX98] (pthread_mutex_timedlock): Likewise.
11143 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11144 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11145 [UNIX98] (pthread_sigmask): Likewise.
11146 [UNIX98] (pthread_spin_destroy): Likewise.
11147 [UNIX98] (pthread_spin_init): Likewise.
11148 [UNIX98] (pthread_spin_lock): Likewise.
11149 [UNIX98] (pthread_spin_trylock): Likewise.
11150 [UNIX98] (pthread_spin_unlock): Likewise.
11151 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11152 Do not expect.
11153 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11154 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11155 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11156 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11157 [XPG3 || XPG4] (pthread_key_t): Likewise.
11158 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11159 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11160 [XPG3 || XPG4] (pthread_once_t): Likewise.
11161 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11162 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11163 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11164 [XPG3 || XPG4] (pthread_t): Likewise.
11165
cbe6e120
JM
11166 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11167 not expect.
11168 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11169
1b126443
JM
11170 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11171 Change function return type to int.
11172
b961a573
JM
11173 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11174 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11175 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11176 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11177 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11178 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11179 [!POSIX] (posix_madvise): Likewise.
11180 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11181 && !UNIX98].
11182 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11183 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11184 (mode_t): Likewise.
11185 (posix_mem_offset): Likewise.
11186 (posix_typed_mem_get_info): Likewise.
11187 (posix_typed_mem_open): Likewise.
11188
9e188909
JM
11189 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11190 Change condition to [XOPEN2K8].
11191
05bcf62a
JM
11192 * conform/conformtest.pl: Preprocess allow-header data with -x c
11193 instead of from stdin.
11194 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11195 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11196 [C99-based standards] (cerfc): Likewise.
11197 [C99-based standards] (cexp2): Likewise.
11198 [C99-based standards] (cexpm1): Likewise.
11199 [C99-based standards] (clog10): Likewise.
11200 [C99-based standards] (clog1p): Likewise.
11201 [C99-based standards] (clog2): Likewise.
11202 [C99-based standards] (clgamma): Likewise.
11203 [C99-based standards] (ctgamma): Likewise.
11204 [C99-based standards] (cerff): Likewise.
11205 [C99-based standards] (cerfcf): Likewise.
11206 [C99-based standards] (cexp2f): Likewise.
11207 [C99-based standards] (cexpm1f): Likewise.
11208 [C99-based standards] (clog10f): Likewise.
11209 [C99-based standards] (clog1pf): Likewise.
11210 [C99-based standards] (clog2f): Likewise.
11211 [C99-based standards] (clgammaf): Likewise.
11212 [C99-based standards] (ctgammaf): Likewise.
11213 [C99-based standards] (cerfl): Likewise.
11214 [C99-based standards] (cerfcl): Likewise.
11215 [C99-based standards] (cexp2l): Likewise.
11216 [C99-based standards] (cexpm1l): Likewise.
11217 [C99-based standards] (clog10l): Likewise.
11218 [C99-based standards] (clog1pl): Likewise.
11219 [C99-based standards] (clog2l): Likewise.
11220 [C99-based standards] (clgammal): Likewise.
11221 [C99-based standards] (ctgammal): Likewise.
11222 * conform/data/inttypes.h-data [C99-based standards]: Include
11223 stdint.h-data. Remove all expectations for stdint.h contents.
11224 [C99-based standards] (PRI*): Do not allow.
11225 [C99-based standards] (SCN*): Likewise.
11226 [C99-based standards] (*_t): Likewise.
11227 [C99-based-standards] (PRId8): Expect macro.
11228 [C99-based-standards] (PRIi8): Likewise.
11229 [C99-based-standards] (PRIo8): Likewise.
11230 [C99-based-standards] (PRIu8): Likewise.
11231 [C99-based-standards] (PRIx8): Likewise.
11232 [C99-based-standards] (PRIX8): Likewise.
11233 [C99-based-standards] (SCNd8): Likewise.
11234 [C99-based-standards] (SCNi8): Likewise.
11235 [C99-based-standards] (SCNo8): Likewise.
11236 [C99-based-standards] (SCNu8): Likewise.
11237 [C99-based-standards] (SCNx8): Likewise.
11238 [C99-based-standards] (PRIdLEAST8): Likewise.
11239 [C99-based-standards] (PRIiLEAST8): Likewise.
11240 [C99-based-standards] (PRIoLEAST8): Likewise.
11241 [C99-based-standards] (PRIuLEAST8): Likewise.
11242 [C99-based-standards] (PRIxLEAST8): Likewise.
11243 [C99-based-standards] (PRIXLEAST8): Likewise.
11244 [C99-based-standards] (SCNdLEAST8): Likewise.
11245 [C99-based-standards] (SCNiLEAST8): Likewise.
11246 [C99-based-standards] (SCNoLEAST8): Likewise.
11247 [C99-based-standards] (SCNuLEAST8): Likewise.
11248 [C99-based-standards] (SCNxLEAST8): Likewise.
11249 [C99-based-standards] (PRIdFAST8): Likewise.
11250 [C99-based-standards] (PRIiFAST8): Likewise.
11251 [C99-based-standards] (PRIoFAST8): Likewise.
11252 [C99-based-standards] (PRIuFAST8): Likewise.
11253 [C99-based-standards] (PRIxFAST8): Likewise.
11254 [C99-based-standards] (PRIXFAST8): Likewise.
11255 [C99-based-standards] (SCNdFAST8): Likewise.
11256 [C99-based-standards] (SCNiFAST8): Likewise.
11257 [C99-based-standards] (SCNoFAST8): Likewise.
11258 [C99-based-standards] (SCNuFAST8): Likewise.
11259 [C99-based-standards] (SCNxFAST8): Likewise.
11260 [C99-based-standards] (PRId16): Likewise.
11261 [C99-based-standards] (PRIi16): Likewise.
11262 [C99-based-standards] (PRIo16): Likewise.
11263 [C99-based-standards] (PRIu16): Likewise.
11264 [C99-based-standards] (PRIx16): Likewise.
11265 [C99-based-standards] (PRIX16): Likewise.
11266 [C99-based-standards] (SCNd16): Likewise.
11267 [C99-based-standards] (SCNi16): Likewise.
11268 [C99-based-standards] (SCNo16): Likewise.
11269 [C99-based-standards] (SCNu16): Likewise.
11270 [C99-based-standards] (SCNx16): Likewise.
11271 [C99-based-standards] (PRIdLEAST16): Likewise.
11272 [C99-based-standards] (PRIiLEAST16): Likewise.
11273 [C99-based-standards] (PRIoLEAST16): Likewise.
11274 [C99-based-standards] (PRIuLEAST16): Likewise.
11275 [C99-based-standards] (PRIxLEAST16): Likewise.
11276 [C99-based-standards] (PRIXLEAST16): Likewise.
11277 [C99-based-standards] (SCNdLEAST16): Likewise.
11278 [C99-based-standards] (SCNiLEAST16): Likewise.
11279 [C99-based-standards] (SCNoLEAST16): Likewise.
11280 [C99-based-standards] (SCNuLEAST16): Likewise.
11281 [C99-based-standards] (SCNxLEAST16): Likewise.
11282 [C99-based-standards] (PRIdFAST16): Likewise.
11283 [C99-based-standards] (PRIiFAST16): Likewise.
11284 [C99-based-standards] (PRIoFAST16): Likewise.
11285 [C99-based-standards] (PRIuFAST16): Likewise.
11286 [C99-based-standards] (PRIxFAST16): Likewise.
11287 [C99-based-standards] (PRIXFAST16): Likewise.
11288 [C99-based-standards] (SCNdFAST16): Likewise.
11289 [C99-based-standards] (SCNiFAST16): Likewise.
11290 [C99-based-standards] (SCNoFAST16): Likewise.
11291 [C99-based-standards] (SCNuFAST16): Likewise.
11292 [C99-based-standards] (SCNxFAST16): Likewise.
11293 [C99-based-standards] (PRId32): Likewise.
11294 [C99-based-standards] (PRIi32): Likewise.
11295 [C99-based-standards] (PRIo32): Likewise.
11296 [C99-based-standards] (PRIu32): Likewise.
11297 [C99-based-standards] (PRIx32): Likewise.
11298 [C99-based-standards] (PRIX32): Likewise.
11299 [C99-based-standards] (SCNd32): Likewise.
11300 [C99-based-standards] (SCNi32): Likewise.
11301 [C99-based-standards] (SCNo32): Likewise.
11302 [C99-based-standards] (SCNu32): Likewise.
11303 [C99-based-standards] (SCNx32): Likewise.
11304 [C99-based-standards] (PRIdLEAST32): Likewise.
11305 [C99-based-standards] (PRIiLEAST32): Likewise.
11306 [C99-based-standards] (PRIoLEAST32): Likewise.
11307 [C99-based-standards] (PRIuLEAST32): Likewise.
11308 [C99-based-standards] (PRIxLEAST32): Likewise.
11309 [C99-based-standards] (PRIXLEAST32): Likewise.
11310 [C99-based-standards] (SCNdLEAST32): Likewise.
11311 [C99-based-standards] (SCNiLEAST32): Likewise.
11312 [C99-based-standards] (SCNoLEAST32): Likewise.
11313 [C99-based-standards] (SCNuLEAST32): Likewise.
11314 [C99-based-standards] (SCNxLEAST32): Likewise.
11315 [C99-based-standards] (PRIdFAST32): Likewise.
11316 [C99-based-standards] (PRIiFAST32): Likewise.
11317 [C99-based-standards] (PRIoFAST32): Likewise.
11318 [C99-based-standards] (PRIuFAST32): Likewise.
11319 [C99-based-standards] (PRIxFAST32): Likewise.
11320 [C99-based-standards] (PRIXFAST32): Likewise.
11321 [C99-based-standards] (SCNdFAST32): Likewise.
11322 [C99-based-standards] (SCNiFAST32): Likewise.
11323 [C99-based-standards] (SCNoFAST32): Likewise.
11324 [C99-based-standards] (SCNuFAST32): Likewise.
11325 [C99-based-standards] (SCNxFAST32): Likewise.
11326 [C99-based-standards] (PRId64): Likewise.
11327 [C99-based-standards] (PRIi64): Likewise.
11328 [C99-based-standards] (PRIo64): Likewise.
11329 [C99-based-standards] (PRIu64): Likewise.
11330 [C99-based-standards] (PRIx64): Likewise.
11331 [C99-based-standards] (PRIX64): Likewise.
11332 [C99-based-standards] (SCNd64): Likewise.
11333 [C99-based-standards] (SCNi64): Likewise.
11334 [C99-based-standards] (SCNo64): Likewise.
11335 [C99-based-standards] (SCNu64): Likewise.
11336 [C99-based-standards] (SCNx64): Likewise.
11337 [C99-based-standards] (PRIdLEAST64): Likewise.
11338 [C99-based-standards] (PRIiLEAST64): Likewise.
11339 [C99-based-standards] (PRIoLEAST64): Likewise.
11340 [C99-based-standards] (PRIuLEAST64): Likewise.
11341 [C99-based-standards] (PRIxLEAST64): Likewise.
11342 [C99-based-standards] (PRIXLEAST64): Likewise.
11343 [C99-based-standards] (SCNdLEAST64): Likewise.
11344 [C99-based-standards] (SCNiLEAST64): Likewise.
11345 [C99-based-standards] (SCNoLEAST64): Likewise.
11346 [C99-based-standards] (SCNuLEAST64): Likewise.
11347 [C99-based-standards] (SCNxLEAST64): Likewise.
11348 [C99-based-standards] (PRIdFAST64): Likewise.
11349 [C99-based-standards] (PRIiFAST64): Likewise.
11350 [C99-based-standards] (PRIoFAST64): Likewise.
11351 [C99-based-standards] (PRIuFAST64): Likewise.
11352 [C99-based-standards] (PRIxFAST64): Likewise.
11353 [C99-based-standards] (PRIXFAST64): Likewise.
11354 [C99-based-standards] (SCNdFAST64): Likewise.
11355 [C99-based-standards] (SCNiFAST64): Likewise.
11356 [C99-based-standards] (SCNoFAST64): Likewise.
11357 [C99-based-standards] (SCNuFAST64): Likewise.
11358 [C99-based-standards] (SCNxFAST64): Likewise.
11359 [C99-based-standards] (PRIdMAX): Likewise.
11360 [C99-based-standards] (PRIiMAX): Likewise.
11361 [C99-based-standards] (PRIoMAX): Likewise.
11362 [C99-based-standards] (PRIuMAX): Likewise.
11363 [C99-based-standards] (PRIxMAX): Likewise.
11364 [C99-based-standards] (PRIXMAX): Likewise.
11365 [C99-based-standards] (SCNdMAX): Likewise.
11366 [C99-based-standards] (SCNiMAX): Likewise.
11367 [C99-based-standards] (SCNoMAX): Likewise.
11368 [C99-based-standards] (SCNuMAX): Likewise.
11369 [C99-based-standards] (SCNxMAX): Likewise.
11370 [C99-based-standards] (PRIdPTR): Likewise.
11371 [C99-based-standards] (PRIiPTR): Likewise.
11372 [C99-based-standards] (PRIoPTR): Likewise.
11373 [C99-based-standards] (PRIuPTR): Likewise.
11374 [C99-based-standards] (PRIxPTR): Likewise.
11375 [C99-based-standards] (PRIXPTR): Likewise.
11376 [C99-based-standards] (SCNdPTR): Likewise.
11377 [C99-based-standards] (SCNiPTR): Likewise.
11378 [C99-based-standards] (SCNoPTR): Likewise.
11379 [C99-based-standards] (SCNuPTR): Likewise.
11380 [C99-based-standards] (SCNxPTR): Likewise.
11381 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11382 allow.
11383 * conform/data/stdint.h-data: Update comments to clarify
11384 requirements.
11385 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11386 type.
11387 [C99-based standards] (INT8_MAX): Likewise.
11388 [C99-based standards] (INT16_MIN): Likewise.
11389 [C99-based standards] (INT16_MAX): Likewise.
11390 [C99-based standards] (INT32_MIN): Likewise.
11391 [C99-based standards] (INT32_MAX): Likewise.
11392 [C99-based standards] (INT64_MIN): Likewise.
11393 [C99-based standards] (INT64_MAX): Likewise.
11394 [C99-based standards] (UINT8_MAX): Likewise.
11395 [C99-based standards] (UINT16_MAX): Likewise.
11396 [C99-based standards] (UINT32_MAX): Likewise.
11397 [C99-based standards] (UINT64_MAX): Likewise.
11398 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11399 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11400 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11401 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11402 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11403 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11404 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11405 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11406 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11407 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11408 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11409 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11410 [C99-based standards] (INT_FAST8_MIN): Likewise.
11411 [C99-based standards] (INT_FAST8_MAX): Likewise.
11412 [C99-based standards] (INT_FAST16_MIN): Likewise.
11413 [C99-based standards] (INT_FAST16_MAX): Likewise.
11414 [C99-based standards] (INT_FAST32_MIN): Likewise.
11415 [C99-based standards] (INT_FAST32_MAX): Likewise.
11416 [C99-based standards] (INT_FAST64_MIN): Likewise.
11417 [C99-based standards] (INT_FAST64_MAX): Likewise.
11418 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11419 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11420 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11421 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11422 [C99-based standards] (INTPTR_MIN): Likewise.
11423 [C99-based standards] (INTPTR_MAX): Likewise.
11424 [C99-based standards] (UINTPTR_MAX): Likewise.
11425 [C99-based standards] (INTMAX_MIN): Likewise.
11426 [C99-based standards] (INTMAX_MAX): Likewise.
11427 [C99-based standards] (UINTMAX_MAX): Likewise.
11428 [C99-based standards] (PTRDIFF_MIN): Likewise.
11429 [C99-based standards] (PTRDIFF_MAX): Likewise.
11430 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11431 [C99-based standards] (SIZE_MAX): Likewise.
11432 [C99-based standards] (WCHAR_MAX): Likewise.
11433 [C99-based standards] (WINT_MAX): Likewise.
11434 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11435 constraint on value.
11436 [C99-based standards] (WCHAR_MIN): Likewise.
11437 [C99-based standards] (WINT_MIN): Likewise.
11438 [C99-based standards] (*_t): Allow.
11439 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11440 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11441 Include math.h-data and complex.h-data. Remove all expectations
11442 of math.h and complex.h contents.
11443 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11444 at end of line.
11445 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11446 (struct tm): Expect tag.
11447 [C99-based-standards] (wcstof): Expect function.
11448 [C99-based-standards] (wcstold): Likewise.
11449 [C99-based-standards] (wcstoll): Likewise.
11450 [C99-based-standards] (wcstoull): Likewise.
11451 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11452 macro-int-constant. Specify type.
11453 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11454 constraint on value.
11455 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11456 Specify type.
11457 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11458 Specify value.
11459 [ISO C standards]: Do not allow headers.
11460 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11461 wcs[abcdefghijklmnopqrstuvwxyz]*.
11462 [ISO C standards] (*_t): Do not allow.
11463 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11464 Expect function.
11465 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11466 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11467 Specify type.
11468 [ISO C standards]: Do not allow headers.
11469 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11470 is[abcdefghijklmnopqrstuvwxyz]*.
11471 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11472 to[abcdefghijklmnopqrstuvwxyz]*.
11473 [ISO C standards] (*_t): Do not allow.
11474 * conform/data/stdalign.h-data: New file.
11475 * conform/data/stdbool.h-data: Likewise.
11476 * conform/data/stdnoreturn.h-data: Likewise.
11477
7514feb8
RM
114782012-11-07 Roland McGrath <roland@hack.frob.com>
11479
11480 [BZ #14815]
11481 * manual/filesys.texi (Directory Entries): Typo fix.
11482 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11483
19b2ecfc
MS
114842012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11485
11486 * elf/elf.h (EM_AARCH64): New macro.
11487 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11488 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11489 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11490 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11491 (R_AARCH64_TLSDESC): Likewise.
11492 (NT_ARM_TLS): Likewise.
11493 (NT_ARM_HW_BREAK): Likewise.
11494 (NT_ARM_HW_WATCH): Likewise.
11495
60e235ee
JM
114962012-11-07 Joseph Myers <joseph@codesourcery.com>
11497
11498 [BZ #14811]
11499 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11500 (__ieee754_powl): Saturate nonzero exponents with absolute value
11501 below 0x1p-79 to +/- 0x1p-79.
11502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11503 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11504 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11505 nonzero exponents with absolute value below 0x1p-32 to +/-
11506 0x1p-32.
11507 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11508 (__ieee754_powl): Saturate nonzero exponents with absolute value
11509 below 0x1p-79 to +/- 0x1p-79.
11510 * math/libm-test.inc (pow_test): Add more tests.
11511
0ab234b7
AK
115122012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11513
11514 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11515 _dl_s390_cap_flags with kernel. Increase string length.
11516 (_dl_s390_platforms): Add z196 and zEC12.
11517
45832f74
JM
115182012-11-07 Joseph Myers <joseph@codesourcery.com>
11519
11520 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11521 Change XOPEN21K to XOPEN2K.
11522
19218757
MK
115232012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11524
11525 * string/memmove.c: Use memcpy when possible.
11526
c5f45721
AJ
115272012-11-06 Andreas Jaeger <aj@suse.de>
11528
11529 * po/eo.po: Update from translation team.
11530
82477c28
JM
115312012-11-06 Joseph Myers <joseph@codesourcery.com>
11532
11533 [BZ #14793]
11534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11535 exponent and small x and y exponents, scale x or y up. Increase
11536 by 2 the exponent used in scaling up.
11537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11539 * math/libm-test.inc (fma_test): Add more tests.
11540 (fma_test_towardzero): Likewise.
11541 (fma_test_downward): Likewise.
11542 (fma_test_upward): Likewise.
11543
99252c8c
JM
115442012-11-05 Joseph Myers <joseph@codesourcery.com>
11545
acfa885f
JM
11546 [BZ #14805]
11547 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11548 fenv_t *.
11549
99252c8c
JM
11550 [BZ #14801]
11551 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11552 namespace for names of struct fields.
11553 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11554 fenv_t fields.
11555 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11556 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11557
d6d98dea
ST
115582012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11559
11560 [BZ #3665]
11561 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11562
e10bb107
TS
115632012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11564
11565 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11566 PTR_DEMANGLE.
11567
11568 [BZ #5246]
11569 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11570 PTR_DEMANGLE.
11571
a0c2940d
JM
115722012-11-04 Joseph Myers <joseph@codesourcery.com>
11573
11574 [BZ #14797]
11575 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11576 definitely overflow as x * y not x * y + z.
11577 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11578 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11579 * math/libm-test.inc (fma_test): Add more tests.
11580 (fma_test_towardzero): Likewise.
11581 (fma_test_downward): Likewise.
11582 (fma_test_upward): Likewise.
11583
b830319d
TS
115842012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11585
11586 [BZ #157]
11587
11588 * include/stub-tag.h: Remove file.
11589 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11590 '#include' of it.
11591 * manual/maint.texi (Porting): Don't reference it.
11592 * Makerules ($(objpfx)stubs): Likewise.
11593 * dirent/closedir.c: Don't include <stub-tag.h>.
11594 * dirent/dirfd.c: Likewise.
11595 * dirent/fdopendir.c: Likewise.
11596 * dirent/getdents.c: Likewise.
11597 * dirent/getdents64.c: Likewise.
11598 * dirent/opendir.c: Likewise.
11599 * dirent/readdir.c: Likewise.
11600 * dirent/readdir64.c: Likewise.
11601 * dirent/readdir64_r.c: Likewise.
11602 * dirent/readdir_r.c: Likewise.
11603 * dirent/rewinddir.c: Likewise.
11604 * dirent/seekdir.c: Likewise.
11605 * dirent/telldir.c: Likewise.
11606 * gmon/profil.c: Likewise.
11607 * grp/setgroups.c: Likewise.
11608 * inet/if_index.c: Likewise.
11609 * io/access.c: Likewise.
11610 * io/chdir.c: Likewise.
11611 * io/chmod.c: Likewise.
11612 * io/chown.c: Likewise.
11613 * io/close.c: Likewise.
11614 * io/dup.c: Likewise.
11615 * io/dup2.c: Likewise.
11616 * io/dup3.c: Likewise.
11617 * io/euidaccess.c: Likewise.
11618 * io/faccessat.c: Likewise.
11619 * io/fchdir.c: Likewise.
11620 * io/fchmod.c: Likewise.
11621 * io/fchmodat.c: Likewise.
11622 * io/fchown.c: Likewise.
11623 * io/fchownat.c: Likewise.
11624 * io/fcntl.c: Likewise.
11625 * io/flock.c: Likewise.
11626 * io/fstatfs.c: Likewise.
11627 * io/fstatfs64.c: Likewise.
11628 * io/fstatvfs.c: Likewise.
11629 * io/fstatvfs64.c: Likewise.
11630 * io/futimens.c: Likewise.
11631 * io/fxstat.c: Likewise.
11632 * io/fxstat64.c: Likewise.
11633 * io/fxstatat.c: Likewise.
11634 * io/fxstatat64.c: Likewise.
11635 * io/getcwd.c: Likewise.
11636 * io/isatty.c: Likewise.
11637 * io/lchmod.c: Likewise.
11638 * io/lchown.c: Likewise.
11639 * io/link.c: Likewise.
11640 * io/linkat.c: Likewise.
11641 * io/lseek.c: Likewise.
11642 * io/lseek64.c: Likewise.
11643 * io/lxstat64.c: Likewise.
11644 * io/mkdir.c: Likewise.
11645 * io/mkdirat.c: Likewise.
11646 * io/mkfifo.c: Likewise.
11647 * io/mkfifoat.c: Likewise.
11648 * io/open.c: Likewise.
11649 * io/open64.c: Likewise.
11650 * io/openat.c: Likewise.
11651 * io/openat64.c: Likewise.
11652 * io/pipe.c: Likewise.
11653 * io/pipe2.c: Likewise.
11654 * io/poll.c: Likewise.
11655 * io/posix_fadvise.c: Likewise.
11656 * io/posix_fadvise64.c: Likewise.
11657 * io/posix_fallocate.c: Likewise.
11658 * io/posix_fallocate64.c: Likewise.
11659 * io/read.c: Likewise.
11660 * io/readlink.c: Likewise.
11661 * io/readlinkat.c: Likewise.
11662 * io/rmdir.c: Likewise.
11663 * io/sendfile.c: Likewise.
11664 * io/sendfile64.c: Likewise.
11665 * io/statfs.c: Likewise.
11666 * io/statfs64.c: Likewise.
11667 * io/statvfs.c: Likewise.
11668 * io/statvfs64.c: Likewise.
11669 * io/symlink.c: Likewise.
11670 * io/symlinkat.c: Likewise.
11671 * io/ttyname.c: Likewise.
11672 * io/ttyname_r.c: Likewise.
11673 * io/umask.c: Likewise.
11674 * io/unlink.c: Likewise.
11675 * io/unlinkat.c: Likewise.
11676 * io/utime.c: Likewise.
11677 * io/utimensat.c: Likewise.
11678 * io/write.c: Likewise.
11679 * io/xmknod.c: Likewise.
11680 * io/xmknodat.c: Likewise.
11681 * io/xstat.c: Likewise.
11682 * io/xstat64.c: Likewise.
11683 * login/getpt.c: Likewise.
11684 * login/grantpt.c: Likewise.
11685 * login/unlockpt.c: Likewise.
11686 * math/e_acoshl.c: Likewise.
11687 * math/e_acosl.c: Likewise.
11688 * math/e_asinl.c: Likewise.
11689 * math/e_atan2l.c: Likewise.
11690 * math/e_atanhl.c: Likewise.
11691 * math/e_coshl.c: Likewise.
11692 * math/e_expl.c: Likewise.
11693 * math/e_fmodl.c: Likewise.
11694 * math/e_gammal_r.c: Likewise.
11695 * math/e_hypotl.c: Likewise.
11696 * math/e_j0l.c: Likewise.
11697 * math/e_j1l.c: Likewise.
11698 * math/e_jnl.c: Likewise.
11699 * math/e_lgammal_r.c: Likewise.
11700 * math/e_log10l.c: Likewise.
11701 * math/e_log2l.c: Likewise.
11702 * math/e_logl.c: Likewise.
11703 * math/e_powl.c: Likewise.
11704 * math/e_rem_pio2l.c: Likewise.
11705 * math/e_sinhl.c: Likewise.
11706 * math/e_sqrtl.c: Likewise.
11707 * math/fclrexcpt.c: Likewise.
11708 * math/fedisblxcpt.c: Likewise.
11709 * math/feenablxcpt.c: Likewise.
11710 * math/fegetenv.c: Likewise.
11711 * math/fegetexcept.c: Likewise.
11712 * math/fegetround.c: Likewise.
11713 * math/feholdexcpt.c: Likewise.
11714 * math/fesetenv.c: Likewise.
11715 * math/fesetround.c: Likewise.
11716 * math/feupdateenv.c: Likewise.
11717 * math/fgetexcptflg.c: Likewise.
11718 * math/fraiseexcpt.c: Likewise.
11719 * math/fsetexcptflg.c: Likewise.
11720 * math/ftestexcept.c: Likewise.
11721 * math/k_cosl.c: Likewise.
11722 * math/k_rem_pio2l.c: Likewise.
11723 * math/k_sinl.c: Likewise.
11724 * math/k_tanl.c: Likewise.
11725 * math/s_asinhl.c: Likewise.
11726 * math/s_atanl.c: Likewise.
11727 * math/s_cbrtl.c: Likewise.
11728 * math/s_erfl.c: Likewise.
11729 * math/s_expm1l.c: Likewise.
11730 * math/s_log1pl.c: Likewise.
11731 * math/s_tanhl.c: Likewise.
11732 * misc/acct.c: Likewise.
11733 * misc/brk.c: Likewise.
11734 * misc/chflags.c: Likewise.
11735 * misc/chroot.c: Likewise.
11736 * misc/fchflags.c: Likewise.
11737 * misc/fgetxattr.c: Likewise.
11738 * misc/flistxattr.c: Likewise.
11739 * misc/fremovexattr.c: Likewise.
11740 * misc/fsetxattr.c: Likewise.
11741 * misc/fsync.c: Likewise.
11742 * misc/ftruncate.c: Likewise.
11743 * misc/futimes.c: Likewise.
11744 * misc/futimesat.c: Likewise.
11745 * misc/getdomain.c: Likewise.
11746 * misc/getdtsz.c: Likewise.
11747 * misc/gethostid.c: Likewise.
11748 * misc/gethostname.c: Likewise.
11749 * misc/getloadavg.c: Likewise.
11750 * misc/getpagesize.c: Likewise.
11751 * misc/getsysstats.c: Likewise.
11752 * misc/getxattr.c: Likewise.
11753 * misc/gtty.c: Likewise.
11754 * misc/ioctl.c: Likewise.
11755 * misc/lgetxattr.c: Likewise.
11756 * misc/listxattr.c: Likewise.
11757 * misc/llistxattr.c: Likewise.
11758 * misc/lremovexattr.c: Likewise.
11759 * misc/lsetxattr.c: Likewise.
11760 * misc/lutimes.c: Likewise.
11761 * misc/madvise.c: Likewise.
11762 * misc/mincore.c: Likewise.
11763 * misc/mlock.c: Likewise.
11764 * misc/mlockall.c: Likewise.
11765 * misc/mmap.c: Likewise.
11766 * misc/mprotect.c: Likewise.
11767 * misc/msync.c: Likewise.
11768 * misc/munlock.c: Likewise.
11769 * misc/munlockall.c: Likewise.
11770 * misc/munmap.c: Likewise.
11771 * misc/preadv.c: Likewise.
11772 * misc/preadv64.c: Likewise.
11773 * misc/ptrace.c: Likewise.
11774 * misc/pwritev.c: Likewise.
11775 * misc/pwritev64.c: Likewise.
11776 * misc/readv.c: Likewise.
11777 * misc/reboot.c: Likewise.
11778 * misc/remap_file_pages.c: Likewise.
11779 * misc/removexattr.c: Likewise.
11780 * misc/revoke.c: Likewise.
11781 * misc/select.c: Likewise.
11782 * misc/setdomain.c: Likewise.
11783 * misc/setegid.c: Likewise.
11784 * misc/seteuid.c: Likewise.
11785 * misc/sethostid.c: Likewise.
11786 * misc/sethostname.c: Likewise.
11787 * misc/setregid.c: Likewise.
11788 * misc/setreuid.c: Likewise.
11789 * misc/setxattr.c: Likewise.
11790 * misc/sstk.c: Likewise.
11791 * misc/stty.c: Likewise.
11792 * misc/swapoff.c: Likewise.
11793 * misc/swapon.c: Likewise.
11794 * misc/sync.c: Likewise.
11795 * misc/syncfs.c: Likewise.
11796 * misc/syscall.c: Likewise.
11797 * misc/truncate.c: Likewise.
11798 * misc/ualarm.c: Likewise.
11799 * misc/usleep.c: Likewise.
11800 * misc/ustat.c: Likewise.
11801 * misc/utimes.c: Likewise.
11802 * misc/vhangup.c: Likewise.
11803 * misc/writev.c: Likewise.
11804 * posix/_exit.c: Likewise.
11805 * posix/alarm.c: Likewise.
11806 * posix/execve.c: Likewise.
11807 * posix/fexecve.c: Likewise.
11808 * posix/fork.c: Likewise.
11809 * posix/fpathconf.c: Likewise.
11810 * posix/getaddrinfo.c: Likewise.
11811 * posix/getegid.c: Likewise.
11812 * posix/geteuid.c: Likewise.
11813 * posix/getgid.c: Likewise.
11814 * posix/getgroups.c: Likewise.
11815 * posix/getlogin.c: Likewise.
11816 * posix/getlogin_r.c: Likewise.
11817 * posix/getpgid.c: Likewise.
11818 * posix/getpid.c: Likewise.
11819 * posix/getppid.c: Likewise.
11820 * posix/getresgid.c: Likewise.
11821 * posix/getresuid.c: Likewise.
11822 * posix/getsid.c: Likewise.
11823 * posix/getuid.c: Likewise.
11824 * posix/glob64.c: Likewise.
11825 * posix/nanosleep.c: Likewise.
11826 * posix/pathconf.c: Likewise.
11827 * posix/pause.c: Likewise.
11828 * posix/posix_madvise.c: Likewise.
11829 * posix/pread.c: Likewise.
11830 * posix/pread64.c: Likewise.
11831 * posix/pwrite.c: Likewise.
11832 * posix/pwrite64.c: Likewise.
11833 * posix/sched_getaffinity.c: Likewise.
11834 * posix/sched_getp.c: Likewise.
11835 * posix/sched_gets.c: Likewise.
11836 * posix/sched_primax.c: Likewise.
11837 * posix/sched_primin.c: Likewise.
11838 * posix/sched_rr_gi.c: Likewise.
11839 * posix/sched_setaffinity.c: Likewise.
11840 * posix/sched_setp.c: Likewise.
11841 * posix/sched_sets.c: Likewise.
11842 * posix/sched_yield.c: Likewise.
11843 * posix/setgid.c: Likewise.
11844 * posix/setlogin.c: Likewise.
11845 * posix/setpgid.c: Likewise.
11846 * posix/setresgid.c: Likewise.
11847 * posix/setresuid.c: Likewise.
11848 * posix/setsid.c: Likewise.
11849 * posix/setuid.c: Likewise.
11850 * posix/sleep.c: Likewise.
11851 * posix/spawni.c: Likewise.
11852 * posix/sysconf.c: Likewise.
11853 * posix/times.c: Likewise.
11854 * posix/wait.c: Likewise.
11855 * posix/wait3.c: Likewise.
11856 * posix/wait4.c: Likewise.
11857 * posix/waitpid.c: Likewise.
11858 * resolv/gai_sigqueue.c: Likewise.
11859 * resource/getpriority.c: Likewise.
11860 * resource/getrlimit.c: Likewise.
11861 * resource/getrusage.c: Likewise.
11862 * resource/nice.c: Likewise.
11863 * resource/setpriority.c: Likewise.
11864 * resource/setrlimit.c: Likewise.
11865 * resource/ulimit.c: Likewise.
11866 * rt/aio_cancel.c: Likewise.
11867 * rt/aio_fsync.c: Likewise.
11868 * rt/aio_read.c: Likewise.
11869 * rt/aio_sigqueue.c: Likewise.
11870 * rt/aio_suspend.c: Likewise.
11871 * rt/aio_write.c: Likewise.
11872 * rt/clock_getres.c: Likewise.
11873 * rt/clock_gettime.c: Likewise.
11874 * rt/clock_nanosleep.c: Likewise.
11875 * rt/clock_settime.c: Likewise.
11876 * rt/lio_listio.c: Likewise.
11877 * rt/mq_close.c: Likewise.
11878 * rt/mq_getattr.c: Likewise.
11879 * rt/mq_notify.c: Likewise.
11880 * rt/mq_open.c: Likewise.
11881 * rt/mq_receive.c: Likewise.
11882 * rt/mq_send.c: Likewise.
11883 * rt/mq_setattr.c: Likewise.
11884 * rt/mq_timedreceive.c: Likewise.
11885 * rt/mq_timedsend.c: Likewise.
11886 * rt/mq_unlink.c: Likewise.
11887 * rt/shm_open.c: Likewise.
11888 * rt/shm_unlink.c: Likewise.
11889 * rt/timer_create.c: Likewise.
11890 * rt/timer_delete.c: Likewise.
11891 * rt/timer_getoverr.c: Likewise.
11892 * rt/timer_gettime.c: Likewise.
11893 * rt/timer_settime.c: Likewise.
11894 * setjmp/__longjmp.c: Likewise.
11895 * setjmp/setjmp.c: Likewise.
11896 * signal/kill.c: Likewise.
11897 * signal/killpg.c: Likewise.
11898 * signal/raise.c: Likewise.
11899 * signal/sigaction.c: Likewise.
11900 * signal/sigaltstack.c: Likewise.
11901 * signal/sigblock.c: Likewise.
11902 * signal/sigignore.c: Likewise.
11903 * signal/sigintr.c: Likewise.
11904 * signal/signal.c: Likewise.
11905 * signal/sigpause.c: Likewise.
11906 * signal/sigpending.c: Likewise.
11907 * signal/sigqueue.c: Likewise.
11908 * signal/sigreturn.c: Likewise.
11909 * signal/sigset.c: Likewise.
11910 * signal/sigsetmask.c: Likewise.
11911 * signal/sigstack.c: Likewise.
11912 * signal/sigsuspend.c: Likewise.
11913 * signal/sigtimedwait.c: Likewise.
11914 * signal/sigvec.c: Likewise.
11915 * signal/sigwait.c: Likewise.
11916 * signal/sigwaitinfo.c: Likewise.
11917 * signal/sysv_signal.c: Likewise.
11918 * socket/accept.c: Likewise.
11919 * socket/accept4.c: Likewise.
11920 * socket/bind.c: Likewise.
11921 * socket/connect.c: Likewise.
11922 * socket/getpeername.c: Likewise.
11923 * socket/getsockname.c: Likewise.
11924 * socket/getsockopt.c: Likewise.
11925 * socket/isfdtype.c: Likewise.
11926 * socket/listen.c: Likewise.
11927 * socket/recv.c: Likewise.
11928 * socket/recvfrom.c: Likewise.
11929 * socket/recvmsg.c: Likewise.
11930 * socket/send.c: Likewise.
11931 * socket/sendmsg.c: Likewise.
11932 * socket/sendto.c: Likewise.
11933 * socket/setsockopt.c: Likewise.
11934 * socket/shutdown.c: Likewise.
11935 * socket/sockatmark.c: Likewise.
11936 * socket/socket.c: Likewise.
11937 * socket/socketpair.c: Likewise.
11938 * stdio-common/ctermid.c: Likewise.
11939 * stdio-common/cuserid.c: Likewise.
11940 * stdio-common/remove.c: Likewise.
11941 * stdio-common/rename.c: Likewise.
11942 * stdio-common/renameat.c: Likewise.
11943 * stdio-common/tempname.c: Likewise.
11944 * stdlib/getcontext.c: Likewise.
11945 * stdlib/makecontext.c: Likewise.
11946 * stdlib/setcontext.c: Likewise.
11947 * stdlib/swapcontext.c: Likewise.
11948 * stdlib/system.c: Likewise.
11949 * streams/fattach.c: Likewise.
11950 * streams/fdetach.c: Likewise.
11951 * streams/getmsg.c: Likewise.
11952 * streams/getpmsg.c: Likewise.
11953 * streams/putmsg.c: Likewise.
11954 * streams/putpmsg.c: Likewise.
11955 * sysdeps/unix/bsd/getpt.c: Likewise.
11956 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11957 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11958 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11960 Likewise.
11961 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11962 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11963 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11964 * sysvipc/msgctl.c: Likewise.
11965 * sysvipc/msgget.c: Likewise.
11966 * sysvipc/msgrcv.c: Likewise.
11967 * sysvipc/msgsnd.c: Likewise.
11968 * sysvipc/semctl.c: Likewise.
11969 * sysvipc/semget.c: Likewise.
11970 * sysvipc/semop.c: Likewise.
11971 * sysvipc/semtimedop.c: Likewise.
11972 * sysvipc/shmat.c: Likewise.
11973 * sysvipc/shmctl.c: Likewise.
11974 * sysvipc/shmdt.c: Likewise.
11975 * sysvipc/shmget.c: Likewise.
11976 * termios/tcdrain.c: Likewise.
11977 * termios/tcflow.c: Likewise.
11978 * termios/tcflush.c: Likewise.
11979 * termios/tcgetattr.c: Likewise.
11980 * termios/tcgetpgrp.c: Likewise.
11981 * termios/tcsendbrk.c: Likewise.
11982 * termios/tcsetattr.c: Likewise.
11983 * termios/tcsetpgrp.c: Likewise.
11984 * time/adjtime.c: Likewise.
11985 * time/clock.c: Likewise.
11986 * time/getitimer.c: Likewise.
11987 * time/gettimeofday.c: Likewise.
11988 * time/setitimer.c: Likewise.
11989 * time/settimeofday.c: Likewise.
11990 * time/stime.c: Likewise.
11991 * time/time.c: Likewise.
11992
119932012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11994
a20492cf
PT
11995 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11996 /usr/old/bin.
11997
72e182e3
PT
11998 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11999 instead of spaces.
12000 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12001
fbeafede
JM
120022012-11-03 Joseph Myers <joseph@codesourcery.com>
12003
5b5b04d6
JM
12004 [BZ #14796]
12005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12006 FE_TONEAREST before applying Dekker multiplication and Knuth
12007 addition. Clear inexact exceptions and check for exact zero
12008 results afterwards.
12009 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12010 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12011 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12012 * math/libm-test.inc (fma_test): Add more tests.
12013 (fma_test_towardzero): Likewise.
12014 (fma_test_downward): Likewise.
12015 (fma_test_upward): Likewise.
12016 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12017 function.
12018 (libc_fesetround): New macro.
12019 (libc_fesetroundf): Likewise.
12020 (libc_fesetroundl): Likewise.
12021 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12022 function.
12023 (libc_fesetround_387): Likewise.
12024 (libc_fesetroundf): New macro.
12025 (libc_fesetround): Likewise.
12026 (libc_fesetroundl): Likewise.
12027 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12028 function.
12029 (libc_fesetroundf): New macro.
12030 (libc_fesetround): Likewise.
12031 (libc_fesetroundl): Likewise.
12032 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12033 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12034 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12035 libm_hidden_ver.
12036 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12037 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12038 libm_hidden_def.
12039 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12040 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12041 libm_hidden_ver.
12042 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12043 libm_hidden_def.
12044
fbeafede
JM
12045 [BZ #3439]
12046 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12047 integer constant usable in #if and use that to give value to enum
12048 constant.
12049 (FE_DIVBYZERO): Likewise.
12050 (FE_UNDERFLOW): Likewise.
12051 (FE_OVERFLOW): Likewise.
12052 (FE_INVALID): Likewise.
12053 (FE_INVALID_SNAN): Likewise.
12054 (FE_INVALID_ISI): Likewise.
12055 (FE_INVALID_IDI): Likewise.
12056 (FE_INVALID_ZDZ): Likewise.
12057 (FE_INVALID_IMZ): Likewise.
12058 (FE_INVALID_COMPARE): Likewise.
12059 (FE_INVALID_SOFTWARE): Likewise.
12060 (FE_INVALID_SQRT): Likewise.
12061 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12062 (FE_TONEAREST): Likewise.
12063 (FE_TOWARDZERO): Likewise.
12064 (FE_UPWARD): Likewise.
12065 (FE_DOWNWARD): Likewise.
12066 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12067 (FE_DIVBYZERO): Likewise.
12068 (FE_OVERFLOW): Likewise.
12069 (FE_UNDERFLOW): Likewise.
12070 (FE_INEXACT): Likewise.
12071 (FE_TONEAREST): Likewise.
12072 (FE_DOWNWARD): Likewise.
12073 (FE_UPWARD): Likewise.
12074 (FE_TOWARDZERO): Likewise.
12075 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12076 (FE_UNDERFLOW): Likewise.
12077 (FE_OVERFLOW): Likewise.
12078 (FE_DIVBYZERO): Likewise.
12079 (FE_INVALID): Likewise.
12080 (FE_TONEAREST): Likewise.
12081 (FE_TOWARDZERO): Likewise.
12082 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12083 (FE_OVERFLOW): Likewise.
12084 (FE_UNDERFLOW): Likewise.
12085 (FE_DIVBYZERO): Likewise.
12086 (FE_INEXACT): Likewise.
12087 (FE_TONEAREST): Likewise.
12088 (FE_TOWARDZERO): Likewise.
12089 (FE_UPWARD): Likewise.
12090 (FE_DOWNWARD): Likewise.
12091 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12092 (FE_DIVBYZERO): Likewise.
12093 (FE_OVERFLOW): Likewise.
12094 (FE_UNDERFLOW): Likewise.
12095 (FE_INEXACT): Likewise.
12096 (FE_TONEAREST): Likewise.
12097 (FE_DOWNWARD): Likewise.
12098 (FE_UPWARD): Likewise.
12099 (FE_TOWARDZERO): Likewise.
12100
105ca950
CM
121012012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12102
12103 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12104
a542b389
AS
121052012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12106
12107 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12108 commands. Quote $PWD.
12109 (blacklist_exports): Don't use remove_newlines. Replace "declare
12110 -x" by "export".
12111 (remove_newlines): Remove.
12112
f62c8abc
L
121132012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12114
12115 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12116 * stdlib/stdlib.h (atof): Moved to ...
12117 * include/bits/stdlib-float.h: Here. New file.
12118 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12119 * stdlib/bits/stdlib-float.h: New file.
12120 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12121 -mno-sse -mno-mmx.
12122 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12123 <xmmintrin.h>.
12124
0155d5b2
JM
121252012-11-02 Joseph Myers <joseph@codesourcery.com>
12126
a68d0680
JM
12127 * conform/conformtest.pl (@headers): Add fenv.h.
12128 * conform/data/fenv.h-data: New file.
12129 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12130 include of <math/fenv.h>.
12131
caf7f573
JM
12132 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12133 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12134 && !UNIX98]. Enables tests for XOPEN2K8.
12135 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12136 POSIX2008]: Likewise.
12137
6c073ad6
JM
12138 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12139 (struct rusage): Do not expect type or its members.
12140
0155d5b2
JM
12141 [BZ #3439]
12142 * math/math.h (FP_NAN): Define macro to integer constant usable in
12143 #if and use that to give value to enum constant.
12144 (FP_INFINITE): Likewise.
12145 (FP_ZERO): Likewise.
12146 (FP_SUBNORMAL): Likewise.
12147 (FP_NORMAL): Likewise.
12148
b5dcacb4
AS
121492012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12150
12151 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12152 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12153 arguments.
12154
f7934be8
RM
121552012-11-02 Roland McGrath <roland@hack.frob.com>
12156
12157 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12158 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12159 autoconf-time if not.
12160 * configure.in: Remove AC_PREREQ.
12161
d7d08bde
TMQMF
121622012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12163
12164 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12165 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12166 of the internal implementation.
12167
dcdae19a
JM
121682012-11-02 Joseph Myers <joseph@codesourcery.com>
12169
12170 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12171 except include of <misc/sys/syslog.h>.
12172
d6cffd3e
AS
121732012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12174
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12176 function returns with a NULL context exit with zero.
12177
b3563932
TMQMF
121782012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12179
12180 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12181
b288a93d
L
121822012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12183
12184 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12185 (run_program_cmd): This.
12186 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12187 (tst_langinfo): New variable. Use it.
12188
a2421a68
SAS
121892012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12190
12191 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12192 floating point opcodes.
12193
6f796e1b
TS
121942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12195
7402596b
TS
12196 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12197 variable.
12198
d0d4f868
TS
12199 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12200
6f796e1b
TS
12201 * sysdeps/mach/hurd/powerpc: Remove directory.
12202 * sysdeps/mach/powerpc: Likewise.
12203
4da224a2
AS
122042012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12205
12206 * scripts/check-local-headers.sh: Ignore c++ headers.
12207
341dd673
TS
122082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12209
12210 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12211 __libc_cleanup_region_start argument.
12212
473611b2
JM
122132012-11-01 Joseph Myers <joseph@codesourcery.com>
12214
12215 [BZ #14784]
12216 [BZ #14785]
12217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12218 x * y using scaling, not as x * y + z.
12219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12220 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12221 * math/libm-test.inc (fma_test): Add more tests.
12222 (fma_test_towardzero): Likewise.
12223 (fma_test_downward): Likewise.
12224 (fma_test_upward): Likewise.
12225
4078da3d
TS
122262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12227
12228 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12229
903252aa
JM
122302012-10-31 Joseph Myers <joseph@codesourcery.com>
12231
12232 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12233 New variable.
12234
cbc818d0
TS
122352012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12236
12237 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12238
5a03cb1e
AS
122392012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12240
12241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12242 Fix sort order.
12243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12244 Likewise.
12245
90aff2ff
TMQMF
122462012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12247
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12249 Fix the order of the list for glibc 2.17.
12250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12251 Likewise.
12252
1818fcb7
AS
122532012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12254
12255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12256
ef82f4da
JM
122572012-10-31 Joseph Myers <joseph@codesourcery.com>
12258
16a0e2ec
JM
12259 [BZ #14610]
12260 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12261 for low part of x being zero before using __atanl (y).
12262 * math/libm-test.inc (atan2_test): Add another test.
12263
0eb69512
JM
12264 * manual/install.texi (Configuring and compiling): Document
12265 general use of test-wrapper and test-wrapper-env.
12266 * INSTALL: Regenerated.
12267
ef82f4da
JM
12268 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12269 (__fma): Do not extract and scale down low bits on after-rounding
12270 systems when result rounded to normal precision would have normal
12271 exponent.
12272 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12273 (__fmal): Do not extract and scale down low bits on after-rounding
12274 systems when result rounded to normal precision would have normal
12275 exponent.
12276 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12277 (__fmal): Do not extract and scale down low bits on after-rounding
12278 systems when result rounded to normal precision would have normal
12279 exponent.
12280 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12281 macro.
12282 (fma_test): Add more tests.
12283 (fma_test_towardzero): Likewise.
12284 (fma_test_downward): Likewise.
12285 (fma_test_upward): Likewise.
12286
954ef0d9
L
122872012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12288
12289 * sysdeps/i386/tininess.h: Renamed to ...
12290 * sysdeps/x86/tininess.h: This.
12291 * sysdeps/x86_64/tininess.h: Removed.
12292
df61ffb2
JM
122932012-10-30 Joseph Myers <joseph@codesourcery.com>
12294
12295 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12296 input. Use $(build-program-cmd).
12297 ($(objpfx)tst-array1-static.out): Likewise.
12298 ($(objpfx)tst-array2.out): Likewise.
12299 ($(objpfx)tst-array3.out): Likewise.
12300 ($(objpfx)tst-array4.out): Likewise.
12301 ($(objpfx)tst-array5.out): Likewise.
12302 ($(objpfx)tst-array5-static.out): Likewise.
12303
01767843
CM
123042012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12305
47cc1490
CM
12306 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12307 if defined.
12308
01767843
CM
12309 * nss/nsswitch.h (nss_interface_function): Provide new
12310 macro for use with NSS functions.
12311 * grp/initgroups.c: Use new macro.
12312 * nss/getXXbyYY.c: Likewise.
12313 * nss/getXXbyYY_r.c: Likewise.
12314 * nss/getXXent.c: Likewise.
12315 * nss/getXXent_r.c: Likewise.
12316 * sysdeps/posix/getaddrinfo.c: Likewise.
12317
8321aa97
AJ
123182012-10-30 Andreas Jaeger <aj@suse.de>
12319
12320 * po/ru.po: Update Russion translation from translation project.
12321
2a27fd6d
JM
123222012-10-30 Joseph Myers <joseph@codesourcery.com>
12323
8627a232
JM
12324 [BZ #14152]
12325 [BZ #14783]
12326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12327 result and shift together with sticky bit instead of replicating
12328 round-to-nearest rounding.
12329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12331 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12332 missing underflow exceptions.
12333 (fma_test_towardzero): Add more tests.
12334 (fma_test_downward): Likewise.
12335 (fma_test_upward): Likewise.
12336
2a27fd6d
JM
12337 [BZ #14047]
12338 * sysdeps/generic/tininess.h: New file.
12339 * sysdeps/i386/tininess.h: Likewise.
12340 * sysdeps/sh/tininess.h: Likewise.
12341 * sysdeps/x86_64/tininess.h: Likewise.
12342 * stdlib/tst-strtod-underflow.c: Likewise.
12343 * stdlib/tst-tininess.c: Likewise.
12344 * stdlib/strtod_l.c: Include <tininess.h>.
12345 (round_and_return): Do not set errno for exact underflow cases.
12346 Force an underflow exception when setting errno for underflow.
12347 Determine underflow based on rounding to normal precision if
12348 TININESS_AFTER_ROUNDING.
12349 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12350 ERANGE for exact underflow cases.
12351 * stdlib/Makefile (tests): Add tst-tininess and
12352 tst-strtod-underflow.
12353 ($(objpfx)tst-tininess): Use $(link-libm).
12354 ($(objpfx)tst-strtod-underflow): Likewise.
12355
e7170363
AJ
123562012-10-30 Andreas Jaeger <aj@suse.de>
12357
e5088dc6
AJ
12358 [BZ#14767]
12359 * elf/Makefile (tests): Remove conditional for have-initfini-array
12360 since this is now always required and the variable does not exist
12361 anymore.
12362 (tests-static): Likewise.
12363 (modules-names): Likewise.
12364
e7170363 12365 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12366
12367 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12368 merged with constructor/destructor.
12369 (init_array): Likewise.
12370 * elf/tst-array2dep.c (fini_array): Likewise.
12371 (init_array): Likewise.
12372
60457d8a
MF
123732012-10-29 Mike Frysinger <vapier@gentoo.org>
12374
12375 * manual/message.texi: Delete @cartouche tags.
12376
8bece752
PT
123772012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12378
94ce799f
PT
12379 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12380 EOPNOTSUPP.
12381 * sysdeps/mach/hurd/fsync.c: Likewise.
12382
8bece752
PT
12383 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12384 [_POSIX_REALTIME_SIGNALS]: Change condition to
12385 [_POSIX_REALTIME_SIGNALS > 0].
12386
86ebe6b1
AJ
123872012-10-27 Andreas Jaeger <aj@suse.de>
12388
12389 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12390 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12392 [__WORDSIZE != 64]: Likewise.
12393
54399c08
L
123942012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12395
12396 * iconvdata/tst-table.sh: Remove ${SHELL}.
12397 * iconvdata/tst-tables.sh: Likewise.
12398
e2211bed
DM
123992012-10-25 David S. Miller <davem@davemloft.net>
12400
12401 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12402 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12403 of strtoull.
12404
f303f97c
DM
12405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12406 ifunc-impl-list.c
12407 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12408 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12409 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12410 file.
12411
1e9d84cd
RM
124122012-10-25 Roland McGrath <roland@hack.frob.com>
12413
12414 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12415 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12416 __getdirentries.
12417
df381762
JM
124182012-10-25 Joseph Myers <joseph@codesourcery.com>
12419 Jim Blandy <jimb@codesourcery.com>
12420
12421 * scripts/cross-test-ssh.sh: New file.
12422 * manual/install.texi (Configuring and compiling): Document use of
12423 cross-test-ssh.sh.
12424 * INSTALL: Regenerated.
12425
bff64913
PT
124262012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12427
12428 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12429 EOPNOTSUPP.
12430
25fe8932
JM
124312012-10-25 Joseph Myers <joseph@codesourcery.com>
12432
12433 * Makeconfig (run-program-prefix): Fix comment.
12434
cc1290d0
JM
124352012-10-24 Joseph Myers <joseph@codesourcery.com>
12436 Jim Blandy <jimb@codesourcery.com>
12437
12438 * Makeconfig (test-wrapper): New variable,
12439 (test-wrapper-env): Likewise.
12440 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12441 (run-built-tests): Define to yes.
12442 (run-program-prefix): Use $(test-wrapper).
12443 (built-program-cmd): Likewise.
12444 * Rules (make-test-out): Use $(test-wrapper-env) and
12445 $(host-built-program-cmd).
12446 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12447 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12448 tst-pathopt.sh.
12449 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12450 $(test-wrapper-env) to tst-rtld-load-self.sh.
12451 ($(objpfx)order2.out): Use $(test-wrapper).
12452 ($(objpfx)tst-initorder.out): Likewise.
12453 ($(objpfx)tst-initorder2.out): Likewise.
12454 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12455 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12456 (test_wrapper_env): New variable. Use it to run ld.so.
12457 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12458 Use it to run ld.so.
12459 (test_wrapper_env): Likewise.
12460 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12461 $(test-wrapper) to run-iconv-test.sh.
12462 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12463 (ICONV): Use $test_wrapper.
12464 * posix/Makefile ($(objpfx)globtest.out): Pass
12465 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12466 globtest.sh, not $(run-program-prefix).
12467 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12468 (test_wrapper): Likewise.
12469 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12470 set together with run_via_rtld_prefix.
12471 (run_program_prefix): Define in terms of test_wrapper and
12472 run_via_rtld_prefix.
12473
6e6249d0
RM
124742012-10-24 Roland McGrath <roland@hack.frob.com>
12475
12476 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12477 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12478 Targets removed.
12479
12480 [BZ #14743]
12481 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12482 Declare __clock_getres, __clock_gettime, __clock_settime,
12483 __clock_nanosleep, and __clock_getcpuclockid.
12484 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12485 Remove librt_hidden_def (clock_gettime).
12486 * sysdeps/unix/clock_gettime.c: Likewise.
12487 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12488 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12489 * rt/clock_getres.c: Define __clock_getres as an alias.
12490 * sysdeps/posix/clock_getres.c: Likewise.
12491 * rt/clock_settime.c: Define __clock_settime as an alias.
12492 * sysdeps/unix/clock_settime.c: Likewise.
12493 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12494 * sysdeps/unix/clock_nanosleep.c: Likewise.
12495 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12496 * rt/clock-compat.c: New file.
12497 * rt/Makefile (librt-routines): Add clock-compat and move
12498 $(clock-routines) to ...
12499 (routines): ... here, new variable.
12500 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12501 Don't add get_clockfreq here.
12502 * rt/Versions (libc: GLIBC_2.17): New version set.
12503 Add clock_* symbols here.
12504 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12505 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12506 (GLIBC_2.17): Add clock_* symbols.
12507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12509 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12511 Likewise.
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12513 Likewise.
12514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12518 * NEWS: Mention the move.
12519
12520 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12521 Use __open, __read, __close rather than their public counterparts.
12522 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12523 (__get_clockfreq_via_cpuinfo): Likewise.
12524 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12525 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12526
12527 * config.h.in (HAVE_IFUNC): New #undef.
12528 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12529 was successful.
12530 * configure: Regenerated.
12531
0cae3f4b
MF
125322012-10-24 Mike Frysinger <vapier@gentoo.org>
12533
12534 * configure.in: Move READELF check to start of file.
12535 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12536 libc_cv_asm_gnu_indirect_function in the process.
12537 * configure: Regenerated.
12538
8175a253
MF
125392012-10-24 Mike Frysinger <vapier@gentoo.org>
12540
12541 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12542 send the output to /dev/null.
12543 (libc_cv_cc_with_libunwind): Likewise.
12544 (libc_cv_as_noexecstack): Likewise.
12545 * configure: Regenerate.
12546
0708a7d1
JM
125472012-10-24 Joseph Myers <joseph@codesourcery.com>
12548
10b40d85
JM
12549 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12550
0708a7d1
JM
12551 * posix/globtest.sh (TMPDIR): Do not set.
12552 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12553 (testout): Likewise.
12554
9fddec1a
AJ
125552012-10-24 Andreas Jaeger <aj@suse.de>
12556
3a8db22f
AJ
12557 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12558 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12559 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12560 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12561 posix_fadvise64, posix_fallocate64.
12562
9fddec1a
AJ
12563 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12564 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12565 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12566 Likewise.
12567 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12568 Likewise.
12569 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12570
12571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12572 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12573 <bits/fcntl-linux.h>.
12574 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12575
12576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12577 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12578 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12579 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12580 [__WORDSIZE != 64]: Likewise.
12581
ebfd1bbd
JM
125822012-10-23 Joseph Myers <joseph@codesourcery.com>
12583
03ac099f
JM
12584 * Makeconfig (run-built-tests): New variable.
12585 * Rules [$(cross-compiling) = yes]: Change condition to
12586 [$(run-built-tests) = no].
12587 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12588 to [$(run-built-tests) = yes].
12589 * elf/Makefile [$(cross-compiling) = no]: Likewise
12590 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12591 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12592 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12593 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12594 * io/Makefile [$(cross-compiling) = no]: Likewise.
12595 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12596 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12597 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12598 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12599 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12600 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12601 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12602 * string/Makefile [$(cross-compiling) = no]: Likewise.
12603
ebfd1bbd
JM
12604 * posix/Makefile ($(objpfx)globtest.out): Pass
12605 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12606 $(rtld-installed-name).
12607 * posix/globtest.sh (elf_objpfx): Remove variable.
12608 (rtld_installed_name): Likewise.
12609 (library_path): Likewise.
12610 (run_program_prefix): New variable. Use for running globtest
12611 binary.
12612
166bca24
JB
126132012-10-23 Jim Blandy <jimb@codesourcery.com>
12614 Joseph Myers <joseph@codesourcery.com>
12615
12616 * Makeconfig (host-built-program-cmd): New variable.
12617 * elf/Makefile (tst-stackguard1-ARGS): Use
12618 $(host-built-program-cmd).
12619 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12620 (tst-spawn-ARGS): Likewise.
12621 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12622
88866099
JM
126232012-10-23 Joseph Myers <joseph@codesourcery.com>
12624 Jim Blandy <jimb@codesourcery.com>
12625
12626 * Makeconfig (run-via-rtld-prefix): New variable.
12627 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12628 (built-program-cmd): Likewise.
12629
b4b4c296
AJ
126302012-10-22 Andreas Jaeger <aj@suse.de>
12631
12632 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12633 __O_RSYNC if it exists, otherwise to O_SYNC.
12634
6fb54a22
JB
126352012-10-22 Jim Blandy <jimb@codesourcery.com>
12636 Joseph Myers <joseph@codesourcery.com>
12637
12638 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12639 /dev/null.
12640 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12641 from /dev/null
12642 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12643 /dev/null.
12644
481b90b9
AJ
126452012-10-22 Andreas Jaeger <aj@suse.de>
12646
2a0e2669
AJ
12647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12648 Define always.
12649 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12650
76e38f9a
AJ
12651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12652 bits/fcntl-linux.h.
12653
7cd37b43
AJ
12654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12655 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12656
481b90b9
AJ
12657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12658 to __O_LARGEFILE.
12659 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12660 to __O_LARGEFILE.
12661
aba75984
JB
126622012-10-21 Jim Blandy <jimb@codesourcery.com>
12663 Joseph Myers <joseph@codesourcery.com>
12664
12665 * config.make.in (NM): New variable.
12666
88d4247f
AJ
126672012-10-21 Andreas Jaeger <aj@suse.de>
12668
12669 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12670 definitions and declarations that are provided by
12671 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12672
f2eed205
L
126732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12674
12675 [BZ #14683]
12676 * elf/Makefile (tests-static): Add tst-leaks1-static.
12677 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12678 ($(objpfx)tst-leaks1-static): New rule.
12679 ($(objpfx)tst-leaks1-static-mem): Likewise.
12680 (tst-leaks1-static-ENV): New macro.
12681 * elf/dl-open.c (dl_open_worker): Check the main application
12682 only if SHARED is defined.
12683 * elf/tst-leaks1-static.c: New file.
12684
335e6931
AJ
126852012-10-20 Andreas Jaeger <aj@suse.de>
12686
12687 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12688 generic values for Linux.
12689 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12690 and declarations that are provided by <bits/fcntl-linux.h> and
12691 include <bits/fcntl-linux.h>.
12692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12694
ac5c94d3
RM
126952012-10-20 Roland McGrath <roland@hack.frob.com>
12696
12697 * io/fcntl.h: Move include of <bits/types.h> to the top and
12698 include it unconditionally.
12699
de54b33a
L
127002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12701
228cfb01
L
12702 * wcsmbs/Makefile (tests-ifunc): New variable.
12703 (tests): Add $(tests-ifunc).
12704 * wcsmbs/test-wcschr-ifunc.c: New file.
12705 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12706 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12707 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12708 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12709 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12710
69f07e5f
L
12711 * string/Makefile (tests-ifunc): New variable.
12712 (tests): Add $(tests-ifunc).
12713 * string/test-memccpy.c (TEST_NAME): New macro.
12714 * string/test-memchr.c (TEST_NAME): Likewise.
12715 * string/test-memcmp.c (TEST_NAME): Likewise.
12716 * string/test-memcpy.c (TEST_NAME): Likewise.
12717 * string/test-memmem.c (TEST_NAME): Likewise.
12718 * string/test-memmove.c (TEST_NAME): Likewise.
12719 * string/test-memset.c (TEST_NAME): Likewise.
12720 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12721 * string/test-stpcpy.c (TEST_NAME): Likewise.
12722 * string/test-stpncpy.c (TEST_NAME): Likewise.
12723 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12724 * string/test-strcasestr.c (TEST_NAME): Likewise.
12725 * string/test-strcat.c (TEST_NAME): Likewise.
12726 * string/test-strchr.c (TEST_NAME): Likewise.
12727 * string/test-strcmp.c(TEST_NAME): Likewise.
12728 * string/test-strcpy.c (TEST_NAME): Likewise.
12729 * string/test-strcspn.c (TEST_NAME): Likewise.
12730 * string/test-strlen.c (TEST_NAME): Likewise.
12731 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12732 * string/test-strncmp.c (TEST_NAME): Likewise.
12733 * string/test-strncpy.c (TEST_NAME): Likewise.
12734 * string/test-strnlen.c (TEST_NAME): Likewise.
12735 * string/test-strpbrk.c (TEST_NAME): Likewise.
12736 * string/test-strrchr.c (TEST_NAME): Likewise.
12737 * string/test-strspn.c (TEST_NAME): Likewise.
12738 * string/test-strstr.c (TEST_NAME): Likewise.
12739 * string/test-bcopy-ifunc.c: New file.
12740 * string/test-bzero-ifunc.c: Likewise.
12741 * string/test-memccpy-ifunc.c: Likewise.
12742 * string/test-memchr-ifunc.c: Likewise.
12743 * string/test-memcmp-ifunc.c: Likewise.
12744 * string/test-memcpy-ifunc.c: Likewise.
12745 * string/test-memmem-ifunc.c: Likewise.
12746 * string/test-memmove-ifunc.c: Likewise.
12747 * string/test-mempcpy-ifunc.c: Likewise.
12748 * string/test-memset-ifunc.c: Likewise.
12749 * string/test-rawmemchr-ifunc.c: Likewise.
12750 * string/test-stpcpy-ifunc.c: Likewise.
12751 * string/test-stpncpy-ifunc.c: Likewise.
12752 * string/test-strcasecmp-ifunc.c: Likewise.
12753 * string/test-strcasestr-ifunc.c: Likewise.
12754 * string/test-strcat-ifunc.c: Likewise.
12755 * string/test-strchr-ifunc.c: Likewise.
12756 * string/test-strchrnul-ifunc.c: Likewise.
12757 * string/test-strcmp-ifunc.c: Likewise.
12758 * string/test-strcpy-ifunc.c: Likewise.
12759 * string/test-strcspn-ifunc.c: Likewise.
12760 * string/test-strlen-ifunc.c: Likewise.
12761 * string/test-strncasecmp-ifunc.c: Likewise.
12762 * string/test-strncat-ifunc.c: Likewise.
12763 * string/test-strncmp-ifunc.c: Likewise.
12764 * string/test-strncpy-ifunc.c: Likewise.
12765 * string/test-strnlen-ifunc.c: Likewise.
12766 * string/test-strpbrk-ifunc.c: Likewise.
12767 * string/test-strrchr-ifunc.c: Likewise.
12768 * string/test-strspn-ifunc.c: Likewise.
12769 * string/test-strstr-ifunc.c: Likewise.
12770
de54b33a
L
12771 * debug/Makefile (tests-ifunc): New variable.
12772 (tests): Add $(tests-ifunc).
12773 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12774 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12775 * debug/test-stpcpy_chk-ifunc.c: New file.
12776 * debug/test-strcpy_chk-ifunc.c: Likewise.
12777
88481c16
SP
127782012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12779
12780 [BZ #13601]
12781 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12782 header is not read in.
12783
135948bd
JM
127842012-10-19 Joseph Myers <joseph@codesourcery.com>
12785
89f1c388
JM
12786 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12787 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12788 directly. Pass built executable to script as
12789 $(built-program-cmd).
12790 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12791 $testprogram without using LD_LIBRARY_PATH and $ldso.
12792
e40a0d21
JM
12793 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12794 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12795 $(rtld-installed-name).
12796 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12797 (rtld_installed_name): Likewise.
12798 (library_path): Likewise.
12799 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12800 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12801 $(run-program-prefix) to tst-tables.sh.
12802 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12803 it to run tst-table-from and tst-table-to.
12804 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12805 Pass it to tst-table.sh.
12806 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12807 $(run-program-prefix) to tst-gettext.sh.
12808 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12809 tst-translit.sh.
12810 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12811 tst-gettext2.sh.
12812 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12813 to run tst-gettext.
12814 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12815 to run tst-gettext2.
12816 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12817 to run tst-translit.
12818 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12819 $(run-program-prefix) to tst-mtrace.sh.
12820 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12821 to run tst-mtrace.
12822 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12823 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12824 $(rtld-installed-name).
12825 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12826 (rtld_installed_name): Likewise.
12827 (run_program_prefix): New variable. Use it to run wordexp-test.
12828
728e272a
JM
12829 * Makeconfig (ARCH): Remove all definitions.
12830 (machine): Likewise.
12831 [ARCH]: Remove conditional code.
12832 [!objdir]: Give error.
12833 [!objdir] (objpfx): Remove.
12834 [!objdir] (common-objpfx): Likewise.
12835 [!objdir] (common-objdir): Likewise.
12836 * configure.in (config_makefile): Remove. Hardcode Makefile in
12837 AC_CONFIG_FILES call.
12838 * configure: Regenerated.
12839
d528cdcf
JM
12840 [BZ #13888]
12841 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12842 or TMPDIR.
12843 (testout): Likewise.
12844
135948bd
JM
12845 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12846 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12847 $(rtld-installed-name).
12848 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12849 (rtld_installed_name): Likwise.
12850 (runit): Remove function.
12851 (run_getconf): New variable, Use it for running getconf binary.
12852
38c78296
L
128532012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12854
12855 [BZ #14716]
12856 * string/test-memmem.c (check_result): New function.
12857 (do_one_test): Use it.
12858 (check1): New function.
12859 (test_main): Use it.
12860
d077f65f
MT
128612012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12862
12863 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12864
ced52c71
JM
128652012-10-18 Joseph Myers <joseph@codesourcery.com>
12866
12867 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12868 (_G_LSEEK64): Likewise.
12869 (_G_MMAP64): Likewise.
12870 (_G_FSTAT64): Likewise.
12871 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12872 (_G_LSEEK64): Likewise.
12873 (_G_MMAP64): Likewise.
12874 (_G_FSTAT64): Likewise.
12875 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12876 unconditional. Call __mmap64 directly.
12877 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12878 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12879 __lseek64 directly.
12880 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12881 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12882 __mmap64 directly.
12883 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12884 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12885 __lseek64 directly.
12886 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12887 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12888 __lseek64 directly.
12889 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12890 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12891 __lseek64 directly.
12892 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12893 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12894 __fxstat64 directly.
12895 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12896 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12897 unconditional.
12898 (freopen64) [!_G_OPEN64]: Remove conditional code.
12899 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12900 unconditional.
12901 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12902 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12903 unconditional.
12904 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12905 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12906 unconditional.
12907 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12908 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12909 unconditional.
12910 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12911 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12912 unconditional.
12913 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12914 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12915 unconditional.
12916 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12917 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12918 unconditional.
12919 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12920
b741de23
SP
129212012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12922
12923 [BZ #12140]
12924 * manual/memory.texi (Malloc Tunable Parameters): Add note
12925 about free list pointers overwriting some perturb bytes.
12926 Wording suggested by Roland McGrath.
12927
f9b9d9c9
JM
129282012-10-17 Joseph Myers <joseph@codesourcery.com>
12929
12930 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12931 (lgamma_test): Likewise.
12932 (tgamma_test): Likewise.
12933
172a631a
FW
129342012-10-16 Florian Weimer <fweimer@redhat.com>
12935
12936 [BZ #14700]
12937 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12938 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12939
e9f37252
MK
129402012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12941
12942 * NEWS: Mention BZ #14716.
12943 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12944 when removing AVAILABLE1_USES_J macro.
12945
d394eb74
L
129462012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12947
12948 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12949 (__bswap_64): __uint64_t for unsigned 64-bit int.
12950
ca38dc17
AS
129512012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12952
12953 * include/string.h (memmem): Declare libc hidden alias.
12954 * string/memmem.c (memmem): Define libc hidden alias.
12955 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12956 __read, __close instead of open, read, close.
12957
9a387d1f
L
129582012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12959
ac49ecaf
L
12960 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12961 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12962 global and hidden.
12963 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12964 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12965 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12966 Likewise.
12967 (__rawmemchr_sse2): Likewise.
12968 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12969 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12970 (__strchr_sse2): Likewise.
12971 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12972 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12973 (__strcasecmp_sse2): Likewise.
12974 (__strncasecmp_sse2): Likewise.
12975 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12976 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12977 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12978 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12979 (__strrchr_sse2): Likewise.
12980 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12981 ifunc-impl-list.c.
12982 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12983 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12984 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12985 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12986 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12987 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12988 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12989 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12990 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12991 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12992 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12993 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12994 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12995 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12996 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12997 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12998 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12999 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13000 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13001 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13002 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13003 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13004 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13005 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13006 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13007 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13008 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13009 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13010 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13011 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13012
b090e8ea
L
13013 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13014 global and hidden.
13015 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13016 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13017 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13018 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13019 Likewise.
13020 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13021 Likewise.
13022 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13023 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13024 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13025 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13026 ifunc-impl-list.c.
13027 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13028 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13029 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13030 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13031 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13032 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13033 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13034 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13035 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13036 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13037 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13038 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13039 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13040 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13041 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13042 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13043 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13044 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13045 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13046 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13047 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13048 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13049 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13050 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13051 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13052 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13053 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13054 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13055 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13056 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13057 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13058 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13059 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13060 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13061 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13062 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13063 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13064 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13065 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13066 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13067 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13068
11dd4af6
L
13069 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13070 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13071 * include/ifunc-impl-list.h: New file.
13072 * misc/ifunc-impl-list.c: Likewise.
13073 * misc/Makefile (routines): Add ifunc-impl-list.
13074 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13075 * string/test-string.h: Include <ifunc-impl-list.h>.
13076 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13077 impl_array): New variables.
13078 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13079 are defined.
13080 (test_init): Call __libc_ifunc_impl_list to initialize
13081 func_list if TEST_IFUNC and TEST_NAME are defined.
13082
9a387d1f
L
13083 * string/Makefile (strop-tests): Add bcopy and bzero.
13084 * string/test-bcopy.c: New file.
13085 * string/test-bzero.c: Likewise.
13086 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13087 defined.
13088 * string/test-memset.c: Support bzero test if TEST_BZERO is
13089 defined.
13090 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13091 __libc_memmove.
13092 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13093 __libc_memset.
13094 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13095 of memset.
13096
472371b9
JM
130972012-10-10 Joseph Myers <joseph@codesourcery.com>
13098
1e4a9536
JM
13099 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13100 * configure: Regenerated.
13101
d173d12e
JM
13102 * Makeconfig (+link-static-before-libc): Don't include
13103 $(link-static-libc).
13104
472371b9
JM
13105 * libio/libio.h (_IO_pos_t): Remove.
13106
89a3ad0b
AO
131072012-10-10 Alexandre Oliva <aoliva@redhat.com>
13108
13109 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13110 McGrath.
13111
e7451425
AO
131122012-10-10 Alexandre Oliva <aoliva@redhat.com>
13113
13114 * crypt/crypt-entry.c: Include fips-private.h.
13115 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13116 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13117 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13118 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13119
4ba74a35
AO
131202012-10-10 Alexandre Oliva <aoliva@redhat.com>
13121
13122 * crypt/crypt-private.h: Include stdbool.h.
13123 (_ufc_setup_salt_r): Return bool.
13124 * crypt/crypt-entry.c: Include errno.h.
13125 (__crypt_r): Return NULL with EINVAL for bad salt.
13126 * crypt/crypt_util.c (bad_for_salt): New.
13127 (_ufc_setup_salt_r): Check that salt is long enough and within
13128 the specified alphabet.
13129 * crypt/badsalttest.c: New file.
13130 * crypt/Makefile (tests): Add it.
13131 ($(objpfx)badsalttest): New.
13132
f96f1242
MK
131332012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13134
13135 * NEWS: Add entry for BZ #14602.
13136
0e8e0c1c
JM
131372012-10-09 Joseph Myers <joseph@codesourcery.com>
13138
13139 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13140 type-generic.
13141 * math/libm-test.inc: Update comment listing what functions and
13142 macros are tested.
13143 (isgreater_test): New function.
13144 (isgreaterequal_test): Likewise.
13145 (isless_test): Likewise.
13146 (islessequal_test): Likewise.
13147 (islessgreater_test): Likewise.
13148 (isunordered_test): Likewise.
13149 (main): Call the new functions.
13150
273edc5e
RM
131512012-10-09 Roland McGrath <roland@hack.frob.com>
13152
b8493de0
RM
13153 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13154 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13155 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13156 * sysdeps/i386/configure: Regenerated.
13157 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13158 * sysdeps/mach/configure: Regenerated.
13159 * sysdeps/mach/hurd/configure: Regenerated.
13160 * sysdeps/powerpc/configure: Regenerated.
13161 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13162 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13163 * sysdeps/s390/s390-32/configure: Regenerated.
13164 * sysdeps/s390/s390-64/configure: Regenerated.
13165 * sysdeps/sh/configure: Regenerated.
13166 * sysdeps/sparc/configure: Regenerated.
13167 * sysdeps/unix/sysv/linux/configure: Regenerated.
13168 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13169 * sysdeps/x86_64/configure: Regenerated.
13170
273edc5e
RM
13171 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13172 defined. Don't check if MAP is NULL.
13173
c8450f70
JM
131742012-10-09 Joseph Myers <joseph@codesourcery.com>
13175
13176 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13177 (_G_stat64): Likewise.
13178 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13179 (_G_stat64): Likewise.
13180 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13181 instead of struct _G_stat64.
13182 * libio/fileops.c (mmap_remap_check): Likewise.
13183 (decide_maybe_mmap): Likewise.
13184 (_IO_new_file_seekoff): Likewise.
13185 (_IO_file_stat): Likewise.
13186 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13187 _G_off64_t.
13188 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13189 instead of struct _G_stat64.
13190 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13191
57e605ba
MK
131922012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13193
13194 [BZ #14602]
13195 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13196 Replace with ...
13197 (CHECK_EOL): New macro.
13198 (two_way_short_needle): Check beginning of haystack for EOL. Use
13199 CHECK_EOL.
13200 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13201 Replace with CHECK_EOL.
13202 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13203 Replace with CHECK_EOL.
13204
ef1bb361
JM
132052012-10-08 Joseph Myers <joseph@codesourcery.com>
13206
13207 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13208 type-generic.
13209 * math/libm-test.inc: Update comment listing what functions and
13210 macros are tested.
13211 (finite_test): New function.
13212 (isinf_test): Likewise.
13213 (isnan_test): Likewise.
13214 (fpclassify_test): Test subnormal input.
13215 (isfinite_test): Likewise.
13216 (isnormal_test): Likewise.
13217 (main): Call the new functions.
13218
55f11534
JN
132192012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13220
13221 [BZ #14660]
13222 * Makerules (%.dynsym): Force C locale when running
13223 $(OBJDUMP) --dynamic-syms.
13224
1ab29350
AS
132252012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13226
13227 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13228 <stdint.h>.
13229
f1ecb7ef
DM
132302012-10-06 David S. Miller <davem@davemloft.net>
13231
13232 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13233 upper 32-bits of the length value in %o2 since we use branch-on-register
13234 tests which consider the entire 64-bit register.
13235
5d41d91a
L
132362012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13237
13238 * string/test-strstr.c (check2): Add a test for page boundary.
13239
3baddb72
DM
132402012-10-05 David S. Miller <davem@davemloft.net>
13241
13242 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13243 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13244 file.
13245 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13246 sysdep_routines.
13247 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13248 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13249 and bzero when HWCAP_SPARC_CRYPTO is present.
13250
9cee5585
L
132512012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13252
d7e0dab9
L
13253 [BZ #14602]
13254 * string/test-strstr.c (check2): New function.
13255 (test_main): Call check2.
13256
03759f47
L
13257 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13258 and bug-strchr1.
13259 * string/bug-strcasestr1.c (do_test): Moved to ...
13260 * string/test-strcasestr.c (check1): Here. New function.
13261 (do_one_test): Break out result checking code into ...
13262 (check_result): This. New function.
13263 (do_one_test): Call check_result.
13264 (test_main): Call check1.
13265 * string/bug-strchr1.c (do_test): Moved to ...
13266 * string/test-strchr.c (check1): Here. New function.
13267 (do_one_test): Break out result checking code into ...
13268 (check_result): This. New function.
13269 (do_one_test): Call check_result.
13270 (test_main): Call check1.
13271 * string/bug-strstr1.c (main): Moved to ...
046f153e 13272 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13273 (do_one_test): Break out result checking code into ...
13274 (check_result): This. New function.
13275 (do_one_test): Call check_result.
13276 (test_main): Call check1.
13277 * string/bug-strcasestr1.c: Removed.
13278 * string/bug-strchr1.c: Likewise.
13279 * string/bug-strstr1.c: Likewise.
13280
53cea63e
L
13281 * elf/Makefile (dl-routines): Add hwcaps.
13282 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13283 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13284 (_dl_important_hwcaps): Moved to ...
13285 * elf/dl-hwcaps.c: Here. New file.
13286 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13287
9cee5585 13288 [BZ #14557]
bb859b06
L
13289 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13290 if IS_IN_rtld isn't defined.
13291
9cee5585
L
13292 * elf/dl-support.c (_dl_sysinfo_map): New.
13293 Include "get-dynamic-info.h" and "setup-vdso.h".
13294 (_dl_non_dynamic_init): Call setup_vdso.
13295 * elf/dynamic-link.h: Don't include <assert.h>.
13296 (elf_get_dynamic_info): Moved to ...
13297 * elf/get-dynamic-info.h: Here. New file.
13298 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13299 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13300 * elf/setup-vdso.h: Here. New file.
13301 * elf/rtld.c: Include "setup-vdso.h".
13302 (dl_main): Call setup_vdso.
13303
23c31b76
JM
133042012-10-05 Joseph Myers <joseph@codesourcery.com>
13305
28234b07
JM
13306 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13307 creal in comment listing functions tested. List finite, isinf,
13308 isnan, isless, islessequal, isgreater, isgreaterequal,
13309 islessgreater, isunordered, lgamma_r and pow10 as functions and
13310 macros not tested. Mention which functions not tested are aliases
13311 for other functions. Fix typo. Note that signs of NaNs are not
13312 tested.
13313
23c31b76
JM
13314 * scripts/config.guess: Update from config.git.
13315 * scripts/config.sub: Likewise.
13316
9043e228
RM
133172012-10-04 Roland McGrath <roland@hack.frob.com>
13318
13319 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13320 * misc/madvise.c (madvise): Renamed to __madvise.
13321 Make madvise a weak alias.
13322 * include/sys/mman.h: Declare __madvise.
13323 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13324 * sysdeps/unix/syscalls.list
13325 (madvise): Make __madvise the strong name, and madvise a weak alias.
13326 * sysdeps/unix/sysv/linux/syscalls.list
13327 (madvise, mmap): Remove redundant entries.
13328 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13329 * malloc/malloc.c (mtrim): Likewise.
13330 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13331
f57f8055
RM
133322012-10-03 Roland McGrath <roland@hack.frob.com>
13333
13334 * sysdeps/mach/hurd/dl-cache.c: File removed.
13335 * config.h.in (USE_LDCONFIG): New #undef.
13336 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13337 * configure: Regenerated.
13338 * elf/Makefile (dl-routines): Add dl-cache only under
13339 [$(use-ldconfig) = yes].
13340 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13341 cache on [USE_LDCONFIG].
13342 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13343 [USE_LDCONFIG].
13344 * elf/rtld.c (dl_main): Likewise.
13345
5bb0c10a
PT
133462012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13347
13348 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13349 _SC_LEVEL4_CACHE_LINESIZE.
13350
010188c6
RM
133512012-10-03 Roland McGrath <roland@hack.frob.com>
13352
13353 * sysdeps/unix/bsd/confstr.h: File removed.
13354
b6c5ec07
AO
133552012-10-02 Alexandre Oliva <aoliva@redhat.com>
13356
13357 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13358 sys/sdt-config.h.
13359
408223d4
RM
133602012-10-02 Roland McGrath <roland@hack.frob.com>
13361
13362 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13363 Make 'mapoff' field ElfW(Off) rather than off_t.
13364
bb9510dc
DL
133652012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13366
fc997c6e
DL
13367 * nscd/Makefile: Remove nscd-cflags and all its users.
13368 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13369 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13370
bb9510dc
DL
13371 [BZ #10631]
13372 * malloc.c (malloc_printerr): Clarify error message.
13373
05699367
L
133742012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13375
13376 [BZ #14648]
13377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13378 Set bit_FMA_Usable if FMA is supported.
13379 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13380 macro.
13381 (bit_FMA4_Usable): Updated.
13382 (index_FMA_Usable): New macro.
13383 (CPUID_FMA): Likewise
13384 (HAS_FMA): Defined with bit_FMA_Usable.
13385
51367701
RM
133862012-10-01 Roland McGrath <roland@hack.frob.com>
13387
13388 * bits/types.h (__swblk_t): Type removed.
13389 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13390 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13391 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13392 (__SWBLK_T_TYPE): Likewise.
13393 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13394 (__SWBLK_T_TYPE): Likewise.
13395 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13396 (__SWBLK_T_TYPE): Likewise.
13397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13398 (__SWBLK_T_TYPE): Likewise.
13399
4d57bf63 134002012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13401 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13402
13403 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13404 (xdr_mapname): Use YPMAXMAP as maxsize.
13405 (xdr_peername): Use YPMAXPEER as maxsize.
13406 (xdr_keydat): Use YPAXRECORD as maxsize.
13407 (xdr_valdat): Use YPMAXRECORD as maxsize.
13408
93c65d43
RM
134092012-10-01 Roland McGrath <roland@hack.frob.com>
13410
497a03d6
RM
13411 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13412
93c65d43
RM
13413 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13414 * csu/init-first.c: ... here.
13415 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13416 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13417 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13418 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13419 * sysdeps/i386/init-first.c: File removed.
13420 * sysdeps/sh/init-first.c: File removed.
13421
bec749fd
JM
134222012-10-01 Joseph Myers <joseph@codesourcery.com>
13423
13424 [BZ #14645]
13425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13426 if x * y might underflow to zero and z is zero.
13427 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13428 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13429 * math/libm-test.inc (min_subnorm_value): New variable.
13430 (fma_test): Add more tests.
13431 (fma_test_towardzero): Likewise.
13432 (fma_test_downward): Likewise
13433 (fma_test_upward): Likewise.
13434 (initialize): Set min_subnorm_value.
13435
8ec5b013
JM
134362012-09-29 Joseph Myers <joseph@codesourcery.com>
13437
13438 [BZ #14638]
13439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13440 0 + 0.
13441 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13442 mode for addition resulting in exact zero.
13443 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13445 exact 0 + 0.
13446 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13448 * math/libm-test.inc (fma_test): Add more tests.
13449 (fma_test_towardzero): New function.
13450 (fma_test_downward): Likewise.
13451 (fma_test_upward): Likewise.
13452 (main): Call the new functions.
13453
b1fa802e
DM
134542012-09-28 David S. Miller <davem@davemloft.net>
13455
13456 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13457
d3b9fd9e
RM
134582012-09-28 Roland McGrath <roland@hack.frob.com>
13459
ea4d37b3
RM
13460 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13461 instead of SIGALRM.
13462
ac51c949
RM
13463 * sysdeps/gnu/_G_config.h: Moved to ...
13464 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13465 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13466 * sysdeps/generic/_G_config.h: ... here.
13467
28c195f7
RM
13468 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13469
848917f9
RM
13470 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13471
6bacf05b
RM
13472 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13473 Conditionalize target on [libnss_test1.so-version].
13474
91363dbb
RM
13475 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13476
cc87f7d8
RM
13477 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13478 (elfobjdir): Move out of conditionals.
13479
b1c608fe
RM
13480 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13481 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13482 (__nss_lookup_function): Conditionalize label remove_from_tree on
13483 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13484
1d9a6d96
DM
134852012-09-28 David S. Miller <davem@davemloft.net>
13486
13487 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13488 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13489 file.
13490 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13491 sysdep_routines.
13492 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13493 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13494 when HWCAP_SPARC_CRYPTO is present.
13495
72581615
PT
134962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13497
13498 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13499
715a900c
JL
135002012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13501
13502 [BZ #6530]
13503 * stdio-common/vfprintf.c (process_string_arg): Revert
13504 2000-07-22 change.
13505
135062011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13507
13508 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13509 for testcase.
13510 * stdio-common/tst-sprintf.c: Include <locale.h>
13511 (main): Test sprintf's handling of incomplete multibyte
13512 characters.
13513
9bac1d86
L
135142012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13515
13516 * elf/dl-runtime.c (VERSYMIDX): Removed.
13517 * elf/dl-version.c (VERSYMIDX): Likewise.
13518 * elf/do-rel.h (VERSYMIDX): Likewise.
13519 (VALIDX): Likewise.
13520 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13521 * elf/rtld.c (VALIDX): Likewise.
13522 (ADDRIDX): Likewise.
9bac1d86
L
13523 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13524 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13525 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13526 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13527 (VALIDX): Likewise.
13528 (ADDRIDX): Likewise.
9bac1d86 13529
b31606c0
PT
135302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13531
13532 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13533
11541177
JL
135342012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13535
13536 [BZ #11438]
13537 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13538 to global scope.
13539 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13540 addresses are in the same scope as 192.0.2/24.
13541 * posix/gai.conf: Document new scope table defaults.
13542
adb26fae
SP
135432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13544
13545 [BZ #5298]
13546 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13547 for ftell. Compute offsets from write pointers instead.
13548 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13549
4573c6b0
SP
135502012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13551
13552 [BZ #14543]
13553 * libio/Makefile (tests): New test case tst-fseek.
13554 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13555 combination works in wide mode.
13556 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13557 state when the external buffer state changes.
13558
aa9bbfe6
DM
135592012-09-27 David S. Miller <davem@davemloft.net>
13560
13561 [BZ #14376]
13562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13563 pass reloc->r_addend in as the 'high' argument to
13564 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13565
784421e7
DM
13566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13567
c39bc8b8
PT
135682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13569
13570 * rt/tst-aio2.c: Include <pthread.h>.
13571 * rt/tst-aio3.c: Likewise.
13572
1ccc2399
SE
135732012-09-27 Steve Ellcey <sellcey@mips.com>
13574
13575 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13576
31ed4153
L
135772012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13578
25f5f885
L
13579 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13580 contents on [SHARED].
31ed4153 13581
b7bfe116
MP
135822012-09-26 Marek Polacek <polacek@redhat.com>
13583
13584 [BZ #14530]
13585 [BZ #13741]
13586 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13587 for C++ and GCC <4.3 as well as for non GCC compilers.
13588
43c4edba
MT
135892012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13590
13591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13592
6a1bf82f
RM
135932012-09-25 Roland McGrath <roland@hack.frob.com>
13594
13595 * Makefile.in (all, install): Declare with .PHONY.
13596 Reported by Michael Hope <michael.hope@linaro.org>.
13597
8ad11b9a
TMQMF
135982012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13599
13600 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13601 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13602 system header.
13603 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13604 Likewise.
13605 (sydep_routines): Add the new and the internal functions.
13606 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13607 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13609 (GLIBC_2.17): Add the new function.
13610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13611 (GLIBC_2.17): Likewise.
13612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13613 (GLIBC_2.17): Likewise.
13614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13615 (GLIBC_2.17): Likewise.
13616 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13617
7e2fca8d
AM
136182012-09-25 Alan Modra <amodra@gmail.com>
13619
13620 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13621 Add release barrier before setting once_control to say
13622 initialisation is done. Add hints on lwarx. Use macro in
13623 place of isync.
13624 (clear_once_control): Add release barrier.
13625
b87c4b24
JM
136262012-09-25 Joseph Myers <joseph@codesourcery.com>
13627
d032e0d2
JM
13628 [BZ #13629]
13629 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13630 specially.
13631 * math/s_clog10.c (__clog10): Likewise.
13632 * math/s_clog10f.c (__clog10f): Likewise.
13633 * math/s_clog10l.c (__clog10l): Likewise.
13634 * math/s_clogf.c (__clogf): Likewise.
13635 * math/s_clogl.c (__clogl): Likewise.
13636 * math/Makefile (libm-calls): Add x2y2m1.
13637 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13638 (__x2y2m1): Likewise.
13639 (__x2y2m1l): Likewise.
13640 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13641 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13643 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13644 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13645 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13646 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13647 * sysdeps/i386/fpu/libm-test-ulps: Update.
13648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13649
b87c4b24
JM
13650 [BZ #14621]
13651 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13652 int as type of variable DEPTH.
13653 (glob): Use size_t instead of int as type of variables NEWCOUNT
13654 and OLD_PATHC.
13655
6d3bf199
LD
136562012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13657
22bf5c17
LD
13658 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13659 Add s_sincosf-sse2.
13660 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13661 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13662 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13663 macros for using routine as __sincosf_ia32.
13664 Use macro for function declaration and weak_alias.
13665 * sysdeps/i386/fpu/libm-test-ulps: Update.
13666
13667 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13669
13670 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13671 subnormal argument.
13672 * math/s_cexpf.c (__cexpf): Likewise.
13673 * math/s_csinf.c (__csinf): Likewise.
13674 * math/s_csinhf.c (__csinhf): Likewise.
13675 * math/s_ctanf.c (__ctanf): Likewise.
13676 * math/s_ctanhf.c (__ctanhf): Likewise.
13677 * math/s_ccosh.c (__ccoshf): Likewise.
13678 * math/s_cexp.c (__cexpl): Likewise.
13679 * math/s_csin.c (__csin): Likewise.
13680 * math/s_csinh.c (__csinh): Likewise.
13681 * math/s_ctan.c (__ctan): Likewise.
13682 * math/s_ctanh.c (ctanh): Likewise.
13683 * math/s_ccoshl.c (__ccoshl): Likewise.
13684 * math/s_cexpl.c (__cexpl): Likewise.
13685 * math/s_csinl.c (__csinl): Likewise.
13686 * math/s_csinhl.c (__csinhl): Likewise.
13687 * math/s_ctanl.c (__ctanl): Likewise.
13688 * math/s_ctanhl.c (__ctanhl): Likewise.
13689
203e5603
JM
136902012-09-25 Joseph Myers <joseph@codesourcery.com>
13691
13692 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13693 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13694 (_IO_off_t): Define to __off_t, not _G_off_t.
13695 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13696 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13697 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13698 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13699 type of __dummy and __dummy2 fields.
13700 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13701 (_G_ssize_t): Likewise.
13702 (_G_off_t): Likewise.
13703 (_G_pid_t): Likewise.
13704 (_G_uid_t): Likewise.
13705 (_G_wchar_t): Likewise.
13706 (_G_wint_t): Likewise.
13707 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13708 (_G_ssize_t): Likewise.
13709 (_G_off_t): Likewise.
13710 (_G_pid_t): Likewise.
13711 (_G_uid_t): Likewise.
13712 (_G_wchar_t): Likewise.
13713 (_G_wint_t): Likewise.
13714 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13715 (_G_ssize_t): Likewise.
13716 (_G_off_t): Likewise.
13717 (_G_pid_t): Likewise.
13718 (_G_uid_t): Likewise.
13719 (_G_wchar_t): Likewise.
13720 (_G_wint_t): Likewise.
13721
9fab36eb
SP
137222012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13723
13724 * malloc/arena.c: Include malloc-sysdep.h.
13725 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13726 is sufficient to shrink the heap or an unmap is needed.
13727 * sysdeps/generic/malloc-sysdep.h: New file. Define
13728 new function check_may_shrink_heap.
13729 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13730 new function check_may_shrink_heap.
13731
2b4f00d1
SP
137322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13733
13734 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13735 comments.
13736
9a9028b1
DL
137372012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13738
57c69bef
DL
13739 * catgets/test-gencat.sh: Add "set -e".
13740 * elf/tst-pathopt.sh: Likewise.
13741 * grp/tst_fgetgrent.sh: Likewise.
13742 * iconvdata/run-iconv-test.sh: Likewise.
13743 * intl/tst-gettext.sh: Likewise.
13744 * intl/tst-gettext2.sh: Likewise.
13745 * intl/tst-gettext4.sh: Likewise.
13746 * intl/tst-gettext6.sh: Likewise.
13747 * intl/tst-translit.sh: Likewise.
13748 * io/ftwtest-sh: Likewise.
13749 * libio/test-freopen.sh: Likewise.
13750 * malloc/tst-mtrace.sh: Likewise.
13751 * posix/globtest.sh: Likewise.
13752 * posix/tst-getconf.sh: Likewise.
13753 * posix/wordexp-tst.sh: Likewise.
13754 * stdio-common/tst-printf.sh: Likewise.
13755 * stdio-common/tst-unbputc.sh: Likewise.
13756 * stdlib/tst-fmtmsg.sh: Likewise.
13757 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13758 * catgets/Makefile: Do not specify -e option when running
13759 testsuite shell scripts.
13760 * elf/Makefile: Likewise.
13761 * grp/Makefile: Likewise.
13762 * iconvdata/Makefile: Likewise.
13763 * intl/Makefile: Likewise.
13764 * io/Makefile: Likewise.
13765 * libio/Makefile: Likewise.
13766 * malloc/Makefile: Likewise.
13767 * posix/Makefile: Likewise.
13768 * stdio-common/Makefile: Likewise.
13769 * stdlib/Makefile: Likewise.
13770 * sysdeps/x86_64/Makefile: Likewise.
13771
9a9028b1
DL
13772 * io/ftwtest-sh: Add copyright header.
13773 * posix/globtest.sh: Likewise.
13774 * posix/tst-getconf.sh: Likewise.
13775 * posix/wordexp-tst.sh: Likewise.
13776 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13777
ced6f16e
L
137782012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13779
94b32c39
L
13780 [BZ #13679]
13781 * Makeconfig (+link): Defined as $(+link-static) if
13782 $(build-shared) isn't yes.
13783 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13784 isn't yes.
13785 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13786
189e935b
L
13787 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13788
ced6f16e
L
13789 [BZ #14562]
13790 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13791 new chunk size with MALLOC_ALIGN_MASK.
13792
a9f8e53a
JM
137932012-09-24 Joseph Myers <joseph@codesourcery.com>
13794
13795 [BZ #5044]
13796 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13797 <rounding-mode.h>.
13798 (__printf_fphex): Determine rounding using get_rounding_mode and
13799 round_away.
13800 * stdio-common/tst-printf-round.c (struct hex_test): New
13801 structure.
13802 (hex_tests): New variable.
13803 (test_hex_in_one_mode): New function.
13804 (do_test): Also run tests for hex float output.
13805
43153109
JM
138062012-09-21 Joseph Myers <joseph@codesourcery.com>
13807
13808 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13809 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13810 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13811 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13812 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13813 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13814 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13815 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13816
8a26625d
JM
138172012-09-20 Joseph Myers <joseph@codesourcery.com>
13818
13819 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13820 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13821 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13822 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13823
f3fd569c
DL
138242012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13825
13826 [BZ #14579]
13827 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13828 mode only.
13829 * elf/tst-rtld-load-self.sh: New test.
13830 * elf/Makefile: Run it.
13831
63bbedd4
JM
138322012-09-18 Joseph Myers <joseph@codesourcery.com>
13833
13834 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13835 (tst-writev-ENV): Remove.
13836 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13837
626f8b6a
CM
138382012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13839
13840 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13841
b7aaa4d6
JM
138422012-09-17 Joseph Myers <joseph@codesourcery.com>
13843
13844 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13845 unconditional.
13846 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13847 Likewise.
13848 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13849 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13850 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13851 Likewise.
13852
65513990
L
138532012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13854
13855 [BZ #14587]
13856 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13857 * config.make.in (have-cpp-asm-debuginfo): Removed.
13858 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13859 * configure: Regenerated.
13860
784761be
JM
138612012-09-14 Joseph Myers <joseph@codesourcery.com>
13862
13863 [BZ #5044]
13864 * stdio-common/printf_fp.c: Include <stdbool.h> and
13865 <rounding-mode.h>.
13866 (___printf_fp): Determine rounding using get_rounding_mode and
13867 round_away.
13868 * stdio-common/tst-printf-round.c: New file.
13869 * stdio-common/Makefile (tests): Add tst-printf-round.
13870 (link-libm): New variable.
13871 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13872
9503345f
L
138732012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13874
13875 [BZ #14576]
13876 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13877 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13878 Likewise.
13879 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13880 Likewise.
13881
ad35fc00
JM
138822012-09-13 Joseph Myers <joseph@codesourcery.com>
13883
13884 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13885 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13886 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13887 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13888
6c9b0f68
JM
138892012-09-12 Joseph Myers <joseph@codesourcery.com>
13890
13891 [BZ #14518]
13892 * include/rounding-mode.h: New file.
13893 * sysdeps/generic/get-rounding-mode.h: Likewise.
13894 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13895 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13896 (MAX_VALUE): New macro.
13897 (MIN_VALUE): Likewise.
13898 (overflow_value): New function.
13899 (underflow_value): Likewise.
13900 (round_and_return): Use overflow_value and underflow_value to
13901 determine return values in overflow and underflow cases. Use
13902 round_away to determine rounding depending on rounding mode.
13903 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13904 determine return values in overflow and underflow cases.
13905 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13906 (struct test_results): New structure.
13907 (struct test): Use struct test_results to store expected results
13908 for all rounding modes.
13909 (TEST): Include expected results for all rounding modes.
13910 (test_in_one_mode): New function.
13911 (do_test): Use test_in_one_mode to compute and check results.
13912 Check results for all rounding modes.
13913 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13914 $(link-libm).
13915
19fcedd5
AM
139162012-12-09 Allan McRae <allan@archlinux.org>
13917
1e9d84cd 13918 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13919
8bbfd2f1
JM
139202012-09-11 Joseph Myers <joseph@codesourcery.com>
13921
13922 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13923 (_G_int32_t): Likewise.
13924 (_G_uint16_t): Likewise.
13925 (_G_uint32_t): Likewise.
13926 (_G_HAVE_BOOL): Likewise.
13927 (_G_HAVE_ATEXIT): Likewise.
13928 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13929 (_G_HAVE_IO_FILE_OPEN): Likewise.
13930 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13931 (_G_int32_t): Likewise.
13932 (_G_uint16_t): Likewise.
13933 (_G_uint32_t): Likewise.
13934 (_G_HAVE_BOOL): Likewise.
13935 (_G_HAVE_ATEXIT): Likewise.
13936 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13937 (_G_HAVE_IO_FILE_OPEN): Likewise.
13938 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13939 (_G_int32_t): Likewise.
13940 (_G_uint16_t): Likewise.
13941 (_G_uint32_t): Likewise.
13942 (_G_HAVE_BOOL): Likewise.
13943 (_G_HAVE_ATEXIT): Likewise.
13944 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13945 (_G_HAVE_IO_FILE_OPEN): Likewise.
13946
b1dc5912
L
139472012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13948
13949 * csu/libc-tls.c: Update copyright years.
13950
0e886ef9
JM
139512012-09-10 Joseph Myers <joseph@codesourcery.com>
13952
28361c5e
JM
13953 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13954 [!_G_USING_THUNKS]: Remove conditional code.
13955 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13956 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13957
0e886ef9
JM
13958 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13959 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13960 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13961 (_G_VTABLE_LABEL_PREFIX): Likewise.
13962 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13963 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13964 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13965 (_G_VTABLE_LABEL_PREFIX): Likewise.
13966 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13967 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13968 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13969 (_G_VTABLE_LABEL_PREFIX): Likewise.
13970 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13971
bcba7aa2
L
139722012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13973
13974 * libio/Makefile: Include ../Makeconfig before tests.
13975 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13976 only if $(build-shared) is yes.
13977
06585ee8
L
13978 * iconv/gconv_db.c: Update copyright years.
13979
80ccd52c
LD
139802012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13981
13982 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13983 unwind info if defined PIC. Fix special cases description.
13984 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13985
13986 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13987 DP_HI_MASK entry.
13988 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13989
691bc9c1
L
139902012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13991
3d9b46b3
L
13992 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13993
de2139a9
L
13994 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13995 is NULL.
13996
5ca78dd0
L
13997 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13998 (LDLIBS-tst-chk4): This.
13999 (LDFLAGS-tst-chk5): Renamed to ...
14000 (LDLIBS-tst-chk5): This.
14001 (LDFLAGS-tst-chk6): Renamed to ...
14002 (LDLIBS-tst-chk6): This.
14003 (LDFLAGS-tst-lfschk4): Renamed to ...
14004 (LDLIBS-tst-lfschk4): This.
14005 (LDFLAGS-tst-lfschk5): Renamed to ...
14006 (LDLIBS-tst-lfschk5): This.
14007 (LDFLAGS-tst-lfschk6): Renamed to ...
14008 (LDLIBS-tst-lfschk6): This.
14009
691bc9c1
L
14010 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14011 on $(common-objpfx)soversions.mk.
14012
65cafb1c
JM
140132012-09-07 Joseph Myers <joseph@codesourcery.com>
14014
14015 [BZ #10014]
14016 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14017 example host name.
14018
c78ab094
SP
140192012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14020
14021 * malloc/arena.c (arena_get_retry): New function that gets
14022 another arena for the caller to try its request on.
14023 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14024 current arena cannot fulfill the request.
14025 (__libc_memalign): Likewise.
14026 (__libc_memalign): Likewise.
14027 (__libc_pvalloc): Likewise.
14028 (__libc_calloc): Likewise.
14029
01f49f59
JT
140302012-09-05 John Tobey <john.tobey@gmail.com>
14031
14032 [BZ #13542]
14033 * manual/arith.texi (Operations on Complex): Fix description
14034 of carg branch cut.
14035
4c23fed5
JM
140362012-09-06 Joseph Myers <joseph@codesourcery.com>
14037
1d3c8572
JM
14038 [BZ #10014]
14039 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14040 host name.
14041
4c23fed5
JM
14042 [BZ #10038]
14043 * manual/memory.texi (Memory): Make order of menu items match
14044 order of sections.
14045
04570aaa
L
140462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14047
14048 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14049 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14050 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14051
b80af2f4
L
140522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14053
14054 * csu/libc-tls.c (static_dtv): Renamed to ...
14055 (_dl_static_dtv): This. Make it global.
14056 (_dl_initial_dtv): Removed.
14057 (__libc_setup_tls): Updated.
14058 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14059 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14060 DL_INITIAL_DTV.
14061
2abe9f15
PM
140622012-09-06 Petr Machata <pmachata@redhat.com>
14063
14064 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14065 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14066 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14067 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14068
0948c3af
L
140692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14070
14071 [BZ #14545]
14072 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14073 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14074 freeing dtv[-1].
14075
a5055ad1
L
140762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14077
14078 [BZ #14544]
14079 * Makeconfig (link-static-before-libc): Replace $(+prector)
14080 with $(+prectorT).
14081 (link-static-after-libc): Replace $(+postctor) with
14082 $(+postctorT).
14083 (link-bounded): Replace $(+prector)/$(+postctor) with
14084 $(+prectorT)/$(+postctorT).
14085 (+prectorT): New macro.
14086 (+postctorT): Likewise.
14087
ed8c2ecd
JM
140882012-09-06 Joseph Myers <joseph@codesourcery.com>
14089
14090 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14091 (round_str): Handle values above the maximum for IBM long double
14092 as inexact.
14093 * stdlib/tst-strtod-round.c (tests): Regenerated.
14094
14c996c8
AK
140952012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14096
14097 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14098 assembler flag.
14099 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14100 zarch_nohighgprs around the zarch optimized routines.
14101 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14102 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14103 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14104 for zarch.
14105
430d6ce6
DM
141062012-09-05 David S. Miller <davem@davemloft.net>
14107
14108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14109
ff04dda4
DM
14110 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14111 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14112 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14113 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14114 entries.
14115
24d4e01b
AO
141162012-09-05 Alexandre Oliva <aoliva@redhat.com>
14117
14118 * malloc/arena.c: Fold copyright years.
14119 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14120
61d58174
AO
141212012-09-05 Alexandre Oliva <aoliva@redhat.com>
14122
14123 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14124
20196a5e
AO
141252012-09-05 Alexandre Oliva <aoliva@redhat.com>
14126
14127 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14128
5c447383
AO
141292012-09-05 Alexandre Oliva <aoliva@redhat.com>
14130
14131 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14132 change internal state upon failure.
14133
fad64255
AO
141342012-09-05 Alexandre Oliva <aoliva@redhat.com>
14135
14136 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14137 * malloc/memusage.c (mmap): Likewise.
14138 (mmap64, mremap): Likewise. Adjust name in comment.
14139
1ffb8c90
SP
141402012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14141
14142 * libio/fileops.c: Fix typos in comments.
14143 * libio/oldfileops.c: Likewise.
14144 * libio/wfileops.c: Likewise.
14145
6ef9cc37
SP
141462012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14147
14148 [BZ #1349]
14149 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14150 (tst-malloc-usable-ENV): Set environment for test case.
14151 * malloc/hooks.c (malloc_check_get_size): New function to get
14152 requested size.
14153 * malloc/malloc.c (musable): Use malloc_check_get_size.
14154 * malloc/tst-malloc-usable.c: New test case.
14155
4d038ae3
AS
141562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14157
14158 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14159
c4e85184
AM
141602012-09-05 Allan McRae <allan@archlinux.org>
14161
b9dafc56 14162 [BZ #13966]
c4e85184
AM
14163 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14164 determine header location.
14165 * configure: Regenerated.
14166
e1343020
AS
141672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14168
14169 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14170 float format.
14171 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14172 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14173 format.
e1343020
AS
14174 (test): Regenerate.
14175
0a9f1987
DM
141762012-09-04 David S. Miller <davem@davemloft.net>
14177
14178 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14179 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14180 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14181
29237804
FW
141822012-09-04 Florian Weimer <fweimer@redhat.com>
14183
14184 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14185 failures.
14186
edb3cb88
FW
14187 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14188
60160d83
JM
141892012-09-04 Joseph Myers <joseph@codesourcery.com>
14190
14191 [BZ #9914]
14192 * libio/iogetdelim.c: Include <limits.h>.
14193 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14194 + len + 1 would overflow.
14195
bcd6c8dc
AJ
141962012-09-03 Andreas Jaeger <aj@suse.de>
14197
14198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14199 * sysdeps/i386/fpu/libm-test-ulps: Update.
14200
4ffffbd2
LD
142012012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14202
14203 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14204 Add s_sinf-sse2, s_conf-sse2.
14205
14206 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14207 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14208 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14209 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14210
14211 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14212 for using routine as __sinf_ia32.
14213 Use macro for function declaration and weak_alias.
14214 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14215 for using routine as __cosf_ia32.
14216 Use macro for function declaration and weak_alias.
14217
14218 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14219 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14220
14221 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14222 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14224
14225 * math/libm-test.inc (cos_test): Add more test cases.
14226 (sin_test): Likewise.
14227 (sincos_test): Likewise.
14228
511fa286
AK
142292012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14230
14231 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14232 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14233 hidden.
14234 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14235
5f30cfec
L
142362012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14237
14238 [BZ #14538]
14239 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14240 first element of the GOT.
14241 (elf_machine_load_address): Return the difference between
14242 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14243
0786794f
AM
142442012-09-01 Allan McRae <allan@archlinux.org>
14245
5f30cfec
L
14246 [BZ #13412]
14247 * configure.in (AWK): Require gawk version 3.0 or later.
14248 * configure: Regenerated.
0786794f 14249
26889eac
JM
142502012-09-01 Joseph Myers <joseph@codesourcery.com>
14251
14252 * sysdeps/unix/sysv/linux/kernel-features.h
14253 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14254 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14255 [__NR_clock_getres]: Make code unconditional.
14256 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14257 (clock_getcpuclockid): Remove code left unreachable by removal of
14258 conditionals.
14259 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14260 code unconditional.
14261 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14262 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14263 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14264 Make code unconditional.
14265 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14266 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14267 * sysdeps/unix/sysv/linux/clock_settime.c
14268 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14269 conditional code.
14270 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14271 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14272
d22e28b0
L
142732012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14274
14275 [BZ #14476]
14276 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14277 scripts/test-installation.pl.
14278
14279 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14280 and $ld_so_version if it is set.
14281
050af9c4
SP
142822012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14283
14284 [BZ #14516]
14285 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14286 failure if reading from procfs failed.
14287 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14288
ad845c0b
JM
142892012-08-27 Joseph Myers <joseph@codesourcery.com>
14290
14291 * sysdeps/unix/sysv/linux/kernel-features.h
14292 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14293 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14294 Remove conditional code.
14295 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14296 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14297 Remove conditional code.
14298 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14299 * sysdeps/unix/sysv/linux/i386/fxstat.c
14300 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14301 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14302 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14303 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14304 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14305 * sysdeps/unix/sysv/linux/i386/lxstat.c
14306 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14307 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14308 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14309 Remove conditional code.
14310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14311 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14312 Remove conditional code.
14313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14314 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14315 <kernel-features.h>.
14316 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14317 Remove.
14318 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14319 Remove conditional code.
14320 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14321 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14322 Remove conditional.
14323
5dbf56af
MF
143242012-08-27 Mike Frysinger <vapier@gentoo.org>
14325
14326 [BZ #5400]
14327 * NEWS: Add fixed bug number.
14328
d6e70f43
JM
143292012-08-27 Joseph Myers <joseph@codesourcery.com>
14330
7efb4737
JM
14331 [BZ #14519]
14332 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14333 underflowing exponent in case of negative sign.
14334 * stdlib/tst-strtod-round-data: Add more tests.
14335 * stdlib/tst-strtod-round.c (tests): Regenerated.
14336
af92131a
JM
14337 [BZ #3479]
14338 * stdlib/strtod_l.c (NDIG): Remove.
14339 (HEXNDIG): Likewise.
14340 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14341 smallest representable value.
14342 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14343 lie within an exact representation of 1/2 ulp of the result.
14344 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14345 unconditionally.
14346 (TENS_P9_IDX): Define unconditionally.
14347 (TENS_P9_SIZE): Likewise.
14348 (TENS_P10_IDX): Likewise.
14349 (TENS_P10_SIZE): Likewise.
14350 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14351 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14352 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14353 entries for 10^2^13 and 10^2^14.
14354 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14355 (TENS_P13_IDX): Define.
14356 (TENS_P13_SIZE): Likewise.
14357 (TENS_P14_IDX): Likewise.
14358 (TENS_P14_SIZE): Likewise.
14359 (_fpioconst_pow10): Change array size to
14360 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14361 unconditional.
14362 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14363 1024]: Add entries for 10^2^13 and 10^2^14.
14364 [LAST_POW10 > _LAST_POW10]: Remove #error.
14365 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14366 (_fpioconst_pow10): Change array size to
14367 FPIOCONST_POW10_ARRAY_SIZE.
14368 * stdlib/gen-fpioconst.c: New file.
14369 * stdlib/gen-tst-strtod-round.c: Likewise.
14370 * stdlib/tst-strtod-round-data: Likewise.
14371 * stdlib/tst-strtod-round.c: Likewise.
14372 * stdlib/Makefile (tests): Add tst-strtod-round.
14373
d6e70f43
JM
14374 [BZ #14459]
14375 * stdlib/strtod_l.c: Include <stdint.h>.
14376 (NDEBUG): Do not define.
14377 (round_and_return): Change EXPONENT parameter to type intmax_t.
14378 Rearrange calculations to avoid internal overflow possibilities.
14379 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14380 Rearrange calculations to avoid internal overflow possibilities.
14381 Assert that number fits inside MPNSIZE limbs.
14382 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14383 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14384 calculations and add assertions to avoid internal overflow
14385 possibilities. Add casts to avoid signed/unsigned operations.
14386 * stdlib/tst-strtod-overflow.c: New file.
14387 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14388
1f529f7d
MP
143892012-08-25 Marek Polacek <polacek@redhat.com>
14390
14391 * time/time.h: Fix some typos in comments.
14392
59a629f1
RM
143932012-08-23 Roland McGrath <roland@hack.frob.com>
14394
14395 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14396 * posix/tst-rfc3484-2.c: Likewise.
14397 * posix/tst-rfc3484-3.c: Likewise.
14398
d3bafbc9
SM
143992012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14400
14401 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14402 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14403
4efcc022
JM
144042012-08-23 Joseph Myers <joseph@codesourcery.com>
14405
14406 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14407 #include of fxstatat64.c.
14408
3cc3ef96
RM
144092012-08-22 Roland McGrath <roland@hack.frob.com>
14410
f04e2132
RM
14411 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14412 * shadow/getspent_r.c: Likewise.
14413 * shadow/getspnam.c: Likewise.
14414 * shadow/getspnam_r.c: Likewise.
14415 * gshadow/getsgent.c: Likewise.
14416 * gshadow/getsgent_r.c: Likewise.
14417 * gshadow/getsgnam.c: Likewise.
14418 * gshadow/getsgnam_r.c: Likewise.
14419 * inet/getnetbyad.c: Likewise.
14420 * inet/getnetbyad_r.c: Likewise.
14421 * inet/getnetbynm.c: Likewise.
14422 * inet/getnetbynm_r.c: Likewise.
14423 * inet/getnetent.c: Likewise.
14424 * inet/getnetent_r.c: Likewise.
14425 * inet/getproto.c: Likewise.
14426 * inet/getproto_r.c: Likewise.
14427 * inet/getprtent.c: Likewise.
14428 * inet/getprtent_r.c: Likewise.
14429 * inet/getprtname.c: Likewise.
14430 * inet/getprtname_r.c: Likewise.
14431 * inet/getrpcbyname.c: Likewise.
14432 * inet/getrpcbyname_r.c: Likewise.
14433 * inet/getrpcbynumber.c: Likewise.
14434 * inet/getrpcbynumber_r.c: Likewise.
14435 * inet/getrpcent.c: Likewise.
14436 * inet/getrpcent_r.c: Likewise.
14437 * inet/getaliasent.c: Likewise.
14438 * inet/getaliasent_r.c: Likewise.
14439 * inet/getaliasname.c: Likewise.
14440 * inet/getaliasname_r.c: Likewise.
14441 * nscd/getgrgid_r.c: Likewise.
14442 * nscd/getgrnam_r.c: Likewise.
14443 * nscd/gethstbyad_r.c: Likewise.
14444 * nscd/gethstbynm3_r.c: Likewise.
14445 * nscd/getpwnam_r.c: Likewise.
14446 * nscd/getpwuid_r.c: Likewise.
14447 * nscd/getsrvbynm_r.c: Likewise.
14448 * nscd/getsrvbypt_r.c: Likewise.
14449 * nscd/gai.c: Likewise.
14450
c53d909c
RM
14451 * configure.in (build_nscd): New substituted variable, set
14452 by --disable-build-nscd and defaults to $use_nscd.
14453 * configure: Regenerated.
14454 * config.make.in (build-nscd): New substituted variable.
14455 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14456 Change conditional to require [$(build-nscd) = yes] as well.
14457 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14458
3cc3ef96
RM
14459 [BZ# 13696]
14460 * configure.in (use_nscd): New substituted variable, set by
14461 --disable-nscd. If enabled, define USE_NSCD.
14462 * configure: Regenerated.
14463 * config.h.in: Add USE_NSCD.
14464 * config.make.in (use-nscd): New substituted variable.
14465 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14466 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14467 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14468 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14469 (CFLAGS-getgrnam_r.c): Likewise.
14470 (CFLAGS-initgroups.c): Likewise.
14471 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14472 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14473 Variables removed.
14474 * inet/getnetgrent_r.c
14475 (nscd_setnetgrent): New function, broken out of ...
14476 (setnetgrent): ... here. Call it.
14477 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14478 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14479 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14480 * nscd/Makefile (routines, aux): Move definitions after include of
14481 Makeconfig. Conditionalize on [$(use-nscd) != no].
14482 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14483 Conditionalize on [USE_NSCD].
14484 (is_nscd, nscd_init_cb): Likewise.
14485 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14486 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14487 * nss/nss_db/db-init.c: Likewise.
14488 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14489 [USE_NSCD].
14490 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14491 (make_request): Use it.
14492 (cache_valid_p): New function.
14493 (__check_pf): Use it.
14494 * NEWS: Add item for --disable-nscd.
14495
07e51550
DL
144962012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14497
14498 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14499 to support sed >= 4.2.1-20-ga9bf076.
14500 * configure: Regenerated.
14501
35a5b08b
RM
145022012-08-22 Roland McGrath <roland@hack.frob.com>
14503
14504 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14505 Conditionalize whole body on [IREL].
14506
8479f23a
JL
145072012-08-22 Jeff Law <law@redhat.com>
14508
14509 [BZ #14505]
14510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14511 if the family is PF_UNSPEC.
14512
48da0b21
MF
145132012-08-22 Mike Frysinger <vapier@gentoo.org>
14514
14515 * Makerules (lib-version): Rename from V.
14516 (install-lib-nosubdir): Change V to lib-version.
14517
15d0da8c
WS
145182012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14519
14520 [BZ #14252]
14521 * powerpc32/power6/wcschr.c: New file.
14522 * powerpc32/power6/wcscpy.c: New file.
14523 * powerpc32/power6/wcsrchr.c: New file.
14524 * powerpc64/power6/wcschr.c: New file.
14525 * powerpc64/power6/wcscpy.c: New file.
14526 * powerpc64/power6/wcsrchr.c: New file.
14527
bcca0895
MK
145282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14529
14530 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14531 (two_way_short_needle): Use it.
5a4aaa33
RM
14532 * string/strstr.c (AVAILABLE1_USES_J): Define.
14533 * string/strcasestr.c: Likewise.
99677e57
MK
14534
14535 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14536 array references.
14537 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14538
400726de
MK
14539 [BZ #11607]
14540 * NEWS: Add an entry.
14541 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14542 define their defaults.
14543 (two_way_short_needle): Detect end-of-string on-the-fly.
14544 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14545 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14546 * string/bug-strcasestr1.c: New test.
14547 * string/Makefile: Run it.
14548
20a71f2c
MK
145492012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14550
14551 [BZ #11607]
14552 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14553 the first character.
14554
21ad0558
RM
145552012-08-21 Roland McGrath <roland@hack.frob.com>
14556
14557 * csu/elf-init.c (__libc_csu_irel): Function removed.
14558 * csu/libc-start.c (apply_irel): New function.
14559 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14560
0e1d9911
JM
145612012-08-21 Joseph Myers <joseph@codesourcery.com>
14562
14563 * sysdeps/unix/sysv/linux/kernel-features.h
14564 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14565 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14566 <kernel-features.h>.
14567 [__NR_fadvise64_64]: Make code unconditional.
14568 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14569 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14570 !__NR_fadvise64_64)]: Likewise.
14571 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14572 !__NR_fadvise64_64))]: Likewise.
14573 [__NR_fadvise64]: Make code unconditional.
14574 [!__NR_fadvise64]: Remove conditional code.
14575 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14576 <kernel-features.h>.
14577 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14578 unconditional.
14579 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14580 conditional code.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14582 not include <kernel-features.h>.
14583 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14584 unconditional.
14585 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14586 conditional code.
14587 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14588 include <kernel-features.h>.
14589 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14590 unconditional.
14591 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14592 conditional code.
14593
14a50c9d
WS
145942012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14595
14596 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14597 slight instruction rearrangements per scrollpipe analysis.
14598 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14599
c0f4faf0
RM
146002012-08-20 Roland McGrath <roland@hack.frob.com>
14601
696da859
RM
14602 * manual/syslog.texi (syslog; vsyslog, closelog):
14603 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14604 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14605
c0f4faf0
RM
14606 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14607 DSOCAPS to match condition on defining it.
14608
348363b2
JM
146092012-08-20 Joseph Myers <joseph@codesourcery.com>
14610
a35cbf28
JM
14611 * sysdeps/unix/sysv/linux/kernel-features.h
14612 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14614 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14615 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14617 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14618 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14620 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14621 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14622
445f7ecd
JM
14623 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14624 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14625
348363b2
JM
14626 * sysdeps/unix/sysv/linux/kernel-features.h
14627 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14628 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14629 unconditional.
14630 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14631 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14632 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14633 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14634 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14635 Make code unconditional.
14636 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14637 (__mmap64) [!__NR_mmap2]: Likewise.
14638 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14639 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14640 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14641 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14642 [__NR_mmap2]: Make code unconditional.
14643 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14644 (__mmap64) [!__NR_mmap2]: Likewise.
14645
bc5bc0e5
AK
146462012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14647
14648 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14649
88d506de
AJ
146502012-08-18 Andreas Jaeger <aj@suse.de>
14651
14652 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14653
493387d2
MF
146542012-08-18 Mike Frysinger <vapier@gentoo.org>
14655
14656 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14657 * include/unistd.h (__have_sock_cloexec): Likewise.
14658 (__have_pipe2): Likewise.
14659 (__have_dup3): Likewise.
14660
a277af22
MF
146612012-08-18 Mike Frysinger <vapier@gentoo.org>
14662
14663 [BZ #9685]
14664 * include/unistd.h (__have_pipe2): Change define into an extern int.
14665 (__have_dup3): Likewise.
14666 * socket/have_sock_cloexec.c: Include fcntl.h.
14667 (__have_pipe2): New variable.
14668 (__have_dup3): Likewise.
14669
fdab8fd3
MF
146702012-08-17 Mike Frysinger <vapier@gentoo.org>
14671
14672 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14673
31035e80
MP
146742012-08-17 Marek Polacek <polacek@redhat.com>
14675
14676 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14677 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14678
3bd9e993
RM
146792012-08-17 Roland McGrath <roland@hack.frob.com>
14680
c91c505f
RM
14681 * configure.in: Add AC_SUBST for sysheaders.
14682 * configure: Regenerated.
14683 * config.make.in (sysheaders): New substituted variable.
14684
7c6f9d53
RM
14685 * sysdeps/unix/mkfifo.c: Moved ...
14686 * sysdeps/posix/mkfifo.c: ... here.
14687 * sysdeps/unix/mkfifoat.c: Moved ...
14688 * sysdeps/posix/mkfifoat.c: ... here.
14689
14690 * sysdeps/unix/utime.c: Moved ...
14691 * sysdeps/posix/utime.c: ... here.
14692
14693 * sysdeps/unix/time.c: Moved ...
14694 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14695 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14696 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14697
14698 * sysdeps/unix/nice.c: Moved ...
14699 * sysdeps/posix/nice.c: ... here.
14700
14701 * sysdeps/unix/alarm.c: Moved ...
14702 * sysdeps/posix/alarm.c: ... here.
14703
3bd9e993
RM
14704 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14705
d1f09384
JL
147062012-08-17 Jeff Law <law@redhat.com>
14707
14708 * intl/Makefile (codeset_mo): New variable.
14709 ($(codeset_mo)): New target.
14710 (tst-codeset.out): Depend on that. Remove explicit rule.
14711 (tst-gettext3.out, tst-gettext5.out): Likewise.
14712 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14713 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14714 * intl/tst-codeset.sh: Remove.
14715 * intl/tst-gettext3.sh: Likewise.
14716 * intl/tst-gettext5.sh: Likewise.
14717
2ae1ae5c
RM
147182012-08-17 Roland McGrath <roland@hack.frob.com>
14719
c31fdb83
RM
14720 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14721 * sysdeps/unix/syscalls.list: ... here.
14722
a0844057
RM
14723 * sysdeps/posix/getaddrinfo.c
14724 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14725 (gaiconf_init, gaiconf_reload): Use them.
14726 [!_STATBUF_ST_NSEC]
14727 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14728 Define using time_t rather than struct timespec.
14729
750c1f2a
RM
14730 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14731 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14732 Macros removed.
14733 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14734 [!NO_THREADS].
14735 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14736 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14737 Likewise.
14738
2ae1ae5c
RM
14739 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14740 __libc_cleanup_push argument.
14741
e66a42f5
RM
14742 * bits/param.h: New file.
14743 * misc/sys/param.h: New file.
14744 * include/sys/param.h: New file.
14745 * misc/Makefile (headers): Add bits/param.h.
14746 * sysdeps/generic/sys/param.h: File removed.
14747 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14748 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14749 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14750 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14751
b7c08a66
RM
14752 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14753 last change.
14754
b2e1c562
RM
14755 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14756 [_IO_MTSAFE_IO].
14757 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14758 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14759 New macros.
14760
c75ccd4c
RM
14761 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14762 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14763 rather than -D_IO_MTSAFE_IO conditionally.
14764 * stdio-common/Makefile (CPPFLAGS): Likewise.
14765 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14766 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14767 Use $(libio-mtsafe).
14768 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14769 of -D_IO_MTSAFE_IO.
14770 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14771 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14772 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14773 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14774 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14775 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14776 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14777 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14778 (CFLAGS-fread_u_chk.c): Likewise.
14779 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14780 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14781 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14782 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14783 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14784 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14785 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14786 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14787 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14788
14789 * libio/Makefile: Test [$(libc-reentrant) = yes]
14790 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14791
14792 * Makeconfig
14793 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14794 * sysdeps/pthread/configure: File removed.
14795 * sysdeps/pthread/Makeconfig: New file.
14796 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14797 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14798
d9195db8
GB
147992012-08-16 Gary Benson <gbenson@redhat.com>
14800
14801 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14802 unmapping the first object in a namespace.
14803
86466cd9
RM
148042012-08-16 Roland McGrath <roland@hack.frob.com>
14805
14806 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14807 (__internal_setnetgrent): ... this. Add internal_function to
14808 definition. Add libc_hidden_def.
14809 (setnetgrent): Update caller.
14810 (internal_endnetgrent): Renamed to ...
14811 (__internal_endnetgrent): ... this. Add internal_function to
14812 definition. Add libc_hidden_def.
14813 (endnetgrent): Update caller.
14814 (internal_getnetgrent_r): Renamed to ...
14815 (__internal_getnetgrent_r): ... this. Add internal_function to
14816 definition. Add libc_hidden_def.
14817 (__getnetgrent_r): Update caller.
14818 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14819
c3c8283c
JM
148202012-08-16 Joseph Myers <joseph@codesourcery.com>
14821
14822 * stdlib/longlong.h: Update from GCC.
14823
db1ee0a8
RM
148242012-08-16 Roland McGrath <roland@hack.frob.com>
14825
14826 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14827 on _QL, which is set by umul_ppmm but never used.
14828 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14829 variables, which are set by GMP macros but never used.
14830 * stdio-common/_itowa.c (_itowa): Likewise.
14831 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14832 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14833
30f69637
CD
148342012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14835
14836 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14837 struct La_sh_regs is not constant.
14838 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14839 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14840 and struct La_sparc64_regs are not constant.
14841
93a78ac4
JM
148422012-08-16 Joseph Myers <joseph@codesourcery.com>
14843
14844 * sysdeps/unix/sysv/linux/kernel-features.h
14845 (__ASSUME_POSIX_TIMERS): Remove.
14846 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14847 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14848 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14849 Make code unconditional.
14850 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14851 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14852 Make code unconditional.
14853 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14854 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14855 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14856 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14857 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14858 Make code unconditional.
14859 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14860 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14861 (__libc_missing_posix_timers): Remove.
14862
dd924cd7
RM
148632012-08-15 Roland McGrath <roland@hack.frob.com>
14864
4b4f2771
RM
14865 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14866 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14867
601c888b
RM
14868 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14869
176790a7
RM
14870 * elf/dl-sym.c: Include <stdlib.h>.
14871
329bc018
RM
14872 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14873 constants, which avoids warnings in 32-bit builds.
14874
e04e272d
RM
14875 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14876 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14877
952bf94a
RM
14878 * misc/lseek.c: File moved to ...
14879 * io/lseek.c: ... here.
14880
7c99b50a
RM
14881 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14882
dd924cd7
RM
14883 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14884 shifting LEN more than 31 bits at once.
14885
b3f479a8
LD
148862012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14887
14888 [BZ #14195]
8c4ae0d4
RM
14889 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14890 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14891 * string/test-strncasecmp.c (check1): Renamed to...
14892 (bz12205): ...this.
14893 (bz14195): Add new testcase for two empty input strings and N > 0.
14894 (test_main): Call new testcase, adapt for renamed function.
14895
9c55864e
AJ
148962012-08-15 Andreas Jaeger <aj@suse.de>
14897
14898 [BZ #14090]
14899 * crypt/md5test2.c: New test, based on test supplied by Serge
14900 Belyshev <belyshev@depni.sinp.msu.ru>.
14901 * crypt/Makefile (xtests): Add md5test-giant..
14902 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14903
02dcb6c5
PE
149042012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14905
14906 [BZ #14090]
14907 * crypt/md5.c (md5_process_block): Don't assume the buffer
14908 length is less than 2**32.
14909 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14910 length is less than 2**64.
14911
a3f95dcc
RM
149122012-08-15 Roland McGrath <roland@hack.frob.com>
14913
be75d758
RM
14914 * string/str-two-way.h: Include <sys/param.h>.
14915 (MAX): Macro removed.
14916
7312ca90
RM
14917 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14918 Move #define and #undef of memmove to just before and after
14919 including <string.h>.
14920
9a0a5486
RM
14921 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14922 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14923 and after including <string.h>. Move declarations of
14924 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14925 to before #include "string/memmove.c".
14926
67cc348d
RM
14927 * include/dirent.h: Declare __getdirentries.
14928
a3f95dcc
RM
14929 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14930 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14931
ca98e171
MF
149322012-08-14 Mike Frysinger <vapier@gentoo.org>
14933
14934 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14935 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14936 * sysdeps/i386/configure: Regenerated.
14937 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14938 STABS_CURRENT_FILE, and STABS_FUN.
14939 (END): Remove call to STABS_FUN_END.
14940 (STABS_CURRENT_FILE1): Delete.
14941 (STABS_CURRENT_FILE): Likewise.
14942 (STABS_FUN): Likewise.
14943 (STABS_FUN_END): Likewise.
14944 (STABS_FUN2): Likewise.
14945 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14946 * sysdeps/x86_64/configure: Regenerated.
14947
5908bf46
RM
149482012-08-14 Roland McGrath <roland@hack.frob.com>
14949
14950 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14951 * elf/dl-lookup.c: Likewise.
5908bf46 14952
f2c05b9e
JM
149532012-08-14 Joseph Myers <joseph@codesourcery.com>
14954
14955 * sysdeps/unix/sysv/linux/kernel-features.h
14956 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14957 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14958 unconditionally.
14959 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14960 unconditionally.
14961 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14962 condition on __ASSUME_CLONE_THREAD_FLAGS.
14963
e11f5155
AJ
149642012-08-14 Andreas Jaeger <aj@suse.de>
14965
14966 * sysdeps/i386/fpu/libm-test-ulps: Update.
14967
51a9ba86
MK
149682012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14969
2fdd4f78
AJ
14970 * include/atomic.h (atomic_exchange_and_add): Split into ...
14971 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14972 New atomic macros.
51a9ba86 14973
ba6cba9e
MT
149742012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14975
14976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14977
42443a47
JL
149782012-08-13 Jeff Law <law@redhat.com>
14979
14980 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14981 null byte in the output string.
14982
121dce05
JM
149832012-08-10 Joseph Myers <joseph@codesourcery.com>
14984
14985 * sysdeps/unix/sysv/linux/kernel-features.h
14986 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14987 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14988 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14989 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14990 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14991 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14992 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14993
bf51f568
JL
149942012-08-09 Jeff Law <law@redhat.com>
14995
14996 [BZ #13939]
14997 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14998 When avoid_arena is set, don't retry in the that arena. Pick the
14999 next one, whatever it might be.
15000 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15001 (arena_lock): Pass in new parameter to arena_get2.
15002 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15003 arena_get2.
15004 (__libc_malloc): Unify retrying after main arena failure with
15005 __libc_memalign version.
15006 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15007
f85fa270
L
150082012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15009
15010 [BZ #14166]
15011 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15012 to __redirect_strstr.
15013 (__strstr_sse42): Use typeof __redirect_strstr.
15014 (__strstr_ia32): Likewise.
15015 (__libc_strstr): New prototype.
15016 (strstr): Renamed to ...
15017 (__libc_strstr): This.
15018 (strstr): New strong alias of __libc_strstr.
15019 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15020 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15021 __redirect_time.
15022 Include <time.h>.
15023 (__libc_time): New prototype.
15024 (time_ifunc): Replace time with __libc_time.
15025 (time): New strong alias and hidden definition of __libc_time.
15026 (__GI_time): Remove strong alias.
15027 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15028 Include <stddef.h>.
15029 (memmove): Redefined to __redirect_memmove.
15030 (__memmove_sse2): Use typeof __redirect_memmove.
15031 (__memmove_ssse3): Likewise.
15032 (__memmove_ssse3_back): Likewise.
15033 (__libc_memmove): New prototype.
15034 (memmove): Renamed to ...
15035 (__libc_memmove): This.
15036 (memmove): New strong alias of __libc_memmove.
15037
33b4a91e
MS
150382012-08-08 Mark Salter <msalter@redhat.com>
15039
15040 * elf/elf.h
15041 (R_MN10300_TLS_GD): Define.
15042 (R_MN10300_TLS_LD): Likewise.
15043 (R_MN10300_TLS_LDO): Likewise.
15044 (R_MN10300_TLS_GOTIE): Likewise.
15045 (R_MN10300_TLS_IE): Likewise.
15046 (R_MN10300_TLS_LE): Likewise.
15047 (R_MN10300_TLS_DTPMOD): Likewise.
15048 (R_MN10300_TLS_DTPOFF): Likewise.
15049 (R_MN10300_TLS_TPOFF): Likewise.
15050 (R_MN10300_SYM_DIFF): Likewise.
15051 (R_MN10300_ALIGN): Likewise.
15052 (R_MN10300_NUM): Update.
15053
b36137f1
JM
150542012-08-08 Joseph Myers <joseph@codesourcery.com>
15055
15056 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15057 Remove.
15058
cdd915fd
RM
150592012-08-08 Roland McGrath <roland@hack.frob.com>
15060
a2433aac
RM
15061 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15062
cdd915fd
RM
15063 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15064 sysdeps/unix -> sysdeps/posix move.
15065 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15066
bf9b740a
AM
150672012-08-07 Allan McRae <allan@archlinux.org>
15068
15069 [BZ #14303]
15070 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15071 (SUNOS_CPP): Likewise.
15072 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15073 not found.
15074 (open_input): Call CPP using execvp.
15075
93df14ee
JM
150762012-08-07 Joseph Myers <joseph@codesourcery.com>
15077
15078 * sysdeps/unix/sysv/linux/kernel-features.h
15079 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15080 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15081 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15082 (__ASSUME_WAITID_SYSCALL): Likewise.
15083 * sysdeps/unix/sysv/linux/dl-execstack.c
15084 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15085 code unconditional.
15086 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15087 conditional code.
15088 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15089 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15090 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15091 code.
15092 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15093 unconditional.
15094 [__ASSUME_WAITID_SYSCALL]: Likewise.
15095 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15096
d34689de
RM
150972012-08-07 Roland McGrath <roland@hack.frob.com>
15098
a281decc
RM
15099 * sysdeps/unix/closedir.c: Renamed to ...
15100 * sysdeps/posix/closedir.c: ... here.
15101 * sysdeps/unix/dirfd.c: Renamed to ...
15102 * sysdeps/posix/dirfd.c: ... here.
15103 * sysdeps/unix/dirstream.h: Renamed to ...
15104 * sysdeps/posix/dirstream.h: ... here.
15105 * sysdeps/unix/fdopendir.c: Renamed to ...
15106 * sysdeps/posix/fdopendir.c: ... here.
15107 * sysdeps/unix/opendir.c: Renamed to ...
15108 * sysdeps/posix/opendir.c: ... here.
15109 * sysdeps/unix/readdir.c: Renamed to ...
15110 * sysdeps/posix/readdir.c: ... here.
15111 * sysdeps/unix/readdir_r.c: Renamed to ...
15112 * sysdeps/posix/readdir_r.c: ... here.
15113 * sysdeps/unix/rewinddir.c: Renamed to ...
15114 * sysdeps/posix/rewinddir.c: ... here.
15115 * sysdeps/unix/seekdir.c: Renamed to ...
15116 * sysdeps/posix/seekdir.c: ... here.
15117 * sysdeps/unix/telldir.c: Renamed to ...
15118 * sysdeps/posix/telldir.c: ... here.
15119 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15120 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15121 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15122 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15123
22895b47
RM
15124 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15125 * bits/fcntl.h: ... here.
15126
707a53b6
RM
15127 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15128 not 0.
15129 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15130 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15131 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15132 (struct flock): Move l_start, l_len to the beginning.
15133 Use __pid_t for l_pid.
15134 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15135 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15136 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15137 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15138 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15139 [__USE_LARGEFILE64] (struct flock64): New type.
15140 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15141
f0bd3e25
RM
15142 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15143 * bits/dirent.h: ... here.
15144
d34689de
RM
15145 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15146 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15147
6dad2c06
JM
151482012-08-07 Joseph Myers <joseph@codesourcery.com>
15149
15150 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15151 Change from 2.6.0 to 2.6.16.
15152 * sysdeps/unix/sysv/linux/configure: Regenerated.
15153 * sysdeps/unix/sysv/linux/kernel-features.h
15154 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15155 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15156 version.
15157 (__ASSUME_UTIMES): Likewise.
15158 (__ASSUME_CLONE_STOPPED): Remove.
15159 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15160 architectures, not kernel version.
15161 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15162 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15163 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15164 (__ASSUME_WAITID_SYSCALL): Likewise.
15165 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15166 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15167 * README: State 2.6.16 as minimum Linux kernel version. Do not
15168 refer to older versions.
15169
03af9520
RM
151702012-08-06 Roland McGrath <roland@hack.frob.com>
15171
8e49df1d
RM
15172 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15173 Define alphasort64 as an alias.
15174 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15175 Define versionsort64 as an alias.
15176 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15177 Define scandir64 as an alias.
15178 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15179 Define scandirat64 as an alias.
15180 * dirent/alphasort64.c (alphasort64):
15181 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15182 * dirent/versionsort64.c: Likewise.
15183 * dirent/scandir64.c: Likewise.
15184 * dirent/scandirat64.c: Likewise.
15185 * sysdeps/wordsize-64/alphasort.c: File removed.
15186 * sysdeps/wordsize-64/alphasort64.c: File removed.
15187 * sysdeps/wordsize-64/scandir.c: File removed.
15188 * sysdeps/wordsize-64/scandir64.c: File removed.
15189 * sysdeps/wordsize-64/scandirat.c: File removed.
15190 * sysdeps/wordsize-64/scandirat64.c: File removed.
15191 * sysdeps/wordsize-64/versionsort.c: File removed.
15192 * sysdeps/wordsize-64/versionsort64.c: File removed.
15193 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15194 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15195 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15196 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15197 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15198 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15199 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15200 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15201
15202 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15204 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15206 [defined __arch64__ || defined __sparcv9]
15207 (__INO_T_MATCHES_INO64_T): New macro.
15208 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15209 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15210 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15211 * sysdeps/unix/sysv/linux/bits/dirent.h
15212 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15213 (_DIRENT_MATCHES_DIRENT64): New macro.
15214
03af9520
RM
15215 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15216 Define lockf64 as an alias.
15217 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15218 Define fseeko64 as an alias.
15219 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15220 Define ftello64 as an alias.
15221 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15222 Define _IO_fgetpos64 and fgetpos64 as aliases.
15223 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15224 Define _IO_fsetpos64 and fsetpos64 as aliases.
15225 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15226 Conditionalize body on this.
15227 * libio/fseeko64.c: Likewise.
15228 * libio/ftello64.c: Likewise.
15229 * libio/iofgetpos64.c: Likewise.
15230 * libio/iofsetpos64.c: Likewise.
15231 * sysdeps/wordsize-64/lockf.c: File removed.
15232 * sysdeps/wordsize-64/lockf64.c: File removed.
15233 * sysdeps/wordsize-64/fseeko.c: File removed.
15234 * sysdeps/wordsize-64/fseeko64.c: File removed.
15235 * sysdeps/wordsize-64/ftello.c: File removed.
15236 * sysdeps/wordsize-64/ftello64.c: File removed.
15237 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15238 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15239 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15240 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15241 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15242 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15243 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15244 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15245 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15246 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15247 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15248 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15249 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15250 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15251
15252 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15253 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15254 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15255 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15256 [defined __arch64__ || defined __sparcv9]
15257 (__OFF_T_MATCHES_OFF64_T): New macro.
15258 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15259 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15260 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15261 (__OFF_T_MATCHES_OFF64_T): New macro.
15262
c5757acd
L
152632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15264
15265 * stdlib/secure-getenv.c (__secure_getenv): Replace
15266 GLIBC_2_16 with GLIBC_2_17.
15267
3a31811e
L
152682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15269
15270 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15271 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15272
faa2bccb
DM
152732012-08-03 David S. Miller <davem@davemloft.net>
15274
15275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15276
85fe1997
JM
152772012-08-03 Joseph Myers <joseph@codesourcery.com>
15278
15279 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15280 Remove.
15281 (__ASSUME_CORRECT_SI_PID): Likewise.
15282 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15283 (__ASSUME_TMPFS_NAME): Likewise.
15284 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15285 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15286 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15287 (HAVE_AUX_SECURE): Make definition unconditional.
15288 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15289 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15290
4f75b7a0
RM
152912012-08-03 Roland McGrath <roland@hack.frob.com>
15292
15293 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15294 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15295 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15296 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15297 __eloop_threshold instead of SYMLOOP_MAX.
15298
15299 * sysdeps/generic/eloop-threshold.h: New file.
15300 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15301 of MAXSYMLINKS.
15302 * elf/chroot_canon.c (chroot_canon): Likewise.
15303
7aab07e4
JM
153042012-08-03 Joseph Myers <joseph@codesourcery.com>
15305
15306 [BZ #13717]
15307 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15308 Change to 2.6.0 everywhere.
15309 * sysdeps/unix/sysv/linux/configure: Regenerated.
15310 * sysdeps/unix/sysv/linux/kernel-features.h
15311 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15312 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15313 kernel versions.
15314 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15315 (__ASSUME_FUTEX_REQUEUE): Remove.
15316 (__ASSUME_STATFS64): Define unconditionally.
15317 (__ASSUME_AT_SECURE): Likewise.
15318 (__ASSUME_CORRECT_SI_PID): Likewise.
15319 (__ASSUME_TGKILL): Define without depending on kernel version for
15320 i386.
15321 (__ASSUME_UTIMES): Likewise.
15322 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15323 kernel version.
15324 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15325 (__ASSUME_TMPFS_NAME): Likewise.
15326 * README: Update reference to Linux kernel versions.
15327
b67e9372
MP
153282012-08-02 Marek Polacek <polacek@redhat.com>
15329
1f529f7d 15330 [BZ# 14150]
b67e9372
MP
15331 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15332 libc_cv_asm_type_prefix with %.
15333 * configure: Regenerated.
d2441631
RM
15334 * include/libc-symbols.h: Remove comment about
15335 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15336 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15337 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15338 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15339 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15340 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15341 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15342 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15343 * elf/tst-unique2mod1.c: Likewise.
15344 * elf/tst-unique1mod2.c: Likewise.
15345 * elf/tst-unique1mod1.c: Likewise.
15346 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15347 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15348 Replace ASM_TYPE_DIRECTIVE with .type.
15349 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15350 * sysdeps/i386/sysdep.h: Likewise.
15351 * sysdeps/x86_64/sysdep.h: Likewise.
15352 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15354 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15355 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15356 * sysdeps/powerpc/powerpc32/sysdep.h:
15357 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15358 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15359 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15360 * sysdeps/i386/fpu/e_powf.S: Likewise.
15361 * sysdeps/i386/fpu/e_expl.S: Likewise.
15362 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15363 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15364 * sysdeps/i386/fpu/e_pow.S: Likewise.
15365 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15366 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15367 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15368 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15369 * sysdeps/i386/fpu/e_log2.S: Likewise.
15370 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15371 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15372 * sysdeps/i386/fpu/e_powl.S: Likewise.
15373 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15374 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15375 * sysdeps/i386/fpu/e_logl.S: Likewise.
15376 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15377 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15378 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15379 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15380 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15381 * sysdeps/i386/fpu/e_log.S: Likewise.
15382 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15383 * sysdeps/i386/fpu/e_logf.S: Likewise.
15384 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15385 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15386 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15387 * sysdeps/i386/fpu/e_log10.S: Likewise.
15388 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15389 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15390 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15391 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15392 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15393 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15394 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15395 * sysdeps/i386/i686/strtok.S: Likewise.
15396 * sysdeps/i386/i386-mcount.S: Likewise.
15397 * sysdeps/i386/strtok.S: Likewise.
15398 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15399 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15400 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15401 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15402 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15403 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15404 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15405 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15406 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15407 * sysdeps/x86_64/_mcount.S: Likewise.
15408 * sysdeps/x86_64/strtok.S: Likewise.
15409 * sysdeps/sh/_mcount.S: Likewise.
15410
2747bf9a
RM
154112012-08-01 Roland McGrath <roland@hack.frob.com>
15412
15413 * libio/iofopen.c: Include <fcntl.h>.
15414 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15415 (_IO_fopen64, fopen64): Define as aliases.
15416 * libio/iofopen64.c: Include <fcntl.h>.
15417 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15418 Conditionalize body on this.
15419 * sysdeps/wordsize-64/iofopen.c: File removed.
15420 * sysdeps/wordsize-64/iofopen64.c: File removed.
15421
3fb791b8
MP
154222012-08-01 Marek Polacek <polacek@redhat.com>
15423
15424 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15425 Use dlfcn directly instead of a variable.
15426 (binfmt-subdir): Do not define.
15427 (dlfcn): Likewise.
15428
a9f1039f
JM
154292012-08-01 Joseph Myers <joseph@codesourcery.com>
15430
23bddc06
JM
15431 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15432 Remove all definitions.
15433 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15434 <kernel-features.h>.
15435 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15436 (miss_F_GETOWN_EX): Remove all definitions.
15437 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15438 macro definition.
15439 [!__ASSUME_FCNTL64]: Remove conditional code.
15440 [__ASSUME_FCNTL64]: Make code unconditional.
15441 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15442 <kernel-features.h>.
15443 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15444 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15445 (lockf64) [__NR_fcntl64]: Make code unconditional.
15446 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15447
a9f1039f
JM
15448 * sysdeps/unix/sysv/linux/kernel-features.h
15449 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15450 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15451 Make code unconditional.
15452 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15453 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15455 [__NR_vfork]: Make code unconditional.
15456 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15457 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15459 [__NR_vfork]: Make code unconditional.
15460 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15461 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15462
09c0ee5f
RM
154632012-08-01 Roland McGrath <roland@hack.frob.com>
15464
48aec5b9
RM
15465 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15466 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15467
cd97c966
RM
15468 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15469 Define mkstemp64 as an alias.
3f55550c
RM
15470 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15471 Define mkstemps64 as an alias.
cd97c966
RM
15472 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15473 Define mkostemp64 as an alias.
b8625cfc
RM
15474 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15475 Define mkostemps64 as an alias.
cd97c966
RM
15476 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15477 Conditionalize body on this.
15478 * misc/mkostemp64.c: Likewise.
b8625cfc 15479 * misc/mkostemps64.c: Likewise.
3f55550c 15480 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15481 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15482 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15483 * sysdeps/wordsize-64/mkostemp.c: File removed.
15484 * sysdeps/wordsize-64/mkstemp.c: File removed.
15485 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15486 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15487 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15488 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15489
09c0ee5f
RM
15490 [BZ #14138]
15491 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15492 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15493 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15494 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15495
15496 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15497 compat_symbol macros from <shlib-compat.h> rather than the underlying
15498 default_symbol_version and symbol_version macros, so that DEFAULT
15499 lines in shlib-versions are respected.
15500 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15501
7e66ee51
FW
155022012-08-01 Florian Weimer <fweimer@redhat.com>
15503
15504 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15505 Declare with warn_unused_result.
15506 (setgid, setregid, setegid, setresgid): Likewise.
15507 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15508 Likewise.
15509 * WUR-REPORT: Remove set*id functions.
15510
d2a54255
PT
155112012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15512
15513 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15514
7ecdb005
RM
155152012-07-31 Roland McGrath <roland@hack.frob.com>
15516
b4180a5e 15517 [BZ #10191]
789bd351
RM
15518 * include/sys/socket.h (__libc_accept, __libc_accept4):
15519 Add attribute_hidden.
15520 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15521
40ce302d
RM
15522 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15523 use of PTR_MANGLE.
15524 * inet/getnetgrent_r.c (setup): Likewise.
15525
7ecdb005
RM
15526 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15527
e2eabb2c
DM
155282012-07-31 David S. Miller <davem@davemloft.net>
15529
15530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15531
d0419dbf
JM
155322012-07-31 Joseph Myers <joseph@codesourcery.com>
15533
15534 [BZ #13629]
15535 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15536 value between 1.0 and 2.0 and smaller part has absolute value less
15537 than 1.0.
15538 * math/s_clog10.c (__clog10): Likewise.
15539 * math/s_clog10f.c (__clog10f): Likewise.
15540 * math/s_clog10l.c (__clog10l): Likewise.
15541 * math/s_clogf.c (__clogf): Likewise.
15542 * math/s_clogl.c (__clogl): Likewise.
15543 * math/libm-test.inc (clog_test): Add more tests.
15544 (clog10_test): Likewise.
15545 * sysdeps/i386/fpu/libm-test-ulps: Update.
15546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15547
2bc13872
FW
155482012-07-31 Florian Weimer <fweimer@redhat.com>
15549
15550 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15551 Exit with zero in case no suitable GID is found, and write a
15552 message to standard error.
15553
bea9b193
RM
155542012-07-30 Roland McGrath <roland@hack.frob.com>
15555
15556 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15557 rather than to 1.
15558 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15559 (MAXPATHLEN): Removed.
15560 (NOGROUP, NODEV): New macros.
15561 (setbit, clrbit, isset, isclr): New macros.
15562 (howmany, roundup, powerof2): New macros.
15563 (DEV_BSIZE): New macro.
15564
15565 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15566 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15567
15568 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15569 definition on [!__NO_LONG_DOUBLE_MATH].
15570
15571 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15572 PTR_MANGLE and PTR_DEMANGLE.
15573
15574 * socket/accept4.c (accept4): Rename to __libc_accept4.
15575 Define accept4 as a weak alias.
15576
15577 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15578 on [_DIRENT_HAVE_D_TYPE].
15579 * io/ftw.c (ftw_dir): Likewise.
15580
15581 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15582
15583 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15584
15585 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15586 Use the BSD numbers rather than the arbitrary ones we had.
15587 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15588 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15589 (SIGXCPU, SIGXFSZ): New macros.
15590 (_NSIG): Now 32.
15591
15592 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15593 initializer on [_LIBC_REENTRANT].
15594
15595 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15596 definitions inside [_POSIX_MAPPED_FILES].
15597
15598 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15599
15600 * dirent/opendir.c: Include <fcntl.h>.
15601
15602 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15603 (__libc_getspecific): Likewise.
15604 (__libc_key_create): Likewise.
15605
15606 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15607 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15608 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15609 (tmpfile64): Define as alias.
15610 * sysdeps/wordsize-64/tmpfile.c: File removed.
15611 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15612 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15613 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15614
15615 * stdio-common/vfscanf.c: Include <stdbool.h>.
15616 * nss/makedb.c: Likewise.
15617 * stdio-common/_i18n_number.h: Likewise.
15618 * argp/argp-help.c: Likewise.
15619 * posix/wordexp.c: Likewise.
15620 * sysdeps/posix/spawni.c: Likewise.
15621 * nss/nss_files/files-initgroups.c: Likewise.
15622 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15623 * nss/nss_files/files-initgroups.c: Likewise.
15624 * nss/nss_db/db-netgrp.c: Likewise.
15625 * nss/nss_db/db-initgroups.c: Likewise.
15626 * io/fchmodat.c: Include <sys/stat.h>.
15627
15628 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15629 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15630
15631 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15632 [HAVE_MMAP].
15633
15634 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15635 Add multiple inclusion protection.
15636
e5abc686
DM
156372012-07-27 David S. Miller <davem@davemloft.net>
15638
15639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15640
815e6fa3
GB
156412012-07-27 Gary Benson <gbenson@redhat.com>
15642
15643 [BZ #14298]
15644 * elf/rtld.c: Include <stap-probe.h>.
15645 (dl_main): Added static probes "init_start" and "init_complete".
15646 * elf/dl-load.c: Include <stap-probe.h>.
15647 (lose): Take new parameter "nsid".
15648 Added static probe "map_failed".
15649 (_dl_map_object_from_fd): Pass namespace id to lose.
15650 Added static probe "map_start".
15651 (open_verify): Pass namespace id to lose.
15652 * elf/dl-open.c: Include <stap-probe.h>.
15653 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15654 and "reloc_complete".
15655 * elf/dl-close.c: Include <stap-probe.h>.
15656 (_dl_close_worker): Added static probes "unmap_start" and
15657 "unmap_complete".
15658 * elf/rtld-debugger-interface.txt: New file documenting the above.
15659
9f98c16c
RM
156602012-07-26 Roland McGrath <roland@hack.frob.com>
15661
15662 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15663 rather than a string variable.
15664 * sunrpc/rpc_main.c (h_output): Likewise.
15665 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15666
f3c22df3
PT
156672012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15668
15669 * inet/check_native.c: New file.
15670
3129cfc6
JM
156712012-07-26 Joseph Myers <joseph@codesourcery.com>
15672
da865e95
JM
15673 [BZ #13629]
15674 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15675 if larger part has absolute value 1.0.
15676 * math/s_clog10.c (__clog10): Likewise.
15677 * math/s_clog10f.c (__clog10f): Likewise.
15678 * math/s_clog10l.c (__clog10l): Likewise.
15679 * math/s_clogf.c (__clogf): Likewise.
15680 * math/s_clogl.c (__clogl): Likewise.
15681 * math/libm-test.inc (clog_test): Add more tests.
15682 (clog10_test): Likewise.
15683 * sysdeps/i386/fpu/libm-test-ulps: Update.
15684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15685
3129cfc6
JM
15686 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15687 (pltexit): Likewise.
15688 (La_regs): Likewise.
15689 (La_retval): Likewise.
15690 (int_retval): Likewise.
15691 Update #error for removed macros to refer only to definitions in
15692 tst-audit.h.
15693 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15694 macro.
15695 (pltexit): Likewise.
15696 (La_regs): Likewise.
15697 (La_retval): Likewise.
15698 (int_retval): Likewise.
15699 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15700 macro.
15701 (pltexit): Likewise.
15702 (La_regs): Likewise.
15703 (La_retval): Likewise.
15704 (int_retval): Likewise.
15705 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15706 macro.
15707 (pltexit): Likewise.
15708 (La_regs): Likewise.
15709 (La_retval): Likewise.
15710 (int_retval): Likewise.
15711 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15712 macro.
15713 (pltexit): Likewise.
15714 (La_regs): Likewise.
15715 (La_retval): Likewise.
15716 (int_retval): Likewise.
15717 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15718 macro.
15719 (pltexit): Likewise.
15720 (La_regs): Likewise.
15721 (La_retval): Likewise.
15722 (int_retval): Likewise.
15723 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15724 macro.
15725 (pltexit): Likewise.
15726 (La_regs): Likewise.
15727 (La_retval): Likewise.
15728 (int_retval): Likewise.
15729 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15730 macro definitions in tst-audit.h.
15731 * sysdeps/i386/tst-audit.h: New file.
15732 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15733 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15734 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15735 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15736 * sysdeps/sh/tst-audit.h: Likewise.
15737 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15738 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15739 * sysdeps/x86_64/tst-audit.h: Likewise.
15740
bfc07087
AJ
157412012-07-26 Andreas Jaeger <aj@suse.de>
15742
b1b2aaf8
AJ
15743 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15744 ptrace.
15745
15746 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15747 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15748 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15749 PTRACE_O_MASK.
15750 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15751 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15752 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15753
bfc07087
AJ
15754 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15755 value.
15756
15757 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15758 _sigsys.
15759 (si_call_addr, si_syscall, si_arch): Define new macro.
15760 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15761 _sigsys.
15762 (si_call_addr, si_syscall, si_arch): Define new marcro.
15763 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15764 _sigsys.
15765 (si_call_addr, si_syscall, si_arch): Define new macro.
15766 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15767 _sigsys.
15768 (si_call_addr, si_syscall, si_arch): Define new macro.
15769
89b4b02f
JM
157702012-07-25 Joseph Myers <joseph@codesourcery.com>
15771
15772 [BZ #13717]
15773 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15774 Change to 2.4.21 where previously 2.4.1.
15775 * sysdeps/unix/sysv/linux/configure: Regenerated.
15776 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15777 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15778 Linux kernel version.
15779 (__ASSUME_STD_AUXV): Remove.
15780 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15781 kernel version.
15782 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15783 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15784 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15785 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15786 (__ASSUME_NETLINK_SUPPORT): Likewise.
15787 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15788 (__no_netlink_support): Remove conditional definition.
15789 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15790 Remove.
15791 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15792 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15793 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15794 (if_nameindex_ioctl): Remove.
15795 (if_nameindex_netlink): Do not handle __no_netlink_support.
15796 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15797 code.
15798 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15799 Remove conditional code.
15800 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15801 code.
15802 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15803 unconditional.
15804 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15805 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15806 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15807 Remove.
15808 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15809 [!__ASSUME_STD_AUXV]: Remove conditional code.
15810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15811 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15812 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15814 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15815 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15816 code.
15817 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15819 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15820 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15821 conditional code.
15822 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15824 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15825 code.
15826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15827 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15828 conditional code.
15829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15830 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15831 code unconditional.
15832 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15833 conditional code.
15834 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15835 unconditional.
15836 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15837 conditional code.
15838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15839 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15840 unconditional.
15841 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15842 conditional code.
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15844 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15845 code unconditional.
15846 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15847 conditional code.
15848 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15849 unconditional.
15850 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15851 conditional code.
15852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15853 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15854 code unconditional.
15855 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15856 conditional code.
15857 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15858 unconditional.
15859 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15860 conditional code.
15861
842a39cd
AS
158622012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15863
15864 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15865 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15866 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15867 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15868 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15869 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15870 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15871 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15872 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15873 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15874 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15875 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15876 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15877 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15878 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15879 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15880 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15881 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15882 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15884 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15885 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15887
84b3fd84
FW
158882012-07-25 Florian Weimer <fweimer@redhat.com>
15889
15890 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15891 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15892 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15893 Introduce __libc_secure_getenv.
0c7936d5
FW
15894 * stdlib/Versions (2.17): Add secure_getenv
15895 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15896 * stdlib/secure-getenv.c: Rename __secure_getenv to
15897 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15898 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15899 * stdlib/tst-secure-getenv.c: New.
15900 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15901 * manual/startup.texi (Environment Access): Document
15902 secure_getenv.
84b3fd84
FW
15903 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15904 __libc_secure_getenv.
15905 * inet/ruserpass.c (ruserpass): Likewise.
15906 * malloc/mtrace.c (mtrace): Likewise.
15907 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15908 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15909 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15910 * sysdeps/posix/tempname.c: Likewise. Evaluate
15911 HAVE_SECURE_GETENV.
15912 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15913 __secure_getenv to __libc_secure_getenv.
84b3fd84 15914 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15916 Likewise.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15918 Likewise.
15919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15921 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15926
56e49b71
JM
159272012-07-25 Joseph Myers <joseph@codesourcery.com>
15928
15929 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15930 (struct La_i86_retval): Likewise.
15931 (struct La_x86_64_regs): Likewise.
15932 (struct La_x86_64_retval): Likewise.
15933 (struct La_x32_regs): Likewise.
15934 (struct La_x32_retval): Likewise.
15935 (struct La_ppc32_regs): Likewise.
15936 (struct La_ppc32_retval): Likewise.
15937 (struct La_ppc64_regs): Likewise.
15938 (struct La_ppc64_retval): Likewise.
15939 (struct La_sh_regs): Likewise.
15940 (struct La_sh_retval): Likewise.
15941 (struct La_s390_32_regs): Likewise.
15942 (struct La_s390_32_retval): Likewise.
15943 (struct La_s390_64_regs): Likewise.
15944 (struct La_s390_64_retval): Likewise.
15945 (struct La_sparc32_regs): Likewise.
15946 (struct La_sparc32_retval): Likewise.
15947 (struct La_sparc64_regs): Likewise.
15948 (struct La_sparc64_retval): Likewise.
15949 (struct audit_ifaces): Remove architecture-specific pltenter and
15950 pltexit members.
15951 * sysdeps/i386/ldsodefs.h: New file.
15952 * sysdeps/powerpc/ldsodefs.h: Likewise.
15953 * sysdeps/s390/ldsodefs.h: Likewise.
15954 * sysdeps/sh/ldsodefs.h: Likewise.
15955 * sysdeps/sparc/ldsodefs.h: Likewise.
15956 * sysdeps/x86_64/ldsodefs.h: Likewise.
15957
354691b7
MP
159582012-07-25 Marek Polacek <polacek@redhat.com>
15959
15960 [BZ #6808]
15961 * math/libm-test.inc (yn_test): Add another test.
15962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15963 to ERANGE when the result is +-Inf.
15964 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15965 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15966 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15967 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15968
bf9e2071
JM
159692012-07-24 Joseph Myers <joseph@codesourcery.com>
15970
15971 * conform/data/time.h-data (NULL): Use macro-constant. Require
15972 equal to 0.
15973 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15974 clock_t.
15975 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15976
57633811
TS
159772012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15978
15979 * configure.in <sysdeps resolving>: Correct printing
15980 Implies_before.
15981 * configure: Regenerate.
15982
c23c33b0
TS
159832012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15984
15985 * math/w_ilogb.c: Include <limits.h>.
15986 * math/w_ilogbl.c: Likewise.
15987
b5982523
JM
159882012-07-20 Joseph Myers <joseph@codesourcery.com>
15989
15990 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15991 va_copy. Document allowing for unavailable va_copy only as
15992 pre-C99 compatibility.
15993 * manual/string.texi (Copying and Concatenation): Use va_copy
15994 instead of __va_copy in concat example.
15995
ac4ea442
PT
159962012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15997
15998 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15999 (__sendto): Use create_address_port. Initialize APORT and deallocate
16000 it if not null.
16001
f98eafbd
PT
16002 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16003 with O_NOLINK passed to __file_name_lookup.
16004
898c7aab
PT
16005 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16006 with O_NOLINK passed to __file_name_lookup.
16007
0ced335a
PT
16008 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16009 negative N or less than NGIDS.
16010
b3404dbd
PT
16011 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16012 type to string_t. Set ERANGE as errno and return it if NAME is not big
16013 enough. Use memcpy instead of strncpy.
16014
0f48659e
JM
160152012-07-20 Joseph Myers <joseph@codesourcery.com>
16016
16017 * elf/Makefile (check-data): Remove.
16018 (localplt.data): New vpath directive.
16019 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16020 instead of $(check-data).
16021 * scripts/data/localplt-generic.data: Move to ...
16022 * sysdeps/generic/localplt.data: ... here.
16023 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16024 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16025 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16027 ... here.
16028 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16030 ... here.
16031 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16033 ... here.
16034 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16036 ... here.
16037 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16039 ... here.
16040 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16042 ... here.
16043
d37cbdaa
AZ
160442012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16045
16046 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16047 PPC32 and PPC64 files.
16048 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16049 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16050
46f85fc2
AK
160512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16052
16053 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16054 __makecontext_ret to ...
16055 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16056 ... here and call exit if uc_link is NULL. New file.
16057 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16058 __makecontext_ret.S.
16059 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16060 __makecontext_ret to ...
16061 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16062 ... here and call exit if uc_link is NULL. New file.
16063 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16064 __makecontext_ret.S.
16065
08f43f9b
AK
160662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16067
16068 * elf/elf.h (R_390_IRELATIVE): New definition.
16069 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16070 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16071 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16072 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16073 (elf_machine_lazy_rel): Likewise.
16074 * sysdeps/s390/dl-irel.h: New file.
16075 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16076 * sysdeps/s390/s390-64/memset.S: New asm code.
16077 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16078 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16079 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16080 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16081 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16082 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16083 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16084 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16085 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16086 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16087 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16088 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16089 * sysdeps/s390/s390-32/memset.S: New asm code.
16090 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16091
3b05db33
MP
160922012-07-17 Marek Polacek <polacek@redhat.com>
16093
16094 [BZ #14349]
16095 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16096 * sysdeps/s390/s390-64/configure.in: Likewise.
16097 * sysdeps/sparc/configure.in: Likewise.
16098 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16099 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16100 * sysdeps/i386/configure.in: Likewise.
16101 * sysdeps/x86_64/configure.in: Likewise.
16102 * sysdeps/sh/configure.in: Likewise.
16103 * sysdeps/s390/s390-32/configure: Regenerated.
16104 * sysdeps/s390/s390-64/configure: Likewise.
16105 * sysdeps/x86_64/configure: Likewise.
16106 * sysdeps/sh/configure: Likewise.
16107 * sysdeps/powerpc/powerpc64/configure: Likewise.
16108 * sysdeps/powerpc/powerpc32/configure: Likewise.
16109 * sysdeps/sparc/configure: Likwise.
16110 * sysdeps/i386/configure: Likewise.
16111
a66877c6
MP
16112 * elf/dl-open.c: Comment fixes.
16113
cfc82fd8
JM
161142012-07-17 Joseph Myers <joseph@codesourcery.com>
16115
bd29910a
JM
16116 * Makefile [CXX] (check-data): Remove.
16117 [CXX] (c++-types.data): New vpath directive.
16118 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16119 vpath. Do not allow for C++ type data being missing.
16120 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16121 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16122 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16123 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16124 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16125 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16126 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16128 ... here.
16129 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16131 ... here.
16132 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16134 ... here.
16135 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16137 ... here.
16138 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16140 ... here.
16141 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16143 ... here.
16144 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16146 ... here.
16147 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16149
cfc82fd8
JM
16150 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16151 definitions to architecture-specific files.
16152 (TLS_IE): Likewise.
16153 (TLS_LD): Likewise.
16154 (TLS_GD): Likewise.
16155 * sysdeps/i386/tls-macros.h: New file.
16156 * sysdeps/powerpc/tls-macros.h: Likewise.
16157 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16158 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16159 * sysdeps/sh/tls-macros.h: Likewise.
16160 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16161 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16162 * sysdeps/x86_64/tls-macros.h: Likewise.
16163
f7db3170
TS
161642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16165
07cbfc23
TS
16166 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16167 zero value for regular exit case.
16168
f7db3170
TS
16169 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16170 (__start_context): Preserve zero value for regular exit case.
16171
dc97c227
TS
161722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16173 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16174
16175 * manual/setjmp.texi (setcontext): Clarify normal process
16176 termination when uc_link is the null pointer.
16177 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16178 exit call.
16179
d0cd7d02
AS
161802012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16181
16182 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16183 preprocessor. Test for each exception mask separately.
16184
dd318934
AJ
161852012-07-16 Andreas Jaeger <aj@suse.de>
16186
16187 * po/ru.po: Update from translation team.
16188
8048311a
JM
161892012-07-15 Joseph Myers <joseph@codesourcery.com>
16190
16191 * conform/data/string.h-data (NULL): Use macro-constant. Require
16192 equal to 0.
16193 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16194 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16195 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16196 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16197 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16198
b637d46e
AJ
161992012-07-13 Andreas Jaeger <aj@suse.de>
16200
16201 * po/fr.po: Update from translation team.
16202
541428fe
MP
162032012-07-12 Marek Polacek <polacek@redhat.com>
16204
16205 [BZ #14173]
16206 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16207 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16208 loop condition.
16209
ec332e94
JM
162102012-07-12 Joseph Myers <joseph@codesourcery.com>
16211
16212 [BZ #13717]
16213 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16214 Change to 2.4.1 where previously 2.4.0.
16215 * sysdeps/unix/sysv/linux/configure: Regenerated.
16216 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16217 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16218 version.
16219 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16220 (__ASSUME_AT_CLKTCK): Remove.
16221 (__ASSUME_AT_PAGESIZE): Likewise.
16222 (__ASSUME_AT_XID): Likewise.
16223 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16224 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16225 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16226 unconditionally.
16227 (HAVE_AUX_PAGESIZE): Likewise.
16228 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16229 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16230 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16231
7b6e99be
JB
162322012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16233
16234 [BZ #14307]
16235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16236 the temporary buffer used to invoke __gethostbyname2_r,
16237 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16238 host_data / struct gaih_addrtuple.
16239 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16240 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16241 header file nss/nsswitch.h.
16242 * nss/nsswitch.h (global scope): Add definition of implementation
16243 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16244 resolv/nss_dns/dns-host.c).
16245
608404eb
AJ
162462012-07-11 Andreas Jaeger <aj@suse.de>
16247
16248 * po/fr.po: Update from translation team.
16249
71220aca
AJ
16250 * po/sv.po: Update from translation team
16251 * po/fr.po: Another update from translation team.
16252
28cfe843
AZ
162532012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16254
16255 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16256 for subnormals or multiply small sinh result by itself.
16257 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16259
6b90f981
DM
162602012-07-11 David S. Miller <davem@davemloft.net>
16261
16262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16263
c6825772
AS
162642012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16265
16266 [BZ #14347]
16267 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16268 (INTERNAL_MARK): Shift it here.
16269
7b8e0d49
MP
162702012-07-10 Marek Polacek <polacek@redhat.com>
16271
16272 [BZ #14151]
16273 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16274 libc_cv_asm_global_directive with .globl.
16275 * configure: Regenerated.
16276 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16277 with .globl.
16278 * sysdeps/i386/configure: Regenerated.
16279 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16280 with .globl.
16281 * sysdeps/x86_64/configure: Regenerated.
16282 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16283 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16284 * elf/tst-unique2mod2.c: Likewise.
16285 * elf/tst-unique2mod1.c: Likewise.
16286 * elf/tst-unique1mod2.c: Likewise.
16287 * elf/tst-unique1mod1.c: Likewise.
16288 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16289 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16290 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16291 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16292 * sysdeps/mach/sysdep.h: Likewise.
16293 * sysdeps/i386/sysdep.h: Likewise.
16294 * sysdeps/i386/i386-mcount.S: Likewise.
16295 * sysdeps/x86_64/_mcount.S: Likewise.
16296 * sysdeps/x86_64/sysdep.h: Likewise.
16297 * sysdeps/sh/_mcount.S: Likewise.
16298 * sysdeps/sh/sysdep.h: Likewise.
16299 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16300 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16301 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16302 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16303 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16304 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16305 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16306 * locale/localeinfo.h: Likewise.
16307 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16308 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16309
6c55cda3
RM
163102012-07-09 Roland McGrath <roland@hack.frob.com>
16311
16312 [BZ #14336]
16313 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16314 system".
16315 * manual/message.texi (The Uniforum approach): Likewise.
16316 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16317 (glibc iconv Implementation): Likewise.
16318
638a572e
JM
163192012-07-09 Joseph Myers <joseph@codesourcery.com>
16320
16321 [BZ #14337]
16322 * math/s_clog.c (__clog): Avoid scaling a value down where that
16323 could result in underflow.
16324 * math/s_clog10.c (__clog10): Likewise.
16325 * math/s_clog10f.c (__clog10f): Likewise.
16326 * math/s_clog10l.c (__clog10l): Likewise.
16327 * math/s_clogf.c (__clogf): Likewise.
16328 * math/s_clogl.c (__clogl): Likewise.
16329 * math/libm-test.inc (clog_test): Add more tests.
16330 (clog10_test): Likewise.
16331 * sysdeps/i386/fpu/libm-test-ulps: Update.
16332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16333
261f4859
AS
163342012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16335
0abaf3e4
AS
16336 [BZ #14283]
16337 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16338 by 7 not 8 to examine high bit of fractional part.
16339
261f4859
AS
16340 [BZ #14042]
16341 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16342 for call to __mcount_internal.
16343 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16344 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16345 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16346
f17ac40d
JM
163472012-07-06 Joseph Myers <joseph@codesourcery.com>
16348
9ad63c23
JM
16349 [BZ #14154]
16350 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16351 approximation for values within 0x1p-13f of an odd multiple of
16352 pi/4.
16353 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16354 exception. Add more tests.
16355 * sysdeps/i386/fpu/libm-test-ulps: Update.
16356
f17ac40d
JM
16357 [BZ #6778]
16358 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16359 inputs and return -1 for them. Do not check for +Inf in case not
16360 reachable for +Inf.
16361 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16362 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16363 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16364 and return -1 for them. Do not check for +Inf in case not
16365 reachable for +Inf.
16366 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16367 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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16372 spurious underflow.
16373 * sysdeps/i386/fpu/libm-test-ulps: Update.
16374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16375
fb21f89b
MF
163762012-07-06 Mike Frysinger <vapier@gentoo.org>
16377
16378 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16379
cdfe2c5e
JM
163802012-07-05 Joseph Myers <joseph@codesourcery.com>
16381
16382 [BZ #14157]
16383 [BZ #14331]
16384 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16385 could result in spurious underflow. Scale down values above
16386 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16387 * math/s_csqrtf.c (__csqrtf): Likewise.
16388 * math/s_csqrtl.c (__csqrtl): Likewise.
16389 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16390 spurious underflow.
16391 * sysdeps/i386/fpu/libm-test-ulps: Update.
16392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16393
70d35b67
AS
163942012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16395
704bc459
AS
16396 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16397 xopen-msg.sed.
16398 * catgets/xopen-msg.awk: New file.
16399 * catgets/xopen-msg.sed: Removed.
16400
70d35b67
AS
16401 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16402 po2text.sed.
16403 * intl/po2test.awk: New file.
16404 * intl/po2test.sed: Removed.
16405
ca61cf32
JM
164062012-07-04 Joseph Myers <joseph@codesourcery.com>
16407
16408 [BZ #14328]
16409 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16410 or multiply small sinh result by itself.
16411 * math/s_ctanf.c (__ctanf): Likewise.
16412 * math/s_ctanh.c (__ctanh): Likewise.
16413 * math/s_ctanhf.c (__ctanhf): Likewise.
16414 * math/s_ctanhl.c (__ctanhl): Likewise.
16415 * math/s_ctanl.c (__ctanl): Likewise.
16416 * math/libm-test.inc (ctan_test_tonearest): New function.
16417 (ctan_test_towardzero): Likewise.
16418 (ctan_test_downward): Likewise.
16419 (ctan_test_upward): Likewise.
16420 (ctanh_test_tonearest): Likewise.
16421 (ctanh_test_towardzero): Likewise.
16422 (ctanh_test_downward): Likewise.
16423 (ctanh_test_upward): Likewise.
16424 (main): Call these new functions.
16425 * sysdeps/i386/fpu/libm-test-ulps: Update.
16426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16427
ca48a46a
MF
164282012-07-03 Mike Frysinger <vapier@gentoo.org>
16429
16430 * .gitignore: Delete /ports entry.
16431
9d63d37d
AJ
164322012-07-03 Andreas Jaeger <aj@suse.de>
16433
16434 * po/bg.po: Update from translation team.
16435 * po/cs.po: Likewise.
16436 * po/de.po: Likewise.
16437 * po/hr.po: Likewise.
16438 * po/nl.pl: Likewise.
16439 * po/pl.po: Likewise.
16440 * po/vi.po: Likewise.
16441
370ca3d2
JM
164422012-07-03 Joseph Myers <joseph@codesourcery.com>
16443
95f5a9a8
JM
16444 * Makeconfig [!+link] (+link-before-libc): New variable.
16445 [!+link] (+link-after-libc): Likewise.
16446 [!+link] (+link-tests): Likewise.
16447 [!+link] (+link): Define in terms of $(+link-before-libc) and
16448 $(+link-after-libc).
16449 [!+link-static] (+link-static-before-libc): New variable.
16450 [!+link-static] (+link-static-after-libc): Likewise.
16451 [!+link-static] (+link-static-tests): Likewise.
16452 [!+link-static] (+link-static): Define in terms of
16453 $(+link-static-before-libc) and $(+link-static-after-libc).
16454 [build-shared] (link-libc-before-gnulib): New variable.
16455 [build-shared] (link-libc-tests): Likewise.
16456 [build-shared] (link-libc): Define in terms of
16457 $(link-libc-before-gnulib).
16458 [!build-shared] (link-libc-tests): New variable.
16459 (link-libc-static-tests): New variable.
16460 [!gnulib] (gnulib-arch): New variable.
16461 [!gnulib] (gnulib-tests): Likewise.
16462 [!gnulib] (static-gnulib-arch): Likewise.
16463 [!gnulib] (static-gnulib-tests): Likewise.
16464 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16465 Define with "=" instead of ":=".
16466 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16467 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16468 * Rules (binaries-all-notests): New variable.
16469 (binaries-all-tests): Likewise.
16470 (binaries-static-notests): Likewise.
16471 (binaries-static-tests): Likewise.
16472 (binaries-all): Define using $(binaries-all-notests) and
16473 $(binaries-all-tests).
16474 (binaries-static): Define using $(binaries-static-notests) and
16475 $(binaries-static-tests).
16476 (binaries-shared-tests): New variable.
16477 (binaries-shared-notests): Likewise.
16478 (binaries-shared): Remove variable.
16479 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16480 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16481 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16482 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16483 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16484 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16485 * elf/Makefile (sln-modules): New variable.
16486 (extra-objs): Add $(sln-modules:=.o).
16487 (ldconfig-modules): Add static-stubs.
16488 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16489 * elf/static-stubs.c: New file.
16490
7a845b2c
JM
16491 [BZ #14283]
16492 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16493 by 7 not 8 to examine high bit of fractional part. Use volatile
16494 variables when splitting into final array of floats if
16495 __FLT_EVAL_METHOD__ != 0.
16496 * math/libm-test.inc (cos_test): Add another test.
16497 (sin_test): Likewise.
16498 * sysdeps/i386/fpu/libm-test-ulps: Update.
16499
e2283f38
JM
16500 [BZ #14273]
16501 * math/libm-test.inc (cosh_test): Add more tests.
16502
370ca3d2
JM
16503 * version.h (RELEASE): Set to "development".
16504 (VERSION): Set to "2.16.90".
16505
ee9247c3
CD
165062012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16507
16508 * NEWS: Update copyright. Remove last-updated date.
16509 Mention math library bug fixes and timezone data changes.
16510 * README: Mention GNU/Hurd, x32, and HPPA support status.
16511
4648c381
TS
165122012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16513
16514 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16515
aac78a43
AJ
165162012-06-27 Andreas Jaeger <aj@suse.de>
16517
16518 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16519
ed3dbfad
AJ
165202012-06-25 Andreas Jaeger <aj@suse.de>
16521
16522 * sysdeps/s390/fpu/libm-test-ulps: Update.
16523
4d0ee855
AS
165242012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16525 Thomas Schwinge <thomas@codesourcery.com>
16526
16527 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16528 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16529 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16530 fanotify_mark.
16531
af1bce34
TS
165322012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16533
a9fa33ba
TS
16534 * sysdeps/mach/start.c: Remove file.
16535 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16536 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16537 * sysdeps/sh/init-first.c: Likewise.
16538
58f902b8
TS
16539 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16540 registers for frame unwinding purposes, add CFI directives.
16541 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16542 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16543 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16544 Likewise.
16545
1518f58b
TS
16546 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16547 __fortify_fail returning.
16548 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16549
db9b5059
TS
16550 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16551 sysdeps/sh/____longjmp_chk.S.
16552 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16553 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16554 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16555 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16556
967705fe
TS
16557 * sysdeps/sh/abort-instr.h: New file.
16558 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16559 process in case exit returns.
16560
a9def8c4
TS
16561 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16562 initialize the GOT register before use.
16563
2a649725
TS
16564 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16565 calculation of ARGC > 4.
16566
af1bce34
TS
16567 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16568 meaningful names to some local labels.
16569
d230f50a
KK
165702012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16571 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16572
16573 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16574 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16575 (__arch_compare_and_exchange_val_16_acq): Likewise.
16576 (__arch_compare_and_exchange_val_32_acq): Likewise.
16577 (atomic_exchange_and_add): Fix gUSA sequence.
16578 (atomic_add): Likewise.
16579 (atomic_add_negative): Likewise.
16580 (atomic_add_zero): Likewise.
16581 (atomic_bit_test_set): Likewise.
16582
0479b305
AS
165832012-06-22 Andreas Schwab <schwab@redhat.com>
16584
16585 [BZ #13579]
16586 * include/link.h (struct link_map): Add l_free_initfini.
16587 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16588 l_initfini.
16589 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16590 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16591 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16592 set.
16593
0e3933b9
CD
165942012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16595
16596 * configure.in: Use AC_LANG_SOURCE.
16597 * configure: Regenerate.
16598
4248b1b1
RM
165992012-06-22 Roland McGrath <roland@hack.frob.com>
16600
16601 * configure.in (libc_cv_localstatedir): New substituted variable.
16602 * configure: Regenerated.
16603 * config.make.in (localstatedir): New variable, substituted from
16604 libc_cv_localstatedir.
16605 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16606 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16607 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16608 * sysdeps/gnu/configure: Regenerated.
16609
006dd861
JL
166102012-06-21 Jeff Law <law@redhat.com>
16611
16612 [BZ #14277]
16613 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16614 free. Simplify list management for _LIBC case.
16615
79662d42
JM
166162012-06-21 Joseph Myers <joseph@codesourcery.com>
16617
b7abb4bf
JM
16618 [BZ #14273]
16619 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16620 Clear sign bit of 64-bit integer value before comparing against
16621 overflow value.
16622
79662d42
JM
16623 * sysdeps/mach/configure: Regenerated.
16624
1f150908
L
166252012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16626
16627 [BZ #14278]
16628 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16629
28363bbf
JL
166302012-06-21 Jeff Law <law@redhat.com>
16631
16632 [BZ #13882]
16633 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16634 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16635 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16636 * elf/dl-open.c (dl_open_worker): Likewise.
16637
09615db4
CD
166382012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16639
16640 * scripts/list-sources.sh: Scan PORTS for translations.
16641 * po/libc.pot: Regenerated.
16642
2174c6dd
AJ
166432012-06-21 Andreas Jaeger <aj@suse.de>
16644
16645 [BZ #12194]
16646 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16647 warning.
16648 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16649 * bits/byteswap-16.h (__bswap_16): Likewise.
16650 * bits/byteswap.h (__bswap_constant_16): Likewise.
16651
3ee947b1
L
166522012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16653
16654 [BZ #14117]
a2f34833
L
16655 * sysdeps/i386/fpu_control.h: Removed.
16656 * sysdeps/x86_64/fpu_control.h: Moved to ...
16657 * sysdeps/x86/fpu_control.h: Here.
16658
3ee947b1
L
16659 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16660 (_FPU_SETCW): Likewise.
16661
ed1825f8
L
166622012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16663
25f1282a
L
16664 [BZ #14117]
16665 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16666 * sysdeps/x86/fpu/bits/mathinline.h: This.
16667 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16668
ed1825f8
L
16669 [BZ #14050]
16670 [BZ #14117]
16671 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16672 functions if __x86_64__ is defined.
16673
36d54b74
CLT
166742012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16675
16676 * string/endian.h: Add !__ASSEMBLER__ condition for including
16677 conversion interfaces.
16678
10285c21
JM
166792012-06-15 Joseph Myers <joseph@codesourcery.com>
16680
16681 [BZ #14241]
16682 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16683 of ABS(x) in calculating zero to negative powers other than odd
16684 integers.
16685 * math/libm-test.inc (pow_test): Add more tests.
16686
06c5abbd
AJ
166872012-06-15 Andreas Jaeger <aj@suse.de>
16688
16689 * manual/contrib.texi (Contributors): Update entry of Liubov
16690 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16691 Machado Filho.
16692
a3aeac40
CH
166932012-06-15 Cyril Hrubis <metan@ucw.cz>
16694
16695 * string/string.h: Add __wur to GNU version of strerror_r.
16696
49bdf4c1
L
166972012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16698
16699 [BZ #14229]
16700 * string/Makefile (tests): Add tst-strtok_r.
16701 * string/tst-strtok_r.c: New file.
16702 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16703 RAX_LP/RDX_LP on SAVE_PTR.
16704
834f9b8d
RM
167052012-06-14 Roland McGrath <roland@hack.frob.com>
16706
16707 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16708
75fa1921
JM
167092012-06-14 Joseph Myers <joseph@codesourcery.com>
16710
16711 * libm_test.inc (csqrt_test): Allow more spurious underflow
16712 exceptions.
16713 (j0_test): Likewise.
16714 (j1_test): Likewise.
16715 (y0_test): Likewise.
16716 (y1_test): Likewise.
16717
771766df
CD
167182012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16719
16720 * po/Makefile (libc.pot): Use UTF-8 charset.
16721
ceb9e56b
PP
167222012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16723
16724 [BZ #14210]
16725 Suppress sign-conversion warning from FD_SET.
16726 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16727 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16728 not unsigned long int.
16729 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16730
ddb28975
L
167312012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16732
16733 [BZ #14050]
16734 [BZ #14117]
16735 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16736 __extern_always_inline instead of __extern_inline.
16737 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16738 (__signbit): Likewise.
16739 (__signbitl): Support C++ namespace.
16740 (lrintf): New inline function.
16741 (lrint): Likewise.
16742 (llrintf): Likewise.
16743 (llrint): Likewise.
16744 (fmaxf): Likewise.
16745 (fmax): Likewise.
16746 (fminf): Likewise.
16747 (fmin): Likewise.
16748 (rint): Likewise.
16749 (rintf): Likewise.
16750 (ceil): Likewise.
16751 (ceilf): Likewise.
16752 (floor): Likewise.
16753 (floorf): Likewise.
16754 (nearbyint): Likewise.
16755 (nearbyintf): Likewise.
16756
d7b4fb26
TS
167572012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16758
16759 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16760 non-default versions.
16761
eb55f5c2
RM
167622012-06-11 Roland McGrath <roland@hack.frob.com>
16763
16764 [BZ #14218]
16765 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16766
366af02c
TS
167672012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16768
99ff6e5c
TS
16769 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16770 (FE_UPWARD, FE_DOWNWARD): Don't define.
16771 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16772 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16773
366af02c
TS
16774 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16775 reading it.
16776 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16777 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16778
793ea851
KK
167792012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16780
16781 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16782 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16783 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16784 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16785
a728a38f
L
167862012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16787
16788 [BZ #14117]
c08010c7
L
16789 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16790 * sysdeps/i386/fpu/Implies: New file.
16791 * sysdeps/x86_64/fpu/Implies: Likewise.
16792 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16793 * sysdeps/x86/fpu/bits/fenv.h: This.
16794
a728a38f
L
16795 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16796 __SSE_MATH__.
16797
6e230d11
SP
167982012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16799
16800 [BZ #14134]
16801 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16802 character 0xffff that matches the last element of the
16803 conversion table.
16804
1b671feb
AZ
168052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16806
16807 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16808 fmodl commit.
16809
6043738b
AZ
168102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16811
16812 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16813 values higher than 25.6283.
16814
34ae0b32
AZ
168152012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16816
16817 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16818 subnormal exponent extraction and add some __builtin_expect.
16819 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16820 Fix for subnormal mantissa calculation.
16821
1214ec8f
MF
168222012-06-04 Mike Frysinger <vapier@gentoo.org>
16823
16824 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16825 cpu2 is -1 and errno is not ENOSYS.
16826
f3d1f93c
L
168272012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16828
16829 [BZ #14117]
0e4a3cd7
L
16830 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16831 * sysdeps/x86/bits/string.h: This.
16832 * sysdeps/x86_64/bits/string.h: Removed.
16833
6704c645
L
16834 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16835 if not compiling for x86-64, but compiling for >= i486.
16836
48495318
L
16837 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16838 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16839
14adcbfc
L
16840 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16841 New macro from Linux kernel 3.4.0.
16842 (FP_XSTATE_MAGIC2): Likewise.
16843 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16844 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16845 (struct _fpx_sw_bytes): New struct.
16846 (struct _xsave_hdr): Likewise.
16847 (struct _ymmh_state): Likewise.
16848 (struct _xstate): Likewise.
16849
68e408ab
L
16850 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16851 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16852 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16853 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16854 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16855 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16856
f3d1f93c
L
16857 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16858 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16859 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16860 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16861 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16862 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16863
d9dc34cd
TMQMF
168642012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16865
16866 [BZ #13743]
16867 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16868 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16869 (sysdep_headers): Include sys/platform/ppc.h.
16870 * sysdeps/powerpc/test-gettimebase.c: Test for
16871 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16872 * manual/Makefile (appendices): Include platform.texi.
16873 * manual/contrib.texi (Contributors): Update @node pointers.
16874 * manual/maint.texi (Maintenance): Likewise.
16875 (Platform): New node.
16876 * manual/platform.texi: New file. Document the new features.
16877
4af3879c
SP
168782012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16879 Jakub Jelinek <jakub@redhat.com>
16880
16881 [BZ #14188]
16882 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16883 where __builtin_expect is unavailable.
16884
2fd6ff13
DM
168852012-06-03 David S. Miller <davem@davemloft.net>
16886
16887 * stdlib/longlong.h: Updated from GCC.
16888
173f7220
AS
168892012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16890
16891 [BZ #14042]
16892 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16893 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16894 __mcount_internal.
16895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16896 (GLIBC_2.16): Likewise.
16897
f34a1c6f
L
168982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16899
16900 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16901
88a4576f
JM
169022012-06-01 Joseph Myers <joseph@codesourcery.com>
16903
ea32bcdd
JM
16904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16905 (default-abi): New variable.
16906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16907 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16908 variable.
16909 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16910 Likewise.
16911 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16912 Likewise.
16913 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16914 Likewise.
16915
88a4576f
JM
16916 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16917 definition. Document in comment.
16918
402fe938
DM
169192012-06-01 David S. Miller <davem@davemloft.net>
16920
16921 * stdlib/longlong.h: Updated from GCC.
16922
3553723f
L
169232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16924
16925 [BZ #14117]
3bd872c4
L
16926 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16927 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16928 sys/debugreg.h sys/io.h here.
16929 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16930 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16931 sys/io.h.
16932 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16933 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16934 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16935 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16936 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16937 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16938
3553723f
L
16939 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16940 Define only if __x86_64__ is defined.
16941
4842e4fe
JM
169422012-06-01 Joseph Myers <joseph@codesourcery.com>
16943
c5bfe3d5
JM
16944 [BZ #14048]
16945 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16946 Use int64_t for variable i.
16947 * math/libm-test.inc (fmod_test): Add more tests.
16948
4842e4fe
JM
16949 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16950 z computation is not scheduled after fetestexcept.
16951 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16952 Use math_force_eval instead of asm to ensure calculation scheduled
16953 before exception test.
16954 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16955 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16956
efb73488
AJ
169572012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16958
16959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16960 computation is not scheduled after fetestexcept.
16961
29bcce7c
L
169622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16963
16964 [BZ #14117]
16965 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16966 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16967
73a68f94
AZ
169682012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16969
16970 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16971 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16972
67b6df78
L
169732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16974
edf2933a 16975 [BZ #14117]
ebc64a18
L
16976 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16977 <bits/wordsize.h>.
16978 (__WCHAR_MIN): Support __WORDSIZE == 64.
16979 (__WCHAR_MAX): Likewise.
16980
edf2933a
L
16981 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16982 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16983
57c6cf40
L
16984 [BZ #14183]
16985 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16986 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16987
67b6df78 16988 [BZ #14117]
8eb6281e
L
16989 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16990 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16991
aac639f4
L
16992 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16993 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16994
67b6df78
L
16995 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16996 Defined to 1 if __x86_64__ isn't defined.
16997 (_STAT_VER_LINUX_OLD): New.
16998 (st_atime): Remove duplicate.
16999 (st_mtime): Likewise.
17000 (st_ctime): Likewise.
17001
1c2cfe81
DM
170022012-05-31 David S. Miller <davem@davemloft.net>
17003
17004 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17005 entries.
17006
5be8418c
AS
170072012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17008
e7725326
AS
17009 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17010 gen-libm-test.pl.
17011
5be8418c
AS
17012 [BZ #14132]
17013 * elf/dl-reloc.c: Include <_itoa.h>.
17014 (_dl_reloc_bad_type): Remove use of INTUSE.
17015 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17016 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17017 * stdio-common/psiginfo.c (psiginfo): Likewise.
17018 * stdio-common/psignal.c (psignal): Likewise.
17019 * string/strsignal.c (strsignal): Likewise.
17020 * include/signal.h (_sys_siglist): Declare hidden proto.
17021 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17022 INTVARDEF with libc_hidden_data_def.
17023 * stdio-common/itoa-udigits.c: Likewise.
17024 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17025 (_itoa_lower_digits_internal): Remove declaration.
17026 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17027 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17028 (_sys_sigabbrev_internal): Remove aliases.
17029 (_sys_siglist): Define hidden alias.
17030
507352f1
MT
170312012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17032
17033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17034 bits/sysctl.h.
17035
42bbb1c3
L
170362012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17037
17038 [BZ #14117]
6bd784b6
L
17039 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17040 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17041
8bca20f0
L
17042 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17043 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17044 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17045 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17046 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17047 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17048
f9e890a9
L
17049 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17050 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17051 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17052
471101a1
L
17053 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17054 with __addr.
17055 (insw): Likewise.
17056 (insl): Likewise.
17057 (outsb): Likewise.
17058 (outsw): Likewise.
17059 (outsl): Likewise.
17060
6451c862
L
17061 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17062 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17063 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17064
a254b8c9
L
17065 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17066 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17067 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17068 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17069 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17070 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17071
b8dfdd92
L
17072 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17073 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17074
578cd270
L
17075 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17076 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17077
de662f5f
L
17078 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17080 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17081
25653439
L
17082 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17083 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17084 to ...
17085 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17086
6bad24a0
L
17087 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17088 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17089 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17090
42bbb1c3
L
17091 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17092 for x86-64.
17093 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17094
2d10d547
JM
170952012-05-31 Joseph Myers <joseph@codesourcery.com>
17096
17097 * math/math.h (M_El): Use two more decimal places.
17098 (M_LOG2El): Likewise.
17099 (M_LOG10El): Likewise.
17100 (M_LN2l): Likewise.
17101 (M_LN10l): Likewise.
17102 (M_PIl): Likewise.
17103 (M_PI_2l): Likewise.
17104 (M_PI_4l): Likewise.
17105 (M_1_PIl): Likewise.
17106 (M_2_PIl): Likewise.
17107 (M_2_SQRTPIl): Likewise.
17108 (M_SQRT2l): Likewise.
17109 (M_SQRT1_2l): Likewise.
17110
f230c29b
DM
171112012-05-31 David S. Miller <davem@davemloft.net>
17112
17113 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17114 values between float registers.
17115 * sysdeps/sparc/sparc64/memset.S: Likewise.
17116 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17117
fed806c3
MF
171182012-05-31 Mike Frysinger <vapier@gentoo.org>
17119
17120 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17121 -D_FORTIFY_SOURCE=1.
17122 (CPPFLAGS-tst-longjmp_chk.c): Define.
17123 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17124 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17125 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17126 CFLAGS-tst-wchar-h.c.
17127
30917259
MP
171282012-05-31 Marek Polacek <polacek@redhat.com>
17129
17130 [BZ #14132]
17131 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17132 __endmntent_internal): Remove declaration.
17133 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17134 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17135 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17136
1c58d5dc
DM
171372012-05-30 David S. Miller <davem@davemloft.net>
17138
17139 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17140 (___Q_simulate_exceptions): Use real FP ops rather than writing
17141 into the %fsr.
17142 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17143 Likewise.
17144
7dc00e0d
L
171452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17146
17147 [BZ #14117]
0bd53985
L
17148 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17149 * sysdeps/x86/bits/xtitypes.h: This.
17150
3a257e66
L
17151 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17152 * sysdeps/x86/bits/wordsize.h: This.
17153
62f62904
L
17154 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17155 * sysdeps/x86/bits/huge_vall.h: This.
17156
404fe9d9
L
17157 * sysdeps/i386/bits/select.h: Removed.
17158 * sysdeps/x86_64/bits/select.h: Renamed to ...
17159 * sysdeps/x86/bits/select.h: This.
17160
d48d0446
L
17161 * sysdeps/i386/bits/setjmp.h: Removed.
17162 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17163 * sysdeps/x86/bits/setjmp.h: This.
17164
7dc00e0d
L
17165 * sysdeps/i386/bits/mathdef.h: Removed.
17166 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17167 * sysdeps/x86/bits/mathdef.h: This.
17168
03277f8f
AS
171692012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17170
17171 [BZ #14132]
17172 * include/sys/socket.h (__connect_internal)
17173 (__libc_sa_len_internal): Remove declaration.
17174 (__connect, __libc_sa_len): Declare hidden_proto.
17175 (SA_LEN): Remove use of INTUSE.
17176 * socket/connect.c: Add libc_hidden_def.
17177 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17178 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17179 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17180 alias.
17181 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17182 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17183 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17184 of adding _internal alias.
17185
13764867
L
171862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17187
17188 [BZ #14117]
6bd97696
L
17189 * sysdeps/i386/bits/link.h: Removed.
17190 * sysdeps/i386/bits/linkmap.h: Likewise.
17191 * sysdeps/x86_64/bits/link.h: Renamed to ...
17192 * sysdeps/x86/bits/link.h: This.
17193 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17194 * sysdeps/x86/bits/linkmap.h: This.
17195
f726f0bb
L
17196 * sysdeps/i386/bits/endian.h: Removed.
17197 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17198 * sysdeps/x86/bits/endian.h: This.
17199
13764867
L
17200 * sysdeps/i386/bits/byteswap.h: Removed.
17201 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17202 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17203 * sysdeps/x86/bits/byteswap.h: This.
17204 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17205 * sysdeps/x86/bits/byteswap-16.h: This.
17206 * sysdeps/i386/Implies: Add x86.
17207 * sysdeps/x86_64/Implies: Likewise.
17208
ae251b0b
DM
172092012-05-30 David S. Miller <davem@davemloft.net>
17210
17211 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17212 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17213 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17214 (FP_TRAPPING_EXCEPTIONS): Define.
17215 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17216 (FP_TRAPPING_EXCEPTIONS): Define.
17217 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17218 subnormals only when inexact has been signalled or underflow
17219 exceptions are enabled.
17220 (_FP_PACK_CANONICAL): Likewise.
17221
d5c90867
L
172222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17223
17224 [BZ #14183]
17225 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17226 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17227
63f1549e
RH
172282012-05-30 Richard Henderson <rth@twiddle.net>
17229
8d8f2279
RH
17230 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17231 with #ifndef NOT_IN_libc.
17232
63f1549e
RH
17233 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17234 marked to avoid plt entry.
17235
0ab0291b
L
172362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17237
17238 [BZ #14112]
17239 * Makeconfig (default-abi): New macro.
17240 (abi-includes): Likewise.
17241 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17242 $(abi-$(default-abi)-lib-soname) for soname if defined.
17243 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17244 abi-variants.
17245 * Makefile (installed-stubs): Likewise.
17246 * include/stubs-biarch.h: Removed.
17247 * scripts/lib-names.awk: Only handle one library at a time.
17248 * scripts/soversions.awk: Remove WORDSIZE support.
17249 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17250 entries.
17251 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17252 Removed.
17253 (syscall-list-default-condition): Likewise.
17254 (syscall-list-default-condition): Likewise.
17255 (syscall-list-includes): Likewise.
17256 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17257 syscall-list-* with abi-*. Handle undefined abi-variants.
17258 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17259 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17260 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17261 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17262 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17263 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17264 Removed.
17265 (syscall-list-32-options): Likewise.
17266 (syscall-list-32-condition): Likewise.
17267 (syscall-list-64-options): Likewise.
17268 (syscall-list-64-condition): Likewise.
17269 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17270 macro.
17271 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17272 Renamed to ...
17273 (abi-*): This.
17274 (abi-64-ld-soname): New macro.
17275 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17276 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17277 Renamed to ...
17278 (abi-*): This.
17279 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17280 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17281
4da0431d
JM
172822012-05-30 Joseph Myers <joseph@codesourcery.com>
17283
3a85279c
JM
17284 * sysdeps/unix/sysv/linux/kernel-features.h
17285 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17286 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17287 include <kernel-features.h>.
17288 [!__NR_ftruncate64]: Remove conditional code.
17289 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17290 [__NR_ftruncate64]: Make code unconditional.
17291 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17292 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17293 include <kernel-features.h>.
17294 [!__NR_ftruncate64]: Remove conditional code.
17295 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17296 [__NR_ftruncate64]: Make code unconditional.
17297 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17299 include <kernel-features.h>.
17300 [!__NR_ftruncate64]: Remove conditional code.
17301 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17302 [__NR_ftruncate64]: Make code unconditional.
17303 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17305 include <kernel-features.h>.
17306 [!__NR_ftruncate64]: Remove conditional code.
17307 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17308 [__NR_ftruncate64]: Make code unconditional.
17309 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17310
4da0431d
JM
17311 * configure.in (libc_cv_fpie): Weaken to a compile test using
17312 LIBC_TRY_CC_OPTION.
17313 * configure: Regenerated.
17314
11ef492c
AK
173152012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17316
17317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17321 Refreshed.
17322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17328 Refreshed.
17329
d66ef399
DM
173302012-05-27 David S. Miller <davem@davemloft.net>
17331
17332 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17333 (___Q_zero): New.
17334 (__Q_simulate_exceptions): Return void. Change to simulate
17335 exceptions by writing into the %fsr.
17336 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17337 (__Qp_handle_exceptions): Likewise.
17338 (numbers): Delete.
17339 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17340 __Qp_handle_exceptions.
17341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17342 __Qp_handle_exceptions.
17343 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17344 as unused and give dummy FP_RND_NEAREST initializer.
17345 (FP_INHIBIT_RESULTS): Define.
17346 (___Q_simulate_exceptions): Update declaration.
17347 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17348 formatting.
17349 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17350 as unused and give dummy FP_RND_NEAREST initializer.
17351 (__Qp_handle_exceptions): Update declaration.
17352 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17353 formatting.
17354
04fb54b5
TS
173552012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17356
17357 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17358 the temporary FPU control word.
17359 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17360 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17361 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17362 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17363 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17364 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17365 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17366 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17367 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17368 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17369 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17370
3f99608f
KK
173712012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17372
17373 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17374 fields.
17375
65a4de4e
CLT
173762012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17377
17378 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17379 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17380 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17381 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17382 Likewise.
17383 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17384 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17385 Likewise.
17386
15749d40
UD
173872012-05-27 Ulrich Drepper <drepper@gmail.com>
17388
17389 * po/h.po: Update from translation team.
17390
25dbcb27
AS
173912012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17392
3d3f8e55
AS
17393 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17394
25dbcb27
AS
17395 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17396 handling of denormals.
17397 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17398 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17399 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17400 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17401 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17402 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17403 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17404 Likewise.
17405
7ad47a80 174062012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17407
17408 [BZ #14152]
17409 * math/libm-test.inc (fma_test): Don't always expect underflow
17410 exception.
17411
9c6ea9fa
SP
174122012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17413
17414 [BZ #12416]
17415 * elf/tst-execstack.c: Include stackinfo.h.
17416 (do_test): Adjust test case to ensure that pthread_getattr_np
17417 behaviour remains the same after marking stack executable.
17418
a8239222
JM
174192012-05-25 Joseph Myers <joseph@codesourcery.com>
17420
17421 * sysdeps/unix/sysv/linux/kernel-features.h
17422 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17423 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17424 kernel-features.h.
17425 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17426 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17427 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17428 kernel-features.h.
17429 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17430 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17431
918b5606
L
174322012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17433
17434 * configure.in: Define the default includes to being none.
17435 * configure: Regenerated.
17436
3a097cc7
RM
174372012-05-25 Roland McGrath <roland@hack.frob.com>
17438
8422c9a5
RM
17439 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17440 * sysdeps/x86_64/setjmp.S: Likewise.
17441 * sysdeps/i386/bsd-setjmp.S: Likewise.
17442 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17443 * sysdeps/i386/setjmp.S: Likewise.
17444 * sysdeps/i386/__longjmp.S: Likewise.
17445 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17446 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17447
3a097cc7
RM
17448 * include/stap-probe.h: New file.
17449 * configure.in: Handle --enable-systemtap.
17450 * configure: Regenerated.
17451 * config.h.in (USE_STAP_PROBE): New #undef.
17452 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17453 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17454 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17455
21708942
JM
174562012-05-25 Joseph Myers <joseph@codesourcery.com>
17457
17458 [BZ #13717]
17459 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17460 to 2.4.0 where earlier.
17461 * sysdeps/unix/sysv/linux/configure: Regenerated.
17462 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17463 <kernel-features.h>.
17464 [__ASSUME_32BITUIDS]: Make code unconditional.
17465 [!__ASSUME_32BITUIDS]: Remove conditional code.
17466 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17467 <kernel-features.h>.
17468 [__ASSUME_32BITUIDS]: Make code unconditional.
17469 [!__ASSUME_32BITUIDS]: Remove conditional code.
17470 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17471 [__ASSUME_32BITUIDS]: Make code unconditional.
17472 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17473 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17474 <kernel-features.h>.
17475 [__ASSUME_32BITUIDS]: Make code unconditional.
17476 [!__ASSUME_32BITUIDS]: Remove conditional code.
17477 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17478 <kernel-features.h>.
17479 [__ASSUME_32BITUIDS]: Make code unconditional.
17480 [!__ASSUME_32BITUIDS]: Remove conditional code.
17481 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17482 <kernel-features.h>.
17483 [__ASSUME_32BITUIDS]: Make code unconditional.
17484 [!__ASSUME_32BITUIDS]: Remove conditional code.
17485 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17486 <kernel-features.h>.
17487 [__ASSUME_32BITUIDS]: Make code unconditional.
17488 [!__ASSUME_32BITUIDS]: Remove conditional code.
17489 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17490 <kernel-features.h>.
17491 [__ASSUME_32BITUIDS]: Make code unconditional.
17492 [!__ASSUME_32BITUIDS]: Remove conditional code.
17493 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17494 <kernel-features.h>.
17495 [__ASSUME_32BITUIDS]: Make code unconditional.
17496 [!__ASSUME_32BITUIDS]: Remove conditional code.
17497 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17498 <kernel-features.h>.
17499 [__ASSUME_32BITUIDS]: Make code unconditional.
17500 [!__ASSUME_32BITUIDS]: Remove conditional code.
17501 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17502 <kernel-features.h>.
17503 [__ASSUME_32BITUIDS]: Make code unconditional.
17504 [!__ASSUME_32BITUIDS]: Remove conditional code.
17505 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17506 <kernel-features.h>.
17507 [__ASSUME_32BITUIDS]: Make code unconditional.
17508 [!__ASSUME_32BITUIDS]: Remove conditional code.
17509 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17510 <kernel-features.h>.
17511 [__ASSUME_32BITUIDS]: Make code unconditional.
17512 [!__ASSUME_32BITUIDS]: Remove conditional code.
17513 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17514 <kernel-features.h>.
17515 [__NR_setresgid] (__setresgid): Do not declare.
17516 [__ASSUME_32BITUIDS]: Make code unconditional.
17517 [!__ASSUME_32BITUIDS]: Remove conditional code.
17518 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17519 <kernel-features.h>.
17520 [__NR_setresuid] (__setresuid): Do not declare.
17521 [__ASSUME_32BITUIDS]: Make code unconditional.
17522 [!__ASSUME_32BITUIDS]: Remove conditional code.
17523 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17524 <kernel-features.h>.
17525 [__ASSUME_32BITUIDS]: Make code unconditional.
17526 [!__ASSUME_32BITUIDS]: Remove conditional code.
17527 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17528 <kernel-features.h>.
17529 [__ASSUME_32BITUIDS]: Make code unconditional.
17530 [!__ASSUME_32BITUIDS]: Remove conditional code.
17531 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17532 <kernel-features.h>.
17533 [__ASSUME_32BITUIDS]: Make code unconditional.
17534 [!__ASSUME_32BITUIDS]: Remove conditional code.
17535 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17536 <kernel-features.h>.
17537 [__ASSUME_32BITUIDS]: Make code unconditional.
17538 [!__ASSUME_32BITUIDS]: Remove conditional code.
17539 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17540 <kernel-features.h>.
17541 [__ASSUME_32BITUIDS]: Make code unconditional.
17542 [!__ASSUME_32BITUIDS]: Remove conditional code.
17543 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17544 <kernel-features.h>.
17545 [__ASSUME_32BITUIDS]: Make code unconditional.
17546 [!__ASSUME_32BITUIDS]: Remove conditional code.
17547 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17548 <kernel-features.h>.
17549 [__ASSUME_32BITUIDS]: Make code unconditional.
17550 [!__ASSUME_32BITUIDS]: Remove conditional code.
17551 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17552 <kernel-features.h>.
17553 [__ASSUME_32BITUIDS]: Make code unconditional.
17554 [!__ASSUME_32BITUIDS]: Remove conditional code.
17555 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17556 <kernel-features.h>.
17557 [__ASSUME_32BITUIDS]: Make code unconditional.
17558 [!__ASSUME_32BITUIDS]: Remove conditional code.
17559 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17560 <kernel-features.h>.
17561 [__ASSUME_32BITUIDS]: Make code unconditional.
17562 [!__ASSUME_32BITUIDS]: Remove conditional code.
17563 * sysdeps/unix/sysv/linux/kernel-features.h
17564 (__ASSUME_SETRESUID_SYSCALL): Remove.
17565 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17566 (__ASSUME_32BITUIDS): Likewise.
17567 (__ASSUME_LDT_WORKS): Likewise.
17568 (__ASSUME_O_DIRECTORY): Likewise.
17569 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17570 architecture but not kernel version.
17571 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17572 (__ASSUME_MMAP2_SYSCALL): Likewise.
17573 (__ASSUME_STAT64_SYSCALL): Likewise.
17574 (__ASSUME_IPC64): Likewise.
17575 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17576 <kernel-features.h>.
17577 [__ASSUME_32BITUIDS]: Make code unconditional.
17578 [!__ASSUME_32BITUIDS]: Remove conditional code.
17579 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17580 <kernel-features.h>.
17581 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17582 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17583 132096]: Remove conditional code.
17584 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17585 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17586 <kernel-features.h>.
17587 [__ASSUME_32BITUIDS]: Make code unconditional.
17588 [!__ASSUME_32BITUIDS]: Remove conditional code.
17589 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17590 <kernel-features.h>.
17591 [__ASSUME_32BITUIDS]: Make code unconditional.
17592 [!__ASSUME_32BITUIDS]: Remove conditional code.
17593 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17594 <kernel-features.h>.
17595 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17596 unconditional.
17597 (__setresgid): Do not declare.
17598 [__ASSUME_32BITUIDS]: Make code unconditional.
17599 [!__ASSUME_32BITUIDS]: Remove conditional code.
17600 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17601 <kernel-features.h>.
17602 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17603 unconditional.
17604 (__setresuid): Do not declare.
17605 [__ASSUME_32BITUIDS]: Make code unconditional.
17606 [!__ASSUME_32BITUIDS]: Remove conditional code.
17607 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17608 <kernel-features.h>.
17609 [__ASSUME_32BITUIDS]: Make code unconditional.
17610 [!__ASSUME_32BITUIDS]: Remove conditional code.
17611 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17612 <kernel-features.h>.
17613 [__ASSUME_32BITUIDS]: Make code unconditional.
17614 [!__ASSUME_32BITUIDS]: Remove conditional code.
17615
a386f1cc
RH
176162012-05-25 Richard Henderson <rth@twiddle.net>
17617
17618 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17619 dl_hwcap to ifunc resolver.
17620 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17621 elf_ifunc_invoke.
17622 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17623 dl_hwcap to ifunc resolver.
17624 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17625
b6550497
JM
176262012-05-24 Joseph Myers <joseph@codesourcery.com>
17627
17628 [BZ #14153]
17629 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17630 for |x| <= 2**-26, not 2**-57.
17631 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17632 exception.
17633
b0bc23a1
JL
176342012-05-24 Jeff Law <law@redhat.com>
17635
17636 * stdio-common/Makefile (tests): Add bug25.
17637 * stdio-common/bug25.c: New test.
17638
347c92e9
L
176392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17640
17641 [BZ #13576]
17642 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17643 multiple of MALLOC_ALIGNMENT in size.
17644 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17645
6bcc8b3f
JM
176462012-05-24 Joseph Myers <joseph@codesourcery.com>
17647
17648 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17649 Require >= 256.
17650 (FILENAME_MAX): Use macro-int-constant.
17651 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17652 (_IOFBF): Use macro-int-constant.
17653 (_IOLBF): Likewise.
17654 (_IONBF): Likewise.
17655 (SEEK_CUR): Likewise.
17656 (SEEK_END): Likewise.
17657 (SEEK_SET): Likewise.
17658 (TMP_MAX): Likewise.
17659 (EOF): Use macro-int-constant. Require < 0.
17660 (NULL): Use macro-constant. Require == 0.
17661 (stdin): Require type to be FILE *.
17662 (stdout): Likewise.
17663 (stderr): Likewise.
17664 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17665 macro-int-constant.
17666 (EXIT_SUCCESS): Likewise.
17667 (NULL): Use macro-constant. Require == 0.
17668 (RAND_MAX): Use macro-int-constant.
17669 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17670 [C99-based standards] (strtof): Require function.
17671 [C99-based standards] (strtold): Likewise.
17672 [C99-based standards] (strtoll): Likewise.
17673 [C99-based standards] (strtoull): Likewise.
17674 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17675 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17676 [ISO || ISO99 || ISO11] (math.h): Likewise.
17677 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17678 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17679 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17680
d18ea0c5
AS
176812012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17682
17683 [BZ #14132]
56d25bb8
AS
17684 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17685 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17686 * intl/dgettext.c (DCGETTEXT): Likewise.
17687 * intl/gettext.c (DCGETTEXT): Likewise.
17688 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17689 * posix/regex_internal.h (gettext): Likewise.
17690 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17691 Remove declaration.
17692 * include/argz.h (__argz_count_internal)
17693 (__argz_stringify_internal): Remove declaration.
17694 (__argz_count, __argz_stringify): Declare hidden proto.
17695 * intl/dcgettext.c: Remove use of INTDEF.
17696 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17697 * string/argz-stringify.c: Likewise.
17698 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17699 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17700 Declare hidden proto.
d18ea0c5
AS
17701 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17702 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17703 Declare hidden proto.
17704 * include/stdio.h (__asprintf_internal): Don't declare.
17705 (__asprintf): Don't define as macro. Declare hidden proto.
17706 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17707 (__fsetlocking): Declare hidden proto.
17708 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17709 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17710 hidden proto.
17711 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17712 (_IO_setlinebuf): Remove use of INTUSE.
17713 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17714 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17715 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17716 Remove declaration.
17717 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17718 (_IO_do_flush): Remove use of INTUSE.
17719 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17720 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17721 (_IO_adjust_column, _IO_least_wmarker)
17722 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17723 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17724 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17725 (_IO_default_doallocate, _IO_wdefault_doallocate)
17726 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17727 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17728 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17729 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17730 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17731 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17732 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17733 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17734 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17735 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17736 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17737 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17738 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17739 proto.
17740 (_IO_flush_all_internal, _IO_adjust_column_internal)
17741 (_IO_default_uflow_internal, _IO_default_finish_internal)
17742 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17743 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17744 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17745 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17746 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17747 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17748 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17749 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17750 (_IO_file_close_internal, _IO_file_close_it_internal)
17751 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17752 (_IO_file_init_internal, _IO_file_attach_internal)
17753 (_IO_file_fopen_internal, _IO_file_read_internal)
17754 (_IO_file_sync_internal, _IO_file_seek_internal)
17755 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17756 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17757 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17758 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17759 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17760 (_IO_list_all_internal, _IO_link_in_internal)
17761 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17762 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17763 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17764 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17765 (_IO_do_write_internal, _IO_padn_internal)
17766 (_IO_getline_info_internal, _IO_getline_internal)
17767 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17768 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17769 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17770 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17771 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17772 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17773 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17774 with libc_hidden_ver, remove use of INTUSE.
17775 * libio/genops.c: Likewise.
17776 * libio/freopen.c: Likewise.
17777 * libio/freopen64.c: Likewise.
17778 * libio/iofclose.c: Likewise.
17779 * libio/iofdopen.c: Likewise.
17780 * libio/iofflush.c: Likewise.
17781 * libio/iofflush_u.c: Likewise.
17782 * libio/iofgets.c: Likewise.
17783 * libio/iofgets_u.c: Likewise.
17784 * libio/iofopen.c: Likewise.
17785 * libio/iofopncook.c: Likewise.
17786 * libio/iofread.c: Likewise.
17787 * libio/iofread_u.c: Likewise.
17788 * libio/ioftell.c: Likewise.
17789 * libio/iofwrite.c: Likewise.
17790 * libio/iogetline.c: Likewise.
17791 * libio/iogets.c: Likewise.
17792 * libio/iogetwline.c: Likewise.
17793 * libio/iopadn.c: Likewise.
17794 * libio/iopopen.c: Likewise.
17795 * libio/ioseekoff.c: Likewise.
17796 * libio/ioseekpos.c: Likewise.
17797 * libio/iosetbuffer.c: Likewise.
17798 * libio/iosetvbuf.c: Likewise.
17799 * libio/ioungetc.c: Likewise.
17800 * libio/ioungetwc.c: Likewise.
17801 * libio/iovdprintf.c: Likewise.
17802 * libio/iovsprintf.c: Likewise.
17803 * libio/iovsscanf.c: Likewise.
17804 * libio/memstream.c: Likewise.
17805 * libio/obprintf.c: Likewise.
17806 * libio/oldfileops.c: Likewise.
17807 * libio/oldiofclose.c: Likewise.
17808 * libio/oldiofdopen.c: Likewise.
17809 * libio/oldiofopen.c: Likewise.
17810 * libio/oldiopopen.c: Likewise.
17811 * libio/oldstdfiles.c: Likewise.
17812 * libio/putc.c: Likewise.
17813 * libio/setbuf.c: Likewise.
17814 * libio/setlinebuf.c: Likewise.
17815 * libio/stdfiles.c: Likewise.
17816 * libio/strops.c: Likewise.
17817 * libio/vasprintf.c: Likewise.
17818 * libio/vscanf.c: Likewise.
17819 * libio/vsnprintf.c: Likewise.
17820 * libio/vswprintf.c: Likewise.
17821 * libio/wfiledoalloc.c: Likewise.
17822 * libio/wfileops.c: Likewise.
17823 * libio/wgenops.c: Likewise.
17824 * libio/wmemstream.c: Likewise.
17825 * libio/wstrops.c: Likewise.
17826 * libio/__fpurge.c: Likewise.
17827 * libio/__fsetlocking.c: Likewise.
17828 * assert/assert.c: Likewise.
17829 * debug/fgets_chk.c: Likewise.
17830 * debug/fgets_u_chk.c: Likewise.
17831 * debug/fread_chk.c: Likewise.
17832 * debug/fread_u_chk.c: Likewise.
17833 * debug/gets_chk.c: Likewise.
17834 * debug/obprintf_chk.c: Likewise.
17835 * debug/vasprintf_chk.c: Likewise.
17836 * debug/vdprintf_chk.c: Likewise.
17837 * debug/vsnprintf_chk.c: Likewise.
17838 * debug/vsprintf_chk.c: Likewise.
17839 * malloc/mtrace.c: Likewise.
17840 * misc/error.c: Likewise.
17841 * misc/syslog.c: Likewise.
17842 * stdio-common/asprintf.c: Likewise.
17843 * stdio-common/fxprintf.c: Likewise.
17844 * stdio-common/getw.c: Likewise.
17845 * stdio-common/isoc99_fscanf.c: Likewise.
17846 * stdio-common/isoc99_scanf.c: Likewise.
17847 * stdio-common/isoc99_vfscanf.c: Likewise.
17848 * stdio-common/isoc99_vscanf.c: Likewise.
17849 * stdio-common/isoc99_vsscanf.c: Likewise.
17850 * stdio-common/printf-prs.c: Likewise.
17851 * stdio-common/printf_fp.c: Likewise.
17852 * stdio-common/printf_fphex.c: Likewise.
17853 * stdio-common/printf_size.c: Likewise.
17854 * stdio-common/putw.c: Likewise.
17855 * stdio-common/scanf.c: Likewise.
17856 * stdio-common/sprintf.c: Likewise.
17857 * stdio-common/tmpfile.c: Likewise.
17858 * stdio-common/vfprintf.c: Likewise.
17859 * stdio-common/vfscanf.c: Likewise.
17860 * stdlib/strfmon_l.c: Likewise.
17861 * sunrpc/openchild.c: Likewise.
17862 * sunrpc/xdr_stdio.c: Likewise.
17863 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17864 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17865
d6c33fda
RM
178662012-05-24 Roland McGrath <roland@hack.frob.com>
17867
c1487492
RM
17868 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17869
17870 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17871 in the third column, to generate for the shared library an IFUNC
17872 that uses _dl_vdso_vsym.
17873 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17874 * Makeconfig (object-suffixes-noshared): New variable.
17875
17876 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17877 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17878 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17879 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17880
d6c33fda
RM
17881 [BZ #14132]
17882 * include/sys/time.h (__gettimeofday): Remove macro.
17883 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17884 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17885 Remove INTDEF.
17886 (__gettimeofday): Add libc_hidden_def.
17887 (gettimeofday): Add libc_hidden_weak.
17888 * sysdeps/mach/gettimeofday.c: Likewise.
17889 * sysdeps/posix/gettimeofday.c: Likewise.
17890 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17891 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17892 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17893 (__gettimeofday_internal): Remove strong_alias.
17894 (__gettimeofday): Add libc_hidden_def.
17895 (gettimeofday): Add libc_hidden_weak.
17896 * sysdeps/unix/syscalls.list (gettimeofday):
17897 Remove __gettimeofday_internal alias.
17898
b5a2bbe6
L
178992012-05-24 Daniel Jacobowitz <drow@false.org>
17900 H.J. Lu <hongjiu.lu@intel.com>
17901
17902 [BZ #12495]
17903 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17904 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17905 (largebin_index_32_big): New.
17906 (largebin_index): Use it for 16-byte alignment.
17907 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17908 correction with front_misalign.
17909
cfba4fda
L
179102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17911
7f907421
L
17912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17914 Likewise.
17915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17916 Likewise.
17917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17918 Likewise.
17919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17920 Likewise.
17921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17922 Likewise.
17923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17924 Likewise.
17925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17926 Likewise.
17927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17928 Likewise.
17929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17930 Likewise.
17931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17932 Likewise.
17933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17934 Likewise.
17935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17936 Likewise.
17937
cfba4fda
L
17938 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17939 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17940
80bad0cc
JM
179412012-05-24 Joseph Myers <joseph@codesourcery.com>
17942
7a25eb06
JM
17943 [BZ #10846]
17944 [BZ #14036]
17945 * math/libm-test.inc (exp_test): Add test from bug 14036.
17946 (pow_test): Add test from bug 10846.
17947
795405f9
JM
17948 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17949 and other flags.
17950 (special_function): Do not include flags in test name.
17951 (parse_args): Likewise.
17952 * sysdeps/i386/fpu/libm-test-ulps: Update.
17953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17954 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17955 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17957
80bad0cc
JM
17958 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17959 exceptions.
17960 * math/libm-test.inc ("Philosophy"): Update comment about
17961 exception testing.
17962 (UNDERFLOW_EXCEPTION): New macro.
17963 (UNDERFLOW_EXCEPTION_OK): Likewise.
17964 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17965 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17966 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17967 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17968 (INVALID_EXCEPTION_OK): Update value.
17969 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17970 (OVERFLOW_EXCEPTION_OK): Likewise.
17971 (IGNORE_ZERO_INF_SIGN): Likewise.
17972 (test_exceptions): Handle underflow exceptions.
17973 (acos_test): Update for underflow exception expectations.
17974 (cexp_test): Likewise.
17975 (clog_test): Likewise.
17976 (clog10_test): Likewise.
17977 (csqrt_test): Likewise.
17978 (ctan_test): Likewise.
17979 (ctanh_test): Likewise.
17980 (exp_test): Likewise.
17981 (exp10_test): Likewise.
17982 (exp2_test): Likewise.
17983 (expm1_test): Likewise.
17984 (fma_test): Likewise.
17985 (j0_test): Likewise.
17986 (jn_test): Likewise.
17987 (nexttoward_test): Likewise.
17988 (pow_test): Likewise.
17989 (scalbn_test): Likewise.
17990 (scalbln_test): Likewise.
17991 (tan_test): Likewise.
17992 (y1_test): Likewise.
17993 * sysdeps/i386/fpu/libm-test-ulps: Update.
17994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17995
9e0e3d0b
DM
179962012-05-23 David S. Miller <davem@davemloft.net>
17997
17998 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17999 (__libc_sigaction): Remove unused local variables.
18000
ccd0a08f
L
180012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18002
18003 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18004
62bdf9a6
PE
180052012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18006
f8591f80
PE
18007 mktime: avoid signed integer overflow
18008 * time/mktime.c (__mktime_internal): Do not mishandle the case
18009 where diff == INT_MIN.
18010
94c7d826
PE
18011 mktime: simplify computation of average
18012 * time/mktime.c (ranged_convert): Use new time_t_avg function
18013 instead of rolling our own (probably-slower) code.
18014
ce73d683
PE
18015 mktime: do not assume signed right shift propagates sign bit
18016 * time/mktime.c (isdst_differ): New static function.
18017 (__mktime_internal): No need to normalize tm_isdst now.
18018 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18019 tm_isdst values.
18020
72a22e59
PE
18021 mktime: merge another wrapv change from gnulib
18022 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18023 from some compilers.
18024
68605433
PE
18025 mktime: remove incorrect attempt at unusual arithmetics
18026 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18027 The code didn't really work on such machines anyway.
18028 (TYPE_MINIMUM): Assume two's complement.
18029 (twos_complement_arithmetic): Verify that long_int and time_t
18030 are two's complement (or unsigned, in the latter case).
18031
03cf7fe3
PE
18032 mktime: check signed shifts on long_int and time_t, too
18033 * time/mktime.c (SHR): Check that shifts work as desired
18034 on the types long_int and time_t too, as SHR is used on
18035 such types.
18036
f04dfbc2
PE
18037 mktime: do not assume 'long' is wide enough
18038 * time/mktime.c (verify): Move decl up.
18039 (long_int): New type.
18040 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18041 to remove assumption in the code that 'long' is wide enough to
18042 store year values. This assumption is not true on x32 and on
18043 some non-glibc platforms.
18044
62bdf9a6
PE
18045 mktime: merge wrapv change from gnulib
18046 * time/mktime.c (WRAPV): New macro.
18047 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18048 (guess_time_tm, __mktime_internal): Do not assume that signed
18049 integer overflow wraps around; modern compilers generate code
18050 where this assumption is no longer valid.
18051
5e292e4f
L
180522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18053
18054 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18055 Replace "jmp L(pseudo_end)" with "ret".
18056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18057 Likewise.
18058
8caf8c87
AJ
180592012-05-23 Andreas Jaeger <aj@suse.de>
18060
18061 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18062 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18063
1a09dc56
AJ
180642012-05-23 Andreas Jaeger <aj@suse.de>
18065 Maximilian Attems <max@stro.at>
18066
18067 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18068 New macros.
18069
1c87aba0
L
180702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18071
18072 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18073 code so that pseudo_end is just ret and the stack pointer is
18074 correct also for static library in error case.
18075
40e45bd5
JM
180762012-05-23 Joseph Myers <joseph@codesourcery.com>
18077
c2670533
JM
18078 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18079 move to syscalls.list.
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18084
40e45bd5
JM
18085 * manual/install.texi (Running make install): Do not mention Linux
18086 kernel version for which pt_chown is not needed.
18087 (Linux): Do not mention problems with nscd with 2.0 kernels.
18088 * INSTALL: Regenerated.
18089
be08eda5
AJ
180902012-05-23 Andreas Jaeger <aj@suse.de>
18091
18092 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18093 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18094 macro.
18095 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18096 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18097 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18098 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18099 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18100 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18101 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18102 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18103 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18104 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18105 * sysdeps/unix/sysv/linux/bits/in.h
18106 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18107
a6a056bb
RM
181082012-05-22 Roland McGrath <roland@hack.frob.com>
18109
18110 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18111 (PREPARE_VERSION): Just use assert instead, it will be elided
18112 under [NDEBUG] anyway.
18113
c9009328
L
181142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18115
18116 * sysdeps/unix/sysv/linux/Makefile: Include
18117 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18118 (sysdep_routines): Remove sysctl.
c9009328
L
18119 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18120 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18121 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18122 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18123 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18124
73338355
AJ
181252012-05-22 Andreas Jaeger <aj@suse.de>
18126
18127 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18128 that pseudo_end is just ret and the stack pointer is correct also
18129 for static library in error case.
18130
d44638b0
PP
181312012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18132
18133 [BZ #14122]
18134 * nss/nsswitch.c (defconfig_entries): New variable.
18135 (__nss_database_lookup): Don't leak defconfig entries.
18136 (nss_parse_service_list): Don't leak on error paths.
18137 (free_database_entries): New function.
18138 (free_defconfig): New function.
18139 (free_mem): Move common code to free_database_entries.
18140
31a39bd8
L
181412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18142
da0331a8
L
18143 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18144 Add arch_prctl.
18145 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18146
31a39bd8
L
18147 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18148 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18150 New macro.
18151 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18152 (INTERNAL_SYSCALL_TYPES): Likewise.
18153 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18154 (LOAD_REGS_TYPES_[1-6]): Likewise.
18155 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18156 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18157
45470df3
AZ
181582012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18159
18160 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18161 copysignl for GLIBC_2_0.
18162 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18163 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18164 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18165 logbl for GLIBC_2_0.
18166 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18167 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18168
98a61bcb
L
181692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18170
a4f6e481
L
18171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18172 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18173
f63d5db6
L
18174 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18175 Use "neg %eax".
18176
98a61bcb
L
18177 * time/mktime.c: Update copyright years.
18178
95770f14
PE
181792012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18180
6226efbd
PE
18181 mktime: merge comment-quoting-style change from gnulib
18182 * time/mktime.c: Quote 'like this' in comments.
18183 The GNU coding standards suggest that we no longer quote `like this',
18184 as "`" and "'" are typically rendered asymmetrically nowadays.
18185 The typical gnulib style is to quote 'like this' when quoting
18186 code, and "like this" when quoting English.
18187
b99e4f78
PE
18188 * time/mktime.c (compile-command): Add "-I.".
18189
643e01e6
PE
18190 mktime: merge mktime-internal.h change from gnulib
18191 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18192
2554247d
PE
18193 mktime: merge time_r change from gnulib
18194 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18195
826dd0ab
PE
18196 mktime: merge DEBUG change from gnulib
18197 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18198 case system <time.h> has a #define.
18199
bd83aabe
PE
18200 mktime: merge <sys/types.h> change from gnulib
18201 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18202 since <time.t> is now guaranteed to define time_t.
18203
95770f14
PE
18204 mktime: merge HAVE_CONFIG_H change from gnulib
18205 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18206
5e1a27a9
L
182072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18208
0e44a77e
L
18209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18210 Use "neg %eax".
18211
5e1a27a9
L
18212 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18213 __rlim_t cast.
18214 (struct rusage): Use anonymous union to pad each field to
18215 __syscall_slong_t.
18216
46259bec
DM
182172012-05-21 David S. Miller <davem@davemloft.net>
18218
18219 * Makefules (o-iterator): Remove .s cases.
18220 (compile-command.s): Delete.
18221 (COMPILE.s): Delete.
18222 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18223
59f0c22e
JM
182242012-05-21 Joseph Myers <joseph@codesourcery.com>
18225
18226 * configure.in (libc_cv_predef_stack_protector): Only consider
18227 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18228 * configure: Regenerated.
18229
20c07380
L
182302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18231
bbb3154b
L
18232 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18233 New macro. Use R*LP on int and pointer.
18234 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18235 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18236 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18237 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18238
20c07380
L
18239 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18240 [__WORDSIZE_TIME64_COMPAT32] instead of
18241 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18242 (struct utmp): Likewise.
18243 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18244 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18245 Renamed to ...
18246 (__WORDSIZE_TIME64_COMPAT32): This.
18247 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18248 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18249 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18250 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18251 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18252 (__WORDSIZE_TIME64_COMPAT32): New macro.
18253
d8d1017e
AJ
182542012-05-21 Andreas Jaeger <aj@suse.de>
18255
18256 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18257 only if [SHARED]. Add prototype for __wcschr_ia32.
18258
6c7fb145
RM
182592012-05-21 Roland McGrath <roland@hack.frob.com>
18260
18261 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18262 of %rbp unmolested in the jmp_buf while mangling the low bits.
18263 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18264 unmolested high bits of %rbp while demangling the low bits.
18265 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18266
66274218
AJ
182672012-05-21 Andreas Jaeger <aj@suse.de>
18268
07c58f8f
AJ
18269 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18270 * sunrpc/svc_simple.c: Use it for registerrpc.
18271 * sunrpc/xcrypt.c: Use it for passwd2des.
18272
66274218
AJ
18273 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18274
61f65140
L
182752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18276
18277 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18278 Don't define if [__SYSCALL_WORDSIZE != 32].
18279 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18280 New macro.
18281
5fefb436
AJ
182822012-05-21 Bruno Haible <bruno@clisp.org>
18283 Andreas Jaeger <aj@suse.de>
18284
18285 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18286 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18287 inptr and inend for must_buffer_ch.
18288 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18289 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18290 * stdio-common/Makefile (tests): Remove bug15.
18291 (bug15-ENV): Remove macro.
18292 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18293 anymore.
18294
d8e272ab
AJ
182952012-05-19 Andreas Jaeger <aj@suse.de>
18296 Roland McGrath <roland@hack.frob.com>
18297
18298 * manual/contrib.texi: Completely rewritten. It contains now an
18299 alphabetical list of contributors and their contributions.
18300
4a56a162
RH
183012012-05-21 Richard Henderson <rth@twiddle.net>
18302
18303 * misc/getauxval.c (__getauxval): Use unsigned long int.
18304 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18305 (getauxval): Use unsigned long int.
18306
d024d23c
L
183072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18308
18309 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18310
cbc00a03
RM
183112012-05-21 Roland McGrath <roland@hack.frob.com>
18312
18313 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18314 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18315 __alignof__ (long double).
18316
478143fa
AZ
183172012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18318
18319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18320
c7683a6d
RH
183212012-05-20 Richard Henderson <rth@twiddle.net>
18322
18323 * misc/getauxval.c: New file.
18324 * misc/sys/auxv.h: New file.
18325 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18326 (routines): Add getauxval.
18327 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18328 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18329 * elf/dl-sysdep.c (_dl_auxv): Remove.
18330 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18331 * elf/dl-support.c (_dl_auxv): New variable.
18332 (_dl_aux_init): Initialize it.
18333 * manual/startup.texi (Auxiliary Vector): New node.
18334 * sysdeps/generic/bits/hwcap.h: New file.
18335 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18336 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18337 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18338 * sysdeps/sparc/sysdep.h: ... here. Include it.
18339 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18340 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18342 Update.
c7683a6d
RH
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18351
a6f1845d
AZ
183522012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18353
18354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18355
cbcbe830
DM
183562012-05-19 David S. Miller <davem@davemloft.net>
18357
18358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18359
e0b16cc2
JM
183602012-05-19 Joseph Myers <joseph@codesourcery.com>
18361
18362 [BZ #14123]
18363 * math/s_ccosh.c: Include <float.h>
18364 (__ccosh): Avoid internal overflow calculating sinh and cosh
18365 values before multiplying by sin and cos values.
18366 * math/s_ccoshf.c: Likewise.
18367 * math/s_ccoshl.c: Likewise.
18368 * math/s_csin.c: Likewise.
18369 * math/s_csinf.c: Likewise.
18370 * math/s_csinl.c: Likewise.
18371 * math/s_csinh.c: Likewise.
18372 * math/s_csinhf.c: Likewise.
18373 * math/s_csinhl.c: Likewise.
18374 * math/libm-test.inc (ccos_test): Add more tests.
18375 (ccosh_test): Likewise.
18376 (csin_test): Likewise.
18377 (csinh_test): Likewise.
18378 * sysdeps/i386/fpu/libm-test-ulps: Update.
18379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18380
6ad13e08
L
183812012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18382
f66f0ce8
L
18383 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18384 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18385
6ad13e08
L
18386 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18387
b1d072a7
JM
183882012-05-19 Joseph Myers <joseph@codesourcery.com>
18389
18390 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18391 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18392 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18393 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18394 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18395 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18396 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18397 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18398 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18399 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18400 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18401 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18402 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18403 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18404 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18405 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18406 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18407 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18408 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18409 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18410 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18411 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18412 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18413 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18414 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18415 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18416 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18417 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18418 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18419 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18420 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18421
9eae47cb
AJ
184222012-05-18 Andreas Jaeger <aj@suse.de>
18423
18424 * csu/.gitignore: Delete.
18425
bb07f69f
L
184262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18427
18428 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18429 (timex): Use __syscall_slong_t.
18430
e6bdb741
AJ
184312012-05-18 Andreas Jaeger <aj@suse.de>
18432 Carlos O'Donell <carlos_odonell@mentor.com>
18433
18434 * manual/install.texi (Configuring and compiling): Update
18435 description about files modified in the source directory.
d6c33fda 18436 * INSTALL: Regenerated.
e6bdb741 18437
1b74487e
L
184382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18439
18440 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18441 value. Use "or" to set return value to -1.
18442 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18443 negate return value.
18444
a88b64b9
TMQMF
184452012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18446
18447 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18448 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18449 failure if the compiler has Graphite support disabled.
18450 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18451 Likewise.
18452 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18453 CFLAGS-memmove.c): Likewise.
18454 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18455 Likewise.
18456
3707636e
L
184572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18458
610b8622
L
18459 * sysdeps/x86_64/x32/_itoa.h: New file.
18460
7cd195df
L
18461 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18462 getdents system call only if kernel and user dirents have the
18463 same d_ino and d_off.
18464
94b07d20
L
18465 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18466 LLONG_MAX != LONG_MAX.
18467 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18468 (_fitoa_word): Likewise.
18469
18298070
L
18470 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18471 years.
18472 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18473 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18474 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18475
553c7ea4
L
18476 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18477 include <bits/wordsize.h>. Check __x86_64__ instead of
18478 __WORDSIZE.
18479 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18480 if __x86_64__ is defined. Use anonymous union on fpstate.
18481
3707636e
L
18482 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18483 anonymous union.
18484
b53ef01a
AS
184852012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18486
37fb1dc0
AS
18487 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18488 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18489 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18490 Refer to _rtld_local_ro instead of _rtld_global_ro.
18491 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18492 Likewise.
18493 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18494 Likewise.
18495 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18496 Likewise.
18497 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18498 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18499 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18500
b53ef01a
AS
18501 * sysdeps/powerpc/powerpc32/dl-machine.c
18502 (__elf_machine_runtime_setup) [PROF]: Don't reference
18503 _dl_prof_resolve.
18504
7a185db2
AJ
185052012-05-18 Andreas Jaeger <aj@suse.de>
18506
18507 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18508 function only available for GCCs before 3.4 since GCC 3.4
18509 introduced a builtin.
18510 (lrint): Likewise.
18511 (llrintf): Likewise.
18512 (llrint): Likewise.
18513 (fmaxf): Likewise.
18514 (fmax): Likewise.
18515 (fminf): Likewise.
18516 (fmin): Likewise.
18517 (rint): Likewise.
18518 (rintf): Likewise.
18519 (nearbyint): Likewise.
18520 (nearbyintf): Likewise.
18521 (ceil): Likewise.
18522 (ceilf): Likewise.
18523 (floor): Likewise.
18524 (floorf): Likewise.
18525
3e5aef87
L
185262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18527
428bd707
L
18528 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18529 on both fields and cast pointer to __syscall_ulong_t.
18530
3e5aef87
L
18531 * bits/types.h (__fsword_t): New type.
18532 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18533 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18535 (__FSWORD_T_TYPE): Likewise.
18536 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18537 (__FSWORD_T_TYPE): Likewise.
18538 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18539 (__FSWORD_T_TYPE): Likewise.
18540 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18541 (__FSWORD_T_TYPE): Likewise.
18542 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18543 __SWORD_TYPE with __fsword_t.
18544 (statfs64): Likewise.
18545
1ba7c3dc
DM
185462012-05-17 David S. Miller <davem@davemloft.net>
18547
18548 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18549
59910343
AJ
185502012-05-17 Andreas Jaeger <aj@suse.de>
18551
18552 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18553 warning.
18554
2e4c1e9e
L
185552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18556
18557 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18558
de7f5ce7
AJ
185592012-05-17 Andreas Jaeger <aj@suse.de>
18560
18561 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18562 when it is used.
18563
286abc3d
CM
185642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18565
18566 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18567
477cc68e
L
185682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18569
18570 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18571 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18572
1a0994f5
CD
185732012-05-17 Andreas Jaeger <aj@suse.de>
18574 Carlos O'Donell <carlos_odonell@mentor.com>
18575
18576 [BZ #14059]
18577 * sysdeps/x86_64/multiarch/init-arch.h
18578 (bit_YMM_Usable): Rename to...
18579 (bit_AVX_Usable): ... this.
18580 (bit_FMA4_Usable): New macro.
18581 (bit_XMM_state): New macro.
18582 (bit_YMM_state): New macro.
18583 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18584 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18585 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18586 (CPUID_OSXSAVE): New macro.
18587 (CPUID_AVX): New macro.
18588 (CPUID_FMA4): New macro.
18589 (index_YMM_Usable): Rename to...
18590 (index_AVX_Usable): ... this.
18591 (HAS_AVX): Use HAS_ARCH_FEATURE.
18592 (HAS_FMA4): Likewise.
18593 (HAS_YMM_USABLE): Remove.
18594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18595 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18596 are present.
18597 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18598 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18599 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18600 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18601 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18602
0af797de
CM
186032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18604
18605 * math/libm-test.c: Support platforms without multiple rounding modes.
18606 * math/bug-nextafter.c: Support platforms without FP exceptions.
18607 * math/bug-nexttoward.c: Likewise.
18608 * math/test-fenv.c: Likewise.
18609 * math/test-misc.c: Likewise.
18610 * stdlib/bug-getcontext.c: Likewise.
18611
e39745ff
AJ
186122012-05-17 Andreas Jaeger <aj@suse.de>
18613
18614 * manual/examples/search.c (critter_cmp): Change signature to
18615 avoid warnings.
18616 * manual/string.texi (Collation Functions): Likewise.
18617
48970aba
L
186182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18619
18620 * bits/types.h: Fold copyright years.
18621 * bits/typesizes.h: Likewise.
18622 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18624 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18626 * time/time.h: Likewise.
18627
bedee953
PP
186282012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18629
18630 [BZ #208]
18631 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18632 in instead of returning them. Return void.
18633 (__libc_mallinfo): Accumulate over all arenas.
18634 (__malloc_stats): Adjust for change in int_mallinfo interface.
18635
61653dfb
RM
186362012-05-16 Roland McGrath <roland@hack.frob.com>
18637
30b99d79
RM
18638 [BZ #10375]
18639 * configure.in (NM): Add AC_CHECK_TOOL for it.
18640 (libc_extra_cflags): New substituted variable.
18641 Check for -fstack-protector being used implicitly.
18642 * configure: Regenerated.
18643 * config.make.in (config-extra-cflags): New variable,
18644 gets @libc_extra_cflags@.
18645 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18646
61653dfb
RM
18647 [BZ #10375]
18648 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18649 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18650 * configure: Regenerated.
18651 * config.make.in (CPPUNDEFS): New substituted variable.
18652 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18653 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18654 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18655
661768bb
L
186562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18657
18658 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18659 (mq_attr): Use __syscall_slong_t.
18660
d4261567
L
186612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18662
18663 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18664 Check __x86_64__ instead of __WORDSIZE.
18665 (_STAT_VER_LINUX): Likewise.
18666 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18667 __syscall_ulong_t and __syscall_slong_t.
18668 (stat64): Likewise.
18669
cf3ff365
L
186702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18671
18672 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18673
76cf3e4d
L
186742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18675
18676 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18677
a637753a
L
186782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18679
18680 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18681 __syscall_ulong_t.
18682
d5e05119
L
18683 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18684 include <bits/wordsize.h>. Check __x86_64__ instead of
18685 __WORDSIZE.
18686 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18687 defined.
18688 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18689
f62ee380
L
18690 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18691 include <bits/wordsize.h>. Check __x86_64__ instead of
18692 __WORDSIZE.
18693 (user_regs_struct): Use "__extension__ unsigned long long"
18694 instead of "unsigned long" if __x86_64__ is defined.
18695 (user): Likewise. Pad after pointer field if __ILP32__ is
18696 defined.
18697
4e124ced
JM
186982012-05-16 Joseph Myers <joseph@codesourcery.com>
18699
6a3951a0
JM
18700 * configure.in (makeinfo): Require version 4.5 or later. Allow
18701 versions 5 to 9.
18702 * configure: Regenerated.
18703 * manual/install.texi (texinfo): Increase version requirement to
18704 4.5 or later.
18705 * INSTALL: Regenerated.
18706
4e124ced
JM
18707 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18708
953ca31a
L
187092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18710
18711 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18712
617aca05
L
18713 * sysdeps/x86_64/x32/ffs.c: New file.
18714
5762f7ae
L
18715 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18716 __syscall_ulong_t.
18717 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18718 defined. Use __syscall_ulong_t.
18719 (shminfo): Use __syscall_ulong_t.
18720 (shm_info): Likewise.
18721
a26b6856
L
18722 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18723 __syscall_ulong_t.
18724
cb2b9ef7
L
18725 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18726 <bits/wordsize.h>.
18727 (msgqnum_t): Use __syscall_ulong_t.
18728 (msglen_t): Likewise.
18729 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18730 __syscall_ulong_t.
18731
34683bb0
L
18732 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18733 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18734
84a68786
L
18735 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18736
48baa5f1
L
18737 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18738 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18739
180be88b
L
18740 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18741 __syscall_slong_t.
18742
5e90c8ad
L
18743 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18744 include <bits/wordsize.h>. Check __x86_64__ instead of
18745 __WORDSIZE.
18746
23dfb58b
L
18747 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18748 "unsigned long long int" if __x86_64__ is defined.
18749 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18750
ce5d54b0
L
18751 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18752 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18753 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18754
13dc9eac
L
18755 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18756 <stdint.h>.
18757 (GET_PC): Cast to uintptr_t first.
18758 (GET_FRAME): Likewise.
18759 (GET_STACK): Likewise.
18760
a7895d15
L
18761 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18762 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18763 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18764 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18765 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18766 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18767 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18768 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18769 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18770 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18771 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18772 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18773 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18774 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18775 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18776 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18777 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18778 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18779 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18780 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18781 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18782 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18783 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18784 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18785 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18786 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18787 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18788 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18789 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18790
656416c9
AS
187912012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18792
5bd66283
AS
18793 * Makerules (+depfiles): Also collect depfiles from .oS in
18794 $(extra-objs).
18795 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18796 .oS, $(libnldbl-routines)).
18797
656416c9
AS
18798 * Makerules (native-compile-mkdep-flags): Define.
18799 * sunrpc/Makefile (extra-objs): Add $(addprefix
18800 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18801 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18802 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18803 calling $(make-target-directory).
18804
a46f2169
L
188052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18806
18807 * bits/types.h (__snseconds_t): Removed.
18808 * time/time.h (struct timespec): Replace __snseconds_t with
18809 __syscall_slong_t.
18810 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18811 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18812 Likewise.
18813 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18814 (__SNSECONDS_T_TYPE): Likewise.
18815 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18816 (__SNSECONDS_T_TYPE): Likewise.
18817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18818 (__SNSECONDS_T_TYPE): Likewise.
18819
6af6528b
L
188202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18821
18822 * sysdeps/mach/hurd/bits/typesizes.h
18823 (__SYSCALL_SLONG_TYPE): New macro.
18824 (__SYSCALL_ULONG_TYPE): Likewise.
18825
de986b56
L
188262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18827
18828 * bits/types.h (__syscall_slong_t): New type.
18829 (__syscall_ulong_t): Likewise.
18830
18831 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18832 (__SYSCALL_ULONG_TYPE): Likewise.
18833 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18834 (__SYSCALL_SLONG_TYPE): Likewise.
18835 (__SYSCALL_ULONG_TYPE): Likewise.
18836 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18837 (__SYSCALL_SLONG_TYPE): Likewise.
18838 (__SYSCALL_ULONG_TYPE): Likewise.
18839 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18840 (__SYSCALL_SLONG_TYPE): Likewise.
18841 (__SYSCALL_ULONG_TYPE): Likewise.
18842
85736dc7
L
188432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18844
18845 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18846 Add sigaltstack-offsets.sym.
18847 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18848 <sigaltstack-offsets.h>.
18849 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18850 longjmp_msg pointer.
18851 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18852 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18853 signal stack.
18854 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18855
cc03b296
JM
188562012-05-15 Joseph Myers <joseph@codesourcery.com>
18857
a9538892
JM
18858 * elf/stackguard-macros.h: Remove file.
18859 * sysdeps/generic/stackguard-macros.h: New file.
18860 * sysdeps/i386/stackguard-macros.h: Likewise.
18861 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18862 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18863 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18864 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18865 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18866 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18867 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18868 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18869 <elf/stackguard-macros.h>.
18870
cc03b296
JM
18871 [BZ #14109]
18872 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18873 __aligned__ in attribute.
18874 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18875 (gregset_t): Likewise.
18876
93171016
L
188772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18878
18879 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18880 * sysdeps/x86_64/64/Implies-after: Here. New file.
18881 * sysdeps/x86_64/x32/Implies-after: New file.
18882
d86813a0
L
188832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18884
18885 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18886 and access return value for _dl_profile_fixup. Use R10_LP to
18887 load frame size.
18888
2953ec75
L
188892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18890
18891 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18892
3b550e9e
L
188932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18894
18895 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18896 * sysdeps/x86_64/x32/sysdep.h: New file.
18897
eda41706
L
188982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18899
18900 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18901 * sysdeps/x86_64/setjmp.S: Likewise.
18902
9ea01d93
AZ
189032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18904
18905 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18906 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18907 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18908 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18909 remove unused global constant.
18910
02a91938
CM
189112012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18912
18913 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18914 include of <not-cancel.h>.
18915
6540185f
RM
189162012-05-15 Roland McGrath <roland@hack.frob.com>
18917
18918 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18919
509072a0
AJ
189202012-05-15 Jeff Law <law@redhat.com>
18921 Andreas Jaeger <aj@suse.de>
18922
18923 [BZ #13594]
18924 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18925 out from...
18926 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18927 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18928 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18929 code changing __hst_map_handle.map.
18930
ba75122d
RM
189312012-05-15 Roland McGrath <roland@hack.frob.com>
18932
18933 * configure.in (sysnames): Look for Implies-before and Implies-after
18934 files.
18935 * configure: Regenerated.
18936
890d8bd8
L
189372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18938
18939 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18940 8-byte data alignment with LP_SIZE alignment.
18941
f6ee6623
L
189422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18943
18944 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18945 into R10_LP.
18946
ea2626f6
L
189472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18948
18949 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18950
085f715e
L
189512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18952
18953 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18954 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18955 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18956 Likewise.
18957 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18958
be8498fc
L
189592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18960
18961 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18962 (stackinfo_sub_sp): Likewise.
18963
70bc83b9
L
189642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18965
18966 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18967 RAX_LP.
18968
9bc0b730
L
189692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18970
18971 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18972 into R*_LP.
18973
6d2850e7
L
189742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18975
18976 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18977 sizes into R*_LP.
18978
3cb84561
L
189792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18980
18981 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18982
54e2ed81
L
189832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18984
18985 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18986 into R11_LP and load __x86_64_shared_cache_size_half into
18987 R8_LP.
18988
8a17f349
L
189892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18990
18991 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18992 R8_LP.
18993
777b1eea
AZ
189942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18995
18996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18997 logb for POWER7.
18998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18999 logbf for POWER7.
19000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19001 logbl for POWER7.
19002 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19003 powerpc32/power7/fpu/s_logb.c via #include.
19004 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19005 powerpc32/power7/fpu/s_logbf.c via #include.
19006 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19007 powerpc32/power7/fpu/s_logbl.c via #include.
19008
d20d4ac2
JM
190092012-05-15 Joseph Myers <joseph@codesourcery.com>
19010
19011 * README.libm: Remove file.
19012
6cdef1ab
L
190132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19014
19015 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19016 count for x32. Use R*_LP and omit operand-size suffix.
19017
0b254d8f
L
190182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19019
19020 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19021 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19022 * sysdeps/x86_64/x32/shlib-versions: New file.
19023
ceb809dc
RM
190242012-05-14 Roland McGrath <roland@hack.frob.com>
19025
19026 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19027 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19028 Use _dl_fatal_printf instead.
19029
37f1abd4
JM
190302012-05-14 Joseph Myers <joseph@codesourcery.com>
19031
19032 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19033 set if not set by the user. Do not allow for being unset.
19034 * sysdeps/unix/sysv/linux/configure: Regenerated.
19035
11de3a33
L
190362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19037
19038 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19039 the `q' suffix from lea and replace .quad with ASM_ADDR.
19040
e02f153a
L
190412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19042
19043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19044 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19045 instead of $17.
19046 (PTR_DEMANGLE): Likewise.
19047
520ae0fd
L
190482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19049
19050 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19051 (LP_OP): Likewise.
19052 (ASM_ADDR): Likewise.
19053 (RAX_LP): Likewise.
19054 (RBP_LP): Likewise.
19055 (RBX_LP): Likewise.
19056 (RCX_LP): Likewise.
19057 (RDI_LP): Likewise.
19058 (RSI_LP): Likewise.
19059 (RSP_LP): Likewise.
19060 (R8_LP): Likewise.
19061 (R9_LP): Likewise.
19062 (R10_LP): Likewise.
19063 (R10_LP): Likewise.
19064 (R11_LP): Likewise.
19065 (R12_LP): Likewise.
19066 (R13_LP): Likewise.
19067 (R14_LP): Likewise.
19068 (R15_LP): Likewise.
19069
b985be81
L
190702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19071
19072 * sysdeps/x86_64/x32/dl-machine.h: New file.
19073
6a4888ff
AJ
190742012-05-14 Andreas Jaeger <aj@suse.de>
19075
19076 * manual/Makefile (subdir): Remove export of subdir.
19077 (all): Remove target.
19078 (.PHONY): Remove all from list.
19079 (mkinstalldirs): Remove.
19080 (.PHONY): Remove installdirs from list.
19081 ($(inst_infodir)/libc.info): Use make-target-directory.
19082 (installdirs): Remove.
19083 (subdir_%): Remove.
19084 (glibc-targets): Remove.
19085 (lib): Remove.
19086 (stubs): Remove.
19087 ($(objpfx)stubs ../po/manual.pot): Remove.
19088 ($(objpfx)stamp%): Remove.
19089 (make-target-directory): Remove.
19090 (subdir_install): Remove.
19091 (routines): Remove.
19092 (aux): Remove.
19093 (sources): Remove.
19094 (objects): Remove.
19095 (headers): Remove.
19096
19097 [BZ #13750]
19098 * manual/.gitignore: Remove, it's not needed anymore.
19099 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19100 all files in it.
19101 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19102 directory.
19103 (texis): Renamed to $(objpfx)texis.
19104 (texis-path): New, contains path to generated files.
19105 (chapters.%): Use texis-path for complete path, add extra argument
19106 libc-texinfo.sh.
19107 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19108 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19109 (summary,texi, stamp-summary): Use complete path of
19110 files. Generate files in build dir.
19111 (dir-add.texi): Build in build dir.
19112 (libm-err.texi,stamp-libm-err): Likewise.
19113 (version.texi, stamp-version): Likewise.
19114 (.%c.texi): Likewise.
19115 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19116 (mostlyclean): Remove target.
19117 (realclean): Remove target.
19118 (generated): Add new variable with contents from mostlyclean and
19119 realclean, remove entries duplicated in common-mostlyclean, add
19120 stamp-libm-err and stamp-version.
19121 (generated-dirs): Add libc directory.
19122 ($(inst_infodir)/libc.info): Install files from build dir.
19123
19124 * manual/install.texi (Configuring and compiling): Adjust since
19125 the info files are not part of the tar ball anymore.
19126
7ac77294
AJ
191272012-05-14 Andreas Jaeger <aj@suse.de>
19128
19129 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19130 variable.
19131
ffb7875d
JM
191322012-05-14 Joseph Myers <joseph@codesourcery.com>
19133
19134 [BZ #13717]
19135 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19136 to 2.2.0 where earlier.
19137 * sysdeps/unix/sysv/linux/configure: Regenerated.
19138 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19139 Remove conditional code.
19140 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19141 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19142 Remove conditional code.
19143 [!__NR_lchown]: Likewise.
19144 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19145 [__NR_lchown]: Likewise.
19146 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19147 comment referencing __ASSUME_LCHOWN_SYSCALL.
19148 * sysdeps/unix/sysv/linux/i386/sigaction.c
19149 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19150 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19151 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19152 Remove conditional code.
19153 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19154 (__protocol_available): Remove #if 0 code.
19155 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19156 conditional code.
19157 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19158 * sysdeps/unix/sysv/linux/kernel-features.h
19159 (__ASSUME_GETCWD_SYSCALL): Don't define.
19160 (__ASSUME_REALTIME_SIGNALS): Likewise.
19161 (__ASSUME_PREAD_SYSCALL): Likewise.
19162 (__ASSUME_PWRITE_SYSCALL): Likewise.
19163 (__ASSUME_POLL_SYSCALL): Likewise.
19164 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19165 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19166 non-SPARC.
19167 (__ASSUME_SIOCGIFNAME): Don't define.
19168 (__ASSUME_MSG_NOSIGNAL): Likewise.
19169 (__ASSUME_SENDFILE): Define unconditionally.
19170 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19171 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19172 conditional code.
19173 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19174 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19175 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19176 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19177 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19178 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19179 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19181 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19182 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19184 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19187 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19190 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19193 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19196 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19199 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19202 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19204 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19205 Remove conditional code.
19206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19207 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19208 Remove conditional code.
19209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19210 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19211 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19212 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19213 Remove conditional code.
19214 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19215 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19216 Remove conditional code.
19217 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19218 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19219 Remove conditional code.
19220 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19221 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19222 Remove conditional code.
19223 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19224 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19225 Remove conditional code.
19226 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19227 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19228 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19230 * sysdeps/unix/sysv/linux/sigaction.c
19231 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19232 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19233 * sysdeps/unix/sysv/linux/sigpending.c
19234 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19235 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19236 * sysdeps/unix/sysv/linux/sigprocmask.c
19237 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19238 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19239 * sysdeps/unix/sysv/linux/sigsuspend.c
19240 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19241 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19242 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19243 (__libc_missing_rt_sigs): Remove.
19244 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19245 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19246 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19247 Remove conditional code.
19248 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19249 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19250 return 1.
19251 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19252 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19253 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19254 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19255
1bfb7291
AJ
192562012-05-14 Andreas Jaeger <aj@suse.de>
19257
caae5a81
AJ
19258 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19259 it's not used in glibc.
19260 (__coshm1): Likewise.
19261 (__acosh1p): Likewise.
19262 (__sgn): Likewise.
19263
1bfb7291
AJ
19264 * manual/string.texi (Copying and Concatenation): Add missing
19265 variable in concat example.
19266 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19267
c044d724
L
192682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19269
144c5467 19270 [BZ #14103]
c044d724
L
19271 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19272 __builtin_clzl with __builtin_clzll.
19273
2523c62b
L
192742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19275
19276 [BZ #14104]
19277 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19278 libc_freeres_ptr.
19279
d7bb4c42
LD
192802012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19281
19282 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19283 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19284 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19285 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19286
9dc4e1fb
MF
192872012-05-14 Mike Frysinger <vapier@gentoo.org>
19288
19289 * NEWS: Update ia64 info.
19290
c7df0112
AS
192912012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19292
19293 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19294 used as bcopy.
19295
dc70356c
TS
192962012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19297
19298 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19299 * sysdeps/unix/syscalls.list (dup3): Likewise.
19300 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19301 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19302
9fb1a21f
L
193032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19304
19305 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19306 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19307
4822a2a5
L
193082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19309
19310 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19311 thread pointer.
19312 (TLS_IE): Use mov/add instead of movq/addq to load thread
19313 pointer.
19314 (TLS_GD_PREFIX): New.
19315 (TLS_GD): Use it.
19316
842b81d6
DM
193172012-05-11 David S. Miller <davem@davemloft.net>
19318
19319 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19320 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19321 (_FPU_SETCW): Likewise.
19322
1cf463cd
L
193232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19324
19325 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19326 is 32-byte aligned.
19327
60cc4a18
AS
193282012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19329
19330 [BZ #11837]
19331 * iconvdata/gb18030.c: Update tables.
19332 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19333 characters specially.
19334 (BODY for TO_LOOP): Add encoding of missing ranges.
19335
febb44a4
TS
193362012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19337
19338 [BZ #13673]
19339 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19340 * sysdeps/mach/hurd/dup3.c: Likewise.
19341 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19342 * sysdeps/powerpc/memmove.c:: Likewise.
19343
0a10fb9e
L
193442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19345
19346 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19347 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19348
df8a552f
L
193492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19350
19351 * elf/elf.h (R_X86_64_RELATIVE64): New.
19352 (R_X86_64_NUM): Updated.
19353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19354 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19355 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19356 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19357 tst-quad1pie tst-quad2pie
19358 (modules-names): Add tst-quadmod1 tst-quadmod2.
19359 ($(objpfx)tst-quad1): New dependency.
19360 ($(objpfx)tst-quad2): Likewise.
19361 ($(objpfx)tst-quad1pie): Likewise.
19362 ($(objpfx)tst-quad2pie): Likewise.
19363 * sysdeps/x86_64/tst-quad1.c: New file.
19364 * sysdeps/x86_64/tst-quad1pie.c: New file.
19365 * sysdeps/x86_64/tst-quad2.c: Likewise.
19366 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19367 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19368 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19369 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19370 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19371
f34d6f84
ST
193722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19373
f42d41d1
ST
19374 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19375 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19376 * streams/stropts.h (t_scalar_t): Define type.
19377
3c3571fc
ST
19378 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19379 (_PATH_PRESERVE): Set to "/var/lib".
19380 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19381
61f06bd3
ST
19382 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19383 instead of int.
19384
918d4d71
ST
19385 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19386 if __dir_mkfile succeeded.
19387
f34d6f84
ST
19388 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19389 checking for _hurd_dtablesize. Unlock it right after having
19390 finished _hurd_dtable allocation.
19391
10589b4a
TS
193922012-05-10 Thomas Schwinge <thomas@schwinge.name>
19393
674cdbc7
TS
19394 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19395 * sysdeps/mach/hurd/configure: Regenerated.
19396 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19397 special-casing to...
19398 * sysdeps/gnu/configure.in: ... this new file.
19399 * sysdeps/unix/sysv/linux/configure: Regenerated.
19400 * sysdeps/gnu/configure: New generated file.
19401
8e41b99f
TS
19402 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19403 for Linux: use nsec instead of usec, as well as:
19404 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19405 members of type struct timespec.
19406 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19407 New macros.
19408 (struct stat64): Likewise.
19409 (_STATBUF_ST_NSEC): New macro.
19410 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19411
10589b4a
TS
19412 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19413 __strtoul_internal rather than strtoul.
19414
63643c85
PT
194152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19416
19417 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19418 and reject them.
19419
3faebe6a
ST
194202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19421
19422 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19423 which preserves existing values.
19424 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19425
c6474b07
PT
194262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19427
19428 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19429 TIMEOUT values. Return EINVAL for NFDS values either negative or
19430 greater than FD_SETSIZE.
19431
1043890b
ST
194322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19433
19434 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19435 allocated, call __vm_protect to finish enabling the existing space, and
19436 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19437 allocate the remainder.
19438
37ed8b9b
PT
194392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19440
19441 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19442 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19443
db653660
ST
194442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19445
37ed8b9b
PT
19446 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19447 sysdeps/mach/hurd/readlink.c.
b29d4053 19448
db653660
ST
19449 * posix/tst-sysconf.c (posix_options): Only use
19450 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19451 _POSIX_SYNCHRONIZED_IO when they are defined
19452 * sysdeps/mach/hurd/bits/posix_opt.h:
19453 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19454 (_XOPEN_REALTIME): Undefine macro.
19455 (_XOPEN_REALTIME_THREADS): Undefine macro.
19456 (_XOPEN_SHM): Undefine macro.
19457 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19458 macro to -1.
19459 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19460 macro to -1.
19461 (_POSIX_ASYNC_IO): Undefine macro.
19462 (_POSIX_PRIORITIZED_IO): Undefine macro.
19463 (_POSIX_SPIN_LOCKS): Define macro to -1.
19464
ee16e894
ST
19465 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19466 SA_NODEFER, SA_RESETHAND.
19467 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19468 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19469 F_DUPFD_CLOEXEC.
19470
6103ae3b
TS
194712012-05-10 Thomas Schwinge <thomas@schwinge.name>
19472
19473 * elf/Makefile (pldd-modules): Define unconditionally.
19474
80b4e5f3
TS
194752012-05-10 Thomas Schwinge <thomas@schwinge.name>
19476
19477 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19478
edadcbd6
ST
194792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19480
19481 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19482 Return ENOENT when name is empty.
19483 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19484
80694780
TS
194852012-05-10 Thomas Schwinge <thomas@schwinge.name>
19486
1792c087
TS
19487 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19488
80694780
TS
19489 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19490
6b645f0d
ST
194912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19492
80694780
TS
19493 Fix mlock in all cases except non-readable pages.
19494 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19495 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19496
6b645f0d
ST
19497 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19498 (__mkdir): When path is `/', just fail with EEXIST.
19499 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19500
e468f8a3
TS
195012012-05-10 Thomas Schwinge <thomas@schwinge.name>
19502
19503 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19504 <sys/uio.h> (for writev).
19505 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19506 and <sys/param.h> (for MIN).
19507
a4186cff
PT
195082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19509
19510 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19511 REQUESTED_TIME. Properly set the remaining time and return EINTR
19512 if interrupted.
19513
510bbf14
TS
195142012-05-10 Thomas Schwinge <thomas@schwinge.name>
19515
19516 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19517 Depend on against $(link-rpcuserlibs).
19518
5d5722e8
ST
195192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19520
a4186cff
PT
19521 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19522 (__libc_stack_end): Do not use attribute_relro.
19523 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19524 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19525 to libthread-provided value.
a4186cff
PT
19526 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19527 attribute_relro.
5d5722e8 19528
37233df9
TS
195292012-05-10 Thomas Schwinge <thomas@schwinge.name>
19530
be971a2b
TS
19531 [BZ #3748]
19532 * bits/libc-lock.h (__libc_once_get): New macro.
19533 * sysdeps/mach/bits/libc-lock.h: Likewise.
19534 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19535 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19536 instead of using implementation details.
19537
37233df9
TS
19538 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19539 * libio/freopen.c: Likewise.
19540 * libio/freopen64.c: Likewise.
19541 * misc/syslog.c: Likewise.
19542 * nscd/connections.c: Likewise.
19543 * nscd/netgroupcache.c: Likewise.
19544 * sysdeps/posix/getcwd.c: Likewise.
19545
38de94a5
RM
195462012-05-10 Roland McGrath <roland@hack.frob.com>
19547
19548 * math/w_ilogbf.c: Add #include <limits.h>.
19549
67530489
ST
195502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19551
a4186cff 19552 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19553 path instead of returning without unlocking.
19554
67530489
ST
19555 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19556 immediate-write ioctls.
19557 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19558
5aa3a74a
TS
195592012-05-10 Thomas Schwinge <thomas@schwinge.name>
19560
18bad2ae
TS
19561 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19562 __builtin_frame_address instead of making assumptions about the
19563 location of the return address relative to DATA. Force early load of
19564 the return address.
19565 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19566 __builtin_frame_address.
19567
5aa3a74a
TS
19568 dup3 for GNU Hurd.
19569 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19570 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19571 implement dup3 and do some further code clean-ups.
19572 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19573 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19574
ecd0de9a
ST
195752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19576
cd9fa985
ST
19577 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19578
a4186cff
PT
19579 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19580 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19581 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19582 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19583 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19584 d->port.lock.
802ca5a5 19585
a4186cff
PT
19586 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19587 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19588 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19589
bcf55240
TS
195902012-05-10 Thomas Schwinge <thomas@schwinge.name>
19591
6960eb42
TS
19592 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19593 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19594 definitions.
19595
eb43375f
TS
19596 accept4 for GNU Hurd.
19597 * include/sys/socket.h (__libc_accept4): New prototype.
19598 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19599 to implement __libc_accept4.
19600 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19601 __libc_accept4.
19602 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19603
bcf55240
TS
19604 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19605 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19606 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19607 signal-defines.sym.
19608
6178c55b
ST
196092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19610
a4186cff 19611 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19612
6f080c2f
TS
196132012-05-10 Thomas Schwinge <thomas@schwinge.name>
19614
19615 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19616 assertion on O_CLOEXEC flag.
19617 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19618 * hurd/intern-fd.c: Likewise.
19619 * hurd/port2fd.c: Likewise.
19620
bcfe3a54
ST
196212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19622
19623 [BZ #3906]
19624 * bits/in.h (IPV6_PKTINFO): Define new macro.
19625 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19626
89c9aa49
AZ
196272012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19628
19629 [BZ #13954]
19630 [BZ #13955]
19631 [BZ #13956]
19632 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19633 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19634 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19635 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19636 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19637 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19638 * math/libm-test.inc (logb_test) : Additional logb tests.
19639
021db4be
AJ
196402012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19641 Andreas Jaeger <aj@suse.de>
19642
19643 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19644 * configure: Regenerated.
19645 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19646 * config.make.in (link-obsolete-rpc): New substituted variable.
19647 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19648 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19649 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19650 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19651 so that libc.a contains the symbols.
19652 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19653 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19654 * sunrpc/auth_none.c: Likewise.
19655 * sunrpc/auth_unix.c: Likewise.
19656 * sunrpc/authdes_prot.c: Likewise.
19657 * sunrpc/authuxprot.c: Likewise.
19658 * sunrpc/clnt_gen.c: Likewise.
19659 * sunrpc/clnt_perr.c: Likewise.
19660 * sunrpc/clnt_raw.c: Likewise.
19661 * sunrpc/clnt_simp.c: Likewise.
19662 * sunrpc/clnt_tcp.c: Likewise.
19663 * sunrpc/clnt_udp.c: Likewise.
19664 * sunrpc/clnt_unix.c: Likewise.
19665 * sunrpc/des_crypt.c: Likewise.
19666 * sunrpc/des_soft.c: Likewise.
19667 * sunrpc/get_myaddr.c: Likewise.
19668 * sunrpc/key_call.c: Likewise.
19669 * sunrpc/key_prot.c: Likewise.
19670 * sunrpc/netname.c: Likewise.
19671 * sunrpc/pm_getmaps.c: Likewise.
19672 * sunrpc/pm_getport.c: Likewise.
19673 * sunrpc/pmap_clnt.c: Likewise.
19674 * sunrpc/pmap_prot.c: Likewise.
19675 * sunrpc/pmap_prot2.c: Likewise.
19676 * sunrpc/pmap_rmt.c: Likewise.
19677 * sunrpc/publickey.c: Likewise.
19678 * sunrpc/rpc_cmsg.c: Likewise.
19679 * sunrpc/rpc_common.c: Likewise.
19680 * sunrpc/rpc_dtable.c: Likewise.
19681 * sunrpc/rpc_prot.c: Likewise.
19682 * sunrpc/rpc_thread.c: Likewise.
19683 * sunrpc/rtime.c: Likewise.
19684 * sunrpc/svc.c: Likewise.
19685 * sunrpc/svc_auth.c: Likewise.
19686 * sunrpc/svc_raw.c: Likewise.
19687 * sunrpc/svc_run.c: Likewise.
19688 * sunrpc/svc_tcp.c: Likewise.
19689 * sunrpc/svc_udp.c: Likewise.
19690 * sunrpc/svc_unix.c: Likewise.
19691 * sunrpc/svcauth_des.c: Likewise.
19692 * sunrpc/xcrypt.c: Likewise.
19693 * sunrpc/xdr.c: Likewise.
19694 * sunrpc/xdr_array.c: Likewise.
19695 * sunrpc/xdr_float.c: Likewise.
19696 * sunrpc/xdr_intXX_t.c: Likewise.
19697 * sunrpc/xdr_mem.c: Likewise.
19698 * sunrpc/xdr_rec.c: Likewise.
19699 * sunrpc/xdr_ref.c: Likewise.
19700 * sunrpc/xdr_sizeof.c: Likewise.
19701 * sunrpc/xdr_stdio.c: Likewise.
19702
b5c086a2
RM
197032012-05-10 Roland McGrath <roland@hack.frob.com>
19704
19705 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19706 change. Update copyright years.
19707
6d74dd09
JM
197082012-05-10 Joseph Myers <joseph@codesourcery.com>
19709
19710 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19711
28e72501
MK
197122012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19713 Joseph Myers <joseph@codesourcery.com>
19714 Paul Pluzhnikov <ppluzhnikov@google.com>
19715
19716 [BZ #14012]
19717 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19718 requiring rpcgen.
19719 [cross-compiling] (extra-libs): Likewise.
19720 [cross-compiling] (extra-libs-others): Likewise.
19721 [cross-compiling] (librpcsvc-routines): Likewise.
19722 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19723 [cross-compiling] (omit-deps): Likewise.
19724 (sunrpc-CPPFLAGS): New variable.
19725 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19726 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19727 (cross-rpcgen-objs): New variable.
19728 (extra-objs): Append $(cross-rpcgen-objs).
19729 ($(cross-rpcgen-objs)): New rule.
19730 ($(objpfx)cross-rpcgen): Likewise.
19731 (rpcgen-cmd): Define to use $(built-program-file). Expand
19732 comment.
19733 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19734 ($(objpfx)x%.stmp): Likewise.
19735 * sunrpc/proto.h [IS_IN_build] (_): Define.
19736 [IS_IN_build] (_libc_intl_domainname): Likewise.
19737
c8c59454
L
197382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19739
19740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19741 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19742 and R_X86_64_TPOFF64.
19743
6f27cd16
JM
197442012-05-10 Joseph Myers <joseph@codesourcery.com>
19745
19746 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19747 sysdeps/unix/sysv/syscalls.list.
19748 (stime): Likewise.
19749 (utime): Likewise.
19750 * sysdeps/unix/sysv/syscalls.list: Remove file.
19751
02467e1c
PE
197522012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19753
19754 [BZ #3440]
19755 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19756 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19757 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19758 (__LC_IDENTIFICATION): Make these macros useful in #if
19759 expressions, as required by C99.
19760
da392631
AS
197612012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19762
19763 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19764 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19765 after this.
19766
8115f29b
L
197672012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19768
19769 * stdlib/longlong.h: Updated from GCC.
19770
bdd74070
AJ
197712012-05-09 Andreas Jaeger <aj@suse.de>
19772
edfe0dbe
AJ
19773 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19774 default is first entry.
19775 (run_mode): Set type.
19776 (main): Remove informal message about syslog.
19777 (options): Fix typo.
19778
bcfe3a54
ST
19779 [BZ #14053]
19780 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19781 to asm.
bcfe3a54
ST
19782 (lrint): Likewise.
19783 (llrintf): Likewise.
19784 (llrint): Likewise.
19785 (rint): Likewise.
19786 (rintf): Likewise.
19787 (nearbyint): Likewise.
19788 (nearbyintf): Likewise.
bdd74070 19789
91d8d69e
AJ
197902012-05-09 Andreas Jaeger <aj@suse.de>
19791 Pedro Alves <palves@redhat.com>
19792
19793 * nscd/nscd.c (run_mode): Use enum.
19794 (main): Cleanup coding style issue.
19795
bb90b80b
AJ
197962012-05-09 Alexandre Oliva <aoliva@redhat.com>
19797 Andreas Jaeger <aj@suse.de>
19798
bcfe3a54
ST
19799 * nscd/nscd.c (go_background): Replaced with...
19800 (run_mode): ... this.
bb90b80b 19801 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19802 (options): Add -F --foreground.
19803 (main): Implement it.
19804 (parse_opt): Parse it.
bb90b80b 19805
1a4b75a1
AJ
198062012-05-09 Andreas Jaeger <aj@suse.de>
19807
19808 [BZ #14083]
19809 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19810 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19811 -Wconversion warning.
19812 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19813 Likewise.
19814
b1cc2472
JM
198152012-05-09 Joseph Myers <joseph@codesourcery.com>
19816
19817 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19818 == 0.
19819 (LC_ALL): Use macro-int-constant.
19820 (LC_COLLATE): Likewise.
19821 (LC_CTYPE): Likewise.
19822 (LC_MESSAGES): Likewise.
19823 (LC_MONETARY): Likewise.
19824 (LC_NUMERIC): Likewise.
19825 (LC_TIME): Likewise.
19826 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19827 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19828 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19829 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19830 Specify type.
19831 [C99-based standards] (float_t): Expect type.
19832 [C99-based standards] (double_t): Expect type.
19833 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19834 type.
19835 [C99-based standards] (HUGE_VALL): Likewise.
19836 [C99-based standards] (INFINITY): Likewise.
19837 [C99-based standards] (NAN): Likewise.
19838 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19839 [C99-based standards] (FP_NAN): Likewise.
19840 [C99-based standards] (FP_NORMAL): Likewise.
19841 [C99-based standards] (FP_SUBNORMAL): Likewise.
19842 [C99-based standards] (FP_ZERO): Likewise.
19843 [C99-based standards] (FP_FAST_FMA): Use
19844 optional-macro-int-constant. Specify type. Require == 1.
19845 [C99-based standards] (FP_FAST_FMAF): Likewise.
19846 [C99-based standards] (FP_FAST_FMAL): Likewise.
19847 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19848 [C99-based standards] (FP_ILOGBNAN): Likewise.
19849 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19850 Specify type.
19851 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19852 [C99-based standards] (math_errhandling): Specify type.
19853 [ISO99 || ISO11] (signgam): Do not allow.
19854 [non-C99-based standards] (copysignf): Do not allow.
19855 [non-C99-based standards] (exp2f): Likewise.
19856 [non-C99-based standards] (log2f): Likewise.
19857 [non-C99-based standards] (modff): Allow.
19858 [non-C99-based standards] (erff): Do not allow.
19859 [non-C99-based standards] (erfcf): Likewise.
19860 [non-C99-based standards] (gammaf): Likewise.
19861 [non-C99-based standards] (hypotf): Likewise.
19862 [non-C99-based standards] (j0f): Likewise.
19863 [non-C99-based standards] (j1f): Likewise.
19864 [non-C99-based standards] (jnf): Likewise.
19865 [non-C99-based standards] (lgammaf): Likewise.
19866 [non-C99-based standards] (tgammaf): Likewise.
19867 [non-C99-based standards] (y0f): Likewise.
19868 [non-C99-based standards] (y1f): Likewise.
19869 [non-C99-based standards] (ynf): Likewise.
19870 [non-C99-based standards] (isnanf): Likewise.
19871 [non-C99-based standards] (acoshf): Likewise.
19872 [non-C99-based standards] (asinhf): Likewise.
19873 [non-C99-based standards] (atanhf): Likewise.
19874 [non-C99-based standards] (cbrtf): Likewise.
19875 [non-C99-based standards] (expm1f): Likewise.
19876 [non-C99-based standards] (ilogbf): Likewise.
19877 [non-C99-based standards] (log1pf): Likewise.
19878 [non-C99-based standards] (logbf): Likewise.
19879 [non-C99-based standards] (nextafterf): Likewise.
19880 [non-C99-based standards] (remainderf): Likewise.
19881 [non-C99-based standards] (rintf): Likewise.
19882 [non-C99-based standards] (scalbf): Likewise.
19883 [non-C99-based standards] (copysignl): Likewise.
19884 [non-C99-based standards] (exp2l): Likewise.
19885 [non-C99-based standards] (log2l): Likewise.
19886 [non-C99-based standards] (modfl): Allow.
19887 [non-C99-based standards] (erfl): Do not allow.
19888 [non-C99-based standards] (erfcl): Likewise.
19889 [non-C99-based standards] (gammal): Likewise.
19890 [non-C99-based standards] (hypotl): Likewise.
19891 [non-C99-based standards] (j0l): Likewise.
19892 [non-C99-based standards] (j1l): Likewise.
19893 [non-C99-based standards] (jnl): Likewise.
19894 [non-C99-based standards] (lgammal): Likewise.
19895 [non-C99-based standards] (tgammal): Likewise.
19896 [non-C99-based standards] (y0l): Likewise.
19897 [non-C99-based standards] (y1l): Likewise.
19898 [non-C99-based standards] (ynl): Likewise.
19899 [non-C99-based standards] (isnanl): Likewise.
19900 [non-C99-based standards] (acoshl): Likewise.
19901 [non-C99-based standards] (asinhl): Likewise.
19902 [non-C99-based standards] (atanhl): Likewise.
19903 [non-C99-based standards] (cbrtl): Likewise.
19904 [non-C99-based standards] (expm1l): Likewise.
19905 [non-C99-based standards] (ilogbl): Likewise.
19906 [non-C99-based standards] (log1pl): Likewise.
19907 [non-C99-based standards] (logbl): Likewise.
19908 [non-C99-based standards] (nextafterl): Likewise.
19909 [non-C99-based standards] (remainderl): Likewise.
19910 [non-C99-based standards] (rintl): Likewise.
19911 [non-C99-based standards] (scalbl): Likewise.
19912 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19913 [non-C99-based standards] (FP_*): Do not allow.
19914 [C99-based standards] (FP_*): Change to
19915 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19916 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19917 allow.
19918 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19919 (SIG_ERR): Likewise.
19920 [X/Open-based standards] (SIG_HOLD): Likewise.
19921 (SIG_IGN): Likewise.
19922 (SIGABRT): Use macro-int-constant. Specify type. Require
19923 positive value.
19924 (SIGFPE): Likewise.
19925 (SIGILL): Likewise.
19926 (SIGINT): Likewise.
19927 (SIGSEGV): Likewise.
19928 (SIGTER): Likewise.
19929 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19930 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19931 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19932 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19933 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19934 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19935 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19936 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19937 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19938 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19939 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19940 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19941 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19942 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19943 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19944 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19945 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19946 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19947 [X/Open-based standards] (SIGTRAP): Likewise.
19948 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19949 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19950 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19951 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19952 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19953 allow.
19954
b9f1922d
IW
199552012-05-08 Ian Wienand <ianw@vmware.com>
19956
19957 [BZ #14080]
19958 * time/tzset.c (__tzset_parse_tz): Update default rules for
19959 daylight time changes in the Energy Policy Act of 2005.
19960
1db86e88
AJ
199612012-05-09 Andreas Jaeger <aj@suse.de>
19962
19963 [BZ #13983]
19964 * elf/ldconfig.c (parse_conf): Change string to make clear that
19965 ldconfig only issued a warning if ld.so.conf does not exist.
19966
dee4a4e3
DM
199672012-05-08 David S. Miller <davem@davemloft.net>
19968
ee0db190
DM
19969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19970 movxtod instead of popping the value on the stack.
19971
dee4a4e3
DM
19972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19973
6a43ec98
CD
199742012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19975
19976 * config.h.in: Add HAVE_ARM_PCS_VFP.
19977
05c2c961
RMG
199782012-05-08 Roland Mc Grath <roland@hack.frob.com>
19979
bcfe3a54
ST
19980 [BZ #13979]
19981 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19982 checking but the checks are disabled for any reason.
05c2c961 19983
4b30f61a
L
199842012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19985
19986 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19987 and ELF64_R_TYPE with ELFW(R_TYPE).
19988
eee2bc67
JM
199892012-05-08 Joseph Myers <joseph@codesourcery.com>
19990
7ea5391a
JM
19991 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19992 (ulimit): Likewise.
19993
eee2bc67
JM
19994 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19995 (settimeofday): Likewise.
19996
abb66a67
MF
199972012-05-08 Mike Frysinger <vapier@gentoo.org>
19998
19999 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20000 a struct th_u2 inside the union, and move tu_block/tu_code into
20001 a new th_u3 union of tu_block/tu_code inside of that. Move
20002 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20003 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20004 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20005 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20006 (th_stuff): Change to th_u1.tu_stuff.
20007 (th_data): Define.
20008 (th_msg): Change to th_u1.th_u2.tu_data.
20009
7f18b530
DM
200102012-05-07 David S. Miller <davem@davemloft.net>
20011
05760585
DM
20012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20013
7f18b530
DM
20014 [BZ #14074]
20015 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20016 (SETUP_PIC_REG): Use it.
20017 (SETUP_PIC_REG_LEAF): Use it.
20018
495fd99f
JM
200192012-05-07 Joseph Myers <joseph@codesourcery.com>
20020
20021 [BZ #13885]
20022 [BZ #13923]
20023 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20024 USE_AS_EXPM1L.
20025 (EXPL_FINITE): Likewise.
20026 (FLDLOG): Likewise.
20027 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20028 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20029 e_expl.S.
20030 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20031 USE_AS_EXPM1L.
20032 (EXPL_FINITE): Likewise.
20033 (FLDLOG): Likewise.
20034 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20035 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20036 e_expl.S.
20037 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20038 test of -max_value argument for long double.
20039 * sysdeps/i386/fpu/libm-test-ulps: Update.
20040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20041
6693d694
DM
200422012-05-06 David S. Miller <davem@davemloft.net>
20043
20044 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20045 quad soft-float symbols whose references which are compiler
20046 generated.
20047 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20048
6c23e11c
JM
200492012-05-06 Joseph Myers <joseph@codesourcery.com>
20050
d8b82cad
JM
20051 [BZ #13884]
20052 [BZ #13914]
20053 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20054 USE_AS_EXP10L.
20055 (EXPL_FINITE): Likewise.
20056 (FLDLOG): Likewise.
20057 (c0): Likewise.
20058 (c1): Likewise.
20059 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20060 Adjust comments for base varying.
20061 (__expl_finite): Change alias to EXPL_FINITE.
20062 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20063 e_expl.S.
20064 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20065 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20066 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20067 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20068 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20069 USE_AS_EXP10L.
20070 (EXPL_FINITE): Likewise.
20071 (FLDLOG): Likewise.
20072 (c0): Likewise.
20073 (c1): Likewise.
20074 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20075 Adjust comments for base varying.
20076 (__expl_finite): Change alias to EXPL_FINITE.
20077 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20078 tests for bugs.
20079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20080
6c23e11c
JM
20081 [BZ #14064]
20082 * math/libm-test.inc (check_float_internal): Correct ulp
20083 calculation for subnormal expected results.
20084
29ba805c
AJ
200852012-05-06 Andreas Jaeger <aj@suse.de>
20086
20087 * Makeconfig (+math-flags): New, set to -frounding-math.
20088 (+cflags): Add +math-flags so that all of glibc gets compiled with
20089 it.
20090
20091 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20092
7b17aeda
JM
200932012-05-05 Joseph Myers <joseph@codesourcery.com>
20094
5779f134
JM
20095 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20096 Disable one test.
20097
41498f4d
JM
20098 [BZ #13787]
20099 [BZ #13922]
20100 [BZ #14036]
20101 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20102 (__ieee754_expl): Allow for and saturate large arguments.
20103 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20104 (u_threshold): Likewise.
20105 (__exp): Call __ieee754_exp before checking for overflow and
20106 underflow.
20107 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20108 (u_threshold): Likewise.
20109 (__expf): Call __ieee754_expf before checking for overflow and
20110 underflow.
20111 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20112 (u_threshold): Likewise.
20113 (__expl): Call __ieee754_expl before checking for overflow and
20114 underflow.
20115 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20116 (__ieee754_expl): Allow for and saturate large arguments.
20117 * math/libm-test.inc (exp_test): Add another test. Do not allow
20118 missing overflow exception on overflow.
20119 (expm1_test): Do not allow missing overflow exception on overflow.
20120
6698b8bf
JM
20121 * sysdeps/i386/fpu/e_expl.c: Move to ...
20122 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20123 rather than using inline asm.
20124 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20125 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20126 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20127
7b17aeda
JM
20128 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20129 (nice): Likewise.
20130 (poll): Likewise.
20131 (signal): Likewise.
20132 (time): Likewise.
20133 (times): Likewise.
20134
f7c85819
JM
201352012-05-04 Joseph Myers <joseph@codesourcery.com>
20136
20137 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20138 sysdeps/unix/common/syscalls.list.
20139 (fchmod): Likewise.
20140 (fchown): Likewise.
20141 (ftruncate): Likewise.
20142 (getrusage): Likewise.
20143 (gettimeofday): Likewise.
20144 (setpgid): Likewise.
20145 (setregid): Likewise.
20146 (setreuid): Likewise.
20147 (sigaction): Likewise.
20148 (truncate): Likewise.
20149 (vhangup): Likewise.
20150 * sysdeps/unix/common/syscalls.list: Remove file.
20151 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20152 * sysdeps/unix/sysv/linux/Implies: Likewise.
20153
336270d0
L
201542012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20155
20156 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20158 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20159 Moved to ...
20160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20161 Here.
20162 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20163 to ...
20164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20165 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20166 to ...
20167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20168 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20169 to ...
20170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20171 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20172 to ...
20173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20174 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20175 to ...
20176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20177 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20178 to ...
20179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20180 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20181 to ...
20182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20183 Here.
20184 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20185 to ...
20186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20187 Here.
20188 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20189 to ...
20190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20191 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20192 Moved to ...
20193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20194 Here.
20195 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20196 to ...
20197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20198
d128e450
JM
201992012-05-04 Joseph Myers <joseph@codesourcery.com>
20200
fa8ee516
JM
20201 * sysdeps/unix/common/bits/dirent.h: Remove file.
20202 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20203
d128e450
JM
20204 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20205 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20206 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20207 * sysdeps/unix/bsd/isatty.c: Likewise.
20208 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20209 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20210 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20211
ff8faaf0 202122012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20213
62881be4 20214 [BZ #13563]
31dc8730
AZ
20215 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20216 long double comparison inaccuracies.
20217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20219
6fef930c
AS
202202012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20221
20222 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20223 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20224
8f203e6c
JM
202252012-05-04 Joseph Myers <joseph@codesourcery.com>
20226
20227 [BZ #14049]
20228 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20229 nonzero digits before rounding a hex value.
20230 * stdlib/tst-strtod.c (tests): Add another test.
20231
5197d9c2
AK
202322012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20233
20234 * sysdeps/s390/fpu/libm-test-ulps: Update.
20235
f0c1dedf
AJ
202362012-05-03 Andreas Jaeger <aj@suse.de>
20237
20238 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20239 does not get optimized out.
20240 (malloc_opt_barrier): New.
20241
a65ef2ae 202422012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20243 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20244
2b942cb7 20245 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20246 intermediate file deletion.
2b942cb7 20247 (generated): Add .symlist files.
a65ef2ae 20248
54b71e02
JM
202492012-05-03 Joseph Myers <joseph@codesourcery.com>
20250
20251 [BZ #13775]
20252 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20253 Redirect under this condition.
20254 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20255 [__USE_GNU] (__dprintf_chk): Not under this condition.
20256 [__USE_GNU] (__vdprintf_chk): Likewise.
20257 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20258 under this condition.
20259 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20260 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20261 [__USE_XOPEN2K8] (vdprintf): Likewise.
20262 [__USE_GNU] (__dprintf_chk): Not under this condition.
20263 [__USE_GNU] (__vdprintf_chk): Likewise.
20264 [__USE_GNU] (dprintf): Likewise.
20265 [__USE_GNU] (vdprintf): Likewise.
20266
d3dfcc41
RM
202672012-05-03 Roland McGrath <roland@hack.frob.com>
20268
20269 * elf/Makefile (common-generated): Set this instead of generated for
20270 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20271 $(all-built-dso)-derived lists.
20272
7ac30cc5
AJ
202732012-05-03 Andreas Jaeger <aj@suse.de>
20274
0c51e550
AJ
20275 * sysdeps/i386/fpu/libm-test-ulps: Update.
20276
7ac30cc5
AJ
20277 * FAQ: Removed.
20278 * FAQ.in: Likewise.
20279 * scripts/gen-FAQ.pl: Likewise.
20280 * manual/install.texi (Installation): Point to online location of
20281 FAQ.
20282 * Makefile (files-for-dist): Remove FAQ.
20283 (FAQ): Remove.
20284
d4c2917f
AM
202852012-05-02 Allan McRae <allan@archlinux.org>
20286
20287 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20288 (LDFLAGS-reldepmod5.so): Likewise.
20289 (LDFLAGS-reldep6mod1.so): Likewise.
20290 (LDFLAGS-reldep6mod4.so): Likewise.
20291 (LDFLAGS-reldep8mod3.so): Likewise.
20292 (LDFLAGS-unload4mod1.so): Likewise.
20293 (LDFLAGS-unload4mod2.so): Likewise.
20294 (LDFLAGS-tst-initorder): Likewise.
20295 (LDFLAGS-tst-initordera2.so): Likewise.
20296 (LDFLAGS-tst-initordera3.so): Likewise.
20297 (LDFLAGS-tst-initordera4.so): Likewise.
20298 (LDFLAGS-tst-initorderb2.so): Likewise.
20299 (LDFLAGS-noload): Likewise.
20300 (LDFLAGS-next): Likewise.
20301 (LDFLAGS-order2mod1.so): Likewise.
20302 (LDFLAGS-order2mod2.so): Likewise.
20303 (LDFLAGS-tst-initorder2): Likewise.
20304 (LDFLAGS-tst-initorder2a.so): Likewise.
20305 (LDFLAGS-tst-initorder2b.so): Likewise.
20306 (LDFLAGS-tst-initorder2c.so): Likewise.
20307 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20308
d77f993f
DM
203092012-05-02 David S. Miller <davem@davemloft.net>
20310
20311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20312
171a70b4
PP
203132012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20314
20315 [BZ #14055]
20316 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20317
0be196ad
AJ
203182012-05-02 Andreas Jaeger <aj@suse.de>
20319
20320 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20321 since we manipulate rounding mode.
20322 (CPPFLAGS-test-idouble.c): Likewise.
20323 (CPPFLAGS-test-ifloat.c): Likewise.
20324 (CFLAGS-test-ldouble.c): Likewise.
20325 (CFLAGS-test-double.c): Likewise.
20326 (CFLAGS-test-float.c): Likewise.
20327 (CFLAGS-test-misc.c): Likewise.
20328 (CFLAGS-test-test-fenv.c): Likewise.
20329
4f9d04aa
AZ
203302012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20331
2b942cb7
RM
20332 [BZ #2550]
20333 [BZ #2570]
20334 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20335 comparisons to determine direction to adjust input.
4f9d04aa 20336
82a79e7d
RM
203372012-05-01 Roland McGrath <roland@hack.frob.com>
20338
f5a01ca9
RM
20339 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20340 output to the target.
20341
90fe4186
RM
20342 * scripts/localplt.awk: New file.
20343 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20344 (check-localplt-CFLAGS): Variable removed.
20345 ($(all-built-dso:=.jmprel)): New static pattern rule.
20346 (generated): Add those targets.
20347 (localplt-built-dso): New variable.
20348 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20349
20350 * elf/check-localplt.c: File removed.
20351
82397ed6
RM
20352 * scripts/check-execstack.awk: New file.
20353 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20354 (check-execstack-CFLAGS): Variable removed.
20355 ($(objpfx)check-execstack.h): Target removed.
20356 ($(objpfx)execstack-default): New target.
20357 (generated): Add that instead of check-execstack.h.
20358 ($(all-built-dso:=.phdr)): New static pattern rule.
20359 (generated): Add those targets.
20360 * elf/check-execstack.c: File removed.
20361
82a79e7d
RM
20362 * scripts/check-textrel.awk: New file.
20363 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20364 (check-textrel-CFLAGS): Variable removed.
20365 (all-built-dso): Use := to define.o
20366 ($(all-built-dso:=.dyn)): New static pattern rule.
20367 (generated): Add those targets.
20368 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20369 * config.make.in (READELF): New substituted variable.
20370 * elf/check-textrel.c: File removed.
20371
62fde54f 203722012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20373
615605c9
JM
20374 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20375 allow.
20376 * conform/data/ctype.h-data [C99-based standards] (isblank):
20377 Expect function.
20378 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20379 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20380 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20381 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20382 Specify type. Require positive value.
20383 (EILSEQ): Likewise.
20384 (ERANGE): Likewise.
20385 [ISO || POSIX] (EILSEQ): Do not expect.
20386 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20387 Specify type. Require positive value.
20388 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20389 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20390 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20391 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20392 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20393 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20394 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20395 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20396 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20397 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20398 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20399 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20400 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20401 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20402 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20403 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20404 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20405 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20406 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20407 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20408 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20409 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20410 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20411 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20412 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20413 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20414 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20415 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20416 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20417 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20418 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20419 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20420 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20421 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20422 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20423 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20424 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20425 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20426 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20427 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20428 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20429 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20430 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20431 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20432 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20433 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20434 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20435 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20436 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20437 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20438 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20439 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20440 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20441 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20442 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20443 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20444 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20445 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20446 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20447 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20448 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20449 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20450 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20451 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20452 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20453 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20454 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20455 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20456 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20457 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20458 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20459 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20460 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20461 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20462 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20463 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20464 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20465 Require >= 2.
20466 (FLT_ROUNDS): Expect as macro, not constant.
20467 (FLT_MANT_DIG): Use macro-int-constant.
20468 (DBL_MANT_DIG): Likewise.
20469 (LDBL_MANT_DIG): Likewise.
20470 (FLT_DIG): Likewise.
20471 (DBL_DIG): Likewise.
20472 (LDBL_DIG): Likewise.
20473 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20474 (DBL_MIN_EXP): Likewise.
20475 (LDBL_MIN_EXP): Likewise.
20476 (FLT_MAX_EXP): Use macro-int-constant.
20477 (DBL_MAX_EXP): Likewise.
20478 (LDBL_MAX_EXP): Likewise.
20479 (FLT_MAX_10_EXP): Likewise.
20480 (DBL_MAX_10_EXP): Likewise.
20481 (LDBL_MAX_10_EXP): Likewise.
20482 (FLT_MAX): Use macro-constant.
20483 (DBL_MAX): Likewise.
20484 (LDBL_MAX): Likewise.
20485 (FLT_EPSILON): Use macro-constant. Give upper bound.
20486 (DBL_EPSILON): Likewise.
20487 (LDBL_EPSILON): Likewise.
20488 (FLT_MIN): Likewise.
20489 (DBL_MIN): Likewise.
20490 (LDBL_MIN): Likewise.
20491 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20492 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20493 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20494 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20495 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20496 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20497 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20498 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20499 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20500 [ISO11] (FLT_TRUE_MIN): Likewise.
20501 [ISO11] (LDBL_TRUE_MIN): Likewise.
20502 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20503 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20504 (SCHAR_MIN): Use macro-int-constant. Specify type.
20505 (SCHAR_MAX): Likewise.
20506 (UCHAR_MAX): Likewise.
20507 (CHAR_MIN): Likewise.
20508 (CHAR_MAX): Likewise.
20509 (MB_LEN_MAX): Use macro-int-constant.
20510 (SHRT_MIN): Use macro-int-constant. Specify type.
20511 (SHRT_MAX): Likewise.
20512 (USHRT_MAX): Likewise.
20513 (INT_MAX): Likewise.
20514 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20515 bound negative.
20516 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20517 bound with "U".
20518 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20519 bound with "L".
20520 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20521 bound negative. Suffix upper bound with "L".
20522 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20523 bound with "UL".
20524 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20525 Specify type.
20526 [C99-based standards] (LLONG_MAX): Likewise.
20527 [C99-based standards] (ULLONG_MAX): Likewise.
20528 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20529 == 0.
20530 [ISO11] (max_align_t): Require type.
20531 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20532
c9140a62
JM
20533 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20534 from $CFLAGS, without defining away __attribute__ calls.
20535 (checknamespace): Use $CFLAGS_namespace.
20536
9af0bf29
JM
20537 * conform/conformtest.pl (@keywords): Only include C99 keywords
20538 for standards based on C99 or C11.
20539
343222a2
JM
20540 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20541 Disable tests.
20542 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20543 UNIX98]: Likewise.
20544
661f8cf0
JM
20545 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20546 usability of symbols in #if.
20547
ee74b9cb
JM
20548 * conform/conformtest.pl: If macro or constant types start
20549 "promoted:", expect the symbol to be of the following type
20550 promoted by the integer promotions.
62fde54f 20551
aafc49b3
JM
20552 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20553 in one place. Also handle "macro-constant".
20554
fefdf574
JM
20555 * conform/conformtest.pl: Only accept expected macro values with
20556 "==". Parse all "macro" lines in one place.
20557 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20558
f2d922fe
JM
20559 * conform/conformtest.pl: Handle braced types on "constant" lines
20560 instead of handling "typed-constant".
20561 * conform/data/signal.h-data: Use "constant" instead of
20562 "typed-constant".
20563
d22956c9
JM
20564 * conform/conformtest.pl: Handle "optional-" at start of lines in
20565 one place rather than duplicating several cases. Handle each
20566 format of "macro" line with initial "optional-".
20567
028e2e38
JM
20568 * conform/conformtest.pl: Only accept expected constant or
20569 optional-constant values with "==". Parse all "constant" lines in
20570 one place. Parse all "optional-constant" lines in one place.
20571 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20572 * conform/data/fmtmsg.h-data: Likewise.
20573 * conform/data/netinet/in.h-data: Likewise.
20574 * conform/data/tar.h-data: Likewise.
20575 * conform/data/limits.h-data: Use "==" form on "constant" and
20576 "optional-constant" lines.
20577
1b8f2850
JM
20578 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20579 Use -std=c99 for XOPEN2K.
20580 (@knownproblems): Remove.
20581 (newtoken): Don't check %isknown.
20582
a05a144b
JM
20583 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20584 Do not expect macro.
20585 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20586 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20587 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20588 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20589 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20590 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20591 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20592 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20593 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20594 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20595 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20596 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20597 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20598 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20599 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20600 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20601 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20602 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20603 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20604 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20605 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20606 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20607 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20608 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20609 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20610 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20611 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20612 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20613 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20614 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20615 [XPG3] (acosh): Likewise.
20616 [XPG3] (asinh): Likewise.
20617 [XPG3] (atanh): Likewise.
20618 [XPG3] (cbrt): Likewise.
20619 [XPG3] (expm1): Likewise.
20620 [XPG3] (ilogb): Likewise.
20621 [XPG3] (log1p): Likewise.
20622 [XPG3] (logb): Likewise.
20623 [XPG3] (nextafter): Likewise.
20624 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20625 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20626 [XPG3] (remainder): Likewise.
20627 [XPG3] (rint): Likewise.
20628 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20629 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20630 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20631 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20632 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20633 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20634 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20635 [UNIX98 || XOPEN2K] (scalb): Expect.
20636 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20637 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20638 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20639 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20640 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20641 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20642 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20643 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20644 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20645 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20646 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20647 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20648 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20649 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20650 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20651 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20652 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20653 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20654 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20655 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20656 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20657 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20658 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20659 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20660 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20661 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20662 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20663 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20664 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20665 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20666 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20667 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20668 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20669 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20670 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20671 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20672 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20673 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20674 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20675 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20676 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20677 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20678 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20679 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20680 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20681 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20682 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20683 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20684 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20685 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20686 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20687 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20688 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20689 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20690 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20691 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20692 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20693 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20694 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20695 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20696 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20697 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20698 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20699 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20700 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20701 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20702 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20703 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20704 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20705 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20706 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20707 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20708 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20709 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20710 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20711 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20712 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20713 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20714 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20715 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20716 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20717 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20718 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20719 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20720 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20721 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20722 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20723 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20724 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20725 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20726 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20727 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20728 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20729 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20730 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20731 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20732 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20733 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20734 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20735 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20736 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20737 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20738 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20739 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20740 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20741 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20742 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20743 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20744 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20745 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20746 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20747 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20748 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20749 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20750 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20751 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20752 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20753 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20754 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20755 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20756 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20757 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20758 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20759 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20760 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20761 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20762 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20763 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20764 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20765 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20766 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20767 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20768 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20769 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20770 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20771 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20772 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20773
73c5ebe3
JM
20774 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20775 _XOPEN_SOURCE_EXTENDED for XPG4.
20776
39c33b6c
JM
20777 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20778
62fde54f
JM
20779 * Makeconfig (localtime): Remove variable.
20780 (inst_localtime-file): Likewise.
20781
0741d64c
AS
207822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20783
20784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20785 Update.
20786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20787 Update.
20788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20789 Update.
20790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20791 Update.
20792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20793 Update.
20794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20795 Update.
20796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20797 Update.
20798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20799 Update.
20800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20801 Update.
20802
7cb029ee
JM
208032012-05-01 Joseph Myers <joseph@codesourcery.com>
20804
20805 [BZ #2550]
20806 [BZ #2570]
20807 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20808 comparisons to determine direction to adjust input.
20809 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20810 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20811 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20812 Likewise.
20813 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20814 Likewise.
20815 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20816 Likewise.
20817 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20818 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20819 Likewise.
20820 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20821 Likewise.
20822 * math/libm-test.inc (nexttoward_test): Add more tests.
20823
412bd966
AS
208242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20825
20826 [BZ #14040]
20827 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20828 in version GLIBC_2.1, not GLIBC_2.0.
20829 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20830 Likewise.
20831
9568c0c2
JM
208322012-04-30 Joseph Myers <joseph@codesourcery.com>
20833
adfbc8ac
JM
20834 [BZ #13942]
20835 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20836 (1 - x) * (1 + x).
20837 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20838 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20839 * math/libm-test.inc (acos_test): Add more tests.
20840 (asin_test): Likewise.
20841 * sysdeps/i386/fpu/libm-test-ulps: Update.
20842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20843
5ba3cc69
JM
20844 [BZ #14034]
20845 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20846 of square root.
20847 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20848 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20849 * math/libm-test.inc (acos_test_tonearest): New function.
20850 (acos_test_towardzero): Likewise.
20851 (acos_test_downward): Likewise.
20852 (acos_test_upward): Likewise.
20853 (asin_test_tonearest): Likewise.
20854 (asin_test_towardzero): Likewise.
20855 (asin_test_downward): Likewise.
20856 (asin_test_upward): Likewise.
20857 (main): Call the new functions.
20858 * sysdeps/i386/fpu/libm-test-ulps: Update.
20859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20860
9568c0c2
JM
20861 [BZ #13884]
20862 [BZ #13924]
20863 * math/e_exp10.c: Include <float.h>.
20864 (__ieee754_exp10): Handle underflow here rather than multiplying
20865 large negative argument by M_LN10.
20866 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20867 of __ieee754_expf.
20868 * math/e_exp10l.c: Include <float.h>.
20869 (__ieee754_exp10l): Handle underflow here rather than multiplying
20870 large negative argument by M_LN10l.
20871 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20872 spurious overflow exception on underflow.
20873
5ac3ea17
MP
208742012-04-29 Marek Polacek <polacek@redhat.com>
20875
20876 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20877 (__fortify_function): New macro.
20878 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20879 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20880 __extern_always_inline.
20881 * libio/bits/stdio2.h: Likewise.
20882 * libio/bits/stdio.h: Likewise.
20883 * string/string.h: Likewise.
20884 * string/bits/string3.h: Likewise.
20885 * include/stdio.h: Likewise.
20886 * stdlib/bits/stdlib.h: Likewise.
20887 * stdlib/stdlib.h: Likewise.
20888 * rt/bits/mqueue2.h: Likewise.
20889 * rt/mqueue.h: Likewise.
20890 * posix/bits/unistd.h: Likewise.
20891 * posix/unistd.h: Likewise.
20892 * io/bits/poll2.h: Likewise.
20893 * io/bits/fcntl2.h: Likewise.
20894 * io/fcntl.h: Likewise.
20895 * io/sys/poll.h: Likewise.
20896 * misc/bits/syslog.h: Likewise.
20897 * misc/bits/syslog-ldbl.h: Likewise.
20898 * misc/sys/syslog.h: Likewise.
20899 * socket/bits/socket2.h: Likewise.
20900 * socket/sys/socket.h: Likewise.
20901 * debug/tst-chk1.c: Likewise.
20902 * wcsmbs/bits/wchar2.h: Likewise.
20903 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20904 * wcsmbs/wchar.h: Likewise.
20905
ecf0ebfb
AJ
209062012-04-29 Andreas Jaeger <aj@suse.de>
20907
20908 * Makerules (tests): Remove enable-check-abi protection.
20909 (check-abi-warn): Remove.
20910 (check-abi-%): Remove check-abi-warn usage.
20911
20912 * configure.in: Remove check-abi configure option.
20913 * configure: Regenerated.
20914 * config.make.in (enable-check-abi): Remove.
20915
6d5c57fa
AS
209162012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20917
24c5d07e 20918 [BZ #14033]
ded5180a
AS
20919 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20920 double functions to double *_finite functions.
20921
7e0d315d
AS
20922 [BZ #13941]
20923 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20924 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20925 LDBL_MIN_EXP.
20926 * stdio-common/Makefile (tests): Add tst-sprintf3.
20927 * stdio-common/tst-sprintf3.c: New file.
20928
6d5c57fa
AS
20929 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20930 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20931
0749ff8b
JM
209322012-04-28 Joseph Myers <joseph@codesourcery.com>
20933
20934 * conform/conformtest.pl: Remove duplicate typed-constant
20935 handling.
20936
8dbd5d7b
DM
209372012-04-28 David S. Miller <davem@davemloft.net>
20938
20939 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20940 (check-abi-%): Remove AWK script prerequisite and explicit
20941 abilist directory.
20942 (check-abi): Rewrite to just diff the symlist with the abilist.
20943 (config-tls, config-abi-config): Delete, no longer used.
20944 (update-abi-%): Remove AWK script and explicit abilist directory.
20945 (update-abi): Rewrite to simply compare and conditionally copy the
20946 symlist and the sysdep abilist file. Remove update-abi-config
20947 checks.
20948 * abilist/ld.abilist: Remove.
20949 * abilist/libBrokenLocale.abilist: Remove.
20950 * abilist/libanl.abilist: Remove.
20951 * abilist/libcrypt.abilist: Remove.
20952 * abilist/libdl.abilist: Remove.
20953 * abilist/librt.abilist: Remove.
20954 * abilist/libthread_db.abilist: Remove.
20955 * abilist/libutil.abilist: Remove.
20956 * scripts/extract-abilist.awk: Remove.
20957 * scripts/merge-abilist.awk: Remove.
20958 * sysdeps/generic/libcidn.abilist: New file.
20959 * sysdeps/generic/libnss_compat.abilist: New file.
20960 * sysdeps/generic/libnss_db.abilist: New file.
20961 * sysdeps/generic/libnss_dns.abilist: New file.
20962 * sysdeps/generic/libnss_files.abilist: New file.
20963 * sysdeps/generic/libnss_hesiod.abilist: New file.
20964 * sysdeps/generic/libnss_nis.abilist: New file.
20965 * sysdeps/generic/libnss_nisplus.abilist: New file.
20966 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20967 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20968 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20969 file.
20970 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20971 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20972 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20973 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20974 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20975 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20976 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20977 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20978 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20979 file.
20980 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20981 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20982 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20983 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20984 file.
20985 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20986 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20987 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20988 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20989 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20990 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20991 file.
20992 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20993 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20994 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20995 file.
20996 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20998 New file.
20999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21000 New file.
21001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21002 New file.
21003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21004 New file.
21005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21006 New file.
21007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21008 New file.
21009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21010 New file.
21011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21012 New file.
21013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21014 New file.
21015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21016 New file.
21017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21018 New file.
21019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21020 New file.
21021 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21022 New file.
21023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21024 file.
21025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21026 New file.
21027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21028 New file.
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21030 file.
21031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21032 New file.
21033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21034 New file.
21035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21036 file.
21037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21038 New file.
21039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21040 New file.
21041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21042 New file.
21043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21044 New file.
21045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21046 New file.
21047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21048 New file.
21049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21051 file.
21052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21053 New file.
21054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21055 file.
21056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21057 file.
21058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21059 file.
21060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21061 file.
21062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21063 file.
21064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21065 New file.
21066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21067 file.
21068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21069 file.
21070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21071 New file.
21072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21073 file.
21074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21076 file.
21077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21078 New file.
21079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21080 file.
21081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21082 file.
21083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21084 file.
21085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21086 file.
21087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21088 file.
21089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21090 New file.
21091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21092 file.
21093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21094 file.
21095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21096 New file.
21097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21098 file.
21099 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21100 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21101 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21102 file.
21103 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21104 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21105 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21106 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21107 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21108 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21109 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21110 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21111 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21112 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21115 file.
21116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21117 New file.
21118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21119 file.
21120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21121 file.
21122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21123 file.
21124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21125 file.
21126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21127 file.
21128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21129 New file.
21130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21131 New file.
21132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21133 file.
21134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21135 New file.
21136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21137 file.
21138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21140 file.
21141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21142 New file.
21143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21144 file.
21145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21146 file.
21147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21148 file.
21149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21150 file.
21151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21152 file.
21153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21154 New file.
21155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21156 New file.
21157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21158 file.
21159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21160 New file.
21161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21162 file.
21163
41d73a1b
JM
211642012-04-28 Joseph Myers <joseph@codesourcery.com>
21165
21166 * conform/conformtest.pl: Fix typo in handling typed-constant from
21167 allow-header.
21168
28aeeda4
JM
211692012-04-27 Joseph Myers <joseph@codesourcery.com>
21170
adae8f5e
JM
21171 * README: Cut down references to pre-2.6 Linux kernels and
21172 Linuxthreads. Update lists of configurations in libc and ports
21173 and sort alphabetically. Say "or newer" with Linux kernel version
21174 requirements.
21175
28aeeda4
JM
21176 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21177
a462cb63
RA
211782012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21179
21180 [BZ #887]
21181 * math/libm-test.inc (logb_test_downward): New test to expose
21182 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21183 rounding mode.
21184
6ad3493e
JM
211852012-04-27 Joseph Myers <joseph@codesourcery.com>
21186
21187 [BZ #14027]
21188 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21189 to be done.
21190 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21191 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21192
2ce4f015
JM
211932012-04-26 Joseph Myers <joseph@codesourcery.com>
21194
5aeb141a
JM
21195 * sysdeps/unix/i386/brk.S: Remove file.
21196 * sysdeps/unix/i386/dl-brk.S: Likewise.
21197 * sysdeps/unix/i386/pipe.S: Likewise.
21198 * sysdeps/unix/i386/sigreturn.S: Likewise.
21199 * sysdeps/unix/i386/syscall.S: Likewise.
21200 * sysdeps/unix/i386/vfork.S: Likewise.
21201 * sysdeps/unix/i386/wait.S: Likewise.
21202
7143acae
JM
21203 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21204 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21205
2ce4f015
JM
21206 * configure.in (arm*-none*): Do not allow without
21207 --enable-hacker-mode.
21208 (netbsd*): Remove case setting base_os.
21209 (386bsd*): Likewise.
21210 (freebsd*): Likewise.
21211 (bsdi*): Likewise.
21212 (osf*): Likewise.
21213 (sunos*): Likewise.
21214 (ultrix*): Likewise.
21215 (newsos*): Likewise.
21216 (dynix*): Likewise.
21217 (*bsd*): Likewise.
21218 (sysv*): Likewise.
21219 (isc*): Likewise.
21220 (esix*): Likewise.
21221 (sco*): Likewise.
21222 (minix*): Likewise.
21223 (irix4*): Likewise.
21224 (irix6*): Likewise.
21225 (solaris[2-9]*): Likewise.
21226 (none): Likewise.
21227 * configure: Regenerated.
21228
0ac229c8
AZ
212292012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21230
21231 [BZ #11521]
21232 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21233 overflow or cancellation in calculating denominator.
21234 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21235 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21236 down expression to avoid unexpected rounding in newer GCCs.
21237 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21238
33f244f4
DM
212392012-04-26 David S. Miller <davem@davemloft.net>
21240
21241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21242 long-double compat symbols.
21243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21256
cfa1f3e8
DM
212572012-04-25 David S. Miller <davem@davemloft.net>
21258
21259 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21260 HWCAP_* values only after the memory barriers have been defined.
21261 (atomic_full_barrier): Define.
21262 (atomic_read_barrier): Define.
21263 (atomic_write_barrier): Define.
21264
6e236b92
SP
212652012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21266
21267 * shlib-versions: Add libgcc_s version information.
21268 * sysdeps/generic/libgcc_s.h: Remove.
21269 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21270 libgcc_s.h.
21271 * sysdeps/gnu/unwind-resume.c: Likewise.
21272 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21273
aab39a09
DM
212742012-04-25 David S. Miller <davem@davemloft.net>
21275
21276 * sysdeps/unix/sparc/brk.S: Delete.
21277 * sysdeps/unix/sparc/dl-brk.S: Delete.
21278 * sysdeps/unix/sparc/pipe.S: Delete.
21279 * sysdeps/unix/sparc/sysdep.S: Delete.
21280 * sysdeps/unix/sparc/sysdep.h: Delete.
21281 * sysdeps/unix/sparc/vfork.S: Delete.
21282 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21283 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21284 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21285 ret_ERRVAL, r0, r1, MOVE): Define.
21286 (JUMPTARGET): Remove.
21287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21288 sysdeps/unix/sparc/sysdep.h
21289 (ENTRY, END): Remove.
21290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21291
a3cc4f48
JM
212922012-04-25 Joseph Myers <joseph@codesourcery.com>
21293
2ed8cda2
JM
21294 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21295 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21296 -DIS_IN_build.
21297
35d76d59
JM
21298 * timezone/README: Update upstream location and email address for
21299 tzcode and tzdata.
21300 * timezone/zdump.c: Update from tzcode 2012b.
21301 * timezone/zic.c: Likewise.
21302
a3cc4f48
JM
21303 * configure.in (libc_cv_as_needed): Remove test.
21304 * configure: Regenerated.
21305 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21306 conditional definition.
21307 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21308 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21309 * config.make.in (have-as-needed): Remove variable.
21310
ceab42c3
SP
213112012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21312 Paul Pluzhnikov <ppluzhnikov@google.com>
21313
21314 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21315 strings correctly.
21316
3ce2865f
CLT
213172012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21318
21319 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21320 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21321 * sysdeps/sh/strlen.S: Likewise.
21322
f37e0d68
JM
213232012-04-24 Joseph Myers <joseph@codesourcery.com>
21324
ae186e9a
JM
21325 * sysdeps/unix/fork.S: Remove file.
21326 * sysdeps/unix/i386/fork.S: Likewise.
21327 * sysdeps/unix/sparc/fork.S: Likewise.
21328
b96914af
JM
21329 * sysdeps/unix/system.c: Remove file.
21330 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21331
f37e0d68
JM
21332 * sysdeps/unix/getegid.S: Remove file.
21333 * sysdeps/unix/geteuid.S: Likewise.
21334
87ef29ca
RM
213352012-04-24 Roland McGrath <roland@hack.frob.com>
21336
83bcd236
RM
21337 * scripts/check-localplt.awk: New file.
21338 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21339 of diff.
21340 * scripts/data/localplt-generic.data: Add a comment.
21341
87ef29ca
RM
21342 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21343 NODE when __dir_mkfile failed.
21344 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21345 Reported by Ludovic Courtès <ludo@gnu.org>.
21346
e5a6e567
AJ
213472012-04-24 Andreas Jaeger <aj@suse.de>
21348
21349 * Makerules (common-clean): Also remove gen-as-const-headers
21350 files.
21351
c1820385
JM
213522012-04-24 Joseph Myers <joseph@codesourcery.com>
21353
21354 * Makerules (native-compile): Do not change working directory for
21355 build. Use $(OUTPUT_OPTION) in command.
21356 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21357
94e02fc4
AZ
213582012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21359
21360 [BZ #13886]
21361 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21362 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21363 * math/libm-test.inc (floor_test): Add more tests.
21364 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21365
3a533ca3
JM
213662012-04-24 Joseph Myers <joseph@codesourcery.com>
21367
940ab4b3
JM
21368 * sysdeps/unix/getdents.c: Remove file.
21369 * sysdeps/unix/sysv/getdents.c: Likewise.
21370 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21371
90e037bd
JM
21372 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21373 sysdeps/unix/mman/syscalls.list.
21374 (mmap): Likewise.
21375 (mprotect): Likewise.
21376 (msync): Likewise.
21377 (munmap): Likewise.
21378 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21379 * sysdeps/unix/mman/syscalls.list: Remove.
21380 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21381
3a533ca3
JM
21382 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21383 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21384 * configure: Regenerated.
21385 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21386 $(libgcc_s_suffix).
21387 * config.make.in (libgcc_s_suffix): Remove variable.
21388
1ad743de
JM
213892012-04-23 Joseph Myers <joseph@codesourcery.com>
21390
4ad451e2
JM
21391 * sysdeps/unix/sysv/gethostname.c: Move to ...
21392 * sysdeps/posix/gethostname.c: ... here.
21393
5e37ce39
JM
21394 * sysdeps/unix/execve.S: Remove file.
21395
1ad743de
JM
21396 * sysdeps/unix/_exit.S: Remove file.
21397
4e681b5b
AJ
213982012-04-23 Andreas Jaeger <aj@suse.de>
21399
21400 [BZ #13739]
21401 * manual/Makefile: Remove make dist support, there's no
21402 need for a stand-alone documentation tar ball.
21403 (TEXI2DVI): Define always, it's not in Makeconfig.
21404 (dist): Removed.
21405 (tar-it): Removed.
21406 (edition): Removed.
21407 (glibc-doc-$(edition).tar): Removed
21408 (%.Z): Removed.
21409 (%.gz): Removed.
21410 (%.uu): Removed.
21411 (ETAGS): Remove, it's in Makeconfig.
21412 (move-if-change): Remove, it's in Makeconfig.
21413
38686a03 214142012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21415
21416 [BZ #13970]
21417 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21418 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21419 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21420 (strtod_l, strtof_l, strtold_l): Remove __wur.
21421 It is not necessarily an error to ignore strtol's return value.
21422 One can reliably look at the stored endptr to decide whether
21423 the number had valid syntax.
21424
7c0616fa
AJ
214252012-04-21 Andreas Jaeger <aj@suse.de>
21426
803cb6b7 21427 [BZ #13739]
7c0616fa
AJ
21428 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21429
b0fe253f
JM
214302012-04-21 Joseph Myers <joseph@codesourcery.com>
21431
21432 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21433 * sysdeps/unix/sysv/Versions: Remove file.
21434
8280f22d
MT
214352012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21436
21437 [BZ #13927]
21438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21439
75ce411f 214402012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21441
21442 [BZ #7064]
21443 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21444 version from __vm86.
21445
097d59fa
JM
214462012-04-20 Joseph Myers <joseph@codesourcery.com>
21447
a90f3bcb
JM
21448 * sysdeps/unix/common/lxstat.c: Remove file.
21449 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21450
edc7ea78
JM
21451 * sysdeps/unix/sysv/Makefile: Remove file.
21452
cb78c221
JM
21453 * sysdeps/unix/sysv/direct.h: Remove file.
21454
efa6a45f
JM
21455 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21456 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21457 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21458 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21459 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21460 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21461 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21462
9c9f2d0c
JM
21463 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21464
4541c83b
JM
21465 * sysdeps/unix/xmknod.c: Remove file.
21466 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21467
f5d153a0
JM
21468 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21469
aa746595
JM
21470 * sysdeps/unix/sysv/i386/time.S: Remove file.
21471
cce5905e
JM
21472 * sysdeps/unix/fxstat.c: Remove file.
21473 * sysdeps/unix/xstat.c: Likewise.
21474 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21475
37fa3841
JM
21476 * sysdeps/unix/sysv/sigaction.c: Remove file.
21477
ff1962a3
JM
21478 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21479 (sysdep_headers): Remove variable.
21480 [termio.h not in sysdep_headers] (generated): Likewise.
21481 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21482 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21483 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21484 * sysdeps/unix/sysv/tcflow.c: Likewise.
21485 * sysdeps/unix/sysv/tcflush.c: Likewise.
21486 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21487 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21488 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21489 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21490 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21491
e7740d31
JM
21492 * sysdeps/unix/siglist.c: Remove file.
21493
ee06f18b
JM
21494 * sysdeps/unix/getppid.S: Remove file.
21495
097d59fa
JM
21496 * sysdeps/unix/mkdir.c: Remove file.
21497 * sysdeps/unix/rmdir.c: Likewise.
21498
ff3d51ec
AS
214992012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21500
21501 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21502 ERR_MAX value.
21503 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21504 errlist-compat value.
21505
50f81fd7
DM
215062012-04-18 David S. Miller <davem@davemloft.net>
21507
21508 * sysdeps/generic/memcopy.h (reg_char): Delete.
21509 * debug/strcat_chk.c: Use char, not reg_char.
21510 * debug/strcpy_chk.c: Likewise.
21511 * debug/strncat_chk.c: Likewise.
21512 * debug/strncpy_chk.c: Likewise.
21513 * string/memchr.c: Likewise.
21514 * string/memrchr.c: Likewise.
21515 * string/rawmemchr.c: Likewise.
21516 * string/strcat.c: Likewise.
21517 * string/strchr.c: Likewise.
21518 * string/strchrnul.c: Likewise.
21519 * string/strcmp.c: Likewise.
21520 * string/strcpy.c: Likewise.
21521 * string/strncat.c: Likewise.
21522 * string/strncmp.c: Likewise.
21523 * string/strncpy.c: Likewise.
21524
8ff41c46
WS
215252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21526
21527 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21528 __builtin_memcopy is called when src and dest ranges are known to not
21529 overlap.
21530
6b652f46
WS
215312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21532
21533 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21534 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21535 fwd_align_merge macro call.
21536 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21537 bwd_align_merge macro call.
21538 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21539
b282631e
WS
215402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21541
21542 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21543 bwd_align_merge macros.
21544 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21545 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21546 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21547
95aa737c
DM
215482012-04-18 David S. Miller <davem@davemloft.net>
21549
21550 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21551
7a99a614
AJ
215522012-04-18 Andreas Jaeger <aj@suse.de>
21553
21554 [BZ# 6794]
21555 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21556 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21557 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21558
21559 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21560 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21561 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21562
21563 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21564 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21565 Adjust for changed ldbl-128 files.
21566
21567 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21568 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21569 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21570
e5270c23
DM
215712012-04-17 David S. Miller <davem@davemloft.net>
21572
21573 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21574
fb5e92c9
AS
215752012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21576
21577 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21578 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21579 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21580 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21581 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21582 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21583
76da7265
AZ
215842012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21585
21586 [BZ #6794]
21587 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21588 * math/libm-test.inc: Add ilogb errno and exception tests.
21589 * math/w_ilogb.c: New file: ilogb wrapper.
21590 * math/w_ilogbf.c: New file: ilogbf wrapper.
21591 * math/w_ilogbl.c: New file: ilogbl wrapper.
21592 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21593 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21594 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21595 exception being thrown with 0.0 as argument.
21596 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21597 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21598 exception being thrown with 0.0 as argument.
21599 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21600 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21601 exception being thrown with 0.0 as argument.
21602 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21603 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21604 exception being thrown with 0.0 as argument.
21605 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21606 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21607 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21608 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21609 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21610 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21611 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21612 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21613 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21614
0396e69d
PB
216152012-04-17 Petr Baudis <pasky@ucw.cz>
21616
21617 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21618 with altivec.
21619
750b5926
MP
216202012-04-16 Marek Polacek <polacek@redhat.com>
21621
21622 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21623
751728a1
MP
216242012-04-16 Marek Polacek <polacek@redhat.com>
21625
21626 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21627 operands of fdivp instruction.
21628
34a27407
L
216292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21630
21631 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21632 * elf/tst-auditmod3b.c: Likewise.
21633 * elf/tst-auditmod4b.c: Likewise.
21634 * elf/tst-auditmod5b.c: Likewise.
21635 * elf/tst-auditmod6b.c: Likewise.
21636 * elf/tst-auditmod6c.c: Likewise.
21637 * elf/tst-auditmod7b.c: Likewise.
21638 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21639 * sysdeps/x86_64/preconfigure.in: Likewise.
21640 * sysdeps/x86_64/preconfigure: Regenerated.
21641
7e73e17d
L
216422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21643
21644 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21645 __ILP32__.
21646
c7a6ab72
AB
216472012-04-13 Antoine Balestrat <merkil33@gmail.com>
21648
21649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21650 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21651
a9e8e0e0
CL
216522012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21653
21654 [BZ #13973]
21655 * locale/iso-639.def: Fix gl language name. Spotted by
21656 Yaron Shahrabani.
21657
ec98af7d
RM
216582012-04-12 Roland McGrath <roland@hack.frob.com>
21659
21660 [BZ #2074]
21661 * libio/libio.h (__io_write_fn): Update comment.
21662
247c3ede
PB
216632012-04-12 Petr Baudis <pasky@ucw.cz>
21664
21665 [BZ #2074]
21666 * stdio.texi (Hook Functions): The user provided writer function
21667 is not allowed to return -1.
21668
55939d6d
DM
216692012-04-11 David S. Miller <davem@davemloft.net>
21670
21671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21672
90020f5a
MF
216732012-04-11 Mike Frysinger <vapier@gentoo.org>
21674
21675 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21676 Add a leading slash to rtkaio.
21677
288f9098
JM
216782012-04-11 Jim Meyering <meyering@redhat.com>
21679
90020f5a
MF
21680 [BZ #11959]
21681 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21682 It is not necessarily an error to ignore fwrite's return
21683 value. One can reliably use ferror to test for errors after
21684 the fact.
288f9098 21685
4be2b570
L
216862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21687
21688 * bits/types.h (__snseconds_t): New type.
21689 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21690
21691 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21692 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21693 (__SNSECONDS_T_TYPE): Likewise.
21694 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21695 (__SNSECONDS_T_TYPE): Likewise.
21696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21697 (__SNSECONDS_T_TYPE): Likewise.
21698
288f9098 216992012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21700
21701 [BZ #2636]
21702 * manual/time.texi (Processor Time): Return type of times is
21703 elapsed real time since an arbitrary point in the past.
21704 (CPU Time): Move CLK_TCK from here...
21705 (Processor Time): ...to here. Correct description.
21706 * manual/conf.texi (Constants for Sysconf): Correct description of
21707 _SC_CLK_TCK.
21708
d7dd4413
DM
217092012-04-10 David S. Miller <davem@davemloft.net>
21710
21711 [BZ #13967]
21712 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21713 where the is a gap between DT_REL(A) and DT_JMPREL.
21714
b46068fc
L
217152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21716
21717 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21718 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21719 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21720
73d65cc3
SP
217212012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21722
21723 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21724 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21725 (dl_main): Handle --inhibit-cache.
21726 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21727 _dl_inhibit_cache.
21728 * elf/dl-load.c (_dl_map_object): Use it.
21729 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21730
bcc8d661
JM
217312012-04-09 Joseph Myers <joseph@codesourcery.com>
21732
8f9a2fae
JM
21733 [BZ #13872]
21734 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21735 (__ieee754_powl): Saturate large exponents rather than testing for
21736 overflow of y*log2(x).
21737 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21738 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21739 exceptions.
21740
bcc8d661
JM
21741 [BZ #11521]
21742 * math/s_ctan.c: Include <float.h>.
21743 (__ctan): Avoid internal overflow or cancellation in calculating
21744 denominator.
21745 * math/s_ctanf.c: Likewise.
21746 * math/s_ctanl.c: Likewise.
21747 * math/s_ctanh.c: Likewise.
21748 * math/s_ctanhf.c: Likewise.
21749 * math/s_ctanhl.c: Likewise.
21750 * math/libm-test.inc (ctan_test): Add more tests.
21751 (ctanh_test): Likewise.
21752 * sysdeps/i386/fpu/libm-test-ulps: Update.
21753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21754
823fbbb4
AJ
217552012-04-09 Andreas Jaeger <aj@suse.de>
21756
03879793
AJ
21757 [BZ #6894]
21758 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21759 is an optional BSD extension.
21760
823fbbb4
AJ
21761 [BZ #10254]
21762 * manual/stdio.texi (Opening Streams): Document additional fopen
21763 parameters.
21764
8de131cb
RM
217652012-04-09 Roland McGrath <roland@hack.frob.com>
21766
21767 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21768 %eax without telling the compiler.
21769
c0ed9d7d
CD
217702012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21771
21772 [BZ # 13963]
21773 * manual/install.texi: Use sourceware.org.
21774
c483f6b4
JM
217752012-04-09 Joseph Myers <joseph@codesourcery.com>
21776
d7dd9453
JM
21777 [BZ #13873]
21778 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21779 (__ieee754_pow): Generate overflow and underflow using huge*huge
21780 and tiny*tiny rather than just returning constant infinity or zero
21781 for large exponents.
21782 * math/libm-test.inc (pow_test): Require overflow exceptions for
21783 applicable cases of large exponents.
21784
c483f6b4
JM
21785 [BZ #706]
21786 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21787 (__ieee754_pow): Use iterative multiplication algorithm only for
21788 integer exponents with absolute value below 1024. Check for odd
21789 integer exponents when using algorithm for real exponents.
21790 * math/libm-test.inc (pow_test): Add more tests.
21791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21792
d2de7579
JM
217932012-04-08 Joseph Myers <joseph@codesourcery.com>
21794
21795 [BZ #13705]
21796 * math/libm-test.inc (exp_test): Do not allow overflow exception
21797 on underflow test.
21798
f77f1232
AJ
217992012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21800
21801 [BZ #13705]
21802 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21803 instead of __kernel_standard_f.
21804
3884932b
MF
218052012-04-08 Mike Frysinger <vapier@gentoo.org>
21806
21807 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21808 * sysdeps/x86_64/memset_chk.S: Likewise.
21809
54472e9c
AJ
218102012-04-08 Andreas Jaeger <aj@suse.de>
21811
6ab0fbfc
AJ
21812 [BZ #10153]
21813 * manual/startup.texi (Environment Access): Describe return value
21814 for putenv and setenv.
21815
61efba8c
AJ
21816 [BZ #6895]
21817 * manual/filesys.texi (Directory Entries): Add description for
21818 DT_LNK.
21819
95c3f29a
AJ
21820 [BZ #6890]
21821 * manual/filesys.texi (Directory Entries): Clarify that it's file
21822 system not operating system in the description of DT_UNKNOWN.
21823
54472e9c
AJ
21824 [BZ #6578]
21825 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21826
624254b1
SC
218272012-04-08 Stephen Compall <s11@member.fsf.org>
21828
21829 [BZ #6649]
21830 * manual/llio.texi (Opening and Closing Files): Add cross
21831 reference to explain mode argument.
21832
1e4920e0
MF
218332012-04-07 Mike Frysinger <vapier@gentoo.org>
21834
21835 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21836 * sysdeps/x86_64/memset_chk.S: Likewise.
21837
5ed848f3
DM
218382012-04-07 David S. Miller <davem@davemloft.net>
21839
21840 * elf/elf.h (R_SPARC_WDISP10): Define.
21841 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21842 R_SPARC_SIZE32.
21843 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21844 R_SPARC_SIZE64 and R_SPARC_H34.
21845
96154cd8
CD
218462012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21847
21848 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21849 conditions and remove no longer applicable assertion.
21850
9904dc47
L
218512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21852
21853 * bits/byteswap.h: Include <features.h>.
21854 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21855 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21856
f8887d0a
L
218572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21858
21859 * bits/byteswap.h (__bswap_16): Removed.
21860 Include <bits/byteswap-16.h> to get __bswap_16.
21861 * sysdeps/i386/bits/byteswap.h: Likewise.
21862 * sysdeps/s390/bits/byteswap.h: Likewise.
21863 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21864 * bits/byteswap-16.h: New file.
21865 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21866 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21867 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21868 * string/Makefile (headers): Add bits/byteswap-16.h.
21869
62470f60
PP
218702012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21871
21872 [BZ #13895]
21873 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21874 extra indirection.
21875 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21876 * nss/tst-nss-static.c: New.
21877
4dad7bab
RM
218782012-04-06 Robert Millan <rmh@gnu.org>
21879
21880 [BZ #6486]
21881 * manual/llio.texi (File Position Primitive): lseek
21882 refers to WHENCE when it really means OFFSET.
21883
e9142a17
AJ
218842012-04-06 Andreas Jaeger <aj@suse.de>
21885
2c040eff
AJ
21886 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21887 strncmp declarations.
21888
e9142a17
AJ
21889 * abilist/libc.abilist: Add __poll and __ppoll.
21890
ff9f1c5f
DM
218912012-04-05 David S. Miller <davem@davemloft.net>
21892
dcd2ae90
DM
21893 * scripts/check-local-headers.sh: Accept a host triplet in the
21894 path matched by the exclude regexp.
21895
993eb054
DM
21896 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21897 definition.
21898 * sysdeps/powerpc/powerpc32/dl-machine.h
21899 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21900 * sysdeps/s390/s390-32/dl-machine.h
21901 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21902 * sysdeps/sparc/sparc32/dl-machine.h
21903 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21904 * sysdeps/sparc/sparc64/dl-machine.h
21905 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21906
ff9f1c5f
DM
21907 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21908 lazy binding.
48e2e132 21909 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21910 undefined symbol errors.
21911
48e2e132 21912 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21913 DT_NEEDED entries.
21914
e80d6f94
MM
219152012-04-05 Michael Matz <matz@suse.de>
21916
21917 [BZ #13592]
21918 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21919
349fa79f
AJ
219202012-04-05 Andreas Jaeger <aj@suse.de>
21921
21922 [BZ #13908]
21923 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21924 comment.
21925
f402708f
KK
219262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21927
21928 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21929 which ROUND is no valid rounding mode.
21930
2ecccfc9
KK
219312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21932
21933 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21934 read again.
21935 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21936
8a53f50f
KK
219372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21938
21939 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21940 an exception using FPU order intentionally.
21941
219422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21943
21944 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21945 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21946 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21947 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21948
d653abb7
SJ
219492012-04-05 Simon Josefsson <simon@josefsson.org>
21950
21951 [BZ #12340]
21952 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21953 EINVAL when BUFLEN is too smal.
21954
c3b1bf7d
TS
219552012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21956
21957 [BZ #13553]
21958 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21959 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21960
b1aa60f3
AJ
219612012-04-03 Andreas Jaeger <aj@suse.de>
21962
c3b1bf7d 21963 [BZ #13938]
67f60a26
AJ
21964 * manual/setjmp.texi (System V contexts): Fix sentence.
21965
b1aa60f3
AJ
21966 [BZ #13926]
21967 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21968 New macro for this case.
21969 [!__GNUC__] (__bswap_64): New inline function for this case.
21970 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21971 * bits/byteswap.h: Likewise.
21972 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21973 ull, guard with __GLIBC_HAVE_LONG_LONG.
21974
21975 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21976 __GLIBC_HAVE_LONG_LONG.
21977
21978 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21979 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21980
39c59c35
TMQMF
219812012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21982
21983 [BZ #13691]
21984 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21985 inptr and inend, rather than using last_ch.
21986
135ffda8
DM
219872012-04-02 David S. Miller <davem@davemloft.net>
21988
21989 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21990 * stdio-common/printf-parse.h (read_int): Change return type to
21991 'int', return -1 on INT_MAX overflow.
21992 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21993 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21994 overflows INT_MAX. Check for overflow of in-format-string precision
21995 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21996 SIZE_MAX not INT_MAX for integer overflow test.
21997 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21998 skip the construct in the format string but do not record anything.
21999 * stdio-common/bug22.c: Adjust to test both width/prevision
22000 INT_MAX overflow as well as total length INT_MAX overflow. Check
22001 explicitly for proper errno values.
22002
228c019e
TS
220032012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22004
302cadd3
TS
22005 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22006 CHAR_MAX.
22007 * string/test-strcmp.c [! WIDE]: Likewise.
22008 * time/tst-mktime2.c: Likewise for INT_MAX.
22009 * string/test-string.h: #include <sys/param.h> for MIN.
22010
228c019e
TS
22011 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22012 * sysdeps/i386/init-first.c (init): Likewise.
22013 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22014 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22015 * sysdeps/sh/init-first.c (init): Likewise.
22016
cfa633f5
UD
220172012-04-01 Ulrich Drepper <drepper@gmail.com>
22018
22019 * po/ru.po: Update from translation team.
d1635ef8 22020 * po/vi.po: Likewise.
cfa633f5 22021
6cd0a5ea
SP
220222012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22023
22024 * resolv/nss_dns/dns-host.c: Merge copyright years.
22025
4b43400f
LD
220262012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22027
22028 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22029 Optimize memcpy with prefetch if
22030 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22031 src, dst pointers have unequal 16 byte alignments.
22032
48c41d04
SP
220332012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22034
22035 [BZ #13928]
22036 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22037 from a CNAME entry and return the minimum ttl for the query.
22038 (gaih_getanswer_slice): Likewise.
22039
b8dc394d
JL
220402012-03-30 Jeff Law <law@redhat.com>
22041
22042 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22043 due to long keys.
22044 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22045 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22046
2f5a5ed0
JL
22047 * resolv/nss_dns/dns-host.c: Update copyright year.
22048
1d39e359
UD
220492012-03-30 Ulrich Drepper <drepper@gmail.com>
22050
c030f70c 22051 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22052 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22053
1d39e359
UD
22054 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22055 comments for sendmmsg.
22056
220572012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22058
22059 [BZ #13691]
22060 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22061 with only 1 character between 0x0041 and 0x01b0.
22062 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22063 * wcsmbs/tst-mbsnrtowcs.c: New file.
22064
20fde227
DM
220652012-03-29 David S. Miller <davem@davemloft.net>
22066
22067 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22068 small copies by hand.
22069
984a4237
JL
220702012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22071
22072 [BZ #13761]
22073 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22074 _nss_compat_initgroups_dyn): Fall back to malloc/free
22075 for large group memberships.
22076
18c9d62b
DM
220772012-03-28 David S. Miller <davem@davemloft.net>
22078
88d85d4f
DM
22079 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22080 that branches into memcpy.
22081 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22084 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22086 bits.
22087 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22088 implementation too.
22089 * sysdeps/sparc/mempcpy.S: New file.
22090
e5aa83e1
DM
22091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22092 the IFUNC routine in the libc case.
22093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22094
88570753
DM
22095 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22096 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22097 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22098 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22099 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22100 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22101 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22102 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22103
249d7567
DM
22104 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22105 loop to 256 bytes instead of 64 bytes and fix test signedness.
22106
18c9d62b
DM
22107 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22108 * sysdeps/sparc/sparc32/Makefile: rather than here...
22109 * sysdeps/sparc/sparc64/Makefile: and here.
22110
05f3d1f6
UD
221112012-03-28 Ulrich Drepper <drepper@gmail.com>
22112
22113 * malloc/mallocbug.c: Avoid warnings about unused variables.
22114
86ae07a8
JL
221152012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22116
22117 [BZ #13760]
22118 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22119 in the right place. Discard and retry query if response is
22120 larger than input buffer size.
22121
41bf21a1
JM
221222012-03-28 Joseph Myers <joseph@codesourcery.com>
22123
d6270972
JM
22124 [BZ #369]
22125 [BZ #2678]
22126 [BZ #3866]
22127 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22128 x for large integer exponent.
22129 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22130 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22131 sign of result as needed afterwards.
22132 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22133 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22134 result for underflowing pow the same as for overflow.
22135 (__kernel_standard_l): Handle powl overflow and underflow here
22136 rather than calling __kernel_standard.
22137 * math/libm-test.inc (pow_test): Add more tests.
22138
414fca03 22139 [BZ #3868]
41bf21a1
JM
22140 [BZ #13879]
22141 [BZ #13910]
22142 [BZ #13911]
22143 [BZ #13912]
22144 [BZ #13913]
22145 [BZ #13915]
22146 [BZ #13916]
22147 [BZ #13917]
22148 [BZ #13918]
22149 [BZ #13919]
22150 [BZ #13920]
22151 [BZ #13921]
22152 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22153 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22154 (__kernel_standard_l): New function.
22155 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22156 __kernel_standard.
22157 * math/w_acosl.c (__acosl): Likewise.
22158 * math/w_asinl.c (__asinl): Likewise.
22159 * math/w_atan2l.c (__atan2l): Likewise.
22160 * math/w_atanhl.c (__atanhl): Likewise.
22161 * math/w_coshl.c (__coshl): Likewise.
22162 * math/w_exp10l.c (__exp10l): Likewise.
22163 * math/w_exp2l.c (__exp2l): Likewise.
22164 * math/w_fmodl.c (__fmodl): Likewise.
22165 * math/w_hypotl.c (__hypotl): Likewise.
22166 * math/w_j0l.c (__j0l, __y0l): Likewise.
22167 * math/w_j1l.c (__j1l, __y1l): Likewise.
22168 * math/w_jnl.c (__jnl, __ynl): Likewise.
22169 * math/w_lgammal.c (__lgammal): Likewise.
22170 * math/w_log10l.c (__log10l): Likewise.
22171 * math/w_log2l.c (__log2l): Likewise.
22172 * math/w_logl.c (__logl): Likewise.
22173 * math/w_powl.c (__powl): Likewise.
22174 * math/w_remainderl.c (__remainderl): Likewise.
22175 * math/w_scalbl.c (sysv_scalbl): Likewise.
22176 * math/w_sinhl.c (__sinhl): Likewise.
22177 * math/w_sqrtl.c (__sqrtl): Likewise.
22178 * math/w_tgammal.c (__tgammal): Likewise.
22179 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22180 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22181 * math/libm-test.inc (acos_test): Add more tests.
22182 (acosh_test): Likewise.
22183 (asin_test): Likewise.
22184 (atanh_test): Likewise.
22185 (exp_test): Likewise.
22186 (exp10_test): Likewise.
22187 (exp2_test): Likewise.
22188 (expm1_test): Likewise.
22189 (lgamma_test): Likewise.
22190 (log_test): Likewise.
22191 (log10_test): Likewise.
22192 (log1p_test): Likewise.
22193 (log2_test): Likewise.
22194 (pow_test): Do not allow some spurious overflow exceptions.
22195 (sqrt_test): Add more tests.
22196 (tgamma_test): Likewise.
22197 (y0_test): Likewise.
22198 (y1_test): Likewise.
22199 (yn_test): Likewise.
22200
dd62fda6
AB
222012012-03-27 Anton Blanchard <anton@samba.org>
22202
22203 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22204 MAP_HUGETLB.
22205 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22206 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22207 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22208
1e3cdfda
AJ
222092012-03-27 David S. Miller <davem@davemloft.net>
22210
b855ab85
DM
22211 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22212
1e3cdfda
AJ
22213 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22214 have-as-vis3 check.
22215
222162012-03-27 Andreas Jaeger <aj@suse.de>
22217
22218 * sysdeps/x86_64/elf/configure.in: Moved to ...
22219 * sysdeps/x86_64/configure.in: ... here.
22220 * sysdeps/x86_64/elf/start.S: Moved to ...
22221 * sysdeps/x86_64/start.S: ... here.
22222 * sysdeps/x86_64/elf/configure: Delete.
22223
22224 * sysdeps/x86_64/configure.in: Merge contents from
22225 sysdeps/i386/configure.in (without i686 check).
22226
22227 * sysdeps/i386/elf/Versions: Merge into ...
22228 * sysdeps/i386/Versions: ... this.
22229 * sysdeps/i386/elf/Versions: Delete file.
22230 * sysdeps/i386/elf/start.S: Moved to ...
22231 * sysdeps/i386/start.S: ...here.
22232 * sysdeps/i386/elf/configure.in: Merge into...
22233 * sysdeps/i386/configure.in: ...here.
22234 * sysdeps/i386/elf/configure.in: Delete file.
22235 * sysdeps/i386/elf/configure: Delete file.
22236
22237 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22238 * debug/backtracesyms.c: ... here.
22239 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22240 * debug/backtracesymsfd.c: ... here.
22241 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22242 * sysdeps/generic/ifunc-sel.h: ... here.
22243
22244 * sysdeps/unix/i386/start.c: Delete file.
22245 * sysdeps/unix/sparc/start.c: Delete file.
22246 * sysdeps/unix/start.c: Delete file.
22247
22248 * sysdeps/sh/elf/configure.in: Moved to ...
22249 * sysdeps/sh/configure.in: ... here.
22250 * sysdeps/sh/elf/start.S: Moved to ...
22251 * sysdeps/sh/start.S: ... here.
22252 * sysdeps/sh/elf/configure: Delete file.
22253
22254 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22255 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22256 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22257 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22258 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22259 * sysdeps/powerpc/powerpc64/start.S: here.
22260 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22261 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22262 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22263 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22264 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22265
22266 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22267 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22268 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22269 * sysdeps/powerpc/powerpc32/start.S: ... here.
22270 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22271 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22272 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22273
22274 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22275 * sysdeps/powerpc/ifunc-sel.h: ... here.
22276 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22277 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22278
22279 * sysdeps/sparc/elf/configure.in: Moved to ...
22280 * sysdeps/sparc/configure.in: ... here.
22281 * sysdeps/sparc/elf/configure: Delete file.
22282 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22283 * sysdeps/sparc/sparc32/start.S: ... here.
22284 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22285 * sysdeps/sparc/sparc64/start.S: ... here.
22286 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22287 * sysdeps/sparc/sparc32/Makefile: ... this.
22288 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22289 * sysdeps/sparc/sparc64/Makefile: ... this.
22290
22291 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22292 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22293 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22294 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22295 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22296 * sysdeps/s390/s390-32/setjmp.S: ... here.
22297 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22298 * sysdeps/s390/s390-32/configure.in: ... here.
22299 * sysdeps/s390/s390-32/elf/configure: Delete file.
22300 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22301 * sysdeps/s390/s390-32/start.S: ... here.
22302
22303 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22304 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22305 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22306 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22307 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22308 * sysdeps/s390/s390-64/setjmp.S: ... here.
22309 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22310 * sysdeps/s390/s390-64/configure.in: ... here
22311 * sysdeps/s390/s390-64/elf/configure: Delete file.
22312 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22313 * sysdeps/s390/s390-64/start.S: ... here.
22314 * sysdeps/s390/s390-64/elf/configure: Delete.
22315
22316 * configure.in: Remove support for elf directories in sysdeps.
22317
22318 * configure: Regenerated.
22319 * sysdeps/i386/configure: Regenerated.
22320 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22321 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22322 * sysdeps/s390/s390-32/configure: Regenerated.
22323 * sysdeps/s390/s390-64/configure: Regenerated.
22324 * sysdeps/sh/configure: Regenerated.
22325 * sysdeps/sparc/configure: Regenerated.
22326 * sysdeps/x86_64/configure: Regenerated.
22327
a3f61311
AS
223282012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22329
c876e002
AS
22330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22331
a3f61311
AS
22332 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22333 denormal result into account.
22334
ac4c54f0
RM
223352012-03-25 Roland McGrath <roland@hack.frob.com>
22336
22337 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22338 Reported by Allan McRae <allan@archlinux.org>.
22339
6a9b9c02
JL
223402012-03-23 Jeff Law <law@redhat.com>
22341
22342 * nss/getnssent.c (__nss_getent): Fix typo.
22343
4c42a0c1
DM
223442012-03-23 David S. Miller <davem@davemloft.net>
22345
22346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22347
1532c7ac
L
223482012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22349
22350 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22351 to pad to uint64_t for each field.
22352 (dl_tls_index): Replace unsigned long with uint64_t.
22353
3ff42526
PP
223542012-03-23 Daniel Jacobowitz <dmj@google.com>
22355 Paul Pluzhnikov <ppluzhnikov@google.com>
22356
22357 [BZ #6528]
22358 * grp/Makefile (otherlibs): Don't set it.
22359 * inet/Makefile (otherlibs): Likewise.
22360 * login/Makefile (otherlibs): Likewise.
22361 * nscd/Makefile (otherlibs): Likewise.
22362 * posix/Makefile (otherlibs): Likewise.
22363 * pwd/Makefile (otherlibs): Likewise.
22364 * rt/Makefile (otherlibs): Likewise.
22365 * sunrpc/Makefile (otherlibs): Likewise.
22366 * nss/Makefile (otherlibs): Likewise.
22367 Add libnss_files to routines and static-only-routines.
22368 ($(objpfx)getent): Remove rule.
22369 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22370 static-only-routines.
22371
7c69cd14
JM
223722012-03-22 Joseph Myers <joseph@codesourcery.com>
22373
22374 [BZ #13892]
22375 * math/s_cexp.c: Include <float.h>.
22376 (__cexp): Handle exp result overflowing not necessarily
22377 overflowing both real and imaginary parts of result.
22378 * math/s_cexpf.c: Likewise.
22379 * math/s_cexpl.c: Likewise.
22380 * math/libm-test.inc (cexp_test): Add more tests.
22381 * sysdeps/i386/fpu/libm-test-ulps: Update.
22382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22383
81b035fe
L
223842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22385
22386 * include/link.h (ELFW): New macro.
22387 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22388 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22389
1da7940c
L
223902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22391
22392 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22393 with uint64_t.
22394
b749dbb9
L
223952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22396
22397 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22398 declaration.
22399 (struct La_x32_retval): Likewise.
22400
2ff87f3f
L
224012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22402
22403 * sysdeps/x86_64/preconfigure.in: New file.
22404 * sysdeps/x86_64/preconfigure: New generated file.
22405
c0df8e69
JM
224062012-03-22 Joseph Myers <joseph@codesourcery.com>
22407
48e44791
JM
22408 [BZ #13824]
22409 * math/e_exp2l.c: Include <float.h>.
22410 (__ieee754_exp2l): Handle overflow and underflow cases
22411 separately. Only pass fractional part of argument to
22412 __ieee754_expl.
22413 * math/libm-test.inc (exp2_test): Add more tests.
22414
c0df8e69
JM
22415 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22416 negating x to take absolute value.
22417 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22418 Likewise.
22419 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22420 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22421 Likewise.
22422 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22423 computing low part if x was negated.
22424 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22425
c8e43ba7
L
224262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22427
22428 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22429 la_x32_gnu_pltexit.
22430 (pltexit): Cast int_retval to ptrdiff_t.
22431 * elf/tst-auditmod3b.c: Likewise.
22432 * elf/tst-auditmod4b.c: Likewise.
22433 * elf/tst-auditmod5b.c: Likewise.
22434 * elf/tst-auditmod6b.c: Likewise.
22435 * elf/tst-auditmod6c.c: Likewise.
22436 * elf/tst-auditmod7b.c: Likewise.
22437
22438 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22439 and x32_gnu_pltexit.
22440
22441 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22442 __ELF_NATIVE_CLASS.
22443 (La_x32_regs): New macro.
22444 (La_x32_retval): Likewise.
22445 (la_x32_gnu_pltenter): New function prototype.
22446 (la_x32_gnu_pltexit): Likewise.
22447
7998fa78
AS
224482012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22449
dcb33988
AS
22450 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22451 exponent.
22452
233fc563
AS
22453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22454
7998fa78
AS
22455 * configure.in (libc_cv_cc_nofma): Check for option to disable
22456 generation of FMA instructions.
22457 * configure: Regenerate.
22458 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22459 * sysdeps/ieee754/dbl-64/Makefile: New file.
22460 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22461 Remove brandred-fma4.
22462 (CFLAGS-brandred-fma4.c): Remove.
22463 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22464 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22465 define.
22466 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22467 define.
22468
8e95c99a
L
224692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22470
22471 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22472 LLONG_MAX != LONG_MAX.
22473 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22474 (_fitoa_word): Likewise.
22475 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22476 LLONG_MAX != LONG_MAX.
22477 * stdio-common/_itowa.h: Include <_itoa.h>.
22478 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22479 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22480 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22481 only if not defined.
22482 (_ITOA_WORD_TYPE): Likewise.
22483 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22484 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22485
6f4db457
DM
224862012-03-21 David S. Miller <davem@davemloft.net>
22487
22488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22489
7785fe5a
L
224902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22491
22492 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22493 of x86_64 when setting libc_cv_slibdir, libdir and
22494 libc_cv_localedir.
22495 * sysdeps/unix/sysv/linux/configure: Regenerated.
22496
4535cd55
JM
224972012-03-21 Joseph Myers <joseph@codesourcery.com>
22498
22499 * manual/lang.texi (Old Varargs): Remove section.
22500 (How Variadic): Update menu.
22501 (va_start): Do not mention varargs.h.
22502
17228132
TS
225032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22504 Joseph Myers <joseph@codesourcery.com>
22505
22506 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22507 link test.
22508 * configure: Regenerated.
22509
8149f976
TS
225102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22511
05f3d1f6
UD
22512 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22513 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22514 conformtest.pl
8149f976 22515
1a4ac776
JM
225162012-03-21 Joseph Myers <joseph@codesourcery.com>
22517
be22ce65
JM
22518 * NOTES: Remove.
22519 * Makefile (files-for-dist): Remove NOTES.
22520 (NOTES): Remove rule.
22521 * README: Don't refer to NOTES.
22522 * manual/creature.texi: Don't include macros.texi.
22523 * manual/intro.texi (creature.texi): Remove comment referring to
22524 NOTES.
22525
40b601fb
JM
22526 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22527 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22528 * configure: Regenerated.
22529 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22530 LIBC_TRY_CC_OPTION.
22531 (libc_cv_as_i686): Likewise.
22532 (libc_cv_cc_avx): Likewise.
22533 (libc_cv_cc_sse2avx): Likewise.
22534 (libc_cv_cc_fma4): Likewise.
22535 (libc_cv_cc_novzeroupper): Likewise.
22536 * sysdeps/i386/configure: Regenerated.
22537
1a4ac776
JM
22538 [BZ #13883]
22539 * sysdeps/i386/fpu/s_cexp.S: Remove.
22540 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22541 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22542 * math/libm-test.inc (cexp_test): Add more tests.
22543 * sysdeps/i386/fpu/libm-test-ulps: Update.
22544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22545
a458e7fe
AM
225462012-03-21 Allan McRae <allan@archlinux.org>
22547
22548 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22549
0cb7efc5
JM
225502012-03-21 Joseph Myers <joseph@codesourcery.com>
22551
22552 [BZ #13871]
22553 * math/w_exp2.c: Do not include <float.h>.
22554 (o_threshold, u_threshold): Remove.
22555 (__exp2): Calculate result before checking finiteness and calling
22556 __kernel_standard.
22557 * math/w_exp2f.c: Likewise.
22558 * math/w_exp2l.c: Likewise.
22559 * math/libm-test.inc (exp2_test): Require overflow exception for
22560 1e6 input.
2460d3aa
JM
22561
22562 [BZ #3866]
22563 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22564 range of signed 64-bit integers before using fistpll. Remove
22565 checks for whether integers fit in mantissa bits.
22566 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22567 the range of signed 32-bit integers before using fistpl. Remove
22568 checks for whether integers fit in mantissa bits.
22569 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22570 (__ieee754_powl): Test for y outside the range of signed 64-bit
22571 integers before using fistpll. Reduce 64-bit values to 63-bit
22572 ones as needed.
22573 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22574 divide-by-zero is raised for zero to large negative powers.
22575 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22576 (__ieee754_powl): Test for y outside the range of signed 64-bit
22577 integers before using fistpll. Reduce 64-bit values to 63-bit
22578 ones as needed.
22579 * math/libm-test.inc (pow_test): Add more tests.
22580
eb96ffb0
L
225812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22582
22583 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22584 <stdio-common/_itoa.h>.
22585 * debug/segfault.c: Likewise.
22586 * elf/dl-cache.c: Likewise.
22587 * elf/dl-minimal.c: Likewise.
22588 * elf/dl-misc.c: Likewise.
22589 * elf/dl-sysdep.c: Likewise.
22590 * elf/dl-version.c: Likewise.
22591 * elf/rtld.c: Likewise.
22592 * hurd/hurdsock.c: Likewise.
22593 * hurd/lookup-retry.c: Likewise.
22594 * malloc/malloc.c: Likewise.
22595 * malloc/mtrace.c: Likewise.
22596 * nscd/nscd_getgr_r.c: Likewise.
22597 * nscd/nscd_getpw_r.c: Likewise.
22598 * nscd/nscd_getserv_r.c: Likewise.
22599 * posix/getopt_init.c: Likewise.
22600 * posix/wordexp.c: Likewise.
22601 * stdio-common/_itoa.c: Likewise.
22602 * stdio-common/printf_fphex.c: Likewise.
22603 * stdio-common/vfprintf.c: Likewise.
22604 * string/_strerror.c: Likewise.
22605 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22606 * sysdeps/i386/i686/hp-timing.h: Likewise.
22607 * sysdeps/mach/_strerror.c: Likewise.
22608 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22609 * sysdeps/mach/hurd/sethostid.c: Likewise.
22610 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22611 * sysdeps/mach/xpg-strerror.c: Likewise.
22612 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22613 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22614 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22615 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22616 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22617 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22618 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22619 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22620 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22621 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22622 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22623 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22624 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22625 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22626 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22627 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22628 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22629 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22630 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22631 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22632 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22633
22634 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22635
22636 * stdio-common/_itoa.h: Moved to ...
22637 * sysdeps/generic/_itoa.h: Here.
22638
22639 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22640
22641 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22642 instead of "_itoa.h" and "_itowa.h".
22643 * stdio-common/vfprintf.: Likewise.
22644
d1af992d
L
226452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22646
22647 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22648 <bits/wordsize.h>.
22649 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22650 (__signbit): Likwise.
22651 (llrintf): Likwise.
22652 (llrint): Likwise.
22653
114883e0
L
226542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22655
22656 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22657 __WORDSIZE != 64.
22658
c135cc1b
JM
226592012-03-20 Joseph Myers <joseph@codesourcery.com>
22660
22661 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22662 OVERFLOW_EXCEPTION_OK.
22663 * math/libm-test.inc ("Philosophy"): Update comment about
22664 exception testing.
22665 (OVERFLOW_EXCEPTION): Define.
22666 (OVERFLOW_EXCEPTION_OK): Likewise.
22667 (INVALID_EXCEPTION_OK): Renumber.
22668 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22669 (IGNORE_ZERO_INF_SIGN): Likewise.
22670 (test_exceptions): Handle FE_OVERFLOW.
22671 (exp10_test): Expect overflow exceptions.
22672 (exp2_test): Likewise.
22673 (expm1_test): Likewise.
22674 (nextafter_test): Likewise.
22675 (pow_test): Likewise.
22676 (scalbn_test): Likewise.
22677 (scalbln_test): Likewise.
22678
95443d88
L
226792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22680
22681 * sysdeps/x86_64/bits/atomic.h
22682 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22683 64bit integer.
22684 (atomic_exchange_acq): Likewise.
22685 (__arch_exchange_and_add_body): Likewise.
22686 (__arch_add_body): Likewise.
22687 (atomic_add_negative): Likewise.
22688 (atomic_add_zero): Likewise.
22689
490df6c4
L
226902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22691
c2722551 22692 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22693 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22694
5e52b189
L
226952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22696
22697 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22698 Check __x86_64__ instead of __WORDSIZE.
22699
a9879d4c
L
227002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22701
22702 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22703
5df98260
DM
227042012-03-19 David S. Miller <davem@davemloft.net>
22705
e1497744
DM
22706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22707
5df98260
DM
22708 * sysdeps/sparc/fpu/fenv_private.h: New file.
22709 * sysdeps/sparc/fpu/math_private.h: Use it.
22710 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22711 Remove.
22712 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22713 (libc_feholdexcept_setroundl): Remove.
22714 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22715 Remove.
22716 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22717 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22718
b4c35121
L
227192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22720
22721 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22722 int64_t instead of long int.
22723 (INSERT_WORDS64): Likwise.
22724
56965fd7
L
227252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22726
22727 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22728 _Unwind_GetCFA return to _Unwind_Ptr first.
22729
83d1aec8
JM
227302012-03-19 Joseph Myers <joseph@codesourcery.com>
22731
1897ad44
JM
22732 [BZ #13629]
22733 * math/s_clog.c: Include <float.h>.
22734 (__clog): Scale large or subnormal inputs.
22735 * math/s_clogf.c: Likewise.
22736 * math/s_clogl.c: Likewise.
22737 * math/s_clog10.c: Include <float.h>.
22738 (M_LOG10_2): Define.
22739 (__clog10): Scale large or subnormal inputs.
22740 * math/s_clog10f.c: Likewise.
22741 * math/s_clog10l.c: Likewise.
22742 * math/libm-test.inc (clog_test): Add more tests.
22743 (clog10_test): Likewise.
22744 * sysdeps/i386/fpu/libm-test-ulps: Update.
22745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22746
7726d6a9
JM
22747 [BZ #11451]
22748 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22749 x and y.
22750 * math/libm-test.inc (atan2_test): Add another test.
22751
83d1aec8
JM
22752 * Makerules (common-objdir-compile): Remove.
22753 * sysdeps/unix/Makefile (config-generated): Do not add
22754 $(unix-generated) to variable.
22755 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22756 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22757 Remove rule.
22758 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22759 Likewise.
22760 [generic bits/local_lim.h] (before-compile): Do not append to
22761 variable.
22762 [generic bits/local_lim.h] (common-generated): Likewise.
22763 [generic sys/param.h] (before-compile): Do not append to variable.
22764 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22765 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22766 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22767 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22768 include.
22769 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22770 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22771 [generic sys/param.h] ($(addprefix
22772 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22773 [generic sys/param.h] (common-generated): Do not append to
22774 variable.
22775 [generic sys/param.h] (sysdep_headers): Likewise.
22776 [generic bits/errno.h] (before-compile): Do not append to
22777 variable.
22778 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22779 rule.
22780 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22781 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22782 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22783 [generic bits/errno.h] (common-generated): Do not append to
22784 variable.
22785 [generic bits/ioctls.h] (before-compile): Do not append to
22786 variable.
22787 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22788 rule.
22789 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22790 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22791 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22792 rule.
22793 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22794 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22795 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22796 [generic bits/ioctls.h] (common-generated): Do not append to
22797 variable.
22798 [generic sys/syscall.h] (syscall.h): Remove variable.
22799 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22800 rule.
22801 [generic sys/syscall.h] (before-compile): Do not append to
22802 variable.
22803 [generic sys/syscall.h] (common-generated): Likewise.
22804 * sysdeps/unix/errnos-tmpl.c: Remove file.
22805 * sysdeps/unix/errnos.awk: Likewise.
22806 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22807 * sysdeps/unix/ioctls.awk: Likewise.
22808 * sysdeps/unix/mk-local_lim.c: Likewise.
22809 * sysdeps/unix/snarf-ioctls: Likewise.
22810
4851a949
RH
228112012-03-19 Richard Henderson <rth@twiddle.net>
22812
bd37f2ee
RH
22813 * sysdeps/i386/fpu/fenv_private.h: New file.
22814 * sysdeps/i386/fpu/math_private.h: Use it.
22815 (math_opt_barrier, math_force_eval): Remove.
22816 (libc_feholdexcept_setround_53bit): Remove.
22817 (libc_feupdateenv_53bit): Remove.
22818 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22819 (math_opt_barrier, math_force_eval): Remove.
22820 (libc_feholdexcept): Remove.
22821 (libc_feholdexcept_setround): Remove.
22822 (libc_fetestexcept, libc_fesetenv): Remove.
22823 (libc_feupdateenv_test): Remove.
22824 (libc_feupdateenv, libc_feholdsetround): Remove.
22825 (libc_feresetround): Remove.
22826
d0adc922
RH
22827 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22828 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22829
0fe0f1f8
RH
22830 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22831 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22832 (libc_feupdateenv_testl): New.
22833 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22834 (libc_feupdateenv_testf): New.
22835 (libc_feupdateenv): Use libc_feupdateenv_test.
22836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22837 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22838
eb92c487
RH
22839 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22840 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22841 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22842 (libc_feresetround_noex): New.
22843 (libc_feresetround_noexf): New.
22844 (libc_feresetround_noexl): New.
22845 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22846 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22847 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22848 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22849 SET_RESTORE_ROUND.
22850 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22852 (__cos): Likewise.
22853 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22854 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22855 SET_RESTORE_ROUND_NOEX.
22856 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22857 SET_RESTORE_ROUND_NOEXF.
22858 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22859 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22860 (libc_feholdsetroundf): New.
22861 (libc_feresetround, libc_feresetroundf): New.
22862
7d2e8012
RH
22863 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22864 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22865 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22866
b4dabbb4
RH
22867 * sysdeps/generic/math_private.h: Include <fenv.h>.
22868 (default_libc_feholdexcept): New.
22869 (default_libc_feholdexcept_setround): New.
22870 (default_libc_fesetenv, default_libc_feupdateenv): New.
22871 (libc_feholdexcept): Only define if undefined.
22872 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22873 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22874 (libc_feholdexcept_setroundl): Likewise.
22875 (libc_feholdexcept_setround_53bit): Likewise.
22876 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22877 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22878 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22879 (libc_feupdateenv_53bit): Likewise.
22880 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22881 (libc_feholdexcept): Convert from macro to inline function.
22882 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22883 (libc_fesetenv, libc_feupdateenv): Likewise.
22884
4851a949
RH
22885 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22886 not previously defined.
22887 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22888 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22889 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22890 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22891 * sysdeps/ieee754/flt-32/math_private.h: New file.
22892 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22893 math_private.h below SET_FLOAT_WORD.
22894 (__isnan, __isinf_ns, __finite): Remove.
22895 (__isnanf, __isinf_nsf, __finitef): Remove.
22896
e79d442e
AS
228972012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22898
22899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22900
90b80344
DM
229012012-03-17 David S. Miller <davem@davemloft.net>
22902
22903 [BZ #6471]
22904 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22905 for 2.16.
22906
edc21804
DM
229072012-03-16 David S. Miller <davem@davemloft.net>
22908
77e927af
DM
22909 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22910 warnings.
22911
374976dd
DM
22912 [BZ #6471]
22913 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22914 properly.
22915 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22916 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22917 sysdep_routines when subdir is sysvipc.
22918 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22919 __getshmlba helper.
22920
edc21804
DM
22921 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22922
473c3ef3
L
229232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22924
22925 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22926 [__LP64__].
22927
eb0f39b6
L
229282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22929
22930 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22931 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22932 (__lround): Renamed to ...
22933 (__llround): This. Replace long int with long long int.
22934 Define lround functions as aliases of llround functions.
22935 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22936
6b6cd74b
L
229372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22938
22939 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22940 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22941 adresses to uintptr_t. Replace "long int" and "unsigned long
22942 int" with "greg_t" on va_arg.
22943
f1a77b01
L
229442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22945
22946 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22947 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22948
22949 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22950 Move e_machine check before EI_CLASS check. Handle x32
22951 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22952 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22953 SKIP_EM_IA_64 and include
22954 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22955
22956 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22957 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22958 (add_system_dir): New macro.
22959
22960 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22961 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22962
11b90b9f
JM
229632012-03-16 Joseph Myers <joseph@codesourcery.com>
22964
c36e1d23
JM
22965 [BZ #2551]
22966 [BZ #2552]
22967 [BZ #2553]
22968 [BZ #2554]
22969 [BZ #2562]
22970 [BZ #2563]
22971 [BZ #2565]
22972 [BZ #2566]
22973 [BZ #2576]
22974 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22975 (y0): Likewise.
22976 * math/w_j0f.c (j0f): Likewise.
22977 (y0f): Likewise.
22978 * math/w_j0l.c (__j0l): Likewise.
22979 (__y0l): Likewise.
22980 * math/w_j1.c (j1): Likewise.
22981 (y1): Likewise.
22982 * math/w_j1f.c (j1f): Likewise.
22983 (y1f): Likewise.
22984 * math/w_j1l.c (__j1l): Likewise.
22985 (__y1l): Likewise.
22986 * math/w_jn.c (jn): Likewise.
22987 (yn): Likewise.
22988 * math/w_jnf.c (jnf): Likewise.
22989 (ynf): Likewise.
22990 * math/w_jnl.c (__jnl): Likewise.
22991 (__ynl): Likewise.
22992 * math/libm-test.inc (j0_test): Add more tests.
22993 (j1_test): Likewise.
22994 (jn_test): Likewise. Add trailing semicolon to existing test.
22995 (y0_test): Likewise.
22996 (y1_test): Likewise.
22997 * sysdeps/i386/fpu/libm-test-ulps: Update.
22998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22999
11b90b9f
JM
23000 [BZ #13851]
23001 [BZ #13854]
23002 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23003 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23004 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23005 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23006 (__tanl): Set errno for infinite argument.
23007 * sysdeps/i386/fpu/mptan.c: Remove.
23008 * sysdeps/i386/fpu/s_tan.S: Likewise.
23009 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23010 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23011 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23012 * math/libm-test.inc (tan_test): Add more tests and enable more
23013 tests for double and long double.
23014 * sysdeps/i386/fpu/libm-test-ulps: Update.
23015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23016
6a1bd2a1
JK
230172012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23018
23019 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23020 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23021
10a803e0
RM
230222012-03-16 Roland McGrath <roland@hack.frob.com>
23023
23024 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23025 * configure.in: Use it for both main tree and add-ons.
23026 * configure: Regenerated.
23027
f196c7f7
L
230282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23029
23030 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23031
8848d99d
JM
230322012-03-16 Joseph Myers <joseph@codesourcery.com>
23033
96cbe7f4
JM
23034 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23035 in comment.
23036
8848d99d
JM
23037 [BZ #13851]
23038 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23039 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23040 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23043 infinite argument.
23044 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23045 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23046 != 0 for prec == 2.
23047 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23048 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23049 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23050 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23051 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23052 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23053 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23054 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23055 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23056 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23057 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23058 * math/libm-test.inc (cos_test): Add more tests and enable more
23059 tests for long double.
23060 (sin_test): Likewise.
23061 (sincos_test): Likewise.
23062 * sysdeps/i386/fpu/libm-test-ulps: Update.
23063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23064
dd7f4703
DM
230652012-03-16 David S. Miller <davem@davemloft.net>
23066
23067 * sysdeps/sparc/fpu/math_private.h: New file.
23068
006f1daa
DM
230692012-03-15 David S. Miller <davem@davemloft.net>
23070
c0c83bc8
DM
23071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23072 file.
e6a62e18 23073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23075 file.
e6a62e18
DM
23076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23082 sysdep routines.
23083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23084
88cb87d9
DM
23085 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23086 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23087
006f1daa 23088 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23090 sparc-ifunc.h
006f1daa 23091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23093 Likewise.
23094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23095 Likewise.
006f1daa
DM
23096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23100 Likewise.
006f1daa
DM
23101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23106 Likewise.
23107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23108 Likewise.
006f1daa
DM
23109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23115 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23116 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23133
11e0098e
AS
231342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23135
23136 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23137 scaling.
23138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23139
e85b09d0
AJ
231402012-03-15 Andreas Jaeger <aj@suse.de>
23141
23142 [BZ #13852]
23143 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23144 ieee754/flt-32 implementation for sin, cos and sincos.
23145 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23146 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23147 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23148 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23149 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23150 ieee754/flt-32 implementation for tan.
23151
23152 * math/libm-test.inc (cos_test): Enable some large input tests for
23153 float as well
23154 (sin_test): Likewise.
23155 (sincos_test): Likewise.
23156 (tan_test): Add tests for large input.
23157
23158 * sysdeps/i386/fpu/libm-test-ulps: Update.
23159
81c64153
AJ
231602012-03-15 Andreas Jaeger <aj@suse.de>
23161
23162 [BZ #13658]
23163 * math/libm-test.inc (cos_test): Add more test cases.
23164 (sin_test): Likewise.
23165 (sincos_test): Likewise.
23166
7bbfa5c6
AJ
231672012-03-15 Andreas Jaeger <aj@suse.de>
23168
23169 [BZ #13837]
23170 * math/libm-test.inc (cos_test): Add a test case for large input
23171 value.
23172 (sin_test): Likewise.
23173 (sincos_test): Likewise.
23174
231752012-03-15 Andreas Jaeger <aj@suse.de>,
23176 Joseph Myers <joseph@codesourcery.com>
23177
23178 [BZ #13658]
0671f479 23179 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23180 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23181 * sysdeps/i386/fpu/branred.c: Likewise.
23182 * sysdeps/i386/fpu/dosincos.c: Likewise.
23183 * sysdeps/i386/fpu/mpa.c: Likewise.
23184 * sysdeps/i386/fpu/s_cos.S: Likewise.
23185 * sysdeps/i386/fpu/s_sin.S: Likewise.
23186 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23187 * sysdeps/i386/fpu/sincos32.c: Likewise.
23188
23189 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23190 Define.
23191 (libc_feupdateenv_53bit): Define.
23192 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23193 Define.
23194 (libc_feupdateenv_53bit): Define.
23195
23196 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23197 53 bit (without extend i386 double precision).
23198
23199 * math/libm-test.inc (sincos_test): Add tests for large input.
23200 (sin): Likewise.
23201 (cos): Likewise.
23202
23203 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23204
9cad04ea
AS
232052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23206
23207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23208
f7062b9a
DM
232092012-03-15 David S. Miller <davem@davemloft.net>
23210
23211 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23212 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23213 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23214 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23227 file.
f7062b9a 23228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23230 file.
f7062b9a 23231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23233 file.
f7062b9a 23234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23236 file.
f7062b9a
DM
23237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23238 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23239 fmin/fmax sysdep routines.
23240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23241
7bd951ff
DM
232422012-03-14 David S. Miller <davem@davemloft.net>
23243
559398ab
DM
23244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23248 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23250 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23251 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23267 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23270 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23271 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23272 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23273 routines.
23274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23275 file.
559398ab 23276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23278 file.
559398ab 23279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23281 file.
559398ab 23282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23284 file.
559398ab 23285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23287 file.
559398ab 23288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23290 file.
23291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23292 file.
23293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23294 file.
23295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23296 file.
23297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23298 New file.
23299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23300 file.
23301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23302 file.
559398ab 23303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23305 file.
559398ab 23306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23308 file.
559398ab 23309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23311 file.
559398ab 23312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23314 VIS3 routines.
559398ab
DM
23315
23316 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23317 New file.
23318
5a1c1e32
DM
23319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23320
eae47a36
DM
23321 * sysdeps/sparc/configure.in: New file.
23322 * sysdeps/sparc/configure: Generate.
23323 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23324 * configure: Regenerate.
23325 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23326 * config.make.in (have-as-vis3): New.
23327 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23328 available use -Av9d instead of -Av9a.
23329 * sysdeps/sparc/sparc64/Makefile: Likewise.
23330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23332 New file.
23333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23334 file.
23335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23336 New file.
23337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23338 file.
eae47a36
DM
23339 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23340 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23341 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23342 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23343 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23344
c0c83bc8
DM
23345 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23346 fzeros/fnegs to load 0x80000000 into a float register instead of
23347 using the stack.
7bd951ff
DM
23348 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23349
bd951ccb
JM
233502012-03-14 Joseph Myers <joseph@codesourcery.com>
23351
23352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23353 bits/syscall.h.
23354 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23355 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23356 ($(inst_includedir)/bits/syscall.h): Remove rule.
23357 ($(objpfx)bits/syscall.d): Include instead of
23358 $(objpfx)syscall-list.d.
23359 (generated): Change syscall-list.h and syscall-list.d to
23360 bits/syscall.h and bits/syscall.d.
23361
bb4e6db2
RM
233622012-03-14 Roland McGrath <roland@hack.frob.com>
23363
23364 [BZ #13846]
23365 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23366
aa4a2ae1
JM
233672012-03-14 Joseph Myers <joseph@codesourcery.com>
23368
e456826d
JM
23369 [BZ #13841]
23370 * math/s_csqrt.c: Include <float.h>.
23371 (__csqrt): Scale large or subnormal inputs.
23372 * math/s_csqrtf.c: Likewise.
23373 * math/s_csqrtl.c: Likewise.
23374 * math/libm-test.inc (csqrt_test): Add more tests.
23375 * sysdeps/i386/fpu/libm-test-ulps: Update.
23376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23377
aa4a2ae1
JM
23378 [BZ #13840]
23379 * math/libm-test.inc (hypot_test): Add more tests.
23380
7c10fd35
DM
233812012-03-13 David S. Miller <davem@davemloft.net>
23382
23383 [BZ #13840]
23384 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23385 double-precision for the calculation instead of scaling.
23386
f453b98b
JM
233872012-03-13 Joseph Myers <joseph@codesourcery.com>
23388
23389 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23390 manipulate bits before adding and subtracting TWO52[sx].
23391 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23392 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23393 Likewise.
23394 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23395
09a3453f
DM
233962012-03-13 David S. Miller <davem@davemloft.net>
23397
8e59da90
DM
23398 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23399 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23401 rtld-global-offsets.h
23402 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23403
2a8ab7f2
DM
23404 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23405 large parameters.
23406
10f62770
DM
23407 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23408
5f0bdb18
DM
23409 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23410 'err' in the ifdef scope in which it is actually used.
23411
09a3453f
DM
23412 * nss/nss_db/db-init.c: Include string.h
23413
b4b2eb5e
DM
234142012-03-12 David S. Miller <davem@davemloft.net>
23415
98bb2f1c
DM
23416 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23417 masking out of the most significant byte of random value used.
23418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23419 Fix coding style in previous change.
23420
b4b2eb5e
DM
23421 * sysdeps/unix/sysv/linux/kernel-features.h
23422 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23423 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23424 expression.
23425 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23426 later.
23427
6e226b09
DM
234282012-03-11 David S. Miller <davem@davemloft.net>
23429
a1bcbd40
DM
23430 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23431 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23432 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23433 for 'resultvar' otherwise things get truncated on 64-bit.
23434
cb9d6174
DM
23435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23436 Fix masking out of the most significant byte of random value used.
23437
6e226b09
DM
23438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23439
058c132d
AS
234402012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23441
23442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23443
2d2cd515
DM
234442012-03-09 David S. Miller <davem@davemloft.net>
23445
23446 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23447 variables with appropriate CPP guards.
23448 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23449 frame pointer, not the stack pointer. Correct layout comments. Fix test
23450 on resulting framesize and the management of the outregs buffer for pltexit.
23451 Preserve floating point return values across _dl_call_pltexit call.
23452 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23453 framesize and the management of the outregs buffer for pltexit.
23454 Preserve floating point return values across _dl_call_pltexit
23455 call.
23456 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23457 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23458 (print_exit): Fix format string for return register value.
23459
9a07f9d0
JM
234602012-03-10 Joseph Myers <joseph@codesourcery.com>
23461
23462 * sunrpc/Makefile (others): Add rpcgen.
23463 ($(objpfx)rpcgen): Remove special build rule and dependency on
23464 libc.
23465 * sunrpc/rpcgen.c: New file.
23466
547b5e30
PE
234672012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23468
c524201a
PE
23469 [BZ #13673]
23470 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23471 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23472 * sysdeps/i386/crti.S: Likewise.
23473 * sysdeps/i386/crtn.S: Likewise.
23474 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23475 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23476 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23477 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23478 * sysdeps/sh/crti.S: Likewise.
23479 * sysdeps/sh/crtn.S: Likewise.
23480 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23481
7b6235f2
PE
23482 [BZ #13673]
23483 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23484 with URL.
23485 * locale/programs/locfile-kw.gperf: Likewise.
23486 * locale/programs/charmap-kw.h: Regenerated.
23487 * locale/programs/locfile-kw.h: Likewise.
23488
547b5e30
PE
23489 [BZ #13673]
23490 * intl/plural.y: Replace FSF snail mail address with URL.
23491 * intl/plural.c: Regenerated.
23492
5f0a5dae
RH
234932012-03-09 Richard Henderson <rth@twiddle.net>
23494
23495 * include/math_private.h: Remove file.
23496 * math/math_private.h: Move file ...
23497 * sysdeps/generic/math_private.h: ... here.
23498
b8c03620
RH
23499 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23500 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23501 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23502
4e234f5d 23503 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23504 and <math_private.h>.
23505 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23506 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23507 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23508 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23509 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23510 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23511 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23512 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23513 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23514 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23516 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23517 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23518 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23519 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23520 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23521 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23522 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23523 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23524 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23526 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23527 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23529 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23530 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23531 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23535 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23536 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23537 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23538 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23539 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23540 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23541 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23542 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23543 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23544 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23545 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23546 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23547 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23548 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23549 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23550 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23551 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23552 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23553 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23554 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23555 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23556 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23557 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23559 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23561 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23562 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23563 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23564 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23565 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23566 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23567 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23568 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23569 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23570 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23571 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23572 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23573 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23574 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23575 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23576 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23577 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23578 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23579 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23582 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23583 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23584 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23585 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23586 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23587 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23588 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23589 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23591 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23592 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23593 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23594 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23595 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23596 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23597 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23598 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23599 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23600 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23601 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23602 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23603 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23604 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23605 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23606 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23607 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23608 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23609 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23610 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23611 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23612 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23613 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23614 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23615 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23616 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23617 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23618 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23619 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23620 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23621 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23622 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23623 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23624 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23625 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23626 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23627 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23628 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23629 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23630 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23631 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23632 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23633 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23634 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23635 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23636 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23637 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23638 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23639 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23640 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23641 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23642 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23643 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23644 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23645 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23646 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23647 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23648 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23649 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23650 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23651 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23652 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23653 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23654 * sysdeps/ieee754/k_standard.c: Likewise.
23655 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23656 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23658 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23659 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23663 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23664 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23665 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23666 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23667 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23668 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23669 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23670 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23671 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23672 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23673 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23674 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23675 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23676 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23677 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23678 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23679 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23680 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23681 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23682 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23683 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23684 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23685 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23686 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23687 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23688 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23689 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23690 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23691 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23692 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23693 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23694 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23695 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23696 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23697 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23698 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23699 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23700 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23701 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23702 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23703 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23704 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23705 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23706 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23707 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23708 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23709 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23710 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23711 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23712 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23713 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23714 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23715 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23716 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23717 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23718 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23721 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23722 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23723 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23724 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23725 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23726 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23727 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23728 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23729 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23730 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23731 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23732 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23733 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23734 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23735 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23736 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23737 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23738 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23739 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23740 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23741 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23742 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23743 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23744 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23745 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23746 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23747 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23748 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23749 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23750 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23751 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23752 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23753 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23754 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23755 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23756 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23757 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23758 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23759 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23760 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23761 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23762 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23763 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23764 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23765 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23766 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23767 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23768 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23769 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23770 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23771 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23772 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23773 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23774 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23775 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23776 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23777 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23778 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23779 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23780 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23781 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23782 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23783 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23784 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23785 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23786 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23787 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23788 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23789 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23790 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23791 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23792 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23793 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23794 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23795 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23796 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23797 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23798 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23799 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23800 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23801 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23802 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23803 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23804 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23805 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23806 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23807 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23808 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23809 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23810 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23811 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23812 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23813 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23815 * sysdeps/ieee754/s_lib_version.c: Likewise.
23816 * sysdeps/ieee754/s_matherr.c: Likewise.
23817 * sysdeps/ieee754/s_signgam.c: Likewise.
23818 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23819 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23820 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23821 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23822 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23823 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23824 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23825 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23826 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23827 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23828 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23829 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23830 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23831 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23832 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23833 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23834 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23835 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23836 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23838 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23839
1991fa03
JM
238402012-03-09 Joseph Myers <joseph@codesourcery.com>
23841
23842 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23843 * sunrpc/rpc_main.c: Likewise.
23844 * sunrpc/rpc_svcout.c: Likewise.
23845
60d6f5a6
DM
238462012-03-09 David S. Miller <davem@davemloft.net>
23847
23848 * include/math_private.h: New file.
23849
4962050e
JM
238502012-03-09 Joseph Myers <joseph@codesourcery.com>
23851
02a6f887
JM
23852 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23853 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23854 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23855 from <bits/socket_type.h>.
23856 (enum __socket_type): Don't define here.
23857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23859 bits/socket_type.h.
23860
c6e013c1
JM
23861 [BZ #13566]
23862 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23863 checking __USE_GNU.
23864
4962050e
JM
23865 * Makerules ($(inst_includedir)/%.h): New rule.
23866 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23867 (install-others): Remove variable setting.
23868 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23869
38842f45
RH
238702012-03-08 Richard Henderson <rth@twiddle.net>
23871
67bb6da6
RH
23872 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23873 from macro to inline function; merge with the
23874 !__LIBC_INTERNAL_MATH_INLINES version.
23875 (__ieee754_sqrtf): Likewise.
23876
15194b4b
RH
23877 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23878 to inline function.
23879 (__rintf, __floor, __floorf): Likewise.
23880
64e21ede
RH
23881 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23882 macro to inline function.
23883 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23884
38842f45
RH
23885 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23886 not <math/math_private.h>.
23887
c64bf5fe
DM
238882012-03-08 David S. Miller <davem@davemloft.net>
23889
23890 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23891 copyright year.
23892 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23893
82d86f28
TS
238942012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23895
23896 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23897 normalization.
23898 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23899 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23900
aea5d727
UD
239012012-03-08 Ulrich Drepper <drepper@gmail.com>
23902
23903 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23904 be defined individually, they must be defined as a block. Define
23905 S for printing a string instead of hidint the different by using a
23906 macro for adding the 'l'.
23907 * stdio-common/tst-fphex-wide.c: Adjust.
23908
70bca0a3
MP
239092012-03-07 Marek Polacek <polacek@redhat.com>
23910
23911 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23912
65b81130
MP
239132012-03-08 Marek Polacek <polacek@redhat.com>
23914
23915 [BZ #13806]
23916 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23917 * stdio-common/tst-fphex.c: Define a few macros to make the
23918 test reusable. Use them.
23919 * stdio-common/tst-fphex-wide.c: New file.
23920
07037eeb
JM
239212012-03-08 Joseph Myers <joseph@codesourcery.com>
23922
a7a93d50
JM
23923 [BZ #6911]
23924 * manual/macros.texi (gnusystems): New macro.
23925 (nongnusystems): Likewise.
23926 (gnulinuxhurdsystems): Likewise.
23927 (gnuhurdsystems): Likewise..
23928 (gnulinuxsystems): Likewise.
23929 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23930 variants of the GNU system, not "GNU system".
23931 * manual/conf.texi: Likewise.
23932 * manual/errno.texi: Likewise. Update example of errno macro
23933 expansion.
23934 * manual/filesys.texi: Likewise.
23935 (getumask): Document as specific to GNU/Hurd.
23936 * manual/install.texi: Likewise. Reword some references to
23937 GNU/Linux.
23938 * manual/intro.texi: Likewise.
23939 * manual/io.texi: Likewise.
23940 (File Name Portability): Detail which constraints are inapplicable
23941 to all GNU systems and which are only inapplicable to GNU/Hurd.
23942 * manual/job.texi: Likewise.
23943 * manual/llio.texi: Likewise.
23944 (O_NOCTTY): Document as present on GNU/Linux.
23945 * manual/maint.texi: Likewise.
23946 * manual/memory.texi: Likewise.
23947 * manual/pattern.texi: Likewise.
23948 * manual/pipe.texi: Likewise.
23949 * manual/process.texi: Likewise.
23950 * manual/resource.texi: Likewise.
23951 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23952 child on GNU/Hurd.
23953 * manual/setjmp.texi: Likewise.
23954 * manual/signal.texi: Likewise.
23955 * manual/startup.texi: Likewise.
23956 * manual/stdio.texi: Likewise.
23957 * manual/terminal.texi: Likewise.
23958 (ONLCR): Document as POSIX.
23959 (OXTABS): Document availability on GNU/Linux as XTABS.
23960 (ONOEOT): Document availability separately from other bits.
23961 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23962 * manual/time.texi: Likewise.
23963 * manual/users.texi: Likewise.
23964 * INSTALL: Regenerated.
23965 * sysdeps/gnu/errlist.c: Regenerated.
23966
07037eeb
JM
23967 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23968 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23969 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23970 puts.
23971 * configure: Regenerated.
23972
d1d3431a
JM
239732012-03-07 Joseph Myers <joseph@codesourcery.com>
23974
af6a1e37
JM
23975 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23976 default includes instead of AC_HEADER_CHECK.
23977 * sysdeps/i386/configure: Regenerated.
23978
d1d3431a
JM
23979 [BZ #10716]
23980 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23981 * math/s_cacoshf.c (__cacoshf): Likewise.
23982 * math/s_cacoshl.c (__cacoshl): Likewise.
23983 * math/s_casinh.c (__casinh): Set signs of result from argument.
23984 * math/s_casinhf.c (__casinhf): Likewise.
23985 * math/s_casinhl.c (__casinhl): Likewise.
23986 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23987 (casinh_test): Add more tests.
23988 * sysdeps/i386/fpu/libm-test-ulps: Update.
23989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23990
482ff4da
UD
239912012-03-07 Ulrich Drepper <drepper@gmail.com>
23992
872fda05
UD
23993 * po/zh_TW.po: Update from translation team.
23994
a4300c7a
UD
23995 * login/Makefile (distribute): Remove variable.
23996 * catgets/Makefile: Likewise.
23997 * mach/Makefile: Likewise.
23998 * malloc/Makefile: Likewise.
23999 * misc/Makefile: Likewise.
24000 * iconv/Makefile: Likewise.
24001 * nscd/Makefile: Likewise.
24002 * hurd/Makefile: Likewise.
24003 * manual/Makefile: Likewise.
24004 * locale/Makefile: Likewise.
24005 * intl/Makefile: Likewise.
24006 * conform/Makefile: Likewise.
24007 * nss/Makefile: Likewise.
24008 * time/Makefile: Likewise.
24009 * soft-fp/Makefile: Likewise.
24010 * dirent/Makefile: Likewise.
24011 * gmon/Makefile: Likewise.
24012 * po/Makefile: Likewise.
24013 * rt/Makefile: Likewise.
24014 * socket/Makefile: Likewise.
24015 * math/Makefile: Likewise.
24016 * signal/Makefile: Likewise.
24017 * debug/Makefile: Likewise.
24018 * elf/Makefile: Likewise.
24019 * timezone/Makefile: Likewise.
24020 * stdlib/Makefile: Likewise.
24021 * iconvdata/Makefile: Likewise.
24022 * sunrpc/Makefile: Likewise.
24023 * io/Makefile: Likewise.
24024 * argp/Makefile: Likewise.
24025 * inet/Makefile: Likewise.
24026 * hesiod/Makefile: Likewise.
24027 * grp/Makefile: Likewise.
24028 * csu/Makefile: Likewise.
24029 * wctype/Makefile: Likewise.
24030 * crypt/Makefile: Likewise.
24031 * libio/Makefile: Likewise.
24032 * string/Makefile: Likewise.
24033 * nis/Makefile: Likewise.
24034 * resolv/Makefile: Likewise.
24035 * stdio-common/Makefile: Likewise.
24036 * wcsmbs/Makefile: Likewise.
24037 * dlfcn/Makefile: Likewise.
24038 * posix/Makefile: Likewise.
24039
3b7c4e74 24040 [BZ #6959]
482ff4da
UD
24041 * timezone/Makefile: Don't install timezone files, just the programs
24042 and scripts.
24043
f72ed77d
UD
240442012-03-06 Ulrich Drepper <drepper@gmail.com>
24045
a000466f
UD
24046 * nss/databases.def: Add missing gshadow entry.
24047
f72ed77d
UD
24048 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24049
a53b7a4e
MP
240502012-03-06 Marek Polacek <polacek@redhat.com>
24051
24052 [BZ #13726]
24053 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24054 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24055 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24056 * stdio-common/tst-long-dbl-fphex.c: New file.
24057
e9258400
DM
240582012-03-06 David S. Miller <davem@davemloft.net>
24059
24060 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24061 (set_obp_int): New function.
24062 (get_obp_int): New function.
24063 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24064 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24065 Avoid unused variable warnings on 'val' and use builtin_expect.
24066 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24067 __builtin_expect.
e9258400
DM
24068 (INLINE_CLONE_SYSCALL): Likewise.
24069
3bd2c723
DM
240702012-03-05 David S. Miller <davem@davemloft.net>
24071
24072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24073
bbb78d03
AS
240742012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24075
884c5db4
AS
24076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24077
bbb78d03
AS
24078 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24079 only for |x| >= 40.
24080 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24081
1c9f702a 240822012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24083
24084 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24085 Replace gettimeofday with __vdso_gettimeofday.
24086
7be16f82
RM
24087 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24088 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24089 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24090
24091 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24092 time with __vdso_time.
24093
ed58a00f
JM
240942012-03-05 Joseph Myers <joseph@codesourcery.com>
24095
24096 * manual/lang.texi (size_t): Note types to which size_t may be
24097 equivalent with the GNU C Library, but do not describe when
24098 differences between them are significant.
24099
30ee4ced
AJ
241002012-03-05 Andreas Jaeger <aj@suse.de>
24101
24102 * sysdeps/i386/fpu/libm-test-ulps: Update.
24103
b7cd39e8
JM
241042012-03-05 Joseph Myers <joseph@codesourcery.com>
24105
24106 [BZ #3976]
24107 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24108 (__ieee754_pow): Save and restore rounding mode and use
24109 round-to-nearest for main computations.
24110 * math/libm-test.inc (pow_test_tonearest): New function.
24111 (pow_test_towardzero): Likewise.
24112 (pow_test_downward): Likewise.
24113 (pow_test_upward): Likewise.
24114 (main): Call the new functions.
24115 * sysdeps/i386/fpu/libm-test-ulps: Update.
24116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24117
24118 [BZ #3976]
24119 * math/libm-test.inc (cosh_test_tonearest): New function.
24120 (cosh_test_towardzero): Likewise.
24121 (cosh_test_downward): Likewise.
24122 (cosh_test_upward): Likewise.
24123 (sinh_test_tonearest): Likewise.
24124 (sinh_test_towardzero): Likewise.
24125 (sinh_test_downward): Likewise.
24126 (sinh_test_upward): Likewise.
24127 (main): Call the new functions.
24128 * sysdeps/i386/fpu/libm-test-ulps: Update.
24129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24130
6c6a98c9
TV
241312012-03-05 Tom de Vries <tom@codesourcery.com>
24132
24133 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24134 default stack guard is set in last bytes.
24135 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24136
21bb2d2e 241372012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24138
21bb2d2e 24139 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24140
21bb2d2e
AJ
24141 [BZ #13656]
24142 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24143 possibly allocate from heap instead of stack.
24144 * stdio-common/bug-vfprintf-nargs.c: New file.
24145 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24146
c6922934
AS
241472012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24148
24149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24150
bc957d53
MP
241512012-03-03 Marek Polacek <polacek@redhat.com>
24152
24153 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24154 * math/math_private.h: Likewise.
24155 * stdlib/tst-strtod.c: Likewise.
24156 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24157 * sysdeps/x86_64/bits/atomic.h: Likewise.
24158
6358490d
DM
241592012-03-02 David S. Miller <davem@davemloft.net>
24160
24161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24165 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24166 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24167 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24168 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24169
01ae168d
RM
241702012-03-02 Roland McGrath <roland@hack.frob.com>
24171
d9a17c07
RM
24172 [BZ #13792]
24173 * manual/examples/README: New file, says the example source files
24174 can be used under GPL>=2.
24175 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24176 line containing just "*/".
24177 * manual/examples/add.c: Add copyright header (GPL>=2).
24178 * manual/examples/argp-ex1.c: Likewise.
24179 * manual/examples/argp-ex2.c: Likewise.
24180 * manual/examples/argp-ex3.c: Likewise.
24181 * manual/examples/argp-ex4.c: Likewise.
24182 * manual/examples/atexit.c: Likewise.
24183 * manual/examples/db.c: Likewise.
24184 * manual/examples/dir.c: Likewise.
24185 * manual/examples/dir2.c: Likewise.
24186 * manual/examples/execinfo.c: Likewise.
24187 * manual/examples/filecli.c: Likewise.
24188 * manual/examples/filesrv.c: Likewise.
24189 * manual/examples/fmtmsgexpl.c: Likewise.
24190 * manual/examples/genpass.c: Likewise.
24191 * manual/examples/inetcli.c: Likewise.
24192 * manual/examples/inetsrv.c: Likewise.
24193 * manual/examples/isockad.c: Likewise.
24194 * manual/examples/longopt.c: Likewise.
24195 * manual/examples/memopen.c: Likewise.
24196 * manual/examples/memstrm.c: Likewise.
24197 * manual/examples/mkfsock.c: Likewise.
24198 * manual/examples/mkisock.c: Likewise.
24199 * manual/examples/mygetpass.c: Likewise.
24200 * manual/examples/pipe.c: Likewise.
24201 * manual/examples/popen.c: Likewise.
24202 * manual/examples/rprintf.c: Likewise.
24203 * manual/examples/search.c: Likewise.
24204 * manual/examples/select.c: Likewise.
24205 * manual/examples/setjmp.c: Likewise.
24206 * manual/examples/sigh1.c: Likewise.
24207 * manual/examples/sigusr.c: Likewise.
24208 * manual/examples/stpcpy.c: Likewise.
24209 * manual/examples/strdupa.c: Likewise.
24210 * manual/examples/strftim.c: Likewise.
24211 * manual/examples/strncat.c: Likewise.
24212 * manual/examples/subopt.c: Likewise.
24213 * manual/examples/swapcontext.c: Likewise.
24214 * manual/examples/termios.c: Likewise.
24215 * manual/examples/testopt.c: Likewise.
24216 * manual/examples/testpass.c: Likewise.
24217 * manual/examples/timeval_subtract.c: Likewise.
24218
01ae168d
RM
24219 [BZ #13792]
24220 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24221 function to ...
24222 * manual/timeval_subtract.c.texi: ... here, new file.
24223
49efa33d
DM
242242012-03-02 David S. Miller <davem@davemloft.net>
24225
24226 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24227
28afd92d
JM
242282012-03-02 Joseph Myers <joseph@codesourcery.com>
24229
804360ed
JM
24230 [BZ #3976]
24231 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24232 (__sin): Save and restore rounding mode and use round-to-nearest
24233 for all computations.
24234 (__cos): Save and restore rounding mode and use round-to-nearest
24235 for all computations.
24236 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24237 <fenv.h>.
24238 (tan): Save and restore rounding mode and use round-to-nearest for
24239 all computations.
24240 * math/libm-test.inc (cos_test_tonearest): New function.
24241 (cos_test_towardzero): Likewise.
24242 (cos_test_downward): Likewise.
24243 (cos_test_upward): Likewise.
24244 (sin_test_tonearest): Likewise.
24245 (sin_test_towardzero): Likewise.
24246 (sin_test_downward): Likewise.
24247 (sin_test_upward): Likewise.
24248 (tan_test_tonearest): Likewise.
24249 (tan_test_towardzero): Likewise.
24250 (tan_test_downward): Likewise.
24251 (tan_test_upward): Likewise.
24252 (main): Call the new functions.
24253 * sysdeps/i386/fpu/libm-test-ulps: Update.
24254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24255
a6d06d7b
JM
24256 [BZ #10135]
24257 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24258 small n, then large n, before computing and testing k+n.
24259 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24260 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24261 Likewise.
24262 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24263 Likewise.
24264 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24265 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24266 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24267 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24268 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24269 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24270 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24271 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24272 * math/libm-test.inc (scalbn_test): Add more tests.
24273 (scalbln_test): Likewise.
24274
07e12bb3
JM
24275 * manual/filesys.texi (mode_t): Describe constraints on size and
24276 signedness, not exact equivalence to a particular type.
24277 (ino_t): Likewise.
24278 (ino64_t): Likewise.
24279 (dev_t): Likewise.
24280 (nlink_t): Likewise.
24281 (blkcnt_t): Likewise.
24282 (blkcnt64_t): Likewise.
24283 * manual/llio.texi (off_t): Likewise.
24284
28afd92d
JM
24285 [BZ #3976]
24286 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24287 (__ieee754_exp): Save and restore rounding mode and use
24288 round-to-nearest for all computations.
24289 * math/libm-test.inc (exp_test_tonearest): New function.
24290 (exp_test_towardzero): Likewise.
24291 (exp_test_downward): Likewise.
24292 (exp_test_upward): Likewise.
24293 (main): Call the new functions.
24294 * sysdeps/i386/fpu/libm-test-ulps: Update.
24295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24296
b1eeb65d
CD
242972012-03-01 Chris Demetriou <cgd@google.com>
24298
24299 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24300 have predictable order.
24301
53362a4b
DM
243022012-03-01 David S. Miller <davem@davemloft.net>
24303
3c969083
DM
24304 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24305
759707de
DM
24306 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24307 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24308 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24309 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24310
dfdb8ff2
DM
24311 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24312 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24313 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24315 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24316 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24317 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24318 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24319 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24320
ead89f96
DM
24321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24322
7f66bd07
DM
24323 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24324 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24325 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24326
53362a4b
DM
24327 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24328 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24329 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24330 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24331 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24334 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24335 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24336 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24337 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24338 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24339 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24340 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24341 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24342 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24343 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24344 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24345 * sysdeps/sparc/elf/configure: Regenerated.
24346
7b1902cb
JM
243472012-03-01 Joseph Myers <joseph@codesourcery.com>
24348
bec039bc
JM
24349 * configure.in (AS, LD): Require binutils 2.20 or later.
24350 * configure: Regenerated.
24351 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24352 as required minimum version.
24353 * INSTALL: Regenerated.
24354
7b1902cb
JM
24355 [BZ #2541]
24356 [BZ #4108]
24357 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24358 before squaring exponent.
24359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24360 bottom long double and 27 bits of top long double before squaring
24361 exponent.
24362 * math/libm-test.inc (erfc_test): Add more tests.
24363 * sysdeps/i386/fpu/libm-test-ulps: Update.
24364 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24366
f775c276
KT
243672012-03-01 Kai Tietz <ktietz@redhat.com>
24368
24369 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24370 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24371 containing bit-fields.
24372 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24373 * soft-fp/single.h (_FP_UNION_S): Likewise.
24374 * soft-fp/double.h (_FP_UNION_D): Likewise.
24375
5b8a4d4a
JM
243762012-02-29 Joseph Myers <joseph@codesourcery.com>
24377
0bab47b6
JM
24378 [BZ #13786]
24379 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24380 not include ../strcmp.S.
24381 [USE_AS_STRNCASECMP_L]: Likewise.
24382 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24383 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24384 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24385 (__strncasecmp_l_ia32): Define as alias to
24386 __strncasecmp_l_nonascii.
24387
0fcad3e2
JM
24388 [BZ #5794]
24389 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24390 * sysdeps/i386/fpu/libm-test-ulps: Update.
24391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24392
5b8a4d4a
JM
24393 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24395
8fdceb2e
JL
243962012-02-29 Jeff Law <law@redhat.com>
24397
24398 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24399 out of bounds read.
24400
1f393a11
MP
244012012-02-29 Marek Polacek <polacek@redhat.com>
24402
24403 [BZ #13706]
24404 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24405 * elf/Makefile: Add rules to run tst-unused-dep.out.
24406
8847f037
DM
244072012-02-28 David S. Miller <davem@davemloft.net>
24408
24409 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24410 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24411 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24413 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24414 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24415
169d7f11
JM
244162012-02-29 Joseph Myers <joseph@codesourcery.com>
24417
24418 * math/libm-test.inc (llround_test): Move one test from
24419 lround_test. Use TEST_f_L in moved test.
24420 (lround_test): Move misplaced test to llround_test. Add testcase
24421 from bug 2561.
24422
39adf059
UD
244232012-02-28 Ulrich Drepper <drepper@gmail.com>
24424
24425 * sysdeps/x86_64/fpu/e_expf.S: New file.
24426 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24427
71b5d1c5
SB
244282012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24429
24430 [BZ #13637]
24431 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24432 of remain_len that may cause incomplete multi-byte character and
24433 false match.
24434 * posix/bug-regex33.c: New file.
24435 * posix/Makefile (tests): Add bug-regex33.
24436
1f77f049
JM
244372012-02-28 Joseph Myers <joseph@codesourcery.com>
24438
24439 * manual/macros.texi: New file.
24440 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24441 * manual/libc.texinfo: Include macros.texi.
24442 * manual/creatute.texi: Likewise.
24443 * manual/install.texi: Likewise.
24444 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24445 @glibcadj{} in references to the GNU C Library.
24446 * manual/charset.texi: Likewise.
24447 * manual/conf.texi: Likewise.
24448 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24449 when not using those macros.
24450 * manual/creature.texi: Likewise.
24451 * manual/crypt.texi: Likewise.
24452 * manual/errno.texi: Likewise.
24453 * manual/filesys.texi: Likewise.
24454 * manual/header.texi: Likewise.
24455 * manual/install.texi: Likewise.
24456 * manual/intro.texi: Likewise.
24457 * manual/io.texi: Likewise.
24458 * manual/job.texi: Likewise.
24459 * manual/lang.texi: Likewise.
24460 * manual/libc.texiinfo: Likewise.
24461 * manual/llio.texi: Likewise.
24462 * manual/locale.texi: Likewise.
24463 * manual/maint.texi: Likewise.
24464 * manual/math.texi: Likewise.
24465 * manual/memory.texi: Likewise.
24466 * manual/message.texi: Likewise.
24467 * manual/nss.texi: Likewise.
24468 * manual/pattern.texi: Likewise.
24469 * manual/process.texi: Likewise.
24470 * manual/resource.texi: Likewise.
24471 * manual/search.texi: Likewise.
24472 * manual/setjmp.texi: Likewise.
24473 * manual/signal.texi: Likewise.
24474 * manual/socket.texi: Likewise.
24475 * manual/startup.texi: Likewise.
24476 * manual/stdio.texi: Likewise.
24477 * manual/string.texi: Likewise.
24478 * manual/sysinfo.texi: Likewise.
24479 * manual/syslog.texi: Likewise.
24480 * manual/terminal.texi: Likewise.
24481 * manual/time.texi: Likewise.
24482 * manual/users.texi: Likewise.
24483 * INSTALL: Regenerated.
24484 * NOTES: Regenerated.
d40c5d54 24485 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24486
450bf206
AS
244872012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24488
24489 * include/dirent.h: Include <dirstream.h> before
24490 <dirent/dirent.h>.
24491
741a235b
DM
244922012-02-28 David S. Miller <davem@davemloft.net>
24493
24494 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24495 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24496 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24497 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24498
d6b5aa58
DM
244992012-02-27 David S. Miller <davem@davemloft.net>
24500
1aff59a3
DM
24501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24503 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24504 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24505
d6b5aa58
DM
24506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24507 frame pointer instead of stack pointer relative arg slot.
24508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24509 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24510 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24511
433f48bf
CD
245122012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24513
24514 [BZ #3992]
24515 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24516
d674b76d
DM
245172012-02-27 David S. Miller <davem@davemloft.net>
24518
24519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24523 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24524 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24525 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24526 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24527
0e7727f7
JM
245282012-02-27 Joseph Myers <joseph@codesourcery.com>
24529
24530 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24531 later. Allow versions 5-9.
43be4ca2 24532 * configure: Regenerated.
0e7727f7
JM
24533 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24534 required minimum version and 4.6 as recommended version. Do not
24535 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24536 * INSTALL: Regenerated.
0e7727f7 24537
a78bc654
DM
245382012-02-27 David S. Miller <davem@davemloft.net>
24539
428d5830
DM
24540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24544 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24545 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24546 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24547 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24548
a78bc654
DM
24549 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24550 manipulate bits before adding and subtracting TWO112[sx].
24551 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24552
4579f81c
RM
245532012-02-27 Roland McGrath <roland@hack.frob.com>
24554
36c8acb4
RM
24555 [BZ #13775]
24556 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24557 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24558 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24559 being in POSIX, because they are in 1003.1-2008.
24560
84ad622b
RM
24561 * rt/tst-aio.c: Include <fcntl.h>.
24562 * rt/tst-aio7.c: Likewise.
24563 * rt/tst-aio64.c: Likewise.
24564
4579f81c
RM
24565 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24566
abd923db
JM
245672012-02-27 Joseph Myers <joseph@codesourcery.com>
24568
24569 * manual/install.texi (--with-headers): Describe headers as
24570 interface headers, not private headers.
24571 (Specific advice for GNU/Linux systems): Describe use of headers
24572 from "make headers_install", not private headers from older
24573 kernels.
43be4ca2 24574 * INSTALL: Regenerated.
abd923db
JM
24575 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24576 Change to 2.6.19.
24577 * sysdeps/unix/sysv/linux/configure: Regenerated.
24578
6664049b
JM
24579 * manual/llio.texi (fclean): Remove documentation.
24580
bb8b6697
JM
24581 * manual/Makefile (libc-texi-generated): New variable. Include
24582 version.texi.
24583 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24584 $(libc-texi-generated), not duplicated list of files.
24585 (version.texi, stamp-version): New rules.
24586 (realclean): Remove $(libc-texi-generated), not individual files
24587 from that list. Do not remove dir-add.texinfo.
24588 * manual/libc.texinfo: Comment out uses of edition numbers and
24589 references to printed manual. Remove last-updated dates.
24590 (EDITION): Comment out.
24591 (ISBN): Likewise.
24592 (VERSION, UPDATED): Remove.
24593 (version.texi): Include.
24594
12e5c3b9
AS
245952012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24596
24597 * sysdeps/posix/spawni.c: Include <signal.h>.
24598 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24599 * sysdeps/pthread/aio_fsync.c: Likewise.
24600
4efeffc1 246012012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24602
ba63ba08
UD
24603 * conform/Makefile (tests): Run only when not cross-compiling and
24604 when fast-check is not defined.
24605
d94a4670
UD
24606 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24607 * conform/data/limits.h-data: Fixes for POSIX2008.
24608 * conform/run-conformtest.sh: Run all tests.
24609 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24610 headers.
24611 * include/bits/dlfcn.h: Likewise.
24612 * include/langinfo.h: Likewise.
24613 * include/monetary.h: Likewise.
24614 * include/sys/poll.h: Likewise.
24615
24616 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24617 for __USE_GNU.
24618 * posix/spawn.h: Define __need_sigset_t.
24619 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24620 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24621 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24622 to get sigevent_t only.
24623 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24624 only for __USE_GNU.
24625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24626 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24627 process_vm_writev only for __USE_GNU.
24628 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24629
24630 * conform/Makefile: For now ignore errors from run-conformtest.
24631 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24632 POSIX to avoid namespace pollution. Don't prepend headers.
24633 * conform/data/aio.h-data: Fixes for POSIX testing.
24634 * conform/data/fcntl.h-data: Likewise.
24635 * conform/data/glob.h-data: Likewise.
24636 * conform/data/grp.h-data: Likewise.
24637 * conform/data/pthread.h-data: Likewise.
24638 * conform/data/pwd.h-data: Likewise.
24639 * conform/data/signal.h-data: Likewise.
24640 * conform/data/spawn.h-data: Likewise.
24641 * conform/data/stdio.h-data: Likewise.
24642 * conform/data/stdlib.h-data: Likewise.
24643 * conform/data/stropts.h-data: Likewise.
24644 * conform/data/sys/mman.h-data: Likewise.
24645 * conform/data/sys/stat.h-data: Likewise.
24646 * conform/data/sys/types.h-data: Likewise.
24647 * conform/data/sys/wait.h-data: Likewise.
24648 * conform/data/time.h-data: Likewise.
24649 * conform/data/unistd.h-data: Likewise.
24650 * conform/data/utime.h-data: Likewise.
24651
24652 * io/sys/stat.h: fchmod was always in POSIX.
24653 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24654 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24655 * rt/aio.h: Define __need_timespec before including <time.h>.
24656 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24657 struct. Add forward declaration of pthread_attr_t and use it in
24658 sigevent.
24659 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24660 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24661 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24662 always remove CLK_TCK definition.
24663
c20105c3
AS
246642012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24665
24666 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24667
7a270350
UD
246682012-02-25 Ulrich Drepper <drepper@gmail.com>
24669
31341567
UD
24670 * conform/run-conformtest.sh: New file.
24671 * conform/Makefile: Run run-conformtest for tests.
24672 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24673 support.
24674
24675 * conform/data/uchar.h-data: New file.
24676 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24677 * conform/data/arpa/inet.h-data: Likewise.
24678 * conform/data/assert.h-data: Likewise.
24679 * conform/data/complex.h-data: Likewise.
24680 * conform/data/cpio.h-data: Likewise.
24681 * conform/data/ctype.h-data: Likewise.
24682 * conform/data/dirent.h-data: Likewise.
24683 * conform/data/dlfcn.h-data: Likewise.
24684 * conform/data/errno.h-data: Likewise.
24685 * conform/data/fcntl.h-data: Likewise.
24686 * conform/data/float.h-data: Likewise.
24687 * conform/data/fmtmsg.h-data: Likewise.
24688 * conform/data/fnmatch.h-data: Likewise.
24689 * conform/data/ftw.h-data: Likewise.
24690 * conform/data/glob.h-data: Likewise.
24691 * conform/data/grp.h-data: Likewise.
24692 * conform/data/iconv.h-data: Likewise.
24693 * conform/data/inttypes.h-data: Likewise.
24694 * conform/data/langinfo.h-data: Likewise.
24695 * conform/data/libgen.h-data: Likewise.
24696 * conform/data/limits.h-data: Likewise.
24697 * conform/data/locale.h-data: Likewise.
24698 * conform/data/math.h-data: Likewise.
24699 * conform/data/monetary.h-data: Likewise.
24700 * conform/data/mqueue.h-data: Likewise.
24701 * conform/data/ndbm.h-data: Likewise.
24702 * conform/data/net/if.h-data: Likewise.
24703 * conform/data/netdb.h-data: Likewise.
24704 * conform/data/netinet/in.h-data: Likewise.
24705 * conform/data/nl_types.h-data: Likewise.
24706 * conform/data/poll.h-data: Likewise.
24707 * conform/data/pthread.h-data: Likewise.
24708 * conform/data/pwd.h-data: Likewise.
24709 * conform/data/regex.h-data: Likewise.
24710 * conform/data/sched.h-data: Likewise.
24711 * conform/data/search.h-data: Likewise.
24712 * conform/data/semaphore.h-data: Likewise.
24713 * conform/data/setjmp.h-data: Likewise.
24714 * conform/data/signal.h-data: Likewise.
24715 * conform/data/spawn.h-data: Likewise.
24716 * conform/data/stdarg.h-data: Likewise.
24717 * conform/data/stdio.h-data: Likewise.
24718 * conform/data/stdlib.h-data: Likewise.
24719 * conform/data/string.h-data: Likewise.
24720 * conform/data/strings.h-data: Likewise.
24721 * conform/data/stropts.h-data: Likewise.
24722 * conform/data/sys/ipc.h-data: Likewise.
24723 * conform/data/sys/mman.h-data: Likewise.
24724 * conform/data/sys/msg.h-data: Likewise.
24725 * conform/data/sys/resource.h-data: Likewise.
24726 * conform/data/sys/select.h-data: Likewise.
24727 * conform/data/sys/sem.h-data: Likewise.
24728 * conform/data/sys/shm.h-data: Likewise.
24729 * conform/data/sys/socket.h-data: Likewise.
24730 * conform/data/sys/stat.h-data: Likewise.
24731 * conform/data/sys/statvfs.h-data: Likewise.
24732 * conform/data/sys/time.h-data: Likewise.
24733 * conform/data/sys/timeb.h-data: Likewise.
24734 * conform/data/sys/times.h-data: Likewise.
24735 * conform/data/sys/types.h-data: Likewise.
24736 * conform/data/sys/uio.h-data: Likewise.
24737 * conform/data/sys/un.h-data: Likewise.
24738 * conform/data/sys/utsname.h-data: Likewise.
24739 * conform/data/sys/wait.h-data: Likewise.
24740 * conform/data/syslog.h-data: Likewise.
24741 * conform/data/tar.h-data: Likewise.
24742 * conform/data/termios.h-data: Likewise.
24743 * conform/data/utime.h-data: Likewise.
24744 * conform/data/utmpx.h-data: Likewise.
24745 * conform/data/varargs.h-data: Likewise.
24746 * conform/data/wchar.h-data: Likewise.
24747 * conform/data/wctype.h-data: Likewise.
24748 * conform/data/wordexp.h-data: Likewise.
24749
24750 * include/stropts.h: New file.
24751 * include/uchar.h: New file.
24752 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24753 * include/assert.h: Likewise.
24754 * include/ctype.h: Likewise.
24755 * include/dirent.h: Likewise.
24756 * include/dlfcn.h: Likewise.
24757 * include/fcntl.h: Likewise.
24758 * include/fnmatch.h: Likewise.
24759 * include/glob.h: Likewise.
24760 * include/grp.h: Likewise.
24761 * include/libio.h: Likewise.
24762 * include/locale.h: Likewise.
24763 * include/math.h: Likewise.
24764 * include/net/if.h: Likewise.
24765 * include/netdb.h: Likewise.
24766 * include/netinet/in.h: Likewise.
24767 * include/pthread.h: Likewise.
24768 * include/pwd.h: Likewise.
24769 * include/regex.h: Likewise.
24770 * include/sched.h: Likewise.
24771 * include/search.h: Likewise.
24772 * include/setjmp.h: Likewise.
24773 * include/signal.h: Likewise.
24774 * include/stdio.h: Likewise.
24775 * include/stdlib.h: Likewise.
24776 * include/string.h: Likewise.
24777 * include/sys/cdefs.h: Likewise.
24778 * include/sys/mman.h: Likewise.
24779 * include/sys/msg.h: Likewise.
24780 * include/sys/resource.h: Likewise.
24781 * include/sys/select.h: Likewise.
24782 * include/sys/socket.h: Likewise.
24783 * include/sys/stat.h: Likewise.
24784 * include/sys/statvfs.h: Likewise.
24785 * include/sys/time.h: Likewise.
24786 * include/sys/times.h: Likewise.
24787 * include/sys/uio.h: Likewise.
24788 * include/sys/utsname.h: Likewise.
24789 * include/sys/wait.h: Likewise.
24790 * include/termios.h: Likewise.
24791 * include/time.h: Likewise.
24792 * include/ulimit.h: Likewise.
24793 * include/unistd.h: Likewise.
24794 * include/utime.h: Likewise.
24795 * include/wchar.h: Likewise.
24796 * include/wctype.h: Likewise.
24797 * include/wordexp.h: Likewise.
24798
24799 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24800
7a270350
UD
24801 * time/time.h: TIME_UTC must be a macro.
24802 Make timespec_get available for ISO C11 only as well.
24803
7724defc
UD
248042012-02-24 Ulrich Drepper <drepper@gmail.com>
24805
24806 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24807 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24808
6b1d1d46
JM
248092012-02-24 Joseph Myers <joseph@codesourcery.com>
24810
24811 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24812
0f8bbd69
JM
248132012-02-24 Joseph Myers <joseph@codesourcery.com>
24814
24815 * manual/texinfo.tex: Update to version 2012-01-19.16.
24816
66ab80bc
JM
248172012-02-24 Joseph Myers <joseph@codesourcery.com>
24818
24819 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24820
74981cc5
RM
248212012-02-24 Roland McGrath <roland@hack.frob.com>
24822
ee968201
RM
24823 [BZ #13738]
24824 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24825 * manual/fdl-1.3.texi: New file.
24826 * manual/fdl-1.1.texi: File removed.
24827
74981cc5
RM
24828 [BZ #13738]
24829 * manual/libc.texinfo (FDL_VERSION): New @set.
24830 Use it for mention of FDL in cover text.
24831 (Documentation License): Use it in @include file name.
24832
7bb764bc
JM
248332012-02-22 Joseph Myers <joseph@codesourcery.com>
24834 Roland McGrath <roland@hack.frob.com>
24835
24836 [BZ #5461]
24837 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24838 not LONG_LONG_MAX and LONG_LONG_MIN.
24839 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24840 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24841 name.
24842 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24843
6cbeae47
JM
248442012-02-22 Joseph Myers <joseph@codesourcery.com>
24845
24846 [BZ #2547]
24847 [BZ #11365]
24848 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24849 manipulate bits before adding and subtracting TWO23[sx].
24850 * math/libm-test.inc (nearbyint_test): Add more tests.
24851
fe45ce09
JM
248522012-02-22 Joseph Myers <joseph@codesourcery.com>
24853
24854 [BZ #2548]
24855 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24856 bits before adding and subtracting TWO23[sx].
24857 * math/libm-test.inc (rint_test): Add more tests.
24858 (rint_test_tonearest): Likewise.
24859 (rint_test_towardzero): Likewise.
24860 (rint_test_downward): Likewise.
24861 (rint_test_upward: Likewise.
24862
ff3b3d82
JM
248632012-02-22 Joseph Myers <joseph@codesourcery.com>
24864
24865 [BZ #10110]
24866 * include/stdc-predef.h: New file. Extracted from features.h.
24867 * include/features.h: Include stdc-predef.h.
24868 * Makefile (headers): Add stdc-predef.h.
24869 * CONFORMANCE (Compiler limitations): Update.
24870
ef0aab35
JM
248712012-02-22 Joseph Myers <joseph@codesourcery.com>
24872
24873 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24874
58639409
DM
248752012-02-21 David S. Miller <davem@davemloft.net>
24876
24877 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24878 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24879
c0e70b25
DM
248802012-02-20 David S. Miller <davem@davemloft.net>
24881
24882 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24883 using a normal save/restore sequence, rather than allocating a
24884 dummy stack frame just to store a frame pointer and restore.
24885 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24886
fb06851d
JM
248872012-02-21 Joseph Myers <joseph@codesourcery.com>
24888
24889 * manual/install.texi: Fix stray word in line-wrapped comment.
24890
7a8b71c3
DM
248912012-02-20 David S. Miller <davem@davemloft.net>
24892
d510c123
DM
24893 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24894 both binutils and gcc support GOTDATA.
24895
0722d7c2
DM
24896 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24897 "rd %pc" in the PIC register setup sequences.
24898
3d2b3019
DM
24899 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24900 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24901 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24902 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24903 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24905 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24906 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24908 (SYSCALL_ERROR_HANDLER): Likewise.
24909 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24910 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24912 (SYSCALL_ERROR_HANDLER): Likewise.
24913
c80098a9
DM
24914 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24915 (HAVE_GCC_GOTDATA): New.
24916 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24917 relocation support in both binutils and gcc.
24918 * sysdeps/sparc/elf/configure: Regenerate.
24919
3a2545a0
DM
24920 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24921 * sysdeps/sparc/sparc32/elf/configure: Delete.
24922 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24923 * sysdeps/sparc/sparc64/elf/configure: Delete.
24924 * sysdeps/sparc/elf/configure.in: New file.
24925 * sysdeps/sparc/elf/configure: Generate.
24926
7a8b71c3
DM
24927 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24928 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24929 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24930 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24931 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24932
f1e86fca
JM
249332012-02-21 Joseph Myers <joseph@codesourcery.com>
24934
24935 * manual/install.texi: Do not mention specific glibc version
24936 numbers.
24937 * manual/libc.texinfo (VERSION, UPDATED): Update.
24938 (@copying): Use @copyright{} and range of years.
24939
0e7dfaef
JM
249402012-02-21 Joseph Myers <joseph@codesourcery.com>
24941
24942 [BZ #13695]
24943 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24944 [crti.S not in sysdirs] (generated): Do not append.
24945 [crti.S not in sysdirs] (omit-deps): Likewise.
24946 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24947 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24948 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24949 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24950 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24951 Likewise.
24952 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24953 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24954 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24955 * csu/defs.awk: Remove file.
24956 * sysdeps/generic/initfini.c: Likewise.
24957 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24958 variable.
24959 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24960 Likewise.
24961
599af3ca
JM
249622012-02-20 Joseph Myers <joseph@codesourcery.com>
24963
24964 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24965 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24966 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24967 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24968 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24969 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24970 <bits/epoll.h>.
24971 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24972 (__EPOLL_PACKED): Define to empty if not defined by
24973 <bits/epoll.h>.
24974 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24976 bits/epoll.h.
24977
0e499750
JM
249782012-02-20 Joseph Myers <joseph@codesourcery.com>
24979
24980 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24981 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24982 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24983 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24984 <bits/timerfd.h>.
24985 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24987 bits/timerfd.h.
24988
5ad91f6e
JM
249892012-02-20 Joseph Myers <joseph@codesourcery.com>
24990
24991 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24992 in C locale.
24993 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24994 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24995 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24997
06b99b02
AJ
249982012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24999
25000 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25001 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25002
7638c0fd
AS
250032012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25004
25005 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25006 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25007 defined.
25008 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25009 Likewise.
25010 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25011 entry for 2.16.
25012
92221550
AJ
250132012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25014
25015 * math/w_acos.c: Use non-signaling floating-point comparisons.
25016 * math/w_acosf.c: Likewise.
25017 * math/w_acosh.c: Likewise.
25018 * math/w_acoshf.c: Likewise.
25019 * math/w_acoshl.c: Likewise.
25020 * math/w_acosl.c: Likewise.
25021 * math/w_asin.c: Likewise.
25022 * math/w_asinf.c: Likewise.
25023 * math/w_asinl.c: Likewise.
25024 * math/w_atanh.c: Likewise.
25025 * math/w_atanhf.c: Likewise.
25026 * math/w_atanhl.c: Likewise.
25027 * math/w_exp2.c: Likewise.
25028 * math/w_exp2f.c: Likewise.
25029 * math/w_exp2l.c: Likewise.
25030 * math/w_j0.c: Likewise.
25031 * math/w_j0f.c: Likewise.
25032 * math/w_j0l.c: Likewise.
25033 * math/w_j1.c: Likewise.
25034 * math/w_j1f.c: Likewise.
25035 * math/w_j1l.c: Likewise.
25036 * math/w_jn.c: Likewise.
25037 * math/w_jnf.c: Likewise.
25038 * math/w_log.c: Likewise.
25039 * math/w_log10.c: Likewise.
25040 * math/w_log10f.c: Likewise.
25041 * math/w_log10l.c: Likewise.
25042 * math/w_log2.c: Likewise.
25043 * math/w_log2f.c: Likewise.
25044 * math/w_log2l.c: Likewise.
25045 * math/w_logf.c: Likewise.
25046 * math/w_logl.c: Likewise.
25047 * math/w_sqrt.c: Likewise.
25048 * math/w_sqrtf.c: Likewise.
25049 * math/w_sqrtl.c: Likewise.
25050 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25051 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25052 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25053 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25054 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25055
ebaf36eb
JM
250562012-02-19 Joseph Myers <joseph@codesourcery.com>
25057
25058 [BZ #9739]
25059 * manual/string.texi (strnlen): Use correct parameter name in
25060 equivalent expression.
25061
71c254a6
JM
250622012-02-19 Joseph Myers <joseph@codesourcery.com>
25063
25064 [BZ #11174]
25065 * manual/users.texi (seteuid): Consistently use neweuid for
25066 argument name.
25067
16d2c631
JM
250682012-02-19 Joseph Myers <joseph@codesourcery.com>
25069
25070 [BZ #13704]
25071 * manual/nss.texi (Services in the NSS configuration): Correct
25072 list of services in example configuration file.
25073
cd837b09
NB
250742012-02-19 Nick Bowler <nbowler@draconx.ca>
25075
25076 [BZ #11322]
25077 * manual/arith.texi: Remove statements about negative zero
25078 behaving identically to zero.
25079
02c4bbad
JM
250802012-02-18 Joseph Myers <joseph@codesourcery.com>
25081
25082 [BZ #5993]
25083 * manual/install.texi: Do not document upgrading from libc5.
25084
366842e7
JM
250852012-02-18 Joseph Myers <joseph@codesourcery.com>
25086
25087 [BZ #4596]
25088 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25089
dd54084d
DM
250902012-02-18 David S. Miller <davem@davemloft.net>
25091
25092 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25093 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25094 %o7 across the call.
25095 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25096 instead.
25097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25098 SETUP_PIC_REG_LEAF.
25099 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25100 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25101 * sysdeps/sparc/crtn.S: Likewise.
25102
2bcc53a3
UD
251032012-02-17 Ulrich Drepper <drepper@gmail.com>
25104
25105 * aout/Makefile: Remove.
25106
09c093b5
RK
251072012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25108
25109 [BZ #13058]
25110 * manual/examples/argp-ex1.c (main): Format definition in GNU
25111 style.
25112 * manual/examples/argp-ex2.c (main): Likewise.
25113 * manual/examples/argp-ex3.c (main): Likewise.
25114 * manual/examples/argp-ex4.c (main): Likewise.
25115 * manual/examples/longopt.c (main): Use new-style prototype
25116 definition.
25117 * manual/examples/strncat.c (main): Specify return type and use
25118 (void) for arguments.
25119 * manual/examples/subopt.c (main): Use char **argv argument.
25120
2ee633a2
JM
251212012-02-17 Joseph Myers <joseph@codesourcery.com>
25122
25123 [BZ #5077]
25124 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25125 rounding modes.
25126
0520adde
FB
251272012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25128
25129 [BZ #6907]
25130 * manual/string.texi (strchr): Change when strchrnul is
25131 recommended.
25132
3f4081cd
DGM
251332012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25134
25135 [BZ #174]
25136 * manual/locale.texi (setlocale): Document LOCPATH.
25137
d1b10e78
JM
251382012-02-17 Joseph Myers <joseph@codesourcery.com>
25139
25140 [BZ #10210]
25141 * manual/process.texi (execle): Move @dots{} before last argument.
25142
79c6869c
PB
251432012-02-17 Paul Bolle <pebolle@tiscali.nl>
25144
25145 [BZ #12047]
25146 * manual/charset.texi (Generic Charset Conversion): Fix typo
25147 (LC_TYPE -> LC_CTYPE).
25148
cc6e48bc
NB
251492012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25150
25151 [BZ #5805]
25152 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25153 (scalbnf): Likewise.
25154 (scalbnl): Likewise.
25155 (scalbln): Likewise.
25156 (scalblnf): Likewise.
25157 (scalblnl): Likewise.
25158 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25159 (vwarnx): Likewise.
25160 (verr): Likewise.
25161 (verrx): Likewise.
25162 * manual/filesys.texi (telldir): Use braces around return type.
25163 * manual/llio.texi (mmap): Add space after comma.
25164 (mmap64): Likewise.
25165 * manual/math.texi (jn): Use @var{} on parameter names.
25166 (jnf): Likewise.
25167 (jnl): Likewise.
25168 (yn): Likewise.
25169 (ynf): Likewise.
25170 (ynl): Likewise.
25171 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25172 line.
25173 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25174 "...".
25175 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25176 (sched_get_priority_max): Likewise.
25177 * manual/signal.texi (sigvec): Add space after comma.
25178 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25179 names.
25180 (if_indextoname): Likewise.
25181 (if_freenameindex): Likewise.
25182 (sendto): Use ',' instead of '.' in prototype.
25183 * manual/startup.texi (syscall): Use @dots{} instead of literal
25184 "...".
25185 * manual/stdio.texi (__fpending): Separate initial words of
25186 paragraph from @deftypefun line.
25187 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25188 "...".
25189 (vsyslog): Use @var{} on parameter names.
25190 * manual/terminal.texi (stty): Use @var{} on parameter names.
25191 * manual/users.texi (getutmp): Use @var{} on parameter names.
25192 (getutmpx): Likewise.
25193
5b23062f
JM
251942012-02-17 Joseph Myers <joseph@codesourcery.com>
25195
25196 [BZ #6884]
25197 * manual/stdio.texi (fopen): Fix typos in description of
25198 ",ccs=STRING".
25199
8dee4833
AJ
252002012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25201
25202 [BZ #4026]
25203 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25204 get clock_id definition.
25205
9078ce93
TS
252062012-02-17 Thomas Schwinge <thomas@schwinge.name>
25207
25208 [BZ #4822]
25209 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25210 (madvise): Cast every argument to void on its own.
25211
3835c55f
JM
252122012-02-17 Joseph Myers <joseph@codesourcery.com>
25213
25214 [BZ #9902]
25215 * manual/startup.texi (Exit Status): Fix typo.
25216
35c47e37
JM
252172012-02-17 Joseph Myers <joseph@codesourcery.com>
25218
25219 [BZ #10140]
25220 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25221 * manual/examples/argp-ex2.c: Likewise.
25222 * manual/examples/argp-ex3.c: Likewise.
25223
e3b69ca7
RH
252242012-02-16 Richard Henderson <rth@redhat.com>
25225
25226 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25227 * sysdeps/s390/s390-32/initfini.c: Remove.
25228 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25229 * sysdeps/s390/s390-64/initfini.c: Remove.
25230
df83af67
KK
252312012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25232
25233 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25234 compiler output for sysdeps/generic/initfini.c.
25235 * sysdeps/sh/elf/initfini.c: Remove file.
25236
f63f3380
DM
252372012-02-16 David S. Miller <davem@davemloft.net>
25238
fb59b3a4
DM
25239 [BZ #11494]
25240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25241
f63f3380
DM
25242 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25243 * sysdeps/sparc/crti.S: New file.
25244 * sysdeps/sparc/crtn.S: New file.
25245 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25246 * sysdeps/sparc/sparc64/Makefile: Likewise.
25247
df6a4a4a
MF
252482012-02-15 Mike Frysinger <vapier@gentoo.org>
25249
6dd8f3dc 25250 [BZ #3335]
df6a4a4a
MF
25251 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25252
1cac7236
RM
252532012-02-15 Roland McGrath <roland@hack.frob.com>
25254
d2c736f8
RM
25255 [BZ #4822]
25256 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25257
1cac7236
RM
25258 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25259 (write, read, close): Likewise.
25260 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25261
8e475601
JM
252622012-02-15 Joseph Myers <joseph@codesourcery.com>
25263
25264 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25265 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25266 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25267 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25268 <bits/signalfd.h>.
25269 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25271 bits/signalfd.h.
25272
ed656b40
MP
252732012-02-14 Marek Polacek <polacek@redhat.com>
25274
25275 * sysdeps/x86_64/crti.S: New file.
25276 * sysdeps/x86_64/crtn.S: New file.
25277 * sysdeps/x86_64/elf/initfini.c: Remove file.
25278
2a979d3a
JM
252792012-02-13 Joseph Myers <joseph@codesourcery.com>
25280
25281 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25282 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25283 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25284 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25285 <bits/inotify.h>.
25286 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25288 bits/inotify.h.
25289
2a418ac3
JM
252902012-02-13 Joseph Myers <joseph@codesourcery.com>
25291
25292 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25293 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25294 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25295 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25296 <bits/eventfd.h>.
25297 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25299 bits/eventfd.h.
25300
fb779be7
TS
253012012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25302
e19e83c5
RM
25303 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25304 __feraiseexcept instead of feraiseexcept.
7c35ffed 25305
fb779be7
TS
25306 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25307 nanosleep invocations.
25308 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25309 strings, and add error checking for a nanosleep invocations.
25310
59ba27a6
PE
253112012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25312
25313 Replace FSF snail mail address with URLs, as per GNU coding standards.
25314 Most of the snail mail addresses were wrong anyway, and omitting
25315 them makes the source code easier to maintain. Almost all of the
25316 changes are to license notices and to locale LC_IDENTIFICATION
25317 addresses, except for this one:
25318 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25319 not its snail mail address.
25320
57b957eb
RH
253212012-02-09 Richard Henderson <rth@twiddle.net>
25322
af850b1c
RH
25323 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25324 of kernel-features.h.
25325
57b957eb
RH
25326 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25327
6b73181a
MP
253282012-02-08 Marek Polacek <polacek@redhat.com>
25329
25330 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25331 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25332 * sysdeps/gnu/_G_config.h: Likewise.
25333 * sysdeps/generic/_G_config.h: Likewise.
25334
26ecc33a
AS
253352012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25336
6c6dbc63
AS
25337 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25338 tests.
25339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25340
e216c012
AS
25341 * sysdeps/powerpc/powerpc32/crti.S: New file.
25342 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25343 * sysdeps/powerpc/powerpc64/crti.S: New file.
25344 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25345
26ecc33a
AS
25346 * Makeconfig (have-initfini): Don't set.
25347 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25348 * configure.in (nopic_initfini): Don't substitute.
25349 * config.h.in (HAVE_INITFINI): Don't #undef.
25350 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25351 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25352
3add8e13
JM
253532012-02-08 Joseph Myers <joseph@codesourcery.com>
25354
25355 Support crti.S and crtn.S provided directly by architectures.
25356 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25357 [crti.S in sysdirs] (omit-deps): Likewise.
25358 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25359 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25360 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25361 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25362 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25363 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25364 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25365 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25366 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25367 compiler output for sysdeps/generic/initfini.c.
25368 * sysdeps/i386/elf/Makefile: Remove file.
25369 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25370
a22f12b4
MP
253712012-02-07 Marek Polacek <polacek@redhat.com>
25372
25373 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25374 * sysdeps/gnu/_G_config.h: Likewise.
25375 * sysdeps/mach/hurd/_G_config.h: Likewise.
25376
148cf100
MP
253772012-02-07 Marek Polacek <polacek@redhat.com>
25378
25379 * math/Makefile (tests): Add tst-CMPLX2.
25380 * math/tst-CMPLX2.c: New file.
25381
cfdc0dd7
AS
253822012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25383
84ba42c4
AS
25384 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25385
cfdc0dd7
AS
25386 * math/libm-test.inc (jn_test): Add missing L suffix.
25387
622c86f4
MP
253882012-02-06 Marek Polacek <polacek@redhat.com>
25389
25390 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25391 * sysdeps/i386/fpu/e_powf.S: Likewise.
25392 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25393 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25394 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25395 * sysdeps/i386/fpu/e_pow.S: Likewise.
25396 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25397 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25398 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25399 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25400 * sysdeps/i386/fpu/e_log2.S: Likewise.
25401 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25402 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25403 * sysdeps/i386/fpu/e_powl.S: Likewise.
25404 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25405 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25406 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25407 * sysdeps/i386/fpu/e_logl.S: Likewise.
25408 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25409 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25410 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25411 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25412 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25413 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25414 * sysdeps/i386/fpu/e_log.S: Likewise.
25415 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25416 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25417 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25418 * sysdeps/i386/fpu/e_logf.S: Likewise.
25419 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25420 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25421 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25422 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25423 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25424 * sysdeps/i386/fpu/e_log10.S: Likewise.
25425 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25426 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25427 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25428 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25429 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25430 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25431 * sysdeps/i386/asm-syntax.h: Likewise.
25432 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25434 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25435 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25436 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25437 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25438 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25439 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25440 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25441 * sysdeps/powerpc/sysdep.h: Likewise.
25442 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25443 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25444
d4a54ac6
JM
254452012-02-06 Joseph Myers <joseph@codesourcery.com>
25446
25447 [BZ #411]
25448 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25449
314054ea
JM
254502012-02-06 Joseph Myers <joseph@codesourcery.com>
25451
25452 * sysdeps/i386/sysdep.h: Include <features.h>.
25453 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25454 version.
25455
d8e0ca50
JM
254562012-02-05 Joseph Myers <joseph@codesourcery.com>
25457
25458 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25459 Define.
25460 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25461 LOAD_PIC_REG_STR.
25462
b1da7dd9
JM
254632012-02-03 Joseph Myers <joseph@codesourcery.com>
25464
25465 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25466 (SETUP_PIC_REG): Use GET_PC_THUNK.
25467 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25468 macro.
25469
9a1d9254
JM
254702012-02-03 Joseph Myers <joseph@codesourcery.com>
25471
25472 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25473 for non-PIC compilation.
25474 (SETUP_PIC_REG): Add .p2align directive.
25475 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25476 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25477 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25478 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25479 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25480 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25481 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25482 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25483 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25484 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25485 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25486 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25487 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25488 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25489 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25490 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25491 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25492 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25493 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25494 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25495 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25496 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25497 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25498 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25499 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25500 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25501 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25502 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25503 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25504 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25505 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25507 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25508 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25509 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25510 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25511 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25512 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25513 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25514 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25515 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25516
65dc3b75
JM
255172012-02-03 Joseph Myers <joseph@codesourcery.com>
25518
25519 * math/tst-CMPLX.c: Include <stdio.h>.
25520
d55bf177
JM
255212012-01-31 Joseph Myers <joseph@codesourcery.com>
25522
25523 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25524 float.
25525 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25526 * sysdeps/sparc/bits/mathdef.h: Likewise.
25527
69db4f8f
MP
255282012-01-31 Marek Polacek <polacek@redhat.com>
25529
25530 * libio/libio.h: Don't define _PARAMS.
25531 * locale/programs/config.h: Don't define PARAMS.
25532 * stdlib/strtol_l.c: Likewise.
25533 (__strtol_l): Remove PARAMS from the prototype.
25534
41b81892
UD
255352012-01-31 Ulrich Drepper <drepper@gmail.com>
25536
3b49edc0
UD
25537 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25538 names. Just use the correct names. Remove unnecessary wrapper
25539 functions.
25540 * malloc/arena.c: Likewise.
25541 * malloc/hooks.c: Likewise.
25542
41b81892
UD
25543 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25544 ARENA_TEST says not to. Simplify test for creation of a new arena.
25545 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25546
27a25b6e
UD
255472012-01-30 Ulrich Drepper <drepper@gmail.com>
25548
25549 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25550 into tail calls.
25551 (update_get_addr): New function.
25552 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25553 GET_ADDR_MODULE parameter.
25554
c8a89e7d
JM
255552012-01-30 Joseph Myers <joseph@codesourcery.com>
25556
25557 * crypt/cert.c: Remove __STDC__ conditionals.
25558 * crypt/crypt-entry.c: Likewise.
25559 * crypt/crypt_util.c: Likewise.
25560 * libio/filedoalloc.c: Likewise.
25561 * libio/fileops.c: Likewise.
25562 * libio/genops.c: Likewise.
25563 * libio/iofclose.c: Likewise.
25564 * libio/iofdopen.c: Likewise.
25565 * libio/iofopen.c: Likewise.
25566 * libio/iofopen64.c: Likewise.
25567 * libio/iogetdelim.c: Likewise.
25568 * libio/iopopen.c: Likewise.
25569 * libio/obprintf.c: Likewise.
25570 * libio/oldfileops.c: Likewise.
25571 * libio/oldiofclose.c: Likewise.
25572 * libio/oldiofdopen.c: Likewise.
25573 * libio/oldiofopen.c: Likewise.
25574 * libio/oldiopopen.c: Likewise.
25575 * libio/wfiledoalloc.c: Likewise.
25576 * libio/wgenops.c: Likewise.
25577 * locale/programs/xmalloc.c: Likewise.
25578 * misc/syslog.c: Likewise.
25579 * stdio-common/xbug.c: Likewise.
25580 * string/memchr.c: Likewise.
25581 * string/memcmp.c: Likewise.
25582 * string/memrchr.c: Likewise.
25583 * string/rawmemchr.c: Likewise.
25584 * sysdeps/posix/getcwd.c: Likewise.
25585 * time/strftime_l.c: Likewise.
25586
3b100462
JM
255872012-01-30 Joseph Myers <joseph@codesourcery.com>
25588
25589 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25590 * config.make.in (config-cflags-sse2avx): Define.
25591 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25592 Fix typo.
25593
607998af
CM
255942012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25595
25596 * scripts/config.guess: Update from upstream config git repository.
25597 * scripts/config.sub: Likewise.
25598
3601428f
CM
255992012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25600
3ac8b282
CM
25601 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25602 (EM_NUM): Update.
25603 (R_TILEPRO_*, R_TILEGX_*): New macros.
25604
e034841e
CM
25605 * scripts/firstversions.awk: Fix bug in version range handling.
25606
540d7568
CM
25607 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25608
3601428f
CM
25609 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25610
463de862
CM
25611 * include/sys/epoll.h: New file.
25612 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25613 libc_hidden_def.
25614
73139a76
UD
256152012-01-28 Ulrich Drepper <drepper@gmail.com>
25616
96bc5b45
UD
25617 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25618 Avoid unnecessary __WORDSIZE == 64 test.
25619 (fmaxf): Use VEX format if possible.
25620 (fmax): Likewise.
25621 (fminf): Likewise.
25622 (fmin): Likewise.
25623
56f6f6a2
UD
25624 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25625 * math/math_private.h: Remove libc_fegetround* and
25626 libc_fesetround*.
25627 * sysdeps/i386/configure.in: Check for -msse2avx.
25628 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25629 also if SSE2AVX is defined.
25630 Remove libc_fegetround* and libc_fesetround*.
25631 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25632 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25634 of HAS_YMM_USABLE.
25635 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25636 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25637 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25640
73139a76
UD
25641 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25642
d73f93a4
AZ
256432012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25644
25645 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25646 size is not set.
25647 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25648
6ee65ed6
UD
256492012-01-27 Ulrich Drepper <drepper@gmail.com>
25650
25651 [BZ #13618]
25652 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25653 relocation.
25654 * Makeconfig (libm): Define.
25655 * elf/Makefile: Add rules to build and run tst-relsort1.
25656 * elf/tst-relsort1.c: New file.
25657 * elf/tst-relsort1mod1.c: New file.
25658 * elf/tst-relsort1mod2.c: New file.
25659
8db21882
JM
256602012-01-27 Joseph Myers <joseph@codesourcery.com>
25661
25662 * math/s_ldexp.c: Remove __STDC__ conditionals.
25663 * math/s_ldexpf.c: Likewise.
25664 * math/s_ldexpl.c: Likewise.
25665 * math/s_nextafter.c: Likewise.
25666 * math/s_nexttowardf.c: Likewise.
25667 * math/s_significand.c: Likewise.
25668 * math/s_significandf.c: Likewise.
25669 * math/s_significandl.c: Likewise.
25670 * math/w_jnl.c: Likewise.
25671 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25672 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25673 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25674 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25675 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25677 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25678 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25679 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25680 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25681 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25682 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25683 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25684 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25685 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25686 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25687 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25688 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25689 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25690 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25691 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25692 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25693 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25694 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25695 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25696 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25697 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25698 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25699 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25700 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25701 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25702 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25703 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25704 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25705 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25706 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25707 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25708 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25709 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25710 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25711 * sysdeps/ieee754/k_standard.c: Likewise.
25712 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25713 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25716 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25717 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25718 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25721 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25723 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25725 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25727 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25728 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25729 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25730 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25731 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25732 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25733 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25734 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25735 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25738 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25739 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25741 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25742 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25743 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25744 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25745 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25746 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25747 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25748 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25749 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25750 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25751 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25752 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25753 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25754 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25755 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25756 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25757 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25758 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25759 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25760 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25761 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25762 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25763 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25764 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25765 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25766 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25767 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25768 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25769 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25770 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25771 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25772 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25773 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25774 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25775 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25776 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25777 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25778 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25779 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25780 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25781 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25782 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25783 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25784 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25785 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25786 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25787 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25788 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25789 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25790 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25791 * sysdeps/ieee754/s_matherr.c: Likewise.
25792 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25793 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25794 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25795 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25796
965a54a4
JM
257972012-01-26 Joseph Myers <joseph@codesourcery.com>
25798
25799 * crypt/md5.h: Remove __STDC__ conditionals.
25800 * libio/libioP.h: Likewise.
25801 * locale/programs/config.h: Likewise.
25802 * sysdeps/generic/sysdep.h: Likewise.
25803 * sysdeps/i386/asm-syntax.h: Likewise.
25804 * sysdeps/s390/asm-syntax.h: Likewise.
25805 * sysdeps/unix/sysdep.h: Likewise.
25806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25808
7071ad79
JM
258092012-01-26 Joseph Myers <joseph@codesourcery.com>
25810
25811 * libio/libio.h: Remove __STDC__ conditionals.
25812 * malloc/obstack.h: Likewise.
25813 * math/complex.h: Likewise.
25814 * math/math.h: Likewise.
25815 * sysdeps/generic/_G_config.h: Likewise.
25816 * sysdeps/gnu/_G_config.h: Likewise.
25817 * sysdeps/mach/hurd/_G_config.h: Likewise.
25818 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25819 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25820 * sysdeps/sparc/bits/mathdef.h: Likewise.
25821
afc5ed09
UD
258222012-01-26 Ulrich Drepper <drepper@gmail.com>
25823
25824 [BZ #13583]
25825 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25826 Clean up HAS_* macros.
afc5ed09 25827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25828 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25829 possible.
25830 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25831 HAS_AVX.
25832 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25833 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25834 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25835 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25836 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25837
bdb6de1d
JM
258382012-01-25 Joseph Myers <joseph@codesourcery.com>
25839
25840 * elf/tst-unique3.cc (gets): Remove declaration.
25841 * elf/tst-unique3lib.cc (gets): Likewise.
25842 * elf/tst-unique3lib2.cc (gets): Likewise.
25843 * elf/tst-unique4.cc (gets): Likewise.
25844
b15549e6
UD
258452012-01-24 Ulrich Drepper <drepper@gmail.com>
25846
25847 * include/stdio.h: Add C++ protection. Add gets declarations and
25848 definitions.
25849 * debug/tst-chk1.c: Don't declare gets here.
25850 * stdio-common/tst-gets.c: Likewise.
25851
a037381f
JM
258522012-01-24 Joseph Myers <joseph@codesourcery.com>
25853
25854 * posix/glob: Remove directory.
25855
f1d4aa75
JM
258562012-01-24 Joseph Myers <joseph@codesourcery.com>
25857
25858 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25859
81c0c964
PT
258602012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25861
25862 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25863 of the non-standard EPFNOSUPPORT.
25864
0ea698ae
ST
258652011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25866
25867 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25868 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25869 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25870
d220b117
UD
258712012-01-21 Ulrich Drepper <drepper@gmail.com>
25872
25873 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25874
3e1aa84e
UD
258752012-01-20 Ulrich Drepper <drepper@gmail.com>
25876
25877 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25878 transient errors.
25879 * nscd/grpcache.c (cache_addgr): Likewise.
25880 * nscd/hstcache.c (cache_addhst): Likewise.
25881 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25882 * nscd/pwdcache.c (cache_addpw): Likewise.
25883 * nscd/servicescache.c (cache_addserv): Likewise.
25884
400aa020
UD
258852012-01-16 Ulrich Drepper <drepper@gmail.com>
25886
d77e7869
UD
25887 * malloc/malloc.c: Various cleanups.
25888 * malloc/hooks.c: Likewise.
25889
400aa020
UD
25890 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25891 * stdlib/bug-fmtmsg1.c: New file.
25892
25893 * stdlib/fmtmsg.c (init): Add missing unlock.
25894 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25895
e0a309cf
MP
258962012-01-12 Marek Polacek <polacek@redhat.com>
25897
25898 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25899 and _GNU_SOURCE.
25900
929d11c7
WS
259012012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25902
25903 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25904 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25905 macro to ensure uniqueness of label name.
25906 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25907 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25908
41d0e869
UD
259092012-01-11 Ulrich Drepper <drepper@gmail.com>
25910
0cc5ed3b
UD
25911 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25912
41d0e869
UD
25913 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25914 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25915 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25916 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25917
a47a831a
UD
259182012-01-10 Ulrich Drepper <drepper@gmail.com>
25919
daa891c0
UD
25920 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25921
25922 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25923 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25924 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25925
e58ef0f2
UD
25926 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25927
a47a831a 25928 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25929 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25930 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25931 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25932
25933 * math/bits/math-finite.h: Add ldexp support.
25934
a0bfc9c7
MP
259352012-01-10 Marek Polacek <polacek@redhat.com>
25936
25937 * locale/programs/localedef.h (show_archive_content): Add noreturn
25938 attribute.
25939
d6e97a1d
UD
259402012-01-09 Ulrich Drepper <drepper@gmail.com>
25941
25942 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25943
d5835c26
UD
259442012-01-08 Ulrich Drepper <drepper@gmail.com>
25945
e5f484c6
UD
25946 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25947
d5835c26
UD
25948 * io/Makefile (headers): Add bits/poll2.h.
25949
d1f741e9
WS
259502011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25951
25952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25953 typo #include statement.
25954
ec09c1c4
UD
259552012-01-08 Ulrich Drepper <drepper@gmail.com>
25956
25957 * include/sys/cdefs.h: Define __attribute_alloc_size.
25958 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25959 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25960 * elf/pldd.c: Likewise.
25961 * iconv/iconv_charmap.c: Likewise.
25962 * iconv/iconvconfig.c: Likewise.
25963 * iconv/strtab.c: Likewise.
25964 * locale/programs/locale.c: Likewise.
25965 * locale/programs/localedef.h: Likewise.
25966 * locale/programs/simple-hash.c: Likewise.
25967 * nscd/nscd.h: Likewise.
25968 * nss/makedb.c: Likewise.
25969 * sysdeps/generic/ldconfig.h: Likewise.
25970 * locale/programs/localedef.c: Remove xmalloc prototype.
25971 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25972
20b38e03
PP
259732012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25974
25975 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25976 appropriate.
25977
a0da5fe1
UD
259782012-01-08 Ulrich Drepper <drepper@gmail.com>
25979
1d5a644a 25980 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25981 * math/tst-CMPLX.c: New file.
1d5a644a 25982
8784a6db
UD
25983 * math/complex.h (CMPLXL): Fix typo.
25984
d9a216c0
UD
25985 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25986 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25987 GLIBC_2.16.
25988 * debug/tst-chk1.c: Add poll and ppoll tests.
25989 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25990 * include/sys/poll.h: Add hidden proto for ppoll.
25991 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25992 * sysdeps/mach/hurd/ppoll.c: Likewise.
25993 * io/ppoll.c: Likewise.
25994 * debug/poll_chk.c: New file.
25995 * debug/ppoll_chk.c: New file.
25996 * include/bits/poll2.h: New file.
25997 * io/bits/poll2.h: New file.
25998
ac097f5c
UD
25999 [BZ #1350]
26000 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26001
2119dcfa
UD
26002 * configure.in: static is always set to yes. Remove.
26003 * config.make.in: Don't set build-static.
26004 * Makeconfig: Remove use of build-static.
26005 * dlfcn/Makefile: Likewise.
26006 * elf/Makefile: Likewise.
26007 * math/Makefile: Likewise.
26008 * misc/Makefile: Likewise.
26009 * nptl/Makefile: Likewise.
26010 * sysdeps/mach/hurd/Makefile: Likewise.
26011
121766a9
UD
26012 * configure.in: PWD_P is not used anymore.
26013 * config.make.in: Remove PWD_P entry.
26014
51a1d39c 26015 * configure.in: Remove last remnants of RANLIB.
8720d066 26016 No need to check for signed size_t anymore.
215f4bdc
UD
26017 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26018 and IA-64.
3857022a 26019 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26020 * aclocal.m4: Likewise.
26021
d3ed7225
UD
26022 * wcsmbs/mbrtoc16.c: Implement using towc function.
26023 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26024 * wcsmbs/wcsmbsload.c: Likewise.
26025 * iconv/gconv_simple.c: Likewise.
26026 * iconv/gconv_int.h: Likewise.
26027 * iconv/gconv_builtin.h: Likewise.
26028 * iconv/iconv_prog.c: Remove CHAR16 handling.
26029
26030 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26031
26032 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26033
a0da5fe1
UD
26034 * configure.in: Remove --with-elf and --enable-bounded options.
26035 Dont set base_machine for ia64. More non-ELF conditions removed.
26036 Remove testing and setting of leading underscore information.
26037 * config.make.in (build-bounded): Set to no.
26038 * config.h.in: Remove NO_UNDERSCORES entry.
26039 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26040 them.
26041 * csu/start.c: Remove !NO_UNDERSCORE code.
26042 * locale/localeinfo.h: Likewise.
26043 * sysdeps/generic/machine-gmon.h: Likewise.
26044 * sysdeps/generic/sysdep.h: Likewise.
26045 * sysdeps/i386/sysdep.h: Likewise.
26046 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26047 * sysdeps/mach/sysdep.h: Likewise.
26048 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26049 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26050 * sysdeps/sh/sysdep.h: Likewise.
26051 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26052 * sysdeps/unix/i386/sysdep.S: Likewise.
26053 * sysdeps/unix/sparc/start.c: Likewise.
26054 * sysdeps/unix/sparc/sysdep.S: Likewise.
26055 * sysdeps/unix/sparc/sysdep.h: Likewise.
26056 * sysdeps/unix/start.c: Likewise.
26057 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26058 * sysdeps/x86_64/sysdep.h: Likewise.
26059
df78418a
UD
260602012-01-07 Ulrich Drepper <drepper@gmail.com>
26061
a784e502
UD
26062 [BZ #13553]
26063 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26064 for non-gcc.
26065 * argp/argp-fmtstream.h: Use const instead __const.
26066 * argp/argp.h: Likewise.
26067 * assert/assert.h: Likewise.
26068 * bits/fenv.h: Likewise.
26069 * bits/sched.h: Likewise.
26070 * bits/sigset.h: Likewise.
26071 * bits/sigthread.h: Likewise.
26072 * catgets/nl_types.h: Likewise.
26073 * conform/data/pthread.h-data: Likewise.
26074 * crypt/crypt-private.h: Likewise.
26075 * crypt/crypt.h: Likewise.
26076 * crypt/crypt_util.c: Likewise.
26077 * ctype/ctype.h: Likewise.
26078 * debug/execinfo.h: Likewise.
26079 * debug/mbsnrtowcs_chk.c: Likewise.
26080 * debug/mbsrtowcs_chk.c: Likewise.
26081 * debug/wcsnrtombs_chk.c: Likewise.
26082 * debug/wcsrtombs_chk.c: Likewise.
26083 * debug/wcstombs_chk.c: Likewise.
26084 * dirent/dirent.h: Likewise.
26085 * dlfcn/dlfcn.h: Likewise.
26086 * elf/neededtest4.c: Likewise.
26087 * grp/grp.h: Likewise.
26088 * gshadow/gshadow.h: Likewise.
26089 * iconv/gconv.h: Likewise.
26090 * iconv/gconv_int.h: Likewise.
26091 * iconv/gconv_simple.c: Likewise.
26092 * iconv/iconv.h: Likewise.
26093 * iconv/loop.c: Likewise.
26094 * iconv/skeleton.c: Likewise.
26095 * include/aio.h: Likewise.
26096 * include/aliases.h: Likewise.
26097 * include/argz.h: Likewise.
26098 * include/arpa/inet.h: Likewise.
26099 * include/assert.h: Likewise.
26100 * include/dirent.h: Likewise.
26101 * include/dlfcn.h: Likewise.
26102 * include/execinfo.h: Likewise.
26103 * include/fcntl.h: Likewise.
26104 * include/fenv.h: Likewise.
26105 * include/glob.h: Likewise.
26106 * include/grp.h: Likewise.
26107 * include/libintl.h: Likewise.
26108 * include/mntent.h: Likewise.
26109 * include/netdb.h: Likewise.
26110 * include/pwd.h: Likewise.
26111 * include/rpc/netdb.h: Likewise.
26112 * include/sched.h: Likewise.
26113 * include/search.h: Likewise.
26114 * include/shadow.h: Likewise.
26115 * include/signal.h: Likewise.
26116 * include/stdio.h: Likewise.
26117 * include/stdlib.h: Likewise.
26118 * include/string.h: Likewise.
26119 * include/sys/socket.h: Likewise.
26120 * include/sys/stat.h: Likewise.
26121 * include/sys/statfs.h: Likewise.
26122 * include/sys/statvfs.h: Likewise.
26123 * include/sys/syslog.h: Likewise.
26124 * include/sys/time.h: Likewise.
26125 * include/sys/uio.h: Likewise.
26126 * include/time.h: Likewise.
26127 * include/unistd.h: Likewise.
26128 * include/utmp.h: Likewise.
26129 * include/wchar.h: Likewise.
26130 * include/wctype.h: Likewise.
26131 * inet/aliases.h: Likewise.
26132 * inet/arpa/inet.h: Likewise.
26133 * inet/netinet/ether.h: Likewise.
26134 * inet/netinet/in.h: Likewise.
26135 * intl/libintl.h: Likewise.
26136 * io/bits/fcntl2.h: Likewise.
26137 * io/fcntl.h: Likewise.
26138 * io/ftw.h: Likewise.
26139 * io/sys/poll.h: Likewise.
26140 * io/sys/stat.h: Likewise.
26141 * io/sys/statfs.h: Likewise.
26142 * io/sys/statvfs.h: Likewise.
26143 * io/utime.h: Likewise.
26144 * libio/bits/stdio.h: Likewise.
26145 * libio/bits/stdio2.h: Likewise.
26146 * libio/libio.h: Likewise.
26147 * libio/libioP.h: Likewise.
26148 * libio/stdio.h: Likewise.
26149 * locale/lc-ctype.c: Likewise.
26150 * locale/locale.h: Likewise.
26151 * login/utmp.h: Likewise.
26152 * malloc/arena.c: Likewise.
26153 * malloc/malloc.c: Likewise.
26154 * malloc/malloc.h: Likewise.
26155 * malloc/mcheck.c: Likewise.
26156 * malloc/mtrace.c: Likewise.
26157 * math/bits/mathcalls.h: Likewise.
26158 * math/fenv.h: Likewise.
26159 * math/math_private.h: Likewise.
26160 * misc/bits/error.h: Likewise.
26161 * misc/bits/syslog.h: Likewise.
26162 * misc/err.h: Likewise.
26163 * misc/error.h: Likewise.
26164 * misc/fstab.h: Likewise.
26165 * misc/mntent.h: Likewise.
26166 * misc/regexp.h: Likewise.
26167 * misc/search.h: Likewise.
26168 * misc/sgtty.h: Likewise.
26169 * misc/sys/mman.h: Likewise.
26170 * misc/sys/syslog.h: Likewise.
26171 * misc/sys/uio.h: Likewise.
26172 * misc/sys/xattr.h: Likewise.
26173 * misc/ttyent.h: Likewise.
26174 * nis/rpcsvc/ypclnt.h: Likewise.
26175 * nss/nss.h: Likewise.
26176 * posix/bits/unistd.h: Likewise.
26177 * posix/fnmatch.h: Likewise.
26178 * posix/glob.h: Likewise.
26179 * posix/sched.h: Likewise.
26180 * posix/spawn.h: Likewise.
26181 * posix/sys/wait.h: Likewise.
26182 * posix/unistd.h: Likewise.
26183 * posix/wordexp.h: Likewise.
26184 * pwd/pwd.h: Likewise.
26185 * resolv/netdb.h: Likewise.
26186 * resource/sys/resource.h: Likewise.
26187 * rt/aio.h: Likewise.
26188 * rt/bits/mqueue2.h: Likewise.
26189 * rt/mqueue.h: Likewise.
26190 * shadow/shadow.h: Likewise.
26191 * signal/signal.h: Likewise.
26192 * socket/send.c: Likewise.
26193 * socket/sendto.c: Likewise.
26194 * socket/sys/socket.h: Likewise.
26195 * stdio-common/printf.h: Likewise.
26196 * stdlib/bits/stdlib.h: Likewise.
26197 * stdlib/fmtmsg.h: Likewise.
26198 * stdlib/monetary.h: Likewise.
26199 * stdlib/stdlib.h: Likewise.
26200 * stdlib/ucontext.h: Likewise.
26201 * streams/stropts.h: Likewise.
26202 * string/argz.h: Likewise.
26203 * string/bits/string2.h: Likewise.
26204 * string/string.h: Likewise.
26205 * string/strings.h: Likewise.
26206 * sunrpc/rpc/auth.h: Likewise.
26207 * sunrpc/rpc/auth_des.h: Likewise.
26208 * sunrpc/rpc/clnt.h: Likewise.
26209 * sunrpc/rpc/netdb.h: Likewise.
26210 * sunrpc/rpc/pmap_clnt.h: Likewise.
26211 * sunrpc/rpc/xdr.h: Likewise.
26212 * sysdeps/generic/inttypes.h: Likewise.
26213 * sysdeps/generic/net/if.h: Likewise.
26214 * sysdeps/generic/sys/swap.h: Likewise.
26215 * sysdeps/gnu/net/if.h: Likewise.
26216 * sysdeps/gnu/utmpx.h: Likewise.
26217 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26218 * sysdeps/i386/i486/bits/string.h: Likewise.
26219 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26220 * sysdeps/s390/bits/string.h: Likewise.
26221 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26222 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26223 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26224 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26225 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26226 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26227 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26228 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26229 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26230 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26231 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26232 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26233 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26234 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26235 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26236 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26237 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26238 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26239 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26240 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26241 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26242 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26243 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26244 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26245 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26246 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26247 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26248 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26249 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26250 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26251 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26252 * sysvipc/sys/ipc.h: Likewise.
26253 * sysvipc/sys/msg.h: Likewise.
26254 * sysvipc/sys/sem.h: Likewise.
26255 * sysvipc/sys/shm.h: Likewise.
26256 * termios/termios.h: Likewise.
26257 * time/sys/time.h: Likewise.
26258 * time/time.h: Likewise.
26259 * wcsmbs/bits/wchar2.h: Likewise.
26260 * wcsmbs/uchar.h: Likewise.
26261 * wcsmbs/wchar.h: Likewise.
26262 * wctype/wctype.h: Likewise.
26263
0269750c
UD
26264 [BZ #13551]
26265 * Makeconfig: Remove all but ELF support including AIX support.
26266 * Makerules: Likewise.
26267 * config.h.in: Likewise.
26268 * config.make.in: Likewise.
26269 * configure: Likewise.
26270 * configure.in: Likewise.
26271 * csu/Makefile: Likewise.
26272 * csu/version.c: Likewise.
26273 * debug/Makefile: Likewise.
26274 * dlfcn/Makefile: Likewise.
26275 * elf/Makefile: Likewise.
26276 * extra-lib.mk: Likewise.
26277 * iconv/Makefile: Likewise.
26278 * include/libc-symbols.h: Likewise.
26279 * include/shlib-compat.h: Likewise.
26280 * resolv/Makefile: Likewise.
26281 * resolv/res_libc.c: Likewise.
26282 * rt/Makefile: Likewise.
26283 * sysdeps/i386/asm-syntax.h: Likewise.
26284 * sysdeps/i386/sysdep.h: Likewise.
26285 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26286 * sysdeps/mach/sysdep.h: Likewise.
26287 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26288 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26289 * sysdeps/s390/asm-syntax.h: Likewise.
26290 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26291 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26292 * sysdeps/sh/sysdep.h: Likewise.
26293 * sysdeps/unix/sparc/sysdep.h: Likewise.
26294 * sysdeps/wordsize-32/divdi3.c: Likewise.
26295 * sysdeps/x86_64/sysdep.h: Likewise.
26296
00bbd29b
UD
26297 * argp/Versions: Remove _argp_unlock_xxx.
26298
26299 [BZ #13559]
26300 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26301 * abilist/libBrokenLocale.abilist: Likewise.
26302 * abilist/libanl.abilist: Likewise.
26303 * abilist/libc.abilist: Likewise.
26304 * abilist/libcrypt.abilist: Likewise.
26305 * abilist/libdl.abilist: Likewise.
26306 * abilist/libm.abilist: Likewise.
26307 * abilist/libnsl.abilist: Likewise.
26308 * abilist/libpthread.abilist: Likewise.
26309 * abilist/libresolv.abilist: Likewise.
26310 * abilist/librt.abilist: Likewise.
26311 * abilist/libthread_db.abilist: Likewise.
26312 * abilist/libutil.abilist: Likewise.
26313 * abilist/libnss_db.abilist: New file.
26314
26315 * scripts/abilist.awk: Add support for indirect functions.
26316
a2693a0e
UD
26317 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26318
3f05895f
UD
26319 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26320
ecb6fb48
UD
26321 * shlib-versions: Remove entries for ports architectures.
26322
664f8cb9
UD
26323 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26324 files in ports.
26325 * elf/stackguard-macros.h: Remove support for IA-64.
26326 * elf/tst-auditmod1.c: Likewise.
26327 * sysdeps/generic/ldsodefs.h: Likewise.
26328
7ae81d88
UD
26329 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26330 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26331 configure files.
26332
bdeba135
UD
26333 [BZ #13552]
26334 * configure.in: Remove --enable-omitfp support.
26335 * FAQ.in: Adjust.
26336 * config.make.in: Likewise.
26337 * Makeconfig: Likewise.
26338 * manual/install.texi: Likewise.
26339
d75a0a62
UD
26340 In case anyone cares, the IA-64 architecture could move to ports.
26341 * sysdeps/ia64/*: Removed.
26342 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26343 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26344
dcc9756b
UD
26345 [BZ #13555]
26346 * configure.in: Remove entries for unsupported architectures.
26347
d3761ebc 26348 [BZ #13533]
9954432e
UD
26349 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26350 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26351 routines.
26352 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26353 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26354 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26355 fall back to using wcrtomb.
26356 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26357 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26358 renaming.
26359 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26360 * wcsmbs/tst-c16c32-1.c: New file.
26361
26362 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26363 local variable.
26364
c3a87236
UD
26365 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26366
28926a1b
UD
26367 * elf/tst-unique3.cc: Add explicit declaration of gets.
26368 * elf/tst-unique3lib.cc: Likewise.
26369 * elf/tst-unique3lib2.cc: Likewise.
26370 * elf/tst-unique4.cc: Likewise.
26371
df78418a
UD
26372 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26373
8ecd6b2a
JM
263742012-01-06 Joseph Myers <joseph@codesourcery.com>
26375
26376 [BZ #13566]
26377 * assert/assert.h (static_assert): Don't define for C++.
26378 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26379 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26380
9f115170
UD
263812012-01-03 Ulrich Drepper <drepper@gmail.com>
26382
5e0d0300
UD
26383 * iconv/loop.c (single loop): Fix assertion in storing of
26384 remaining bytes.
26385
9f115170
UD
26386 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26387
81fb02b0
UD
263882012-01-01 Ulrich Drepper <drepper@gmail.com>
26389
26390 * posix/getconf.c: Update copyright year.
26391 * nss/getent.c: Likewise.
a316c1f6 26392 * nss/makedb.c: Likewise.
81fb02b0
UD
26393 * iconv/iconvconfig.c: Likewise.
26394 * iconv/iconv_prog.c: Likewise.
26395 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26396 * elf/pldd.c: Likewise.
26397 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26398 * catgets/gencat.c: Likewise.
26399 * csu/version.c: Likewise.
26400 * elf/ldd.bash.in: Likewise.
26401 * elf/sprof.c (print_version): Likewise.
26402 * locale/programs/locale.c: Likewise.
26403 * locale/programs/localedef.c: Likewise.
a316c1f6 26404 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26405 * nscd/nscd.c (print_version): Likewise.
26406 * debug/xtrace.sh: Likewise.
26407 * malloc/memusage.sh: Likewise.
26408 * malloc/mtrace.pl: Likewise.
26409 * debug/catchsegv.sh: Likewise.
26410
2ba92745
JJ
264112011-12-30 Jakub Jelinek <jakub@redhat.com>
26412
26413 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26414 pure attribute.
26415
dadebdae
UD
264162011-12-24 Ulrich Drepper <drepper@gmail.com>
26417
d3761ebc 26418 [BZ #13533]
db6af3eb
UD
26419 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26420 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26421 transformations.
26422 * iconv/gconv_int.h: Likewise.
26423 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26424 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26425 from libc for GLIBC_2.16.
26426 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26427 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26428 * wcsmbs/uchar.h: Really define mbstate_t.
26429 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26430 * wcsmbs/c16rtomb.c: New file.
26431 * wcsmbs/mbrtoc16.c: New file.
26432 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26433 for C/POSIX locale.
26434 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26435 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26436
dadebdae
UD
26437 * wcsmbs/wchar.h: Add missing __restrict.
26438
67371b56
UD
264392011-12-23 Ulrich Drepper <drepper@gmail.com>
26440
74033a25
UD
26441 [BZ #13532]
26442 * time/Makefile (routines): Add timespec_get.
26443 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26444 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26445 timespec for ISO C11.
26446 * time/timespec_get.c: New file.
26447 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26448 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26449
380d7e87
UD
26450 [BZ #13531]
26451 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26452 * stdlib/stdlib.h: Declare aligned_alloc.
26453 * Versions.def: Add GLIBC_2.16 for libc.
26454 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26455
4e9e7a35
UD
26456 [BZ 13527]
26457 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26458 ISO C11.
26459
380d7e87 26460 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26461 code.
26462
03a71829
UD
26463 [BZ #13528]
26464 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26465
839e283e
UD
26466 [BZ #13529]
26467 * assert/assert.h (static_assert): Define.
26468
ce5294e2 26469 * version.h: Update for 2.16 development version.
90fa7312 26470
8d44e150 26471 [BZ #13526]
d7809905
UD
26472 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26473 _ISOC11_SOURCE.
26474
c0da14cd
UD
26475 * version.h (RELEASE): Bump for 2.15 release.
26476 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26477
530a3249
MP
26478 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26479 Patch by Marek Polacek <mpolacek@redhat.com>.
26480
67371b56
UD
26481 * bits/byteswap.h: Protect long long constants with __extension__.
26482 * sysdeps/i386/bits/byteswap.h: Likewise.
26483 * sysdeps/ia64/bits/byteswap.h: Likewise.
26484 * sysdeps/s390/bits/byteswap.h: Likewise.
26485 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26486
15db4de1
LD
264872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26488
26489 [BZ #13540]
bbe315ea
LD
26490 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26491 destination buffer.
15db4de1
LD
26492 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26493
2b2596b1
MP
264942011-12-23 Marek Polacek <polacek@redhat.com>
26495
26496 * elf/dl-addr.c (determine_info): Add inline keyword.
26497 * elf/tst-auditmod4b.c (check_avx): Likewise.
26498 * elf/tst-auditmod6b.c (check_avx): Likewise.
26499 * elf/tst-auditmod6c.c (check_avx): Likewise.
26500 * elf/tst-auditmod7b.c (check_avx): Likewise.
26501
70c6c246
UD
265022011-12-23 Ulrich Drepper <drepper@gmail.com>
26503
26504 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26505 !__SSE_MATH__.
26506
c044cf14
LD
265072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26508
15db4de1 26509 [BZ #13540]
c044cf14
LD
26510 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26511 processing for last bytes.
26512
6b13d9d9
BH
265132011-08-06 Bruno Haible <bruno@clisp.org>
26514
d455f537
BH
26515 [BZ #13061]
26516 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26517 U+0385, not to U+1FEE.
26518
6b13d9d9
BH
26519 [BZ #13062]
26520 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26521 entry for U+00A5 U+0301.
26522
db910efd
UD
265232011-12-22 Ulrich Drepper <drepper@gmail.com>
26524
27deeafc
UD
26525 [BZ #13166]
26526 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26527 buffer for the output is too small.
26528
aed9d171
UD
26529 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26530 optimization.
26531
db910efd
UD
26532 [BZ #13185]
26533 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26534 SSE flags if possible.
26535
2bd779ae
LD
265362011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26537
e7f9dac3 26538 [BZ #13540]
2bd779ae
LD
26539 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26540 processing for last bytes.
26541
154bfc16
JM
265422011-12-22 Joseph Myers <joseph@codesourcery.com>
26543
26544 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26545 (syscall-list-default-options, syscall-list-default-condition)
26546 (syscall-list-includes): Define.
26547 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26548 list of ABIs and options and #if conditions for each ABI. Do not
26549 handle common syscalls between ABIs specially.
26550 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26551 Remove.
26552 (syscall-list-variants, syscall-list-32bit-options)
26553 (syscall-list-32bit-condition, syscall-list-64bit-options)
26554 (syscall-list-64bit-condition): Define.
26555 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26556 (syscall-list-variants, syscall-list-32bit-options)
26557 (syscall-list-32bit-condition, syscall-list-64bit-options)
26558 (syscall-list-64bit-condition): Define.
26559 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26560 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/x86_64/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
21eaf3a5
UD
265702011-12-22 Ulrich Drepper <drepper@gmail.com>
26571
16c6f992
UD
26572 * locale/iso-639.def: Add brx entry.
26573
41043168
UD
26574 [BZ #13328]
26575 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26576 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26577
21eaf3a5
UD
26578 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26579 __feraiseexcept_renamed.
26580
e3a851a2
UD
265812011-12-21 Ulrich Drepper <drepper@gmail.com>
26582
4920765e
UD
26583 [BZ #13538]
26584 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26585 EPOLLET with unsigned values.
26586 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26587 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26588
e3a851a2
UD
26589 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26590 to large cancellation.
26591 * math/s_cacoshf.c: Likewise.
26592 * math/s_cacoshl.c: Likewise.
26593
b27e24b8
RK
265942011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26595
26596 [BZ #13305]
aebefeee 26597 [BZ #12786]
b27e24b8
RK
26598 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26599 * math/s_cacoshf.c: Likewise.
26600 * math/s_cacoshl.c: Likewise.
26601
ee190f67
UD
266022011-12-21 Ulrich Drepper <drepper@gmail.com>
26603
26604 [BZ #13439]
26605 * iconv/gconv.h: Define __GCONV_SWAP.
26606 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26607 * iconvdata/utf-16.c: Likewise.
26608 * iconvdata/utf-32.c: Likewise.
26609
707f25df
AS
266102011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26611
26612 [BZ #13524]
26613 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26614 numerator after shifting it by one limb.
26615
d2daaa1e
RÁE
266162011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26617
26618 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26619 under [__USE_EXTERN_INLINES].
26620
a4647e72
UD
266212011-12-17 Ulrich Drepper <drepper@gmail.com>
26622
26623 [BZ #13446]
26624 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26625
f0b264f1
AZ
266262011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26627
26628 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26629 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26630 optimized code.
26631 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26632 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26633 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26634 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26635 for strncasecmp/strncasecmp_l compilation.
26636 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26637 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26638
8ef4f244
MP
266392011-12-08 Marek Polacek <mpolacek@redhat.com>
26640
26641 [BZ #13484]
26642 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26643 of __asm__.
26644
97ac2654
UD
266452011-12-17 Ulrich Drepper <drepper@gmail.com>
26646
26647 [BZ #13506]
26648 * time/tzfile.c (__tzfile_read): Check values from file header.
26649
91d2a845
WS
266502011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26651
26652 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26653 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26654 * powerpc/powerpc32/dl-start.S: Likewise.
26655 * powerpc/powerpc32/elf/start.S: Likewise.
26656 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26657 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26658 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26659 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26660 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26661 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26662 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26663 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26664 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26665 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26666 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26667 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26668 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26669 * powerpc/powerpc32/memset.S: Likewise.
26670 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26671 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26672 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26673 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26674 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26675 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26676 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26677 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26678 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26679 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26680 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26681 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26682 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26683
a1267ba1
AZ
266842011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26685
26686 * math/libm-test.inc: Added more nearbyint tests.
26687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26688 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26690 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26691
ad8ac1bd
RL
266922011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26693
26694 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26695 FD_CLOEXEC.
26696
1d3e4b61
UD
266972011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26698
26699 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26700 Add wcscpy-ssse3 wcscpy-c.
26701 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26702 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26703 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26704 * sysdeps/x86_64/wcschr.S: New file.
26705 * sysdeps/x86_64/wcsrchr.S: New file.
26706 * string/test-strcmp.c: Remove checking of wcscmp function for
26707 wrong alignments.
26708 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26709 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26710 wcsrchr-sse2 wcsrchr-c.
26711 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26712 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26713 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26714 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26715 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26716 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26717 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26718 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26719 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26720 * wcsmbc/wcschr.c (WCSCHR): New macro.
26721
5b330a2d
UD
267222011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26723
26724 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26725 * wcsmbs/test-wcsrchr.c: New file.
26726 * string/test-strrchr.c: Add wcsrchr support.
26727 (WIDE): New macro.
26728 * wcsmbs/test-wcscpy.c: New file.
26729 * string/test-strcpy.c: Add wcscpy support.
26730 (WIDE): New macro.
26428b7c 26731
f039c043
UD
267322011-12-10 Ulrich Drepper <drepper@gmail.com>
26733
26734 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26735 the inner loop.
26736
850fb039
AS
267372011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26738
26739 [BZ #13472]
26740 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26741
4efbd5cb
UD
267422011-12-04 Ulrich Drepper <drepper@gmail.com>
26743
52ff5dd0 26744 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26745 Minor optimizations.
52ff5dd0 26746
4efbd5cb
UD
26747 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26748 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26749 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26750
8a426e12
UD
267512011-12-03 Ulrich Drepper <drepper@gmail.com>
26752
aff2453d
UD
26753 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26754 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26755 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26756 for gcc to avoid warnings.
26757 * inet/Makefile (tests): Add tst-checks.
26758 * inet/tst-checks.c: New file.
26759
26760 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26761 warning.
26762
26763 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26764 __wmemcmp_sse2.
26765
26766 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26767 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26768
8a426e12
UD
26769 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26770
9bea3473
UD
267712011-12-02 Ulrich Drepper <drepper@gmail.com>
26772
3a965496
UD
26773 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26774 problem.
26775
9bea3473
UD
26776 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26777
f101631b
UD
267782011-11-29 Joseph Myers <joseph@codesourcery.com>
26779
26780 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26781 conditional on GCC version.
26782 (__arch_compare_and_exchange_val_8_acq)
26783 (__arch_compare_and_exchange_val_16_acq)
26784 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26785 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26786 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26787
a98275aa
UD
267882011-12-02 Joseph Myers <joseph@codesourcery.com>
26789
26790 * sysdeps/sh/backtrace.c: New file.
26791
d4cc29a2
AS
267922011-12-02 Andreas Schwab <schwab@redhat.com>
26793
26794 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26795 parenthesis.
26796
6257af2d
AS
267972011-12-01 Andreas Schwab <schwab@redhat.com>
26798
26799 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26800 falling back to utime.
26801
b5f44c1a
AS
268022011-11-30 Andreas Schwab <schwab@redhat.com>
26803
26804 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26805 expectations for float.
26806
f3a6cc0a
AS
268072011-11-29 Andreas Schwab <schwab@redhat.com>
26808
26809 * locale/weight.h (findidx): Add parameter len.
26810 * locale/weightwc.h (findidx): Likewise.
26811 * posix/fnmatch_loop.c (FCT): Adjust caller.
26812 * posix/regcomp.c (build_equiv_class): Likewise.
26813 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26814 * posix/regexec.c (check_node_accept_bytes): Likewise.
26815 * string/strcoll_l.c (STRCOLL): Likewise.
26816 * string/strxfrm_l.c (STRXFRM): Likewise.
26817
9d65ea3a
UD
268182011-11-17 Ulrich Drepper <drepper@gmail.com>
26819
26820 * Makefile.in: Remove CVSOPT handling.
26821 * configure.in: Remove use of AC_REVISION.
26822 * iconvdata/Makefile (distribute): No need to filter out CVS.
26823 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26824 handling.
26825
5583a086
AS
268262011-11-16 Andreas Schwab <schwab@redhat.com>
26827
26828 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26829 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26830 [USE_AS_STRNCASECMP_L]: Likewise.
26831 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26832 NO_TLS_DIRECT_SEG_REFS.
26833 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26834 Fix argument offsets for non-PIC.
26835 [USE_AS_STRNCASECMP_L]: Likewise.
26836 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26837 NO_TLS_DIRECT_SEG_REFS.
26838
d62a8200
UD
268392011-11-15 Ulrich Drepper <drepper@gmail.com>
26840
9d65ea3a 26841 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26842 O_CLOEXEC.
26843 * locale/loadlocale.c (_nl_load_locale): Likewise.
26844
09f93bd3
AS
268452011-11-15 Andreas Schwab <schwab@redhat.com>
26846
446514f9
AS
26847 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26848 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26849 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26850 (SYSCALL_GETTIME): Set errno on error.
26851
09f93bd3
AS
26852 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26853 count references to noai6ai_cached.
26854
312be3f9
UD
268552011-11-15 Ulrich Drepper <drepper@gmail.com>
26856
26857 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26858
26859 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26860 FD_CLOEXEC for /proc/self/maps.
26861
26862 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26863 FD_CLOEXEC for /proc/meminfo.
26864
26865 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26866 gai.conf.
26867
26868 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26869 FD_CLOEXEC for given file.
26870
26871 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26872
26873 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26874 FD_CLOEXEC for /etc/hosts.
26875 (_gethtent): Likewise.
26876
26877 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26878
26879 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26880 cancellation and set FD_CLOEXEC for /etc/netgroup.
26881
26882 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26883 reading /etc/publickey.
26884
26885 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26886 allow cancellation when reading /etc/group.
26887
26888 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26889 cancellation.
26890 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26891
26892 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26893 when using data file.
26894
26895 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26896
26897 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26898 (write_nis_obj): Use "c" and "e" in fopen.
26899
26900 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26901
26902 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26903
26904 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26905
26906 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26907
26908 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26909 locale.alias.
26910
26911 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26912
26913 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26914
26915 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26916
26917 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26918 file parsing and set FD_CLOEXEC.
26919
82af0fa8
UD
269202011-11-14 Ulrich Drepper <drepper@gmail.com>
26921
26922 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26923
a5fb313c
AS
269242011-11-14 Andreas Schwab <schwab@redhat.com>
26925
26926 * malloc/arena.c (arena_get2): Don't call reused_arena when
26927 _int_new_arena failed.
26928
6abf3465
UD
269292011-11-14 Ulrich Drepper <drepper@gmail.com>
26930
26931 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26932 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26933 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26934 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26935 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26936 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26937 to compile strcasecmp and strncasecmp.
26938 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26939 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26940
26941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26942
76e3966e
UD
269432011-11-13 Ulrich Drepper <drepper@gmail.com>
26944
26945 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26946 locale-defines.sym to gen-as-const-headers.
26947 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26948 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26949 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26950 to compile strcasecmp and strncasecmp.
26951 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26952 strcasecmp_l and strncasecmp_l.
26953 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26954 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26955 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26956 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26957 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26958 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26959 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26960 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26961 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26962 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26963 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26964
ab26144e
UD
269652011-11-12 Ulrich Drepper <drepper@gmail.com>
26966
7edb22ef
UD
26967 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26968 result of SYSDEP_GETTIME_CPU to retval.
26969 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26970 parameter list to macro. Remove trailing semicolon. Adjust users.
26971
9694fc44
UD
26972 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26973 variable.
26974
8ad89ef8
UD
26975 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26976 mantissa words.
26977 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26978
0c822ef9
UD
26979 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26980 from unused variable.
26981
874e0564
UD
26982 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26983 DWARF definitions.
26984 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26985 for assembling.
26986
3a2edc79
UD
26987 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26988 over namespaces.
26989
f3c2577f
UD
26990 * sunrpc/rpc_prot.c (rejected): Fix case value.
26991
294ce126
UD
26992 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26993 unsigned long long int to avoid warnings in shift.
26994
5e2b63c6
UD
26995 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26996 of use of trans.
26997 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26998 variable tmp.
26999
e7f4b08e
UD
27000 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27001 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27002 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27003
ab26144e
UD
27004 * nis/nis_table.c (nis_list): Use variable of correct type for
27005 result of __follow_path call.
27006
8a6d5255
AZ
270072011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27008
27009 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27010 of math functions ceil, trunc, floor, round, and sqrt, when
27011 avaliable on the platform.
27012 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27013 name clash.
27014 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27015 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27016 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27017
aaddc98c
MP
270182011-10-30 Marek Polacek <mpolacek@redhat.com>
27019
27020 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27021 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27022
95b7042b
RM
270232011-11-11 Roland McGrath <roland@hack.frob.com>
27024
27025 * include/unistd.h: Fix __readlink return type.
27026 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27027
57769839
UD
270282011-11-11 Ulrich Drepper <drepper@gmail.com>
27029
27030 * stdlib/ucontext.h: Undo last change for makecontext.
27031
edc5984d
AS
270322011-11-11 Andreas Schwab <schwab@redhat.com>
27033
98591e58
AS
27034 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27035
edc5984d
AS
27036 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27037 * setjmp/setjmp.h: Mark functions as non-leaf.
27038 * setjmp/bits/setjmp2.h: Likewise.
27039 * stdlib/ucontext.h: Likewise.
27040
77cdc054
AS
270412011-11-10 Andreas Schwab <schwab@redhat.com>
27042
27043 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27044 (reused_arena): Don't check arena limit.
27045 (arena_get2): Atomically check arena limit.
27046
fe72eebd
UD
270472011-11-08 Ulrich Drepper <drepper@gmail.com>
27048
5f078c32
UD
27049 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27050 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27051
fe72eebd
UD
27052 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27053 instructions.
27054
ae1bc2fa
AS
270552011-11-07 Andreas Schwab <schwab@redhat.com>
27056
7583a88d
AS
27057 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27058 handler when locking.
27059
ae1bc2fa
AS
27060 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27061 Fix size of allocated buffer.
27062
10fb0bfa
AS
270632011-11-04 Andreas Schwab <schwab@redhat.com>
27064
998832a4
AS
27065 [BZ #10103]
27066 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27067 declarations for long double functions.
27068 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27069
10fb0bfa
AS
27070 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27071
3d7ba52b
AS
270722011-11-03 Andreas Schwab <schwab@redhat.com>
27073
a9ae54a1
AS
27074 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27075 installed.
27076
3d7ba52b
AS
27077 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27078 is disabled.
27079
bc8db248
ST
270802011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27081
27082 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27083
45b96dd6
AS
270842011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27085
647776f6
AS
27086 * include/alloca.h (stackinfo_alloca_round): Define.
27087 (extend_alloca): Use it.
27088 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27089 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27090 here.
27091
d91a8b93
AS
27092 * scripts/check-local-headers.sh: Ignore libaudit.h.
27093
45b96dd6
AS
27094 * nscd/Makefile (extra-objs): Make recursively expanded.
27095
432d41ce
UD
270962011-11-01 Ulrich Drepper <drepper@gmail.com>
27097
34372fc6
UD
27098 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27099 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27100
fadb59f8
UD
27101 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27102 * posix/tst-rfc3484-2.c: Likewise.
27103 * posix/tst-rfc3484-3.c: Likewise.
27104
78239589
UD
27105 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27106 process_vm_writev.
27107 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27108 process_vm_writev.
27109 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27110 process_vm_writev from libc using GLIBC_2.15 version.
27111
432d41ce
UD
27112 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27113
02f9c6cf
PP
271142011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27115
27116 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27117 stack usage.
27118
3a2c0242
UD
271192011-10-31 Ulrich Drepper <drepper@gmail.com>
27120
f4ec4833
UD
27121 [BZ #13367]
27122 * nss/getent.c (initgroups_keys): Show error message in case no group
27123 names are given.
27124
3a2c0242
UD
27125 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27126 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27127 __bump_nl_timestamp.
27128 * nscd/connections (nscd_init): When host database is served open
27129 netlink socket and request notification about configuration changes.
27130 (main_loop_poll): Track netlink file descriptor and bump timestamp
27131 in case data becomes available.
27132 (main_loop_epoll): Likewise.
27133 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27134 (database_pers_head): Add extra_data fileds.
27135 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27136 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27137 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27138 Adjust caller.
27139 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27140 in6ai data, call __free_in6ai.
27141 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27142 Add -DHAVE_NETLINK.
27143 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27144 interface information. Reuse previous data if netlink timestamp
27145 is not changed.
27146 (__bump_nl_timestamp): New function.
27147 (__free_in6ai): New function.
27148
636064eb
UD
271492011-10-30 Ulrich Drepper <drepper@gmail.com>
27150
27151 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27152 close_not_cancel_no_status here.
27153 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27154
9beb2334
UD
271552011-10-29 Ulrich Drepper <drepper@gmail.com>
27156
6ef76f3b
UD
27157 [BZ #13276]
27158 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27159 return value.
27160
0ffc4f3e 27161 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27162 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27163 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27164
cb95113e
UD
271652011-07-03 Andreas Jaeger <aj@suse.de>
27166
27167 [BZ #10709]
27168 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27169 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27170 * math/libm-test.inc (sin_test): Add test case.
27171
a1b560ff
UD
271722011-10-29 Ulrich Drepper <drepper@gmail.com>
27173
c9aaface
UD
27174 [BZ #13337]
27175 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27176 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27177
d272e7f1
UD
27178 * elf/chroot_canon.c (chroot_canon): Cleanups.
27179
1bc33071
UD
27180 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27181
1760874d
TJ
27182 [BZ #13335]
27183 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27184 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27185
51d91b18
UD
27186 * string/test-strchr.c: Make usable for strchrnul testing.
27187 * string/test-strchrnul.c: New file.
27188 * string/Makefile (strop-tests): Add strchrnul.
27189
a1b560ff 27190 * po/it.po: Update from translation team.
b611fb81 27191 * po/es.po: Likewise.
a1b560ff 27192
a5b81e1f
UD
271932011-10-28 Ulrich Drepper <drepper@gmail.com>
27194
fd52bc6d
UD
27195 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27196 the three constants needed as parameters. Drop the others.
27197 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27198 __m128i_strloadu_tolower.
52e4b9eb
UD
27199 Create and initialize variable zero and use it in all the places
27200 where _mm_setzero_si128 was used.
fd52bc6d 27201
a5b81e1f
UD
27202 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27203 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27204 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27205 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27206 anymore.
27207 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27208 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27209 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27210 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27211 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27212 __mpranred, __mptan.
27213 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27214 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27215 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27216 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27217 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27218 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27219 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27220 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27221 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27222
b4343346
AS
272232011-10-28 Andreas Schwab <schwab@redhat.com>
27224
0c92d8a8
AS
27225 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27226 redefine if SHARED.
27227 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27228
b4343346
AS
27229 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27230 wide char related routines to wcsmbs subdir.
27231
3871f58f
AS
272322011-10-27 Andreas Schwab <schwab@redhat.com>
27233
27234 [BZ #13344]
27235 * misc/sys/cdefs.h (__THROWNL): Define.
27236 * posix/unistd.h: Use __THREADNL instead of __THREAD
27237 for memory synchronization functions.
27238
94d44d9f
RM
272392011-10-26 Roland McGrath <roland@hack.frob.com>
27240
21b64b15 27241 [BZ #13349]
94d44d9f
RM
27242 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27243 doesn't exist.
27244 * manual/stdio.texi (Obstack Streams): Node removed.
27245
f6ce9294
AS
272462011-10-26 Andreas Schwab <schwab@redhat.com>
27247
80479147
AS
27248 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27249 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27250 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27251
f6ce9294
AS
27252 * math/math_private.h (math_force_eval): Allow non-addressable
27253 arguments.
27254 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27255
618280a1
UD
272562011-10-25 Ulrich Drepper <drepper@gmail.com>
27257
e0016b11
UD
27258 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27259 file is not needed.
27260
27261 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27262 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27263 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27264 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27265 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27266 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27267 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27268 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27269 Add AVX variants.
27270 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27271 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27272 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27273 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27274 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27275 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27276 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27277 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27278 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27279 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27280 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27281 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27282 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27283 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27284 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27285 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27286 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27287 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27288 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27289
27290 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27291 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27292
618280a1
UD
27293 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27294 place. Use VEX encoding when compiling for AVX.
27295
37822576
AS
272962011-10-25 Andreas Schwab <schwab@redhat.com>
27297
1f1e1947
AS
27298 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27299 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27300
37822576
AS
27301 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27302
31ea014d
UD
273032011-10-25 Ulrich Drepper <drepper@gmail.com>
27304
d7826aa1 27305 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27306 useless if() expression.
d7826aa1
UD
27307 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27308 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27309 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27310 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27311 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27312 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27313 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27314 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27315 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27316 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27317 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27318 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27319 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27320 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27321 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27322 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27323 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27324 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27325 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27326
31ea014d
UD
27327 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27328
16437fec
AS
273292011-10-25 Andreas Schwab <schwab@redhat.com>
27330
27331 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27332 condition.
27333 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27334
31d3cc00
UD
273352011-10-25 Ulrich Drepper <drepper@gmail.com>
27336
27337 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27338 .text section. Avoid duplicate constants.
27339 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27341 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27343 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27344 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27347 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27348 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27349 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27350 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27351 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27352 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27353 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27354 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27355 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27356 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27357 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27358 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27359 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27360 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27361 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27362 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27363 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27364 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27365 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27366 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27367 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27368 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27369 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27370 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27371 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27372 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27373 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27374 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27375 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27376 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27377 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27378 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27379 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27380 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27381 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27382 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27383 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27384
58985aa9
UD
273852011-10-24 Ulrich Drepper <drepper@gmail.com>
27386
202c9deb
UD
27387 * sysdeps/x86_64/dla.h: Move to ...
27388 * sysdeps/x86_64/fpu/dla.h: ...here.
27389 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27390 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27391
af968f62
UD
27392 * config.make.in: Add have-mfma4 entry.
27393 * configure.in: Substitute libc_cv_cc_fma4.
27394 * math/Makefile (dbl-only-routines): Add sincostab.
27395 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27396 Use __sincostab not sincos.
27397 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27398 name is a macro.
27399 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27403 using __copysign.
27404 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27405 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27406 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27407 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27408 and __inv.
27409 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27410 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27411 __copysign.
27412 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27413 define aliases when function name is a macro.
27414 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27415 sysdeps/ieee754/dbl-64/sincos.tbl.
27416 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27417 fma4-enabled routines.
27418 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27419 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27420 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27421 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27422 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27423 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27425 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27427 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27428 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27429 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27430 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27431 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27432 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27433 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27434 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27435 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27436 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27437 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27438 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27439 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27441 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27443 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27444 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27445 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27446 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27447 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27448
58985aa9
UD
27449 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27450 rename.
27451 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27457 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27458 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27459
a201fbcf
AS
274602011-10-24 Andreas Schwab <schwab@redhat.com>
27461
27462 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27463
fc2ee42a
LD
274642011-10-23 Ulrich Drepper <drepper@gmail.com>
27465
bb3129bd
UD
27466 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27467
0275fff8
UD
27468 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27469 prediction.
27470 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27471
2fa2ae85
UD
27472 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27473 Remove unused variable magic_bits.
27474 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27475
fc2ee42a
LD
27476 * string/strnlen.c: Define and use STRNLEN macro.
27477 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27478 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27479 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27480 * wcsmbs/wcslen.c: Define and use WCSLEN.
27481 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27482 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27483 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27484 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27485 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27486 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27487 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27488
ce7dd29f
LD
274892011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27490
27491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27492 strnlen-sse2-no-bsf.
27493 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27494 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27495 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27496 Add strnlen support.
27497 (USE_AS_STRNLEN): New macro.
27498 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27499 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27500 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27501 * sysdeps/x86_64/wcslen.S: New file.
27502
979c70a3
MZ
275032011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27504
27505 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27506 XMM-moves are used for copying on small sizes.
27507
2d09f82f
LD
275082011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27509
27510 * wcsmbs/Makefile (strop-tests): Add wcschr.
27511 * wcsmbs/test-wcschr.c: New file.
27512 * string/test-strchr.c: Update.
27513 Add wcschr support.
27514 (WIDE): New macro.
27515
619fccca
LD
275162011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27517
2d09f82f 27518 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27519 * wcsmbs/test-wcslen.c: New file.
27520 * string/test-strlen.c: Update.
27521 Add wcslen support.
27522 (WIDE): New macro.
27523
09f699ea
UD
275242011-10-23 Ulrich Drepper <drepper@gmail.com>
27525
27526 * po/it.po: Update from translation team.
27527
95584d3b
LD
275282011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27529
27530 * sysdeps/x86_64/wcscmp.S: Update.
27531 Fix wrong comparison semantics.
27532 wcscmp shall use signed comparison not unsigned.
27533 Don't use substraction to avoid overflow bug.
27534 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27535 * wcsmbc/wcscmp.c: Likewise.
27536 * string/test-strcmp.c: Likewise.
27537 Add new tests to check cases with negative values.
27538
c8b3296b
UD
275392011-10-23 Ulrich Drepper <drepper@gmail.com>
27540
27541 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27542 * sysdeps/x86_64/dla.h: ...here. New file.
27543 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27548 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27549 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27550 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27551 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27552
246ad57a
AS
275532011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27554
27555 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27556 __ynl_finite aliases.
27557
a1a87169
UD
275582011-10-22 Ulrich Drepper <drepper@gmail.com>
27559
0d355eb7
UD
27560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27561
a1a87169
UD
27562 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27563 define DLA_FMA.
27564 [DLA_FMA] (EMULV): Use DLA_FMA.
27565 [DLA_FMA] (MUL12): Use EMULV.
27566 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27567 that are not needed.
27568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27573 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27575
ee2aafe0
AS
275762011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27577
27578 * math/s_nan.c: Undef __nan.
27579 * math/s_nanf.c: Undef __nanf.
27580 * math/s_nanl.c: Undef __nanl.
27581 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27582 "math_private.h".
27583
bc62c2fb
UD
275842011-10-22 Ulrich Drepper <drepper@gmail.com>
27585
77425c63
UD
27586 * math/s_catan.c: Add branch predictions.
27587 * math/s_catanf.c: Likewise.
27588 * math/s_catanh.c: Likewise.
27589 * math/s_catanhf.c: Likewise.
27590 * math/s_catanhl.c: Likewise.
27591 * math/s_catanl.c: Likewise.
27592 * math/s_cexp.c: Likewise.
27593 * math/s_cexpf.c: Likewise.
27594 * math/s_cexpl.c: Likewise.
27595 * math/s_clog.c: Likewise.
27596 * math/s_clog10.c: Likewise.
27597 * math/s_clog10f.c: Likewise.
27598 * math/s_clog10l.c: Likewise.
27599 * math/s_clogf.c: Likewise.
27600 * math/s_clogl.c: Likewise.
27601 * math/s_csqrt.c: Likewise.
27602 * math/s_csqrtf.c: Likewise.
27603 * math/s_csqrtl.c: Likewise.
27604 * math/s_ctanf.c: Likewise.
27605 * math/s_ctanh.c: Likewise.
27606 * math/s_ctanhf.c: Likewise.
27607 * math/s_ctanhl.c: Likewise.
27608 * math/s_ctanl.c: Likewise.
27609
bc62c2fb
UD
27610 * math/math_private.h: Define __nan, __nanf, __nanl.
27611 * math/s_cacosh.c: Include <math_private.h>.
27612 * math/s_cacoshl.c: Likewise.
27613 * math/s_casinh.c: Likewise.
27614 * math/s_casinhf.c: Likewise.
27615 * math/s_casinhl.c: Likewise.
27616 * math/s_ccos.c: Rely entire on ccosh.
27617 * math/s_ccosf.c: Rely entire on ccoshf.
27618 * math/s_ccosl.c: Rely entirely on ccoshl.
27619 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27620 Remove tests for FE_INVALID.
27621 * math/s_ccoshf.c: Likewise.
27622 * math/s_ccoshl.c: Likewise.
27623 * math/s_csin.c: Likewise.
27624 * math/s_csinf.c: Likewise.
27625 * math/s_csinh.c Likewise.
27626 * math/s_csinhf.c: Likewise.
27627 * math/s_csinhl.c: Likewise.
27628 * math/s_csinl.c: Likewise.
27629 * math/s_ctan.c: Likewise.
27630 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27631 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27632 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27633
8ec250a4
UD
276342011-10-21 Ulrich Drepper <drepper@gmail.com>
27635
c196fed8
UD
27636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27637 compilation problems.
27638
8ec250a4
UD
27639 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27640 __builtin_expect.
27641
8d4f46c6
UD
276422011-10-20 Ulrich Drepper <drepper@gmail.com>
27643
ed72b654
UD
27644 * sysdeps/i386/configure.in: Test for -mfma4 option.
27645 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27646 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27647 COMMON_CPUID_INDEX_80000001.
27648 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27649 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27650 use it if FMA3 is not supported.
27651 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27652
8d4f46c6
UD
27653 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27654 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27655
d45c60c2
AS
276562011-10-20 Andreas Schwab <schwab@redhat.com>
27657
27658 [BZ #12892]
27659 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27660 it would create a cycle with a link time dependency.
27661
d9a4d2ab
UD
276622011-10-19 Ulrich Drepper <drepper@gmail.com>
27663
855d1560
UD
27664 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27665 instruction.
27666 * string/Makefile (strop-tests): Add rawmemchr.
27667 * string/test-rawmemchr.c: New file.
27668
d9a4d2ab
UD
27669 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27671 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27672 when compiling str{,n}casecmp and when AVX is available. Hook up
27673 new optimized code in initializers.
27674
8f3b1ffe
AS
276752011-10-19 Andreas Schwab <schwab@redhat.com>
27676
27677 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27678 __feraiseexcept instead of feraiseexcept.
27679
d38f1dba
UD
276802011-10-18 Ulrich Drepper <drepper@gmail.com>
27681
d9a8d0ab
UD
27682 * math/math_private.h: Define defaults for libc_fetestexcept and
27683 libc_feupdateenv.
27684 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27685 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27686 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27687 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27688 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27689 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27690 libc_fetestexcept and libc_feupdateenv.
27691
4855e3dd
UD
27692 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27693 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27694 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27695 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27696 libc_feholdexcept_setround.
27697
581d30e3
UD
27698 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27699 Add s_nearbyint-c and s_nearbyintf-c.
27700 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27701 nearbyintf inlines.
27702 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27703 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27704 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27705 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27706
d38f1dba
UD
27707 * math/math_private.h: Define defaults for libc_fegetround,
27708 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27709 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27710 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27711 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27712 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27713 standard functions.
27714 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27715 Remove comments and hacks for old compiler versions.
27716 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27717 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27718 libc_feholdexceptl.
27719
caa6c9d8
AS
277202011-10-18 Andreas Schwab <schwab@redhat.com>
27721
27722 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27723 (__feraiseexcept_renamed): Add __NTH.
27724 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27725 namespace violations.
27726
97c066e6
UD
277272011-10-17 Ulrich Drepper <drepper@gmail.com>
27728
99ce7b04
UD
27729 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27730
1004d182
UD
27731 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27732
228a984d
UD
27733 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27734 recently added interfaces.
27735 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27736
c8553a6a
UD
27737 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27738 about macro parameter expansion.
27739
ed22dcf6
UD
27740 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27741 __NO_MATH_INLINES is defined. Cleanups.
27742
27743 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27744 and __floorf is target has SSE4.1.
27745 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27746 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27747 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27748 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27749
b171c137
UD
27750 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27751 name.
27752 (floorf): Likewise.
27753
97c066e6
UD
27754 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27755
629f62ef
AS
277562011-10-17 Andreas Schwab <schwab@redhat.com>
27757
49a43d80
AS
27758 * misc/sys/cdefs.h: Fix last change.
27759
629f62ef
AS
27760 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27761 database lookup.
27762
e453f6cd
UD
277632011-10-16 Ulrich Drepper <drepper@gmail.com>
27764
aa78043a
UD
27765 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27766
ad0f5cad
UD
27767 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27768 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27769 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27770 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27771 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27772 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27773 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27774 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27775 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27776 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27777 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27778 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27779 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27780 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27781 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27782 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27783 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27784 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27785 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27786 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27787 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27788 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27789
27790 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27791 ceil, ceilf, floor, floorf.
27792
27793 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27794 Perform IRELATIVE relocations last.
27795
e453f6cd
UD
27796 * elf/do-rel.h: Add another parameter nrelative, replacing the
27797 local variable with the same name. Change name of the function
27798 to end in Rel or Rela (uppercase).
27799 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27800 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27801 elf_dynamic_do_##reloc function.
27802
fd5bdc09
UD
278032011-10-15 Ulrich Drepper <drepper@gmail.com>
27804
79b195b5
UD
27805 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27806 is sufficient, at least on modern CPUs.
27807
d4a28569
UD
27808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27809
b61099b5
UD
27810 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27811 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27812
bcf01e6d
UD
27813 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27814 __expl_finite.
27815 * math/bits/math-finite.h: Add entries for exp.
27816 * math/e_expl.c: Add __*_finite alias.
27817 * sysdeps/i386/fpu/e_exp.S: Likewise.
27818 * sysdeps/i386/fpu/e_expf.S: Likewise.
27819 * sysdeps/i386/fpu/e_expl.c: Likewise.
27820 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27821 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27822 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27823 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27824 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27825 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27826 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27827
ba1a0d59
UD
27828 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27829 is sufficient, at least on modern CPUs.
27830
fd5bdc09
UD
27831 * ctype/ctype-info.c (__ctype_init): Define.
27832 * include/ctype.h (__ctype_init): Declare.
27833 (__ctype_b_loc): The variable is always initialized.
27834 (__ctype_toupper_loc): Likewise.
27835 (__ctype_tolower_loc): Likewise.
27836 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27837 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27838
7872cfb0
AS
278392011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27840
b468825a
AS
27841 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27842
7872cfb0
AS
27843 * configure.in: Also look in $cxxmachine/include for C++ system
27844 headers.
27845
be13f7bf
LD
278462011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27847
27848 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27849 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27850 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27851 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27852 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27853 (USE_AS_WMEMCMP): New macro.
27854 Fixing indents.
27855 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27856 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27857 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27858 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27859 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27860 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27861 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27862 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27863 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27864 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27865 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27866 (USE_AS_WMEMCMP): New macro.
27867 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27868 * sysdeps/string/test-memcmp.c: Update.
27869 Fix simple_wmemcmp.
27870 Add new tests.
27871 * wcsmbs/wmemcmp.c: Update.
27872 (WMEMCMP): New macro.
27873 Fix overflow bug.
27874
556a2007
AJ
278752011-10-12 Andreas Jaeger <aj@suse.de>
27876
27877 [BZ #13268]
27878 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27879
538faaa7
UD
278802011-10-15 Ulrich Drepper <drepper@gmail.com>
27881
ab6737ff
UD
27882 * libio/iofwide.c (do_length): Avoid warning.
27883
538faaa7
UD
27884 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27885
396a21b1
UD
278862011-10-14 Ulrich Drepper <drepper@gmail.com>
27887
cdf2901f
UD
27888 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27889
38ad40ce
UD
27890 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27891 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27892 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27893 * sysdeps/i386/i686/fpu/e_log.S: New file.
27894 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27895 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27896
396a21b1
UD
27897 * ctype/ctype.h: Add support for inlined isXXX functions when
27898 compiling C++ code.
27899
6b1f68c9
AS
279002011-10-14 Andreas Schwab <schwab@redhat.com>
27901
349290c0
AS
27902 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27903
6b1f68c9
AS
27904 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27905
f2282d42
RM
279062011-10-13 Roland McGrath <roland@hack.frob.com>
27907
27908 [BZ #13291]
27909 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27910
5298ffa8
AS
279112011-10-13 Andreas Schwab <schwab@redhat.com>
27912
714fad23
AS
27913 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27914 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27915 feraiseexcept.
27916
81dcc7fb
AS
27917 * sysdeps/x86_64/memrchr.S: Check for zero size.
27918
5298ffa8
AS
27919 * string/stratcliff.c: Add memrchr tests.
27920
951fbcec
LD
279212011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27922
27923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27924 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27925 rawmemchr-sse2 rawmemchr-sse2-bsf.
27926 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27927 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27928 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27929 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27930 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27931 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27932 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27933 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27934 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27935 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27936 * string/memrchr.c (MEMRCHR): New macro.
27937
0ac5ae23
UD
279382011-10-12 Ulrich Drepper <drepper@gmail.com>
27939
27940 Add integration with gcc's -ffinite-math-only and optimize wrapper
27941 functions in libm.
27942 * Versions.def: Define GLIBC_2.15 version for libm.
27943 * math/Makefile (headers): Add bits/math-finite.h.
27944 * math/bits/math-finite.h: New file.
27945 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27946 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27947 * math/e_acoshl.c: Add __*_finite alias.
27948 * math/e_acosl.c: Likewise.
27949 * math/e_asinl.c: Likewise.
27950 * math/e_atan2l.c: Likewise.
27951 * math/e_atanhl.c: Likewise.
27952 * math/e_coshl.c: Likewise.
27953 * math/e_exp10.c: Likewise.
27954 * math/e_exp10f.c: Likewise.
27955 * math/e_exp10l.c: Likewise.
27956 * math/e_exp2l.c: Likewise.
27957 * math/e_fmodl.c: Likewise.
27958 * math/e_gammal_r.c: Likewise.
27959 * math/e_hypotl.c: Likewise.
27960 * math/e_j0l.c: Likewise.
27961 * math/e_j1l.c: Likewise.
27962 * math/e_jnl.c: Likewise.
27963 * math/e_lgammal_r.c: Likewise.
27964 * math/e_log10l.c: Likewise.
27965 * math/e_log2l.c: Likewise.
27966 * math/e_logl.c: Likewise.
27967 * math/e_powl.c: Likewise.
27968 * math/e_sinhl.c: Likewise.
27969 * math/e_sqrtl.c: Likewise.
27970 * math/e_scalb.c: Completely rewritten and optimized.
27971 * math/e_scalbf.c: Likewise.
27972 * math/e_scalbl.c: Likewise.
27973 * math/w_acos.c: Likewise.
27974 * math/w_acosf.c: Likewise.
27975 * math/w_acosl.c: Likewise.
27976 * math/w_acosh.c: Likewise.
27977 * math/w_acoshf.c: Likewise.
27978 * math/w_acoshl.c: Likewise.
27979 * math/w_asin.c: Likewise.
27980 * math/w_asinf.c: Likewise.
27981 * math/w_asinl.c: Likewise.
27982 * math/w_atan2.c: Likewise.
27983 * math/w_atan2f.c: Likewise.
27984 * math/w_atan2l.c: Likewise.
27985 * math/w_atanh.c: Likewise.
27986 * math/w_atanhf.c: Likewise.
27987 * math/w_atanhl.c: Likewise.
27988 * math/w_exp10.c: Likewise.
27989 * math/w_exp10f.c: Likewise.
27990 * math/w_exp10l.c: Likewise.
27991 * math/w_fmod.c: Likewise.
27992 * math/w_fmodf.c: Likewise.
27993 * math/w_fmodl.c: Likewise.
27994 * math/w_j0.c: Likewise.
27995 * math/w_j0f.c: Likewise.
27996 * math/w_j0l.c: Likewise.
27997 * math/w_j1.c: Likewise.
27998 * math/w_j1f.c: Likewise.
27999 * math/w_j1l.c: Likewise.
28000 * math/w_jn.c: Likewise.
28001 * math/w_jnf.c: Likewise.
28002 * math/w_log.c: Likewise.
28003 * math/w_logf.c: Likewise.
28004 * math/w_logl.c: Likewise.
28005 * math/w_log10.c: Likewise.
28006 * math/w_log10f.c: Likewise.
28007 * math/w_log10l.c: Likewise.
28008 * math/w_log2.c: Likewise.
28009 * math/w_log2f.c: Likewise.
28010 * math/w_log2l.c: Likewise.
28011 * math/w_pow.c: Likewise.
28012 * math/w_powf.c: Likewise.
28013 * math/w_powl.c: Likewise.
28014 * math/w_remainder.c: Likewise.
28015 * math/w_remainderf.c: Likewise.
28016 * math/w_remainderl.c: Likewise.
28017 * math/w_scalb.c: Likewise.
28018 * math/w_scalbf.c: Likewise.
28019 * math/w_scalbl.c: Likewise.
28020 * math/w_sqrt.c: Likewise.
28021 * math/w_sqrtf.c: Likewise.
28022 * math/w_sqrtl.c: Likewise.
28023 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28024 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28025 used.
28026 * math/math_private.h: Declare __kernel_standard_f.
28027 * math/w_cosh.c: Remove cruft and optimize a bit.
28028 * math/w_coshf.c: Likewise.
28029 * math/w_coshl.c: Likewise.
28030 * math/w_exp2.c: Likewise.
28031 * math/w_exp2f.c: Likewise.
28032 * math/w_exp2l.c: Likewise.
28033 * math/w_hypot.c: Likewise.
28034 * math/w_hypotf.c: Likewise.
28035 * math/w_hypotl.c: Likewise.
28036 * math/w_lgamma.c: Likewise.
28037 * math/w_lgamma_r.c: Likewise.
28038 * math/w_lgammaf.c: Likewise.
28039 * math/w_lgammaf_r.c: Likewise.
28040 * math/w_lgammal.c: Likewise.
28041 * math/w_lgammal_r.c: Likewise.
28042 * math/w_sinh.c: Likewise.
28043 * math/w_sinhf.c: Likewise.
28044 * math/w_sinhl.c: Likewise.
28045 * math/w_tgamma.c: Likewise.
28046 * math/w_tgammaf.c: Likewise.
28047 * math/w_tgammal.c: Likewise.
28048 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28049 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28050 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28051 Minor optimizations. Pretty printing. Remove cruft.
28052 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28053 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28054 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28055 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28056 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28057 * sysdeps/i386/fpu/e_asin.S: Likewise.
28058 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28059 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28060 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28061 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28062 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28063 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28064 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28065 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28066 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28067 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28068 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28069 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28070 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28071 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28072 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28073 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28074 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28075 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28076 * sysdeps/i386/fpu/e_log.S: Likewise.
28077 * sysdeps/i386/fpu/e_log10.S: Likewise.
28078 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28079 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28080 * sysdeps/i386/fpu/e_log2.S: Likewise.
28081 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28082 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28083 * sysdeps/i386/fpu/e_logf.S: Likewise.
28084 * sysdeps/i386/fpu/e_logl.S: Likewise.
28085 * sysdeps/i386/fpu/e_pow.S: Likewise.
28086 * sysdeps/i386/fpu/e_powf.S: Likewise.
28087 * sysdeps/i386/fpu/e_powl.S: Likewise.
28088 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28089 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28090 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28091 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28092 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28093 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28094 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28095 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28096 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28097 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28098 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28100 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28101 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28102 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28103 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28104 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28105 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28106 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28107 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28108 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28110 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28111 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28113 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28114 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28115 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28117 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28118 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28119 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28120 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28121 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28122 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28123 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28124 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28125 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28126 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28127 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28128 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28129 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28130 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28131 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28132 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28133 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28134 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28135 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28136 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28137 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28138 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28139 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28140 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28141 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28142 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28143 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28144 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28145 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28146 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28147 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28148 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28149 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28150 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28151 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28152 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28153 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28154 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28155 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28156 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28157 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28158 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28159 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28160 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28161 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28162 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28163 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28164 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28166 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28167 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28168 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28169 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28170 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28171 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28172 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28173 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28174 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28175 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28176 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28177 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28178 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28179 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28180 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28181 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28182 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28183 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28184 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28185 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28186 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28187 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28188 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28189 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28190 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28191 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28192 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28193 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28194 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28195 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28196 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28197 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28198 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28199 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28200 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28201 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28202 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28203 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28204 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28205 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28206 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28207 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28208 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28209 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28210 (__isnanf): Likewise.
28211 (__isinf_ns): Likewise.
28212 (__isinf_nsf): Likewise.
28213 (__finite): Likewise.
28214 (__finitef): Likewise.
28215 (__ieee754_sqrt): Define as macro.
28216 (__ieee754_sqrtf): Define as macro.
28217 (__ieee754_sqrtl): Define as macro.
28218 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28219 inlined copy.
28220 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28221 __FINITE_MATH_ONLY__ consistent.
28222 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28223
12cc2fcd
AS
282242011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28225
a843a204
AS
28226 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28227 of rawmemchr.
28228
12cc2fcd
AS
28229 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28230
c853acd5
UD
282312011-10-09 Ulrich Drepper <drepper@gmail.com>
28232
28233 * po/ja.po: Update from translation team.
28234
c658d255
RM
282352011-10-08 Roland McGrath <roland@hack.frob.com>
28236
110946e4
RM
28237 * locale/programs/locarchive.c (prepare_address_space): New function.
28238 (create_archive, enlarge_archive, open_archive): Use it.
28239
50604220
RM
28240 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28241 inside [SHARED], where it is used.
28242
c658d255
RM
28243 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28244
28245 * nss/getent.c (netgroup_keys): Remove unused variable.
28246 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28247
6a621eb7
UD
282482011-10-08 Ulrich Drepper <drepper@gmail.com>
28249
7edb55ce
UD
28250 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28251 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28252 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28254 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28255 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28256 * math/Makefile (libm-calls): Add s_isinf_ns.
28257 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28258 * math/multc3.c: Likewise.
28259 * math/s_casin.c: Likewise.
28260 * math/s_casinf.c: Likewise.
28261 * math/s_casinl.c: Likewise.
28262 * math/s_ccos.c: Likewise.
28263 * math/s_ccosf.c: Likewise.
28264 * math/s_ccosl.c: Likewise.
28265 * math/s_ctan.c: Likewise.
28266 * math/s_ctanf.c: Likewise.
28267 * math/s_ctanh.c: Likewise.
28268 * math/s_ctanhf.c: Likewise.
28269 * math/s_ctanhl.c: Likewise.
28270 * math/s_ctanl.c: Likewise.
28271 * math/w_fmod.c: Likewise.
28272 * math/w_fmodf.c: Likewise.
28273 * math/w_fmodl.c: Likewise.
28274 * math/w_remainder.c: Likewise.
28275 * math/w_remainderf.c: Likewise.
28276 * math/w_remainderl.c: Likewise.
28277 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28278 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28279 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28281 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28282 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28283 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28284 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28285
187da0ae
UD
28286 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28287 of the number.
28288 * stdio-common/printf_fphex.c: Likewise.
28289 * stdio-common/printf_size.c: Likewise.
28290
9277c064
UD
28291 * math/e_exp10.c: Include math_private.h using <...> not "...".
28292 * math/e_exp10f.c: Likewise.
28293 * math/e_exp10l.c: Likewise.
28294 * math/e_exp2l.c: Likewise.
28295 * math/e_j0l.c: Likewise.
28296 * math/e_j1l.c: Likewise.
28297 * math/e_jnl.c: Likewise.
28298 * math/e_lgammal_r.c: Likewise.
28299 * math/e_rem_pio2l.c: Likewise.
28300 * math/e_scalb.c: Likewise.
28301 * math/e_scalbf.c: Likewise.
28302 * math/e_scalbl.c: Likewise.
28303 * math/k_cosl.c: Likewise.
28304 * math/k_sinl.c: Likewise.
28305 * math/k_tanl.c: Likewise.
28306 * math/s_cacoshf.c: Likewise.
28307 * math/s_catan.c: Likewise.
28308 * math/s_catanf.c: Likewise.
28309 * math/s_catanh.c: Likewise.
28310 * math/s_catanhf.c: Likewise.
28311 * math/s_catanhl.c: Likewise.
28312 * math/s_catanl.c: Likewise.
28313 * math/s_ccosh.c: Likewise.
28314 * math/s_ccoshf.c: Likewise.
28315 * math/s_ccoshl.c: Likewise.
28316 * math/s_cexp.c: Likewise.
28317 * math/s_cexpf.c: Likewise.
28318 * math/s_cexpl.c: Likewise.
28319 * math/s_clog.c: Likewise.
28320 * math/s_clog10.c: Likewise.
28321 * math/s_clog10f.c: Likewise.
28322 * math/s_clog10l.c: Likewise.
28323 * math/s_clogf.c: Likewise.
28324 * math/s_clogl.c: Likewise.
28325 * math/s_csin.c: Likewise.
28326 * math/s_csinf.c: Likewise.
28327 * math/s_csinh.c: Likewise.
28328 * math/s_csinhf.c: Likewise.
28329 * math/s_csinhl.c: Likewise.
28330 * math/s_csinl.c: Likewise.
28331 * math/s_csqrt.c: Likewise.
28332 * math/s_csqrtf.c: Likewise.
28333 * math/s_csqrtl.c: Likewise.
28334 * math/s_ctan.c: Likewise.
28335 * math/s_ctanf.c: Likewise.
28336 * math/s_ctanh.c: Likewise.
28337 * math/s_ctanhf.c: Likewise.
28338 * math/s_ctanhl.c: Likewise.
28339 * math/s_ctanl.c: Likewise.
28340 * math/s_ldexp.c: Likewise.
28341 * math/s_ldexpf.c: Likewise.
28342 * math/s_ldexpl.c: Likewise.
28343 * math/s_significand.c: Likewise.
28344 * math/s_significandf.c: Likewise.
28345 * math/s_significandl.c: Likewise.
28346 * math/w_acos.c: Likewise.
28347 * math/w_acosf.c: Likewise.
28348 * math/w_acosh.c: Likewise.
28349 * math/w_acoshf.c: Likewise.
28350 * math/w_acoshl.c: Likewise.
28351 * math/w_acosl.c: Likewise.
28352 * math/w_asin.c: Likewise.
28353 * math/w_asinf.c: Likewise.
28354 * math/w_asinl.c: Likewise.
28355 * math/w_atan2.c: Likewise.
28356 * math/w_atan2f.c: Likewise.
28357 * math/w_atan2l.c: Likewise.
28358 * math/w_atanh.c: Likewise.
28359 * math/w_atanhf.c: Likewise.
28360 * math/w_atanhl.c: Likewise.
28361 * math/w_cosh.c: Likewise.
28362 * math/w_coshf.c: Likewise.
28363 * math/w_coshl.c: Likewise.
28364 * math/w_dremf.c: Likewise.
28365 * math/w_exp10.c: Likewise.
28366 * math/w_exp10f.c: Likewise.
28367 * math/w_exp10l.c: Likewise.
28368 * math/w_exp2.c: Likewise.
28369 * math/w_exp2f.c: Likewise.
28370 * math/w_fmod.c: Likewise.
28371 * math/w_fmodf.c: Likewise.
28372 * math/w_fmodl.c: Likewise.
28373 * math/w_hypot.c: Likewise.
28374 * math/w_hypotf.c: Likewise.
28375 * math/w_hypotl.c: Likewise.
28376 * math/w_j0.c: Likewise.
28377 * math/w_j0f.c: Likewise.
28378 * math/w_j0l.c: Likewise.
28379 * math/w_j1.c: Likewise.
28380 * math/w_j1f.c: Likewise.
28381 * math/w_j1l.c: Likewise.
28382 * math/w_jn.c: Likewise.
28383 * math/w_jnf.c: Likewise.
28384 * math/w_jnl.c: Likewise.
28385 * math/w_lgamma.c: Likewise.
28386 * math/w_lgamma_r.c: Likewise.
28387 * math/w_lgammaf.c: Likewise.
28388 * math/w_lgammaf_r.c: Likewise.
28389 * math/w_lgammal.c: Likewise.
28390 * math/w_lgammal_r.c: Likewise.
28391 * math/w_log.c: Likewise.
28392 * math/w_log10.c: Likewise.
28393 * math/w_log10f.c: Likewise.
28394 * math/w_log10l.c: Likewise.
28395 * math/w_log2.c: Likewise.
28396 * math/w_log2f.c: Likewise.
28397 * math/w_log2l.c: Likewise.
28398 * math/w_logf.c: Likewise.
28399 * math/w_logl.c: Likewise.
28400 * math/w_pow.c: Likewise.
28401 * math/w_powf.c: Likewise.
28402 * math/w_powl.c: Likewise.
28403 * math/w_remainder.c: Likewise.
28404 * math/w_remainderf.c: Likewise.
28405 * math/w_remainderl.c: Likewise.
28406 * math/w_scalb.c: Likewise.
28407 * math/w_scalbf.c: Likewise.
28408 * math/w_scalbl.c: Likewise.
28409 * math/w_sinh.c: Likewise.
28410 * math/w_sinhf.c: Likewise.
28411 * math/w_sinhl.c: Likewise.
28412 * math/w_sqrt.c: Likewise.
28413 * math/w_sqrtf.c: Likewise.
28414 * math/w_sqrtl.c: Likewise.
28415 * math/w_tgamma.c: Likewise.
28416 * math/w_tgammaf.c: Likewise.
28417 * math/w_tgammal.c: Likewise.
28418
6a621eb7
UD
28419 * po/ja.po: Update from translation team.
28420
bf582445
AJ
284212011-09-29 Andreas Jaeger <aj@suse.de>
28422
f9efbf3a
AJ
28423 [BZ #13179]
28424 * sunrpc/netname.c (netname2host): Fix logic.
28425
bf582445
AJ
28426 [BZ #6779]
28427 [BZ #6783]
28428 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28429 correctly.
28430 * math/w_remainder.c (__remainder): Likewise.
28431 * math/w_remainderf.c (__remainderf): Likewise.
28432 * math/libm-test.inc (remainder_test): Add test cases.
28433
48693bea
AK
284342011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28435
28436 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28437 sdiv_qrnnd.
28438
42622229
LD
284392011-10-07 Ulrich Drepper <drepper@gmail.com>
28440
28441 * string/test-memcmp.c: Avoid unncessary #defines.
28442 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28443
093ecf92
LD
284442011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28445
28446 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28447 Use new sse2 version for core i3 - i7 as it's faster
28448 than sse42 version.
28449 (bit_Prefer_PMINUB_for_stringop): New.
28450 * sysdeps/x86_64/rawmemchr.S: Update.
28451 Replace with faster SSE2 version.
28452 * sysdeps/x86_64/memrchr.S: New file.
28453 * sysdeps/x86_64/memchr.S: Update.
28454 Replace with faster SSE2 version.
28455
fde56e5c
MP
284562011-09-12 Marek Polacek <mpolacek@redhat.com>
28457
28458 * elf/dl-load.c (lose): Add cast to avoid warning.
28459
21fd49a9
UD
284602011-10-07 Ulrich Drepper <drepper@gmail.com>
28461
5a06e643
UD
28462 * po/ca.po: Update from translation team.
28463
684ae515
UD
28464 * inet/getnetgrent_r.c: Hook up nscd.
28465 * nscd/Makefile (routines): Add nscd_netgroup.
28466 (nscd-modules): Add netgroupcache.
28467 (CFLAGS-netgroupcache.c): Define.
28468 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28469 (cache_search): Add const to second parameter.
28470 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28471 INNETGR.
28472 (dbs): Add netgrdb entry.
28473 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28474 (verify_persistent_db): Handle netgrdb.
28475 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28476 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28477 GETFDNETGR.
28478 (netgroup_response_header): Define.
28479 (innetgroup_response_header): Define.
28480 (datahead): Add netgroup_response_header and innetgroup_response_header
28481 elements.
28482 * nscd/nscd.conf: Add entries for netgroup cache.
28483 * nscd/nscd.h (dbtype): Add netgrdb.
28484 (_PATH_NSCD_NETGROUP_DB): Define.
28485 (netgroup_iov_disabled): Declare.
28486 (xmalloc, xcalloc, xrealloc): Move declarations here.
28487 (cache_search): Adjust prototype.
28488 Add netgroup-related prototypes.
28489 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28490 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28491 (__nscd_innetgr): Declare.
28492 * nscd/selinux.c (perms): Use access_vector_t as element type and
28493 add netgroup-related initializers.
28494 * nscd/netgroupcache.c: New file.
28495 * nscd/nscd_netgroup.c: New file.
28496 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28497 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28498 For four parameters use innetgr.
28499 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28500 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28501 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28502 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28503
21fd49a9
UD
28504 * nscd/connections.c (register_traced_file): Don't register file
28505 for disabled databases.
28506
054c0457
UD
285072011-10-06 Ulrich Drepper <drepper@gmail.com>
28508
32b63198
UD
28509 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28510
054c0457
UD
28511 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28512 from tree and freeing node.
28513
64031225
JO
285142011-09-25 Jiri Olsa <jolsa@redhat.com>
28515
28516 * nss/nsswitch.c (__nss_database_lookup): Handle
28517 nss_parse_service_list out of memory case.
28518
0490345c
JO
285192011-09-15 Jiri Olsa <jolsa@redhat.com>
28520
28521 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28522 out of memory case.
28523
3a62d00d
AS
285242011-10-04 Andreas Schwab <schwab@redhat.com>
28525
28526 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28527 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28528 pass it down.
28529 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28530 elf_machine_rela, elf_machine_lazy_rel.
28531 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28532 (ELF_DYNAMIC_DO_REL): Likewise.
28533 (ELF_DYNAMIC_DO_RELA): Likewise.
28534 (ELF_DYNAMIC_RELOCATE): Likewise.
28535 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28536 to ELF_DYNAMIC_DO_REL.
28537 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28538 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28539 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28540 elf_machine_rela.
28541 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28542 skip_ifunc, don't call ifunc function if non-zero.
28543 (elf_machine_rela): Likewise.
28544 (elf_machine_lazy_rel): Likewise.
28545 (elf_machine_lazy_rela): Likewise.
28546 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28547 (elf_machine_lazy_rel): Likewise.
28548 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28549 Likewise.
28550 (elf_machine_lazy_rel): Likewise.
28551 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28552 Likewise.
28553 (elf_machine_lazy_rel): Likewise.
28554 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28555 (elf_machine_lazy_rel): Likewise.
28556 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28557 (elf_machine_lazy_rel): Likewise.
28558 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28559 (elf_machine_lazy_rel): Likewise.
28560 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28561 (elf_machine_lazy_rel): Likewise.
28562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28563 (elf_machine_lazy_rel): Likewise.
28564 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28565 (elf_machine_lazy_rel): Likewise.
28566
68577918
UD
285672011-09-28 Ulrich Drepper <drepper@gmail.com>
28568
28569 * nss/nss_files/files-init.c (_nss_files_init): Use static
28570 initialization for all the *_traced_file variables.
28571
68822d74
AS
285722011-09-28 Andreas Schwab <schwab@redhat.com>
28573
28574 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28575
2056100b
RM
285762011-09-27 Roland McGrath <roland@hack.frob.com>
28577
28578 [BZ #13226]
28579 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28580
32c76b63
AS
285812011-09-27 Andreas Schwab <schwab@redhat.com>
28582
28583 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28584 Reread the line before reparsing it.
28585
bf972c9d
AS
285862011-09-26 Andreas Schwab <schwab@redhat.com>
28587
28588 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28589
e057a1b5
JM
285902011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28591 Maxim Kuvyrkov <maxim@codesourcery.com>
28592 Joseph Myers <joseph@codesourcery.com>
28593
28594 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28595 if needed for __stack_chk_guard.
28596
bc7e1c36
RM
285972011-09-19 Roland McGrath <roland@hack.frob.com>
28598
ecb1482f
RM
28599 * sysdeps/posix/spawni.c (script_execute): Always define it.
28600 It will be optimized away if unused.
28601 (maybe_script_execute): New function.
28602 (__spawni): Call it.
28603
bc7e1c36
RM
28604 * Makerules: Don't include tls.make.
28605 (config-tls): Always set to thread.
28606 * tls.make.c: File removed.
28607
1c3b002b
MF
286082011-09-19 Mike Frysinger <vapier@gentoo.org>
28609
28610 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28611 * config.make.in (CPPFLAGS-config): New substituted variable.
28612
2840865d
UD
286132011-09-15 Ulrich Drepper <drepper@gmail.com>
28614
88738eb6
UD
28615 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28616
cbf645a6 28617 [BZ #13192]
2840865d
UD
28618 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28619 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28620
b402e91a
RM
286212011-09-15 Roland McGrath <roland@hack.frob.com>
28622
28623 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28624 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28625 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28626 (CALL_FAIL): Likewise.
28627 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28628 (CALL_FAIL): Macro removed.
28629 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28630
4c1a1f71
UD
286312011-09-15 Ulrich Drepper <drepper@gmail.com>
28632
28633 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28634 for __FINITE_MATH_ONLY__ == 1.
28635
edc121be
AS
286362011-09-15 Andreas Schwab <schwab@redhat.com>
28637
28638 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28639 __ieee754_sqrt instead of sqrt.
28640 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28641 __ieee754_sqrtf instead of sqrtf.
28642 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28643 __floorf instead of floorf.
28644 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28645 __floorf, __truncf instead of floorf, truncf.
28646
cd205654
UD
286472011-09-14 Ulrich Drepper <drepper@gmail.com>
28648
ee4d0315
UD
28649 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28650
cd205654
UD
28651 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28652 __extern_always_inline.
28653 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28654 32-bit.
28655
48b67d71
AS
286562011-09-14 Andreas Schwab <schwab@redhat.com>
28657
28658 * elf/rtld.c (dl_main): Also relocate in dependency order when
28659 doing symbol dependency testing.
28660
1ae12c75
AS
286612011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28662
28663 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28664 Always define `refsym'.
28665
995a80df
AS
286662011-09-13 Andreas Schwab <schwab@redhat.com>
28667
e529793b
AS
28668 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28669 (__FD_ELT): Renamed from __FDELT.
28670 * misc/bits/select2.h (__FD_ELT): Likewise.
28671 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28672 __FD_MASK instead of __FDELT, __FDMASK.
28673 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28674 Likewise.
28675 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28676 Likewise.
28677
52d4fef8
AS
28678 * elf/Makefile (gen-ldd): Fix pattern.
28679
995a80df
AS
28680 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28681 (init_tls): Likewise.
28682
8682f8b0
UD
286832011-09-12 Ulrich Drepper <drepper@gmail.com>
28684
28685 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28686
de82006d
AS
286872011-09-12 Andreas Schwab <schwab@redhat.com>
28688
a7c8e6a1
AS
28689 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28690 `struct cmsghdr *' instead of `void *'.
28691 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28692 Likewise.
28693
0f31fe77
AS
286942011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28695
28696 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28697 if non-absolute.
28698 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28699 ldd_rewrite_script.
0f31fe77 28700
32b4c839
UD
287012011-09-11 Ulrich Drepper <drepper@gmail.com>
28702
83cd1420
UD
28703 * configure.in: Remove --with-tls option.
28704 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28705 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28706 out in case it is missing.
28707 * sysdeps/ia64/elf/configure.in: Likewise.
28708 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28709 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28710 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28711 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28712 * sysdeps/sh/elf/configure.in: Likewise.
28713 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28714 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28715 * sysdeps/x86_64/elf/configure.in: Likewise.
28716 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28717 * sysdeps/mach/hurd/tls.h: Likewise.
28718
633f745d
UD
28719 [BZ #13067]
28720 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28721
f318beb8
UD
28722 [BZ #13090]
28723 * configure.in: Fix use of AC_INIT.
28724
32b4c839
UD
28725 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28726
3ce1f295
UD
287272011-09-10 Ulrich Drepper <drepper@gmail.com>
28728
bb016596
UD
28729 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28730 __set_errno.
8e58439c
UD
28731 * malloc/hooks.c: Likewise.
28732
aebae053 28733 [BZ #11929]
02d46fc4
UD
28734 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28735 variables statically.
28736 (narenas): Initialize.
28737 (list_lock): Initialize.
bb016596
UD
28738 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28739 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28740 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28741 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28742 Add initializers to main_arena and mp_.
28743 (malloc_state): Remove pagesize member. Change all users to use
28744 GLRO(dl_pagesize).
28745
28746 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28747 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28748 is always initialized.
28749
22a89187
UD
28750 * malloc/malloc.c: Removed unused configurations and dead code.
28751 * malloc/arena.c: Likewise.
28752 * malloc/hooks.c: Likewise.
02d46fc4 28753 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28754
d063d164
UD
28755 * include/tls.h: Removed. USE___THREAD must always be defined.
28756 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28757 * elf/dl-libc.c: Likewise.
28758 * elf/dl-tsd.c: Likewise.
28759 * include/errno.h: Likewise.
28760 * include/netdb.h: Likewise.
28761 * include/resolv.h: Likewise.
28762 * inet/herrno-loc.c: Likewise.
28763 * inet/herrno.c: Likewise.
28764 * malloc/arena.c: Likewise.
28765 * malloc/hooks.c: Likewise.
28766 * malloc/malloc.c: Likewise.
28767 * resolv/res-state.c: Likewise.
28768 * resolv/res_libc.c: Likewise.
28769 * sysdeps/i386/dl-machine.h: Likewise.
28770 * sysdeps/ia64/dl-machine.h: Likewise.
28771 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28772 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28773 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28774 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28775 * sysdeps/sh/dl-machine.h: Likewise.
28776 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28777 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28778 * sysdeps/unix/i386/sysdep.S: Likewise.
28779 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28780 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28782 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28784 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28785 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28789 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28790 * sysdeps/x86_64/dl-machine.h: Likewise.
28791 * tls.make.c: Likewise.
28792
3ce1f295
UD
28793 * configure.in: Remove --with-__thread option. Make tests for
28794 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28795 tls_model attribute fail if no support is available. Remove
28796 USE_IN_LIBIO.
28797 * Makeconfig: Adjust for dropped configure option. All features are
28798 now mandatory.
28799 * Makerules: Likewise.
28800 * Versions.def: Likewise.
28801 * argp/argp-fmtstream.c: Likewise.
28802 * argp/argp-fmtstream.h: Likewise.
28803 * argp/argp-help.c: Likewise.
28804 * assert/assert.c: Likewise.
28805 * config.h.in: Likewise.
28806 * config.make.in: Likewise.
28807 * configure: Likewise.
28808 * configure.in: Likewise.
28809 * csu/Versions: Likewise.
28810 * csu/init.c: Likewise.
28811 * elf/tst-audit2.c: Likewise.
28812 * elf/tst-tls10.c: Likewise.
28813 * elf/tst-tls10.h: Likewise.
28814 * elf/tst-tls11.c: Likewise.
28815 * elf/tst-tls12.c: Likewise.
28816 * elf/tst-tls14.c: Likewise.
28817 * elf/tst-tlsmod11.c: Likewise.
28818 * elf/tst-tlsmod12.c: Likewise.
28819 * elf/tst-tlsmod13.c: Likewise.
28820 * elf/tst-tlsmod13a.c: Likewise.
28821 * elf/tst-tlsmod14a.c: Likewise.
28822 * elf/tst-tlsmod15b.c: Likewise.
28823 * elf/tst-tlsmod16a.c: Likewise.
28824 * elf/tst-tlsmod16b.c: Likewise.
28825 * elf/tst-tlsmod7.c: Likewise.
28826 * elf/tst-tlsmod8.c: Likewise.
28827 * elf/tst-tlsmod9.c: Likewise.
28828 * gmon/gmon.c: Likewise.
28829 * grp/fgetgrent_r.c: Likewise.
28830 * grp/putgrent.c: Likewise.
28831 * hurd/fopenport.c: Likewise.
28832 * include/libc-symbols.h: Likewise.
28833 * include/tls.h: Likewise.
28834 * intl/gettextP.h: Likewise.
28835 * intl/loadinfo.h: Likewise.
28836 * locale/global-locale.c: Likewise.
28837 * locale/localeinfo.h: Likewise.
28838 * mach/devstream.c: Likewise.
28839 * malloc/arena.c: Likewise.
28840 * malloc/set-freeres.c: Likewise.
28841 * misc/err.c: Likewise.
28842 * misc/getttyent.c: Likewise.
28843 * misc/mntent_r.c: Likewise.
28844 * posix/getopt.c: Likewise.
28845 * posix/wordexp.c: Likewise.
28846 * pwd/fgetpwent_r.c: Likewise.
28847 * resolv/Versions: Likewise.
28848 * resolv/res_hconf.c: Likewise.
28849 * shadow/fgetspent_r.c: Likewise.
28850 * shadow/putspent.c: Likewise.
28851 * stdio-common/printf_fphex.c: Likewise.
28852 * stdio-common/tmpfile.c: Likewise.
28853 * stdlib/abort.c: Likewise.
28854 * stdlib/fmtmsg.c: Likewise.
28855 * sunrpc/auth_unix.c: Likewise.
28856 * sunrpc/clnt_perr.c: Likewise.
28857 * sunrpc/clnt_tcp.c: Likewise.
28858 * sunrpc/clnt_udp.c: Likewise.
28859 * sunrpc/clnt_unix.c: Likewise.
28860 * sunrpc/openchild.c: Likewise.
28861 * sunrpc/svc_simple.c: Likewise.
28862 * sunrpc/svc_tcp.c: Likewise.
28863 * sunrpc/svc_udp.c: Likewise.
28864 * sunrpc/svc_unix.c: Likewise.
28865 * sunrpc/xdr.c: Likewise.
28866 * sunrpc/xdr_array.c: Likewise.
28867 * sunrpc/xdr_rec.c: Likewise.
28868 * sunrpc/xdr_ref.c: Likewise.
28869 * sunrpc/xdr_stdio.c: Likewise.
28870
1248c1c4
PB
288712011-09-09 Ulrich Drepper <drepper@gmail.com>
28872
28873 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28874
288752011-07-03 Andreas Jaeger <aj@suse.de>
28876
28877 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28878 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28879 regenerate with gen-libm-tests.pl.
28880
288812010-05-12 Petr Baudis <pasky@suse.cz>
28882
28883 [BZ #11589]
28884 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28885 around j0() zero points by switching to j1().
28886 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28887 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28888 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28889 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28890
f22e1074
UD
288912011-09-09 Ulrich Drepper <drepper@gmail.com>
28892
f19009c1
UD
28893 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28894 instead of 0.
28895 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28896 instead of 0.
f19009c1
UD
28897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28898 Patch in part by Pavel Roskin <proski@gnu.org>.
28899
3f8cc204
UD
28900 [BZ #13138]
28901 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28902 realloc.
28903 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28904 Free memory block if necessary.
28905
f22e1074
UD
28906 [BZ #12847]
28907 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28908 be NULL. Don't lock in this case.
28909
0a2349f9
RM
289102011-09-09 Roland McGrath <roland@hack.frob.com>
28911
28912 * elf/elf.h (ELFOSABI_GNU): New macro.
28913 (ELFOSABI_LINUX): Define to that.
28914
f3cdd467
DZ
289152011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28916
28917 * string/strncat.c (strncat): Undef the symbol in case it has been
28918 defined in bits/string.h.
28919
74718d13
UD
289202011-09-09 Ulrich Drepper <drepper@gmail.com>
28921
633e9e0f
UD
28922 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28923
0a2349f9 28924 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28925 link map.
28926
f9924780
AJ
289272011-08-17 Andreas Jaeger <aj@suse.de>
28928
28929 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28930
7f5517aa
PP
289312011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28932 Ian Lance Taylor <iant@google.com>
28933
28934 * math/libm-test.inc (lround_test): New testcase.
28935 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28936
762011fe
UD
289372011-09-08 Ulrich Drepper <drepper@gmail.com>
28938
92963737
UD
28939 * Makefile: Remove support for automatic cvs check-ins.
28940 * Makerules: Likewise.
28941 * config.make.in: Likewise.
28942 * configure.in: Likewise.
28943 * intl/Makefile: Likewise.
28944 * locale/Makefile: Likewise.
28945 * po/Makefile: Likewise.
28946 * posix/Makefile: Likewise.
28947 * sysdeps/gnu/Makefile: Likewise.
28948 * sysdeps/mach/hurd/Makefile: Likewise.
28949 * sysdeps/sparc/sparc32/Makefile: Likewise.
28950
b0727fd8
JS
28951 [BZ #13118]
28952 * posix/Makefile (bug-regex32-ENV): Define.
28953 Patch by John Stanley <jpsinthemix@verizon.net>.
28954
a0f33f99
UD
28955 * misc/Makefile (headers): Add bits/select2.h.
28956 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28957 * misc/bits/select2.h: New file.
28958 * include/bits/select2.h: New file.
28959 * debug/Makefile (routines): Add fdelt_chk.
28960 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28961 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28962 FD_ISSET.
28963 * debug/fdelt_chk.c: New file.
28964
762011fe
UD
28965 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28966 * wcsmbs/test-wmemcmp.c: Likewise.
28967 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28968 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28969
289702011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28971
28972 * string/Makefile (strop-tests): Add memcmp.
28973 * string/test-wmemcmp.c: New file.
28974 * string/test-memcmp.c: Add wmemcmp support.
28975
7f513ec8
RM
289762011-09-08 Roland McGrath <roland@hack.frob.com>
28977
0442afb4
RM
28978 [BZ #13153]
28979 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28980 2011-07-19 change.
28981
7f513ec8
RM
28982 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28983 garbage value in a __mach_port_mod_refs call in the cases of the
28984 task-self and thread-self ports.
28985
a12b2239
ST
289862011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28987
28988 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28989
610f9ab4
AS
289902011-09-08 Andreas Schwab <schwab@redhat.com>
28991
7f513ec8 28992 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28993
48882a1a
LD
289942011-09-07 Ulrich Drepper <drepper@gmail.com>
28995
b49865be
UD
28996 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28997
fdc86bc9
UD
28998 * elf/dl-libc.c (dlerror_run): Pass back error code from
28999 dl_catch_error.
29000
c966526a
UD
29001 [BZ #13123]
29002 * elf/dl-load.c (lose): Free l_origin if it is valid.
29003
48882a1a
LD
29004 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29005 names.
29006 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29007 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29008 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29009 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29010 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29011 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29012
77a2a8b4
AZ
290132011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29014
29015 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29016 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29017 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29018 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29019 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29020 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29021 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29022 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29023 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29024 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29025
24f579d8
AM
290262011-08-15 Alan Modra <amodra@gmail.com>
29027
29028 [BZ #13092]
29029 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29030 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29031 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29032 ppc_mcount to static-only-routines.
29033 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29034 __mcount_internal.
29035 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29036 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29037
3d4837df
UD
290382011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29039
29040 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29041 for finite and infinity parameters.
29042
22700377
WS
290432011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29044
29045 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29046 and add nop instructions for throughput optimization.
29047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29048
5025581e
WS
290492011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29050
29051 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29052 aligned copy for power7 with vector-scalar instructions.
29053 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29054
08a300c9
L
290552011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29056
29057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29058 AVX check.
29059
59178ef9
AS
290602011-09-07 Andreas Schwab <schwab@redhat.com>
29061
29062 [BZ #13144]
29063 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29064 last change.
29065
e38ba7ab
UD
290662011-09-07 Ulrich Drepper <drepper@gmail.com>
29067
29068 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29069 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29070 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29071 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29072 clock_gettime.
29073
d53a73ac
UD
290742011-09-06 Ulrich Drepper <drepper@gmail.com>
29075
fc8bffcc
UD
29076 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29077 Forgot to demangle the pointer.
29078
ceaa0c5d
UD
29079 * sysdeps/i386/sysdep.h: Define atom_text_section.
29080 * sysdeps/x86_64/sysdep.h: Likewise.
29081 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29082 section with atom_text_section.
29083 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29084 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29085 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29086 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29087 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29088
a77d3c17
UD
29089 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29090 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29091 already be defined. Change to take two parameters and don't assign
29092 result to variable. Adjust all users.
29093 Define INTERNAL_GETTIME if not already defined.
29094 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29095 call.
29096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29097 HAVE_CLOCK_GETTIME_VSYSCALL.
29098 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29099
d53a73ac
UD
29100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29101 gettimeofday vsyscall, just use time.
29102
a8f84144
AS
291032011-09-06 Andreas Schwab <schwab@redhat.com>
29104
29105 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29106 <errno.h>.
29107
ef606249
UD
291082011-09-06 Ulrich Drepper <drepper@gmail.com>
29109
29110 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29111 syscall on x86-64.
29112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29113 syscall.
29114 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29115 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29116 syscall if possible.
29117
6585cb60
UD
291182011-09-05 Ulrich Drepper <drepper@gmail.com>
29119
29120 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29121 e_ident. Don't pass to find_mapsXX.
29122 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29123
a5f524e4
LD
291242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29125
29126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29127 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29128 * sysdeps/x86_64/multiarch/strchr.S: Update.
29129 Check bit_slow_BSF bit.
29130 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29131 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29132 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29133
554881ef
UD
291342011-09-05 Ulrich Drepper <drepper@gmail.com>
29135
d96de963
UD
29136 [BZ #13134]
29137 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29138 before glibc 2.15.
29139 (tryshell): Define.
29140 (__spawni): Change last parameter to be flag. Test
29141 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29142 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29143 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29144 * posix/spawni.c: Likewise.
29145 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29146 * posix/spawnp.c: Likewise. Change normal version to use
29147 SPAWN_XFLAGS_USE_PATH.
29148 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29149 SPAWN_XFLAGS_TRY_SHELL.
29150
d48e5868
UD
29151 [BZ #13150]
29152 * posix/glob.h: Remove gcc 1.x support.
29153
554881ef
UD
29154 [BZ #13068]
29155 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29156
693fb948
LD
291572011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29158
29159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29160 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29161 strrchr-sse2-bsf
29162 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29163 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29164 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29165 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29166 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29167 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29168
1b48c537
UD
291692011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29170
49d42c37
UD
29171 * sysdeps/x86_64/wcscmp.S: New file.
29172
1b48c537
UD
29173 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29174 wcscmp-c wcscmp-sse2
29175 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29176 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29177 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29178 * wcsmbs/wcscmp.c: Allow renaming.
29179
15c95c5d
DM
291802011-09-05 David S. Miller <davem@davemloft.net>
29181
29182 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29183 stack slot, rather than the struct return pointer slot.
29184 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29185 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29187 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29188
2f0ad8f3
UD
291892011-09-05 Ulrich Drepper <drepper@gmail.com>
29190
d88ae418
UD
29191 * po/ja.po: Update from translation team.
29192
2f0ad8f3
UD
29193 [BZ #13144]
29194 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29195 kernel in 64-bit binaries.
29196
5f4318d1
DM
291972011-09-01 David S. Miller <davem@davemloft.net>
29198
29199 * elf/elf.h (HWCAP_SPARC_*): Move to..
29200 * sysdeps/sparc/sysdep.h: this new file and add new values.
29201 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29202 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29203 _DL_HWCAP_COUNT to 24.
29204 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29205 entries.
29206 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29207 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29208 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29210 instead of magic constants.
29211 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29212
3ba57516
DM
292132011-08-31 David S. Miller <davem@davemloft.net>
29214
29215 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29217 Reimplement to do errno handling inline.
29218 (SYSCALL_ERROR_HANDLER): New macro.
29219 (__SYSCALL_STRING): Do not do errno handling in asm.
29220 (__CLONE_SYSCALL_STRING): Delete.
29221 (__INTERNAL_SYSCALL_STRING): Delete.
29222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29223 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29224 (PSEUDO): Reimplement to do errno handling inline.
29225 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29226 (SYSCALL_ERROR_HANDLER): New macro.
29227 (__SYSCALL_STRING): Do not do errno handling in asm.
29228 (__CLONE_SYSCALL_STRING): Delete.
29229 (__INTERNAL_SYSCALL_STRING): Delete.
29230 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29231 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29232 i386.
29233 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29234 (inline_syscall*): Add 'err' argument.
29235 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29236 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29237 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29238 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29239
29240 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29241 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29242
2bc17433
AS
292432011-08-30 Andreas Schwab <schwab@redhat.com>
29244
29245 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29246
fbeb5f4d
JO
292472011-08-29 Jiri Olsa <jolsa@redhat.com>
29248
29249 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29250 directive.
29251
ad69cc26
DM
292522011-08-24 David S. Miller <davem@davemloft.net>
29253
29254 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29255
39dd69df
AS
292562011-08-24 Andreas Schwab <schwab@redhat.com>
29257
29258 * elf/Makefile: Add rules to build and run unload8 test.
29259 * elf/unload8.c: New file.
29260 * elf/unload8mod1.c: New file.
29261 * elf/unload8mod1x.c: New file.
29262 * elf/unload8mod2.c: New file.
29263 * elf/unload8mod3.c: New file.
29264
29265 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29266 it wasn't used.
29267
2c0b250a
DM
292682011-08-23 David S. Miller <davem@davemloft.net>
29269
29270 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29271 subtract stack bias.
29272 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29273 %sp not %fp in calculations.
29274 (_JMPBUF_UNWINDS_ADJ): Likewise.
29275
22044b48
DM
29276 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29277 (aio_suspend): Call it to force an exception region around the
29278 AIO_MISC_WAIT() invocation.
29279
2cae4995
AS
292802011-08-23 Andreas Schwab <schwab@redhat.com>
29281
29282 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29283 backslash.
29284
873a772e
AJ
292852011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29286
29287 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29288 protection macro.
29289 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29290 and <dl-machine.h>.
29291 (Elf64_FuncDesc): Remove.
29292
25ad0df1
DM
292932011-08-22 David S. Miller <davem@davemloft.net>
29294
29295 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29296 sigaltstack check, add missing cfi directives.
29297 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29298 missing cfi directives, and sigaltstack handling.
29299
e888bcbe
AS
293002011-08-16 Andreas Schwab <schwab@redhat.com>
29301
29302 [BZ #11724]
29303 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29304 object is seen twice.
29305 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29306
29307 * elf/Makefile (distribute): Add tst-initorder2.c.
29308 (tests): Add tst-initorder2.
29309 (modules-names): Add tst-initorder2a tst-initorder2b
29310 tst-initorder2c tst-initorder2d. Add rules to build them.
29311 ($(objpfx)tst-initorder2.out): New rule.
29312 * elf/tst-initorder2.c: New file.
29313 * elf/tst-initorder2.exp: New file.
29314
87162f46
AS
293152011-08-22 Andreas Schwab <schwab@redhat.com>
29316
70538b7f
AS
29317 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29318
f55ffe58
AS
29319 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29320 dependencies back to end of function.
29321
87162f46
AS
29322 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29323 $(elfobjdir)/ld.so.
29324
91b392a4
UD
293252011-08-21 Ulrich Drepper <drepper@gmail.com>
29326
29327 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29328 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29329 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29330 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29331 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29332 of __vdso_gettimeofday.
29333 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29334 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29335 attribute_hidden.
29336 (_libc_vdso_platform_setup): Remove initialization of
29337 __vdso_gettimeofday and __vdso_time.
29338
5c43483f
UD
293392011-08-20 Ulrich Drepper <drepper@gmail.com>
29340
775a77e7
UD
29341 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29342 and fgetc_unlocked.
29343 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29344 getc_unlocked.
89f447ed 29345
49c74ba9
UD
29346 * elf/dl-open.c (add_to_global): Report additions to the global scope
29347 for LD_DEBUG=scopes.
29348 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29349 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29350
5c43483f
UD
29351 [BZ #13114]
29352 * stdio-common/Makefile (tests): Add bug24.
29353 * stdio-common/bug24.c: New file.
29354
a101b025
AJ
293552011-08-19 Andreas Jaeger <aj@suse.de>
29356
29357 [BZ #13114]
29358 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29359 non-existant file when using close-on-exec mode.
29360
c88f1766
UD
293612011-08-20 Ulrich Drepper <drepper@gmail.com>
29362
0276a718
UD
29363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29364 the very first instruction.
29365
c88f1766
UD
29366 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29367 the CFI state in the end.
29368 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29369 inclusion of dl-trampoline.h.
29370 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29371
51ccffa0
AS
293722011-08-19 Andreas Schwab <schwab@redhat.com>
29373
94d7165f
AS
29374 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29375 expectations for long double.
29376
51ccffa0
AS
29377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29378 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29379
fd708658 293802011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29381
29382 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29383 artificual limit depends upon the system page size.
29384
44f0a71e
UD
293852011-08-17 Ulrich Drepper <drepper@gmail.com>
29386
29387 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29388 * resolv/Makefile: Define CFLAGS-libresolv.
29389
8de79a24
AS
293902011-08-17 Andreas Schwab <schwab@redhat.com>
29391
29392 * nss/makedb.c (compute_tables): Make variables used in nested
29393 function static.
29394
27724598
UD
293952011-08-17 Ulrich Drepper <drepper@gmail.com>
29396
c5305d88
UD
29397 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29398 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29399 if buffer was too small.
29400
27724598
UD
29401 * elf/pldd.c (main): Attach to all threads in the process.
29402 Rewrite /proc handling to use *at functions.
29403
076fe015
UD
294042011-08-16 Ulrich Drepper <drepper@gmail.com>
29405
174baab3
UD
29406 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29407 specifies first scope to show.
29408 (dl_open_worker): Update callers. Move printing scope of new
29409 object to before the relocation.
44f0a71e 29410 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29411 * sysdeps/generic/ldsodefs.h: Update declaration.
29412
076fe015
UD
29413 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29414 string for the scope number.
29415
a60df2c3
UD
294162011-08-14 Ulrich Drepper <drepper@gmail.com>
29417
29418 * nscd/servicescache.c (cache_addserv): Make sure written is always
29419 initialized.
29420
5e4287d1
RM
294212011-08-14 Roland McGrath <roland@hack.frob.com>
29422
85ae0589
RM
29423 * sysdeps/i386/i486/bits/atomic.h
29424 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29425 statement expression, so as to suppress "set but not used" warning.
29426 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29427
69f63097
RM
29428 * string/strncat.c (STRNCAT): Use prototype definition.
29429
675456ef
RM
29430 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29431 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29432 -Iprograms here.
29433 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29434 (localedef-modules): Add localedef.
29435 (locale-modules): Add locale.
29436
5e4287d1
RM
29437 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29438 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29439 to avoid a warning.
29440
9c96ff23
DM
294412011-08-14 David S. Miller <davem@davemloft.net>
29442
29443 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29444 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29445
f9ddf089
UD
294462011-08-13 Ulrich Drepper <drepper@gmail.com>
29447
44f0a71e 29448 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29449 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29450 * elf/rtld.c (dl_main): Set l_name of vDSO.
29451 Call _dl_show_scope when DL_DEBUG_SCOPES.
29452 (process_dl_debug): Recognize scopes flag and also set it for all.
29453 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29454 Declare _dl_show_scope.
29455
1dc27704
UD
29456 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29457 (do_dlopen): Pass caller_dlopen to dl_open.
29458 (__libc_dlopen_mode): Initialize caller_dlopen.
29459
f9ddf089
UD
29460 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29461 of libc. Make tolower call locale-independent. Optimize a bit by
29462 using isdigit instead of isalnum.
29463 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29464
9ac533d3
UD
294652011-08-12 Ulrich Drepper <drepper@gmail.com>
29466
29467 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29468 was a dependency or dynamically loaded.
29469
89edf2e9
UD
294702011-08-11 Ulrich Drepper <drepper@gmail.com>
29471
8e999d29
UD
29472 * intl/l10nflist.c: Allow architecture-specific pop function.
29473 * sysdeps/x86_64/l10nflist.c: New file.
29474
89edf2e9
UD
29475 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29476 classification.
29477
14d96785
AS
294782011-08-10 Andreas Schwab <schwab@redhat.com>
29479
29480 * include/dirent.h: Add libc_hidden_proto for scandirat and
29481 scandirat64. Don't declare __scandirat64.
29482 * dirent/scandirat.c: Add libc_hidden_def.
29483 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29484 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29485
6761ac04
DM
294862011-08-10 David S. Miller <davem@davemloft.net>
29487
29488 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29489 enum.
29490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29491 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29492 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29493
c55fbd1e
UD
294942011-08-09 Ulrich Drepper <drepper@gmail.com>
29495
29496 * Versions.def [libc]: Add GLIBC_2.15.
29497 * dirent/Makefile (routines): Add scandirat and scandirat64.
29498 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29499 GLIBC_2.15.
29500 * dirent/dirent.h: Declare scandirat and scandirat64.
29501 * dirent/scandirat.c: New file.
29502 * dirent/scandirat64.c: New file.
29503 * sysdeps/wordsize-64/scandirat.c: New file.
29504 * sysdeps/wordsize-64/scandirat64.c: New file.
29505 * dirent/opendir.c: Define opendirat.
29506 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29507 using scandirat.
29508 * dirent/scandir64.c: Adjust for scandir.c change.
29509 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29510 __scandirat64, and __scandir_cancel_handler.
29511 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29512 additional parameter and use openat instead of open (outside of ld.so).
29513 Add new __opendir as wrapper around __opendirat.
29514 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29515 here without requiring old scandirat implementation.
29516
879165f2
UD
295172011-08-08 Ulrich Drepper <drepper@gmail.com>
29518
29519 * dirent/scandir.c (cancel_handler): Renamed to
29520 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29521 defined. Adjust users.
29522 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29523 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29524
cb7e923b
UD
295252011-08-04 Ulrich Drepper <drepper@gmail.com>
29526
16292edd
UD
29527 * string/test-string.h (IMPL): Use __STRING to expand name and then
29528 stringify it.
29529
cb7e923b
UD
29530 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29531 of cleanups.
29532
cff82933
LD
295332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29534
29535 * string/Makefile: Update.
29536 (strop-tests): Append strncat.
29537 * string/test-wcscmp.c: New file.
29538 New comprehensive test for wcscmp.
29539 * string/test-strcmp.c: Update.
29540 (WIDE): New define.
29541
9be9bfcc
AS
295422011-07-22 Andreas Schwab <schwab@redhat.com>
29543
29544 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29545 line.
29546
2e96f1c7
AS
295472011-07-26 Andreas Schwab <schwab@redhat.com>
29548
29549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29550 encoding to ACE if AI_IDN.
29551
85188888
JJ
295522011-08-01 Jakub Jelinek <jakub@redhat.com>
29553
29554 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29555 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29556
5fa16e9b
LD
295572011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29558
29559 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29560 Fix overflow bug in strncat.
29561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29562
29563 * string/test-strncat.c: Update.
29564 Add new tests for checking overflow bugs.
29565
295662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29567
29568 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29569 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29570 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29571 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29572 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29573 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29574 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29575 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29576 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29577
29578 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29579 (USE_AS_STRCAT): Define.
29580 Add strcat and strncat support.
29581 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29582
8c1a459f
AS
295832011-07-25 Andreas Schwab <schwab@redhat.com>
29584
29585 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29586 __n bigger than INT_MAX+1.
29587 (__strncmp_g): Likewise.
29588
bba33c28
UD
295892011-07-23 Ulrich Drepper <drepper@gmail.com>
29590
798be72d
UD
29591 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29592 * libio/stido.h: Likewise.
29593
8accd4dc
UD
29594 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29595 (AF_NFC): Define.
29596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29597 (AF_NFC): Define.
29598
cbff0d96
UD
29599 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29600 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29601 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29602 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29604
9191c04a
UD
29605 [BZ #13021]
29606 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29607 installed.
29608
bba33c28
UD
29609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29610 typo.
29611 (_dl_x86_64_save_sse): Likewise.
29612
90f139dd
UD
296132011-07-22 Ulrich Drepper <drepper@gmail.com>
29614
1aae088a
UD
29615 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29616 OSXSAVE.
29617 (_dl_x86_64_save_sse): Likewise.
29618
8e2045f5
UD
29619 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29620
90f139dd
UD
29621 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29622
1d002f25
AS
296232011-07-21 Andreas Schwab <schwab@redhat.com>
29624
29625 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29626 change.
29627 (_dl_x86_64_save_sse): Use correct AVX check.
29628
21137f89
UD
296292011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29630
29631 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29632 bug in strncpy/strncat.
29633 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29634
a65c0b7a
UD
296352011-07-21 Ulrich Drepper <drepper@gmail.com>
29636
29637 * string/tester.c (test_strcat): Add tests for different alignments
29638 of source and destination.
29639 (test_strncat): Likewise.
29640
6986b98a
UD
296412011-07-20 Ulrich Drepper <drepper@gmail.com>
29642
90bb2039
UD
29643 [BZ #12852]
29644 * posix/glob.c (glob): Check passed in values before using them in
29645 expressions to avoid some overflows.
29646 (glob_in_dir): Likewise.
29647
5644ef54
UD
29648 [BZ #13007]
29649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29650 check for AVX enablement so that we don't crash with old kernels and
29651 new hardware.
29652 * elf/tst-audit4.c: Add same checks here.
29653 * elf/tst-audit6.c: Likewise.
29654
29655 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29656
bfc9dc9b
AS
296572011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29658
29659 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29660
702e64bb
UD
296612011-07-20 Ulrich Drepper <drepper@gmail.com>
29662
29663 * po/cs.po: Update from translation team.
29664 * po/bg.po: Likewise.
29665
295e904f
MP
296662011-07-12 Marek Polacek <mpolacek@redhat.com>
29667
29668 * misc/sys/cdefs.h: Add support for const attribute.
29669 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29670 to gnu_dev_{major,minor,makedev} functions.
29671
3ff94596
MP
296722011-07-20 Marek Polacek <mpolacek@redhat.com>
29673
29674 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29675
28b59fca
AS
296762011-07-20 Andreas Schwab <schwab@redhat.com>
29677
29678 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29679 strlen results.
29680
19df733e
AK
296812011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29682
29683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29684 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29685 register in order to avoid conflicts with the soft frame pointer
29686 being held in r11 when necessary.
29687 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29688 (INTERNAL_VSYSCALL_NCS): Likewise.
29689
c8835729
MP
296902011-07-14 Marek Polacek <mpolacek@redhat.com>
29691
29692 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29693 * elf/dl-fini.c (_dl_fini): Adjust caller.
29694 * elf/dl-close.c (_dl_close_worker): Likewise.
29695 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29696
b902330c
MP
296972011-07-15 Marek Polacek <mpolacek@redhat.com>
29698
8991e135
MP
29699 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29700 "aux_cache->nlibs < 0".
29701
b902330c
MP
29702 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29703 in the reload-count case.
29704
99710781
LD
297052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29706
29707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29708 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29709 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29710 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29711 * sysdeps/x86_64/multiarch/strcat.S: New file.
29712 * sysdeps/x86_64/multiarch/strncat.S: New file.
29713 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29714 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29715 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29716 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29717 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29718 (USE_AS_STRCAT): Define.
29719 Add strcat and strncat support.
29720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29721 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29722 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29723 * string/strncat.c: Update.
29724 (USE_AS_STRNCAT): Define.
29725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29726 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29727 and i7.
29728 * sysdeps/x86_64/multiarch/init-arch.h
29729 (bit_Prefer_PMINUB_for_stringop): New.
29730 (index_Prefer_PMINUB_for_stringop): Likewise.
29731 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29732 bit_Prefer_PMINUB_for_stringop.
29733
7dc6bd90
UD
297342011-07-19 Ulrich Drepper <drepper@gmail.com>
29735
29736 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29737 buffer64.
29738 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29739 of casting of buffer.
29740 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29741 buffer32 and buffer64.
29742 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29743 writes instead of casting of buffer.
29744 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29745 buffer32.
29746 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29747 casting of buffer.
29748
e0e72284
AS
297492011-07-19 Andreas Schwab <schwab@redhat.com>
29750
29751 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29752
feb1eb0b
UD
297532011-07-19 Ulrich Drepper <drepper@gmail.com>
29754
29755 * nscd/nscd.c (termination_handler): Don't do anything for a database
29756 if it has not yet been initialized.
29757
298711ff
UD
297582011-07-18 Ulrich Drepper <drepper@gmail.com>
29759
29760 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29761
297622011-07-15 Marek Polacek <mpolacek@redhat.com>
29763
29764 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29765
f9d68389
UD
297662011-07-18 Ulrich Drepper <drepper@gmail.com>
29767
29768 * po/nl.po: Update from translation team.
29769 * po/sv.po: Likewise.
29770
db290cf5
RM
297712011-07-16 Roland McGrath <roland@hack.frob.com>
29772
29773 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29774 now disallowed by GCC.
5c550700 29775
fd5e21c7
RM
29776 * configure.in (use-default-link): Default to yes if a test -shared
29777 link meets our qualifications.
29778 * configure: Regenerated.
29779
5c550700
RM
29780 * config.make.in (output-format): New variable.
29781 * configure.in: Check for ld --print-output-format support.
29782 * configure: Regenerated.
29783 * Makerules ($(common-objpfx)format.lds)
29784 [$(output-format) != unknown]: Just use $(output-format),
29785 instead of the linker-script munging.
29786
9fa2c032
RM
297872011-07-14 Roland McGrath <roland@hack.frob.com>
29788
a6928d51
RM
29789 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29790 of $(common-objpfx)shlib.lds.
29791 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29792
661607b3
RM
29793 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29794 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29795
9fa2c032
RM
29796 * configure.in (-z relro check): Adjust test code to add a large
29797 writable data section after it.
29798 * configure: Regenerated.
29799
defe9061
RM
298002011-07-11 Roland McGrath <roland@hack.frob.com>
29801
29802 * configure.in (-z relro check): Fix test code to make the variable
29803 truly const.
29804 * configure: Regenerated.
29805
319b9ad4
UD
298062011-07-11 Ulrich Drepper <drepper@gmail.com>
29807
29808 * nscd/nscd.h (struct traced_file): Define.
29809 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29810 elements. Add traced_files.
29811 (inotify_fd): Declare.
29812 (register_traced_file): Declare.
29813 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29814 (inotify_fd): Export.
29815 (resolv_conf_descr): Remove.
29816 (nscd_init): Move inotify descriptor creation to main.
29817 Don't register files for notification here.
29818 (register_traced_file): New function.
29819 (invalidate_cache): Don't use reset_res to determine whether to call
29820 res_init, go through the list of registered files.
29821 (main_loop_poll): The inotify descriptors are now stored in the
29822 structures for the traced files.
29823 (main_loop_epoll): Likewise
29824 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29825 to __nss_disable_nscd.
29826 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29827 for a database anymore. Check the records for all the registered
29828 files instead.
29829 * nss/Makefile (libnss_files-routines): Add files-init.
29830 (libnss_db-routines): Add db-init.
29831 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29832 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29833 * nss/nss_db/db-init.c: New file.
29834 * nss/nss_files/files-init.c: New file.
29835 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29836 __nss_lookup_function.
29837 (__nss_lookup_function): Call nss_load_library.
29838 (nss_load_all_libraries): New function.
29839 (__nss_disable_nscd): Take parameter with callback function for files
29840 to register. Set is_nscd. Load all the DSOs for the NSS modules
29841 used for the cached services.
29842 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29843 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29844 options for features to all the files in nscd.
29845
29846 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29847
23bee3e8
RM
298482011-07-10 Roland McGrath <roland@hack.frob.com>
29849
29850 * csu/elf-init.c (__libc_csu_init): Comment typo.
29851
46a5b7f0
UD
298522011-07-09 Ulrich Drepper <drepper@gmail.com>
29853
29854 * po/pl.po: Update from translation team.
29855 * po/ja.po: Likewise.
29856 * po/ru.po: Likewise.
29857 * po/ko.po: Likewise.
29858 * po/fr.po: Likewise.
29859
d30cf5bb
RM
298602011-07-09 Roland McGrath <roland@hack.frob.com>
29861
113ddea4
RM
29862 * configure.in (.ctors/.dtors header and trailer check):
29863 Use an empirical test on a built program.
29864 * configure: Regenerated.
29865
574920b4
RM
29866 * configure.in (-z relro check): Use an empirical test on a built DSO.
29867 Detect, but do not require, on ia64.
29868 * configure: Regenerated.
29869
d30cf5bb
RM
29870 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29871 Update tests that use readelf to use $READELF instead.
29872 * configure: Regenerated.
29873
8538fdb3
UD
298742011-07-08 Ulrich Drepper <drepper@gmail.com>
29875
29876 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29877 if the result is not used.
29878
04d08991
AJ
298792011-07-05 Andreas Jaeger <aj@suse.de>
29880
29881 [BZ#9696]
29882 * stdlib/tst-strtod.c: Add testcase.
29883
de283087
AD
298842011-07-07 Ulrich Drepper <drepper@gmail.com>
29885
4e5f31c8 29886 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29887 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29888 The latter has a higher limit. Take additional parameter to pass to
29889 the new function.
29890 (__pathconf): Pass file to __statfs_link_max.
29891 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29892 __statfs_link_max.
29893 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29894 __statfs_link_max.
29895
de283087
AD
29896 [BZ #12868]
29897 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29898 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29899 Handle Lustre.
29900 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29901 (__statfs_filesize_max): Likewise.
29902 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29903
c75fa153
AJ
299042011-07-05 Andreas Jaeger <aj@suse.de>
29905
29906 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29907
1a544854
UD
299082011-07-06 Marek Polacek <mpolacek@redhat.com>
29909
29910 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29911 `status' variable.
29912 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29913 Likewise.
29914
6f0eec67
UD
299152011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29916
29917 * Makefile (strop-tests): Add strncat.
29918 * string/test-strncat.c: New file.
29919
aae30307
UD
299202011-06-30 Marek Polacek <mpolacek@redhat.com>
29921
29922 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29923
c0cfb5eb
UD
299242011-06-21 Andreas Jaeger <aj@suse.de>
29925
29926 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29927 Copy rule from iconvdata/Makefile.
29928
01636b21
UD
299292011-07-06 Ulrich Drepper <drepper@gmail.com>
29930
29931 [BZ #12922]
29932 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29933 but no long options are defined, just return 'W'.
29934
9895c8bc
UD
299352011-06-22 Marek Polacek <mpolacek@redhat.com>
29936
29937 [BZ #9696]
29938 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29939
5d4cf042
UD
299402011-07-06 Ulrich Drepper <drepper@gmail.com>
29941
29942 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29943 netgroups to read.
960e5535 29944 (innetgr): Likewise.
5d4cf042 29945
751eb97e
RM
299462011-07-05 Roland McGrath <roland@hack.frob.com>
29947
29948 * config.make.in (install_root): Default to $(DESTDIR).
29949
f15f1e45
UD
299502011-07-05 Ulrich Drepper <drepper@gmail.com>
29951
29952 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29953
4e34ac6a
RM
299542011-07-02 Roland McGrath <roland@hack.frob.com>
29955
5e9b6af4
RM
29956 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29957
84f9ea0f
RM
29958 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29959 containing directory rather than embedding absolute directory names.
29960
ea5ee9f7
RM
29961 * scripts/check-local-headers.sh: Rewritten using awk.
29962 Match by word, not by line. Print error messages for matches.
29963 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29964
1b74661a
RM
29965 * Makerules [shlib-lds-flags empty]:
29966 ($(common-objpfx)libc_pic.opts): New target.
29967 ($(common-objpfx)libc_pic.os.clean): New target.
29968 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29969
29970 * config.make.in (OBJCOPY): New variable.
29971 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29972 * configure: Regenerated.
29973
f781ef40
RM
29974 * config.make.in (use-default-link): New variable.
29975 * configure.in (use_default_link): Grok --with-default-link to set it.
29976 * configure: Regenerated.
29977 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29978 (shlib-lds, shlib-lds-flags): Define to empty.
29979
2d4fa81e
RM
29980 * Makerules (shlib-lds): New variable.
29981 (shlib-lds-flags): New variable.
29982 (build-shlib, build-moduile, build-module-asneeded): Use it.
29983 ($(common-objpfx)libc.so): Use $(shlib-lds).
29984 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29985 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29986
31fffa6b
RM
29987 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29988 DT_FLAGS/DT_FLAGS_1 with zero flags.
29989
4e34ac6a
RM
29990 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29991 linker script munging.
29992
fcfc776b
UD
299932011-07-02 Ulrich Drepper <drepper@gmail.com>
29994
29995 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29996 as 128-bit value.
29997 * crypt/sha512.c (sha512_process_block): Perform total addition using
29998 128-bit if possible.
29999 (__sha512_finish_ctx): Likewise.
30000 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30001 as 64-bit value.
30002 * crypt/sha256.c (SWAP64): Define.
30003 (sha256_process_block): Perform total addition using 64-bit if
30004 possible.
30005 (__sha256_finish_ctx): Likewise.
30006
99231d9a
UD
300072011-07-01 Ulrich Drepper <drepper@gmail.com>
30008
30009 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30010 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30011 * nscd/hstcache.c (cache_addhst): Likewise.
30012 * nscd/grpcache.c (cache_addgr): Likewise.
30013 * nscd/aicache.c (addhstaiX): Likewise
30014 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30015
445b4a53
TK
300162011-07-01 Thorsten Kukuk <kukuk@suse.de>
30017
30018 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30019 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30020 * nscd/hstcache.c (cache_addhst): Likewise.
30021 * nscd/grpcache.c (cache_addgr): Likewise.
30022 * nscd/aicache.c (addhstaiX): Likewise
30023
6d4d8e8e
AS
300242011-07-01 Andreas Schwab <schwab@redhat.com>
30025
30026 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30027 domain only when needed.
30028
89f654c5
AS
300292011-06-30 Andreas Schwab <schwab@redhat.com>
30030
30031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30032 is always restored.
30033
cf3b23ff
UD
300342011-06-29 Ulrich Drepper <drepper@gmail.com>
30035
30036 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30037 are re-adding the entry.
30038 * nscd/servicescache.c (cache_addserv): Likewise.
30039
751626f9
AJ
300402011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30041
30042 * sysdeps/generic/dl-irel.h: fix protection against multiple
30043 inclusions.
30044 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30045
9113ea1f
UD
300462011-06-28 Ulrich Drepper <drepper@gmail.com>
30047
5c0b8d90
UD
30048 [BZ #12935]
30049 * malloc/memusage.sh: Fix quoting in message.
30050 * debug/xtrace.sh: Likewise.
30051
9113ea1f
UD
30052 * configure.in: Remove support for --experimental-malloc option, make
30053 it the default.
30054 * config.make.in: Likewise.
30055 * malloc/Makefile: Likewise.
30056
a4172181
AS
300572011-06-27 Andreas Schwab <schwab@redhat.com>
30058
30059 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30060 two-byte characters.
30061
78a7eee7
RM
300622011-06-27 Roland McGrath <roland@hack.frob.com>
30063
62bede13
RM
30064 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30065 AC_CACHE_CHECK invocation.
30066 * configure: Regenerated.
30067
78a7eee7
RM
30068 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30069
5ce33a62
UD
300702011-06-27 Ulrich Drepper <drepper@gmail.com>
30071
034807a9
UD
30072 [BZ #12350]
30073 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30074 bit from old_res_options.
30075
4902da17
UD
30076 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30077
5ce33a62
UD
30078 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30079 value type for setfct.
30080
c2344f56
L
300812011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30082
30083 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30084 __gettimeofday instead of gettimeofday.
30085
68468076
UD
300862011-06-26 Ulrich Drepper <drepper@gmail.com>
30087
30088 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30089
acb0d739
L
300902011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30091
30092 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30093
30094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30095 info.
30096
8912479f
L
300972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30098
30099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30100 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30101 strcpy-sse2-unaligned strncpy-sse2-unaligned
30102 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30103 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30104 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30105 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30106 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30107 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30108 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30109 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30110 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30111 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30112 (STRCPY): Support SSE2 and SSSE3 versions.
30113
d5495a11
UD
301142011-06-24 Ulrich Drepper <drepper@gmail.com>
30115
30116 [BZ #12874]
30117 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30118 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30119 kernels which artificially limit size of requests.
30120
0b1cbaae
L
301212011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30122
30123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30124 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30125 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30126 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30127 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30128 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30129 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30130 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30131 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30133 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30134 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30135 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30136 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30137 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30139 Enable unaligned load optimization for Intel Core i3, i5 and i7
30140 processors.
30141 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30142 Define.
30143 (index_Fast_Unaligned_Load): Define.
30144 (HAS_FAST_UNALIGNED_LOAD): Define.
30145
07f494a0
MP
301462011-06-23 Marek Polacek <mpolacek@redhat.com>
30147
30148 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30149
fa3fc0fe
UD
301502011-06-22 Ulrich Drepper <drepper@gmail.com>
30151
30152 [BZ #12907]
30153 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30154 until it is clear that the information is realy needed.
30155 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30156
e12df166
AS
301572011-06-22 Andreas Schwab <schwab@redhat.com>
30158
30159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30160
852eb34d
UD
301612011-06-22 Ulrich Drepper <drepper@gmail.com>
30162
84e2a551
UD
30163 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30164 /sys/devices/system/cpu/online if it is usable.
30165
852eb34d
UD
30166 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30167 reading the information from the /proc filesystem to once a second.
30168
6e502e19
UD
301692011-06-21 Andreas Jaeger <aj@suse.de>
30170
30171 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30172 NULL after inclusion of kernel headers.
30173
75d39ff2
UD
301742011-06-21 Ulrich Drepper <drepper@gmail.com>
30175
51f9aa6a
UD
30176 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30177 calls to internal_setent.
30178
c0244a9d
UD
30179 [BZ #12885]
30180 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30181 addresses using gethostbyname4_r ignore IPv4 addresses.
30182
c5e3c2ae
UD
30183 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30184 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30185
75d39ff2
UD
30186 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30187
42675c6f
DM
301882011-06-20 David S. Miller <davem@davemloft.net>
30189
30190 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30191 inclusions.
30192 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30193
30194 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30195 (elf_irel): Use it.
30196 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30197 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30198 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30199 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30200 * sysdeps/x86_64/dl-irel.h: Likewise.
30201
30202 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30203 * elf/dl-sym.c: Likewise.
30204
57912a71
UD
302052011-06-15 Ulrich Drepper <drepper@gmail.com>
30206
30207 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30208 need to dereference resplen2.
30209
ee22793d
AS
302102011-06-14 Andreas Schwab <schwab@redhat.com>
30211
30212 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30213
a9e836b0
UD
302142011-06-15 Ulrich Drepper <drepper@gmail.com>
30215
77fb9117
UD
30216 * Makeconfig: Define vardbdir and inst_vardbdir.
30217 * nss/Makefile: Add rules to install db-Makefile.
30218
40c1b22c
UD
30219 * nss/nss_db/db-XXX.c: Cleanup.
30220
9f2da732
UD
30221 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30222 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30223 GLIBC_PRIVATE.
30224 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30225 * nss/makedb.c: Implement -g option to specify that value strings
30226 are generated and should not be added to table iterated over for
30227 get*ent calls.
30228 * nss/nss_db/db-initgroups.c: New file.
30229
82e9a1f7
UD
30230 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30231 interface.
30232
c41af17e
UD
30233 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30234 (internal_getgrouplist): Adjust to name change.
30235 Update use_initgroups_entry if this is not the first call.
30236 * nss/databases.def: Add initgroups entry.
30237
a9e836b0
UD
30238 * nss/makedb.c (compute_tables): Check result of multiple hash table
30239 sizes to minimize maximum chain length.
30240
2666d441
UD
302412011-06-14 Ulrich Drepper <drepper@gmail.com>
30242
30243 * Versions.def: Add entry for libnss_db.
30244 * shlib-versions: Likewise.
30245 * nss/Makefile: Add rules to build libnss_db.
30246 * nss/Versions: Add libnss_db information. Organize libnss_files
30247 entries better.
30248 * nss/db-Makefile: Add gshadow support. Change rules for the new
30249 makedb progra. Some minor improvements to generate smaller files.
30250 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30251 here from...
30252 * nss/makedb.c: ...here.
30253 Improve database format to be smaller and require less memory at
30254 runtime.
30255 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30256 db anymore.
30257 * nss/nss_db/db-netgrp.c: Likewise.
30258 * nss/nss_db/db-open.c: Likewise.
30259 * nss/nss_files/flies-XXX.x: Adjust comments.
30260 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30261 * nss/nss_files/files-grp.c: Likewise.
30262 * nss/nss_files/files-hosts.c: Likewise.
30263 * nss/nss_files/files-network.c: Likewise.
30264 * nss/nss_files/files-proto.c: Likewise.
30265 * nss/nss_files/files-pwd.c: Likewise.
30266 * nss/nss_files/files-rpc.c: Likewise.
30267 * nss/nss_files/files-service.c: Likewise.
30268 * nss/nss_files/files-sgrp.c: Likewise.
30269 * nss/nss_files/files-spwd.c: Likewise.
30270 * nss/nss_db/db-alias.c: Removed.
30271 * nss/nss_db/dummy-db.h: Removed.
30272
9ee76b5a
UD
302732011-06-02 Ulrich Drepper <drepper@gmail.com>
30274
30275 * nss/makedb.c: Rewritten to not use database library.
30276 * nss/Makefile: Update to build new makedb program.
30277
c71ca1f8
AJ
302782011-06-14 Andreas Jaeger <aj@suse.de>
30279
30280 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30281 memset declaration.
30282
3154bfb8
UD
302832011-06-10 Andreas Schwab <schwab@redhat.com>
30284
30285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30286 tmpbuf.
30287
b350afab
RM
302882011-06-10 Roland McGrath <roland@hack.frob.com>
30289
decd4e50
RM
30290 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30291 * elf/Makefile ($(objpfx)ld.so): Likewise.
30292
5615eaf2
RM
30293 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30294 Don't list ld.so twice in dependencies.
30295
30296 * posix/bug-regex31.c: Include <stdlib.h>.
30297
30298 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30299
30300 * nis/nss_compat/compat-spwd.c
30301 (getspent_next_nss_netgr): Remove unused variable.
30302 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30303
30304 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30305 nonmembers" output to use the right array.
30306
30307 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30308
30309 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30310
30311 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30312 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30313 * catgets/gencat.c (read_input_file): Likewise.
30314 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30315
30316 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30317 variable definition inside #if's controlling its use.
30318
30319 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30320
30321 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30322
30323 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30324
30325 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30326 unreachable code.
30327
30328 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30329
b68e08db
RM
30330 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30331 * configure: Regenerated.
30332
b350afab
RM
30333 * Makerules: Revert last change.
30334 * elf/Makefile: Likewise.
30335
28368601
RM
303362011-06-09 Roland McGrath <roland@hack.frob.com>
30337
30338 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30339 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30340 (reloc-link): Likewise.
30341
11988f8f
UD
303422011-06-09 Ulrich Drepper <drepper@gmail.com>
30343
30344 * elf/Makefile: Add rules to build pldd.
30345 * elf/pldd.c: New file.
30346 * elf/pldd-xx.c: New file.
30347
e80fab37
UD
303482011-06-07 Ulrich Drepper <drepper@gmail.com>
30349
30350 * version.h: Update for 2.15 development version.
30351
9b849836
DM
303522011-06-07 David S. Miller <davem@davemloft.net>
30353
30354 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30355 ifuncs.
30356 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30357 elf_machine_lazy_rel): Likewise.
30358 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30359 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30360 elf_machine_lazy_rel): Likewise.
30361 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30362 dl_hwcap via passed in argument.
30363 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30364 Likewise.
30365
5a31b283
AK
303662011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30367
30368 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30369
069e52f8
RM
303702011-06-06 Roland McGrath <roland@hack.frob.com>
30371
30372 [BZ #12849]
30373 * manual/fdl-1.1.texi: New file, verbatim from:
30374 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30375 * manual/lgpl-2.1.texi: New file, verbatim from:
30376 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30377 * manual/Makefile (licenses): New variable, list those new file names.
30378 (texis): Use it.
30379 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30380
30381 * manual/fdl.texi: File removed.
30382 * manual/lesser.texi: File removed.
30383 * manual/libc.texinfo (Copying, Documentation License):
30384 Use new @include file names, put @appendix directive before @include.
30385
f16846a5
JJ
303862011-06-04 Jakub Jelinek <jakub@redhat.com>
30387
30388 [BZ #12841]
30389 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30390 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30391 (mq_open): Add __NTH.
30392
3d29045b
L
303932011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30394
30395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30396 Assume Intel Core i3/i5/i7 processor if AVX is available.
30397
8c297311
UD
303982011-05-31 Ulrich Drepper <drepper@gmail.com>
30399
30400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30401 typo.
30402
c8fc0c91
UD
304032011-05-31 Andreas Schwab <schwab@redhat.com>
30404
30405 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30406 memory. Use alloca_account. Fix memory leak when retrying.
30407
5b27a807
UD
304082011-05-31 Ulrich Drepper <drepper@gmail.com>
30409
356f8bc6
UD
30410 * version.h (RELEASE): Bump for 2.14 release.
30411 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30412
5b27a807
UD
30413 * config.make.in (RANLIB): Remove entry.
30414
01f16ab0
UD
304152011-05-30 Ulrich Drepper <drepper@gmail.com>
30416
41fce8bd
UD
30417 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30418 (libc.pot): Work around missing support for .ksh extension in xgettext.
30419
4769ae77
UD
30420 [BZ #12684]
30421 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30422 if both request failed.
30423 (send_dg): In case of server errors clear resplen or *resplen2.
30424
6b1e7d19
UD
30425 [BZ #12454]
30426 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30427 when there are multiple maps.
30428 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30429 (_dl_fini): Remove test here.
30430
01f16ab0
UD
30431 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30432
b1ebd700
UD
304332011-05-29 Ulrich Drepper <drepper@gmail.com>
30434
7ae22829
UD
30435 [BZ #12350]
30436 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30437 bit from old_res_options.
30438 (gaih_inet): Likewise.
30439
553149f6 30440 [BZ #11099]
18a84741 30441 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30442 as signed.
30443
652ffab1
UD
30444 * resolv/res_init.c (res_setoptions): Make the code more compact.
30445
16985fd0
UD
30446 [BZ #11558]
30447 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30448 set RES_USEVC.
30449
0464f746
UD
30450 [BZ #11634]
30451 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30452
7d17596c
UD
30453 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30454
cf6bbbd7
UD
30455 [BZ #11781]
30456 * malloc/malloc.h: Declare malloc hook variables as volatile.
30457
13f1ab36
UD
30458 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30459 in last patch.
30460
b1ebd700
UD
30461 [BZ #11799]
30462 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30463 raise in the comment.
80e2212d
UD
30464 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30465 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30466 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30467
ce67228d
UD
304682011-05-28 Ulrich Drepper <drepper@gmail.com>
30469
8887a920
UD
30470 [BZ #12811]
30471 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30472 grow the buffers more if it already has to be sufficient.
30473 (build_wcs_upper_buffer): Likewise.
30474 * posix/regexec.c (check_matching): Likewise.
30475 (clean_state_log_if_needed): Likewise.
30476 (extend_buffers): Don't enlarge buffers beyond size of the input
30477 buffer.
30478 Patches mostly by Emil Wojak <emil@wojak.eu>.
30479 * posix/bug-regex32.c: New file.
30480 * posix/Makefile (tests): Add bug-regex32.
30481
4f031072
UD
30482 * locale/findlocale.c (_nl_find_locale): Return right away if
30483 _nl_explode_name failed.
30484 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30485
d0478f0c
UD
30486 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30487
de81b246
UD
30488 * debug/xtrace.sh: Unify messages.
30489 * malloc/memusage.sh: Likewise.
30490
c738465a
UD
30491 [BZ #12813]
30492 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30493 time symbol from vDSO. Substitute with vsyscall if not available.
30494 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30495 __vdso_time.
30496
f1f929d7
UD
30497 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30498 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30499 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30500 Add sendmmsg and internal_sendmmsg.
30501 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30502 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30503 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30504
ce67228d
UD
30505 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30506 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30507 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30508
e57420c6
UD
305092011-05-27 Ulrich Drepper <drepper@gmail.com>
30510
a8509ca5
UD
30511 [BZ #12813]
30512 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30513 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30514 available.
30515 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30516 __vdso_getcpu.
30517
e57420c6
UD
30518 [BZ #12814]
30519 * iconvdata/Makefile (tests): Add bug-iconv9.
30520 * iconvdata/bug-iconv9.c: New file.
30521
4d07db15
AS
305222011-05-27 Andreas Schwab <schwab@redhat.com>
30523
30524 [BZ #12814]
30525 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30526
ea486f69
JJ
305272011-05-25 Jakub Jelinek <jakub@redhat.com>
30528
30529 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30530 (struct user_regs_struct): Change intcs field back to cs.
30531
6f038433
UD
305322011-05-25 Ulrich Drepper <drepper@gmail.com>
30533
30534 * po/ja.po: Update from translation team.
30535
67f86a25
UD
305362011-05-23 Ulrich Drepper <drepper@gmail.com>
30537
30538 [BZ #12795]
30539 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30540 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30541
def7fbd6
AS
305422011-05-20 Andreas Schwab <schwab@redhat.com>
30543
30544 * stdlib/longlong.h: Update from GCC.
30545
f50ef8f1
AS
305462011-05-23 Andreas Schwab <schwab@redhat.com>
30547
30548 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30549 parameter name.
30550 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30551 Add parameter name.
30552 (__sysconf): Pass it down.
30553
de7ce8f1
UD
305542011-05-22 Ulrich Drepper <drepper@gmail.com>
30555
f2962a71
UD
30556 [BZ #12671]
30557 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30558 some situations.
30559 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30560 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30561 add in in __libc_use_alloca calls. Adjust callers.
30562 (glob): Use malloc in some situations.
30563
de7ce8f1
UD
30564 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30565 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30566 pltexit.
30567
aec84f53
UD
305682011-05-21 Ulrich Drepper <drepper@gmail.com>
30569
05bb4a68
UD
30570 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30571 and CLOCK_BOOTTIME_ALARM.
30572
7ea72f99
UD
30573 [BZ #12782]
30574 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30575 is returned.
30576
7e4afad5
UD
30577 * string/_strerror.c (__strerror_r): Print negative errors as signed
30578 numbers.
30579
8e211fec
UD
30580 [BZ #12777]
30581 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30582 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30583 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30584
f7d82dc9
UD
30585 * configure.in: Fix typo in redirection and correct removal of test
30586 files in two cases.
30587
cc9e536d
UD
30588 [BZ #12788]
30589 * locale/setlocale.c (new_composite_name): Fix test to check for
30590 identical name of all categories.
30591
aec84f53
UD
30592 [BZ #12792]
30593 * libio/filedoalloc.c (local_isatty): New function.
30594 (_IO_file_doallocate): Use local_isatty.
30595 * stdio-common/perror.c (perror): In case a new stream is used
30596 forward the stream error.
30597 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30598 error flag.
30599
78e64fdc
RT
306002011-05-20 Ulrich Drepper <drepper@gmail.com>
30601
34a9094f
UD
30602 [BZ #11869]
30603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30604 alloca.
30605 * include/alloca.h (extend_alloca_account): Define.
30606
78e64fdc
RT
30607 [BZ #11857]
30608 * posix/regex.h: Fix comments with documentation of user-accessible
30609 fields after compilation and describe correct free'ing of pattern
30610 after re_compile_pattern.
30611 Patch by Reuben Thomas <rrt@sc3d.org>.
30612
457bddfc
RA
306132011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30614
30615 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30616 and -mno-altivec to prevent the compiler from using Altivec and/or
30617 VSX instructions when the corresponding registers are not available.
30618
a4527b51
AS
306192011-05-19 Andreas Schwab <schwab@redhat.com>
30620
30621 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30622
ed690b2f
UD
306232011-05-19 Ulrich Drepper <drepper@gmail.com>
30624
30625 * libio/freopen.c (freopen): Use __dup2, not dup2.
30626 * libio/freopen64.c (freopen64): Likewise.
30627
8db73634
L
306282011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30629
30630 [BZ #12775]
30631 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30632 * math/Makefile (tests): Add test-powl.
30633 (CFLAGS-test-powl.c): Define.
30634 * math/test-powl.c: New file.
30635
0a197a9d
L
306362011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30637
30638 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30639
ee30c380
UD
306402011-05-17 Ulrich Drepper <drepper@gmail.com>
30641
30642 [BZ #11837]
30643 * iconvdata/gb18030.c: Update to GB18020-2005.
30644
6ce75379
UD
306452011-05-16 Ulrich Drepper <drepper@gmail.com>
30646
a4b89fd8
AR
30647 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30648 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30649 Patch by Aharon Robbins <arnold@skeeve.com>.
30650
ea389b12
UD
30651 [BZ #11892]
30652 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30653 on the stack.
30654
68a3f91f
UD
30655 [BZ #11895]
30656 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30657 through underflows.
30658
15cc7dd1
UD
30659 [BZ #12766]
30660 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30661 point to strings before performing equality test for error_one_per_line
30662 mode.
30663
f3799213
UD
30664 [BZ #11697]
30665 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30666
d79a9c94
UD
30667 [BZ #11820]
30668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30669 (struct user_fpregs_struct): Avoid __uint*_t types.
30670
56e5eb46
UD
30671 [BZ #6420]
30672 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30673 symbol info. Use it instead of calling _dl_addr locally.
30674 (lock_and_info): New function.
30675 (tr_freehook): Call lock_and_info and pass symbol info as additional
30676 parameter to tr_where.
30677 (tr_mallochook): Likewise.
30678 (tr_reallochook): Likewise.
30679 (tr_memalignhook): Likewise.
30680
6ce75379
UD
30681 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30682 used and couldn't be at all thread-safe.
30683
f8a3b5bf
UD
306842011-05-15 Ulrich Drepper <drepper@gmail.com>
30685
94b7cc37
UD
30686 * libio/freopen.c (freopen): Don't close old file descriptor
30687 before the new one is opened. Instead dup the new file descriptor
30688 to the old one after the new stream is created.
30689 * libio/freopen64.c (freopen64): Likewise.
30690 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30691 * libio/fileops.c (_IO_new_file_close_it): Handle new
30692 _IO_FLAGS2_NOCLOSE flag.
30693 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30694 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30695 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30696 _IO_FLAGS2_NOCLOSE flag.
30697 * include/unistd.h: Add hidden_proto for dup3.
30698 Define __have_dup3.
30699 * io/dup3.c: Define hidden symbol.
30700 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30701
bd25564e
UD
30702 [BZ #7101]
30703 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30704 when an incomplete long option is used.
30705 * posix/tst-getopt_long1.c: New file.
30706 * posix/Makefile (tests): Add tst-getopt_long1.
30707
c84cfef4
UD
30708 [BZ #10138]
30709 * scripts/config.guess: Update from autoconf-2.68.
30710 * scripts/config.sub: Likewise.
30711
3b85df27
UD
30712 [BZ #10157]
30713 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30714 tests into ...
30715 (has_cpuclock): ...this. New function.
30716 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30717 macro here based on has_cpuclock code.
30718
15a856b1
UD
30719 [BZ #10149]
30720 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30721 First byte (not low byte) is now always NUL.
30722 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30723
05f399e6
UD
30724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30725 Use non-cancelable interfaces.
30726
10a52685 30727 [BZ #9809]
94ecc67d
UD
30728 * locale/iso-639.def: Add entry for Sorani.
30729
f8a3b5bf
UD
30730 [BZ #11901]
30731 * include/stdlib.h: Move include protection to the right place.
30732 Define abort_msg_s. Declare __abort_msg with it.
30733 * stdlib/abort.c (__abort_msg): Adjust type.
30734 * assert/assert.c (__assert_fail_base): New function. Majority
30735 of code from __assert_fail. Allocate memory for __abort_msg with
30736 mmap.
30737 (__assert_fail): Now call __assert_fail_base.
30738 * assert/assert-perr.c: Remove bulk of implementation. Use
30739 __assert_fail_base.
30740 * include/assert.hL Declare __assert_fail_base.
30741 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30742 mmap.
30743 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30744
1af4e298
UD
307452011-05-14 Ulrich Drepper <drepper@gmail.com>
30746
f8a3b5bf 30747 [BZ #11952]
d26dfc60
MG
30748 [BZ #12453]
30749 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30750 until all modules are registered in the DTV.
30751 * elf/Makefile: Add rules to build and run tst-tls19.
30752 * elf/tst-tls19.c: New file.
30753 * elf/tst-tls19mod1.c: New file.
30754 * elf/tst-tls19mod2.c: New file.
30755 * elf/tst-tls19mod3.c: New file.
30756 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30757
2fc54d6f
UD
30758 [BZ #12083]
30759 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30760 correctly.
30761
98d76b46
UD
30762 [BZ #12601]
30763 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30764 two-byte sequence errors.
30765 * iconvdata/Makefile (tests): Add bug-iconv8.
30766 * iconvdata/bug-iconv8.c: New file.
30767
da3c19ef
UD
30768 [BZ #12626]
30769 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30770 buf2 definition.
30771
ca408c15
UD
30772 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30773
d6f67f7d
UD
30774 [BZ #12432]
30775 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30776 (dummy_getcfa): New function.
30777 (init): Get _Unwind_GetCFA address, use dummy if not found.
30778 (backtrace_helper): In recursion check, also check whether CFA changes.
30779 (__backtrace): Completely initialize arg.
30780
1af4e298 30781 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30782 storing incomplete byte sequence in state object. Avoid testing for
30783 guaranteed too small input if we know there is enough data available.
1af4e298 30784
da62f81b
AS
307852011-05-11 Andreas Schwab <schwab@redhat.com>
30786
30787 * Makeconfig (+link-pie): Indent.
30788 * Rules (binaries-pie): Define if $(have-fpie) and
30789 $(build-shared).
30790 (binaries-shared): Also filter out $(binaries-pie).
30791 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30792 * nscd/Makefile (others-pie): Add nscd.
30793 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30794 ($(objpfx)nscd): Remove command override.
30795 * login/Makefile (others-pie): Add pt_chown.
30796 ($(objpfx)pt_chown): Remove command override.
30797 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30798 remove command overrides.
30799
fcabc0f8
UD
308002011-05-13 Ulrich Drepper <drepper@gmail.com>
30801
20030ae6
UD
30802 * libio/tst_putwc.c: Fix error messages.
30803
fcabc0f8
UD
30804 [BZ #12724]
30805 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30806 currently writing and seek to current position when not.
30807 * libio/Makefile (tests): Add bug-fclose1.
30808 * libio/bug-fclose1.c: New file.
30809
320a5dc0
PB
308102011-05-12 Ulrich Drepper <drepper@gmail.com>
30811
30812 [BZ #12511]
30813 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30814 don't set DF_1_NODELETE here.
30815 (do_lookup_x): When entering new entry test for copy relocation
30816 and if necessary set DF_1_NODELETE flag.
30817 * elf/tst-unique4.cc: New file.
30818 * elf/tst-unique4.h: New file.
30819 * elf/tst-unique4lib.cc: New file.
30820 * elf/Makefile: Add rules to build and run tst-unique4.
30821 Patch by Piotr Bury <pbury@goahead.com>.
30822
22836f52
UD
308232011-05-11 Ulrich Drepper <drepper@gmail.com>
30824
f574184a
UD
30825 [BZ #12052]
30826 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30827
e1fb097f
UD
30828 [BZ #12625]
30829 * misc/mntent_r.c (addmntent): Flush the stream after the output
30830
22836f52
UD
30831 [BZ #12393]
30832 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30833 (is_trusted_path_normalize): Skip initial colon. Append slash
30834 to empty buffer. Duplicate is_trusted_path code but allow
30835 constructed patch to be prefix.
30836 (is_dst): Allow $ORIGIN followed by /.
30837 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30838 Correct testing of result of is_trusted_path_normalize
30839 (decompose_rpath): Fix warning.
30840
7b3b0b2a
UD
308412011-05-10 Ulrich Drepper <drepper@gmail.com>
30842
30843 [BZ #11257]
30844 * grp/initgroups.c (internal_getgrouplist): When we found the service
30845 list through the initgroups entry in nsswitch.conf do not always
30846 continue on a successful lookup. Don't always use the
eac80ce2 30847 __nss_group_database value if it is set.
7b3b0b2a
UD
30848 * nss/nsswitch.conf (initgroups): Change action for successful db
30849 lookup to continue for compatibility.
30850
2a81eaa5
UD
308512011-05-09 Ulrich Drepper <drepper@gmail.com>
30852
be97a69e
UD
30853 [BZ #11532]
30854 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30855 and CP774 modules.
30856 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30857 and CP774 modules.
30858 * iconvdata/tst-tables.sh: Likewise.
30859 * iconvdata/cp770.c: New file.
30860 * iconvdata/cp771.c: New file.
30861 * iconvdata/cp772.c: New file.
30862 * iconvdata/cp773.c: New file.
30863 * iconvdata/cp774.c: New file.
30864 * iconvdata/testdata/CP770: New file.
30865 * iconvdata/testdata/CP770..UTF8: New file.
30866 * iconvdata/testdata/CP771: New file.
30867 * iconvdata/testdata/CP771..UTF8: New file.
30868 * iconvdata/testdata/CP772: New file.
30869 * iconvdata/testdata/CP772..UTF8: New file.
30870 * iconvdata/testdata/CP773: New file.
30871 * iconvdata/testdata/CP773..UTF8: New file.
30872 * iconvdata/testdata/CP774: New file.
30873 * iconvdata/testdata/CP774..UTF8: New file.
30874
30875 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30876 END CHARMAP line.
30877 * iconvdata/gen-8bit-gap.sh: Likewise.
30878 * iconvdata/gen-8bit.sh: Likewise.
30879
c1e9e399
UD
30880 * locale/iso-639.def: Add ary entry.
30881
24c55fb3 30882 [BZ #11258]
96b4b1b0
UD
30883 * locale/C-translit.h.in: Add U20A1 transliteration.
30884
bdc2f971
KB
30885 [BZ #12178]
30886 * locale/iso-639.def: Add wae entry.
30887 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30888
2952b117
UD
30889 [BZ #12545]
30890 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30891 for n.
30892
2a81eaa5
UD
30893 [BZ #12711]
30894 * locale/C-translit.h.in: Add entry for U20B9.
30895 Patch by pravin.d.s@gmail.com.
30896
28377d1b
UD
308972011-05-08 Ulrich Drepper <drepper@gmail.com>
30898
7fb90fb8
UD
30899 [BZ #12713]
30900 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30901 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30902 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30903 in rtld. Use *stat64.
7fb90fb8 30904 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30905 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30906 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30907 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30908 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30909 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30910 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30911 __fstatat64 macros.
7fb90fb8
UD
30912 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30913 * dirent/rewinddir.c: Add libc_hidden_def.
30914 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30915 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30916
28377d1b
UD
30917 * include/dirent.h (__alloc_dir): Add flags parameter.
30918 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30919 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30920 __alloc_dir.
30921 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30922 from fdopendir if O_CLOEXEC is already set.
30923
66bdbaa4
AM
309242011-03-15 Alan Modra <amodra@gmail.com>
30925
30926 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30927 l_tls_firstbyte_offset non-zero. Save padding offset in
30928 l_tls_firstbyte_offset for later use.
30929 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30930 freeing static tls block.
30931
95721191
JN
309322011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30933
30934 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30935 where #ifdef was intended. The intent is to prevent ARG_MAX from
30936 being defined by the kernel headers.
30937
f87dfb1f
UD
309382011-05-07 Ulrich Drepper <drepper@gmail.com>
30939
30940 [BZ #12734]
30941 * resolv/resolv.h: Define RES_NOTLDQUERY.
30942 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30943 no-tld-query and set RES_NOTLDQUERY.
30944 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30945 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30946 modern BIND to search name as TLD unless forbidden.
30947
47c3cd7a
UD
309482011-05-07 Petr Baudis <pasky@suse.cz>
30949 Ulrich Drepper <drepper@gmail.com>
30950
30951 [BZ #12393]
30952 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30953 (is_trusted_path): ...to here.
c1e9ea35 30954 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30955 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30956 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30957
8a35c912
PP
309582011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30959
30960 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30961 __BEGIN/__END_DECLS.
30962
acd41f47
UD
309632011-05-06 Ulrich Drepper <drepper@gmail.com>
30964
30965 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30966 NSS_STATUS_NOTFOUND if no record was found.
30967
597df647
AS
309682011-05-05 Andreas Schwab <schwab@redhat.com>
30969
30970 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30971 (headers-not-in-tirpc): Remove rpc/netdb.h
30972 * resolv/netdb.h: Revert last change.
30973
b9af1301
PP
309742011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30975
30976 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30977 circular dependency between libgcc.a and libc.a.
30978
4e34d5f5
AS
309792011-05-05 Andreas Schwab <schwab@redhat.com>
30980
30981 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30982 * nis/Makefile: Don't install rpcsvc/*.
30983 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30984 instead of <rpc/types.h>.
30985 (MAXHOSTNAMELEN): Define.
30986
00ee369c
AS
309872011-05-03 Andreas Schwab <schwab@redhat.com>
30988
30989 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30990
0b592a30
MB
309912011-04-28 Maciej Babinski <mbabinski@google.com>
30992
30993 [BZ #12714]
30994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30995 gethostbyname4_r when IPv6 results are possible.
30996
6e04cbbe
UD
309972011-05-02 Ulrich Drepper <drepper@gmail.com>
30998
30999 [BZ #12723]
31000 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31001 _PC_PIPE_BUF handling.
31002
e4ecafe0
BH
310032011-04-30 Bruno Haible <bruno@clisp.org>
31004
31005 [BZ #12717]
31006 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31007 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31008 to 'int'.
31009 * inet/getnameinfo.c (getnameinfo): Likewise.
31010
125ee683
UD
310112011-04-29 Ulrich Drepper <drepper@gmail.com>
31012
31013 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31014 to groups setting in database lookup.
31015 * nss/nsswitch.conf: Add initgroups entry.
31016
b722481a
EB
310172011-04-22 Ulrich Drepper <drepper@gmail.com>
31018
31019 [BZ #12685]
31020 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31021 mode string.
31022 Patch by Eric Blake <eblake@redhat.com>.
31023
4df46dbd
L
310242011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31025
31026 * sunrpc/Makefile (need-export-routines): Add svc_run.
31027 (routines): Remove svc_run.
31028 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31029 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31030 * sunrpc/svc_run.c (svc_run): Likewise.
31031 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31032
e84142d2
UD
310332011-04-21 Ulrich Drepper <drepper@gmail.com>
31034
31035 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31036 problem in reallocation in last patch.
31037
877175d8
UD
310382011-04-20 Ulrich Drepper <drepper@gmail.com>
31039
31040 * sunrpc/Makefile: Move inclusion of Rules.
31041
ab8eed78
UD
310422011-04-19 Ulrich Drepper <drepper@gmail.com>
31043
31044 * nss/nss_files/files-initgroups.c: New file.
31045 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31046 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31047 _nss_files_initgroups_dyn.
31048
e3d8f584
RS
310492011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31050
31051 * elf/elf.h (R_ARM_IRELATIVE): Define.
31052
af190f45
UD
310532011-04-19 Ulrich Drepper <drepper@gmail.com>
31054
31055 * po/ru.po: Update from translation team.
31056
53cf59ef
UD
310572011-04-17 Ulrich Drepper <drepper@gmail.com>
31058
31059 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31060 dependencies.
31061
4c559bcd
MF
310622011-02-06 Mike Frysinger <vapier@gentoo.org>
31063
31064 [BZ #12653]
31065 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31066 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31067 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31068 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31069 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31070
4420675c
AS
310712011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31072
31073 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31074 differing bytes.
31075 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31076 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31077 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31078
75ea32ab
UD
310792011-04-17 Ulrich Drepper <drepper@gmail.com>
31080
31081 [BZ #12420]
31082 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31083 storing it.
31084 * stdlib/bug-getcontext.c: New file.
31085 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31086
27390476
AK
310872011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31088
31089 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31090 instructions into .machine "z9-109".
31091 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31092 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31093
10442705
AK
310942011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31095
31096 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31097 between environment variables and auxiliary vector.
31098
7b57bfe5
UD
310992011-04-16 Ulrich Drepper <drepper@gmail.com>
31100
31101 * Makefile: Add rules to build linkobj/libc.so.
31102 * include/libc-symbols.h: Define libc_hidden_nolink.
31103 * include/rpc/auth.h: Mark functions which are to be hidden.
31104 * include/rpc/auth_des.h: Likewise.
31105 * include/rpc/auth_unix.h: Likewise.
31106 * include/rpc/clnt.h: Likewise.
31107 * include/rpc/des_crypt.h: Likewise.
31108 * include/rpc/key_prot.h: Likewise.
31109 * include/rpc/pmap_clnt.h: Likewise.
31110 * include/rpc/pmap_prot.h: Likewise.
31111 * include/rpc/pmap_rmt.h: Likewise.
31112 * include/rpc/rpc_msg.h: Likewise.
31113 * include/rpc/svc.h: Likewise.
31114 * include/rpc/svc_auth.h: Likewise.
31115 * include/rpc/xdr.h: Likewise.
31116 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31117 * nss/Makefile: Likewise.
31118 * sunrpc/Makefile: Don't install headers. Build library with normal
31119 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31120 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31121 for the compat linking library. Remove use of INTDEF/INTUSE.
31122 * sunrpc/auth_none.c: Likewise.
31123 * sunrpc/auth_unix.c: Likewise.
31124 * sunrpc/authdes_prot.c: Likewise.
31125 * sunrpc/authuxprot.c: Likewise.
31126 * sunrpc/clnt_gen.c: Likewise.
31127 * sunrpc/clnt_perr.c: Likewise.
31128 * sunrpc/clnt_raw.c: Likewise.
31129 * sunrpc/clnt_simp.c: Likewise.
31130 * sunrpc/clnt_tcp.c: Likewise.
31131 * sunrpc/clnt_udp.c: Likewise.
31132 * sunrpc/clnt_unix.c: Likewise.
31133 * sunrpc/des_crypt.c: Likewise.
31134 * sunrpc/des_soft.c: Likewise.
31135 * sunrpc/get_myaddr.c: Likewise.
31136 * sunrpc/key_call.c: Likewise.
31137 * sunrpc/key_prot.c: Likewise.
31138 * sunrpc/netname.c: Likewise.
31139 * sunrpc/pm_getmaps.c: Likewise.
31140 * sunrpc/pm_getport.c: Likewise.
31141 * sunrpc/pmap_clnt.c: Likewise.
31142 * sunrpc/pmap_prot.c: Likewise.
31143 * sunrpc/pmap_prot2.c: Likewise.
31144 * sunrpc/pmap_rmt.c: Likewise.
31145 * sunrpc/publickey.c: Likewise.
31146 * sunrpc/rpc_cmsg.c: Likewise.
31147 * sunrpc/rpc_common.c: Likewise.
31148 * sunrpc/rpc_dtable.c: Likewise.
31149 * sunrpc/rpc_prot.c: Likewise.
31150 * sunrpc/rpc_thread.c: Likewise.
31151 * sunrpc/rtime.c: Likewise.
31152 * sunrpc/svc.c: Likewise.
31153 * sunrpc/svc_auth.c: Likewise.
31154 * sunrpc/svc_authux.c: Likewise.
31155 * sunrpc/svc_raw.c: Likewise.
31156 * sunrpc/svc_run.c: Likewise.
31157 * sunrpc/svc_simple.c: Likewise.
31158 * sunrpc/svc_tcp.c: Likewise.
31159 * sunrpc/svc_udp.c: Likewise.
31160 * sunrpc/svc_unix.c: Likewise.
31161 * sunrpc/svcauth_des.c: Likewise.
31162 * sunrpc/xcrypt.c: Likewise.
31163 * sunrpc/xdr.c: Likewise.
31164 * sunrpc/xdr_array.c: Likewise.
31165 * sunrpc/xdr_float.c: Likewise.
31166 * sunrpc/xdr_intXX_t.c: Likewise.
31167 * sunrpc/xdr_mem.c: Likewise.
31168 * sunrpc/xdr_rec.c: Likewise.
31169 * sunrpc/xdr_ref.c: Likewise.
31170 * sunrpc/xdr_sizeof.c: Likewise.
31171 * sunrpc/xdr_stdio.c: Likewise.
31172
e6c61494
UD
311732011-04-10 Ulrich Drepper <drepper@gmail.com>
31174
31175 [BZ #12650]
31176 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31177 * sysdeps/ia64/dl-tls.h: Likewise.
31178 * sysdeps/powerpc/dl-tls.h: Likewise.
31179 * sysdeps/s390/dl-tls.h: Likewise.
31180 * sysdeps/sh/dl-tls.h: Likewise.
31181 * sysdeps/sparc/dl-tls.h: Likewise.
31182 * sysdeps/x86_64/dl-tls.h: Likewise.
31183 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31184
34fe483e
AS
311852011-03-14 Andreas Schwab <schwab@redhat.com>
31186
31187 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31188 rpath element also skip the following colon.
31189 (expand_dynamic_string_token): Add is_path parameter and pass
31190 down to DL_DST_REQUIRED and _dl_dst_substitute.
31191 (decompose_rpath): Call expand_dynamic_string_token with
31192 non-zero is_path. Ignore empty rpaths.
31193 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31194 with zero is_path.
31195
f12a32e6
AS
311962011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31197
31198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31199 Make cancelable.
31200
38a7d692
UD
312012011-04-09 Ulrich Drepper <drepper@gmail.com>
31202
31203 [BZ #12655]
31204 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31205 Patch by Filipe David Manana <fdmanana@apache.org>.
31206
e451d22b
AS
312072011-04-07 Andreas Schwab <schwab@redhat.com>
31208
31209 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31210 Maintain aligned stack.
31211 (CHECK_RSP): Remove unused macro.
31212
dedc7c7b
UD
312132011-04-03 Ulrich Drepper <drepper@gmail.com>
31214
31215 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31216 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31217
94521213
UD
312182011-04-02 Ulrich Drepper <drepper@gmail.com>
31219
31220 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31221
8cb700c0 31222 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31223
0354e355
L
312242011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31225
31226 [BZ #12518]
31227 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31228 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31229 * sysdeps/x86_64/memmove.c: New file.
31230 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31231 (memcpy): Renamed to ...
31232 (__new_memcpy): This.
31233 (memcpy): Provide GLIBC_2_14 memcpy.
31234 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31235 (memcpy): Provide GLIBC_2_2_5 memcpy.
31236
8593482f
UD
312372011-04-01 Ulrich Drepper <drepper@gmail.com>
31238
31239 [BZ #12631]
31240 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31241
81a5726b
AS
312422011-03-30 Andreas Schwab <schwab@redhat.com>
31243
31244 * misc/syncfs.c: New file.
31245 * misc/Makefile (routines): Add syncfs.
31246 * posix/unistd.h: Declare syncfs.
31247 * sysdeps/unix/syscalls.list: Add syncfs.
31248
00e5419f
AS
312492011-04-01 Andreas Schwab <schwab@redhat.com>
31250
31251 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31252 open_by_handle_at.
31253 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31254 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31256 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31258 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31259 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31260
748876bf
UD
312612011-04-01 Ulrich Drepper <drepper@gmail.com>
31262
658e451d
UD
31263 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31264 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31265 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31266 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31267 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31269 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31270
748876bf
UD
31271 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31272 sync_file_range.c with -fexceptions.
31273 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31274 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31275 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31276 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31277 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31278 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31280 sync_file_range as cancellation point
31281 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31282 now a wrapper around __call_sync_file_range with cancellation handling.
31283 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31284 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31285 function name to __call_sync_file_range.
31286 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31287 Add call_sync_file_range.
748876bf 31288
6e63d5e1
AS
312892011-04-01 Andreas Schwab <schwab@redhat.com>
31290
31291 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31292 bits/timex.h.
6e63d5e1 31293
46998f74
UD
312942011-04-01 Ulrich Drepper <drepper@gmail.com>
31295
4c1423ed
UD
31296 * iconv/iconv.h: Fix typo in comment.
31297 * io/fcntl.h: Likewise.
31298 * libio/stdio.h: Likewise.
31299 * posix/spawn.h: Likewise.
31300 * posix/unistd.h: Likewise.
31301 * stdlib/stdlib.h: Likewise.
31302 * time/time.h: Likewise.
31303 * wcsmbs/wchar.h: Likewise.
31304
158648c0
UD
31305 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31306 open_by_handle): Add.
31307 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31308 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31309 Augment a few comments.
31310 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31312 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31313 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31314 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31315 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31316 open_by_handle.
31317
46998f74
UD
31318 * io/fcntl.h (AT_EMPTY_PATH): Define.
31319
83fe108b
UD
313202011-03-30 Ulrich Drepper <drepper@gmail.com>
31321
31322 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31323 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31324 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31325 to...
31326 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31327 * Versions.def: Add GLIBC_2.14.
31328 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31329 Export.
83fe108b 31330
bb242059
UD
313312011-03-22 Ulrich Drepper <drepper@gmail.com>
31332
31333 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31334 round counter.
31335 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31336
c97a1282
L
313372011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31338
31339 [BZ #12597]
31340 * string/test-strncmp.c (do_page_test): New function.
31341 (check2): Likewise.
31342 (test_main): Call check2.
31343 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31344
2a115601
UD
313452011-03-20 Ulrich Drepper <drepper@gmail.com>
31346
31347 [BZ #12587]
31348 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31349 Handle cache information in CPU leaf 4.
31350 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31351
8126d904
UD
313522011-03-18 Ulrich Drepper <drepper@gmail.com>
31353
042c49c6 31354 [BZ #12583]
8126d904
UD
31355 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31356 character representation.
31357 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31358
ccfe366e
RA
313592011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31360
31361 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31362 END(__isnan) to END(__isnanf) to match function entry point/label
31363 EALIGN(__isnanf,...).
31364
c6e13027
JJ
313652011-03-10 Jakub Jelinek <jakub@redhat.com>
31366
31367 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31368
33f85a3f
UD
313692011-03-10 Ulrich Drepper <drepper@gmail.com>
31370
028478fa
UD
31371 [BZ #12510]
31372 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31373 copy from the symbol referenced in the relocation to initialize the
31374 used variable.
31375 Patch by Piotr Bury <pbury@goahead.com>.
31376 * elf/Makefile: Add rules to build and tst-unique3.
31377 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31378 * elf/tst-unique3.cc: New file.
31379 * elf/tst-unique3.h: New file.
31380 * elf/tst-unique3lib.cc: New file.
31381 * elf/tst-unique3lib2.cc: New file.
31382
33f85a3f
UD
31383 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31384
03592fc7
MF
313852011-03-10 Mike Frysinger <vapier@gentoo.org>
31386
31387 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31388 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31389 to _start.
03592fc7 31390
6a5ee102
UD
313912011-03-06 Ulrich Drepper <drepper@gmail.com>
31392
31393 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31394 to-be-loaded object along a path to loader is ld.so.
31395
7e4ba49c
HJ
313962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31397 Ulrich Drepper <drepper@gmail.com>
31398
31399 * sysdeps/x86_64/memset.S: After aligning destination, code
31400 branches to different locations depending on the value of
31401 misalignment, when multiarch is enabled. Fix this.
31402
314032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31404
31405 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31406 Set _x86_64_preferred_memory_instruction for AMD processsors.
31407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31408 Set bit_Prefer_SSE_for_memop for AMD processors.
31409
13a804de
UD
314102011-03-04 Ulrich Drepper <drepper@gmail.com>
31411
31412 * libio/fmemopen.c (fmemopen): Optimize a bit.
31413
9d25c392
AS
314142011-03-03 Andreas Schwab <schwab@redhat.com>
31415
31416 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31417
a5543c6a
RM
314182011-03-03 Roland McGrath <roland@redhat.com>
31419
31420 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31421
012d35f7
DM
314222011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31423
7e4ba49c 31424 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31425 __bzero_ultra1 instead of __memset_ultra1.
31426
4bff6e01
AS
314272011-02-23 Andreas Schwab <schwab@redhat.com>
31428 Ulrich Drepper <drepper@gmail.com>
31429
31430 [BZ #12509]
31431 * include/link.h (struct link_map): Add l_orig_initfini.
31432 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31433 returning unsuccessfully.
31434 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31435 close of a file loaded at startup, restore the original l_initfini
31436 list.
31437 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31438 list, store the pointer.
31439 * elf/Makefile ($(objpfx)noload-mem): New rule.
31440 (noload-ENV): Define.
31441 (tests): Add $(objpfx)noload-mem.
31442 * elf/noload.c: Include <memcheck.h>.
31443 (main): Call mtrace. Close all opened handles.
31444
f2092faf
AS
314452011-02-17 Andreas Schwab <schwab@redhat.com>
31446
31447 [BZ #12454]
31448 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31449 dependencies are missing.
31450
6c8a2e88
ST
314512011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31452
f2092faf 31453 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31454 Hurd needs munmap.
31455 * sysdeps/mach/hurd/ifreq.h: New file.
31456
84a42118
PB
314572011-01-27 Petr Baudis <pasky@suse.cz>
31458 Ulrich Drepper <drepper@gmail.com>
31459
071f805e 31460 [BZ 12445]#
84a42118
PB
31461 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31462 to extend_alloca().
31463 * stdio-common/bug23.c: New file.
31464 * stdio-common/Makefile (tests): Add bug23.
31465
e23fe25b
AS
314662010-09-28 Andreas Schwab <schwab@redhat.com>
31467 Ulrich Drepper <drepper@gmail.com>
31468
31469 [BZ #12489]
31470 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31471 before performing relro protection. At old place add assertion
31472 to make sure nothing changed.
31473
d3f02e10
NS
314742011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31475 Glauber de Oliveira Costa <glommer@gmail.com>
31476
31477 * elf/elf.h: Add new ARM TLS relocs.
31478
d55fd7a5
RA
314792011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31480
31481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31482 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31483 cast from r3.
31484 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31485 'tests' variable.
31486 * sysdeps/wordsize-64/tst-writev.c: New file.
31487
2206397e
RA
314882011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31489
31490 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31491 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31492 insns in _dl_start to prevent a TOC reference before relocs are
31493 resolved.
31494
e9433893
UD
314952011-02-15 Ulrich Drepper <drepper@gmail.com>
31496
31497 [BZ #12469]
31498 * Makeconfig: Remove RANLIB definition.
31499 * Makerules: Don't use RANLIB.
31500 * aclocal.m4: Remove ranlib test.
31501 * configure.in: No need to check for ranlib.
31502 * elf/rtld-Rules: Don't use RANLIB.
31503
f75286c6
ST
315042011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31505
8e31c82d
ST
31506 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31507 protection macro.
31508 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31509 inclusion protection macro.
31510
f75286c6
ST
31511 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31512 SIGRTMIN and SIGRTMAX and print information in that case only when
31513 SIGRTMIN is defined.
31514
c1d0e639
JJ
315152011-02-11 Jakub Jelinek <jakub@redhat.com>
31516
31517 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31518 arginfo fn returning -1.
31519
31520 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31521 and thousands string is zero terminated.
31522
edf9294e
AS
315232011-02-03 Andreas Schwab <schwab@redhat.com>
31524
31525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31526 sysdeps/unix/sysv/linux/bits/socket.h.
31527
2b7e92df
ST
315282011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31529
edf9294e
AS
31530 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31531 (__CPU_COUNT): Remove old macros.
31532 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31533 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31534 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31535 (__sched_cpualloc, __sched_cpufree): Add declarations.
31536
a4c7ea7b
UD
315372011-02-05 Ulrich Drepper <drepper@gmail.com>
31538
31539 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31540 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31541 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31542 (readdhstai): Return value of addhstaiX call.
31543 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31544 (addgrbyX): Return value returned by cache_addgr.
31545 (readdgrbyname): Return value returned by addgrbyX.
31546 (readdgrbygid): Likewise.
31547 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31548 (addpwbyX): Return value returned by cache_addpw.
31549 (readdpwbyname): Return value returned by addhstbyX.
31550 (readdpwbyuid): Likewise.
31551 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31552 (addservbyX): Return value returned by cache_addserv.
31553 (readdservbyname): Return value returned by addservbyX:
31554 (readdservbyport): Likewise.
31555 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31556 (addhstbyX): Return value returned by cache_addhst.
31557 (readdhstbyname): Return value returned by addhstbyX.
31558 (readdhstbyaddr): Likewise.
31559 (readdhstbynamev6): Likewise.
31560 (readdhstbyaddrv6): Likewise.
31561 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31562 (readdinitgroups): Return value returned by addinitgroupsX.
31563 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31564 (prune_cache): Keep track of timeout value of re-added entries.
31565 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31566 * nscd/nscd.h: Adjust prototypes of readd* functions.
31567
a0bf67cc
RM
315682011-02-04 Roland McGrath <roland@redhat.com>
31569
31570 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31571 (nis_stats): Likewise.
31572 * nis/nis_modify.c (nis_modify): Likewise.
31573 * nis/nis_remove.c (nis_remove): Likewise.
31574 * nis/nis_add.c (nis_add): Likewise.
31575
31576 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31577
31578 * posix/fnmatch_loop.c: Add some consts.
31579
31580 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31581
435b95eb
L
315822011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31583
31584 [BZ #12460]
31585 * config.make.in (config-cflags-novzeroupper): Define.
31586 * configure.in: Substitute libc_cv_cc_novzeroupper.
31587 * elf/Makefile (AVX-CFLAGS): Define.
31588 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31589 (CFLAGS-tst-auditmod4a.c): Likewise.
31590 (CFLAGS-tst-auditmod4b.c): Likewise.
31591 (CFLAGS-tst-auditmod6b.c): Likewise.
31592 (CFLAGS-tst-auditmod6c.c): Likewise.
31593 (CFLAGS-tst-auditmod7b.c): Likewise.
31594 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31595
8517b15e
UD
315962011-02-02 Ulrich Drepper <drepper@gmail.com>
31597
31598 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31599 function to the callback.
31600 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31601
10a656fe
AS
316022011-02-02 Andreas Schwab <schwab@redhat.com>
31603
31604 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31605 of errno.
31606
968dad0a
UD
316072011-01-19 Ulrich Drepper <drepper@gmail.com>
31608
9f94d2ea 31609 [BZ #11724]
968dad0a
UD
31610 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31611 of constructors.
31612 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31613 of destructors.
31614 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31615
31616 [BZ #11724]
31617 * elf/Makefile: Add rules to build and run new test.
31618 * elf/tst-initorder.c: New file.
31619 * elf/tst-initorder.exp: New file.
31620 * elf/tst-initordera1.c: New file.
31621 * elf/tst-initordera2.c: New file.
31622 * elf/tst-initordera3.c: New file.
31623 * elf/tst-initordera4.c: New file.
31624 * elf/tst-initorderb1.c: New file.
31625 * elf/tst-initorderb2.c: New file.
31626 * elf/tst-order-a1.c: New file.
31627 * elf/tst-order-a2.c: New file.
31628 * elf/tst-order-a3.c: New file.
31629 * elf/tst-order-a4.c: New file.
31630 * elf/tst-order-b1.c: New file.
31631 * elf/tst-order-b2.c: New file.
31632 * elf/tst-order-main.c: New file.
31633 New test case by George Gensure <werkt0@gmail.com>.
31634
86e92359
UD
316352010-10-01 Andreas Schwab <schwab@redhat.com>
31636
31637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31638 decoding ACE if AI_CANONIDN.
31639
5d5732b0
UD
316402011-01-18 Ulrich Drepper <drepper@gmail.com>
31641
31642 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31643
a77e8cbc
UD
316442011-01-17 Ulrich Drepper <drepper@gmail.com>
31645
6392473f
UD
31646 * version.h (RELEASE): Bump for 2.13 release.
31647 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31648
620a0529
UD
31649 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31650
18ba70a5
UD
31651 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31652 MADV_NOHUGEPAGE.
32465c3e
UD
31653 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31654 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31655 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31656 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31657 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31658 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31659
c0dafcf1
UD
31660 * posix/getconf.c: Update copyright year.
31661 * catgets/gencat.c: Likewise.
31662 * csu/version.c: Likewise.
31663 * debug/catchsegv.sh: Likewise.
31664 * debug/xtrace.sh: Likewise.
31665 * elf/ldconfig.c: Likewise.
31666 * elf/ldd.bash.in: Likewise.
31667 * elf/sprof.c (print_version): Likewise.
31668 * iconv/iconv_prog.c: Likewise.
31669 * iconv/iconvconfig.c: Likewise.
31670 * locale/programs/locale.c: Likewise.
31671 * locale/programs/localedef.c: Likewise.
31672 * malloc/memusage.sh: Likewise.
31673 * malloc/mtrace.pl: Likewise.
31674 * nscd/nscd.c (print_version): Likewise.
31675 * nss/getent.c: Likewise.
31676
a77e8cbc
UD
31677 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31678 PF_CAIF, and PF_ALG.
31679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31680
77e8bddf
AS
316812011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31682
1f20b93a
AS
31683 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31684 (modules-names): Use them.
31685 (ifunc-test-modules, ifunc-pie-tests): Define.
31686 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31687 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31688 (test-extras): Likewise.
31689 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31690 $(compile-command.c).
31691 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31692 (all-built-dso): Define.
31693 (check-textrel.out, check-execstack.out): Depend on it.
31694
77e8bddf
AS
31695 * configure.in: Don't override --enable-multi-arch.
31696
bc425b33
UD
316972011-01-15 Ulrich Drepper <drepper@gmail.com>
31698
31699 [BZ #6812]
31700 * nscd/hstcache.c (tryagain): Define.
31701 (cache_addhst): Return tryagain not notfound for temporary errors.
31702 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31703 failed.
31704
794c3ad3
UD
317052011-01-14 Ulrich Drepper <drepper@gmail.com>
31706
70181fdd
UD
31707 [BZ #10563]
31708 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31709 to make the syscall.
31710 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31711
794c3ad3
UD
31712 [BZ #12378]
31713 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31714 and fall back to matching as normal character if the string ends before
31715 the matching ']' is found. This is what POSIX requires.
31716 * posix/testfnm.c: Adjust test result.
31717 * posix/globtest.sh: Adjust test result. Add new test.
31718 * posix/tst-fnmatch.input: Likewise.
31719 * posix/tst-fnmatch2.c: Add new test.
31720
68dc9497
AS
317212010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31722
31723 * elf/Makefile (check-execstack): Revert last change. Depend on
31724 check-execstack.h.
31725 (check-execstack.h): New target.
31726 (generated): Add check-execstack.h.
31727 * elf/check-execstack.c: Include "check-execstack.h".
31728 (main): Revert last change.
31729 (handle_file): Return zero if GNU_STACK is absent and
31730 DEFAULT_STACK_PERMS doesn't include PF_X.
31731
451f001b
UD
317322011-01-13 Ulrich Drepper <drepper@gmail.com>
31733
cfa28e56
UD
31734 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31735 in child fails because the descriptor is already closed.
8cf8ce17
UD
31736 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31737 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31738 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31739
1086d70d
UD
31740 [BZ #12397]
31741 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31742 syscall.
31743
451f001b
UD
31744 [BZ #10484]
31745 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31746 temporary buffer used to handle multi lookups locally.
a85b5cb4 31747 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31748
08769175
UD
317492011-01-12 Ulrich Drepper <drepper@gmail.com>
31750
31751 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31752 loader is ld.so.
31753
5e49c52e
UD
317542011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31755
31756 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31757 alignment for SSE2.
31758
60522a5f
UD
317592011-01-12 Ulrich Drepper <drepper@gmail.com>
31760
31761 [BZ #12394]
31762 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31763 characters. When rounding increased number of integer digits recompute
31764 number of groups.
31765 * stdio-common/tst-grouping.c: New file.
31766 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31767
f257bbd7
UD
317682011-01-09 Ulrich Drepper <drepper@gmail.com>
31769
31770 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31771 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31772
31773 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31774 void.
31775 * bits/select.h: Likewise.
31776
fa9c15cb
UD
317772011-01-08 Ulrich Drepper <drepper@gmail.com>
31778
31779 * po/ja.po: Update from translation team.
31780
16c2895f
DM
317812011-01-04 David S. Miller <davem@sunset.davemloft.net>
31782
31783 [BZ #11155]
31784 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31785 implementation just like for lxstat, fxstatat, et al.
31786
2543fef2
JM
317872010-12-27 Jim Meyering <meyering@redhat.com>
31788
31789 [BZ #12348]
31790 * posix/regexec.c (build_trtable): Return failure indication upon
31791 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31792
98727dbe
UD
317932010-12-25 Ulrich Drepper <drepper@gmail.com>
31794
5bd6dc5c
UD
31795 [BZ #12201]
31796 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31797 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31798 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31799 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31800
97983464
UD
31801 [BZ #12207]
31802 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31803
98727dbe
UD
31804 [BZ #12204]
31805 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31806 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31807
4a531bb0
L
318082010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31809
31810 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31811 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31812 script has SORT_BY_INIT_PRIORITY.
31813 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31814 NO_CTORS_DTORS_SECTIONS is defined.
31815 * elf/soinit.c: Likewise.
31816 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31817 NO_CTORS_DTORS_SECTIONS is defined.
31818 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31819 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31820 * sysdeps/sh/init-first.c: Likewise.
31821 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31822
07eb4b71
UD
318232010-12-24 Ulrich Drepper <drepper@gmail.com>
31824
31825 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31826 always use the slow path.
31827
30950a5f
RA
318282010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31829
31830 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31831 similar rule which adds the sysdep directories to the header search in
31832 order to pick up the correct platform stackinfo.h.
31833 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31834 perform test if it is, otherwise return successfully without testing.
31835 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31836 DEFAULT_STACK_PERMS define in stackinfo.h.
31837 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31838 defined in stackinfo.h.
31839 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31840 DEFAULT_STACK_PERMS defined in stackinfo.h.
31841 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31842 * sysdeps/ia64/stackinfo.h: Likewise.
31843 * sysdeps/s390/stackinfo.h: Likewise.
31844 * sysdeps/sh/stackinfo.h: Likewise.
31845 * sysdeps/sparc/stackinfo.h: Likewise.
31846 * sysdeps/x86_64/stackinfo.h: Likewise.
31847 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31848 PF_X for powerpc64. Retain PF_X for powerpc32.
31849
db753e2c
UD
318502010-12-19 Ulrich Drepper <drepper@gmail.com>
31851
14b697f7
UD
31852 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31853 accurately.
db753e2c
UD
31854 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31855 GETDENTS_64BIT_ALIGNED.
31856
28300719
UD
318572010-12-14 Ulrich Drepper <dreper@gmail.com>
31858
14b697f7 31859 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31860
4f197237
AS
318612010-12-10 Andreas Schwab <schwab@redhat.com>
31862
dbb0472f
AS
31863 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31864 _GNU_SOURCE.
31865
4f197237
AS
31866 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31867 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31868 Remove __restrict.
31869 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31870 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31871
fb88ac72
UD
318722010-12-09 Ulrich Drepper <drepper@gmail.com>
31873
31874 [BZ #11655]
31875 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31876 are initialized.
31877
42acbb92
JJ
318782010-12-09 Jakub Jelinek <jakub@redhat.com>
31879
31880 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31881
c038d98d
UD
318822010-12-03 Ulrich Drepper <drepper@gmail.com>
31883
31884 * po/it.po: Update from translation team.
31885
3a4a2499
L
318862010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31887
31888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31889 unused codes.
31890
1e24cf6e
UD
318912010-11-30 Ulrich Drepper <drepper@gmail.com>
31892
31893 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31894
a7690819
AS
318952010-11-24 Andreas Schwab <schwab@redhat.com>
31896
31897 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31898 specially.
31899 (gaih_getanswer_slice): Likewise.
31900
3bf8d1b1
JJ
319012010-10-20 Jakub Jelinek <jakub@redhat.com>
31902
31903 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31904
6db52fbb
PB
319052010-05-31 Petr Baudis <pasky@suse.cz>
31906
31907 [BZ #11149]
31908 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31909 silently even in the chroot mode.
31910
eaca7569
UD
319112010-11-22 Ulrich Drepper <drepper@gmail.com>
31912
31913 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31914 last patch a bit. Pretty printing
31915
3056dcdb
UD
319162010-05-31 Petr Baudis <pasky@suse.cz>
31917
31918 [BZ #10085]
31919 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31920 initialization of skip_initgroups_dyn.
31921
cf7c9078
UD
319222010-11-19 Ulrich Drepper <drepper@gmail.com>
31923
31924 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31925 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31926
a1fb5e3e
UD
319272010-11-16 Ulrich Drepper <drepper@gmail.com>
31928
31929 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31930
3540d66b
AS
319312010-11-11 Andreas Schwab <schwab@redhat.com>
31932
31933 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31934 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31935 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31936 ($(objpfx)tst-fnmatch-mem): New rule.
31937 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31938 * posix/tst-fnmatch.c (main): Call mtrace.
31939
13b69574
L
319402010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31941
31942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31943 Support Intel processor model 6 and model 0x2c.
31944
da93d214
LM
319452010-11-10 Luis Machado <luisgpm@br.ibm.com>
31946
31947 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31948 signed comparison.
31949
8ca52c6e
L
319502010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31951
31952 [BZ #12205]
31953 * string/test-strncasecmp.c (check_result): New function.
31954 (do_one_test): Use it.
31955 (check1): New function.
31956 (test_main): Use it.
31957 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31958 Support strcasecmp and strncasecmp.
31959
69da074d
UD
319602010-11-08 Ulrich Drepper <drepper@gmail.com>
31961
31962 [BZ #12194]
31963 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31964 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31965
ff02d528
L
319662010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31967
31968 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31969 IFUNC support.
31970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31971 memset-x86-64.
31972 * sysdeps/x86_64/multiarch/bzero.S: New file.
31973 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31974 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31975 * sysdeps/x86_64/multiarch/memset.S: New file.
31976 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31978 Set bit_Prefer_SSE_for_memop for Intel processors.
31979 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31980 Define.
31981 (index_Prefer_SSE_for_memop): Define.
31982 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31983
344d0b54
LM
319842010-11-04 Luis Machado <luisgpm@br.ibm.com>
31985
31986 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31987 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31988
c0dde15b
UD
319892010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31990
31991 [BZ #12191]
31992 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31993 (__x86_64_raw_data_cache_size_half): Likewise.
31994 (__x86_64_raw_shared_cache_size): Likewise.
31995 (__x86_64_raw_shared_cache_size_half): Likewise.
31996
31997 * sysdeps/x86_64/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 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32002 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32003 and __x86_64_raw_shared_cache_size_half. Round
32004 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32005 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32006 to multiple of 256 bytes.
32007
0e516e0e
MS
320082010-11-03 Ulrich Drepper <drepper@gmail.com>
32009
32010 [BZ #12167]
32011 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32012 of inacessible symlinks. Verify result of symlink before returning it.
32013 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32014 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32015
0e012e87
ER
320162010-10-28 Erich Ritz <erichritz@gmail.com>
32017
32018 * math/math.h (isinf): Fix typo in comment.
32019
de0ff7bc
UD
320202010-11-01 Ulrich Drepper <drepper@gmail.com>
32021
32022 * po/da.po: Update from translation team.
32023
fa41c84d
UD
320242010-10-26 Ulrich Drepper <drepper@gmail.com>
32025
32026 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32027 is added to the list.
32028
f0967738
AK
320292010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32030 Ulrich Drepper <drepper@gmail.com>
32031
32032 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32033 the global list here. Move code to...
32034 (_dl_add_to_namespace_list): ...here. New function.
32035 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32036 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32037 * elf/dl-load.c (lose): Don't remove the element from the list.
32038 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32039 (_dl_map_object): Likewise.
32040
320412010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32042
32043 [BZ #12159]
32044 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32045 into all bytes of SSE register.
32046 Patch by Richard Li <richardpku@gmail.com>.
32047
f0967738 320482010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32049
32050 [BZ #12140]
32051 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32052 perturbing.
32053
d0b9e94f
MB
320542010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32055
32056 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32057 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32058 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32059 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32061 submachine.
32062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32063
8e9f92e9
AS
320642010-10-22 Andreas Schwab <schwab@redhat.com>
32065
32066 * include/dlfcn.h (__RTLD_SECURE): Define.
32067 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32068 mode & __RTLD_SECURE instead.
32069 (open_path): Rename preloaded parameter to secure.
32070 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32071 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32072 * elf/dl-deps.c (openaux): Likewise.
32073 * elf/rtld.c (struct map_args): Remove is_preloaded.
32074 (map_doit): Don't use it.
32075 (dl_main): Likewise.
32076 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32077 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32078
bc96fbda
AS
320792010-09-09 Andreas Schwab <schwab@redhat.com>
32080
32081 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32082 (sysd-rules-targets): Remove duplicates.
32083 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32084 rtld-%.$o dependency.
32085
22cd1c9b
AS
320862010-10-18 Andreas Schwab <schwab@redhat.com>
32087
32088 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32089 _dl_map_object do it.
32090
18edac48
UD
320912010-10-19 Ulrich Drepper <drepper@gmail.com>
32092
32093 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32094 fast fma builtins, define the macros in the C99 standard.
32095 (FP_FAST_FMAF): Likewise.
32096 (FP_FAST_FMAL): Likewise.
32097 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32098
32099 * bits/mathdef.h: Update copyright year.
32100 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32101
d2050124
MM
321022010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32103
32104 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32105 builtins, define the macros in the C99 standard.
32106 (FP_FAST_FMAF): Likewise.
32107 (FP_FAST_FMAL): Likewise.
32108 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32109 multiply/add.
32110 (FP_FAST_FMAF): Likewise.
32111
475facd1
JJ
321122010-10-15 Jakub Jelinek <jakub@redhat.com>
32113
32114 [BZ #3268]
32115 * math/libm-test.inc (fma_test): Some new testcases.
32116 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32117 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32118 y and infinite z. Do multiplication by C already in long double.
32119 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32121 y and infinite z. Do bitwise or of inexact bit into u.d.
32122 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32123 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32124 * sysdeps/i386/fpu/s_fma.S: Removed.
32125 * sysdeps/i386/fpu/s_fmal.S: Removed.
32126
7c08a05c
JJ
321272010-10-16 Jakub Jelinek <jakub@redhat.com>
32128
32129 [BZ #3268]
32130 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32132 computation is not scheduled after fetestexcept. Fix value
32133 of minimum denormal long double.
32134
f3f7372d
JJ
321352010-10-14 Jakub Jelinek <jakub@redhat.com>
32136
32137 [BZ #3268]
32138 * math/libm-test.inc (fma_test): Add some more tests.
32139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32140 correctly.
32141
14d43591
AS
321422010-10-15 Andreas Schwab <schwab@redhat.com>
32143
32144 * scripts/data/localplt-s390-linux-gnu.data: New file.
32145 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32146
5e908464
JJ
321472010-10-13 Jakub Jelinek <jakub@redhat.com>
32148
32149 [BZ #3268]
32150 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32151 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32152 instead of dbl-64.
32153 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32154 inlines.
32155 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32157 if one of x and y is very large and the other is subnormal.
32158 * sysdeps/s390/fpu/s_fmaf.c: New file.
32159 * sysdeps/s390/fpu/s_fma.c: New file.
32160 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32161 * sysdeps/powerpc/fpu/s_fma.S: New file.
32162 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32163 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32164 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32165
321662010-10-12 Jakub Jelinek <jakub@redhat.com>
32167
32168 [BZ #3268]
32169 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32170 fma tests.
32171 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32172 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32173 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32174 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32175 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32176 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32177 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32178
b833d51f
UD
321792010-10-12 Ulrich Drepper <drepper@redhat.com>
32180
32181 [BZ #12078]
32182 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32183 * posix/bug-regex31.input: Add test case.
32184
1751705d
UD
321852010-10-11 Ulrich Drepper <drepper@gmail.com>
32186
e9b9cbf5
UD
32187 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32188 * posix/bug-regex31.input: New file.
32189
32190 [BZ #12078]
32191 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32192 (parse_sub_exp): Fix last change, use postorder.
32193
ef06edbe
UD
32194 * posix/bug-regex31.c: New file.
32195 * posix/Makefile: Add rules to build and run bug-regex31.
32196
a129c80d
UD
32197 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32198
32199 [BZ #12078]
32200 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32201
b76b818e
UD
32202 [BZ #12108]
32203 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32204 to have entries in sys_siglist.
32205
1751705d
UD
32206 [BZ #12093]
32207 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32208 be NULL.
32209
9ff8d36f
JJ
322102010-10-07 Jakub Jelinek <jakub@redhat.com>
32211
32212 [BZ #3268]
32213 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32214 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32215 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32216 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32217 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32218 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32219 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32220 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32221 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32222 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32223 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32224 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32225 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32226 * math/ftestexcept.c (fetestexcept): Likewise.
32227 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32228 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32229 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32230 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32231 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32232 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32233 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32234
af325969
UD
322352010-10-11 Ulrich Drepper <drepper@gmail.com>
32236
c579b202 32237 [BZ #12107]
af325969
UD
32238 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32239 newline.
32240
67a67b95
UD
322412010-10-06 Ulrich Drepper <drepper@gmail.com>
32242
32243 * string/bug-strstr1.c: New file.
32244 * string/Makefile: Add rules to build and run bug-strstr1.
32245
5fb308bc
EB
322462010-10-05 Eric Blake <eblake@redhat.com>
32247
32248 [BZ #12092]
32249 * string/str-two-way.h (two_way_long_needle): Always clear memory
32250 when skipping input due to the shift table.
32251
45db99c7
UD
322522010-10-03 Ulrich Drepper <drepper@gmail.com>
32253
3b111893
UD
32254 [BZ #12005]
32255 * malloc/mcheck.c: Handle large requests.
32256
45db99c7
UD
32257 [BZ #12077]
32258 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32259 for strncmp and strncasecmp.
32260 * string/stratcliff.c: Add tests for strcmp and strncmp.
32261 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32262
cf7a1eb8
NI
322632010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32264
32265 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32266 __set_fpscr.
32267
6484ba5e
AJ
322682010-09-30 Andreas Jaeger <aj@suse.de>
32269
32270 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32271 (CGROUP_SUPER_MAGIC): Define.
32272 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32273 Handle btrfs and cgroup file systems.
32274 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32275 Likewise.
32276
91c42559
LM
322772010-09-27 Luis Machado <luisgpm@br.ibm.com>
32278
32279 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32280 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32281
87a97932
AK
322822010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32283
32284 [BZ #12067]
32285 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32286 trying to locate the ELF header.
32287
c21cc9bc
AS
322882010-09-27 Andreas Schwab <schwab@redhat.com>
32289
32290 [BZ #11611]
32291 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32292 Mask out sign-bit copies when constructing f_fsid.
32293
315970f6
PB
322942010-09-24 Petr Baudis <pasky@suse.cz>
32295
32296 * debug/stack_chk_fail_local.c: Add missing licence exception.
32297 * debug/warning-nop.c: Likewise.
32298
1ac7a2c7
JM
322992010-09-15 Joseph Myers <joseph@codesourcery.com>
32300
32301 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32302 implementing getdents64 using getdents syscall, set d_type if
32303 __ASSUME_GETDENTS32_D_TYPE.
32304
56801c50
AS
323052010-09-16 Andreas Schwab <schwab@redhat.com>
32306
32307 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32308 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32309
dda51327
UD
323102010-09-21 Ulrich Drepper <drepper@redhat.com>
32311
32312 [BZ #12037]
32313 * posix/unistd.h: Undo change of feature selection for ftruncate from
32314 2010-01-11.
32315
8ffcee4a
UD
323162010-09-20 Ulrich Drepper <drepper@redhat.com>
32317
a545ecd9 32318 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32319 detection.
32320
e24f0a8b
AS
323212010-09-20 Andreas Schwab <schwab@redhat.com>
32322
32323 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32324 fanotify_mark.
32325 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32326
7291c56f
AS
323272010-09-14 Andreas Schwab <schwab@redhat.com>
32328
32329 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32330 variables after CHECK_SP call.
32331 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32332
bc5fb037
AS
323332010-09-13 Andreas Schwab <schwab@redhat.com>
32334 Ulrich Drepper <drepper@redhat.com>
32335
32336 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32337 re-relocationg ld.so.
32338 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32339 _dl_init_paths call.
32340 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32341 here anymore.
32342
e66e7419
UD
323432010-09-14 Ulrich Drepper <drepper@redhat.com>
32344
32345 * resolv/res_init.c (__res_vinit): Count the default server we added.
32346
c044aa75
CLT
323472010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32348 Ulrich Drepper <drepper@redhat.com>
32349
32350 [BZ #11968]
32351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32352 (____longjmp_chk): Use %ebx for saving value across system call.
32353 Add unwind info.
32354
32cf4069
AS
323552010-09-06 Andreas Schwab <schwab@redhat.com>
32356
32357 * manual/Makefile: Don't mix pattern rules with normal rules.
32358
817328ee
AS
323592010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32360
32361 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32362 operation.
32363 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32364 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32365 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32366 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32367 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32368 Likewise.
32369
29fddf61
UD
323702010-09-04 Ulrich Drepper <drepper@redhat.com>
32371
32372 [BZ #11979]
32373 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32374 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32375
0959ffc9
UD
323762010-09-02 Ulrich Drepper <drepper@redhat.com>
32377
32378 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32379 * sysdeps/x86_64/addmul_1.S: Likewise.
32380 * sysdeps/x86_64/lshift.S: Likewise.
32381 * sysdeps/x86_64/mul_1.S: Likewise.
32382 * sysdeps/x86_64/rshift.S: Likewise.
32383 * sysdeps/x86_64/sub_n.S: Likewise.
32384 * sysdeps/x86_64/submul_1.S: Likewise.
32385
ece29840
ST
323862010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32387
0959ffc9
UD
32388 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32389 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32390 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32391 * bits/sched.h [__need_schedparam]
ece29840 32392 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32393 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32394 (__defined_schedparam): Define to 1.
ece29840
ST
32395 (__sched_param): New structure, identical to sched_param.
32396 (__need_schedparam): Undefine.
32397
e53a31fe
MF
323982010-08-31 Mike Frysinger <vapier@gentoo.org>
32399
fdc0c10d
MF
32400 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32401 (epoll_create1): Declare.
32402
e53a31fe
MF
32403 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32404
a726d796
AS
324052010-08-31 Andreas Schwab <schwab@redhat.com>
32406
32407 [BZ #7066]
32408 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32409 shifting retval into place.
32410
2f3e3dc7
UD
324112010-09-01 Ulrich Drepper <drepper@redhat.com>
32412
f2933da9
UD
32413 * nis/rpcsvc/nis.h: Update copyright notice.
32414 * nis/rpcsvc/nis.x: Likewise.
32415 * nis/rpcsvc/nis_callback.h: Likewise.
32416 * nis/rpcsvc/nis_callback.x: Likewise.
32417 * nis/rpcsvc/nis_object.x: Likewise.
32418 * nis/rpcsvc/nis_tags.h: Likewise.
32419 * nis/rpcsvc/yp.h: Likewise.
32420 * nis/rpcsvc/yp.x: Likewise.
32421 * nis/rpcsvc/ypupd.h: Likewise.
32422 * nis/yp_xdr.c: Likewise.
32423 * nis/ypupdate_xdr.c: Likewise.
32424
2f3e3dc7
UD
32425 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32426 mainly the body of pmap_getport. Add parameters to specify timeouts.
32427 (pmap_getport): Use __libc_rpc_getport.
32428 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32429 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32430 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32431
f3dcc2f9
AS
324322010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32433
32434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32435 fanotify_mark.
32436
6d34eb5b
RM
324372010-08-27 Roland McGrath <roland@redhat.com>
32438
32439 * sysdeps/i386/i686/multiarch/Makefile
32440 (CFLAGS-varshift.c): New variable.
32441
9ea3de11
UD
324422010-08-27 Ulrich Drepper <drepper@redhat.com>
32443
c96d23fc
UD
32444 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32445 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32446
9ea3de11
UD
32447 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32448
32449 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32450
623aac7f
L
324512010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32452
32453 * sysdeps/x86_64/strlen.S: Unroll the loop.
32454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32455 strlen-sse2 strlen-sse2-bsf.
32456 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32457 __strlen_no_bsf if bit_Slow_BSF is set.
32458 (__strlen_sse42): Removed.
32459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32460 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32461
8b2b7715
RM
324622010-08-25 Roland McGrath <roland@redhat.com>
32463
32464 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32465 * sysdeps/x86_64/multiarch/varshift.c: New file.
32466 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32467 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32468 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32469 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32470
e73015f2
L
324712010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32472
32473 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32474 strlen-sse2 strlen-sse2-bsf.
32475 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32476 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32477 (__strlen_sse2): Removed.
32478 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32479 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32481 bit_Slow_BSF for Atom.
32482 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32483 (index_Slow_BSF): Define.
32484 (HAS_SLOW_BSF): Define.
32485
df24a73e
UD
324862010-08-25 Ulrich Drepper <drepper@redhat.com>
32487
32488 [BZ #10851]
32489 * resolv/res_init.c (__res_vinit): When no server address at all
32490 is given default to loopback.
32491
f2ac4868
RM
324922010-08-24 Roland McGrath <roland@redhat.com>
32493
09055553
RM
32494 * configure.in: Remove config-name.h generation.
32495 * configure: Regenerated.
32496 * config-name.in: File removed.
32497 * scripts/config-uname.sh: New file.
32498 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32499 ($(objdir)config-name.h): New target.
32500
f2ac4868
RM
32501 * sunrpc/rpc_parse.h: Avoid nested comment.
32502
73f27d5e
RH
325032010-08-24 Richard Henderson <rth@redhat.com>
32504 Ulrich Drepper <drepper@redhat.com>
32505 H.J. Lu <hongjiu.lu@intel.com>
32506
32507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32509 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32510 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32511 _mm_alignr_epi8 with _mm_loadu_si128.
32512 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32513 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32514 (__m128i_shift_right): Removed.
32515 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32516 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32517 * sysdeps/x86_64/multiarch/varshift.h: New file.
32518 * sysdeps/x86_64/multiarch/varshift.S: New file.
32519
84b9230c
MF
325202010-08-21 Mike Frysinger <vapier@gentoo.org>
32521
32522 * configure.in: Move assembler checks to before sysdep dir checking.
32523
9bbd0ddc
PB
325242010-08-20 Petr Baudis <pasky@suse.cz>
32525
32526 * LICENSES: Sync the sunrpc license.
32527
9da4bb31
UD
325282010-08-19 Ulrich Drepper <drepper@redhat.com>
32529
a7ab6ec8
UD
32530 * sunrpc/auth_des.c: Update copyright notice once again.
32531 * sunrpc/auth_none.c: Likewise.
32532 * sunrpc/auth_unix.c: Likewise.
32533 * sunrpc/authdes_prot.c: Likewise.
32534 * sunrpc/authuxprot.c: Likewise.
32535 * sunrpc/bindrsvprt.c: Likewise.
32536 * sunrpc/clnt_gen.c: Likewise.
32537 * sunrpc/clnt_perr.c: Likewise.
32538 * sunrpc/clnt_raw.c: Likewise.
32539 * sunrpc/clnt_simp.c: Likewise.
32540 * sunrpc/clnt_tcp.c: Likewise.
32541 * sunrpc/clnt_udp.c: Likewise.
32542 * sunrpc/clnt_unix.c: Likewise.
32543 * sunrpc/des_crypt.c: Likewise.
32544 * sunrpc/des_soft.c: Likewise.
32545 * sunrpc/get_myaddr.c: Likewise.
32546 * sunrpc/getrpcport.c: Likewise.
32547 * sunrpc/key_call.c: Likewise.
32548 * sunrpc/key_prot.c: Likewise.
32549 * sunrpc/openchild.c: Likewise.
32550 * sunrpc/pm_getmaps.c: Likewise.
32551 * sunrpc/pm_getport.c: Likewise.
32552 * sunrpc/pmap_clnt.c: Likewise.
32553 * sunrpc/pmap_prot.c: Likewise.
32554 * sunrpc/pmap_prot2.c: Likewise.
32555 * sunrpc/pmap_rmt.c: Likewise.
32556 * sunrpc/rpc/auth.h: Likewise.
32557 * sunrpc/rpc/auth_unix.h: Likewise.
32558 * sunrpc/rpc/clnt.h: Likewise.
32559 * sunrpc/rpc/des_crypt.h: Likewise.
32560 * sunrpc/rpc/key_prot.h: Likewise.
32561 * sunrpc/rpc/netdb.h: Likewise.
32562 * sunrpc/rpc/pmap_clnt.h: Likewise.
32563 * sunrpc/rpc/pmap_prot.h: Likewise.
32564 * sunrpc/rpc/pmap_rmt.h: Likewise.
32565 * sunrpc/rpc/rpc.h: Likewise.
32566 * sunrpc/rpc/rpc_des.h: Likewise.
32567 * sunrpc/rpc/rpc_msg.h: Likewise.
32568 * sunrpc/rpc/svc.h: Likewise.
32569 * sunrpc/rpc/svc_auth.h: Likewise.
32570 * sunrpc/rpc/types.h: Likewise.
32571 * sunrpc/rpc/xdr.h: Likewise.
32572 * sunrpc/rpc_clntout.c: Likewise.
32573 * sunrpc/rpc_cmsg.c: Likewise.
32574 * sunrpc/rpc_common.c: Likewise.
32575 * sunrpc/rpc_cout.c: Likewise.
32576 * sunrpc/rpc_dtable.c: Likewise.
32577 * sunrpc/rpc_hout.c: Likewise.
32578 * sunrpc/rpc_main.c: Likewise.
32579 * sunrpc/rpc_parse.c: Likewise.
32580 * sunrpc/rpc_parse.h: Likewise.
32581 * sunrpc/rpc_prot.c: Likewise.
32582 * sunrpc/rpc_sample.c: Likewise.
32583 * sunrpc/rpc_scan.c: Likewise.
32584 * sunrpc/rpc_scan.h: Likewise.
32585 * sunrpc/rpc_svcout.c: Likewise.
32586 * sunrpc/rpc_tblout.c: Likewise.
32587 * sunrpc/rpc_util.c: Likewise.
32588 * sunrpc/rpc_util.h: Likewise.
32589 * sunrpc/rpcinfo.c: Likewise.
32590 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32591 * sunrpc/rpcsvc/key_prot.x: Likewise.
32592 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32593 * sunrpc/rpcsvc/mount.x: Likewise.
32594 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32595 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32596 * sunrpc/rpcsvc/rex.x: Likewise.
32597 * sunrpc/rpcsvc/rstat.x: Likewise.
32598 * sunrpc/rpcsvc/rusers.x: Likewise.
32599 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32600 * sunrpc/rpcsvc/spray.x: Likewise.
32601 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32602 * sunrpc/rtime.c: Likewise.
32603 * sunrpc/svc.c: Likewise.
32604 * sunrpc/svc_auth.c: Likewise.
32605 * sunrpc/svc_authux.c: Likewise.
32606 * sunrpc/svc_raw.c: Likewise.
32607 * sunrpc/svc_run.c: Likewise.
32608 * sunrpc/svc_simple.c: Likewise.
32609 * sunrpc/svc_tcp.c: Likewise.
32610 * sunrpc/svc_udp.c: Likewise.
32611 * sunrpc/svc_unix.c: Likewise.
32612 * sunrpc/svcauth_des.c: Likewise.
32613 * sunrpc/xcrypt.c: Likewise.
32614 * sunrpc/xdr.c: Likewise.
32615 * sunrpc/xdr_array.c: Likewise.
32616 * sunrpc/xdr_float.c: Likewise.
32617 * sunrpc/xdr_mem.c: Likewise.
32618 * sunrpc/xdr_rec.c: Likewise.
32619 * sunrpc/xdr_ref.c: Likewise.
32620 * sunrpc/xdr_sizeof.c: Likewise.
32621 * sunrpc/xdr_stdio.c: Likewise.
32622
9da4bb31
UD
32623 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32624 handling.
32625
bdaa77bc
AS
326262010-08-19 Andreas Schwab <schwab@redhat.com>
32627
32628 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32629
fe2f79db
LM
326302010-08-19 Luis Machado <luisgpm@br.ibm.com>
32631
32632 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32633 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32634 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32635 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32636 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32637 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32638 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32639 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32640 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32641 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32642 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32643 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32644 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32645 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32646
b9b42ee0
AB
326472010-07-26 Anton Blanchard <anton@samba.org>
32648
32649 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32650 * malloc/arena.c (heap_trim): Likewise.
32651
1c06ba31
UD
326522010-08-16 Ulrich Drepper <drepper@redhat.com>
32653
32654 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32655 here. Not...
32656 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32657 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32658
f8392f40
L
326592010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32660
32661 * sysdeps/i386/elf/Makefile: New file.
32662
3162f12e
AS
326632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32664
32665 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32666 from fanotify_init.
32667 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32668 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32669
28c90b2c
UD
326702010-08-15 Ulrich Drepper <drepper@redhat.com>
32671
32672 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32673 of strncasecmp_l.
1feccb6c 32674 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32675
ca6bb004
UD
326762010-08-14 Ulrich Drepper <drepper@redhat.com>
32677
e9f82e0d
UD
32678 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32679 strncase_l-nonascii.
32680 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32681 Add strncase_l-ssse3.
32682 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32683 * sysdeps/x86_64/strcmp.S: Likewise.
32684 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32685 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32686 * sysdeps/x86_64/strncase.S: New file.
32687 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32688 * sysdeps/x86_64/strncase_l.S: New file.
32689 * string/Makefile (strop-tests): Add strncasecmp.
32690 * string/test-strncasecmp.c: New file.
32691
32692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32693 warning.
32694
ca6bb004
UD
32695 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32696 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32697
052fa7b3
AS
326982010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32699
32700 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32701
962dba78
UD
327022010-08-12 Ulrich Drepper <drepper@redhat.com>
32703
32704 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32705 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32706 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32707
bebff237
AM
327082010-05-01 Alan Modra <amodra@gmail.com>
32709
32710 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32711 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32712 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32713 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32714 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32715 tidying. Don't tail-call __sigjmp_save for static lib.
32716 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32717 save location.
32718 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32719 (CALL_MCOUNT): Add eh info, and nop after bl.
32720 (TAIL_CALL_SYSCALL_ERROR): New macro.
32721 (PSEUDO_RET): Use it.
32722 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32723 Correct save location of integer regs and cr.
32724 (_dl_profile_resolve): Correct cr save location. Delete nops
32725 after bl when SHARED. Reduce cfi size a little by better
32726 placement of cfi directives.
32727 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32728 make a stack frame. Instead use parm save area as a temp.
32729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32730 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32732 Don't make a stack frame for parent, use parm save area.
32733 Increase child stack frame to 112 bytes. Don't save unused reg,
32734 and adjust reg usage. Set up cfi on error recovery and
32735 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32737 (__makecontext): Add dummy nop after jump to exit.
32738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32739 Use correct parm save area and cr save, reduce stack frame.
32740 Correct cfi for possible PSEUDO_RET frame setup.
32741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32742 Branch to local label emitted by PSEUDO_RET rather than
32743 __syscall_error.
32744
02637374
AS
327452010-08-12 Andreas Schwab <schwab@redhat.com>
32746
32747 [BZ #11904]
32748 * locale/programs/locale.c (print_assignment): New function.
32749 (show_locale_vars): Use it.
32750
c3e2f19b
UD
327512010-08-11 Ulrich Drepper <drepper@redhat.com>
32752
3cdaa6ad
UD
32753 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32754 field.
32755 (struct statfs64): Likewise.
32756 (_STATFS_F_FLAGS): Define.
32757 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32758 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32759 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32760 (ST_VALID): Define locally.
32761 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32762 __statvfs_getflags, use the provided value.
32763 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32764 __ASSUME_STATFS_F_FLAGS.
32765
754f7da3
UD
32766 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32767
10b3bedc
UD
32768 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32769 Add sys/fanotify.h.
32770 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32771 fanotify_mask for GLIBC_2.13.
32772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32773 fanotify_init and fanotify_mark.
32774 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32775 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32776
c08fb0d7
UD
32777 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32778 Add prlimit.
32779 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32780 prlimit64 for GLIBC_2.13.
32781 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32782 prlimit64.
32783 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32784 syscall.
32785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32787 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32788 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32789 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32790 add prlimit alias.
32791 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32792
15bac72b
UD
32793 [BZ #11903]
32794 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32795 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32796
c3e2f19b
UD
32797 * nss/Makefile: Add rules to build and run tst-nss-test1.
32798 * shlib-versions: Add entry for libnss_test1.
32799 * nss/nss_test1.c: New file.
32800 * nss/tst-nss-test1.c: New file.
32801
32802 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32803 (__nss_configure_lookup): Set appropriate entry in
32804 __nss_configure_lookup to true.
32805 * nss/nsswitch.h: Define enum with indeces of databases in
32806 databases and __nss_database_custom arrays. Declare
32807 __nss_database_custom.
32808 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32809 to avoid using nscd when custom rules are installed.
32810 * nss/getXXbyYY_r.c: Likewise.
32811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32812
32813 * nss/nss_files/files-parse.c: Whitespace fixes.
32814
f15ce4d8
UD
328152010-08-09 Ulrich Drepper <drepper@redhat.com>
32816
32817 [BZ #11883]
32818 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32819 * posix/fnmatch_loop.c: Likewise.
32820
d22e4cc9
AK
328212010-07-17 Andi Kleen <ak@linux.intel.com>
32822
32823 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32824 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32825 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32826 * Versions.def [GLIBC_2.13]: Add.
32827
805bc17d
UD
328282010-08-06 Ulrich Drepper <drepper@redhat.com>
32829
32830 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32831 Also fail if tpwd after pwuid call is NULL.
32832
5a42321d
ST
328332010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32834
32835 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32836 when converting to ms.
32837
fd3ebeda
ST
328382010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32839
32840 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32841 EOPNOTSUPP errors with ENOTTY.
32842 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32843 EOPNOTSUPP errors with ENOTTY.
32844
73507d3a
UD
328452010-07-31 Ulrich Drepper <drepper@redhat.com>
32846
32847 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32848 Add strcasecmp_l-ssse3.
32849 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32850 strcasecmp.
32851 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32852 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32853 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32854
fe36dd02
UD
328552010-07-30 Ulrich Drepper <drepper@redhat.com>
32856
66f6765a
UD
32857 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32858
42e08a54
UD
32859 * string/Makefile (strop-tests): Add strcasecmp.
32860 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32861 strcasecmp_l-nonascii.
32862 (gen-as-const-headers): Add locale-defines.sym.
32863 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32864 * sysdeps/x86_64/strcasecmp.S: New file.
32865 * sysdeps/x86_64/strcasecmp_l.S: New file.
32866 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32867 * sysdeps/x86_64/locale-defines.sym: New file.
32868 * string/test-strcasecmp.c: New file.
32869
fe36dd02
UD
32870 * string/test-strcasestr.c: Test both ends of the range of characters.
32871 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32872
48cbc0d6
RM
328732010-07-29 Roland McGrath <roland@redhat.com>
32874
76e6d6bc 32875 [BZ #11856]
48cbc0d6
RM
32876 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32877
880113d9
UD
328782010-07-27 Ulrich Drepper <drepper@redhat.com>
32879
32880 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32881 for ld.so.
32882
deb9cabb
AS
328832010-07-27 Andreas Schwab <schwab@redhat.com>
32884
32885 * manual/memory.texi (Malloc Tunable Parameters): Document
32886 M_PERTURB.
32887
1c7570ff
RM
328882010-07-26 Roland McGrath <roland@redhat.com>
32889
32890 [BZ #11840]
32891 * configure.in (-fgnu89-inline check): Set and substitute
32892 gnu89_inline, not libc_cv_gnu89_inline.
32893 * configure: Regenerated.
32894 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32895
24fb0f88
UD
328962010-07-26 Ulrich Drepper <drepper@redhat.com>
32897
32898 * string/test-strnlen.c: New file.
32899 * string/Makefile (strop-tests): Add strnlen.
32900 * string/tester.c (test_strnlen): Add a few more test cases.
32901 * string/tst-strlen.c: Better error reporting.
32902
32903 * sysdeps/x86_64/strnlen.S: New file.
32904
8e96b93a
UD
329052010-07-24 Ulrich Drepper <drepper@redhat.com>
32906
32907 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32908 lower-latency instructions.
32909
dbc676d4
UD
329102010-07-23 Ulrich Drepper <drepper@redhat.com>
32911
32912 * string/test-strcasestr.c: New file.
32913 * string/test-strstr.c: New file.
32914 * string/Makefile (strop-tests): Add strstr and strcasestr.
32915 * string/str-two-way.h: Don't undefine MAX.
32916 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32917
f6a31e0e
AS
329182010-07-21 Andreas Schwab <schwab@redhat.com>
32919
32920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32921 strcasestr-nonascii.
32922 (CFLAGS-strcasestr-nonascii.c): Define.
32923 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32924 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32925 Remove unused attribute.
32926
5dbc3b6c
RM
329272010-07-20 Roland McGrath <roland@redhat.com>
32928
32929 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32930 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32931 ld.so.cache was broken. With it, there is no way to disable dsocaps
32932 like LD_HWCAP_MASK can disable hwcaps.
32933
23d101d8
EPM
329342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32935
32936 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32937
cc9f2e47
UD
329382010-07-16 Ulrich Drepper <drepper@redhat.com>
32939
32940 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32941 call in strcasestr.
32942 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32943 __strcasestr_sse42_nonascii.
32944 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32945 strcasestr-nonascii.c.
32946 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32947
77c1b069
LM
329482010-06-15 Luis Machado <luisgpm@br.ibm.com>
32949
32950 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32951 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32952 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32953 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32954
440566c3
UD
329552010-07-09 Ulrich Drepper <drepper@redhat.com>
32956
32957 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32958 fcntl.
32959
5be9d05d
AS
329602010-07-06 Andreas Schwab <schwab@redhat.com>
32961
c30b7ee2 32962 [BZ #11577]
5be9d05d
AS
32963 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32964 dl_signal_cerror.
32965
8a492a67
UD
329662010-07-06 Ulrich Drepper <drepper@redhat.com>
32967
32968 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32969 _PC_PIPE_BUF using F_GETPIPE_SZ.
32970
713df3d5
RM
329712010-07-05 Roland McGrath <roland@redhat.com>
32972
32973 * manual/arith.texi (Rounding Functions): Fix rint description
32974 implicit in round description.
32975
702e8f14
UD
329762010-07-02 Ulrich Drepper <drepper@redhat.com>
32977
32978 * elf/Makefile: Fix linking for a few tests to make recent linker
32979 happy.
32980
52ed8be9
AS
329812010-06-30 Andreas Schwab <schwab@redhat.com>
32982
32983 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32984 $(common-objpfx)libc_nonshared.a.
32985
f47c9a11
LM
329862010-06-21 Luis Machado <luisgpm@br.ibm.com>
32987
32988 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32989 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32990 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32991 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32992 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32993 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32994 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32995 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33010 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33011 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33012 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33013 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33014 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33015 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33016 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33017 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33018 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33019 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33020 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33021 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33036
6fb8cbcb
L
330372010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33038
33039 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33040 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33041 * string/memmove.c (memmove): Renamed to ...
33042 (MEMMOVE): ...this. Default to memmove.
33043 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33044 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33045 (END_CHK): Define.
33046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33047 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33048 mempcpy-ssse3-back memmove-ssse3-back.
33049 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33050 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33051 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33052 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33053 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33054 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33055 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33056 * sysdeps/x86_64/multiarch/memmove.c: New file.
33057 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33058 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33059 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33060 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33061 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33062 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33063 Define.
33064 (index_Fast_Copy_Backward): Define.
33065 (HAS_ARCH_FEATURE): Define.
33066 (HAS_FAST_REP_STRING): Define.
33067 (HAS_FAST_COPY_BACKWARD): Define.
33068
4e733bac 330692010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33070
33071 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33072 Restore proper fallback handling.
33073
63c4ed22
UD
330742010-06-19 Ulrich Drepper <drepper@redhat.com>
33075
ac2b484c
UD
33076 [BZ #11701]
33077 * posix/group_member.c (__group_member): Correct checking loop.
33078
63c4ed22
UD
33079 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33080 OOM in getpwuid_r correctly. Return error number when the caller
33081 should return, otherwise -1.
33082 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33083 call returning > 0 value.
33084 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33085
765ade4b
AS
330862010-06-07 Andreas Schwab <schwab@redhat.com>
33087
33088 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33089 libc_nonshared.a from targets in modules-names.
33090
80da2e09
KS
330912010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33092
33093 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33094 requires it.
33095
158db122
LM
330962010-06-10 Luis Machado <luisgpm@br.ibm.com>
33097
33098 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33099 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33100 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33101 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33102
caa78cf8
AS
331032010-06-02 Andreas Schwab <schwab@redhat.com>
33104
33105 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33106
b2ef2c01
UD
331072010-06-14 Ulrich Drepper <drepper@redhat.com>
33108
33109 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33110 and F_GETPIPE_SZ.
33111 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33112 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33113 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33115 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33116 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33117
fbd643b6
RM
331182010-06-14 Roland McGrath <roland@redhat.com>
33119
33120 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33121
f32f2869
JJ
331222010-06-07 Jakub Jelinek <jakub@redhat.com>
33123
33124 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33125 __REDIRECT followed by __THROW.
33126 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33127 * posix/getopt.h (getopt): Likewise.
33128
2a50c078
EPM
331292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33130
33131 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33132 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33133 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33134 in AT_FLAGS.
33135 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33136 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33137
eb5ad2eb
LM
331382010-05-28 Luis Machado <luisgpm@br.ibm.com>
33139
33140 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33141
3c88fe1e
L
331422010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33143
33144 [BZ #11640]
33145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33146 Properly check family and model.
33147
d2f73151
TY
331482010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33149
33150 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33151
ebd2e13d
LM
331522010-05-24 Luis Machado <luisgpm@br.ibm.com>
33153
33154 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33155
b32b8b45
UD
331562010-05-21 Ulrich Drepper <drepper@redhat.com>
33157
33158 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33159 symbol reference.
33160
9acbe24d
AS
331612010-05-19 Andreas Schwab <schwab@redhat.com>
33162
33163 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33164 symbol reference.
33165
f0ccf6ea
AS
331662010-05-21 Andreas Schwab <schwab@redhat.com>
33167
3d04ff3a
AS
33168 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33169 and internal_recvmmsg.
33170 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33171 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33172 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33173 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33174
f0ccf6ea
AS
33175 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33176 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33177 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33178
5b08ac57
AS
331792010-05-20 Andreas Schwab <schwab@redhat.com>
33180
33181 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33182
4828935d
LM
331832010-05-17 Luis Machado <luisgpm@br.ibm.com>
33184
33185 POWER7 optimizations.
33186 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33187 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33188
373d545e
UD
331892010-05-19 Ulrich Drepper <drepper@redhat.com>
33190
33191 * version.h: Update for 2.13 development version.
33192
21a2b1ae
AS
331932010-05-12 Andrew Stubbs <ams@codesourcery.com>
33194
33195 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33196 exceptions. Return 0.
33197
3f7dcb2b
RM
331982010-05-07 Roland McGrath <roland@redhat.com>
33199
33200 * elf/ldconfig.c (main): Add a const.
33201
5f24d53a 332022010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33203
a160f8d8
UD
33204 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33205 (args_options): Add no-idn option.
33206 (ahosts_keys_int): Add idn_flags to ai_flags.
33207 (parse_option): Handle 'i' option to clear idn_flags.
33208
5f24d53a
UD
33209 * malloc/malloc.c (_int_free): Possible race in the most recently
33210 added check. Only act on the data if no current modification
33211 happened.
265bb1ce
UD
33212
33213See ChangeLog.17 for earlier changes.