]> sourceware.org Git - glibc.git/blame - ChangeLog
2013-09-23 Steve Ellcey <sellcey@mips.com>
[glibc.git] / ChangeLog
CommitLineData
141f3a77
SP
12013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2
303e567a
SP
3 [BZ #14547]
4 * string/tst-strcoll-overflow.c: New test case.
5 * string/Makefile (xtests): Add tst-strcoll-overflow.
6 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7 cache if string sizes may cause integer overflow.
8
141f3a77
SP
9 [BZ #14547]
10 * string/strcoll_l.c (coll_seq): New members rule, idx,
11 save_idx and back_us.
12 (get_next_seq_nocache): New function.
13 (do_compare_nocache): New function.
14 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15 when malloc fails.
16
c61b4d41
CD
172013-09-23 Carlos O'Donell <carlos@redhat.com>
18
0b1f8e35
CD
19 [BZ #15754]
20 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23
c61b4d41
CD
24 [BZ #15754]
25 * elf/Makefile (tests): Add tst-ptrguard1.
26 (tests-static): Add tst-ptrguard1-static.
27 (tst-ptrguard1-ARGS): Define.
28 (tst-ptrguard1-static-ARGS): Define.
29 * elf/tst-ptrguard1.c: New file.
30 * elf/tst-ptrguard1-static.c: New file.
31 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32 * sysdeps/i386/stackguard-macros.h: Likewise.
33 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39
402013-09-23 Hector Marco <hecmargi@upv.es>
41 Ismael Ripoll <iripoll@disca.upv.es>
42 Carlos O'Donell <carlos@redhat.com>
43
44 [BZ #15754]
45 * sysdeps/generic/stackguard-macros.h: Define
46 __pointer_chk_guard_local and POINTER_CHK_GUARD.
47 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48 Define __pointer_chk_guard_local.
49 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
51
f5f4e7b4
VV
522013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
53
54 [BZ #15859]
55 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
56
5bb43a43
AS
572013-09-20 Andreas Schwab <schwab@linux-m68k.org>
58
59 * include/string.h (__ffs): Declare as hidden.
60 * string/ffs.c (__ffs): Define as hidden.
61 * sysdeps/i386/ffs.c (__ffs): Likewise.
62 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
64 * sysdeps/s390/ffs.c (__ffs): Likewise.
65 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
66
3ea5be54
AO
672013-09-20 Alexandre Oliva <aoliva@redhat.com>
68
ffb89e53
AO
69 * NEWS: Mention malloc probes.
70
322dea08
AO
71 * malloc/arena.c (new_heap): New memory_heap_new probe.
72 (grow_heap): New memory_heap_more probe.
73 (shrink_heap): New memory_heap_less probe.
74 (heap_trim): New memory_heap_free probe.
75 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
76 (systrim): New memory_sbrk_less probe.
77 * manual/probes.texi: Document them.
78
655673f3
AO
79 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
80 * manual/probes.texi: Document it.
81
35fed6f1
AO
82 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
83 (__libc_realloc): Add memory_realloc_retry probe.
84 (__libc_memalign): Add memory_memalign_retry probe.
85 (__libc_valloc): Add memory_valloc_retry probe.
86 (__libc_pvalloc): Add memory_pvalloc_retry probe.
87 (__libc_calloc): Add memory_calloc_retry probe.
88 * manual/probes.texi: Document them.
89
6999d38c
AO
90 * malloc/arena.c (get_free_list): Add probe
91 memory_arena_reuse_free_list.
92 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
93 and memory_arena_reuse.
94 (arena_get2) [!PER_THREAD]: Likewise.
95 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
96 memory_arena_reuse_realloc.
97 * manual/probes.texi: Document them.
98
0653427f
AO
99 * malloc/malloc.c (__libc_free): Add
100 memory_mallopt_free_dyn_thresholds probe.
101 (__libc_mallopt): Add multiple memory_mallopt probes.
102 * manual/probes.texi: Document them.
103
3ea5be54
AO
104 * malloc/malloc.c: Include stap-probe.h.
105 (__libc_mallopt): Add memory_mallopt probe.
106 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
107 * manual/probes.texi: New.
108 * manual/Makefile (chapters): Add probes.
109 * manual/threads.texi: Set next node.
110
e35696c3 1112013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 112
e35696c3
CL
113 [BZ #15963, #13985]
114 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
115 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
116 Add `Chinese' to `nan' entry name.
117
4aafb73c
SP
1182013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
119
120 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
121 (POLYNOMIAL): Likewise.
122 (TAYLOR_SINCOS): Likewise.
123 (TAYLOR_SLOW): Likewise.
124 (__sin): Use TAYLOR_SINCOS.
125 (__cos): Likewise.
126 (slow): Use TAYLOR_SLOW.
127 (sloww): Likewise.
128 (bsloww): Likewise.
129 (csloww): Likewise.
130
d84f25c7
LD
1312013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
132
133 * stdlib/strtod_l.c: Fix buffer overrun.
134
5eea0404
SP
1352013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
136
7849ff93
SP
137 * benchtests/Makefile (bench): Add sincos.
138 * benchtests/bench-sincos.c: New file.
139
cfa3c886
SP
140 * math/libm-test.inc (cos_test_data): New test inputs.
141 (sin_test_data): Likewise.
142
b348e1e3
SP
143 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
144 macro.
145 (__sin): Use it.
146 (__cos): Likewise.
147 (slow1): Likewise.
148 (slow2): Likewise.
149 (sloww1): Likewise.
150 (sloww2): Likewise.
151 (bsloww1): Likewise.
152 (bsloww2): Likewise.
153 (cslow2): Likewise.
154 (csloww1): Likewise.
155 (csloww2): Likewise.
156
6cce25f8
SP
157 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
158 function.
159 (__sin): Use it.
160 (__cos): Likewise.
161
5eea0404
SP
162 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
163 gotos.
164 (__cos): Likewise.
165
9c21573c
MR
1662013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
167
168 * config.h.in (HAVE_MIPS_NAN2008): New macro.
169 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
170 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
171 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
172 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
173 * elf/cache.c (print_entry): Handle the new cache flags.
174
24d22e65
JM
1752013-09-18 Joseph Myers <joseph@codesourcery.com>
176 Aldy Hernandez <aldyh@redhat.com>
177
178 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
179 Change condition to [_SOFT_FLOAT].
180 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
188 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
192 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
193 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
194 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
195 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
196 declaration.
197
d13ef066
JM
1982013-09-18 Joseph Myers <joseph@codesourcery.com>
199
2e071de0
JM
200 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
201 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
202 (__longjmp): Use LOAD_GP to load saved GPRs.
203 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
204 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
205 (__sigsetjmp): Use SAVE_GP to save GPRs.
206
d13ef066
JM
207 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
208 Do not append -msoft-float.
209 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
210
97a0650b
SP
2112013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
212
213 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
214
11ca09e9
JM
2152013-09-17 Joseph Myers <joseph@codesourcery.com>
216
217 [BZ #15966]
218 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
219 (_FPU_GETCW): Use initial "__" on variable and field names but not
220 on macro parameter name.
221 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
222 parentheses around reference to macro parameter.
223
08ffcf34
RS
2242013-09-13 Richard Sandiford <richard@codesourcery.com>
225
226 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
227 prototype.
228 (ctype_startup): Use uint32_t in cast and sizeof for
229 ctype->charnames.
230
ae7080d3
JL
2312013-09-11 Jia Liu <proljc@gmail.com>
232
233 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
234 __daddr_t_defined.
235 [__FreeBSD__]: Likewise.
236
5905e7b3
OB
2372013-09-11 Ondřej Bílka <neleai@seznam.cz>
238
239 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
240 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
241 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
242 (strchr): Remove __strchr_sse42 ifunc selection.
243 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
244 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
245
b987c776
WN
2462013-09-11 Will Newton <will.newton@linaro.org>
247
248 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
249 parameter to RES. Remove hardcoded 1000 value.
250 * benchtests/bench-skeleton.c (main): Pass RES parameter
251 to TIMING_INIT and multiply result by 1000.
252
ddf985af
AZ
2532013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
254
255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
256
ffdd3181
AS
2572013-09-11 Andreas Schwab <schwab@suse.de>
258
259 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
260 if not defined.
261 (O_TMPFILE) [__USE_GNU]: Define.
262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
263 Define.
264
b73ed247
WN
2652013-09-11 Will Newton <will.newton@linaro.org>
266
267 [BZ #15857]
268 * malloc/malloc.c (__libc_memalign): Check the value of bytes
269 does not overflow.
270
55e17aad
WN
2712013-09-11 Will Newton <will.newton@linaro.org>
272
273 [BZ #15856]
274 * malloc/malloc.c (__libc_valloc): Check the value of bytes
275 does not overflow.
276
1159a193
WN
2772013-09-11 Will Newton <will.newton@linaro.org>
278
279 [BZ #15855]
280 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
281 does not overflow.
282
5905e7b3 2832013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
284
285 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
286 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
287 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
288 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
289 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
290
cdfc721b
AM
2912013-09-10 Allan McRae <allan@archlinux.org>
292
aa04af00
AM
293 [BZ #15748]
294 * manual/arith.texi (Parsing of Floats): Clarify
295 cross-reference.
296
cdfc721b
AM
297 [BZ #15849]
298 * manual/install.texi (Running make install): Mention
299 --enable-pt-chown.
300 * INSTALL: Regenerated.
301
95e7cf29
MR
3022013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
303
304 * csu/init-first.c (_init): Remove the !SHARED condition around
305 FPU control word initialization.
306 * elf/dl-support.c (_dl_fpu_control): New variable.
307 (_dl_aux_init) <AT_FPUCW>: Initialize it.
308 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
309 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
310 * math/test-fpucw-static.c: New file.
311 * math/test-fpucw-ieee.c: New file.
312 * math/test-fpucw-ieee-static.c: New file.
313 * math/Makefile (tests): Add `test-fpucw-ieee' and
314 `$(tests-static)'.
315 (tests-static): New variable.
316 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
317 dependency to...
318 [($(build-shared),yes)]
319 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
320 ... this.
321 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
322 New dependency.
323
83e43bf0
AM
3242013-09-09 Allan McRae <allan@archlinux.org>
325
a9f5ce09
AM
326 [BZ #15939]
327 * manual/string.texi (Collation Functions): Fix typo in
328 strcoll example.
329 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
330
34829bc2
AM
331 [BZ #15893]
332 * stdlib/isomac.c (get_null_defines): Fix memory leak.
333
3932737d
AM
334 [BZ #15892]
335 * libio/memstream.c (open_memstream): Fix memory leak.
336 * libio/wmemstream.c (open_wmemstream): Likewise.
337
83e43bf0
AM
338 [BZ #15895]
339 * nscd/netgroupcache.c: Fix nesting of ifdefs.
340
0c66b8e9
WN
3412013-09-09 Will Newton <will.newton@linaro.org>
342
343 * malloc/Makefile: Add tst-realloc to tests.
344 * malloc/tst-realloc.c: New file.
345
f6b00fd1
AM
3462013-09-09 Allan McRae <allan@archlinux.org>
347
348 [BZ #15844]
349 * COPYING: Update from GNU website to fix FSF address.
350 * COPYING.LIB: Likewise.
351
eec55e16
DM
3522013-09-06 David S. Miller <davem@davemloft.net>
353
354 * po/zh_TW.po: Update Chinese (traditional) translation from
355 translation project.
356
1ecbb381
RS
3572013-09-06 Richard Sandiford <richard@codesourcery.com>
358 Joseph Myers <joseph@codesourcery.com>
359
360 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
361 "localeinfo.h".
362 (obstack_chunk_alloc): New macro.
363 (obstack_chunk_free): Likewise.
364 (record_offset): New function.
365 (init_locale_data): Likewise.
366 (align_locale_data): Likewise.
367 (add_locale_empty): Likewise.
368 (add_locale_raw_data): Likewise.
369 (add_locale_raw_obstack): Likewise.
370 (add_locale_string): Likewise.
371 (add_locale_wstring): Likewise.
372 (add_locale_uint32): Likewise.
373 (add_locale_uint32_array): Likewise.
374 (add_locale_char): Likewise.
375 (start_locale_structure): Likewise.
376 (end_locale_structure): Likewise.
377 (start_locale_prelude): Likewise.
378 (end_locale_prelude): Likewise.
379 (write_locale_data): Take locale_file structure rather than an
380 iovec.
381 * locale/programs/locfile.h: Include "obstack.h".
382 (struct locale_file): Change to store locale file contents instead
383 of header.
384 (init_locale_data): New prototype.
385 (align_locale_data): Likewise.
386 (add_locale_empty): Likewise.
387 (add_locale_raw_data): Likewise.
388 (add_locale_raw_obstack): Likewise.
389 (add_locale_string): Likewise.
390 (add_locale_wstring): Likewise.
391 (add_locale_uint32): Likewise.
392 (add_locale_uint32_array): Likewise.
393 (add_locale_char): Likewise.
394 (start_locale_structure): Likewise.
395 (end_locale_structure): Likewise.
396 (start_locale_prelude): Likewise.
397 (end_locale_prelude): Likewise.
398 (write_locale_data): Update prototype.
399 * locale/programs/3level.h (struct TABLE): Remove result field.
400 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
401 Use new locale_file interface.
402 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
403 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
404 * locale/programs/ld-address.c (address_output): Use new
405 locale_file interface.
406 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
407 NO_ADD_LOCALE.
408 (collate_finish): Don't call collseq_table_finalize.
409 (collate_output): Use new locale_file interface.
410 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
411 in file.
412 (NO_FINALIZE): Change to NO_ADD_LOCALE.
413 (TABLE): Move defines earlier in file.
414 (ELEMENT): Likewise.
415 (DEFAULT): Likewise.
416 (wctrans_table_add): Move macro and inline function earlier in
417 file.
418 (struct wctype_table): Move type earlier in file.
419 (add_locale_wctype_table): New static prototype.
420 (struct locale_ctype_t): Use logical types instead of struct iovec
421 pointers for members.
422 (ctype_output): Use new locale_file interface.
423 (wctype_table_finalize): Change to add_locale_wctype_table. Use
424 new locale_file interface.
425 (allocate_arrays): Update for use of new locale_file interface.
426 * locale/programs/ld-identification.c (identification_output): Use
427 new locale_file interface.
428 * locale/programs/ld-measurement.c (measurement_output): Likewise.
429 * locale/programs/ld-messages.c (messages_output): Likewise.
430 * locale/programs/ld-monetary.c (monetary_output): Likewise.
431 * locale/programs/ld-name.c (name_output): Likewise.
432 * locale/programs/ld-numeric.c (numeric_output): Likewise.
433 * locale/programs/ld-paper.c (paper_output): Likewise.
434 * locale/programs/ld-telephone.c (telephone_output): Likewise.
435 * locale/programs/ld-time.c (time_output): Likewise.
436
e029e2e5
AZ
4372013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
438
439 * benchtests/Makefile: Add memrchr benchmark.
440 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
441 benchmark as memrchr.
442 * benchtests/bench-memrchr-ifunc.c: New file.
443 * benchtests/bench-memrchr.c: New file.
444
bbf6e8e4
WN
4452013-09-06 Will Newton <will.newton@linaro.org>
446
447 * benchtests/Makefile (string-bench): Add memcpy.
448
6c82a2f8
CD
4492013-09-05 Carlos O'Donell <carlos@redhat.com>
450 Cong Wang <amwang@redhat.com>
451
452 * sysdeps/unix/sysv/linux/bits/in.h
453 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
454 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
455 before __USE_KERNEL_IPV6_DEFS uses.
456 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
457 IPPROTO_BEETPH.
458 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
459 sockaddr_in6, or ipv6_mreq.
460
5430fc65
AZ
4612013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
462
463 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
464 memory access for final bytes in some large inputs.
465 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
466
4660856c
AZ
4672013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
468
469 * string/test-memrchr.c: New file.
470 * string/test-memrchr-ifunc.c: New file.
471 * string/Makefile: Add new memrchr testcase.
472
bb8ea713
MF
4732013-09-05 Mike Frysinger <vapier@gentoo.org>
474
475 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
476 fanotify_init returns EPERM.
477
b92a20b5
JM
4782013-09-04 Joseph Myers <joseph@codesourcery.com>
479
480 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
481 errors.
482 (top level): Treat second token from macro or constant entries for
483 allowed headers as allowed.
484 * include/complex.h: Condition internal declarations on
485 [!_ISOMAC].
486 * include/fenv.h: Condition include of <stdbool.h> and internal
487 declarations on [!_ISOMAC].
7447ccd9
CL
488
4892013-09-04 Chris Leonard <cjl@sugarlabs,.org>
490
3e181dda 491 [BZ #15923]
7447ccd9
CL
492 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
493
3f2e46a4
JM
4942013-09-04 Joseph Myers <joseph@codesourcery.com>
495
496 * configure.in (--enable-versioning): Remove configure option.
497 (libc_cv_asm_symver_directive): Remove configure test.
498 (libc_cv_ld_version_script_option): Likewise.
499 (VERSIONING): Remove variable and AC_SUBST.
500 (DO_VERSIONING): Remove AC_DEFINE.
501 * configure: Regenerated.
502 * config.h.in (DO_VERSIONING): Remove macro.
503 * Makerules [$(versioning) = yes]: Change conditionals to
504 [$(build-shared) = yes].
505 * config.make.in (versioning): Remove variable.
506 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
507 [$(build-shared) = yes].
508 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
509 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
510 * elf/Makefile [$(versioning) = yes]: Change conditionals to
511 [$(build-shared) = yes].
512 * extra-lib.mk [$(versioning) = yes]: Likewise.
513 * hurd/Makefile [$(versioning) = yes]: Likewise.
514 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
515 [SHARED].
516 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
517 [SHARED].
518 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
519 [SHARED && !NO_HIDDEN].
520 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
521 [SHARED].
522 [SHARED && DO_VERSIONING]: Likewise..
523 * libio/Makefile [$(versioning) = yes]: Change conditionals to
524 [$(build-shared) = yes].
525 * manual/install.texi (--disable-versioning): Remove
526 documentation.
527 * INSTALL: Regenerated.
528 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
529 to [SHARED].
530 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
531 [$(build-shared) = yes].
532 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
533 * sysdeps/i386/i686/multiarch/strstr-c.c
534 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
535 [SHARED && !NO_HIDDEN].
536 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
537 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
538 * sysdeps/powerpc/powerpc32/dl-machine.c
539 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
540 * sysdeps/powerpc/powerpc32/sysdep.h
541 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
542 to [SHARED && PIC && !NO_HIDDEN].
543 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
544 conditional to [SHARED].
545
44558701
WN
5462013-09-04 Will Newton <will.newton@linaro.org>
547
548 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
549 * benchtests/bench-string.h: Include bench-timing.h instead
550 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
551 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
552 call to HP_TIMING_DIFF_INIT.
553 * benchtests/bench-memccpy.c: Use bench-timing.h macros
554 instead of hp-timing.h macros.
555 * benchtests/bench-memchr.c: Likewise.
556 * benchtests/bench-memcmp.c: Likewise.
557 * benchtests/bench-memcpy.c: Likewise.
558 * benchtests/bench-memmem.c: Likewise.
559 * benchtests/bench-memmove.c: Likewise.
560 * benchtests/bench-memset.c: Likewise.
561 * benchtests/bench-rawmemchr.c: Likewise.
562 * benchtests/bench-strcasecmp.c: Likewise.
563 * benchtests/bench-strcasestr.c: Likewise.
564 * benchtests/bench-strcat.c: Likewise.
565 * benchtests/bench-strchr.c: Likewise.
566 * benchtests/bench-strcmp.c: Likewise.
567 * benchtests/bench-strcpy.c: Likewise.
568 * benchtests/bench-strcpy_chk.c: Likewise.
569 * benchtests/bench-strlen.c: Likewise.
570 * benchtests/bench-strncasecmp.c: Likewise.
571 * benchtests/bench-strncat.c: Likewise.
572 * benchtests/bench-strncmp.c: Likewise.
573 * benchtests/bench-strncpy.c: Likewise.
574 * benchtests/bench-strnlen.c: Likewise.
575 * benchtests/bench-strpbrk.c: Likewise.
576 * benchtests/bench-strrchr.c: Likewise.
577 * benchtests/bench-strspn.c: Likewise.
578 * benchtests/bench-strstr.c: Likewise.
579
cae16d66
WN
5802013-09-04 Will Newton <will.newton@linaro.org>
581
582 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
583
ffa3cd7f
JM
5842013-09-03 Joseph Myers <joseph@codesourcery.com>
585
586 [BZ #15427]
587 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
588 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
589 * math/libm-test.inc (lgamma_test_data): Add more tests.
590 * sysdeps/i386/fpu/libm-test-ulps: Update.
591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
592
8f02859f
OB
5932013-09-03 Ondřej Bílka <neleai@seznam.cz>
594
595 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
596 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
597 Add ifunc.
598 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
599 Add strcmp-sse2-unaligned
600 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
601
18d43716
MF
6022013-09-02 Mike Frysinger <vapier@gentoo.org>
603
604 * Versions.def (libc): Add GLIBC_2.19.
605
ac444012
MF
6062013-09-02 Mike Frysinger <vapier@gentoo.org>
607
608 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
609 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
610
b7835e32
JM
6112013-09-02 Joseph Myers <joseph@codesourcery.com>
612
613 [BZ #14155]
614 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
615 intermediate calculations in recurrence.
616 (__ieee754_ynf): Likewise.
617 * math/libm-test.inc (jn_test_data): Do not allow spurious
618 underflow exception. Add more tests.
619 (yn_test_data): Add more tests.
620 * sysdeps/i386/fpu/libm-test-ulps: Update.
621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
622
8220f4f0
OB
6232013-09-02 Ondřej Bílka <neleai@seznam.cz>
624
625 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
626
f24a6d08
OB
6272013-08-30 Ondřej Bílka <neleai@seznam.cz>
628
629 * csu/init-first.c: Fix then/than typos.
630 * locale/programs/ld-collate.c: Likewise.
631 * locale/programs/linereader.h: Likewise.
632 * manual/charset.texi: Likewise.
633 * manual/filesys.texi: Likewise.
634 * manual/stdio.texi: Likewise.
635 * manual/string.texi: Likewise.
636 * stdlib/fmtmsg.c: Likewise.
637 * sysdeps/i386/stpncpy.S: Likewise.
638 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
639 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
640 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
641 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
642
382466e0
OB
6432013-08-30 Ondřej Bílka <neleai@seznam.cz>
644
645 * elf/dl-open.c: Fix typos.
646 * iconvdata/gbbig5.c: Likewise.
647 * iconvdata/iso-2022-jp.c: Likewise.
648 * iconv/gconv_int.h: Likewise.
649 * iconv/loop.c: Likewise.
650 * nis/rpcsvc/nis.h: Likewise.
651 * resolv/ns_name.c: Likewise.
652 * stdio-common/vfscanf.c: Likewise.
653 * streams/stropts.h: Likewise.
654 * sunrpc/rpc_thread.c: Likewise.
655 * sysdeps/i386/strpbrk.S: Likewise.
656 * sysdeps/ieee754/k_standard.c: Likewise.
657 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
658 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
659 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
660 * sysdeps/mach/hurd/profil.c: Likewise.
661 * sysdeps/s390/dl-procinfo.h: Likewise.
662 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
663 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
664 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
665 * sysdeps/x86_64/dl-trampoline.S: Likewise.
666 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
667
0186c6e9
OB
6682013-08-30 Ondřej Bílka <neleai@seznam.cz>
669
670 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
671 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
672
d4e16af1
OB
6732013-08-29 Ondřej Bílka <neleai@seznam.cz>
674
675 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
676 aix specific files.
677 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
678 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
679 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
680 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
681 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
682 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
683 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
684 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
685
88335980
TS
6862013-08-29 Thomas Schwinge <thomas@codesourcery.com>
687 Roland McGrath <roland@hack.frob.com>
688
689 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
690 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
691
ed479b02
ST
6922013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
693
694 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
695 __executable_start symbol instead of _start.
696
f1cc4c86
TS
6972013-08-29 Thomas Schwinge <thomas@codesourcery.com>
698
d821f07c
TS
699 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
700 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
701 Move macros to...
702 * sysdeps/gnu/ldsodefs.h: ... this new file.
703
c54290cf
TS
704 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
705 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
706 instead of ELFOSABI_LINUX.
707
0007fc9b 708 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
709 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
710 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
711 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
712 Likewise.
713 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
714 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
715 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
716 Likewise.
717 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
718 (ibm_extended_long_double): Add ieee_nan member.
719 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
720 (do_test): New function.
721
f1cc4c86
TS
722 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
723 TEST_TRUNC.
724 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
725 functions, renamed from truncdfsf_test, trunctfsf_test,
726 trunctfdf_test.
727 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
728 functions.
729 (do_test): Run all these.
730
6f65e668
OB
7312013-08-29 Ondřej Bílka <neleai@seznam.cz>
732
733 * argp/argp-help.c: Fix typos.
734 * argp/argp-parse.c: Likewise.
735 * debug/backtracesyms.c: Likewise.
736 * elf/elf.h: Likewise.
737 * malloc/malloc.c: Likewise.
738 * nis/nis_print.c: Likewise.
739 * resolv/res_comp.c: Likewise.
740 * stdlib/stdlib.h: Likewise.
741 * sunrpc/clnt_tcp.c: Likewise.
742 * sunrpc/clnt_udp.c: Likewise.
743 * sunrpc/clnt_unix.c: Likewise.
744 * sysdeps/unix/bsd/ptsname.c: Likewise.
745 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
746 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
748 Likewise.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
750 Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
752 Likewise.
6f65e668
OB
753 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
754
3a309239
SP
7552013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
756
757 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
759
3b813b29
MF
7602013-08-27 Mike Frysinger <vapier@gentoo.org>
761
762 [BZ #15897]
763 * dlfcn/Makefile (tests): Add bug-dl-leaf.
764 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
765 ($(objpfx)bug-dl-leaf): New rule.
766 ($(objpfx)bug-dl-leaf.so): Likewise.
767 ($(objpfx)bug-dl-leaf.out): Likewise.
768 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
769 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
770 * dlfcn/bug-dl-leaf.c: New test.
771 * dlfcn/bug-dl-leaf-lib.c: Likewise.
772 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
773 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
774 (dlclose): Likewise.
775 (dlmopen): Likewise.
776
8cc3269f
RM
7772013-08-27 Roland McGrath <roland@hack.frob.com>
778
7f9d0034
RM
779 * include/netdb.h [!_ISOMAC]:
780 Don't include <tls.h>.
781 (h_errno, __libc_h_errno): Move declaration and macros out of
782 [_LIBC_REENTRANT].
783
fb431262
RM
784 * include/resolv.h [_RESOLV_H_]:
785 Don't include <tls.h>.
786 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
787 * resolv/res_libc.c: Don't include <tls.h>.
788 (_res): Use __attribute__ ((nocommon)) in place of
789 __attribute__ ((section (".bss"))).
790
bd81123a
RM
791 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
792 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
793
c4e42566
RM
794 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
795
f890a59b
RM
796 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
797 only under [SIOCGIFCONF && SIOCGIFNETMASK].
798
799 * resolv/res_mkquery.c: Include <sys/time.h>.
800
5d1f0a09
RM
801 * inet/ifreq.c: Moved to ...
802 * sysdeps/unix/ifreq.c: ... here.
803 * inet/ifreq.c: New file, true stub version.
804
6fcf28b3
RM
805 * socket/sa_len.c: New file.
806 * socket/Makefile (aux): Add it.
807 * sysdeps/unix/sysv/linux/Makefile
808 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
809 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
810 and #include <socket/sa_len.c>.
811 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
812 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
813
e041fb8b
RM
814 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
815 * bits/socket.h: ... here.
816
8cc3269f
RM
817 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
818 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
819 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
820
5d228a43
AS
8212013-08-27 Andreas Schwab <schwab@suse.de>
822
45b8accc
AS
823 [BZ #15736]
824 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
825 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
826 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
827 * string/test-strcasecmp.c (test_main): Run tests in several
828 locales.
829 * string/test-strncasecmp.c (test_main): Likewise.
830
5d228a43
AS
831 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
832 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
833 to __strcasecmp_nonascii and __strncasecmp_nonascii.
834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
835 (__strncasecmp_ssse3) [PIC]: Likewise.
836
59d112a4
RM
8372013-08-26 Roland McGrath <roland@hack.frob.com>
838
53234cc3
RM
839 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
840
59d112a4
RM
841 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
842 instead of explicitly declaring xdecrypt.
843 * nis/nss_nis/nis-publickey.c: Likewise.
844
595aba70
SP
8452013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
846
847 [BZ #15890]
848 * nscd/aicache.c: Include res_hconf.h.
849 (addhstaiX): Initialize res_hconf.
850
ffabd393
AS
8512013-08-26 Andreas Schwab <schwab@suse.de>
852
853 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
854 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
855
e0a69f5c
SP
8562013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
857
858 * nscd/aicache.c (addhstaiX): Fix indentation.
859
8c12f01d
MF
8602013-08-25 Mike Frysinger <vapier@gentoo.org>
861
862 * configure.ac: Quote $build_pt_chown test.
863 * configure: Regenerated.
864
8fe89494
JM
8652013-08-23 Joseph Myers <joseph@codesourcery.com>
866
867 [BZ #15532]
868 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
869 * math/s_cexpf.c (__cexpf): Likewise.
870 * math/s_cexpl.c (__cexpl): Likewise.
871 * math/libm-test.inc (cexp_test_data): Correct expected return
872 value for NaN + i0. Add another test.
873
75b181d6
DM
8742013-08-22 David S. Miller <davem@davemloft.net>
875
876 * po/ca.po: Update Catalan translation from translation project.
936241e4 877 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 878
acd06bb1
JM
8792013-08-21 Joseph Myers <joseph@codesourcery.com>
880
881 [BZ #15797]
882 * math/s_fdim.c (__fdim): Check for infinite arguments if result
883 is infinite, not alongside NaN test.
884 * math/s_fdimf.c (__fdimf): Likewise.
885 * math/s_fdiml.c (__fdiml): Likewise.
886 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
887 errno is unchanged.
888
c0c3f78a
OB
8892013-08-21 Ondřej Bílka <neleai@seznam.cz>
890
891 * argp/argp-help.c: Fix typos.
892 * crypt/speeds.c: Likewise.
893 * csu/check_fds.c: Likewise.
894 * elf/dl-load.c: Likewise.
895 * elf/dl-open.c: Likewise.
896 * elf/reldep3.c: Likewise.
897 * elf/reldep.c: Likewise.
898 * elf/sprof.c: Likewise.
899 * iconv/iconv_charmap.c: Likewise.
900 * iconv/skeleton.c: Likewise.
901 * iconv/strtab.c: Likewise.
902 * io/lockf64.c: Likewise.
903 * libio/libioP.h: Likewise.
904 * resolv/gai_notify.c: Likewise.
905 * resolv/ns_name.c: Likewise.
906 * resolv/ns_samedomain.c: Likewise.
907 * resolv/res_send.c: Likewise.
908 * stdlib/random.c: Likewise.
909 * sunrpc/rpc/xdr.h: Likewise.
910 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
911 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
912 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
913 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
914 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
915 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
917 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
918 * sysdeps/mach/hurd/check_fds.c: Likewise.
919 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
920 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
921 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
922 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
923 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
924 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
925 * sysdeps/pthread/aio_notify.c: Likewise.
926 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
927 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
928 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
929 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
930 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
931
46ed1038
LD
9322013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
933
934 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
935 version if bit_Slow_SSE4_2 is set.
936 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
937 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
938
d400dcac
AZ
9392013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
940
941 [BZ #15867]
942 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
943 trampoline stack frame information.
944 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
945 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
946 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
947 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
948 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
949 * sysdeps/unix/sysv/linux/powerpc/init-first.c
950 (_libc_vdso_platform_setup): Initialize the signal trampolines.
951 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
952 sa_flags value.
953 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
954 interrupting a syscall and set with option SA_SIGINFO.
955
42c8fdd8
JM
9562013-08-20 Joseph Myers <joseph@codesourcery.com>
957
c980f2f4
JM
958 [BZ #15531]
959 * math/s_cproj.c (__cproj): Only return an infinity if one part of
960 argument is infinite.
961 * math/s_cprojf.c (__cprojf): Likewise.
962 * math/s_cprojl.c (__cprojl): Likewise.
963 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
964 * math/libm-test.inc (cproj_test_data): Add more tests.
965
0716c4fc
JM
966 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
967
42c8fdd8
JM
968 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
969 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
970 size. Use __ffs to determine corresponding shift.
971
b31469d0
JM
9722013-08-20 Joseph Myers <joseph@codesourcery.com>
973 Roland McGrath <roland@hack.frob.com>
974
975 * Makefile (INSTALL): Remove trailing blank lines from output of
976 makeinfo.
977
4e39af6e
AK
9782013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
979
980 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
981 Align 32 bit compat elf_greg to 8 bytes.
982
f315524e
AA
9832013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
984
985 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
986
1326ba1a
SP
9872013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
988
989 * string/strcoll_l.c (coll_seq): New structure.
990 (get_next_seq_cached): New function.
991 (get_next_seq): New function.
992 (do_compare): New function.
993 (STRCOLL): Use GNU style definition. Simplify implementation
994 by using get_next_seq, get_next_seq_cached and do_compare.
995
91ce4085
FW
9962013-08-16 Florian Weimer <fweimer@redhat.com>
997
998 [BZ #14699]
999 CVE-2013-4237
1000 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1001 member.
1002 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1003 member.
1004 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1005 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1006 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1007 conditional.
1008 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1009 GETDENTS_64BIT_ALIGNED.
1010 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1011 * manual/filesys.texi (Reading/Closing Directory): Document
1012 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1013 strongly.
1014 * manual/conf.texi (Limits for Files): Add portability note to
1015 NAME_MAX, PATH_MAX.
1016 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1017
ca0a6bc4
AS
10182013-08-13 Andreas Schwab <schwab@suse.de>
1019
1020 [BZ #15749]
1021 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1022 of fabs.
1023 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1024 LDBL_MAX_EXP >= 16384]: Add tests for it.
1025
6c1fd795
DM
10262013-08-12 David S. Miller <davem@davemloft.net>
1027
1028 * version.h (RELEASE): Set to "development".
1029 (VERSION): Set to "2.18.90".
1030 * NEWS: Add 2.19 section.
1031
31ad488d
DM
10322013-08-03 David S. Miller <davem@davemloft.net>
1033
1034 * po/ko.po: Update Korean translation from translation project.
1035
db24e684
DM
10362013-08-01 David S. Miller <davem@davemloft.net>
1037
1038 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1039 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1040 Bilka.
1041
f723285b
DM
10422013-07-30 David S. Miller <davem@davemloft.net>
1043
1044 * po/fr.po: Update French translation from translation project.
1045
3cbc52db
DM
10462013-07-28 David S. Miller <davem@davemloft.net>
1047
30bbc0cc
DM
1048 * po/cs.po: Update Czech translation from translation project.
1049
3cbc52db
DM
1050 * po/sv.po: Update Swedish translation from translation project.
1051
d492e6d0
DM
10522013-07-27 David S. Miller <davem@davemloft.net>
1053
f1a7f492
DM
1054 * po/eo.po: Update Esperanto translation from translation project.
1055
90e62a4a
DM
1056 * po/vi.po: Update Vietnamese translation from translation project.
1057
d492e6d0
DM
1058 * po/de.po: Update German translation from translation project.
1059
d4baa62d
DM
10602013-07-26 David S. Miller <davem@davemloft.net>
1061
641aa7b4
DM
1062 * po/bg.po: Update Bulgarian translation from translation project.
1063
d4baa62d
DM
1064 * po/nl.po: Update Dutch translation from translation project.
1065 * po/pl.po: Update Polish translation from translation project.
1066 * po/ru.po: Update Russian translation from translation project.
1067
61a9dcb9
DM
10682013-07-24 David S. Miller <davem@davemloft.net>
1069
1070 * po/libc.pot: Update.
1071
7b1f8b58
AZ
10722013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1073
1074 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1075 variable page size.
1076 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1077 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1078 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1079
a8fc7a03
AK
10802013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1081
1082 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1083
e4608715
CD
10842013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1085 Andreas Schwab <schwab@suse.de>
1086 Roland McGrath <roland@hack.frob.com>
1087 Joseph Myers <joseph@codesourcery.com>
1088 Carlos O'Donell <carlos@redhat.com>
1089
1090 [BZ #15755]
1091 * config.h.in: Define HAVE_PT_CHOWN.
1092 * config.make.in (build-pt-chown): New variable.
1093 * configure.in (--enable-pt_chown): New configure option.
1094 * configure: Regenerate.
1095 * login/Makefile: Include Makeconfig. Build pt_chown only if
1096 build-pt-chown is enabled.
1097 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1098 pt_chown to fix pty ownership.
1099 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1100 CLOSE_ALL_FDS.
1101 * manual/install.texi (Configuring and compiling): Mention
1102 --enable-pt_chown. Add @findex for grantpt.
1103 * INSTALL: Regenerate.
1104
da2d62df
DM
11052013-07-20 David S. Miller <davem@davemloft.net>
1106
1107 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1108 difference between 32-bit and 64-bit.
1109
d7e06450
CD
11102013-07-15 Carlos O'Donell <carlos@redhat.com>
1111
1112 [BZ #15711]
1113 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1114 Avoid system header dependency with -ffreestanding.
1115 ($(objpfx)bits/syscall%d): Likewise.
1116
f959cfd7
DM
11172013-07-13 David S. Miller <davem@davemloft.net>
1118
1119 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1120 underflows from atanl/atan2l due to bug 15319.
1121 (casinh_test_data): Likewise.
1122
c61f8513
DM
11232013-07-07 David S. Miller <davem@davemloft.net>
1124
1125 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1126
72c90ed0
JA
11272013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1128
1129 * sysdeps/i386/fpu/libm-test-ulps: Update.
1130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1131
52dfbe13
SP
11322013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1133
1134 * configure.in (--enable-lock-elision): Fix message text.
1135 * INSTALL: Regenerate.
1136 * configure: Regenerate.
1137
3f169543
AZ
11382013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1139
1140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1141
521c6785
AJ
11422013-07-03 Andreas Jaeger <aj@suse.de>
1143
1144 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1145 define.
1146 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1147 (ptrace_peeksiginfo_args): Add.
1148 (__ptrace_peeksiginfo_flags): Add.
1149 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1150 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1151 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1152
d2cc15cb
AM
11532013-07-03 Allan McRae <allan@archlinux.org>
1154
1155 * sysdeps/i386/fpu/libm-test-ulps: Update.
1156
3aaeeca7
DM
11572013-07-02 David S. Miller <davem@davemloft.net>
1158
1159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1160
5314ed1a
MT
11612013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1162
1163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1164
67338156
JM
11652013-07-02 Joseph Myers <joseph@codesourcery.com>
1166
1167 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1169
1717da59
AK
11702013-07-02 Andi Kleen <ak@linux.intel.com>
1171
1172 * config.h.in (ENABLE_LOCK_ELISION): Add.
1173 * configure.in (--enable-lock-elision): Add option.
1174 * manual/install.texi: Document --enable lock elision.
1175 * configure: Regenerate
1176 * INSTALL: Regenerate.
1177
1c81621c
L
11782013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1179
1180 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1181 SSE4.2 strcasecmp for libc.a.
1182 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1183
77f01ab5
JM
11842013-07-02 Joseph Myers <joseph@codesourcery.com>
1185
1186 [BZ #13304]
1187 * soft-fp/op-common.h (_FP_FMA): New macro.
1188 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1189 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1190 (_FP_MUL_MEAT_1_imm): ... here.
1191 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1192 (_FP_MUL_MEAT_1_wide): ... here.
1193 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1194 (_FP_MUL_MEAT_1_hard): ... here.
1195 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1196 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1197 (_FP_MUL_MEAT_2_wide): ... here.
1198 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1199 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1200 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1201 (_FP_MUL_MEAT_2_gmp): ... here.
1202 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1203 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1204 (_FP_MUL_MEAT_4_wide): ... here.
1205 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1206 (_FP_MUL_MEAT_4_gmp): ... here.
1207 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1208 (_FP_WFRACBITS_DW_S): Likewise.
1209 (_FP_WFRACXBITS_DW_S): Likewise.
1210 (_FP_HIGHBIT_DW_S): Likewise.
1211 (FP_FMA_S): Likewise.
1212 (_FP_FRAC_HIGH_DW_S): Likewise.
1213 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1214 (_FP_WFRACBITS_DW_D): Likewise.
1215 (_FP_WFRACXBITS_DW_D): Likewise.
1216 (_FP_HIGHBIT_DW_D): Likewise.
1217 (FP_FMA_D): Likewise.
1218 (_FP_FRAC_HIGH_DW_D): Likewise.
1219 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1220 (_FP_WFRACBITS_DW_E): Likewise.
1221 (_FP_WFRACXBITS_DW_E): Likewise.
1222 (_FP_HIGHBIT_DW_E): Likewise.
1223 (FP_FMA_E): Likewise.
1224 (_FP_FRAC_HIGH_DW_E): Likewise.
1225 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1226 (_FP_WFRACBITS_DW_Q): Likewise.
1227 (_FP_WFRACXBITS_DW_Q): Likewise.
1228 (_FP_HIGHBIT_DW_Q): Likewise.
1229 (FP_FMA_Q): Likewise.
1230 (_FP_FRAC_HIGH_DW_Q): Likewise.
1231 * soft-fp/fmasf4.c: New file.
1232 * soft-fp/fmadf4.c: Likewise.
1233 * soft-fp/fmatf4.c: Likewise.
1234
6308fd9a
LD
12352013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1236
1237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1238 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1239 Silvermont.
1240 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1241 macro.
1242 (index_Slow_SSE4_2): Likewise.
1243 (index_Prefer_PMINUB_for_stringop): Likewise.
1244 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1245 bit_Slow_SSE4_2 is set.
1246 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1247 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1248
89cd9569
RA
12492013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1250
1251 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1252 rtld_global._dl_hwcap2.
1253 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1254 POWER8.
1255 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1256 POWER8 feature descriptions defined in _dl_hwcap2.
1257 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1258 string handling for POWER8 feature bits.
1259 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1260 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1261 _dl_powerpc_cap_flags.
1262 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1263 * sysdeps/powerpc/rtld-global-offsets.sym
1264 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1265 _dl_hwcap2 in the rtld_global_ro structure.
1266
1ae8bfe0
RA
12672013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1268
1269 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1270 hardware capabilities in support of AT_HWCAP2.
1271 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1272 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1273 GLRO(dl_hwcap2).
1274 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1275 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1276 explicitly the unknown a_type display mechanism is used.
1277 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1278 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1279 struct member.
1280 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1281 to macro prototype for AT_HWCAP2 support.
1282 * sysdeps/i386/dl-procinfo.h: Likewise.
1283 * sysdeps/s390/dl-procinfo.h: Likewise.
1284 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1285 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1286 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1287 return -1 for unknown a_type display fallback.
1288 * sysdeps/sparc/dl-procinfo.h: Likewise.
1289 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1290 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1291
8fbec010
JM
12922013-06-28 Joseph Myers <joseph@codesourcery.com>
1293
1294 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1295 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1296
0432680e
PY
12972013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1298
1299 [BZ #12492]
1300 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1301 mprotect making __stack_prot writable.
1302
ce61a2ad
NF
13032013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1304 Joseph Myers <joseph@codesourcery.com>
1305
1306 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1307 as being properly aligned.
1308
f91f1c0f
MR
13092013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1310
3d0f5d0c
MR
1311 * dlfcn/modstatic5.c: New file.
1312 * dlfcn/tststatic5.c: New file.
1313 * dlfcn/Makefile (tests): Add tststatic5.
1314 (tests-static): Likewise.
1315 (modules-names): Add modstatic5.
1316 (tststatic5-ENV): New variable.
1317 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1318
f91f1c0f
MR
1319 [BZ #15022]
1320 * elf/dl-support.c (_dl_main_map): New variable.
1321 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1322 (_dl_nns, _dl_load_adds): Set to 1.
1323 (_dl_initial_searchlist): Refer to _dl_main_map.
1324 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1325 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1326 call to _dl_get_origin.
1327 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1328 around call_map.
1329 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1330 * dlfcn/modstatic3.c: New file.
1331 * dlfcn/tststatic3.c: New file.
1332 * dlfcn/tststatic4.c: New file.
1333 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1334 (tests-static): Likewise.
1335 (modules-names): Add modstatic3.
1336 (tststatic3-ENV, tststatic4-ENV): New variables.
1337 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1338 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1339
cbe7d24b
JM
13402013-06-26 Joseph Myers <joseph@codesourcery.com>
1341
1342 * configure.in (CC): Require GCC version 4.4 or later.
1343 * configure: Regenerated.
1344 * manual/install.texi (Tools for Compilation): Update GCC version
1345 requirement.
1346 * INSTALL: Regenerated.
1347
11b8a0e1
LD
13482013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1349
1350 [BZ #15674]
bb5bb87c
L
1351 * string/test-memcmp.c (check2): New.
1352 (main): Call check2.
1353
11b8a0e1
LD
1354 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1355
b0037103
MR
13562013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1357
1358 [BZ #15022]
1359 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1360 over to...
1361 (dl_open_worker) [!SHARED]: ... here.
1362
c18c701d
RA
13632013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1364
1365 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1366
1d17fa5f
RH
13672013-06-25 Richard Henderson <rth@redhat.com>
1368
1369 * locale/programs/locarchive.c: Include <libc-internal.h>
1370
8fcb833a
JM
13712013-06-25 Joseph Myers <joseph@codesourcery.com>
1372
1373 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1374 trailing whitespace removed.
1375
17db6e8d
MF
13762013-06-24 Mike Frysinger <vapier@gentoo.org>
1377
1378 [BZ #10283]
17db6e8d
MF
1379 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1380 * locale/programs/locarchive.c: Include libc-mmap.h.
1381 (prepare_address_space): Take two new outputs (the mmap base and len).
1382 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1383 values.
1384 (create_archive): Declare new mmap base and len values for
1385 prepare_address_space, and store the result in ah.
1386 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1387 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1388 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1389 Declare new mmap base and len values for
1390 prepare_address_space, and store the result in new_ah.
1391 (open_archive): Declare new mmap base and len values for
1392 prepare_address_space, and store the result in ah.
1393 (close_archive): If ah->mmap_base is not NULL, use that and
1394 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1395 * sysdeps/generic/libc-mmap.h: New file.
1396
d605071e
MF
13972013-06-24 Mike Frysinger <vapier@gentoo.org>
1398
1399 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1400 (ALIGN_UP): Likewise.
1401 (PTR_ALIGN_DOWN): Likewise.
1402 (PTR_ALIGN_UP): Likewise.
1403
2f063a6e
RA
14042013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1405
1406 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1407 entry mapped to PPC_PLATFORM_POWER8.
1408 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1409 POWER8.
1410 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1411 (_dl_string_platform): Add case for exporting platform position for
1412 POWER8.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1414 search path to sysdeps/powerpc/powerpc32/power8 directory.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1416 search path to sysdeps/powerpc/powerpc64/power8 directory.
1417 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1418 power7 directories.
1419 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1420 power7 directories.
1421
a31ee4b3
SP
14222013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1423
a74ca98f
SP
1424 * INSTALL: Regenerate.
1425
a31ee4b3
SP
1426 * nscd/connections.c (nscd_init): Fix comment.
1427
695c378f
JM
14282013-06-22 Joseph Myers <joseph@codesourcery.com>
1429
d8412221
JM
1430 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1431
695c378f
JM
1432 [BZ #15667]
1433 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1434 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1435
d1d54715
MR
14362013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1437
1438 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1439 DL_DST_REQ_STATIC.
1440 (DL_DST_REQ_STATIC): Remove macro.
1441
8fdda7af
JM
14422013-06-21 Joseph Myers <joseph@codesourcery.com>
1443
1444 [BZ #7006]
1445 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1446 with a shift of 0 bits.
1447
f3bc5e5a
MR
14482013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1449
1450 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1451 $(tststatic-ENV).
1452
be09e8c9
KK
14532013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1454
1455 [BZ #15655]
1456 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1457
85c2e611
AZ
14582013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1459
1460 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1461 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1462 accepts -fno-tree-loop-distribute-patterns.
1463 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1464 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1465 recursive call.
1466 * string/memset.c (memset): Likewise.
1467 * string/test-memmove.c (simple_memmove): Disable loop transformation
1468 to library calls.
1469 * string/test-memset.c (simple_memset): Likewise.
1470 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1471 * benchtests/bench-memset.c (simple_memset): Likewise.
1472 * configure: Regenerated.
1473
c91e0825
JM
14742013-06-20 Joseph Myers <joseph@codesourcery.com>
1475
b8c792af
JM
1476 * math/test-misc.c (main): Ignore fesetround failure when failures
1477 of subsequent rounding tests would be ignored.
1478
c91e0825
JM
1479 [BZ #15654]
1480 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1481 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1482 * math/fegetenv.c (__fegetenv): Return 0.
1483 * math/fegetexcept.c (fegetexcept): Return 0.
1484 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1485 FE_TONEAREST.
1486 * math/feholdexcpt.c (feholdexcept): Return 0.
1487 * math/fesetenv.c (__fesetenv): Return 0.
1488 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1489 argument FE_TONEAREST.
1490 * math/feupdateenv.c (__feupdateenv): Return 0.
1491 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1492
bfcacbde
RM
14932013-06-18 Roland McGrath <roland@hack.frob.com>
1494
1495 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1496 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1497 ($(objpfx)rtld-%.os rules): Use them.
1498
e55a9b25
AZ
14992013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1500
1501 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1502 fields.
1503
346d65b3
RM
15042013-06-17 Roland McGrath <roland@hack.frob.com>
1505
12086fb4
RM
1506 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1507 length of target pattern, then descending length of dependency pattern.
1508 * configure.in (AWK): Require gawk 3.1.2 or newer.
1509 * manual/install.texi (Tools for Compilation): Say that we do.
1510 * configure: Regenerated.
1511
346d65b3
RM
1512 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1513 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1514 * scripts/sysd-rules.awk: ... this new script.
1515 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1516 than a glob-style pattern.
1517
1a846317
JM
15182013-06-17 Joseph Myers <joseph@codesourcery.com>
1519
1520 * math/test-misc.c (main): Do not treat incorrectly rounded
1521 conversions as failure unless ROUNDING_TESTS passes.
1522
8fc75e6f
JM
15232013-06-15 Joseph Myers <joseph@codesourcery.com>
1524
3711a167
JM
1525 [BZ #15631]
1526 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1527 restore exception state around main square root computation, then
1528 check for inexactness explicitly.
1529
8fc75e6f
JM
1530 * math/libm-test.inc (fma_test_data): Add another test.
1531
61dd6208
SP
15322013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1533
adf23d2c
SP
1534 * manual/threads.texi (Non-POSIX Extensions): New document
1535 node. Document pthread_getattr_default_np and
1536 pthread_setattr_default_np.
1537
61dd6208
SP
1538 * Versions.def (libpthread): Add GLIBC_2.18.
1539 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1541 Likewise.
1542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1543 Likewise.
1544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1545 Likewise.
1546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1547 Likewise.
1548 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1549 Likewise.
1550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1551 Likewise.
1552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1553 Likewise.
1554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1555 Likewise.
1556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1557 Likewise.
1558
d086fc7b
LD
15592013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1560
1561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1562 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1563
747ef469
SP
15642013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1565 H.J. Lu <hjl.tools@gmail.com>
1566
1567 [BZ #15627]
1568 * sysdeps/x86_64/rtld-memset.c: Remove file.
1569 * sysdeps/x86_64/rtld-memset.S: New file.
1570
1b2feed2
JM
15712013-06-14 Joseph Myers <joseph@codesourcery.com>
1572
1573 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1574 (test_in_one_mode): Take arguments for whether the rounding mode
1575 is supported for each floating-point type.
1576 (do_test): Pass new arguments to test_in_one_mode using
1577 ROUNDING_TESTS.
1578
a58ad3f8
RM
15792013-06-13 Roland McGrath <roland@hack.frob.com>
1580
1581 * posix/tst-waitid.c (do_test): Distinguish different instances of
1582 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1583 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1584 before entering the kernel for waitpid.
1585
c204ab28
SP
15862013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1587
1588 * NEWS: Fix note on clock function precision. Text by Roland
1589 McGrath.
1590
f4a29fba
RM
15912013-06-13 Roland McGrath <roland@hack.frob.com>
1592
1593 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1594 it into place only when and if the sanity check passes.
1595
1f24b9ad
JM
15962013-06-13 Joseph Myers <joseph@codesourcery.com>
1597
1598 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1599 output for whether conversion result is exact. Take argument
1600 indicating whether type is IBM long double.
1601 (round_for_all): Change need_exact field to ibm_ld.
1602 * stdlib/tst-strtod-round.c (struct exactness): New type.
1603 (struct test): Change bool ld_ok field to struct exactness exact.
1604 (TEST): Update all definitions for change to field.
1605 (tests): Regenerate array contents.
1606 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1607 field value. Check for IBM long double here.
1608 (do_test): Update calls to test_in_one_mode.
1609
58206c68
SP
16102013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1611
1612 [BZ #12515]
1613 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1614 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1615
2d6f4c5b 16162013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1617
1618 [BZ #15605]
1619 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1620 generated by the compiler on loop optimizations.
1621 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1622 general definitions.
1623
94f2c076
JM
16242013-06-12 Joseph Myers <joseph@codesourcery.com>
1625
1626 * math/bug-nextafter.c: Include <math-tests.h>.
1627 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1628 the relevant type.
1629 * math/bug-nexttoward.c: Include <math-tests.h>.
1630 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1631 the relevant type.
1632 * math/test-misc.c: Include <math-tests.h>.
1633 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1634 the relevant type.
1635
e0e50a0a
AJ
16362013-06-12 Andreas Jaeger <aj@suse.de>
1637
1638 * po/ia.po: Update Interlingua translation from translation
1639 project.
1640
25061094
SP
16412013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1642
1643 * include/fenv.h: Include stdbool.h.
1644 (struct rm_ctx): New structure.
1645 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1646 Define macro.
1647 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1648 (SET_RESTORE_ROUNDF): Likewise.
1649 (SET_RESTORE_ROUNDL): Likewise.
1650 (SET_RESTORE_ROUND_NOEX): Likewise.
1651 (SET_RESTORE_ROUND_NOEXF): Likewise.
1652 (SET_RESTORE_ROUND_NOEXL): Likewise.
1653 (SET_RESTORE_ROUND_53BIT): Likewise.
1654 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1655 (libc_feresetround_noexf_ctx): Likewise.
1656 (libc_feresetround_noexl_ctx): Likewise.
1657 (libc_feholdsetround_53bit_ctx): Likewise.
1658 (libc_feresetround_53bit_ctx): Likewise.
1659 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1660 (libc_feholdexcept_setround_sse_ctx): New function.
1661 (libc_fesetenv_sse_ctx): Likewise.
1662 (libc_feupdateenv_sse_ctx): Likewise.
1663 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1664 (libc_feholdexcept_setround_387_ctx): Likewise.
1665 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1666 (libc_feholdsetround_387_prec_ctx): Likewise.
1667 (libc_feholdsetround_387_ctx): Likewise.
1668 (libc_feholdsetround_387_53bit_ctx): Likewise.
1669 (libc_feholdsetround_sse_ctx): Likewise.
1670 (libc_feresetround_sse_ctx): Likewise.
1671 (libc_feresetround_387_ctx): Likewise.
1672 (libc_feupdateenv_387_ctx): Likewise.
1673 (libc_feholdexcept_setroundf_ctx): Define macro.
1674 (libc_fesetenvf_ctx): Likewise.
1675 (libc_feupdateenvf_ctx): Likewise.
1676 (libc_feholdsetroundf_ctx): Likewise.
1677 (libc_feresetroundf_ctx): Likewise.
1678 (libc_feholdexcept_setround_ctx): Likewise.
1679 (libc_fesetenv_ctx): Likewise.
1680 (libc_feupdateenv_ctx): Likewise.
1681 (libc_feholdsetround_ctx): Likewise.
1682 (libc_feresetround_ctx): Likewise.
1683 (libc_feholdexcept_setroundl_ctx): Likewise.
1684 (libc_feupdateenvl_ctx): Likewise.
1685 (libc_feholdsetroundl_ctx): Likewise.
1686 (libc_feresetroundl_ctx): Likewise.
1687 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1688 (libc_feresetround_53bit_ctx): Likewise.
1689
59b30555
SP
16902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1691
1692 * locale/iso-639.def: Convert to UTF-8.
1693
f1d73d30
JM
16942013-06-11 Joseph Myers <joseph@codesourcery.com>
1695
1696 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1697 (EXCEPTION_TESTS_double): Likewise.
1698 (EXCEPTION_TESTS_long_double): Likewise.
1699 (EXCEPTION_TESTS): Likewise.
1700 * math/libm-test.inc (test_exceptions): Only test exceptions if
1701 EXCEPTION_TESTS (FLOAT).
1702
94aca5e7
SP
17032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1704
1705 * benchtests/Makefile (string-bench): Add strcpy_chk and
1706 stpcpy_chk.
1707 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1708 * benchtests/bench-stpcpy_chk.c: New file.
1709 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1710 * benchtests/bench-strcpy_chk.c: New file.
1711 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1712 code.
1713 (do_test): Likewise.
1714
fac0c5f2
RA
17152013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1716
1717 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1718 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1719 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1720 with tabs where appropriate.
1721 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1722 dl-procinfo.h.
1723 [PPC_PLATFORM_PPC440]: Likewise.
1724 [PPC_PLATFORM_PPC464]: Likewise.
1725 [PPC_PLATFORM_PPC476]: Likewise.
1726 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1727 ppc464, and ppc476 platform strings merging from ports/
1728 dl-procinfo.h.
1729
f22bc486
AS
17302013-06-11 Andreas Schwab <schwab@suse.de>
1731
1732 [BZ #14991]
1733 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1734 (from_ucs4_idx): Regenerate.
1735 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1736 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1737 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1738 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1739 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1740 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1741 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1742 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1743 from FROM_LOOP and TO_LOOP specific macros.
1744 (BODY): Handle combining characters.
1745 * iconvdata/BIG5HKSCS.irreversible: Update.
1746 * iconvdata/BIG5HKSCS.precomposed: New file.
1747 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1748 characters.
1749 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1750
c1f75dc3
SP
17512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1752
4eacded2
SP
1753 * include/sys/time.h: Fix indentation and add copyright header.
1754
fec799f8
SP
1755 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1756 (do_test): Likewise.
1757 * string/test-memchr.c (do_one_test): Likewise.
1758 (do_test): Likewise.
1759 * string/test-memcmp.c (do_one_test): Likewise.
1760 (do_test): Likewise.
1761 * string/test-memcpy.c (do_one_test): Likewise.
1762 (do_test): Likewise.
1763 * string/test-memmem.c (do_one_test): Likewise.
1764 (do_test): Likewise.
1765 (do_random_tests): Likewise.
1766 * string/test-memmove.c (do_one_test): Likewise.
1767 (do_test): Likewise.
1768 * string/test-memset.c (do_one_test): Likewise.
1769 (do_test): Likewise.
1770 * string/test-rawmemchr.c (do_one_test): Likewise.
1771 (do_test): Likewise.
1772 * string/test-strcasecmp.c (do_one_test): Likewise.
1773 (do_test): Likewise.
1774 * string/test-strcasestr.c (do_one_test): Likewise.
1775 (do_test): Likewise.
1776 * string/test-strcat.c (do_one_test): Likewise.
1777 (do_test): Likewise.
1778 * string/test-strchr.c (do_one_test): Likewise.
1779 (do_test): Likewise.
1780 * string/test-strcmp.c (do_one_test): Likewise.
1781 (do_test): Likewise.
1782 * string/test-strcpy.c (do_one_test): Likewise.
1783 (do_test): Likewise.
1784 * string/test-string.h: Likewise.
1785 (test_init): Likewise.
1786 * string/test-strlen.c (do_one_test): Likewise.
1787 (do_test): Likewise.
1788 * string/test-strncasecmp.c (do_one_test): Likewise.
1789 (do_test): Likewise.
1790 * string/test-strncat.c (do_one_test): Likewise.
1791 (do_test): Likewise.
1792 * string/test-strncmp.c (do_one_test): Likewise.
1793 (do_test_limit): Likewise.
1794 (do_test): Likewise.
1795 * string/test-strncpy.c (do_one_test): Likewise.
1796 (do_test): Likewise.
1797 * string/test-strnlen.c (do_one_test): Likewise.
1798 (do_test): Likewise.
1799 * string/test-strpbrk.c (do_one_test): Likewise.
1800 (do_test): Likewise.
1801 * string/test-strrchr.c (do_one_test): Likewise.
1802 (do_test): Likewise.
1803 * string/test-strspn.c (do_one_test): Likewise.
1804 (do_test): Likewise.
1805 * string/test-strstr.c (do_one_test): Likewise.
1806 (do_test): Likewise.
1807
97020474
SP
1808 * benchtests/Makefile (string-bench): Add string benchmarks.
1809 * benchtests/bench-bcopy-ifunc.c: New file.
1810 * benchtests/bench-bcopy.c: New file.
1811 * benchtests/bench-bzero-ifunc.c: New file.
1812 * benchtests/bench-bzero.c: New file.
1813 * benchtests/bench-memccpy-ifunc.c: New file.
1814 * benchtests/bench-memccpy.c: New file.
1815 * benchtests/bench-memchr-ifunc.c: New file.
1816 * benchtests/bench-memchr.c: New file.
1817 * benchtests/bench-memcmp-ifunc.c: New file.
1818 * benchtests/bench-memcmp.c: New file.
1819 * benchtests/bench-memmem-ifunc.c: New file.
1820 * benchtests/bench-memmem.c: New file.
1821 * benchtests/bench-memmove-ifunc.c: New file.
1822 * benchtests/bench-memmove.c: New file.
1823 * benchtests/bench-mempcpy-ifunc.c: New file.
1824 * benchtests/bench-mempcpy.c: New file.
1825 * benchtests/bench-memset-ifunc.c: New file.
1826 * benchtests/bench-memset.c: New file.
1827 * benchtests/bench-rawmemchr-ifunc.c: New file.
1828 * benchtests/bench-rawmemchr.c: New file.
1829 * benchtests/bench-stpcpy-ifunc.c: New file.
1830 * benchtests/bench-stpcpy.c: New file.
1831 * benchtests/bench-stpncpy-ifunc.c: New file.
1832 * benchtests/bench-stpncpy.c: New file.
1833 * benchtests/bench-strcasecmp-ifunc.c: New file.
1834 * benchtests/bench-strcasecmp.c: New file.
1835 * benchtests/bench-strcasestr-ifunc.c: New file.
1836 * benchtests/bench-strcasestr.c: New file.
1837 * benchtests/bench-strcat-ifunc.c: New file.
1838 * benchtests/bench-strcat.c: New file.
1839 * benchtests/bench-strchr-ifunc.c: New file.
1840 * benchtests/bench-strchr.c: New file.
1841 * benchtests/bench-strchrnul-ifunc.c: New file.
1842 * benchtests/bench-strchrnul.c: New file.
1843 * benchtests/bench-strcmp-ifunc.c: New file.
1844 * benchtests/bench-strcmp.c: New file.
1845 * benchtests/bench-strcpy-ifunc.c: New file.
1846 * benchtests/bench-strcpy.c: New file.
1847 * benchtests/bench-strcspn-ifunc.c: New file.
1848 * benchtests/bench-strcspn.c: New file.
1849 * benchtests/bench-strlen-ifunc.c: New file.
1850 * benchtests/bench-strlen.c: New file.
1851 * benchtests/bench-strncasecmp-ifunc.c: New file.
1852 * benchtests/bench-strncasecmp.c: New file.
1853 * benchtests/bench-strncat-ifunc.c: New file.
1854 * benchtests/bench-strncat.c: New file.
1855 * benchtests/bench-strncmp-ifunc.c: New file.
1856 * benchtests/bench-strncmp.c: New file.
1857 * benchtests/bench-strncpy-ifunc.c: New file.
1858 * benchtests/bench-strncpy.c: New file.
1859 * benchtests/bench-strnlen-ifunc.c: New file.
1860 * benchtests/bench-strnlen.c: New file.
1861 * benchtests/bench-strpbrk-ifunc.c: New file.
1862 * benchtests/bench-strpbrk.c: New file.
1863 * benchtests/bench-strrchr-ifunc.c: New file.
1864 * benchtests/bench-strrchr.c: New file.
1865 * benchtests/bench-strspn-ifunc.c: New file.
1866 * benchtests/bench-strspn.c: New file.
1867 * benchtests/bench-strstr-ifunc.c: New file.
1868 * benchtests/bench-strstr.c: New file.
1869
c1f75dc3
SP
1870 * benchtests/Makefile: Disable parallel execution of targets.
1871 (string-bench): Add memcpy.
1872 (benchset): New variable to store a list of benchmark sets.
1873 (bench-func): Renamed from bench.
1874 (bench-set): New target.
1875 (bench): Depend on bench-func and bench-set.
1876 * benchtests/README: Add section on benchmark sets.
1877 * benchtests/bench-memcpy-ifunc.c: New file.
1878 * benchtests/bench-memcpy.c: New file.
1879 * benchtests/bench-string.h: New file.
1880
50fd745b
AS
18812013-06-11 Andreas Schwab <schwab@suse.de>
1882
1883 [BZ #15577]
1884 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1885 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1886 values in the triple.
1887 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1888 terminator in the group key.
1889
3ee7e9fe
AJ
18902013-06-11 Andreas Jaeger <aj@suse.de>
1891
1892 * po/zh_TW.po: Update Chinese (traditional) translation from
1893 translation project.
1894
89fb6835
SP
18952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1896
1897 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1898 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1899 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1900 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1901 (clock_getcpuclockid): Likewise.
1902 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1903 Add weak_alias and libc_hidden_def.
1904 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1905 * rt/clock_gettime.c (clock_gettime): Rename to
1906 __clock_gettime. Add weak_alias and libc_hidden_def.
1907 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1908 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1909 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1910 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1911 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1912 Likewise.
1913 * rt/clock_settime.c (clock_settime): Rename to
1914 __clock_settime. Add weak_alias and libc_hidden_def.
1915 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1916
0efa6f8b
JM
19172013-06-10 Joseph Myers <joseph@codesourcery.com>
1918
b8c61b4b
JM
1919 * mach/err_boot.sub: Remove trailing whitespace.
1920 * mach/err_ipc.sub: Likewise.
1921 * mach/err_mach.sub: Likewise.
1922
0efa6f8b
JM
1923 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1924 (ROUNDING_TESTS_double): Likewise.
1925 (ROUNDING_TESTS_long_double): Likewise.
1926 (ROUNDING_TESTS): Likewise.
1927 * math/libm-test.inc: Include <math-tests.h>.
1928 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1929 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1930 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1931 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1932
50b818bf
SP
19332013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1934
1935 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1936 of assigning.
1937
60d2f8f3
JM
19382013-06-08 Joseph Myers <joseph@codesourcery.com>
1939
4902d2c3
JM
1940 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1941 otherwise empty TRANS lines.
1942 * sysdeps/gnu/errlist.c: Regenerated.
1943
60d2f8f3
JM
1944 * catgets/gencat.c (error_print): Use (void) in function
1945 definition.
1946 * crypt/crypt_util.c (__init_des): Likewise.
1947 * crypt/speeds.c (Stop): Likewise.
1948 (main): Likewise.
1949 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1950 * inet/ruserpass.c (token): Likewise.
1951 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1952 * intl/localealias.c (extend_alias_table): Likewise.
1953 * intl/plural-exp.c (init_germanic_plural): Likewise.
1954 * libio/fcloseall.c (__fcloseall): Likewise.
1955 * libio/genops.c (_IO_flush_all): Likewise.
1956 (_IO_flush_all_linebuffered): Likewise.
1957 (_IO_cleanup): Likewise.
1958 (_IO_iter_begin): Likewise.
1959 (_IO_iter_end): Likewise.
1960 (_IO_list_lock): Likewise.
1961 (_IO_list_unlock): Likewise.
1962 (_IO_list_resetlock): Likewise.
1963 * libio/getchar.c (getchar): Likewise.
1964 * libio/getchar_u.c (getchar_unlocked): Likewise.
1965 * libio/getwchar.c (getwchar): Likewise.
1966 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1967 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1968 * login/getpt.c (__getpt): Likewise.
1969 * login/tst-utmp.c (main): Likewise.
1970 * malloc/hooks.c (__malloc_check_init): Likewise.
1971 * malloc/malloc.c (__malloc_stats): Likewise.
1972 * malloc/mtrace.c (tr_break): Likewise.
1973 (mtrace): Likewise.
1974 (muntrace): Likewise.
1975 * misc/fstab.c (endfsent): Likewise.
1976 * misc/getclktck.c (__getclktck): Likewise.
1977 * misc/getdtsz.c (__getdtablesize): Likewise.
1978 * misc/gethostid.c (gethostid): Likewise.
1979 * misc/getpagesize.c (__getpagesize): Likewise.
1980 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1981 (__get_nprocs): Likewise.
1982 (__get_phys_pages): Likewise.
1983 (__get_avphys_pages): Likewise.
1984 * misc/getttyent.c (getttyent): Likewise.
1985 (setttyent): Likewise.
1986 (endttyent): Likewise.
1987 * misc/getusershell.c (getusershell): Likewise.
1988 (endusershell): Likewise.
1989 (setusershell): Likewise.
1990 (initshells): Likewise.
1991 * misc/hsearch.c (__hdestroy): Likewise.
1992 * misc/sync.c (sync): Likewise.
1993 * misc/syslog.c (closelog_internal): Likewise.
1994 (closelog): Likewise.
1995 * misc/ttyslot.c (ttyslot): Likewise.
1996 * misc/vhangup.c (vhangup): Likewise.
1997 * posix/fork.c (__fork): Likewise.
1998 * posix/getegid.c (__getegid): Likewise.
1999 * posix/geteuid.c (__geteuid): Likewise.
2000 * posix/getgid.c (__getgid): Likewise.
2001 * posix/getpid.c (__getpid): Likewise.
2002 * posix/getppid.c (__getppid): Likewise.
2003 * posix/getuid.c (__getuid): Likewise.
2004 * posix/pause.c (pause): Likewise.
2005 * posix/setpgrp.c (setpgrp): Likewise.
2006 * posix/setsid.c (__setsid): Likewise.
2007 * posix/test-vfork.c (noop): Likewise.
2008 * resolv/gethnamaddr.c (_endhtent): Likewise.
2009 (_gethtent): Likewise.
2010 (ht_endhostent): Likewise.
2011 (gethostent): Likewise.
2012 (dns_service): Likewise.
2013 * stdlib/drand48.c (drand48): Likewise.
2014 * stdlib/lrand48.c (lrand48): Likewise.
2015 * stdlib/mrand48.c (mrand48): Likewise.
2016 * stdlib/rand.c (rand): Likewise.
2017 * stdlib/random.c (__random): Likewise.
2018 * stdlib/setenv.c (clearenv): Likewise.
2019 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2020 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2021 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2022 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2023 (__get_nprocs): Likewise.
2024 (__get_phys_pages): Likewise.
2025 (__get_avphys_pages): Likewise.
2026 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2027 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2028 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2029 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2030 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2031 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2032 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2033 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2034 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2035 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2036 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2037 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2038 * sysdeps/posix/clock.c (clock): Likewise.
2039 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2040 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2041 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2042 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2043 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2044 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2045 (__get_nprocs_conf): Likewise.
2046 (__get_phys_pages): Likewise.
2047 (__get_avphys_pages): Likewise.
2048 * time/clock.c (clock): Likewise.
2049 * time/tzset.c (__tzname_max): Likewise.
2050
2e09a79a
JM
20512013-06-07 Joseph Myers <joseph@codesourcery.com>
2052
2053 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2054 (__bswap_32): Do not use "register".
2055 * crypt/crypt.c (_ufc_doit_r): Likewise.
2056 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2057 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2058 * gmon/gmon.c (__monstartup): Likewise.
2059 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2060 * hurd/hurdmalloc.c (more_memory): Likewise.
2061 (malloc): Likewise.
2062 (free): Likewise.
2063 (realloc): Likewise.
2064 (malloc_fork_prepare): Likewise.
2065 (malloc_fork_parent): Likewise.
2066 (malloc_fork_child): Likewise.
2067 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2068 (_svcauth_des): Likewise.
2069 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2070 * inet/inet_net.c (inet_network): Likewise.
2071 * inet/inet_netof.c (inet_netof): Likewise.
2072 * inet/rcmd.c (__validuser2_sa): Likewise.
2073 * io/fts.c (fts_open): Likewise.
2074 (fts_load): Likewise.
2075 (fts_close): Likewise.
2076 (fts_read): Likewise.
2077 (fts_children): Likewise.
2078 (fts_build): Likewise.
2079 (fts_stat): Likewise.
2080 (fts_sort): Likewise.
2081 (fts_alloc): Likewise.
2082 (fts_lfree): Likewise.
2083 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2084 (_IO_file_xsgetn): Likewise.
2085 (_IO_file_xsgetn_mmap): Likewise.
2086 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2087 (_IO_cookie_write): Likewise.
2088 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2089 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2090 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2091 * malloc/obstack.c (_obstack_begin): Likewise.
2092 (_obstack_begin_1): Likewise.
2093 (_obstack_newchunk): Likewise.
2094 (_obstack_allocated_p): Likewise.
2095 (obstack_free): Likewise.
2096 (_obstack_memory_used): Likewise.
2097 * misc/getttyent.c (getttynam): Likewise.
2098 (getttyent): Likewise.
2099 (skip): Likewise.
2100 (value): Likewise.
2101 * misc/getusershell.c (initshells): Likewise.
2102 * misc/syslog.c (__vsyslog_chk): Likewise.
2103 * misc/ttyslot.c (ttyslot): Likewise.
2104 * nis/nis_hash.c (__nis_hash): Likewise.
2105 * posix/fnmatch_loop.c (FCT): Likewise.
2106 * posix/getconf.c (print_all): Likewise.
2107 (main): Likewise.
2108 * posix/getopt.c (exchange): Likewise.
2109 * posix/glob.c (globfree): Likewise.
2110 (prefix_array): Likewise.
2111 (__glob_pattern_type): Likewise.
2112 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2113 (NS_GET32): Likewise.
2114 (NS_PUT16): Likewise.
2115 (NS_PUT32): Likewise.
2116 * resolv/gethnamaddr.c (getanswer): Likewise.
2117 (gethostbyname2): Likewise.
2118 (gethostbyaddr): Likewise.
2119 (_gethtent): Likewise.
2120 (_gethtbyname2): Likewise.
2121 (_gethtbyaddr): Likewise.
2122 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2123 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2124 * resolv/res_init.c (__res_vinit): Likewise.
2125 (net_mask): Likewise.
2126 * resolv/res_mkquery.c (outchar): Likewise.
2127 (PRINT): Likewise.
2128 * stdio-common/printf_fp.c (outchar): Likewise.
2129 (PRINT): Likewise.
2130 * stdio-common/printf_fphex.c (outchar): Likewise.
2131 (PRINT): Likewise.
2132 * stdio-common/printf_size.c (outchar): Likewise.
2133 (PRINT): Likewise.
2134 * stdio-common/test_rdwr.c (main): Likewise.
2135 * stdio-common/tfformat.c (matches): Likewise.
2136 * stdio-common/vfprintf.c (outchar): Likewise.
2137 (printf_unknown): Likewise.
2138 (buffered_vfprintf): Likewise.
2139 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2140 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2141 (ReadFile): Likewise.
2142 * stdlib/qsort.c (SWAP): Likewise.
2143 (_quicksort): Likewise.
2144 * stdlib/setenv.c (__add_to_environ): Likewise.
2145 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2146 * stdlib/strtol_l.c (__strtol_l): Likewise.
2147 * stdlib/tst-strtod.c (main): Likewise.
2148 * stdlib/tst-strtol.c (main): Likewise.
2149 * stdlib/tst-strtoll.c (main): Likewise.
2150 * string/bits/string2.h (__strcmp_cc): Likewise.
2151 (__strcmp_cg): Likewise.
2152 (__strcspn_c1): Likewise.
2153 (__strcspn_c2): Likewise.
2154 (__strcspn_c3): Likewise.
2155 (__strspn_c1): Likewise.
2156 (__strspn_c2): Likewise.
2157 (__strspn_c3): Likewise.
2158 (__strsep_1c): Likewise.
2159 (__strsep_2c): Likewise.
2160 (__strsep_3c): Likewise.
2161 * string/memccpy.c (__memccpy): Likewise.
2162 * string/stpcpy.c (__stpcpy): Likewise.
2163 * string/strcmp.c (strcmp): Likewise.
2164 * string/strrchr.c (strrchr): Likewise.
2165 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2166 Likewise.
2167 * sysdeps/mach/hurd/getcwd.c
2168 (_hurd_canonicalize_directory_name_internal): Likewise.
2169 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2170 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2171 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2172 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2173 Likewise, in both definitions.
2174 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2175 definitions.
2176 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2177 64] (__bswap_64): Likewise.
2178 * time/test_time.c (main): Likewise.
2179 * time/tzfile.c (__tzfile_read): Likewise.
2180 (__tzfile_compute): Likewise.
2181 * time/tzset.c (__tzset_parse_tz): Likewise.
2182 (tzset_internal): Likewise.
2183 (compute_change): Likewise.
2184 * wcsmbs/wcscat.c (__wcscat): Likewise.
2185 * wcsmbs/wcschr.c (wcschr): Likewise.
2186 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2187 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2188 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2189 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2190 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2191 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2192 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2193 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2194 * wcsmbs/wmemset.c (wmemset): Likewise.
2195
9e54314b
JM
21962013-06-06 Joseph Myers <joseph@codesourcery.com>
2197
2198 * scripts/config.guess: Update to version 2013-05-16.
2199 * scripts/config.sub: Update to version 2013-04-24.
2200 * scripts/install-sh: Update to version 2011-11-20.07.
2201 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2202 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2203
350635a5
OB
22042013-06-06 Ondřej Bílka <neleai@seznam.cz>
2205
2206 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2207 * elf/sln.c: Likewise.
2208 * hurd/hurd/ioctl.h: Likewise.
2209 * hurd/hurdmalloc.c: Likewise.
2210 * hurd/xattr.c: Likewise.
2211 * include/shlib-compat.h: Likewise.
2212 * inet/ruserpass.c: Likewise.
2213 * libio/iofgets_u.c: Likewise.
2214 * libio/iofgetws_u.c: Likewise.
2215 * locale/programs/ld-identification.c: Likewise.
2216 * locale/programs/ld-time.c: Likewise.
2217 * mach/msg-destroy.c: Likewise.
2218 * nss/nss_files/files-netgrp.c: Likewise.
2219 * resolv/res_data.c: Likewise.
2220 * soft-fp/op-1.h: Likewise.
2221 * soft-fp/op-2.h: Likewise.
2222 * soft-fp/op-4.h: Likewise.
2223 * soft-fp/op-common.h: Likewise.
2224 * stdio-common/printf_fphex.c: Likewise.
2225 * stdlib/strtod_l.c: Likewise.
2226 * sunrpc/rpc/clnt.h: Likewise.
2227 * sysdeps/generic/framestate.c: Likewise.
2228 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2229 * sysdeps/i386/bsd-setjmp.S: Likewise.
2230 * sysdeps/i386/__longjmp.S: Likewise.
2231 * sysdeps/i386/setjmp.S: Likewise.
2232 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2233 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2234 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2235 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2236 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2237 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2238 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2239 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2240 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2242 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2243 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2250 * sysdeps/ieee754/support.c: Likewise.
2251 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2252 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2253 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2254 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2255 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2256 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2257 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2258 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2259 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2260 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2261 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2262 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2263 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2264 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2265 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2266 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2267 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2269
44a988af
OB
22702013-06-05 Ondřej Bílka <neleai@seznam.cz>
2271
25506f09 2272 * posix/transbug.c: Remove executable mode.
44a988af 2273
9c84384c
JM
22742013-06-05 Joseph Myers <joseph@codesourcery.com>
2275
2276 * crypt/speeds.c: Remove trailing whitespace.
2277 * dlfcn/default.c: Likewise.
2278 * elf/ifuncdep2.c: Likewise.
2279 * elf/ifuncmain1.c: Likewise.
2280 * elf/ifuncmain1vis.c: Likewise.
2281 * elf/testobj.h: Likewise.
2282 * elf/tst-stackguard1.c: Likewise.
2283 * gmon/sys/gmon.h: Likewise.
2284 * hurd/hurdmsg.c: Likewise.
2285 * hurd/new-fd.c: Likewise.
2286 * hurd/ports-get.c: Likewise.
2287 * iconvdata/ibm1008_420.c: Likewise.
2288 * inet/tst-getni1.c: Likewise.
2289 * inet/tst-getni2.c: Likewise.
2290 * libio/ioungetc.c: Likewise.
2291 * libio/wfiledoalloc.c: Likewise.
2292 * manual/libm-err-tab.pl: Likewise.
2293 * math/w_dremf.c: Likewise.
2294 * misc/ftruncate.c: Likewise.
2295 * posix/bug-glob2.c: Likewise.
2296 * posix/tst-pcre.c: Likewise.
2297 * posix/wait4.c: Likewise.
2298 * resolv/README: Likewise.
2299 * resolv/res_debug.h: Likewise.
2300 * resolv/tst-inet_ntop.c: Likewise.
2301 * setjmp/bug269-setjmp.c: Likewise.
2302 * soft-fp/extended.h: Likewise.
2303 * soft-fp/op-1.h: Likewise.
2304 * soft-fp/op-2.h: Likewise.
2305 * soft-fp/op-4.h: Likewise.
2306 * soft-fp/op-8.h: Likewise.
2307 * soft-fp/testit.c: Likewise.
2308 * stdio-common/bug16.c: Likewise.
2309 * stdlib/random.c: Likewise.
2310 * sunrpc/rpcsvc/rquota.x: Likewise.
2311 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2312 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2313 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2314 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2315 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2316 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2317 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2318 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2319 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2320 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2321 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2322 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2323 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2325 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2326 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2327 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2328 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2329 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2330 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2331 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2332 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2333 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2334 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2335 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2336 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2337 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2338 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2339 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2340 * sysdeps/ieee754/s_lib_version.c: Likewise.
2341 * sysdeps/mach/hurd/check_fds.c: Likewise.
2342 * sysdeps/mach/hurd/getsockname.c: Likewise.
2343 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2344 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2345 * sysdeps/powerpc/bits/link.h: Likewise.
2346 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2347 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2348 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2349 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2350 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2351 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2352 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2353 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2354 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2355 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2356 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2357 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2358 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2359 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2360 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2361 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2362 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2363 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2364 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2365 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2366 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2367 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2368 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2369 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2370 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2371 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2372 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2373 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2374 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2375 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2376 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2377 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2378 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2379 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2380 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2381 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2382 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2383 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2384 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2385 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2386 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2387 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2388 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2389 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2390 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2392 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2393 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2394 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2395 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2396 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2397 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2398 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2399 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2400 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2401 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2402 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2403 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2404 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2405 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2406 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2407 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2408 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2409 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2410 * sysdeps/powerpc/sysdep.h: Likewise.
2411 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2412 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2413 * sysdeps/sh/dl-trampoline.S: Likewise.
2414 * sysdeps/sh/memset.S: Likewise.
2415 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2416 * sysdeps/sh/strlen.S: Likewise.
2417 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2418 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2419 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2420 * sysdeps/sparc/sparc32/rem.S: Likewise.
2421 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2422 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2423 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2424 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2425 * sysdeps/sparc/sparc32/urem.S: Likewise.
2426 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2427 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2428 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2429 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2430 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2431 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2432 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2433 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2434 * sysdeps/unix/bsd/times.c: Likewise.
2435 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2436 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2440 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2441 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2442 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2443 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2444 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2445 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2446 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2447 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2448 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2449 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2450 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2451 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2452 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2453 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2454 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2455 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2456 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2457 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2458 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2459 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2460 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2461 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2462 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2463 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2464 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2465 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2466 * sysdeps/x86_64/strcspn.S: Likewise.
2467
869378a5
RA
24682013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2469
2470 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2471 generated file. Regenerate properly from gen-translit.pl.
2472 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2473 locale/C-translit.h.
2474
840e2943
AS
24752013-06-05 Andreas Schwab <schwab@suse.de>
2476
2477 [BZ #15100]
2478 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2479 week as 6 instead of -1.
2480 * time/tst-strptime.c (day_tests): Add test case.
2481
4c60cb0c
SP
24822013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2483
2484 * sysdeps/generic/math_private.h
2485 (libc_feholdexcept_setround_53bit): Replace with
2486 libc_feholdsetround_53bit.
2487 (libc_feupdateenv_53bit): Replace with
2488 libc_feresetround_53bit.
2489 (SET_RESTORE_ROUND_53BIT): Adjust.
2490
d180203e
SP
24912013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2492
96df079a
SP
2493 * string/test-strchrnul.c: Add copyright header.
2494
d180203e
SP
2495 * posix/tst-getaddrinfo4.c: Increase test timeout.
2496
8b0ccb2d
CD
24972013-06-03 Carlos O'Donell <carlos@redhat.com>
2498
2499 [BZ #15536]
2500 * math/libm-test.inc (MAX_EXP): Remove
2501 (MIN_EXP): Define.
2502 (ulp): Use MIN_EXP - MANT_DIG.
2503 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2504
3b3c4d40
CD
25052013-05-31 Carlos O'Donell <carlos@redhat.com>
2506
2507 * po/be.po: Revert last change.
2508 * po/zh_CN.po: Likewise.
2509 * po/header.pot: Likewise.
2510
fab7ce3f
JM
25112013-05-31 Joseph Myers <joseph@codesourcery.com>
2512
2513 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2514 link-libc-deps to empty as target-specific variable.
2515 * Makerules (link-libc-args): New variable.
2516 (libc-for-link): Likewise.
2517 (link-libc-deps): Likewise.
2518 (lib%.so): Depend on $(link-libc-deps). Link with
2519 $(link-libc-args).
2520 (build-module): Link with $(link-libc-args).
2521 (build-module-asneeded): Likewise.
2522 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2523 list of objects.
2524 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2525 target-specific variable.
2526 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2527 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2528 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2529 libc.
2530 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2531 libc and ld.so.
2532 ($(objpfx)libpcprofile.so): Likewise.
2533 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2534 libc_nonshared.a.
2535 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2536 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2537 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2538 $(link-libc-deps).
2539 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2540 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2541 * login/Makefile ($(objpfx)libutil.so): Likewise.
2542 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2543 * math/Makefile ($(objpfx)libm.so): Likewise.
2544 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2545 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2546 variable instead of depending directly on libc.
2547 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2548 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2549 $(link-libc-deps).
2550 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2551 libc.
2552 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2553 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2554 ($(objpfx)libanl.so): Likewise.
2555 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2556 ld.so.
2557 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2558 $(link-libc-deps).
2559 * sysdeps/i386/fpu/Makefile: Remove file.
2560 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2561 ($(objpfx)libm.so): Remove dependency on ld.so.
2562
eca5920c
PF
25632013-05-30 Patsy Franklin <pfrankli@redhat.com>
2564
2565 [BZ # 15553]
2566 * nis/yp_xdr.c (XDRMAXNAME): Define.
2567 (XDRMAXRECORD): Define.
2568 (xdr_domainname): Use XDRMAXNAME.
2569 (xdr_mapname): Likewise.
2570 (xdr_peername): Likewise.
2571 (xdr_keydat): Use XDRMAXRECORD.
2572 (xdr_valdat): Likewise.
2573
25742013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2575
2576 [BZ #14256]
2577 * manual/errno.texi (ESTALE): Update to account for more than
2578 just NFS file systems.
2579 * sysdeps/gnu/errlist.c: Regenerated.
2580
b9375348
SP
25812013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2582
2583 [BZ #15465]
2584 * elf/Makefile (tests): Add tst-null-argv.
2585 (modules-names): Add tst-null-argv-lib.
2586 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2587 (tst-null-argv-ENV): Set environment for tst-null-argv.
2588 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2589 (RTLD_PROGNAME): New macro.
2590 * elf/tst-null-argv.c: New test case.
2591 * elf/tst-null-argv-lib.c: Library for test case.
2592 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2593 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2594 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2595 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2596 * elf/dl-init.c (call_init): Likewise.
2597 (_dl_init): Likewise.
2598 * elf/dl-load.c (print_search_path): Likewise.
2599 (_dl_map_object): Likewise.
2600 * elf/dl-lookup.c (do_lookup_x): Likewise.
2601 (add_dependency): Likewise.
2602 (_dl_lookup_symbol_x): Likewise.
2603 (_dl_debug_bindings): Likewise.
2604 * elf/dl-open.c (_dl_show_scope): Likewise.
2605 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2606 * elf/dl-version.c (match_symbol): Likewise.
2607 (_dl_check_map_versions): Likewise.
2608 * elf/rtld.c (dl_main): Likewise.
2609 (print_unresolved): Use RTLD_PROGNAME.
2610 (print_missing_version): Likewise.
2611 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2612 (elf_machine_rela): Likewise.
2613 * sysdeps/powerpc/powerpc32/dl-machine.c
2614 (__process_machine_rela): Likewise.
2615 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2616 Likewise.
2617 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2618 Likewise.
2619 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2620 Likewise.
2621 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2622 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2623 Likewise.
2624 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2625 Likewise.
2626 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2627
8a9f20c8
CD
26282013-05-28 Carlos O'Donell <carlos@redhat.com>
2629
2630 * po/be.po: Add descriptive title.
2631 * po/zh_CN.po: Likewise.
2632 * po/header.pot: Likewise.
2633
0e60d68e
MF
26342013-05-28 Mike Frysinger <vapier@gentoo.org>
2635
2636 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2637 error message.
2638 (enlarge_archive): Likewise.
2639
56b672e9
BN
26402013-05-28 Ben North <ben@redfrontdoor.org>
2641
2642 * manual/arith.texi (frexp): It is the magnitude of the return
2643 value which lies in [0.5, 1), not the return value itself.
2644
5e056687
AZ
26452013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2646
2647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2648
2b66ef5d
TS
26492013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2650
528c2405
TS
2651 * stdio-common/bug26.c (main): Correct fscanf template.
2652
07b4c13d
TS
2653 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2654 declare _dl_skip_args.
2655
ec9dd97c
TS
2656 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2657 Don't declare.
2658
2b66ef5d
TS
2659 * manual/platform.texi: Add missing @end deftypefun.
2660
4f8dfe27
JM
26612013-05-24 Joseph Myers <joseph@codesourcery.com>
2662
0323d086
JM
2663 [BZ #15529]
2664 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2665 bit of mantissa of 2^16382.
2666 * math/libm-test.inc (hypot_test_data): Add more tests.
2667
dd4259b9
JM
2668 * math/libm-test.inc: Add drem and pow10 to list of tested
2669 functions.
2670 (pow10_test): New function.
2671 (drem_test): Likewise.
2672 (drem_test_tonearest): Likewise.
2673 (drem_test_towardzero): Likewise.
2674 (drem_test_downward): Likewise.
2675 (drem_test_upward): Likewise.
2676 (main): Call the new functions.
2677
4f8dfe27
JM
2678 * math/libm-test.inc (finite_test_data): Remove.
2679 (finite_test): Run tests from isfinite_test_data.
2680 (gamma_test_data): Remove.
2681 (gamma_test): Run tests from lgamma_test_data.
2682 * sysdeps/i386/fpu/libm-test-ulps: Update.
2683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2684
d116b7c4
AZ
26852013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2686
2687 * manual/platform.texi: Add PowerPC PPR function set documentation.
2688 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2689 implementation.
2690
e96e3767
CD
26912013-05-24 Carlos O'Donell <carlos@redhat.com>
2692
2693 * math/libm-test.inc (MAX_EXP): Define.
2694 (ULPDIFF): Define.
2695 (ulp): New function.
2696 (check_float_internal): Use ULPDIFF.
2697 (cpow_test): Disable failing test.
2698 (check_ulp): Test ulp() implemetnation.
2699 (main): Call check_ulp before starting tests.
2700
b679a606
JM
27012013-05-24 Joseph Myers <joseph@codesourcery.com>
2702
e8bdba36
JM
2703 * math/gen-libm-test.pl (generate_testfile): Do not handle
2704 START_DATA and END_DATA.
2705 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2706 END_DATA.
2707 (acos_tonearest_test_data): Likewise.
2708 (acos_towardzero_test_data): Likewise.
2709 (acos_downward_test_data): Likewise.
2710 (acos_upward_test_data): Likewise.
2711 (acosh_test_data): Likewise.
2712 (asin_test_data): Likewise.
2713 (asin_tonearest_test_data): Likewise.
2714 (asin_towardzero_test_data): Likewise.
2715 (asin_downward_test_data): Likewise.
2716 (asin_upward_test_data): Likewise.
2717 (asinh_test_data): Likewise.
2718 (atan_test_data): Likewise.
2719 (atanh_test_data): Likewise.
2720 (atan2_test_data): Likewise.
2721 (cabs_test_data): Likewise.
2722 (cacos_test_data): Likewise.
2723 (cacosh_test_data): Likewise.
2724 (carg_test_data): Likewise.
2725 (casin_test_data): Likewise.
2726 (casinh_test_data): Likewise.
2727 (catan_test_data): Likewise.
2728 (catanh_test_data): Likewise.
2729 (cbrt_test_data): Likewise.
2730 (ccos_test_data): Likewise.
2731 (ccosh_test_data): Likewise.
2732 (ceil_test_data): Likewise.
2733 (cexp_test_data): Likewise.
2734 (cimag_test_data): Likewise.
2735 (clog_test_data): Likewise.
2736 (clog10_test_data): Likewise.
2737 (conj_test_data): Likewise.
2738 (copysign_test_data): Likewise.
2739 (cos_test_data): Likewise.
2740 (cos_tonearest_test_data): Likewise.
2741 (cos_towardzero_test_data): Likewise.
2742 (cos_downward_test_data): Likewise.
2743 (cos_upward_test_data): Likewise.
2744 (cosh_test_data): Likewise.
2745 (cosh_tonearest_test_data): Likewise.
2746 (cosh_towardzero_test_data): Likewise.
2747 (cosh_downward_test_data): Likewise.
2748 (cosh_upward_test_data): Likewise.
2749 (cpow_test_data): Likewise.
2750 (cproj_test_data): Likewise.
2751 (creal_test_data): Likewise.
2752 (csin_test_data): Likewise.
2753 (csinh_test_data): Likewise.
2754 (csqrt_test_data): Likewise.
2755 (ctan_test_data): Likewise.
2756 (ctan_tonearest_test_data): Likewise.
2757 (ctan_towardzero_test_data): Likewise.
2758 (ctan_downward_test_data): Likewise.
2759 (ctan_upward_test_data): Likewise.
2760 (ctanh_test_data): Likewise.
2761 (ctanh_tonearest_test_data): Likewise.
2762 (ctanh_towardzero_test_data): Likewise.
2763 (ctanh_downward_test_data): Likewise.
2764 (ctanh_upward_test_data): Likewise.
2765 (erf_test_data): Likewise.
2766 (erfc_test_data): Likewise.
2767 (exp_test_data): Likewise.
2768 (exp_tonearest_test_data): Likewise.
2769 (exp_towardzero_test_data): Likewise.
2770 (exp_downward_test_data): Likewise.
2771 (exp_upward_test_data): Likewise.
2772 (exp10_test_data): Likewise.
2773 (exp2_test_data): Likewise.
2774 (expm1_test_data): Likewise.
2775 (fabs_test_data): Likewise.
2776 (fdim_test_data): Likewise.
2777 (finite_test_data): Likewise.
2778 (floor_test_data): Likewise.
2779 (fma_test_data): Likewise.
2780 (fma_towardzero_test_data): Likewise.
2781 (fma_downward_test_data): Likewise.
2782 (fma_upward_test_data): Likewise.
2783 (fmax_test_data): Likewise.
2784 (fmin_test_data): Likewise.
2785 (fmod_test_data): Likewise.
2786 (fpclassify_test_data): Likewise.
2787 (frexp_test_data): Likewise.
2788 (gamma_test_data): Likewise.
2789 (hypot_test_data): Likewise.
2790 (ilogb_test_data): Likewise.
2791 (isfinite_test_data): Likewise.
2792 (isgreater_test_data): Likewise.
2793 (isgreaterequal_test_data): Likewise.
2794 (isinf_test_data): Likewise.
2795 (isless_test_data): Likewise.
2796 (islessequal_test_data): Likewise.
2797 (islessgreater_test_data): Likewise.
2798 (isnan_test_data): Likewise.
2799 (isnormal_test_data): Likewise.
2800 (issignaling_test_data): Likewise.
2801 (isunordered_test_data): Likewise.
2802 (j0_test_data): Likewise.
2803 (j1_test_data): Likewise.
2804 (jn_test_data): Likewise.
2805 (ldexp_test_data): Likewise.
2806 (lgamma_test_data): Likewise.
2807 (lrint_test_data): Likewise.
2808 (lrint_tonearest_test_data): Likewise.
2809 (lrint_towardzero_test_data): Likewise.
2810 (lrint_downward_test_data): Likewise.
2811 (lrint_upward_test_data): Likewise.
2812 (llrint_test_data): Likewise.
2813 (llrint_tonearest_test_data): Likewise.
2814 (llrint_towardzero_test_data): Likewise.
2815 (llrint_downward_test_data): Likewise.
2816 (llrint_upward_test_data): Likewise.
2817 (log_test_data): Likewise.
2818 (log10_test_data): Likewise.
2819 (log1p_test_data): Likewise.
2820 (log2_test_data): Likewise.
2821 (logb_test_data): Likewise.
2822 (logb_downward_test_data): Likewise.
2823 (lround_test_data): Likewise.
2824 (llround_test_data): Likewise.
2825 (modf_test_data): Likewise.
2826 (nearbyint_test_data): Likewise.
2827 (nextafter_test_data): Likewise.
2828 (nexttoward_test_data): Likewise.
2829 (pow_test_data): Likewise.
2830 (pow_tonearest_test_data): Likewise.
2831 (pow_towardzero_test_data): Likewise.
2832 (pow_downward_test_data): Likewise.
2833 (pow_upward_test_data): Likewise.
2834 (remainder_test_data): Likewise.
2835 (remainder_tonearest_test_data): Likewise.
2836 (remainder_towardzero_test_data): Likewise.
2837 (remainder_downward_test_data): Likewise.
2838 (remainder_upward_test_data): Likewise.
2839 (remquo_test_data): Likewise.
2840 (rint_test_data): Likewise.
2841 (rint_tonearest_test_data): Likewise.
2842 (rint_towardzero_test_data): Likewise.
2843 (rint_downward_test_data): Likewise.
2844 (rint_upward_test_data): Likewise.
2845 (round_test_data): Likewise.
2846 (scalb_test_data): Likewise.
2847 (scalbn_test_data): Likewise.
2848 (scalbln_test_data): Likewise.
2849 (signbit_test_data): Likewise.
2850 (sin_test_data): Likewise.
2851 (sin_tonearest_test_data): Likewise.
2852 (sin_towardzero_test_data): Likewise.
2853 (sin_downward_test_data): Likewise.
2854 (sin_upward_test_data): Likewise.
2855 (sincos_test_data): Likewise.
2856 (sinh_test_data): Likewise.
2857 (sinh_tonearest_test_data): Likewise.
2858 (sinh_towardzero_test_data): Likewise.
2859 (sinh_downward_test_data): Likewise.
2860 (sinh_upward_test_data): Likewise.
2861 (sqrt_test_data): Likewise.
2862 (tan_test_data): Likewise.
2863 (tan_tonearest_test_data): Likewise.
2864 (tan_towardzero_test_data): Likewise.
2865 (tan_downward_test_data): Likewise.
2866 (tan_upward_test_data): Likewise.
2867 (tanh_test_data): Likewise.
2868 (tgamma_test_data): Likewise.
2869 (trunc_test_data): Likewise.
2870 (y0_test_data): Likewise.
2871 (y1_test_data): Likewise.
2872 (yn_test_data): Likewise.
2873 (significand_test_data): Likewise.
2874
b679a606
JM
2875 * math/gen-libm-test.pl (@functions): Remove variable.
2876 (generate_testfile): Don't handle START and END lines.
2877 * math/libm-test.inc (START): New macro.
2878 (END): Likewise.
2879 (END_COMPLEX): Likewise.
2880 (acos_test): Use END macro without arguments.
2881 (acos_test_tonearest): Likewise.
2882 (acos_test_towardzero): Likewise.
2883 (acos_test_downward): Likewise.
2884 (acos_test_upward): Likewise.
2885 (acosh_test): Likewise.
2886 (asin_test): Likewise.
2887 (asin_test_tonearest): Likewise.
2888 (asin_test_towardzero): Likewise.
2889 (asin_test_downward): Likewise.
2890 (asin_test_upward): Likewise.
2891 (asinh_test): Likewise.
2892 (atan_test): Likewise.
2893 (atanh_test): Likewise.
2894 (atan2_test): Likewise.
2895 (cabs_test): Likewise.
2896 (cacos_test): Use END_COMPLEX macro without arguments.
2897 (cacosh_test): Likewise.
2898 (carg_test): Use END macro without arguments.
2899 (casin_test): Use END_COMPLEX macro without arguments.
2900 (casinh_test): Likewise.
2901 (catan_test): Likewise.
2902 (catanh_test): Likewise.
2903 (cbrt_test): Use END macro without arguments.
2904 (ccos_test): Use END_COMPLEX macro without arguments.
2905 (ccosh_test): Likewise.
2906 (ceil_test): Use END macro without arguments.
2907 (cexp_test): Use END_COMPLEX macro without arguments.
2908 (cimag_test): Use END macro without arguments.
2909 (clog_test): Use END_COMPLEX macro without arguments.
2910 (clog10_test): Likewise.
2911 (conj_test): Likewise.
2912 (copysign_test): Use END macro without arguments.
2913 (cos_test): Likewise.
2914 (cos_test_tonearest): Likewise.
2915 (cos_test_towardzero): Likewise.
2916 (cos_test_downward): Likewise.
2917 (cos_test_upward): Likewise.
2918 (cosh_test): Likewise.
2919 (cosh_test_tonearest): Likewise.
2920 (cosh_test_towardzero): Likewise.
2921 (cosh_test_downward): Likewise.
2922 (cosh_test_upward): Likewise.
2923 (cpow_test): Use END_COMPLEX macro without arguments.
2924 (cproj_test): Likewise.
2925 (creal_test): Use END macro without arguments.
2926 (csin_test): Use END_COMPLEX macro without arguments.
2927 (csinh_test): Likewise.
2928 (csqrt_test): Likewise.
2929 (ctan_test): Likewise.
2930 (ctan_test_tonearest): Likewise.
2931 (ctan_test_towardzero): Likewise.
2932 (ctan_test_downward): Likewise.
2933 (ctan_test_upward): Likewise.
2934 (ctanh_test): Likewise.
2935 (ctanh_test_tonearest): Likewise.
2936 (ctanh_test_towardzero): Likewise.
2937 (ctanh_test_downward): Likewise.
2938 (ctanh_test_upward): Likewise.
2939 (erf_test): Use END macro without arguments.
2940 (erfc_test): Likewise.
2941 (exp_test): Likewise.
2942 (exp_test_tonearest): Likewise.
2943 (exp_test_towardzero): Likewise.
2944 (exp_test_downward): Likewise.
2945 (exp_test_upward): Likewise.
2946 (exp10_test): Likewise.
2947 (exp2_test): Likewise.
2948 (expm1_test): Likewise.
2949 (fabs_test): Likewise.
2950 (fdim_test): Likewise.
2951 (finite_test): Likewise.
2952 (floor_test): Likewise.
2953 (fma_test): Likewise.
2954 (fma_test_towardzero): Likewise.
2955 (fma_test_downward): Likewise.
2956 (fma_test_upward): Likewise.
2957 (fmax_test): Likewise.
2958 (fmin_test): Likewise.
2959 (fmod_test): Likewise.
2960 (fpclassify_test): Likewise.
2961 (frexp_test): Likewise.
2962 (gamma_test): Likewise.
2963 (hypot_test): Likewise.
2964 (ilogb_test): Likewise.
2965 (isfinite_test): Likewise.
2966 (isgreater_test): Likewise.
2967 (isgreaterequal_test): Likewise.
2968 (isinf_test): Likewise.
2969 (isless_test): Likewise.
2970 (islessequal_test): Likewise.
2971 (islessgreater_test): Likewise.
2972 (isnan_test): Likewise.
2973 (isnormal_test): Likewise.
2974 (issignaling_test): Likewise.
2975 (isunordered_test): Likewise.
2976 (j0_test): Likewise.
2977 (j1_test): Likewise.
2978 (jn_test): Likewise.
2979 (ldexp_test): Likewise.
2980 (lgamma_test): Likewise.
2981 (lrint_test): Likewise.
2982 (lrint_test_tonearest): Likewise.
2983 (lrint_test_towardzero): Likewise.
2984 (lrint_test_downward): Likewise.
2985 (lrint_test_upward): Likewise.
2986 (llrint_test): Likewise.
2987 (llrint_test_tonearest): Likewise.
2988 (llrint_test_towardzero): Likewise.
2989 (llrint_test_downward): Likewise.
2990 (llrint_test_upward): Likewise.
2991 (log_test): Likewise.
2992 (log10_test): Likewise.
2993 (log1p_test): Likewise.
2994 (log2_test): Likewise.
2995 (logb_test): Likewise.
2996 (logb_test_downward): Likewise.
2997 (lround_test): Likewise.
2998 (llround_test): Likewise.
2999 (modf_test): Likewise.
3000 (nearbyint_test): Likewise.
3001 (nextafter_test): Likewise.
3002 (nexttoward_test): Likewise.
3003 (pow_test): Likewise.
3004 (pow_test_tonearest): Likewise.
3005 (pow_test_towardzero): Likewise.
3006 (pow_test_downward): Likewise.
3007 (pow_test_upward): Likewise.
3008 (remainder_test): Likewise.
3009 (remainder_test_tonearest): Likewise.
3010 (remainder_test_towardzero): Likewise.
3011 (remainder_test_downward): Likewise.
3012 (remainder_test_upward): Likewise.
3013 (remquo_test): Likewise.
3014 (rint_test): Likewise.
3015 (rint_test_tonearest): Likewise.
3016 (rint_test_towardzero): Likewise.
3017 (rint_test_downward): Likewise.
3018 (rint_test_upward): Likewise.
3019 (round_test): Likewise.
3020 (scalb_test): Likewise.
3021 (scalbn_test): Likewise.
3022 (scalbln_test): Likewise.
3023 (signbit_test): Likewise.
3024 (sin_test): Likewise.
3025 (sin_test_tonearest): Likewise.
3026 (sin_test_towardzero): Likewise.
3027 (sin_test_downward): Likewise.
3028 (sin_test_upward): Likewise.
3029 (sincos_test): Likewise.
3030 (sinh_test): Likewise.
3031 (sinh_test_tonearest): Likewise.
3032 (sinh_test_towardzero): Likewise.
3033 (sinh_test_downward): Likewise.
3034 (sinh_test_upward): Likewise.
3035 (sqrt_test): Likewise.
3036 (tan_test): Likewise.
3037 (tan_test_tonearest): Likewise.
3038 (tan_test_towardzero): Likewise.
3039 (tan_test_downward): Likewise.
3040 (tan_test_upward): Likewise.
3041 (tanh_test): Likewise.
3042 (tgamma_test): Likewise.
3043 (trunc_test): Likewise.
3044 (y0_test): Likewise.
3045 (y1_test): Likewise.
3046 (yn_test): Likewise.
3047 (significand_test): Likewise.
3048
bae143d2
OB
30492013-05-24 Ondřej Bílka <neleai@seznam.cz>
3050
3051 [BZ #15381]
3052 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3053
9323d39b
EM
30542013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3055
d4ea44a0 3056 [BZ #14894]
9323d39b
EM
3057 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3058 __ppc_mdoio and __ppc_mdoom.
3059 * manual/platform.texi: Document new functions __ppc_yield,
3060 __ppc_mdoio and __ppc_mdoom.
3061
13e23af7
CD
30622013-05-22 Carlos O'Donell <carlos@redhat.com>
3063
3064 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3065 (main): Mention "tls" pseudo-hwcap is legacy.
3066 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3067
351fe550
JM
30682013-05-22 Joseph Myers <joseph@codesourcery.com>
3069
3070 * math/gen-libm-test.pl (parse_args): Output only string of
3071 arguments as text for test name, not full call or descriptions of
3072 tests for extra outputs.
3073 (generate_testfile): Do not pass function name to parse_args.
3074 Generate this_func variable from START.
3075 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3076 field to arg_str.
3077 (struct test_ff_f_data): Likewise.
3078 (test_ff_f_data_nexttoward): Likewise.
3079 (struct test_fi_f_data): Likewise.
3080 (struct test_fl_f_data): Likewise.
3081 (struct test_if_f_data): Likewise.
3082 (struct test_fff_f_data): Likewise.
3083 (struct test_c_f_data): Likewise.
3084 (struct test_f_f1_data): Likewise. Remove field extra_name.
3085 (struct test_fF_f1_data): Likewise.
3086 (struct test_ffI_f1_data): Likewise.
3087 (struct test_c_c_data): Rename test_name field to arg_str.
3088 (struct test_cc_c_data): Likewise.
3089 (struct test_f_i_data): Likewise.
3090 (struct test_ff_i_data): Likewise.
3091 (struct test_f_l_data): Likewise.
3092 (struct test_f_L_data): Likewise.
3093 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3094 and extra2_name.
3095 (COMMON_TEST_SETUP): New macro.
3096 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3097 (COMMON_TEST_CLEANUP): Likewise.
3098 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3099 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3100 macros.
3101 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3102 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3103 macros.
3104 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3105 (RUN_TEST_fff_f): Take argument string. Call new setup and
3106 cleanup macros.
3107 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3108 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3109 macros.
3110 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3111 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3112 macros.
3113 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3114 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3115 cleanup macros.
3116 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3117 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3118 cleanup macros.
3119 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3120 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3121 cleanup macros.
3122 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3123 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3124 macros.
3125 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3126 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3127 macros.
3128 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3129 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3130 macros.
3131 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3132 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3133 cleanup macros.
3134 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3135 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3136 cleanup macros.
3137 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3138 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3139 macros.
3140 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3141 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3142 cleanup macros.
3143 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3144 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3145 macros.
3146 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3147 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3148 macros.
3149 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3150 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3151 cleanup macros.
3152 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3153
85118d4d
EBM
31542013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3155
3156 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3157 to _sifields.sigfault.
3158 (si_addr_lsb): Define new macro.
3159 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3160 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3161 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3162
7a44c18f
CD
31632013-05-03 Carlos O'Donell <carlos at redhat.com>
3164
3165 [BZ #15441]
3166 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3167 returns -1.
3168 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3169 null return -1.
3170 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3171 loading the domain.
3172
b50a7181
JM
31732013-05-22 Joseph Myers <joseph@codesourcery.com>
3174
3175 * math/gen-libm-test.pl (parse_args): Do not include expected
3176 result in test name.
3177 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3178 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3179 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3180 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3181 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3183
051063c8
SP
31842013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3185
3ce9e010
SP
3186 * benchtests/Makefile: Sort function entries.
3187
051063c8
SP
3188 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3189 tanh, asinh, acosh, atanh.
3190 * benchtests/acos-inputs: New file.
3191 * benchtests/acosh-inputs: New file.
3192 * benchtests/asin-inputs: New file.
3193 * benchtests/asinh-inputs: New file.
3194 * benchtests/atanh-inputs: New file.
3195 * benchtests/cosh-inputs: New file.
3196 * benchtests/log-inputs: New file.
3197 * benchtests/sinh-inputs: New file.
3198 * benchtests/tanh-inputs: New file.
3199
47c22455
DL
32002013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3201
3202 [BZ #15339]
3203 * posix/tst-getaddrinfo4.c: New test.
3204 * posix/Makefile (tests): Add it.
3205
3d04f5db
SP
32062013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3207
3208 [BZ #15339]
3209 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3210 when no services were used.
3211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3212 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3213
d5dd6189
AS
32142013-05-21 Andreas Schwab <schwab@suse.de>
3215
3216 [BZ #15014]
3217 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3218 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3219 successful.
3220 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3221 redundant variable declarations and reallocation of buffer when
3222 parsing as IPv6 address. Always set NSS status when called from
3223 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3224 buffer too small. Correct computation of needed size.
3225 * nss/Makefile (tests): Add test-digits-dots.
3226 * nss/test-digits-dots.c: New test.
3227
fef94eab
SP
32282013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3229
3230 * benchtests/Makefile: Remove instructions for adding
3231 benchmark tests.
3232 * benchtests/README: New file to explain how to execute and
3233 enhance the benchmark tests.
3234
e39adf43
AS
32352013-05-21 Andreas Schwab <schwab@suse.de>
3236
3237 [BZ #15493]
3238 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3239 * setjmp/tst-sigsetjmp.c: New test.
3240
b2b671b6
OB
32412013-05-20 Ondřej Bílka <neleai@seznam.cz>
3242
3243 * sysdeps/x86_64/memset.S (memset): New implementation.
3244 (__bzero): Likewise.
3245 (__memset_tail): New function.
3246
2d48b41c
OB
32472013-05-20 Ondřej Bílka <neleai@seznam.cz>
3248
3249 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3250 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3251 __memcpy_sse2_unaligned ifunc selection.
3252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3253 Add memcpy-sse2-unaligned.S.
3254 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3255 Add: __memcpy_sse2_unaligned.
3256
f16cc3eb
JM
32572013-05-19 Joseph Myers <joseph@codesourcery.com>
3258
3e694268
JM
3259 [BZ #15490]
3260 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3261 math_force_eval before restoring floating-point envrionment.
3262 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3263 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3264 Likewise.
3265 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3266 <math_private.h>.
3267 (__nearbyintl): Use math_force_eval before restoring
3268 floating-point environment.
3269 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3270
db62a907
JM
3271 * math/gen-libm-test.pl (special_functions): Remove.
3272 (parse_args): Don't handle TEST_extra. Handle functions with no
3273 return value.
3274 * math/libm-test.inc (struct test_sincos_data): Replace with
3275 struct test_fFF_11_data.
3276 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3277 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3278 (sincos_test_data): Change element type to struct
3279 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3280 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3281 RUN_TEST_LOOP_sincos.
3282 * math/README.libm-test: Don't mention special handling of
3283 individual functions.
3284 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3285 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3286 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3287 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3288 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3290
f16cc3eb
JM
3291 * math/gen-libm-test.pl (get_variable): Remove function.
3292 (parse_args): Don't show pointer parameters to call in test
3293 names. Use "extra output N" in test names for extra outputs
3294 rather than naming variables.
3295
3779b5b6
JM
32962013-05-18 Joseph Myers <joseph@codesourcery.com>
3297
2ee094ff
JM
3298 [BZ #15488]
3299 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3300 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3301 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3302 double tests.
3303 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3304 disable.
3305 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3306 check_long_double.
3307
3779b5b6
JM
3308 * math/gen-libm-test.pl (@tests): Remove variable.
3309 ($count): Likewise.
3310 (new_test): Remove function.
3311 (show_exceptions): New function.
3312 (special_functions): Use show_exceptions instead of new_test.
3313 (parse_args): Likewise.
3314 (generate_testfile): Pass only function name in generated call to
3315 print_max_error or print_complex_max_error.
3316 (get_ulps): Do not handle complex tests specially.
3317 (output_test): Rename to ...
3318 (get_all_ulps_for_test): ... this. Return a string rather than
3319 printing to a file. Require ulps to be present.
3320 (output_ulps): Generate arrays rather than #defines.
3321 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3322 (struct ulp_data): New type.
3323 (BUILD_COMPLEX_ULP): Remove macro.
3324 (compare_ulp_data): New function.
3325 (find_ulps): Likewise.
3326 (find_test_ulps): Likewise.
3327 (find_function_ulps): Likewise.
3328 (find_complex_function_ulps): Likewise.
3329 (print_max_error): Determine allowed ulps using
3330 find_function_ulps.
3331 (print_complex_max_error): Determine allowed ulps using
3332 find_complex_function_ulps.
3333 (check_float_internal): Determine max ulps using find_test_ulps.
3334 (check_float): Do not take max_ulp parameter. Update call to
3335 check_float_internal.
3336 (check_complex): Likewise.
3337 (check_int): Do not take max_ulp parameter.
3338 (check_long): Likewise.
3339 (check_bool): Likewise.
3340 (check_longlong): Likewise.
3341 (struct test_f_f_data): Remove max_ulp field.
3342 (struct test_ff_f_data): Likewise.
3343 (struct test_ff_f_data_nexttoward): Likewise.
3344 (struct test_fi_f_data): Likewise.
3345 (struct test_fl_f_data): Likewise.
3346 (struct test_if_f_data): Likewise.
3347 (struct test_fff_f_data): Likewise.
3348 (struct test_c_f_data): Likewise.
3349 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3350 (struct test_fF_f1_data): Likewise.
3351 (struct test_ffI_f1_data): Likewise.
3352 (struct test_c_c_data): Remove max_ulp field.
3353 (struct test_cc_c_data): Likewise.
3354 (struct test_f_i_data): Likewise.
3355 (struct test_ff_i_data): Likewise.
3356 (struct test_f_l_data): Likewise.
3357 (struct test_f_L_data): Likewise.
3358 (struct test_sincos_data): Likewise.
3359 (RUN_TEST_f_f): Do not handle ulps.
3360 (RUN_TEST_LOOP_f_f): Likewise.
3361 (RUN_TEST_2_f): Likewise.
3362 (RUN_TEST_LOOP_2_f): Likewise.
3363 (RUN_TEST_fff_f): Likewise.
3364 (RUN_TEST_LOOP_fff_f): Likewise.
3365 (RUN_TEST_c_f): Likewise.
3366 (RUN_TEST_LOOP_c_f): Likewise.
3367 (RUN_TEST_f_f1): Likewise.
3368 (RUN_TEST_LOOP_f_f1): Likewise.
3369 (RUN_TEST_fF_f1): Likewise.
3370 (RUN_TEST_LOOP_fF_f1): Likewise.
3371 (RUN_TEST_fI_f1): Likewise.
3372 (RUN_TEST_LOOP_fI_f1): Likewise.
3373 (RUN_TEST_ffI_f1): Likewise.
3374 (RUN_TEST_LOOP_ffI_f1): Likewise.
3375 (RUN_TEST_c_c): Likewise.
3376 (RUN_TEST_LOOP_c_c): Likewise.
3377 (RUN_TEST_cc_c): Likewise.
3378 (RUN_TEST_LOOP_cc_c): Likewise.
3379 (RUN_TEST_f_i): Likewise.
3380 (RUN_TEST_LOOP_f_i): Likewise.
3381 (RUN_TEST_f_i_tg): Likewise.
3382 (RUN_TEST_LOOP_f_i_tg): Likewise.
3383 (RUN_TEST_ff_i_tg): Likewise.
3384 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3385 (RUN_TEST_f_b): Likewise.
3386 (RUN_TEST_LOOP_f_b): Likewise.
3387 (RUN_TEST_f_b_tg): Likewise.
3388 (RUN_TEST_LOOP_f_b_tg): Likewise.
3389 (RUN_TEST_f_l): Likewise.
3390 (RUN_TEST_LOOP_f_l): Likewise.
3391 (RUN_TEST_f_L): Likewise.
3392 (RUN_TEST_LOOP_f_L): Likewise.
3393 (RUN_TEST_sincos): Likewise.
3394 (RUN_TEST_LOOP_sincos): Likewise.
3395
8269107f
JM
33962013-05-17 Joseph Myers <joseph@codesourcery.com>
3397
bb38759d
JM
3398 [BZ #15480]
3399 [BZ #15485]
3400 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3401 main case of finite arguments, set rounding mode to FE_TONEAREST
3402 and discard exceptions.
3403 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3404 exceptions.
3405 (remainder_tonearest_test_data): New variable.
3406 (remainder_test_tonearest): New function.
3407 (remainder_towardzero_test_data): New variable.
3408 (remainder_test_towardzero): New function.
3409 (remainder_downward_test_data): New variable.
3410 (remainder_test_downward): New function.
3411 (remainder_upward_test_data): New variable.
3412 (remainder_test_upward): New function.
3413 (main): Call the new test functions.
3414
a00bdcf0
JM
3415 * math/libm-test.inc (struct test_f_f1_data): Remove field
3416 extra_init.
3417 (struct test_fF_f1_data): Likewise.
3418 (struct test_ffI_f1_data): Likewise.
3419 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3420 based on value of EXTRA_EXPECTED.
3421 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3422 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3423 EXTRA_VAR based on value of EXTRA_EXPECTED.
3424 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3425 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3426 EXTRA_VAR based on value of EXTRA_EXPECTED.
3427 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3428 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3429 EXTRA_VAR based on value of EXTRA_EXPECTED.
3430 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3431 * math/gen-libm-test.pl (parse_args): Don't output initializers
3432 for extra output values.
3433
de407f79
JM
3434 * math/libm-test.inc (check_int): Expect result to be exactly
3435 equal to expected value and do not handle ulps.
3436 (check_long): Likewise.
3437 (check_longlong): Likewise.
3438
8269107f
JM
3439 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3440 exceptions.
3441 (cimag_test_data): Likewise.
3442 (conj_test_data): Likewise.
3443 (copysign_test_data): Likewise.
3444 (cproj_test_data): Likewise.
3445 (creal_test_data): Likewise.
3446 (fabs_test_data): Likewise.
3447 (fdim_test_data): Likewise.
3448 (finite_test_data): Likewise.
3449 (floor_test_data): Likewise.
3450 (fmax_test_data): Likewise.
3451 (fmin_test_data): Likewise.
3452 (fmod_test_data): Likewise.
3453 (fpclassify_test_data): Likewise.
3454 (frexp_test_data): Likewise.
3455 (ilogb_test_data): Likewise.
3456 (isfinite_test_data): Likewise.
3457 (isgreater_test_data): Likewise.
3458 (isgreaterequal_test_data): Likewise.
3459 (isinf_test_data): Likewise.
3460 (isless_test_data): Likewise.
3461 (islessequal_test_data): Likewise.
3462 (islessgreater_test_data): Likewise.
3463 (isnan_test_data): Likewise.
3464 (isnormal_test_data): Likewise.
3465 (issignaling_test_data): Likewise.
3466 (isunordered_test_data): Likewise.
3467 (ldexp_test_data): Likewise.
3468 (lrint_test_data): Likewise.
3469 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3470 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3471 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3472 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3473 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3474 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3475 test input.
3476 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3477 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3478 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3479 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3480 that test input.
3481 (lrint_downward_test_data): Test for "inexact" exceptions.
3482 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3483 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3484 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3485 test input.
3486 (lrint_upward_test_data): Test for "inexact" exceptions.
3487 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3488 test input.
3489 (llrint_test_data): Test for "inexact" exceptions.
3490 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3491 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3492 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3493 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3494 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3495 (llrint_downward_test_data): Test for "inexact" exceptions.
3496 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3497 (llrint_upward_test_data): Test for "inexact" exceptions.
3498 (logb_test_data): Likewise.
3499 (logb_downward_test_data): Likewise.
3500 (nextafter_test_data): Likewise.
3501 (nexttoward_test_data): Likewise.
3502 (remainder_test_data): Likewise.
3503 (remquo_test_data): Likewise.
3504 (scalbn_test_data): Likewise.
3505 (scalbln_test_data): Likewise.
3506 (signbit_test_data): Likewise.
3507 (sqrt_test_data): Likewise.
3508 (significand_test_data): Likewise.
3509
48a18de1
SP
35102013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3511
3512 [BZ #15424]
3513 * benchtests/bench-modf.c (struct args): Mark arg0 as
3514 volatile.
3515 * scripts/bench.pl: Mark members of struct args as volatile.
3516
13d3b41a
AZ
35172013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3518
68191c1d 3519 [BZ # 15497]
13d3b41a
AZ
3520 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3521 negative infinity on POWER6 or lower.
3522 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3523
2848b105
MR
35242013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3525
3526 [BZ #15442]
3527 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3528 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3529 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3530 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3531 (_FP_SETQNAN): New macro.
3532 (_FP_SETQNAN_SEMIRAW): Likewise.
3533 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3534 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3535 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3536 (FP_EXTEND): Use _FP_FRAC_SNANP.
3537 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3538 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3539 into account.
3540 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3541 New macro.
3542 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3543 Likewise.
3544
323e5cb7
JM
35452013-05-16 Joseph Myers <joseph@codesourcery.com>
3546
c58b274f
JM
3547 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3548 with DIVIDE_BY_ZERO_EXCEPTION.
3549 (gamma_test_data): Likewise.
3550 (lgamma_test_data): Likewise.
3551 (log_test_data): Likewise.
3552 (log10_test_data): Likewise.
3553 (log2_test_data): Likewise.
3554 (tgamma_test_data): Likewise.
3555
0ab34904
JM
3556 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3557 (acos_test_tonearest): Likewise.
3558 (acos_test_towardzero): Likewise.
3559 (acos_test_downward): Likewise.
3560 (acos_test_upward): Likewise.
3561 (acosh_test): Likewise.
3562 (asin_test): Likewise.
3563 (asin_test_tonearest): Likewise.
3564 (asin_test_towardzero): Likewise.
3565 (asin_test_downward): Likewise.
3566 (asin_test_upward): Likewise.
3567 (asinh_test): Likewise.
3568 (atan_test): Likewise.
3569 (atanh_test): Likewise.
3570 (atan2_test): Likewise.
3571 (cabs_test): Likewise.
3572 (cacos_test): Likewise.
3573 (cacosh_test): Likewise.
3574 (casin_test): Likewise.
3575 (casinh_test): Likewise.
3576 (catan_test): Likewise.
3577 (catanh_test): Likewise.
3578 (cbrt_test): Likewise.
3579 (ccos_test): Likewise.
3580 (ccosh_test): Likewise.
3581 (cexp_test): Likewise.
3582 (clog_test): Likewise.
3583 (clog10_test): Likewise.
3584 (cos_test): Likewise.
3585 (cos_test_tonearest): Likewise.
3586 (cos_test_towardzero): Likewise.
3587 (cos_test_downward): Likewise.
3588 (cos_test_upward): Likewise.
3589 (cosh_test): Likewise.
3590 (cosh_test_tonearest): Likewise.
3591 (cosh_test_towardzero): Likewise.
3592 (cosh_test_downward): Likewise.
3593 (cosh_test_upward): Likewise.
3594 (cpow_test): Likewise.
3595 (csin_test): Likewise.
3596 (csinh_test): Likewise.
3597 (csqrt_test): Likewise.
3598 (ctan_test): Likewise.
3599 (ctan_test_tonearest): Likewise.
3600 (ctan_test_towardzero): Likewise.
3601 (ctan_test_downward): Likewise.
3602 (ctan_test_upward): Likewise.
3603 (ctanh_test): Likewise.
3604 (ctanh_test_tonearest): Likewise.
3605 (ctanh_test_towardzero): Likewise.
3606 (ctanh_test_downward): Likewise.
3607 (ctanh_test_upward): Likewise.
3608 (erf_test): Likewise.
3609 (erfc_test): Likewise.
3610 (exp_test): Likewise.
3611 (exp_test_tonearest): Likewise.
3612 (exp_test_towardzero): Likewise.
3613 (exp_test_downward): Likewise.
3614 (exp_test_upward): Likewise.
3615 (exp10_test): Likewise.
3616 (exp2_test): Likewise.
3617 (expm1_test): Likewise.
3618 (fmod_test): Likewise.
3619 (gamma_test): Likewise.
3620 (hypot_test): Likewise.
3621 (j0_test): Likewise.
3622 (j1_test): Likewise.
3623 (jn_test): Likewise.
3624 (lgamma_test): Likewise.
3625 (log_test): Likewise.
3626 (log10_test): Likewise.
3627 (log1p_test): Likewise.
3628 (log2_test): Likewise.
3629 (logb_test_downward): Likewise.
3630 (pow_test): Likewise.
3631 (pow_test_tonearest): Likewise.
3632 (pow_test_towardzero): Likewise.
3633 (pow_test_downward): Likewise.
3634 (pow_test_upward): Likewise.
3635 (remainder_test): Likewise.
3636 (remquo_test): Likewise.
3637 (sin_test): Likewise.
3638 (sin_test_tonearest): Likewise.
3639 (sin_test_towardzero): Likewise.
3640 (sin_test_downward): Likewise.
3641 (sin_test_upward): Likewise.
3642 (sincos_test): Likewise.
3643 (sinh_test): Likewise.
3644 (sinh_test_tonearest): Likewise.
3645 (sinh_test_towardzero): Likewise.
3646 (sinh_test_downward): Likewise.
3647 (sinh_test_upward): Likewise.
3648 (sqrt_test): Likewise.
3649 (tan_test): Likewise.
3650 (tan_test_tonearest): Likewise.
3651 (tan_test_towardzero): Likewise.
3652 (tan_test_downward): Likewise.
3653 (tan_test_upward): Likewise.
3654 (tanh_test): Likewise.
3655 (tgamma_test): Likewise.
3656 (y0_test): Likewise.
3657 (y1_test): Likewise.
3658 (yn_test): Likewise.
3659
323e5cb7
JM
3660 * math/gen-libm-test.pl (adjust_arg): Remove function.
3661 (special_function): Remove argument $in_func. Only handle
3662 generating output for tables of tests, not inside functions.
3663 (parse_args): Likewise.
3664 (generate_testfile): Remove variable $in_func. Update call to
3665 parse_args.
3666 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3667 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3668 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3669 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3670 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3671 (MAX_VALUE_INIT): Rename macro to max_value.
3672 (MIN_VALUE_INIT): Rename macro to min_value.
3673 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3674 (plus_zero): Remove variable.
3675 (minus_zero): Likewise.
3676 (plus_infty): Likewise.
3677 (minus_infty): Likewise.
3678 (qnan_value): Likewise.
3679 (max_value): Likewise.
3680 (min_value): Likewise.
3681 (min_subnorm_value): Likewise.
3682
e054f494
RA
36832013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3684
3685 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3686 uint64_t or uint32_t usage.
3687 * crypt/sha256-block.c: Likewise.
3688 * crypt/sha256-crypt.c: Likewise.
3689 * crypt/sha256.c: Likewise.
3690 * crypt/sha512-block.c: Likewise.
3691 * crypt/sha512-crypt.c: Likewise.
3692 * crypt/sha512.c: Likewise.
3693 * debug/backtrace-tst.c: Likewise.
3694 * debug/pcprofiledump.c: Likewise.
3695 * elf/cache.c: Likewise.
3696 * elf/dl-cache.c: Likewise.
3697 * elf/dl-misc.c: Likewise.
3698 * elf/dl-profile.c: Likewise.
3699 * elf/dl-support.c: Likewise.
3700 * elf/ldconfig.c: Likewise.
3701 * elf/sprof.c: Likewise.
3702 * iconv/dummy-repertoire.c: Likewise.
3703 * iconv/iconv_charmap.c: Likewise.
3704 * iconv/skeleton.c: Likewise.
3705 * iconvdata/8bit-generic.c: Likewise.
3706 * iconvdata/cp737.h: Likewise.
3707 * iconvdata/cp775.h: Likewise.
3708 * iconvdata/ibm1008.h: Likewise.
3709 * iconvdata/ibm1025.h: Likewise.
3710 * iconvdata/ibm1046.h: Likewise.
3711 * iconvdata/ibm1097.h: Likewise.
3712 * iconvdata/ibm1112.h: Likewise.
3713 * iconvdata/ibm1122.h: Likewise.
3714 * iconvdata/ibm1123.h: Likewise.
3715 * iconvdata/ibm1124.h: Likewise.
3716 * iconvdata/ibm1129.h: Likewise.
3717 * iconvdata/ibm1130.h: Likewise.
3718 * iconvdata/ibm1132.h: Likewise.
3719 * iconvdata/ibm1133.h: Likewise.
3720 * iconvdata/ibm1137.h: Likewise.
3721 * iconvdata/ibm1140.h: Likewise.
3722 * iconvdata/ibm1141.h: Likewise.
3723 * iconvdata/ibm1142.h: Likewise.
3724 * iconvdata/ibm1143.h: Likewise.
3725 * iconvdata/ibm1144.h: Likewise.
3726 * iconvdata/ibm1145.h: Likewise.
3727 * iconvdata/ibm1146.h: Likewise.
3728 * iconvdata/ibm1147.h: Likewise.
3729 * iconvdata/ibm1148.h: Likewise.
3730 * iconvdata/ibm1149.h: Likewise.
3731 * iconvdata/ibm1153.h: Likewise.
3732 * iconvdata/ibm1154.h: Likewise.
3733 * iconvdata/ibm1155.h: Likewise.
3734 * iconvdata/ibm1156.h: Likewise.
3735 * iconvdata/ibm1157.h: Likewise.
3736 * iconvdata/ibm1158.h: Likewise.
3737 * iconvdata/ibm1160.h: Likewise.
3738 * iconvdata/ibm1161.h: Likewise.
3739 * iconvdata/ibm1162.h: Likewise.
3740 * iconvdata/ibm1163.h: Likewise.
3741 * iconvdata/ibm1164.h: Likewise.
3742 * iconvdata/ibm1166.h: Likewise.
3743 * iconvdata/ibm1167.h: Likewise.
3744 * iconvdata/ibm12712.h: Likewise.
3745 * iconvdata/ibm1390.h: Likewise.
3746 * iconvdata/ibm1399.h: Likewise.
3747 * iconvdata/ibm16804.h: Likewise.
3748 * iconvdata/ibm4517.h: Likewise.
3749 * iconvdata/ibm4899.h: Likewise.
3750 * iconvdata/ibm4909.h: Likewise.
3751 * iconvdata/ibm4971.h: Likewise.
3752 * iconvdata/ibm5347.h: Likewise.
3753 * iconvdata/ibm803.h: Likewise.
3754 * iconvdata/ibm856.h: Likewise.
3755 * iconvdata/ibm901.h: Likewise.
3756 * iconvdata/ibm902.h: Likewise.
3757 * iconvdata/ibm9030.h: Likewise.
3758 * iconvdata/ibm9066.h: Likewise.
3759 * iconvdata/ibm921.h: Likewise.
3760 * iconvdata/ibm922.h: Likewise.
3761 * iconvdata/ibm9448.h: Likewise.
3762 * iconvdata/isiri-3342.h: Likewise.
3763 * iconvdata/jis0201.h: Likewise.
3764 * include/link.h: Likewise.
3765 * include/netdb.h: Likewise.
3766 * inet/check_native.c: Likewise.
3767 * inet/check_pf.c: Likewise.
3768 * inet/getipv4sourcefilter.c: Likewise.
3769 * inet/getnameinfo.c: Likewise.
3770 * inet/getsourcefilter.c: Likewise.
3771 * inet/htonl.c: Likewise.
3772 * inet/setipv4sourcefilter.c: Likewise.
3773 * inet/setsourcefilter.c: Likewise.
3774 * inet/test-inet6_opt.c: Likewise.
3775 * inet/tst-network.c: Likewise.
3776 * locale/C-collate.c: Likewise.
3777 * locale/C-ctype.c: Likewise.
3778 * locale/C-time.c: Likewise.
3779 * locale/C-translit.h: Likewise.
3780 * locale/loadarchive.c: Likewise.
3781 * locale/programs/3level.h: Likewise.
3782 * locale/programs/charmap.c: Likewise.
3783 * locale/programs/charmap.h: Likewise.
3784 * locale/programs/ld-address.c: Likewise.
3785 * locale/programs/ld-collate.c: Likewise.
3786 * locale/programs/ld-ctype.c: Likewise.
3787 * locale/programs/ld-identification.c: Likewise.
3788 * locale/programs/ld-measurement.c: Likewise.
3789 * locale/programs/ld-messages.c: Likewise.
3790 * locale/programs/ld-monetary.c: Likewise.
3791 * locale/programs/ld-name.c: Likewise.
3792 * locale/programs/ld-numeric.c: Likewise.
3793 * locale/programs/ld-paper.c: Likewise.
3794 * locale/programs/ld-telephone.c: Likewise.
3795 * locale/programs/ld-time.c: Likewise.
3796 * locale/programs/linereader.c: Likewise.
3797 * locale/programs/locale.c: Likewise.
3798 * locale/programs/locarchive.c: Likewise.
3799 * locale/programs/locfile.h: Likewise.
3800 * locale/programs/repertoire.c: Likewise.
3801 * locale/programs/simple-hash.c: Likewise.
3802 * locale/programs/simple-hash.h: Likewise.
3803 * malloc/memusage.c: Likewise.
3804 * malloc/memusagestat.c: Likewise.
3805 * nis/nis_defaults.c: Likewise.
3806 * nis/nis_hash.c: Likewise.
3807 * nis/nis_print.c: Likewise.
3808 * nis/nis_xdr.c: Likewise.
3809 * nscd/connections.c: Likewise.
3810 * nscd/hstcache.c: Likewise.
3811 * nscd/nscd_gethst_r.c: Likewise.
3812 * nscd/nscd_getserv_r.c: Likewise.
3813 * nscd/nscd_helper.c: Likewise.
3814 * nscd/servicescache.c: Likewise.
3815 * nss/makedb.c: Likewise.
3816 * nss/nss_db/db-XXX.c: Likewise.
3817 * nss/nss_db/db-initgroups.c: Likewise.
3818 * nss/nss_db/db-netgrp.c: Likewise.
3819 * nss/nss_files/files-network.c: Likewise.
3820 * nss/nss_files/files-parse.c: Likewise.
3821 * posix/bug-regex5.c: Likewise.
3822 * posix/fnmatch_loop.c: Likewise.
3823 * posix/regcomp.c: Likewise.
3824 * posix/regexec.c: Likewise.
3825 * posix/tst-rfc3484-2.c: Likewise.
3826 * posix/tst-rfc3484-3.c: Likewise.
3827 * posix/tst-rfc3484.c: Likewise.
3828 * resolv/nss_dns/dns-canon.c: Likewise.
3829 * resolv/nss_dns/dns-network.c: Likewise.
3830 * resolv/res_init.c: Likewise.
3831 * resolv/res_mkquery.c: Likewise.
3832 * resolv/tst-aton.c: Likewise.
3833 * stdlib/cxa_atexit.c: Likewise.
3834 * stdlib/cxa_finalize.c: Likewise.
3835 * stdlib/gen-fpioconst.c: Likewise.
3836 * stdlib/strtol_l.c: Likewise.
3837 * string/tst-endian.c: Likewise.
3838 * sunrpc/auth_des.c: Likewise.
3839 * sunrpc/clnt_udp.c: Likewise.
3840 * sunrpc/rtime.c: Likewise.
3841 * sunrpc/svcauth_des.c: Likewise.
3842 * sunrpc/xdr.c: Likewise.
3843 * sunrpc/xdr_intXX_t.c: Likewise.
3844 * sunrpc/xdr_rec.c: Likewise.
3845 * sysdeps/generic/ldconfig.h: Likewise.
3846 * sysdeps/generic/ldsodefs.h: Likewise.
3847 * sysdeps/generic/memusage.h: Likewise.
3848 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3849 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3850 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3851 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3852 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3854 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3855 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3856 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3858 * sysdeps/posix/getaddrinfo.c: Likewise.
3859 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3860 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3861 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3862 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3863 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3864 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3865 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3866 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3867 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3868 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3869 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3870 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3871 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3872 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3873 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3874 * sysdeps/x86_64/dl-tls.h: Likewise.
3875 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3876 * time/alt_digit.c: Likewise.
3877 * time/era.c: Likewise.
3878 * wcsmbs/tst-c16c32-1.c: Likewise.
3879
8c75f674
JM
38802013-05-16 Joseph Myers <joseph@codesourcery.com>
3881
3882 * math/libm-test.inc (struct test_sincos_data): New type.
3883 (RUN_TEST_LOOP_sincos): New macro.
3884 (sincos_test_data): New variable.
3885 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3886
e6e49e59
RH
38872013-05-16 Richard Henderson <rth@redhat.com>
3888
3889 * math/atest-exp2.c (LIMB64): New macro.
3890 (CONSTSZ): New macro.
3891 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3892 (hexdig): Move ...
3893 (print_mpn_fp): ... to function scope.
3894 (read_mpn_hex): Remove.
3895 (get_log2): Remove.
3896 (exp2_mpn): Use mp_log2.
3897 (main): Use mp_exp1.
3898
15c7c18d
JM
38992013-05-16 Joseph Myers <joseph@codesourcery.com>
3900
105a07df
JM
3901 * math/libm-test.inc: Remove comment about not testing "inexact"
3902 exceptions.
3903 (INEXACT_EXCEPTION): New macro.
3904 (NO_INEXACT_EXCEPTION): Likewise.
3905 (INVALID_EXCEPTION_OK): Update value.
3906 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3907 (OVERFLOW_EXCEPTION_OK): Likewise.
3908 (UNDERFLOW_EXCEPTION_OK): Likewise.
3909 (IGNORE_ZERO_INF_SIGN): Likewise.
3910 (ERRNO_UNCHANGED): Likewise.
3911 (ERRNO_EDOM): Likewise.
3912 (ERRNO_ERANGE): Likewise.
3913 (test_exceptions): Handle testing "inexact" exceptions.
3914 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3915 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3916 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3917 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3918 INEXACT_EXCEPTION.
3919 (rint_towardzero_test_data): Likewise.
3920 (rint_downward_test_data): Likewise.
3921 (rint_upward_test_data): Likewise.
3922
e9eee333
JM
3923 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3924 with OVERFLOW_EXCEPTION.
3925 (exp10_test_data): Likewise.
3926 (exp2_test_data): Likewise.
3927 (expm1_test_data): Likewise.
3928 (lgamma_test_data): Likewise.
3929 (pow_test_data): Likewise.
3930 (tgamma_test_data): Likewise.
3931 (yn_test_data): Remove duplicate test of overflow.
3932
1c38ff73
JM
3933 * math/libm-test.inc (struct test_cc_c_data): New type.
3934 (RUN_TEST_LOOP_cc_c): New macro.
3935 (cpow_test_data): New variable.
3936 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3937
15c7c18d
JM
3938 * math/libm-test.inc (struct test_f_L_data): New type.
3939 (RUN_TEST_LOOP_f_L): New macro.
3940 (llrint_test_data): New variable.
3941 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3942 (llrint_tonearest_test_data): New variable.
3943 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3944 (llrint_towardzero_test_data): New variable.
3945 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3946 (llrint_downward_test_data): New variable.
3947 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3948 (llrint_upward_test_data): New variable.
3949 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3950 (llround_test_data): New variable.
3951 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3952
f137ff13
PC
39532013-05-13 Peter Collingbourne <pcc@google.com>
3954
3955 * math/atest-exp2.c (get_log2): Remove const attribute.
3956
3608cb24
JM
39572013-05-15 Joseph Myers <joseph@codesourcery.com>
3958
3959 * math/libm-test.inc (struct test_f_l_data): New type.
3960 (RUN_TEST_LOOP_f_l): New macro.
3961 (lrint_test_data): New variable.
3962 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3963 (lrint_tonearest_test_data): New variable.
3964 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3965 (lrint_towardzero_test_data): New variable.
3966 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3967 (lrint_downward_test_data): New variable.
3968 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3969 (lrint_upward_test_data): New variable.
3970 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3971 (lround_test_data): New variable.
3972 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3973
39b1f617
PC
39742013-05-15 Peter Collingbourne <pcc@google.com>
3975
1deff3dc
PC
3976 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3977 (EXTRACT_WORDS64) Use where appropriate.
3978 (INSERT_WORDS64) Likewise.
3979
791f3ba0
PC
3980 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3981 constraints with x constraints.
3982 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3983
39b1f617
PC
3984 * malloc/obstack.c (_obstack_compat): Add initializer.
3985
12fba011
EM
39862013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3987
3988 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3989 si_trapno and add si_addr_lsb to _sifields.sigfault.
3990 (si_trapno): Remove macro.
3991 (si_addr_lsb): Define new macro.
3992 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3993
d369f531
JM
39942013-05-15 Joseph Myers <joseph@codesourcery.com>
3995
b861c6c4
JM
3996 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3997 instead of TEST_f_l.
3998 (llrint_test_tonearest): Likewise.
3999 (llrint_test_towardzero): Likewise.
4000 (llrint_test_downward): Likewise.
4001 (llrint_test_upward): Likewise.
4002 (llround_test): Likewise.
4003
7abeee12
JM
4004 * math/libm-test.inc (struct test_f_i_data): Add comment.
4005 (RUN_TEST_LOOP_f_b): New macro.
4006 (RUN_TEST_LOOP_f_b_tg): Likewise.
4007 (finite_test_data): New variable.
4008 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4009 (isfinite_test_data): New variable.
4010 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4011 (isinf_test_data): New variable.
4012 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4013 (isnan_test_data): New variable.
4014 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4015 (isnormal_test_data): New variable.
4016 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4017 (issignaling_test_data): New variable.
4018 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4019 (signbit_test_data): New variable.
4020 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4021
cbe8c4d3
JM
4022 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4023 with INVALID_EXCEPTION.
4024 (acosh_test_data): Likewise.
4025 (asin_test_data): Likewise.
4026 (atanh_test_data): Likewise.
4027 (fmod_test_data): Likewise.
4028 (log_test_data): Likewise.
4029 (log10_test_data): Likewise.
4030 (log2_test_data): Likewise.
4031 (pow_test_data): Likewise.
4032 (sqrt_test_data): Likewise.
4033 (y0_test_data): Likewise.
4034 (y1_test_data): Likewise.
4035 (yn_test_data): Likewise.
4036
5575c0e5
JM
4037 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4038 function contents.
4039
d369f531
JM
4040 * math/libm-test.inc (struct test_ff_i_data): New type.
4041 (RUN_TEST_LOOP_ff_i_tg): New macro.
4042 (isgreater_test_data): New variable.
4043 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4044 (isgreaterequal_test_data): New variable.
4045 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4046 (isless_test_data): New variable.
4047 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4048 (islessequal_test_data): New variable.
4049 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4050 (islessgreater_test_data): New variable.
4051 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4052 (isunordered_test_data): New variable.
4053 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4054
781fd748
DM
40552013-05-14 David S. Miller <davem@davemloft.net>
4056
4057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4058
87aa21df
JM
40592013-05-14 Joseph Myers <joseph@codesourcery.com>
4060
5e908270
JM
4061 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4062
f71172e5
JM
4063 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4064 extra_test to int.
4065 (struct test_f_i_data): Change type of max_ulp to int.
4066
8cfa635a
JM
4067 * math/libm-test.inc (test_ffI_f1_data): New type.
4068 (RUN_TEST_LOOP_ffI_f1): New macro.
4069 (remquo_test_data): New variable.
4070 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4071
2bcb36b2
JM
4072 * setjmp/tst-setjmp-fp.c: New file.
4073 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4074 (link-libm): New variable.
4075 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4076
acbd839a
JM
4077 * math/libm-test.inc (struct test_f_i_data): New type.
4078 (RUN_TEST_LOOP_f_i): New macro.
4079 (RUN_TEST_LOOP_f_i_tg): Likewise.
4080 (fpclassify_test_data): New variable.
4081 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4082 (ilogb_test_data): New variable.
4083 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4084
e414d745
JM
4085 * math/libm-test.inc (scalbln_test): Correct function name in END
4086 call.
4087
d9c2a0fd
JM
4088 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4089 (RUN_TEST_LOOP_fI_f1): New macro.
4090 (frexp_test_data): New variable.
4091 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4092
9dc9095d
JM
4093 * math/libm-test.inc (struct test_fF_f1_data): New type.
4094 (RUN_TEST_LOOP_fF_f1): New macro.
4095 (modf_test_data): New variable.
4096 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4097
87aa21df
JM
4098 * math/libm-test.inc (struct test_f_f1_data): New type.
4099 (RUN_TEST_LOOP_f_f1): New macro.
4100 (gamma_test_data): New variable.
4101 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4102 (lgamma_test_data): New variable.
4103 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4104
141af660
CD
41052013-05-13 Carlos O'Donell <carlos@redhat.com>
4106
4107 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4108 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4109 (main): Comment "tls" pseudo-hwcap.
4110
6d33265c
JM
41112013-05-13 Joseph Myers <joseph@codesourcery.com>
4112
68fc074c
JM
4113 * math/libm-test.inc (struct test_fl_f_data): New type.
4114 (RUN_TEST_LOOP_fl_f): New variable.
4115 (scalbln_test_data): New variable.
4116 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4117
243216e1
JM
4118 * math/libm-test.inc (struct test_fi_f_data): New type.
4119 (RUN_TEST_LOOP_fi_f): New macro.
4120 (ldexp_test_data): New variable.
4121 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4122 (scalbn_test_data): New variable.
4123 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4124
6a1992e2
JM
4125 * math/libm-test.inc (struct test_c_f_data): New type.
4126 (RUN_TEST_LOOP_c_f): New macro.
4127 (cabs_test_data): New variable.
4128 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4129 (carg_test_data): New variable.
4130 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4131 (cimag_test_data): New variable.
4132 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4133 (creal_test_data): New variable.
4134 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4135
0e400df5
JM
4136 * math/libm-test.inc (struct test_if_f_data): New type.
4137 (RUN_TEST_LOOP_if_f): New macro.
4138 (jn_test_data): New variable.
4139 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4140 (yn_test_data): New variable.
4141 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4142
6d33265c
JM
4143 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4144
f98ece5f
AZ
41452013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4146
4147 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4148 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4149
0f7d347b
SP
41502013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4151
43fe811b
SP
4152 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4153 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4154 (bench-deps): Add bench-timing.h.
4155 * benchtests-bench-skeleton.c: Include bench-timing.h.
4156 (main): Use TIMING_* macros instead of clock_gettime.
4157 * benchtests/bench-timing.h: New file.
4158
0f7d347b
SP
4159 [BZ #14582]
4160 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4161 Renamed from _LIB_VERSION.
4162 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4163
601a3a5f
JM
41642013-05-12 Joseph Myers <joseph@codesourcery.com>
4165
4f184d30
JM
4166 * math/libm-test.inc (struct test_fff_f_data): New type.
4167 (RUN_TEST_LOOP_fff_f): New macro.
4168 (fma_test_data): New variable.
4169 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4170 (fma_towardzero_test_data): New variable.
4171 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4172 (fma_downward_test_data): New variable.
4173 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4174 (fma_upward_test_data): New variable.
4175 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4176
08198877
JM
4177 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4178 (struct test_c_c_data): New type.
4179 (RUN_TEST_LOOP_c_c): New macro.
4180 (cacos_test_data): New variable.
4181 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4182 (cacosh_test_data): New variable.
4183 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4184 (casin_test_data): New variable.
4185 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4186 (casinh_test_data): New variable.
4187 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4188 (catan_test_data): New variable.
4189 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4190 (catanh_test_data): New variable.
4191 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4192 (ccos_test_data): New variable.
4193 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4194 (ccosh_test_data): New variable.
4195 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4196 (cexp_test_data): New variable.
4197 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4198 (clog_test_data): New variable.
4199 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4200 (clog10_test_data): New variable.
4201 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4202 (conj_test_data): New variable.
4203 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4204 (cproj_test_data): New variable.
4205 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4206 (csin_test_data): New variable.
4207 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4208 (csinh_test_data): New variable.
4209 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4210 (csqrt_test_data): New variable.
4211 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4212 (ctan_test_data): New variable.
4213 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4214 (ctan_tonearest_test_data): New variable.
4215 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4216 (ctan_towardzero_test_data): New variable.
4217 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4218 (ctan_downward_test_data): New variable.
4219 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4220 (ctan_upward_test_data): New variable.
4221 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4222 (ctanh_test_data): New variable.
4223 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4224 (ctanh_tonearest_test_data): New variable.
4225 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4226 (ctanh_towardzero_test_data): New variable.
4227 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4228 (ctanh_downward_test_data): New variable.
4229 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4230 (ctanh_upward_test_data): New variable.
4231 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4232 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4233 of BUILD_COMPLEX.
4234
601a3a5f
JM
4235 * math/libm-test.inc (struct test_ff_f_data): New type.
4236 (struct test_ff_f_data_nexttoward): Likewise.
4237 (RUN_TEST_LOOP_2_f): New macro.
4238 (RUN_TEST_LOOP_ff_f): Likewise.
4239 (atan2_test_data): New variable.
4240 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4241 (copysign_test_data): New variable.
4242 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4243 (fdim_test_data): New variable.
4244 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4245 (fmax_test_data): New variable.
4246 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4247 (fmin_test_data): New variable.
4248 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4249 (fmod_test_data): New variable.
4250 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4251 (hypot_test_data): New variable.
4252 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4253 (nextafter_test_data): New variable.
4254 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4255 (nexttoward_test_data): New variable.
4256 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4257 (pow_test_data): New variable.
4258 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4259 (pow_tonearest_test_data): New variable.
4260 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4261 (pow_towardzero_test_data): New variable.
4262 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4263 (pow_downward_test_data): New variable.
4264 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4265 (pow_upward_test_data): New variable.
4266 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4267 (remainder_test_data): New variable.
4268 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4269 (scalb_test_data): New variable.
4270 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4271 * sysdeps/i386/fpu/libm-test-ulps: Update.
4272
74c57478
JM
42732013-05-11 Joseph Myers <joseph@codesourcery.com>
4274
8329e4da
JM
4275 * math/libm-test.inc (fma_test): Use max_value instead of local
4276 variable fltmax.
4277 (nextafter_test): Likewise.
4278
74c57478
JM
4279 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4280 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4281 (acos_downward_test_data): New variable.
4282 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4283 (acos_upward_test_data): New variable.
4284 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4285 (acosh_test_data): New variable.
4286 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4287 (asin_test_data): New variable.
4288 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4289 (asin_tonearest_test_data): New variable.
4290 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4291 (asin_towardzero_test_data): New variable.
4292 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4293 (asin_downward_test_data): New variable.
4294 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4295 (asin_upward_test_data): New variable.
4296 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4297 (asinh_test_data): New variable.
4298 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4299 (atan_test_data): New variable.
4300 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4301 (atanh_test_data): New variable.
4302 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4303 (cbrt_test_data): New variable.
4304 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4305 (ceil_test_data): New variable.
4306 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4307 (cos_test_data): New variable.
4308 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4309 (cos_tonearest_test_data): New variable.
4310 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4311 (cos_towardzero_test_data): New variable.
4312 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4313 (cos_downward_test_data): New variable.
4314 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4315 (cos_upward_test_data): New variable.
4316 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4317 (cosh_test_data): New variable.
4318 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4319 (cosh_tonearest_test_data): New variable.
4320 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4321 (cosh_towardzero_test_data): New variable.
4322 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4323 (cosh_downward_test_data): New variable.
4324 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4325 (cosh_upward_test_data): New variable.
4326 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4327 (erf_test_data): New variable.
4328 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4329 (erfc_test_data): New variable.
4330 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4331 (exp_test_data): New variable.
4332 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4333 (exp_tonearest_test_data): New variable.
4334 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4335 (exp_towardzero_test_data): New variable.
4336 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4337 (exp_downward_test_data): New variable.
4338 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4339 (exp_upward_test_data): New variable.
4340 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4341 (exp10_test_data): New variable.
4342 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4343 (exp2_test_data): New variable.
4344 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4345 (expm1_test_data): New variable.
4346 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4347 (fabs_test_data): New variable.
4348 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4349 (floor_test_data): New variable.
4350 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4351 (j0_test_data): New variable.
4352 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4353 (j1_test_data): New variable.
4354 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4355 (log_test_data): New variable.
4356 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4357 (log10_test_data): New variable.
4358 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4359 (log1p_test_data): New variable.
4360 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4361 (log2_test_data): New variable.
4362 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4363 (logb_test_data): New variable.
4364 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4365 (logb_downward_test_data): New variable.
4366 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4367 (nearbyint_test_data): New variable.
4368 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4369 (rint_test_data): New variable.
4370 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4371 (rint_tonearest_test_data): New variable.
4372 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4373 (rint_towardzero_test_data): New variable.
4374 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4375 (rint_downward_test_data): New variable.
4376 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4377 (rint_upward_test_data): New variable.
4378 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4379 (round_test_data): New variable.
4380 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4381 (sin_test_data): New variable.
4382 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4383 (sin_tonearest_test_data): New variable.
4384 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4385 (sin_towardzero_test_data): New variable.
4386 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4387 (sin_downward_test_data): New variable.
4388 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4389 (sin_upward_test_data): New variable.
4390 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4391 (sinh_test_data): New variable.
4392 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4393 (sinh_tonearest_test_data): New variable.
4394 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4395 (sinh_towardzero_test_data): New variable.
4396 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4397 (sinh_downward_test_data): New variable.
4398 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4399 (sinh_upward_test_data): New variable.
4400 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4401 (sqrt_test_data): New variable.
4402 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4403 (tan_test_data): New variable.
4404 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4405 (tan_tonearest_test_data): New variable.
4406 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4407 (tan_towardzero_test_data): New variable.
4408 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4409 (tan_downward_test_data): New variable.
4410 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4411 (tan_upward_test_data): New variable.
4412 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4413 (tanh_test_data): New variable.
4414 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4415 (tgamma_test_data): New variable.
4416 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4417 (trunc_test_data): New variable.
4418 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4419 (y0_test_data): New variable.
4420 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4421 (y1_test_data): New variable.
4422 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4423 (significand_test_data): New variable.
4424 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4425
7187d844
CG
44262013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4427
4428 [BZ #12387]
4429 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4430
f63fae73
PT
44312013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4432
4433 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4434
8a67a4b3
AJ
44352013-05-10 Andreas Jaeger <aj@suse.de>
4436
4437 [BZ #15448]
4438 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4439 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4440
51df539d
JM
44412013-05-10 Joseph Myers <joseph@codesourcery.com>
4442
4443 * math/gen-libm-test.pl (adjust_arg): New function.
4444 (special_functions): Handle generating output in both functions
4445 and arrays.
4446 (parse_args): Likewise.
4447 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4448 $in_func argument to parse_args.
4449 * math/libm-test.inc (struct test_f_f_data): New type.
4450 (IF_ROUND_INIT_): New macro.
4451 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4452 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4453 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4454 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4455 (ROUND_RESTORE_): Likewise.
4456 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4457 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4458 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4459 (ROUND_RESTORE_FE_UPWARD): Likewise.
4460 (RUN_TEST_LOOP_f_f): New macro.
4461 (acos_test_data): New variable.
4462 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4463 (acos_tonearest_test_data): New variable.
4464 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4465
5c637fe5
SP
44662013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4467
4468 * benchtests/bench-skeleton.c (startup): Fix coding style.
4469
ab2b9461
JM
44702013-05-10 Joseph Myers <joseph@codesourcery.com>
4471
4472 [BZ #6809]
4473 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4474 negative infinity argument.
4475 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4476 negative infinity argument.
4477 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4478 negative infinity argument.
4479 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4480 domain errors.
4481
4c0fe6fe
FW
44822013-05-10 Florian Weimer <fweimer@redhat.com>
4483
4484 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4485 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4486 * iconv/iconv_prog.c (main): Likewise.
4487 * locale/programs/charmap-dir.c (charmap_readdir)
4488 (fopen_uncompressed): Likewise.
4489 * locale/programs/locfile.c (siblings_uncached)
4490 (write_locale_data): Use lstat64 instead of lstat.
4491 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4492 stat.
4493
a3375d29
AJ
44942013-05-10 Andreas Jaeger <aj@suse.de>
4495
4496 [BZ #15395]
4497 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4498 localization.
4499 Include <locale.h>.
4500
36129722
CD
45012013-05-09 Carlos O'Donell <carlos@redhat.com>
4502
4503 * elf/dl-close.c (_dl_close_worker): Add comments.
4504
faa7f811
JM
45052013-05-09 Joseph Myers <joseph@codesourcery.com>
4506
ed41ffef
JM
4507 [BZ #15359]
4508 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4509 high part of pi/2.
4510 (__ieee754_rem_pio2l): Update comments.
4511
d0213cd0
JM
4512 [BZ #15429]
4513 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4514 high part of pi/2.
4515 (__ieee754_rem_pio2l): Update comments.
4516
0d3e777a
JM
4517 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4518 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4519
24f56066
JM
4520 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4521 M_PI_4l.
4522
faa7f811
JM
4523 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4524 (M_PI_34_LOG10El): Likewise.
4525 (M_PI2_LOG10El): Likewise.
4526 (M_PI4_LOG10El): Likewise.
4527 (M_PI_LOG10El): Likewise.
4528
e9a5e0fd
AZ
45292013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4530
4531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4532
d8cd06db
JM
45332013-05-08 Joseph Myers <joseph@codesourcery.com>
4534
a0d9f9d7
JM
4535 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4536 (MINUS_ZERO_INIT): Likewise.
4537 (PLUS_INFTY_INIT): Likewise.
4538 (MINUS_INFTY_INIT): Likewise.
4539 (QNAN_VALUE_INIT): Likewise.
4540 (MAX_VALUE_INIT): Likewise.
4541 (MIN_VALUE_INIT): Likewise.
4542 (MIN_SUBNORM_VALUE_INIT): Likewise.
4543 (plus_zero): Initialize with PLUS_ZERO_INIT.
4544 (minus_zero): Initialize with MINUS_ZERO_INIT.
4545 (plus_infty): Initialize with PLUS_INFTY_INIT.
4546 (minus_infty): Initialize with MINUS_INFTY_INIT.
4547 (qnan_value): Initialize with QNAN_VALUE_INIT.
4548 (max_value): Initialize with MAX_VALUE_INIT.
4549 (min_value): Initialize with MIN_VALUE_INIT.
4550 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4551
ae08db3b
JM
4552 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4553 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4554 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4555 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4556
f44bf14a
JM
4557 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4558 (RUN_TEST_2_f): Likewise.
4559 (RUN_TEST_ff_f): Likewise.
4560 (RUN_TEST_fi_f): Likewise.
4561 (RUN_TEST_fl_f): Likewise.
4562 (RUN_TEST_fff_f): Likewise.
4563 (RUN_TEST_c_f): Likewise.
4564 (RUN_TEST_f_f1): Likewise.
4565 (RUN_TEST_fF_f1): Likewise.
4566 (RUN_TEST_fI_f1): Likewise.
4567 (RUN_TEST_ffI_f1): Likewise.
4568 (RUN_TEST_c_c): Likewise.
4569 (RUN_TEST_cc_c): Likewise.
4570 (RUN_TEST_f_i): Likewise.
4571 (RUN_TEST_f_i_tg): Likewise.
4572 (RUN_TEST_ff_i_tg): Likewise.
4573 (RUN_TEST_f_b): Likewise.
4574 (RUN_TEST_f_b_tg): Likewise.
4575 (RUN_TEST_f_l): Likewise.
4576 (RUN_TEST_f_L): Likewise.
4577 (RUN_TEST_sincos): Likewise.
4578 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4579 whether to show exceptions. Do not include ");\n" in return
4580 value.
4581 (special_functions): Output call to RUN_TEST_sincos instead of
4582 check_float calls. Update calls to new_test.
4583 (parse_args): Output call to single RUN_TEST_* macro instead of
4584 check_* calls and other assignments. Update calls to new_test.
4585
d8cd06db
JM
4586 [BZ #2546]
4587 [BZ #2560]
4588 [BZ #5159]
4589 [BZ #15426]
4590 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4591 input to result for tgamma overflow.
4592 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4593 (gamma_coeff): New variable.
4594 (NCOEFF): New macro.
4595 (gamma_positive): New function.
4596 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4597 underflow here. Use gamma_positive instead of exp (lgamma) for
4598 other arguments.
4599 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4600 (gamma_coeff): New variable.
4601 (NCOEFF): New macro.
4602 (gammaf_positive): New function.
4603 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4604 underflow here. Use gamma_positive instead of exp (lgamma) for
4605 other arguments.
4606 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4607 (gamma_coeff): New variable.
4608 (NCOEFF): New macro.
4609 (gammal_positive): New function.
4610 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4611 underflow here. Use gamma_positive instead of exp (lgamma) for
4612 other arguments.
4613 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4614 (gamma_coeff): New variable.
4615 (NCOEFF): New macro.
4616 (gammal_positive): New function.
4617 (__ieee754_gammal_r): Handle positive infinity, overflow and
4618 underflow here. Handle NaN the same as positive infinity. Remove
4619 check x < 0xffffffff for negative integers. Use gamma_positive
4620 instead of exp (lgamma) for other arguments.
4621 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4622 (gamma_coeff): New variable.
4623 (NCOEFF): New macro.
4624 (gammal_positive): New function.
4625 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4626 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4627 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4628 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4629 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4630 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4631 * sysdeps/generic/math_private.h (__gamma_productf): New
4632 prototype.
4633 (__gamma_product): Likewise.
4634 (__gamma_productl): Likewise.
4635 * math/Makefile (libm-calls): Add gamma_product.
4636 * math/libm-test.inc (tgamma_test): Add more tests.
4637 * sysdeps/i386/fpu/libm-test-ulps: Update.
4638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4639
bb7cf681
OB
46402013-05-08 Ondřej Bílka <neleai@seznam.cz>
4641
4642 * benchtests/bench-skeleton.c (main): Preheat CPU.
4643
ba853947
AJ
46442013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4645
4646 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4647
8347c74c
RM
46482013-05-07 Roland McGrath <roland@hack.frob.com>
4649
4650 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4651 and _dl_skip_args_internal.
4652
e8dd4791
CD
46532013-05-07 Carlos O'Donell <carlos@redhat.com>
4654
4655 * manual/message.texi (Message Translation): Talk about users.
4656 Message to key mapping impacts design.
4657
c7405830
RM
46582013-05-06 Roland McGrath <roland@hack.frob.com>
4659
a9173057
RM
4660 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4661
976e2f03
RM
4662 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4663
9723ffc5
RM
4664 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4665 * sysdeps/wordsize-64/glob64.c: ... here.
4666
962e6658
RM
4667 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4668 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4669 New macros.
4670
ee586a6d
RM
4671 * debug/getlogin_r_chk.c: Moved to ...
4672 * login/getlogin_r_chk.c: ... here.
4673 * debug/Makefile (routines): Move getlogin_r_chk to ...
4674 * login/Makefile (routines): ... here.
4675 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4676 * login/Versions (libc: GLIBC_2.4): ... here.
4677
355f9165
RM
4678 * io/poll.c (__poll): Renamed from poll.
4679 Add libc_hidden_def.
4680 (poll): Define as weak alias.
4681
bd9ffde6
RM
4682 * debug/ptsname_r_chk.c: Moved to ...
4683 * login/ptsname_r_chk.c: ... here.
4684 * debug/Makefile (routines): Move ptsname_r_chk to ...
4685 * login/Makefile (routines): ... here.
4686 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4687 * login/Versions (libc: GLIBC_2.4): ... here.
4688
8fb16a04
RM
4689 * posix/getlogin.c: Moved to ...
4690 * login/getlogin.c: ... here.
4691 * posix/getlogin_r.c: Moved to ...
4692 * login/getlogin_r.c: ... here.
4693 * posix/getlogin_r.c: Moved to ...
4694 * login/getlogin_r.c: ... here.
4695 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4696 * login/Makefile (routines): ... here.
4697 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4698 * login/Versions (libc: GLIBC_2.0): ... here.
4699
b99b892f
RM
4700 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4701 (setrlimit): Define as weak alias.
4702
c7405830
RM
4703 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4704 Call __ names for open, ftruncate, and close.
4705 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4706 (truncate): Define as weak alias.
4707
5bf96de5
JM
47082013-05-06 Joseph Myers <joseph@codesourcery.com>
4709
9ea3513c
JM
4710 * math/gen-libm-test.pl (parse_args): Initialize x before each
4711 test of frexp, modf and remquo.
4712
5bf96de5
JM
4713 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4714 test signgam value.
4715
16e616a7
AZ
47162013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4717
4718 [BZ #15418]
4719 [BZ #15419]
4720 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4721 internal tests.
4722 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4723
d5e82754
RM
47242013-05-06 Roland McGrath <roland@hack.frob.com>
4725
4726 * elf/dl-writev.h: New file.
4727 * elf/dl-misc.c: Include it.
4728 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4729 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4730
a7548d41
JM
47312013-05-04 Joseph Myers <joseph@codesourcery.com>
4732
b7dab1e4
JM
4733 * math/libm-test.inc (noXFails): Remove variable.
4734 (noXPasses): Likewise.
4735 (BUILD_COMPLEX_INT): Remove macro.
4736 (print_screen): Remove xfail argument.
4737 (print_screen_max_error): Likewise.
4738 (update_stats): Likewise.
4739 (print_max_error): Likewise. Update calls to other affected
4740 functions.
4741 (print_complex_max_error): Likewise.
4742 (test_single_exception): Update calls to print_screen.
4743 (test_single_errno): Likewise.
4744 (check_float_internal): Remove xfail argument. Update calls to
4745 other affected functions.
4746 (check_float): Likewise.
4747 (check_complex): Likewise.
4748 (check_int): Likewise.
4749 (check_long): Likewise.
4750 (check_bool): Likewise.
4751 (check_longlong): Likewise.
4752 (main): Don't print noXFails and noXPasses.
4753 * math/gen-libm-test.pl (top level): Don't mention expected
4754 failure handling in comment.
4755 (new_test): Don't handle expected failures.
4756 (parse_args): Don't mention expected failure handling in comment.
4757 (generate_testfile): Don't handle expected failures.
4758 (parse_ulps): Likewise.
4759 (print_ulps_file): Likewise.
4760 (get_failure): Remove function.
4761 (output_test): Don't handle expected failures.
4762 * make/README.libm-test: Don't mention expected failure handling.
4763
a7548d41
JM
4764 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4765 (minus_zero): Likewise.
4766 (plus_infty): Likewise.
4767 (minus_infty): Likewise.
4768 (qnan_value): Likewise.
4769 (max_value): Likewise.
4770 (min_value): Likewise.
4771 (min_subnorm_value): Likewise.
4772 (initialize): Do not initialize those variables dynamically.
4773
60bfd54c
RM
47742013-05-03 Roland McGrath <roland@hack.frob.com>
4775
cc0e6ed8
RM
4776 * io/open.c (__open_2): Moved to ...
4777 * io/open_2.c: ... this new file.
4778 * io/open64.c (__open64_2): Moved to ...
4779 * io/open64_2.c: ... this new file.
4780 * io/openat.c (__openat_2): Moved to ...
4781 * io/openat_2.c: ... this new file.
4782 * io/openat64.c (__openat64_2): Moved to ...
4783 * io/openat64_2.c: ... this new file.
4784 * io/Makefile (routines): Add them.
4785 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4786 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4787 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4788 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4789 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4790 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4791 (__openat64): Add hidden_ver.
4792 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4793 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4794
60bfd54c
RM
4795 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4796 Separately conditionalize setting of GLRO(dl_sysinfo) so
4797 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4798 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4799
83e7640f
AZ
48002013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4801
4802 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4803 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4804 definition.
4805 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4806 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4807 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4808 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4809 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4810
d5dc2af3
JM
48112013-05-03 Joseph Myers <joseph@codesourcery.com>
4812
c31a5b1e
JM
4813 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4814 test signgam value.
4815
d5dc2af3
JM
4816 * math/libm-test.inc (hypot_test): Do not use
4817 IGNORE_ZERO_INF_SIGN.
4818
164fd39d
AJ
48192013-05-03 Andreas Jaeger <aj@suse.de>
4820
4821 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4822 Linux 3.9.
4823 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4824 (PF_MAX): Adjust for VSOCK change.
4825
8237f48c
AZ
48262013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4827
4828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4829
9df02941
CD
48302013-05-02 Carlos O'Donell <carlos@redhat.com>
4831
4832 [BZ #15264]
4833 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4834 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4835 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4836
d422395e
DM
48372013-05-02 David S. Miller <davem@davemloft.net>
4838
4839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4840
a07c5731
OB
48412013-05-01 Ondřej Bílka <neleai@seznam.cz>
4842
4843 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4844
1324e37f
RM
48452013-05-01 Roland McGrath <roland@hack.frob.com>
4846
4847 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4848
0695940b
RS
48492013-05-01 Richard Smith <richard@metafoo.co.uk>
4850
bb5f27ad 4851 [BZ #14952]
0695940b
RS
4852 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4853 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4854 Use __attribute__ ((__gnu_inline__)).
4855 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4856 Don't use __attribute__ ((__gnu_inline__)).
4857
10de07f5
JM
48582013-05-01 Joseph Myers <joseph@codesourcery.com>
4859
4860 [BZ #15423]
4861 * math/s_catan.c (__catan): Handle small real or imaginary part of
4862 input specially to avoid spurious underflow.
4863 * math/s_catanf.c (__catanf): Likewise.
4864 * math/s_catanh.c (__catanh): Likewise.
4865 * math/s_catanhf.c (__catanhf): Likewise.
4866 * math/s_catanhl.c (__catanhl): Likewise.
4867 * math/s_catanl.c (__catanl): Likewise.
4868 * math/libm-test.inc (catan_test): Add more tests.
4869 (catanh_test): Likewise.
4870 * sysdeps/i386/fpu/libm-test-ulps: Update.
4871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4872
cb4d5414
AZ
48732013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4874
4875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4876
caf84319
JM
48772013-04-30 Joseph Myers <joseph@codesourcery.com>
4878
4879 [BZ #15416]
4880 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4881 accurately for denominator in atan2.
4882 * math/s_catanf.c (__catanf): Likewise.
4883 * math/s_catanh.c (__catanh): Likewise.
4884 * math/s_catanhf.c (__catanhf): Likewise.
4885 * math/s_catanhl.c (__catanhl): Likewise.
4886 * math/s_catanl.c (__catanl): Likewise.
4887 * math/libm-test.inc (catan_test): Add more tests.
4888 (catanh_test): Likewise.
4889 * sysdeps/i386/fpu/libm-test-ulps: Update.
4890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4891
d569c6ee
SP
48922013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4893
6dbe713d
SP
4894 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4895
f0ee064b
SP
4896 * benchtests/Makefile (bench): Remove slow benchmarks.
4897 * benchtests/atan-inputs: Add slow benchmark inputs.
4898 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4899 (BENCH_FUNC): Accept variant offset.
4900 (VARIANT): Define.
4901 * benchtests/bench-skeleton.c (main): Run benchmark for each
4902 variant.
4903 * benchtests/cos-inputs: Add slow benchmark inputs.
4904 * benchtests/exp-inputs: Likewise.
4905 * benchtests/pow-inputs: Likewise.
4906 * benchtests/sin-inputs: Likewise.
4907 * benchtests/slowatan-inputs: Remove.
4908 * benchtests/slowatan.c: Remove.
4909 * benchtests/slowcos-inputs: Remove.
4910 * benchtests/slowcos.c: Remove.
4911 * benchtests/slowexp-inputs: Remove.
4912 * benchtests/slowexp.c: Remove.
4913 * benchtests/slowpow-inputs: Remove.
4914 * benchtests/slowpow.c: Remove.
4915 * benchtests/slowsin-inputs: Remove.
4916 * benchtests/slowsin.c: Remove.
4917 * benchtests/slowtan-inputs: Remove.
4918 * benchtests/slowtan.c: Remove.
4919 * benchtests/tan-inputs: Add slow benchmark inputs.
4920 * scripts/bench.pl: Parse comments and directives.
4921
d569c6ee
SP
4922 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4923 in CPPFLAGS.
4924 ($(objpfx)bench-%.c): Remove *-ITER.
4925 * benchtests/bench-modf.c: Remove definition of ITER.
4926 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4927 (main): Loop for DURATION seconds instead of fixed number of
4928 iterations.
4929 * scripts/bench.pl: Don't expect iterations in parameters.
4930
a6a242fe
RM
49312013-04-29 Roland McGrath <roland@hack.frob.com>
4932
4933 * io/fchdir.c (__fchdir): Renamed from fchdir.
4934 (fchdir): Define as weak alias.
4935
f2da7793
JM
49362013-04-29 Joseph Myers <joseph@codesourcery.com>
4937
4938 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4939 (ERRNO_EDOM): Likewise.
4940 (ERRNO_ERANGE): Likewise.
4941 (noErrnoTests): New variable.
4942 (init_max_error): Set errno to 0.
4943 (test_single_errno): New function.
4944 (test_errno): Likewise.
4945 (check_float_internal): Call test_errno. Set errno to 0.
4946 (check_complex): Refer to errno tests in comment.
4947 (check_int): Call test_errno. Set errno to 0.
4948 (check_long): Likewise.
4949 (check_bool): Likewise.
4950 (check_longlong): Likewise.
4951 (cos_test): Use ERRNO_* flags for errno tests instead of
4952 check_int.
4953 (expm1_test): Likewise.
4954 (fmod_test): Likewise.
4955 (ilogb_test): Likewise.
4956 (lgamma_test): Likewise.
4957 (pow_test): Likewise.
4958 (remainder_test): Likewise.
4959 (sin_test): Likewise.
4960 (tan_test): Likewise.
4961 (yn_test): Likewise.
4962 (initialize): Set errno to 0.
4963 (main): Print number of errno tests.
4964 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4965
b1a36ceb
AJ
49662013-04-29 Andreas Jaeger <aj@suse.de>
4967
c3ed8088
AJ
4968 [BZ #15084]
4969 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4970 and RES_USEVC.
4971
f1a24198
AJ
4972 [BZ #15085]
4973 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4974 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4975 unimplemented.
4976
9ce3b2cb
AJ
4977 [BZ #15380]
4978 * stdlib/random.c (__initstate): Return NULL if
4979 __initstate fails.
4980
f1a24198 4981 [BZ #15086]
b1a36ceb
AJ
4982 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4983 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4984 RES_SNGLKUPREOP.
4985
7e7b6f36
AZ
49862013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4987
4988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4989
4d14f449
JM
49902013-04-29 Joseph Myers <joseph@codesourcery.com>
4991
4992 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4993 of individual tests.
4994 (casin_test): Likewise.
4995 (casinh_test): Likewise.
4996
5b4217d7
JM
49972013-04-27 Joseph Myers <joseph@codesourcery.com>
4998
4999 [BZ #15409]
5000 * math/s_catan.c (__catan): Handle arguments with large real or
5001 imaginary part separately without squaring.
5002 * math/s_catanf.c (__catanf): Likewise.
5003 * math/s_catanh.c (__catanh): Likewise.
5004 * math/s_catanhf.c (__catanhf): Likewise.
5005 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5006 and redefine.
5007 (__catanhl): Handle arguments with large real or imaginary part
5008 separately without squaring.
5009 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5010 and redefine.
5011 (__catanl): Handle arguments with large real or imaginary part
5012 separately without squaring.
5013 * math/libm-test.inc (catan_test): Add more tests.
5014 (catanh_test): Likewise.
5015 * sysdeps/i386/fpu/libm-test-ulps: Update.
5016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5017
4220c3ef
AJ
50182013-04-27 Andreas Jaeger <aj@suse.de>
5019
5020 [BZ #15007]
5021 * stdlib/stdlib.h: Update guards for qecvt.
5022 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5023 <stdlib.h>.
5024
4721b2d1
AM
50252013-04-27 Allan McRae <allan@archlinux.org>
5026
5027 * sysdeps/i386/fpu/libm-test-ulps: Update.
5028
f0302940
JM
50292013-04-26 Joseph Myers <joseph@codesourcery.com>
5030
9457fd95
JM
5031 [BZ #15406]
5032 * math/s_catan.c: Include <float.h>.
5033 (__catan): Ensure underflow exception occurs for underflowed
5034 result.
5035 * math/s_catanf.c: Include <float.h>.
5036 (__catanf): Ensure underflow exception occurs for underflowed
5037 result.
5038 * math/s_catanh.c: Include <float.h>.
5039 (__catanh): Ensure underflow exception occurs for underflowed
5040 result.
5041 * math/s_catanhf.c: Include <float.h>.
5042 (__catanhf): Ensure underflow exception occurs for underflowed
5043 result.
5044 * math/s_catanhl.c: Include <float.h>.
5045 (__catanhl): Ensure underflow exception occurs for underflowed
5046 result.
5047 * math/s_catanl.c: Include <float.h>.
5048 (__catanl): Ensure underflow exception occurs for underflowed
5049 result.
5050 * math/libm-test.inc (catan_test): Add more tests.
5051 (catanh_test): Likewise.
5052
f0302940
JM
5053 [BZ #15405]
5054 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5055 underflowed result.
5056 * math/s_ccoshf.c (__ccoshf): Likewise.
5057 * math/s_ccoshl.c (__ccoshl): Likewise.
5058 * math/s_csin.c (__csin): Likewise.
5059 * math/s_csinf.c (__csinf): Likewise.
5060 * math/s_csinh.c (__csinh): Likewise.
5061 * math/s_csinhf.c (__csinhf): Likewise.
5062 * math/s_csinhl.c (__csinhl): Likewise.
5063 * math/s_csinl.c (__csinl): Likewise.
5064 * math/libm-test.inc (ccos_test): Add more tests.
5065 (ccosh_test): Likewise.
5066 (csin_test): Likewise.
5067 (csinh_test): Likewise.
5068
aa630f59
AZ
50692013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5070
5071 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5072 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5073 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5074 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5075 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5076 powerpc/power5+/fpu folders.
5077 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5078
5079
1b835983
MT
50802013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5081
5082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5083
73709b26
JM
50842013-04-25 Joseph Myers <joseph@codesourcery.com>
5085
5086 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5087 additions to variable.
5088 [$(config-machine) = x86_64] (modules-names): Likewise.
5089 ($(objpfx)tst-audit3): Remove dependency.
5090 ($(objpfx)tst-audit3.out): Likewise.
5091 ($(objpfx)tst-audit4): Likewise.
5092 ($(objpfx)tst-audit4.out): Likewise.
5093 ($(objpfx)tst-audit5): Likewise.
5094 ($(objpfx)tst-audit5.out): Likewise.
5095 ($(objpfx)tst-audit6): Likewise.
5096 ($(objpfx)tst-audit6.out): Likewise.
5097 ($(objpfx)tst-audit7): Likewise.
5098 ($(objpfx)tst-audit7.out): Likewise.
5099 (tst-audit3-ENV): Remove variable.
5100 (tst-audit4-ENV): Likewise.
5101 (tst-audit5-ENV): Likewise.
5102 (tst-audit6-ENV): Likewise.
5103 (tst-audit7-ENV): Likewise.
5104 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5105 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5106 addition to variable.
5107 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5108 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5109 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5110 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5111 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5112 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5113 tst-audit3, tst-audit4 and tst-audit5.
5114 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5115 tst-audit6 and tst-audit7.
5116 [$(subdir) = elf] (modules-names): Add audit modules for those
5117 tests.
5118 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5119 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5120 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5121 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5122 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5123 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5124 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5125 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5126 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5127 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5128 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5129 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5130 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5131 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5132 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5133 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5134 Likewise.
5135 [$(subdir) = elf && $(config-cflags-avx) = yes]
5136 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5137 [$(subdir) = elf && $(config-cflags-avx) = yes]
5138 (CFLAGS-tst-auditmod4a.c): Likewise.
5139 [$(subdir) = elf && $(config-cflags-avx) = yes]
5140 (CFLAGS-tst-auditmod4b.c): Likewise.
5141 [$(subdir) = elf && $(config-cflags-avx) = yes]
5142 (CFLAGS-tst-auditmod6b.c): Likewise.
5143 [$(subdir) = elf && $(config-cflags-avx) = yes]
5144 (CFLAGS-tst-auditmod6c.c): Likewise.
5145 [$(subdir) = elf && $(config-cflags-avx) = yes]
5146 (CFLAGS-tst-auditmod7b.c): Likewise.
5147 * elf/tst-audit3.c: Move to ...
5148 * sysdeps/x86_64/tst-audit3.c: ... here.
5149 * elf/tst-audit4.c: Move to ...
5150 * sysdeps/x86_64/tst-audit4.c: ... here.
5151 * elf/tst-audit5.c: Move to ...
5152 * sysdeps/x86_64/tst-audit5.c: ... here.
5153 * elf/tst-audit6.c: Move to ...
5154 * sysdeps/x86_64/tst-audit6.c: ... here.
5155 * elf/tst-audit7.c: Move to ...
5156 * sysdeps/x86_64/tst-audit7.c: ... here.
5157 * elf/tst-auditmod3a.c: Move to ...
5158 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5159 * elf/tst-auditmod3b.c: Move to ...
5160 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5161 * elf/tst-auditmod4a.c: Move to ...
5162 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5163 * elf/tst-auditmod4b.c: Move to ...
5164 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5165 * elf/tst-auditmod5a.c: Move to ...
5166 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5167 * elf/tst-auditmod5b.c: Move to ...
5168 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5169 * elf/tst-auditmod6a.c: Move to ...
5170 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5171 * elf/tst-auditmod6b.c: Move to ...
5172 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5173 * elf/tst-auditmod6c.c: Move to ...
5174 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5175 * elf/tst-auditmod7a.c: Move to ...
5176 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5177 * elf/tst-auditmod7b.c: Move to ...
5178 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5179
1ef74943
PP
51802013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5181
5182 [BZ #15366]
5183 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5184 define unconditionally.
5185 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5186 define unconditionally.
5187 (INT8_C, INT16_C, etc.): Likewise.
5188
93fd48c5
MR
51892013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5190
ae9552cf
MR
5191 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5192 __ehdr_start with hidden visibility.
5193
93fd48c5
MR
5194 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5195
418601aa
CD
51962013-04-24 Carlos O'Donell <carlos@redhat.com>
5197
5198 * math/libm-test.inc (cos_test): Use accurate hex constants.
5199 (sincost_test): Likewise.
5200
2f38fbfe
JM
52012013-04-24 Joseph Myers <joseph@codesourcery.com>
5202
5e221800
JM
5203 * math/libm-test.inc (catan_test): Add more tests.
5204 (catanh_test): Likewise.
5205
77f143fd
JM
5206 * math/s_catanf.c (__catanf): Use suffixed floating-point
5207 constants.
5208 * math/s_catanhf.c (__catanhf): Likewise.
5209 * math/s_catanhl.c (__catanhl): Likewise.
5210 * math/s_catanl.c (__catanl): Likewise.
5211
2f38fbfe
JM
5212 [BZ #15394]
5213 * math/s_catan.c (__catan): Calculate imaginary part of result
5214 with log1p not log unless computing log of number close to 0.
5215 * math/s_catanf.c (__catanf): Likewise.
5216 * math/s_catanl.c (__catanl): Likewise.
5217 * math/s_catanh.c (__catanh): Calculate real part of result with
5218 log1p not log unless computing log of number close to 0.
5219 * math/s_catanhf.c (__catanhf): Likewise.
5220 * math/s_catanhl.c (__catanhl): Likewise.
5221 * math/libm-test.inc (catan_test): Add more tests.
5222 (catanh_test): Likewise.
5223 * sysdeps/i386/fpu/libm-test-ulps: Update.
5224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5225
45d69176
SP
52262013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5227
5228 * benchtests/Makefile: Mention files in which fast and slow
5229 paths of math functions are implemented.
5230
87f51853
RM
52312013-04-23 Roland McGrath <roland@hack.frob.com>
5232
5233 * sysdeps/posix/timespec_get.c: New file.
5234
3c026539
AZ
52352013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5236
5237 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5238 POWER.
5239 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5240 for POWER.
5241 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5242 powerpc/power5/fpu folders.
5243 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5244 * benchtests/Makefile: Add modf testcase.
5245 * benchtests/bench-modf.c: New file: Benchmark test for mo
5246
ff491d14
SP
52472013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5248
5249 [BZ #14888]
5250 * time/Makefile (tests): Add tst-strptime-whitespace.
5251 * time/strptime_l.c (get_number): Use ISSPACE.
5252 (__strptime_internal): Likewise.
5253 * time/tst-strptime-whitespace.c: New test case.
5254
7ed3f4e8
AS
52552013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5256
5257 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5258 member.
5259 (_nss_files_init): Set it here.
5260
5c95f7b6
HC
52612013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5262
5263 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5264 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5265 unsigned.
5266
d34c9158
JBG
52672013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5268
5269 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5270
2169712d
SP
52712013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5272
5273 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5274 size just once.
5275
29c5de99
DM
52762013-04-21 David S. Miller <davem@davemloft.net>
5277
5278 * po/ru.po: Update Russion translation from translation project.
5279
ccdad15d
AC
52802013-04-17 Adam Conrad <adconrad@0c3.net>
5281
5282 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5283 and setfsgid.
5284
0f122b8d
CD
52852013-04-17 Carlos O'Donell <carlos@redhat.com>
5286
5c5b07da 5287 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5288 * configure: Regenerate.
5c5b07da 5289 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5290 Add example to error message.
5291 * sysdeps/i386/configure: Regenerate.
5292
037714dd
SP
52932013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5294
5295 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5296 slowtan.
5297 * benchtests/cos-inputs: New file.
5298 * benchtests/slowcos-inputs: New file.
5299 * benchtests/slowcos.c: New file.
5300 * benchtests/slowtan-inputs: New file.
5301 * benchtests/slowtan.c: New file.
5302 * benchtests/tan-inputs: New file.
5303
e913141d
RM
53042013-04-16 Roland McGrath <roland@hack.frob.com>
5305
5306 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5307 considered kosher.
5308
a2964074
SP
53092013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5310
4856bcd2
SP
5311 * benchtests/Makefile: Include cppflags-iterator.mk to add
5312 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5313
a2964074
SP
5314 * Makefile.in (bench-clean): New target.
5315 * benchtests/Makefile (bench-clean): Likewise.
5316
9fbf9aca
DH
53172013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5318
5319 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5320
207d1e2a
TS
53212013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5322
5323 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5324
306dfba9
AS
53252013-04-15 Andreas Schwab <schwab@suse.de>
5326
5327 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5328 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5329 * nscd/pwdcache.c (cache_addpw): Likewise.
5330 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5331 more than recsize.
5332
206a6699
SP
53332013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5334
5335 * benchtests/Makefile (bench): Write all output to
5336 bench-out.tmp together.
5337
0582f6b3
AS
53382013-04-15 Andreas Schwab <schwab@suse.de>
5339
5340 * nscd/nscd.c (main): Don't fork again after closing files.
5341
acb4325f
SP
53422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5343
5cb26d0a
SP
5344 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5345
acb4325f
SP
5346 * benchtests/Rules (bench-deps): Collect dependencies into a
5347 single variable. Add Makefile to dependencies.
5348 ($(objpfx)bench-%.c): Depend on bench-deps.
5349
47792506
RM
53502013-04-12 Roland McGrath <roland@hack.frob.com>
5351 Xavier Roche <roche+kml2@exalead.com>
5352
5353 [BZ #15361]
5354 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5355 just that it's a file descriptor.
5356 * manual/llio.texi (Synchronizing AIO Operations): Update description
5357 for EBADF error from aio_fsync.
5358
8fc1bee5
SP
53592013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5360
5361 * Rules (bench): Move target definition...
5362 * benchtests/Makefile: ... here.
5363
aba5e333
CD
53642013-04-11 Carlos O'Donell <carlos@redhat.com>
5365
5366 * math/libm-test.inc (cos_test): Fix PI/2 test.
5367 (sincos_test): Likewise.
5368 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5369 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5370
273cdee8
AS
53712013-04-11 Andreas Schwab <schwab@suse.de>
5372
6ecec3b6
AS
5373 [BZ #13988]
5374 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5375 accept exponent character only when digits were seen.
5376 * stdio-common/Makefile (tests): Add bug26.
5377 * stdio-common/bug26.c: New file.
5378
273cdee8
AS
5379 [BZ #14293]
5380 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5381 non-freeable.
5382
8da491f5
SP
53832013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5384
01dc6df9
SP
5385 * Makeconfig (rtld-prefix): Define built linker prefix.
5386 * Rules (run-bench): Use it.
5387 * math/Makefile (run-regen-ulps): Likewise.
5388
8da491f5
SP
5389 * Rules (bench): Remove eval.
5390
abe7f530
SP
53912013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5392 Roland McGrath <roland@hack.frob.com>
5393 Ondrej Bilka <neleai@seznam.cz>
5394
5395 [BZ #15346]
5396 * time/getdate.c: Include ctype.h and alloca.h.
5397 (__getdate_r): Trim leading and trailing spaces of input.
5398 * time/tst-getdate.c (tests): Add tests with leading and
5399 trailing spaces.
5400
61c23e62
RM
54012013-04-08 Roland McGrath <roland@hack.frob.com>
5402
5403 [BZ #14280]
5404 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5405 when computing value.
5406
7208a313
CD
54072013-04-06 Carlos O'Donell <carlos@redhat.com>
5408
085b2d41
CD
5409 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5410 Use testrun.sh to run libm tests.
5411
7208a313
CD
5412 [BZ #15309]
5413 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5414
872c0acd
MM
54152013-04-06 Marko Myllynen <myllynen@redhat.com>
5416
5417 [BZ #15264]
5418 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5419
26510bdd
CD
54202013-04-06 Carlos O'Donell <carlos@redhat.com>
5421
5422 * Makefile.in (regen-ulps): New target.
5423 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5424 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5425 [ifneq (no,$(PERL)] (regen-ulps): New target.
5426 [ifeq (no,$(PERL)] (regen-ulps): New target.
5427 * math/libm-test.inc (ulps_file_name): Define.
5428 (output_dir): New variable.
5429 (options): Add "output-dir" option.
5430 (parse_opt): Handle 'o' case.
5431 (main): If output_dir is non-NULL use it as a prefix
5432 otherwise use "".
5433 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5434
a01f19c8
CD
54352013-04-06 Carlos O'Donell <carlos@redhat.com>
5436
5437 [BZ #10060, #10062]
5438 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5439 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5440 fail configure if __sync_val_compare_and_swap is not inlined.
5441 * sysdeps/i386/configure: Regenerate.
5442 * configure.in: Build for i686 when configured for i386.
5443 * configure: Regenerate.
5444 * README: Remove i386 reference.
5445
b7a329a5
CD
54462013-04-06 Carlos O'Donell <carlos@redhat.com>
5447
5448 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5450
bf0f50df
TS
54512013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5452
ee091edf
TS
5453 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5454 (lmsnanval): New variables.
5455 (F): Add conversion tests.
5456 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5457 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5458
a8b792d6
TS
5459 * stdio-common/tstdiomisc.c (F): Properly collect individual
5460 tests' results.
5461
a1cbf437
TS
5462 [BZ #14686, #15336]
5463 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5464 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5465 Instead, use input NaN values or generate a qNaN by arithmetic
5466 operation. Also fix bugs to comply with the standard.
5467 * math/libm-test.inc (remainder_test): Add more tests.
5468
8b43a0c9
TS
5469 [BZ #15335, #15342]
5470 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5471 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5472 input NaN values or generate a qNaN by arithmetic operation.
5473
d91da4ce
TS
5474 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5475 unreachable code.
5476
bf0f50df
TS
5477 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5478 definitions.
5479
05e166c8
JM
54802013-04-03 Joseph Myers <joseph@codesourcery.com>
5481
5482 [BZ #14478]
5483 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5484 underflowed result.
5485 * math/s_cexpf.c (__cexpf): Likewise.
5486 * math/s_cexpl.c (__cexpl): Likewise.
5487 * math/libm-test.inc (cexp_test): Add more tests.
5488
1cef1b19
AS
54892013-04-03 Andreas Schwab <schwab@suse.de>
5490
5491 [BZ #15330]
5492 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5493 order arrays from heap if bigger than alloca cutoff.
5494
74d87055
TS
54952013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5496
5497 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5498 (SNAN_TESTS_double): Refer to GCC PR56831.
5499 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5500 GCC PR56828.
5501
d755bba4
SP
55022013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5503
90d5d5bb
SP
5504 * Rules (bench): Move bench.out after the run is complete.
5505
73e0cd5d
SP
5506 * Rules (bench): Echo currently running benchmark.
5507
64aabd4b
SP
5508 * benchtests/Makefile (bench): Add atan and slowatan.
5509 * benchtests/atan-inputs: New file.
5510 * benchtests/slowatan-inputs: New file.
5511 * benchtests/slowatan.c: New file.
5512
c871eccd
SP
5513 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5514 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5515 its value.
5516
d755bba4
SP
5517 [BZ #15305]
5518 * sysdeps/unix/sysv/linux/kernel-features.h
5519 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5520 __ASSUME_XFS_RESTRICTED_CHOWN.
5521 * sysdeps/unix/sysv/linux/pathconf.c
5522 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5523 Save and restore errno.
5524
52ce4860
JM
55252013-04-02 Joseph Myers <joseph@codesourcery.com>
5526
5527 [BZ #15327]
5528 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5529 arguments using __kernel_casinh.
5530 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5531 arguments using __kernel_casinhf.
5532 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5533 arguments using __kernel_casinhl.
5534 * math/libm-test.inc (cacosh_test): Add more tests.
5535 * sysdeps/i386/fpu/libm-test-ulps: Update.
5536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5537
81f311c2
SP
55382013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5539
e7906a47
SP
5540 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5541 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5542
92e3664b
SP
5543 * bench/Makefile (bench): Add sin and slowsin.
5544 * benchtests/sin-inputs: New file.
5545 * benchtests/slowsin-inputs: New file.
5546 * benchtests/slowsin.c: New file.
5547
81f311c2
SP
5548 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5549 (bench): Add slowexp and slowpow.
5550 (exp-ITER): Increase iterations.
5551 (pow-ITER): Likewise.
5552 * benchtests/exp-inputs: Change input.
5553 * benchtests/pow-inputs: Likewise.
5554 * benchtests/slowexp-inputs: New file.
5555 * benchtests/slowexp.c: New file.
5556 * benchtests/slowpow-inputs: New file.
5557 * benchtests/slowpow.c: New file.
5558
ab0f1aa9
AZ
55592013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5560
5561 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5562 instructions.
5563 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5564 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5565 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5566 * benchtests/Makefile: Add rint benchtest.
5567 * benchtests/rint-inputs: Input for rint benchtest.
5568
57267616
TS
55692013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5570
5571 * Versions.def (libm): Add GLIBC_2.18.
5572 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5573 hidden libm prototypes.
5574 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5575 * math/Makefile (libm-calls): Add s_issignaling.
5576 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5577 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5578 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5579 declaration.
5580 * math/math.h [__USE_GNU] (issignaling): New macro.
5581 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5582 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5583 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5584 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5585 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5587 * manual/arith.texi (issignaling): New section.
5588 * manual/libm-err-tab.pl (@all_functions): Update comment.
5589 * math/gen-libm-test.pl (parse_args): Apply special handling for
5590 issignaling.
5591 * math/libm-test.inc (print_float, issignaling_test): New
5592 functions.
5593 (check_float_internal): Add issignaling checks.
5594 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5595 default definition.
5596 * sysdeps/powerpc/math-tests.h: New file.
5597 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5598 tests.
5599 * math/test-snan.c (TEST_FUNC): Likewise.
5600
6142896d
DM
56012013-03-30 David S. Miller <davem@davemloft.net>
5602
5603 * po/de.po: Update from translation team.
5604
ccc8cadf
JM
56052013-03-30 Joseph Myers <joseph@codesourcery.com>
5606
5607 [BZ #10357]
5608 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5609 imaginary part less than 1.0 and real part less than 0.5
5610 specially.
5611 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5612 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5613 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5614 (cacos_test): Add more tests.
5615 (casin_test): Likewise.
5616 (casinh_test): Likewise.
5617 * sysdeps/i386/fpu/libm-test-ulps: Update.
5618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5619
0f6a8d4b
SP
56202013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5621
0d1029de
SP
5622 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5623 ONE with its value.
5624
c2d94018
SP
5625 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5626 (__pow_mp): Replace ONE and MONE with their values.
5627 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5628 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5629 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5630 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5631 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5632 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5633
27ec37f1
SP
5634 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5635
a64d7e0e
SP
5636 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5637 (__pow_mp): Replace ZERO and MZERO with their values.
5638 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5639 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5640 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5641 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5642 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5643 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5644 (__sqr): Likewise.
5645
d26dd3eb
SP
5646 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5647
0f6a8d4b
SP
5648 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5649
e57b0c61
RM
56502013-03-28 Roland McGrath <roland@hack.frob.com>
5651
5652 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5653 Declare with __attribute__ ((weak)).
5654 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5655 Call __call_tls_dtors only if it's not NULL.
5656
356b3480
RM
56572013-03-28 Roland McGrath <roland@hack.frob.com>
5658
288f7d79
RM
5659 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5660 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5661 magic __ehdr_start linker symbol if it's defined.
5662 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5663 them up here if it was already done.
5664
dc0a0263
RM
5665 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5666 (_dl_aux_init): Use const in cast when setting it.
5667 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5668 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5669 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5670
3d3436ae
RM
5671 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5672 Declare them here.
5673 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5674 * csu/libc-tls.c: Nor here.
5675 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5676
356b3480
RM
5677 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5678 (__libc_message): Never call vsyslog.
5679
b0f1246a
AM
56802013-03-28 Alan Modra <amodra@gmail.com>
5681
5682 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5683 Define as empty.
5684 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5685 Likewise.
5686
fbbe2b9a
AZ
56872013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5688
5689 [BZ #15214]
5690 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5691 underflow.
5692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5693
1728ab37
SP
56942013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5695
7a86be6e
SP
5696 [BZ #15304]
5697 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5698 Don't add gid passed as argument.
5699
1728ab37
SP
5700 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5701
3a7182a1
JM
57022013-03-27 Joseph Myers <joseph@codesourcery.com>
5703
5704 [BZ #15307]
5705 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5706 imaginary part between 1.0 and 1.5 and real part less than 0.5
5707 specially.
5708 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5709 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5710 * math/libm-test.inc (cacos_test): Add more tests.
5711 (casin_test): Likewise.
5712 (casinh_test): Likewise.
5713 * sysdeps/i386/fpu/libm-test-ulps: Update.
5714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5715
6f2e90e7
SP
57162013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5717
5739f705
SP
5718 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5719 constants.
5720 (norm): Likewise.
5721 (denorm): Likewise.
5722 (__dbl_mp): Likewise.
5723 (add_magnitudes): Likewise.
5724 (sub_magnitudes): Likewise.
5725 (__add): Likewise.
5726 (__sub): Likewise.
5727 (__mul): Likewise.
5728 (__sqr): Likewise.
5729 (__inv): Likewise.
5730 (__dvd): Likewise.
5731
e375e83d
SP
5732 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5733 commented code.
5734 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5735 (__dubcos): Likewise.
5736 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5737 (__ieee754_acos): Likewise.
5738 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5739 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5740 (__exp1): Likewise.
5741 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5742 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5743 (log1): Likewise.
5744 (my_log2): Likewise.
5745 (checkint): Likewise.
5746 * sysdeps/ieee754/dbl-64/e_remainder.c
5747 (__ieee754_remainder): Likewise.
5748 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5749 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5750 (bsloww): Likewise.
5751 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5752
6f2e90e7
SP
5753 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5754 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5755 MANTISSA_STORE_T to store computations on mantissa. Use
5756 macros for rounding and division.
5757 (denorm): Likewise.
5758 (__dbl_mp): Likewise.
5759 (add_magnitudes): Likewise.
5760 (sub_magnitudes): Likewise.
5761 (__mul): Likewise.
5762 (__sqr): Likewise.
5763 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5764 powers of two in terms of TWOPOW macro.
5765 (mp_no): Make type of mantissa as MANTISSA_T.
5766 [!RADIXI]: Define RADIXI.
5767 [!TWO52]: Define TWO52.
5768 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5769
fce14d4e
AZ
57702013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5771
5772 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5773 llroundl symbol when building for PPC32.
5774
9ad027fb
MW
57752013-03-24 Mark H Weaver <mhw@netris.org>
5776
5777 * manual/arith.texi (Normalization Functions): Fix prototypes for
5778 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5779
e42a38dd
AZ
57802013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5781
5782 [BZ #13889]
5783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5784 high value to check if expl overflow.
5785 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5786 to check for underflow and overflow.
5787 * math/libm-test.inc: Add exp test.
5788
2e0fb521
DL
57892013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5790
5791 [BZ #11120]
5792 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5793 with NOT_IN_libc.
5794
b5784d95
AZ
57952013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5796
5797 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5798 symbol.
5799
5aa4a1a1
TS
58002013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5801
bdef0be7
TS
5802 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5803 wrap blocks consisting of several statements.
5804
5aa4a1a1
TS
5805 * sysdeps/generic/math-tests.h: New file.
5806 * sysdeps/i386/fpu/math-tests.h: Likewise.
5807 * math/test-snan.c: Include it.
5808 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5809
98c48fe5
JM
58102013-03-21 Joseph Myers <joseph@codesourcery.com>
5811
5812 [BZ #15285]
5813 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5814 (__ieee754_j0l): Do not improve calculations using cos of twice
5815 input for inputs above LDBL_MAX / 2.0L.
5816 (__ieee754_y0l): Likewise.
5817 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5818 (__ieee754_j1l): Do not improve calculations using cos of twice
5819 input for inputs above LDBL_MAX / 2.0L.
5820 (__ieee754_y1l): Likewise.
5821 * math/libm-test.inc (j0_test): Add another test.
5822 (j1_test): Likewise.
5823 (y0_test): Likewise.
5824 (y1_test): Likewise.
5825 * sysdeps/i386/fpu/libm-test-ulps: Update.
5826
3775a8bc
SP
58272013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5828
5829 * Rules ($(objpfx)bench-%.c): Include code from a C source
5830 file.
5831
0a1b2ae6
JM
58322013-03-21 Joseph Myers <joseph@codesourcery.com>
5833
5834 [BZ #15287]
5835 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5836 imaginary part 1.0 and real part less than 0.5 specially.
5837 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5838 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5839 * math/libm-test.inc (cacos_test): Add more tests.
5840 (casin_test): Likewise.
5841 (casinh_test): Likewise.
5842 * sysdeps/i386/fpu/libm-test-ulps: Update.
5843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5844
b33d4ce4
SP
58452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5846
5847 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5848 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5849
bef0b507
JM
58502013-03-20 Joseph Myers <joseph@codesourcery.com>
5851
5852 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5853 * config.make.in (config-cflags-sse4): Remove variable.
5854 (config-cflags-avx): Likewise.
5855 (config-cflags-sse2avx): Likewise.
5856 (config-cflags-novzeroupper): Likewise.
5857 (config-asflags-i686): Likewise.
5858 (have-mfma4): Likewise.
5859 (have-as-vis3): Likewise.
5860 (MIG): Likewise.
5861 * configure.in (MIG): Do not AC_SUBST.
5862 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5863 (libc_cv_cc_sse4): Do not AC_SUBST.
5864 (libc_cv_cc_avx): Likewise.
5865 (libc_cv_cc_sse2avx): Likewise.
5866 (libc_cv_cc_novzeroupper): Likewise.
5867 (libc_cv_cc_fma4): Likewise.
5868 (libc_cv_as_i686): Likewise.
5869 (libc_cv_sparc_as_vis3): Likewise.
5870 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5871 LIBC_CONFIG_VAR.
5872 (config-asflags-i686): Likewise.
5873 (config-cflags-avx): Likewise.
5874 (config-cflags-sse2avx): Likewise.
5875 (have-mfma4): Likewise.
5876 (config-cflags-novzeroupper): Likewise.
5877 * sysdeps/mach/configure.in (MIG): Likewise.
5878 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5879 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5880 LIBC_CONFIG_VAR.
5881 (config-cflags-avx): Likewise.
5882 (config-cflags-sse2avx): Likewise.
5883 (have-mfma4): Likewise.
5884 (config-cflags-novzeroupper): Likewise.
5885 * configure: Regenerated.
5886 * sysdeps/i386/configure: Likewise.
5887 * sysdeps/mach/configure: Likewise.
5888 * sysdeps/sparc/configure: Likewise.
5889 * sysdeps/x86_64/configure: Likewise.
5890
912cc4b3
RM
58912013-03-20 Roland McGrath <roland@hack.frob.com>
5892
5893 [BZ #14812]
5894 * locale/programs/localedef.c (options): Put N_ translation marker
5895 on argument names, not just descriptions.
5896
04eed2b0
MS
58972013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5898
5899 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5900
a065ceff
OB
59012013-03-20 Ondřej Bílka <neleai@seznam.cz>
5902
9bb2a810 5903 [BZ #14176]
a065ceff
OB
5904 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5905
a600e5ce
RM
59062013-03-19 Roland McGrath <roland@hack.frob.com>
5907
5908 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5909 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5910 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5911 [!BEFORE_ABORT] (before_abort): New function.
5912 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5913 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5914 (writev_for_fatal): New function.
5915 (WRITEV_FOR_FATAL): New macro; call that.
5916 (backtrace_and_maps): New function.
5917 (BEFORE_ABORT): New macro; call that.
5918 (struct str_list): Type removed.
5919 (__libc_message, __libc_fatal): Functions removed.
5920 Include <sysdeps/posix/libc_fatal.c> instead.
5921
6b18bea6
JM
59222013-03-19 Joseph Myers <joseph@codesourcery.com>
5923
5924 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5925 constants.
5926 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5927 double constants.
5928
aaa8cb4b
AS
59292013-03-19 Andreas Schwab <schwab@suse.de>
5930
44673770
AS
5931 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5932 * sysdeps/gnu/configure: Regenerate.
5933
aaa8cb4b
AS
5934 * configure.in: Substitute libc_cv_rtlddir.
5935 * configure: Regenerate.
5936 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5937 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5938 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5939 * elf/Makefile (install-others, CFLAGS-interp.c)
5940 (ldso_install, common-ldd-rewrite): Likewise.
5941 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5942 $(inst_slibdir)/$(rtld-installed-name).
5943 * scripts/rellns-sh: Add -p option.
5944 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5945 for source.
5946
d3cfc668
SP
59472013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5948
5949 * manual/nptl.texi: Renamed to ...
5950 * manual/threads.texi: ... this.
5951 * manual/Makefile (chapters): Update.
5952
0e2b9cdd
RM
59532013-03-18 Roland McGrath <roland@hack.frob.com>
5954
5955 [BZ #14812]
5956 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5957 on argument names, not just descriptions.
0e2b9cdd
RM
5958 * malloc/memusagestat.c (options): Likewise.
5959 * nss/getent.c (options): Likewise.
63270c24
RM
5960
59612013-03-18 Benno Schulenberg <bensberg@justemail.net>
5962
5963 [BZ #14812]
5964 * iconv/iconv_prog.c (options): Put N_ translation marker
5965 on argument names, not just descriptions.
5966 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5967
b2e1393c
OB
59682013-03-18 Ondrej Bilka <neleai@seznam.cz>
5969
5970 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5971 implementation which is faster on all x86_64 architectures.
5972 Tested on AMD, Intel Nehalem, SNB, IVB.
5973 * sysdeps/x86_64/strnlen.S: Likewise.
5974
5975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5976 Remove all multiarch strlen and strnlen versions.
5977 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5978 Remove strlen and strnlen related parts.
5979
5980 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5981 Inline strlen part.
5982 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5983
5984 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5985 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5986 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5987 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5988 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5989 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5990
ec4ff04d
CD
59912013-03-17 Carlos O'Donell <carlos@redhat.com>
5992
5993 * manual/memory.texi (Malloc Tunable Parameters):
5994 Sort parameters alphabetically. Add comments for missing entries.
5995
cd18e90a
DM
59962013-03-17 David S. Miller <davem@davemloft.net>
5997
5998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5999
2a185d32
JM
60002013-03-16 Joseph Myers <joseph@codesourcery.com>
6001
d2f9799e
JM
6002 [BZ #15283]
6003 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6004 for arguments at most half maximum finite value.
6005 * math/libm-test.inc (j0_test): Add more tests.
6006 (j1_test): Likewise.
6007 (y0_test): Likewise.
6008 (y1_test): Likewise.
6009 * sysdeps/i386/fpu/libm-test-ulps: Update.
6010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6011
2a185d32
JM
6012 [BZ #14155]
6013 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6014 1 / x and functions P and Q for arguments above 0x1p256L.
6015 (__ieee754_y0l): Likewise.
6016 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6017 (__ieee754_y1l): Likewise.
6018 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6019 (j1_test): Likewise.
6020 (y0_test): Likewise.
6021 (y1_test): Likewise.
6022
6cbec759
TS
60232013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6024
6025 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6026 variable.
6027
bc16e260
RM
60282013-03-15 Roland McGrath <roland@hack.frob.com>
6029
aefc9b8c
RM
6030 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6031 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6032 zero since it's initialized to EXEC_PAGESIZE.
6033
bc16e260
RM
6034 * sysdeps/unix/sysv/linux/ldsodefs.h
6035 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6036 * sysdeps/generic/ldsodefs.h: ... here.
6037
a57da955
TS
60382013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6039
af00a34d
TS
6040 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6041
495ded2c
TS
6042 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6043 math/test-snan.c.
6044 * math/test-snan.c: Renamed from
6045 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6046 * math/Makefile (tests): Add test-snan.
6047 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6048 test-powerpc-snan.
6049
777b0332
TS
6050 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6051 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6052 functions.
6053 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6054 __builtin_nan family of functions.
6055 * math/libm-test.inc (initialize): Initialize qnan_value with
6056 __builtin_nan family of functions.
6057 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6058 Remove variables.
6059 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6060 Remove functions.
6061 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6062 storage class. Initialize qNaN_var and sNaN_var with
6063 __builtin_nan and __builtin_nans families of functions,
6064 respectively.
6065
64d063b8
TS
6066 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6067 (sqrt_test): Remove duplicate test with qNaN input.
6068 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6069 (round_test, signbit_test, significand_test): Note missing +/-Inf
6070 as well as qNaN tests.
6071
67e971f1
TS
6072 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6073 qNaN_var. Fix a few strings, too.
6074 * math/libm-test.inc (nan_value): Rename to qnan_value.
6075 * math/gen-libm-test.pl (%beautify): Adjust to that.
6076 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6077 * math/test-misc.c (main): Likewise.
6078 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6079 to __qnan_bytes, and __qnan_union, respectively.
6080 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6081 Likewise.
6082 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6083 and lqnanval, respectively.
6084 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6085 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6086 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6087 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6088
64487e12
TS
6089 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6090 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6091 doubles.
6092
e015e27b
TS
6093 * math/test-misc.c (main): Fix copy'n'pastos.
6094 * misc/tst-efgcvt.c (special): Likewise.
6095
a57da955
TS
6096 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6097 Remove declarations.
6098
1e380345
SP
60992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6100
6101 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6102 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6103 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6104 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6105
ef26eece
AZ
61062013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6107
6108 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6109 macro to return vdso values correctly in IFUNC implementations.
6110 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6111 Optimization by using IFUNC.
6112
8cfdb7e0
SP
61132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6114 Richard Henderson <rth@redhat.com>
6115 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6116
6117 * Makefile.in (bench): New target.
6118 * NEWS: Mention the benchmark framework.
6119 * Rules (bench): Likewise.
6120 (binaries-bench): Generate binaries for functions to
6121 benchmark.
6122 * benchtests/Makefile: New makefile for benchmark tests.
6123 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6124 programs.
6125 * benchtests/exp-inputs: New input file for EXP function.
6126 * benchtests/pow-inputs: New input file for POW function.
6127 * scripts/bench.pl: New script to generate source files for
6128 benchmark programs.
6129
bcda9880
SP
61302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6131
d22ca8cd
SP
6132 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6133 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6134 computations on mantissa. Use macros for rounding and
6135 division.
6136 (denorm): Likewise.
6137 (__dbl_mp): Likewise.
6138 (add_magnitudes): Likewise.
6139 (sub_magnitudes): Likewise.
6140 (__mul): Likewise.
6141 (__sqr): Likewise.
6142 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6143 powers of two in terms of TWOPOW macro.
6144 (mp_no): Make type of mantissa as MANTISSA_T.
6145 [!RADIXI]: Define RADIXI.
6146 [!TWO52]: Define TWO52.
6147 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6148
bcda9880
SP
6149 * manual/nptl.texi (cindex): Modify threads to pthreads.
6150
06d5adfb
JM
61512013-03-15 Joseph Myers <joseph@codesourcery.com>
6152
6153 * sysdeps/x86_64/preconfigure: Regenerated.
6154
41c7328e
JM
61552013-03-14 Joseph Myers <joseph@codesourcery.com>
6156
6157 [BZ #14155]
6158 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6159 0x1p28 and above.
6160 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6161 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6162 0x1p28 and above.
6163 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6164 * math/libm-test.inc (j0_test): Do not allow one spurious
6165 underflow exception.
6166 (y1_test): Likewise.
6167
e25cfa60
SP
61682013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6169
0409959c
SP
6170 * manual/Makefile (chapters): Add nptl.
6171 * manual/debug.texi (Debugging Support): Add link to Threads
6172 chapter.
6173 * manual/nptl.texi: New file.
6174
e25cfa60
SP
6175 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6176
58a1335e
PB
61772013-03-14 Petr Baudis <pasky@ucw.cz>
6178
6179 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6180 for non-NULL pointer before the memory validity test. Pointed
6181 out by Holger Brunck <holger.brunck@keymile.com>.
6182
9dc7c64f
AS
61832013-03-13 Andreas Schwab <schwab@suse.de>
6184
6185 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6186 instead of .os.
6187
54206aa6
JM
61882013-03-13 Joseph Myers <joseph@codesourcery.com>
6189
6190 * timezone/zic.c: Update from tzcode 2013b.
6191
e98cdb38
CD
61922013-03-12 Carlos O'Donell <carlos@redhat.com>
6193
6194 * manual/install.texi (Configuring and compiling):
6195 Mention i686 and i586.
6196 * INSTALL: Regenerate.
6197
9967e003
RM
61982013-03-12 Roland McGrath <roland@hack.frob.com>
6199
6200 * sysdeps/init_array/elf-init.c: New file.
6201 * csu/elf-init.c
6202 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6203 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6204
6205 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6206 __gmon_start__ as global, but as static with a .preinit_array pointer.
6207 * sysdeps/init_array/gmon-start.c: New file. Use that.
6208 * sysdeps/init_array/crti.S: New file, empty except for comments.
6209 * sysdeps/init_array/crtn.S: Likewise.
6210
e6b5a293 62112013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6212
6213 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6214 definining bcopy.
80f844c9
OB
6215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6216 Remove Prefer_SSE_for_memop.
6217 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6218 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6219 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6221 memset-x86-64.
80f844c9 6222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6223 Remove bzero, memset ifunc support.
80f844c9
OB
6224 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6225 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6226 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6227 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6228
fb6b0fcb
AS
62292013-03-11 Andreas Schwab <schwab@suse.de>
6230
6231 [BZ #15234]
6232 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6233 by SHLIB_COMPAT.
6234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6235 (GLIBC_2.16): Remove pthread_atfork.
6236
3e6bd4b1
PP
62372013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6238
6239 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6240 (ptestcases.h): Likewise.
6241
222d7f00
RM
62422013-03-08 Roland McGrath <roland@hack.frob.com>
6243
6244 * Makeconfig ($(common-objpfx)config.status): Depend on
6245 sysdeps/*/preconfigure{,.in} too.
6246
1ba4f030
JM
62472013-03-08 Joseph Myers <joseph@codesourcery.com>
6248
a222d91a
JM
6249 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6250 (__free_hook): Use void * instead of __malloc_ptr_t.
6251 (__malloc_hook): Likewise.
6252 (__realloc_hook): Likewise.
6253 (__memalign_hook): Likewise.
6254 (__after_morecore_hook): Likewise.
6255 * malloc/arena.c (save_malloc_hook): Likewise.
6256 (save_free_hook): Likewise.
6257 * malloc/hooks.c (malloc_hook_ini): Likewise.
6258 (realloc_hook_ini): Likewise.
6259 (memalign_hook_ini): Likewise.
6260 * malloc/malloc.c (malloc_hook_ini): Likewise.
6261 (realloc_hook_ini): Likewise.
6262 (memalign_hook_ini): Likewise.
6263 (__free_hook): Likewise.
6264 (__malloc_hook): Likewise.
6265 (__realloc_hook): Likewise.
6266 (__memalign_hook): Likewise.
6267 (__libc_malloc): Likewise.
6268 (__libc_free): Likewise.
6269 (__libc_realloc): Likewise.
6270 (__libc_memalign): Likewise.
6271 (__libc_valloc): Likewise.
6272 (__libc_pvalloc): Likewise.
6273 (__libc_calloc): Likewise.
6274 (__posix_memalign): Likewise.
6275 * malloc/morecore.c (__sbrk): Likewise.
6276 (__default_morecore): Likewise.
6277
5cc45e10
JM
6278 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6279
dd54b864
JM
6280 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6281 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6282 __malloc_ptrdiff_t.
6283
1ba4f030
JM
6284 * malloc/malloc.h (__malloc_size_t): Remove macro.
6285 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6286 __malloc_size_t.
6287 (old_memalign_hook): Likewise.
6288 (old_realloc_hook): Likewise.
6289 (struct hdr): Likewise.
6290 (flood): Likewise.
6291 (mallochook): Likewise.
6292 (memalignhook): Likewise.
6293 (reallochook): Likewise.
6294 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6295 (tr_old_realloc_hook): Likewise.
6296 (tr_old_memalign_hook): Likewise.
6297 (tr_mallochook): Likewise.
6298 (tr_reallochook): Likewise.
6299 (tr_memalignhook): Likewise.
6300
edf66e57
AZ
63012013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6302
6303 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6304 default_ldbl_pack and using as default implementation.
6305 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6306 implementation.
6307 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6308 redundant definition.
6309 (ldbl_insert_mantissa): Likewise.
6310 (ldbl_canonicalize): Likewise.
6311 (ldbl_nearbyint): Likewise.
6312 (ldbl_pack): Rename to ldbl_pack_ppc.
6313 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6314 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6315 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6316
6d9145d8
SP
63172013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6318
6319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6320 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6321 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6322 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6324 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6325 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6326 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6327
4dd4e157
AJ
63282013-03-07 Andreas Jaeger <aj@suse.de>
6329
6330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6331 bits/mman-linux.h.
6332
adbb8027
SP
63332013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6334
ce544b5b
SP
6335 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6336 Include mpa.h and declare __MPEXP.
6337 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6338 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6339 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6340 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6341 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6342 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6343 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6344
4cc149fd
SP
6345 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6346 (__slowpow): Use long double EXPL and LOGL functions to
6347 compute POW.
6348 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6349 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6350 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6351 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6352 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6353 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6354
e6ebd4a7
SP
6355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6356 intermediate variable to calculate exponent.
6357 (__sqr): Likewise.
6358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6359 Likewise.
6360 (__sqr): Likewise.
6361
82a9811d
SP
6362 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6363 [!NO__SQR]: Define __sqr.
6364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6365 and NO__SQR. Remove all code except __mul and __sqr. Include
6366 sysdeps/ieee754/dbl-64/mpa.c.
6367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6368
adbb8027
SP
6369 [BZ #12723]
6370 * posix/Makefile (tests): Add tst-pathconf.
6371 * posix/tst-pathconf.c: New test case.
6372 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6373 _PC_PIPE_BUF.
6374 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6375
39120df9
PF
63762013-03-06 Patsy Franklin <pfrankli@redhat.com>
6377
6378 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6379
67525cb8
AJ
63802013-03-06 Andreas Jaeger <aj@suse.de>
6381
664a9ce4
AJ
6382 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6383 definition via __MAP_ANONYMOUS.
6384
8e39047d
AJ
6385 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6386 it's not part of Linux headers.
6387
67525cb8
AJ
6388 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6389 (MAP_HUGE_MASK): Define.
6390
6391 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6392 Define.
6393 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6395 Define.
6396 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6397 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6398 Define.
6399 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6400 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6401 Define.
6402 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6403
6404 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6405 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6406 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6407 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6408 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6409 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6410
6411 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6412 Handle f2fs.
6413
6414 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6415 Handle f2fs and efivarfs.
6416
6417 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6418 f2fs.
6419
6420 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6421 (EFIVARFS_MAGIC): Add.
6422 (F2FS_LINK_MAX): Add.
6423
e1b42695
PP
64242013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6425
6426 * stdio-common/vfprintf.c: Replace __builtin_expect with
6427 __glibc_unlikely.
6428
2d67d91a
JM
64292013-03-06 Joseph Myers <joseph@codesourcery.com>
6430
6431 [BZ #13550]
6432 * sysdeps/generic/bp-sym.h: Remove file.
6433 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6434 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6435 <bp-sym.h> and <bp-asm.h>.
6436 (__longjmp): Don't use BP_SYM.
6437 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6438 and <bp-asm.h>.
6439 (memcpy): Don't use BP_SYM.
6440 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6441 <bp-sym.h> and <bp-asm.h>.
6442 (memcpy): Don't use BP_SYM.
6443 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6444 <bp-asm.h>.
6445 (memcpy): Don't use BP_SYM.
6446 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6447 <bp-asm.h>.
6448 (memset): Don't use BP_SYM.
6449 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6450 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6451 (__bzero): Don't use BP_SYM.
6452 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6453 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6454 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6455 <bp-sym.h> and <bp-asm.h>.
6456 (memcmp): Don't use BP_SYM. Remove comment about bounded
6457 pointers.
6458 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6459 <bp-sym.h> and <bp-asm.h>.
6460 (memcpy): Don't use BP_SYM.
6461 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6462 <bp-sym.h> and <bp-asm.h>.
6463 (memset): Don't use BP_SYM.
6464 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6465 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6466 (__bzero): Don't use BP_SYM.
6467 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6468 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6469 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6470 <bp-sym.h> and <bp-asm.h>.
6471 (strncmp): Don't use BP_SYM. Remove comment about bounded
6472 pointers.
6473 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6474 <bp-sym.h> and <bp-asm.h>.
6475 (memcpy): Don't use BP_SYM.
6476 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6477 <bp-sym.h> and <bp-asm.h>.
6478 (memset): Don't use BP_SYM.
6479 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6480 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6481 (__bzero): Don't use BP_SYM.
6482 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6483 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6484 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6485 <bp-sym.h> and <bp-asm.h>.
6486 (__memchr): Don't use BP_SYM.
6487 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6488 <bp-sym.h> and <bp-asm.h>.
6489 (memcmp): Don't use BP_SYM. Remove comment about bounded
6490 pointers.
6491 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6492 <bp-sym.h> and <bp-asm.h>.
6493 (memcpy): Don't use BP_SYM.
6494 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6495 <bp-sym.h> and <bp-asm.h>.
6496 (__mempcpy): Don't use BP_SYM.
6497 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6498 <bp-sym.h> and <bp-asm.h>.
6499 (__memrchr): Don't use BP_SYM.
6500 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6501 <bp-sym.h> and <bp-asm.h>.
6502 (memset): Don't use BP_SYM.
6503 (__bzero): Likewise.
6504 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6505 <bp-sym.h> and <bp-asm.h>.
6506 (__rawmemchr): Don't use BP_SYM.
6507 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6508 <bp-sym.h> and <bp-asm.h>.
6509 (__STRCMP): Don't use BP_SYM.
6510 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6511 <bp-sym.h> and <bp-asm.h>.
6512 (strchr): Don't use BP_SYM.
6513 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6514 <bp-sym.h> and <bp-asm.h>.
6515 (__strchrnul): Don't use BP_SYM.
6516 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6517 <bp-sym.h> and <bp-asm.h>.
6518 (strlen): Don't use BP_SYM.
6519 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6520 <bp-sym.h> and <bp-asm.h>.
6521 (strncmp): Don't use BP_SYM. Remove comment about bounded
6522 pointers.
6523 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6524 <bp-sym.h> and <bp-asm.h>.
6525 (__strnlen): Don't use BP_SYM.
6526 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6527 <bp-sym.h> and <bp-asm.h>.
6528 (__GI__setjmp): Don't use BP_SYM.
6529 (_setjmp): Likewise.
6530 (__sigsetjmp): Likewise.
6531 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6532 (L(start_addresses)): Don't use BP_SYM.
6533 (_start): Likewise.
6534 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6535 <bp-asm.h>.
6536 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6537 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6538 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6539 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6540 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6541 <bp-asm.h>.
6542 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6543 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6544 about bounded pointers.
6545 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6546 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6547 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6548 <bp-asm.h>.
6549 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6550 about bounded pointers. Remove GKM FIXME comments.
6551 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6552 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6553 <bp-asm.h>.
6554 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6555 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6556 Remove GKM FIXME comments.
6557 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6558 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6559 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6560 <bp-asm.h>.
6561 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6562 about bounded pointers. Remove GKM FIXME comment.
6563 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6564 and <bp-asm.h>.
6565 (strncmp): Don't use BP_SYM. Remove comment about bounded
6566 pointers.
6567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6568 <bp-sym.h> and <bp-asm.h>.
6569 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6571 <bp-sym.h> and <bp-asm.h>.
6572 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6573 comment.
6574
cdcf361f
PP
65752013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6576
6577 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6578 call free(NULL).
6579
3c4a2b15
DM
65802013-03-05 David S. Miller <davem@davemloft.net>
6581
6582 * po/es.po: Update from translation team.
6583
cdcf361f 65842013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6585
6586 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6587 <bits/mman-linux.h>.
6588 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6589 is fine.
6590 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6591 <bits/mman-linux.h> to end of file.
6592 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6593 is fine.
6594 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6595 <bits/mman-linux.h> to end of file.
6596 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6597 is fine.
6598 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6599 <bits/mman-linux.h> to end of file.
6600
6601 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6602 (MCL_CURRENT, MCL_FUTURE): Define here.
6603
5f67c04f
AK
66042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6605
8a4473cc 6606 [BZ #15232]
5f67c04f
AK
6607 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6608 attribute_hidden.
6609 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6610
c3e94a95
AK
66112013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6612
6613 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6614 fourth parameter needed for rt_sigprocmask syscall.
6615 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6616 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6617 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6618 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6619 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6620 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6621
cfb6382a
JM
66222013-03-04 Joseph Myers <joseph@codesourcery.com>
6623
6624 [BZ #13550]
6625 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6626 comment about bounded pointers.
6627 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6628 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6629
539d8e01
AJ
66302013-03-04 Andreas Jaeger <aj@suse.de>
6631
6632 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6633 common definitions.
6634
6635 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6636 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6637 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6638 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6639 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6640 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6641
2e167a70 66422013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6643
6644 [BZ #15055]
6645 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6646 __ieee754_sqrl instead of __sqrl.
6647
68508633
JM
66482013-03-01 Joseph Myers <joseph@codesourcery.com>
6649
6650 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6651 * sysdeps/powerpc/fpu_control.h: ... here.
6652 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6653 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6654 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6655 * sysdeps/powerpc/bits/mathinline.h: ... here.
6656
7775448e
RM
66572013-03-01 Roland McGrath <roland@hack.frob.com>
6658
6659 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6660 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6661 to just [NEED_DL_SYSINFO_DSO].
6662 * elf/dl-support.c: Likewise.
6663 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6664 * elf/rtld.c (dl_main): Likewise.
6665 * elf/setup-vdso.h (setup_vdso): Likewise.
6666 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6667 * sysdeps/unix/sysv/linux/dl-sysdep.c
6668 (_dl_discover_osversion): Likewise.
6669
4e9b5995
CD
66702013-03-01 Carlos O'Donell <carlos@redhat.com>
6671
6672 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6673 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6674
e23872c8
SP
66752013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6676
e5c74c63
SP
6677 * NEWS: Mention libm performance improvements and non-x86 PI
6678 futex support.
6679
e23872c8
SP
6680 * csu/libc-start.c (__pthread_initialize_minimal): Change
6681 function arguments.
6682 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6683
b5510883
JM
66842013-02-28 Joseph Myers <joseph@codesourcery.com>
6685
6686 [BZ #13550]
6687 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6688 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6689 <bp-sym.h> and <bp-asm.h>.
6690 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6691 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6692 and <bp-asm.h>.
6693 (memcpy): Don't use BP_SYM.
6694 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6695 <bp-asm.h>.
6696 (__mpn_add_n): Don't use BP_SYM.
6697 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6698 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6699 and <bp-asm.h>.
6700 (__mpn_addmul_1): Don't use BP_SYM.
6701 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6702 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6703 <bp-sym.h>.
6704 (_setjmp): Don't use BP_SYM.
6705 (__novmx_setjmp): Likewise.
6706 (__GI__setjmp): Likewise.
6707 (__vmx_setjmp): Likewise.
6708 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6709 <bp-sym.h>.
6710 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6711 (__bzero): Don't use BP_SYM.
6712 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6713 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6714 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6715 <bp-sym.h> and <bp-asm.h>.
6716 (memcpy): Don't use BP_SYM.
6717 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6718 <bp-sym.h> and <bp-asm.h>.
6719 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6720 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6721 <bp-sym.h> and <bp-asm.h>.
6722 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6723 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6724 <bp-asm.h>.
6725 (__mpn_lshift): Don't use BP_SYM.
6726 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6727 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6728 <bp-asm.h>.
6729 (memset): Don't use BP_SYM.
6730 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6731 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6732 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6733 <bp-asm.h>.
6734 (__mpn_mul_1): Don't use BP_SYM.
6735 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6736 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6737 <bp-sym.h> and <bp-asm.h>.
6738 (memcmp): Don't use BP_SYM.
6739 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6740 <bp-sym.h> and <bp-asm.h>.
6741 (memcpy): Don't use BP_SYM.
6742 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6743 <bp-sym.h> and <bp-asm.h>.
6744 (memset): Don't use BP_SYM.
6745 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6746 <bp-sym.h> and <bp-asm.h>.
6747 (strncmp): Don't use BP_SYM.
6748 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6749 <bp-sym.h> and <bp-asm.h>.
6750 (memcpy): Don't use BP_SYM.
6751 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6752 <bp-sym.h> and <bp-asm.h>.
6753 (memset): Don't use BP_SYM.
6754 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6755 <bp-sym.h> and <bp-asm.h>.
6756 (__memchr): Don't use BP_SYM.
6757 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6758 <bp-sym.h> and <bp-asm.h>.
6759 (memcmp): Don't use BP_SYM.
6760 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6761 <bp-sym.h> and <bp-asm.h>.
6762 (memcpy): Don't use BP_SYM.
6763 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6764 <bp-sym.h> and <bp-asm.h>.
6765 (__mempcpy): Don't use BP_SYM.
6766 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6767 <bp-sym.h> and <bp-asm.h>.
6768 (__memrchr): Don't use BP_SYM.
6769 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6770 <bp-sym.h> and <bp-asm.h>.
6771 (memset): Don't use BP_SYM.
6772 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6773 <bp-sym.h> and <bp-asm.h>.
6774 (__rawmemchr): Don't use BP_SYM.
6775 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6776 <bp-sym.h> and <bp-asm.h>.
6777 (__STRCMP): Don't use BP_SYM.
6778 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6779 <bp-sym.h> and <bp-asm.h>.
6780 (strchr): Don't use BP_SYM.
6781 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6782 <bp-sym.h> and <bp-asm.h>.
6783 (__strchrnul): Don't use BP_SYM.
6784 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6785 <bp-sym.h> and <bp-asm.h>.
6786 (strlen): Don't use BP_SYM.
6787 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6788 <bp-sym.h> and <bp-asm.h>.
6789 (strncmp): Don't use BP_SYM.
6790 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6791 <bp-sym.h> and <bp-asm.h>.
6792 (__strnlen): Don't use BP_SYM.
6793 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6794 <bp-asm.h>.
6795 (__mpn_rshift): Don't use BP_SYM.
6796 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6797 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6798 <bp-sym.h> and <bp-asm.h>.
6799 (__sigsetjmp): Don't use BP_SYM.
6800 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6801 (L(start_addresses)): Don't use BP_SYM.
6802 (_start): Likewise.
6803 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6804 <bp-asm.h>.
6805 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6806 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6807 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6808 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6809 <bp-asm.h>.
6810 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6811 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6812 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6813 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6814 <bp-asm.h>.
6815 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6816 comments.
6817 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6818 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6819 <bp-asm.h>.
6820 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6821 FIXME comments.
6822 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6823 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6824 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6825 <bp-asm.h>.
6826 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6827 comment.
6828 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6829 and <bp-asm.h>.
6830 (strncmp): Don't use BP_SYM,
6831 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6832 <bp-asm.h>.
6833 (__mpn_sub_n): Don't use BP_SYM.
6834 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6835 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6836 and <bp-asm.h>.
6837 (__mpn_submul_1): Don't use BP_SYM.
6838 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6840 <bp-sym.h> and <bp-asm.h>.
6841 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6843 <bp-sym.h> and <bp-asm.h>.
6844 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6845 comment.
6846
8d19fe64
SP
68472013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6848
6849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6850 Use ZK to minimize writes to Z.
6851 (sub_magnitudes): Simplify code a bit.
6852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6853 Use ZK to minimize writes to Z.
6854 (sub_magnitudes): Simplify code a bit.
6855
85bd816a
RM
68562013-02-27 Roland McGrath <roland@hack.frob.com>
6857
6858 * csu/gmon-start.c: Add special exception to license text.
6859
b5977bf2
RH
68602013-02-27 Richard Henderson <rth@redhat.com>
6861
6862 * scripts/config.guess: Update from config.git.
6863 * scripts/config.sub: Likewise.
6864
11d6e2f2
SP
68652013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6866
09c14ed2
SP
6867 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6868
a688864e
SP
6869 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6870
6295157a
SP
6871 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6872
b8de2202
SP
6873 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6874
11d6e2f2
SP
6875 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6876
7e80ddb8
RM
68772013-02-26 Roland McGrath <roland@hack.frob.com>
6878
6879 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6880 [$(build-shared = yes].
7e80ddb8 6881
7da6d9ed
SP
68822013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6883
45f05884
SP
6884 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6885 (__mul): Reduce iterations for calculating mantissa.
6886
2236d359
SP
6887 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6888 MPTWO.
6889 (__mpranred): Likewise.
6890
7da6d9ed
SP
6891 [BZ #15160]
6892 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6893 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6894
b7688c42
PE
68952013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6896
6897 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6898 Define __attribute__.
6899
53a5c423
SP
69002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6901
6902 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6903 unused.
6904 * posix/regex_internal.h (__attribute): Remove.
6905 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6906 (re_string_context_at): Likewise.
6907 (bitset_not): Use __attribute__ and mark function as possibly
6908 unused.
6909 (bitset_merge): Likewise.
6910 (bitset_mask): Likewise.
6911 (re_string_char_size_at): Likewise.
6912 (re_string_wchar_at): Likewise.
6913 (re_string_elem_size_at): Likewise.
6914
60f5a8b5
SP
69152013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6916
2a983a2e
SP
6917 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6918 code.
6919 (cc32): Likewise.
6920
e69804d1
SP
6921 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6922 (__acr): Likewise.
6923 (__cpy): Likewise.
6924 (norm): Likewise.
6925 (denorm): Likewise.
6926 (__dbl_mp): Likewise.
6927 (add_magnitudes): Likewise.
6928 (sub_magnitudes): Likewise.
6929 (__mul): Likewise.
6930 (__inv): Likewise.
6931
2f22a1e8
SP
6932 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6933 style.
6934
8930ddc7
SP
6935 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6936 style.
6937
dc60cb11
SP
6938 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6939 code.
6940
60f5a8b5
SP
6941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6942 up changes with default code.
6943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6944 Likewise.
6945
b4d1fd33
AM
69462013-02-24 Allan McRae <allan@archlinux.org>
6947
faf6f8bc
AM
6948 * manual/socket.texi (The Internet Namespace): Order menu items
6949 to match that in the file.
6950
b4d1fd33
AM
6951 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6952 node listing of the info page menu.
6953
2366713d
JM
69542013-02-21 Joseph Myers <joseph@codesourcery.com>
6955
6956 [BZ #13550]
6957 * sysdeps/i386/bp-asm.h: Remove file.
6958 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6959 (PARMS): Do not use macros from bp-asm.h.
6960 (S1): Likewise.
6961 (S2): Likewise.
6962 (SIZE): Likewise.
6963 (__mpn_add_n): Do not use BP_SYM
6964 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6965 "bp-asm.h".
6966 (PARMS): Do not use macros from bp-asm.h.
6967 (S1): Likewise.
6968 (SIZE): Likewise.
6969 (__mpn_addmul_1): Do not use BP_SYM
6970 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6971 "bp-asm.h".
6972 (PARMS): Do not use macros from bp-asm.h.
6973 (SIGMSK): Likewise.
6974 (_setjmp): Likewise. Do not use BP_SYM.
6975 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6976 "bp-asm.h".
6977 (PARMS): Do not use macros from bp-asm.h.
6978 (SIGMSK): Likewise.
6979 (setjmp): Likewise. Do not use BP_SYM.
6980 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6981 "bp-asm.h".
6982 (PARMS): Do not use macros from bp-asm.h.
6983 (__frexp): Do not use BP_SYM.
6984 (frexp): Likewise.
6985 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6986 "bp-asm.h".
6987 (PARMS): Do not use macros from bp-asm.h.
6988 (__frexpf): Do not use BP_SYM.
6989 (frexpf): Likewise.
6990 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6991 "bp-asm.h".
6992 (PARMS): Do not use macros from bp-asm.h.
6993 (__frexpl): Do not use BP_SYM.
6994 (frexpl): Likewise.
6995 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6996 "bp-asm.h".
6997 (PARMS): Do not use macros from bp-asm.h.
6998 (__remquo): Do not use BP_SYM.
6999 (remquo): Likewise.
7000 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7001 "bp-asm.h".
7002 (PARMS): Do not use macros from bp-asm.h.
7003 (__remquof): Do not use BP_SYM.
7004 (remquof): Likewise.
7005 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7006 "bp-asm.h".
7007 (PARMS): Do not use macros from bp-asm.h.
7008 (__remquol): Do not use BP_SYM.
7009 (remquol): Likewise.
7010 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7011 "bp-asm.h".
7012 (PARMS): Do not use macros from bp-asm.h.
7013 (DEST): Likewise.
7014 (SRC): Likewise.
7015 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7016 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7017 "bp-asm.h".
7018 (PARMS): Do not use macros from bp-asm.h.
7019 (strlen): Do not use BP_SYM.
7020 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7021 "bp-asm.h".
7022 (PARMS): Do not use macros from bp-asm.h.
7023 (S1): Likewise.
7024 (S2): Likewise.
7025 (SIZE): Likewise.
7026 (__mpn_add_n): Do not use BP_SYM.
7027 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7028 "bp-asm.h".
7029 (PARMS): Do not use macros from bp-asm.h.
7030 (S1): Likewise.
7031 (SIZE): Likewise.
7032 (__mpn_addmul_1): Do not use BP_SYM.
7033 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7034 weak_alias.
7035 (bzero): Likewise.
7036 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7037 "bp-asm.h".
7038 (PARMS): Do not use macros from bp-asm.h.
7039 (S): Likewise.
7040 (SIZE): Likewise.
7041 (__mpn_lshift): Do not use BP_SYM.
7042 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7043 "bp-asm.h".
7044 (PARMS): Do not use macros from bp-asm.h.
7045 (DEST): Likewise.
7046 (SRC): Likewise.
7047 (LEN): Likewise.
7048 (memcpy): Likewise. Do not use BP_SYM.
7049 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7050 libc_hidden_def and weak_alias.
7051 (mempcpy): Do not use BP_SYM in weak_alias.
7052 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7053 "bp-asm.h".
7054 (PARMS): Do not use macros from bp-asm.h.
7055 (DEST): Likewise.
7056 (LEN): Likewise.
7057 [!BZERO_P] (CHR): Likewise.
7058 (memset): Likewise. Do not use BP_SYM.
7059 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7060 "bp-asm.h".
7061 (PARMS): Do not use macros from bp-asm.h.
7062 (S1): Likewise.
7063 (SIZE): Likewise.
7064 (__mpn_mul_1): Do not use BP_SYM.
7065 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7066 "bp-asm.h".
7067 (PARMS): Do not use macros from bp-asm.h.
7068 (S): Likewise.
7069 (SIZE): Likewise.
7070 (__mpn_rshift): Do not use BP_SYM.
7071 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7072 "bp-asm.h".
7073 (PARMS): Do not use macros from bp-asm.h.
7074 (STR): Likewise.
7075 (CHR): Likewise.
7076 (strchr): Likewise. Do not use BP_SYM.
7077 (index): Do not use BP_SYM in weak_alias.
7078 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7079 "bp-asm.h".
7080 (PARMS): Do not use macros from bp-asm.h.
7081 (DEST): Likewise.
7082 (SRC): Likewise.
7083 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7084 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7085 "bp-asm.h".
7086 (PARMS): Do not use macros from bp-asm.h.
7087 (strlen): Do not use BP_SYM.
7088 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7089 "bp-asm.h".
7090 (PARMS): Do not use macros from bp-asm.h.
7091 (S1): Likewise.
7092 (S2): Likewise.
7093 (SIZE): Likewise.
7094 (__mpn_sub_n): Do not use BP_SYM.
7095 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7096 "bp-asm.h".
7097 (PARMS): Do not use macros from bp-asm.h.
7098 (S1): Likewise.
7099 (SIZE): Likewise.
7100 (__mpn_submul_1): Do not use BP_SYM.
7101 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7102 "bp-asm.h".
7103 (PARMS): Do not use macros from bp-asm.h.
7104 (S1): Likewise.
7105 (S2): Likewise.
7106 (SIZE): Likewise.
7107 (__mpn_add_n): Do not use BP_SYM.
7108 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7109 weak_alias.
7110 (bzero): Likewise.
7111 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7112 "bp-asm.h".
7113 (PARMS): Do not use macros from bp-asm.h.
7114 (BLK2): Likewise.
7115 (LEN): Likewise.
7116 (memcmp): Do not use BP_SYM.
7117 (bcmp): Do not use BP_SYM in weak_alias.
7118 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7119 "bp-asm.h".
7120 (PARMS): Do not use macros from bp-asm.h.
7121 (DEST): Likewise.
7122 (SRC): Likewise.
7123 (LEN): Likewise.
7124 (memcpy): Likewise. Do not use BP_SYM.
7125 * sysdeps/i386/i686/memmove.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 (SRC): Likewise.
7130 (LEN): Likewise.
7131 (memmove): Likewise. Do not use BP_SYM.
7132 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7133 "bp-asm.h".
7134 (PARMS): Do not use macros from bp-asm.h.
7135 (DEST): Likewise.
7136 (SRC): Likewise.
7137 (LEN): Likewise.
7138 (__mempcpy): Likewise. Do not use BP_SYM.
7139 (mempcpy): Do not use BP_SYM in weak_alias.
7140 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7141 "bp-asm.h".
7142 (PARMS): Do not use macros from bp-asm.h.
7143 (DEST): Likewise.
7144 (LEN): Likewise.
7145 [!BZERO_P] (CHR): Likewise.
7146 (memset): Likewise. Do not use BP_SYM.
7147 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7148 "bp-asm.h".
7149 (PARMS): Do not use macros from bp-asm.h.
7150 (STR2): Likewise.
7151 (strcmp): Do not use BP_SYM.
7152 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7153 "bp-asm.h".
7154 (PARMS): Do not use macros from bp-asm.h.
7155 (STR): Likewise.
7156 (DELIM): Likewise.
7157 [USE_AS_STRTOK_R] (SAVE): Likewise.
7158 (FUNCTION): Likewise. Do not use BP_SYM.
7159 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7160 aliases.
7161 (strtok_r): Likewise.
7162 (__GI___strtok_r): Likewise.
7163 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7164 (PARMS): Do not use macros from bp-asm.h.
7165 (S): Likewise.
7166 (SIZE): Likewise.
7167 (__mpn_lshift): Do not use BP_SYM.
7168 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7169 (PARMS): Do not use macros from bp-asm.h.
7170 (STR): Likewise.
7171 (CHR): Likewise.
7172 (__memchr): Do not use BP_SYM.
7173 (memchr): Do not use BP_SYM in weak_alias.
7174 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7175 (PARMS): Do not use macros from bp-asm.h.
7176 (BLK2): Likewise.
7177 (LEN): Likewise.
7178 (memcmp): Do not use BP_SYM.
7179 (bcmp): Do not use BP_SYM in weak_alias.
7180 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7181 (PARMS): Do not use macros from bp-asm.h.
7182 (S1): Likewise.
7183 (SIZE): Likewise.
7184 (__mpn_mul_1): Do not use BP_SYM.
7185 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7186 "bp-asm.h".
7187 (PARMS): Do not use macros from bp-asm.h.
7188 (STR): Likewise.
7189 (CHR): Likewise.
7190 (__rawmemchr): Do not use BP_SYM.
7191 (rawmemchr): Do not use BP_SYM in weak_alias.
7192 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7193 (PARMS): Do not use macros from bp-asm.h.
7194 (S): Likewise.
7195 (SIZE): Likewise.
7196 (__mpn_rshift): Do not use BP_SYM.
7197 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7198 (PARMS): Do not use macros from bp-asm.h.
7199 (SIGMSK): Likewise.
7200 (__sigsetjmp): Likewise. Do not use BP_SYM.
7201 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7202 (_start): Do not use BP_SYM.
7203 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7204 (PARMS): Do not use macros from bp-asm.h.
7205 (DEST): Likewise.
7206 (SRC): Likewise.
7207 (__stpcpy): Likewise. Do not use BP_SYM.
7208 (stpcpy): Do not use BP_SYM in weak_alias.
7209 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7210 "bp-asm.h".
7211 (PARMS): Do not use macros from bp-asm.h.
7212 (DEST): Likewise.
7213 (SRC): Likewise.
7214 (LEN): Likewise.
7215 (__stpncpy): Likewise. Do not use BP_SYM.
7216 (stpncpy): Do not use BP_SYM in weak_alias.
7217 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7218 (PARMS): Do not use macros from bp-asm.h.
7219 (STR): Likewise.
7220 (CHR): Likewise.
7221 (strchr): Likewise. Do not use BP_SYM.
7222 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7223 "bp-asm.h".
7224 (PARMS): Do not use macros from bp-asm.h.
7225 (STR): Likewise.
7226 (CHR): Likewise.
7227 (__strchrnul): Likewise. Do not use BP_SYM.
7228 (strchrnul): Do not use BP_SYM in weak_alias.
7229 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7230 "bp-asm.h".
7231 (PARMS): Do not use macros from bp-asm.h.
7232 (STOP): Likewise.
7233 (strcspn): Do not use BP_SYM.
7234 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7235 "bp-asm.h".
7236 (PARMS): Do not use macros from bp-asm.h.
7237 (STR): Likewise.
7238 (STOP): Likewise.
7239 (strpbrk): Likewise. Do not use BP_SYM.
7240 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7241 "bp-asm.h".
7242 (PARMS): Do not use macros from bp-asm.h.
7243 (STR): Likewise.
7244 (CHR): Likewise.
7245 (strrchr): Likewise. Do not use BP_SYM.
7246 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7247 (PARMS): Do not use macros from bp-asm.h.
7248 (SKIP): Likewise.
7249 (strspn): Do not use BP_SYM.
7250 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7251 (PARMS): Do not use macros from bp-asm.h.
7252 (STR): Likewise.
7253 (DELIM): Likewise.
7254 (SAVE): Likewise.
7255 (FUNCTION): Likewise. Do not use BP_SYM.
7256 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7257 aliases.
7258 (strtok_r): Likewise.
7259 (__GI___strtok_r): Likewise.
7260 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7261 (PARMS): Do not use macros from bp-asm.h.
7262 (S1): Likewise.
7263 (S2): Likewise.
7264 (SIZE): Likewise.
7265 (__mpn_sub_n): Do not use BP_SYM.
7266 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7267 "bp-asm.h".
7268 (PARMS): Do not use macros from bp-asm.h.
7269 (S1): Likewise.
7270 (SIZE): Likewise.
7271 (__mpn_submul_1): Do not use BP_SYM.
7272 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7273 <bp-sym.h>.
7274 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7275 and <bp-asm.h>.
7276 (PARMS): Do not use macros from bp-asm.h.
7277 (FLAGS): Likewise.
7278 (PTID): Likewise.
7279 (TLS): Likewise.
7280 (CTID): Likewise.
7281 (__clone): Do not use BP_SYM.
7282 (clone): Do not use BP_SYM in weak_alias.
7283 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7284 and <bp-asm.h>.
7285 (PARMS): Do not use macros from bp-asm.h.
7286 (LEN): Likewise.
7287 (__mmap64): Do not use BP_SYM.
7288 (mmap64): Do not use BP_SYM in weak_alias.
7289 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7290 <bp-sym.h> and <bp-asm.h>.
7291 (PARMS): Do not use macros from bp-asm.h.
7292 (__posix_fadvise64_l64): Do not use BP_SYM.
7293 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7294 (PARMS): Do not use macros from bp-asm.h.
7295 (NSOPS): Likewise.
7296 (semtimedop): Do not use BP_SYM.
7297 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7298 and <bp-asm.h>.
7299
582a3cff
AM
73002013-02-21 Allan McRae <allan@archlinux.org>
7301
7302 * manual/message.texi (Charset conversion in gettext):
7303 Move @end statement to beginning of line.
7304
bab8a695
SP
73052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7306
80945231
SP
7307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7308 static.
7309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7310 Likewise.
7311
bab8a695
SP
7312 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7313 (denorm): Likewise.
7314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7316
e21d7aa7
AK
73172013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7318
7319 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7320 tail-call to the resolved function if pltexit isn't needed.
7321
4c7a4263
SP
73222013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7323
7324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7325 or Y being zero as being unlikely.
7326 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7327 Likewise.
7328
41f49342
CD
73292013-02-20 Carlos O'Donell <carlos@redhat.com>
7330
7331 * manual/nss.texi (System Databases and Name Service Switch):
7332 Remove frobnicate @pxref.
7333
50022a93
TS
73342013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7335
7336 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7337 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7338
08cbd996
PM
73392013-02-20 Petr Machata <pmachata@redhat.com>
7340
7341 * elf/elf.h (R_ARM_TARGET1): New macro.
7342 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7343 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7344 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7345 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7346 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7347 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7348 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7349 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7350 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7351 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7352 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7353 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7354 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7355 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7356 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7357 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7358 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7359 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7360 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7361 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7362 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7363 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7364 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7365 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7366 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7367 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7368 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7369 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7370 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7371 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7372 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7373 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7374 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7375 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7376 (R_ARM_THM_GOT_BREL12): Likewise.
7377 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7378 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7379 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7380 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7381 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7382 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7383 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7384 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7385 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7386
c7b275d6
TS
73872013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7388
7389 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7390 __attribute_used__ to __attribute__ ((unused)).
7391
20cd7fb3
SP
73922013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7393
7394 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7395 powerpc mpa.c.
7396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7397 comment formatting.
7398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7399
92945b52
JM
74002013-02-19 Joseph Myers <joseph@codesourcery.com>
7401
7402 [BZ #13550]
7403 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7404 Remove macro.
7405 (ENTER): Remove both macro definitions.
7406 (LEAVE): Likewise.
7407 (CHECK_BOUNDS_LOW): Likewise.
7408 (CHECK_BOUNDS_HIGH): Likewise.
7409 (CHECK_BOUNDS_BOTH): Likewise.
7410 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7411 (RETURN_BOUNDED_POINTER): Likewise.
7412 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7413 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7414 (POP_ERRNO_LOCATION_RETURN): Likewise.
7415 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7416 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7417 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7418 macros.
7419 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7420 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7421 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7422 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7423 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7424 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7425 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7426 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7427 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7428 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7429 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7430 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7431 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7432 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7433 removed macros.
7434 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7435 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7436 macros.
7437 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7438 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7439 * sysdeps/i386/i586/memset.S (memset): Likewise.
7440 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7441 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7442 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7443 macros.
7444 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7445 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7446 Change uses of L(2) to L(out).
7447 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7448 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7449 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7450 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7451 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7452 removed macros.
7453 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7454 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7455 macros.
7456 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7457 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7458 (RETURN): Do not use macro LEAVE.
7459 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7460 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7461 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7462 * sysdeps/i386/i686/memset.S (memset): Likewise.
7463 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7464 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7465 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7466 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7467 Likewise.
7468 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7469 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7470 L(1_2) and L(1_3) into L(1).
7471 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7472 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7473 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7474 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7475 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7476 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7477 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7478 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7479 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7480 macros.
7481 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7482 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7483 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7484 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7485 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7486 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7487 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7488 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7489 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7490 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7491 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7492 * sysdeps/i386/strspn.S (strspn): Likewise.
7493 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7494 conditional code.
7495 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7496 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7497 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7498 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7499 L(1_3) into L(1_1).
7500 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7501 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7502 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7503 macros.
7504 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7505
2389741a
JJ
75062013-02-19 Jakub Jelinek <jakub@redhat.com>
7507
7508 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7509 macro.
7510
2016b3cd
SP
75112013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7512
e4f22324
SP
7513 * math/atest-exp.c (exp_mpn): Remove ROUND.
7514 * math/atest-exp2.c (exp_mpn): Likewise.
7515 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7516
2016b3cd
SP
7517 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7518 * stdlib/tst-tls-atexit-lib.c: Likewise.
7519 * stdlib/tst-tls-atexit.c: Likewise.
7520
4be9b544
MF
75212013-02-18 Mike Frysinger <vapier@gentoo.org>
7522
7523 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7524 and __attribute_alloc_size__.
7525
2f62b9ee
MF
75262013-02-18 Mike Frysinger <vapier@gentoo.org>
7527
7528 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7529 __attribute_alloc_size__.
7530 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7531 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7532
6ff444c4
MF
75332013-02-18 Mike Frysinger <vapier@gentoo.org>
7534
7535 * include/programs/xmalloc.h: New file.
7536 * catgets/gencat.c: Include it.
7537 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7538 * elf/pldd.c: Likewise.
7539 * iconv/iconv_charmap.c: Likewise.
7540 * iconv/iconvconfig.c: Likewise.
7541 * iconv/strtab.c: Likewise.
7542 * locale/programs/locale.c: Likewise.
7543 * locale/programs/localedef.h: Likewise.
7544 * locale/programs/simple-hash.c: Likewise.
7545 * nscd/nscd.h: Likewise.
7546 * nss/makedb.c: Likewise.
7547 * sysdeps/generic/ldconfig.h: Likewise.
7548
be179c8a
SP
75492013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7550
ba384f6e
SP
7551 * Versions.def: Add GLIBC_2.18.
7552 * include/link.h (struct link_map): New member l_tls_dtor_count.
7553 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7554 (__call_tls_dtors): Likewise.
7555 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7556 __cxa_thread_atexit_impl.
7557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7558 Likewise.
7559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7560 Likewise.
7561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7562 Likewise.
7563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7564 Likewise.
7565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7567 Likewise.
7568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7569 Likewise.
7570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7572 Likewise.
7573 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7574 (tests): Add test case tst-tls-atexit.
7575 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7576 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7577 (GLIBC_PRIVATE): Add __call_tls_dtors.
7578 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7579 for libstdc++.
7580 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7581 * stdlib/tst-tls-atexit.c: New test case.
7582 * stdlib/tst-tls-atexit-lib.c: New test case.
7583
ffaa74cf 7584 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7585
be179c8a
SP
7586 * elf/Versions (ld): Add _dl_find_dso_for_object.
7587 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7588 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7589 (dl_open_worker): Use _dl_find_dso_for_object.
7590 * elf/dl-sym.c (do_sym): Likewise.
7591 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7592
f78b5caa
AK
75932013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7594
7595 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7596 Syntactic changes only.
7597 (_dl_runtime_profile): Do a tail-call to the resolved function.
7598
29691210
JM
75992013-02-17 Joseph Myers <joseph@codesourcery.com>
7600
7601 [BZ #13550]
7602 * sysdeps/x86_64/bp-asm.h: Remove file.
7603 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7604 <bp-sym.h> and <bp-asm.h>.
7605 (__clone): Do not use BP_SYM.
7606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7607 <bp-sym.h> and <bp-asm.h>.
7608 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7609 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7610 "bp-asm.h".
7611 (_setjmp): Do not use BP_SYM.
7612 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7613 "bp-asm.h".
7614 (setjmp): Do not use BP_SYM.
7615 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7616 libc_hidden_def.
7617 (mempcpy): Do not use BP_SYM in weak_alias.
7618 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7619 "bp-asm.h".
7620 (strchr): Do not use BP_SYM.
7621 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7622 "bp-asm.h".
7623 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7624 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7625 (_start): Do not use BP_SYM.
7626 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7627 "bp-asm.h".
7628 (strcat): Do not use BP_SYM.
7629 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7630 "bp-asm.h".
7631 (STRCMP): Do not use BP_SYM.
7632 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7633 "bp-asm.h".
7634 (STRCPY): Do not use BP_SYM.
7635 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7636 "bp-asm.h".
7637 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7638 "bp-asm.h".
7639 (FUNCTION): Do not use BP_SYM.
7640 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7641 weak_alias.
7642 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7643
f238fd19
AJ
76442013-02-17 Andreas Jaeger <aj@suse.de>
7645
7646 * time/Versions: Sort entries.
7647 * string/Versions: Likewise.
7648 * resolv/Versions: Likewise.
7649 * posix/Versions: Likewise.
7650 * iconv/Versions: Likewise.
7651 * elf/Versions: Likewise.
7652 * wcsmbs/Versions: Likewise.
7653
bd07f23c 76542013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7655
22af19f9
SP
7656 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7657 loop termination condition.
7658
4709fe76
SP
7659 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7660 variable to calculate EZ.
7661 (__sqr): Likewise.
2d0e0f29
SP
7662
7663 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7664 the lower precision input.
7665
daaa7713
JM
76662013-02-15 Joseph Myers <joseph@codesourcery.com>
7667
7668 [BZ #13550]
7669 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7670 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7671 (run-via-rtld-prefix): Do not handle %-bp tests.
7672 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7673 (all-object-suffixes): Remove .ob.
7674 (bppfx): Remove variable.
7675 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7676 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7677 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7678 [$(build-bounded) = yes] (libtype.ob): Likewise.
7679 * Makerules (elide-routines.ob): Remove variable.
7680 (do-tests-clean): Do not handle *-bp.out.
7681 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7682 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7683 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7684 (tests): Do not include $(tests-bp.out).
7685 (xtests): Do not include $(xtests-bp.out).
7686 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7687 [$(build-bounded) = yes] ($(addprefix
7688 $(objpfx),$(binaries-bounded))): Remove rule.
7689 ($(objpfx)%-bp.out): Remove rule.
7690 * config.make.in (build-bounded): Remove variable.
7691 * crypt/Makefile [$(build-bounded) = yes]
7692 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7693 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7694 append to variable.
7695 [$(build-bounded) = yes] (install-lib): Likewise.
7696 [$(build-bounded) = yes] (generated): Likewise.
7697 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7698 Remove rule.
7699 * intl/Makefile [$(build-bounded) = yes]
7700 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7701 * math/Makefile [$(build-bounded) = yes]
7702 ($(tests:%=$(objpfx)%-bp): Likewise.
7703 * misc/Makefile [$(build-bounded) = yes]
7704 ($(objpfx)tst-tsearch-bp): Likewise.
7705 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7706 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7707 Remove dependency.
7708 * string/Makefile (o-objects.ob): Remove variable.
7709 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7710 (CFLAGS-.ob): Remove variable.
7711 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7712 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7713 both definitions of variable.
7714 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7715 (ASFLAGS-.ob): Remove variable.
7716
e97ed6dd
JM
77172013-02-14 Joseph Myers <joseph@codesourcery.com>
7718
2bdd4ca6
JM
7719 [BZ #13550]
7720 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7721 Remove __BOUNDED_POINTERS__ from condition.
7722 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7723 * string/bits/string2.h [!__NO_STRING_INLINES &&
7724 !__BOUNDED_POINTERS__]: Likewise.
7725 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7726 Likewise.
7727 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7728 Remove conditional code.
7729 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7730 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7731 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7732 condition.
7733
e97ed6dd
JM
7734 [BZ #13550]
7735 * csu/libc-start.c: Do not include <bp-sym.h>.
7736 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7737 * elf/dl-open.c: Do not include <bp-sym.h>.
7738 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7739 * math/fegetenv.c: Do not include <bp-sym.h>.
7740 (fegetenv): Do not use BP_SYM in versioned symbols.
7741 * nptl/sysdeps/pthread/bits/libc-lockP.h
7742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7743 <bp-sym.h>.
7744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7745 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7747 (__pthread_mutex_destroy): Likewise.
7748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7749 (__pthread_mutex_lock): Likewise.
7750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7751 (__pthread_mutex_trylock): Likewise.
7752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7753 (__pthread_mutex_unlock): Likewise.
7754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7755 (__pthread_mutexattr_init): Likewise.
7756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7757 (__pthread_mutexattr_destroy): Likewise.
7758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7759 (__pthread_mutexattr_settype): Likewise.
7760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7761 (__pthread_rwlock_init): Likewise.
7762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7763 (__pthread_rwlock_destroy): Likewise.
7764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7765 (__pthread_rwlock_rdlock): Likewise.
7766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7767 (__pthread_rwlock_tryrdlock): Likewise.
7768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7769 (__pthread_rwlock_wrlock): Likewise.
7770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7771 (__pthread_rwlock_trywrlock): Likewise.
7772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7773 (__pthread_rwlock_unlock): Likewise.
7774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7775 (__pthread_key_create): Likewise.
7776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7777 (__pthread_setspecific): Likewise.
7778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7779 (__pthread_getspecific): Likewise.
7780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7781 Likewise.
7782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7783 (_pthread_cleanup_push_defer): Likewise.
7784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7785 (_pthread_cleanup_pop_restore): Likewise.
7786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7787 (pthread_setcancelstate): Likewise.
7788 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7789 <bp-sym.h>.
7790 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7791 (memchr): Do not use BP_SYM in weak_alias.
7792 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7793 (fegetenv): Do not use BP_SYM in versioned symbols.
7794 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7795 (fesetenv): Do not use BP_SYM in versioned symbols.
7796 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7797 (feupdateenv): Do not use BP_SYM in versioned symbols.
7798 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7799 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7800 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7801 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7802 (open64): Do not use BP_SYM in weak_alias.
7803 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7804 (fegetenv): Do not use BP_SYM in versioned symbols.
7805 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7806 (fesetenv): Do not use BP_SYM in versioned symbols.
7807 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7808 (feupdateenv): Do not use BP_SYM in versioned symbols.
7809 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7810 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7811 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7812 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7813 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7814 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7815 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7816 <bp-sym.h>.
7817 (__libc_start_main): Do not use BP_SYM.
7818
d6752ccd
SP
78192013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7820
cb57ce60
SP
7821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7822 redundant return line.
7823 (norm): Likewise.
7824 (denorm): Likewise.
7825 (dbl_mp): Likewise.
7826 (sub_magnitudes): Likewise.
7827 (__add): Likewise.
7828 (__sub): Likewise.
7829 (__mul): Likewise.
7830 (__inv): Likewise.
7831 (__dvd): Likewise.
7832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7833 (norm): Likewise.
7834 (denorm): Likewise.
7835 (dbl_mp): Likewise.
7836 (sub_magnitudes): Likewise.
7837 (__add): Likewise.
7838 (__sub): Likewise.
7839 (__mul): Likewise.
7840 (__inv): Likewise.
7841 (__dvd): Likewise.
7842
f414520d
SP
7843 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7844 instead of __mul.
7845 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7846 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7847 (cc32): Likewise.
7848
d6752ccd
SP
7849 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7850 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7851 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7852 of __mul for squares.
7853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7854 function
7855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7856 Likewise.
7857 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7858 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7859
70d9946a
JM
78602013-02-13 Joseph Myers <joseph@codesourcery.com>
7861
7862 [BZ #13550]
7863 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7864 code.
7865 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7866 prototype or function definition. Rename ubp_* variables and
7867 parameters. Remove argv definitions conditional on
7868 [__BOUNDED_POINTERS__].
7869 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7870 * elf/dl-runtime.c (_dl_fixup): Likewise.
7871 * include/set-hooks.h (RUN_HOOK): Likewise.
7872 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7873 definition.
7874 * string/strcpy.c (strcpy): Do not use __unbounded.
7875 * sysdeps/generic/frame.h (struct layout): Likewise.
7876 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7877 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7878 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7879 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7880 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7881 (__backtrace): Likewise.
7882 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7883 use __ptrvalue.
7884 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7885 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7886 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7887 Likewise.
7888 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7889 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7890 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7891 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7892 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7893 Do not use __unbounded.
7894 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7895 Rename __unboundedrlimits parameter to rlimits in prototype.
7896 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7897 Do not use __unbounded.
7898 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7899 not use __ptrvalue.
7900 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7901 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7902 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7903 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7904 __ptrvalue or __unbounded.
7905 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7906 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7907 use __unbounded.
7908 (__new_msgctl): Do not use __ptrvalue.
7909 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7910 __unbounded.
7911 (__libc_msgrcv): Do not use __ptrvalue.
7912 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7913 startup_info): Do not use __unbounded.
7914 (__libc_start_main): Likewise. Rename ubp_* variables and
7915 parameters. Remove argv definitions conditional on
7916 [__BOUNDED_POINTERS__].
7917 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7918 __ptrvalue.
7919 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7920 use __unbounded.
7921 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7922 or __ptrvalue.
7923 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7924 use __unbounded.
7925 (__new_shmctl): Do not use __ptrvalue.
7926 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7927 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7928 Likewise.
7929 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7930 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7931 (__libc_sigaction): Likewise.
7932 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7933 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7934 Likewise.
7935 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7936
cc7834d6
OB
79372013-02-13 Ondřej Bílka <neleai@seznam.cz>
7938
ffb1ec7b 7939 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7940
7941 * string/mempcpy.c: Implement by calling memcpy.
7942
bdf02814
SP
79432013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7944
c2af38aa
SP
7945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7946
4e92d59e
SP
7947 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7948 evaluation.
7949
909279a5
SP
7950 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7951 values in the mantissa.
7952
bdf02814
SP
7953 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7954 minimize writes to Z.
7955 (sub_magnitudes): Simplify code a bit.
7956
cd525923
RM
79572013-02-12 Roland McGrath <roland@hack.frob.com>
7958
7959 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7960 from the message. The linker prefixes all warnings with that already.
7961
7e2f0d2d
AS
79622013-02-12 Andreas Schwab <schwab@suse.de>
7963
a445af0b
AS
7964 [BZ #15078]
7965 * posix/regexec.c (extend_buffers): Add parameter min_len.
7966 (check_matching): Pass minimum needed length.
7967 (clean_state_log_if_needed): Likewise.
7968 (get_subexp): Likewise.
7969 * posix/Makefile (tests): Add bug-regex34.
7970 (bug-regex34-ENV): Define.
7971 * posix/bug-regex34.c: New file.
7972
7e2f0d2d
AS
7973 [BZ #11561]
7974 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7975 elements compare against the byte sequence of it, not its name.
7976 * posix/Makefile (tests): Add bug-regex35.
7977 (bug-regex35-ENV): Define.
7978 * posix/bug-regex35.c: New file.
7979
a175b684
TV
79802013-02-11 Tom de Vries <tom@codesourcery.com>
7981
7982 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7983 comment.
7984 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7985 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7986 (CHECK_EOL): Add undef.
7987
310998fe 79882013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7989
7990 * bits/stdlib-bsearch.h: New file.
7991 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7992 * stdlib/stdlib.h: Likewise.
41eda41d 7993
8ded91fb
RM
79942013-02-11 Roland McGrath <roland@hack.frob.com>
7995
7996 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7997 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7998 declaration.
7999 * manual/search.texi (Array Search Function): Add missing const in
8000 lfind prototype.
8001 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8002 declaration to use rlim_t.
8003 (Basic Scheduling Functions): Remove erroneous const from
8004 sched_getparam prototype. Remove erroneous * from
8005 sched_get_priority_max and sched_get_priority_min prototypes.
8006 (Resource Usage): Fix summary @comment on vtimes to refer to
8007 sys/vtimes.h rather than vtimes.h.
8008 Add missing *s in vtimes prototype.
8009 (Limits on Resources): Fix ulimit prototype to return long int.
8010 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8011 prototypes to use long int rather than double.
8012 (BSD Random): Fix initstate and setstate to use char *, not void *.
8013 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8014 prototype to make second argument 'struct aiocb64 *const[]'.
8015 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8016 (Status of AIO Operations): Remove erroneous const in aio_return and
8017 aio_return64 prototypes.
8018 (Synchronizing I/O): Fix sync prototype to return void.
8019 * manual/startup.texi (Suboptions): Remove an erroneous const in
8020 getsubopt prototype.
8021 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8022 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8023 use size_t rather than int.
8024 (Scanning All Users): Likewise for getpwent_r.
8025 (Setting Groups): Add missing const to setgroups prototype.
8026 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8027 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8028 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8029 'const void *' rather than 'const char *'.
8030 (Host Address Functions): Likewise for inet_ntop.
8031 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8032 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8033 ssize_t for return value.
8034 (Sending Data): Likewise for send, sendto, sendmsg.
8035 (Socket Option Functions): Add a missing const in setsockopt prototype.
8036 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8037 use wchar_t for the argument.
8038 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8039 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8040 take no arguments.
8041 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8042 double/float/long double for second argument.
8043 Fix return types of significand, significandf, significandl.
8044 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8045 argument in fchmod prototype.
8046 (File Owner): Use uid_t and gid_t in fchown prototype.
8047 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8048 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8049 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8050 use 'const struct dirent **' as argument types to CMP function pointer
8051 argument.
8052 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8053 (File Times): Fix summary magic @comment for struct utimbuf and utime
8054 to refer to utime.h, not time.h.
8055 * manual/string.texi (Argz Functions): Add missing const in
8056 argz_extract and argz_next prototypes.
8057 (Finding Tokens in a String): Likewise for basename.
8058 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8059 (Copying and Concatenation): Fix typo in wmemmove prototype.
8060 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8061 (Signal Stack): Remove erroneous const in sigstack prototype.
8062 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8063 prototype.
8064 (Simple Calendar Time): Likewise for stime.
8065 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8066 prototype.
8067 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8068 say sys/sysctl.h instead.
8069 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8070 and vsyslog prototypes.
8071
fe77fe6d
TV
80722013-02-11 Tom de Vries <tom@codesourcery.com>
8073
8074 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8075 Remove.
8076
3a09b620
RM
80772013-02-11 Roland McGrath <roland@hack.frob.com>
8078
8079 * misc/sys/mman.h: Fix typo in mremap comment.
8080
550a0b89
RM
80812013-02-08 Roland McGrath <roland@hack.frob.com>
8082
8083 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8084 the '\0' terminator.
8085
a2da1673
JM
80862013-02-08 Joseph Myers <joseph@codesourcery.com>
8087
8088 [BZ #13550]
8089 * debug/segfault.c: Don't include <bp-checks.h>.
8090 * sysdeps/generic/bp-checks.h: Remove file.
8091 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8092 (__GETDENTS): Don't use CHECK_N.
8093 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8094 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8095 (__getgroups): Don't use CHECK_N.
8096 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8097 (setgroups): Don't use CHECK_N.
8098 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8099 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8100 (__libc_msgrcv): Don't use CHECK_N.
8101 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8102 (__libc_msgsnd): Don't use CHECK_N.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8104 <bp-checks.h>.
8105 (__libc_pread): Don't use CHECK_N.
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8107 include <bp-checks.h>.
8108 (__libc_pread64): Don't use CHECK_N.
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8110 include <bp-checks.h>.
8111 (__libc_pwrite): Don't use CHECK_N.
8112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8113 include <bp-checks.h>.
8114 (__libc_pwrite64): Don't use CHECK_N.
8115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8116 <bp-checks.h>.
8117 (__libc_pread): Don't use CHECK_N.
8118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8119 include <bp-checks.h>.
8120 (__libc_pread64): Don't use CHECK_N.
8121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8122 include <bp-checks.h>.
8123 (__libc_pwrite): Don't use CHECK_N.
8124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8125 include <bp-checks.h>.
8126 (__libc_pwrite64): Don't use CHECK_N.
8127 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8128 (do_pread): Don't use CHECK_N.
8129 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8130 (do_pread64): Don't use CHECK_N.
8131 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8132 (do_pwrite): Don't use CHECK_N.
8133 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8134 (do_pwrite64): Don't use CHECK_N.
8135 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8136 (__libc_readv): Don't use CHECK_N.
8137 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8138 (semop): Don't use CHECK_N.
8139 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8140 <bp-checks.h>.
8141 (semtimedop): Don't use CHECK_N.
8142 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8143 (__libc_pread): Don't use CHECK_N.
8144 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8145 <bp-checks.h>.
8146 (__libc_pread64): Don't use CHECK_N.
8147 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8148 <bp-checks.h>.
8149 (__libc_pwrite): Don't use CHECK_N.
8150 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8151 <bp-checks.h>.
8152 (__libc_pwrite64): Don't use CHECK_N.
8153 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8154 <bp-checks.h>.
8155 (__libc_msgrcv): Don't use CHECK_N.
8156 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8157 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8158 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8159 (__libc_writev): Don't use CHECK_N.
8160
b84660a8
RM
81612013-02-08 Roland McGrath <roland@hack.frob.com>
8162
7f3e75f8
RM
8163 * string/strcpy.c: Removed unused variable.
8164
b84660a8
RM
8165 * Makeconfig (+sysdep-includes): Define with := rather than =.
8166 Use an existing include/ subdir of each sysdeps dir before it.
8167
471514d3
CD
81682013-02-08 Carlos O'Donell <carlos@redhat.com>
8169
8170 * nscd/connection.c (register_traced_file): Comment function.
8171 [HAVE_INOTIFY] (union __inev): Define.
8172 [HAVE_INOTIFY] (inotify_check_files): New function.
8173 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8174 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8175 clear_db_cache.
8176 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8177
b2d3c3be
CD
81782013-02-08 Carlos O'Donell <carlos@redhat.com>
8179
8180 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8181 loaded if not already and that a failure is permanent.
8182
b39949d2
CD
81832013-02-08 Carlos O'Donell <carlos@redhat.com>
8184
ddacd1db 8185 [BZ #15006]
b39949d2
CD
8186 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8187 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8188
b2c9eff4
JM
81892013-02-08 Joseph Myers <joseph@codesourcery.com>
8190
f3aae3f3
JM
8191 [BZ #13550]
8192 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8193 (CHECK_1_NULL_OK): Likewise.
8194 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8195 (__fxstat): Do not use CHECK_1.
8196 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8197 <bp-checks.h>.
8198 (___fxstat64): Do not use CHECK_1.
8199 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8200 <bp-checks.h>.
8201 (__fxstatat): Do not use CHECK_1.
8202 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8203 <bp-checks.h>.
8204 (__fxstatat64): Do not use CHECK_1.
8205 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8206 <bp-checks.h>.
8207 (__fxstat): Do not use CHECK_1.
8208 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8209 <bp-checks.h>.
8210 (__fxstatat): Do not use CHECK_1.
8211 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8212 <bp-checks.h>.
8213 (__getresgid): Do not use CHECK_1.
8214 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8215 <bp-checks.h>.
8216 (__getresuid): Do not use CHECK_1.
8217 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8218 <bp-checks.h>.
8219 (__lxstat): Do not use CHECK_1.
8220 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8221 <bp-checks.h>.
8222 (__old_msgctl): Do not use CHECK_1.
8223 (__new_msgctl): Likewise.
8224 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8225 <bp-checks.h>.
8226 (__new_setrlimit): Do not use CHECK_1.
8227 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8228 <bp-checks.h>.
8229 (__old_shmctl): Do not use CHECK_1.
8230 (__new_shmctl): Likewise.
8231 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8232 <bp-checks.h>.
8233 (__xstat): Do not use CHECK_1.
8234 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8235 (__lxstat): Do not use CHECK_1.
8236 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8237 <bp-checks.h>.
8238 (___lxstat64): Do not use CHECK_1.
8239 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8240 (__old_msgctl): Do not use CHECK_1.
8241 (__new_msgctl): Likewise.
8242 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8243 <bp-checks.h>.
8244 (__gettimeofday): Do not use CHECK_1.
8245 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8246 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8247 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8248 <bp-checks.h>.
8249 (__gettimeofday): Do not use CHECK_1.
8250 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8251 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8252 (__new_shmctl): Do not use CHECK_1.
8253 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8254 <bp-checks.h>.
8255 (do_sigtimedwait): Do not use CHECK_1.
8256 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8257 <bp-checks.h>.
8258 (do_sigwaitinfo): Do not use CHECK_1.
8259 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8260 <bp-checks.h>.
8261 (msgctl): Do not use CHECK_1.
8262 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8263 <bp-checks.h>.
8264 (shmctl): Do not use CHECK_1.
8265 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8266 (ustat): Do not use CHECK_1.
8267 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8268 <bp-checks.h>.
8269 (__fxstat): Do not use CHECK_1.
8270 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8271 <bp-checks.h>.
8272 (__fxstatat): Do not use CHECK_1.
8273 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8274 <bp-checks.h>.
8275 (__lxstat): Do not use CHECK_1.
8276 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8277 <bp-checks.h>.
8278 (__xstat): Do not use CHECK_1.
8279 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8280 (__xstat): Do not use CHECK_1.
8281 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8282 (___xstat64): Do not use CHECK_1.
8283
b2c9eff4
JM
8284 [BZ #13550]
8285 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8286 definitions.
8287 (CHECK_BOUNDS_HIGH): Likewise.
8288 * string/strcpy.c: Do not include <bp-checks.h>.
8289 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8290
f1d70dad
RM
82912013-02-07 Roland McGrath <roland@hack.frob.com>
8292
8293 * nscd/nscd-client.h (__nscd_drop_map_ref):
8294 Add __attribute__ ((unused)).
8295 * nis/nss-nisplus.h (niserr2nss): Likewise.
8296
8297 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8298 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8299
8300 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8301 Remove inline keyword.
8302 * include/rounding-mode.h (round_away): Likewise.
8303 * libio/wfileops.c (adjust_wide_data): Likewise.
8304 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8305 (__m128i_strloadu_tolower): Likewise.
8306 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8307 (__m128i_strloadu_tolower): Likewise.
8308 * time/mktime.c (ydhms_diff): Likewise.
8309 * locale/elem-hash.h (elem_hash): Likewise.
8310 * locale/setlocale.c (setdata): Likewise.
8311 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8312 (re_string_wchar_at): Likewise.
8313 (bitset_not, bitset_merge, bitset_mask): Likewise.
8314 [!(__GNUC__ > 3)] (inline): Remove macro.
8315 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8316 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8317 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8318 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8319 * string/memcmp.c (memcmp_bytes): Likewise.
8320 * locale/programs/locarchive.c (compute_hashval): Likewise.
8321 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8322 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8323 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8324 * nss/getent.c (print_rpc, print_protocols): Likewise.
8325 (print_passwd, print_group, print_aliases): Likewise.
8326 * nis/nss-nisplus.h (niserr2nss): Likewise.
8327 * nscd/connections.c (restart_p): Likewise.
8328 Change return type to bool.
8329
eab55bfb
RM
83302013-02-05 Roland McGrath <roland@hack.frob.com>
8331
7bd642f5
RM
8332 * Makeconfig (all-Depend-files): Add existing
8333 $(sorted-subdirs:=/Depend) files.
8334 (all-subdirs): Remove nss.
8335 * sysdeps/unix/inet/Subdirs: Add it here instead.
8336 * hesiod/Depend: New file.
8337
573c29b2
RM
8338 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8339 instead of calling alloca.
8340
b2e25af0
RM
8341 * io/lseek.c (__lseek): Rename to __libc_lseek.
8342 Define __lseek as an alias.
8343
eab55bfb
RM
8344 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8345
9a0d1941
CD
83462013-02-04 Carlos O'Donell <carlos@redhat.com>
8347
8348 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8349 else clause and remove check for non-standard endianness.
8350
b83bbec4
DM
83512013-02-04 David S. Miller <davem@davemloft.net>
8352
8353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8354
6277fdab
JM
83552013-02-04 Joseph Myers <joseph@codesourcery.com>
8356
8357 [BZ #13550]
8358 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8359 (__ubp_memchr): Remove prototype.
8360 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8361 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8362 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8363 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8364 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8365 Remove alias.
8366 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8367 (__ubp_memchr): Likewise.
8368 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8369 (__ubp_memchr): Likewise.
8370 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8371 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8372 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8373 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8374 CHECK_STRING.
8375 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8376 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8377 (__getcwd): Do not use CHECK_STRING.
8378 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8379 <bp-checks.h>.
8380 (__real_chown): Do not use CHECK_STRING.
8381 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8382 <bp-checks.h>.
8383 (fchownat): Do not use CHECK_STRING.
8384 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8385 CHECK_STRING.
8386 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8387 <bp-checks.h>.
8388 (__lchown): Do not use CHECK_STRING.
8389 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8390 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8391 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8392 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8394 include <bp-checks.h>.
8395 (truncate64): Do not use CHECK_STRING.
8396 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8397 <bp-checks.h>.
8398 (__real_chown): Do not use CHECK_STRING.
8399 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8400 <bp-checks.h>.
8401 (__lchown): Do not use CHECK_STRING.
8402 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8403 <bp-checks.h>.
8404 (__chown): Do not use CHECK_STRING.
8405 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8406 <bp-checks.h>.
8407 (truncate64): Do not use CHECK_STRING.
8408 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8409 Likewise.
8410 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8411 (__xmknod): Do not use CHECK_STRING.
8412 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8413 <bp-checks.h>.
8414 (__xmknodat): Do not use CHECK_STRING.
8415 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8416 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8417
903ae060
AS
84182013-02-04 Andreas Schwab <schwab@suse.de>
8419
8420 [BZ #14142]
8421 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8422 * include/netdb.h: Likewise for h_errno.
8423 * elf/tst-stackguard1.c: Include <tls.h>.
8424
542f9466
JK
84252013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8426
8427 * elf/link.h (struct link_map): Extend the l_addr comment.
8428 * include/link.h (struct link_map): Likewise.
8429
e782a927
JM
84302013-02-01 Joseph Myers <joseph@codesourcery.com>
8431
8432 [BZ #13550]
8433 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8434 (BOUNDED_1): Remove macro.
8435 * debug/backtrace.c: Don't include <bp-checks.h>.
8436 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8437 (__backtrace): Likewise.
8438 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8439 <bp-checks.h>.
8440 (__backtrace): Don't use BOUNDED_1.
8441 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8442 <bp-checks.h>.
8443 (__backtrace): Don't use BOUNDED_1.
8444 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8445 (__backtrace): Don't use BOUNDED_1.
8446 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8447 (shmat): Don't use BOUNDED_N.
8448
8cf28c5e
JM
84492013-01-31 Joseph Myers <joseph@codesourcery.com>
8450
3a7ac8a0
JM
8451 [BZ #13550]
8452 * sysdeps/generic/bp-start.h: Remove file.
8453 * csu/libc-start.c: Don't include <bp-start.h>.
8454 (LIBC_START_MAIN): Set up __environ directly instead of using
8455 INIT_ARGV_and_ENVIRON.
8456 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8457 <bp-start.h>.
8458
f3499f95
JM
8459 [BZ #13550]
8460 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8461 definitions.
8462 (CHECK_FCNTL): Likewise.
8463 (CHECK_N_PAGES): Likewise.
8464
32a45bea
JM
8465 [BZ #13550]
8466 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8467 definitions.
8468 (CHECK_SIGSET_NULL_OK): Likewise.
8469 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8470 <bp-checks.h>.
8471 (sigpending): Don't use CHECK_SIGSET.
8472 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8473 <bp-checks.h>.
8474 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8475 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8476 <bp-checks.h>.
8477 (do_sigsuspend): Don't use CHECK_SIGSET.
8478 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8479 use CHECK_SIGSET.
8480 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8481 (do_sigwait): Don't use CHECK_SIGSET.
8482 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8483 use CHECK_SIGSET.
8484 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8485 include <bp-checks.h>.
8486 (sigpending): Don't use CHECK_SIGSET.
8487 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8488 include <bp-checks.h>.
8489 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8490 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8491 <bp-checks.h>.
8492 (sigpending): Don't use CHECK_SIGSET.
8493 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8494 <bp-checks.h>.
8495 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8496
2e8a5c8c
JM
8497 [BZ #13550]
8498 * sysdeps/generic/bp-semctl.h: Remove file.
8499 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8500 <bp-checks.h> and <bp-semctl.h>.
8501 (__old_semctl): Don't use CHECK_SEMCTL.
8502 (__new_semctl): Likewise.
8503 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8504 and <bp-semctl.h>.
8505 (__old_semctl): Don't use CHECK_SEMCTL.
8506 (__new_semctl): Likewise.
8507 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8508 <bp-checks.h> and <bp-semctl.h>.
8509 (__old_semctl): Don't use CHECK_SEMCTL.
8510 (__new_semctl): Likewise.
8511 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8512 <bp-checks.h> and <bp-semctl.h>.
8513 (semctl): Don't use CHECK_SEMCTL.
8514
c2d54929
JM
8515 [BZ #13550]
8516 * Makerules (elide-bp-thunks): Remove variable.
8517 (elide-routines.oS): Don't use $(elide-bp-thunks).
8518 (elide-routines.os): Likewise.
8519 (elide-routines.o): Likewise.
8520 (elide-routines.op): Likewise.
8521 (elide-routines.og): Likewise.
8522 (objects): Don't use $(bp-thunks).
8523 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8524 include.
8525 (common-generated): Do not add s-proto-bp.d.
8526 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8527 (int): Likewise.
8528 (typ): Likewise.
8529 Do not generate makefile rules for bounded-pointer thunks.
8530 * sysdeps/generic/bp-thunks.h: Remove file.
8531 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8532 * sysdeps/unix/s-proto-bp.S: Likewise.
8533
8cf28c5e
JM
8534 [BZ #15062]
8535 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8536 parts of result separately when argument is not close to line from
8537 -i to i and one part of argument is small.
8538 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8539 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8540 * math/libm-test.inc (cacos_test): Add more tests.
8541 (casin_test): Likewise.
8542 (casinh_test): Likewise.
8543 * sysdeps/i386/fpu/libm-test-ulps: Update.
8544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8545
c4e33b8d
DM
85462013-01-31 David S. Miller <davem@davemloft.net>
8547
8548 * po/de.po: Update from translation team.
8549
3b60b421
MK
85502013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8551
8552 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8553
bb931195
TS
85542013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8555
b5a5da23
TS
8556 * configure.in (_AC_PROG_CC_C89): New definition.
8557 * configure: Regenerate.
8558
bb931195
TS
8559 * configure.in (AC_PROG_CPP): New definition.
8560 * configure: Regenerate.
8561
8c53a12c
JM
85622013-01-23 Joseph Myers <joseph@codesourcery.com>
8563
8564 * debug/tst-backtrace.h: New file.
8565 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8566 (ret): Remove variable.
8567 (x): Likewise.
8568 (FAIL): Remove macro.
8569 (NO_INLINE): Likewise.
8570 (fn1): Use match function instead of strstr.
8571 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8572 (ret): Remove variable.
8573 (x): Likewise.
8574 (FAIL): Remove macro.
8575 (NO_INLINE): Likewise.
8576 (fn): Use match function instead of strstr.
8577 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8578 (ret): Remove variable.
8579 (x): Likewise.
8580 (FAIL): Remove macro.
8581 (NO_INLINE): Likewise.
8582 (handle_signal): Use match function instead of strstr.
8583 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8584 (ret): Remove variable.
8585 (x): Likewise.
8586 (FAIL): Remove macro.
8587 (NO_INLINE): Likewise.
8588 (handle_signal): Use match function instead of strstr.
8589
4858fa2a
RM
85902013-01-23 Roland McGrath <roland@hack.frob.com>
8591
8592 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8593
bae8e7f5
DM
85942013-01-23 David S. Miller <davem@davemloft.net>
8595
8596 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8597 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8598 argument of CAS if possible.
8599 * sysdeps/sparc/sparc64/bits/atomic.h
8600 (__arch_compare_and_exchange_val_32_acq): Likewise.
8601 (__arch_compare_and_exchange_val_64_acq): Likewise.
8602
9cbbc4ae
PT
86032013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8604
8605 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8606 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8607 Include <limits.h>.
67b3f58c 8608 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8609
5655a0b5
AC
86102013-01-23 Adam Conrad <adconrad@0c3.net>
8611
8612 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8613 (LDFLAGS-tst-array5): Likewise.
8614
052aff95
JM
86152013-01-23 Joseph Myers <joseph@codesourcery.com>
8616
8617 [BZ #15036]
8618 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8619 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8620 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8621 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8622
7c1e01aa
DM
86232013-01-21 David S. Miller <davem@davemloft.net>
8624
8625 * sysdeps/sparc/backtrace.c: New file.
8626 * sysdeps/sparc/sparc32/backtrace.h: New file.
8627 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8628 * sysdeps/sparc/sparc64/backtrace.h: New file.
8629 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8630 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8631 -funwind-tables.
8632
ab087e0a
AS
86332013-01-21 Andreas Schwab <schwab@suse.de>
8634
8635 [BZ #15020]
8636 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8637 closed its stdout.
8638
ed689c2f
AS
86392013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8640
8641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8642 "mpa2.h".
8643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8644
31d470ac
JM
86452013-01-18 Joseph Myers <joseph@codesourcery.com>
8646 Mark Mitchell <mark@codesourcery.com>
8647 Tom de Vries <tom@codesourcery.com>
8648 Paul Pluzhnikov <ppluzhnikov@google.com>
8649
8650 * debug/tst-backtrace2.c: New file.
8651 * debug/tst-backtrace3.c: Likewise.
8652 * debug/tst-backtrace4.c: Likewise.
8653 * debug/tst-backtrace5.c: Likewise.
8654 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8655 (CFLAGS-tst-backtrace3.c): Likewise.
8656 (CFLAGS-tst-backtrace4.c): Likewise.
8657 (CFLAGS-tst-backtrace5.c): Likewise.
8658 (LDFLAGS-tst-backtrace2): Likewise.
8659 (LDFLAGS-tst-backtrace3): Likewise.
8660 (LDFLAGS-tst-backtrace4): Likewise.
8661 (LDFLAGS-tst-backtrace5): Likewise.
8662 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8663 tst-backtrace4 and tst-backtrace5.
8664
90567f30 86652013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8666 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8667
8668 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8669 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8670 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8671 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8673 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8674 "+r" and remove output regs list as redundant. Add explicit inline
8675 asm to specify register of return val to work around compiler codegen
8676 bug. Remove (int) cast on return value. Add return type parameter to
8677 use in macro so that this macro does not truncate return value for
8678 64-bit values.
8679 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8680 pass to INTERNAL_VSYSCALL_NCS.
8681 (INLINE_VSYSCALL): Add 'long int' as return type to
8682 INTERNAL_VSYSCALL_NCS macro invocation.
8683 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8684 INTERNAL_VSYSCALL_NCS macro invocation.
8685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8686
d3b9ea61
SP
86872013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8688
0b57daeb
SP
8689 [BZ #14496]
8690 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8691 Fix application of SIMD FP exception mask.
8692
caa99d06
SP
8693 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8694 mp_no from a power of two.
8695 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8696 __mpexp_twomm1. Use __pow_mp.
8697
d3b9ea61
SP
8698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8699 multiplication.
8700
1dbaee3c
DM
87012013-01-17 David S. Miller <davem@davemloft.net>
8702
8703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8704
728d7b43
JM
87052013-01-17 Joseph Myers <joseph@codesourcery.com>
8706
8707 [BZ #15023]
8708 * include/complex.h: Condition contents on [!_COMPLEX_H].
8709 (__kernel_casinhf): New prototype.
8710 (__kernel_casinh): Likewise.
8711 (__kernel_casinhl): Likewise.
8712 * math/Makefile (libm_calls): Add k_casinh.
8713 * math/k_casinh.c: New file.
8714 * math/k_casinhf.c: Likewise.
8715 * math/k_casinhl.c: Likewise.
8716 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8717 finite nonzero arguments.
8718 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8719 finite nonzero arguments.
8720 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8721 finite nonzero arguments.
8722 * math/s_casinh.c: Do not include <float.h>.
8723 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8724 * math/s_casinhf.c: Do not include <float.h>.
8725 (__casinhf): Move code for finite nonzero arguments to
8726 k_casinhf.c.
8727 * math/s_casinhl.c: Do not include <float.h>.
8728 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8729 redefine.
8730 (__casinhl): Move code for finite nonzero arguments to
8731 k_casinhl.c.
8732 * math/libm-test.inc (cacos_test): Add more tests.
8733 * sysdeps/i386/fpu/libm-test-ulps: Update.
8734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8735
2a26ef3a
PT
87362013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8737
8738 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8739 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8740 [!HAVE_MREMAP]: Remove [defined linux] case.
8741 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8742
a897655d
SP
87432013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8744
8745 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8746
881ebe89 87472013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8748
8749 * elf/elf.h (R_386_SIZE32): New relocation.
8750 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8751 R_386_SIZE32.
8752 (elf_machine_rela): Likewise.
8753 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8754 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8755
59981e9b
JM
87562013-01-17 Joseph Myers <joseph@codesourcery.com>
8757
8758 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8759 (FP_FAST_FMA): Do not define.
8760 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8761 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8762 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8763 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8764 !_SOFT_FLOAT]: Likewise.
8765 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8766 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8767 value.
8768 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8769 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8770 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8771 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8772 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8773 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8774 file.
8775
cfa8054f
AS
87762013-01-16 Andreas Schwab <schwab@suse.de>
8777
8778 [BZ #14327]
8779 * include/stdlib.h (__mktemp): Add declaration.
8780 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8781 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8782
dd930cc5
SP
87832013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8784
881ebe89
SP
8785 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8786 definitions.
8787 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8788 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8789 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8790 definitions here.
8791 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8792 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8793 definitions.
8794 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8795 and ONE.
8796 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8797 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8798 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8799 definitions.
8800 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8801 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8802 definitions.
8803 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8804
dd930cc5
SP
8805 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8806
c19a9f89
DM
88072013-01-15 David S. Miller <davem@davemloft.net>
8808
1aa61767
DM
8809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8810 trunc{,f} to libm-sysdep_routes.
8811 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8813 file.
8814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8816 file.
8817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8818 file.
8819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8821 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8822 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8823 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8824 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8825 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8826 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8827
c42d5e98
DM
8828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8829 nearbyint{,f} to libm-sysdep_routes.
8830 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8832 New file.
8833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8834 file.
8835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8836 New file.
8837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8838 file.
8839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8841 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8842 file.
8843 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8844 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8845 file.
8846 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8847 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8848 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8849
c19a9f89
DM
8850 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8851 libc_feholdexcept and libc_fesetenv.
8852
357679d2
MF
88532013-01-15 Mike Frysinger <vapier@gentoo.org>
8854
8855 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8856
65a82e3d
DM
88572013-01-14 David S. Miller <davem@davemloft.net>
8858
8b954ab9
DM
8859 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8860 (SPARC_ASM_VIS2_IFUNC): Likewise.
8861 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8863 use of 'siam' instruction.
8864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8865 Likewise.
8866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8867 Likewise.
8868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8869 Likewise.
8870 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8872 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8875 file.
8876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8877 file.
8878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8879 file.
8880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8881 file.
8882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8884 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8885 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8887 new VIS2 routines.
8888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8891 Likewise.
8892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8894 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8895 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8897 routines to libm-sysdep_routines.
8898 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8899
65a82e3d
DM
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8901 fdim/fdimf to libm-sysdep_routines.
8902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8903 file.
8904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8906 file.
8907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8910 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8911 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8912 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8913 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8914
e34ab705
SP
89152013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8916
2a91b573
SP
8917 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8918 to optimize copies.
8919
1066a534
SP
8920 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8923
e34ab705
SP
8924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8925 local variable MPTWO.
8926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8927 Likewise.
8928
aba5e596
MF
89292013-01-13 Mike Frysinger <vapier@gentoo.org>
8930
8931 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8932 GLOB_NOESCAPE.
8933
e557e9e5
MF
89342013-01-13 Mike Frysinger <vapier@gentoo.org>
8935
8936 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8937
0428cec9
MF
89382013-01-13 Mike Frysinger <vapier@gentoo.org>
8939
8940 * manual/pattern.texi (glob_t): Document gl_flags.
8941 (glob64_t): Likewise.
8942
8794a964
DM
89432013-01-11 David S. Miller <davem@davemloft.net>
8944
66438c3f
RM
8945 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8946 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8947 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8948 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8949 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8950 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8951 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8952 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8953 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8954 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8955 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8956 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8957 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8958
4ae4244d
DM
8959 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8960 sparc V9 rather than using V8 code.
8961 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8962 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8963
8794a964
DM
8964 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8965 Move to...
8966 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8967 Here.
8968
6270516e
RM
89692013-01-11 Roland McGrath <roland@hack.frob.com>
8970
8971 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8972 not in the main loop.
8973 * configure: Regenerated.
8974
6a57d931
JM
89752013-01-11 Joseph Myers <joseph@codesourcery.com>
8976
8977 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8978 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8979 to just #else.
8980 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8981 [!__GLIBC_HAVE_LONG_LONG] case.
8982 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8983 condition to just #else.
8984 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8985 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8986 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8987 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8988 unconditional.
8989 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8990 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8991 #elif condition to just #else.
8992 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8993 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8994 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8995 #elif condition to just #else.
8996
0e8529e9
SE
89972013-01-11 Steve Ellcey <sellcey@mips.com>
8998
8999 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9000 (EF_MIPS_ARCH_64): Fix value.
9001 (EF_MIPS_ARCH_32R2): New.
9002 (EF_MIPS_ARCH_64R2): New.
9003
740b3dbe
L
90042013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9005
9006 * Makeconfig (+link-pie-before-libc): New.
9007 (+link-pie-after-libc): Likewise.
9008 (+link-pie-tests): Likewise.
9009 (+link-pie): Rewritten.
9010 (link-before-libc): Remove $(config-LDFLAGS).
9011 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9012 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9013 (config-LDFLAGS): Renamed to ...
9014 (rtld-LDFLAGS): This.
9015 (rtld-tests-LDFLAGS): New macro.
9016 (link-libc-rpath-link): Likewise.
9017 (link-libc-tests-rpath-link): Likewise.
9018 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9019 (link-libc): Prepand $(link-libc-rpath-link).
9020 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9021 (test-program-prefix): New macro.
9022 (test-via-rtld-prefix): Likewise.
9023 (test-program-cmd): Likewise.
9024 (host-test-program-cmd): Likewise.
9025 * Makefile ($(common-objpfx)testrun.sh): Replace
9026 $(run-program-prefix) with $(test-program-prefix).
9027 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9028 $(rtld-LDFLAGS).
9029 ($(common-objpfx)shlib.lds): Likewise.
9030 (build-module-helper): Likewise.
9031 ($(common-objpfx)format.lds): Likewise.
9032 * Rules (binaries-pie-tests): New.
9033 (binaries-pie-notests): Likewise.
9034 (binaries-pie): Rewritten.
9035 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9036 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9037 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9038 (make-test-out): Replace $(host-built-program-cmd) with
9039 $(host-test-program-cmd).
9040 * config.make.in (build-hardcoded-path-in-tests): New variable.
9041 * configure.in (--enable-hardcoded-path-in-tests): New configure
9042 option.
9043 (hardcoded_path_in_tests): New AC_SUBST.
9044 * configure: Regenerated.
9045 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9046 $(built-program-cmd) with $(test-program-cmd).
9047 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9048 (test_program_cmd): This.
9049 * elf/Makefile ($(objpfx)order.out): Run test with
9050 $(test-program-prefix).
9051 ($(objpfx)order2.out): Likewise.
9052 ($(objpfx)tst-initorder.out): Likewise.
9053 ($(objpfx)tst-initorder2.out): Likewise.
9054 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9055 $(test-program-cmd).
9056 ($(objpfx)tst-array1-static.out): Likewise.
9057 ($(objpfx)tst-array2.out): Likewise.
9058 ($(objpfx)tst-array3.out): Likewise.
9059 ($(objpfx)tst-array4.out): Likewise.
9060 ($(objpfx)tst-array5.out): Likewise.
9061 ($(objpfx)tst-array5-static.out): Likewise.
9062 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9063 $(test-program-cmd).
9064 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9065 $(run-program-prefix) with $(test-program-prefix).
9066 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9067 (test_program_prefix): This.
9068 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9069 $(run-program-prefix) with $(test-program-prefix).
9070 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9071 (test_program_prefix): This.
9072 * iconvdata/tst-tables.sh: Likewise.
9073 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9074 $(run-program-prefix) with $(test-program-prefix).
9075 ($(objpfx)tst-translit.out): Likewise.
9076 ($(objpfx)tst-gettext2.out): Likewise.
9077 ($(objpfx)tst-gettext4.out): Likewise.
9078 ($(objpfx)tst-gettext6.out): Likewise.
9079 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9080 (test_program_prefix): This.
9081 * intl/tst-gettext2.sh: Likewise.
9082 * intl/tst-gettext4.sh Likewise.
9083 * intl/tst-gettext6.sh: Likewise.
9084 * intl/tst-translit.sh: Likewise.
9085 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9086 with $(test-program-cmd).
9087 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9088 $(run-program-prefix) with $(test-program-prefix).
9089 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9090 (test_program_prefix): This.
9091 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9092 $(run-program-prefix) with $(test-program-prefix).
9093 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9094 (test_program_prefix): This.
9095 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9096 * posix/Makefile ($(objpfx)globtest.out): Replace
9097 $(run-via-rtld-prefix) and $(test-wrapper) with
9098 $(test-program-prefix) and $(test-via-rtld-prefix).
9099 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9100 $(test-program-prefix).
9101 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9102 $(host-test-program-cmd).
9103 (tst-spawn-ARGS): Likewise.
9104 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9105 $(test-program-prefix).
9106 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9107 (test_via_rtld_prefix): This.
9108 (test_wrapper): Renamed to ...
9109 (test_program_prefix): This.
9110 (run_program_prefix): Replaced by test_program_prefix.
9111 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9112 (test_program_prefix): This.
9113 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9114 with $(host-test-program-cmd).
9115 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9116 $(run-program-prefix) with $(test-program-prefix).
9117 ($(objpfx)tst-printf.out): Likewise.
9118 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9119 $(test-program-cmd).
9120 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9121 (test_program_prefix): This.
9122 * stdio-common/tst-unbputc.sh: Likewise.
9123 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9124 $(run-program-prefix) with $(test-program-prefix).
9125 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9126 (test_program_prefix): This.
9127 * string/Makefile ($(objpfx)tst-svc.out): Replace
9128 $(built-program-cmd) with $(test-program-cmd).
9129
c6fe55cf
AJ
91302013-01-11 Andreas Jaeger <aj@suse.de>
9131
9132 [BZ #15003]
9133 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9134 value. Sync with Linux 3.7.
9135
9e6919c8
DM
91362013-01-10 David S. Miller <davem@davemloft.net>
9137
9138 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9139 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9140 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9141
1c9f1a02
RM
91422013-01-10 Roland McGrath <roland@hack.frob.com>
9143
9144 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9145 never set.
9146 * configure: Regenerated.
9147
b9de2dde
DM
91482013-01-10 David S. Miller <davem@davemloft.net>
9149
9150 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9151 sparc V9 rather than using V8 code.
9152 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9153 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9154
e7f68ef4
RM
91552013-01-10 Roland McGrath <roland@hack.frob.com>
9156
9157 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9158 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9159 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9160 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9161 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9162 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9163 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9164 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9165 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9166 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9167 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9168 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9169 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9170 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9171 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9172 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9173 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9174 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9175 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9176 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9177 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9178 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9179 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9180 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9181 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9182 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9183 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9184
5a47cc9c
DM
91852013-01-10 David S. Miller <davem@davemloft.net>
9186
9187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9188
4cf8f209
L
91892013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9190
9191 * posix/Makefile (tests-static): New variable.
9192 (tests): Add $(tests-static).
9193 (tst-exec-static-ARGS): New variable.
9194 (tst-spawn-static-ARGS): Likewise.
9195 * posix/tst-exec-static.c: New file.
9196 * posix/tst-spawn-static.c: Likewise.
9197 * posix/tst-exec.c: Support run directly.
9198 * posix/tst-spawn.c: Likewise.
9199
fed0faa1
JM
92002013-01-10 Joseph Myers <joseph@codesourcery.com>
9201
828beb13
JM
9202 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9203 long.
9204 * math/bits/mathcalls.h (llrint): Likewise.
9205 (llround): Likewise.
9206 * stdlib/stdlib.h (struct drand48_data): Likewise.
9207 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9208 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9209 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9210 Likewise.
9211 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9212 Likewise.
9213 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9214 (elf_greg_t): Likewise.
9215 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9216 (__jmp_buf): Likewise.
9217 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9218 definitions.
9219 (llrint): Likewise, for all definitions.
9220 (llrintl): Likewise.
9221
fed0faa1
JM
9222 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9223 Remove [__GNUC__] condition.
9224 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9225 condition to just [__USE_ISOC99].
9226 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9227
1a20cb20
L
92282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9229
9230 [BZ #14200]
9231 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9232 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9233 defined.
9234 (_POSIX_V6_ILP32_OFF32): Likewise.
9235 (_XBS5_ILP32_OFF32): Likewise.
9236 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9237 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9238
751b85f7
SP
92392013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9240
7490eb81
SP
9241 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9242
751b85f7
SP
9243 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9244 doubles __mpexp_twomm1. Adjust usage.
9245 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9246 Remove.
9247
988197f0
AS
92482013-01-10 Andreas Schwab <schwab@suse.de>
9249
9250 [BZ #14964]
9251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9252 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9253
e83d7298
DM
92542013-01-09 David S. Miller <davem@davemloft.net>
9255
034ed64b 9256 [BZ #15003]
e83d7298
DM
9257 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9258 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9259 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9260 TCP_FASTOPEN): Define.
9261 (tcp_repair_opt): New structure.
9262 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9263 enum values.
9264 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9265 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9266 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9267 (tcp_cookie_transactions): New structure.
9268
d5e0b9bd
AB
92692013-01-09 Anton Blanchard <anton@samba.org>
9270
9271 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9272 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9273 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9274 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9275
0c07e3ea
JM
92762013-01-09 Joseph Myers <joseph@codesourcery.com>
9277
9278 * include/features.h (__USE_ANSI): Remove.
9279
232f7002
RM
92802013-01-09 Roland McGrath <roland@hack.frob.com>
9281
ad98e30c
RM
9282 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9283
232f7002
RM
9284 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9285
950c99ca
SP
92862013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9287
b5792741
SP
9288 * sysdeps/s390/fpu/libm-test-ulps: Update.
9289
47cf2278
SP
9290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9291
950c99ca
SP
9292 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9293 (__acr): Likewise.
9294 (__cpy): Likewise.
9295 (norm): Likewise.
9296 (denorm): Likewise.
9297 (__mp_dbl): Likewise.
9298 (__dbl_mp): Likewise.
9299 (add_magnitudes): Likewise.
9300 (sub_magnitudes): Likewise.
9301 (__add): Likewise.
9302 (__sub): Likewise.
9303 (__mul): Likewise.
9304 (__inv): Likewise.
9305 (__dvd): Likewise.
9306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9307 (__acr): Likewise.
9308 (__cpy): Likewise.
9309 (norm): Likewise.
9310 (denorm): Likewise.
9311 (__mp_dbl): Likewise.
9312 (__dbl_mp): Likewise.
9313 (add_magnitudes): Likewise.
9314 (sub_magnitudes): Likewise.
9315 (__add): Likewise.
9316 (__sub): Likewise.
9317 (__mul): Likewise.
9318 (__inv): Likewise.
9319 (__dvd): Likewise.
9320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9321 (__acr): Likewise.
9322 (__cpy): Likewise.
9323 (norm): Likewise.
9324 (denorm): Likewise.
9325 (__mp_dbl): Likewise.
9326 (__dbl_mp): Likewise.
9327 (add_magnitudes): Likewise.
9328 (sub_magnitudes): Likewise.
9329 (__add): Likewise.
9330 (__sub): Likewise.
9331 (__mul): Likewise.
9332 (__inv): Likewise.
9333 (__dvd): Likewise.
9334
eede9df9
JM
93352013-01-08 Joseph Myers <joseph@codesourcery.com>
9336
9337 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9338 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9339 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9340 2 && __USE_EXTERN_INLINES]: Likewise.
9341
c40ea3d9
AJ
93422013-01-08 Andreas Jaeger <aj@suse.de>
9343
9344 [BZ# 14985]
9345 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9346 Remove.
9347 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9348 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9349
2ccdea26
AB
93502013-01-07 Anton Blanchard <anton@samba.org>
9351
9352 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9353 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9354 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9355 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9356 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9357 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9358 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9359 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9361 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9362 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9363 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9364 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9365 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9366 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9367 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9368 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9369 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9370 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9371 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9372 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9373 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9374 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9375 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9376 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9377 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9378 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9379 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9380 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9381 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9382 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9384 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9385 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9386 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9387 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9388 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9389 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9390 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9391 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9392 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9393 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9394 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9395
a9708fed
JM
93962013-01-07 Joseph Myers <joseph@codesourcery.com>
9397
375607b9
JM
9398 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9399 (__MALLOC_PMT): Likewise.
9400 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9401 [__GNUC__], only on [_LIBC].
9402 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9403 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9404 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9405 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9406 forward declaration.
9407 (realloc_hook_ini): Likewise.
9408 (memalign_hook_ini): Likewise.
9409 (__libc_memalign): Do not use __MALLOC_PMT in variable
9410 declaration.
9411 (__libc_valloc): Likewise.
9412 (__libc_pvalloc): Likewise.
9413 (__libc_calloc): Likewise.
9414 (__posix_memalign): Likewise.
9415
a9708fed
JM
9416 [BZ #14996]
9417 * math/s_casinh.c: Include <float.h>.
9418 (__casinh): Do not do computation with squaring and square root
9419 for large arguments.
9420 * math/s_casinhf.c: Include <float.h>.
9421 (__casinhf): Do not do computation with squaring and square root
9422 for large arguments.
9423 * math/s_casinhl.c: Include <float.h>.
9424 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9425 (__casinhl): Do not do computation with squaring and square root
9426 for large arguments.
9427 * math/libm-test.inc (casin_test): Add more tests.
9428 (casinh_test): Likewise.
9429 * sysdeps/i386/fpu/libm-test-ulps: Update.
9430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9431
afec409a
L
94322013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9433
9434 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9435 (__x86_64_raw_data_cache_size): Likewise.
9436 (__x86_64_data_cache_size_half): Likewise.
9437 (__x86_64_raw_data_cache_size_half): Likewise.
9438 (__x86_64_shared_cache_size): Likewise.
9439 (__x86_64_raw_shared_cache_size): Likewise.
9440 (__x86_64_shared_cache_size_half): Likewise.
9441 (__x86_64_raw_shared_cache_size_half): Likewise.
9442 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9443 to ...
9444 (__x86_data_cache_size): This.
9445 (__x86_64_raw_data_cache_size): Renamed to ...
9446 (__x86_raw_data_cache_size): This.
9447 (__x86_64_data_cache_size_half): Renamed to ...
9448 (__x86_data_cache_size_half): This.
9449 (__x86_64_raw_data_cache_size_half): Renamed to ...
9450 (__x86_raw_data_cache_size_half): This.
9451 (__x86_64_shared_cache_size): Renamed to ...
9452 (__x86_shared_cache_size): This.
9453 (__x86_64_raw_shared_cache_size): Renamed to ...
9454 (__x86_raw_shared_cache_size): This.
9455 (__x86_64_shared_cache_size_half): Renamed to ...
9456 (__x86_shared_cache_size_half): This.
9457 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9458 (__x86_raw_shared_cache_size_half): This.
9459 * sysdeps/x86_64/memcpy.S: Updated.
9460 * sysdeps/x86_64/memset.S: Likewise.
9461 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9462 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9463 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9464
0b3986d0
DM
94652013-01-04 David S. Miller <davem@davemloft.net>
9466
9467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9468
e47686e9
AS
94692013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9470
d643bac1
AS
9471 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9472 1 to avoid redefinition warning.
9473 (__USE_GNU): Don't define.
9474 (init_signaling_nan): Protoize.
9475
e47686e9
AS
9476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9477
b18decba
SP
94782013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9479
fffb407f
SP
9480 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9482 (__cpymn): Likewise.
9483 (norm): Remove commented code.
9484 (denorm): Likewise.
9485 (__mp_dbl): Likewise.
9486 (__inv): Likewise.
9487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9488 (__cpymn): Likewise.
9489 (norm): Remove commented code.
9490 (denorm): Likewise.
9491 (__mp_dbl): Likewise.
9492 (__inv): Likewise.
9493
b18decba
SP
9494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9495 mp_no value for 1.0 and 2.0.
9496 (norm): Use RADIXI instead of radixi.d.
9497 (denorm): Likewise.
9498 (__mul): Use 0.0 instead of zero.d.
9499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9500 mp_no value for 1.0 and 2.0.
9501 (norm): Use RADIXI instead of radixi.d.
9502 (denorm): Likewise.
9503 (__mul): Use 0.0 instead of zero.d.
9504
cdc1c96f
JM
95052013-01-04 Joseph Myers <joseph@codesourcery.com>
9506
9507 [BZ #14994]
9508 * math/s_casinh.c (__casinh): Reduce finite argument to first
9509 quadrant then set signs of results at the end.
9510 * math/s_casinhf.c (__casinhf): Likewise.
9511 * math/s_casinhl.c (__casinhl): Likewise.
9512 * math/libm-test.inc (casin_test): Add more tests.
9513 (casinh_test): Likewise.
9514 * sysdeps/i386/fpu/libm-test-ulps: Update.
9515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9516
302913e1
SP
95172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9518
6420d207
SP
9519 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9520
a9e48ab4
SP
9521 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9522
b7837264
SP
9523 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9524 declarations.
9525 (denorm): Likewise.
9526 (__mp_dbl): Likewise.
9527 (__inv): Likewise.
9528
f8af25d2
SP
9529 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9530 and adjust the header comment.
9531
302913e1
SP
9532 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9533 variable name from declaration.
9534
5d7dd1ca
L
95352013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9536
9537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9538 Initialize COMMON_CPUID_INDEX_7 element.
9539 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9540 (CPUID_RTM): Likewise.
9541 (HAS_RTM): Likewise.
9542 (COMMON_CPUID_INDEX_7): New enum.
9543
2f5f40f4
AS
95442013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9545
9546 [BZ #14981]
9547 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9548 size is zero, record memory as freed.
9549
4056f4a0
AJ
95502013-01-03 Andreas Jaeger <aj@suse.de>
9551
9552 * po/ia.po: Add new Interlingua translation.
9553
ab15736f 95542012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9555
9556 * locale/programs/localedef.c: Fix description of '--posix' flag.
9557
568035b7
JM
95582013-01-02 Joseph Myers <joseph@codesourcery.com>
9559
e6898b8d
JM
9560 * NEWS: Update dates in second copyright notice.
9561 * README: Update copyright dates in example.
9562 * manual/libc.texinfo: Update copyright dates.
9563 * scripts/test-installation.pl: Update copyright date in --version
9564 output.
9565
0e2f9562
JM
9566 * hurd/ctty-input.c: Fix copyright notice formatting.
9567 * hurd/ctty-output.c: Likewise.
9568 * hurd/dtable.c: Likewise.
9569 * hurd/hurd-raise.c: Likewise.
9570 * hurd/hurdprio.c: Likewise.
9571 * hurd/msgportdemux.c: Likewise.
9572 * misc/sys/file.h: Likewise.
9573 * misc/sys/ioctl.h: Likewise.
9574 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9575 * sysdeps/mach/hurd/chdir.c: Likewise.
9576 * sysdeps/mach/hurd/fchdir.c: Likewise.
9577 * sysdeps/mach/hurd/rename.c: Likewise.
9578 * sysdeps/mach/hurd/rmdir.c: Likewise.
9579 * sysdeps/mach/hurd/seekdir.c: Likewise.
9580 * sysdeps/mach/hurd/setsid.c: Likewise.
9581 * sysdeps/posix/wait3.c: Likewise.
9582
568035b7
JM
9583 * All files with FSF copyright notices: Update copyright dates
9584 using scripts/update-copyrights.
9585 * intl/plural.c: Regenerated.
9586 * locale/programs/charmap-kw.h: Likewise.
9587 * locale/programs/locfile-kw.h: Likewise.
9588
da08f647
SP
95892013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9590
0f5477af
SP
9591 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9592 four values.
9593
44e0d4c2
SP
9594 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9595 calculation loop and add branch prediction.
9596
4d55b4e5
SP
9597 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9598 check access beyond bounds of m1np.
9599
da08f647
SP
9600 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9601 MPTWO.
9602 (__inv): Remove local variable MPTWO to use the global
9603 constant.
9604 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9605 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9606 variable MPTWO.
9607 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9608 MP3HALFS static const.
9609
8e051029
DM
96102013-01-01 David S. Miller <davem@davemloft.net>
9611
9612 * po/ca.po: Update from translation team.
9613
f4cf5f2d
JM
96142013-01-01 Joseph Myers <joseph@codesourcery.com>
9615
9616 * scripts/update-copyrights: New file.
9617 * Makeconfig: Reformat copyright notice.
9618 * ctype/ctype.h: Likewise.
9619 * debug/swprintf_chk.c: Likewise.
9620 * elf/dl-cache.c: Likewise.
9621 * elf/dl-debug.c: Likewise.
9622 * elf/dl-object.c: Likewise.
9623 * grp/initgroups.c: Likewise.
9624 * hurd/Makefile: Likewise.
9625 * hurd/hurd/signal.h: Likewise.
9626 * hurd/hurdfault.c: Likewise.
9627 * hurd/hurdioctl.c: Likewise.
9628 * hurd/hurdlookup.c: Likewise.
9629 * hurd/intr-msg.c: Likewise.
9630 * iconv/gconv_open.c: Likewise.
9631 * libio/swprintf.c: Likewise.
9632 * locale/lc-ctype.c: Likewise.
9633 * locale/nl_langinfo.c: Likewise.
9634 * mach/Machrules: Likewise.
9635 * mach/Makefile: Likewise.
9636 * malloc/obstack.h: Likewise.
9637 * manual/Makefile: Likewise.
9638 * manual/tsort.awk: Likewise.
9639 * misc/bits/stab.def: Likewise.
9640 * nis/nis_print_group_entry.c: Likewise.
9641 * nis/nis_table.c: Likewise.
9642 * nis/nss_compat/compat-pwd.c: Likewise.
9643 * nis/nss_compat/compat-spwd.c: Likewise.
9644 * po/Makefile: Likewise.
9645 * posix/fnmatch.c: Likewise.
9646 * posix/regex.h: Likewise.
9647 * resolv/Makefile: Likewise.
9648 * resolv/nss_dns/dns-network.c: Likewise.
9649 * resolv/res_hconf.c: Likewise.
9650 * scripts/gen-sorted.awk: Likewise.
9651 * soft-fp/soft-fp.h: Likewise.
9652 * stdio-common/printf.h: Likewise.
9653 * stdlib/monetary.h: Likewise.
9654 * stdlib/random.c: Likewise.
9655 * stdlib/random_r.c: Likewise.
9656 * sysdeps/generic/Makefile: Likewise.
9657 * sysdeps/gnu/Makefile: Likewise.
9658 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9659 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9660 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9662 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9664 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9665 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9666 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9667 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9668 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9669 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9670 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9671 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9672 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9673 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9674 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9675 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9676 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9677 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9678 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9679 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9680 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9681 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9682 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9686 * sysdeps/mach/hurd/errnos.awk: Likewise.
9687 * sysdeps/mach/hurd/fork.c: Likewise.
9688 * sysdeps/mach/hurd/getcwd.c: Likewise.
9689 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9690 * sysdeps/mach/hurd/mmap.c: Likewise.
9691 * sysdeps/mach/hurd/utimes.c: Likewise.
9692 * sysdeps/mach/hurd/xmknod.c: Likewise.
9693 * sysdeps/posix/profil.c: Likewise.
9694 * sysdeps/posix/readdir_r.c: Likewise.
9695 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9696 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9697 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9698 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9700 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9701 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9702 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9704 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9705 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9706 * sysdeps/pthread/lio_listio.c: Likewise.
9707 * sysdeps/sparc/dl-procinfo.h: Likewise.
9708 * sysdeps/unix/i386/sysdep.S: Likewise.
9709 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9710 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9711 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9712 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9714 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9715 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9716 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9717 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9718 * sysdeps/wordsize-32/divdi3.c: Likewise.
9719 * time/sys/time.h: Likewise.
9720 * wcsmbs/Makefile: Likewise.
9721
0549fbba
DM
97222013-01-01 David S. Miller <davem@davemloft.net>
9723
a141f1a7
DM
9724 * po/fr.po: Update from translation team.
9725
0549fbba
DM
9726 * catgets/gencat.c: Update copyright year.
9727 * csu/version.c: Likewise.
9728 * debug/catchsegv.sh: Likewise.
9729 * debug/pcprofiledump.c: Likewise.
9730 * debug/xtrace.sh: Likewise.
9731 * elf/ldconfig.c: Likewise.
9732 * elf/ldd.bash.in: Likewise.
9733 * elf/pldd.c: Likewise.
9734 * elf/sotruss.ksh: Likewise.
9735 * elf/sprof.c: Likewise.
9736 * iconv/iconv_prog.c: Likewise.
9737 * iconv/iconvconfig.c: Likewise.
9738 * locale/programs/locale.c: Likewise.
9739 * locale/programs/localedef.c: Likewise.
9740 * login/programs/pt_chown.c: Likewise.
9741 * malloc/memusage.sh: Likewise.
9742 * malloc/memusagestat.c: Likewise.
9743 * malloc/mtrace.pl: Likewise.
9744 * nscd/nscd.c: Likewise.
9745 * nss/getent.c: Likewise.
9746 * nss/makedb.c: Likewise.
9747 * posix/getconf.c: Likewise.
9748
18ea052c
SP
97492012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9750
9751 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9752 numbers.
9753
9c89fca6
MF
97542012-12-30 Mike Frysinger <vapier@gentoo.org>
9755
9756 * math/bits/mathcalls.h (modf): Use __nonnull.
9757
085ec079
SP
97582012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9759
9760 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9761 (split): Use macro CN instead of the bare value.
9762 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9763 could be used.
9764 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9765 instead of the bare value.
9766 (power1): Likewise.
9767
6d9f97e1
SP
97682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9769
d63f73be
SP
9770 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9771 __ATAN_TWOM.
9772 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9773
6d9f97e1
SP
9774 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9775 their values.
9776 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9777 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9778 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9779 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9780
4c4febf5
AJ
97812012-12-28 Andreas Jaeger <aj@suse.de>
9782
af5843ef
AJ
9783 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9784 values are from Linux 3.7.
9785
4c4febf5
AJ
9786 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9787 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9788
99136f82
SP
97892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9790
2f216c3c 9791 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9792 TRUE case.
9793
99136f82
SP
9794 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9795 (norm): Likewise.
9796 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9797 variables with preprocessor constants.
9798 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9799 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9800 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9801
7fffbdff
BH
98022012-12-27 Bruno Haible <bruno@clisp.org>
9803
9804 [BZ #14317]
9805 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9806 only if needed.
9807
b76eb5f0
SP
98082012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9809
31a7fe5c
SP
9810 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9811 and use variable directly.
9812 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9813
b76eb5f0
SP
9814 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9815 MPONE.
9816 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9817 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9818 variable MPONE.
9819 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9820 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9821 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9822 include directive. Remove local variable MPONE.
9823 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9824 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9825 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9826
2c8bfe7d
DM
98272012-12-25 David S. Miller <davem@davemloft.net>
9828
9829 * version.h (RELEASE): Set to "development".
9830 (VERSION): Set to "2.17.90".
9831 * NEWS: Add 2.18 section.
9832
147d03b0
DM
98332012-12-21 David S. Miller <davem@davemloft.net>
9834
9835 * po/hr.po: Update from translation team.
9836
a8ebb2b9
AK
98372012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9838
9839 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9840
95b4f1b6
SE
98412012-12-19 Steve Ellcey <sellcey@mips.com>
9842
b2d94007 9843 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9844
cedb2a90
MS
98452012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9846
9847 * manual/contrib.texi (Contributors): Spelling correction.
9848
bbf527d6
DM
98492012-12-15 David S. Miller <davem@davemloft.net>
9850
9851 * po/ru.po: Update from translation team.
9852
bc38c906
DM
98532012-12-13 David S. Miller <davem@davemloft.net>
9854
85429b1a
DM
9855 * NEWS: Mention IFUNC testsuite enhancements.
9856
d283e353
DM
9857 * po/pl.po: Update from translation team.
9858 * po/bg.po: Likewise.
9859
bc38c906
DM
9860 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9861 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9862
a181b0d7
DM
98632012-12-11 David S. Miller <davem@davemloft.net>
9864
4641d57e
DM
9865 * po/sv.po: Update from translation team.
9866
f7bc6495
DM
9867 * po/vi.po: Update from translation team.
9868
6fc9048f
DM
9869 * po/cs.po: Update from translation team.
9870
a181b0d7
DM
9871 * po/de.po: Update from translation team.
9872 * po/eo.po: Likewise.
9873 * po/nl.po: Likewise.
9874
f70bfe80
SP
98752012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9876
3c8b4190
SP
9877 [BZ #14246]
9878 * manual/argp.texi (Argp Helper Functions): Move node to follow
9879 Argp Parsing State.
9880
f70bfe80
SP
9881 [BZ #14872]
9882 * manual/conf.texi (Limits on File System Capacity): Mention if
9883 terminating null is included in the max size.
9884
188f0adf
AJ
98852012-12-10 Andreas Jaeger <aj@suse.de>
9886
9887 * po/cs.po: Update from translation team.
9888
56e7d3ad
SP
98892012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9890
9891 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9892 void pointer and cast to uintptr_t.
9893 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9894 path.
9895 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9896 * sysdeps/s390/s390-64/memset.S: Likewise.
9897
76f2d2ea 98982012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9899
9900 [BZ #14833]
9901 * menual/message.texi (Message Translation): Fix typos.
9902 (Helper programs for gettext): Likewise.
9903
67cbf9a2
AS
99042012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9905
9906 [BZ #14898]
9907 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9908 Change to -1.
9909
682d0e9a
DM
99102012-12-07 David S. Miller <davem@davemloft.net>
9911
9912 * po/libc.pot: Update.
9913
573cd484
RH
99142012-12-07 Richard Henderson <rth@redhat.com>
9915
7e9da188 9916 [BZ #10114]
573cd484
RH
9917 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9918 normal/normal case to before the switch.
9919 (_FP_DIV): Likewise.
9920
e933a943
MF
99212012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9922 Mike Frysinger <vapier@gentoo.org>
9923
9924 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9925 check for __NR_fadvise64_64.
9926
82123268
CM
99272012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9928
9929 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9930 0, not just to plain "0" as a statement.
9931 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9932 with cw.
9933
d9814526
JM
99342012-12-06 Joseph Myers <joseph@codesourcery.com>
9935
9936 * NEWS: Use sourceware.org in Bugzilla URL.
9937
7728c574
SP
99382012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9939
f16946dd
SP
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9941 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9942
5704bbcb
SP
9943 * stdio-common/tst-put-error.c (do_test): Add newline to the
9944 padded test to ensure flush.
9945
17aa0516
JL
99462012-12-05 Jeff Law <law@redhat.com>
9947
9948 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9949
363313b5
JM
99502012-12-05 Joseph Myers <joseph@codesourcery.com>
9951
effbd42a
JM
9952 * README: Don't refer to ports add-on as distributed separately.
9953 Mention AArch64 in list of systems supported in the ports add-on.
9954
87600365
JM
9955 * LICENSES: Add more non-FSF copyright and license notices.
9956
a0d7066a
JM
9957 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9958 ((unused)).
9959
66ca5a5b
JM
9960 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9961
363313b5
JM
9962 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9963 10000 as width of padded output.
9964
b37984ad
JM
99652012-12-04 Joseph Myers <joseph@codesourcery.com>
9966
9003570a
JM
9967 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9968
b37984ad
JM
9969 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9970 variable LX with __attribute__ ((unused)).
9971 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9972 Likewise.
9973 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9976 with __attribute__ ((unused)).
9977
c8df52ec
DM
99782012-12-04 David S. Miller <davem@abraco.davemloft.net>
9979
9980 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9981
b3b099af
JM
99822012-12-04 Joseph Myers <joseph@codesourcery.com>
9983
c33aa6e3
JM
9984 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9985 (CFLAGS-nldbl-acos.c): New variable.
9986 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9987 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9988 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9989 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9990 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9991 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9992 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9993 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9994 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9995 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9996 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9997 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9998 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9999 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10000 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10001 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10002 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10003 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10004 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10005 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10006 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10007 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10008 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10009 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10010 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10011 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10012 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10013 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10014 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10015 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10016 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10017 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10018 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10019 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10020 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10021 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10022 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10023 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10024 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10025 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10026 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10027 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10028 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10029 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10030 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10031 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10032 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10033 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10034 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10035 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10036 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10037 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10038 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10039 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10040 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10041 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10042 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10043 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10044 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10045 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10046 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10047 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10048 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10049 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10050 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10051 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10052 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10053 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10054 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10055 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10056 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10057 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10058 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10059 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10060 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10061 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10062 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10063 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10064 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10065 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10066 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10067 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10068 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10069 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10070 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10071 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10072 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10073 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10074 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10075 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10076 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10077 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10078 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10079 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10080 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10081 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10082 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10083
20f0018d
JM
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10085 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10086
b3b099af
JM
10087 [BZ #14914]
10088 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10089 whole low double instead of just low 47 bits when splitting values
10090 into two parts.
10091
029264d1
AM
100922012-12-03 Allan McRae <allan@archlinux.org>
10093
10094 * manual/stdio.texi (Predefined Printf Handlers): Remove
10095 @hsep and @vsep usage.
10096
c9d6789e
MF
100972012-12-03 Mike Frysinger <vapier@gentoo.org>
10098
10099 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10100 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10101
4b7634a5
JL
101022012-12-03 Jeff Law <law@redhat.com>
10103
10104 * time/sys/time.h (settimeofday): Do not mark TV argument
10105 as __nonnull.
10106
eb6cbd24
MF
101072012-12-01 Mike Frysinger <vapier@gentoo.org>
10108
10109 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10110 when currently writing and seek to current position when not.
10111 * libio/Makefile (tests): Remove bug-fclose1.
10112 * libio/bug-fclose1.c: Delete.
10113
f638872a
JM
101142012-12-01 Joseph Myers <joseph@codesourcery.com>
10115
10116 * manual/arith.texi (feenableexcept): Fix typo.
10117 (fedisableexcept): Likewise.
10118
48085d14
RM
101192012-11-30 Roland McGrath <roland@hack.frob.com>
10120
10121 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10122 second, differently-typed declaration, rather than a cast.
10123
1a538b9f
SP
101242012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10125
10126 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10127 * include/rpc/svc.h: ... here.
10128
d07f2ff1 101292012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10130
10131 [BZ #13013]
10132 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10133 depending n and resplen2 to catch cases where answer
10134 equals answerp2.
10135
c93ec1f0
CD
101362012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10137
10138 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10139 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10140
37db69de
MF
101412012-11-29 Mike Frysinger <vapier@gentoo.org>
10142
10143 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10144
e10c4e4f
RM
101452012-11-29 Roland McGrath <roland@hack.frob.com>
10146
10147 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10148
2af1b328
JL
101492012-11-28 Jeff Law <law@redhat.com>
10150
10151 [BZ #13761]
10152 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10153 dataset_temporary. Track alloca usage into alloca_used.
10154 If dataset is large allocate and release it via malloc/free.
10155
111db5b1
FW
101562012-06-04 Florian Weimer <fweimer@redhat.com>
10157
f06cc227 10158 [BZ #14197]
111db5b1
FW
10159 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10160
dd694abd
DM
101612012-11-28 David S. Miller <davem@davemloft.net>
10162
10163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10164
9984dd01
JM
101652012-11-28 Joseph Myers <joseph@codesourcery.com>
10166
10167 [BZ #14803]
10168 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10169 of pi/2 rounded to nearest to 64 bits.
10170 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10171 nearest to 64 bits.
10172 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10173 bits.
10174
14bc93a9
JL
101752012-11-28 Jeff Law <law@redhat.com>
10176 Martin Osvald <mosvald@redhat.com>
10177
10178 [BZ #14889]
10179 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10180 * sunrpc/svc.c: Include time.h.
10181 (__svc_accept_failed): New function.
10182 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10183 any reason other than EINTR, call __svc_accept_failed.
10184 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10185 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10186
e3c6aa3a
AS
101872012-11-28 Andreas Schwab <schwab@suse.de>
10188
10189 * scripts/abilist.awk: Also handle indirect functions in .opd
10190 section.
10191
1bead169
JM
101922012-11-28 Joseph Myers <joseph@codesourcery.com>
10193
10194 [BZ #13881]
10195 * sysdeps/x86/fpu/powl_helper.c: New file.
10196 * sysdeps/x86/fpu/Makefile: Likewise.
10197 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10198 (p3): New object.
10199 (__ieee754_powl): Use __powl_helper for finite arguments except
10200 integer exponents below 8.
10201 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10202 (p3): New object.
10203 (__ieee754_powl): Use __powl_helper for finite arguments except
10204 integer exponents below 8.
10205 * math/libm-test.inc (pow_test): Add more tests and enable some
10206 previously disabled tests.
10207 * sysdeps/i386/fpu/libm-test-ulps: Update.
10208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10209
0817d63d
SP
102102012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10211 Carlos O'Donell <carlos_odonell@mentor.com>
10212
10213 * nss/makedb.c (is_prime): Assert that input is odd and greater
10214 than 4. Note that fact in a comment too.
10215 (next_prime): Add 4 to input.
10216
de2fd463
SP
102172012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10218
10219 [BZ #11741]
10220 * libio/Makefile (tests): Add test case tst-fwrite-error.
10221 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10222 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10223 * libio/tst-fwrite-error.c: New test case.
10224
c515fb51
L
102252012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10226
10227 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10228 before casting to void *.
10229 * include/libc-internal.h (__pointer_type): New macro.
10230 (__integer_if_pointer_type_sub): Likewise.
10231 (__integer_if_pointer_type): Likewise.
10232 (cast_to_integer): Likewise.
10233 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10234 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10235 before casting to atomic64_t.
10236 (atomic_exchange_acq): Likewise.
10237 (__arch_exchange_and_add_body): Likewise.
10238 (__arch_add_body): Likewise.
10239 (atomic_add_negative): Likewise.
10240 (atomic_add_zero): Likewise.
10241
4cf77aa9
JM
102422012-11-26 Joseph Myers <joseph@codesourcery.com>
10243
10244 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10245 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10246 (add_fdes): Likewise.
10247 (linear_search_fdes): Likewise.
10248 (binary_search_unencoded_fdes): Likewise.
10249
d260b3b4
AS
102502012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10251
10252 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10253
67060746
AC
102542012-11-24 Adam Conrad <adconrad@0c3.net>
10255
10256 * configure.in: Autodetect C++ header directories.
10257 * configure: Regenerated.
10258
800938a1
MF
102592012-11-23 Mike Frysinger <vapier@gentoo.org>
10260
10261 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10262
4e6e34e6
AS
102632012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10264
10265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10266
7c7feb47
JM
102672012-11-22 Joseph Myers <joseph@codesourcery.com>
10268
7184dcdf
JM
10269 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10270 LDBL_MANT_DIG == 106]: Disable some tests.
10271 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10272 Likewise.
10273 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10274 Likewise.
10275
0a42601f
JM
10276 [BZ #14871]
10277 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10278 input for small inputs. Return +/- pi/2 for large inputs.
10279 * math/libm-test.inc (atan_test): Add more tests.
10280
79c9b9fe
JM
10281 * sysdeps/generic/unwind-dw2-fde-glibc.c
10282 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10283 __attribute__ ((unused)).
10284
c60d3bf2
JM
10285 [BZ #14645]
10286 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10287 x * y if x and y are nonzero and z is zero.
10288
ef1e0867
JM
10289 [BZ #14811]
10290 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10291 nonzero exponents with absolute value below 0x1p-117 to +/-
10292 0x1p-117.
10293
1468ded3
JM
10294 [BZ #14869]
10295 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10296 up arguments below 2**-450, not just those below 2**-500.
10297 * math/libm-test.inc (hypot_test): Add another test.
10298
8e27e3cc
JM
10299 [BZ #14868]
10300 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10301 Return a+b for ratio over 2**120, not 2**60.
10302 * math/libm-test.inc (hypot_test): Add another test.
10303
c9c0279b
JM
10304 * math/libm-test.inc (clog_test): Use
10305 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10306 (clog10_test): Likewise.
10307
7c7feb47
JM
10308 [BZ #6778]
10309 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10310
fff1530e
AS
103112012-11-22 Andreas Schwab <schwab@suse.de>
10312
10313 * sysdeps/i386/fpu/libm-test-ulps: Update.
10314
94558d30
PT
103152012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10316
10317 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10318 printf output with newline.
10319
7e1be741
L
103202012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10321
6bfea974
L
10322 [BZ #14865]
10323 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10324 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10325 -z nodlopen, -z initfirst and -z execstack support.
10326 * configure: Regenerated.
10327
7e1be741
L
10328 * elf/elf.h (DF_1_NODIRECT): New macro.
10329 (DF_1_IGNMULDEF): Likewise.
10330 (DF_1_NOKSYMS): Likewise.
10331 (DF_1_NOHDR): Likewise.
10332 (DF_1_EDITED): Likewise.
10333 (DF_1_NORELOC): Likewise.
10334 (DF_1_SYMINTPOSE): Likewise.
10335 (DF_1_GLOBAUDIT): Likewise.
10336 (DF_1_SINGLETON): Likewise.
10337 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10338 DT_1_SUPPORTED_MASK bits.
10339 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10340
105ce2ce
CD
103412012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10342
10343 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10344
123be9de
TS
103452012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10346
d072f3f7
TS
10347 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10348 macro.
10349
123be9de
TS
10350 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10351 (sendmmsg): Move declarations...
10352 * socket/sys/socket.h: ... here.
10353 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10354 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10355 include it from...
10356 * socket/recvmmsg.c: ... this new file.
10357 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10358 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10359 definition of __sendmmsg hidden.
10360 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10361 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10362 Move ENOSYS stub into and include it from...
10363 * socket/sendmmsg.c: ... this new file.
10364 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10365 (sysdep_routines): Move recvmmsg and sendmmsg...
10366 * socket/Makefile (routines): ... here.
10367 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10368 (GLIBC_PRIVATE): Add __sendmmsg.
10369 * include/sys/socket.h (__sendmmsg): Add declarations.
10370 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10371 sendmmsg.
10372
cf9a5d18
JM
103732012-11-20 Joseph Myers <joseph@codesourcery.com>
10374
10375 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10376 variable I1 with __attribute__ ((unused)).
10377 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10378
ecd4caf9
JM
103792012-11-19 Joseph Myers <joseph@codesourcery.com>
10380
be14d48f
JM
10381 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10382 DUMMY variables with __attribute__ ((unused)).
10383
ecd4caf9
JM
10384 * bits/byteswap.h: Include <bits/types.h>.
10385 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10386
986cab95
PT
103872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10388
10389 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10390 string_t. Do not manually set errno.
10391 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10392 length with __strnlen. Make sure to both set errno and return it on
10393 failure.
10394
6d33cc9d
DM
103952012-11-19 David S. Miller <davem@davemloft.net>
10396
10397 With help from Joseph Myers.
10398 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10399 very large arguments properly.
10400 * math/libm-test.inc (atan_test): New tests.
10401 (atan2_test): New tests.
10402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10404
ee663277
JM
104052012-11-19 Joseph Myers <joseph@codesourcery.com>
10406
877f2d8e
JM
10407 [BZ #14856]
10408 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10409 Define to 3.
10410
116fc08a
JM
10411 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10412 [POSIX] (EADDRNOTAVAIL): Likewise.
10413 [POSIX] (EAFNOSUPPORT): Likewise.
10414 [POSIX] (EALREADY): Likewise.
10415 [POSIX] (ECONNABORTED): Likewise.
10416 [POSIX] (ECONNREFUSED): Likewise.
10417 [POSIX] (ECONNRESET): Likewise.
10418 [POSIX] (EDESTADDRREQ): Likewise.
10419 [POSIX] (EDQUOT): Likewise.
10420 [POSIX] (EHOSTUNREACH): Likewise.
10421 [POSIX] (EIDRM): Likewise.
10422 [POSIX] (EISCONN): Likewise.
10423 [POSIX] (ELOOP): Likewise.
10424 [POSIX] (EMULTIHOP): Likewise.
10425 [POSIX] (ENETDOWN): Likewise.
10426 [POSIX] (ENETUNREACH): Likewise.
10427 [POSIX] (ENOBUFS): Likewise.
10428 [POSIX] (ENODATA): Likewise.
10429 [POSIX] (ENOLINK): Likewise.
10430 [POSIX] (ENOMSG): Likewise.
10431 [POSIX] (ENOPROTOOPT): Likewise.
10432 [POSIX] (ENOSR): Likewise.
10433 [POSIX] (ENOSTR): Likewise.
10434 [POSIX] (ENOTCONN): Likewise.
10435 [POSIX] (ENOTSOCK): Likewise.
10436 [POSIX] (EOPNOTSUPP): Likewise.
10437 [POSIX] (EOVERFLOW): Likewise.
10438 [POSIX] (EPROTO): Likewise.
10439 [POSIX] (EPROTONOSUPPORT): Likewise.
10440 [POSIX] (EPROTOTYPE): Likewise.
10441 [POSIX] (ESTALE): Likewise.
10442 [POSIX] (ETIME): Likewise.
10443 [POSIX] (ETXTBSY): Likewise.
10444 [POSIX] (EWOULDBLOCK): Likewise.
10445 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10446 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10447 [POSIX] (SEEK_CUR): Likewise.
10448 [POSIX] (SEEK_END): Likewise.
10449 [POSIX || UNIX98] (mode_t): Do not require.
10450 [POSIX] (off_t): Likewise.
10451 [POSIX] (pid_t): Likewise.
10452 [POSIX] (sys/stat.h): Do not allow header.
10453 [POSIX] (unistd.h): Likewise.
10454 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10455 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10456 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10457 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10458 require.
10459 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10460 sigevent): Specify elements.
10461 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10462 entry.
10463 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10464 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10465
a483863f
JM
10466 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10467 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10468 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10469 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10470 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10471 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10472 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10473 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10474 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10475 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10476 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10477 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10478 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10479 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10480 Likewise.
10481 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10482 Likewise.
10483 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10484 Likewise.
10485 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10486 Likewise.
10487 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10488 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10489 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10490 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10491 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10492 Specify lower bound on value.
10493 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10494 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10495 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10496 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10497 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10498 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10499 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10500 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10501 value.
10502 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10503 as optional.
10504 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10505 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10506 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10507 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10508 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10509 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10510 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10512 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10513 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10514 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10519 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10520 entry.
10521 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10522 optional.
10523 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10524 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10526 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10527 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10528 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10529 Likewise.
10530 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10531 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10532 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10533 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10534 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10535 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10536 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10537 as optional.
10538 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10539 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10540 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10541 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10542 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10543 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10544 specify as optional.
10545 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10546 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10547 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10548 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10549 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10550 [XPG3] (NL_LANGMAX): Likewise.
10551 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10552 [POSIX || XPG3] (NL_NMAX): Likewise.
10553 [POSIX || XPG3] (NL_SETMAX): Likewise.
10554 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10555 [XPG3] (NZERO): Likewise.
10556 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10557 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10558 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10559 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10560 (REG_ERANGE): Expect.
10561 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10562 optional-constant.
10563 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10564 Use (void) in prototype.
10565 [POSIX] (*_t): Allow.
10566 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10567 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10568 (WRDE_BADVAL): Expect.
10569
5ba924e3
JM
10570 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10571 expect.
10572 [XPG3 || XPG4] (O_RSYNC): Likewise.
10573 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10574 Likewise.
10575 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10576 [XPG3 || XPG4] (sigqueue): Likewise.
10577 [XPG3 || XPG4] (sigtimedwait): Likewise.
10578 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10579 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10580 [XPG3 || XPG4] (vsnprintf): Likewise.
10581 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10582 Likewise.
10583 [XPG3 || XPG4] (blksize_t): Likewise.
10584 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10585 Likewise.
10586 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10587 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10588 [XPG3 || XPG4] (struct itimerspec): Likewise.
10589 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10590 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10591 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10592 [XPG3 || XPG4] (clockid_t): Likewise.
10593 [XPG3 || XPG4] (timer_t): Likewise.
10594 [XPG3 || XPG4] (clock_getres): Likewise.
10595 [XPG3 || XPG4] (clock_gettime): Likewise.
10596 [XPG3 || XPG4] (clock_settime): Likewise.
10597 [XPG3 || XPG4] (nanosleep): Likewise.
10598 [XPG3 || XPG4] (timer_create): Likewise.
10599 [XPG3 || XPG4] (timer_delete): Likewise.
10600 [XPG3 || XPG4] (timer_gettime): Likewise.
10601 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10602 [XPG3 || XPG4] (timer_settime): Likewise.
10603 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10604 [XPG3 || XPG4] (getlogin_r): Likewise.
10605 [XPG3 || XPG4] (pread): Likewise.
10606 [XPG3 || XPG4] (pthread_atfork): Likewise.
10607 [XPG3 || XPG4] (pwrite): Likewise.
10608
ee663277
JM
10609 [BZ #14835]
10610 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10611 <bits/siginfo.h>.
10612
942caa16
PT
106132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10614
e19af380
PT
10615 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10616 finalizing MALLSTREAM.
10617
942caa16
PT
10618 * sysdeps/mach/hurd/syncfs.c: New file.
10619
cfde9b46
SP
106202012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10621
10622 [BZ #14719]
10623 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10624 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10625 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10626 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10627 (_nss_dns_gethostbyname4_r): Likewise.
10628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10629 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10630
f6da27e5
PH
106312012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10632
10633 [BZ #13763]
10634 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10635
6665d4a2
SM
106362012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10637
1f51ee92
SM
10638 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10639 * elf/cache.c (print_entry): Print ",AArch64" for
10640 FLAG_AARCH64_LIB64
10641
6665d4a2
SM
10642 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10643 * elf/cache.c (print_entry): Print ",hard-float" for
10644 FLAG_ARM_LIBHF.
10645
05b227bd
DM
106462012-11-18 David S. Miller <davem@davemloft.net>
10647
10648 With help from Joseph Myers.
10649 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10650 cutoff to 2**-13.
10651 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10652 cutoff to 2**-25.
10653 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10654 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10655 small.
10656 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10657 * math/libm-test.inc (y0_test): New tests.
10658 (y1_test): New tests.
10659 * sysdeps/i386/fpu/libm-test-ulps: Update.
10660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10662
786b0b67
AS
106632012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10664
10665 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10666 64-bit targets.
10667 * configure: Regenerated.
10668
8e18b86d
DM
106692012-11-17 David S. Miller <davem@davemloft.net>
10670
10671 [BZ #14811]
10672 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10673 nonzero exponents with absolute value below 0x1p-128 to +/-
10674 0x1p-128.
10675
531f1ae0
JM
106762012-11-17 Joseph Myers <joseph@codesourcery.com>
10677
12df29e2
JM
10678 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10679
150dc1a0
JM
10680 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10681
531f1ae0
JM
10682 * posix/getconf-speclist.c: New file.
10683 * posix/posix-envs.def: Likewise.
10684 * posix/confstr.c (START_ENV_GROUP): New macro.
10685 (END_ENV_GROUP): Likewise.
10686 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10687 (KNOWN_PRESENT_ENV_STRING): Likewise.
10688 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10689 (UNKNOWN_ENVIRONMENT): Likewise.
10690 (confstr): Include posix-envs.def instead of handling
10691 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10692 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10693 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10694 (END_ENV_GROUP): Likewise.
10695 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10696 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10697 (UNKNOWN_ENVIRONMENT): Likewise.
10698 (__sysconf): Include posix-envs.def instead of handling associated
10699 cases directly here.
10700 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10701 preprocessing getconf-speclist.c rather than running getconf or
10702 generating empty file.
10703
a93f9cbc
PT
107042012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10705
10706 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10707
d64d9f87
AL
107082012-11-16 Andrej Lajovic <natrij@gmail.com>
10709
10710 [BZ #14672]
10711 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10712
447885eb
DM
107132012-11-16 David S. Miller <davem@davemloft.net>
10714
10715 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10716 smaller than LDBL_EPSILON/2.0L, just return xm1.
10717
bcbf9830
L
107182012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10719
10720 * elf/tst-array1.c (init): Set constructor priority to 1000.
10721 (fini): Set destructor priority to 1000.
10722 * elf/tst-array2dep.c: Likewise.
10723
2b766585
SP
107242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10725
10726 [BZ #11741]
10727 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10728 (_IO_new_file_xsputn): Also return EOF if none of the input
10729 data was written when overflow failed.
10730 * libio/iopadn.c (_IO_padn): Likewise.
10731 * libio/iowpadn.c (_IO_wpadn): Likewise.
10732 * stdio-common/tst-put-error.c: Add copyright notice.
10733 (do_test): Add case for printing padded string.
10734 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10735 _IO_padn returned error.
10736 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10737 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10738 return EOF.
10739
b1848fde
SP
107402012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10741
10742 * libio/libioP.h: Add comment note that the references to C++
10743 bits are now obsolete.
10744
2fd89785
MS
107452012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10746
10747 * math/libm-test.inc (check_complex): Use asprintf.
10748
e3ea5409
JM
107492012-11-14 Joseph Myers <joseph@codesourcery.com>
10750
10751 * debug/pcprofiledump.c (print_version): Update copyright year.
10752 * malloc/memusagestat.c (print_version): Likewise.
10753
2e64d265
L
107542012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10755
10756 [BZ #14831]
10757 * elf/Makefile (tests): Add tst-audit8.
10758 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10759 ($(objpfx)tst-audit8.out): New target.
10760 (tst-audit8-ENV): New variable.
10761 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10762 audit if l_reloc_result is NULL.
10763 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10764 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10765 * elf/tst-audit8.c: New file.
10766
c485e4d2
MS
107672012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10768
10769 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10770 * misc/Makefile (CFLAGS-select.c): Define.
10771 * posix/Makefile (CFLAGS-pause.c): Define.
10772
3a0d900a
DM
107732012-11-13 David S. Miller <davem@davemloft.net>
10774
10775 * crypt/Makefile: Move test targets after toplevel Rules
10776 inclusion. Grab any necessary sysdep routines when linking.
10777 * crypt/md5.c (md5_process_block): Remove define, we will always
10778 name it __md5_process_block.
10779 (md5_finish_ctx): Update md5_process_block call.
10780 (md5_stream): Likewise.
10781 (md5_process_bytes): Likewise.
10782 (md5_process_block): Rename to __md5_process_block and move to ...
10783 * crypt/md5-block.c: ... here.
10784 * crypt/sha256.c (sha256_process_block): Move to ...
10785 * crypt/sha256-block.c: ... here.
10786 * crypt/sha512.c (sha512_process_block): Move to ...
10787 * crypt/sha512-block.c: ... here.
10788 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10789 path.
10790 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10791 * sysdeps/sparc/sparc64/multiarch/Makefile
10792 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10793 crypt subdir.
10794 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10795 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10796 multiarch changes.
10797 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10798 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10799 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10800 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10801 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10802 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10803 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10804 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10805 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10806 file.
10807 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10808 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10809 file.
10810 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10811
8ca89318
JM
108122012-11-13 Joseph Myers <joseph@codesourcery.com>
10813
e27d476a
JM
10814 * timezone/tzselect.ksh: Update from tzcode git revision
10815 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10816 * timezone/zdump.c: Likewise.
10817 * timezone/zic.c: Likewise.
10818 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10819 in TZVERSION setting, not $(PKGVERSION).
10820 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10821 REPORT_BUGS_TO settings.
10822
8ca89318
JM
10823 [BZ #14838]
10824 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10825 macro.
10826
47594329
MS
108272012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10828
10829 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10830 detection to immediately after _FP_ROUND().
10831 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10832 bits are 0.
10833
640ac3f1
DM
108342012-11-11 David S. Miller <davem@davemloft.net>
10835
10836 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10837 inttypes.h
10838 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10839 __close rather than their public counterparts.
10840
3d2577bb
JM
108412012-11-10 Joseph Myers <joseph@codesourcery.com>
10842
10843 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10844 file.
10845 [UNIX98] (sem_timedwait): Do not expect.
10846 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10847 [XPG4 || UNIX98] (sockatmark): Do not expect.
10848 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10849 (clock_getcpuclockid): Do not expect.
10850 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10851 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10852 Do not expect.
10853 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10854 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10855 [UNIX98] (vwscanf): Likewise.
10856 [UNIX98] (vswscanf): Likewise.
10857
fb1ae1ee
JM
108582012-11-09 Joseph Myers <joseph@codesourcery.com>
10859
9ec6f8bd
JM
10860 * timezone/version.h: Remove file.
10861 * timezone/README: Do not refer to version.h.
10862 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10863 $(objpfx)version.h.
10864 ($(objpfx)zdump.o): Likewise.
c3f81911 10865 ($(objpfx)version.h): New target.
9ec6f8bd 10866
0aa8f8a1
JM
10867 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10868 2012i.
10869 * timezone/README: Don't mention modification to tzselect.ksh.
10870 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10871 work on unmodified tzselect.ksh. Substitute version numbers in
10872 tzselect.ksh.
10873
4e87147f
JM
10874 * Makefile (format-me): Remove.
10875 (INSTALL): Adjust indentation. Use commands directly instead of
10876 using $(format-me).
10877
8b748aed
JM
10878 * aclocal.m4 (ACX_PKGVERSION): New macro.
10879 (ACX_BUGURL): Likewise.
10880 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10881 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10882 (REPORT_BUGS_TO): Likewise.
10883 * configure: Regenerated.
10884 * config.h.in (PKGVERSION): New macro.
10885 (REPORT_BUGS_TO): Likewise.
10886 * config.make.in (PKGVERSION): New variable.
10887 (PKGVERSION_TEXI): Likewise.
10888 (REPORT_BUGS_TO): Likewise.
10889 (REPORT_BUGS_TEXI): Likewise.
10890 * Makefile (format-me): Use -I$(common-objpfx)manual.
10891 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10892 ($(common-objpfx)manual/%): New target.
10893 (manual/%): Remove target.
10894 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10895 (print_version): Use PKGVERSION.
10896 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10897 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10898 and REPORT_BUGS_TO.
10899 ($(objpfx)xtrace): Likewise.
10900 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10901 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10902 (print_version): Use PKGVERSION.
10903 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10904 (do_version): Use PKGVERSION.
10905 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10906 REPORT_BUGS_TO.
10907 (common-ldd-rewrite): Likewise.
10908 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10909 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10910 (print_version): Use PKGVERSION.
10911 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10912 * elf/pldd.c (argp_program_bug_address): Remove variable.
10913 (more_help): New function.
10914 (argp): Use more_help.
10915 (print_version): Use PKGVERSION.
10916 * elf/sln.c (main): Use PKGVERSION.
10917 (usage): Use REPORT_BUGS_TO.
10918 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10919 (top level): Use PKGVERSION.
10920 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10921 (print_version): Use PKGVERSION.
10922 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10923 (print_version): Use PKGVERSION.
10924 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10925 (print_version): Use PKGVERSION.
10926 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10927 (print_version): Use PKGVERSION.
10928 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10929 (print_version): Use PKGVERSION.
10930 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10931 (print_version): Use PKGVERSION.
10932 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10933 and BUGURL.
10934 ($(objpfx)memusage): Likewise.
10935 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10936 (do_version): Use PKGVERSION.
10937 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10938 (print_version): Use PKGVERSION.
10939 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10940 ($PKGVERSION): New variable.
10941 ($REPORT_BUGS_TO): Likewise.
10942 (usage): Use $REPORT_BUGS_TO.
10943 (top level): Use $PKGVERSION.
10944 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10945 ($(objpfx)pkgvers.texi): New rule.
10946 ($(objpfx)stamp-pkgvers): Likewise.
10947 * manual/install.texi: Include pkgvers.texi.
10948 (--with-pkgversion): Document new configure option.
10949 (--with-bugurl): Likewise.
10950 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10951 than necessarily for this particular distribution. Use
10952 REPORT_BUGS_TO for where to report bugs.
10953 * INSTALL: Regenerated.
10954 * manual/libc.texinfo: Include pkgvers.texi.
10955 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10956 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10957 (print_version): Use PKGVERSION.
10958 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10959 (print_version): Use PKGVERSION.
10960 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10961 (print_version): Use PKGVERSION.
10962 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10963 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10964 macro.
10965 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10966 (print_version): Use PKGVERSION.
10967 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10968 (print_version): Use PKGVERSION.
10969 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10970 and PKGVERSION.
10971
92e4b6a9
JM
10972 * timezone/checktab.awk: Update from tzcode 2012i.
10973 * timezone/ialloc.c: Likewise.
10974 * timezone/private.h: Likewise.
10975 * timezone/scheck.c: Likewise.
10976 * timezone/tzfile.h: Likewise.
10977 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10978 (TZVERSION): Hardcode tzcode version number.
10979 * timezone/zdump.c: Update from tzcode 2012i.
10980 * timezone/zic.c: Likewise.
10981 * timezone/version.h: New file.
10982 * timezone/README: Describe version.h. Update upstream location.
10983
9bde902c
JM
10984 [BZ #14824]
10985 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10986 (mktemp): Enable declaration.
10987 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10988 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10989 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10990 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10991 Likewise.
10992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10993 Likewise.
10994 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10995 Likewise.
10996 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10997 Likewise.
10998 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10999 Likewise.
11000 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11001 Likewise.
11002
fb1ae1ee
JM
11003 [BZ #14821]
11004 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11005 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11006 for copies of such integer values.
11007 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11008 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11009
2c1adbcb
AJ
110102012-11-09 Andreas Jaeger <aj@suse.de>
11011
11012 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11013 definitions and declarations that are provided by
11014 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11015
d0f8457e
AK
110162012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11017
3a235abb 11018 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11019 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11020 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11021 definition.
11022
57241e26
MS
110232012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11024
11025 * elf/elf.h: Update comment before AArch64 relocations.
11026
60e8270d
DM
110272012-11-07 David S. Miller <davem@davemloft.net>
11028
11029 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11030 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11031 (__start_context): Declare.
11032 (__makecontext_ret): Delete.
11033 (__makecontext): Hook up __start_context instead of
11034 __makecontext_ret.
11035 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11036 (sysdep_routines): Add __start_context when in stdlib.
11037
0fbb0fbc
JM
110382012-11-07 Joseph Myers <joseph@codesourcery.com>
11039
11040 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11041 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11042 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11043 hardcoded "nm".
11044 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11045 (READELF): New variable. Use it instead of hardcoded "readelf".
11046
eb48db7e
L
110472012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11048
11049 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11050 * sysdeps/x86/Makefile: Here.
11051 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11052 * sysdeps/x86/tst-xmmymm.sh: This.
11053
05bcf62a
JM
110542012-11-07 Joseph Myers <joseph@codesourcery.com>
11055
c4b6cf53
JM
11056 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11057 expectations.
11058 [UNIX98] (pthread_barrier_t): Do not expect.
11059 [UNIX98] (pthread_barrierattr_t): Likewise.
11060 [UNIX98] (pthread_spinlock_t): Likewise.
11061 [UNIX98] (pthread_barrier_destroy): Likewise.
11062 [UNIX98] (pthread_barrier_init): Likewise.
11063 [UNIX98] (pthread_barrier_wait): Likewise.
11064 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11065 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11066 [UNIX98] (pthread_barrierattr_init): Likewise.
11067 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11068 [UNIX98] (pthread_getcpuclockid): Likewise.
11069 [UNIX98] (pthread_mutex_timedlock): Likewise.
11070 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11071 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11072 [UNIX98] (pthread_sigmask): Likewise.
11073 [UNIX98] (pthread_spin_destroy): Likewise.
11074 [UNIX98] (pthread_spin_init): Likewise.
11075 [UNIX98] (pthread_spin_lock): Likewise.
11076 [UNIX98] (pthread_spin_trylock): Likewise.
11077 [UNIX98] (pthread_spin_unlock): Likewise.
11078 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11079 Do not expect.
11080 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11081 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11082 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11083 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11084 [XPG3 || XPG4] (pthread_key_t): Likewise.
11085 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11086 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11087 [XPG3 || XPG4] (pthread_once_t): Likewise.
11088 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11089 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11090 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11091 [XPG3 || XPG4] (pthread_t): Likewise.
11092
cbe6e120
JM
11093 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11094 not expect.
11095 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11096
1b126443
JM
11097 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11098 Change function return type to int.
11099
b961a573
JM
11100 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11101 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11102 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11103 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11104 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11105 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11106 [!POSIX] (posix_madvise): Likewise.
11107 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11108 && !UNIX98].
11109 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11110 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11111 (mode_t): Likewise.
11112 (posix_mem_offset): Likewise.
11113 (posix_typed_mem_get_info): Likewise.
11114 (posix_typed_mem_open): Likewise.
11115
9e188909
JM
11116 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11117 Change condition to [XOPEN2K8].
11118
05bcf62a
JM
11119 * conform/conformtest.pl: Preprocess allow-header data with -x c
11120 instead of from stdin.
11121 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11122 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11123 [C99-based standards] (cerfc): Likewise.
11124 [C99-based standards] (cexp2): Likewise.
11125 [C99-based standards] (cexpm1): Likewise.
11126 [C99-based standards] (clog10): Likewise.
11127 [C99-based standards] (clog1p): Likewise.
11128 [C99-based standards] (clog2): Likewise.
11129 [C99-based standards] (clgamma): Likewise.
11130 [C99-based standards] (ctgamma): Likewise.
11131 [C99-based standards] (cerff): Likewise.
11132 [C99-based standards] (cerfcf): Likewise.
11133 [C99-based standards] (cexp2f): Likewise.
11134 [C99-based standards] (cexpm1f): Likewise.
11135 [C99-based standards] (clog10f): Likewise.
11136 [C99-based standards] (clog1pf): Likewise.
11137 [C99-based standards] (clog2f): Likewise.
11138 [C99-based standards] (clgammaf): Likewise.
11139 [C99-based standards] (ctgammaf): Likewise.
11140 [C99-based standards] (cerfl): Likewise.
11141 [C99-based standards] (cerfcl): Likewise.
11142 [C99-based standards] (cexp2l): Likewise.
11143 [C99-based standards] (cexpm1l): Likewise.
11144 [C99-based standards] (clog10l): Likewise.
11145 [C99-based standards] (clog1pl): Likewise.
11146 [C99-based standards] (clog2l): Likewise.
11147 [C99-based standards] (clgammal): Likewise.
11148 [C99-based standards] (ctgammal): Likewise.
11149 * conform/data/inttypes.h-data [C99-based standards]: Include
11150 stdint.h-data. Remove all expectations for stdint.h contents.
11151 [C99-based standards] (PRI*): Do not allow.
11152 [C99-based standards] (SCN*): Likewise.
11153 [C99-based standards] (*_t): Likewise.
11154 [C99-based-standards] (PRId8): Expect macro.
11155 [C99-based-standards] (PRIi8): Likewise.
11156 [C99-based-standards] (PRIo8): Likewise.
11157 [C99-based-standards] (PRIu8): Likewise.
11158 [C99-based-standards] (PRIx8): Likewise.
11159 [C99-based-standards] (PRIX8): Likewise.
11160 [C99-based-standards] (SCNd8): Likewise.
11161 [C99-based-standards] (SCNi8): Likewise.
11162 [C99-based-standards] (SCNo8): Likewise.
11163 [C99-based-standards] (SCNu8): Likewise.
11164 [C99-based-standards] (SCNx8): Likewise.
11165 [C99-based-standards] (PRIdLEAST8): Likewise.
11166 [C99-based-standards] (PRIiLEAST8): Likewise.
11167 [C99-based-standards] (PRIoLEAST8): Likewise.
11168 [C99-based-standards] (PRIuLEAST8): Likewise.
11169 [C99-based-standards] (PRIxLEAST8): Likewise.
11170 [C99-based-standards] (PRIXLEAST8): Likewise.
11171 [C99-based-standards] (SCNdLEAST8): Likewise.
11172 [C99-based-standards] (SCNiLEAST8): Likewise.
11173 [C99-based-standards] (SCNoLEAST8): Likewise.
11174 [C99-based-standards] (SCNuLEAST8): Likewise.
11175 [C99-based-standards] (SCNxLEAST8): Likewise.
11176 [C99-based-standards] (PRIdFAST8): Likewise.
11177 [C99-based-standards] (PRIiFAST8): Likewise.
11178 [C99-based-standards] (PRIoFAST8): Likewise.
11179 [C99-based-standards] (PRIuFAST8): Likewise.
11180 [C99-based-standards] (PRIxFAST8): Likewise.
11181 [C99-based-standards] (PRIXFAST8): Likewise.
11182 [C99-based-standards] (SCNdFAST8): Likewise.
11183 [C99-based-standards] (SCNiFAST8): Likewise.
11184 [C99-based-standards] (SCNoFAST8): Likewise.
11185 [C99-based-standards] (SCNuFAST8): Likewise.
11186 [C99-based-standards] (SCNxFAST8): Likewise.
11187 [C99-based-standards] (PRId16): Likewise.
11188 [C99-based-standards] (PRIi16): Likewise.
11189 [C99-based-standards] (PRIo16): Likewise.
11190 [C99-based-standards] (PRIu16): Likewise.
11191 [C99-based-standards] (PRIx16): Likewise.
11192 [C99-based-standards] (PRIX16): Likewise.
11193 [C99-based-standards] (SCNd16): Likewise.
11194 [C99-based-standards] (SCNi16): Likewise.
11195 [C99-based-standards] (SCNo16): Likewise.
11196 [C99-based-standards] (SCNu16): Likewise.
11197 [C99-based-standards] (SCNx16): Likewise.
11198 [C99-based-standards] (PRIdLEAST16): Likewise.
11199 [C99-based-standards] (PRIiLEAST16): Likewise.
11200 [C99-based-standards] (PRIoLEAST16): Likewise.
11201 [C99-based-standards] (PRIuLEAST16): Likewise.
11202 [C99-based-standards] (PRIxLEAST16): Likewise.
11203 [C99-based-standards] (PRIXLEAST16): Likewise.
11204 [C99-based-standards] (SCNdLEAST16): Likewise.
11205 [C99-based-standards] (SCNiLEAST16): Likewise.
11206 [C99-based-standards] (SCNoLEAST16): Likewise.
11207 [C99-based-standards] (SCNuLEAST16): Likewise.
11208 [C99-based-standards] (SCNxLEAST16): Likewise.
11209 [C99-based-standards] (PRIdFAST16): Likewise.
11210 [C99-based-standards] (PRIiFAST16): Likewise.
11211 [C99-based-standards] (PRIoFAST16): Likewise.
11212 [C99-based-standards] (PRIuFAST16): Likewise.
11213 [C99-based-standards] (PRIxFAST16): Likewise.
11214 [C99-based-standards] (PRIXFAST16): Likewise.
11215 [C99-based-standards] (SCNdFAST16): Likewise.
11216 [C99-based-standards] (SCNiFAST16): Likewise.
11217 [C99-based-standards] (SCNoFAST16): Likewise.
11218 [C99-based-standards] (SCNuFAST16): Likewise.
11219 [C99-based-standards] (SCNxFAST16): Likewise.
11220 [C99-based-standards] (PRId32): Likewise.
11221 [C99-based-standards] (PRIi32): Likewise.
11222 [C99-based-standards] (PRIo32): Likewise.
11223 [C99-based-standards] (PRIu32): Likewise.
11224 [C99-based-standards] (PRIx32): Likewise.
11225 [C99-based-standards] (PRIX32): Likewise.
11226 [C99-based-standards] (SCNd32): Likewise.
11227 [C99-based-standards] (SCNi32): Likewise.
11228 [C99-based-standards] (SCNo32): Likewise.
11229 [C99-based-standards] (SCNu32): Likewise.
11230 [C99-based-standards] (SCNx32): Likewise.
11231 [C99-based-standards] (PRIdLEAST32): Likewise.
11232 [C99-based-standards] (PRIiLEAST32): Likewise.
11233 [C99-based-standards] (PRIoLEAST32): Likewise.
11234 [C99-based-standards] (PRIuLEAST32): Likewise.
11235 [C99-based-standards] (PRIxLEAST32): Likewise.
11236 [C99-based-standards] (PRIXLEAST32): Likewise.
11237 [C99-based-standards] (SCNdLEAST32): Likewise.
11238 [C99-based-standards] (SCNiLEAST32): Likewise.
11239 [C99-based-standards] (SCNoLEAST32): Likewise.
11240 [C99-based-standards] (SCNuLEAST32): Likewise.
11241 [C99-based-standards] (SCNxLEAST32): Likewise.
11242 [C99-based-standards] (PRIdFAST32): Likewise.
11243 [C99-based-standards] (PRIiFAST32): Likewise.
11244 [C99-based-standards] (PRIoFAST32): Likewise.
11245 [C99-based-standards] (PRIuFAST32): Likewise.
11246 [C99-based-standards] (PRIxFAST32): Likewise.
11247 [C99-based-standards] (PRIXFAST32): Likewise.
11248 [C99-based-standards] (SCNdFAST32): Likewise.
11249 [C99-based-standards] (SCNiFAST32): Likewise.
11250 [C99-based-standards] (SCNoFAST32): Likewise.
11251 [C99-based-standards] (SCNuFAST32): Likewise.
11252 [C99-based-standards] (SCNxFAST32): Likewise.
11253 [C99-based-standards] (PRId64): Likewise.
11254 [C99-based-standards] (PRIi64): Likewise.
11255 [C99-based-standards] (PRIo64): Likewise.
11256 [C99-based-standards] (PRIu64): Likewise.
11257 [C99-based-standards] (PRIx64): Likewise.
11258 [C99-based-standards] (PRIX64): Likewise.
11259 [C99-based-standards] (SCNd64): Likewise.
11260 [C99-based-standards] (SCNi64): Likewise.
11261 [C99-based-standards] (SCNo64): Likewise.
11262 [C99-based-standards] (SCNu64): Likewise.
11263 [C99-based-standards] (SCNx64): Likewise.
11264 [C99-based-standards] (PRIdLEAST64): Likewise.
11265 [C99-based-standards] (PRIiLEAST64): Likewise.
11266 [C99-based-standards] (PRIoLEAST64): Likewise.
11267 [C99-based-standards] (PRIuLEAST64): Likewise.
11268 [C99-based-standards] (PRIxLEAST64): Likewise.
11269 [C99-based-standards] (PRIXLEAST64): Likewise.
11270 [C99-based-standards] (SCNdLEAST64): Likewise.
11271 [C99-based-standards] (SCNiLEAST64): Likewise.
11272 [C99-based-standards] (SCNoLEAST64): Likewise.
11273 [C99-based-standards] (SCNuLEAST64): Likewise.
11274 [C99-based-standards] (SCNxLEAST64): Likewise.
11275 [C99-based-standards] (PRIdFAST64): Likewise.
11276 [C99-based-standards] (PRIiFAST64): Likewise.
11277 [C99-based-standards] (PRIoFAST64): Likewise.
11278 [C99-based-standards] (PRIuFAST64): Likewise.
11279 [C99-based-standards] (PRIxFAST64): Likewise.
11280 [C99-based-standards] (PRIXFAST64): Likewise.
11281 [C99-based-standards] (SCNdFAST64): Likewise.
11282 [C99-based-standards] (SCNiFAST64): Likewise.
11283 [C99-based-standards] (SCNoFAST64): Likewise.
11284 [C99-based-standards] (SCNuFAST64): Likewise.
11285 [C99-based-standards] (SCNxFAST64): Likewise.
11286 [C99-based-standards] (PRIdMAX): Likewise.
11287 [C99-based-standards] (PRIiMAX): Likewise.
11288 [C99-based-standards] (PRIoMAX): Likewise.
11289 [C99-based-standards] (PRIuMAX): Likewise.
11290 [C99-based-standards] (PRIxMAX): Likewise.
11291 [C99-based-standards] (PRIXMAX): Likewise.
11292 [C99-based-standards] (SCNdMAX): Likewise.
11293 [C99-based-standards] (SCNiMAX): Likewise.
11294 [C99-based-standards] (SCNoMAX): Likewise.
11295 [C99-based-standards] (SCNuMAX): Likewise.
11296 [C99-based-standards] (SCNxMAX): Likewise.
11297 [C99-based-standards] (PRIdPTR): Likewise.
11298 [C99-based-standards] (PRIiPTR): Likewise.
11299 [C99-based-standards] (PRIoPTR): Likewise.
11300 [C99-based-standards] (PRIuPTR): Likewise.
11301 [C99-based-standards] (PRIxPTR): Likewise.
11302 [C99-based-standards] (PRIXPTR): Likewise.
11303 [C99-based-standards] (SCNdPTR): Likewise.
11304 [C99-based-standards] (SCNiPTR): Likewise.
11305 [C99-based-standards] (SCNoPTR): Likewise.
11306 [C99-based-standards] (SCNuPTR): Likewise.
11307 [C99-based-standards] (SCNxPTR): Likewise.
11308 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11309 allow.
11310 * conform/data/stdint.h-data: Update comments to clarify
11311 requirements.
11312 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11313 type.
11314 [C99-based standards] (INT8_MAX): Likewise.
11315 [C99-based standards] (INT16_MIN): Likewise.
11316 [C99-based standards] (INT16_MAX): Likewise.
11317 [C99-based standards] (INT32_MIN): Likewise.
11318 [C99-based standards] (INT32_MAX): Likewise.
11319 [C99-based standards] (INT64_MIN): Likewise.
11320 [C99-based standards] (INT64_MAX): Likewise.
11321 [C99-based standards] (UINT8_MAX): Likewise.
11322 [C99-based standards] (UINT16_MAX): Likewise.
11323 [C99-based standards] (UINT32_MAX): Likewise.
11324 [C99-based standards] (UINT64_MAX): Likewise.
11325 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11326 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11327 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11328 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11329 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11330 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11331 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11332 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11333 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11334 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11335 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11336 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11337 [C99-based standards] (INT_FAST8_MIN): Likewise.
11338 [C99-based standards] (INT_FAST8_MAX): Likewise.
11339 [C99-based standards] (INT_FAST16_MIN): Likewise.
11340 [C99-based standards] (INT_FAST16_MAX): Likewise.
11341 [C99-based standards] (INT_FAST32_MIN): Likewise.
11342 [C99-based standards] (INT_FAST32_MAX): Likewise.
11343 [C99-based standards] (INT_FAST64_MIN): Likewise.
11344 [C99-based standards] (INT_FAST64_MAX): Likewise.
11345 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11346 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11347 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11348 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11349 [C99-based standards] (INTPTR_MIN): Likewise.
11350 [C99-based standards] (INTPTR_MAX): Likewise.
11351 [C99-based standards] (UINTPTR_MAX): Likewise.
11352 [C99-based standards] (INTMAX_MIN): Likewise.
11353 [C99-based standards] (INTMAX_MAX): Likewise.
11354 [C99-based standards] (UINTMAX_MAX): Likewise.
11355 [C99-based standards] (PTRDIFF_MIN): Likewise.
11356 [C99-based standards] (PTRDIFF_MAX): Likewise.
11357 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11358 [C99-based standards] (SIZE_MAX): Likewise.
11359 [C99-based standards] (WCHAR_MAX): Likewise.
11360 [C99-based standards] (WINT_MAX): Likewise.
11361 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11362 constraint on value.
11363 [C99-based standards] (WCHAR_MIN): Likewise.
11364 [C99-based standards] (WINT_MIN): Likewise.
11365 [C99-based standards] (*_t): Allow.
11366 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11367 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11368 Include math.h-data and complex.h-data. Remove all expectations
11369 of math.h and complex.h contents.
11370 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11371 at end of line.
11372 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11373 (struct tm): Expect tag.
11374 [C99-based-standards] (wcstof): Expect function.
11375 [C99-based-standards] (wcstold): Likewise.
11376 [C99-based-standards] (wcstoll): Likewise.
11377 [C99-based-standards] (wcstoull): Likewise.
11378 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11379 macro-int-constant. Specify type.
11380 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11381 constraint on value.
11382 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11383 Specify type.
11384 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11385 Specify value.
11386 [ISO C standards]: Do not allow headers.
11387 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11388 wcs[abcdefghijklmnopqrstuvwxyz]*.
11389 [ISO C standards] (*_t): Do not allow.
11390 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11391 Expect function.
11392 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11393 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11394 Specify type.
11395 [ISO C standards]: Do not allow headers.
11396 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11397 is[abcdefghijklmnopqrstuvwxyz]*.
11398 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11399 to[abcdefghijklmnopqrstuvwxyz]*.
11400 [ISO C standards] (*_t): Do not allow.
11401 * conform/data/stdalign.h-data: New file.
11402 * conform/data/stdbool.h-data: Likewise.
11403 * conform/data/stdnoreturn.h-data: Likewise.
11404
7514feb8
RM
114052012-11-07 Roland McGrath <roland@hack.frob.com>
11406
11407 [BZ #14815]
11408 * manual/filesys.texi (Directory Entries): Typo fix.
11409 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11410
19b2ecfc
MS
114112012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11412
11413 * elf/elf.h (EM_AARCH64): New macro.
11414 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11415 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11416 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11417 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11418 (R_AARCH64_TLSDESC): Likewise.
11419 (NT_ARM_TLS): Likewise.
11420 (NT_ARM_HW_BREAK): Likewise.
11421 (NT_ARM_HW_WATCH): Likewise.
11422
60e235ee
JM
114232012-11-07 Joseph Myers <joseph@codesourcery.com>
11424
11425 [BZ #14811]
11426 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11427 (__ieee754_powl): Saturate nonzero exponents with absolute value
11428 below 0x1p-79 to +/- 0x1p-79.
11429 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11430 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11431 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11432 nonzero exponents with absolute value below 0x1p-32 to +/-
11433 0x1p-32.
11434 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11435 (__ieee754_powl): Saturate nonzero exponents with absolute value
11436 below 0x1p-79 to +/- 0x1p-79.
11437 * math/libm-test.inc (pow_test): Add more tests.
11438
0ab234b7
AK
114392012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11440
11441 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11442 _dl_s390_cap_flags with kernel. Increase string length.
11443 (_dl_s390_platforms): Add z196 and zEC12.
11444
45832f74
JM
114452012-11-07 Joseph Myers <joseph@codesourcery.com>
11446
11447 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11448 Change XOPEN21K to XOPEN2K.
11449
19218757
MK
114502012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11451
11452 * string/memmove.c: Use memcpy when possible.
11453
c5f45721
AJ
114542012-11-06 Andreas Jaeger <aj@suse.de>
11455
11456 * po/eo.po: Update from translation team.
11457
82477c28
JM
114582012-11-06 Joseph Myers <joseph@codesourcery.com>
11459
11460 [BZ #14793]
11461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11462 exponent and small x and y exponents, scale x or y up. Increase
11463 by 2 the exponent used in scaling up.
11464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11465 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11466 * math/libm-test.inc (fma_test): Add more tests.
11467 (fma_test_towardzero): Likewise.
11468 (fma_test_downward): Likewise.
11469 (fma_test_upward): Likewise.
11470
99252c8c
JM
114712012-11-05 Joseph Myers <joseph@codesourcery.com>
11472
acfa885f
JM
11473 [BZ #14805]
11474 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11475 fenv_t *.
11476
99252c8c
JM
11477 [BZ #14801]
11478 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11479 namespace for names of struct fields.
11480 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11481 fenv_t fields.
11482 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11483 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11484
d6d98dea
ST
114852012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11486
11487 [BZ #3665]
11488 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11489
e10bb107
TS
114902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11491
11492 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11493 PTR_DEMANGLE.
11494
11495 [BZ #5246]
11496 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11497 PTR_DEMANGLE.
11498
a0c2940d
JM
114992012-11-04 Joseph Myers <joseph@codesourcery.com>
11500
11501 [BZ #14797]
11502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11503 definitely overflow as x * y not x * y + z.
11504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11505 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11506 * math/libm-test.inc (fma_test): Add more tests.
11507 (fma_test_towardzero): Likewise.
11508 (fma_test_downward): Likewise.
11509 (fma_test_upward): Likewise.
11510
b830319d
TS
115112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11512
11513 [BZ #157]
11514
11515 * include/stub-tag.h: Remove file.
11516 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11517 '#include' of it.
11518 * manual/maint.texi (Porting): Don't reference it.
11519 * Makerules ($(objpfx)stubs): Likewise.
11520 * dirent/closedir.c: Don't include <stub-tag.h>.
11521 * dirent/dirfd.c: Likewise.
11522 * dirent/fdopendir.c: Likewise.
11523 * dirent/getdents.c: Likewise.
11524 * dirent/getdents64.c: Likewise.
11525 * dirent/opendir.c: Likewise.
11526 * dirent/readdir.c: Likewise.
11527 * dirent/readdir64.c: Likewise.
11528 * dirent/readdir64_r.c: Likewise.
11529 * dirent/readdir_r.c: Likewise.
11530 * dirent/rewinddir.c: Likewise.
11531 * dirent/seekdir.c: Likewise.
11532 * dirent/telldir.c: Likewise.
11533 * gmon/profil.c: Likewise.
11534 * grp/setgroups.c: Likewise.
11535 * inet/if_index.c: Likewise.
11536 * io/access.c: Likewise.
11537 * io/chdir.c: Likewise.
11538 * io/chmod.c: Likewise.
11539 * io/chown.c: Likewise.
11540 * io/close.c: Likewise.
11541 * io/dup.c: Likewise.
11542 * io/dup2.c: Likewise.
11543 * io/dup3.c: Likewise.
11544 * io/euidaccess.c: Likewise.
11545 * io/faccessat.c: Likewise.
11546 * io/fchdir.c: Likewise.
11547 * io/fchmod.c: Likewise.
11548 * io/fchmodat.c: Likewise.
11549 * io/fchown.c: Likewise.
11550 * io/fchownat.c: Likewise.
11551 * io/fcntl.c: Likewise.
11552 * io/flock.c: Likewise.
11553 * io/fstatfs.c: Likewise.
11554 * io/fstatfs64.c: Likewise.
11555 * io/fstatvfs.c: Likewise.
11556 * io/fstatvfs64.c: Likewise.
11557 * io/futimens.c: Likewise.
11558 * io/fxstat.c: Likewise.
11559 * io/fxstat64.c: Likewise.
11560 * io/fxstatat.c: Likewise.
11561 * io/fxstatat64.c: Likewise.
11562 * io/getcwd.c: Likewise.
11563 * io/isatty.c: Likewise.
11564 * io/lchmod.c: Likewise.
11565 * io/lchown.c: Likewise.
11566 * io/link.c: Likewise.
11567 * io/linkat.c: Likewise.
11568 * io/lseek.c: Likewise.
11569 * io/lseek64.c: Likewise.
11570 * io/lxstat64.c: Likewise.
11571 * io/mkdir.c: Likewise.
11572 * io/mkdirat.c: Likewise.
11573 * io/mkfifo.c: Likewise.
11574 * io/mkfifoat.c: Likewise.
11575 * io/open.c: Likewise.
11576 * io/open64.c: Likewise.
11577 * io/openat.c: Likewise.
11578 * io/openat64.c: Likewise.
11579 * io/pipe.c: Likewise.
11580 * io/pipe2.c: Likewise.
11581 * io/poll.c: Likewise.
11582 * io/posix_fadvise.c: Likewise.
11583 * io/posix_fadvise64.c: Likewise.
11584 * io/posix_fallocate.c: Likewise.
11585 * io/posix_fallocate64.c: Likewise.
11586 * io/read.c: Likewise.
11587 * io/readlink.c: Likewise.
11588 * io/readlinkat.c: Likewise.
11589 * io/rmdir.c: Likewise.
11590 * io/sendfile.c: Likewise.
11591 * io/sendfile64.c: Likewise.
11592 * io/statfs.c: Likewise.
11593 * io/statfs64.c: Likewise.
11594 * io/statvfs.c: Likewise.
11595 * io/statvfs64.c: Likewise.
11596 * io/symlink.c: Likewise.
11597 * io/symlinkat.c: Likewise.
11598 * io/ttyname.c: Likewise.
11599 * io/ttyname_r.c: Likewise.
11600 * io/umask.c: Likewise.
11601 * io/unlink.c: Likewise.
11602 * io/unlinkat.c: Likewise.
11603 * io/utime.c: Likewise.
11604 * io/utimensat.c: Likewise.
11605 * io/write.c: Likewise.
11606 * io/xmknod.c: Likewise.
11607 * io/xmknodat.c: Likewise.
11608 * io/xstat.c: Likewise.
11609 * io/xstat64.c: Likewise.
11610 * login/getpt.c: Likewise.
11611 * login/grantpt.c: Likewise.
11612 * login/unlockpt.c: Likewise.
11613 * math/e_acoshl.c: Likewise.
11614 * math/e_acosl.c: Likewise.
11615 * math/e_asinl.c: Likewise.
11616 * math/e_atan2l.c: Likewise.
11617 * math/e_atanhl.c: Likewise.
11618 * math/e_coshl.c: Likewise.
11619 * math/e_expl.c: Likewise.
11620 * math/e_fmodl.c: Likewise.
11621 * math/e_gammal_r.c: Likewise.
11622 * math/e_hypotl.c: Likewise.
11623 * math/e_j0l.c: Likewise.
11624 * math/e_j1l.c: Likewise.
11625 * math/e_jnl.c: Likewise.
11626 * math/e_lgammal_r.c: Likewise.
11627 * math/e_log10l.c: Likewise.
11628 * math/e_log2l.c: Likewise.
11629 * math/e_logl.c: Likewise.
11630 * math/e_powl.c: Likewise.
11631 * math/e_rem_pio2l.c: Likewise.
11632 * math/e_sinhl.c: Likewise.
11633 * math/e_sqrtl.c: Likewise.
11634 * math/fclrexcpt.c: Likewise.
11635 * math/fedisblxcpt.c: Likewise.
11636 * math/feenablxcpt.c: Likewise.
11637 * math/fegetenv.c: Likewise.
11638 * math/fegetexcept.c: Likewise.
11639 * math/fegetround.c: Likewise.
11640 * math/feholdexcpt.c: Likewise.
11641 * math/fesetenv.c: Likewise.
11642 * math/fesetround.c: Likewise.
11643 * math/feupdateenv.c: Likewise.
11644 * math/fgetexcptflg.c: Likewise.
11645 * math/fraiseexcpt.c: Likewise.
11646 * math/fsetexcptflg.c: Likewise.
11647 * math/ftestexcept.c: Likewise.
11648 * math/k_cosl.c: Likewise.
11649 * math/k_rem_pio2l.c: Likewise.
11650 * math/k_sinl.c: Likewise.
11651 * math/k_tanl.c: Likewise.
11652 * math/s_asinhl.c: Likewise.
11653 * math/s_atanl.c: Likewise.
11654 * math/s_cbrtl.c: Likewise.
11655 * math/s_erfl.c: Likewise.
11656 * math/s_expm1l.c: Likewise.
11657 * math/s_log1pl.c: Likewise.
11658 * math/s_tanhl.c: Likewise.
11659 * misc/acct.c: Likewise.
11660 * misc/brk.c: Likewise.
11661 * misc/chflags.c: Likewise.
11662 * misc/chroot.c: Likewise.
11663 * misc/fchflags.c: Likewise.
11664 * misc/fgetxattr.c: Likewise.
11665 * misc/flistxattr.c: Likewise.
11666 * misc/fremovexattr.c: Likewise.
11667 * misc/fsetxattr.c: Likewise.
11668 * misc/fsync.c: Likewise.
11669 * misc/ftruncate.c: Likewise.
11670 * misc/futimes.c: Likewise.
11671 * misc/futimesat.c: Likewise.
11672 * misc/getdomain.c: Likewise.
11673 * misc/getdtsz.c: Likewise.
11674 * misc/gethostid.c: Likewise.
11675 * misc/gethostname.c: Likewise.
11676 * misc/getloadavg.c: Likewise.
11677 * misc/getpagesize.c: Likewise.
11678 * misc/getsysstats.c: Likewise.
11679 * misc/getxattr.c: Likewise.
11680 * misc/gtty.c: Likewise.
11681 * misc/ioctl.c: Likewise.
11682 * misc/lgetxattr.c: Likewise.
11683 * misc/listxattr.c: Likewise.
11684 * misc/llistxattr.c: Likewise.
11685 * misc/lremovexattr.c: Likewise.
11686 * misc/lsetxattr.c: Likewise.
11687 * misc/lutimes.c: Likewise.
11688 * misc/madvise.c: Likewise.
11689 * misc/mincore.c: Likewise.
11690 * misc/mlock.c: Likewise.
11691 * misc/mlockall.c: Likewise.
11692 * misc/mmap.c: Likewise.
11693 * misc/mprotect.c: Likewise.
11694 * misc/msync.c: Likewise.
11695 * misc/munlock.c: Likewise.
11696 * misc/munlockall.c: Likewise.
11697 * misc/munmap.c: Likewise.
11698 * misc/preadv.c: Likewise.
11699 * misc/preadv64.c: Likewise.
11700 * misc/ptrace.c: Likewise.
11701 * misc/pwritev.c: Likewise.
11702 * misc/pwritev64.c: Likewise.
11703 * misc/readv.c: Likewise.
11704 * misc/reboot.c: Likewise.
11705 * misc/remap_file_pages.c: Likewise.
11706 * misc/removexattr.c: Likewise.
11707 * misc/revoke.c: Likewise.
11708 * misc/select.c: Likewise.
11709 * misc/setdomain.c: Likewise.
11710 * misc/setegid.c: Likewise.
11711 * misc/seteuid.c: Likewise.
11712 * misc/sethostid.c: Likewise.
11713 * misc/sethostname.c: Likewise.
11714 * misc/setregid.c: Likewise.
11715 * misc/setreuid.c: Likewise.
11716 * misc/setxattr.c: Likewise.
11717 * misc/sstk.c: Likewise.
11718 * misc/stty.c: Likewise.
11719 * misc/swapoff.c: Likewise.
11720 * misc/swapon.c: Likewise.
11721 * misc/sync.c: Likewise.
11722 * misc/syncfs.c: Likewise.
11723 * misc/syscall.c: Likewise.
11724 * misc/truncate.c: Likewise.
11725 * misc/ualarm.c: Likewise.
11726 * misc/usleep.c: Likewise.
11727 * misc/ustat.c: Likewise.
11728 * misc/utimes.c: Likewise.
11729 * misc/vhangup.c: Likewise.
11730 * misc/writev.c: Likewise.
11731 * posix/_exit.c: Likewise.
11732 * posix/alarm.c: Likewise.
11733 * posix/execve.c: Likewise.
11734 * posix/fexecve.c: Likewise.
11735 * posix/fork.c: Likewise.
11736 * posix/fpathconf.c: Likewise.
11737 * posix/getaddrinfo.c: Likewise.
11738 * posix/getegid.c: Likewise.
11739 * posix/geteuid.c: Likewise.
11740 * posix/getgid.c: Likewise.
11741 * posix/getgroups.c: Likewise.
11742 * posix/getlogin.c: Likewise.
11743 * posix/getlogin_r.c: Likewise.
11744 * posix/getpgid.c: Likewise.
11745 * posix/getpid.c: Likewise.
11746 * posix/getppid.c: Likewise.
11747 * posix/getresgid.c: Likewise.
11748 * posix/getresuid.c: Likewise.
11749 * posix/getsid.c: Likewise.
11750 * posix/getuid.c: Likewise.
11751 * posix/glob64.c: Likewise.
11752 * posix/nanosleep.c: Likewise.
11753 * posix/pathconf.c: Likewise.
11754 * posix/pause.c: Likewise.
11755 * posix/posix_madvise.c: Likewise.
11756 * posix/pread.c: Likewise.
11757 * posix/pread64.c: Likewise.
11758 * posix/pwrite.c: Likewise.
11759 * posix/pwrite64.c: Likewise.
11760 * posix/sched_getaffinity.c: Likewise.
11761 * posix/sched_getp.c: Likewise.
11762 * posix/sched_gets.c: Likewise.
11763 * posix/sched_primax.c: Likewise.
11764 * posix/sched_primin.c: Likewise.
11765 * posix/sched_rr_gi.c: Likewise.
11766 * posix/sched_setaffinity.c: Likewise.
11767 * posix/sched_setp.c: Likewise.
11768 * posix/sched_sets.c: Likewise.
11769 * posix/sched_yield.c: Likewise.
11770 * posix/setgid.c: Likewise.
11771 * posix/setlogin.c: Likewise.
11772 * posix/setpgid.c: Likewise.
11773 * posix/setresgid.c: Likewise.
11774 * posix/setresuid.c: Likewise.
11775 * posix/setsid.c: Likewise.
11776 * posix/setuid.c: Likewise.
11777 * posix/sleep.c: Likewise.
11778 * posix/spawni.c: Likewise.
11779 * posix/sysconf.c: Likewise.
11780 * posix/times.c: Likewise.
11781 * posix/wait.c: Likewise.
11782 * posix/wait3.c: Likewise.
11783 * posix/wait4.c: Likewise.
11784 * posix/waitpid.c: Likewise.
11785 * resolv/gai_sigqueue.c: Likewise.
11786 * resource/getpriority.c: Likewise.
11787 * resource/getrlimit.c: Likewise.
11788 * resource/getrusage.c: Likewise.
11789 * resource/nice.c: Likewise.
11790 * resource/setpriority.c: Likewise.
11791 * resource/setrlimit.c: Likewise.
11792 * resource/ulimit.c: Likewise.
11793 * rt/aio_cancel.c: Likewise.
11794 * rt/aio_fsync.c: Likewise.
11795 * rt/aio_read.c: Likewise.
11796 * rt/aio_sigqueue.c: Likewise.
11797 * rt/aio_suspend.c: Likewise.
11798 * rt/aio_write.c: Likewise.
11799 * rt/clock_getres.c: Likewise.
11800 * rt/clock_gettime.c: Likewise.
11801 * rt/clock_nanosleep.c: Likewise.
11802 * rt/clock_settime.c: Likewise.
11803 * rt/lio_listio.c: Likewise.
11804 * rt/mq_close.c: Likewise.
11805 * rt/mq_getattr.c: Likewise.
11806 * rt/mq_notify.c: Likewise.
11807 * rt/mq_open.c: Likewise.
11808 * rt/mq_receive.c: Likewise.
11809 * rt/mq_send.c: Likewise.
11810 * rt/mq_setattr.c: Likewise.
11811 * rt/mq_timedreceive.c: Likewise.
11812 * rt/mq_timedsend.c: Likewise.
11813 * rt/mq_unlink.c: Likewise.
11814 * rt/shm_open.c: Likewise.
11815 * rt/shm_unlink.c: Likewise.
11816 * rt/timer_create.c: Likewise.
11817 * rt/timer_delete.c: Likewise.
11818 * rt/timer_getoverr.c: Likewise.
11819 * rt/timer_gettime.c: Likewise.
11820 * rt/timer_settime.c: Likewise.
11821 * setjmp/__longjmp.c: Likewise.
11822 * setjmp/setjmp.c: Likewise.
11823 * signal/kill.c: Likewise.
11824 * signal/killpg.c: Likewise.
11825 * signal/raise.c: Likewise.
11826 * signal/sigaction.c: Likewise.
11827 * signal/sigaltstack.c: Likewise.
11828 * signal/sigblock.c: Likewise.
11829 * signal/sigignore.c: Likewise.
11830 * signal/sigintr.c: Likewise.
11831 * signal/signal.c: Likewise.
11832 * signal/sigpause.c: Likewise.
11833 * signal/sigpending.c: Likewise.
11834 * signal/sigqueue.c: Likewise.
11835 * signal/sigreturn.c: Likewise.
11836 * signal/sigset.c: Likewise.
11837 * signal/sigsetmask.c: Likewise.
11838 * signal/sigstack.c: Likewise.
11839 * signal/sigsuspend.c: Likewise.
11840 * signal/sigtimedwait.c: Likewise.
11841 * signal/sigvec.c: Likewise.
11842 * signal/sigwait.c: Likewise.
11843 * signal/sigwaitinfo.c: Likewise.
11844 * signal/sysv_signal.c: Likewise.
11845 * socket/accept.c: Likewise.
11846 * socket/accept4.c: Likewise.
11847 * socket/bind.c: Likewise.
11848 * socket/connect.c: Likewise.
11849 * socket/getpeername.c: Likewise.
11850 * socket/getsockname.c: Likewise.
11851 * socket/getsockopt.c: Likewise.
11852 * socket/isfdtype.c: Likewise.
11853 * socket/listen.c: Likewise.
11854 * socket/recv.c: Likewise.
11855 * socket/recvfrom.c: Likewise.
11856 * socket/recvmsg.c: Likewise.
11857 * socket/send.c: Likewise.
11858 * socket/sendmsg.c: Likewise.
11859 * socket/sendto.c: Likewise.
11860 * socket/setsockopt.c: Likewise.
11861 * socket/shutdown.c: Likewise.
11862 * socket/sockatmark.c: Likewise.
11863 * socket/socket.c: Likewise.
11864 * socket/socketpair.c: Likewise.
11865 * stdio-common/ctermid.c: Likewise.
11866 * stdio-common/cuserid.c: Likewise.
11867 * stdio-common/remove.c: Likewise.
11868 * stdio-common/rename.c: Likewise.
11869 * stdio-common/renameat.c: Likewise.
11870 * stdio-common/tempname.c: Likewise.
11871 * stdlib/getcontext.c: Likewise.
11872 * stdlib/makecontext.c: Likewise.
11873 * stdlib/setcontext.c: Likewise.
11874 * stdlib/swapcontext.c: Likewise.
11875 * stdlib/system.c: Likewise.
11876 * streams/fattach.c: Likewise.
11877 * streams/fdetach.c: Likewise.
11878 * streams/getmsg.c: Likewise.
11879 * streams/getpmsg.c: Likewise.
11880 * streams/putmsg.c: Likewise.
11881 * streams/putpmsg.c: Likewise.
11882 * sysdeps/unix/bsd/getpt.c: Likewise.
11883 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11884 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11885 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11887 Likewise.
11888 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11889 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11890 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11891 * sysvipc/msgctl.c: Likewise.
11892 * sysvipc/msgget.c: Likewise.
11893 * sysvipc/msgrcv.c: Likewise.
11894 * sysvipc/msgsnd.c: Likewise.
11895 * sysvipc/semctl.c: Likewise.
11896 * sysvipc/semget.c: Likewise.
11897 * sysvipc/semop.c: Likewise.
11898 * sysvipc/semtimedop.c: Likewise.
11899 * sysvipc/shmat.c: Likewise.
11900 * sysvipc/shmctl.c: Likewise.
11901 * sysvipc/shmdt.c: Likewise.
11902 * sysvipc/shmget.c: Likewise.
11903 * termios/tcdrain.c: Likewise.
11904 * termios/tcflow.c: Likewise.
11905 * termios/tcflush.c: Likewise.
11906 * termios/tcgetattr.c: Likewise.
11907 * termios/tcgetpgrp.c: Likewise.
11908 * termios/tcsendbrk.c: Likewise.
11909 * termios/tcsetattr.c: Likewise.
11910 * termios/tcsetpgrp.c: Likewise.
11911 * time/adjtime.c: Likewise.
11912 * time/clock.c: Likewise.
11913 * time/getitimer.c: Likewise.
11914 * time/gettimeofday.c: Likewise.
11915 * time/setitimer.c: Likewise.
11916 * time/settimeofday.c: Likewise.
11917 * time/stime.c: Likewise.
11918 * time/time.c: Likewise.
11919
119202012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11921
a20492cf
PT
11922 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11923 /usr/old/bin.
11924
72e182e3
PT
11925 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11926 instead of spaces.
11927 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11928
fbeafede
JM
119292012-11-03 Joseph Myers <joseph@codesourcery.com>
11930
5b5b04d6
JM
11931 [BZ #14796]
11932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11933 FE_TONEAREST before applying Dekker multiplication and Knuth
11934 addition. Clear inexact exceptions and check for exact zero
11935 results afterwards.
11936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11937 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11938 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11939 * math/libm-test.inc (fma_test): Add more tests.
11940 (fma_test_towardzero): Likewise.
11941 (fma_test_downward): Likewise.
11942 (fma_test_upward): Likewise.
11943 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11944 function.
11945 (libc_fesetround): New macro.
11946 (libc_fesetroundf): Likewise.
11947 (libc_fesetroundl): Likewise.
11948 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11949 function.
11950 (libc_fesetround_387): Likewise.
11951 (libc_fesetroundf): New macro.
11952 (libc_fesetround): Likewise.
11953 (libc_fesetroundl): Likewise.
11954 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11955 function.
11956 (libc_fesetroundf): New macro.
11957 (libc_fesetround): Likewise.
11958 (libc_fesetroundl): Likewise.
11959 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11960 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11961 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11962 libm_hidden_ver.
11963 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11964 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11965 libm_hidden_def.
11966 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11967 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11968 libm_hidden_ver.
11969 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11970 libm_hidden_def.
11971
fbeafede
JM
11972 [BZ #3439]
11973 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11974 integer constant usable in #if and use that to give value to enum
11975 constant.
11976 (FE_DIVBYZERO): Likewise.
11977 (FE_UNDERFLOW): Likewise.
11978 (FE_OVERFLOW): Likewise.
11979 (FE_INVALID): Likewise.
11980 (FE_INVALID_SNAN): Likewise.
11981 (FE_INVALID_ISI): Likewise.
11982 (FE_INVALID_IDI): Likewise.
11983 (FE_INVALID_ZDZ): Likewise.
11984 (FE_INVALID_IMZ): Likewise.
11985 (FE_INVALID_COMPARE): Likewise.
11986 (FE_INVALID_SOFTWARE): Likewise.
11987 (FE_INVALID_SQRT): Likewise.
11988 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11989 (FE_TONEAREST): Likewise.
11990 (FE_TOWARDZERO): Likewise.
11991 (FE_UPWARD): Likewise.
11992 (FE_DOWNWARD): Likewise.
11993 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11994 (FE_DIVBYZERO): Likewise.
11995 (FE_OVERFLOW): Likewise.
11996 (FE_UNDERFLOW): Likewise.
11997 (FE_INEXACT): Likewise.
11998 (FE_TONEAREST): Likewise.
11999 (FE_DOWNWARD): Likewise.
12000 (FE_UPWARD): Likewise.
12001 (FE_TOWARDZERO): Likewise.
12002 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12003 (FE_UNDERFLOW): Likewise.
12004 (FE_OVERFLOW): Likewise.
12005 (FE_DIVBYZERO): Likewise.
12006 (FE_INVALID): Likewise.
12007 (FE_TONEAREST): Likewise.
12008 (FE_TOWARDZERO): Likewise.
12009 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12010 (FE_OVERFLOW): Likewise.
12011 (FE_UNDERFLOW): Likewise.
12012 (FE_DIVBYZERO): Likewise.
12013 (FE_INEXACT): Likewise.
12014 (FE_TONEAREST): Likewise.
12015 (FE_TOWARDZERO): Likewise.
12016 (FE_UPWARD): Likewise.
12017 (FE_DOWNWARD): Likewise.
12018 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12019 (FE_DIVBYZERO): Likewise.
12020 (FE_OVERFLOW): Likewise.
12021 (FE_UNDERFLOW): Likewise.
12022 (FE_INEXACT): Likewise.
12023 (FE_TONEAREST): Likewise.
12024 (FE_DOWNWARD): Likewise.
12025 (FE_UPWARD): Likewise.
12026 (FE_TOWARDZERO): Likewise.
12027
105ca950
CM
120282012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12029
12030 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12031
a542b389
AS
120322012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12033
12034 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12035 commands. Quote $PWD.
12036 (blacklist_exports): Don't use remove_newlines. Replace "declare
12037 -x" by "export".
12038 (remove_newlines): Remove.
12039
f62c8abc
L
120402012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12041
12042 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12043 * stdlib/stdlib.h (atof): Moved to ...
12044 * include/bits/stdlib-float.h: Here. New file.
12045 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12046 * stdlib/bits/stdlib-float.h: New file.
12047 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12048 -mno-sse -mno-mmx.
12049 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12050 <xmmintrin.h>.
12051
0155d5b2
JM
120522012-11-02 Joseph Myers <joseph@codesourcery.com>
12053
a68d0680
JM
12054 * conform/conformtest.pl (@headers): Add fenv.h.
12055 * conform/data/fenv.h-data: New file.
12056 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12057 include of <math/fenv.h>.
12058
caf7f573
JM
12059 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12060 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12061 && !UNIX98]. Enables tests for XOPEN2K8.
12062 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12063 POSIX2008]: Likewise.
12064
6c073ad6
JM
12065 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12066 (struct rusage): Do not expect type or its members.
12067
0155d5b2
JM
12068 [BZ #3439]
12069 * math/math.h (FP_NAN): Define macro to integer constant usable in
12070 #if and use that to give value to enum constant.
12071 (FP_INFINITE): Likewise.
12072 (FP_ZERO): Likewise.
12073 (FP_SUBNORMAL): Likewise.
12074 (FP_NORMAL): Likewise.
12075
b5dcacb4
AS
120762012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12077
12078 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12079 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12080 arguments.
12081
f7934be8
RM
120822012-11-02 Roland McGrath <roland@hack.frob.com>
12083
12084 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12085 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12086 autoconf-time if not.
12087 * configure.in: Remove AC_PREREQ.
12088
d7d08bde
TMQMF
120892012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12090
12091 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12092 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12093 of the internal implementation.
12094
dcdae19a
JM
120952012-11-02 Joseph Myers <joseph@codesourcery.com>
12096
12097 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12098 except include of <misc/sys/syslog.h>.
12099
d6cffd3e
AS
121002012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12101
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12103 function returns with a NULL context exit with zero.
12104
b3563932
TMQMF
121052012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12106
12107 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12108
b288a93d
L
121092012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12110
12111 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12112 (run_program_cmd): This.
12113 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12114 (tst_langinfo): New variable. Use it.
12115
a2421a68
SAS
121162012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12117
12118 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12119 floating point opcodes.
12120
6f796e1b
TS
121212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12122
7402596b
TS
12123 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12124 variable.
12125
d0d4f868
TS
12126 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12127
6f796e1b
TS
12128 * sysdeps/mach/hurd/powerpc: Remove directory.
12129 * sysdeps/mach/powerpc: Likewise.
12130
4da224a2
AS
121312012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12132
12133 * scripts/check-local-headers.sh: Ignore c++ headers.
12134
341dd673
TS
121352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12136
12137 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12138 __libc_cleanup_region_start argument.
12139
473611b2
JM
121402012-11-01 Joseph Myers <joseph@codesourcery.com>
12141
12142 [BZ #14784]
12143 [BZ #14785]
12144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12145 x * y using scaling, not as x * y + z.
12146 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12147 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12148 * math/libm-test.inc (fma_test): Add more tests.
12149 (fma_test_towardzero): Likewise.
12150 (fma_test_downward): Likewise.
12151 (fma_test_upward): Likewise.
12152
4078da3d
TS
121532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12154
12155 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12156
903252aa
JM
121572012-10-31 Joseph Myers <joseph@codesourcery.com>
12158
12159 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12160 New variable.
12161
cbc818d0
TS
121622012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12163
12164 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12165
5a03cb1e
AS
121662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12167
12168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12169 Fix sort order.
12170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12171 Likewise.
12172
90aff2ff
TMQMF
121732012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12174
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12176 Fix the order of the list for glibc 2.17.
12177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12178 Likewise.
12179
1818fcb7
AS
121802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12181
12182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12183
ef82f4da
JM
121842012-10-31 Joseph Myers <joseph@codesourcery.com>
12185
16a0e2ec
JM
12186 [BZ #14610]
12187 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12188 for low part of x being zero before using __atanl (y).
12189 * math/libm-test.inc (atan2_test): Add another test.
12190
0eb69512
JM
12191 * manual/install.texi (Configuring and compiling): Document
12192 general use of test-wrapper and test-wrapper-env.
12193 * INSTALL: Regenerated.
12194
ef82f4da
JM
12195 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12196 (__fma): Do not extract and scale down low bits on after-rounding
12197 systems when result rounded to normal precision would have normal
12198 exponent.
12199 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12200 (__fmal): Do not extract and scale down low bits on after-rounding
12201 systems when result rounded to normal precision would have normal
12202 exponent.
12203 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12204 (__fmal): Do not extract and scale down low bits on after-rounding
12205 systems when result rounded to normal precision would have normal
12206 exponent.
12207 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12208 macro.
12209 (fma_test): Add more tests.
12210 (fma_test_towardzero): Likewise.
12211 (fma_test_downward): Likewise.
12212 (fma_test_upward): Likewise.
12213
954ef0d9
L
122142012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12215
12216 * sysdeps/i386/tininess.h: Renamed to ...
12217 * sysdeps/x86/tininess.h: This.
12218 * sysdeps/x86_64/tininess.h: Removed.
12219
df61ffb2
JM
122202012-10-30 Joseph Myers <joseph@codesourcery.com>
12221
12222 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12223 input. Use $(build-program-cmd).
12224 ($(objpfx)tst-array1-static.out): Likewise.
12225 ($(objpfx)tst-array2.out): Likewise.
12226 ($(objpfx)tst-array3.out): Likewise.
12227 ($(objpfx)tst-array4.out): Likewise.
12228 ($(objpfx)tst-array5.out): Likewise.
12229 ($(objpfx)tst-array5-static.out): Likewise.
12230
01767843
CM
122312012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12232
47cc1490
CM
12233 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12234 if defined.
12235
01767843
CM
12236 * nss/nsswitch.h (nss_interface_function): Provide new
12237 macro for use with NSS functions.
12238 * grp/initgroups.c: Use new macro.
12239 * nss/getXXbyYY.c: Likewise.
12240 * nss/getXXbyYY_r.c: Likewise.
12241 * nss/getXXent.c: Likewise.
12242 * nss/getXXent_r.c: Likewise.
12243 * sysdeps/posix/getaddrinfo.c: Likewise.
12244
8321aa97
AJ
122452012-10-30 Andreas Jaeger <aj@suse.de>
12246
12247 * po/ru.po: Update Russion translation from translation project.
12248
2a27fd6d
JM
122492012-10-30 Joseph Myers <joseph@codesourcery.com>
12250
8627a232
JM
12251 [BZ #14152]
12252 [BZ #14783]
12253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12254 result and shift together with sticky bit instead of replicating
12255 round-to-nearest rounding.
12256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12257 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12258 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12259 missing underflow exceptions.
12260 (fma_test_towardzero): Add more tests.
12261 (fma_test_downward): Likewise.
12262 (fma_test_upward): Likewise.
12263
2a27fd6d
JM
12264 [BZ #14047]
12265 * sysdeps/generic/tininess.h: New file.
12266 * sysdeps/i386/tininess.h: Likewise.
12267 * sysdeps/sh/tininess.h: Likewise.
12268 * sysdeps/x86_64/tininess.h: Likewise.
12269 * stdlib/tst-strtod-underflow.c: Likewise.
12270 * stdlib/tst-tininess.c: Likewise.
12271 * stdlib/strtod_l.c: Include <tininess.h>.
12272 (round_and_return): Do not set errno for exact underflow cases.
12273 Force an underflow exception when setting errno for underflow.
12274 Determine underflow based on rounding to normal precision if
12275 TININESS_AFTER_ROUNDING.
12276 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12277 ERANGE for exact underflow cases.
12278 * stdlib/Makefile (tests): Add tst-tininess and
12279 tst-strtod-underflow.
12280 ($(objpfx)tst-tininess): Use $(link-libm).
12281 ($(objpfx)tst-strtod-underflow): Likewise.
12282
e7170363
AJ
122832012-10-30 Andreas Jaeger <aj@suse.de>
12284
e5088dc6
AJ
12285 [BZ#14767]
12286 * elf/Makefile (tests): Remove conditional for have-initfini-array
12287 since this is now always required and the variable does not exist
12288 anymore.
12289 (tests-static): Likewise.
12290 (modules-names): Likewise.
12291
e7170363 12292 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12293
12294 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12295 merged with constructor/destructor.
12296 (init_array): Likewise.
12297 * elf/tst-array2dep.c (fini_array): Likewise.
12298 (init_array): Likewise.
12299
60457d8a
MF
123002012-10-29 Mike Frysinger <vapier@gentoo.org>
12301
12302 * manual/message.texi: Delete @cartouche tags.
12303
8bece752
PT
123042012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12305
94ce799f
PT
12306 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12307 EOPNOTSUPP.
12308 * sysdeps/mach/hurd/fsync.c: Likewise.
12309
8bece752
PT
12310 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12311 [_POSIX_REALTIME_SIGNALS]: Change condition to
12312 [_POSIX_REALTIME_SIGNALS > 0].
12313
86ebe6b1
AJ
123142012-10-27 Andreas Jaeger <aj@suse.de>
12315
12316 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12317 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12319 [__WORDSIZE != 64]: Likewise.
12320
54399c08
L
123212012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12322
12323 * iconvdata/tst-table.sh: Remove ${SHELL}.
12324 * iconvdata/tst-tables.sh: Likewise.
12325
e2211bed
DM
123262012-10-25 David S. Miller <davem@davemloft.net>
12327
12328 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12329 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12330 of strtoull.
12331
f303f97c
DM
12332 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12333 ifunc-impl-list.c
12334 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12335 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12336 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12337 file.
12338
1e9d84cd
RM
123392012-10-25 Roland McGrath <roland@hack.frob.com>
12340
12341 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12342 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12343 __getdirentries.
12344
df381762
JM
123452012-10-25 Joseph Myers <joseph@codesourcery.com>
12346 Jim Blandy <jimb@codesourcery.com>
12347
12348 * scripts/cross-test-ssh.sh: New file.
12349 * manual/install.texi (Configuring and compiling): Document use of
12350 cross-test-ssh.sh.
12351 * INSTALL: Regenerated.
12352
bff64913
PT
123532012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12354
12355 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12356 EOPNOTSUPP.
12357
25fe8932
JM
123582012-10-25 Joseph Myers <joseph@codesourcery.com>
12359
12360 * Makeconfig (run-program-prefix): Fix comment.
12361
cc1290d0
JM
123622012-10-24 Joseph Myers <joseph@codesourcery.com>
12363 Jim Blandy <jimb@codesourcery.com>
12364
12365 * Makeconfig (test-wrapper): New variable,
12366 (test-wrapper-env): Likewise.
12367 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12368 (run-built-tests): Define to yes.
12369 (run-program-prefix): Use $(test-wrapper).
12370 (built-program-cmd): Likewise.
12371 * Rules (make-test-out): Use $(test-wrapper-env) and
12372 $(host-built-program-cmd).
12373 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12374 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12375 tst-pathopt.sh.
12376 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12377 $(test-wrapper-env) to tst-rtld-load-self.sh.
12378 ($(objpfx)order2.out): Use $(test-wrapper).
12379 ($(objpfx)tst-initorder.out): Likewise.
12380 ($(objpfx)tst-initorder2.out): Likewise.
12381 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12382 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12383 (test_wrapper_env): New variable. Use it to run ld.so.
12384 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12385 Use it to run ld.so.
12386 (test_wrapper_env): Likewise.
12387 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12388 $(test-wrapper) to run-iconv-test.sh.
12389 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12390 (ICONV): Use $test_wrapper.
12391 * posix/Makefile ($(objpfx)globtest.out): Pass
12392 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12393 globtest.sh, not $(run-program-prefix).
12394 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12395 (test_wrapper): Likewise.
12396 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12397 set together with run_via_rtld_prefix.
12398 (run_program_prefix): Define in terms of test_wrapper and
12399 run_via_rtld_prefix.
12400
6e6249d0
RM
124012012-10-24 Roland McGrath <roland@hack.frob.com>
12402
12403 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12404 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12405 Targets removed.
12406
12407 [BZ #14743]
12408 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12409 Declare __clock_getres, __clock_gettime, __clock_settime,
12410 __clock_nanosleep, and __clock_getcpuclockid.
12411 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12412 Remove librt_hidden_def (clock_gettime).
12413 * sysdeps/unix/clock_gettime.c: Likewise.
12414 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12415 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12416 * rt/clock_getres.c: Define __clock_getres as an alias.
12417 * sysdeps/posix/clock_getres.c: Likewise.
12418 * rt/clock_settime.c: Define __clock_settime as an alias.
12419 * sysdeps/unix/clock_settime.c: Likewise.
12420 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12421 * sysdeps/unix/clock_nanosleep.c: Likewise.
12422 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12423 * rt/clock-compat.c: New file.
12424 * rt/Makefile (librt-routines): Add clock-compat and move
12425 $(clock-routines) to ...
12426 (routines): ... here, new variable.
12427 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12428 Don't add get_clockfreq here.
12429 * rt/Versions (libc: GLIBC_2.17): New version set.
12430 Add clock_* symbols here.
12431 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12432 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12433 (GLIBC_2.17): Add clock_* symbols.
12434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12436 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12438 Likewise.
12439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12440 Likewise.
12441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12445 * NEWS: Mention the move.
12446
12447 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12448 Use __open, __read, __close rather than their public counterparts.
12449 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12450 (__get_clockfreq_via_cpuinfo): Likewise.
12451 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12452 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12453
12454 * config.h.in (HAVE_IFUNC): New #undef.
12455 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12456 was successful.
12457 * configure: Regenerated.
12458
0cae3f4b
MF
124592012-10-24 Mike Frysinger <vapier@gentoo.org>
12460
12461 * configure.in: Move READELF check to start of file.
12462 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12463 libc_cv_asm_gnu_indirect_function in the process.
12464 * configure: Regenerated.
12465
8175a253
MF
124662012-10-24 Mike Frysinger <vapier@gentoo.org>
12467
12468 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12469 send the output to /dev/null.
12470 (libc_cv_cc_with_libunwind): Likewise.
12471 (libc_cv_as_noexecstack): Likewise.
12472 * configure: Regenerate.
12473
0708a7d1
JM
124742012-10-24 Joseph Myers <joseph@codesourcery.com>
12475
10b40d85
JM
12476 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12477
0708a7d1
JM
12478 * posix/globtest.sh (TMPDIR): Do not set.
12479 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12480 (testout): Likewise.
12481
9fddec1a
AJ
124822012-10-24 Andreas Jaeger <aj@suse.de>
12483
3a8db22f
AJ
12484 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12485 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12486 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12487 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12488 posix_fadvise64, posix_fallocate64.
12489
9fddec1a
AJ
12490 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12491 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12492 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12493 Likewise.
12494 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12495 Likewise.
12496 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12497
12498 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12499 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12500 <bits/fcntl-linux.h>.
12501 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12502
12503 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12504 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12505 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12506 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12507 [__WORDSIZE != 64]: Likewise.
12508
ebfd1bbd
JM
125092012-10-23 Joseph Myers <joseph@codesourcery.com>
12510
03ac099f
JM
12511 * Makeconfig (run-built-tests): New variable.
12512 * Rules [$(cross-compiling) = yes]: Change condition to
12513 [$(run-built-tests) = no].
12514 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12515 to [$(run-built-tests) = yes].
12516 * elf/Makefile [$(cross-compiling) = no]: Likewise
12517 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12518 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12519 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12520 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12521 * io/Makefile [$(cross-compiling) = no]: Likewise.
12522 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12523 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12524 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12525 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12526 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12527 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12528 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12529 * string/Makefile [$(cross-compiling) = no]: Likewise.
12530
ebfd1bbd
JM
12531 * posix/Makefile ($(objpfx)globtest.out): Pass
12532 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12533 $(rtld-installed-name).
12534 * posix/globtest.sh (elf_objpfx): Remove variable.
12535 (rtld_installed_name): Likewise.
12536 (library_path): Likewise.
12537 (run_program_prefix): New variable. Use for running globtest
12538 binary.
12539
166bca24
JB
125402012-10-23 Jim Blandy <jimb@codesourcery.com>
12541 Joseph Myers <joseph@codesourcery.com>
12542
12543 * Makeconfig (host-built-program-cmd): New variable.
12544 * elf/Makefile (tst-stackguard1-ARGS): Use
12545 $(host-built-program-cmd).
12546 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12547 (tst-spawn-ARGS): Likewise.
12548 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12549
88866099
JM
125502012-10-23 Joseph Myers <joseph@codesourcery.com>
12551 Jim Blandy <jimb@codesourcery.com>
12552
12553 * Makeconfig (run-via-rtld-prefix): New variable.
12554 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12555 (built-program-cmd): Likewise.
12556
b4b4c296
AJ
125572012-10-22 Andreas Jaeger <aj@suse.de>
12558
12559 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12560 __O_RSYNC if it exists, otherwise to O_SYNC.
12561
6fb54a22
JB
125622012-10-22 Jim Blandy <jimb@codesourcery.com>
12563 Joseph Myers <joseph@codesourcery.com>
12564
12565 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12566 /dev/null.
12567 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12568 from /dev/null
12569 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12570 /dev/null.
12571
481b90b9
AJ
125722012-10-22 Andreas Jaeger <aj@suse.de>
12573
2a0e2669
AJ
12574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12575 Define always.
12576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12577
76e38f9a
AJ
12578 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12579 bits/fcntl-linux.h.
12580
7cd37b43
AJ
12581 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12582 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12583
481b90b9
AJ
12584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12585 to __O_LARGEFILE.
12586 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12587 to __O_LARGEFILE.
12588
aba75984
JB
125892012-10-21 Jim Blandy <jimb@codesourcery.com>
12590 Joseph Myers <joseph@codesourcery.com>
12591
12592 * config.make.in (NM): New variable.
12593
88d4247f
AJ
125942012-10-21 Andreas Jaeger <aj@suse.de>
12595
12596 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12597 definitions and declarations that are provided by
12598 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12599
f2eed205
L
126002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12601
12602 [BZ #14683]
12603 * elf/Makefile (tests-static): Add tst-leaks1-static.
12604 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12605 ($(objpfx)tst-leaks1-static): New rule.
12606 ($(objpfx)tst-leaks1-static-mem): Likewise.
12607 (tst-leaks1-static-ENV): New macro.
12608 * elf/dl-open.c (dl_open_worker): Check the main application
12609 only if SHARED is defined.
12610 * elf/tst-leaks1-static.c: New file.
12611
335e6931
AJ
126122012-10-20 Andreas Jaeger <aj@suse.de>
12613
12614 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12615 generic values for Linux.
12616 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12617 and declarations that are provided by <bits/fcntl-linux.h> and
12618 include <bits/fcntl-linux.h>.
12619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12621
ac5c94d3
RM
126222012-10-20 Roland McGrath <roland@hack.frob.com>
12623
12624 * io/fcntl.h: Move include of <bits/types.h> to the top and
12625 include it unconditionally.
12626
de54b33a
L
126272012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12628
228cfb01
L
12629 * wcsmbs/Makefile (tests-ifunc): New variable.
12630 (tests): Add $(tests-ifunc).
12631 * wcsmbs/test-wcschr-ifunc.c: New file.
12632 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12633 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12634 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12635 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12636 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12637
69f07e5f
L
12638 * string/Makefile (tests-ifunc): New variable.
12639 (tests): Add $(tests-ifunc).
12640 * string/test-memccpy.c (TEST_NAME): New macro.
12641 * string/test-memchr.c (TEST_NAME): Likewise.
12642 * string/test-memcmp.c (TEST_NAME): Likewise.
12643 * string/test-memcpy.c (TEST_NAME): Likewise.
12644 * string/test-memmem.c (TEST_NAME): Likewise.
12645 * string/test-memmove.c (TEST_NAME): Likewise.
12646 * string/test-memset.c (TEST_NAME): Likewise.
12647 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12648 * string/test-stpcpy.c (TEST_NAME): Likewise.
12649 * string/test-stpncpy.c (TEST_NAME): Likewise.
12650 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12651 * string/test-strcasestr.c (TEST_NAME): Likewise.
12652 * string/test-strcat.c (TEST_NAME): Likewise.
12653 * string/test-strchr.c (TEST_NAME): Likewise.
12654 * string/test-strcmp.c(TEST_NAME): Likewise.
12655 * string/test-strcpy.c (TEST_NAME): Likewise.
12656 * string/test-strcspn.c (TEST_NAME): Likewise.
12657 * string/test-strlen.c (TEST_NAME): Likewise.
12658 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12659 * string/test-strncmp.c (TEST_NAME): Likewise.
12660 * string/test-strncpy.c (TEST_NAME): Likewise.
12661 * string/test-strnlen.c (TEST_NAME): Likewise.
12662 * string/test-strpbrk.c (TEST_NAME): Likewise.
12663 * string/test-strrchr.c (TEST_NAME): Likewise.
12664 * string/test-strspn.c (TEST_NAME): Likewise.
12665 * string/test-strstr.c (TEST_NAME): Likewise.
12666 * string/test-bcopy-ifunc.c: New file.
12667 * string/test-bzero-ifunc.c: Likewise.
12668 * string/test-memccpy-ifunc.c: Likewise.
12669 * string/test-memchr-ifunc.c: Likewise.
12670 * string/test-memcmp-ifunc.c: Likewise.
12671 * string/test-memcpy-ifunc.c: Likewise.
12672 * string/test-memmem-ifunc.c: Likewise.
12673 * string/test-memmove-ifunc.c: Likewise.
12674 * string/test-mempcpy-ifunc.c: Likewise.
12675 * string/test-memset-ifunc.c: Likewise.
12676 * string/test-rawmemchr-ifunc.c: Likewise.
12677 * string/test-stpcpy-ifunc.c: Likewise.
12678 * string/test-stpncpy-ifunc.c: Likewise.
12679 * string/test-strcasecmp-ifunc.c: Likewise.
12680 * string/test-strcasestr-ifunc.c: Likewise.
12681 * string/test-strcat-ifunc.c: Likewise.
12682 * string/test-strchr-ifunc.c: Likewise.
12683 * string/test-strchrnul-ifunc.c: Likewise.
12684 * string/test-strcmp-ifunc.c: Likewise.
12685 * string/test-strcpy-ifunc.c: Likewise.
12686 * string/test-strcspn-ifunc.c: Likewise.
12687 * string/test-strlen-ifunc.c: Likewise.
12688 * string/test-strncasecmp-ifunc.c: Likewise.
12689 * string/test-strncat-ifunc.c: Likewise.
12690 * string/test-strncmp-ifunc.c: Likewise.
12691 * string/test-strncpy-ifunc.c: Likewise.
12692 * string/test-strnlen-ifunc.c: Likewise.
12693 * string/test-strpbrk-ifunc.c: Likewise.
12694 * string/test-strrchr-ifunc.c: Likewise.
12695 * string/test-strspn-ifunc.c: Likewise.
12696 * string/test-strstr-ifunc.c: Likewise.
12697
de54b33a
L
12698 * debug/Makefile (tests-ifunc): New variable.
12699 (tests): Add $(tests-ifunc).
12700 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12701 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12702 * debug/test-stpcpy_chk-ifunc.c: New file.
12703 * debug/test-strcpy_chk-ifunc.c: Likewise.
12704
88481c16
SP
127052012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12706
12707 [BZ #13601]
12708 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12709 header is not read in.
12710
135948bd
JM
127112012-10-19 Joseph Myers <joseph@codesourcery.com>
12712
89f1c388
JM
12713 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12714 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12715 directly. Pass built executable to script as
12716 $(built-program-cmd).
12717 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12718 $testprogram without using LD_LIBRARY_PATH and $ldso.
12719
e40a0d21
JM
12720 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12721 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12722 $(rtld-installed-name).
12723 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12724 (rtld_installed_name): Likewise.
12725 (library_path): Likewise.
12726 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12727 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12728 $(run-program-prefix) to tst-tables.sh.
12729 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12730 it to run tst-table-from and tst-table-to.
12731 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12732 Pass it to tst-table.sh.
12733 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12734 $(run-program-prefix) to tst-gettext.sh.
12735 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12736 tst-translit.sh.
12737 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12738 tst-gettext2.sh.
12739 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12740 to run tst-gettext.
12741 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12742 to run tst-gettext2.
12743 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12744 to run tst-translit.
12745 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12746 $(run-program-prefix) to tst-mtrace.sh.
12747 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12748 to run tst-mtrace.
12749 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12750 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12751 $(rtld-installed-name).
12752 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12753 (rtld_installed_name): Likewise.
12754 (run_program_prefix): New variable. Use it to run wordexp-test.
12755
728e272a
JM
12756 * Makeconfig (ARCH): Remove all definitions.
12757 (machine): Likewise.
12758 [ARCH]: Remove conditional code.
12759 [!objdir]: Give error.
12760 [!objdir] (objpfx): Remove.
12761 [!objdir] (common-objpfx): Likewise.
12762 [!objdir] (common-objdir): Likewise.
12763 * configure.in (config_makefile): Remove. Hardcode Makefile in
12764 AC_CONFIG_FILES call.
12765 * configure: Regenerated.
12766
d528cdcf
JM
12767 [BZ #13888]
12768 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12769 or TMPDIR.
12770 (testout): Likewise.
12771
135948bd
JM
12772 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12773 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12774 $(rtld-installed-name).
12775 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12776 (rtld_installed_name): Likwise.
12777 (runit): Remove function.
12778 (run_getconf): New variable, Use it for running getconf binary.
12779
38c78296
L
127802012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12781
12782 [BZ #14716]
12783 * string/test-memmem.c (check_result): New function.
12784 (do_one_test): Use it.
12785 (check1): New function.
12786 (test_main): Use it.
12787
d077f65f
MT
127882012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12789
12790 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12791
ced52c71
JM
127922012-10-18 Joseph Myers <joseph@codesourcery.com>
12793
12794 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12795 (_G_LSEEK64): Likewise.
12796 (_G_MMAP64): Likewise.
12797 (_G_FSTAT64): Likewise.
12798 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12799 (_G_LSEEK64): Likewise.
12800 (_G_MMAP64): Likewise.
12801 (_G_FSTAT64): Likewise.
12802 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12803 unconditional. Call __mmap64 directly.
12804 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12805 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12806 __lseek64 directly.
12807 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12808 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12809 __mmap64 directly.
12810 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12811 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12812 __lseek64 directly.
12813 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12814 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12815 __lseek64 directly.
12816 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12817 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12818 __lseek64 directly.
12819 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12820 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12821 __fxstat64 directly.
12822 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12823 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12824 unconditional.
12825 (freopen64) [!_G_OPEN64]: Remove conditional code.
12826 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12827 unconditional.
12828 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12829 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12830 unconditional.
12831 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12832 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12833 unconditional.
12834 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12835 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12836 unconditional.
12837 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12838 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12839 unconditional.
12840 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12841 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12842 unconditional.
12843 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12844 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12845 unconditional.
12846 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12847
b741de23
SP
128482012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12849
12850 [BZ #12140]
12851 * manual/memory.texi (Malloc Tunable Parameters): Add note
12852 about free list pointers overwriting some perturb bytes.
12853 Wording suggested by Roland McGrath.
12854
f9b9d9c9
JM
128552012-10-17 Joseph Myers <joseph@codesourcery.com>
12856
12857 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12858 (lgamma_test): Likewise.
12859 (tgamma_test): Likewise.
12860
172a631a
FW
128612012-10-16 Florian Weimer <fweimer@redhat.com>
12862
12863 [BZ #14700]
12864 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12865 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12866
e9f37252
MK
128672012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12868
12869 * NEWS: Mention BZ #14716.
12870 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12871 when removing AVAILABLE1_USES_J macro.
12872
d394eb74
L
128732012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12874
12875 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12876 (__bswap_64): __uint64_t for unsigned 64-bit int.
12877
ca38dc17
AS
128782012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12879
12880 * include/string.h (memmem): Declare libc hidden alias.
12881 * string/memmem.c (memmem): Define libc hidden alias.
12882 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12883 __read, __close instead of open, read, close.
12884
9a387d1f
L
128852012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12886
ac49ecaf
L
12887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12888 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12889 global and hidden.
12890 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12891 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12892 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12893 Likewise.
12894 (__rawmemchr_sse2): Likewise.
12895 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12896 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12897 (__strchr_sse2): Likewise.
12898 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12899 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12900 (__strcasecmp_sse2): Likewise.
12901 (__strncasecmp_sse2): Likewise.
12902 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12903 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12904 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12905 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12906 (__strrchr_sse2): Likewise.
12907 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12908 ifunc-impl-list.c.
12909 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12910 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12911 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12912 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12913 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12914 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12915 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12916 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12917 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12918 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12919 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12920 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12921 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12922 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12923 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12924 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12925 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12926 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12927 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12928 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12929 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12930 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12931 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12932 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12933 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12934 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12935 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12936 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12937 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12938 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12939
b090e8ea
L
12940 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12941 global and hidden.
12942 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12943 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12944 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12945 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12946 Likewise.
12947 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12948 Likewise.
12949 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12950 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12951 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12952 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12953 ifunc-impl-list.c.
12954 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12955 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12956 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12957 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12958 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12959 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12960 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12961 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12962 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12963 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12964 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12965 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12966 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12967 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12968 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12969 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12970 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12971 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12972 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12973 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12974 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12975 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12976 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12977 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12978 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12979 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12980 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12981 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12982 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12983 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12984 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12985 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12986 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12987 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12988 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12989 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12990 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12991 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12992 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12993 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12994 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12995
11dd4af6
L
12996 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12997 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12998 * include/ifunc-impl-list.h: New file.
12999 * misc/ifunc-impl-list.c: Likewise.
13000 * misc/Makefile (routines): Add ifunc-impl-list.
13001 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13002 * string/test-string.h: Include <ifunc-impl-list.h>.
13003 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13004 impl_array): New variables.
13005 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13006 are defined.
13007 (test_init): Call __libc_ifunc_impl_list to initialize
13008 func_list if TEST_IFUNC and TEST_NAME are defined.
13009
9a387d1f
L
13010 * string/Makefile (strop-tests): Add bcopy and bzero.
13011 * string/test-bcopy.c: New file.
13012 * string/test-bzero.c: Likewise.
13013 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13014 defined.
13015 * string/test-memset.c: Support bzero test if TEST_BZERO is
13016 defined.
13017 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13018 __libc_memmove.
13019 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13020 __libc_memset.
13021 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13022 of memset.
13023
472371b9
JM
130242012-10-10 Joseph Myers <joseph@codesourcery.com>
13025
1e4a9536
JM
13026 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13027 * configure: Regenerated.
13028
d173d12e
JM
13029 * Makeconfig (+link-static-before-libc): Don't include
13030 $(link-static-libc).
13031
472371b9
JM
13032 * libio/libio.h (_IO_pos_t): Remove.
13033
89a3ad0b
AO
130342012-10-10 Alexandre Oliva <aoliva@redhat.com>
13035
13036 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13037 McGrath.
13038
e7451425
AO
130392012-10-10 Alexandre Oliva <aoliva@redhat.com>
13040
13041 * crypt/crypt-entry.c: Include fips-private.h.
13042 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13043 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13044 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13045 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13046
4ba74a35
AO
130472012-10-10 Alexandre Oliva <aoliva@redhat.com>
13048
13049 * crypt/crypt-private.h: Include stdbool.h.
13050 (_ufc_setup_salt_r): Return bool.
13051 * crypt/crypt-entry.c: Include errno.h.
13052 (__crypt_r): Return NULL with EINVAL for bad salt.
13053 * crypt/crypt_util.c (bad_for_salt): New.
13054 (_ufc_setup_salt_r): Check that salt is long enough and within
13055 the specified alphabet.
13056 * crypt/badsalttest.c: New file.
13057 * crypt/Makefile (tests): Add it.
13058 ($(objpfx)badsalttest): New.
13059
f96f1242
MK
130602012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13061
13062 * NEWS: Add entry for BZ #14602.
13063
0e8e0c1c
JM
130642012-10-09 Joseph Myers <joseph@codesourcery.com>
13065
13066 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13067 type-generic.
13068 * math/libm-test.inc: Update comment listing what functions and
13069 macros are tested.
13070 (isgreater_test): New function.
13071 (isgreaterequal_test): Likewise.
13072 (isless_test): Likewise.
13073 (islessequal_test): Likewise.
13074 (islessgreater_test): Likewise.
13075 (isunordered_test): Likewise.
13076 (main): Call the new functions.
13077
273edc5e
RM
130782012-10-09 Roland McGrath <roland@hack.frob.com>
13079
b8493de0
RM
13080 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13081 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13082 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13083 * sysdeps/i386/configure: Regenerated.
13084 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13085 * sysdeps/mach/configure: Regenerated.
13086 * sysdeps/mach/hurd/configure: Regenerated.
13087 * sysdeps/powerpc/configure: Regenerated.
13088 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13089 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13090 * sysdeps/s390/s390-32/configure: Regenerated.
13091 * sysdeps/s390/s390-64/configure: Regenerated.
13092 * sysdeps/sh/configure: Regenerated.
13093 * sysdeps/sparc/configure: Regenerated.
13094 * sysdeps/unix/sysv/linux/configure: Regenerated.
13095 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13096 * sysdeps/x86_64/configure: Regenerated.
13097
273edc5e
RM
13098 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13099 defined. Don't check if MAP is NULL.
13100
c8450f70
JM
131012012-10-09 Joseph Myers <joseph@codesourcery.com>
13102
13103 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13104 (_G_stat64): Likewise.
13105 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13106 (_G_stat64): Likewise.
13107 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13108 instead of struct _G_stat64.
13109 * libio/fileops.c (mmap_remap_check): Likewise.
13110 (decide_maybe_mmap): Likewise.
13111 (_IO_new_file_seekoff): Likewise.
13112 (_IO_file_stat): Likewise.
13113 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13114 _G_off64_t.
13115 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13116 instead of struct _G_stat64.
13117 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13118
57e605ba
MK
131192012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13120
13121 [BZ #14602]
13122 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13123 Replace with ...
13124 (CHECK_EOL): New macro.
13125 (two_way_short_needle): Check beginning of haystack for EOL. Use
13126 CHECK_EOL.
13127 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13128 Replace with CHECK_EOL.
13129 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13130 Replace with CHECK_EOL.
13131
ef1bb361
JM
131322012-10-08 Joseph Myers <joseph@codesourcery.com>
13133
13134 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13135 type-generic.
13136 * math/libm-test.inc: Update comment listing what functions and
13137 macros are tested.
13138 (finite_test): New function.
13139 (isinf_test): Likewise.
13140 (isnan_test): Likewise.
13141 (fpclassify_test): Test subnormal input.
13142 (isfinite_test): Likewise.
13143 (isnormal_test): Likewise.
13144 (main): Call the new functions.
13145
55f11534
JN
131462012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13147
13148 [BZ #14660]
13149 * Makerules (%.dynsym): Force C locale when running
13150 $(OBJDUMP) --dynamic-syms.
13151
1ab29350
AS
131522012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13153
13154 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13155 <stdint.h>.
13156
f1ecb7ef
DM
131572012-10-06 David S. Miller <davem@davemloft.net>
13158
13159 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13160 upper 32-bits of the length value in %o2 since we use branch-on-register
13161 tests which consider the entire 64-bit register.
13162
5d41d91a
L
131632012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13164
13165 * string/test-strstr.c (check2): Add a test for page boundary.
13166
3baddb72
DM
131672012-10-05 David S. Miller <davem@davemloft.net>
13168
13169 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13170 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13171 file.
13172 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13173 sysdep_routines.
13174 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13175 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13176 and bzero when HWCAP_SPARC_CRYPTO is present.
13177
9cee5585
L
131782012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13179
d7e0dab9
L
13180 [BZ #14602]
13181 * string/test-strstr.c (check2): New function.
13182 (test_main): Call check2.
13183
03759f47
L
13184 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13185 and bug-strchr1.
13186 * string/bug-strcasestr1.c (do_test): Moved to ...
13187 * string/test-strcasestr.c (check1): Here. New function.
13188 (do_one_test): Break out result checking code into ...
13189 (check_result): This. New function.
13190 (do_one_test): Call check_result.
13191 (test_main): Call check1.
13192 * string/bug-strchr1.c (do_test): Moved to ...
13193 * string/test-strchr.c (check1): Here. New function.
13194 (do_one_test): Break out result checking code into ...
13195 (check_result): This. New function.
13196 (do_one_test): Call check_result.
13197 (test_main): Call check1.
13198 * string/bug-strstr1.c (main): Moved to ...
046f153e 13199 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13200 (do_one_test): Break out result checking code into ...
13201 (check_result): This. New function.
13202 (do_one_test): Call check_result.
13203 (test_main): Call check1.
13204 * string/bug-strcasestr1.c: Removed.
13205 * string/bug-strchr1.c: Likewise.
13206 * string/bug-strstr1.c: Likewise.
13207
53cea63e
L
13208 * elf/Makefile (dl-routines): Add hwcaps.
13209 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13210 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13211 (_dl_important_hwcaps): Moved to ...
13212 * elf/dl-hwcaps.c: Here. New file.
13213 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13214
9cee5585 13215 [BZ #14557]
bb859b06
L
13216 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13217 if IS_IN_rtld isn't defined.
13218
9cee5585
L
13219 * elf/dl-support.c (_dl_sysinfo_map): New.
13220 Include "get-dynamic-info.h" and "setup-vdso.h".
13221 (_dl_non_dynamic_init): Call setup_vdso.
13222 * elf/dynamic-link.h: Don't include <assert.h>.
13223 (elf_get_dynamic_info): Moved to ...
13224 * elf/get-dynamic-info.h: Here. New file.
13225 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13226 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13227 * elf/setup-vdso.h: Here. New file.
13228 * elf/rtld.c: Include "setup-vdso.h".
13229 (dl_main): Call setup_vdso.
13230
23c31b76
JM
132312012-10-05 Joseph Myers <joseph@codesourcery.com>
13232
28234b07
JM
13233 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13234 creal in comment listing functions tested. List finite, isinf,
13235 isnan, isless, islessequal, isgreater, isgreaterequal,
13236 islessgreater, isunordered, lgamma_r and pow10 as functions and
13237 macros not tested. Mention which functions not tested are aliases
13238 for other functions. Fix typo. Note that signs of NaNs are not
13239 tested.
13240
23c31b76
JM
13241 * scripts/config.guess: Update from config.git.
13242 * scripts/config.sub: Likewise.
13243
9043e228
RM
132442012-10-04 Roland McGrath <roland@hack.frob.com>
13245
13246 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13247 * misc/madvise.c (madvise): Renamed to __madvise.
13248 Make madvise a weak alias.
13249 * include/sys/mman.h: Declare __madvise.
13250 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13251 * sysdeps/unix/syscalls.list
13252 (madvise): Make __madvise the strong name, and madvise a weak alias.
13253 * sysdeps/unix/sysv/linux/syscalls.list
13254 (madvise, mmap): Remove redundant entries.
13255 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13256 * malloc/malloc.c (mtrim): Likewise.
13257 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13258
f57f8055
RM
132592012-10-03 Roland McGrath <roland@hack.frob.com>
13260
13261 * sysdeps/mach/hurd/dl-cache.c: File removed.
13262 * config.h.in (USE_LDCONFIG): New #undef.
13263 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13264 * configure: Regenerated.
13265 * elf/Makefile (dl-routines): Add dl-cache only under
13266 [$(use-ldconfig) = yes].
13267 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13268 cache on [USE_LDCONFIG].
13269 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13270 [USE_LDCONFIG].
13271 * elf/rtld.c (dl_main): Likewise.
13272
5bb0c10a
PT
132732012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13274
13275 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13276 _SC_LEVEL4_CACHE_LINESIZE.
13277
010188c6
RM
132782012-10-03 Roland McGrath <roland@hack.frob.com>
13279
13280 * sysdeps/unix/bsd/confstr.h: File removed.
13281
b6c5ec07
AO
132822012-10-02 Alexandre Oliva <aoliva@redhat.com>
13283
13284 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13285 sys/sdt-config.h.
13286
408223d4
RM
132872012-10-02 Roland McGrath <roland@hack.frob.com>
13288
13289 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13290 Make 'mapoff' field ElfW(Off) rather than off_t.
13291
bb9510dc
DL
132922012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13293
fc997c6e
DL
13294 * nscd/Makefile: Remove nscd-cflags and all its users.
13295 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13296 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13297
bb9510dc
DL
13298 [BZ #10631]
13299 * malloc.c (malloc_printerr): Clarify error message.
13300
05699367
L
133012012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13302
13303 [BZ #14648]
13304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13305 Set bit_FMA_Usable if FMA is supported.
13306 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13307 macro.
13308 (bit_FMA4_Usable): Updated.
13309 (index_FMA_Usable): New macro.
13310 (CPUID_FMA): Likewise
13311 (HAS_FMA): Defined with bit_FMA_Usable.
13312
51367701
RM
133132012-10-01 Roland McGrath <roland@hack.frob.com>
13314
13315 * bits/types.h (__swblk_t): Type removed.
13316 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13317 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13318 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13319 (__SWBLK_T_TYPE): Likewise.
13320 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13321 (__SWBLK_T_TYPE): Likewise.
13322 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13323 (__SWBLK_T_TYPE): Likewise.
13324 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13325 (__SWBLK_T_TYPE): Likewise.
13326
4d57bf63 133272012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13328 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13329
13330 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13331 (xdr_mapname): Use YPMAXMAP as maxsize.
13332 (xdr_peername): Use YPMAXPEER as maxsize.
13333 (xdr_keydat): Use YPAXRECORD as maxsize.
13334 (xdr_valdat): Use YPMAXRECORD as maxsize.
13335
93c65d43
RM
133362012-10-01 Roland McGrath <roland@hack.frob.com>
13337
497a03d6
RM
13338 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13339
93c65d43
RM
13340 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13341 * csu/init-first.c: ... here.
13342 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13343 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13344 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13345 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13346 * sysdeps/i386/init-first.c: File removed.
13347 * sysdeps/sh/init-first.c: File removed.
13348
bec749fd
JM
133492012-10-01 Joseph Myers <joseph@codesourcery.com>
13350
13351 [BZ #14645]
13352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13353 if x * y might underflow to zero and z is zero.
13354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13355 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13356 * math/libm-test.inc (min_subnorm_value): New variable.
13357 (fma_test): Add more tests.
13358 (fma_test_towardzero): Likewise.
13359 (fma_test_downward): Likewise
13360 (fma_test_upward): Likewise.
13361 (initialize): Set min_subnorm_value.
13362
8ec5b013
JM
133632012-09-29 Joseph Myers <joseph@codesourcery.com>
13364
13365 [BZ #14638]
13366 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13367 0 + 0.
13368 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13369 mode for addition resulting in exact zero.
13370 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13371 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13372 exact 0 + 0.
13373 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13374 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13375 * math/libm-test.inc (fma_test): Add more tests.
13376 (fma_test_towardzero): New function.
13377 (fma_test_downward): Likewise.
13378 (fma_test_upward): Likewise.
13379 (main): Call the new functions.
13380
b1fa802e
DM
133812012-09-28 David S. Miller <davem@davemloft.net>
13382
13383 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13384
d3b9fd9e
RM
133852012-09-28 Roland McGrath <roland@hack.frob.com>
13386
ea4d37b3
RM
13387 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13388 instead of SIGALRM.
13389
ac51c949
RM
13390 * sysdeps/gnu/_G_config.h: Moved to ...
13391 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13392 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13393 * sysdeps/generic/_G_config.h: ... here.
13394
28c195f7
RM
13395 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13396
848917f9
RM
13397 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13398
6bacf05b
RM
13399 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13400 Conditionalize target on [libnss_test1.so-version].
13401
91363dbb
RM
13402 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13403
cc87f7d8
RM
13404 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13405 (elfobjdir): Move out of conditionals.
13406
b1c608fe
RM
13407 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13408 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13409 (__nss_lookup_function): Conditionalize label remove_from_tree on
13410 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13411
1d9a6d96
DM
134122012-09-28 David S. Miller <davem@davemloft.net>
13413
13414 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13415 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13416 file.
13417 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13418 sysdep_routines.
13419 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13421 when HWCAP_SPARC_CRYPTO is present.
13422
72581615
PT
134232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13424
13425 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13426
715a900c
JL
134272012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13428
13429 [BZ #6530]
13430 * stdio-common/vfprintf.c (process_string_arg): Revert
13431 2000-07-22 change.
13432
134332011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13434
13435 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13436 for testcase.
13437 * stdio-common/tst-sprintf.c: Include <locale.h>
13438 (main): Test sprintf's handling of incomplete multibyte
13439 characters.
13440
9bac1d86
L
134412012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13442
13443 * elf/dl-runtime.c (VERSYMIDX): Removed.
13444 * elf/dl-version.c (VERSYMIDX): Likewise.
13445 * elf/do-rel.h (VERSYMIDX): Likewise.
13446 (VALIDX): Likewise.
13447 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13448 * elf/rtld.c (VALIDX): Likewise.
13449 (ADDRIDX): Likewise.
9bac1d86
L
13450 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13451 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13452 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13453 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13454 (VALIDX): Likewise.
13455 (ADDRIDX): Likewise.
9bac1d86 13456
b31606c0
PT
134572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13458
13459 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13460
11541177
JL
134612012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13462
13463 [BZ #11438]
13464 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13465 to global scope.
13466 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13467 addresses are in the same scope as 192.0.2/24.
13468 * posix/gai.conf: Document new scope table defaults.
13469
adb26fae
SP
134702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13471
13472 [BZ #5298]
13473 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13474 for ftell. Compute offsets from write pointers instead.
13475 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13476
4573c6b0
SP
134772012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13478
13479 [BZ #14543]
13480 * libio/Makefile (tests): New test case tst-fseek.
13481 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13482 combination works in wide mode.
13483 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13484 state when the external buffer state changes.
13485
aa9bbfe6
DM
134862012-09-27 David S. Miller <davem@davemloft.net>
13487
13488 [BZ #14376]
13489 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13490 pass reloc->r_addend in as the 'high' argument to
13491 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13492
784421e7
DM
13493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13494
c39bc8b8
PT
134952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13496
13497 * rt/tst-aio2.c: Include <pthread.h>.
13498 * rt/tst-aio3.c: Likewise.
13499
1ccc2399
SE
135002012-09-27 Steve Ellcey <sellcey@mips.com>
13501
13502 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13503
31ed4153
L
135042012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13505
25f5f885
L
13506 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13507 contents on [SHARED].
31ed4153 13508
b7bfe116
MP
135092012-09-26 Marek Polacek <polacek@redhat.com>
13510
13511 [BZ #14530]
13512 [BZ #13741]
13513 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13514 for C++ and GCC <4.3 as well as for non GCC compilers.
13515
43c4edba
MT
135162012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13517
13518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13519
6a1bf82f
RM
135202012-09-25 Roland McGrath <roland@hack.frob.com>
13521
13522 * Makefile.in (all, install): Declare with .PHONY.
13523 Reported by Michael Hope <michael.hope@linaro.org>.
13524
8ad11b9a
TMQMF
135252012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13526
13527 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13528 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13529 system header.
13530 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13531 Likewise.
13532 (sydep_routines): Add the new and the internal functions.
13533 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13534 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13536 (GLIBC_2.17): Add the new function.
13537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13538 (GLIBC_2.17): Likewise.
13539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13540 (GLIBC_2.17): Likewise.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13542 (GLIBC_2.17): Likewise.
13543 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13544
7e2fca8d
AM
135452012-09-25 Alan Modra <amodra@gmail.com>
13546
13547 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13548 Add release barrier before setting once_control to say
13549 initialisation is done. Add hints on lwarx. Use macro in
13550 place of isync.
13551 (clear_once_control): Add release barrier.
13552
b87c4b24
JM
135532012-09-25 Joseph Myers <joseph@codesourcery.com>
13554
d032e0d2
JM
13555 [BZ #13629]
13556 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13557 specially.
13558 * math/s_clog10.c (__clog10): Likewise.
13559 * math/s_clog10f.c (__clog10f): Likewise.
13560 * math/s_clog10l.c (__clog10l): Likewise.
13561 * math/s_clogf.c (__clogf): Likewise.
13562 * math/s_clogl.c (__clogl): Likewise.
13563 * math/Makefile (libm-calls): Add x2y2m1.
13564 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13565 (__x2y2m1): Likewise.
13566 (__x2y2m1l): Likewise.
13567 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13568 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13571 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13572 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13573 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13574 * sysdeps/i386/fpu/libm-test-ulps: Update.
13575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13576
b87c4b24
JM
13577 [BZ #14621]
13578 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13579 int as type of variable DEPTH.
13580 (glob): Use size_t instead of int as type of variables NEWCOUNT
13581 and OLD_PATHC.
13582
6d3bf199
LD
135832012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13584
22bf5c17
LD
13585 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13586 Add s_sincosf-sse2.
13587 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13588 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13589 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13590 macros for using routine as __sincosf_ia32.
13591 Use macro for function declaration and weak_alias.
13592 * sysdeps/i386/fpu/libm-test-ulps: Update.
13593
13594 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13596
13597 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13598 subnormal argument.
13599 * math/s_cexpf.c (__cexpf): Likewise.
13600 * math/s_csinf.c (__csinf): Likewise.
13601 * math/s_csinhf.c (__csinhf): Likewise.
13602 * math/s_ctanf.c (__ctanf): Likewise.
13603 * math/s_ctanhf.c (__ctanhf): Likewise.
13604 * math/s_ccosh.c (__ccoshf): Likewise.
13605 * math/s_cexp.c (__cexpl): Likewise.
13606 * math/s_csin.c (__csin): Likewise.
13607 * math/s_csinh.c (__csinh): Likewise.
13608 * math/s_ctan.c (__ctan): Likewise.
13609 * math/s_ctanh.c (ctanh): Likewise.
13610 * math/s_ccoshl.c (__ccoshl): Likewise.
13611 * math/s_cexpl.c (__cexpl): Likewise.
13612 * math/s_csinl.c (__csinl): Likewise.
13613 * math/s_csinhl.c (__csinhl): Likewise.
13614 * math/s_ctanl.c (__ctanl): Likewise.
13615 * math/s_ctanhl.c (__ctanhl): Likewise.
13616
203e5603
JM
136172012-09-25 Joseph Myers <joseph@codesourcery.com>
13618
13619 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13620 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13621 (_IO_off_t): Define to __off_t, not _G_off_t.
13622 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13623 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13624 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13625 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13626 type of __dummy and __dummy2 fields.
13627 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13628 (_G_ssize_t): Likewise.
13629 (_G_off_t): Likewise.
13630 (_G_pid_t): Likewise.
13631 (_G_uid_t): Likewise.
13632 (_G_wchar_t): Likewise.
13633 (_G_wint_t): Likewise.
13634 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13635 (_G_ssize_t): Likewise.
13636 (_G_off_t): Likewise.
13637 (_G_pid_t): Likewise.
13638 (_G_uid_t): Likewise.
13639 (_G_wchar_t): Likewise.
13640 (_G_wint_t): Likewise.
13641 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13642 (_G_ssize_t): Likewise.
13643 (_G_off_t): Likewise.
13644 (_G_pid_t): Likewise.
13645 (_G_uid_t): Likewise.
13646 (_G_wchar_t): Likewise.
13647 (_G_wint_t): Likewise.
13648
9fab36eb
SP
136492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13650
13651 * malloc/arena.c: Include malloc-sysdep.h.
13652 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13653 is sufficient to shrink the heap or an unmap is needed.
13654 * sysdeps/generic/malloc-sysdep.h: New file. Define
13655 new function check_may_shrink_heap.
13656 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13657 new function check_may_shrink_heap.
13658
2b4f00d1
SP
136592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13660
13661 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13662 comments.
13663
9a9028b1
DL
136642012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13665
57c69bef
DL
13666 * catgets/test-gencat.sh: Add "set -e".
13667 * elf/tst-pathopt.sh: Likewise.
13668 * grp/tst_fgetgrent.sh: Likewise.
13669 * iconvdata/run-iconv-test.sh: Likewise.
13670 * intl/tst-gettext.sh: Likewise.
13671 * intl/tst-gettext2.sh: Likewise.
13672 * intl/tst-gettext4.sh: Likewise.
13673 * intl/tst-gettext6.sh: Likewise.
13674 * intl/tst-translit.sh: Likewise.
13675 * io/ftwtest-sh: Likewise.
13676 * libio/test-freopen.sh: Likewise.
13677 * malloc/tst-mtrace.sh: Likewise.
13678 * posix/globtest.sh: Likewise.
13679 * posix/tst-getconf.sh: Likewise.
13680 * posix/wordexp-tst.sh: Likewise.
13681 * stdio-common/tst-printf.sh: Likewise.
13682 * stdio-common/tst-unbputc.sh: Likewise.
13683 * stdlib/tst-fmtmsg.sh: Likewise.
13684 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13685 * catgets/Makefile: Do not specify -e option when running
13686 testsuite shell scripts.
13687 * elf/Makefile: Likewise.
13688 * grp/Makefile: Likewise.
13689 * iconvdata/Makefile: Likewise.
13690 * intl/Makefile: Likewise.
13691 * io/Makefile: Likewise.
13692 * libio/Makefile: Likewise.
13693 * malloc/Makefile: Likewise.
13694 * posix/Makefile: Likewise.
13695 * stdio-common/Makefile: Likewise.
13696 * stdlib/Makefile: Likewise.
13697 * sysdeps/x86_64/Makefile: Likewise.
13698
9a9028b1
DL
13699 * io/ftwtest-sh: Add copyright header.
13700 * posix/globtest.sh: Likewise.
13701 * posix/tst-getconf.sh: Likewise.
13702 * posix/wordexp-tst.sh: Likewise.
13703 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13704
ced6f16e
L
137052012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13706
94b32c39
L
13707 [BZ #13679]
13708 * Makeconfig (+link): Defined as $(+link-static) if
13709 $(build-shared) isn't yes.
13710 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13711 isn't yes.
13712 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13713
189e935b
L
13714 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13715
ced6f16e
L
13716 [BZ #14562]
13717 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13718 new chunk size with MALLOC_ALIGN_MASK.
13719
a9f8e53a
JM
137202012-09-24 Joseph Myers <joseph@codesourcery.com>
13721
13722 [BZ #5044]
13723 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13724 <rounding-mode.h>.
13725 (__printf_fphex): Determine rounding using get_rounding_mode and
13726 round_away.
13727 * stdio-common/tst-printf-round.c (struct hex_test): New
13728 structure.
13729 (hex_tests): New variable.
13730 (test_hex_in_one_mode): New function.
13731 (do_test): Also run tests for hex float output.
13732
43153109
JM
137332012-09-21 Joseph Myers <joseph@codesourcery.com>
13734
13735 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13736 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13737 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13738 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13739 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13740 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13741 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13742 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13743
8a26625d
JM
137442012-09-20 Joseph Myers <joseph@codesourcery.com>
13745
13746 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13747 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13748 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13749 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13750
f3fd569c
DL
137512012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13752
13753 [BZ #14579]
13754 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13755 mode only.
13756 * elf/tst-rtld-load-self.sh: New test.
13757 * elf/Makefile: Run it.
13758
63bbedd4
JM
137592012-09-18 Joseph Myers <joseph@codesourcery.com>
13760
13761 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13762 (tst-writev-ENV): Remove.
13763 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13764
626f8b6a
CM
137652012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13766
13767 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13768
b7aaa4d6
JM
137692012-09-17 Joseph Myers <joseph@codesourcery.com>
13770
13771 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13772 unconditional.
13773 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13774 Likewise.
13775 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13776 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13777 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13778 Likewise.
13779
65513990
L
137802012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13781
13782 [BZ #14587]
13783 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13784 * config.make.in (have-cpp-asm-debuginfo): Removed.
13785 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13786 * configure: Regenerated.
13787
784761be
JM
137882012-09-14 Joseph Myers <joseph@codesourcery.com>
13789
13790 [BZ #5044]
13791 * stdio-common/printf_fp.c: Include <stdbool.h> and
13792 <rounding-mode.h>.
13793 (___printf_fp): Determine rounding using get_rounding_mode and
13794 round_away.
13795 * stdio-common/tst-printf-round.c: New file.
13796 * stdio-common/Makefile (tests): Add tst-printf-round.
13797 (link-libm): New variable.
13798 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13799
9503345f
L
138002012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13801
13802 [BZ #14576]
13803 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13804 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13805 Likewise.
13806 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13807 Likewise.
13808
ad35fc00
JM
138092012-09-13 Joseph Myers <joseph@codesourcery.com>
13810
13811 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13812 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13813 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13814 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13815
6c9b0f68
JM
138162012-09-12 Joseph Myers <joseph@codesourcery.com>
13817
13818 [BZ #14518]
13819 * include/rounding-mode.h: New file.
13820 * sysdeps/generic/get-rounding-mode.h: Likewise.
13821 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13822 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13823 (MAX_VALUE): New macro.
13824 (MIN_VALUE): Likewise.
13825 (overflow_value): New function.
13826 (underflow_value): Likewise.
13827 (round_and_return): Use overflow_value and underflow_value to
13828 determine return values in overflow and underflow cases. Use
13829 round_away to determine rounding depending on rounding mode.
13830 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13831 determine return values in overflow and underflow cases.
13832 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13833 (struct test_results): New structure.
13834 (struct test): Use struct test_results to store expected results
13835 for all rounding modes.
13836 (TEST): Include expected results for all rounding modes.
13837 (test_in_one_mode): New function.
13838 (do_test): Use test_in_one_mode to compute and check results.
13839 Check results for all rounding modes.
13840 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13841 $(link-libm).
13842
19fcedd5
AM
138432012-12-09 Allan McRae <allan@archlinux.org>
13844
1e9d84cd 13845 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13846
8bbfd2f1
JM
138472012-09-11 Joseph Myers <joseph@codesourcery.com>
13848
13849 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13850 (_G_int32_t): Likewise.
13851 (_G_uint16_t): Likewise.
13852 (_G_uint32_t): Likewise.
13853 (_G_HAVE_BOOL): Likewise.
13854 (_G_HAVE_ATEXIT): Likewise.
13855 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13856 (_G_HAVE_IO_FILE_OPEN): Likewise.
13857 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13858 (_G_int32_t): Likewise.
13859 (_G_uint16_t): Likewise.
13860 (_G_uint32_t): Likewise.
13861 (_G_HAVE_BOOL): Likewise.
13862 (_G_HAVE_ATEXIT): Likewise.
13863 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13864 (_G_HAVE_IO_FILE_OPEN): Likewise.
13865 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13866 (_G_int32_t): Likewise.
13867 (_G_uint16_t): Likewise.
13868 (_G_uint32_t): Likewise.
13869 (_G_HAVE_BOOL): Likewise.
13870 (_G_HAVE_ATEXIT): Likewise.
13871 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13872 (_G_HAVE_IO_FILE_OPEN): Likewise.
13873
b1dc5912
L
138742012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13875
13876 * csu/libc-tls.c: Update copyright years.
13877
0e886ef9
JM
138782012-09-10 Joseph Myers <joseph@codesourcery.com>
13879
28361c5e
JM
13880 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13881 [!_G_USING_THUNKS]: Remove conditional code.
13882 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13883 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13884
0e886ef9
JM
13885 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13886 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13887 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13888 (_G_VTABLE_LABEL_PREFIX): Likewise.
13889 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13890 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13891 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13892 (_G_VTABLE_LABEL_PREFIX): Likewise.
13893 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13894 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13895 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13896 (_G_VTABLE_LABEL_PREFIX): Likewise.
13897 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13898
bcba7aa2
L
138992012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13900
13901 * libio/Makefile: Include ../Makeconfig before tests.
13902 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13903 only if $(build-shared) is yes.
13904
06585ee8
L
13905 * iconv/gconv_db.c: Update copyright years.
13906
80ccd52c
LD
139072012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13908
13909 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13910 unwind info if defined PIC. Fix special cases description.
13911 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13912
13913 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13914 DP_HI_MASK entry.
13915 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13916
691bc9c1
L
139172012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13918
3d9b46b3
L
13919 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13920
de2139a9
L
13921 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13922 is NULL.
13923
5ca78dd0
L
13924 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13925 (LDLIBS-tst-chk4): This.
13926 (LDFLAGS-tst-chk5): Renamed to ...
13927 (LDLIBS-tst-chk5): This.
13928 (LDFLAGS-tst-chk6): Renamed to ...
13929 (LDLIBS-tst-chk6): This.
13930 (LDFLAGS-tst-lfschk4): Renamed to ...
13931 (LDLIBS-tst-lfschk4): This.
13932 (LDFLAGS-tst-lfschk5): Renamed to ...
13933 (LDLIBS-tst-lfschk5): This.
13934 (LDFLAGS-tst-lfschk6): Renamed to ...
13935 (LDLIBS-tst-lfschk6): This.
13936
691bc9c1
L
13937 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13938 on $(common-objpfx)soversions.mk.
13939
65cafb1c
JM
139402012-09-07 Joseph Myers <joseph@codesourcery.com>
13941
13942 [BZ #10014]
13943 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13944 example host name.
13945
c78ab094
SP
139462012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13947
13948 * malloc/arena.c (arena_get_retry): New function that gets
13949 another arena for the caller to try its request on.
13950 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13951 current arena cannot fulfill the request.
13952 (__libc_memalign): Likewise.
13953 (__libc_memalign): Likewise.
13954 (__libc_pvalloc): Likewise.
13955 (__libc_calloc): Likewise.
13956
01f49f59
JT
139572012-09-05 John Tobey <john.tobey@gmail.com>
13958
13959 [BZ #13542]
13960 * manual/arith.texi (Operations on Complex): Fix description
13961 of carg branch cut.
13962
4c23fed5
JM
139632012-09-06 Joseph Myers <joseph@codesourcery.com>
13964
1d3c8572
JM
13965 [BZ #10014]
13966 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13967 host name.
13968
4c23fed5
JM
13969 [BZ #10038]
13970 * manual/memory.texi (Memory): Make order of menu items match
13971 order of sections.
13972
04570aaa
L
139732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13974
13975 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13976 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13977 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13978
b80af2f4
L
139792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13980
13981 * csu/libc-tls.c (static_dtv): Renamed to ...
13982 (_dl_static_dtv): This. Make it global.
13983 (_dl_initial_dtv): Removed.
13984 (__libc_setup_tls): Updated.
13985 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13986 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13987 DL_INITIAL_DTV.
13988
2abe9f15
PM
139892012-09-06 Petr Machata <pmachata@redhat.com>
13990
13991 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13992 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13993 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13994 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13995
0948c3af
L
139962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13997
13998 [BZ #14545]
13999 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14000 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14001 freeing dtv[-1].
14002
a5055ad1
L
140032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14004
14005 [BZ #14544]
14006 * Makeconfig (link-static-before-libc): Replace $(+prector)
14007 with $(+prectorT).
14008 (link-static-after-libc): Replace $(+postctor) with
14009 $(+postctorT).
14010 (link-bounded): Replace $(+prector)/$(+postctor) with
14011 $(+prectorT)/$(+postctorT).
14012 (+prectorT): New macro.
14013 (+postctorT): Likewise.
14014
ed8c2ecd
JM
140152012-09-06 Joseph Myers <joseph@codesourcery.com>
14016
14017 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14018 (round_str): Handle values above the maximum for IBM long double
14019 as inexact.
14020 * stdlib/tst-strtod-round.c (tests): Regenerated.
14021
14c996c8
AK
140222012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14023
14024 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14025 assembler flag.
14026 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14027 zarch_nohighgprs around the zarch optimized routines.
14028 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14029 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14030 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14031 for zarch.
14032
430d6ce6
DM
140332012-09-05 David S. Miller <davem@davemloft.net>
14034
14035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14036
ff04dda4
DM
14037 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14038 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14039 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14040 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14041 entries.
14042
24d4e01b
AO
140432012-09-05 Alexandre Oliva <aoliva@redhat.com>
14044
14045 * malloc/arena.c: Fold copyright years.
14046 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14047
61d58174
AO
140482012-09-05 Alexandre Oliva <aoliva@redhat.com>
14049
14050 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14051
20196a5e
AO
140522012-09-05 Alexandre Oliva <aoliva@redhat.com>
14053
14054 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14055
5c447383
AO
140562012-09-05 Alexandre Oliva <aoliva@redhat.com>
14057
14058 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14059 change internal state upon failure.
14060
fad64255
AO
140612012-09-05 Alexandre Oliva <aoliva@redhat.com>
14062
14063 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14064 * malloc/memusage.c (mmap): Likewise.
14065 (mmap64, mremap): Likewise. Adjust name in comment.
14066
1ffb8c90
SP
140672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14068
14069 * libio/fileops.c: Fix typos in comments.
14070 * libio/oldfileops.c: Likewise.
14071 * libio/wfileops.c: Likewise.
14072
6ef9cc37
SP
140732012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14074
14075 [BZ #1349]
14076 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14077 (tst-malloc-usable-ENV): Set environment for test case.
14078 * malloc/hooks.c (malloc_check_get_size): New function to get
14079 requested size.
14080 * malloc/malloc.c (musable): Use malloc_check_get_size.
14081 * malloc/tst-malloc-usable.c: New test case.
14082
4d038ae3
AS
140832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14084
14085 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14086
c4e85184
AM
140872012-09-05 Allan McRae <allan@archlinux.org>
14088
b9dafc56 14089 [BZ #13966]
c4e85184
AM
14090 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14091 determine header location.
14092 * configure: Regenerated.
14093
e1343020
AS
140942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14095
14096 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14097 float format.
14098 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14099 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14100 format.
e1343020
AS
14101 (test): Regenerate.
14102
0a9f1987
DM
141032012-09-04 David S. Miller <davem@davemloft.net>
14104
14105 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14106 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14107 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14108
29237804
FW
141092012-09-04 Florian Weimer <fweimer@redhat.com>
14110
14111 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14112 failures.
14113
edb3cb88
FW
14114 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14115
60160d83
JM
141162012-09-04 Joseph Myers <joseph@codesourcery.com>
14117
14118 [BZ #9914]
14119 * libio/iogetdelim.c: Include <limits.h>.
14120 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14121 + len + 1 would overflow.
14122
bcd6c8dc
AJ
141232012-09-03 Andreas Jaeger <aj@suse.de>
14124
14125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14126 * sysdeps/i386/fpu/libm-test-ulps: Update.
14127
4ffffbd2
LD
141282012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14129
14130 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14131 Add s_sinf-sse2, s_conf-sse2.
14132
14133 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14134 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14135 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14136 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14137
14138 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14139 for using routine as __sinf_ia32.
14140 Use macro for function declaration and weak_alias.
14141 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14142 for using routine as __cosf_ia32.
14143 Use macro for function declaration and weak_alias.
14144
14145 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14146 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14147
14148 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14149 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14151
14152 * math/libm-test.inc (cos_test): Add more test cases.
14153 (sin_test): Likewise.
14154 (sincos_test): Likewise.
14155
511fa286
AK
141562012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14157
14158 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14159 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14160 hidden.
14161 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14162
5f30cfec
L
141632012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14164
14165 [BZ #14538]
14166 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14167 first element of the GOT.
14168 (elf_machine_load_address): Return the difference between
14169 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14170
0786794f
AM
141712012-09-01 Allan McRae <allan@archlinux.org>
14172
5f30cfec
L
14173 [BZ #13412]
14174 * configure.in (AWK): Require gawk version 3.0 or later.
14175 * configure: Regenerated.
0786794f 14176
26889eac
JM
141772012-09-01 Joseph Myers <joseph@codesourcery.com>
14178
14179 * sysdeps/unix/sysv/linux/kernel-features.h
14180 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14181 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14182 [__NR_clock_getres]: Make code unconditional.
14183 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14184 (clock_getcpuclockid): Remove code left unreachable by removal of
14185 conditionals.
14186 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14187 code unconditional.
14188 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14189 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14190 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14191 Make code unconditional.
14192 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14193 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14194 * sysdeps/unix/sysv/linux/clock_settime.c
14195 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14196 conditional code.
14197 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14198 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14199
d22e28b0
L
142002012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14201
14202 [BZ #14476]
14203 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14204 scripts/test-installation.pl.
14205
14206 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14207 and $ld_so_version if it is set.
14208
050af9c4
SP
142092012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14210
14211 [BZ #14516]
14212 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14213 failure if reading from procfs failed.
14214 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14215
ad845c0b
JM
142162012-08-27 Joseph Myers <joseph@codesourcery.com>
14217
14218 * sysdeps/unix/sysv/linux/kernel-features.h
14219 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14220 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14221 Remove conditional code.
14222 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14223 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14224 Remove conditional code.
14225 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14226 * sysdeps/unix/sysv/linux/i386/fxstat.c
14227 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14228 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14229 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14230 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14231 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14232 * sysdeps/unix/sysv/linux/i386/lxstat.c
14233 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14234 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14235 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14236 Remove conditional code.
14237 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14238 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14239 Remove conditional code.
14240 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14241 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14242 <kernel-features.h>.
14243 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14244 Remove.
14245 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14246 Remove conditional code.
14247 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14248 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14249 Remove conditional.
14250
5dbf56af
MF
142512012-08-27 Mike Frysinger <vapier@gentoo.org>
14252
14253 [BZ #5400]
14254 * NEWS: Add fixed bug number.
14255
d6e70f43
JM
142562012-08-27 Joseph Myers <joseph@codesourcery.com>
14257
7efb4737
JM
14258 [BZ #14519]
14259 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14260 underflowing exponent in case of negative sign.
14261 * stdlib/tst-strtod-round-data: Add more tests.
14262 * stdlib/tst-strtod-round.c (tests): Regenerated.
14263
af92131a
JM
14264 [BZ #3479]
14265 * stdlib/strtod_l.c (NDIG): Remove.
14266 (HEXNDIG): Likewise.
14267 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14268 smallest representable value.
14269 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14270 lie within an exact representation of 1/2 ulp of the result.
14271 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14272 unconditionally.
14273 (TENS_P9_IDX): Define unconditionally.
14274 (TENS_P9_SIZE): Likewise.
14275 (TENS_P10_IDX): Likewise.
14276 (TENS_P10_SIZE): Likewise.
14277 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14278 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14279 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14280 entries for 10^2^13 and 10^2^14.
14281 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14282 (TENS_P13_IDX): Define.
14283 (TENS_P13_SIZE): Likewise.
14284 (TENS_P14_IDX): Likewise.
14285 (TENS_P14_SIZE): Likewise.
14286 (_fpioconst_pow10): Change array size to
14287 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14288 unconditional.
14289 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14290 1024]: Add entries for 10^2^13 and 10^2^14.
14291 [LAST_POW10 > _LAST_POW10]: Remove #error.
14292 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14293 (_fpioconst_pow10): Change array size to
14294 FPIOCONST_POW10_ARRAY_SIZE.
14295 * stdlib/gen-fpioconst.c: New file.
14296 * stdlib/gen-tst-strtod-round.c: Likewise.
14297 * stdlib/tst-strtod-round-data: Likewise.
14298 * stdlib/tst-strtod-round.c: Likewise.
14299 * stdlib/Makefile (tests): Add tst-strtod-round.
14300
d6e70f43
JM
14301 [BZ #14459]
14302 * stdlib/strtod_l.c: Include <stdint.h>.
14303 (NDEBUG): Do not define.
14304 (round_and_return): Change EXPONENT parameter to type intmax_t.
14305 Rearrange calculations to avoid internal overflow possibilities.
14306 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14307 Rearrange calculations to avoid internal overflow possibilities.
14308 Assert that number fits inside MPNSIZE limbs.
14309 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14310 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14311 calculations and add assertions to avoid internal overflow
14312 possibilities. Add casts to avoid signed/unsigned operations.
14313 * stdlib/tst-strtod-overflow.c: New file.
14314 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14315
1f529f7d
MP
143162012-08-25 Marek Polacek <polacek@redhat.com>
14317
14318 * time/time.h: Fix some typos in comments.
14319
59a629f1
RM
143202012-08-23 Roland McGrath <roland@hack.frob.com>
14321
14322 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14323 * posix/tst-rfc3484-2.c: Likewise.
14324 * posix/tst-rfc3484-3.c: Likewise.
14325
d3bafbc9
SM
143262012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14327
14328 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14329 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14330
4efcc022
JM
143312012-08-23 Joseph Myers <joseph@codesourcery.com>
14332
14333 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14334 #include of fxstatat64.c.
14335
3cc3ef96
RM
143362012-08-22 Roland McGrath <roland@hack.frob.com>
14337
f04e2132
RM
14338 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14339 * shadow/getspent_r.c: Likewise.
14340 * shadow/getspnam.c: Likewise.
14341 * shadow/getspnam_r.c: Likewise.
14342 * gshadow/getsgent.c: Likewise.
14343 * gshadow/getsgent_r.c: Likewise.
14344 * gshadow/getsgnam.c: Likewise.
14345 * gshadow/getsgnam_r.c: Likewise.
14346 * inet/getnetbyad.c: Likewise.
14347 * inet/getnetbyad_r.c: Likewise.
14348 * inet/getnetbynm.c: Likewise.
14349 * inet/getnetbynm_r.c: Likewise.
14350 * inet/getnetent.c: Likewise.
14351 * inet/getnetent_r.c: Likewise.
14352 * inet/getproto.c: Likewise.
14353 * inet/getproto_r.c: Likewise.
14354 * inet/getprtent.c: Likewise.
14355 * inet/getprtent_r.c: Likewise.
14356 * inet/getprtname.c: Likewise.
14357 * inet/getprtname_r.c: Likewise.
14358 * inet/getrpcbyname.c: Likewise.
14359 * inet/getrpcbyname_r.c: Likewise.
14360 * inet/getrpcbynumber.c: Likewise.
14361 * inet/getrpcbynumber_r.c: Likewise.
14362 * inet/getrpcent.c: Likewise.
14363 * inet/getrpcent_r.c: Likewise.
14364 * inet/getaliasent.c: Likewise.
14365 * inet/getaliasent_r.c: Likewise.
14366 * inet/getaliasname.c: Likewise.
14367 * inet/getaliasname_r.c: Likewise.
14368 * nscd/getgrgid_r.c: Likewise.
14369 * nscd/getgrnam_r.c: Likewise.
14370 * nscd/gethstbyad_r.c: Likewise.
14371 * nscd/gethstbynm3_r.c: Likewise.
14372 * nscd/getpwnam_r.c: Likewise.
14373 * nscd/getpwuid_r.c: Likewise.
14374 * nscd/getsrvbynm_r.c: Likewise.
14375 * nscd/getsrvbypt_r.c: Likewise.
14376 * nscd/gai.c: Likewise.
14377
c53d909c
RM
14378 * configure.in (build_nscd): New substituted variable, set
14379 by --disable-build-nscd and defaults to $use_nscd.
14380 * configure: Regenerated.
14381 * config.make.in (build-nscd): New substituted variable.
14382 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14383 Change conditional to require [$(build-nscd) = yes] as well.
14384 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14385
3cc3ef96
RM
14386 [BZ# 13696]
14387 * configure.in (use_nscd): New substituted variable, set by
14388 --disable-nscd. If enabled, define USE_NSCD.
14389 * configure: Regenerated.
14390 * config.h.in: Add USE_NSCD.
14391 * config.make.in (use-nscd): New substituted variable.
14392 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14393 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14394 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14395 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14396 (CFLAGS-getgrnam_r.c): Likewise.
14397 (CFLAGS-initgroups.c): Likewise.
14398 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14399 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14400 Variables removed.
14401 * inet/getnetgrent_r.c
14402 (nscd_setnetgrent): New function, broken out of ...
14403 (setnetgrent): ... here. Call it.
14404 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14405 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14406 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14407 * nscd/Makefile (routines, aux): Move definitions after include of
14408 Makeconfig. Conditionalize on [$(use-nscd) != no].
14409 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14410 Conditionalize on [USE_NSCD].
14411 (is_nscd, nscd_init_cb): Likewise.
14412 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14413 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14414 * nss/nss_db/db-init.c: Likewise.
14415 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14416 [USE_NSCD].
14417 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14418 (make_request): Use it.
14419 (cache_valid_p): New function.
14420 (__check_pf): Use it.
14421 * NEWS: Add item for --disable-nscd.
14422
07e51550
DL
144232012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14424
14425 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14426 to support sed >= 4.2.1-20-ga9bf076.
14427 * configure: Regenerated.
14428
35a5b08b
RM
144292012-08-22 Roland McGrath <roland@hack.frob.com>
14430
14431 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14432 Conditionalize whole body on [IREL].
14433
8479f23a
JL
144342012-08-22 Jeff Law <law@redhat.com>
14435
14436 [BZ #14505]
14437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14438 if the family is PF_UNSPEC.
14439
48da0b21
MF
144402012-08-22 Mike Frysinger <vapier@gentoo.org>
14441
14442 * Makerules (lib-version): Rename from V.
14443 (install-lib-nosubdir): Change V to lib-version.
14444
15d0da8c
WS
144452012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14446
14447 [BZ #14252]
14448 * powerpc32/power6/wcschr.c: New file.
14449 * powerpc32/power6/wcscpy.c: New file.
14450 * powerpc32/power6/wcsrchr.c: New file.
14451 * powerpc64/power6/wcschr.c: New file.
14452 * powerpc64/power6/wcscpy.c: New file.
14453 * powerpc64/power6/wcsrchr.c: New file.
14454
bcca0895
MK
144552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14456
14457 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14458 (two_way_short_needle): Use it.
5a4aaa33
RM
14459 * string/strstr.c (AVAILABLE1_USES_J): Define.
14460 * string/strcasestr.c: Likewise.
99677e57
MK
14461
14462 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14463 array references.
14464 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14465
400726de
MK
14466 [BZ #11607]
14467 * NEWS: Add an entry.
14468 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14469 define their defaults.
14470 (two_way_short_needle): Detect end-of-string on-the-fly.
14471 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14472 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14473 * string/bug-strcasestr1.c: New test.
14474 * string/Makefile: Run it.
14475
20a71f2c
MK
144762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14477
14478 [BZ #11607]
14479 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14480 the first character.
14481
21ad0558
RM
144822012-08-21 Roland McGrath <roland@hack.frob.com>
14483
14484 * csu/elf-init.c (__libc_csu_irel): Function removed.
14485 * csu/libc-start.c (apply_irel): New function.
14486 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14487
0e1d9911
JM
144882012-08-21 Joseph Myers <joseph@codesourcery.com>
14489
14490 * sysdeps/unix/sysv/linux/kernel-features.h
14491 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14492 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14493 <kernel-features.h>.
14494 [__NR_fadvise64_64]: Make code unconditional.
14495 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14496 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14497 !__NR_fadvise64_64)]: Likewise.
14498 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14499 !__NR_fadvise64_64))]: Likewise.
14500 [__NR_fadvise64]: Make code unconditional.
14501 [!__NR_fadvise64]: Remove conditional code.
14502 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14503 <kernel-features.h>.
14504 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14505 unconditional.
14506 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14507 conditional code.
14508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14509 not include <kernel-features.h>.
14510 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14511 unconditional.
14512 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14513 conditional code.
14514 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14515 include <kernel-features.h>.
14516 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14517 unconditional.
14518 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14519 conditional code.
14520
14a50c9d
WS
145212012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14522
14523 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14524 slight instruction rearrangements per scrollpipe analysis.
14525 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14526
c0f4faf0
RM
145272012-08-20 Roland McGrath <roland@hack.frob.com>
14528
696da859
RM
14529 * manual/syslog.texi (syslog; vsyslog, closelog):
14530 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14531 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14532
c0f4faf0
RM
14533 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14534 DSOCAPS to match condition on defining it.
14535
348363b2
JM
145362012-08-20 Joseph Myers <joseph@codesourcery.com>
14537
a35cbf28
JM
14538 * sysdeps/unix/sysv/linux/kernel-features.h
14539 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14541 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14542 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14544 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14545 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14547 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14548 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14549
445f7ecd
JM
14550 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14551 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14552
348363b2
JM
14553 * sysdeps/unix/sysv/linux/kernel-features.h
14554 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14555 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14556 unconditional.
14557 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14558 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14559 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14560 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14561 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14562 Make code unconditional.
14563 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14564 (__mmap64) [!__NR_mmap2]: Likewise.
14565 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14566 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14567 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14568 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14569 [__NR_mmap2]: Make code unconditional.
14570 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14571 (__mmap64) [!__NR_mmap2]: Likewise.
14572
bc5bc0e5
AK
145732012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14574
14575 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14576
88d506de
AJ
145772012-08-18 Andreas Jaeger <aj@suse.de>
14578
14579 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14580
493387d2
MF
145812012-08-18 Mike Frysinger <vapier@gentoo.org>
14582
14583 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14584 * include/unistd.h (__have_sock_cloexec): Likewise.
14585 (__have_pipe2): Likewise.
14586 (__have_dup3): Likewise.
14587
a277af22
MF
145882012-08-18 Mike Frysinger <vapier@gentoo.org>
14589
14590 [BZ #9685]
14591 * include/unistd.h (__have_pipe2): Change define into an extern int.
14592 (__have_dup3): Likewise.
14593 * socket/have_sock_cloexec.c: Include fcntl.h.
14594 (__have_pipe2): New variable.
14595 (__have_dup3): Likewise.
14596
fdab8fd3
MF
145972012-08-17 Mike Frysinger <vapier@gentoo.org>
14598
14599 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14600
31035e80
MP
146012012-08-17 Marek Polacek <polacek@redhat.com>
14602
14603 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14604 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14605
3bd9e993
RM
146062012-08-17 Roland McGrath <roland@hack.frob.com>
14607
c91c505f
RM
14608 * configure.in: Add AC_SUBST for sysheaders.
14609 * configure: Regenerated.
14610 * config.make.in (sysheaders): New substituted variable.
14611
7c6f9d53
RM
14612 * sysdeps/unix/mkfifo.c: Moved ...
14613 * sysdeps/posix/mkfifo.c: ... here.
14614 * sysdeps/unix/mkfifoat.c: Moved ...
14615 * sysdeps/posix/mkfifoat.c: ... here.
14616
14617 * sysdeps/unix/utime.c: Moved ...
14618 * sysdeps/posix/utime.c: ... here.
14619
14620 * sysdeps/unix/time.c: Moved ...
14621 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14622 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14623 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14624
14625 * sysdeps/unix/nice.c: Moved ...
14626 * sysdeps/posix/nice.c: ... here.
14627
14628 * sysdeps/unix/alarm.c: Moved ...
14629 * sysdeps/posix/alarm.c: ... here.
14630
3bd9e993
RM
14631 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14632
d1f09384
JL
146332012-08-17 Jeff Law <law@redhat.com>
14634
14635 * intl/Makefile (codeset_mo): New variable.
14636 ($(codeset_mo)): New target.
14637 (tst-codeset.out): Depend on that. Remove explicit rule.
14638 (tst-gettext3.out, tst-gettext5.out): Likewise.
14639 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14640 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14641 * intl/tst-codeset.sh: Remove.
14642 * intl/tst-gettext3.sh: Likewise.
14643 * intl/tst-gettext5.sh: Likewise.
14644
2ae1ae5c
RM
146452012-08-17 Roland McGrath <roland@hack.frob.com>
14646
c31fdb83
RM
14647 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14648 * sysdeps/unix/syscalls.list: ... here.
14649
a0844057
RM
14650 * sysdeps/posix/getaddrinfo.c
14651 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14652 (gaiconf_init, gaiconf_reload): Use them.
14653 [!_STATBUF_ST_NSEC]
14654 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14655 Define using time_t rather than struct timespec.
14656
750c1f2a
RM
14657 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14658 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14659 Macros removed.
14660 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14661 [!NO_THREADS].
14662 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14663 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14664 Likewise.
14665
2ae1ae5c
RM
14666 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14667 __libc_cleanup_push argument.
14668
e66a42f5
RM
14669 * bits/param.h: New file.
14670 * misc/sys/param.h: New file.
14671 * include/sys/param.h: New file.
14672 * misc/Makefile (headers): Add bits/param.h.
14673 * sysdeps/generic/sys/param.h: File removed.
14674 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14675 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14676 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14677 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14678
b7c08a66
RM
14679 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14680 last change.
14681
b2e1c562
RM
14682 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14683 [_IO_MTSAFE_IO].
14684 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14685 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14686 New macros.
14687
c75ccd4c
RM
14688 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14689 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14690 rather than -D_IO_MTSAFE_IO conditionally.
14691 * stdio-common/Makefile (CPPFLAGS): Likewise.
14692 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14693 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14694 Use $(libio-mtsafe).
14695 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14696 of -D_IO_MTSAFE_IO.
14697 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14698 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14699 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14700 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14701 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14702 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14703 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14704 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14705 (CFLAGS-fread_u_chk.c): Likewise.
14706 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14707 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14708 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14709 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14710 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14711 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14712 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14713 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14714 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14715
14716 * libio/Makefile: Test [$(libc-reentrant) = yes]
14717 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14718
14719 * Makeconfig
14720 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14721 * sysdeps/pthread/configure: File removed.
14722 * sysdeps/pthread/Makeconfig: New file.
14723 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14724 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14725
d9195db8
GB
147262012-08-16 Gary Benson <gbenson@redhat.com>
14727
14728 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14729 unmapping the first object in a namespace.
14730
86466cd9
RM
147312012-08-16 Roland McGrath <roland@hack.frob.com>
14732
14733 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14734 (__internal_setnetgrent): ... this. Add internal_function to
14735 definition. Add libc_hidden_def.
14736 (setnetgrent): Update caller.
14737 (internal_endnetgrent): Renamed to ...
14738 (__internal_endnetgrent): ... this. Add internal_function to
14739 definition. Add libc_hidden_def.
14740 (endnetgrent): Update caller.
14741 (internal_getnetgrent_r): Renamed to ...
14742 (__internal_getnetgrent_r): ... this. Add internal_function to
14743 definition. Add libc_hidden_def.
14744 (__getnetgrent_r): Update caller.
14745 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14746
c3c8283c
JM
147472012-08-16 Joseph Myers <joseph@codesourcery.com>
14748
14749 * stdlib/longlong.h: Update from GCC.
14750
db1ee0a8
RM
147512012-08-16 Roland McGrath <roland@hack.frob.com>
14752
14753 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14754 on _QL, which is set by umul_ppmm but never used.
14755 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14756 variables, which are set by GMP macros but never used.
14757 * stdio-common/_itowa.c (_itowa): Likewise.
14758 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14759 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14760
30f69637
CD
147612012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14762
14763 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14764 struct La_sh_regs is not constant.
14765 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14766 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14767 and struct La_sparc64_regs are not constant.
14768
93a78ac4
JM
147692012-08-16 Joseph Myers <joseph@codesourcery.com>
14770
14771 * sysdeps/unix/sysv/linux/kernel-features.h
14772 (__ASSUME_POSIX_TIMERS): Remove.
14773 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14774 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14775 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14776 Make code unconditional.
14777 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14778 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14779 Make code unconditional.
14780 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14781 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14782 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14783 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14784 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14785 Make code unconditional.
14786 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14787 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14788 (__libc_missing_posix_timers): Remove.
14789
dd924cd7
RM
147902012-08-15 Roland McGrath <roland@hack.frob.com>
14791
4b4f2771
RM
14792 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14793 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14794
601c888b
RM
14795 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14796
176790a7
RM
14797 * elf/dl-sym.c: Include <stdlib.h>.
14798
329bc018
RM
14799 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14800 constants, which avoids warnings in 32-bit builds.
14801
e04e272d
RM
14802 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14803 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14804
952bf94a
RM
14805 * misc/lseek.c: File moved to ...
14806 * io/lseek.c: ... here.
14807
7c99b50a
RM
14808 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14809
dd924cd7
RM
14810 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14811 shifting LEN more than 31 bits at once.
14812
b3f479a8
LD
148132012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14814
14815 [BZ #14195]
8c4ae0d4
RM
14816 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14817 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14818 * string/test-strncasecmp.c (check1): Renamed to...
14819 (bz12205): ...this.
14820 (bz14195): Add new testcase for two empty input strings and N > 0.
14821 (test_main): Call new testcase, adapt for renamed function.
14822
9c55864e
AJ
148232012-08-15 Andreas Jaeger <aj@suse.de>
14824
14825 [BZ #14090]
14826 * crypt/md5test2.c: New test, based on test supplied by Serge
14827 Belyshev <belyshev@depni.sinp.msu.ru>.
14828 * crypt/Makefile (xtests): Add md5test-giant..
14829 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14830
02dcb6c5
PE
148312012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14832
14833 [BZ #14090]
14834 * crypt/md5.c (md5_process_block): Don't assume the buffer
14835 length is less than 2**32.
14836 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14837 length is less than 2**64.
14838
a3f95dcc
RM
148392012-08-15 Roland McGrath <roland@hack.frob.com>
14840
be75d758
RM
14841 * string/str-two-way.h: Include <sys/param.h>.
14842 (MAX): Macro removed.
14843
7312ca90
RM
14844 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14845 Move #define and #undef of memmove to just before and after
14846 including <string.h>.
14847
9a0a5486
RM
14848 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14849 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14850 and after including <string.h>. Move declarations of
14851 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14852 to before #include "string/memmove.c".
14853
67cc348d
RM
14854 * include/dirent.h: Declare __getdirentries.
14855
a3f95dcc
RM
14856 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14857 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14858
ca98e171
MF
148592012-08-14 Mike Frysinger <vapier@gentoo.org>
14860
14861 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14862 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14863 * sysdeps/i386/configure: Regenerated.
14864 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14865 STABS_CURRENT_FILE, and STABS_FUN.
14866 (END): Remove call to STABS_FUN_END.
14867 (STABS_CURRENT_FILE1): Delete.
14868 (STABS_CURRENT_FILE): Likewise.
14869 (STABS_FUN): Likewise.
14870 (STABS_FUN_END): Likewise.
14871 (STABS_FUN2): Likewise.
14872 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14873 * sysdeps/x86_64/configure: Regenerated.
14874
5908bf46
RM
148752012-08-14 Roland McGrath <roland@hack.frob.com>
14876
14877 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14878 * elf/dl-lookup.c: Likewise.
5908bf46 14879
f2c05b9e
JM
148802012-08-14 Joseph Myers <joseph@codesourcery.com>
14881
14882 * sysdeps/unix/sysv/linux/kernel-features.h
14883 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14884 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14885 unconditionally.
14886 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14887 unconditionally.
14888 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14889 condition on __ASSUME_CLONE_THREAD_FLAGS.
14890
e11f5155
AJ
148912012-08-14 Andreas Jaeger <aj@suse.de>
14892
14893 * sysdeps/i386/fpu/libm-test-ulps: Update.
14894
51a9ba86
MK
148952012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14896
2fdd4f78
AJ
14897 * include/atomic.h (atomic_exchange_and_add): Split into ...
14898 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14899 New atomic macros.
51a9ba86 14900
ba6cba9e
MT
149012012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14902
14903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14904
42443a47
JL
149052012-08-13 Jeff Law <law@redhat.com>
14906
14907 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14908 null byte in the output string.
14909
121dce05
JM
149102012-08-10 Joseph Myers <joseph@codesourcery.com>
14911
14912 * sysdeps/unix/sysv/linux/kernel-features.h
14913 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14914 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14915 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14916 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14917 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14918 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14919 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14920
bf51f568
JL
149212012-08-09 Jeff Law <law@redhat.com>
14922
14923 [BZ #13939]
14924 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14925 When avoid_arena is set, don't retry in the that arena. Pick the
14926 next one, whatever it might be.
14927 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14928 (arena_lock): Pass in new parameter to arena_get2.
14929 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14930 arena_get2.
14931 (__libc_malloc): Unify retrying after main arena failure with
14932 __libc_memalign version.
14933 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14934
f85fa270
L
149352012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14936
14937 [BZ #14166]
14938 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14939 to __redirect_strstr.
14940 (__strstr_sse42): Use typeof __redirect_strstr.
14941 (__strstr_ia32): Likewise.
14942 (__libc_strstr): New prototype.
14943 (strstr): Renamed to ...
14944 (__libc_strstr): This.
14945 (strstr): New strong alias of __libc_strstr.
14946 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14947 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14948 __redirect_time.
14949 Include <time.h>.
14950 (__libc_time): New prototype.
14951 (time_ifunc): Replace time with __libc_time.
14952 (time): New strong alias and hidden definition of __libc_time.
14953 (__GI_time): Remove strong alias.
14954 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14955 Include <stddef.h>.
14956 (memmove): Redefined to __redirect_memmove.
14957 (__memmove_sse2): Use typeof __redirect_memmove.
14958 (__memmove_ssse3): Likewise.
14959 (__memmove_ssse3_back): Likewise.
14960 (__libc_memmove): New prototype.
14961 (memmove): Renamed to ...
14962 (__libc_memmove): This.
14963 (memmove): New strong alias of __libc_memmove.
14964
33b4a91e
MS
149652012-08-08 Mark Salter <msalter@redhat.com>
14966
14967 * elf/elf.h
14968 (R_MN10300_TLS_GD): Define.
14969 (R_MN10300_TLS_LD): Likewise.
14970 (R_MN10300_TLS_LDO): Likewise.
14971 (R_MN10300_TLS_GOTIE): Likewise.
14972 (R_MN10300_TLS_IE): Likewise.
14973 (R_MN10300_TLS_LE): Likewise.
14974 (R_MN10300_TLS_DTPMOD): Likewise.
14975 (R_MN10300_TLS_DTPOFF): Likewise.
14976 (R_MN10300_TLS_TPOFF): Likewise.
14977 (R_MN10300_SYM_DIFF): Likewise.
14978 (R_MN10300_ALIGN): Likewise.
14979 (R_MN10300_NUM): Update.
14980
b36137f1
JM
149812012-08-08 Joseph Myers <joseph@codesourcery.com>
14982
14983 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14984 Remove.
14985
cdd915fd
RM
149862012-08-08 Roland McGrath <roland@hack.frob.com>
14987
a2433aac
RM
14988 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14989
cdd915fd
RM
14990 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14991 sysdeps/unix -> sysdeps/posix move.
14992 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14993
bf9b740a
AM
149942012-08-07 Allan McRae <allan@archlinux.org>
14995
14996 [BZ #14303]
14997 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14998 (SUNOS_CPP): Likewise.
14999 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15000 not found.
15001 (open_input): Call CPP using execvp.
15002
93df14ee
JM
150032012-08-07 Joseph Myers <joseph@codesourcery.com>
15004
15005 * sysdeps/unix/sysv/linux/kernel-features.h
15006 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15007 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15008 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15009 (__ASSUME_WAITID_SYSCALL): Likewise.
15010 * sysdeps/unix/sysv/linux/dl-execstack.c
15011 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15012 code unconditional.
15013 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15014 conditional code.
15015 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15016 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15017 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15018 code.
15019 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15020 unconditional.
15021 [__ASSUME_WAITID_SYSCALL]: Likewise.
15022 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15023
d34689de
RM
150242012-08-07 Roland McGrath <roland@hack.frob.com>
15025
a281decc
RM
15026 * sysdeps/unix/closedir.c: Renamed to ...
15027 * sysdeps/posix/closedir.c: ... here.
15028 * sysdeps/unix/dirfd.c: Renamed to ...
15029 * sysdeps/posix/dirfd.c: ... here.
15030 * sysdeps/unix/dirstream.h: Renamed to ...
15031 * sysdeps/posix/dirstream.h: ... here.
15032 * sysdeps/unix/fdopendir.c: Renamed to ...
15033 * sysdeps/posix/fdopendir.c: ... here.
15034 * sysdeps/unix/opendir.c: Renamed to ...
15035 * sysdeps/posix/opendir.c: ... here.
15036 * sysdeps/unix/readdir.c: Renamed to ...
15037 * sysdeps/posix/readdir.c: ... here.
15038 * sysdeps/unix/readdir_r.c: Renamed to ...
15039 * sysdeps/posix/readdir_r.c: ... here.
15040 * sysdeps/unix/rewinddir.c: Renamed to ...
15041 * sysdeps/posix/rewinddir.c: ... here.
15042 * sysdeps/unix/seekdir.c: Renamed to ...
15043 * sysdeps/posix/seekdir.c: ... here.
15044 * sysdeps/unix/telldir.c: Renamed to ...
15045 * sysdeps/posix/telldir.c: ... here.
15046 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15047 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15048 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15049 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15050
22895b47
RM
15051 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15052 * bits/fcntl.h: ... here.
15053
707a53b6
RM
15054 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15055 not 0.
15056 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15057 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15058 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15059 (struct flock): Move l_start, l_len to the beginning.
15060 Use __pid_t for l_pid.
15061 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15062 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15063 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15064 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15065 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15066 [__USE_LARGEFILE64] (struct flock64): New type.
15067 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15068
f0bd3e25
RM
15069 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15070 * bits/dirent.h: ... here.
15071
d34689de
RM
15072 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15073 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15074
6dad2c06
JM
150752012-08-07 Joseph Myers <joseph@codesourcery.com>
15076
15077 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15078 Change from 2.6.0 to 2.6.16.
15079 * sysdeps/unix/sysv/linux/configure: Regenerated.
15080 * sysdeps/unix/sysv/linux/kernel-features.h
15081 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15082 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15083 version.
15084 (__ASSUME_UTIMES): Likewise.
15085 (__ASSUME_CLONE_STOPPED): Remove.
15086 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15087 architectures, not kernel version.
15088 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15089 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15090 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15091 (__ASSUME_WAITID_SYSCALL): Likewise.
15092 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15093 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15094 * README: State 2.6.16 as minimum Linux kernel version. Do not
15095 refer to older versions.
15096
03af9520
RM
150972012-08-06 Roland McGrath <roland@hack.frob.com>
15098
8e49df1d
RM
15099 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15100 Define alphasort64 as an alias.
15101 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15102 Define versionsort64 as an alias.
15103 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15104 Define scandir64 as an alias.
15105 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15106 Define scandirat64 as an alias.
15107 * dirent/alphasort64.c (alphasort64):
15108 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15109 * dirent/versionsort64.c: Likewise.
15110 * dirent/scandir64.c: Likewise.
15111 * dirent/scandirat64.c: Likewise.
15112 * sysdeps/wordsize-64/alphasort.c: File removed.
15113 * sysdeps/wordsize-64/alphasort64.c: File removed.
15114 * sysdeps/wordsize-64/scandir.c: File removed.
15115 * sysdeps/wordsize-64/scandir64.c: File removed.
15116 * sysdeps/wordsize-64/scandirat.c: File removed.
15117 * sysdeps/wordsize-64/scandirat64.c: File removed.
15118 * sysdeps/wordsize-64/versionsort.c: File removed.
15119 * sysdeps/wordsize-64/versionsort64.c: File removed.
15120 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15121 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15122 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15123 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15124 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15125 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15126 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15127 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15128
15129 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15131 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15132 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15133 [defined __arch64__ || defined __sparcv9]
15134 (__INO_T_MATCHES_INO64_T): New macro.
15135 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15136 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15137 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15138 * sysdeps/unix/sysv/linux/bits/dirent.h
15139 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15140 (_DIRENT_MATCHES_DIRENT64): New macro.
15141
03af9520
RM
15142 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15143 Define lockf64 as an alias.
15144 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15145 Define fseeko64 as an alias.
15146 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15147 Define ftello64 as an alias.
15148 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15149 Define _IO_fgetpos64 and fgetpos64 as aliases.
15150 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15151 Define _IO_fsetpos64 and fsetpos64 as aliases.
15152 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15153 Conditionalize body on this.
15154 * libio/fseeko64.c: Likewise.
15155 * libio/ftello64.c: Likewise.
15156 * libio/iofgetpos64.c: Likewise.
15157 * libio/iofsetpos64.c: Likewise.
15158 * sysdeps/wordsize-64/lockf.c: File removed.
15159 * sysdeps/wordsize-64/lockf64.c: File removed.
15160 * sysdeps/wordsize-64/fseeko.c: File removed.
15161 * sysdeps/wordsize-64/fseeko64.c: File removed.
15162 * sysdeps/wordsize-64/ftello.c: File removed.
15163 * sysdeps/wordsize-64/ftello64.c: File removed.
15164 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15165 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15166 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15167 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15168 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15169 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15170 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15171 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15172 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15173 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15174 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15175 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15176 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15177 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15178
15179 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15180 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15181 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15182 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15183 [defined __arch64__ || defined __sparcv9]
15184 (__OFF_T_MATCHES_OFF64_T): New macro.
15185 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15186 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15188 (__OFF_T_MATCHES_OFF64_T): New macro.
15189
c5757acd
L
151902012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15191
15192 * stdlib/secure-getenv.c (__secure_getenv): Replace
15193 GLIBC_2_16 with GLIBC_2_17.
15194
3a31811e
L
151952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15196
15197 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15198 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15199
faa2bccb
DM
152002012-08-03 David S. Miller <davem@davemloft.net>
15201
15202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15203
85fe1997
JM
152042012-08-03 Joseph Myers <joseph@codesourcery.com>
15205
15206 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15207 Remove.
15208 (__ASSUME_CORRECT_SI_PID): Likewise.
15209 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15210 (__ASSUME_TMPFS_NAME): Likewise.
15211 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15212 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15213 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15214 (HAVE_AUX_SECURE): Make definition unconditional.
15215 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15216 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15217
4f75b7a0
RM
152182012-08-03 Roland McGrath <roland@hack.frob.com>
15219
15220 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15221 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15222 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15223 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15224 __eloop_threshold instead of SYMLOOP_MAX.
15225
15226 * sysdeps/generic/eloop-threshold.h: New file.
15227 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15228 of MAXSYMLINKS.
15229 * elf/chroot_canon.c (chroot_canon): Likewise.
15230
7aab07e4
JM
152312012-08-03 Joseph Myers <joseph@codesourcery.com>
15232
15233 [BZ #13717]
15234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15235 Change to 2.6.0 everywhere.
15236 * sysdeps/unix/sysv/linux/configure: Regenerated.
15237 * sysdeps/unix/sysv/linux/kernel-features.h
15238 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15239 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15240 kernel versions.
15241 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15242 (__ASSUME_FUTEX_REQUEUE): Remove.
15243 (__ASSUME_STATFS64): Define unconditionally.
15244 (__ASSUME_AT_SECURE): Likewise.
15245 (__ASSUME_CORRECT_SI_PID): Likewise.
15246 (__ASSUME_TGKILL): Define without depending on kernel version for
15247 i386.
15248 (__ASSUME_UTIMES): Likewise.
15249 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15250 kernel version.
15251 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15252 (__ASSUME_TMPFS_NAME): Likewise.
15253 * README: Update reference to Linux kernel versions.
15254
b67e9372
MP
152552012-08-02 Marek Polacek <polacek@redhat.com>
15256
1f529f7d 15257 [BZ# 14150]
b67e9372
MP
15258 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15259 libc_cv_asm_type_prefix with %.
15260 * configure: Regenerated.
d2441631
RM
15261 * include/libc-symbols.h: Remove comment about
15262 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15263 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15264 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15265 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15266 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15267 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15268 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15269 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15270 * elf/tst-unique2mod1.c: Likewise.
15271 * elf/tst-unique1mod2.c: Likewise.
15272 * elf/tst-unique1mod1.c: Likewise.
15273 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15274 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15275 Replace ASM_TYPE_DIRECTIVE with .type.
15276 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15277 * sysdeps/i386/sysdep.h: Likewise.
15278 * sysdeps/x86_64/sysdep.h: Likewise.
15279 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15281 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15282 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15283 * sysdeps/powerpc/powerpc32/sysdep.h:
15284 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15285 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15286 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15287 * sysdeps/i386/fpu/e_powf.S: Likewise.
15288 * sysdeps/i386/fpu/e_expl.S: Likewise.
15289 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15290 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15291 * sysdeps/i386/fpu/e_pow.S: Likewise.
15292 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15293 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15294 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15295 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15296 * sysdeps/i386/fpu/e_log2.S: Likewise.
15297 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15298 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15299 * sysdeps/i386/fpu/e_powl.S: Likewise.
15300 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15301 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15302 * sysdeps/i386/fpu/e_logl.S: Likewise.
15303 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15304 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15305 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15306 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15307 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15308 * sysdeps/i386/fpu/e_log.S: Likewise.
15309 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15310 * sysdeps/i386/fpu/e_logf.S: Likewise.
15311 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15312 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15313 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15314 * sysdeps/i386/fpu/e_log10.S: Likewise.
15315 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15316 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15317 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15318 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15319 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15320 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15321 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15322 * sysdeps/i386/i686/strtok.S: Likewise.
15323 * sysdeps/i386/i386-mcount.S: Likewise.
15324 * sysdeps/i386/strtok.S: Likewise.
15325 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15326 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15327 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15328 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15329 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15330 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15331 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15332 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15333 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15334 * sysdeps/x86_64/_mcount.S: Likewise.
15335 * sysdeps/x86_64/strtok.S: Likewise.
15336 * sysdeps/sh/_mcount.S: Likewise.
15337
2747bf9a
RM
153382012-08-01 Roland McGrath <roland@hack.frob.com>
15339
15340 * libio/iofopen.c: Include <fcntl.h>.
15341 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15342 (_IO_fopen64, fopen64): Define as aliases.
15343 * libio/iofopen64.c: Include <fcntl.h>.
15344 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15345 Conditionalize body on this.
15346 * sysdeps/wordsize-64/iofopen.c: File removed.
15347 * sysdeps/wordsize-64/iofopen64.c: File removed.
15348
3fb791b8
MP
153492012-08-01 Marek Polacek <polacek@redhat.com>
15350
15351 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15352 Use dlfcn directly instead of a variable.
15353 (binfmt-subdir): Do not define.
15354 (dlfcn): Likewise.
15355
a9f1039f
JM
153562012-08-01 Joseph Myers <joseph@codesourcery.com>
15357
23bddc06
JM
15358 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15359 Remove all definitions.
15360 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15361 <kernel-features.h>.
15362 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15363 (miss_F_GETOWN_EX): Remove all definitions.
15364 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15365 macro definition.
15366 [!__ASSUME_FCNTL64]: Remove conditional code.
15367 [__ASSUME_FCNTL64]: Make code unconditional.
15368 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15369 <kernel-features.h>.
15370 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15371 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15372 (lockf64) [__NR_fcntl64]: Make code unconditional.
15373 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15374
a9f1039f
JM
15375 * sysdeps/unix/sysv/linux/kernel-features.h
15376 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15377 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15378 Make code unconditional.
15379 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15380 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15382 [__NR_vfork]: Make code unconditional.
15383 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15384 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15386 [__NR_vfork]: Make code unconditional.
15387 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15388 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15389
09c0ee5f
RM
153902012-08-01 Roland McGrath <roland@hack.frob.com>
15391
48aec5b9
RM
15392 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15393 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15394
cd97c966
RM
15395 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15396 Define mkstemp64 as an alias.
3f55550c
RM
15397 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15398 Define mkstemps64 as an alias.
cd97c966
RM
15399 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15400 Define mkostemp64 as an alias.
b8625cfc
RM
15401 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15402 Define mkostemps64 as an alias.
cd97c966
RM
15403 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15404 Conditionalize body on this.
15405 * misc/mkostemp64.c: Likewise.
b8625cfc 15406 * misc/mkostemps64.c: Likewise.
3f55550c 15407 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15408 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15409 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15410 * sysdeps/wordsize-64/mkostemp.c: File removed.
15411 * sysdeps/wordsize-64/mkstemp.c: File removed.
15412 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15413 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15414 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15415 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15416
09c0ee5f
RM
15417 [BZ #14138]
15418 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15419 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15420 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15421 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15422
15423 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15424 compat_symbol macros from <shlib-compat.h> rather than the underlying
15425 default_symbol_version and symbol_version macros, so that DEFAULT
15426 lines in shlib-versions are respected.
15427 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15428
7e66ee51
FW
154292012-08-01 Florian Weimer <fweimer@redhat.com>
15430
15431 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15432 Declare with warn_unused_result.
15433 (setgid, setregid, setegid, setresgid): Likewise.
15434 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15435 Likewise.
15436 * WUR-REPORT: Remove set*id functions.
15437
d2a54255
PT
154382012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15439
15440 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15441
7ecdb005
RM
154422012-07-31 Roland McGrath <roland@hack.frob.com>
15443
b4180a5e 15444 [BZ #10191]
789bd351
RM
15445 * include/sys/socket.h (__libc_accept, __libc_accept4):
15446 Add attribute_hidden.
15447 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15448
40ce302d
RM
15449 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15450 use of PTR_MANGLE.
15451 * inet/getnetgrent_r.c (setup): Likewise.
15452
7ecdb005
RM
15453 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15454
e2eabb2c
DM
154552012-07-31 David S. Miller <davem@davemloft.net>
15456
15457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15458
d0419dbf
JM
154592012-07-31 Joseph Myers <joseph@codesourcery.com>
15460
15461 [BZ #13629]
15462 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15463 value between 1.0 and 2.0 and smaller part has absolute value less
15464 than 1.0.
15465 * math/s_clog10.c (__clog10): Likewise.
15466 * math/s_clog10f.c (__clog10f): Likewise.
15467 * math/s_clog10l.c (__clog10l): Likewise.
15468 * math/s_clogf.c (__clogf): Likewise.
15469 * math/s_clogl.c (__clogl): Likewise.
15470 * math/libm-test.inc (clog_test): Add more tests.
15471 (clog10_test): Likewise.
15472 * sysdeps/i386/fpu/libm-test-ulps: Update.
15473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15474
2bc13872
FW
154752012-07-31 Florian Weimer <fweimer@redhat.com>
15476
15477 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15478 Exit with zero in case no suitable GID is found, and write a
15479 message to standard error.
15480
bea9b193
RM
154812012-07-30 Roland McGrath <roland@hack.frob.com>
15482
15483 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15484 rather than to 1.
15485 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15486 (MAXPATHLEN): Removed.
15487 (NOGROUP, NODEV): New macros.
15488 (setbit, clrbit, isset, isclr): New macros.
15489 (howmany, roundup, powerof2): New macros.
15490 (DEV_BSIZE): New macro.
15491
15492 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15493 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15494
15495 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15496 definition on [!__NO_LONG_DOUBLE_MATH].
15497
15498 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15499 PTR_MANGLE and PTR_DEMANGLE.
15500
15501 * socket/accept4.c (accept4): Rename to __libc_accept4.
15502 Define accept4 as a weak alias.
15503
15504 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15505 on [_DIRENT_HAVE_D_TYPE].
15506 * io/ftw.c (ftw_dir): Likewise.
15507
15508 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15509
15510 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15511
15512 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15513 Use the BSD numbers rather than the arbitrary ones we had.
15514 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15515 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15516 (SIGXCPU, SIGXFSZ): New macros.
15517 (_NSIG): Now 32.
15518
15519 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15520 initializer on [_LIBC_REENTRANT].
15521
15522 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15523 definitions inside [_POSIX_MAPPED_FILES].
15524
15525 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15526
15527 * dirent/opendir.c: Include <fcntl.h>.
15528
15529 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15530 (__libc_getspecific): Likewise.
15531 (__libc_key_create): Likewise.
15532
15533 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15534 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15535 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15536 (tmpfile64): Define as alias.
15537 * sysdeps/wordsize-64/tmpfile.c: File removed.
15538 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15539 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15540 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15541
15542 * stdio-common/vfscanf.c: Include <stdbool.h>.
15543 * nss/makedb.c: Likewise.
15544 * stdio-common/_i18n_number.h: Likewise.
15545 * argp/argp-help.c: Likewise.
15546 * posix/wordexp.c: Likewise.
15547 * sysdeps/posix/spawni.c: Likewise.
15548 * nss/nss_files/files-initgroups.c: Likewise.
15549 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15550 * nss/nss_files/files-initgroups.c: Likewise.
15551 * nss/nss_db/db-netgrp.c: Likewise.
15552 * nss/nss_db/db-initgroups.c: Likewise.
15553 * io/fchmodat.c: Include <sys/stat.h>.
15554
15555 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15556 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15557
15558 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15559 [HAVE_MMAP].
15560
15561 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15562 Add multiple inclusion protection.
15563
e5abc686
DM
155642012-07-27 David S. Miller <davem@davemloft.net>
15565
15566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15567
815e6fa3
GB
155682012-07-27 Gary Benson <gbenson@redhat.com>
15569
15570 [BZ #14298]
15571 * elf/rtld.c: Include <stap-probe.h>.
15572 (dl_main): Added static probes "init_start" and "init_complete".
15573 * elf/dl-load.c: Include <stap-probe.h>.
15574 (lose): Take new parameter "nsid".
15575 Added static probe "map_failed".
15576 (_dl_map_object_from_fd): Pass namespace id to lose.
15577 Added static probe "map_start".
15578 (open_verify): Pass namespace id to lose.
15579 * elf/dl-open.c: Include <stap-probe.h>.
15580 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15581 and "reloc_complete".
15582 * elf/dl-close.c: Include <stap-probe.h>.
15583 (_dl_close_worker): Added static probes "unmap_start" and
15584 "unmap_complete".
15585 * elf/rtld-debugger-interface.txt: New file documenting the above.
15586
9f98c16c
RM
155872012-07-26 Roland McGrath <roland@hack.frob.com>
15588
15589 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15590 rather than a string variable.
15591 * sunrpc/rpc_main.c (h_output): Likewise.
15592 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15593
f3c22df3
PT
155942012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15595
15596 * inet/check_native.c: New file.
15597
3129cfc6
JM
155982012-07-26 Joseph Myers <joseph@codesourcery.com>
15599
da865e95
JM
15600 [BZ #13629]
15601 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15602 if larger part has absolute value 1.0.
15603 * math/s_clog10.c (__clog10): Likewise.
15604 * math/s_clog10f.c (__clog10f): Likewise.
15605 * math/s_clog10l.c (__clog10l): Likewise.
15606 * math/s_clogf.c (__clogf): Likewise.
15607 * math/s_clogl.c (__clogl): Likewise.
15608 * math/libm-test.inc (clog_test): Add more tests.
15609 (clog10_test): Likewise.
15610 * sysdeps/i386/fpu/libm-test-ulps: Update.
15611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15612
3129cfc6
JM
15613 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15614 (pltexit): Likewise.
15615 (La_regs): Likewise.
15616 (La_retval): Likewise.
15617 (int_retval): Likewise.
15618 Update #error for removed macros to refer only to definitions in
15619 tst-audit.h.
15620 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15621 macro.
15622 (pltexit): Likewise.
15623 (La_regs): Likewise.
15624 (La_retval): Likewise.
15625 (int_retval): Likewise.
15626 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15627 macro.
15628 (pltexit): Likewise.
15629 (La_regs): Likewise.
15630 (La_retval): Likewise.
15631 (int_retval): Likewise.
15632 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15633 macro.
15634 (pltexit): Likewise.
15635 (La_regs): Likewise.
15636 (La_retval): Likewise.
15637 (int_retval): Likewise.
15638 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15639 macro.
15640 (pltexit): Likewise.
15641 (La_regs): Likewise.
15642 (La_retval): Likewise.
15643 (int_retval): Likewise.
15644 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15645 macro.
15646 (pltexit): Likewise.
15647 (La_regs): Likewise.
15648 (La_retval): Likewise.
15649 (int_retval): Likewise.
15650 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15651 macro.
15652 (pltexit): Likewise.
15653 (La_regs): Likewise.
15654 (La_retval): Likewise.
15655 (int_retval): Likewise.
15656 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15657 macro definitions in tst-audit.h.
15658 * sysdeps/i386/tst-audit.h: New file.
15659 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15660 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15661 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15662 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15663 * sysdeps/sh/tst-audit.h: Likewise.
15664 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15665 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15666 * sysdeps/x86_64/tst-audit.h: Likewise.
15667
bfc07087
AJ
156682012-07-26 Andreas Jaeger <aj@suse.de>
15669
b1b2aaf8
AJ
15670 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15671 ptrace.
15672
15673 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15674 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15675 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15676 PTRACE_O_MASK.
15677 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15678 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15679 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15680
bfc07087
AJ
15681 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15682 value.
15683
15684 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15685 _sigsys.
15686 (si_call_addr, si_syscall, si_arch): Define new macro.
15687 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15688 _sigsys.
15689 (si_call_addr, si_syscall, si_arch): Define new marcro.
15690 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15691 _sigsys.
15692 (si_call_addr, si_syscall, si_arch): Define new macro.
15693 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15694 _sigsys.
15695 (si_call_addr, si_syscall, si_arch): Define new macro.
15696
89b4b02f
JM
156972012-07-25 Joseph Myers <joseph@codesourcery.com>
15698
15699 [BZ #13717]
15700 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15701 Change to 2.4.21 where previously 2.4.1.
15702 * sysdeps/unix/sysv/linux/configure: Regenerated.
15703 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15704 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15705 Linux kernel version.
15706 (__ASSUME_STD_AUXV): Remove.
15707 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15708 kernel version.
15709 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15710 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15711 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15712 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15713 (__ASSUME_NETLINK_SUPPORT): Likewise.
15714 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15715 (__no_netlink_support): Remove conditional definition.
15716 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15717 Remove.
15718 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15719 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15720 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15721 (if_nameindex_ioctl): Remove.
15722 (if_nameindex_netlink): Do not handle __no_netlink_support.
15723 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15724 code.
15725 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15726 Remove conditional code.
15727 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15728 code.
15729 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15730 unconditional.
15731 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15732 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15733 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15734 Remove.
15735 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15736 [!__ASSUME_STD_AUXV]: Remove conditional code.
15737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15738 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15739 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15741 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15742 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15743 code.
15744 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15746 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15747 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15748 conditional code.
15749 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15751 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15752 code.
15753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15754 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15755 conditional code.
15756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15757 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15758 code unconditional.
15759 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15760 conditional code.
15761 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15762 unconditional.
15763 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15764 conditional code.
15765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15766 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15767 unconditional.
15768 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15769 conditional code.
15770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15771 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15772 code unconditional.
15773 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15774 conditional code.
15775 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15776 unconditional.
15777 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15778 conditional code.
15779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15780 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15781 code unconditional.
15782 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15783 conditional code.
15784 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15785 unconditional.
15786 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15787 conditional code.
15788
842a39cd
AS
157892012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15790
15791 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15792 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15793 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15794 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15795 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15796 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15797 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15798 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15799 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15800 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15801 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15802 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15803 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15804 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15805 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15806 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15807 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15808 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15809 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15811 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15812 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15813 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15814
84b3fd84
FW
158152012-07-25 Florian Weimer <fweimer@redhat.com>
15816
15817 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15818 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15819 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15820 Introduce __libc_secure_getenv.
0c7936d5
FW
15821 * stdlib/Versions (2.17): Add secure_getenv
15822 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15823 * stdlib/secure-getenv.c: Rename __secure_getenv to
15824 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15825 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15826 * stdlib/tst-secure-getenv.c: New.
15827 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15828 * manual/startup.texi (Environment Access): Document
15829 secure_getenv.
84b3fd84
FW
15830 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15831 __libc_secure_getenv.
15832 * inet/ruserpass.c (ruserpass): Likewise.
15833 * malloc/mtrace.c (mtrace): Likewise.
15834 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15835 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15836 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15837 * sysdeps/posix/tempname.c: Likewise. Evaluate
15838 HAVE_SECURE_GETENV.
15839 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15840 __secure_getenv to __libc_secure_getenv.
84b3fd84 15841 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15843 Likewise.
15844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15845 Likewise.
15846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15848 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15853
56e49b71
JM
158542012-07-25 Joseph Myers <joseph@codesourcery.com>
15855
15856 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15857 (struct La_i86_retval): Likewise.
15858 (struct La_x86_64_regs): Likewise.
15859 (struct La_x86_64_retval): Likewise.
15860 (struct La_x32_regs): Likewise.
15861 (struct La_x32_retval): Likewise.
15862 (struct La_ppc32_regs): Likewise.
15863 (struct La_ppc32_retval): Likewise.
15864 (struct La_ppc64_regs): Likewise.
15865 (struct La_ppc64_retval): Likewise.
15866 (struct La_sh_regs): Likewise.
15867 (struct La_sh_retval): Likewise.
15868 (struct La_s390_32_regs): Likewise.
15869 (struct La_s390_32_retval): Likewise.
15870 (struct La_s390_64_regs): Likewise.
15871 (struct La_s390_64_retval): Likewise.
15872 (struct La_sparc32_regs): Likewise.
15873 (struct La_sparc32_retval): Likewise.
15874 (struct La_sparc64_regs): Likewise.
15875 (struct La_sparc64_retval): Likewise.
15876 (struct audit_ifaces): Remove architecture-specific pltenter and
15877 pltexit members.
15878 * sysdeps/i386/ldsodefs.h: New file.
15879 * sysdeps/powerpc/ldsodefs.h: Likewise.
15880 * sysdeps/s390/ldsodefs.h: Likewise.
15881 * sysdeps/sh/ldsodefs.h: Likewise.
15882 * sysdeps/sparc/ldsodefs.h: Likewise.
15883 * sysdeps/x86_64/ldsodefs.h: Likewise.
15884
354691b7
MP
158852012-07-25 Marek Polacek <polacek@redhat.com>
15886
15887 [BZ #6808]
15888 * math/libm-test.inc (yn_test): Add another test.
15889 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15890 to ERANGE when the result is +-Inf.
15891 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15892 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15893 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15894 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15895
bf9e2071
JM
158962012-07-24 Joseph Myers <joseph@codesourcery.com>
15897
15898 * conform/data/time.h-data (NULL): Use macro-constant. Require
15899 equal to 0.
15900 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15901 clock_t.
15902 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15903
57633811
TS
159042012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15905
15906 * configure.in <sysdeps resolving>: Correct printing
15907 Implies_before.
15908 * configure: Regenerate.
15909
c23c33b0
TS
159102012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15911
15912 * math/w_ilogb.c: Include <limits.h>.
15913 * math/w_ilogbl.c: Likewise.
15914
b5982523
JM
159152012-07-20 Joseph Myers <joseph@codesourcery.com>
15916
15917 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15918 va_copy. Document allowing for unavailable va_copy only as
15919 pre-C99 compatibility.
15920 * manual/string.texi (Copying and Concatenation): Use va_copy
15921 instead of __va_copy in concat example.
15922
ac4ea442
PT
159232012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15924
15925 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15926 (__sendto): Use create_address_port. Initialize APORT and deallocate
15927 it if not null.
15928
f98eafbd
PT
15929 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15930 with O_NOLINK passed to __file_name_lookup.
15931
898c7aab
PT
15932 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15933 with O_NOLINK passed to __file_name_lookup.
15934
0ced335a
PT
15935 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15936 negative N or less than NGIDS.
15937
b3404dbd
PT
15938 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15939 type to string_t. Set ERANGE as errno and return it if NAME is not big
15940 enough. Use memcpy instead of strncpy.
15941
0f48659e
JM
159422012-07-20 Joseph Myers <joseph@codesourcery.com>
15943
15944 * elf/Makefile (check-data): Remove.
15945 (localplt.data): New vpath directive.
15946 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15947 instead of $(check-data).
15948 * scripts/data/localplt-generic.data: Move to ...
15949 * sysdeps/generic/localplt.data: ... here.
15950 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15951 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15952 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15954 ... here.
15955 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15957 ... here.
15958 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15960 ... here.
15961 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15963 ... here.
15964 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15966 ... here.
15967 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15969 ... here.
15970
d37cbdaa
AZ
159712012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15972
15973 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15974 PPC32 and PPC64 files.
15975 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15976 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15977
46f85fc2
AK
159782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15979
15980 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15981 __makecontext_ret to ...
15982 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15983 ... here and call exit if uc_link is NULL. New file.
15984 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15985 __makecontext_ret.S.
15986 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15987 __makecontext_ret to ...
15988 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15989 ... here and call exit if uc_link is NULL. New file.
15990 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15991 __makecontext_ret.S.
15992
08f43f9b
AK
159932012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15994
15995 * elf/elf.h (R_390_IRELATIVE): New definition.
15996 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15997 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15998 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15999 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16000 (elf_machine_lazy_rel): Likewise.
16001 * sysdeps/s390/dl-irel.h: New file.
16002 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16003 * sysdeps/s390/s390-64/memset.S: New asm code.
16004 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16005 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16006 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16007 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16008 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16009 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16010 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16011 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16012 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16013 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16014 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16015 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16016 * sysdeps/s390/s390-32/memset.S: New asm code.
16017 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16018
3b05db33
MP
160192012-07-17 Marek Polacek <polacek@redhat.com>
16020
16021 [BZ #14349]
16022 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16023 * sysdeps/s390/s390-64/configure.in: Likewise.
16024 * sysdeps/sparc/configure.in: Likewise.
16025 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16026 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16027 * sysdeps/i386/configure.in: Likewise.
16028 * sysdeps/x86_64/configure.in: Likewise.
16029 * sysdeps/sh/configure.in: Likewise.
16030 * sysdeps/s390/s390-32/configure: Regenerated.
16031 * sysdeps/s390/s390-64/configure: Likewise.
16032 * sysdeps/x86_64/configure: Likewise.
16033 * sysdeps/sh/configure: Likewise.
16034 * sysdeps/powerpc/powerpc64/configure: Likewise.
16035 * sysdeps/powerpc/powerpc32/configure: Likewise.
16036 * sysdeps/sparc/configure: Likwise.
16037 * sysdeps/i386/configure: Likewise.
16038
a66877c6
MP
16039 * elf/dl-open.c: Comment fixes.
16040
cfc82fd8
JM
160412012-07-17 Joseph Myers <joseph@codesourcery.com>
16042
bd29910a
JM
16043 * Makefile [CXX] (check-data): Remove.
16044 [CXX] (c++-types.data): New vpath directive.
16045 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16046 vpath. Do not allow for C++ type data being missing.
16047 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16048 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16049 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16050 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16051 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16052 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16053 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16055 ... here.
16056 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16058 ... here.
16059 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16061 ... here.
16062 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16064 ... here.
16065 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16067 ... here.
16068 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16070 ... here.
16071 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16073 ... here.
16074 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16076
cfc82fd8
JM
16077 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16078 definitions to architecture-specific files.
16079 (TLS_IE): Likewise.
16080 (TLS_LD): Likewise.
16081 (TLS_GD): Likewise.
16082 * sysdeps/i386/tls-macros.h: New file.
16083 * sysdeps/powerpc/tls-macros.h: Likewise.
16084 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16085 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16086 * sysdeps/sh/tls-macros.h: Likewise.
16087 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16088 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16089 * sysdeps/x86_64/tls-macros.h: Likewise.
16090
f7db3170
TS
160912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16092
07cbfc23
TS
16093 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16094 zero value for regular exit case.
16095
f7db3170
TS
16096 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16097 (__start_context): Preserve zero value for regular exit case.
16098
dc97c227
TS
160992012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16100 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16101
16102 * manual/setjmp.texi (setcontext): Clarify normal process
16103 termination when uc_link is the null pointer.
16104 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16105 exit call.
16106
d0cd7d02
AS
161072012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16108
16109 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16110 preprocessor. Test for each exception mask separately.
16111
dd318934
AJ
161122012-07-16 Andreas Jaeger <aj@suse.de>
16113
16114 * po/ru.po: Update from translation team.
16115
8048311a
JM
161162012-07-15 Joseph Myers <joseph@codesourcery.com>
16117
16118 * conform/data/string.h-data (NULL): Use macro-constant. Require
16119 equal to 0.
16120 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16121 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16122 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16123 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16124 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16125
b637d46e
AJ
161262012-07-13 Andreas Jaeger <aj@suse.de>
16127
16128 * po/fr.po: Update from translation team.
16129
541428fe
MP
161302012-07-12 Marek Polacek <polacek@redhat.com>
16131
16132 [BZ #14173]
16133 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16134 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16135 loop condition.
16136
ec332e94
JM
161372012-07-12 Joseph Myers <joseph@codesourcery.com>
16138
16139 [BZ #13717]
16140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16141 Change to 2.4.1 where previously 2.4.0.
16142 * sysdeps/unix/sysv/linux/configure: Regenerated.
16143 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16144 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16145 version.
16146 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16147 (__ASSUME_AT_CLKTCK): Remove.
16148 (__ASSUME_AT_PAGESIZE): Likewise.
16149 (__ASSUME_AT_XID): Likewise.
16150 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16151 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16152 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16153 unconditionally.
16154 (HAVE_AUX_PAGESIZE): Likewise.
16155 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16156 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16157 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16158
7b6e99be
JB
161592012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16160
16161 [BZ #14307]
16162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16163 the temporary buffer used to invoke __gethostbyname2_r,
16164 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16165 host_data / struct gaih_addrtuple.
16166 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16167 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16168 header file nss/nsswitch.h.
16169 * nss/nsswitch.h (global scope): Add definition of implementation
16170 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16171 resolv/nss_dns/dns-host.c).
16172
608404eb
AJ
161732012-07-11 Andreas Jaeger <aj@suse.de>
16174
16175 * po/fr.po: Update from translation team.
16176
71220aca
AJ
16177 * po/sv.po: Update from translation team
16178 * po/fr.po: Another update from translation team.
16179
28cfe843
AZ
161802012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16181
16182 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16183 for subnormals or multiply small sinh result by itself.
16184 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16186
6b90f981
DM
161872012-07-11 David S. Miller <davem@davemloft.net>
16188
16189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16190
c6825772
AS
161912012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16192
16193 [BZ #14347]
16194 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16195 (INTERNAL_MARK): Shift it here.
16196
7b8e0d49
MP
161972012-07-10 Marek Polacek <polacek@redhat.com>
16198
16199 [BZ #14151]
16200 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16201 libc_cv_asm_global_directive with .globl.
16202 * configure: Regenerated.
16203 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16204 with .globl.
16205 * sysdeps/i386/configure: Regenerated.
16206 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16207 with .globl.
16208 * sysdeps/x86_64/configure: Regenerated.
16209 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16210 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16211 * elf/tst-unique2mod2.c: Likewise.
16212 * elf/tst-unique2mod1.c: Likewise.
16213 * elf/tst-unique1mod2.c: Likewise.
16214 * elf/tst-unique1mod1.c: Likewise.
16215 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16216 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16217 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16218 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16219 * sysdeps/mach/sysdep.h: Likewise.
16220 * sysdeps/i386/sysdep.h: Likewise.
16221 * sysdeps/i386/i386-mcount.S: Likewise.
16222 * sysdeps/x86_64/_mcount.S: Likewise.
16223 * sysdeps/x86_64/sysdep.h: Likewise.
16224 * sysdeps/sh/_mcount.S: Likewise.
16225 * sysdeps/sh/sysdep.h: Likewise.
16226 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16227 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16228 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16229 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16230 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16231 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16232 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16233 * locale/localeinfo.h: Likewise.
16234 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16235 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16236
6c55cda3
RM
162372012-07-09 Roland McGrath <roland@hack.frob.com>
16238
16239 [BZ #14336]
16240 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16241 system".
16242 * manual/message.texi (The Uniforum approach): Likewise.
16243 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16244 (glibc iconv Implementation): Likewise.
16245
638a572e
JM
162462012-07-09 Joseph Myers <joseph@codesourcery.com>
16247
16248 [BZ #14337]
16249 * math/s_clog.c (__clog): Avoid scaling a value down where that
16250 could result in underflow.
16251 * math/s_clog10.c (__clog10): Likewise.
16252 * math/s_clog10f.c (__clog10f): Likewise.
16253 * math/s_clog10l.c (__clog10l): Likewise.
16254 * math/s_clogf.c (__clogf): Likewise.
16255 * math/s_clogl.c (__clogl): Likewise.
16256 * math/libm-test.inc (clog_test): Add more tests.
16257 (clog10_test): Likewise.
16258 * sysdeps/i386/fpu/libm-test-ulps: Update.
16259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16260
261f4859
AS
162612012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16262
0abaf3e4
AS
16263 [BZ #14283]
16264 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16265 by 7 not 8 to examine high bit of fractional part.
16266
261f4859
AS
16267 [BZ #14042]
16268 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16269 for call to __mcount_internal.
16270 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16271 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16272 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16273
f17ac40d
JM
162742012-07-06 Joseph Myers <joseph@codesourcery.com>
16275
9ad63c23
JM
16276 [BZ #14154]
16277 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16278 approximation for values within 0x1p-13f of an odd multiple of
16279 pi/4.
16280 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16281 exception. Add more tests.
16282 * sysdeps/i386/fpu/libm-test-ulps: Update.
16283
f17ac40d
JM
16284 [BZ #6778]
16285 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16286 inputs and return -1 for them. Do not check for +Inf in case not
16287 reachable for +Inf.
16288 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16289 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16290 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16291 and return -1 for them. Do not check for +Inf in case not
16292 reachable for +Inf.
16293 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16294 define.
16295 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16296 and return -1 for them. Do not check for +Inf in case not
16297 reachable for +Inf.
16298 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16299 spurious underflow.
16300 * sysdeps/i386/fpu/libm-test-ulps: Update.
16301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16302
fb21f89b
MF
163032012-07-06 Mike Frysinger <vapier@gentoo.org>
16304
16305 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16306
cdfe2c5e
JM
163072012-07-05 Joseph Myers <joseph@codesourcery.com>
16308
16309 [BZ #14157]
16310 [BZ #14331]
16311 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16312 could result in spurious underflow. Scale down values above
16313 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16314 * math/s_csqrtf.c (__csqrtf): Likewise.
16315 * math/s_csqrtl.c (__csqrtl): Likewise.
16316 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16317 spurious underflow.
16318 * sysdeps/i386/fpu/libm-test-ulps: Update.
16319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16320
70d35b67
AS
163212012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16322
704bc459
AS
16323 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16324 xopen-msg.sed.
16325 * catgets/xopen-msg.awk: New file.
16326 * catgets/xopen-msg.sed: Removed.
16327
70d35b67
AS
16328 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16329 po2text.sed.
16330 * intl/po2test.awk: New file.
16331 * intl/po2test.sed: Removed.
16332
ca61cf32
JM
163332012-07-04 Joseph Myers <joseph@codesourcery.com>
16334
16335 [BZ #14328]
16336 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16337 or multiply small sinh result by itself.
16338 * math/s_ctanf.c (__ctanf): Likewise.
16339 * math/s_ctanh.c (__ctanh): Likewise.
16340 * math/s_ctanhf.c (__ctanhf): Likewise.
16341 * math/s_ctanhl.c (__ctanhl): Likewise.
16342 * math/s_ctanl.c (__ctanl): Likewise.
16343 * math/libm-test.inc (ctan_test_tonearest): New function.
16344 (ctan_test_towardzero): Likewise.
16345 (ctan_test_downward): Likewise.
16346 (ctan_test_upward): Likewise.
16347 (ctanh_test_tonearest): Likewise.
16348 (ctanh_test_towardzero): Likewise.
16349 (ctanh_test_downward): Likewise.
16350 (ctanh_test_upward): Likewise.
16351 (main): Call these new functions.
16352 * sysdeps/i386/fpu/libm-test-ulps: Update.
16353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16354
ca48a46a
MF
163552012-07-03 Mike Frysinger <vapier@gentoo.org>
16356
16357 * .gitignore: Delete /ports entry.
16358
9d63d37d
AJ
163592012-07-03 Andreas Jaeger <aj@suse.de>
16360
16361 * po/bg.po: Update from translation team.
16362 * po/cs.po: Likewise.
16363 * po/de.po: Likewise.
16364 * po/hr.po: Likewise.
16365 * po/nl.pl: Likewise.
16366 * po/pl.po: Likewise.
16367 * po/vi.po: Likewise.
16368
370ca3d2
JM
163692012-07-03 Joseph Myers <joseph@codesourcery.com>
16370
95f5a9a8
JM
16371 * Makeconfig [!+link] (+link-before-libc): New variable.
16372 [!+link] (+link-after-libc): Likewise.
16373 [!+link] (+link-tests): Likewise.
16374 [!+link] (+link): Define in terms of $(+link-before-libc) and
16375 $(+link-after-libc).
16376 [!+link-static] (+link-static-before-libc): New variable.
16377 [!+link-static] (+link-static-after-libc): Likewise.
16378 [!+link-static] (+link-static-tests): Likewise.
16379 [!+link-static] (+link-static): Define in terms of
16380 $(+link-static-before-libc) and $(+link-static-after-libc).
16381 [build-shared] (link-libc-before-gnulib): New variable.
16382 [build-shared] (link-libc-tests): Likewise.
16383 [build-shared] (link-libc): Define in terms of
16384 $(link-libc-before-gnulib).
16385 [!build-shared] (link-libc-tests): New variable.
16386 (link-libc-static-tests): New variable.
16387 [!gnulib] (gnulib-arch): New variable.
16388 [!gnulib] (gnulib-tests): Likewise.
16389 [!gnulib] (static-gnulib-arch): Likewise.
16390 [!gnulib] (static-gnulib-tests): Likewise.
16391 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16392 Define with "=" instead of ":=".
16393 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16394 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16395 * Rules (binaries-all-notests): New variable.
16396 (binaries-all-tests): Likewise.
16397 (binaries-static-notests): Likewise.
16398 (binaries-static-tests): Likewise.
16399 (binaries-all): Define using $(binaries-all-notests) and
16400 $(binaries-all-tests).
16401 (binaries-static): Define using $(binaries-static-notests) and
16402 $(binaries-static-tests).
16403 (binaries-shared-tests): New variable.
16404 (binaries-shared-notests): Likewise.
16405 (binaries-shared): Remove variable.
16406 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16407 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16408 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16409 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16410 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16411 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16412 * elf/Makefile (sln-modules): New variable.
16413 (extra-objs): Add $(sln-modules:=.o).
16414 (ldconfig-modules): Add static-stubs.
16415 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16416 * elf/static-stubs.c: New file.
16417
7a845b2c
JM
16418 [BZ #14283]
16419 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16420 by 7 not 8 to examine high bit of fractional part. Use volatile
16421 variables when splitting into final array of floats if
16422 __FLT_EVAL_METHOD__ != 0.
16423 * math/libm-test.inc (cos_test): Add another test.
16424 (sin_test): Likewise.
16425 * sysdeps/i386/fpu/libm-test-ulps: Update.
16426
e2283f38
JM
16427 [BZ #14273]
16428 * math/libm-test.inc (cosh_test): Add more tests.
16429
370ca3d2
JM
16430 * version.h (RELEASE): Set to "development".
16431 (VERSION): Set to "2.16.90".
16432
ee9247c3
CD
164332012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16434
16435 * NEWS: Update copyright. Remove last-updated date.
16436 Mention math library bug fixes and timezone data changes.
16437 * README: Mention GNU/Hurd, x32, and HPPA support status.
16438
4648c381
TS
164392012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16440
16441 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16442
aac78a43
AJ
164432012-06-27 Andreas Jaeger <aj@suse.de>
16444
16445 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16446
ed3dbfad
AJ
164472012-06-25 Andreas Jaeger <aj@suse.de>
16448
16449 * sysdeps/s390/fpu/libm-test-ulps: Update.
16450
4d0ee855
AS
164512012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16452 Thomas Schwinge <thomas@codesourcery.com>
16453
16454 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16455 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16456 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16457 fanotify_mark.
16458
af1bce34
TS
164592012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16460
a9fa33ba
TS
16461 * sysdeps/mach/start.c: Remove file.
16462 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16463 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16464 * sysdeps/sh/init-first.c: Likewise.
16465
58f902b8
TS
16466 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16467 registers for frame unwinding purposes, add CFI directives.
16468 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16469 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16470 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16471 Likewise.
16472
1518f58b
TS
16473 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16474 __fortify_fail returning.
16475 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16476
db9b5059
TS
16477 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16478 sysdeps/sh/____longjmp_chk.S.
16479 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16480 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16481 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16482 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16483
967705fe
TS
16484 * sysdeps/sh/abort-instr.h: New file.
16485 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16486 process in case exit returns.
16487
a9def8c4
TS
16488 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16489 initialize the GOT register before use.
16490
2a649725
TS
16491 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16492 calculation of ARGC > 4.
16493
af1bce34
TS
16494 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16495 meaningful names to some local labels.
16496
d230f50a
KK
164972012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16498 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16499
16500 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16501 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16502 (__arch_compare_and_exchange_val_16_acq): Likewise.
16503 (__arch_compare_and_exchange_val_32_acq): Likewise.
16504 (atomic_exchange_and_add): Fix gUSA sequence.
16505 (atomic_add): Likewise.
16506 (atomic_add_negative): Likewise.
16507 (atomic_add_zero): Likewise.
16508 (atomic_bit_test_set): Likewise.
16509
0479b305
AS
165102012-06-22 Andreas Schwab <schwab@redhat.com>
16511
16512 [BZ #13579]
16513 * include/link.h (struct link_map): Add l_free_initfini.
16514 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16515 l_initfini.
16516 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16517 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16518 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16519 set.
16520
0e3933b9
CD
165212012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16522
16523 * configure.in: Use AC_LANG_SOURCE.
16524 * configure: Regenerate.
16525
4248b1b1
RM
165262012-06-22 Roland McGrath <roland@hack.frob.com>
16527
16528 * configure.in (libc_cv_localstatedir): New substituted variable.
16529 * configure: Regenerated.
16530 * config.make.in (localstatedir): New variable, substituted from
16531 libc_cv_localstatedir.
16532 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16533 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16534 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16535 * sysdeps/gnu/configure: Regenerated.
16536
006dd861
JL
165372012-06-21 Jeff Law <law@redhat.com>
16538
16539 [BZ #14277]
16540 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16541 free. Simplify list management for _LIBC case.
16542
79662d42
JM
165432012-06-21 Joseph Myers <joseph@codesourcery.com>
16544
b7abb4bf
JM
16545 [BZ #14273]
16546 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16547 Clear sign bit of 64-bit integer value before comparing against
16548 overflow value.
16549
79662d42
JM
16550 * sysdeps/mach/configure: Regenerated.
16551
1f150908
L
165522012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16553
16554 [BZ #14278]
16555 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16556
28363bbf
JL
165572012-06-21 Jeff Law <law@redhat.com>
16558
16559 [BZ #13882]
16560 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16561 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16562 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16563 * elf/dl-open.c (dl_open_worker): Likewise.
16564
09615db4
CD
165652012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16566
16567 * scripts/list-sources.sh: Scan PORTS for translations.
16568 * po/libc.pot: Regenerated.
16569
2174c6dd
AJ
165702012-06-21 Andreas Jaeger <aj@suse.de>
16571
16572 [BZ #12194]
16573 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16574 warning.
16575 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16576 * bits/byteswap-16.h (__bswap_16): Likewise.
16577 * bits/byteswap.h (__bswap_constant_16): Likewise.
16578
3ee947b1
L
165792012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16580
16581 [BZ #14117]
a2f34833
L
16582 * sysdeps/i386/fpu_control.h: Removed.
16583 * sysdeps/x86_64/fpu_control.h: Moved to ...
16584 * sysdeps/x86/fpu_control.h: Here.
16585
3ee947b1
L
16586 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16587 (_FPU_SETCW): Likewise.
16588
ed1825f8
L
165892012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16590
25f1282a
L
16591 [BZ #14117]
16592 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16593 * sysdeps/x86/fpu/bits/mathinline.h: This.
16594 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16595
ed1825f8
L
16596 [BZ #14050]
16597 [BZ #14117]
16598 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16599 functions if __x86_64__ is defined.
16600
36d54b74
CLT
166012012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16602
16603 * string/endian.h: Add !__ASSEMBLER__ condition for including
16604 conversion interfaces.
16605
10285c21
JM
166062012-06-15 Joseph Myers <joseph@codesourcery.com>
16607
16608 [BZ #14241]
16609 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16610 of ABS(x) in calculating zero to negative powers other than odd
16611 integers.
16612 * math/libm-test.inc (pow_test): Add more tests.
16613
06c5abbd
AJ
166142012-06-15 Andreas Jaeger <aj@suse.de>
16615
16616 * manual/contrib.texi (Contributors): Update entry of Liubov
16617 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16618 Machado Filho.
16619
a3aeac40
CH
166202012-06-15 Cyril Hrubis <metan@ucw.cz>
16621
16622 * string/string.h: Add __wur to GNU version of strerror_r.
16623
49bdf4c1
L
166242012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16625
16626 [BZ #14229]
16627 * string/Makefile (tests): Add tst-strtok_r.
16628 * string/tst-strtok_r.c: New file.
16629 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16630 RAX_LP/RDX_LP on SAVE_PTR.
16631
834f9b8d
RM
166322012-06-14 Roland McGrath <roland@hack.frob.com>
16633
16634 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16635
75fa1921
JM
166362012-06-14 Joseph Myers <joseph@codesourcery.com>
16637
16638 * libm_test.inc (csqrt_test): Allow more spurious underflow
16639 exceptions.
16640 (j0_test): Likewise.
16641 (j1_test): Likewise.
16642 (y0_test): Likewise.
16643 (y1_test): Likewise.
16644
771766df
CD
166452012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16646
16647 * po/Makefile (libc.pot): Use UTF-8 charset.
16648
ceb9e56b
PP
166492012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16650
16651 [BZ #14210]
16652 Suppress sign-conversion warning from FD_SET.
16653 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16654 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16655 not unsigned long int.
16656 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16657
ddb28975
L
166582012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16659
16660 [BZ #14050]
16661 [BZ #14117]
16662 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16663 __extern_always_inline instead of __extern_inline.
16664 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16665 (__signbit): Likewise.
16666 (__signbitl): Support C++ namespace.
16667 (lrintf): New inline function.
16668 (lrint): Likewise.
16669 (llrintf): Likewise.
16670 (llrint): Likewise.
16671 (fmaxf): Likewise.
16672 (fmax): Likewise.
16673 (fminf): Likewise.
16674 (fmin): Likewise.
16675 (rint): Likewise.
16676 (rintf): Likewise.
16677 (ceil): Likewise.
16678 (ceilf): Likewise.
16679 (floor): Likewise.
16680 (floorf): Likewise.
16681 (nearbyint): Likewise.
16682 (nearbyintf): Likewise.
16683
d7b4fb26
TS
166842012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16685
16686 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16687 non-default versions.
16688
eb55f5c2
RM
166892012-06-11 Roland McGrath <roland@hack.frob.com>
16690
16691 [BZ #14218]
16692 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16693
366af02c
TS
166942012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16695
99ff6e5c
TS
16696 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16697 (FE_UPWARD, FE_DOWNWARD): Don't define.
16698 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16699 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16700
366af02c
TS
16701 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16702 reading it.
16703 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16704 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16705
793ea851
KK
167062012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16707
16708 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16709 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16710 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16711 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16712
a728a38f
L
167132012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16714
16715 [BZ #14117]
c08010c7
L
16716 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16717 * sysdeps/i386/fpu/Implies: New file.
16718 * sysdeps/x86_64/fpu/Implies: Likewise.
16719 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16720 * sysdeps/x86/fpu/bits/fenv.h: This.
16721
a728a38f
L
16722 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16723 __SSE_MATH__.
16724
6e230d11
SP
167252012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16726
16727 [BZ #14134]
16728 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16729 character 0xffff that matches the last element of the
16730 conversion table.
16731
1b671feb
AZ
167322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16733
16734 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16735 fmodl commit.
16736
6043738b
AZ
167372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16738
16739 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16740 values higher than 25.6283.
16741
34ae0b32
AZ
167422012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16743
16744 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16745 subnormal exponent extraction and add some __builtin_expect.
16746 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16747 Fix for subnormal mantissa calculation.
16748
1214ec8f
MF
167492012-06-04 Mike Frysinger <vapier@gentoo.org>
16750
16751 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16752 cpu2 is -1 and errno is not ENOSYS.
16753
f3d1f93c
L
167542012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16755
16756 [BZ #14117]
0e4a3cd7
L
16757 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16758 * sysdeps/x86/bits/string.h: This.
16759 * sysdeps/x86_64/bits/string.h: Removed.
16760
6704c645
L
16761 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16762 if not compiling for x86-64, but compiling for >= i486.
16763
48495318
L
16764 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16765 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16766
14adcbfc
L
16767 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16768 New macro from Linux kernel 3.4.0.
16769 (FP_XSTATE_MAGIC2): Likewise.
16770 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16771 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16772 (struct _fpx_sw_bytes): New struct.
16773 (struct _xsave_hdr): Likewise.
16774 (struct _ymmh_state): Likewise.
16775 (struct _xstate): Likewise.
16776
68e408ab
L
16777 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16778 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16779 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16780 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16781 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16782 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16783
f3d1f93c
L
16784 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16785 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16786 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16787 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16788 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16789 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16790
d9dc34cd
TMQMF
167912012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16792
16793 [BZ #13743]
16794 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16795 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16796 (sysdep_headers): Include sys/platform/ppc.h.
16797 * sysdeps/powerpc/test-gettimebase.c: Test for
16798 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16799 * manual/Makefile (appendices): Include platform.texi.
16800 * manual/contrib.texi (Contributors): Update @node pointers.
16801 * manual/maint.texi (Maintenance): Likewise.
16802 (Platform): New node.
16803 * manual/platform.texi: New file. Document the new features.
16804
4af3879c
SP
168052012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16806 Jakub Jelinek <jakub@redhat.com>
16807
16808 [BZ #14188]
16809 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16810 where __builtin_expect is unavailable.
16811
2fd6ff13
DM
168122012-06-03 David S. Miller <davem@davemloft.net>
16813
16814 * stdlib/longlong.h: Updated from GCC.
16815
173f7220
AS
168162012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16817
16818 [BZ #14042]
16819 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16820 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16821 __mcount_internal.
16822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16823 (GLIBC_2.16): Likewise.
16824
f34a1c6f
L
168252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16826
16827 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16828
88a4576f
JM
168292012-06-01 Joseph Myers <joseph@codesourcery.com>
16830
ea32bcdd
JM
16831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16832 (default-abi): New variable.
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16834 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16835 variable.
16836 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16837 Likewise.
16838 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16839 Likewise.
16840 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16841 Likewise.
16842
88a4576f
JM
16843 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16844 definition. Document in comment.
16845
402fe938
DM
168462012-06-01 David S. Miller <davem@davemloft.net>
16847
16848 * stdlib/longlong.h: Updated from GCC.
16849
3553723f
L
168502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16851
16852 [BZ #14117]
3bd872c4
L
16853 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16854 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16855 sys/debugreg.h sys/io.h here.
16856 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16857 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16858 sys/io.h.
16859 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16860 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16861 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16862 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16863 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16864 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16865
3553723f
L
16866 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16867 Define only if __x86_64__ is defined.
16868
4842e4fe
JM
168692012-06-01 Joseph Myers <joseph@codesourcery.com>
16870
c5bfe3d5
JM
16871 [BZ #14048]
16872 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16873 Use int64_t for variable i.
16874 * math/libm-test.inc (fmod_test): Add more tests.
16875
4842e4fe
JM
16876 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16877 z computation is not scheduled after fetestexcept.
16878 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16879 Use math_force_eval instead of asm to ensure calculation scheduled
16880 before exception test.
16881 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16882 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16883
efb73488
AJ
168842012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16885
16886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16887 computation is not scheduled after fetestexcept.
16888
29bcce7c
L
168892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16890
16891 [BZ #14117]
16892 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16893 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16894
73a68f94
AZ
168952012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16896
16897 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16898 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16899
67b6df78
L
169002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16901
edf2933a 16902 [BZ #14117]
ebc64a18
L
16903 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16904 <bits/wordsize.h>.
16905 (__WCHAR_MIN): Support __WORDSIZE == 64.
16906 (__WCHAR_MAX): Likewise.
16907
edf2933a
L
16908 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16909 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16910
57c6cf40
L
16911 [BZ #14183]
16912 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16913 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16914
67b6df78 16915 [BZ #14117]
8eb6281e
L
16916 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16917 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16918
aac639f4
L
16919 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16920 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16921
67b6df78
L
16922 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16923 Defined to 1 if __x86_64__ isn't defined.
16924 (_STAT_VER_LINUX_OLD): New.
16925 (st_atime): Remove duplicate.
16926 (st_mtime): Likewise.
16927 (st_ctime): Likewise.
16928
1c2cfe81
DM
169292012-05-31 David S. Miller <davem@davemloft.net>
16930
16931 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16932 entries.
16933
5be8418c
AS
169342012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16935
e7725326
AS
16936 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16937 gen-libm-test.pl.
16938
5be8418c
AS
16939 [BZ #14132]
16940 * elf/dl-reloc.c: Include <_itoa.h>.
16941 (_dl_reloc_bad_type): Remove use of INTUSE.
16942 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16943 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16944 * stdio-common/psiginfo.c (psiginfo): Likewise.
16945 * stdio-common/psignal.c (psignal): Likewise.
16946 * string/strsignal.c (strsignal): Likewise.
16947 * include/signal.h (_sys_siglist): Declare hidden proto.
16948 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16949 INTVARDEF with libc_hidden_data_def.
16950 * stdio-common/itoa-udigits.c: Likewise.
16951 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16952 (_itoa_lower_digits_internal): Remove declaration.
16953 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16954 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16955 (_sys_sigabbrev_internal): Remove aliases.
16956 (_sys_siglist): Define hidden alias.
16957
507352f1
MT
169582012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16959
16960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16961 bits/sysctl.h.
16962
42bbb1c3
L
169632012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16964
16965 [BZ #14117]
6bd784b6
L
16966 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16967 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16968
8bca20f0
L
16969 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16970 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16971 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16972 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16973 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16974 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16975
f9e890a9
L
16976 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16977 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16978 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16979
471101a1
L
16980 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16981 with __addr.
16982 (insw): Likewise.
16983 (insl): Likewise.
16984 (outsb): Likewise.
16985 (outsw): Likewise.
16986 (outsl): Likewise.
16987
6451c862
L
16988 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16989 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16990 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16991
a254b8c9
L
16992 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16993 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16994 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16995 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16996 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16997 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16998
b8dfdd92
L
16999 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17000 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17001
578cd270
L
17002 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17003 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17004
de662f5f
L
17005 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17006 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17007 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17008
25653439
L
17009 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17010 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17011 to ...
17012 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17013
6bad24a0
L
17014 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17015 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17016 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17017
42bbb1c3
L
17018 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17019 for x86-64.
17020 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17021
2d10d547
JM
170222012-05-31 Joseph Myers <joseph@codesourcery.com>
17023
17024 * math/math.h (M_El): Use two more decimal places.
17025 (M_LOG2El): Likewise.
17026 (M_LOG10El): Likewise.
17027 (M_LN2l): Likewise.
17028 (M_LN10l): Likewise.
17029 (M_PIl): Likewise.
17030 (M_PI_2l): Likewise.
17031 (M_PI_4l): Likewise.
17032 (M_1_PIl): Likewise.
17033 (M_2_PIl): Likewise.
17034 (M_2_SQRTPIl): Likewise.
17035 (M_SQRT2l): Likewise.
17036 (M_SQRT1_2l): Likewise.
17037
f230c29b
DM
170382012-05-31 David S. Miller <davem@davemloft.net>
17039
17040 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17041 values between float registers.
17042 * sysdeps/sparc/sparc64/memset.S: Likewise.
17043 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17044
fed806c3
MF
170452012-05-31 Mike Frysinger <vapier@gentoo.org>
17046
17047 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17048 -D_FORTIFY_SOURCE=1.
17049 (CPPFLAGS-tst-longjmp_chk.c): Define.
17050 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17051 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17052 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17053 CFLAGS-tst-wchar-h.c.
17054
30917259
MP
170552012-05-31 Marek Polacek <polacek@redhat.com>
17056
17057 [BZ #14132]
17058 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17059 __endmntent_internal): Remove declaration.
17060 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17061 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17062 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17063
1c58d5dc
DM
170642012-05-30 David S. Miller <davem@davemloft.net>
17065
17066 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17067 (___Q_simulate_exceptions): Use real FP ops rather than writing
17068 into the %fsr.
17069 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17070 Likewise.
17071
7dc00e0d
L
170722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17073
17074 [BZ #14117]
0bd53985
L
17075 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17076 * sysdeps/x86/bits/xtitypes.h: This.
17077
3a257e66
L
17078 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17079 * sysdeps/x86/bits/wordsize.h: This.
17080
62f62904
L
17081 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17082 * sysdeps/x86/bits/huge_vall.h: This.
17083
404fe9d9
L
17084 * sysdeps/i386/bits/select.h: Removed.
17085 * sysdeps/x86_64/bits/select.h: Renamed to ...
17086 * sysdeps/x86/bits/select.h: This.
17087
d48d0446
L
17088 * sysdeps/i386/bits/setjmp.h: Removed.
17089 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17090 * sysdeps/x86/bits/setjmp.h: This.
17091
7dc00e0d
L
17092 * sysdeps/i386/bits/mathdef.h: Removed.
17093 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17094 * sysdeps/x86/bits/mathdef.h: This.
17095
03277f8f
AS
170962012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17097
17098 [BZ #14132]
17099 * include/sys/socket.h (__connect_internal)
17100 (__libc_sa_len_internal): Remove declaration.
17101 (__connect, __libc_sa_len): Declare hidden_proto.
17102 (SA_LEN): Remove use of INTUSE.
17103 * socket/connect.c: Add libc_hidden_def.
17104 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17105 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17106 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17107 alias.
17108 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17109 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17110 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17111 of adding _internal alias.
17112
13764867
L
171132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17114
17115 [BZ #14117]
6bd97696
L
17116 * sysdeps/i386/bits/link.h: Removed.
17117 * sysdeps/i386/bits/linkmap.h: Likewise.
17118 * sysdeps/x86_64/bits/link.h: Renamed to ...
17119 * sysdeps/x86/bits/link.h: This.
17120 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17121 * sysdeps/x86/bits/linkmap.h: This.
17122
f726f0bb
L
17123 * sysdeps/i386/bits/endian.h: Removed.
17124 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17125 * sysdeps/x86/bits/endian.h: This.
17126
13764867
L
17127 * sysdeps/i386/bits/byteswap.h: Removed.
17128 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17129 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17130 * sysdeps/x86/bits/byteswap.h: This.
17131 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17132 * sysdeps/x86/bits/byteswap-16.h: This.
17133 * sysdeps/i386/Implies: Add x86.
17134 * sysdeps/x86_64/Implies: Likewise.
17135
ae251b0b
DM
171362012-05-30 David S. Miller <davem@davemloft.net>
17137
17138 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17139 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17140 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17141 (FP_TRAPPING_EXCEPTIONS): Define.
17142 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17143 (FP_TRAPPING_EXCEPTIONS): Define.
17144 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17145 subnormals only when inexact has been signalled or underflow
17146 exceptions are enabled.
17147 (_FP_PACK_CANONICAL): Likewise.
17148
d5c90867
L
171492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17150
17151 [BZ #14183]
17152 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17153 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17154
63f1549e
RH
171552012-05-30 Richard Henderson <rth@twiddle.net>
17156
8d8f2279
RH
17157 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17158 with #ifndef NOT_IN_libc.
17159
63f1549e
RH
17160 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17161 marked to avoid plt entry.
17162
0ab0291b
L
171632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17164
17165 [BZ #14112]
17166 * Makeconfig (default-abi): New macro.
17167 (abi-includes): Likewise.
17168 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17169 $(abi-$(default-abi)-lib-soname) for soname if defined.
17170 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17171 abi-variants.
17172 * Makefile (installed-stubs): Likewise.
17173 * include/stubs-biarch.h: Removed.
17174 * scripts/lib-names.awk: Only handle one library at a time.
17175 * scripts/soversions.awk: Remove WORDSIZE support.
17176 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17177 entries.
17178 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17179 Removed.
17180 (syscall-list-default-condition): Likewise.
17181 (syscall-list-default-condition): Likewise.
17182 (syscall-list-includes): Likewise.
17183 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17184 syscall-list-* with abi-*. Handle undefined abi-variants.
17185 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17186 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17187 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17188 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17189 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17190 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17191 Removed.
17192 (syscall-list-32-options): Likewise.
17193 (syscall-list-32-condition): Likewise.
17194 (syscall-list-64-options): Likewise.
17195 (syscall-list-64-condition): Likewise.
17196 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17197 macro.
17198 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17199 Renamed to ...
17200 (abi-*): This.
17201 (abi-64-ld-soname): New macro.
17202 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17203 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17204 Renamed to ...
17205 (abi-*): This.
17206 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17207 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17208
4da0431d
JM
172092012-05-30 Joseph Myers <joseph@codesourcery.com>
17210
3a85279c
JM
17211 * sysdeps/unix/sysv/linux/kernel-features.h
17212 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17213 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17214 include <kernel-features.h>.
17215 [!__NR_ftruncate64]: Remove conditional code.
17216 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17217 [__NR_ftruncate64]: Make code unconditional.
17218 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17219 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17220 include <kernel-features.h>.
17221 [!__NR_ftruncate64]: Remove conditional code.
17222 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17223 [__NR_ftruncate64]: Make code unconditional.
17224 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17226 include <kernel-features.h>.
17227 [!__NR_ftruncate64]: Remove conditional code.
17228 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17229 [__NR_ftruncate64]: Make code unconditional.
17230 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17232 include <kernel-features.h>.
17233 [!__NR_ftruncate64]: Remove conditional code.
17234 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17235 [__NR_ftruncate64]: Make code unconditional.
17236 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17237
4da0431d
JM
17238 * configure.in (libc_cv_fpie): Weaken to a compile test using
17239 LIBC_TRY_CC_OPTION.
17240 * configure: Regenerated.
17241
11ef492c
AK
172422012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17243
17244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17248 Refreshed.
17249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17255 Refreshed.
17256
d66ef399
DM
172572012-05-27 David S. Miller <davem@davemloft.net>
17258
17259 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17260 (___Q_zero): New.
17261 (__Q_simulate_exceptions): Return void. Change to simulate
17262 exceptions by writing into the %fsr.
17263 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17264 (__Qp_handle_exceptions): Likewise.
17265 (numbers): Delete.
17266 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17267 __Qp_handle_exceptions.
17268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17269 __Qp_handle_exceptions.
17270 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17271 as unused and give dummy FP_RND_NEAREST initializer.
17272 (FP_INHIBIT_RESULTS): Define.
17273 (___Q_simulate_exceptions): Update declaration.
17274 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17275 formatting.
17276 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17277 as unused and give dummy FP_RND_NEAREST initializer.
17278 (__Qp_handle_exceptions): Update declaration.
17279 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17280 formatting.
17281
04fb54b5
TS
172822012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17283
17284 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17285 the temporary FPU control word.
17286 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17287 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17288 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17289 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17290 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17291 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17292 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17293 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17294 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17295 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17296 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17297
3f99608f
KK
172982012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17299
17300 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17301 fields.
17302
65a4de4e
CLT
173032012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17304
17305 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17306 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17307 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17308 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17309 Likewise.
17310 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17311 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17312 Likewise.
17313
15749d40
UD
173142012-05-27 Ulrich Drepper <drepper@gmail.com>
17315
17316 * po/h.po: Update from translation team.
17317
25dbcb27
AS
173182012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17319
3d3f8e55
AS
17320 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17321
25dbcb27
AS
17322 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17323 handling of denormals.
17324 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17325 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17326 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17327 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17328 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17329 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17331 Likewise.
17332
7ad47a80 173332012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17334
17335 [BZ #14152]
17336 * math/libm-test.inc (fma_test): Don't always expect underflow
17337 exception.
17338
9c6ea9fa
SP
173392012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17340
17341 [BZ #12416]
17342 * elf/tst-execstack.c: Include stackinfo.h.
17343 (do_test): Adjust test case to ensure that pthread_getattr_np
17344 behaviour remains the same after marking stack executable.
17345
a8239222
JM
173462012-05-25 Joseph Myers <joseph@codesourcery.com>
17347
17348 * sysdeps/unix/sysv/linux/kernel-features.h
17349 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17350 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17351 kernel-features.h.
17352 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17353 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17354 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17355 kernel-features.h.
17356 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17357 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17358
918b5606
L
173592012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17360
17361 * configure.in: Define the default includes to being none.
17362 * configure: Regenerated.
17363
3a097cc7
RM
173642012-05-25 Roland McGrath <roland@hack.frob.com>
17365
8422c9a5
RM
17366 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17367 * sysdeps/x86_64/setjmp.S: Likewise.
17368 * sysdeps/i386/bsd-setjmp.S: Likewise.
17369 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17370 * sysdeps/i386/setjmp.S: Likewise.
17371 * sysdeps/i386/__longjmp.S: Likewise.
17372 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17373 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17374
3a097cc7
RM
17375 * include/stap-probe.h: New file.
17376 * configure.in: Handle --enable-systemtap.
17377 * configure: Regenerated.
17378 * config.h.in (USE_STAP_PROBE): New #undef.
17379 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17380 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17381 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17382
21708942
JM
173832012-05-25 Joseph Myers <joseph@codesourcery.com>
17384
17385 [BZ #13717]
17386 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17387 to 2.4.0 where earlier.
17388 * sysdeps/unix/sysv/linux/configure: Regenerated.
17389 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17390 <kernel-features.h>.
17391 [__ASSUME_32BITUIDS]: Make code unconditional.
17392 [!__ASSUME_32BITUIDS]: Remove conditional code.
17393 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17394 <kernel-features.h>.
17395 [__ASSUME_32BITUIDS]: Make code unconditional.
17396 [!__ASSUME_32BITUIDS]: Remove conditional code.
17397 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17398 [__ASSUME_32BITUIDS]: Make code unconditional.
17399 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17400 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17401 <kernel-features.h>.
17402 [__ASSUME_32BITUIDS]: Make code unconditional.
17403 [!__ASSUME_32BITUIDS]: Remove conditional code.
17404 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17405 <kernel-features.h>.
17406 [__ASSUME_32BITUIDS]: Make code unconditional.
17407 [!__ASSUME_32BITUIDS]: Remove conditional code.
17408 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17409 <kernel-features.h>.
17410 [__ASSUME_32BITUIDS]: Make code unconditional.
17411 [!__ASSUME_32BITUIDS]: Remove conditional code.
17412 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17413 <kernel-features.h>.
17414 [__ASSUME_32BITUIDS]: Make code unconditional.
17415 [!__ASSUME_32BITUIDS]: Remove conditional code.
17416 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17417 <kernel-features.h>.
17418 [__ASSUME_32BITUIDS]: Make code unconditional.
17419 [!__ASSUME_32BITUIDS]: Remove conditional code.
17420 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17421 <kernel-features.h>.
17422 [__ASSUME_32BITUIDS]: Make code unconditional.
17423 [!__ASSUME_32BITUIDS]: Remove conditional code.
17424 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17425 <kernel-features.h>.
17426 [__ASSUME_32BITUIDS]: Make code unconditional.
17427 [!__ASSUME_32BITUIDS]: Remove conditional code.
17428 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17429 <kernel-features.h>.
17430 [__ASSUME_32BITUIDS]: Make code unconditional.
17431 [!__ASSUME_32BITUIDS]: Remove conditional code.
17432 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17433 <kernel-features.h>.
17434 [__ASSUME_32BITUIDS]: Make code unconditional.
17435 [!__ASSUME_32BITUIDS]: Remove conditional code.
17436 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17437 <kernel-features.h>.
17438 [__ASSUME_32BITUIDS]: Make code unconditional.
17439 [!__ASSUME_32BITUIDS]: Remove conditional code.
17440 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17441 <kernel-features.h>.
17442 [__NR_setresgid] (__setresgid): Do not declare.
17443 [__ASSUME_32BITUIDS]: Make code unconditional.
17444 [!__ASSUME_32BITUIDS]: Remove conditional code.
17445 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17446 <kernel-features.h>.
17447 [__NR_setresuid] (__setresuid): Do not declare.
17448 [__ASSUME_32BITUIDS]: Make code unconditional.
17449 [!__ASSUME_32BITUIDS]: Remove conditional code.
17450 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17451 <kernel-features.h>.
17452 [__ASSUME_32BITUIDS]: Make code unconditional.
17453 [!__ASSUME_32BITUIDS]: Remove conditional code.
17454 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17455 <kernel-features.h>.
17456 [__ASSUME_32BITUIDS]: Make code unconditional.
17457 [!__ASSUME_32BITUIDS]: Remove conditional code.
17458 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17459 <kernel-features.h>.
17460 [__ASSUME_32BITUIDS]: Make code unconditional.
17461 [!__ASSUME_32BITUIDS]: Remove conditional code.
17462 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.c: Do not include
17471 <kernel-features.h>.
17472 [__ASSUME_32BITUIDS]: Make code unconditional.
17473 [!__ASSUME_32BITUIDS]: Remove conditional code.
17474 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17475 <kernel-features.h>.
17476 [__ASSUME_32BITUIDS]: Make code unconditional.
17477 [!__ASSUME_32BITUIDS]: Remove conditional code.
17478 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17479 <kernel-features.h>.
17480 [__ASSUME_32BITUIDS]: Make code unconditional.
17481 [!__ASSUME_32BITUIDS]: Remove conditional code.
17482 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17483 <kernel-features.h>.
17484 [__ASSUME_32BITUIDS]: Make code unconditional.
17485 [!__ASSUME_32BITUIDS]: Remove conditional code.
17486 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17487 <kernel-features.h>.
17488 [__ASSUME_32BITUIDS]: Make code unconditional.
17489 [!__ASSUME_32BITUIDS]: Remove conditional code.
17490 * sysdeps/unix/sysv/linux/kernel-features.h
17491 (__ASSUME_SETRESUID_SYSCALL): Remove.
17492 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17493 (__ASSUME_32BITUIDS): Likewise.
17494 (__ASSUME_LDT_WORKS): Likewise.
17495 (__ASSUME_O_DIRECTORY): Likewise.
17496 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17497 architecture but not kernel version.
17498 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17499 (__ASSUME_MMAP2_SYSCALL): Likewise.
17500 (__ASSUME_STAT64_SYSCALL): Likewise.
17501 (__ASSUME_IPC64): Likewise.
17502 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17503 <kernel-features.h>.
17504 [__ASSUME_32BITUIDS]: Make code unconditional.
17505 [!__ASSUME_32BITUIDS]: Remove conditional code.
17506 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17507 <kernel-features.h>.
17508 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17509 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17510 132096]: Remove conditional code.
17511 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17512 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17513 <kernel-features.h>.
17514 [__ASSUME_32BITUIDS]: Make code unconditional.
17515 [!__ASSUME_32BITUIDS]: Remove conditional code.
17516 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17517 <kernel-features.h>.
17518 [__ASSUME_32BITUIDS]: Make code unconditional.
17519 [!__ASSUME_32BITUIDS]: Remove conditional code.
17520 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17521 <kernel-features.h>.
17522 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17523 unconditional.
17524 (__setresgid): Do not declare.
17525 [__ASSUME_32BITUIDS]: Make code unconditional.
17526 [!__ASSUME_32BITUIDS]: Remove conditional code.
17527 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17528 <kernel-features.h>.
17529 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17530 unconditional.
17531 (__setresuid): Do not declare.
17532 [__ASSUME_32BITUIDS]: Make code unconditional.
17533 [!__ASSUME_32BITUIDS]: Remove conditional code.
17534 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17535 <kernel-features.h>.
17536 [__ASSUME_32BITUIDS]: Make code unconditional.
17537 [!__ASSUME_32BITUIDS]: Remove conditional code.
17538 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17539 <kernel-features.h>.
17540 [__ASSUME_32BITUIDS]: Make code unconditional.
17541 [!__ASSUME_32BITUIDS]: Remove conditional code.
17542
a386f1cc
RH
175432012-05-25 Richard Henderson <rth@twiddle.net>
17544
17545 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17546 dl_hwcap to ifunc resolver.
17547 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17548 elf_ifunc_invoke.
17549 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17550 dl_hwcap to ifunc resolver.
17551 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17552
b6550497
JM
175532012-05-24 Joseph Myers <joseph@codesourcery.com>
17554
17555 [BZ #14153]
17556 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17557 for |x| <= 2**-26, not 2**-57.
17558 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17559 exception.
17560
b0bc23a1
JL
175612012-05-24 Jeff Law <law@redhat.com>
17562
17563 * stdio-common/Makefile (tests): Add bug25.
17564 * stdio-common/bug25.c: New test.
17565
347c92e9
L
175662012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17567
17568 [BZ #13576]
17569 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17570 multiple of MALLOC_ALIGNMENT in size.
17571 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17572
6bcc8b3f
JM
175732012-05-24 Joseph Myers <joseph@codesourcery.com>
17574
17575 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17576 Require >= 256.
17577 (FILENAME_MAX): Use macro-int-constant.
17578 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17579 (_IOFBF): Use macro-int-constant.
17580 (_IOLBF): Likewise.
17581 (_IONBF): Likewise.
17582 (SEEK_CUR): Likewise.
17583 (SEEK_END): Likewise.
17584 (SEEK_SET): Likewise.
17585 (TMP_MAX): Likewise.
17586 (EOF): Use macro-int-constant. Require < 0.
17587 (NULL): Use macro-constant. Require == 0.
17588 (stdin): Require type to be FILE *.
17589 (stdout): Likewise.
17590 (stderr): Likewise.
17591 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17592 macro-int-constant.
17593 (EXIT_SUCCESS): Likewise.
17594 (NULL): Use macro-constant. Require == 0.
17595 (RAND_MAX): Use macro-int-constant.
17596 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17597 [C99-based standards] (strtof): Require function.
17598 [C99-based standards] (strtold): Likewise.
17599 [C99-based standards] (strtoll): Likewise.
17600 [C99-based standards] (strtoull): Likewise.
17601 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17602 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17603 [ISO || ISO99 || ISO11] (math.h): Likewise.
17604 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17605 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17606 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17607
d18ea0c5
AS
176082012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17609
17610 [BZ #14132]
56d25bb8
AS
17611 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17612 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17613 * intl/dgettext.c (DCGETTEXT): Likewise.
17614 * intl/gettext.c (DCGETTEXT): Likewise.
17615 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17616 * posix/regex_internal.h (gettext): Likewise.
17617 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17618 Remove declaration.
17619 * include/argz.h (__argz_count_internal)
17620 (__argz_stringify_internal): Remove declaration.
17621 (__argz_count, __argz_stringify): Declare hidden proto.
17622 * intl/dcgettext.c: Remove use of INTDEF.
17623 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17624 * string/argz-stringify.c: Likewise.
17625 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17626 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17627 Declare hidden proto.
d18ea0c5
AS
17628 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17629 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17630 Declare hidden proto.
17631 * include/stdio.h (__asprintf_internal): Don't declare.
17632 (__asprintf): Don't define as macro. Declare hidden proto.
17633 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17634 (__fsetlocking): Declare hidden proto.
17635 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17636 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17637 hidden proto.
17638 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17639 (_IO_setlinebuf): Remove use of INTUSE.
17640 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17641 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17642 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17643 Remove declaration.
17644 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17645 (_IO_do_flush): Remove use of INTUSE.
17646 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17647 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17648 (_IO_adjust_column, _IO_least_wmarker)
17649 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17650 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17651 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17652 (_IO_default_doallocate, _IO_wdefault_doallocate)
17653 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17654 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17655 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17656 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17657 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17658 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17659 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17660 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17661 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17662 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17663 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17664 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17665 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17666 proto.
17667 (_IO_flush_all_internal, _IO_adjust_column_internal)
17668 (_IO_default_uflow_internal, _IO_default_finish_internal)
17669 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17670 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17671 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17672 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17673 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17674 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17675 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17676 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17677 (_IO_file_close_internal, _IO_file_close_it_internal)
17678 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17679 (_IO_file_init_internal, _IO_file_attach_internal)
17680 (_IO_file_fopen_internal, _IO_file_read_internal)
17681 (_IO_file_sync_internal, _IO_file_seek_internal)
17682 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17683 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17684 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17685 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17686 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17687 (_IO_list_all_internal, _IO_link_in_internal)
17688 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17689 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17690 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17691 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17692 (_IO_do_write_internal, _IO_padn_internal)
17693 (_IO_getline_info_internal, _IO_getline_internal)
17694 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17695 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17696 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17697 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17698 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17699 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17700 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17701 with libc_hidden_ver, remove use of INTUSE.
17702 * libio/genops.c: Likewise.
17703 * libio/freopen.c: Likewise.
17704 * libio/freopen64.c: Likewise.
17705 * libio/iofclose.c: Likewise.
17706 * libio/iofdopen.c: Likewise.
17707 * libio/iofflush.c: Likewise.
17708 * libio/iofflush_u.c: Likewise.
17709 * libio/iofgets.c: Likewise.
17710 * libio/iofgets_u.c: Likewise.
17711 * libio/iofopen.c: Likewise.
17712 * libio/iofopncook.c: Likewise.
17713 * libio/iofread.c: Likewise.
17714 * libio/iofread_u.c: Likewise.
17715 * libio/ioftell.c: Likewise.
17716 * libio/iofwrite.c: Likewise.
17717 * libio/iogetline.c: Likewise.
17718 * libio/iogets.c: Likewise.
17719 * libio/iogetwline.c: Likewise.
17720 * libio/iopadn.c: Likewise.
17721 * libio/iopopen.c: Likewise.
17722 * libio/ioseekoff.c: Likewise.
17723 * libio/ioseekpos.c: Likewise.
17724 * libio/iosetbuffer.c: Likewise.
17725 * libio/iosetvbuf.c: Likewise.
17726 * libio/ioungetc.c: Likewise.
17727 * libio/ioungetwc.c: Likewise.
17728 * libio/iovdprintf.c: Likewise.
17729 * libio/iovsprintf.c: Likewise.
17730 * libio/iovsscanf.c: Likewise.
17731 * libio/memstream.c: Likewise.
17732 * libio/obprintf.c: Likewise.
17733 * libio/oldfileops.c: Likewise.
17734 * libio/oldiofclose.c: Likewise.
17735 * libio/oldiofdopen.c: Likewise.
17736 * libio/oldiofopen.c: Likewise.
17737 * libio/oldiopopen.c: Likewise.
17738 * libio/oldstdfiles.c: Likewise.
17739 * libio/putc.c: Likewise.
17740 * libio/setbuf.c: Likewise.
17741 * libio/setlinebuf.c: Likewise.
17742 * libio/stdfiles.c: Likewise.
17743 * libio/strops.c: Likewise.
17744 * libio/vasprintf.c: Likewise.
17745 * libio/vscanf.c: Likewise.
17746 * libio/vsnprintf.c: Likewise.
17747 * libio/vswprintf.c: Likewise.
17748 * libio/wfiledoalloc.c: Likewise.
17749 * libio/wfileops.c: Likewise.
17750 * libio/wgenops.c: Likewise.
17751 * libio/wmemstream.c: Likewise.
17752 * libio/wstrops.c: Likewise.
17753 * libio/__fpurge.c: Likewise.
17754 * libio/__fsetlocking.c: Likewise.
17755 * assert/assert.c: Likewise.
17756 * debug/fgets_chk.c: Likewise.
17757 * debug/fgets_u_chk.c: Likewise.
17758 * debug/fread_chk.c: Likewise.
17759 * debug/fread_u_chk.c: Likewise.
17760 * debug/gets_chk.c: Likewise.
17761 * debug/obprintf_chk.c: Likewise.
17762 * debug/vasprintf_chk.c: Likewise.
17763 * debug/vdprintf_chk.c: Likewise.
17764 * debug/vsnprintf_chk.c: Likewise.
17765 * debug/vsprintf_chk.c: Likewise.
17766 * malloc/mtrace.c: Likewise.
17767 * misc/error.c: Likewise.
17768 * misc/syslog.c: Likewise.
17769 * stdio-common/asprintf.c: Likewise.
17770 * stdio-common/fxprintf.c: Likewise.
17771 * stdio-common/getw.c: Likewise.
17772 * stdio-common/isoc99_fscanf.c: Likewise.
17773 * stdio-common/isoc99_scanf.c: Likewise.
17774 * stdio-common/isoc99_vfscanf.c: Likewise.
17775 * stdio-common/isoc99_vscanf.c: Likewise.
17776 * stdio-common/isoc99_vsscanf.c: Likewise.
17777 * stdio-common/printf-prs.c: Likewise.
17778 * stdio-common/printf_fp.c: Likewise.
17779 * stdio-common/printf_fphex.c: Likewise.
17780 * stdio-common/printf_size.c: Likewise.
17781 * stdio-common/putw.c: Likewise.
17782 * stdio-common/scanf.c: Likewise.
17783 * stdio-common/sprintf.c: Likewise.
17784 * stdio-common/tmpfile.c: Likewise.
17785 * stdio-common/vfprintf.c: Likewise.
17786 * stdio-common/vfscanf.c: Likewise.
17787 * stdlib/strfmon_l.c: Likewise.
17788 * sunrpc/openchild.c: Likewise.
17789 * sunrpc/xdr_stdio.c: Likewise.
17790 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17791 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17792
d6c33fda
RM
177932012-05-24 Roland McGrath <roland@hack.frob.com>
17794
c1487492
RM
17795 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17796
17797 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17798 in the third column, to generate for the shared library an IFUNC
17799 that uses _dl_vdso_vsym.
17800 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17801 * Makeconfig (object-suffixes-noshared): New variable.
17802
17803 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17804 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17805 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17806 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17807
d6c33fda
RM
17808 [BZ #14132]
17809 * include/sys/time.h (__gettimeofday): Remove macro.
17810 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17811 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17812 Remove INTDEF.
17813 (__gettimeofday): Add libc_hidden_def.
17814 (gettimeofday): Add libc_hidden_weak.
17815 * sysdeps/mach/gettimeofday.c: Likewise.
17816 * sysdeps/posix/gettimeofday.c: Likewise.
17817 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17818 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17819 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17820 (__gettimeofday_internal): Remove strong_alias.
17821 (__gettimeofday): Add libc_hidden_def.
17822 (gettimeofday): Add libc_hidden_weak.
17823 * sysdeps/unix/syscalls.list (gettimeofday):
17824 Remove __gettimeofday_internal alias.
17825
b5a2bbe6
L
178262012-05-24 Daniel Jacobowitz <drow@false.org>
17827 H.J. Lu <hongjiu.lu@intel.com>
17828
17829 [BZ #12495]
17830 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17831 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17832 (largebin_index_32_big): New.
17833 (largebin_index): Use it for 16-byte alignment.
17834 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17835 correction with front_misalign.
17836
cfba4fda
L
178372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17838
7f907421
L
17839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17841 Likewise.
17842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17843 Likewise.
17844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17845 Likewise.
17846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17847 Likewise.
17848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17849 Likewise.
17850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17851 Likewise.
17852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17853 Likewise.
17854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17855 Likewise.
17856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17857 Likewise.
17858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17859 Likewise.
17860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17861 Likewise.
17862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17863 Likewise.
17864
cfba4fda
L
17865 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17866 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17867
80bad0cc
JM
178682012-05-24 Joseph Myers <joseph@codesourcery.com>
17869
7a25eb06
JM
17870 [BZ #10846]
17871 [BZ #14036]
17872 * math/libm-test.inc (exp_test): Add test from bug 14036.
17873 (pow_test): Add test from bug 10846.
17874
795405f9
JM
17875 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17876 and other flags.
17877 (special_function): Do not include flags in test name.
17878 (parse_args): Likewise.
17879 * sysdeps/i386/fpu/libm-test-ulps: Update.
17880 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17881 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17882 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17884
80bad0cc
JM
17885 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17886 exceptions.
17887 * math/libm-test.inc ("Philosophy"): Update comment about
17888 exception testing.
17889 (UNDERFLOW_EXCEPTION): New macro.
17890 (UNDERFLOW_EXCEPTION_OK): Likewise.
17891 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17892 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17893 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17894 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17895 (INVALID_EXCEPTION_OK): Update value.
17896 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17897 (OVERFLOW_EXCEPTION_OK): Likewise.
17898 (IGNORE_ZERO_INF_SIGN): Likewise.
17899 (test_exceptions): Handle underflow exceptions.
17900 (acos_test): Update for underflow exception expectations.
17901 (cexp_test): Likewise.
17902 (clog_test): Likewise.
17903 (clog10_test): Likewise.
17904 (csqrt_test): Likewise.
17905 (ctan_test): Likewise.
17906 (ctanh_test): Likewise.
17907 (exp_test): Likewise.
17908 (exp10_test): Likewise.
17909 (exp2_test): Likewise.
17910 (expm1_test): Likewise.
17911 (fma_test): Likewise.
17912 (j0_test): Likewise.
17913 (jn_test): Likewise.
17914 (nexttoward_test): Likewise.
17915 (pow_test): Likewise.
17916 (scalbn_test): Likewise.
17917 (scalbln_test): Likewise.
17918 (tan_test): Likewise.
17919 (y1_test): Likewise.
17920 * sysdeps/i386/fpu/libm-test-ulps: Update.
17921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17922
9e0e3d0b
DM
179232012-05-23 David S. Miller <davem@davemloft.net>
17924
17925 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17926 (__libc_sigaction): Remove unused local variables.
17927
ccd0a08f
L
179282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17929
17930 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17931
62bdf9a6
PE
179322012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17933
f8591f80
PE
17934 mktime: avoid signed integer overflow
17935 * time/mktime.c (__mktime_internal): Do not mishandle the case
17936 where diff == INT_MIN.
17937
94c7d826
PE
17938 mktime: simplify computation of average
17939 * time/mktime.c (ranged_convert): Use new time_t_avg function
17940 instead of rolling our own (probably-slower) code.
17941
ce73d683
PE
17942 mktime: do not assume signed right shift propagates sign bit
17943 * time/mktime.c (isdst_differ): New static function.
17944 (__mktime_internal): No need to normalize tm_isdst now.
17945 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17946 tm_isdst values.
17947
72a22e59
PE
17948 mktime: merge another wrapv change from gnulib
17949 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17950 from some compilers.
17951
68605433
PE
17952 mktime: remove incorrect attempt at unusual arithmetics
17953 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17954 The code didn't really work on such machines anyway.
17955 (TYPE_MINIMUM): Assume two's complement.
17956 (twos_complement_arithmetic): Verify that long_int and time_t
17957 are two's complement (or unsigned, in the latter case).
17958
03cf7fe3
PE
17959 mktime: check signed shifts on long_int and time_t, too
17960 * time/mktime.c (SHR): Check that shifts work as desired
17961 on the types long_int and time_t too, as SHR is used on
17962 such types.
17963
f04dfbc2
PE
17964 mktime: do not assume 'long' is wide enough
17965 * time/mktime.c (verify): Move decl up.
17966 (long_int): New type.
17967 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17968 to remove assumption in the code that 'long' is wide enough to
17969 store year values. This assumption is not true on x32 and on
17970 some non-glibc platforms.
17971
62bdf9a6
PE
17972 mktime: merge wrapv change from gnulib
17973 * time/mktime.c (WRAPV): New macro.
17974 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17975 (guess_time_tm, __mktime_internal): Do not assume that signed
17976 integer overflow wraps around; modern compilers generate code
17977 where this assumption is no longer valid.
17978
5e292e4f
L
179792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17980
17981 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17982 Replace "jmp L(pseudo_end)" with "ret".
17983 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17984 Likewise.
17985
8caf8c87
AJ
179862012-05-23 Andreas Jaeger <aj@suse.de>
17987
17988 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17989 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17990
1a09dc56
AJ
179912012-05-23 Andreas Jaeger <aj@suse.de>
17992 Maximilian Attems <max@stro.at>
17993
17994 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17995 New macros.
17996
1c87aba0
L
179972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17998
17999 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18000 code so that pseudo_end is just ret and the stack pointer is
18001 correct also for static library in error case.
18002
40e45bd5
JM
180032012-05-23 Joseph Myers <joseph@codesourcery.com>
18004
c2670533
JM
18005 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18006 move to syscalls.list.
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18011
40e45bd5
JM
18012 * manual/install.texi (Running make install): Do not mention Linux
18013 kernel version for which pt_chown is not needed.
18014 (Linux): Do not mention problems with nscd with 2.0 kernels.
18015 * INSTALL: Regenerated.
18016
be08eda5
AJ
180172012-05-23 Andreas Jaeger <aj@suse.de>
18018
18019 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18020 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18021 macro.
18022 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18023 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18024 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18025 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18026 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18027 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18028 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18029 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18030 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18031 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18032 * sysdeps/unix/sysv/linux/bits/in.h
18033 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18034
a6a056bb
RM
180352012-05-22 Roland McGrath <roland@hack.frob.com>
18036
18037 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18038 (PREPARE_VERSION): Just use assert instead, it will be elided
18039 under [NDEBUG] anyway.
18040
c9009328
L
180412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18042
18043 * sysdeps/unix/sysv/linux/Makefile: Include
18044 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18045 (sysdep_routines): Remove sysctl.
c9009328
L
18046 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18047 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18048 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18049 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18050 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18051
73338355
AJ
180522012-05-22 Andreas Jaeger <aj@suse.de>
18053
18054 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18055 that pseudo_end is just ret and the stack pointer is correct also
18056 for static library in error case.
18057
d44638b0
PP
180582012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18059
18060 [BZ #14122]
18061 * nss/nsswitch.c (defconfig_entries): New variable.
18062 (__nss_database_lookup): Don't leak defconfig entries.
18063 (nss_parse_service_list): Don't leak on error paths.
18064 (free_database_entries): New function.
18065 (free_defconfig): New function.
18066 (free_mem): Move common code to free_database_entries.
18067
31a39bd8
L
180682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18069
da0331a8
L
18070 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18071 Add arch_prctl.
18072 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18073
31a39bd8
L
18074 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18075 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18077 New macro.
18078 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18079 (INTERNAL_SYSCALL_TYPES): Likewise.
18080 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18081 (LOAD_REGS_TYPES_[1-6]): Likewise.
18082 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18083 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18084
45470df3
AZ
180852012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18086
18087 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18088 copysignl for GLIBC_2_0.
18089 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18090 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18091 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18092 logbl for GLIBC_2_0.
18093 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18094 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18095
98a61bcb
L
180962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18097
a4f6e481
L
18098 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18099 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18100
f63d5db6
L
18101 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18102 Use "neg %eax".
18103
98a61bcb
L
18104 * time/mktime.c: Update copyright years.
18105
95770f14
PE
181062012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18107
6226efbd
PE
18108 mktime: merge comment-quoting-style change from gnulib
18109 * time/mktime.c: Quote 'like this' in comments.
18110 The GNU coding standards suggest that we no longer quote `like this',
18111 as "`" and "'" are typically rendered asymmetrically nowadays.
18112 The typical gnulib style is to quote 'like this' when quoting
18113 code, and "like this" when quoting English.
18114
b99e4f78
PE
18115 * time/mktime.c (compile-command): Add "-I.".
18116
643e01e6
PE
18117 mktime: merge mktime-internal.h change from gnulib
18118 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18119
2554247d
PE
18120 mktime: merge time_r change from gnulib
18121 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18122
826dd0ab
PE
18123 mktime: merge DEBUG change from gnulib
18124 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18125 case system <time.h> has a #define.
18126
bd83aabe
PE
18127 mktime: merge <sys/types.h> change from gnulib
18128 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18129 since <time.t> is now guaranteed to define time_t.
18130
95770f14
PE
18131 mktime: merge HAVE_CONFIG_H change from gnulib
18132 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18133
5e1a27a9
L
181342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18135
0e44a77e
L
18136 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18137 Use "neg %eax".
18138
5e1a27a9
L
18139 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18140 __rlim_t cast.
18141 (struct rusage): Use anonymous union to pad each field to
18142 __syscall_slong_t.
18143
46259bec
DM
181442012-05-21 David S. Miller <davem@davemloft.net>
18145
18146 * Makefules (o-iterator): Remove .s cases.
18147 (compile-command.s): Delete.
18148 (COMPILE.s): Delete.
18149 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18150
59f0c22e
JM
181512012-05-21 Joseph Myers <joseph@codesourcery.com>
18152
18153 * configure.in (libc_cv_predef_stack_protector): Only consider
18154 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18155 * configure: Regenerated.
18156
20c07380
L
181572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18158
bbb3154b
L
18159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18160 New macro. Use R*LP on int and pointer.
18161 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18162 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18163 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18164 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18165
20c07380
L
18166 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18167 [__WORDSIZE_TIME64_COMPAT32] instead of
18168 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18169 (struct utmp): Likewise.
18170 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18171 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18172 Renamed to ...
18173 (__WORDSIZE_TIME64_COMPAT32): This.
18174 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18175 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18176 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18177 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18178 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18179 (__WORDSIZE_TIME64_COMPAT32): New macro.
18180
d8d1017e
AJ
181812012-05-21 Andreas Jaeger <aj@suse.de>
18182
18183 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18184 only if [SHARED]. Add prototype for __wcschr_ia32.
18185
6c7fb145
RM
181862012-05-21 Roland McGrath <roland@hack.frob.com>
18187
18188 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18189 of %rbp unmolested in the jmp_buf while mangling the low bits.
18190 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18191 unmolested high bits of %rbp while demangling the low bits.
18192 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18193
66274218
AJ
181942012-05-21 Andreas Jaeger <aj@suse.de>
18195
07c58f8f
AJ
18196 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18197 * sunrpc/svc_simple.c: Use it for registerrpc.
18198 * sunrpc/xcrypt.c: Use it for passwd2des.
18199
66274218
AJ
18200 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18201
61f65140
L
182022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18203
18204 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18205 Don't define if [__SYSCALL_WORDSIZE != 32].
18206 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18207 New macro.
18208
5fefb436
AJ
182092012-05-21 Bruno Haible <bruno@clisp.org>
18210 Andreas Jaeger <aj@suse.de>
18211
18212 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18213 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18214 inptr and inend for must_buffer_ch.
18215 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18216 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18217 * stdio-common/Makefile (tests): Remove bug15.
18218 (bug15-ENV): Remove macro.
18219 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18220 anymore.
18221
d8e272ab
AJ
182222012-05-19 Andreas Jaeger <aj@suse.de>
18223 Roland McGrath <roland@hack.frob.com>
18224
18225 * manual/contrib.texi: Completely rewritten. It contains now an
18226 alphabetical list of contributors and their contributions.
18227
4a56a162
RH
182282012-05-21 Richard Henderson <rth@twiddle.net>
18229
18230 * misc/getauxval.c (__getauxval): Use unsigned long int.
18231 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18232 (getauxval): Use unsigned long int.
18233
d024d23c
L
182342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18235
18236 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18237
cbc00a03
RM
182382012-05-21 Roland McGrath <roland@hack.frob.com>
18239
18240 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18241 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18242 __alignof__ (long double).
18243
478143fa
AZ
182442012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18245
18246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18247
c7683a6d
RH
182482012-05-20 Richard Henderson <rth@twiddle.net>
18249
18250 * misc/getauxval.c: New file.
18251 * misc/sys/auxv.h: New file.
18252 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18253 (routines): Add getauxval.
18254 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18255 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18256 * elf/dl-sysdep.c (_dl_auxv): Remove.
18257 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18258 * elf/dl-support.c (_dl_auxv): New variable.
18259 (_dl_aux_init): Initialize it.
18260 * manual/startup.texi (Auxiliary Vector): New node.
18261 * sysdeps/generic/bits/hwcap.h: New file.
18262 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18263 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18264 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18265 * sysdeps/sparc/sysdep.h: ... here. Include it.
18266 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18267 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18269 Update.
c7683a6d
RH
18270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18273 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18278
a6f1845d
AZ
182792012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18280
18281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18282
cbcbe830
DM
182832012-05-19 David S. Miller <davem@davemloft.net>
18284
18285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18286
e0b16cc2
JM
182872012-05-19 Joseph Myers <joseph@codesourcery.com>
18288
18289 [BZ #14123]
18290 * math/s_ccosh.c: Include <float.h>
18291 (__ccosh): Avoid internal overflow calculating sinh and cosh
18292 values before multiplying by sin and cos values.
18293 * math/s_ccoshf.c: Likewise.
18294 * math/s_ccoshl.c: Likewise.
18295 * math/s_csin.c: Likewise.
18296 * math/s_csinf.c: Likewise.
18297 * math/s_csinl.c: Likewise.
18298 * math/s_csinh.c: Likewise.
18299 * math/s_csinhf.c: Likewise.
18300 * math/s_csinhl.c: Likewise.
18301 * math/libm-test.inc (ccos_test): Add more tests.
18302 (ccosh_test): Likewise.
18303 (csin_test): Likewise.
18304 (csinh_test): Likewise.
18305 * sysdeps/i386/fpu/libm-test-ulps: Update.
18306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18307
6ad13e08
L
183082012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18309
f66f0ce8
L
18310 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18311 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18312
6ad13e08
L
18313 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18314
b1d072a7
JM
183152012-05-19 Joseph Myers <joseph@codesourcery.com>
18316
18317 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18318 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18319 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18320 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18321 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18322 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18323 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18324 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18325 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18326 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18327 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18328 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18329 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18330 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18331 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18332 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18333 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18334 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18335 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18336 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18337 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18338 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18339 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18340 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18341 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18342 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18343 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18344 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18345 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18346 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18347 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18348
9eae47cb
AJ
183492012-05-18 Andreas Jaeger <aj@suse.de>
18350
18351 * csu/.gitignore: Delete.
18352
bb07f69f
L
183532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18354
18355 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18356 (timex): Use __syscall_slong_t.
18357
e6bdb741
AJ
183582012-05-18 Andreas Jaeger <aj@suse.de>
18359 Carlos O'Donell <carlos_odonell@mentor.com>
18360
18361 * manual/install.texi (Configuring and compiling): Update
18362 description about files modified in the source directory.
d6c33fda 18363 * INSTALL: Regenerated.
e6bdb741 18364
1b74487e
L
183652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18366
18367 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18368 value. Use "or" to set return value to -1.
18369 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18370 negate return value.
18371
a88b64b9
TMQMF
183722012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18373
18374 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18375 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18376 failure if the compiler has Graphite support disabled.
18377 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18378 Likewise.
18379 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18380 CFLAGS-memmove.c): Likewise.
18381 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18382 Likewise.
18383
3707636e
L
183842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18385
610b8622
L
18386 * sysdeps/x86_64/x32/_itoa.h: New file.
18387
7cd195df
L
18388 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18389 getdents system call only if kernel and user dirents have the
18390 same d_ino and d_off.
18391
94b07d20
L
18392 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18393 LLONG_MAX != LONG_MAX.
18394 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18395 (_fitoa_word): Likewise.
18396
18298070
L
18397 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18398 years.
18399 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18400 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18401 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18402
553c7ea4
L
18403 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18404 include <bits/wordsize.h>. Check __x86_64__ instead of
18405 __WORDSIZE.
18406 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18407 if __x86_64__ is defined. Use anonymous union on fpstate.
18408
3707636e
L
18409 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18410 anonymous union.
18411
b53ef01a
AS
184122012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18413
37fb1dc0
AS
18414 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18415 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18416 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18417 Refer to _rtld_local_ro instead of _rtld_global_ro.
18418 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18419 Likewise.
18420 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18421 Likewise.
18422 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18423 Likewise.
18424 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18425 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18426 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18427
b53ef01a
AS
18428 * sysdeps/powerpc/powerpc32/dl-machine.c
18429 (__elf_machine_runtime_setup) [PROF]: Don't reference
18430 _dl_prof_resolve.
18431
7a185db2
AJ
184322012-05-18 Andreas Jaeger <aj@suse.de>
18433
18434 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18435 function only available for GCCs before 3.4 since GCC 3.4
18436 introduced a builtin.
18437 (lrint): Likewise.
18438 (llrintf): Likewise.
18439 (llrint): Likewise.
18440 (fmaxf): Likewise.
18441 (fmax): Likewise.
18442 (fminf): Likewise.
18443 (fmin): Likewise.
18444 (rint): Likewise.
18445 (rintf): Likewise.
18446 (nearbyint): Likewise.
18447 (nearbyintf): Likewise.
18448 (ceil): Likewise.
18449 (ceilf): Likewise.
18450 (floor): Likewise.
18451 (floorf): Likewise.
18452
3e5aef87
L
184532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18454
428bd707
L
18455 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18456 on both fields and cast pointer to __syscall_ulong_t.
18457
3e5aef87
L
18458 * bits/types.h (__fsword_t): New type.
18459 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18460 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18461 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18462 (__FSWORD_T_TYPE): Likewise.
18463 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18464 (__FSWORD_T_TYPE): Likewise.
18465 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18466 (__FSWORD_T_TYPE): Likewise.
18467 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18468 (__FSWORD_T_TYPE): Likewise.
18469 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18470 __SWORD_TYPE with __fsword_t.
18471 (statfs64): Likewise.
18472
1ba7c3dc
DM
184732012-05-17 David S. Miller <davem@davemloft.net>
18474
18475 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18476
59910343
AJ
184772012-05-17 Andreas Jaeger <aj@suse.de>
18478
18479 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18480 warning.
18481
2e4c1e9e
L
184822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18483
18484 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18485
de7f5ce7
AJ
184862012-05-17 Andreas Jaeger <aj@suse.de>
18487
18488 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18489 when it is used.
18490
286abc3d
CM
184912012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18492
18493 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18494
477cc68e
L
184952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18496
18497 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18498 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18499
1a0994f5
CD
185002012-05-17 Andreas Jaeger <aj@suse.de>
18501 Carlos O'Donell <carlos_odonell@mentor.com>
18502
18503 [BZ #14059]
18504 * sysdeps/x86_64/multiarch/init-arch.h
18505 (bit_YMM_Usable): Rename to...
18506 (bit_AVX_Usable): ... this.
18507 (bit_FMA4_Usable): New macro.
18508 (bit_XMM_state): New macro.
18509 (bit_YMM_state): New macro.
18510 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18511 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18512 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18513 (CPUID_OSXSAVE): New macro.
18514 (CPUID_AVX): New macro.
18515 (CPUID_FMA4): New macro.
18516 (index_YMM_Usable): Rename to...
18517 (index_AVX_Usable): ... this.
18518 (HAS_AVX): Use HAS_ARCH_FEATURE.
18519 (HAS_FMA4): Likewise.
18520 (HAS_YMM_USABLE): Remove.
18521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18522 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18523 are present.
18524 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18525 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18526 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18527 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18528 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18529
0af797de
CM
185302012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18531
18532 * math/libm-test.c: Support platforms without multiple rounding modes.
18533 * math/bug-nextafter.c: Support platforms without FP exceptions.
18534 * math/bug-nexttoward.c: Likewise.
18535 * math/test-fenv.c: Likewise.
18536 * math/test-misc.c: Likewise.
18537 * stdlib/bug-getcontext.c: Likewise.
18538
e39745ff
AJ
185392012-05-17 Andreas Jaeger <aj@suse.de>
18540
18541 * manual/examples/search.c (critter_cmp): Change signature to
18542 avoid warnings.
18543 * manual/string.texi (Collation Functions): Likewise.
18544
48970aba
L
185452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18546
18547 * bits/types.h: Fold copyright years.
18548 * bits/typesizes.h: Likewise.
18549 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18550 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18551 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18552 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18553 * time/time.h: Likewise.
18554
bedee953
PP
185552012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18556
18557 [BZ #208]
18558 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18559 in instead of returning them. Return void.
18560 (__libc_mallinfo): Accumulate over all arenas.
18561 (__malloc_stats): Adjust for change in int_mallinfo interface.
18562
61653dfb
RM
185632012-05-16 Roland McGrath <roland@hack.frob.com>
18564
30b99d79
RM
18565 [BZ #10375]
18566 * configure.in (NM): Add AC_CHECK_TOOL for it.
18567 (libc_extra_cflags): New substituted variable.
18568 Check for -fstack-protector being used implicitly.
18569 * configure: Regenerated.
18570 * config.make.in (config-extra-cflags): New variable,
18571 gets @libc_extra_cflags@.
18572 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18573
61653dfb
RM
18574 [BZ #10375]
18575 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18576 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18577 * configure: Regenerated.
18578 * config.make.in (CPPUNDEFS): New substituted variable.
18579 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18580 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18581 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18582
661768bb
L
185832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18584
18585 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18586 (mq_attr): Use __syscall_slong_t.
18587
d4261567
L
185882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18589
18590 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18591 Check __x86_64__ instead of __WORDSIZE.
18592 (_STAT_VER_LINUX): Likewise.
18593 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18594 __syscall_ulong_t and __syscall_slong_t.
18595 (stat64): Likewise.
18596
cf3ff365
L
185972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18598
18599 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18600
76cf3e4d
L
186012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18602
18603 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18604
a637753a
L
186052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18606
18607 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18608 __syscall_ulong_t.
18609
d5e05119
L
18610 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18611 include <bits/wordsize.h>. Check __x86_64__ instead of
18612 __WORDSIZE.
18613 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18614 defined.
18615 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18616
f62ee380
L
18617 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18618 include <bits/wordsize.h>. Check __x86_64__ instead of
18619 __WORDSIZE.
18620 (user_regs_struct): Use "__extension__ unsigned long long"
18621 instead of "unsigned long" if __x86_64__ is defined.
18622 (user): Likewise. Pad after pointer field if __ILP32__ is
18623 defined.
18624
4e124ced
JM
186252012-05-16 Joseph Myers <joseph@codesourcery.com>
18626
6a3951a0
JM
18627 * configure.in (makeinfo): Require version 4.5 or later. Allow
18628 versions 5 to 9.
18629 * configure: Regenerated.
18630 * manual/install.texi (texinfo): Increase version requirement to
18631 4.5 or later.
18632 * INSTALL: Regenerated.
18633
4e124ced
JM
18634 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18635
953ca31a
L
186362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18637
18638 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18639
617aca05
L
18640 * sysdeps/x86_64/x32/ffs.c: New file.
18641
5762f7ae
L
18642 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18643 __syscall_ulong_t.
18644 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18645 defined. Use __syscall_ulong_t.
18646 (shminfo): Use __syscall_ulong_t.
18647 (shm_info): Likewise.
18648
a26b6856
L
18649 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18650 __syscall_ulong_t.
18651
cb2b9ef7
L
18652 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18653 <bits/wordsize.h>.
18654 (msgqnum_t): Use __syscall_ulong_t.
18655 (msglen_t): Likewise.
18656 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18657 __syscall_ulong_t.
18658
34683bb0
L
18659 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18660 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18661
84a68786
L
18662 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18663
48baa5f1
L
18664 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18665 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18666
180be88b
L
18667 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18668 __syscall_slong_t.
18669
5e90c8ad
L
18670 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18671 include <bits/wordsize.h>. Check __x86_64__ instead of
18672 __WORDSIZE.
18673
23dfb58b
L
18674 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18675 "unsigned long long int" if __x86_64__ is defined.
18676 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18677
ce5d54b0
L
18678 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18679 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18680 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18681
13dc9eac
L
18682 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18683 <stdint.h>.
18684 (GET_PC): Cast to uintptr_t first.
18685 (GET_FRAME): Likewise.
18686 (GET_STACK): Likewise.
18687
a7895d15
L
18688 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18689 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18690 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18691 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18692 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18693 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18694 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18695 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18696 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18697 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18698 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18699 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18700 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18701 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18702 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18703 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18704 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18705 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18706 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18707 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18708 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18709 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18710 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18711 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18712 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18713 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18714 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18715 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18716 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18717
656416c9
AS
187182012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18719
5bd66283
AS
18720 * Makerules (+depfiles): Also collect depfiles from .oS in
18721 $(extra-objs).
18722 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18723 .oS, $(libnldbl-routines)).
18724
656416c9
AS
18725 * Makerules (native-compile-mkdep-flags): Define.
18726 * sunrpc/Makefile (extra-objs): Add $(addprefix
18727 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18728 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18729 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18730 calling $(make-target-directory).
18731
a46f2169
L
187322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18733
18734 * bits/types.h (__snseconds_t): Removed.
18735 * time/time.h (struct timespec): Replace __snseconds_t with
18736 __syscall_slong_t.
18737 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18738 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18739 Likewise.
18740 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18741 (__SNSECONDS_T_TYPE): Likewise.
18742 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18743 (__SNSECONDS_T_TYPE): Likewise.
18744 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18745 (__SNSECONDS_T_TYPE): Likewise.
18746
6af6528b
L
187472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18748
18749 * sysdeps/mach/hurd/bits/typesizes.h
18750 (__SYSCALL_SLONG_TYPE): New macro.
18751 (__SYSCALL_ULONG_TYPE): Likewise.
18752
de986b56
L
187532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18754
18755 * bits/types.h (__syscall_slong_t): New type.
18756 (__syscall_ulong_t): Likewise.
18757
18758 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18759 (__SYSCALL_ULONG_TYPE): Likewise.
18760 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18761 (__SYSCALL_SLONG_TYPE): Likewise.
18762 (__SYSCALL_ULONG_TYPE): Likewise.
18763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18764 (__SYSCALL_SLONG_TYPE): Likewise.
18765 (__SYSCALL_ULONG_TYPE): Likewise.
18766 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18767 (__SYSCALL_SLONG_TYPE): Likewise.
18768 (__SYSCALL_ULONG_TYPE): Likewise.
18769
85736dc7
L
187702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18771
18772 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18773 Add sigaltstack-offsets.sym.
18774 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18775 <sigaltstack-offsets.h>.
18776 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18777 longjmp_msg pointer.
18778 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18779 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18780 signal stack.
18781 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18782
cc03b296
JM
187832012-05-15 Joseph Myers <joseph@codesourcery.com>
18784
a9538892
JM
18785 * elf/stackguard-macros.h: Remove file.
18786 * sysdeps/generic/stackguard-macros.h: New file.
18787 * sysdeps/i386/stackguard-macros.h: Likewise.
18788 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18789 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18790 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18791 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18792 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18793 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18794 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18795 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18796 <elf/stackguard-macros.h>.
18797
cc03b296
JM
18798 [BZ #14109]
18799 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18800 __aligned__ in attribute.
18801 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18802 (gregset_t): Likewise.
18803
93171016
L
188042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18805
18806 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18807 * sysdeps/x86_64/64/Implies-after: Here. New file.
18808 * sysdeps/x86_64/x32/Implies-after: New file.
18809
d86813a0
L
188102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18811
18812 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18813 and access return value for _dl_profile_fixup. Use R10_LP to
18814 load frame size.
18815
2953ec75
L
188162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18817
18818 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18819
3b550e9e
L
188202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18821
18822 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18823 * sysdeps/x86_64/x32/sysdep.h: New file.
18824
eda41706
L
188252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18826
18827 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18828 * sysdeps/x86_64/setjmp.S: Likewise.
18829
9ea01d93
AZ
188302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18831
18832 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18833 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18834 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18835 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18836 remove unused global constant.
18837
02a91938
CM
188382012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18839
18840 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18841 include of <not-cancel.h>.
18842
6540185f
RM
188432012-05-15 Roland McGrath <roland@hack.frob.com>
18844
18845 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18846
509072a0
AJ
188472012-05-15 Jeff Law <law@redhat.com>
18848 Andreas Jaeger <aj@suse.de>
18849
18850 [BZ #13594]
18851 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18852 out from...
18853 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18854 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18855 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18856 code changing __hst_map_handle.map.
18857
ba75122d
RM
188582012-05-15 Roland McGrath <roland@hack.frob.com>
18859
18860 * configure.in (sysnames): Look for Implies-before and Implies-after
18861 files.
18862 * configure: Regenerated.
18863
890d8bd8
L
188642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18865
18866 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18867 8-byte data alignment with LP_SIZE alignment.
18868
f6ee6623
L
188692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18870
18871 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18872 into R10_LP.
18873
ea2626f6
L
188742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18875
18876 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18877
085f715e
L
188782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18879
18880 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18881 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18882 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18883 Likewise.
18884 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18885
be8498fc
L
188862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18887
18888 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18889 (stackinfo_sub_sp): Likewise.
18890
70bc83b9
L
188912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18892
18893 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18894 RAX_LP.
18895
9bc0b730
L
188962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18897
18898 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18899 into R*_LP.
18900
6d2850e7
L
189012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18902
18903 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18904 sizes into R*_LP.
18905
3cb84561
L
189062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18907
18908 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18909
54e2ed81
L
189102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18911
18912 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18913 into R11_LP and load __x86_64_shared_cache_size_half into
18914 R8_LP.
18915
8a17f349
L
189162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18917
18918 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18919 R8_LP.
18920
777b1eea
AZ
189212012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18922
18923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18924 logb for POWER7.
18925 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18926 logbf for POWER7.
18927 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18928 logbl for POWER7.
18929 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18930 powerpc32/power7/fpu/s_logb.c via #include.
18931 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18932 powerpc32/power7/fpu/s_logbf.c via #include.
18933 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18934 powerpc32/power7/fpu/s_logbl.c via #include.
18935
d20d4ac2
JM
189362012-05-15 Joseph Myers <joseph@codesourcery.com>
18937
18938 * README.libm: Remove file.
18939
6cdef1ab
L
189402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18941
18942 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18943 count for x32. Use R*_LP and omit operand-size suffix.
18944
0b254d8f
L
189452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18946
18947 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18948 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18949 * sysdeps/x86_64/x32/shlib-versions: New file.
18950
ceb809dc
RM
189512012-05-14 Roland McGrath <roland@hack.frob.com>
18952
18953 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18954 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18955 Use _dl_fatal_printf instead.
18956
37f1abd4
JM
189572012-05-14 Joseph Myers <joseph@codesourcery.com>
18958
18959 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18960 set if not set by the user. Do not allow for being unset.
18961 * sysdeps/unix/sysv/linux/configure: Regenerated.
18962
11de3a33
L
189632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18964
18965 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18966 the `q' suffix from lea and replace .quad with ASM_ADDR.
18967
e02f153a
L
189682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18969
18970 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18971 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18972 instead of $17.
18973 (PTR_DEMANGLE): Likewise.
18974
520ae0fd
L
189752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18976
18977 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18978 (LP_OP): Likewise.
18979 (ASM_ADDR): Likewise.
18980 (RAX_LP): Likewise.
18981 (RBP_LP): Likewise.
18982 (RBX_LP): Likewise.
18983 (RCX_LP): Likewise.
18984 (RDI_LP): Likewise.
18985 (RSI_LP): Likewise.
18986 (RSP_LP): Likewise.
18987 (R8_LP): Likewise.
18988 (R9_LP): Likewise.
18989 (R10_LP): Likewise.
18990 (R10_LP): Likewise.
18991 (R11_LP): Likewise.
18992 (R12_LP): Likewise.
18993 (R13_LP): Likewise.
18994 (R14_LP): Likewise.
18995 (R15_LP): Likewise.
18996
b985be81
L
189972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18998
18999 * sysdeps/x86_64/x32/dl-machine.h: New file.
19000
6a4888ff
AJ
190012012-05-14 Andreas Jaeger <aj@suse.de>
19002
19003 * manual/Makefile (subdir): Remove export of subdir.
19004 (all): Remove target.
19005 (.PHONY): Remove all from list.
19006 (mkinstalldirs): Remove.
19007 (.PHONY): Remove installdirs from list.
19008 ($(inst_infodir)/libc.info): Use make-target-directory.
19009 (installdirs): Remove.
19010 (subdir_%): Remove.
19011 (glibc-targets): Remove.
19012 (lib): Remove.
19013 (stubs): Remove.
19014 ($(objpfx)stubs ../po/manual.pot): Remove.
19015 ($(objpfx)stamp%): Remove.
19016 (make-target-directory): Remove.
19017 (subdir_install): Remove.
19018 (routines): Remove.
19019 (aux): Remove.
19020 (sources): Remove.
19021 (objects): Remove.
19022 (headers): Remove.
19023
19024 [BZ #13750]
19025 * manual/.gitignore: Remove, it's not needed anymore.
19026 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19027 all files in it.
19028 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19029 directory.
19030 (texis): Renamed to $(objpfx)texis.
19031 (texis-path): New, contains path to generated files.
19032 (chapters.%): Use texis-path for complete path, add extra argument
19033 libc-texinfo.sh.
19034 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19035 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19036 (summary,texi, stamp-summary): Use complete path of
19037 files. Generate files in build dir.
19038 (dir-add.texi): Build in build dir.
19039 (libm-err.texi,stamp-libm-err): Likewise.
19040 (version.texi, stamp-version): Likewise.
19041 (.%c.texi): Likewise.
19042 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19043 (mostlyclean): Remove target.
19044 (realclean): Remove target.
19045 (generated): Add new variable with contents from mostlyclean and
19046 realclean, remove entries duplicated in common-mostlyclean, add
19047 stamp-libm-err and stamp-version.
19048 (generated-dirs): Add libc directory.
19049 ($(inst_infodir)/libc.info): Install files from build dir.
19050
19051 * manual/install.texi (Configuring and compiling): Adjust since
19052 the info files are not part of the tar ball anymore.
19053
7ac77294
AJ
190542012-05-14 Andreas Jaeger <aj@suse.de>
19055
19056 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19057 variable.
19058
ffb7875d
JM
190592012-05-14 Joseph Myers <joseph@codesourcery.com>
19060
19061 [BZ #13717]
19062 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19063 to 2.2.0 where earlier.
19064 * sysdeps/unix/sysv/linux/configure: Regenerated.
19065 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19066 Remove conditional code.
19067 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19068 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19069 Remove conditional code.
19070 [!__NR_lchown]: Likewise.
19071 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19072 [__NR_lchown]: Likewise.
19073 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19074 comment referencing __ASSUME_LCHOWN_SYSCALL.
19075 * sysdeps/unix/sysv/linux/i386/sigaction.c
19076 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19077 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19078 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19079 Remove conditional code.
19080 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19081 (__protocol_available): Remove #if 0 code.
19082 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19083 conditional code.
19084 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19085 * sysdeps/unix/sysv/linux/kernel-features.h
19086 (__ASSUME_GETCWD_SYSCALL): Don't define.
19087 (__ASSUME_REALTIME_SIGNALS): Likewise.
19088 (__ASSUME_PREAD_SYSCALL): Likewise.
19089 (__ASSUME_PWRITE_SYSCALL): Likewise.
19090 (__ASSUME_POLL_SYSCALL): Likewise.
19091 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19092 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19093 non-SPARC.
19094 (__ASSUME_SIOCGIFNAME): Don't define.
19095 (__ASSUME_MSG_NOSIGNAL): Likewise.
19096 (__ASSUME_SENDFILE): Define unconditionally.
19097 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19098 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19099 conditional code.
19100 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19101 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19102 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19103 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19104 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19105 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19106 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19108 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19109 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19111 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19112 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19114 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19115 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19117 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19118 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19120 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19121 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19123 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19124 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19126 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19127 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19129 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19130 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19131 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19132 Remove conditional code.
19133 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19134 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19135 Remove conditional code.
19136 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19137 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19138 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19139 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19140 Remove conditional code.
19141 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19142 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19143 Remove conditional code.
19144 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19145 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19146 Remove conditional code.
19147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19148 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19149 Remove conditional code.
19150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19151 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19152 Remove conditional code.
19153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19154 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19157 * sysdeps/unix/sysv/linux/sigaction.c
19158 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19159 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19160 * sysdeps/unix/sysv/linux/sigpending.c
19161 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19162 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19163 * sysdeps/unix/sysv/linux/sigprocmask.c
19164 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19165 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19166 * sysdeps/unix/sysv/linux/sigsuspend.c
19167 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19168 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19169 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19170 (__libc_missing_rt_sigs): Remove.
19171 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19172 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19173 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19174 Remove conditional code.
19175 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19176 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19177 return 1.
19178 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19179 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19180 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19181 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19182
1bfb7291
AJ
191832012-05-14 Andreas Jaeger <aj@suse.de>
19184
caae5a81
AJ
19185 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19186 it's not used in glibc.
19187 (__coshm1): Likewise.
19188 (__acosh1p): Likewise.
19189 (__sgn): Likewise.
19190
1bfb7291
AJ
19191 * manual/string.texi (Copying and Concatenation): Add missing
19192 variable in concat example.
19193 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19194
c044d724
L
191952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19196
144c5467 19197 [BZ #14103]
c044d724
L
19198 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19199 __builtin_clzl with __builtin_clzll.
19200
2523c62b
L
192012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19202
19203 [BZ #14104]
19204 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19205 libc_freeres_ptr.
19206
d7bb4c42
LD
192072012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19208
19209 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19210 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19211 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19212 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19213
9dc4e1fb
MF
192142012-05-14 Mike Frysinger <vapier@gentoo.org>
19215
19216 * NEWS: Update ia64 info.
19217
c7df0112
AS
192182012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19219
19220 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19221 used as bcopy.
19222
dc70356c
TS
192232012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19224
19225 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19226 * sysdeps/unix/syscalls.list (dup3): Likewise.
19227 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19228 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19229
9fb1a21f
L
192302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19231
19232 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19233 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19234
4822a2a5
L
192352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19236
19237 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19238 thread pointer.
19239 (TLS_IE): Use mov/add instead of movq/addq to load thread
19240 pointer.
19241 (TLS_GD_PREFIX): New.
19242 (TLS_GD): Use it.
19243
842b81d6
DM
192442012-05-11 David S. Miller <davem@davemloft.net>
19245
19246 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19247 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19248 (_FPU_SETCW): Likewise.
19249
1cf463cd
L
192502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19251
19252 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19253 is 32-byte aligned.
19254
60cc4a18
AS
192552012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19256
19257 [BZ #11837]
19258 * iconvdata/gb18030.c: Update tables.
19259 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19260 characters specially.
19261 (BODY for TO_LOOP): Add encoding of missing ranges.
19262
febb44a4
TS
192632012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19264
19265 [BZ #13673]
19266 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19267 * sysdeps/mach/hurd/dup3.c: Likewise.
19268 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19269 * sysdeps/powerpc/memmove.c:: Likewise.
19270
0a10fb9e
L
192712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19272
19273 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19274 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19275
df8a552f
L
192762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19277
19278 * elf/elf.h (R_X86_64_RELATIVE64): New.
19279 (R_X86_64_NUM): Updated.
19280 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19281 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19282 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19283 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19284 tst-quad1pie tst-quad2pie
19285 (modules-names): Add tst-quadmod1 tst-quadmod2.
19286 ($(objpfx)tst-quad1): New dependency.
19287 ($(objpfx)tst-quad2): Likewise.
19288 ($(objpfx)tst-quad1pie): Likewise.
19289 ($(objpfx)tst-quad2pie): Likewise.
19290 * sysdeps/x86_64/tst-quad1.c: New file.
19291 * sysdeps/x86_64/tst-quad1pie.c: New file.
19292 * sysdeps/x86_64/tst-quad2.c: Likewise.
19293 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19294 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19295 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19296 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19297 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19298
f34d6f84
ST
192992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19300
f42d41d1
ST
19301 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19302 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19303 * streams/stropts.h (t_scalar_t): Define type.
19304
3c3571fc
ST
19305 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19306 (_PATH_PRESERVE): Set to "/var/lib".
19307 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19308
61f06bd3
ST
19309 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19310 instead of int.
19311
918d4d71
ST
19312 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19313 if __dir_mkfile succeeded.
19314
f34d6f84
ST
19315 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19316 checking for _hurd_dtablesize. Unlock it right after having
19317 finished _hurd_dtable allocation.
19318
10589b4a
TS
193192012-05-10 Thomas Schwinge <thomas@schwinge.name>
19320
674cdbc7
TS
19321 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19322 * sysdeps/mach/hurd/configure: Regenerated.
19323 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19324 special-casing to...
19325 * sysdeps/gnu/configure.in: ... this new file.
19326 * sysdeps/unix/sysv/linux/configure: Regenerated.
19327 * sysdeps/gnu/configure: New generated file.
19328
8e41b99f
TS
19329 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19330 for Linux: use nsec instead of usec, as well as:
19331 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19332 members of type struct timespec.
19333 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19334 New macros.
19335 (struct stat64): Likewise.
19336 (_STATBUF_ST_NSEC): New macro.
19337 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19338
10589b4a
TS
19339 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19340 __strtoul_internal rather than strtoul.
19341
63643c85
PT
193422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19343
19344 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19345 and reject them.
19346
3faebe6a
ST
193472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19348
19349 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19350 which preserves existing values.
19351 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19352
c6474b07
PT
193532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19354
19355 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19356 TIMEOUT values. Return EINVAL for NFDS values either negative or
19357 greater than FD_SETSIZE.
19358
1043890b
ST
193592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19360
19361 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19362 allocated, call __vm_protect to finish enabling the existing space, and
19363 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19364 allocate the remainder.
19365
37ed8b9b
PT
193662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19367
19368 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19369 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19370
db653660
ST
193712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19372
37ed8b9b
PT
19373 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19374 sysdeps/mach/hurd/readlink.c.
b29d4053 19375
db653660
ST
19376 * posix/tst-sysconf.c (posix_options): Only use
19377 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19378 _POSIX_SYNCHRONIZED_IO when they are defined
19379 * sysdeps/mach/hurd/bits/posix_opt.h:
19380 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19381 (_XOPEN_REALTIME): Undefine macro.
19382 (_XOPEN_REALTIME_THREADS): Undefine macro.
19383 (_XOPEN_SHM): Undefine macro.
19384 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19385 macro to -1.
19386 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19387 macro to -1.
19388 (_POSIX_ASYNC_IO): Undefine macro.
19389 (_POSIX_PRIORITIZED_IO): Undefine macro.
19390 (_POSIX_SPIN_LOCKS): Define macro to -1.
19391
ee16e894
ST
19392 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19393 SA_NODEFER, SA_RESETHAND.
19394 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19395 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19396 F_DUPFD_CLOEXEC.
19397
6103ae3b
TS
193982012-05-10 Thomas Schwinge <thomas@schwinge.name>
19399
19400 * elf/Makefile (pldd-modules): Define unconditionally.
19401
80b4e5f3
TS
194022012-05-10 Thomas Schwinge <thomas@schwinge.name>
19403
19404 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19405
edadcbd6
ST
194062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19407
19408 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19409 Return ENOENT when name is empty.
19410 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19411
80694780
TS
194122012-05-10 Thomas Schwinge <thomas@schwinge.name>
19413
1792c087
TS
19414 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19415
80694780
TS
19416 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19417
6b645f0d
ST
194182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19419
80694780
TS
19420 Fix mlock in all cases except non-readable pages.
19421 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19422 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19423
6b645f0d
ST
19424 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19425 (__mkdir): When path is `/', just fail with EEXIST.
19426 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19427
e468f8a3
TS
194282012-05-10 Thomas Schwinge <thomas@schwinge.name>
19429
19430 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19431 <sys/uio.h> (for writev).
19432 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19433 and <sys/param.h> (for MIN).
19434
a4186cff
PT
194352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19436
19437 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19438 REQUESTED_TIME. Properly set the remaining time and return EINTR
19439 if interrupted.
19440
510bbf14
TS
194412012-05-10 Thomas Schwinge <thomas@schwinge.name>
19442
19443 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19444 Depend on against $(link-rpcuserlibs).
19445
5d5722e8
ST
194462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19447
a4186cff
PT
19448 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19449 (__libc_stack_end): Do not use attribute_relro.
19450 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19451 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19452 to libthread-provided value.
a4186cff
PT
19453 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19454 attribute_relro.
5d5722e8 19455
37233df9
TS
194562012-05-10 Thomas Schwinge <thomas@schwinge.name>
19457
be971a2b
TS
19458 [BZ #3748]
19459 * bits/libc-lock.h (__libc_once_get): New macro.
19460 * sysdeps/mach/bits/libc-lock.h: Likewise.
19461 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19462 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19463 instead of using implementation details.
19464
37233df9
TS
19465 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19466 * libio/freopen.c: Likewise.
19467 * libio/freopen64.c: Likewise.
19468 * misc/syslog.c: Likewise.
19469 * nscd/connections.c: Likewise.
19470 * nscd/netgroupcache.c: Likewise.
19471 * sysdeps/posix/getcwd.c: Likewise.
19472
38de94a5
RM
194732012-05-10 Roland McGrath <roland@hack.frob.com>
19474
19475 * math/w_ilogbf.c: Add #include <limits.h>.
19476
67530489
ST
194772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19478
a4186cff 19479 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19480 path instead of returning without unlocking.
19481
67530489
ST
19482 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19483 immediate-write ioctls.
19484 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19485
5aa3a74a
TS
194862012-05-10 Thomas Schwinge <thomas@schwinge.name>
19487
18bad2ae
TS
19488 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19489 __builtin_frame_address instead of making assumptions about the
19490 location of the return address relative to DATA. Force early load of
19491 the return address.
19492 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19493 __builtin_frame_address.
19494
5aa3a74a
TS
19495 dup3 for GNU Hurd.
19496 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19497 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19498 implement dup3 and do some further code clean-ups.
19499 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19500 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19501
ecd0de9a
ST
195022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19503
cd9fa985
ST
19504 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19505
a4186cff
PT
19506 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19507 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19508 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19509 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19510 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19511 d->port.lock.
802ca5a5 19512
a4186cff
PT
19513 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19514 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19515 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19516
bcf55240
TS
195172012-05-10 Thomas Schwinge <thomas@schwinge.name>
19518
6960eb42
TS
19519 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19520 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19521 definitions.
19522
eb43375f
TS
19523 accept4 for GNU Hurd.
19524 * include/sys/socket.h (__libc_accept4): New prototype.
19525 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19526 to implement __libc_accept4.
19527 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19528 __libc_accept4.
19529 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19530
bcf55240
TS
19531 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19532 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19533 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19534 signal-defines.sym.
19535
6178c55b
ST
195362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19537
a4186cff 19538 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19539
6f080c2f
TS
195402012-05-10 Thomas Schwinge <thomas@schwinge.name>
19541
19542 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19543 assertion on O_CLOEXEC flag.
19544 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19545 * hurd/intern-fd.c: Likewise.
19546 * hurd/port2fd.c: Likewise.
19547
bcfe3a54
ST
195482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19549
19550 [BZ #3906]
19551 * bits/in.h (IPV6_PKTINFO): Define new macro.
19552 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19553
89c9aa49
AZ
195542012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19555
19556 [BZ #13954]
19557 [BZ #13955]
19558 [BZ #13956]
19559 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19560 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19561 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19562 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19563 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19564 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19565 * math/libm-test.inc (logb_test) : Additional logb tests.
19566
021db4be
AJ
195672012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19568 Andreas Jaeger <aj@suse.de>
19569
19570 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19571 * configure: Regenerated.
19572 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19573 * config.make.in (link-obsolete-rpc): New substituted variable.
19574 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19575 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19576 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19577 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19578 so that libc.a contains the symbols.
19579 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19580 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19581 * sunrpc/auth_none.c: Likewise.
19582 * sunrpc/auth_unix.c: Likewise.
19583 * sunrpc/authdes_prot.c: Likewise.
19584 * sunrpc/authuxprot.c: Likewise.
19585 * sunrpc/clnt_gen.c: Likewise.
19586 * sunrpc/clnt_perr.c: Likewise.
19587 * sunrpc/clnt_raw.c: Likewise.
19588 * sunrpc/clnt_simp.c: Likewise.
19589 * sunrpc/clnt_tcp.c: Likewise.
19590 * sunrpc/clnt_udp.c: Likewise.
19591 * sunrpc/clnt_unix.c: Likewise.
19592 * sunrpc/des_crypt.c: Likewise.
19593 * sunrpc/des_soft.c: Likewise.
19594 * sunrpc/get_myaddr.c: Likewise.
19595 * sunrpc/key_call.c: Likewise.
19596 * sunrpc/key_prot.c: Likewise.
19597 * sunrpc/netname.c: Likewise.
19598 * sunrpc/pm_getmaps.c: Likewise.
19599 * sunrpc/pm_getport.c: Likewise.
19600 * sunrpc/pmap_clnt.c: Likewise.
19601 * sunrpc/pmap_prot.c: Likewise.
19602 * sunrpc/pmap_prot2.c: Likewise.
19603 * sunrpc/pmap_rmt.c: Likewise.
19604 * sunrpc/publickey.c: Likewise.
19605 * sunrpc/rpc_cmsg.c: Likewise.
19606 * sunrpc/rpc_common.c: Likewise.
19607 * sunrpc/rpc_dtable.c: Likewise.
19608 * sunrpc/rpc_prot.c: Likewise.
19609 * sunrpc/rpc_thread.c: Likewise.
19610 * sunrpc/rtime.c: Likewise.
19611 * sunrpc/svc.c: Likewise.
19612 * sunrpc/svc_auth.c: Likewise.
19613 * sunrpc/svc_raw.c: Likewise.
19614 * sunrpc/svc_run.c: Likewise.
19615 * sunrpc/svc_tcp.c: Likewise.
19616 * sunrpc/svc_udp.c: Likewise.
19617 * sunrpc/svc_unix.c: Likewise.
19618 * sunrpc/svcauth_des.c: Likewise.
19619 * sunrpc/xcrypt.c: Likewise.
19620 * sunrpc/xdr.c: Likewise.
19621 * sunrpc/xdr_array.c: Likewise.
19622 * sunrpc/xdr_float.c: Likewise.
19623 * sunrpc/xdr_intXX_t.c: Likewise.
19624 * sunrpc/xdr_mem.c: Likewise.
19625 * sunrpc/xdr_rec.c: Likewise.
19626 * sunrpc/xdr_ref.c: Likewise.
19627 * sunrpc/xdr_sizeof.c: Likewise.
19628 * sunrpc/xdr_stdio.c: Likewise.
19629
b5c086a2
RM
196302012-05-10 Roland McGrath <roland@hack.frob.com>
19631
19632 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19633 change. Update copyright years.
19634
6d74dd09
JM
196352012-05-10 Joseph Myers <joseph@codesourcery.com>
19636
19637 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19638
28e72501
MK
196392012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19640 Joseph Myers <joseph@codesourcery.com>
19641 Paul Pluzhnikov <ppluzhnikov@google.com>
19642
19643 [BZ #14012]
19644 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19645 requiring rpcgen.
19646 [cross-compiling] (extra-libs): Likewise.
19647 [cross-compiling] (extra-libs-others): Likewise.
19648 [cross-compiling] (librpcsvc-routines): Likewise.
19649 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19650 [cross-compiling] (omit-deps): Likewise.
19651 (sunrpc-CPPFLAGS): New variable.
19652 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19653 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19654 (cross-rpcgen-objs): New variable.
19655 (extra-objs): Append $(cross-rpcgen-objs).
19656 ($(cross-rpcgen-objs)): New rule.
19657 ($(objpfx)cross-rpcgen): Likewise.
19658 (rpcgen-cmd): Define to use $(built-program-file). Expand
19659 comment.
19660 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19661 ($(objpfx)x%.stmp): Likewise.
19662 * sunrpc/proto.h [IS_IN_build] (_): Define.
19663 [IS_IN_build] (_libc_intl_domainname): Likewise.
19664
c8c59454
L
196652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19666
19667 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19668 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19669 and R_X86_64_TPOFF64.
19670
6f27cd16
JM
196712012-05-10 Joseph Myers <joseph@codesourcery.com>
19672
19673 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19674 sysdeps/unix/sysv/syscalls.list.
19675 (stime): Likewise.
19676 (utime): Likewise.
19677 * sysdeps/unix/sysv/syscalls.list: Remove file.
19678
02467e1c
PE
196792012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19680
19681 [BZ #3440]
19682 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19683 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19684 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19685 (__LC_IDENTIFICATION): Make these macros useful in #if
19686 expressions, as required by C99.
19687
da392631
AS
196882012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19689
19690 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19691 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19692 after this.
19693
8115f29b
L
196942012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19695
19696 * stdlib/longlong.h: Updated from GCC.
19697
bdd74070
AJ
196982012-05-09 Andreas Jaeger <aj@suse.de>
19699
edfe0dbe
AJ
19700 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19701 default is first entry.
19702 (run_mode): Set type.
19703 (main): Remove informal message about syslog.
19704 (options): Fix typo.
19705
bcfe3a54
ST
19706 [BZ #14053]
19707 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19708 to asm.
bcfe3a54
ST
19709 (lrint): Likewise.
19710 (llrintf): Likewise.
19711 (llrint): Likewise.
19712 (rint): Likewise.
19713 (rintf): Likewise.
19714 (nearbyint): Likewise.
19715 (nearbyintf): Likewise.
bdd74070 19716
91d8d69e
AJ
197172012-05-09 Andreas Jaeger <aj@suse.de>
19718 Pedro Alves <palves@redhat.com>
19719
19720 * nscd/nscd.c (run_mode): Use enum.
19721 (main): Cleanup coding style issue.
19722
bb90b80b
AJ
197232012-05-09 Alexandre Oliva <aoliva@redhat.com>
19724 Andreas Jaeger <aj@suse.de>
19725
bcfe3a54
ST
19726 * nscd/nscd.c (go_background): Replaced with...
19727 (run_mode): ... this.
bb90b80b 19728 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19729 (options): Add -F --foreground.
19730 (main): Implement it.
19731 (parse_opt): Parse it.
bb90b80b 19732
1a4b75a1
AJ
197332012-05-09 Andreas Jaeger <aj@suse.de>
19734
19735 [BZ #14083]
19736 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19737 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19738 -Wconversion warning.
19739 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19740 Likewise.
19741
b1cc2472
JM
197422012-05-09 Joseph Myers <joseph@codesourcery.com>
19743
19744 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19745 == 0.
19746 (LC_ALL): Use macro-int-constant.
19747 (LC_COLLATE): Likewise.
19748 (LC_CTYPE): Likewise.
19749 (LC_MESSAGES): Likewise.
19750 (LC_MONETARY): Likewise.
19751 (LC_NUMERIC): Likewise.
19752 (LC_TIME): Likewise.
19753 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19754 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19755 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19756 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19757 Specify type.
19758 [C99-based standards] (float_t): Expect type.
19759 [C99-based standards] (double_t): Expect type.
19760 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19761 type.
19762 [C99-based standards] (HUGE_VALL): Likewise.
19763 [C99-based standards] (INFINITY): Likewise.
19764 [C99-based standards] (NAN): Likewise.
19765 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19766 [C99-based standards] (FP_NAN): Likewise.
19767 [C99-based standards] (FP_NORMAL): Likewise.
19768 [C99-based standards] (FP_SUBNORMAL): Likewise.
19769 [C99-based standards] (FP_ZERO): Likewise.
19770 [C99-based standards] (FP_FAST_FMA): Use
19771 optional-macro-int-constant. Specify type. Require == 1.
19772 [C99-based standards] (FP_FAST_FMAF): Likewise.
19773 [C99-based standards] (FP_FAST_FMAL): Likewise.
19774 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19775 [C99-based standards] (FP_ILOGBNAN): Likewise.
19776 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19777 Specify type.
19778 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19779 [C99-based standards] (math_errhandling): Specify type.
19780 [ISO99 || ISO11] (signgam): Do not allow.
19781 [non-C99-based standards] (copysignf): Do not allow.
19782 [non-C99-based standards] (exp2f): Likewise.
19783 [non-C99-based standards] (log2f): Likewise.
19784 [non-C99-based standards] (modff): Allow.
19785 [non-C99-based standards] (erff): Do not allow.
19786 [non-C99-based standards] (erfcf): Likewise.
19787 [non-C99-based standards] (gammaf): Likewise.
19788 [non-C99-based standards] (hypotf): Likewise.
19789 [non-C99-based standards] (j0f): Likewise.
19790 [non-C99-based standards] (j1f): Likewise.
19791 [non-C99-based standards] (jnf): Likewise.
19792 [non-C99-based standards] (lgammaf): Likewise.
19793 [non-C99-based standards] (tgammaf): Likewise.
19794 [non-C99-based standards] (y0f): Likewise.
19795 [non-C99-based standards] (y1f): Likewise.
19796 [non-C99-based standards] (ynf): Likewise.
19797 [non-C99-based standards] (isnanf): Likewise.
19798 [non-C99-based standards] (acoshf): Likewise.
19799 [non-C99-based standards] (asinhf): Likewise.
19800 [non-C99-based standards] (atanhf): Likewise.
19801 [non-C99-based standards] (cbrtf): Likewise.
19802 [non-C99-based standards] (expm1f): Likewise.
19803 [non-C99-based standards] (ilogbf): Likewise.
19804 [non-C99-based standards] (log1pf): Likewise.
19805 [non-C99-based standards] (logbf): Likewise.
19806 [non-C99-based standards] (nextafterf): Likewise.
19807 [non-C99-based standards] (remainderf): Likewise.
19808 [non-C99-based standards] (rintf): Likewise.
19809 [non-C99-based standards] (scalbf): Likewise.
19810 [non-C99-based standards] (copysignl): Likewise.
19811 [non-C99-based standards] (exp2l): Likewise.
19812 [non-C99-based standards] (log2l): Likewise.
19813 [non-C99-based standards] (modfl): Allow.
19814 [non-C99-based standards] (erfl): Do not allow.
19815 [non-C99-based standards] (erfcl): Likewise.
19816 [non-C99-based standards] (gammal): Likewise.
19817 [non-C99-based standards] (hypotl): Likewise.
19818 [non-C99-based standards] (j0l): Likewise.
19819 [non-C99-based standards] (j1l): Likewise.
19820 [non-C99-based standards] (jnl): Likewise.
19821 [non-C99-based standards] (lgammal): Likewise.
19822 [non-C99-based standards] (tgammal): Likewise.
19823 [non-C99-based standards] (y0l): Likewise.
19824 [non-C99-based standards] (y1l): Likewise.
19825 [non-C99-based standards] (ynl): Likewise.
19826 [non-C99-based standards] (isnanl): Likewise.
19827 [non-C99-based standards] (acoshl): Likewise.
19828 [non-C99-based standards] (asinhl): Likewise.
19829 [non-C99-based standards] (atanhl): Likewise.
19830 [non-C99-based standards] (cbrtl): Likewise.
19831 [non-C99-based standards] (expm1l): Likewise.
19832 [non-C99-based standards] (ilogbl): Likewise.
19833 [non-C99-based standards] (log1pl): Likewise.
19834 [non-C99-based standards] (logbl): Likewise.
19835 [non-C99-based standards] (nextafterl): Likewise.
19836 [non-C99-based standards] (remainderl): Likewise.
19837 [non-C99-based standards] (rintl): Likewise.
19838 [non-C99-based standards] (scalbl): Likewise.
19839 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19840 [non-C99-based standards] (FP_*): Do not allow.
19841 [C99-based standards] (FP_*): Change to
19842 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19843 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19844 allow.
19845 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19846 (SIG_ERR): Likewise.
19847 [X/Open-based standards] (SIG_HOLD): Likewise.
19848 (SIG_IGN): Likewise.
19849 (SIGABRT): Use macro-int-constant. Specify type. Require
19850 positive value.
19851 (SIGFPE): Likewise.
19852 (SIGILL): Likewise.
19853 (SIGINT): Likewise.
19854 (SIGSEGV): Likewise.
19855 (SIGTER): Likewise.
19856 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19857 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19858 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19859 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19860 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19861 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19862 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19863 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19864 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19865 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19866 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19867 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19868 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19869 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19870 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19871 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19872 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19873 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19874 [X/Open-based standards] (SIGTRAP): Likewise.
19875 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19876 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19877 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19878 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19879 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19880 allow.
19881
b9f1922d
IW
198822012-05-08 Ian Wienand <ianw@vmware.com>
19883
19884 [BZ #14080]
19885 * time/tzset.c (__tzset_parse_tz): Update default rules for
19886 daylight time changes in the Energy Policy Act of 2005.
19887
1db86e88
AJ
198882012-05-09 Andreas Jaeger <aj@suse.de>
19889
19890 [BZ #13983]
19891 * elf/ldconfig.c (parse_conf): Change string to make clear that
19892 ldconfig only issued a warning if ld.so.conf does not exist.
19893
dee4a4e3
DM
198942012-05-08 David S. Miller <davem@davemloft.net>
19895
ee0db190
DM
19896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19897 movxtod instead of popping the value on the stack.
19898
dee4a4e3
DM
19899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19900
6a43ec98
CD
199012012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19902
19903 * config.h.in: Add HAVE_ARM_PCS_VFP.
19904
05c2c961
RMG
199052012-05-08 Roland Mc Grath <roland@hack.frob.com>
19906
bcfe3a54
ST
19907 [BZ #13979]
19908 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19909 checking but the checks are disabled for any reason.
05c2c961 19910
4b30f61a
L
199112012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19912
19913 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19914 and ELF64_R_TYPE with ELFW(R_TYPE).
19915
eee2bc67
JM
199162012-05-08 Joseph Myers <joseph@codesourcery.com>
19917
7ea5391a
JM
19918 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19919 (ulimit): Likewise.
19920
eee2bc67
JM
19921 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19922 (settimeofday): Likewise.
19923
abb66a67
MF
199242012-05-08 Mike Frysinger <vapier@gentoo.org>
19925
19926 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19927 a struct th_u2 inside the union, and move tu_block/tu_code into
19928 a new th_u3 union of tu_block/tu_code inside of that. Move
19929 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19930 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19931 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19932 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19933 (th_stuff): Change to th_u1.tu_stuff.
19934 (th_data): Define.
19935 (th_msg): Change to th_u1.th_u2.tu_data.
19936
7f18b530
DM
199372012-05-07 David S. Miller <davem@davemloft.net>
19938
05760585
DM
19939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19940
7f18b530
DM
19941 [BZ #14074]
19942 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19943 (SETUP_PIC_REG): Use it.
19944 (SETUP_PIC_REG_LEAF): Use it.
19945
495fd99f
JM
199462012-05-07 Joseph Myers <joseph@codesourcery.com>
19947
19948 [BZ #13885]
19949 [BZ #13923]
19950 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19951 USE_AS_EXPM1L.
19952 (EXPL_FINITE): Likewise.
19953 (FLDLOG): Likewise.
19954 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19955 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19956 e_expl.S.
19957 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19958 USE_AS_EXPM1L.
19959 (EXPL_FINITE): Likewise.
19960 (FLDLOG): Likewise.
19961 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19962 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19963 e_expl.S.
19964 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19965 test of -max_value argument for long double.
19966 * sysdeps/i386/fpu/libm-test-ulps: Update.
19967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19968
6693d694
DM
199692012-05-06 David S. Miller <davem@davemloft.net>
19970
19971 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19972 quad soft-float symbols whose references which are compiler
19973 generated.
19974 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19975
6c23e11c
JM
199762012-05-06 Joseph Myers <joseph@codesourcery.com>
19977
d8b82cad
JM
19978 [BZ #13884]
19979 [BZ #13914]
19980 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19981 USE_AS_EXP10L.
19982 (EXPL_FINITE): Likewise.
19983 (FLDLOG): Likewise.
19984 (c0): Likewise.
19985 (c1): Likewise.
19986 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19987 Adjust comments for base varying.
19988 (__expl_finite): Change alias to EXPL_FINITE.
19989 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19990 e_expl.S.
19991 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19992 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19993 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19994 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19995 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19996 USE_AS_EXP10L.
19997 (EXPL_FINITE): Likewise.
19998 (FLDLOG): Likewise.
19999 (c0): Likewise.
20000 (c1): Likewise.
20001 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20002 Adjust comments for base varying.
20003 (__expl_finite): Change alias to EXPL_FINITE.
20004 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20005 tests for bugs.
20006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20007
6c23e11c
JM
20008 [BZ #14064]
20009 * math/libm-test.inc (check_float_internal): Correct ulp
20010 calculation for subnormal expected results.
20011
29ba805c
AJ
200122012-05-06 Andreas Jaeger <aj@suse.de>
20013
20014 * Makeconfig (+math-flags): New, set to -frounding-math.
20015 (+cflags): Add +math-flags so that all of glibc gets compiled with
20016 it.
20017
20018 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20019
7b17aeda
JM
200202012-05-05 Joseph Myers <joseph@codesourcery.com>
20021
5779f134
JM
20022 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20023 Disable one test.
20024
41498f4d
JM
20025 [BZ #13787]
20026 [BZ #13922]
20027 [BZ #14036]
20028 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20029 (__ieee754_expl): Allow for and saturate large arguments.
20030 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20031 (u_threshold): Likewise.
20032 (__exp): Call __ieee754_exp before checking for overflow and
20033 underflow.
20034 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20035 (u_threshold): Likewise.
20036 (__expf): Call __ieee754_expf before checking for overflow and
20037 underflow.
20038 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20039 (u_threshold): Likewise.
20040 (__expl): Call __ieee754_expl before checking for overflow and
20041 underflow.
20042 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20043 (__ieee754_expl): Allow for and saturate large arguments.
20044 * math/libm-test.inc (exp_test): Add another test. Do not allow
20045 missing overflow exception on overflow.
20046 (expm1_test): Do not allow missing overflow exception on overflow.
20047
6698b8bf
JM
20048 * sysdeps/i386/fpu/e_expl.c: Move to ...
20049 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20050 rather than using inline asm.
20051 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20052 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20053 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20054
7b17aeda
JM
20055 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20056 (nice): Likewise.
20057 (poll): Likewise.
20058 (signal): Likewise.
20059 (time): Likewise.
20060 (times): Likewise.
20061
f7c85819
JM
200622012-05-04 Joseph Myers <joseph@codesourcery.com>
20063
20064 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20065 sysdeps/unix/common/syscalls.list.
20066 (fchmod): Likewise.
20067 (fchown): Likewise.
20068 (ftruncate): Likewise.
20069 (getrusage): Likewise.
20070 (gettimeofday): Likewise.
20071 (setpgid): Likewise.
20072 (setregid): Likewise.
20073 (setreuid): Likewise.
20074 (sigaction): Likewise.
20075 (truncate): Likewise.
20076 (vhangup): Likewise.
20077 * sysdeps/unix/common/syscalls.list: Remove file.
20078 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20079 * sysdeps/unix/sysv/linux/Implies: Likewise.
20080
336270d0
L
200812012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20082
20083 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20085 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20086 Moved to ...
20087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20088 Here.
20089 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20090 to ...
20091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20092 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20093 to ...
20094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20095 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20096 to ...
20097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20098 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20099 to ...
20100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20101 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20102 to ...
20103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20104 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20105 to ...
20106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20107 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20108 to ...
20109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20110 Here.
20111 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20112 to ...
20113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20114 Here.
20115 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20116 to ...
20117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20118 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20119 Moved to ...
20120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20121 Here.
20122 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20123 to ...
20124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20125
d128e450
JM
201262012-05-04 Joseph Myers <joseph@codesourcery.com>
20127
fa8ee516
JM
20128 * sysdeps/unix/common/bits/dirent.h: Remove file.
20129 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20130
d128e450
JM
20131 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20132 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20133 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20134 * sysdeps/unix/bsd/isatty.c: Likewise.
20135 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20136 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20137 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20138
ff8faaf0 201392012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20140
62881be4 20141 [BZ #13563]
31dc8730
AZ
20142 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20143 long double comparison inaccuracies.
20144 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20146
6fef930c
AS
201472012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20148
20149 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20150 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20151
8f203e6c
JM
201522012-05-04 Joseph Myers <joseph@codesourcery.com>
20153
20154 [BZ #14049]
20155 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20156 nonzero digits before rounding a hex value.
20157 * stdlib/tst-strtod.c (tests): Add another test.
20158
5197d9c2
AK
201592012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20160
20161 * sysdeps/s390/fpu/libm-test-ulps: Update.
20162
f0c1dedf
AJ
201632012-05-03 Andreas Jaeger <aj@suse.de>
20164
20165 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20166 does not get optimized out.
20167 (malloc_opt_barrier): New.
20168
a65ef2ae 201692012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20170 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20171
2b942cb7 20172 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20173 intermediate file deletion.
2b942cb7 20174 (generated): Add .symlist files.
a65ef2ae 20175
54b71e02
JM
201762012-05-03 Joseph Myers <joseph@codesourcery.com>
20177
20178 [BZ #13775]
20179 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20180 Redirect under this condition.
20181 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20182 [__USE_GNU] (__dprintf_chk): Not under this condition.
20183 [__USE_GNU] (__vdprintf_chk): Likewise.
20184 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20185 under this condition.
20186 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20187 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20188 [__USE_XOPEN2K8] (vdprintf): Likewise.
20189 [__USE_GNU] (__dprintf_chk): Not under this condition.
20190 [__USE_GNU] (__vdprintf_chk): Likewise.
20191 [__USE_GNU] (dprintf): Likewise.
20192 [__USE_GNU] (vdprintf): Likewise.
20193
d3dfcc41
RM
201942012-05-03 Roland McGrath <roland@hack.frob.com>
20195
20196 * elf/Makefile (common-generated): Set this instead of generated for
20197 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20198 $(all-built-dso)-derived lists.
20199
7ac30cc5
AJ
202002012-05-03 Andreas Jaeger <aj@suse.de>
20201
0c51e550
AJ
20202 * sysdeps/i386/fpu/libm-test-ulps: Update.
20203
7ac30cc5
AJ
20204 * FAQ: Removed.
20205 * FAQ.in: Likewise.
20206 * scripts/gen-FAQ.pl: Likewise.
20207 * manual/install.texi (Installation): Point to online location of
20208 FAQ.
20209 * Makefile (files-for-dist): Remove FAQ.
20210 (FAQ): Remove.
20211
d4c2917f
AM
202122012-05-02 Allan McRae <allan@archlinux.org>
20213
20214 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20215 (LDFLAGS-reldepmod5.so): Likewise.
20216 (LDFLAGS-reldep6mod1.so): Likewise.
20217 (LDFLAGS-reldep6mod4.so): Likewise.
20218 (LDFLAGS-reldep8mod3.so): Likewise.
20219 (LDFLAGS-unload4mod1.so): Likewise.
20220 (LDFLAGS-unload4mod2.so): Likewise.
20221 (LDFLAGS-tst-initorder): Likewise.
20222 (LDFLAGS-tst-initordera2.so): Likewise.
20223 (LDFLAGS-tst-initordera3.so): Likewise.
20224 (LDFLAGS-tst-initordera4.so): Likewise.
20225 (LDFLAGS-tst-initorderb2.so): Likewise.
20226 (LDFLAGS-noload): Likewise.
20227 (LDFLAGS-next): Likewise.
20228 (LDFLAGS-order2mod1.so): Likewise.
20229 (LDFLAGS-order2mod2.so): Likewise.
20230 (LDFLAGS-tst-initorder2): Likewise.
20231 (LDFLAGS-tst-initorder2a.so): Likewise.
20232 (LDFLAGS-tst-initorder2b.so): Likewise.
20233 (LDFLAGS-tst-initorder2c.so): Likewise.
20234 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20235
d77f993f
DM
202362012-05-02 David S. Miller <davem@davemloft.net>
20237
20238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20239
171a70b4
PP
202402012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20241
20242 [BZ #14055]
20243 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20244
0be196ad
AJ
202452012-05-02 Andreas Jaeger <aj@suse.de>
20246
20247 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20248 since we manipulate rounding mode.
20249 (CPPFLAGS-test-idouble.c): Likewise.
20250 (CPPFLAGS-test-ifloat.c): Likewise.
20251 (CFLAGS-test-ldouble.c): Likewise.
20252 (CFLAGS-test-double.c): Likewise.
20253 (CFLAGS-test-float.c): Likewise.
20254 (CFLAGS-test-misc.c): Likewise.
20255 (CFLAGS-test-test-fenv.c): Likewise.
20256
4f9d04aa
AZ
202572012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20258
2b942cb7
RM
20259 [BZ #2550]
20260 [BZ #2570]
20261 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20262 comparisons to determine direction to adjust input.
4f9d04aa 20263
82a79e7d
RM
202642012-05-01 Roland McGrath <roland@hack.frob.com>
20265
f5a01ca9
RM
20266 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20267 output to the target.
20268
90fe4186
RM
20269 * scripts/localplt.awk: New file.
20270 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20271 (check-localplt-CFLAGS): Variable removed.
20272 ($(all-built-dso:=.jmprel)): New static pattern rule.
20273 (generated): Add those targets.
20274 (localplt-built-dso): New variable.
20275 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20276
20277 * elf/check-localplt.c: File removed.
20278
82397ed6
RM
20279 * scripts/check-execstack.awk: New file.
20280 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20281 (check-execstack-CFLAGS): Variable removed.
20282 ($(objpfx)check-execstack.h): Target removed.
20283 ($(objpfx)execstack-default): New target.
20284 (generated): Add that instead of check-execstack.h.
20285 ($(all-built-dso:=.phdr)): New static pattern rule.
20286 (generated): Add those targets.
20287 * elf/check-execstack.c: File removed.
20288
82a79e7d
RM
20289 * scripts/check-textrel.awk: New file.
20290 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20291 (check-textrel-CFLAGS): Variable removed.
20292 (all-built-dso): Use := to define.o
20293 ($(all-built-dso:=.dyn)): New static pattern rule.
20294 (generated): Add those targets.
20295 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20296 * config.make.in (READELF): New substituted variable.
20297 * elf/check-textrel.c: File removed.
20298
62fde54f 202992012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20300
615605c9
JM
20301 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20302 allow.
20303 * conform/data/ctype.h-data [C99-based standards] (isblank):
20304 Expect function.
20305 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20306 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20307 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20308 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20309 Specify type. Require positive value.
20310 (EILSEQ): Likewise.
20311 (ERANGE): Likewise.
20312 [ISO || POSIX] (EILSEQ): Do not expect.
20313 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20314 Specify type. Require positive value.
20315 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20316 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20317 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20318 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20319 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20320 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20321 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20322 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20323 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20324 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20325 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20326 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20327 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20328 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20329 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20330 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20331 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20332 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20333 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20334 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20335 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20336 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20337 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20338 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20339 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20340 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20341 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20342 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20343 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20344 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20345 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20346 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20347 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20348 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20349 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20350 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20351 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20352 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20353 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20354 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20355 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20356 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20357 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20358 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20359 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20360 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20361 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20362 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20363 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20364 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20365 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20366 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20367 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20368 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20369 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20370 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20371 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20372 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20373 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20374 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20375 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20376 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20377 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20378 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20379 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20380 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20381 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20382 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20383 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20384 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20385 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20386 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20387 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20388 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20389 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20390 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20391 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20392 Require >= 2.
20393 (FLT_ROUNDS): Expect as macro, not constant.
20394 (FLT_MANT_DIG): Use macro-int-constant.
20395 (DBL_MANT_DIG): Likewise.
20396 (LDBL_MANT_DIG): Likewise.
20397 (FLT_DIG): Likewise.
20398 (DBL_DIG): Likewise.
20399 (LDBL_DIG): Likewise.
20400 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20401 (DBL_MIN_EXP): Likewise.
20402 (LDBL_MIN_EXP): Likewise.
20403 (FLT_MAX_EXP): Use macro-int-constant.
20404 (DBL_MAX_EXP): Likewise.
20405 (LDBL_MAX_EXP): Likewise.
20406 (FLT_MAX_10_EXP): Likewise.
20407 (DBL_MAX_10_EXP): Likewise.
20408 (LDBL_MAX_10_EXP): Likewise.
20409 (FLT_MAX): Use macro-constant.
20410 (DBL_MAX): Likewise.
20411 (LDBL_MAX): Likewise.
20412 (FLT_EPSILON): Use macro-constant. Give upper bound.
20413 (DBL_EPSILON): Likewise.
20414 (LDBL_EPSILON): Likewise.
20415 (FLT_MIN): Likewise.
20416 (DBL_MIN): Likewise.
20417 (LDBL_MIN): Likewise.
20418 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20419 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20420 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20421 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20422 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20423 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20424 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20425 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20426 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20427 [ISO11] (FLT_TRUE_MIN): Likewise.
20428 [ISO11] (LDBL_TRUE_MIN): Likewise.
20429 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20430 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20431 (SCHAR_MIN): Use macro-int-constant. Specify type.
20432 (SCHAR_MAX): Likewise.
20433 (UCHAR_MAX): Likewise.
20434 (CHAR_MIN): Likewise.
20435 (CHAR_MAX): Likewise.
20436 (MB_LEN_MAX): Use macro-int-constant.
20437 (SHRT_MIN): Use macro-int-constant. Specify type.
20438 (SHRT_MAX): Likewise.
20439 (USHRT_MAX): Likewise.
20440 (INT_MAX): Likewise.
20441 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20442 bound negative.
20443 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20444 bound with "U".
20445 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20446 bound with "L".
20447 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20448 bound negative. Suffix upper bound with "L".
20449 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20450 bound with "UL".
20451 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20452 Specify type.
20453 [C99-based standards] (LLONG_MAX): Likewise.
20454 [C99-based standards] (ULLONG_MAX): Likewise.
20455 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20456 == 0.
20457 [ISO11] (max_align_t): Require type.
20458 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20459
c9140a62
JM
20460 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20461 from $CFLAGS, without defining away __attribute__ calls.
20462 (checknamespace): Use $CFLAGS_namespace.
20463
9af0bf29
JM
20464 * conform/conformtest.pl (@keywords): Only include C99 keywords
20465 for standards based on C99 or C11.
20466
343222a2
JM
20467 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20468 Disable tests.
20469 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20470 UNIX98]: Likewise.
20471
661f8cf0
JM
20472 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20473 usability of symbols in #if.
20474
ee74b9cb
JM
20475 * conform/conformtest.pl: If macro or constant types start
20476 "promoted:", expect the symbol to be of the following type
20477 promoted by the integer promotions.
62fde54f 20478
aafc49b3
JM
20479 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20480 in one place. Also handle "macro-constant".
20481
fefdf574
JM
20482 * conform/conformtest.pl: Only accept expected macro values with
20483 "==". Parse all "macro" lines in one place.
20484 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20485
f2d922fe
JM
20486 * conform/conformtest.pl: Handle braced types on "constant" lines
20487 instead of handling "typed-constant".
20488 * conform/data/signal.h-data: Use "constant" instead of
20489 "typed-constant".
20490
d22956c9
JM
20491 * conform/conformtest.pl: Handle "optional-" at start of lines in
20492 one place rather than duplicating several cases. Handle each
20493 format of "macro" line with initial "optional-".
20494
028e2e38
JM
20495 * conform/conformtest.pl: Only accept expected constant or
20496 optional-constant values with "==". Parse all "constant" lines in
20497 one place. Parse all "optional-constant" lines in one place.
20498 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20499 * conform/data/fmtmsg.h-data: Likewise.
20500 * conform/data/netinet/in.h-data: Likewise.
20501 * conform/data/tar.h-data: Likewise.
20502 * conform/data/limits.h-data: Use "==" form on "constant" and
20503 "optional-constant" lines.
20504
1b8f2850
JM
20505 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20506 Use -std=c99 for XOPEN2K.
20507 (@knownproblems): Remove.
20508 (newtoken): Don't check %isknown.
20509
a05a144b
JM
20510 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20511 Do not expect macro.
20512 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20524 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20525 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20528 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20529 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20542 [XPG3] (acosh): Likewise.
20543 [XPG3] (asinh): Likewise.
20544 [XPG3] (atanh): Likewise.
20545 [XPG3] (cbrt): Likewise.
20546 [XPG3] (expm1): Likewise.
20547 [XPG3] (ilogb): Likewise.
20548 [XPG3] (log1p): Likewise.
20549 [XPG3] (logb): Likewise.
20550 [XPG3] (nextafter): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20553 [XPG3] (remainder): Likewise.
20554 [XPG3] (rint): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20562 [UNIX98 || XOPEN2K] (scalb): Expect.
20563 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20564 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20565 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20566 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20567 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20568 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20569 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20570 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20571 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20572 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20573 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20574 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20575 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20576 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20577 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20578 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20579 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20580 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20581 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20582 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20583 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20584 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20585 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20586 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20587 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20588 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20589 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20590 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20591 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20592 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20593 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20594 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20595 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20596 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20597 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20598 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20599 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20600 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20601 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20602 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20603 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20604 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20605 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20606 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20607 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20608 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20609 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20610 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20611 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20612 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20613 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20614 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20615 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20616 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20617 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20618 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20619 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20620 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20621 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20622 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20623 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20624 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20625 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20626 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20627 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20628 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20629 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20630 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20631 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20632 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20633 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20634 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20635 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20636 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20637 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20638 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20639 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20640 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20641 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20642 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20643 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20644 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20645 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20646 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20647 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20648 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20649 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20650 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20651 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20652 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20653 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20654 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20655 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20656 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20657 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20658 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20659 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20660 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20661 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20662 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20663 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20664 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20665 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20666 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20667 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20668 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20669 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20670 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20671 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20672 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20673 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20674 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20675 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20676 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20677 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20678 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20679 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20680 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20681 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20682 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20683 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20684 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20685 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20686 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20687 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20688 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20689 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20690 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20691 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20692 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20693 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20694 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20695 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20696 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20697 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20698 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20699 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20700
73c5ebe3
JM
20701 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20702 _XOPEN_SOURCE_EXTENDED for XPG4.
20703
39c33b6c
JM
20704 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20705
62fde54f
JM
20706 * Makeconfig (localtime): Remove variable.
20707 (inst_localtime-file): Likewise.
20708
0741d64c
AS
207092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20710
20711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20712 Update.
20713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20714 Update.
20715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20716 Update.
20717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20718 Update.
20719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20720 Update.
20721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20722 Update.
20723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20724 Update.
20725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20726 Update.
20727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20728 Update.
20729
7cb029ee
JM
207302012-05-01 Joseph Myers <joseph@codesourcery.com>
20731
20732 [BZ #2550]
20733 [BZ #2570]
20734 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20735 comparisons to determine direction to adjust input.
20736 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20737 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20738 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20739 Likewise.
20740 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20741 Likewise.
20742 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20743 Likewise.
20744 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20745 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20746 Likewise.
20747 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20748 Likewise.
20749 * math/libm-test.inc (nexttoward_test): Add more tests.
20750
412bd966
AS
207512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20752
20753 [BZ #14040]
20754 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20755 in version GLIBC_2.1, not GLIBC_2.0.
20756 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20757 Likewise.
20758
9568c0c2
JM
207592012-04-30 Joseph Myers <joseph@codesourcery.com>
20760
adfbc8ac
JM
20761 [BZ #13942]
20762 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20763 (1 - x) * (1 + x).
20764 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20765 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20766 * math/libm-test.inc (acos_test): Add more tests.
20767 (asin_test): Likewise.
20768 * sysdeps/i386/fpu/libm-test-ulps: Update.
20769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20770
5ba3cc69
JM
20771 [BZ #14034]
20772 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20773 of square root.
20774 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20775 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20776 * math/libm-test.inc (acos_test_tonearest): New function.
20777 (acos_test_towardzero): Likewise.
20778 (acos_test_downward): Likewise.
20779 (acos_test_upward): Likewise.
20780 (asin_test_tonearest): Likewise.
20781 (asin_test_towardzero): Likewise.
20782 (asin_test_downward): Likewise.
20783 (asin_test_upward): Likewise.
20784 (main): Call the new functions.
20785 * sysdeps/i386/fpu/libm-test-ulps: Update.
20786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20787
9568c0c2
JM
20788 [BZ #13884]
20789 [BZ #13924]
20790 * math/e_exp10.c: Include <float.h>.
20791 (__ieee754_exp10): Handle underflow here rather than multiplying
20792 large negative argument by M_LN10.
20793 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20794 of __ieee754_expf.
20795 * math/e_exp10l.c: Include <float.h>.
20796 (__ieee754_exp10l): Handle underflow here rather than multiplying
20797 large negative argument by M_LN10l.
20798 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20799 spurious overflow exception on underflow.
20800
5ac3ea17
MP
208012012-04-29 Marek Polacek <polacek@redhat.com>
20802
20803 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20804 (__fortify_function): New macro.
20805 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20806 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20807 __extern_always_inline.
20808 * libio/bits/stdio2.h: Likewise.
20809 * libio/bits/stdio.h: Likewise.
20810 * string/string.h: Likewise.
20811 * string/bits/string3.h: Likewise.
20812 * include/stdio.h: Likewise.
20813 * stdlib/bits/stdlib.h: Likewise.
20814 * stdlib/stdlib.h: Likewise.
20815 * rt/bits/mqueue2.h: Likewise.
20816 * rt/mqueue.h: Likewise.
20817 * posix/bits/unistd.h: Likewise.
20818 * posix/unistd.h: Likewise.
20819 * io/bits/poll2.h: Likewise.
20820 * io/bits/fcntl2.h: Likewise.
20821 * io/fcntl.h: Likewise.
20822 * io/sys/poll.h: Likewise.
20823 * misc/bits/syslog.h: Likewise.
20824 * misc/bits/syslog-ldbl.h: Likewise.
20825 * misc/sys/syslog.h: Likewise.
20826 * socket/bits/socket2.h: Likewise.
20827 * socket/sys/socket.h: Likewise.
20828 * debug/tst-chk1.c: Likewise.
20829 * wcsmbs/bits/wchar2.h: Likewise.
20830 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20831 * wcsmbs/wchar.h: Likewise.
20832
ecf0ebfb
AJ
208332012-04-29 Andreas Jaeger <aj@suse.de>
20834
20835 * Makerules (tests): Remove enable-check-abi protection.
20836 (check-abi-warn): Remove.
20837 (check-abi-%): Remove check-abi-warn usage.
20838
20839 * configure.in: Remove check-abi configure option.
20840 * configure: Regenerated.
20841 * config.make.in (enable-check-abi): Remove.
20842
6d5c57fa
AS
208432012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20844
24c5d07e 20845 [BZ #14033]
ded5180a
AS
20846 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20847 double functions to double *_finite functions.
20848
7e0d315d
AS
20849 [BZ #13941]
20850 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20851 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20852 LDBL_MIN_EXP.
20853 * stdio-common/Makefile (tests): Add tst-sprintf3.
20854 * stdio-common/tst-sprintf3.c: New file.
20855
6d5c57fa
AS
20856 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20857 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20858
0749ff8b
JM
208592012-04-28 Joseph Myers <joseph@codesourcery.com>
20860
20861 * conform/conformtest.pl: Remove duplicate typed-constant
20862 handling.
20863
8dbd5d7b
DM
208642012-04-28 David S. Miller <davem@davemloft.net>
20865
20866 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20867 (check-abi-%): Remove AWK script prerequisite and explicit
20868 abilist directory.
20869 (check-abi): Rewrite to just diff the symlist with the abilist.
20870 (config-tls, config-abi-config): Delete, no longer used.
20871 (update-abi-%): Remove AWK script and explicit abilist directory.
20872 (update-abi): Rewrite to simply compare and conditionally copy the
20873 symlist and the sysdep abilist file. Remove update-abi-config
20874 checks.
20875 * abilist/ld.abilist: Remove.
20876 * abilist/libBrokenLocale.abilist: Remove.
20877 * abilist/libanl.abilist: Remove.
20878 * abilist/libcrypt.abilist: Remove.
20879 * abilist/libdl.abilist: Remove.
20880 * abilist/librt.abilist: Remove.
20881 * abilist/libthread_db.abilist: Remove.
20882 * abilist/libutil.abilist: Remove.
20883 * scripts/extract-abilist.awk: Remove.
20884 * scripts/merge-abilist.awk: Remove.
20885 * sysdeps/generic/libcidn.abilist: New file.
20886 * sysdeps/generic/libnss_compat.abilist: New file.
20887 * sysdeps/generic/libnss_db.abilist: New file.
20888 * sysdeps/generic/libnss_dns.abilist: New file.
20889 * sysdeps/generic/libnss_files.abilist: New file.
20890 * sysdeps/generic/libnss_hesiod.abilist: New file.
20891 * sysdeps/generic/libnss_nis.abilist: New file.
20892 * sysdeps/generic/libnss_nisplus.abilist: New file.
20893 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20894 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20895 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20896 file.
20897 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20898 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20899 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20900 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20901 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20902 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20903 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20904 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20905 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20906 file.
20907 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20908 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20909 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20910 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20911 file.
20912 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20913 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20914 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20915 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20916 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20917 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20918 file.
20919 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20920 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20921 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20922 file.
20923 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20925 New file.
20926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20927 New file.
20928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20929 New file.
20930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20931 New file.
20932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20933 New file.
20934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20935 New file.
20936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20937 New file.
20938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20939 New file.
20940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20941 New file.
20942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20943 New file.
20944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20945 New file.
20946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20947 New file.
20948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20949 New file.
20950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20951 file.
20952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20953 New file.
20954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20955 New file.
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20957 file.
20958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20959 New file.
20960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20961 New file.
20962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20963 file.
20964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20965 New file.
20966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20967 New file.
20968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20969 New file.
20970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20971 New file.
20972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20973 New file.
20974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20975 New file.
20976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20978 file.
20979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20980 New file.
20981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20982 file.
20983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20984 file.
20985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20986 file.
20987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20988 file.
20989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20990 file.
20991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20992 New file.
20993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20994 file.
20995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20996 file.
20997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20998 New file.
20999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21000 file.
21001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21003 file.
21004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21005 New file.
21006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21007 file.
21008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21009 file.
21010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21011 file.
21012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21013 file.
21014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21015 file.
21016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21017 New file.
21018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21019 file.
21020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21021 file.
21022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21023 New file.
21024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21025 file.
21026 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21027 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21028 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21029 file.
21030 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21031 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21032 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21033 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21034 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21035 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21036 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21037 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21038 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21039 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21042 file.
21043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21044 New file.
21045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21046 file.
21047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21048 file.
21049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21050 file.
21051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21052 file.
21053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21054 file.
21055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21056 New file.
21057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21058 New file.
21059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21060 file.
21061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21062 New file.
21063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21064 file.
21065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21067 file.
21068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21069 New file.
21070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21071 file.
21072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21073 file.
21074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21075 file.
21076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21077 file.
21078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21079 file.
21080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21081 New file.
21082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21083 New file.
21084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21085 file.
21086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21087 New file.
21088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21089 file.
21090
41d73a1b
JM
210912012-04-28 Joseph Myers <joseph@codesourcery.com>
21092
21093 * conform/conformtest.pl: Fix typo in handling typed-constant from
21094 allow-header.
21095
28aeeda4
JM
210962012-04-27 Joseph Myers <joseph@codesourcery.com>
21097
adae8f5e
JM
21098 * README: Cut down references to pre-2.6 Linux kernels and
21099 Linuxthreads. Update lists of configurations in libc and ports
21100 and sort alphabetically. Say "or newer" with Linux kernel version
21101 requirements.
21102
28aeeda4
JM
21103 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21104
a462cb63
RA
211052012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21106
21107 [BZ #887]
21108 * math/libm-test.inc (logb_test_downward): New test to expose
21109 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21110 rounding mode.
21111
6ad3493e
JM
211122012-04-27 Joseph Myers <joseph@codesourcery.com>
21113
21114 [BZ #14027]
21115 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21116 to be done.
21117 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21118 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21119
2ce4f015
JM
211202012-04-26 Joseph Myers <joseph@codesourcery.com>
21121
5aeb141a
JM
21122 * sysdeps/unix/i386/brk.S: Remove file.
21123 * sysdeps/unix/i386/dl-brk.S: Likewise.
21124 * sysdeps/unix/i386/pipe.S: Likewise.
21125 * sysdeps/unix/i386/sigreturn.S: Likewise.
21126 * sysdeps/unix/i386/syscall.S: Likewise.
21127 * sysdeps/unix/i386/vfork.S: Likewise.
21128 * sysdeps/unix/i386/wait.S: Likewise.
21129
7143acae
JM
21130 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21131 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21132
2ce4f015
JM
21133 * configure.in (arm*-none*): Do not allow without
21134 --enable-hacker-mode.
21135 (netbsd*): Remove case setting base_os.
21136 (386bsd*): Likewise.
21137 (freebsd*): Likewise.
21138 (bsdi*): Likewise.
21139 (osf*): Likewise.
21140 (sunos*): Likewise.
21141 (ultrix*): Likewise.
21142 (newsos*): Likewise.
21143 (dynix*): Likewise.
21144 (*bsd*): Likewise.
21145 (sysv*): Likewise.
21146 (isc*): Likewise.
21147 (esix*): Likewise.
21148 (sco*): Likewise.
21149 (minix*): Likewise.
21150 (irix4*): Likewise.
21151 (irix6*): Likewise.
21152 (solaris[2-9]*): Likewise.
21153 (none): Likewise.
21154 * configure: Regenerated.
21155
0ac229c8
AZ
211562012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21157
21158 [BZ #11521]
21159 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21160 overflow or cancellation in calculating denominator.
21161 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21162 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21163 down expression to avoid unexpected rounding in newer GCCs.
21164 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21165
33f244f4
DM
211662012-04-26 David S. Miller <davem@davemloft.net>
21167
21168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21169 long-double compat symbols.
21170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21183
cfa1f3e8
DM
211842012-04-25 David S. Miller <davem@davemloft.net>
21185
21186 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21187 HWCAP_* values only after the memory barriers have been defined.
21188 (atomic_full_barrier): Define.
21189 (atomic_read_barrier): Define.
21190 (atomic_write_barrier): Define.
21191
6e236b92
SP
211922012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21193
21194 * shlib-versions: Add libgcc_s version information.
21195 * sysdeps/generic/libgcc_s.h: Remove.
21196 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21197 libgcc_s.h.
21198 * sysdeps/gnu/unwind-resume.c: Likewise.
21199 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21200
aab39a09
DM
212012012-04-25 David S. Miller <davem@davemloft.net>
21202
21203 * sysdeps/unix/sparc/brk.S: Delete.
21204 * sysdeps/unix/sparc/dl-brk.S: Delete.
21205 * sysdeps/unix/sparc/pipe.S: Delete.
21206 * sysdeps/unix/sparc/sysdep.S: Delete.
21207 * sysdeps/unix/sparc/sysdep.h: Delete.
21208 * sysdeps/unix/sparc/vfork.S: Delete.
21209 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21210 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21211 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21212 ret_ERRVAL, r0, r1, MOVE): Define.
21213 (JUMPTARGET): Remove.
21214 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21215 sysdeps/unix/sparc/sysdep.h
21216 (ENTRY, END): Remove.
21217 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21218
a3cc4f48
JM
212192012-04-25 Joseph Myers <joseph@codesourcery.com>
21220
2ed8cda2
JM
21221 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21222 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21223 -DIS_IN_build.
21224
35d76d59
JM
21225 * timezone/README: Update upstream location and email address for
21226 tzcode and tzdata.
21227 * timezone/zdump.c: Update from tzcode 2012b.
21228 * timezone/zic.c: Likewise.
21229
a3cc4f48
JM
21230 * configure.in (libc_cv_as_needed): Remove test.
21231 * configure: Regenerated.
21232 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21233 conditional definition.
21234 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21235 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21236 * config.make.in (have-as-needed): Remove variable.
21237
ceab42c3
SP
212382012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21239 Paul Pluzhnikov <ppluzhnikov@google.com>
21240
21241 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21242 strings correctly.
21243
3ce2865f
CLT
212442012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21245
21246 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21247 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21248 * sysdeps/sh/strlen.S: Likewise.
21249
f37e0d68
JM
212502012-04-24 Joseph Myers <joseph@codesourcery.com>
21251
ae186e9a
JM
21252 * sysdeps/unix/fork.S: Remove file.
21253 * sysdeps/unix/i386/fork.S: Likewise.
21254 * sysdeps/unix/sparc/fork.S: Likewise.
21255
b96914af
JM
21256 * sysdeps/unix/system.c: Remove file.
21257 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21258
f37e0d68
JM
21259 * sysdeps/unix/getegid.S: Remove file.
21260 * sysdeps/unix/geteuid.S: Likewise.
21261
87ef29ca
RM
212622012-04-24 Roland McGrath <roland@hack.frob.com>
21263
83bcd236
RM
21264 * scripts/check-localplt.awk: New file.
21265 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21266 of diff.
21267 * scripts/data/localplt-generic.data: Add a comment.
21268
87ef29ca
RM
21269 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21270 NODE when __dir_mkfile failed.
21271 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21272 Reported by Ludovic Courtès <ludo@gnu.org>.
21273
e5a6e567
AJ
212742012-04-24 Andreas Jaeger <aj@suse.de>
21275
21276 * Makerules (common-clean): Also remove gen-as-const-headers
21277 files.
21278
c1820385
JM
212792012-04-24 Joseph Myers <joseph@codesourcery.com>
21280
21281 * Makerules (native-compile): Do not change working directory for
21282 build. Use $(OUTPUT_OPTION) in command.
21283 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21284
94e02fc4
AZ
212852012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21286
21287 [BZ #13886]
21288 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21289 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21290 * math/libm-test.inc (floor_test): Add more tests.
21291 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21292
3a533ca3
JM
212932012-04-24 Joseph Myers <joseph@codesourcery.com>
21294
940ab4b3
JM
21295 * sysdeps/unix/getdents.c: Remove file.
21296 * sysdeps/unix/sysv/getdents.c: Likewise.
21297 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21298
90e037bd
JM
21299 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21300 sysdeps/unix/mman/syscalls.list.
21301 (mmap): Likewise.
21302 (mprotect): Likewise.
21303 (msync): Likewise.
21304 (munmap): Likewise.
21305 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21306 * sysdeps/unix/mman/syscalls.list: Remove.
21307 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21308
3a533ca3
JM
21309 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21310 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21311 * configure: Regenerated.
21312 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21313 $(libgcc_s_suffix).
21314 * config.make.in (libgcc_s_suffix): Remove variable.
21315
1ad743de
JM
213162012-04-23 Joseph Myers <joseph@codesourcery.com>
21317
4ad451e2
JM
21318 * sysdeps/unix/sysv/gethostname.c: Move to ...
21319 * sysdeps/posix/gethostname.c: ... here.
21320
5e37ce39
JM
21321 * sysdeps/unix/execve.S: Remove file.
21322
1ad743de
JM
21323 * sysdeps/unix/_exit.S: Remove file.
21324
4e681b5b
AJ
213252012-04-23 Andreas Jaeger <aj@suse.de>
21326
21327 [BZ #13739]
21328 * manual/Makefile: Remove make dist support, there's no
21329 need for a stand-alone documentation tar ball.
21330 (TEXI2DVI): Define always, it's not in Makeconfig.
21331 (dist): Removed.
21332 (tar-it): Removed.
21333 (edition): Removed.
21334 (glibc-doc-$(edition).tar): Removed
21335 (%.Z): Removed.
21336 (%.gz): Removed.
21337 (%.uu): Removed.
21338 (ETAGS): Remove, it's in Makeconfig.
21339 (move-if-change): Remove, it's in Makeconfig.
21340
38686a03 213412012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21342
21343 [BZ #13970]
21344 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21345 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21346 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21347 (strtod_l, strtof_l, strtold_l): Remove __wur.
21348 It is not necessarily an error to ignore strtol's return value.
21349 One can reliably look at the stored endptr to decide whether
21350 the number had valid syntax.
21351
7c0616fa
AJ
213522012-04-21 Andreas Jaeger <aj@suse.de>
21353
803cb6b7 21354 [BZ #13739]
7c0616fa
AJ
21355 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21356
b0fe253f
JM
213572012-04-21 Joseph Myers <joseph@codesourcery.com>
21358
21359 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21360 * sysdeps/unix/sysv/Versions: Remove file.
21361
8280f22d
MT
213622012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21363
21364 [BZ #13927]
21365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21366
75ce411f 213672012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21368
21369 [BZ #7064]
21370 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21371 version from __vm86.
21372
097d59fa
JM
213732012-04-20 Joseph Myers <joseph@codesourcery.com>
21374
a90f3bcb
JM
21375 * sysdeps/unix/common/lxstat.c: Remove file.
21376 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21377
edc7ea78
JM
21378 * sysdeps/unix/sysv/Makefile: Remove file.
21379
cb78c221
JM
21380 * sysdeps/unix/sysv/direct.h: Remove file.
21381
efa6a45f
JM
21382 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21383 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21384 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21385 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21386 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21387 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21388 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21389
9c9f2d0c
JM
21390 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21391
4541c83b
JM
21392 * sysdeps/unix/xmknod.c: Remove file.
21393 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21394
f5d153a0
JM
21395 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21396
aa746595
JM
21397 * sysdeps/unix/sysv/i386/time.S: Remove file.
21398
cce5905e
JM
21399 * sysdeps/unix/fxstat.c: Remove file.
21400 * sysdeps/unix/xstat.c: Likewise.
21401 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21402
37fa3841
JM
21403 * sysdeps/unix/sysv/sigaction.c: Remove file.
21404
ff1962a3
JM
21405 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21406 (sysdep_headers): Remove variable.
21407 [termio.h not in sysdep_headers] (generated): Likewise.
21408 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21409 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21410 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21411 * sysdeps/unix/sysv/tcflow.c: Likewise.
21412 * sysdeps/unix/sysv/tcflush.c: Likewise.
21413 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21414 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21415 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21416 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21417 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21418
e7740d31
JM
21419 * sysdeps/unix/siglist.c: Remove file.
21420
ee06f18b
JM
21421 * sysdeps/unix/getppid.S: Remove file.
21422
097d59fa
JM
21423 * sysdeps/unix/mkdir.c: Remove file.
21424 * sysdeps/unix/rmdir.c: Likewise.
21425
ff3d51ec
AS
214262012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21427
21428 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21429 ERR_MAX value.
21430 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21431 errlist-compat value.
21432
50f81fd7
DM
214332012-04-18 David S. Miller <davem@davemloft.net>
21434
21435 * sysdeps/generic/memcopy.h (reg_char): Delete.
21436 * debug/strcat_chk.c: Use char, not reg_char.
21437 * debug/strcpy_chk.c: Likewise.
21438 * debug/strncat_chk.c: Likewise.
21439 * debug/strncpy_chk.c: Likewise.
21440 * string/memchr.c: Likewise.
21441 * string/memrchr.c: Likewise.
21442 * string/rawmemchr.c: Likewise.
21443 * string/strcat.c: Likewise.
21444 * string/strchr.c: Likewise.
21445 * string/strchrnul.c: Likewise.
21446 * string/strcmp.c: Likewise.
21447 * string/strcpy.c: Likewise.
21448 * string/strncat.c: Likewise.
21449 * string/strncmp.c: Likewise.
21450 * string/strncpy.c: Likewise.
21451
8ff41c46
WS
214522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21453
21454 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21455 __builtin_memcopy is called when src and dest ranges are known to not
21456 overlap.
21457
6b652f46
WS
214582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21459
21460 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21461 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21462 fwd_align_merge macro call.
21463 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21464 bwd_align_merge macro call.
21465 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21466
b282631e
WS
214672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21468
21469 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21470 bwd_align_merge macros.
21471 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21472 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21473 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21474
95aa737c
DM
214752012-04-18 David S. Miller <davem@davemloft.net>
21476
21477 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21478
7a99a614
AJ
214792012-04-18 Andreas Jaeger <aj@suse.de>
21480
21481 [BZ# 6794]
21482 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21483 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21484 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21485
21486 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21487 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21488 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21489
21490 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21491 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21492 Adjust for changed ldbl-128 files.
21493
21494 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21495 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21496 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21497
e5270c23
DM
214982012-04-17 David S. Miller <davem@davemloft.net>
21499
21500 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21501
fb5e92c9
AS
215022012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21503
21504 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21505 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21506 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21507 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21508 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21509 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21510
76da7265
AZ
215112012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21512
21513 [BZ #6794]
21514 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21515 * math/libm-test.inc: Add ilogb errno and exception tests.
21516 * math/w_ilogb.c: New file: ilogb wrapper.
21517 * math/w_ilogbf.c: New file: ilogbf wrapper.
21518 * math/w_ilogbl.c: New file: ilogbl wrapper.
21519 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21520 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21521 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21522 exception being thrown with 0.0 as argument.
21523 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21524 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21525 exception being thrown with 0.0 as argument.
21526 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21527 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21528 exception being thrown with 0.0 as argument.
21529 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21530 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21531 exception being thrown with 0.0 as argument.
21532 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21533 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21534 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21535 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21536 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21537 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21538 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21539 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21540 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21541
0396e69d
PB
215422012-04-17 Petr Baudis <pasky@ucw.cz>
21543
21544 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21545 with altivec.
21546
750b5926
MP
215472012-04-16 Marek Polacek <polacek@redhat.com>
21548
21549 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21550
751728a1
MP
215512012-04-16 Marek Polacek <polacek@redhat.com>
21552
21553 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21554 operands of fdivp instruction.
21555
34a27407
L
215562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21557
21558 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21559 * elf/tst-auditmod3b.c: Likewise.
21560 * elf/tst-auditmod4b.c: Likewise.
21561 * elf/tst-auditmod5b.c: Likewise.
21562 * elf/tst-auditmod6b.c: Likewise.
21563 * elf/tst-auditmod6c.c: Likewise.
21564 * elf/tst-auditmod7b.c: Likewise.
21565 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21566 * sysdeps/x86_64/preconfigure.in: Likewise.
21567 * sysdeps/x86_64/preconfigure: Regenerated.
21568
7e73e17d
L
215692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21570
21571 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21572 __ILP32__.
21573
c7a6ab72
AB
215742012-04-13 Antoine Balestrat <merkil33@gmail.com>
21575
21576 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21577 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21578
a9e8e0e0
CL
215792012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21580
21581 [BZ #13973]
21582 * locale/iso-639.def: Fix gl language name. Spotted by
21583 Yaron Shahrabani.
21584
ec98af7d
RM
215852012-04-12 Roland McGrath <roland@hack.frob.com>
21586
21587 [BZ #2074]
21588 * libio/libio.h (__io_write_fn): Update comment.
21589
247c3ede
PB
215902012-04-12 Petr Baudis <pasky@ucw.cz>
21591
21592 [BZ #2074]
21593 * stdio.texi (Hook Functions): The user provided writer function
21594 is not allowed to return -1.
21595
55939d6d
DM
215962012-04-11 David S. Miller <davem@davemloft.net>
21597
21598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21599
90020f5a
MF
216002012-04-11 Mike Frysinger <vapier@gentoo.org>
21601
21602 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21603 Add a leading slash to rtkaio.
21604
288f9098
JM
216052012-04-11 Jim Meyering <meyering@redhat.com>
21606
90020f5a
MF
21607 [BZ #11959]
21608 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21609 It is not necessarily an error to ignore fwrite's return
21610 value. One can reliably use ferror to test for errors after
21611 the fact.
288f9098 21612
4be2b570
L
216132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21614
21615 * bits/types.h (__snseconds_t): New type.
21616 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21617
21618 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21619 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21620 (__SNSECONDS_T_TYPE): Likewise.
21621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21622 (__SNSECONDS_T_TYPE): Likewise.
21623 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21624 (__SNSECONDS_T_TYPE): Likewise.
21625
288f9098 216262012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21627
21628 [BZ #2636]
21629 * manual/time.texi (Processor Time): Return type of times is
21630 elapsed real time since an arbitrary point in the past.
21631 (CPU Time): Move CLK_TCK from here...
21632 (Processor Time): ...to here. Correct description.
21633 * manual/conf.texi (Constants for Sysconf): Correct description of
21634 _SC_CLK_TCK.
21635
d7dd4413
DM
216362012-04-10 David S. Miller <davem@davemloft.net>
21637
21638 [BZ #13967]
21639 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21640 where the is a gap between DT_REL(A) and DT_JMPREL.
21641
b46068fc
L
216422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21643
21644 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21645 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21646 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21647
73d65cc3
SP
216482012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21649
21650 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21651 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21652 (dl_main): Handle --inhibit-cache.
21653 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21654 _dl_inhibit_cache.
21655 * elf/dl-load.c (_dl_map_object): Use it.
21656 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21657
bcc8d661
JM
216582012-04-09 Joseph Myers <joseph@codesourcery.com>
21659
8f9a2fae
JM
21660 [BZ #13872]
21661 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21662 (__ieee754_powl): Saturate large exponents rather than testing for
21663 overflow of y*log2(x).
21664 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21665 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21666 exceptions.
21667
bcc8d661
JM
21668 [BZ #11521]
21669 * math/s_ctan.c: Include <float.h>.
21670 (__ctan): Avoid internal overflow or cancellation in calculating
21671 denominator.
21672 * math/s_ctanf.c: Likewise.
21673 * math/s_ctanl.c: Likewise.
21674 * math/s_ctanh.c: Likewise.
21675 * math/s_ctanhf.c: Likewise.
21676 * math/s_ctanhl.c: Likewise.
21677 * math/libm-test.inc (ctan_test): Add more tests.
21678 (ctanh_test): Likewise.
21679 * sysdeps/i386/fpu/libm-test-ulps: Update.
21680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21681
823fbbb4
AJ
216822012-04-09 Andreas Jaeger <aj@suse.de>
21683
03879793
AJ
21684 [BZ #6894]
21685 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21686 is an optional BSD extension.
21687
823fbbb4
AJ
21688 [BZ #10254]
21689 * manual/stdio.texi (Opening Streams): Document additional fopen
21690 parameters.
21691
8de131cb
RM
216922012-04-09 Roland McGrath <roland@hack.frob.com>
21693
21694 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21695 %eax without telling the compiler.
21696
c0ed9d7d
CD
216972012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21698
21699 [BZ # 13963]
21700 * manual/install.texi: Use sourceware.org.
21701
c483f6b4
JM
217022012-04-09 Joseph Myers <joseph@codesourcery.com>
21703
d7dd9453
JM
21704 [BZ #13873]
21705 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21706 (__ieee754_pow): Generate overflow and underflow using huge*huge
21707 and tiny*tiny rather than just returning constant infinity or zero
21708 for large exponents.
21709 * math/libm-test.inc (pow_test): Require overflow exceptions for
21710 applicable cases of large exponents.
21711
c483f6b4
JM
21712 [BZ #706]
21713 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21714 (__ieee754_pow): Use iterative multiplication algorithm only for
21715 integer exponents with absolute value below 1024. Check for odd
21716 integer exponents when using algorithm for real exponents.
21717 * math/libm-test.inc (pow_test): Add more tests.
21718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21719
d2de7579
JM
217202012-04-08 Joseph Myers <joseph@codesourcery.com>
21721
21722 [BZ #13705]
21723 * math/libm-test.inc (exp_test): Do not allow overflow exception
21724 on underflow test.
21725
f77f1232
AJ
217262012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21727
21728 [BZ #13705]
21729 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21730 instead of __kernel_standard_f.
21731
3884932b
MF
217322012-04-08 Mike Frysinger <vapier@gentoo.org>
21733
21734 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21735 * sysdeps/x86_64/memset_chk.S: Likewise.
21736
54472e9c
AJ
217372012-04-08 Andreas Jaeger <aj@suse.de>
21738
6ab0fbfc
AJ
21739 [BZ #10153]
21740 * manual/startup.texi (Environment Access): Describe return value
21741 for putenv and setenv.
21742
61efba8c
AJ
21743 [BZ #6895]
21744 * manual/filesys.texi (Directory Entries): Add description for
21745 DT_LNK.
21746
95c3f29a
AJ
21747 [BZ #6890]
21748 * manual/filesys.texi (Directory Entries): Clarify that it's file
21749 system not operating system in the description of DT_UNKNOWN.
21750
54472e9c
AJ
21751 [BZ #6578]
21752 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21753
624254b1
SC
217542012-04-08 Stephen Compall <s11@member.fsf.org>
21755
21756 [BZ #6649]
21757 * manual/llio.texi (Opening and Closing Files): Add cross
21758 reference to explain mode argument.
21759
1e4920e0
MF
217602012-04-07 Mike Frysinger <vapier@gentoo.org>
21761
21762 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21763 * sysdeps/x86_64/memset_chk.S: Likewise.
21764
5ed848f3
DM
217652012-04-07 David S. Miller <davem@davemloft.net>
21766
21767 * elf/elf.h (R_SPARC_WDISP10): Define.
21768 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21769 R_SPARC_SIZE32.
21770 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21771 R_SPARC_SIZE64 and R_SPARC_H34.
21772
96154cd8
CD
217732012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21774
21775 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21776 conditions and remove no longer applicable assertion.
21777
9904dc47
L
217782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21779
21780 * bits/byteswap.h: Include <features.h>.
21781 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21782 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21783
f8887d0a
L
217842012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21785
21786 * bits/byteswap.h (__bswap_16): Removed.
21787 Include <bits/byteswap-16.h> to get __bswap_16.
21788 * sysdeps/i386/bits/byteswap.h: Likewise.
21789 * sysdeps/s390/bits/byteswap.h: Likewise.
21790 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21791 * bits/byteswap-16.h: New file.
21792 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21793 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21794 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21795 * string/Makefile (headers): Add bits/byteswap-16.h.
21796
62470f60
PP
217972012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21798
21799 [BZ #13895]
21800 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21801 extra indirection.
21802 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21803 * nss/tst-nss-static.c: New.
21804
4dad7bab
RM
218052012-04-06 Robert Millan <rmh@gnu.org>
21806
21807 [BZ #6486]
21808 * manual/llio.texi (File Position Primitive): lseek
21809 refers to WHENCE when it really means OFFSET.
21810
e9142a17
AJ
218112012-04-06 Andreas Jaeger <aj@suse.de>
21812
2c040eff
AJ
21813 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21814 strncmp declarations.
21815
e9142a17
AJ
21816 * abilist/libc.abilist: Add __poll and __ppoll.
21817
ff9f1c5f
DM
218182012-04-05 David S. Miller <davem@davemloft.net>
21819
dcd2ae90
DM
21820 * scripts/check-local-headers.sh: Accept a host triplet in the
21821 path matched by the exclude regexp.
21822
993eb054
DM
21823 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21824 definition.
21825 * sysdeps/powerpc/powerpc32/dl-machine.h
21826 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21827 * sysdeps/s390/s390-32/dl-machine.h
21828 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21829 * sysdeps/sparc/sparc32/dl-machine.h
21830 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21831 * sysdeps/sparc/sparc64/dl-machine.h
21832 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21833
ff9f1c5f
DM
21834 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21835 lazy binding.
48e2e132 21836 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21837 undefined symbol errors.
21838
48e2e132 21839 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21840 DT_NEEDED entries.
21841
e80d6f94
MM
218422012-04-05 Michael Matz <matz@suse.de>
21843
21844 [BZ #13592]
21845 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21846
349fa79f
AJ
218472012-04-05 Andreas Jaeger <aj@suse.de>
21848
21849 [BZ #13908]
21850 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21851 comment.
21852
f402708f
KK
218532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21854
21855 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21856 which ROUND is no valid rounding mode.
21857
2ecccfc9
KK
218582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21859
21860 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21861 read again.
21862 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21863
8a53f50f
KK
218642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21865
21866 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21867 an exception using FPU order intentionally.
21868
218692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21870
21871 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21872 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21873 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21874 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21875
d653abb7
SJ
218762012-04-05 Simon Josefsson <simon@josefsson.org>
21877
21878 [BZ #12340]
21879 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21880 EINVAL when BUFLEN is too smal.
21881
c3b1bf7d
TS
218822012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21883
21884 [BZ #13553]
21885 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21886 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21887
b1aa60f3
AJ
218882012-04-03 Andreas Jaeger <aj@suse.de>
21889
c3b1bf7d 21890 [BZ #13938]
67f60a26
AJ
21891 * manual/setjmp.texi (System V contexts): Fix sentence.
21892
b1aa60f3
AJ
21893 [BZ #13926]
21894 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21895 New macro for this case.
21896 [!__GNUC__] (__bswap_64): New inline function for this case.
21897 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21898 * bits/byteswap.h: Likewise.
21899 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21900 ull, guard with __GLIBC_HAVE_LONG_LONG.
21901
21902 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21903 __GLIBC_HAVE_LONG_LONG.
21904
21905 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21906 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21907
39c59c35
TMQMF
219082012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21909
21910 [BZ #13691]
21911 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21912 inptr and inend, rather than using last_ch.
21913
135ffda8
DM
219142012-04-02 David S. Miller <davem@davemloft.net>
21915
21916 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21917 * stdio-common/printf-parse.h (read_int): Change return type to
21918 'int', return -1 on INT_MAX overflow.
21919 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21920 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21921 overflows INT_MAX. Check for overflow of in-format-string precision
21922 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21923 SIZE_MAX not INT_MAX for integer overflow test.
21924 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21925 skip the construct in the format string but do not record anything.
21926 * stdio-common/bug22.c: Adjust to test both width/prevision
21927 INT_MAX overflow as well as total length INT_MAX overflow. Check
21928 explicitly for proper errno values.
21929
228c019e
TS
219302012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21931
302cadd3
TS
21932 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21933 CHAR_MAX.
21934 * string/test-strcmp.c [! WIDE]: Likewise.
21935 * time/tst-mktime2.c: Likewise for INT_MAX.
21936 * string/test-string.h: #include <sys/param.h> for MIN.
21937
228c019e
TS
21938 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21939 * sysdeps/i386/init-first.c (init): Likewise.
21940 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21941 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21942 * sysdeps/sh/init-first.c (init): Likewise.
21943
cfa633f5
UD
219442012-04-01 Ulrich Drepper <drepper@gmail.com>
21945
21946 * po/ru.po: Update from translation team.
d1635ef8 21947 * po/vi.po: Likewise.
cfa633f5 21948
6cd0a5ea
SP
219492012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21950
21951 * resolv/nss_dns/dns-host.c: Merge copyright years.
21952
4b43400f
LD
219532012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21954
21955 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21956 Optimize memcpy with prefetch if
21957 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21958 src, dst pointers have unequal 16 byte alignments.
21959
48c41d04
SP
219602012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21961
21962 [BZ #13928]
21963 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21964 from a CNAME entry and return the minimum ttl for the query.
21965 (gaih_getanswer_slice): Likewise.
21966
b8dc394d
JL
219672012-03-30 Jeff Law <law@redhat.com>
21968
21969 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21970 due to long keys.
21971 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21972 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21973
2f5a5ed0
JL
21974 * resolv/nss_dns/dns-host.c: Update copyright year.
21975
1d39e359
UD
219762012-03-30 Ulrich Drepper <drepper@gmail.com>
21977
c030f70c 21978 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21979 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21980
1d39e359
UD
21981 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21982 comments for sendmmsg.
21983
219842012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21985
21986 [BZ #13691]
21987 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21988 with only 1 character between 0x0041 and 0x01b0.
21989 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21990 * wcsmbs/tst-mbsnrtowcs.c: New file.
21991
20fde227
DM
219922012-03-29 David S. Miller <davem@davemloft.net>
21993
21994 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21995 small copies by hand.
21996
984a4237
JL
219972012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21998
21999 [BZ #13761]
22000 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22001 _nss_compat_initgroups_dyn): Fall back to malloc/free
22002 for large group memberships.
22003
18c9d62b
DM
220042012-03-28 David S. Miller <davem@davemloft.net>
22005
88d85d4f
DM
22006 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22007 that branches into memcpy.
22008 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22009 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22010 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22011 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22013 bits.
22014 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22015 implementation too.
22016 * sysdeps/sparc/mempcpy.S: New file.
22017
e5aa83e1
DM
22018 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22019 the IFUNC routine in the libc case.
22020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22021
88570753
DM
22022 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22023 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22024 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22025 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22026 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22027 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22028 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22029 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22030
249d7567
DM
22031 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22032 loop to 256 bytes instead of 64 bytes and fix test signedness.
22033
18c9d62b
DM
22034 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22035 * sysdeps/sparc/sparc32/Makefile: rather than here...
22036 * sysdeps/sparc/sparc64/Makefile: and here.
22037
05f3d1f6
UD
220382012-03-28 Ulrich Drepper <drepper@gmail.com>
22039
22040 * malloc/mallocbug.c: Avoid warnings about unused variables.
22041
86ae07a8
JL
220422012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22043
22044 [BZ #13760]
22045 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22046 in the right place. Discard and retry query if response is
22047 larger than input buffer size.
22048
41bf21a1
JM
220492012-03-28 Joseph Myers <joseph@codesourcery.com>
22050
d6270972
JM
22051 [BZ #369]
22052 [BZ #2678]
22053 [BZ #3866]
22054 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22055 x for large integer exponent.
22056 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22057 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22058 sign of result as needed afterwards.
22059 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22060 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22061 result for underflowing pow the same as for overflow.
22062 (__kernel_standard_l): Handle powl overflow and underflow here
22063 rather than calling __kernel_standard.
22064 * math/libm-test.inc (pow_test): Add more tests.
22065
414fca03 22066 [BZ #3868]
41bf21a1
JM
22067 [BZ #13879]
22068 [BZ #13910]
22069 [BZ #13911]
22070 [BZ #13912]
22071 [BZ #13913]
22072 [BZ #13915]
22073 [BZ #13916]
22074 [BZ #13917]
22075 [BZ #13918]
22076 [BZ #13919]
22077 [BZ #13920]
22078 [BZ #13921]
22079 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22080 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22081 (__kernel_standard_l): New function.
22082 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22083 __kernel_standard.
22084 * math/w_acosl.c (__acosl): Likewise.
22085 * math/w_asinl.c (__asinl): Likewise.
22086 * math/w_atan2l.c (__atan2l): Likewise.
22087 * math/w_atanhl.c (__atanhl): Likewise.
22088 * math/w_coshl.c (__coshl): Likewise.
22089 * math/w_exp10l.c (__exp10l): Likewise.
22090 * math/w_exp2l.c (__exp2l): Likewise.
22091 * math/w_fmodl.c (__fmodl): Likewise.
22092 * math/w_hypotl.c (__hypotl): Likewise.
22093 * math/w_j0l.c (__j0l, __y0l): Likewise.
22094 * math/w_j1l.c (__j1l, __y1l): Likewise.
22095 * math/w_jnl.c (__jnl, __ynl): Likewise.
22096 * math/w_lgammal.c (__lgammal): Likewise.
22097 * math/w_log10l.c (__log10l): Likewise.
22098 * math/w_log2l.c (__log2l): Likewise.
22099 * math/w_logl.c (__logl): Likewise.
22100 * math/w_powl.c (__powl): Likewise.
22101 * math/w_remainderl.c (__remainderl): Likewise.
22102 * math/w_scalbl.c (sysv_scalbl): Likewise.
22103 * math/w_sinhl.c (__sinhl): Likewise.
22104 * math/w_sqrtl.c (__sqrtl): Likewise.
22105 * math/w_tgammal.c (__tgammal): Likewise.
22106 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22107 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22108 * math/libm-test.inc (acos_test): Add more tests.
22109 (acosh_test): Likewise.
22110 (asin_test): Likewise.
22111 (atanh_test): Likewise.
22112 (exp_test): Likewise.
22113 (exp10_test): Likewise.
22114 (exp2_test): Likewise.
22115 (expm1_test): Likewise.
22116 (lgamma_test): Likewise.
22117 (log_test): Likewise.
22118 (log10_test): Likewise.
22119 (log1p_test): Likewise.
22120 (log2_test): Likewise.
22121 (pow_test): Do not allow some spurious overflow exceptions.
22122 (sqrt_test): Add more tests.
22123 (tgamma_test): Likewise.
22124 (y0_test): Likewise.
22125 (y1_test): Likewise.
22126 (yn_test): Likewise.
22127
dd62fda6
AB
221282012-03-27 Anton Blanchard <anton@samba.org>
22129
22130 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22131 MAP_HUGETLB.
22132 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22133 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22134 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22135
1e3cdfda
AJ
221362012-03-27 David S. Miller <davem@davemloft.net>
22137
b855ab85
DM
22138 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22139
1e3cdfda
AJ
22140 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22141 have-as-vis3 check.
22142
221432012-03-27 Andreas Jaeger <aj@suse.de>
22144
22145 * sysdeps/x86_64/elf/configure.in: Moved to ...
22146 * sysdeps/x86_64/configure.in: ... here.
22147 * sysdeps/x86_64/elf/start.S: Moved to ...
22148 * sysdeps/x86_64/start.S: ... here.
22149 * sysdeps/x86_64/elf/configure: Delete.
22150
22151 * sysdeps/x86_64/configure.in: Merge contents from
22152 sysdeps/i386/configure.in (without i686 check).
22153
22154 * sysdeps/i386/elf/Versions: Merge into ...
22155 * sysdeps/i386/Versions: ... this.
22156 * sysdeps/i386/elf/Versions: Delete file.
22157 * sysdeps/i386/elf/start.S: Moved to ...
22158 * sysdeps/i386/start.S: ...here.
22159 * sysdeps/i386/elf/configure.in: Merge into...
22160 * sysdeps/i386/configure.in: ...here.
22161 * sysdeps/i386/elf/configure.in: Delete file.
22162 * sysdeps/i386/elf/configure: Delete file.
22163
22164 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22165 * debug/backtracesyms.c: ... here.
22166 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22167 * debug/backtracesymsfd.c: ... here.
22168 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22169 * sysdeps/generic/ifunc-sel.h: ... here.
22170
22171 * sysdeps/unix/i386/start.c: Delete file.
22172 * sysdeps/unix/sparc/start.c: Delete file.
22173 * sysdeps/unix/start.c: Delete file.
22174
22175 * sysdeps/sh/elf/configure.in: Moved to ...
22176 * sysdeps/sh/configure.in: ... here.
22177 * sysdeps/sh/elf/start.S: Moved to ...
22178 * sysdeps/sh/start.S: ... here.
22179 * sysdeps/sh/elf/configure: Delete file.
22180
22181 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22182 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22183 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22184 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22185 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22186 * sysdeps/powerpc/powerpc64/start.S: here.
22187 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22188 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22189 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22190 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22191 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22192
22193 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22194 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22195 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22196 * sysdeps/powerpc/powerpc32/start.S: ... here.
22197 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22198 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22199 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22200
22201 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22202 * sysdeps/powerpc/ifunc-sel.h: ... here.
22203 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22204 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22205
22206 * sysdeps/sparc/elf/configure.in: Moved to ...
22207 * sysdeps/sparc/configure.in: ... here.
22208 * sysdeps/sparc/elf/configure: Delete file.
22209 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22210 * sysdeps/sparc/sparc32/start.S: ... here.
22211 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22212 * sysdeps/sparc/sparc64/start.S: ... here.
22213 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22214 * sysdeps/sparc/sparc32/Makefile: ... this.
22215 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22216 * sysdeps/sparc/sparc64/Makefile: ... this.
22217
22218 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22219 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22220 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22221 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22222 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22223 * sysdeps/s390/s390-32/setjmp.S: ... here.
22224 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22225 * sysdeps/s390/s390-32/configure.in: ... here.
22226 * sysdeps/s390/s390-32/elf/configure: Delete file.
22227 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22228 * sysdeps/s390/s390-32/start.S: ... here.
22229
22230 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22231 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22232 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22233 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22234 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22235 * sysdeps/s390/s390-64/setjmp.S: ... here.
22236 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22237 * sysdeps/s390/s390-64/configure.in: ... here
22238 * sysdeps/s390/s390-64/elf/configure: Delete file.
22239 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22240 * sysdeps/s390/s390-64/start.S: ... here.
22241 * sysdeps/s390/s390-64/elf/configure: Delete.
22242
22243 * configure.in: Remove support for elf directories in sysdeps.
22244
22245 * configure: Regenerated.
22246 * sysdeps/i386/configure: Regenerated.
22247 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22248 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22249 * sysdeps/s390/s390-32/configure: Regenerated.
22250 * sysdeps/s390/s390-64/configure: Regenerated.
22251 * sysdeps/sh/configure: Regenerated.
22252 * sysdeps/sparc/configure: Regenerated.
22253 * sysdeps/x86_64/configure: Regenerated.
22254
a3f61311
AS
222552012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22256
c876e002
AS
22257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22258
a3f61311
AS
22259 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22260 denormal result into account.
22261
ac4c54f0
RM
222622012-03-25 Roland McGrath <roland@hack.frob.com>
22263
22264 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22265 Reported by Allan McRae <allan@archlinux.org>.
22266
6a9b9c02
JL
222672012-03-23 Jeff Law <law@redhat.com>
22268
22269 * nss/getnssent.c (__nss_getent): Fix typo.
22270
4c42a0c1
DM
222712012-03-23 David S. Miller <davem@davemloft.net>
22272
22273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22274
1532c7ac
L
222752012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22276
22277 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22278 to pad to uint64_t for each field.
22279 (dl_tls_index): Replace unsigned long with uint64_t.
22280
3ff42526
PP
222812012-03-23 Daniel Jacobowitz <dmj@google.com>
22282 Paul Pluzhnikov <ppluzhnikov@google.com>
22283
22284 [BZ #6528]
22285 * grp/Makefile (otherlibs): Don't set it.
22286 * inet/Makefile (otherlibs): Likewise.
22287 * login/Makefile (otherlibs): Likewise.
22288 * nscd/Makefile (otherlibs): Likewise.
22289 * posix/Makefile (otherlibs): Likewise.
22290 * pwd/Makefile (otherlibs): Likewise.
22291 * rt/Makefile (otherlibs): Likewise.
22292 * sunrpc/Makefile (otherlibs): Likewise.
22293 * nss/Makefile (otherlibs): Likewise.
22294 Add libnss_files to routines and static-only-routines.
22295 ($(objpfx)getent): Remove rule.
22296 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22297 static-only-routines.
22298
7c69cd14
JM
222992012-03-22 Joseph Myers <joseph@codesourcery.com>
22300
22301 [BZ #13892]
22302 * math/s_cexp.c: Include <float.h>.
22303 (__cexp): Handle exp result overflowing not necessarily
22304 overflowing both real and imaginary parts of result.
22305 * math/s_cexpf.c: Likewise.
22306 * math/s_cexpl.c: Likewise.
22307 * math/libm-test.inc (cexp_test): Add more tests.
22308 * sysdeps/i386/fpu/libm-test-ulps: Update.
22309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22310
81b035fe
L
223112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22312
22313 * include/link.h (ELFW): New macro.
22314 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22315 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22316
1da7940c
L
223172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22318
22319 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22320 with uint64_t.
22321
b749dbb9
L
223222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22323
22324 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22325 declaration.
22326 (struct La_x32_retval): Likewise.
22327
2ff87f3f
L
223282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22329
22330 * sysdeps/x86_64/preconfigure.in: New file.
22331 * sysdeps/x86_64/preconfigure: New generated file.
22332
c0df8e69
JM
223332012-03-22 Joseph Myers <joseph@codesourcery.com>
22334
48e44791
JM
22335 [BZ #13824]
22336 * math/e_exp2l.c: Include <float.h>.
22337 (__ieee754_exp2l): Handle overflow and underflow cases
22338 separately. Only pass fractional part of argument to
22339 __ieee754_expl.
22340 * math/libm-test.inc (exp2_test): Add more tests.
22341
c0df8e69
JM
22342 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22343 negating x to take absolute value.
22344 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22345 Likewise.
22346 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22347 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22348 Likewise.
22349 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22350 computing low part if x was negated.
22351 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22352
c8e43ba7
L
223532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22354
22355 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22356 la_x32_gnu_pltexit.
22357 (pltexit): Cast int_retval to ptrdiff_t.
22358 * elf/tst-auditmod3b.c: Likewise.
22359 * elf/tst-auditmod4b.c: Likewise.
22360 * elf/tst-auditmod5b.c: Likewise.
22361 * elf/tst-auditmod6b.c: Likewise.
22362 * elf/tst-auditmod6c.c: Likewise.
22363 * elf/tst-auditmod7b.c: Likewise.
22364
22365 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22366 and x32_gnu_pltexit.
22367
22368 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22369 __ELF_NATIVE_CLASS.
22370 (La_x32_regs): New macro.
22371 (La_x32_retval): Likewise.
22372 (la_x32_gnu_pltenter): New function prototype.
22373 (la_x32_gnu_pltexit): Likewise.
22374
7998fa78
AS
223752012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22376
dcb33988
AS
22377 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22378 exponent.
22379
233fc563
AS
22380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22381
7998fa78
AS
22382 * configure.in (libc_cv_cc_nofma): Check for option to disable
22383 generation of FMA instructions.
22384 * configure: Regenerate.
22385 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22386 * sysdeps/ieee754/dbl-64/Makefile: New file.
22387 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22388 Remove brandred-fma4.
22389 (CFLAGS-brandred-fma4.c): Remove.
22390 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22391 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22392 define.
22393 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22394 define.
22395
8e95c99a
L
223962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22397
22398 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22399 LLONG_MAX != LONG_MAX.
22400 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22401 (_fitoa_word): Likewise.
22402 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22403 LLONG_MAX != LONG_MAX.
22404 * stdio-common/_itowa.h: Include <_itoa.h>.
22405 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22406 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22407 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22408 only if not defined.
22409 (_ITOA_WORD_TYPE): Likewise.
22410 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22411 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22412
6f4db457
DM
224132012-03-21 David S. Miller <davem@davemloft.net>
22414
22415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22416
7785fe5a
L
224172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22418
22419 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22420 of x86_64 when setting libc_cv_slibdir, libdir and
22421 libc_cv_localedir.
22422 * sysdeps/unix/sysv/linux/configure: Regenerated.
22423
4535cd55
JM
224242012-03-21 Joseph Myers <joseph@codesourcery.com>
22425
22426 * manual/lang.texi (Old Varargs): Remove section.
22427 (How Variadic): Update menu.
22428 (va_start): Do not mention varargs.h.
22429
17228132
TS
224302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22431 Joseph Myers <joseph@codesourcery.com>
22432
22433 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22434 link test.
22435 * configure: Regenerated.
22436
8149f976
TS
224372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22438
05f3d1f6
UD
22439 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22440 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22441 conformtest.pl
8149f976 22442
1a4ac776
JM
224432012-03-21 Joseph Myers <joseph@codesourcery.com>
22444
be22ce65
JM
22445 * NOTES: Remove.
22446 * Makefile (files-for-dist): Remove NOTES.
22447 (NOTES): Remove rule.
22448 * README: Don't refer to NOTES.
22449 * manual/creature.texi: Don't include macros.texi.
22450 * manual/intro.texi (creature.texi): Remove comment referring to
22451 NOTES.
22452
40b601fb
JM
22453 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22454 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22455 * configure: Regenerated.
22456 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22457 LIBC_TRY_CC_OPTION.
22458 (libc_cv_as_i686): Likewise.
22459 (libc_cv_cc_avx): Likewise.
22460 (libc_cv_cc_sse2avx): Likewise.
22461 (libc_cv_cc_fma4): Likewise.
22462 (libc_cv_cc_novzeroupper): Likewise.
22463 * sysdeps/i386/configure: Regenerated.
22464
1a4ac776
JM
22465 [BZ #13883]
22466 * sysdeps/i386/fpu/s_cexp.S: Remove.
22467 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22468 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22469 * math/libm-test.inc (cexp_test): Add more tests.
22470 * sysdeps/i386/fpu/libm-test-ulps: Update.
22471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22472
a458e7fe
AM
224732012-03-21 Allan McRae <allan@archlinux.org>
22474
22475 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22476
0cb7efc5
JM
224772012-03-21 Joseph Myers <joseph@codesourcery.com>
22478
22479 [BZ #13871]
22480 * math/w_exp2.c: Do not include <float.h>.
22481 (o_threshold, u_threshold): Remove.
22482 (__exp2): Calculate result before checking finiteness and calling
22483 __kernel_standard.
22484 * math/w_exp2f.c: Likewise.
22485 * math/w_exp2l.c: Likewise.
22486 * math/libm-test.inc (exp2_test): Require overflow exception for
22487 1e6 input.
2460d3aa
JM
22488
22489 [BZ #3866]
22490 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22491 range of signed 64-bit integers before using fistpll. Remove
22492 checks for whether integers fit in mantissa bits.
22493 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22494 the range of signed 32-bit integers before using fistpl. Remove
22495 checks for whether integers fit in mantissa bits.
22496 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22497 (__ieee754_powl): Test for y outside the range of signed 64-bit
22498 integers before using fistpll. Reduce 64-bit values to 63-bit
22499 ones as needed.
22500 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22501 divide-by-zero is raised for zero to large negative powers.
22502 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22503 (__ieee754_powl): Test for y outside the range of signed 64-bit
22504 integers before using fistpll. Reduce 64-bit values to 63-bit
22505 ones as needed.
22506 * math/libm-test.inc (pow_test): Add more tests.
22507
eb96ffb0
L
225082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22509
22510 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22511 <stdio-common/_itoa.h>.
22512 * debug/segfault.c: Likewise.
22513 * elf/dl-cache.c: Likewise.
22514 * elf/dl-minimal.c: Likewise.
22515 * elf/dl-misc.c: Likewise.
22516 * elf/dl-sysdep.c: Likewise.
22517 * elf/dl-version.c: Likewise.
22518 * elf/rtld.c: Likewise.
22519 * hurd/hurdsock.c: Likewise.
22520 * hurd/lookup-retry.c: Likewise.
22521 * malloc/malloc.c: Likewise.
22522 * malloc/mtrace.c: Likewise.
22523 * nscd/nscd_getgr_r.c: Likewise.
22524 * nscd/nscd_getpw_r.c: Likewise.
22525 * nscd/nscd_getserv_r.c: Likewise.
22526 * posix/getopt_init.c: Likewise.
22527 * posix/wordexp.c: Likewise.
22528 * stdio-common/_itoa.c: Likewise.
22529 * stdio-common/printf_fphex.c: Likewise.
22530 * stdio-common/vfprintf.c: Likewise.
22531 * string/_strerror.c: Likewise.
22532 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22533 * sysdeps/i386/i686/hp-timing.h: Likewise.
22534 * sysdeps/mach/_strerror.c: Likewise.
22535 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22536 * sysdeps/mach/hurd/sethostid.c: Likewise.
22537 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22538 * sysdeps/mach/xpg-strerror.c: Likewise.
22539 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22540 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22541 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22542 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22543 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22544 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22545 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22546 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22547 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22548 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22549 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22550 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22551 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22552 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22553 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22554 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22555 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22556 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22557 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22558 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22559 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22560
22561 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22562
22563 * stdio-common/_itoa.h: Moved to ...
22564 * sysdeps/generic/_itoa.h: Here.
22565
22566 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22567
22568 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22569 instead of "_itoa.h" and "_itowa.h".
22570 * stdio-common/vfprintf.: Likewise.
22571
d1af992d
L
225722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22573
22574 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22575 <bits/wordsize.h>.
22576 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22577 (__signbit): Likwise.
22578 (llrintf): Likwise.
22579 (llrint): Likwise.
22580
114883e0
L
225812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22582
22583 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22584 __WORDSIZE != 64.
22585
c135cc1b
JM
225862012-03-20 Joseph Myers <joseph@codesourcery.com>
22587
22588 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22589 OVERFLOW_EXCEPTION_OK.
22590 * math/libm-test.inc ("Philosophy"): Update comment about
22591 exception testing.
22592 (OVERFLOW_EXCEPTION): Define.
22593 (OVERFLOW_EXCEPTION_OK): Likewise.
22594 (INVALID_EXCEPTION_OK): Renumber.
22595 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22596 (IGNORE_ZERO_INF_SIGN): Likewise.
22597 (test_exceptions): Handle FE_OVERFLOW.
22598 (exp10_test): Expect overflow exceptions.
22599 (exp2_test): Likewise.
22600 (expm1_test): Likewise.
22601 (nextafter_test): Likewise.
22602 (pow_test): Likewise.
22603 (scalbn_test): Likewise.
22604 (scalbln_test): Likewise.
22605
95443d88
L
226062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22607
22608 * sysdeps/x86_64/bits/atomic.h
22609 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22610 64bit integer.
22611 (atomic_exchange_acq): Likewise.
22612 (__arch_exchange_and_add_body): Likewise.
22613 (__arch_add_body): Likewise.
22614 (atomic_add_negative): Likewise.
22615 (atomic_add_zero): Likewise.
22616
490df6c4
L
226172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22618
c2722551 22619 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22620 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22621
5e52b189
L
226222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22623
22624 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22625 Check __x86_64__ instead of __WORDSIZE.
22626
a9879d4c
L
226272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22628
22629 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22630
5df98260
DM
226312012-03-19 David S. Miller <davem@davemloft.net>
22632
e1497744
DM
22633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22634
5df98260
DM
22635 * sysdeps/sparc/fpu/fenv_private.h: New file.
22636 * sysdeps/sparc/fpu/math_private.h: Use it.
22637 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22638 Remove.
22639 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22640 (libc_feholdexcept_setroundl): Remove.
22641 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22642 Remove.
22643 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22644 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22645
b4c35121
L
226462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22647
22648 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22649 int64_t instead of long int.
22650 (INSERT_WORDS64): Likwise.
22651
56965fd7
L
226522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22653
22654 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22655 _Unwind_GetCFA return to _Unwind_Ptr first.
22656
83d1aec8
JM
226572012-03-19 Joseph Myers <joseph@codesourcery.com>
22658
1897ad44
JM
22659 [BZ #13629]
22660 * math/s_clog.c: Include <float.h>.
22661 (__clog): Scale large or subnormal inputs.
22662 * math/s_clogf.c: Likewise.
22663 * math/s_clogl.c: Likewise.
22664 * math/s_clog10.c: Include <float.h>.
22665 (M_LOG10_2): Define.
22666 (__clog10): Scale large or subnormal inputs.
22667 * math/s_clog10f.c: Likewise.
22668 * math/s_clog10l.c: Likewise.
22669 * math/libm-test.inc (clog_test): Add more tests.
22670 (clog10_test): Likewise.
22671 * sysdeps/i386/fpu/libm-test-ulps: Update.
22672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22673
7726d6a9
JM
22674 [BZ #11451]
22675 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22676 x and y.
22677 * math/libm-test.inc (atan2_test): Add another test.
22678
83d1aec8
JM
22679 * Makerules (common-objdir-compile): Remove.
22680 * sysdeps/unix/Makefile (config-generated): Do not add
22681 $(unix-generated) to variable.
22682 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22683 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22684 Remove rule.
22685 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22686 Likewise.
22687 [generic bits/local_lim.h] (before-compile): Do not append to
22688 variable.
22689 [generic bits/local_lim.h] (common-generated): Likewise.
22690 [generic sys/param.h] (before-compile): Do not append to variable.
22691 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22692 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22693 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22694 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22695 include.
22696 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22697 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22698 [generic sys/param.h] ($(addprefix
22699 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22700 [generic sys/param.h] (common-generated): Do not append to
22701 variable.
22702 [generic sys/param.h] (sysdep_headers): Likewise.
22703 [generic bits/errno.h] (before-compile): Do not append to
22704 variable.
22705 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22706 rule.
22707 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22708 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22709 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22710 [generic bits/errno.h] (common-generated): Do not append to
22711 variable.
22712 [generic bits/ioctls.h] (before-compile): Do not append to
22713 variable.
22714 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22715 rule.
22716 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22717 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22718 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22719 rule.
22720 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22721 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22722 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22723 [generic bits/ioctls.h] (common-generated): Do not append to
22724 variable.
22725 [generic sys/syscall.h] (syscall.h): Remove variable.
22726 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22727 rule.
22728 [generic sys/syscall.h] (before-compile): Do not append to
22729 variable.
22730 [generic sys/syscall.h] (common-generated): Likewise.
22731 * sysdeps/unix/errnos-tmpl.c: Remove file.
22732 * sysdeps/unix/errnos.awk: Likewise.
22733 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22734 * sysdeps/unix/ioctls.awk: Likewise.
22735 * sysdeps/unix/mk-local_lim.c: Likewise.
22736 * sysdeps/unix/snarf-ioctls: Likewise.
22737
4851a949
RH
227382012-03-19 Richard Henderson <rth@twiddle.net>
22739
bd37f2ee
RH
22740 * sysdeps/i386/fpu/fenv_private.h: New file.
22741 * sysdeps/i386/fpu/math_private.h: Use it.
22742 (math_opt_barrier, math_force_eval): Remove.
22743 (libc_feholdexcept_setround_53bit): Remove.
22744 (libc_feupdateenv_53bit): Remove.
22745 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22746 (math_opt_barrier, math_force_eval): Remove.
22747 (libc_feholdexcept): Remove.
22748 (libc_feholdexcept_setround): Remove.
22749 (libc_fetestexcept, libc_fesetenv): Remove.
22750 (libc_feupdateenv_test): Remove.
22751 (libc_feupdateenv, libc_feholdsetround): Remove.
22752 (libc_feresetround): Remove.
22753
d0adc922
RH
22754 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22755 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22756
0fe0f1f8
RH
22757 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22758 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22759 (libc_feupdateenv_testl): New.
22760 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22761 (libc_feupdateenv_testf): New.
22762 (libc_feupdateenv): Use libc_feupdateenv_test.
22763 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22764 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22765
eb92c487
RH
22766 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22767 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22768 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22769 (libc_feresetround_noex): New.
22770 (libc_feresetround_noexf): New.
22771 (libc_feresetround_noexl): New.
22772 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22773 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22774 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22775 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22776 SET_RESTORE_ROUND.
22777 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22779 (__cos): Likewise.
22780 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22781 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22782 SET_RESTORE_ROUND_NOEX.
22783 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22784 SET_RESTORE_ROUND_NOEXF.
22785 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22786 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22787 (libc_feholdsetroundf): New.
22788 (libc_feresetround, libc_feresetroundf): New.
22789
7d2e8012
RH
22790 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22791 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22792 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22793
b4dabbb4
RH
22794 * sysdeps/generic/math_private.h: Include <fenv.h>.
22795 (default_libc_feholdexcept): New.
22796 (default_libc_feholdexcept_setround): New.
22797 (default_libc_fesetenv, default_libc_feupdateenv): New.
22798 (libc_feholdexcept): Only define if undefined.
22799 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22800 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22801 (libc_feholdexcept_setroundl): Likewise.
22802 (libc_feholdexcept_setround_53bit): Likewise.
22803 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22804 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22805 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22806 (libc_feupdateenv_53bit): Likewise.
22807 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22808 (libc_feholdexcept): Convert from macro to inline function.
22809 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22810 (libc_fesetenv, libc_feupdateenv): Likewise.
22811
4851a949
RH
22812 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22813 not previously defined.
22814 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22815 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22816 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22817 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22818 * sysdeps/ieee754/flt-32/math_private.h: New file.
22819 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22820 math_private.h below SET_FLOAT_WORD.
22821 (__isnan, __isinf_ns, __finite): Remove.
22822 (__isnanf, __isinf_nsf, __finitef): Remove.
22823
e79d442e
AS
228242012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22825
22826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22827
90b80344
DM
228282012-03-17 David S. Miller <davem@davemloft.net>
22829
22830 [BZ #6471]
22831 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22832 for 2.16.
22833
edc21804
DM
228342012-03-16 David S. Miller <davem@davemloft.net>
22835
77e927af
DM
22836 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22837 warnings.
22838
374976dd
DM
22839 [BZ #6471]
22840 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22841 properly.
22842 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22843 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22844 sysdep_routines when subdir is sysvipc.
22845 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22846 __getshmlba helper.
22847
edc21804
DM
22848 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22849
473c3ef3
L
228502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22851
22852 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22853 [__LP64__].
22854
eb0f39b6
L
228552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22856
22857 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22858 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22859 (__lround): Renamed to ...
22860 (__llround): This. Replace long int with long long int.
22861 Define lround functions as aliases of llround functions.
22862 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22863
6b6cd74b
L
228642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22865
22866 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22867 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22868 adresses to uintptr_t. Replace "long int" and "unsigned long
22869 int" with "greg_t" on va_arg.
22870
f1a77b01
L
228712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22872
22873 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22874 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22875
22876 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22877 Move e_machine check before EI_CLASS check. Handle x32
22878 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22879 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22880 SKIP_EM_IA_64 and include
22881 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22882
22883 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22884 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22885 (add_system_dir): New macro.
22886
22887 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22888 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22889
11b90b9f
JM
228902012-03-16 Joseph Myers <joseph@codesourcery.com>
22891
c36e1d23
JM
22892 [BZ #2551]
22893 [BZ #2552]
22894 [BZ #2553]
22895 [BZ #2554]
22896 [BZ #2562]
22897 [BZ #2563]
22898 [BZ #2565]
22899 [BZ #2566]
22900 [BZ #2576]
22901 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22902 (y0): Likewise.
22903 * math/w_j0f.c (j0f): Likewise.
22904 (y0f): Likewise.
22905 * math/w_j0l.c (__j0l): Likewise.
22906 (__y0l): Likewise.
22907 * math/w_j1.c (j1): Likewise.
22908 (y1): Likewise.
22909 * math/w_j1f.c (j1f): Likewise.
22910 (y1f): Likewise.
22911 * math/w_j1l.c (__j1l): Likewise.
22912 (__y1l): Likewise.
22913 * math/w_jn.c (jn): Likewise.
22914 (yn): Likewise.
22915 * math/w_jnf.c (jnf): Likewise.
22916 (ynf): Likewise.
22917 * math/w_jnl.c (__jnl): Likewise.
22918 (__ynl): Likewise.
22919 * math/libm-test.inc (j0_test): Add more tests.
22920 (j1_test): Likewise.
22921 (jn_test): Likewise. Add trailing semicolon to existing test.
22922 (y0_test): Likewise.
22923 (y1_test): Likewise.
22924 * sysdeps/i386/fpu/libm-test-ulps: Update.
22925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22926
11b90b9f
JM
22927 [BZ #13851]
22928 [BZ #13854]
22929 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22930 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22931 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22932 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22933 (__tanl): Set errno for infinite argument.
22934 * sysdeps/i386/fpu/mptan.c: Remove.
22935 * sysdeps/i386/fpu/s_tan.S: Likewise.
22936 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22937 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22938 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22939 * math/libm-test.inc (tan_test): Add more tests and enable more
22940 tests for double and long double.
22941 * sysdeps/i386/fpu/libm-test-ulps: Update.
22942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22943
6a1bd2a1
JK
229442012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22945
22946 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22947 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22948
10a803e0
RM
229492012-03-16 Roland McGrath <roland@hack.frob.com>
22950
22951 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22952 * configure.in: Use it for both main tree and add-ons.
22953 * configure: Regenerated.
22954
f196c7f7
L
229552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22956
22957 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22958
8848d99d
JM
229592012-03-16 Joseph Myers <joseph@codesourcery.com>
22960
96cbe7f4
JM
22961 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22962 in comment.
22963
8848d99d
JM
22964 [BZ #13851]
22965 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22966 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22967 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22968 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22969 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22970 infinite argument.
22971 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22972 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22973 != 0 for prec == 2.
22974 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22975 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22976 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22977 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22978 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22979 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22980 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22981 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22982 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22983 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22984 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22985 * math/libm-test.inc (cos_test): Add more tests and enable more
22986 tests for long double.
22987 (sin_test): Likewise.
22988 (sincos_test): Likewise.
22989 * sysdeps/i386/fpu/libm-test-ulps: Update.
22990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22991
dd7f4703
DM
229922012-03-16 David S. Miller <davem@davemloft.net>
22993
22994 * sysdeps/sparc/fpu/math_private.h: New file.
22995
006f1daa
DM
229962012-03-15 David S. Miller <davem@davemloft.net>
22997
c0c83bc8
DM
22998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22999 file.
e6a62e18 23000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23002 file.
e6a62e18
DM
23003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23008 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23009 sysdep routines.
23010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23011
88cb87d9
DM
23012 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23013 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23014
006f1daa 23015 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23017 sparc-ifunc.h
006f1daa 23018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23020 Likewise.
23021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23022 Likewise.
006f1daa
DM
23023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23027 Likewise.
006f1daa
DM
23028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23033 Likewise.
23034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23035 Likewise.
006f1daa
DM
23036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23040 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23042 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23043 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23054 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23055 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23056 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23057 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23058 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23059 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23060
11e0098e
AS
230612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23062
23063 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23064 scaling.
23065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23066
e85b09d0
AJ
230672012-03-15 Andreas Jaeger <aj@suse.de>
23068
23069 [BZ #13852]
23070 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23071 ieee754/flt-32 implementation for sin, cos and sincos.
23072 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23073 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23074 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23075 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23076 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23077 ieee754/flt-32 implementation for tan.
23078
23079 * math/libm-test.inc (cos_test): Enable some large input tests for
23080 float as well
23081 (sin_test): Likewise.
23082 (sincos_test): Likewise.
23083 (tan_test): Add tests for large input.
23084
23085 * sysdeps/i386/fpu/libm-test-ulps: Update.
23086
81c64153
AJ
230872012-03-15 Andreas Jaeger <aj@suse.de>
23088
23089 [BZ #13658]
23090 * math/libm-test.inc (cos_test): Add more test cases.
23091 (sin_test): Likewise.
23092 (sincos_test): Likewise.
23093
7bbfa5c6
AJ
230942012-03-15 Andreas Jaeger <aj@suse.de>
23095
23096 [BZ #13837]
23097 * math/libm-test.inc (cos_test): Add a test case for large input
23098 value.
23099 (sin_test): Likewise.
23100 (sincos_test): Likewise.
23101
231022012-03-15 Andreas Jaeger <aj@suse.de>,
23103 Joseph Myers <joseph@codesourcery.com>
23104
23105 [BZ #13658]
0671f479 23106 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23107 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23108 * sysdeps/i386/fpu/branred.c: Likewise.
23109 * sysdeps/i386/fpu/dosincos.c: Likewise.
23110 * sysdeps/i386/fpu/mpa.c: Likewise.
23111 * sysdeps/i386/fpu/s_cos.S: Likewise.
23112 * sysdeps/i386/fpu/s_sin.S: Likewise.
23113 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23114 * sysdeps/i386/fpu/sincos32.c: Likewise.
23115
23116 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23117 Define.
23118 (libc_feupdateenv_53bit): Define.
23119 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23120 Define.
23121 (libc_feupdateenv_53bit): Define.
23122
23123 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23124 53 bit (without extend i386 double precision).
23125
23126 * math/libm-test.inc (sincos_test): Add tests for large input.
23127 (sin): Likewise.
23128 (cos): Likewise.
23129
23130 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23131
9cad04ea
AS
231322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23133
23134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23135
f7062b9a
DM
231362012-03-15 David S. Miller <davem@davemloft.net>
23137
23138 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23139 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23140 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23141 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23154 file.
f7062b9a 23155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23157 file.
f7062b9a 23158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23160 file.
f7062b9a 23161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23163 file.
f7062b9a
DM
23164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23166 fmin/fmax sysdep routines.
23167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23168
7bd951ff
DM
231692012-03-14 David S. Miller <davem@davemloft.net>
23170
559398ab
DM
23171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23176 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23177 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23178 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23191 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23192 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23193 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23194 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23195 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23196 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23197 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23198 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23200 routines.
23201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23202 file.
559398ab 23203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23205 file.
559398ab 23206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23208 file.
559398ab 23209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23211 file.
559398ab 23212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23214 file.
559398ab 23215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23217 file.
23218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23219 file.
23220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23221 file.
23222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23223 file.
23224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23225 New file.
23226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23227 file.
23228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23229 file.
559398ab 23230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23232 file.
559398ab 23233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23235 file.
559398ab 23236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23238 file.
559398ab 23239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23241 VIS3 routines.
559398ab
DM
23242
23243 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23244 New file.
23245
5a1c1e32
DM
23246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23247
eae47a36
DM
23248 * sysdeps/sparc/configure.in: New file.
23249 * sysdeps/sparc/configure: Generate.
23250 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23251 * configure: Regenerate.
23252 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23253 * config.make.in (have-as-vis3): New.
23254 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23255 available use -Av9d instead of -Av9a.
23256 * sysdeps/sparc/sparc64/Makefile: Likewise.
23257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23259 New file.
23260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23261 file.
23262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23263 New file.
23264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23265 file.
eae47a36
DM
23266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23267 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23268 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23269 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23270 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23271
c0c83bc8
DM
23272 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23273 fzeros/fnegs to load 0x80000000 into a float register instead of
23274 using the stack.
7bd951ff
DM
23275 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23276
bd951ccb
JM
232772012-03-14 Joseph Myers <joseph@codesourcery.com>
23278
23279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23280 bits/syscall.h.
23281 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23282 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23283 ($(inst_includedir)/bits/syscall.h): Remove rule.
23284 ($(objpfx)bits/syscall.d): Include instead of
23285 $(objpfx)syscall-list.d.
23286 (generated): Change syscall-list.h and syscall-list.d to
23287 bits/syscall.h and bits/syscall.d.
23288
bb4e6db2
RM
232892012-03-14 Roland McGrath <roland@hack.frob.com>
23290
23291 [BZ #13846]
23292 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23293
aa4a2ae1
JM
232942012-03-14 Joseph Myers <joseph@codesourcery.com>
23295
e456826d
JM
23296 [BZ #13841]
23297 * math/s_csqrt.c: Include <float.h>.
23298 (__csqrt): Scale large or subnormal inputs.
23299 * math/s_csqrtf.c: Likewise.
23300 * math/s_csqrtl.c: Likewise.
23301 * math/libm-test.inc (csqrt_test): Add more tests.
23302 * sysdeps/i386/fpu/libm-test-ulps: Update.
23303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23304
aa4a2ae1
JM
23305 [BZ #13840]
23306 * math/libm-test.inc (hypot_test): Add more tests.
23307
7c10fd35
DM
233082012-03-13 David S. Miller <davem@davemloft.net>
23309
23310 [BZ #13840]
23311 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23312 double-precision for the calculation instead of scaling.
23313
f453b98b
JM
233142012-03-13 Joseph Myers <joseph@codesourcery.com>
23315
23316 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23317 manipulate bits before adding and subtracting TWO52[sx].
23318 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23319 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23320 Likewise.
23321 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23322
09a3453f
DM
233232012-03-13 David S. Miller <davem@davemloft.net>
23324
8e59da90
DM
23325 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23326 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23327 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23328 rtld-global-offsets.h
23329 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23330
2a8ab7f2
DM
23331 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23332 large parameters.
23333
10f62770
DM
23334 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23335
5f0bdb18
DM
23336 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23337 'err' in the ifdef scope in which it is actually used.
23338
09a3453f
DM
23339 * nss/nss_db/db-init.c: Include string.h
23340
b4b2eb5e
DM
233412012-03-12 David S. Miller <davem@davemloft.net>
23342
98bb2f1c
DM
23343 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23344 masking out of the most significant byte of random value used.
23345 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23346 Fix coding style in previous change.
23347
b4b2eb5e
DM
23348 * sysdeps/unix/sysv/linux/kernel-features.h
23349 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23350 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23351 expression.
23352 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23353 later.
23354
6e226b09
DM
233552012-03-11 David S. Miller <davem@davemloft.net>
23356
a1bcbd40
DM
23357 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23358 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23359 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23360 for 'resultvar' otherwise things get truncated on 64-bit.
23361
cb9d6174
DM
23362 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23363 Fix masking out of the most significant byte of random value used.
23364
6e226b09
DM
23365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23366
058c132d
AS
233672012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23368
23369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23370
2d2cd515
DM
233712012-03-09 David S. Miller <davem@davemloft.net>
23372
23373 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23374 variables with appropriate CPP guards.
23375 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23376 frame pointer, not the stack pointer. Correct layout comments. Fix test
23377 on resulting framesize and the management of the outregs buffer for pltexit.
23378 Preserve floating point return values across _dl_call_pltexit call.
23379 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23380 framesize and the management of the outregs buffer for pltexit.
23381 Preserve floating point return values across _dl_call_pltexit
23382 call.
23383 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23384 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23385 (print_exit): Fix format string for return register value.
23386
9a07f9d0
JM
233872012-03-10 Joseph Myers <joseph@codesourcery.com>
23388
23389 * sunrpc/Makefile (others): Add rpcgen.
23390 ($(objpfx)rpcgen): Remove special build rule and dependency on
23391 libc.
23392 * sunrpc/rpcgen.c: New file.
23393
547b5e30
PE
233942012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23395
c524201a
PE
23396 [BZ #13673]
23397 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23398 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23399 * sysdeps/i386/crti.S: Likewise.
23400 * sysdeps/i386/crtn.S: Likewise.
23401 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23402 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23403 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23404 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23405 * sysdeps/sh/crti.S: Likewise.
23406 * sysdeps/sh/crtn.S: Likewise.
23407 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23408
7b6235f2
PE
23409 [BZ #13673]
23410 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23411 with URL.
23412 * locale/programs/locfile-kw.gperf: Likewise.
23413 * locale/programs/charmap-kw.h: Regenerated.
23414 * locale/programs/locfile-kw.h: Likewise.
23415
547b5e30
PE
23416 [BZ #13673]
23417 * intl/plural.y: Replace FSF snail mail address with URL.
23418 * intl/plural.c: Regenerated.
23419
5f0a5dae
RH
234202012-03-09 Richard Henderson <rth@twiddle.net>
23421
23422 * include/math_private.h: Remove file.
23423 * math/math_private.h: Move file ...
23424 * sysdeps/generic/math_private.h: ... here.
23425
b8c03620
RH
23426 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23427 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23428 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23429
4e234f5d 23430 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23431 and <math_private.h>.
23432 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23433 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23434 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23435 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23436 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23437 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23438 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23439 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23440 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23441 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23443 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23444 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23445 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23446 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23447 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23448 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23449 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23450 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23451 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23453 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23454 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23456 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23457 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23458 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23461 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23462 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23463 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23464 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23465 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23466 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23467 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23468 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23469 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23470 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23471 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23472 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23473 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23474 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23475 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23476 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23477 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23478 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23479 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23480 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23481 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23482 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23483 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23484 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23485 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23486 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23487 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23488 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23489 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23490 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23491 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23492 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23493 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23495 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23496 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23497 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23498 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23499 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23500 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23501 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23502 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23503 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23504 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23505 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23506 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23507 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23508 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23510 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23511 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23512 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23513 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23514 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23515 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23516 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23517 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23518 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23519 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23520 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23521 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23522 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23523 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23524 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23525 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23526 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23527 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23528 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23529 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23530 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23531 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23532 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23533 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23534 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23535 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23536 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23537 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23538 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23539 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23540 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23541 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23542 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23543 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23544 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23545 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23546 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23547 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23548 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23549 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23550 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23551 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23552 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23553 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23554 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23555 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23556 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23557 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23558 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23559 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23560 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23561 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23562 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23563 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23564 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23565 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23566 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23567 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23568 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23569 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23570 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23571 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23573 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23574 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23575 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23576 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23577 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23578 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23579 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23580 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23581 * sysdeps/ieee754/k_standard.c: Likewise.
23582 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23586 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23591 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23592 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23593 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23594 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23595 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23596 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23598 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23599 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23607 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23608 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23609 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23611 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23615 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23617 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23629 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23632 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23633 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23635 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23636 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23637 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23638 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23641 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23643 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23644 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23646 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23648 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23649 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23650 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23651 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23652 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23654 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23655 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23656 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23658 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23659 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23663 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23664 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23665 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23666 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23668 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23669 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23670 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23671 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23672 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23673 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23674 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23675 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23676 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23677 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23678 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23679 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23680 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23681 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23682 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23683 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23684 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23685 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23686 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23687 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23688 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23689 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23690 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23691 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23692 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23693 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23694 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23695 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23696 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23697 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23698 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23699 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23700 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23701 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23702 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23703 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23704 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23705 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23706 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23707 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23708 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23709 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23710 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23711 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23712 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23713 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23714 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23715 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23716 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23717 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23718 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23719 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23720 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23721 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23722 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23723 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23724 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23725 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23726 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23727 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23728 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23729 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23730 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23731 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23732 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23733 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23734 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23735 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23736 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23737 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23738 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23739 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23740 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23741 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23742 * sysdeps/ieee754/s_lib_version.c: Likewise.
23743 * sysdeps/ieee754/s_matherr.c: Likewise.
23744 * sysdeps/ieee754/s_signgam.c: Likewise.
23745 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23746 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23747 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23748 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23749 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23750 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23751 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23752 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23753 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23754 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23755 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23756 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23757 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23758 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23759 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23760 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23761 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23762 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23763 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23764 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23765 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23766
1991fa03
JM
237672012-03-09 Joseph Myers <joseph@codesourcery.com>
23768
23769 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23770 * sunrpc/rpc_main.c: Likewise.
23771 * sunrpc/rpc_svcout.c: Likewise.
23772
60d6f5a6
DM
237732012-03-09 David S. Miller <davem@davemloft.net>
23774
23775 * include/math_private.h: New file.
23776
4962050e
JM
237772012-03-09 Joseph Myers <joseph@codesourcery.com>
23778
02a6f887
JM
23779 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23780 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23781 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23782 from <bits/socket_type.h>.
23783 (enum __socket_type): Don't define here.
23784 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23786 bits/socket_type.h.
23787
c6e013c1
JM
23788 [BZ #13566]
23789 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23790 checking __USE_GNU.
23791
4962050e
JM
23792 * Makerules ($(inst_includedir)/%.h): New rule.
23793 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23794 (install-others): Remove variable setting.
23795 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23796
38842f45
RH
237972012-03-08 Richard Henderson <rth@twiddle.net>
23798
67bb6da6
RH
23799 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23800 from macro to inline function; merge with the
23801 !__LIBC_INTERNAL_MATH_INLINES version.
23802 (__ieee754_sqrtf): Likewise.
23803
15194b4b
RH
23804 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23805 to inline function.
23806 (__rintf, __floor, __floorf): Likewise.
23807
64e21ede
RH
23808 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23809 macro to inline function.
23810 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23811
38842f45
RH
23812 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23813 not <math/math_private.h>.
23814
c64bf5fe
DM
238152012-03-08 David S. Miller <davem@davemloft.net>
23816
23817 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23818 copyright year.
23819 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23820
82d86f28
TS
238212012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23822
23823 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23824 normalization.
23825 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23826 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23827
aea5d727
UD
238282012-03-08 Ulrich Drepper <drepper@gmail.com>
23829
23830 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23831 be defined individually, they must be defined as a block. Define
23832 S for printing a string instead of hidint the different by using a
23833 macro for adding the 'l'.
23834 * stdio-common/tst-fphex-wide.c: Adjust.
23835
70bca0a3
MP
238362012-03-07 Marek Polacek <polacek@redhat.com>
23837
23838 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23839
65b81130
MP
238402012-03-08 Marek Polacek <polacek@redhat.com>
23841
23842 [BZ #13806]
23843 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23844 * stdio-common/tst-fphex.c: Define a few macros to make the
23845 test reusable. Use them.
23846 * stdio-common/tst-fphex-wide.c: New file.
23847
07037eeb
JM
238482012-03-08 Joseph Myers <joseph@codesourcery.com>
23849
a7a93d50
JM
23850 [BZ #6911]
23851 * manual/macros.texi (gnusystems): New macro.
23852 (nongnusystems): Likewise.
23853 (gnulinuxhurdsystems): Likewise.
23854 (gnuhurdsystems): Likewise..
23855 (gnulinuxsystems): Likewise.
23856 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23857 variants of the GNU system, not "GNU system".
23858 * manual/conf.texi: Likewise.
23859 * manual/errno.texi: Likewise. Update example of errno macro
23860 expansion.
23861 * manual/filesys.texi: Likewise.
23862 (getumask): Document as specific to GNU/Hurd.
23863 * manual/install.texi: Likewise. Reword some references to
23864 GNU/Linux.
23865 * manual/intro.texi: Likewise.
23866 * manual/io.texi: Likewise.
23867 (File Name Portability): Detail which constraints are inapplicable
23868 to all GNU systems and which are only inapplicable to GNU/Hurd.
23869 * manual/job.texi: Likewise.
23870 * manual/llio.texi: Likewise.
23871 (O_NOCTTY): Document as present on GNU/Linux.
23872 * manual/maint.texi: Likewise.
23873 * manual/memory.texi: Likewise.
23874 * manual/pattern.texi: Likewise.
23875 * manual/pipe.texi: Likewise.
23876 * manual/process.texi: Likewise.
23877 * manual/resource.texi: Likewise.
23878 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23879 child on GNU/Hurd.
23880 * manual/setjmp.texi: Likewise.
23881 * manual/signal.texi: Likewise.
23882 * manual/startup.texi: Likewise.
23883 * manual/stdio.texi: Likewise.
23884 * manual/terminal.texi: Likewise.
23885 (ONLCR): Document as POSIX.
23886 (OXTABS): Document availability on GNU/Linux as XTABS.
23887 (ONOEOT): Document availability separately from other bits.
23888 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23889 * manual/time.texi: Likewise.
23890 * manual/users.texi: Likewise.
23891 * INSTALL: Regenerated.
23892 * sysdeps/gnu/errlist.c: Regenerated.
23893
07037eeb
JM
23894 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23895 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23896 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23897 puts.
23898 * configure: Regenerated.
23899
d1d3431a
JM
239002012-03-07 Joseph Myers <joseph@codesourcery.com>
23901
af6a1e37
JM
23902 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23903 default includes instead of AC_HEADER_CHECK.
23904 * sysdeps/i386/configure: Regenerated.
23905
d1d3431a
JM
23906 [BZ #10716]
23907 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23908 * math/s_cacoshf.c (__cacoshf): Likewise.
23909 * math/s_cacoshl.c (__cacoshl): Likewise.
23910 * math/s_casinh.c (__casinh): Set signs of result from argument.
23911 * math/s_casinhf.c (__casinhf): Likewise.
23912 * math/s_casinhl.c (__casinhl): Likewise.
23913 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23914 (casinh_test): Add more tests.
23915 * sysdeps/i386/fpu/libm-test-ulps: Update.
23916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23917
482ff4da
UD
239182012-03-07 Ulrich Drepper <drepper@gmail.com>
23919
872fda05
UD
23920 * po/zh_TW.po: Update from translation team.
23921
a4300c7a
UD
23922 * login/Makefile (distribute): Remove variable.
23923 * catgets/Makefile: Likewise.
23924 * mach/Makefile: Likewise.
23925 * malloc/Makefile: Likewise.
23926 * misc/Makefile: Likewise.
23927 * iconv/Makefile: Likewise.
23928 * nscd/Makefile: Likewise.
23929 * hurd/Makefile: Likewise.
23930 * manual/Makefile: Likewise.
23931 * locale/Makefile: Likewise.
23932 * intl/Makefile: Likewise.
23933 * conform/Makefile: Likewise.
23934 * nss/Makefile: Likewise.
23935 * time/Makefile: Likewise.
23936 * soft-fp/Makefile: Likewise.
23937 * dirent/Makefile: Likewise.
23938 * gmon/Makefile: Likewise.
23939 * po/Makefile: Likewise.
23940 * rt/Makefile: Likewise.
23941 * socket/Makefile: Likewise.
23942 * math/Makefile: Likewise.
23943 * signal/Makefile: Likewise.
23944 * debug/Makefile: Likewise.
23945 * elf/Makefile: Likewise.
23946 * timezone/Makefile: Likewise.
23947 * stdlib/Makefile: Likewise.
23948 * iconvdata/Makefile: Likewise.
23949 * sunrpc/Makefile: Likewise.
23950 * io/Makefile: Likewise.
23951 * argp/Makefile: Likewise.
23952 * inet/Makefile: Likewise.
23953 * hesiod/Makefile: Likewise.
23954 * grp/Makefile: Likewise.
23955 * csu/Makefile: Likewise.
23956 * wctype/Makefile: Likewise.
23957 * crypt/Makefile: Likewise.
23958 * libio/Makefile: Likewise.
23959 * string/Makefile: Likewise.
23960 * nis/Makefile: Likewise.
23961 * resolv/Makefile: Likewise.
23962 * stdio-common/Makefile: Likewise.
23963 * wcsmbs/Makefile: Likewise.
23964 * dlfcn/Makefile: Likewise.
23965 * posix/Makefile: Likewise.
23966
3b7c4e74 23967 [BZ #6959]
482ff4da
UD
23968 * timezone/Makefile: Don't install timezone files, just the programs
23969 and scripts.
23970
f72ed77d
UD
239712012-03-06 Ulrich Drepper <drepper@gmail.com>
23972
a000466f
UD
23973 * nss/databases.def: Add missing gshadow entry.
23974
f72ed77d
UD
23975 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23976
a53b7a4e
MP
239772012-03-06 Marek Polacek <polacek@redhat.com>
23978
23979 [BZ #13726]
23980 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23981 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23982 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23983 * stdio-common/tst-long-dbl-fphex.c: New file.
23984
e9258400
DM
239852012-03-06 David S. Miller <davem@davemloft.net>
23986
23987 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23988 (set_obp_int): New function.
23989 (get_obp_int): New function.
23990 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23991 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23992 Avoid unused variable warnings on 'val' and use builtin_expect.
23993 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23994 __builtin_expect.
e9258400
DM
23995 (INLINE_CLONE_SYSCALL): Likewise.
23996
3bd2c723
DM
239972012-03-05 David S. Miller <davem@davemloft.net>
23998
23999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24000
bbb78d03
AS
240012012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24002
884c5db4
AS
24003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24004
bbb78d03
AS
24005 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24006 only for |x| >= 40.
24007 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24008
1c9f702a 240092012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24010
24011 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24012 Replace gettimeofday with __vdso_gettimeofday.
24013
7be16f82
RM
24014 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24015 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24016 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24017
24018 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24019 time with __vdso_time.
24020
ed58a00f
JM
240212012-03-05 Joseph Myers <joseph@codesourcery.com>
24022
24023 * manual/lang.texi (size_t): Note types to which size_t may be
24024 equivalent with the GNU C Library, but do not describe when
24025 differences between them are significant.
24026
30ee4ced
AJ
240272012-03-05 Andreas Jaeger <aj@suse.de>
24028
24029 * sysdeps/i386/fpu/libm-test-ulps: Update.
24030
b7cd39e8
JM
240312012-03-05 Joseph Myers <joseph@codesourcery.com>
24032
24033 [BZ #3976]
24034 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24035 (__ieee754_pow): Save and restore rounding mode and use
24036 round-to-nearest for main computations.
24037 * math/libm-test.inc (pow_test_tonearest): New function.
24038 (pow_test_towardzero): Likewise.
24039 (pow_test_downward): Likewise.
24040 (pow_test_upward): Likewise.
24041 (main): Call the new functions.
24042 * sysdeps/i386/fpu/libm-test-ulps: Update.
24043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24044
24045 [BZ #3976]
24046 * math/libm-test.inc (cosh_test_tonearest): New function.
24047 (cosh_test_towardzero): Likewise.
24048 (cosh_test_downward): Likewise.
24049 (cosh_test_upward): Likewise.
24050 (sinh_test_tonearest): Likewise.
24051 (sinh_test_towardzero): Likewise.
24052 (sinh_test_downward): Likewise.
24053 (sinh_test_upward): Likewise.
24054 (main): Call the new functions.
24055 * sysdeps/i386/fpu/libm-test-ulps: Update.
24056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24057
6c6a98c9
TV
240582012-03-05 Tom de Vries <tom@codesourcery.com>
24059
24060 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24061 default stack guard is set in last bytes.
24062 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24063
21bb2d2e 240642012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24065
21bb2d2e 24066 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24067
21bb2d2e
AJ
24068 [BZ #13656]
24069 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24070 possibly allocate from heap instead of stack.
24071 * stdio-common/bug-vfprintf-nargs.c: New file.
24072 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24073
c6922934
AS
240742012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24075
24076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24077
bc957d53
MP
240782012-03-03 Marek Polacek <polacek@redhat.com>
24079
24080 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24081 * math/math_private.h: Likewise.
24082 * stdlib/tst-strtod.c: Likewise.
24083 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24084 * sysdeps/x86_64/bits/atomic.h: Likewise.
24085
6358490d
DM
240862012-03-02 David S. Miller <davem@davemloft.net>
24087
24088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24092 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24093 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24094 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24095 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24096
01ae168d
RM
240972012-03-02 Roland McGrath <roland@hack.frob.com>
24098
d9a17c07
RM
24099 [BZ #13792]
24100 * manual/examples/README: New file, says the example source files
24101 can be used under GPL>=2.
24102 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24103 line containing just "*/".
24104 * manual/examples/add.c: Add copyright header (GPL>=2).
24105 * manual/examples/argp-ex1.c: Likewise.
24106 * manual/examples/argp-ex2.c: Likewise.
24107 * manual/examples/argp-ex3.c: Likewise.
24108 * manual/examples/argp-ex4.c: Likewise.
24109 * manual/examples/atexit.c: Likewise.
24110 * manual/examples/db.c: Likewise.
24111 * manual/examples/dir.c: Likewise.
24112 * manual/examples/dir2.c: Likewise.
24113 * manual/examples/execinfo.c: Likewise.
24114 * manual/examples/filecli.c: Likewise.
24115 * manual/examples/filesrv.c: Likewise.
24116 * manual/examples/fmtmsgexpl.c: Likewise.
24117 * manual/examples/genpass.c: Likewise.
24118 * manual/examples/inetcli.c: Likewise.
24119 * manual/examples/inetsrv.c: Likewise.
24120 * manual/examples/isockad.c: Likewise.
24121 * manual/examples/longopt.c: Likewise.
24122 * manual/examples/memopen.c: Likewise.
24123 * manual/examples/memstrm.c: Likewise.
24124 * manual/examples/mkfsock.c: Likewise.
24125 * manual/examples/mkisock.c: Likewise.
24126 * manual/examples/mygetpass.c: Likewise.
24127 * manual/examples/pipe.c: Likewise.
24128 * manual/examples/popen.c: Likewise.
24129 * manual/examples/rprintf.c: Likewise.
24130 * manual/examples/search.c: Likewise.
24131 * manual/examples/select.c: Likewise.
24132 * manual/examples/setjmp.c: Likewise.
24133 * manual/examples/sigh1.c: Likewise.
24134 * manual/examples/sigusr.c: Likewise.
24135 * manual/examples/stpcpy.c: Likewise.
24136 * manual/examples/strdupa.c: Likewise.
24137 * manual/examples/strftim.c: Likewise.
24138 * manual/examples/strncat.c: Likewise.
24139 * manual/examples/subopt.c: Likewise.
24140 * manual/examples/swapcontext.c: Likewise.
24141 * manual/examples/termios.c: Likewise.
24142 * manual/examples/testopt.c: Likewise.
24143 * manual/examples/testpass.c: Likewise.
24144 * manual/examples/timeval_subtract.c: Likewise.
24145
01ae168d
RM
24146 [BZ #13792]
24147 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24148 function to ...
24149 * manual/timeval_subtract.c.texi: ... here, new file.
24150
49efa33d
DM
241512012-03-02 David S. Miller <davem@davemloft.net>
24152
24153 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24154
28afd92d
JM
241552012-03-02 Joseph Myers <joseph@codesourcery.com>
24156
804360ed
JM
24157 [BZ #3976]
24158 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24159 (__sin): Save and restore rounding mode and use round-to-nearest
24160 for all computations.
24161 (__cos): Save and restore rounding mode and use round-to-nearest
24162 for all computations.
24163 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24164 <fenv.h>.
24165 (tan): Save and restore rounding mode and use round-to-nearest for
24166 all computations.
24167 * math/libm-test.inc (cos_test_tonearest): New function.
24168 (cos_test_towardzero): Likewise.
24169 (cos_test_downward): Likewise.
24170 (cos_test_upward): Likewise.
24171 (sin_test_tonearest): Likewise.
24172 (sin_test_towardzero): Likewise.
24173 (sin_test_downward): Likewise.
24174 (sin_test_upward): Likewise.
24175 (tan_test_tonearest): Likewise.
24176 (tan_test_towardzero): Likewise.
24177 (tan_test_downward): Likewise.
24178 (tan_test_upward): Likewise.
24179 (main): Call the new functions.
24180 * sysdeps/i386/fpu/libm-test-ulps: Update.
24181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24182
a6d06d7b
JM
24183 [BZ #10135]
24184 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24185 small n, then large n, before computing and testing k+n.
24186 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24187 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24188 Likewise.
24189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24190 Likewise.
24191 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24192 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24193 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24194 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24195 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24196 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24197 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24198 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24199 * math/libm-test.inc (scalbn_test): Add more tests.
24200 (scalbln_test): Likewise.
24201
07e12bb3
JM
24202 * manual/filesys.texi (mode_t): Describe constraints on size and
24203 signedness, not exact equivalence to a particular type.
24204 (ino_t): Likewise.
24205 (ino64_t): Likewise.
24206 (dev_t): Likewise.
24207 (nlink_t): Likewise.
24208 (blkcnt_t): Likewise.
24209 (blkcnt64_t): Likewise.
24210 * manual/llio.texi (off_t): Likewise.
24211
28afd92d
JM
24212 [BZ #3976]
24213 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24214 (__ieee754_exp): Save and restore rounding mode and use
24215 round-to-nearest for all computations.
24216 * math/libm-test.inc (exp_test_tonearest): New function.
24217 (exp_test_towardzero): Likewise.
24218 (exp_test_downward): Likewise.
24219 (exp_test_upward): Likewise.
24220 (main): Call the new functions.
24221 * sysdeps/i386/fpu/libm-test-ulps: Update.
24222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24223
b1eeb65d
CD
242242012-03-01 Chris Demetriou <cgd@google.com>
24225
24226 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24227 have predictable order.
24228
53362a4b
DM
242292012-03-01 David S. Miller <davem@davemloft.net>
24230
3c969083
DM
24231 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24232
759707de
DM
24233 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24234 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24235 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24236 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24237
dfdb8ff2
DM
24238 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24239 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24240 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24242 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24243 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24244 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24245 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24246 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24247
ead89f96
DM
24248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24249
7f66bd07
DM
24250 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24251 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24252 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24253
53362a4b
DM
24254 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24255 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24256 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24257 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24258 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24259 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24260 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24261 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24262 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24263 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24264 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24265 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24266 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24267 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24268 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24269 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24270 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24271 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24272 * sysdeps/sparc/elf/configure: Regenerated.
24273
7b1902cb
JM
242742012-03-01 Joseph Myers <joseph@codesourcery.com>
24275
bec039bc
JM
24276 * configure.in (AS, LD): Require binutils 2.20 or later.
24277 * configure: Regenerated.
24278 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24279 as required minimum version.
24280 * INSTALL: Regenerated.
24281
7b1902cb
JM
24282 [BZ #2541]
24283 [BZ #4108]
24284 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24285 before squaring exponent.
24286 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24287 bottom long double and 27 bits of top long double before squaring
24288 exponent.
24289 * math/libm-test.inc (erfc_test): Add more tests.
24290 * sysdeps/i386/fpu/libm-test-ulps: Update.
24291 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24293
f775c276
KT
242942012-03-01 Kai Tietz <ktietz@redhat.com>
24295
24296 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24297 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24298 containing bit-fields.
24299 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24300 * soft-fp/single.h (_FP_UNION_S): Likewise.
24301 * soft-fp/double.h (_FP_UNION_D): Likewise.
24302
5b8a4d4a
JM
243032012-02-29 Joseph Myers <joseph@codesourcery.com>
24304
0bab47b6
JM
24305 [BZ #13786]
24306 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24307 not include ../strcmp.S.
24308 [USE_AS_STRNCASECMP_L]: Likewise.
24309 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24310 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24311 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24312 (__strncasecmp_l_ia32): Define as alias to
24313 __strncasecmp_l_nonascii.
24314
0fcad3e2
JM
24315 [BZ #5794]
24316 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24317 * sysdeps/i386/fpu/libm-test-ulps: Update.
24318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24319
5b8a4d4a
JM
24320 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24322
8fdceb2e
JL
243232012-02-29 Jeff Law <law@redhat.com>
24324
24325 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24326 out of bounds read.
24327
1f393a11
MP
243282012-02-29 Marek Polacek <polacek@redhat.com>
24329
24330 [BZ #13706]
24331 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24332 * elf/Makefile: Add rules to run tst-unused-dep.out.
24333
8847f037
DM
243342012-02-28 David S. Miller <davem@davemloft.net>
24335
24336 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24337 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24338 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24339 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24340 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24341 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24342
169d7f11
JM
243432012-02-29 Joseph Myers <joseph@codesourcery.com>
24344
24345 * math/libm-test.inc (llround_test): Move one test from
24346 lround_test. Use TEST_f_L in moved test.
24347 (lround_test): Move misplaced test to llround_test. Add testcase
24348 from bug 2561.
24349
39adf059
UD
243502012-02-28 Ulrich Drepper <drepper@gmail.com>
24351
24352 * sysdeps/x86_64/fpu/e_expf.S: New file.
24353 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24354
71b5d1c5
SB
243552012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24356
24357 [BZ #13637]
24358 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24359 of remain_len that may cause incomplete multi-byte character and
24360 false match.
24361 * posix/bug-regex33.c: New file.
24362 * posix/Makefile (tests): Add bug-regex33.
24363
1f77f049
JM
243642012-02-28 Joseph Myers <joseph@codesourcery.com>
24365
24366 * manual/macros.texi: New file.
24367 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24368 * manual/libc.texinfo: Include macros.texi.
24369 * manual/creatute.texi: Likewise.
24370 * manual/install.texi: Likewise.
24371 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24372 @glibcadj{} in references to the GNU C Library.
24373 * manual/charset.texi: Likewise.
24374 * manual/conf.texi: Likewise.
24375 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24376 when not using those macros.
24377 * manual/creature.texi: Likewise.
24378 * manual/crypt.texi: Likewise.
24379 * manual/errno.texi: Likewise.
24380 * manual/filesys.texi: Likewise.
24381 * manual/header.texi: Likewise.
24382 * manual/install.texi: Likewise.
24383 * manual/intro.texi: Likewise.
24384 * manual/io.texi: Likewise.
24385 * manual/job.texi: Likewise.
24386 * manual/lang.texi: Likewise.
24387 * manual/libc.texiinfo: Likewise.
24388 * manual/llio.texi: Likewise.
24389 * manual/locale.texi: Likewise.
24390 * manual/maint.texi: Likewise.
24391 * manual/math.texi: Likewise.
24392 * manual/memory.texi: Likewise.
24393 * manual/message.texi: Likewise.
24394 * manual/nss.texi: Likewise.
24395 * manual/pattern.texi: Likewise.
24396 * manual/process.texi: Likewise.
24397 * manual/resource.texi: Likewise.
24398 * manual/search.texi: Likewise.
24399 * manual/setjmp.texi: Likewise.
24400 * manual/signal.texi: Likewise.
24401 * manual/socket.texi: Likewise.
24402 * manual/startup.texi: Likewise.
24403 * manual/stdio.texi: Likewise.
24404 * manual/string.texi: Likewise.
24405 * manual/sysinfo.texi: Likewise.
24406 * manual/syslog.texi: Likewise.
24407 * manual/terminal.texi: Likewise.
24408 * manual/time.texi: Likewise.
24409 * manual/users.texi: Likewise.
24410 * INSTALL: Regenerated.
24411 * NOTES: Regenerated.
d40c5d54 24412 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24413
450bf206
AS
244142012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24415
24416 * include/dirent.h: Include <dirstream.h> before
24417 <dirent/dirent.h>.
24418
741a235b
DM
244192012-02-28 David S. Miller <davem@davemloft.net>
24420
24421 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24422 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24423 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24424 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24425
d6b5aa58
DM
244262012-02-27 David S. Miller <davem@davemloft.net>
24427
1aff59a3
DM
24428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24430 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24431 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24432
d6b5aa58
DM
24433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24434 frame pointer instead of stack pointer relative arg slot.
24435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24436 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24437 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24438
433f48bf
CD
244392012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24440
24441 [BZ #3992]
24442 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24443
d674b76d
DM
244442012-02-27 David S. Miller <davem@davemloft.net>
24445
24446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24450 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24451 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24452 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24453 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24454
0e7727f7
JM
244552012-02-27 Joseph Myers <joseph@codesourcery.com>
24456
24457 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24458 later. Allow versions 5-9.
43be4ca2 24459 * configure: Regenerated.
0e7727f7
JM
24460 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24461 required minimum version and 4.6 as recommended version. Do not
24462 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24463 * INSTALL: Regenerated.
0e7727f7 24464
a78bc654
DM
244652012-02-27 David S. Miller <davem@davemloft.net>
24466
428d5830
DM
24467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24471 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24472 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24473 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24474 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24475
a78bc654
DM
24476 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24477 manipulate bits before adding and subtracting TWO112[sx].
24478 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24479
4579f81c
RM
244802012-02-27 Roland McGrath <roland@hack.frob.com>
24481
36c8acb4
RM
24482 [BZ #13775]
24483 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24484 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24485 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24486 being in POSIX, because they are in 1003.1-2008.
24487
84ad622b
RM
24488 * rt/tst-aio.c: Include <fcntl.h>.
24489 * rt/tst-aio7.c: Likewise.
24490 * rt/tst-aio64.c: Likewise.
24491
4579f81c
RM
24492 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24493
abd923db
JM
244942012-02-27 Joseph Myers <joseph@codesourcery.com>
24495
24496 * manual/install.texi (--with-headers): Describe headers as
24497 interface headers, not private headers.
24498 (Specific advice for GNU/Linux systems): Describe use of headers
24499 from "make headers_install", not private headers from older
24500 kernels.
43be4ca2 24501 * INSTALL: Regenerated.
abd923db
JM
24502 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24503 Change to 2.6.19.
24504 * sysdeps/unix/sysv/linux/configure: Regenerated.
24505
6664049b
JM
24506 * manual/llio.texi (fclean): Remove documentation.
24507
bb8b6697
JM
24508 * manual/Makefile (libc-texi-generated): New variable. Include
24509 version.texi.
24510 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24511 $(libc-texi-generated), not duplicated list of files.
24512 (version.texi, stamp-version): New rules.
24513 (realclean): Remove $(libc-texi-generated), not individual files
24514 from that list. Do not remove dir-add.texinfo.
24515 * manual/libc.texinfo: Comment out uses of edition numbers and
24516 references to printed manual. Remove last-updated dates.
24517 (EDITION): Comment out.
24518 (ISBN): Likewise.
24519 (VERSION, UPDATED): Remove.
24520 (version.texi): Include.
24521
12e5c3b9
AS
245222012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24523
24524 * sysdeps/posix/spawni.c: Include <signal.h>.
24525 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24526 * sysdeps/pthread/aio_fsync.c: Likewise.
24527
4efeffc1 245282012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24529
ba63ba08
UD
24530 * conform/Makefile (tests): Run only when not cross-compiling and
24531 when fast-check is not defined.
24532
d94a4670
UD
24533 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24534 * conform/data/limits.h-data: Fixes for POSIX2008.
24535 * conform/run-conformtest.sh: Run all tests.
24536 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24537 headers.
24538 * include/bits/dlfcn.h: Likewise.
24539 * include/langinfo.h: Likewise.
24540 * include/monetary.h: Likewise.
24541 * include/sys/poll.h: Likewise.
24542
24543 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24544 for __USE_GNU.
24545 * posix/spawn.h: Define __need_sigset_t.
24546 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24547 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24548 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24549 to get sigevent_t only.
24550 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24551 only for __USE_GNU.
24552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24553 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24554 process_vm_writev only for __USE_GNU.
24555 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24556
24557 * conform/Makefile: For now ignore errors from run-conformtest.
24558 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24559 POSIX to avoid namespace pollution. Don't prepend headers.
24560 * conform/data/aio.h-data: Fixes for POSIX testing.
24561 * conform/data/fcntl.h-data: Likewise.
24562 * conform/data/glob.h-data: Likewise.
24563 * conform/data/grp.h-data: Likewise.
24564 * conform/data/pthread.h-data: Likewise.
24565 * conform/data/pwd.h-data: Likewise.
24566 * conform/data/signal.h-data: Likewise.
24567 * conform/data/spawn.h-data: Likewise.
24568 * conform/data/stdio.h-data: Likewise.
24569 * conform/data/stdlib.h-data: Likewise.
24570 * conform/data/stropts.h-data: Likewise.
24571 * conform/data/sys/mman.h-data: Likewise.
24572 * conform/data/sys/stat.h-data: Likewise.
24573 * conform/data/sys/types.h-data: Likewise.
24574 * conform/data/sys/wait.h-data: Likewise.
24575 * conform/data/time.h-data: Likewise.
24576 * conform/data/unistd.h-data: Likewise.
24577 * conform/data/utime.h-data: Likewise.
24578
24579 * io/sys/stat.h: fchmod was always in POSIX.
24580 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24581 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24582 * rt/aio.h: Define __need_timespec before including <time.h>.
24583 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24584 struct. Add forward declaration of pthread_attr_t and use it in
24585 sigevent.
24586 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24587 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24588 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24589 always remove CLK_TCK definition.
24590
c20105c3
AS
245912012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24592
24593 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24594
7a270350
UD
245952012-02-25 Ulrich Drepper <drepper@gmail.com>
24596
31341567
UD
24597 * conform/run-conformtest.sh: New file.
24598 * conform/Makefile: Run run-conformtest for tests.
24599 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24600 support.
24601
24602 * conform/data/uchar.h-data: New file.
24603 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24604 * conform/data/arpa/inet.h-data: Likewise.
24605 * conform/data/assert.h-data: Likewise.
24606 * conform/data/complex.h-data: Likewise.
24607 * conform/data/cpio.h-data: Likewise.
24608 * conform/data/ctype.h-data: Likewise.
24609 * conform/data/dirent.h-data: Likewise.
24610 * conform/data/dlfcn.h-data: Likewise.
24611 * conform/data/errno.h-data: Likewise.
24612 * conform/data/fcntl.h-data: Likewise.
24613 * conform/data/float.h-data: Likewise.
24614 * conform/data/fmtmsg.h-data: Likewise.
24615 * conform/data/fnmatch.h-data: Likewise.
24616 * conform/data/ftw.h-data: Likewise.
24617 * conform/data/glob.h-data: Likewise.
24618 * conform/data/grp.h-data: Likewise.
24619 * conform/data/iconv.h-data: Likewise.
24620 * conform/data/inttypes.h-data: Likewise.
24621 * conform/data/langinfo.h-data: Likewise.
24622 * conform/data/libgen.h-data: Likewise.
24623 * conform/data/limits.h-data: Likewise.
24624 * conform/data/locale.h-data: Likewise.
24625 * conform/data/math.h-data: Likewise.
24626 * conform/data/monetary.h-data: Likewise.
24627 * conform/data/mqueue.h-data: Likewise.
24628 * conform/data/ndbm.h-data: Likewise.
24629 * conform/data/net/if.h-data: Likewise.
24630 * conform/data/netdb.h-data: Likewise.
24631 * conform/data/netinet/in.h-data: Likewise.
24632 * conform/data/nl_types.h-data: Likewise.
24633 * conform/data/poll.h-data: Likewise.
24634 * conform/data/pthread.h-data: Likewise.
24635 * conform/data/pwd.h-data: Likewise.
24636 * conform/data/regex.h-data: Likewise.
24637 * conform/data/sched.h-data: Likewise.
24638 * conform/data/search.h-data: Likewise.
24639 * conform/data/semaphore.h-data: Likewise.
24640 * conform/data/setjmp.h-data: Likewise.
24641 * conform/data/signal.h-data: Likewise.
24642 * conform/data/spawn.h-data: Likewise.
24643 * conform/data/stdarg.h-data: Likewise.
24644 * conform/data/stdio.h-data: Likewise.
24645 * conform/data/stdlib.h-data: Likewise.
24646 * conform/data/string.h-data: Likewise.
24647 * conform/data/strings.h-data: Likewise.
24648 * conform/data/stropts.h-data: Likewise.
24649 * conform/data/sys/ipc.h-data: Likewise.
24650 * conform/data/sys/mman.h-data: Likewise.
24651 * conform/data/sys/msg.h-data: Likewise.
24652 * conform/data/sys/resource.h-data: Likewise.
24653 * conform/data/sys/select.h-data: Likewise.
24654 * conform/data/sys/sem.h-data: Likewise.
24655 * conform/data/sys/shm.h-data: Likewise.
24656 * conform/data/sys/socket.h-data: Likewise.
24657 * conform/data/sys/stat.h-data: Likewise.
24658 * conform/data/sys/statvfs.h-data: Likewise.
24659 * conform/data/sys/time.h-data: Likewise.
24660 * conform/data/sys/timeb.h-data: Likewise.
24661 * conform/data/sys/times.h-data: Likewise.
24662 * conform/data/sys/types.h-data: Likewise.
24663 * conform/data/sys/uio.h-data: Likewise.
24664 * conform/data/sys/un.h-data: Likewise.
24665 * conform/data/sys/utsname.h-data: Likewise.
24666 * conform/data/sys/wait.h-data: Likewise.
24667 * conform/data/syslog.h-data: Likewise.
24668 * conform/data/tar.h-data: Likewise.
24669 * conform/data/termios.h-data: Likewise.
24670 * conform/data/utime.h-data: Likewise.
24671 * conform/data/utmpx.h-data: Likewise.
24672 * conform/data/varargs.h-data: Likewise.
24673 * conform/data/wchar.h-data: Likewise.
24674 * conform/data/wctype.h-data: Likewise.
24675 * conform/data/wordexp.h-data: Likewise.
24676
24677 * include/stropts.h: New file.
24678 * include/uchar.h: New file.
24679 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24680 * include/assert.h: Likewise.
24681 * include/ctype.h: Likewise.
24682 * include/dirent.h: Likewise.
24683 * include/dlfcn.h: Likewise.
24684 * include/fcntl.h: Likewise.
24685 * include/fnmatch.h: Likewise.
24686 * include/glob.h: Likewise.
24687 * include/grp.h: Likewise.
24688 * include/libio.h: Likewise.
24689 * include/locale.h: Likewise.
24690 * include/math.h: Likewise.
24691 * include/net/if.h: Likewise.
24692 * include/netdb.h: Likewise.
24693 * include/netinet/in.h: Likewise.
24694 * include/pthread.h: Likewise.
24695 * include/pwd.h: Likewise.
24696 * include/regex.h: Likewise.
24697 * include/sched.h: Likewise.
24698 * include/search.h: Likewise.
24699 * include/setjmp.h: Likewise.
24700 * include/signal.h: Likewise.
24701 * include/stdio.h: Likewise.
24702 * include/stdlib.h: Likewise.
24703 * include/string.h: Likewise.
24704 * include/sys/cdefs.h: Likewise.
24705 * include/sys/mman.h: Likewise.
24706 * include/sys/msg.h: Likewise.
24707 * include/sys/resource.h: Likewise.
24708 * include/sys/select.h: Likewise.
24709 * include/sys/socket.h: Likewise.
24710 * include/sys/stat.h: Likewise.
24711 * include/sys/statvfs.h: Likewise.
24712 * include/sys/time.h: Likewise.
24713 * include/sys/times.h: Likewise.
24714 * include/sys/uio.h: Likewise.
24715 * include/sys/utsname.h: Likewise.
24716 * include/sys/wait.h: Likewise.
24717 * include/termios.h: Likewise.
24718 * include/time.h: Likewise.
24719 * include/ulimit.h: Likewise.
24720 * include/unistd.h: Likewise.
24721 * include/utime.h: Likewise.
24722 * include/wchar.h: Likewise.
24723 * include/wctype.h: Likewise.
24724 * include/wordexp.h: Likewise.
24725
24726 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24727
7a270350
UD
24728 * time/time.h: TIME_UTC must be a macro.
24729 Make timespec_get available for ISO C11 only as well.
24730
7724defc
UD
247312012-02-24 Ulrich Drepper <drepper@gmail.com>
24732
24733 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24734 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24735
6b1d1d46
JM
247362012-02-24 Joseph Myers <joseph@codesourcery.com>
24737
24738 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24739
0f8bbd69
JM
247402012-02-24 Joseph Myers <joseph@codesourcery.com>
24741
24742 * manual/texinfo.tex: Update to version 2012-01-19.16.
24743
66ab80bc
JM
247442012-02-24 Joseph Myers <joseph@codesourcery.com>
24745
24746 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24747
74981cc5
RM
247482012-02-24 Roland McGrath <roland@hack.frob.com>
24749
ee968201
RM
24750 [BZ #13738]
24751 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24752 * manual/fdl-1.3.texi: New file.
24753 * manual/fdl-1.1.texi: File removed.
24754
74981cc5
RM
24755 [BZ #13738]
24756 * manual/libc.texinfo (FDL_VERSION): New @set.
24757 Use it for mention of FDL in cover text.
24758 (Documentation License): Use it in @include file name.
24759
7bb764bc
JM
247602012-02-22 Joseph Myers <joseph@codesourcery.com>
24761 Roland McGrath <roland@hack.frob.com>
24762
24763 [BZ #5461]
24764 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24765 not LONG_LONG_MAX and LONG_LONG_MIN.
24766 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24767 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24768 name.
24769 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24770
6cbeae47
JM
247712012-02-22 Joseph Myers <joseph@codesourcery.com>
24772
24773 [BZ #2547]
24774 [BZ #11365]
24775 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24776 manipulate bits before adding and subtracting TWO23[sx].
24777 * math/libm-test.inc (nearbyint_test): Add more tests.
24778
fe45ce09
JM
247792012-02-22 Joseph Myers <joseph@codesourcery.com>
24780
24781 [BZ #2548]
24782 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24783 bits before adding and subtracting TWO23[sx].
24784 * math/libm-test.inc (rint_test): Add more tests.
24785 (rint_test_tonearest): Likewise.
24786 (rint_test_towardzero): Likewise.
24787 (rint_test_downward): Likewise.
24788 (rint_test_upward: Likewise.
24789
ff3b3d82
JM
247902012-02-22 Joseph Myers <joseph@codesourcery.com>
24791
24792 [BZ #10110]
24793 * include/stdc-predef.h: New file. Extracted from features.h.
24794 * include/features.h: Include stdc-predef.h.
24795 * Makefile (headers): Add stdc-predef.h.
24796 * CONFORMANCE (Compiler limitations): Update.
24797
ef0aab35
JM
247982012-02-22 Joseph Myers <joseph@codesourcery.com>
24799
24800 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24801
58639409
DM
248022012-02-21 David S. Miller <davem@davemloft.net>
24803
24804 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24805 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24806
c0e70b25
DM
248072012-02-20 David S. Miller <davem@davemloft.net>
24808
24809 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24810 using a normal save/restore sequence, rather than allocating a
24811 dummy stack frame just to store a frame pointer and restore.
24812 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24813
fb06851d
JM
248142012-02-21 Joseph Myers <joseph@codesourcery.com>
24815
24816 * manual/install.texi: Fix stray word in line-wrapped comment.
24817
7a8b71c3
DM
248182012-02-20 David S. Miller <davem@davemloft.net>
24819
d510c123
DM
24820 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24821 both binutils and gcc support GOTDATA.
24822
0722d7c2
DM
24823 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24824 "rd %pc" in the PIC register setup sequences.
24825
3d2b3019
DM
24826 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24827 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24828 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24829 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24830 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24831 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24832 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24833 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24835 (SYSCALL_ERROR_HANDLER): Likewise.
24836 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24837 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24838 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24839 (SYSCALL_ERROR_HANDLER): Likewise.
24840
c80098a9
DM
24841 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24842 (HAVE_GCC_GOTDATA): New.
24843 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24844 relocation support in both binutils and gcc.
24845 * sysdeps/sparc/elf/configure: Regenerate.
24846
3a2545a0
DM
24847 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24848 * sysdeps/sparc/sparc32/elf/configure: Delete.
24849 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24850 * sysdeps/sparc/sparc64/elf/configure: Delete.
24851 * sysdeps/sparc/elf/configure.in: New file.
24852 * sysdeps/sparc/elf/configure: Generate.
24853
7a8b71c3
DM
24854 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24855 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24856 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24857 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24858 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24859
f1e86fca
JM
248602012-02-21 Joseph Myers <joseph@codesourcery.com>
24861
24862 * manual/install.texi: Do not mention specific glibc version
24863 numbers.
24864 * manual/libc.texinfo (VERSION, UPDATED): Update.
24865 (@copying): Use @copyright{} and range of years.
24866
0e7dfaef
JM
248672012-02-21 Joseph Myers <joseph@codesourcery.com>
24868
24869 [BZ #13695]
24870 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24871 [crti.S not in sysdirs] (generated): Do not append.
24872 [crti.S not in sysdirs] (omit-deps): Likewise.
24873 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24874 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24875 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24876 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24877 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24878 Likewise.
24879 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24880 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24881 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24882 * csu/defs.awk: Remove file.
24883 * sysdeps/generic/initfini.c: Likewise.
24884 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24885 variable.
24886 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24887 Likewise.
24888
599af3ca
JM
248892012-02-20 Joseph Myers <joseph@codesourcery.com>
24890
24891 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24892 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24893 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24894 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24895 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24896 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24897 <bits/epoll.h>.
24898 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24899 (__EPOLL_PACKED): Define to empty if not defined by
24900 <bits/epoll.h>.
24901 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24903 bits/epoll.h.
24904
0e499750
JM
249052012-02-20 Joseph Myers <joseph@codesourcery.com>
24906
24907 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24908 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24909 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24910 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24911 <bits/timerfd.h>.
24912 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24913 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24914 bits/timerfd.h.
24915
5ad91f6e
JM
249162012-02-20 Joseph Myers <joseph@codesourcery.com>
24917
24918 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24919 in C locale.
24920 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24921 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24922 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24924
06b99b02
AJ
249252012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24926
24927 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24928 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24929
7638c0fd
AS
249302012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24931
24932 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24933 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24934 defined.
24935 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24936 Likewise.
24937 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24938 entry for 2.16.
24939
92221550
AJ
249402012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24941
24942 * math/w_acos.c: Use non-signaling floating-point comparisons.
24943 * math/w_acosf.c: Likewise.
24944 * math/w_acosh.c: Likewise.
24945 * math/w_acoshf.c: Likewise.
24946 * math/w_acoshl.c: Likewise.
24947 * math/w_acosl.c: Likewise.
24948 * math/w_asin.c: Likewise.
24949 * math/w_asinf.c: Likewise.
24950 * math/w_asinl.c: Likewise.
24951 * math/w_atanh.c: Likewise.
24952 * math/w_atanhf.c: Likewise.
24953 * math/w_atanhl.c: Likewise.
24954 * math/w_exp2.c: Likewise.
24955 * math/w_exp2f.c: Likewise.
24956 * math/w_exp2l.c: Likewise.
24957 * math/w_j0.c: Likewise.
24958 * math/w_j0f.c: Likewise.
24959 * math/w_j0l.c: Likewise.
24960 * math/w_j1.c: Likewise.
24961 * math/w_j1f.c: Likewise.
24962 * math/w_j1l.c: Likewise.
24963 * math/w_jn.c: Likewise.
24964 * math/w_jnf.c: Likewise.
24965 * math/w_log.c: Likewise.
24966 * math/w_log10.c: Likewise.
24967 * math/w_log10f.c: Likewise.
24968 * math/w_log10l.c: Likewise.
24969 * math/w_log2.c: Likewise.
24970 * math/w_log2f.c: Likewise.
24971 * math/w_log2l.c: Likewise.
24972 * math/w_logf.c: Likewise.
24973 * math/w_logl.c: Likewise.
24974 * math/w_sqrt.c: Likewise.
24975 * math/w_sqrtf.c: Likewise.
24976 * math/w_sqrtl.c: Likewise.
24977 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24978 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24979 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24980 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24981 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24982
ebaf36eb
JM
249832012-02-19 Joseph Myers <joseph@codesourcery.com>
24984
24985 [BZ #9739]
24986 * manual/string.texi (strnlen): Use correct parameter name in
24987 equivalent expression.
24988
71c254a6
JM
249892012-02-19 Joseph Myers <joseph@codesourcery.com>
24990
24991 [BZ #11174]
24992 * manual/users.texi (seteuid): Consistently use neweuid for
24993 argument name.
24994
16d2c631
JM
249952012-02-19 Joseph Myers <joseph@codesourcery.com>
24996
24997 [BZ #13704]
24998 * manual/nss.texi (Services in the NSS configuration): Correct
24999 list of services in example configuration file.
25000
cd837b09
NB
250012012-02-19 Nick Bowler <nbowler@draconx.ca>
25002
25003 [BZ #11322]
25004 * manual/arith.texi: Remove statements about negative zero
25005 behaving identically to zero.
25006
02c4bbad
JM
250072012-02-18 Joseph Myers <joseph@codesourcery.com>
25008
25009 [BZ #5993]
25010 * manual/install.texi: Do not document upgrading from libc5.
25011
366842e7
JM
250122012-02-18 Joseph Myers <joseph@codesourcery.com>
25013
25014 [BZ #4596]
25015 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25016
dd54084d
DM
250172012-02-18 David S. Miller <davem@davemloft.net>
25018
25019 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25020 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25021 %o7 across the call.
25022 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25023 instead.
25024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25025 SETUP_PIC_REG_LEAF.
25026 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25027 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25028 * sysdeps/sparc/crtn.S: Likewise.
25029
2bcc53a3
UD
250302012-02-17 Ulrich Drepper <drepper@gmail.com>
25031
25032 * aout/Makefile: Remove.
25033
09c093b5
RK
250342012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25035
25036 [BZ #13058]
25037 * manual/examples/argp-ex1.c (main): Format definition in GNU
25038 style.
25039 * manual/examples/argp-ex2.c (main): Likewise.
25040 * manual/examples/argp-ex3.c (main): Likewise.
25041 * manual/examples/argp-ex4.c (main): Likewise.
25042 * manual/examples/longopt.c (main): Use new-style prototype
25043 definition.
25044 * manual/examples/strncat.c (main): Specify return type and use
25045 (void) for arguments.
25046 * manual/examples/subopt.c (main): Use char **argv argument.
25047
2ee633a2
JM
250482012-02-17 Joseph Myers <joseph@codesourcery.com>
25049
25050 [BZ #5077]
25051 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25052 rounding modes.
25053
0520adde
FB
250542012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25055
25056 [BZ #6907]
25057 * manual/string.texi (strchr): Change when strchrnul is
25058 recommended.
25059
3f4081cd
DGM
250602012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25061
25062 [BZ #174]
25063 * manual/locale.texi (setlocale): Document LOCPATH.
25064
d1b10e78
JM
250652012-02-17 Joseph Myers <joseph@codesourcery.com>
25066
25067 [BZ #10210]
25068 * manual/process.texi (execle): Move @dots{} before last argument.
25069
79c6869c
PB
250702012-02-17 Paul Bolle <pebolle@tiscali.nl>
25071
25072 [BZ #12047]
25073 * manual/charset.texi (Generic Charset Conversion): Fix typo
25074 (LC_TYPE -> LC_CTYPE).
25075
cc6e48bc
NB
250762012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25077
25078 [BZ #5805]
25079 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25080 (scalbnf): Likewise.
25081 (scalbnl): Likewise.
25082 (scalbln): Likewise.
25083 (scalblnf): Likewise.
25084 (scalblnl): Likewise.
25085 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25086 (vwarnx): Likewise.
25087 (verr): Likewise.
25088 (verrx): Likewise.
25089 * manual/filesys.texi (telldir): Use braces around return type.
25090 * manual/llio.texi (mmap): Add space after comma.
25091 (mmap64): Likewise.
25092 * manual/math.texi (jn): Use @var{} on parameter names.
25093 (jnf): Likewise.
25094 (jnl): Likewise.
25095 (yn): Likewise.
25096 (ynf): Likewise.
25097 (ynl): Likewise.
25098 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25099 line.
25100 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25101 "...".
25102 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25103 (sched_get_priority_max): Likewise.
25104 * manual/signal.texi (sigvec): Add space after comma.
25105 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25106 names.
25107 (if_indextoname): Likewise.
25108 (if_freenameindex): Likewise.
25109 (sendto): Use ',' instead of '.' in prototype.
25110 * manual/startup.texi (syscall): Use @dots{} instead of literal
25111 "...".
25112 * manual/stdio.texi (__fpending): Separate initial words of
25113 paragraph from @deftypefun line.
25114 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25115 "...".
25116 (vsyslog): Use @var{} on parameter names.
25117 * manual/terminal.texi (stty): Use @var{} on parameter names.
25118 * manual/users.texi (getutmp): Use @var{} on parameter names.
25119 (getutmpx): Likewise.
25120
5b23062f
JM
251212012-02-17 Joseph Myers <joseph@codesourcery.com>
25122
25123 [BZ #6884]
25124 * manual/stdio.texi (fopen): Fix typos in description of
25125 ",ccs=STRING".
25126
8dee4833
AJ
251272012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25128
25129 [BZ #4026]
25130 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25131 get clock_id definition.
25132
9078ce93
TS
251332012-02-17 Thomas Schwinge <thomas@schwinge.name>
25134
25135 [BZ #4822]
25136 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25137 (madvise): Cast every argument to void on its own.
25138
3835c55f
JM
251392012-02-17 Joseph Myers <joseph@codesourcery.com>
25140
25141 [BZ #9902]
25142 * manual/startup.texi (Exit Status): Fix typo.
25143
35c47e37
JM
251442012-02-17 Joseph Myers <joseph@codesourcery.com>
25145
25146 [BZ #10140]
25147 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25148 * manual/examples/argp-ex2.c: Likewise.
25149 * manual/examples/argp-ex3.c: Likewise.
25150
e3b69ca7
RH
251512012-02-16 Richard Henderson <rth@redhat.com>
25152
25153 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25154 * sysdeps/s390/s390-32/initfini.c: Remove.
25155 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25156 * sysdeps/s390/s390-64/initfini.c: Remove.
25157
df83af67
KK
251582012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25159
25160 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25161 compiler output for sysdeps/generic/initfini.c.
25162 * sysdeps/sh/elf/initfini.c: Remove file.
25163
f63f3380
DM
251642012-02-16 David S. Miller <davem@davemloft.net>
25165
fb59b3a4
DM
25166 [BZ #11494]
25167 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25168
f63f3380
DM
25169 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25170 * sysdeps/sparc/crti.S: New file.
25171 * sysdeps/sparc/crtn.S: New file.
25172 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25173 * sysdeps/sparc/sparc64/Makefile: Likewise.
25174
df6a4a4a
MF
251752012-02-15 Mike Frysinger <vapier@gentoo.org>
25176
6dd8f3dc 25177 [BZ #3335]
df6a4a4a
MF
25178 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25179
1cac7236
RM
251802012-02-15 Roland McGrath <roland@hack.frob.com>
25181
d2c736f8
RM
25182 [BZ #4822]
25183 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25184
1cac7236
RM
25185 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25186 (write, read, close): Likewise.
25187 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25188
8e475601
JM
251892012-02-15 Joseph Myers <joseph@codesourcery.com>
25190
25191 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25192 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25193 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25194 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25195 <bits/signalfd.h>.
25196 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25198 bits/signalfd.h.
25199
ed656b40
MP
252002012-02-14 Marek Polacek <polacek@redhat.com>
25201
25202 * sysdeps/x86_64/crti.S: New file.
25203 * sysdeps/x86_64/crtn.S: New file.
25204 * sysdeps/x86_64/elf/initfini.c: Remove file.
25205
2a979d3a
JM
252062012-02-13 Joseph Myers <joseph@codesourcery.com>
25207
25208 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25209 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25210 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25211 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25212 <bits/inotify.h>.
25213 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25215 bits/inotify.h.
25216
2a418ac3
JM
252172012-02-13 Joseph Myers <joseph@codesourcery.com>
25218
25219 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25220 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25221 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25222 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25223 <bits/eventfd.h>.
25224 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25226 bits/eventfd.h.
25227
fb779be7
TS
252282012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25229
e19e83c5
RM
25230 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25231 __feraiseexcept instead of feraiseexcept.
7c35ffed 25232
fb779be7
TS
25233 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25234 nanosleep invocations.
25235 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25236 strings, and add error checking for a nanosleep invocations.
25237
59ba27a6
PE
252382012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25239
25240 Replace FSF snail mail address with URLs, as per GNU coding standards.
25241 Most of the snail mail addresses were wrong anyway, and omitting
25242 them makes the source code easier to maintain. Almost all of the
25243 changes are to license notices and to locale LC_IDENTIFICATION
25244 addresses, except for this one:
25245 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25246 not its snail mail address.
25247
57b957eb
RH
252482012-02-09 Richard Henderson <rth@twiddle.net>
25249
af850b1c
RH
25250 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25251 of kernel-features.h.
25252
57b957eb
RH
25253 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25254
6b73181a
MP
252552012-02-08 Marek Polacek <polacek@redhat.com>
25256
25257 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25258 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25259 * sysdeps/gnu/_G_config.h: Likewise.
25260 * sysdeps/generic/_G_config.h: Likewise.
25261
26ecc33a
AS
252622012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25263
6c6dbc63
AS
25264 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25265 tests.
25266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25267
e216c012
AS
25268 * sysdeps/powerpc/powerpc32/crti.S: New file.
25269 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25270 * sysdeps/powerpc/powerpc64/crti.S: New file.
25271 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25272
26ecc33a
AS
25273 * Makeconfig (have-initfini): Don't set.
25274 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25275 * configure.in (nopic_initfini): Don't substitute.
25276 * config.h.in (HAVE_INITFINI): Don't #undef.
25277 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25278 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25279
3add8e13
JM
252802012-02-08 Joseph Myers <joseph@codesourcery.com>
25281
25282 Support crti.S and crtn.S provided directly by architectures.
25283 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25284 [crti.S in sysdirs] (omit-deps): Likewise.
25285 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25286 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25287 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25288 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25289 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25290 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25291 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25292 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25293 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25294 compiler output for sysdeps/generic/initfini.c.
25295 * sysdeps/i386/elf/Makefile: Remove file.
25296 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25297
a22f12b4
MP
252982012-02-07 Marek Polacek <polacek@redhat.com>
25299
25300 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25301 * sysdeps/gnu/_G_config.h: Likewise.
25302 * sysdeps/mach/hurd/_G_config.h: Likewise.
25303
148cf100
MP
253042012-02-07 Marek Polacek <polacek@redhat.com>
25305
25306 * math/Makefile (tests): Add tst-CMPLX2.
25307 * math/tst-CMPLX2.c: New file.
25308
cfdc0dd7
AS
253092012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25310
84ba42c4
AS
25311 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25312
cfdc0dd7
AS
25313 * math/libm-test.inc (jn_test): Add missing L suffix.
25314
622c86f4
MP
253152012-02-06 Marek Polacek <polacek@redhat.com>
25316
25317 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25318 * sysdeps/i386/fpu/e_powf.S: Likewise.
25319 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25320 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25321 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25322 * sysdeps/i386/fpu/e_pow.S: Likewise.
25323 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25324 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25325 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25326 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25327 * sysdeps/i386/fpu/e_log2.S: Likewise.
25328 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25329 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25330 * sysdeps/i386/fpu/e_powl.S: Likewise.
25331 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25332 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25333 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25334 * sysdeps/i386/fpu/e_logl.S: Likewise.
25335 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25336 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25337 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25338 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25339 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25340 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25341 * sysdeps/i386/fpu/e_log.S: Likewise.
25342 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25343 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25344 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25345 * sysdeps/i386/fpu/e_logf.S: Likewise.
25346 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25347 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25348 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25349 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25350 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25351 * sysdeps/i386/fpu/e_log10.S: Likewise.
25352 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25353 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25354 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25355 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25356 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25357 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25358 * sysdeps/i386/asm-syntax.h: Likewise.
25359 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25360 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25361 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25362 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25363 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25364 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25365 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25366 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25367 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25368 * sysdeps/powerpc/sysdep.h: Likewise.
25369 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25370 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25371
d4a54ac6
JM
253722012-02-06 Joseph Myers <joseph@codesourcery.com>
25373
25374 [BZ #411]
25375 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25376
314054ea
JM
253772012-02-06 Joseph Myers <joseph@codesourcery.com>
25378
25379 * sysdeps/i386/sysdep.h: Include <features.h>.
25380 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25381 version.
25382
d8e0ca50
JM
253832012-02-05 Joseph Myers <joseph@codesourcery.com>
25384
25385 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25386 Define.
25387 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25388 LOAD_PIC_REG_STR.
25389
b1da7dd9
JM
253902012-02-03 Joseph Myers <joseph@codesourcery.com>
25391
25392 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25393 (SETUP_PIC_REG): Use GET_PC_THUNK.
25394 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25395 macro.
25396
9a1d9254
JM
253972012-02-03 Joseph Myers <joseph@codesourcery.com>
25398
25399 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25400 for non-PIC compilation.
25401 (SETUP_PIC_REG): Add .p2align directive.
25402 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25403 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25404 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25405 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25406 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25407 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25408 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25409 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25410 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25411 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25412 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25413 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25414 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25415 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25416 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25417 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25418 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25419 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25420 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25421 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25422 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25423 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25424 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25425 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25426 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25428 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25429 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25430 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25431 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25432 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25433 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25434 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25435 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25436 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25437 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25438 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25439 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25440 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25441 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25442 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25443
65dc3b75
JM
254442012-02-03 Joseph Myers <joseph@codesourcery.com>
25445
25446 * math/tst-CMPLX.c: Include <stdio.h>.
25447
d55bf177
JM
254482012-01-31 Joseph Myers <joseph@codesourcery.com>
25449
25450 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25451 float.
25452 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25453 * sysdeps/sparc/bits/mathdef.h: Likewise.
25454
69db4f8f
MP
254552012-01-31 Marek Polacek <polacek@redhat.com>
25456
25457 * libio/libio.h: Don't define _PARAMS.
25458 * locale/programs/config.h: Don't define PARAMS.
25459 * stdlib/strtol_l.c: Likewise.
25460 (__strtol_l): Remove PARAMS from the prototype.
25461
41b81892
UD
254622012-01-31 Ulrich Drepper <drepper@gmail.com>
25463
3b49edc0
UD
25464 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25465 names. Just use the correct names. Remove unnecessary wrapper
25466 functions.
25467 * malloc/arena.c: Likewise.
25468 * malloc/hooks.c: Likewise.
25469
41b81892
UD
25470 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25471 ARENA_TEST says not to. Simplify test for creation of a new arena.
25472 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25473
27a25b6e
UD
254742012-01-30 Ulrich Drepper <drepper@gmail.com>
25475
25476 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25477 into tail calls.
25478 (update_get_addr): New function.
25479 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25480 GET_ADDR_MODULE parameter.
25481
c8a89e7d
JM
254822012-01-30 Joseph Myers <joseph@codesourcery.com>
25483
25484 * crypt/cert.c: Remove __STDC__ conditionals.
25485 * crypt/crypt-entry.c: Likewise.
25486 * crypt/crypt_util.c: Likewise.
25487 * libio/filedoalloc.c: Likewise.
25488 * libio/fileops.c: Likewise.
25489 * libio/genops.c: Likewise.
25490 * libio/iofclose.c: Likewise.
25491 * libio/iofdopen.c: Likewise.
25492 * libio/iofopen.c: Likewise.
25493 * libio/iofopen64.c: Likewise.
25494 * libio/iogetdelim.c: Likewise.
25495 * libio/iopopen.c: Likewise.
25496 * libio/obprintf.c: Likewise.
25497 * libio/oldfileops.c: Likewise.
25498 * libio/oldiofclose.c: Likewise.
25499 * libio/oldiofdopen.c: Likewise.
25500 * libio/oldiofopen.c: Likewise.
25501 * libio/oldiopopen.c: Likewise.
25502 * libio/wfiledoalloc.c: Likewise.
25503 * libio/wgenops.c: Likewise.
25504 * locale/programs/xmalloc.c: Likewise.
25505 * misc/syslog.c: Likewise.
25506 * stdio-common/xbug.c: Likewise.
25507 * string/memchr.c: Likewise.
25508 * string/memcmp.c: Likewise.
25509 * string/memrchr.c: Likewise.
25510 * string/rawmemchr.c: Likewise.
25511 * sysdeps/posix/getcwd.c: Likewise.
25512 * time/strftime_l.c: Likewise.
25513
3b100462
JM
255142012-01-30 Joseph Myers <joseph@codesourcery.com>
25515
25516 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25517 * config.make.in (config-cflags-sse2avx): Define.
25518 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25519 Fix typo.
25520
607998af
CM
255212012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25522
25523 * scripts/config.guess: Update from upstream config git repository.
25524 * scripts/config.sub: Likewise.
25525
3601428f
CM
255262012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25527
3ac8b282
CM
25528 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25529 (EM_NUM): Update.
25530 (R_TILEPRO_*, R_TILEGX_*): New macros.
25531
e034841e
CM
25532 * scripts/firstversions.awk: Fix bug in version range handling.
25533
540d7568
CM
25534 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25535
3601428f
CM
25536 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25537
463de862
CM
25538 * include/sys/epoll.h: New file.
25539 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25540 libc_hidden_def.
25541
73139a76
UD
255422012-01-28 Ulrich Drepper <drepper@gmail.com>
25543
96bc5b45
UD
25544 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25545 Avoid unnecessary __WORDSIZE == 64 test.
25546 (fmaxf): Use VEX format if possible.
25547 (fmax): Likewise.
25548 (fminf): Likewise.
25549 (fmin): Likewise.
25550
56f6f6a2
UD
25551 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25552 * math/math_private.h: Remove libc_fegetround* and
25553 libc_fesetround*.
25554 * sysdeps/i386/configure.in: Check for -msse2avx.
25555 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25556 also if SSE2AVX is defined.
25557 Remove libc_fegetround* and libc_fesetround*.
25558 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25559 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25560 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25561 of HAS_YMM_USABLE.
25562 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25563 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25564 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25565 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25566 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25567
73139a76
UD
25568 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25569
d73f93a4
AZ
255702012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25571
25572 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25573 size is not set.
25574 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25575
6ee65ed6
UD
255762012-01-27 Ulrich Drepper <drepper@gmail.com>
25577
25578 [BZ #13618]
25579 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25580 relocation.
25581 * Makeconfig (libm): Define.
25582 * elf/Makefile: Add rules to build and run tst-relsort1.
25583 * elf/tst-relsort1.c: New file.
25584 * elf/tst-relsort1mod1.c: New file.
25585 * elf/tst-relsort1mod2.c: New file.
25586
8db21882
JM
255872012-01-27 Joseph Myers <joseph@codesourcery.com>
25588
25589 * math/s_ldexp.c: Remove __STDC__ conditionals.
25590 * math/s_ldexpf.c: Likewise.
25591 * math/s_ldexpl.c: Likewise.
25592 * math/s_nextafter.c: Likewise.
25593 * math/s_nexttowardf.c: Likewise.
25594 * math/s_significand.c: Likewise.
25595 * math/s_significandf.c: Likewise.
25596 * math/s_significandl.c: Likewise.
25597 * math/w_jnl.c: Likewise.
25598 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25599 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25600 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25601 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25602 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25603 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25604 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25605 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25606 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25607 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25608 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25609 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25610 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25611 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25612 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25613 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25614 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25615 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25616 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25617 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25618 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25619 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25620 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25621 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25622 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25623 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25624 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25625 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25626 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25627 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25628 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25629 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25630 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25631 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25632 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25633 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25634 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25635 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25636 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25637 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25638 * sysdeps/ieee754/k_standard.c: Likewise.
25639 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25640 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25641 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25642 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25643 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25644 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25645 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25646 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25647 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25648 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25649 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25650 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25680 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25681 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25682 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25683 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25684 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25686 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25687 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25688 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25689 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25690 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25691 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25692 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25693 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25694 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25697 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25698 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25699 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25700 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25702 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25703 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25704 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25705 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25706 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25707 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25708 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25709 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25710 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25711 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25712 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25713 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25714 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25716 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25717 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25718 * sysdeps/ieee754/s_matherr.c: Likewise.
25719 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25720 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25721 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25722 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25723
965a54a4
JM
257242012-01-26 Joseph Myers <joseph@codesourcery.com>
25725
25726 * crypt/md5.h: Remove __STDC__ conditionals.
25727 * libio/libioP.h: Likewise.
25728 * locale/programs/config.h: Likewise.
25729 * sysdeps/generic/sysdep.h: Likewise.
25730 * sysdeps/i386/asm-syntax.h: Likewise.
25731 * sysdeps/s390/asm-syntax.h: Likewise.
25732 * sysdeps/unix/sysdep.h: Likewise.
25733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25735
7071ad79
JM
257362012-01-26 Joseph Myers <joseph@codesourcery.com>
25737
25738 * libio/libio.h: Remove __STDC__ conditionals.
25739 * malloc/obstack.h: Likewise.
25740 * math/complex.h: Likewise.
25741 * math/math.h: Likewise.
25742 * sysdeps/generic/_G_config.h: Likewise.
25743 * sysdeps/gnu/_G_config.h: Likewise.
25744 * sysdeps/mach/hurd/_G_config.h: Likewise.
25745 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25746 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25747 * sysdeps/sparc/bits/mathdef.h: Likewise.
25748
afc5ed09
UD
257492012-01-26 Ulrich Drepper <drepper@gmail.com>
25750
25751 [BZ #13583]
25752 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25753 Clean up HAS_* macros.
afc5ed09 25754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25755 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25756 possible.
25757 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25758 HAS_AVX.
25759 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25760 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25761 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25762 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25763 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25764
bdb6de1d
JM
257652012-01-25 Joseph Myers <joseph@codesourcery.com>
25766
25767 * elf/tst-unique3.cc (gets): Remove declaration.
25768 * elf/tst-unique3lib.cc (gets): Likewise.
25769 * elf/tst-unique3lib2.cc (gets): Likewise.
25770 * elf/tst-unique4.cc (gets): Likewise.
25771
b15549e6
UD
257722012-01-24 Ulrich Drepper <drepper@gmail.com>
25773
25774 * include/stdio.h: Add C++ protection. Add gets declarations and
25775 definitions.
25776 * debug/tst-chk1.c: Don't declare gets here.
25777 * stdio-common/tst-gets.c: Likewise.
25778
a037381f
JM
257792012-01-24 Joseph Myers <joseph@codesourcery.com>
25780
25781 * posix/glob: Remove directory.
25782
f1d4aa75
JM
257832012-01-24 Joseph Myers <joseph@codesourcery.com>
25784
25785 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25786
81c0c964
PT
257872012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25788
25789 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25790 of the non-standard EPFNOSUPPORT.
25791
0ea698ae
ST
257922011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25793
25794 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25795 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25796 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25797
d220b117
UD
257982012-01-21 Ulrich Drepper <drepper@gmail.com>
25799
25800 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25801
3e1aa84e
UD
258022012-01-20 Ulrich Drepper <drepper@gmail.com>
25803
25804 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25805 transient errors.
25806 * nscd/grpcache.c (cache_addgr): Likewise.
25807 * nscd/hstcache.c (cache_addhst): Likewise.
25808 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25809 * nscd/pwdcache.c (cache_addpw): Likewise.
25810 * nscd/servicescache.c (cache_addserv): Likewise.
25811
400aa020
UD
258122012-01-16 Ulrich Drepper <drepper@gmail.com>
25813
d77e7869
UD
25814 * malloc/malloc.c: Various cleanups.
25815 * malloc/hooks.c: Likewise.
25816
400aa020
UD
25817 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25818 * stdlib/bug-fmtmsg1.c: New file.
25819
25820 * stdlib/fmtmsg.c (init): Add missing unlock.
25821 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25822
e0a309cf
MP
258232012-01-12 Marek Polacek <polacek@redhat.com>
25824
25825 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25826 and _GNU_SOURCE.
25827
929d11c7
WS
258282012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25829
25830 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25831 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25832 macro to ensure uniqueness of label name.
25833 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25834 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25835
41d0e869
UD
258362012-01-11 Ulrich Drepper <drepper@gmail.com>
25837
0cc5ed3b
UD
25838 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25839
41d0e869
UD
25840 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25841 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25842 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25843 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25844
a47a831a
UD
258452012-01-10 Ulrich Drepper <drepper@gmail.com>
25846
daa891c0
UD
25847 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25848
25849 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25850 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25851 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25852
e58ef0f2
UD
25853 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25854
a47a831a 25855 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25856 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25857 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25858 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25859
25860 * math/bits/math-finite.h: Add ldexp support.
25861
a0bfc9c7
MP
258622012-01-10 Marek Polacek <polacek@redhat.com>
25863
25864 * locale/programs/localedef.h (show_archive_content): Add noreturn
25865 attribute.
25866
d6e97a1d
UD
258672012-01-09 Ulrich Drepper <drepper@gmail.com>
25868
25869 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25870
d5835c26
UD
258712012-01-08 Ulrich Drepper <drepper@gmail.com>
25872
e5f484c6
UD
25873 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25874
d5835c26
UD
25875 * io/Makefile (headers): Add bits/poll2.h.
25876
d1f741e9
WS
258772011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25878
25879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25880 typo #include statement.
25881
ec09c1c4
UD
258822012-01-08 Ulrich Drepper <drepper@gmail.com>
25883
25884 * include/sys/cdefs.h: Define __attribute_alloc_size.
25885 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25886 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25887 * elf/pldd.c: Likewise.
25888 * iconv/iconv_charmap.c: Likewise.
25889 * iconv/iconvconfig.c: Likewise.
25890 * iconv/strtab.c: Likewise.
25891 * locale/programs/locale.c: Likewise.
25892 * locale/programs/localedef.h: Likewise.
25893 * locale/programs/simple-hash.c: Likewise.
25894 * nscd/nscd.h: Likewise.
25895 * nss/makedb.c: Likewise.
25896 * sysdeps/generic/ldconfig.h: Likewise.
25897 * locale/programs/localedef.c: Remove xmalloc prototype.
25898 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25899
20b38e03
PP
259002012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25901
25902 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25903 appropriate.
25904
a0da5fe1
UD
259052012-01-08 Ulrich Drepper <drepper@gmail.com>
25906
1d5a644a 25907 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25908 * math/tst-CMPLX.c: New file.
1d5a644a 25909
8784a6db
UD
25910 * math/complex.h (CMPLXL): Fix typo.
25911
d9a216c0
UD
25912 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25913 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25914 GLIBC_2.16.
25915 * debug/tst-chk1.c: Add poll and ppoll tests.
25916 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25917 * include/sys/poll.h: Add hidden proto for ppoll.
25918 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25919 * sysdeps/mach/hurd/ppoll.c: Likewise.
25920 * io/ppoll.c: Likewise.
25921 * debug/poll_chk.c: New file.
25922 * debug/ppoll_chk.c: New file.
25923 * include/bits/poll2.h: New file.
25924 * io/bits/poll2.h: New file.
25925
ac097f5c
UD
25926 [BZ #1350]
25927 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25928
2119dcfa
UD
25929 * configure.in: static is always set to yes. Remove.
25930 * config.make.in: Don't set build-static.
25931 * Makeconfig: Remove use of build-static.
25932 * dlfcn/Makefile: Likewise.
25933 * elf/Makefile: Likewise.
25934 * math/Makefile: Likewise.
25935 * misc/Makefile: Likewise.
25936 * nptl/Makefile: Likewise.
25937 * sysdeps/mach/hurd/Makefile: Likewise.
25938
121766a9
UD
25939 * configure.in: PWD_P is not used anymore.
25940 * config.make.in: Remove PWD_P entry.
25941
51a1d39c 25942 * configure.in: Remove last remnants of RANLIB.
8720d066 25943 No need to check for signed size_t anymore.
215f4bdc
UD
25944 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25945 and IA-64.
3857022a 25946 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25947 * aclocal.m4: Likewise.
25948
d3ed7225
UD
25949 * wcsmbs/mbrtoc16.c: Implement using towc function.
25950 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25951 * wcsmbs/wcsmbsload.c: Likewise.
25952 * iconv/gconv_simple.c: Likewise.
25953 * iconv/gconv_int.h: Likewise.
25954 * iconv/gconv_builtin.h: Likewise.
25955 * iconv/iconv_prog.c: Remove CHAR16 handling.
25956
25957 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25958
25959 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25960
a0da5fe1
UD
25961 * configure.in: Remove --with-elf and --enable-bounded options.
25962 Dont set base_machine for ia64. More non-ELF conditions removed.
25963 Remove testing and setting of leading underscore information.
25964 * config.make.in (build-bounded): Set to no.
25965 * config.h.in: Remove NO_UNDERSCORES entry.
25966 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25967 them.
25968 * csu/start.c: Remove !NO_UNDERSCORE code.
25969 * locale/localeinfo.h: Likewise.
25970 * sysdeps/generic/machine-gmon.h: Likewise.
25971 * sysdeps/generic/sysdep.h: Likewise.
25972 * sysdeps/i386/sysdep.h: Likewise.
25973 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25974 * sysdeps/mach/sysdep.h: Likewise.
25975 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25976 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25977 * sysdeps/sh/sysdep.h: Likewise.
25978 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25979 * sysdeps/unix/i386/sysdep.S: Likewise.
25980 * sysdeps/unix/sparc/start.c: Likewise.
25981 * sysdeps/unix/sparc/sysdep.S: Likewise.
25982 * sysdeps/unix/sparc/sysdep.h: Likewise.
25983 * sysdeps/unix/start.c: Likewise.
25984 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25985 * sysdeps/x86_64/sysdep.h: Likewise.
25986
df78418a
UD
259872012-01-07 Ulrich Drepper <drepper@gmail.com>
25988
a784e502
UD
25989 [BZ #13553]
25990 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25991 for non-gcc.
25992 * argp/argp-fmtstream.h: Use const instead __const.
25993 * argp/argp.h: Likewise.
25994 * assert/assert.h: Likewise.
25995 * bits/fenv.h: Likewise.
25996 * bits/sched.h: Likewise.
25997 * bits/sigset.h: Likewise.
25998 * bits/sigthread.h: Likewise.
25999 * catgets/nl_types.h: Likewise.
26000 * conform/data/pthread.h-data: Likewise.
26001 * crypt/crypt-private.h: Likewise.
26002 * crypt/crypt.h: Likewise.
26003 * crypt/crypt_util.c: Likewise.
26004 * ctype/ctype.h: Likewise.
26005 * debug/execinfo.h: Likewise.
26006 * debug/mbsnrtowcs_chk.c: Likewise.
26007 * debug/mbsrtowcs_chk.c: Likewise.
26008 * debug/wcsnrtombs_chk.c: Likewise.
26009 * debug/wcsrtombs_chk.c: Likewise.
26010 * debug/wcstombs_chk.c: Likewise.
26011 * dirent/dirent.h: Likewise.
26012 * dlfcn/dlfcn.h: Likewise.
26013 * elf/neededtest4.c: Likewise.
26014 * grp/grp.h: Likewise.
26015 * gshadow/gshadow.h: Likewise.
26016 * iconv/gconv.h: Likewise.
26017 * iconv/gconv_int.h: Likewise.
26018 * iconv/gconv_simple.c: Likewise.
26019 * iconv/iconv.h: Likewise.
26020 * iconv/loop.c: Likewise.
26021 * iconv/skeleton.c: Likewise.
26022 * include/aio.h: Likewise.
26023 * include/aliases.h: Likewise.
26024 * include/argz.h: Likewise.
26025 * include/arpa/inet.h: Likewise.
26026 * include/assert.h: Likewise.
26027 * include/dirent.h: Likewise.
26028 * include/dlfcn.h: Likewise.
26029 * include/execinfo.h: Likewise.
26030 * include/fcntl.h: Likewise.
26031 * include/fenv.h: Likewise.
26032 * include/glob.h: Likewise.
26033 * include/grp.h: Likewise.
26034 * include/libintl.h: Likewise.
26035 * include/mntent.h: Likewise.
26036 * include/netdb.h: Likewise.
26037 * include/pwd.h: Likewise.
26038 * include/rpc/netdb.h: Likewise.
26039 * include/sched.h: Likewise.
26040 * include/search.h: Likewise.
26041 * include/shadow.h: Likewise.
26042 * include/signal.h: Likewise.
26043 * include/stdio.h: Likewise.
26044 * include/stdlib.h: Likewise.
26045 * include/string.h: Likewise.
26046 * include/sys/socket.h: Likewise.
26047 * include/sys/stat.h: Likewise.
26048 * include/sys/statfs.h: Likewise.
26049 * include/sys/statvfs.h: Likewise.
26050 * include/sys/syslog.h: Likewise.
26051 * include/sys/time.h: Likewise.
26052 * include/sys/uio.h: Likewise.
26053 * include/time.h: Likewise.
26054 * include/unistd.h: Likewise.
26055 * include/utmp.h: Likewise.
26056 * include/wchar.h: Likewise.
26057 * include/wctype.h: Likewise.
26058 * inet/aliases.h: Likewise.
26059 * inet/arpa/inet.h: Likewise.
26060 * inet/netinet/ether.h: Likewise.
26061 * inet/netinet/in.h: Likewise.
26062 * intl/libintl.h: Likewise.
26063 * io/bits/fcntl2.h: Likewise.
26064 * io/fcntl.h: Likewise.
26065 * io/ftw.h: Likewise.
26066 * io/sys/poll.h: Likewise.
26067 * io/sys/stat.h: Likewise.
26068 * io/sys/statfs.h: Likewise.
26069 * io/sys/statvfs.h: Likewise.
26070 * io/utime.h: Likewise.
26071 * libio/bits/stdio.h: Likewise.
26072 * libio/bits/stdio2.h: Likewise.
26073 * libio/libio.h: Likewise.
26074 * libio/libioP.h: Likewise.
26075 * libio/stdio.h: Likewise.
26076 * locale/lc-ctype.c: Likewise.
26077 * locale/locale.h: Likewise.
26078 * login/utmp.h: Likewise.
26079 * malloc/arena.c: Likewise.
26080 * malloc/malloc.c: Likewise.
26081 * malloc/malloc.h: Likewise.
26082 * malloc/mcheck.c: Likewise.
26083 * malloc/mtrace.c: Likewise.
26084 * math/bits/mathcalls.h: Likewise.
26085 * math/fenv.h: Likewise.
26086 * math/math_private.h: Likewise.
26087 * misc/bits/error.h: Likewise.
26088 * misc/bits/syslog.h: Likewise.
26089 * misc/err.h: Likewise.
26090 * misc/error.h: Likewise.
26091 * misc/fstab.h: Likewise.
26092 * misc/mntent.h: Likewise.
26093 * misc/regexp.h: Likewise.
26094 * misc/search.h: Likewise.
26095 * misc/sgtty.h: Likewise.
26096 * misc/sys/mman.h: Likewise.
26097 * misc/sys/syslog.h: Likewise.
26098 * misc/sys/uio.h: Likewise.
26099 * misc/sys/xattr.h: Likewise.
26100 * misc/ttyent.h: Likewise.
26101 * nis/rpcsvc/ypclnt.h: Likewise.
26102 * nss/nss.h: Likewise.
26103 * posix/bits/unistd.h: Likewise.
26104 * posix/fnmatch.h: Likewise.
26105 * posix/glob.h: Likewise.
26106 * posix/sched.h: Likewise.
26107 * posix/spawn.h: Likewise.
26108 * posix/sys/wait.h: Likewise.
26109 * posix/unistd.h: Likewise.
26110 * posix/wordexp.h: Likewise.
26111 * pwd/pwd.h: Likewise.
26112 * resolv/netdb.h: Likewise.
26113 * resource/sys/resource.h: Likewise.
26114 * rt/aio.h: Likewise.
26115 * rt/bits/mqueue2.h: Likewise.
26116 * rt/mqueue.h: Likewise.
26117 * shadow/shadow.h: Likewise.
26118 * signal/signal.h: Likewise.
26119 * socket/send.c: Likewise.
26120 * socket/sendto.c: Likewise.
26121 * socket/sys/socket.h: Likewise.
26122 * stdio-common/printf.h: Likewise.
26123 * stdlib/bits/stdlib.h: Likewise.
26124 * stdlib/fmtmsg.h: Likewise.
26125 * stdlib/monetary.h: Likewise.
26126 * stdlib/stdlib.h: Likewise.
26127 * stdlib/ucontext.h: Likewise.
26128 * streams/stropts.h: Likewise.
26129 * string/argz.h: Likewise.
26130 * string/bits/string2.h: Likewise.
26131 * string/string.h: Likewise.
26132 * string/strings.h: Likewise.
26133 * sunrpc/rpc/auth.h: Likewise.
26134 * sunrpc/rpc/auth_des.h: Likewise.
26135 * sunrpc/rpc/clnt.h: Likewise.
26136 * sunrpc/rpc/netdb.h: Likewise.
26137 * sunrpc/rpc/pmap_clnt.h: Likewise.
26138 * sunrpc/rpc/xdr.h: Likewise.
26139 * sysdeps/generic/inttypes.h: Likewise.
26140 * sysdeps/generic/net/if.h: Likewise.
26141 * sysdeps/generic/sys/swap.h: Likewise.
26142 * sysdeps/gnu/net/if.h: Likewise.
26143 * sysdeps/gnu/utmpx.h: Likewise.
26144 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26145 * sysdeps/i386/i486/bits/string.h: Likewise.
26146 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26147 * sysdeps/s390/bits/string.h: Likewise.
26148 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26149 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26150 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26151 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26152 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26153 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26154 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26155 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26156 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26157 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26158 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26159 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26160 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26161 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26162 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26163 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26164 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26165 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26166 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26167 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26168 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26169 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26170 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26171 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26172 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26173 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26174 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26175 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26176 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26177 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26178 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26179 * sysvipc/sys/ipc.h: Likewise.
26180 * sysvipc/sys/msg.h: Likewise.
26181 * sysvipc/sys/sem.h: Likewise.
26182 * sysvipc/sys/shm.h: Likewise.
26183 * termios/termios.h: Likewise.
26184 * time/sys/time.h: Likewise.
26185 * time/time.h: Likewise.
26186 * wcsmbs/bits/wchar2.h: Likewise.
26187 * wcsmbs/uchar.h: Likewise.
26188 * wcsmbs/wchar.h: Likewise.
26189 * wctype/wctype.h: Likewise.
26190
0269750c
UD
26191 [BZ #13551]
26192 * Makeconfig: Remove all but ELF support including AIX support.
26193 * Makerules: Likewise.
26194 * config.h.in: Likewise.
26195 * config.make.in: Likewise.
26196 * configure: Likewise.
26197 * configure.in: Likewise.
26198 * csu/Makefile: Likewise.
26199 * csu/version.c: Likewise.
26200 * debug/Makefile: Likewise.
26201 * dlfcn/Makefile: Likewise.
26202 * elf/Makefile: Likewise.
26203 * extra-lib.mk: Likewise.
26204 * iconv/Makefile: Likewise.
26205 * include/libc-symbols.h: Likewise.
26206 * include/shlib-compat.h: Likewise.
26207 * resolv/Makefile: Likewise.
26208 * resolv/res_libc.c: Likewise.
26209 * rt/Makefile: Likewise.
26210 * sysdeps/i386/asm-syntax.h: Likewise.
26211 * sysdeps/i386/sysdep.h: Likewise.
26212 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26213 * sysdeps/mach/sysdep.h: Likewise.
26214 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26215 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26216 * sysdeps/s390/asm-syntax.h: Likewise.
26217 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26218 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26219 * sysdeps/sh/sysdep.h: Likewise.
26220 * sysdeps/unix/sparc/sysdep.h: Likewise.
26221 * sysdeps/wordsize-32/divdi3.c: Likewise.
26222 * sysdeps/x86_64/sysdep.h: Likewise.
26223
00bbd29b
UD
26224 * argp/Versions: Remove _argp_unlock_xxx.
26225
26226 [BZ #13559]
26227 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26228 * abilist/libBrokenLocale.abilist: Likewise.
26229 * abilist/libanl.abilist: Likewise.
26230 * abilist/libc.abilist: Likewise.
26231 * abilist/libcrypt.abilist: Likewise.
26232 * abilist/libdl.abilist: Likewise.
26233 * abilist/libm.abilist: Likewise.
26234 * abilist/libnsl.abilist: Likewise.
26235 * abilist/libpthread.abilist: Likewise.
26236 * abilist/libresolv.abilist: Likewise.
26237 * abilist/librt.abilist: Likewise.
26238 * abilist/libthread_db.abilist: Likewise.
26239 * abilist/libutil.abilist: Likewise.
26240 * abilist/libnss_db.abilist: New file.
26241
26242 * scripts/abilist.awk: Add support for indirect functions.
26243
a2693a0e
UD
26244 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26245
3f05895f
UD
26246 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26247
ecb6fb48
UD
26248 * shlib-versions: Remove entries for ports architectures.
26249
664f8cb9
UD
26250 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26251 files in ports.
26252 * elf/stackguard-macros.h: Remove support for IA-64.
26253 * elf/tst-auditmod1.c: Likewise.
26254 * sysdeps/generic/ldsodefs.h: Likewise.
26255
7ae81d88
UD
26256 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26257 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26258 configure files.
26259
bdeba135
UD
26260 [BZ #13552]
26261 * configure.in: Remove --enable-omitfp support.
26262 * FAQ.in: Adjust.
26263 * config.make.in: Likewise.
26264 * Makeconfig: Likewise.
26265 * manual/install.texi: Likewise.
26266
d75a0a62
UD
26267 In case anyone cares, the IA-64 architecture could move to ports.
26268 * sysdeps/ia64/*: Removed.
26269 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26270 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26271
dcc9756b
UD
26272 [BZ #13555]
26273 * configure.in: Remove entries for unsupported architectures.
26274
d3761ebc 26275 [BZ #13533]
9954432e
UD
26276 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26277 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26278 routines.
26279 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26280 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26281 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26282 fall back to using wcrtomb.
26283 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26284 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26285 renaming.
26286 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26287 * wcsmbs/tst-c16c32-1.c: New file.
26288
26289 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26290 local variable.
26291
c3a87236
UD
26292 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26293
28926a1b
UD
26294 * elf/tst-unique3.cc: Add explicit declaration of gets.
26295 * elf/tst-unique3lib.cc: Likewise.
26296 * elf/tst-unique3lib2.cc: Likewise.
26297 * elf/tst-unique4.cc: Likewise.
26298
df78418a
UD
26299 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26300
8ecd6b2a
JM
263012012-01-06 Joseph Myers <joseph@codesourcery.com>
26302
26303 [BZ #13566]
26304 * assert/assert.h (static_assert): Don't define for C++.
26305 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26306 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26307
9f115170
UD
263082012-01-03 Ulrich Drepper <drepper@gmail.com>
26309
5e0d0300
UD
26310 * iconv/loop.c (single loop): Fix assertion in storing of
26311 remaining bytes.
26312
9f115170
UD
26313 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26314
81fb02b0
UD
263152012-01-01 Ulrich Drepper <drepper@gmail.com>
26316
26317 * posix/getconf.c: Update copyright year.
26318 * nss/getent.c: Likewise.
a316c1f6 26319 * nss/makedb.c: Likewise.
81fb02b0
UD
26320 * iconv/iconvconfig.c: Likewise.
26321 * iconv/iconv_prog.c: Likewise.
26322 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26323 * elf/pldd.c: Likewise.
26324 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26325 * catgets/gencat.c: Likewise.
26326 * csu/version.c: Likewise.
26327 * elf/ldd.bash.in: Likewise.
26328 * elf/sprof.c (print_version): Likewise.
26329 * locale/programs/locale.c: Likewise.
26330 * locale/programs/localedef.c: Likewise.
a316c1f6 26331 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26332 * nscd/nscd.c (print_version): Likewise.
26333 * debug/xtrace.sh: Likewise.
26334 * malloc/memusage.sh: Likewise.
26335 * malloc/mtrace.pl: Likewise.
26336 * debug/catchsegv.sh: Likewise.
26337
2ba92745
JJ
263382011-12-30 Jakub Jelinek <jakub@redhat.com>
26339
26340 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26341 pure attribute.
26342
dadebdae
UD
263432011-12-24 Ulrich Drepper <drepper@gmail.com>
26344
d3761ebc 26345 [BZ #13533]
db6af3eb
UD
26346 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26347 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26348 transformations.
26349 * iconv/gconv_int.h: Likewise.
26350 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26351 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26352 from libc for GLIBC_2.16.
26353 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26354 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26355 * wcsmbs/uchar.h: Really define mbstate_t.
26356 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26357 * wcsmbs/c16rtomb.c: New file.
26358 * wcsmbs/mbrtoc16.c: New file.
26359 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26360 for C/POSIX locale.
26361 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26362 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26363
dadebdae
UD
26364 * wcsmbs/wchar.h: Add missing __restrict.
26365
67371b56
UD
263662011-12-23 Ulrich Drepper <drepper@gmail.com>
26367
74033a25
UD
26368 [BZ #13532]
26369 * time/Makefile (routines): Add timespec_get.
26370 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26371 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26372 timespec for ISO C11.
26373 * time/timespec_get.c: New file.
26374 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26375 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26376
380d7e87
UD
26377 [BZ #13531]
26378 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26379 * stdlib/stdlib.h: Declare aligned_alloc.
26380 * Versions.def: Add GLIBC_2.16 for libc.
26381 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26382
4e9e7a35
UD
26383 [BZ 13527]
26384 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26385 ISO C11.
26386
380d7e87 26387 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26388 code.
26389
03a71829
UD
26390 [BZ #13528]
26391 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26392
839e283e
UD
26393 [BZ #13529]
26394 * assert/assert.h (static_assert): Define.
26395
ce5294e2 26396 * version.h: Update for 2.16 development version.
90fa7312 26397
8d44e150 26398 [BZ #13526]
d7809905
UD
26399 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26400 _ISOC11_SOURCE.
26401
c0da14cd
UD
26402 * version.h (RELEASE): Bump for 2.15 release.
26403 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26404
530a3249
MP
26405 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26406 Patch by Marek Polacek <mpolacek@redhat.com>.
26407
67371b56
UD
26408 * bits/byteswap.h: Protect long long constants with __extension__.
26409 * sysdeps/i386/bits/byteswap.h: Likewise.
26410 * sysdeps/ia64/bits/byteswap.h: Likewise.
26411 * sysdeps/s390/bits/byteswap.h: Likewise.
26412 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26413
15db4de1
LD
264142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26415
26416 [BZ #13540]
bbe315ea
LD
26417 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26418 destination buffer.
15db4de1
LD
26419 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26420
2b2596b1
MP
264212011-12-23 Marek Polacek <polacek@redhat.com>
26422
26423 * elf/dl-addr.c (determine_info): Add inline keyword.
26424 * elf/tst-auditmod4b.c (check_avx): Likewise.
26425 * elf/tst-auditmod6b.c (check_avx): Likewise.
26426 * elf/tst-auditmod6c.c (check_avx): Likewise.
26427 * elf/tst-auditmod7b.c (check_avx): Likewise.
26428
70c6c246
UD
264292011-12-23 Ulrich Drepper <drepper@gmail.com>
26430
26431 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26432 !__SSE_MATH__.
26433
c044cf14
LD
264342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26435
15db4de1 26436 [BZ #13540]
c044cf14
LD
26437 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26438 processing for last bytes.
26439
6b13d9d9
BH
264402011-08-06 Bruno Haible <bruno@clisp.org>
26441
d455f537
BH
26442 [BZ #13061]
26443 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26444 U+0385, not to U+1FEE.
26445
6b13d9d9
BH
26446 [BZ #13062]
26447 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26448 entry for U+00A5 U+0301.
26449
db910efd
UD
264502011-12-22 Ulrich Drepper <drepper@gmail.com>
26451
27deeafc
UD
26452 [BZ #13166]
26453 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26454 buffer for the output is too small.
26455
aed9d171
UD
26456 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26457 optimization.
26458
db910efd
UD
26459 [BZ #13185]
26460 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26461 SSE flags if possible.
26462
2bd779ae
LD
264632011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26464
e7f9dac3 26465 [BZ #13540]
2bd779ae
LD
26466 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26467 processing for last bytes.
26468
154bfc16
JM
264692011-12-22 Joseph Myers <joseph@codesourcery.com>
26470
26471 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26472 (syscall-list-default-options, syscall-list-default-condition)
26473 (syscall-list-includes): Define.
26474 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26475 list of ABIs and options and #if conditions for each ABI. Do not
26476 handle common syscalls between ABIs specially.
26477 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26478 Remove.
26479 (syscall-list-variants, syscall-list-32bit-options)
26480 (syscall-list-32bit-condition, syscall-list-64bit-options)
26481 (syscall-list-64bit-condition): Define.
26482 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26483 (syscall-list-variants, syscall-list-32bit-options)
26484 (syscall-list-32bit-condition, syscall-list-64bit-options)
26485 (syscall-list-64bit-condition): Define.
26486 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26487 Remove.
26488 (syscall-list-variants, syscall-list-32bit-options)
26489 (syscall-list-32bit-condition, syscall-list-64bit-options)
26490 (syscall-list-64bit-condition): Define.
26491 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26492 Remove.
26493 (syscall-list-variants, syscall-list-32bit-options)
26494 (syscall-list-32bit-condition, syscall-list-64bit-options)
26495 (syscall-list-64bit-condition): Define.
26496
21eaf3a5
UD
264972011-12-22 Ulrich Drepper <drepper@gmail.com>
26498
16c6f992
UD
26499 * locale/iso-639.def: Add brx entry.
26500
41043168
UD
26501 [BZ #13328]
26502 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26503 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26504
21eaf3a5
UD
26505 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26506 __feraiseexcept_renamed.
26507
e3a851a2
UD
265082011-12-21 Ulrich Drepper <drepper@gmail.com>
26509
4920765e
UD
26510 [BZ #13538]
26511 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26512 EPOLLET with unsigned values.
26513 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26514 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26515
e3a851a2
UD
26516 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26517 to large cancellation.
26518 * math/s_cacoshf.c: Likewise.
26519 * math/s_cacoshl.c: Likewise.
26520
b27e24b8
RK
265212011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26522
26523 [BZ #13305]
aebefeee 26524 [BZ #12786]
b27e24b8
RK
26525 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26526 * math/s_cacoshf.c: Likewise.
26527 * math/s_cacoshl.c: Likewise.
26528
ee190f67
UD
265292011-12-21 Ulrich Drepper <drepper@gmail.com>
26530
26531 [BZ #13439]
26532 * iconv/gconv.h: Define __GCONV_SWAP.
26533 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26534 * iconvdata/utf-16.c: Likewise.
26535 * iconvdata/utf-32.c: Likewise.
26536
707f25df
AS
265372011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26538
26539 [BZ #13524]
26540 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26541 numerator after shifting it by one limb.
26542
d2daaa1e
RÁE
265432011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26544
26545 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26546 under [__USE_EXTERN_INLINES].
26547
a4647e72
UD
265482011-12-17 Ulrich Drepper <drepper@gmail.com>
26549
26550 [BZ #13446]
26551 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26552
f0b264f1
AZ
265532011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26554
26555 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26556 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26557 optimized code.
26558 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26559 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26560 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26561 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26562 for strncasecmp/strncasecmp_l compilation.
26563 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26564 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26565
8ef4f244
MP
265662011-12-08 Marek Polacek <mpolacek@redhat.com>
26567
26568 [BZ #13484]
26569 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26570 of __asm__.
26571
97ac2654
UD
265722011-12-17 Ulrich Drepper <drepper@gmail.com>
26573
26574 [BZ #13506]
26575 * time/tzfile.c (__tzfile_read): Check values from file header.
26576
91d2a845
WS
265772011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26578
26579 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26580 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26581 * powerpc/powerpc32/dl-start.S: Likewise.
26582 * powerpc/powerpc32/elf/start.S: Likewise.
26583 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26584 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26585 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26586 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26587 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26588 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26589 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26590 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26591 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26592 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26593 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26594 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26595 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26596 * powerpc/powerpc32/memset.S: Likewise.
26597 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26598 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26599 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26600 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26601 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26602 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26603 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26604 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26605 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26606 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26607 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26608 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26609 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26610
a1267ba1
AZ
266112011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26612
26613 * math/libm-test.inc: Added more nearbyint tests.
26614 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26615 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26616 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26617 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26618
ad8ac1bd
RL
266192011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26620
26621 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26622 FD_CLOEXEC.
26623
1d3e4b61
UD
266242011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26625
26626 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26627 Add wcscpy-ssse3 wcscpy-c.
26628 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26629 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26630 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26631 * sysdeps/x86_64/wcschr.S: New file.
26632 * sysdeps/x86_64/wcsrchr.S: New file.
26633 * string/test-strcmp.c: Remove checking of wcscmp function for
26634 wrong alignments.
26635 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26636 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26637 wcsrchr-sse2 wcsrchr-c.
26638 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26639 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26640 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26641 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26642 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26643 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26644 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26645 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26646 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26647 * wcsmbc/wcschr.c (WCSCHR): New macro.
26648
5b330a2d
UD
266492011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26650
26651 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26652 * wcsmbs/test-wcsrchr.c: New file.
26653 * string/test-strrchr.c: Add wcsrchr support.
26654 (WIDE): New macro.
26655 * wcsmbs/test-wcscpy.c: New file.
26656 * string/test-strcpy.c: Add wcscpy support.
26657 (WIDE): New macro.
26428b7c 26658
f039c043
UD
266592011-12-10 Ulrich Drepper <drepper@gmail.com>
26660
26661 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26662 the inner loop.
26663
850fb039
AS
266642011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26665
26666 [BZ #13472]
26667 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26668
4efbd5cb
UD
266692011-12-04 Ulrich Drepper <drepper@gmail.com>
26670
52ff5dd0 26671 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26672 Minor optimizations.
52ff5dd0 26673
4efbd5cb
UD
26674 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26675 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26676 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26677
8a426e12
UD
266782011-12-03 Ulrich Drepper <drepper@gmail.com>
26679
aff2453d
UD
26680 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26681 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26682 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26683 for gcc to avoid warnings.
26684 * inet/Makefile (tests): Add tst-checks.
26685 * inet/tst-checks.c: New file.
26686
26687 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26688 warning.
26689
26690 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26691 __wmemcmp_sse2.
26692
26693 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26694 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26695
8a426e12
UD
26696 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26697
9bea3473
UD
266982011-12-02 Ulrich Drepper <drepper@gmail.com>
26699
3a965496
UD
26700 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26701 problem.
26702
9bea3473
UD
26703 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26704
f101631b
UD
267052011-11-29 Joseph Myers <joseph@codesourcery.com>
26706
26707 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26708 conditional on GCC version.
26709 (__arch_compare_and_exchange_val_8_acq)
26710 (__arch_compare_and_exchange_val_16_acq)
26711 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26712 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26713 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26714
a98275aa
UD
267152011-12-02 Joseph Myers <joseph@codesourcery.com>
26716
26717 * sysdeps/sh/backtrace.c: New file.
26718
d4cc29a2
AS
267192011-12-02 Andreas Schwab <schwab@redhat.com>
26720
26721 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26722 parenthesis.
26723
6257af2d
AS
267242011-12-01 Andreas Schwab <schwab@redhat.com>
26725
26726 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26727 falling back to utime.
26728
b5f44c1a
AS
267292011-11-30 Andreas Schwab <schwab@redhat.com>
26730
26731 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26732 expectations for float.
26733
f3a6cc0a
AS
267342011-11-29 Andreas Schwab <schwab@redhat.com>
26735
26736 * locale/weight.h (findidx): Add parameter len.
26737 * locale/weightwc.h (findidx): Likewise.
26738 * posix/fnmatch_loop.c (FCT): Adjust caller.
26739 * posix/regcomp.c (build_equiv_class): Likewise.
26740 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26741 * posix/regexec.c (check_node_accept_bytes): Likewise.
26742 * string/strcoll_l.c (STRCOLL): Likewise.
26743 * string/strxfrm_l.c (STRXFRM): Likewise.
26744
9d65ea3a
UD
267452011-11-17 Ulrich Drepper <drepper@gmail.com>
26746
26747 * Makefile.in: Remove CVSOPT handling.
26748 * configure.in: Remove use of AC_REVISION.
26749 * iconvdata/Makefile (distribute): No need to filter out CVS.
26750 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26751 handling.
26752
5583a086
AS
267532011-11-16 Andreas Schwab <schwab@redhat.com>
26754
26755 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26756 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26757 [USE_AS_STRNCASECMP_L]: Likewise.
26758 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26759 NO_TLS_DIRECT_SEG_REFS.
26760 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26761 Fix argument offsets for non-PIC.
26762 [USE_AS_STRNCASECMP_L]: Likewise.
26763 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26764 NO_TLS_DIRECT_SEG_REFS.
26765
d62a8200
UD
267662011-11-15 Ulrich Drepper <drepper@gmail.com>
26767
9d65ea3a 26768 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26769 O_CLOEXEC.
26770 * locale/loadlocale.c (_nl_load_locale): Likewise.
26771
09f93bd3
AS
267722011-11-15 Andreas Schwab <schwab@redhat.com>
26773
446514f9
AS
26774 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26775 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26776 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26777 (SYSCALL_GETTIME): Set errno on error.
26778
09f93bd3
AS
26779 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26780 count references to noai6ai_cached.
26781
312be3f9
UD
267822011-11-15 Ulrich Drepper <drepper@gmail.com>
26783
26784 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26785
26786 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26787 FD_CLOEXEC for /proc/self/maps.
26788
26789 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26790 FD_CLOEXEC for /proc/meminfo.
26791
26792 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26793 gai.conf.
26794
26795 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26796 FD_CLOEXEC for given file.
26797
26798 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26799
26800 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26801 FD_CLOEXEC for /etc/hosts.
26802 (_gethtent): Likewise.
26803
26804 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26805
26806 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26807 cancellation and set FD_CLOEXEC for /etc/netgroup.
26808
26809 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26810 reading /etc/publickey.
26811
26812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26813 allow cancellation when reading /etc/group.
26814
26815 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26816 cancellation.
26817 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26818
26819 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26820 when using data file.
26821
26822 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26823
26824 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26825 (write_nis_obj): Use "c" and "e" in fopen.
26826
26827 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26828
26829 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26830
26831 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26832
26833 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26834
26835 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26836 locale.alias.
26837
26838 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26839
26840 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26841
26842 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26843
26844 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26845 file parsing and set FD_CLOEXEC.
26846
82af0fa8
UD
268472011-11-14 Ulrich Drepper <drepper@gmail.com>
26848
26849 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26850
a5fb313c
AS
268512011-11-14 Andreas Schwab <schwab@redhat.com>
26852
26853 * malloc/arena.c (arena_get2): Don't call reused_arena when
26854 _int_new_arena failed.
26855
6abf3465
UD
268562011-11-14 Ulrich Drepper <drepper@gmail.com>
26857
26858 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26859 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26860 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26861 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26862 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26863 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26864 to compile strcasecmp and strncasecmp.
26865 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26866 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26867
26868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26869
76e3966e
UD
268702011-11-13 Ulrich Drepper <drepper@gmail.com>
26871
26872 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26873 locale-defines.sym to gen-as-const-headers.
26874 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26875 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26877 to compile strcasecmp and strncasecmp.
26878 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26879 strcasecmp_l and strncasecmp_l.
26880 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26881 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26882 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26883 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26884 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26885 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26886 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26887 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26888 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26889 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26890 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26891
ab26144e
UD
268922011-11-12 Ulrich Drepper <drepper@gmail.com>
26893
7edb22ef
UD
26894 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26895 result of SYSDEP_GETTIME_CPU to retval.
26896 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26897 parameter list to macro. Remove trailing semicolon. Adjust users.
26898
9694fc44
UD
26899 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26900 variable.
26901
8ad89ef8
UD
26902 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26903 mantissa words.
26904 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26905
0c822ef9
UD
26906 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26907 from unused variable.
26908
874e0564
UD
26909 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26910 DWARF definitions.
26911 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26912 for assembling.
26913
3a2edc79
UD
26914 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26915 over namespaces.
26916
f3c2577f
UD
26917 * sunrpc/rpc_prot.c (rejected): Fix case value.
26918
294ce126
UD
26919 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26920 unsigned long long int to avoid warnings in shift.
26921
5e2b63c6
UD
26922 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26923 of use of trans.
26924 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26925 variable tmp.
26926
e7f4b08e
UD
26927 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26928 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26929 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26930
ab26144e
UD
26931 * nis/nis_table.c (nis_list): Use variable of correct type for
26932 result of __follow_path call.
26933
8a6d5255
AZ
269342011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26935
26936 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26937 of math functions ceil, trunc, floor, round, and sqrt, when
26938 avaliable on the platform.
26939 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26940 name clash.
26941 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26942 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26943 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26944
aaddc98c
MP
269452011-10-30 Marek Polacek <mpolacek@redhat.com>
26946
26947 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26948 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26949
95b7042b
RM
269502011-11-11 Roland McGrath <roland@hack.frob.com>
26951
26952 * include/unistd.h: Fix __readlink return type.
26953 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26954
57769839
UD
269552011-11-11 Ulrich Drepper <drepper@gmail.com>
26956
26957 * stdlib/ucontext.h: Undo last change for makecontext.
26958
edc5984d
AS
269592011-11-11 Andreas Schwab <schwab@redhat.com>
26960
98591e58
AS
26961 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26962
edc5984d
AS
26963 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26964 * setjmp/setjmp.h: Mark functions as non-leaf.
26965 * setjmp/bits/setjmp2.h: Likewise.
26966 * stdlib/ucontext.h: Likewise.
26967
77cdc054
AS
269682011-11-10 Andreas Schwab <schwab@redhat.com>
26969
26970 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26971 (reused_arena): Don't check arena limit.
26972 (arena_get2): Atomically check arena limit.
26973
fe72eebd
UD
269742011-11-08 Ulrich Drepper <drepper@gmail.com>
26975
5f078c32
UD
26976 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26977 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26978
fe72eebd
UD
26979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26980 instructions.
26981
ae1bc2fa
AS
269822011-11-07 Andreas Schwab <schwab@redhat.com>
26983
7583a88d
AS
26984 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26985 handler when locking.
26986
ae1bc2fa
AS
26987 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26988 Fix size of allocated buffer.
26989
10fb0bfa
AS
269902011-11-04 Andreas Schwab <schwab@redhat.com>
26991
998832a4
AS
26992 [BZ #10103]
26993 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26994 declarations for long double functions.
26995 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26996
10fb0bfa
AS
26997 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26998
3d7ba52b
AS
269992011-11-03 Andreas Schwab <schwab@redhat.com>
27000
a9ae54a1
AS
27001 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27002 installed.
27003
3d7ba52b
AS
27004 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27005 is disabled.
27006
bc8db248
ST
270072011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27008
27009 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27010
45b96dd6
AS
270112011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27012
647776f6
AS
27013 * include/alloca.h (stackinfo_alloca_round): Define.
27014 (extend_alloca): Use it.
27015 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27016 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27017 here.
27018
d91a8b93
AS
27019 * scripts/check-local-headers.sh: Ignore libaudit.h.
27020
45b96dd6
AS
27021 * nscd/Makefile (extra-objs): Make recursively expanded.
27022
432d41ce
UD
270232011-11-01 Ulrich Drepper <drepper@gmail.com>
27024
34372fc6
UD
27025 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27026 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27027
fadb59f8
UD
27028 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27029 * posix/tst-rfc3484-2.c: Likewise.
27030 * posix/tst-rfc3484-3.c: Likewise.
27031
78239589
UD
27032 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27033 process_vm_writev.
27034 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27035 process_vm_writev.
27036 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27037 process_vm_writev from libc using GLIBC_2.15 version.
27038
432d41ce
UD
27039 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27040
02f9c6cf
PP
270412011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27042
27043 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27044 stack usage.
27045
3a2c0242
UD
270462011-10-31 Ulrich Drepper <drepper@gmail.com>
27047
f4ec4833
UD
27048 [BZ #13367]
27049 * nss/getent.c (initgroups_keys): Show error message in case no group
27050 names are given.
27051
3a2c0242
UD
27052 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27053 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27054 __bump_nl_timestamp.
27055 * nscd/connections (nscd_init): When host database is served open
27056 netlink socket and request notification about configuration changes.
27057 (main_loop_poll): Track netlink file descriptor and bump timestamp
27058 in case data becomes available.
27059 (main_loop_epoll): Likewise.
27060 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27061 (database_pers_head): Add extra_data fileds.
27062 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27063 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27064 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27065 Adjust caller.
27066 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27067 in6ai data, call __free_in6ai.
27068 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27069 Add -DHAVE_NETLINK.
27070 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27071 interface information. Reuse previous data if netlink timestamp
27072 is not changed.
27073 (__bump_nl_timestamp): New function.
27074 (__free_in6ai): New function.
27075
636064eb
UD
270762011-10-30 Ulrich Drepper <drepper@gmail.com>
27077
27078 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27079 close_not_cancel_no_status here.
27080 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27081
9beb2334
UD
270822011-10-29 Ulrich Drepper <drepper@gmail.com>
27083
6ef76f3b
UD
27084 [BZ #13276]
27085 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27086 return value.
27087
0ffc4f3e 27088 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27089 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27090 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27091
cb95113e
UD
270922011-07-03 Andreas Jaeger <aj@suse.de>
27093
27094 [BZ #10709]
27095 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27096 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27097 * math/libm-test.inc (sin_test): Add test case.
27098
a1b560ff
UD
270992011-10-29 Ulrich Drepper <drepper@gmail.com>
27100
c9aaface
UD
27101 [BZ #13337]
27102 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27103 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27104
d272e7f1
UD
27105 * elf/chroot_canon.c (chroot_canon): Cleanups.
27106
1bc33071
UD
27107 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27108
1760874d
TJ
27109 [BZ #13335]
27110 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27111 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27112
51d91b18
UD
27113 * string/test-strchr.c: Make usable for strchrnul testing.
27114 * string/test-strchrnul.c: New file.
27115 * string/Makefile (strop-tests): Add strchrnul.
27116
a1b560ff 27117 * po/it.po: Update from translation team.
b611fb81 27118 * po/es.po: Likewise.
a1b560ff 27119
a5b81e1f
UD
271202011-10-28 Ulrich Drepper <drepper@gmail.com>
27121
fd52bc6d
UD
27122 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27123 the three constants needed as parameters. Drop the others.
27124 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27125 __m128i_strloadu_tolower.
52e4b9eb
UD
27126 Create and initialize variable zero and use it in all the places
27127 where _mm_setzero_si128 was used.
fd52bc6d 27128
a5b81e1f
UD
27129 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27130 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27131 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27132 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27133 anymore.
27134 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27135 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27136 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27137 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27138 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27139 __mpranred, __mptan.
27140 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27141 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27142 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27143 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27144 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27145 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27146 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27147 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27148 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27149
b4343346
AS
271502011-10-28 Andreas Schwab <schwab@redhat.com>
27151
0c92d8a8
AS
27152 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27153 redefine if SHARED.
27154 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27155
b4343346
AS
27156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27157 wide char related routines to wcsmbs subdir.
27158
3871f58f
AS
271592011-10-27 Andreas Schwab <schwab@redhat.com>
27160
27161 [BZ #13344]
27162 * misc/sys/cdefs.h (__THROWNL): Define.
27163 * posix/unistd.h: Use __THREADNL instead of __THREAD
27164 for memory synchronization functions.
27165
94d44d9f
RM
271662011-10-26 Roland McGrath <roland@hack.frob.com>
27167
21b64b15 27168 [BZ #13349]
94d44d9f
RM
27169 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27170 doesn't exist.
27171 * manual/stdio.texi (Obstack Streams): Node removed.
27172
f6ce9294
AS
271732011-10-26 Andreas Schwab <schwab@redhat.com>
27174
80479147
AS
27175 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27176 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27177 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27178
f6ce9294
AS
27179 * math/math_private.h (math_force_eval): Allow non-addressable
27180 arguments.
27181 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27182
618280a1
UD
271832011-10-25 Ulrich Drepper <drepper@gmail.com>
27184
e0016b11
UD
27185 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27186 file is not needed.
27187
27188 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27189 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27190 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27191 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27192 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27193 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27194 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27195 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27196 Add AVX variants.
27197 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27198 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27199 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27200 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27201 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27202 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27203 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27204 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27205 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27206 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27207 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27208 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27209 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27210 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27211 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27212 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27213 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27214 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27215 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27216
27217 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27218 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27219
618280a1
UD
27220 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27221 place. Use VEX encoding when compiling for AVX.
27222
37822576
AS
272232011-10-25 Andreas Schwab <schwab@redhat.com>
27224
1f1e1947
AS
27225 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27226 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27227
37822576
AS
27228 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27229
31ea014d
UD
272302011-10-25 Ulrich Drepper <drepper@gmail.com>
27231
d7826aa1 27232 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27233 useless if() expression.
d7826aa1
UD
27234 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27235 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27236 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27237 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27238 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27239 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27240 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27243 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27244 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27245 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27246 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27247 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27248 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27249 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27250 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27252 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27253
31ea014d
UD
27254 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27255
16437fec
AS
272562011-10-25 Andreas Schwab <schwab@redhat.com>
27257
27258 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27259 condition.
27260 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27261
31d3cc00
UD
272622011-10-25 Ulrich Drepper <drepper@gmail.com>
27263
27264 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27265 .text section. Avoid duplicate constants.
27266 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27267 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27268 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27269 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27270 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27271 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27273 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27274 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27275 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27276 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27277 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27278 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27279 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27280 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27281 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27282 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27283 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27284 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27286 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27287 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27288 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27289 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27290 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27291 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27292 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27293 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27294 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27295 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27296 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27297 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27298 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27299 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27300 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27301 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27302 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27303 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27304 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27305 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27306 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27307 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27308 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27309 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27310 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27311
58985aa9
UD
273122011-10-24 Ulrich Drepper <drepper@gmail.com>
27313
202c9deb
UD
27314 * sysdeps/x86_64/dla.h: Move to ...
27315 * sysdeps/x86_64/fpu/dla.h: ...here.
27316 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27317 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27318
af968f62
UD
27319 * config.make.in: Add have-mfma4 entry.
27320 * configure.in: Substitute libc_cv_cc_fma4.
27321 * math/Makefile (dbl-only-routines): Add sincostab.
27322 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27323 Use __sincostab not sincos.
27324 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27325 name is a macro.
27326 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27327 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27330 using __copysign.
27331 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27332 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27333 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27334 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27335 and __inv.
27336 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27337 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27338 __copysign.
27339 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27340 define aliases when function name is a macro.
27341 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27342 sysdeps/ieee754/dbl-64/sincos.tbl.
27343 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27344 fma4-enabled routines.
27345 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27346 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27347 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27348 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27349 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27350 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27351 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27352 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27353 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27354 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27355 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27356 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27357 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27358 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27359 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27360 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27361 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27362 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27363 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27364 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27365 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27366 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27367 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27368 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27369 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27370 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27371 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27372 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27373 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27374 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27375
58985aa9
UD
27376 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27377 rename.
27378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27379 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27382 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27383 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27384 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27385 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27386
a201fbcf
AS
273872011-10-24 Andreas Schwab <schwab@redhat.com>
27388
27389 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27390
fc2ee42a
LD
273912011-10-23 Ulrich Drepper <drepper@gmail.com>
27392
bb3129bd
UD
27393 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27394
0275fff8
UD
27395 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27396 prediction.
27397 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27398
2fa2ae85
UD
27399 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27400 Remove unused variable magic_bits.
27401 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27402
fc2ee42a
LD
27403 * string/strnlen.c: Define and use STRNLEN macro.
27404 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27405 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27406 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27407 * wcsmbs/wcslen.c: Define and use WCSLEN.
27408 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27409 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27410 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27411 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27412 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27413 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27414 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27415
ce7dd29f
LD
274162011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27417
27418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27419 strnlen-sse2-no-bsf.
27420 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27421 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27422 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27423 Add strnlen support.
27424 (USE_AS_STRNLEN): New macro.
27425 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27426 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27427 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27428 * sysdeps/x86_64/wcslen.S: New file.
27429
979c70a3
MZ
274302011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27431
27432 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27433 XMM-moves are used for copying on small sizes.
27434
2d09f82f
LD
274352011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27436
27437 * wcsmbs/Makefile (strop-tests): Add wcschr.
27438 * wcsmbs/test-wcschr.c: New file.
27439 * string/test-strchr.c: Update.
27440 Add wcschr support.
27441 (WIDE): New macro.
27442
619fccca
LD
274432011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27444
2d09f82f 27445 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27446 * wcsmbs/test-wcslen.c: New file.
27447 * string/test-strlen.c: Update.
27448 Add wcslen support.
27449 (WIDE): New macro.
27450
09f699ea
UD
274512011-10-23 Ulrich Drepper <drepper@gmail.com>
27452
27453 * po/it.po: Update from translation team.
27454
95584d3b
LD
274552011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27456
27457 * sysdeps/x86_64/wcscmp.S: Update.
27458 Fix wrong comparison semantics.
27459 wcscmp shall use signed comparison not unsigned.
27460 Don't use substraction to avoid overflow bug.
27461 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27462 * wcsmbc/wcscmp.c: Likewise.
27463 * string/test-strcmp.c: Likewise.
27464 Add new tests to check cases with negative values.
27465
c8b3296b
UD
274662011-10-23 Ulrich Drepper <drepper@gmail.com>
27467
27468 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27469 * sysdeps/x86_64/dla.h: ...here. New file.
27470 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27471 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27472 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27473 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27474 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27475 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27476 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27477 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27478 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27479
246ad57a
AS
274802011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27481
27482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27483 __ynl_finite aliases.
27484
a1a87169
UD
274852011-10-22 Ulrich Drepper <drepper@gmail.com>
27486
0d355eb7
UD
27487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27488
a1a87169
UD
27489 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27490 define DLA_FMA.
27491 [DLA_FMA] (EMULV): Use DLA_FMA.
27492 [DLA_FMA] (MUL12): Use EMULV.
27493 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27494 that are not needed.
27495 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27497 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27499 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27500 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27501 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27502
ee2aafe0
AS
275032011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27504
27505 * math/s_nan.c: Undef __nan.
27506 * math/s_nanf.c: Undef __nanf.
27507 * math/s_nanl.c: Undef __nanl.
27508 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27509 "math_private.h".
27510
bc62c2fb
UD
275112011-10-22 Ulrich Drepper <drepper@gmail.com>
27512
77425c63
UD
27513 * math/s_catan.c: Add branch predictions.
27514 * math/s_catanf.c: Likewise.
27515 * math/s_catanh.c: Likewise.
27516 * math/s_catanhf.c: Likewise.
27517 * math/s_catanhl.c: Likewise.
27518 * math/s_catanl.c: Likewise.
27519 * math/s_cexp.c: Likewise.
27520 * math/s_cexpf.c: Likewise.
27521 * math/s_cexpl.c: Likewise.
27522 * math/s_clog.c: Likewise.
27523 * math/s_clog10.c: Likewise.
27524 * math/s_clog10f.c: Likewise.
27525 * math/s_clog10l.c: Likewise.
27526 * math/s_clogf.c: Likewise.
27527 * math/s_clogl.c: Likewise.
27528 * math/s_csqrt.c: Likewise.
27529 * math/s_csqrtf.c: Likewise.
27530 * math/s_csqrtl.c: Likewise.
27531 * math/s_ctanf.c: Likewise.
27532 * math/s_ctanh.c: Likewise.
27533 * math/s_ctanhf.c: Likewise.
27534 * math/s_ctanhl.c: Likewise.
27535 * math/s_ctanl.c: Likewise.
27536
bc62c2fb
UD
27537 * math/math_private.h: Define __nan, __nanf, __nanl.
27538 * math/s_cacosh.c: Include <math_private.h>.
27539 * math/s_cacoshl.c: Likewise.
27540 * math/s_casinh.c: Likewise.
27541 * math/s_casinhf.c: Likewise.
27542 * math/s_casinhl.c: Likewise.
27543 * math/s_ccos.c: Rely entire on ccosh.
27544 * math/s_ccosf.c: Rely entire on ccoshf.
27545 * math/s_ccosl.c: Rely entirely on ccoshl.
27546 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27547 Remove tests for FE_INVALID.
27548 * math/s_ccoshf.c: Likewise.
27549 * math/s_ccoshl.c: Likewise.
27550 * math/s_csin.c: Likewise.
27551 * math/s_csinf.c: Likewise.
27552 * math/s_csinh.c Likewise.
27553 * math/s_csinhf.c: Likewise.
27554 * math/s_csinhl.c: Likewise.
27555 * math/s_csinl.c: Likewise.
27556 * math/s_ctan.c: Likewise.
27557 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27558 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27559 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27560
8ec250a4
UD
275612011-10-21 Ulrich Drepper <drepper@gmail.com>
27562
c196fed8
UD
27563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27564 compilation problems.
27565
8ec250a4
UD
27566 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27567 __builtin_expect.
27568
8d4f46c6
UD
275692011-10-20 Ulrich Drepper <drepper@gmail.com>
27570
ed72b654
UD
27571 * sysdeps/i386/configure.in: Test for -mfma4 option.
27572 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27573 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27574 COMMON_CPUID_INDEX_80000001.
27575 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27576 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27577 use it if FMA3 is not supported.
27578 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27579
8d4f46c6
UD
27580 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27581 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27582
d45c60c2
AS
275832011-10-20 Andreas Schwab <schwab@redhat.com>
27584
27585 [BZ #12892]
27586 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27587 it would create a cycle with a link time dependency.
27588
d9a4d2ab
UD
275892011-10-19 Ulrich Drepper <drepper@gmail.com>
27590
855d1560
UD
27591 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27592 instruction.
27593 * string/Makefile (strop-tests): Add rawmemchr.
27594 * string/test-rawmemchr.c: New file.
27595
d9a4d2ab
UD
27596 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27597 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27598 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27599 when compiling str{,n}casecmp and when AVX is available. Hook up
27600 new optimized code in initializers.
27601
8f3b1ffe
AS
276022011-10-19 Andreas Schwab <schwab@redhat.com>
27603
27604 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27605 __feraiseexcept instead of feraiseexcept.
27606
d38f1dba
UD
276072011-10-18 Ulrich Drepper <drepper@gmail.com>
27608
d9a8d0ab
UD
27609 * math/math_private.h: Define defaults for libc_fetestexcept and
27610 libc_feupdateenv.
27611 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27612 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27613 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27614 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27615 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27616 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27617 libc_fetestexcept and libc_feupdateenv.
27618
4855e3dd
UD
27619 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27620 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27621 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27622 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27623 libc_feholdexcept_setround.
27624
581d30e3
UD
27625 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27626 Add s_nearbyint-c and s_nearbyintf-c.
27627 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27628 nearbyintf inlines.
27629 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27630 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27631 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27632 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27633
d38f1dba
UD
27634 * math/math_private.h: Define defaults for libc_fegetround,
27635 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27636 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27637 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27638 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27639 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27640 standard functions.
27641 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27642 Remove comments and hacks for old compiler versions.
27643 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27644 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27645 libc_feholdexceptl.
27646
caa6c9d8
AS
276472011-10-18 Andreas Schwab <schwab@redhat.com>
27648
27649 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27650 (__feraiseexcept_renamed): Add __NTH.
27651 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27652 namespace violations.
27653
97c066e6
UD
276542011-10-17 Ulrich Drepper <drepper@gmail.com>
27655
99ce7b04
UD
27656 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27657
1004d182
UD
27658 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27659
228a984d
UD
27660 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27661 recently added interfaces.
27662 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27663
c8553a6a
UD
27664 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27665 about macro parameter expansion.
27666
ed22dcf6
UD
27667 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27668 __NO_MATH_INLINES is defined. Cleanups.
27669
27670 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27671 and __floorf is target has SSE4.1.
27672 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27673 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27674 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27675 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27676
b171c137
UD
27677 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27678 name.
27679 (floorf): Likewise.
27680
97c066e6
UD
27681 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27682
629f62ef
AS
276832011-10-17 Andreas Schwab <schwab@redhat.com>
27684
49a43d80
AS
27685 * misc/sys/cdefs.h: Fix last change.
27686
629f62ef
AS
27687 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27688 database lookup.
27689
e453f6cd
UD
276902011-10-16 Ulrich Drepper <drepper@gmail.com>
27691
aa78043a
UD
27692 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27693
ad0f5cad
UD
27694 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27695 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27696 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27697 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27698 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27700 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27701 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27702 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27703 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27704 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27705 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27706 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27707 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27708 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27709 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27710 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27711 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27712 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27713 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27714 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27715 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27716
27717 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27718 ceil, ceilf, floor, floorf.
27719
27720 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27721 Perform IRELATIVE relocations last.
27722
e453f6cd
UD
27723 * elf/do-rel.h: Add another parameter nrelative, replacing the
27724 local variable with the same name. Change name of the function
27725 to end in Rel or Rela (uppercase).
27726 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27727 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27728 elf_dynamic_do_##reloc function.
27729
fd5bdc09
UD
277302011-10-15 Ulrich Drepper <drepper@gmail.com>
27731
79b195b5
UD
27732 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27733 is sufficient, at least on modern CPUs.
27734
d4a28569
UD
27735 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27736
b61099b5
UD
27737 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27738 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27739
bcf01e6d
UD
27740 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27741 __expl_finite.
27742 * math/bits/math-finite.h: Add entries for exp.
27743 * math/e_expl.c: Add __*_finite alias.
27744 * sysdeps/i386/fpu/e_exp.S: Likewise.
27745 * sysdeps/i386/fpu/e_expf.S: Likewise.
27746 * sysdeps/i386/fpu/e_expl.c: Likewise.
27747 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27748 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27749 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27750 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27751 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27752 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27753 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27754
ba1a0d59
UD
27755 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27756 is sufficient, at least on modern CPUs.
27757
fd5bdc09
UD
27758 * ctype/ctype-info.c (__ctype_init): Define.
27759 * include/ctype.h (__ctype_init): Declare.
27760 (__ctype_b_loc): The variable is always initialized.
27761 (__ctype_toupper_loc): Likewise.
27762 (__ctype_tolower_loc): Likewise.
27763 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27764 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27765
7872cfb0
AS
277662011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27767
b468825a
AS
27768 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27769
7872cfb0
AS
27770 * configure.in: Also look in $cxxmachine/include for C++ system
27771 headers.
27772
be13f7bf
LD
277732011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27774
27775 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27776 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27777 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27778 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27779 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27780 (USE_AS_WMEMCMP): New macro.
27781 Fixing indents.
27782 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27783 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27784 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27785 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27787 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27788 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27789 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27790 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27791 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27792 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27793 (USE_AS_WMEMCMP): New macro.
27794 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27795 * sysdeps/string/test-memcmp.c: Update.
27796 Fix simple_wmemcmp.
27797 Add new tests.
27798 * wcsmbs/wmemcmp.c: Update.
27799 (WMEMCMP): New macro.
27800 Fix overflow bug.
27801
556a2007
AJ
278022011-10-12 Andreas Jaeger <aj@suse.de>
27803
27804 [BZ #13268]
27805 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27806
538faaa7
UD
278072011-10-15 Ulrich Drepper <drepper@gmail.com>
27808
ab6737ff
UD
27809 * libio/iofwide.c (do_length): Avoid warning.
27810
538faaa7
UD
27811 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27812
396a21b1
UD
278132011-10-14 Ulrich Drepper <drepper@gmail.com>
27814
cdf2901f
UD
27815 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27816
38ad40ce
UD
27817 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27818 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27819 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27820 * sysdeps/i386/i686/fpu/e_log.S: New file.
27821 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27822 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27823
396a21b1
UD
27824 * ctype/ctype.h: Add support for inlined isXXX functions when
27825 compiling C++ code.
27826
6b1f68c9
AS
278272011-10-14 Andreas Schwab <schwab@redhat.com>
27828
349290c0
AS
27829 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27830
6b1f68c9
AS
27831 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27832
f2282d42
RM
278332011-10-13 Roland McGrath <roland@hack.frob.com>
27834
27835 [BZ #13291]
27836 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27837
5298ffa8
AS
278382011-10-13 Andreas Schwab <schwab@redhat.com>
27839
714fad23
AS
27840 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27841 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27842 feraiseexcept.
27843
81dcc7fb
AS
27844 * sysdeps/x86_64/memrchr.S: Check for zero size.
27845
5298ffa8
AS
27846 * string/stratcliff.c: Add memrchr tests.
27847
951fbcec
LD
278482011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27849
27850 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27851 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27852 rawmemchr-sse2 rawmemchr-sse2-bsf.
27853 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27854 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27855 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27856 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27857 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27858 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27859 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27860 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27861 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27862 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27863 * string/memrchr.c (MEMRCHR): New macro.
27864
0ac5ae23
UD
278652011-10-12 Ulrich Drepper <drepper@gmail.com>
27866
27867 Add integration with gcc's -ffinite-math-only and optimize wrapper
27868 functions in libm.
27869 * Versions.def: Define GLIBC_2.15 version for libm.
27870 * math/Makefile (headers): Add bits/math-finite.h.
27871 * math/bits/math-finite.h: New file.
27872 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27873 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27874 * math/e_acoshl.c: Add __*_finite alias.
27875 * math/e_acosl.c: Likewise.
27876 * math/e_asinl.c: Likewise.
27877 * math/e_atan2l.c: Likewise.
27878 * math/e_atanhl.c: Likewise.
27879 * math/e_coshl.c: Likewise.
27880 * math/e_exp10.c: Likewise.
27881 * math/e_exp10f.c: Likewise.
27882 * math/e_exp10l.c: Likewise.
27883 * math/e_exp2l.c: Likewise.
27884 * math/e_fmodl.c: Likewise.
27885 * math/e_gammal_r.c: Likewise.
27886 * math/e_hypotl.c: Likewise.
27887 * math/e_j0l.c: Likewise.
27888 * math/e_j1l.c: Likewise.
27889 * math/e_jnl.c: Likewise.
27890 * math/e_lgammal_r.c: Likewise.
27891 * math/e_log10l.c: Likewise.
27892 * math/e_log2l.c: Likewise.
27893 * math/e_logl.c: Likewise.
27894 * math/e_powl.c: Likewise.
27895 * math/e_sinhl.c: Likewise.
27896 * math/e_sqrtl.c: Likewise.
27897 * math/e_scalb.c: Completely rewritten and optimized.
27898 * math/e_scalbf.c: Likewise.
27899 * math/e_scalbl.c: Likewise.
27900 * math/w_acos.c: Likewise.
27901 * math/w_acosf.c: Likewise.
27902 * math/w_acosl.c: Likewise.
27903 * math/w_acosh.c: Likewise.
27904 * math/w_acoshf.c: Likewise.
27905 * math/w_acoshl.c: Likewise.
27906 * math/w_asin.c: Likewise.
27907 * math/w_asinf.c: Likewise.
27908 * math/w_asinl.c: Likewise.
27909 * math/w_atan2.c: Likewise.
27910 * math/w_atan2f.c: Likewise.
27911 * math/w_atan2l.c: Likewise.
27912 * math/w_atanh.c: Likewise.
27913 * math/w_atanhf.c: Likewise.
27914 * math/w_atanhl.c: Likewise.
27915 * math/w_exp10.c: Likewise.
27916 * math/w_exp10f.c: Likewise.
27917 * math/w_exp10l.c: Likewise.
27918 * math/w_fmod.c: Likewise.
27919 * math/w_fmodf.c: Likewise.
27920 * math/w_fmodl.c: Likewise.
27921 * math/w_j0.c: Likewise.
27922 * math/w_j0f.c: Likewise.
27923 * math/w_j0l.c: Likewise.
27924 * math/w_j1.c: Likewise.
27925 * math/w_j1f.c: Likewise.
27926 * math/w_j1l.c: Likewise.
27927 * math/w_jn.c: Likewise.
27928 * math/w_jnf.c: Likewise.
27929 * math/w_log.c: Likewise.
27930 * math/w_logf.c: Likewise.
27931 * math/w_logl.c: Likewise.
27932 * math/w_log10.c: Likewise.
27933 * math/w_log10f.c: Likewise.
27934 * math/w_log10l.c: Likewise.
27935 * math/w_log2.c: Likewise.
27936 * math/w_log2f.c: Likewise.
27937 * math/w_log2l.c: Likewise.
27938 * math/w_pow.c: Likewise.
27939 * math/w_powf.c: Likewise.
27940 * math/w_powl.c: Likewise.
27941 * math/w_remainder.c: Likewise.
27942 * math/w_remainderf.c: Likewise.
27943 * math/w_remainderl.c: Likewise.
27944 * math/w_scalb.c: Likewise.
27945 * math/w_scalbf.c: Likewise.
27946 * math/w_scalbl.c: Likewise.
27947 * math/w_sqrt.c: Likewise.
27948 * math/w_sqrtf.c: Likewise.
27949 * math/w_sqrtl.c: Likewise.
27950 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27951 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27952 used.
27953 * math/math_private.h: Declare __kernel_standard_f.
27954 * math/w_cosh.c: Remove cruft and optimize a bit.
27955 * math/w_coshf.c: Likewise.
27956 * math/w_coshl.c: Likewise.
27957 * math/w_exp2.c: Likewise.
27958 * math/w_exp2f.c: Likewise.
27959 * math/w_exp2l.c: Likewise.
27960 * math/w_hypot.c: Likewise.
27961 * math/w_hypotf.c: Likewise.
27962 * math/w_hypotl.c: Likewise.
27963 * math/w_lgamma.c: Likewise.
27964 * math/w_lgamma_r.c: Likewise.
27965 * math/w_lgammaf.c: Likewise.
27966 * math/w_lgammaf_r.c: Likewise.
27967 * math/w_lgammal.c: Likewise.
27968 * math/w_lgammal_r.c: Likewise.
27969 * math/w_sinh.c: Likewise.
27970 * math/w_sinhf.c: Likewise.
27971 * math/w_sinhl.c: Likewise.
27972 * math/w_tgamma.c: Likewise.
27973 * math/w_tgammaf.c: Likewise.
27974 * math/w_tgammal.c: Likewise.
27975 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27976 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27977 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27978 Minor optimizations. Pretty printing. Remove cruft.
27979 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27980 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27981 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27982 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27983 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27984 * sysdeps/i386/fpu/e_asin.S: Likewise.
27985 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27986 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27987 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27988 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27989 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27990 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27991 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27992 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27993 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27994 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27995 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27996 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27997 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27998 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27999 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28000 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28001 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28002 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28003 * sysdeps/i386/fpu/e_log.S: Likewise.
28004 * sysdeps/i386/fpu/e_log10.S: Likewise.
28005 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28006 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28007 * sysdeps/i386/fpu/e_log2.S: Likewise.
28008 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28009 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28010 * sysdeps/i386/fpu/e_logf.S: Likewise.
28011 * sysdeps/i386/fpu/e_logl.S: Likewise.
28012 * sysdeps/i386/fpu/e_pow.S: Likewise.
28013 * sysdeps/i386/fpu/e_powf.S: Likewise.
28014 * sysdeps/i386/fpu/e_powl.S: Likewise.
28015 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28016 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28017 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28018 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28019 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28020 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28021 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28022 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28023 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28024 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28025 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28026 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28027 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28028 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28029 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28030 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28031 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28032 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28033 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28034 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28035 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28037 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28038 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28039 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28040 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28041 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28042 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28044 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28045 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28046 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28047 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28048 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28049 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28050 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28051 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28052 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28053 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28054 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28055 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28056 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28057 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28058 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28059 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28060 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28061 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28062 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28063 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28064 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28065 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28066 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28067 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28068 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28069 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28070 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28071 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28072 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28073 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28074 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28075 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28076 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28077 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28078 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28079 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28080 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28081 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28082 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28083 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28084 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28085 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28086 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28087 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28088 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28089 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28090 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28091 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28092 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28093 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28094 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28095 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28096 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28097 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28099 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28100 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28101 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28102 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28103 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28104 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28105 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28106 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28107 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28108 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28109 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28110 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28111 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28112 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28113 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28114 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28115 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28116 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28117 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28118 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28119 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28120 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28121 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28122 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28123 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28124 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28125 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28126 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28127 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28128 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28129 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28130 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28131 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28132 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28133 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28134 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28135 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28136 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28137 (__isnanf): Likewise.
28138 (__isinf_ns): Likewise.
28139 (__isinf_nsf): Likewise.
28140 (__finite): Likewise.
28141 (__finitef): Likewise.
28142 (__ieee754_sqrt): Define as macro.
28143 (__ieee754_sqrtf): Define as macro.
28144 (__ieee754_sqrtl): Define as macro.
28145 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28146 inlined copy.
28147 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28148 __FINITE_MATH_ONLY__ consistent.
28149 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28150
12cc2fcd
AS
281512011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28152
a843a204
AS
28153 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28154 of rawmemchr.
28155
12cc2fcd
AS
28156 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28157
c853acd5
UD
281582011-10-09 Ulrich Drepper <drepper@gmail.com>
28159
28160 * po/ja.po: Update from translation team.
28161
c658d255
RM
281622011-10-08 Roland McGrath <roland@hack.frob.com>
28163
110946e4
RM
28164 * locale/programs/locarchive.c (prepare_address_space): New function.
28165 (create_archive, enlarge_archive, open_archive): Use it.
28166
50604220
RM
28167 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28168 inside [SHARED], where it is used.
28169
c658d255
RM
28170 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28171
28172 * nss/getent.c (netgroup_keys): Remove unused variable.
28173 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28174
6a621eb7
UD
281752011-10-08 Ulrich Drepper <drepper@gmail.com>
28176
7edb55ce
UD
28177 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28178 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28180 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28181 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28182 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28183 * math/Makefile (libm-calls): Add s_isinf_ns.
28184 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28185 * math/multc3.c: Likewise.
28186 * math/s_casin.c: Likewise.
28187 * math/s_casinf.c: Likewise.
28188 * math/s_casinl.c: Likewise.
28189 * math/s_ccos.c: Likewise.
28190 * math/s_ccosf.c: Likewise.
28191 * math/s_ccosl.c: Likewise.
28192 * math/s_ctan.c: Likewise.
28193 * math/s_ctanf.c: Likewise.
28194 * math/s_ctanh.c: Likewise.
28195 * math/s_ctanhf.c: Likewise.
28196 * math/s_ctanhl.c: Likewise.
28197 * math/s_ctanl.c: Likewise.
28198 * math/w_fmod.c: Likewise.
28199 * math/w_fmodf.c: Likewise.
28200 * math/w_fmodl.c: Likewise.
28201 * math/w_remainder.c: Likewise.
28202 * math/w_remainderf.c: Likewise.
28203 * math/w_remainderl.c: Likewise.
28204 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28205 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28206 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28208 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28209 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28210 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28211 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28212
187da0ae
UD
28213 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28214 of the number.
28215 * stdio-common/printf_fphex.c: Likewise.
28216 * stdio-common/printf_size.c: Likewise.
28217
9277c064
UD
28218 * math/e_exp10.c: Include math_private.h using <...> not "...".
28219 * math/e_exp10f.c: Likewise.
28220 * math/e_exp10l.c: Likewise.
28221 * math/e_exp2l.c: Likewise.
28222 * math/e_j0l.c: Likewise.
28223 * math/e_j1l.c: Likewise.
28224 * math/e_jnl.c: Likewise.
28225 * math/e_lgammal_r.c: Likewise.
28226 * math/e_rem_pio2l.c: Likewise.
28227 * math/e_scalb.c: Likewise.
28228 * math/e_scalbf.c: Likewise.
28229 * math/e_scalbl.c: Likewise.
28230 * math/k_cosl.c: Likewise.
28231 * math/k_sinl.c: Likewise.
28232 * math/k_tanl.c: Likewise.
28233 * math/s_cacoshf.c: Likewise.
28234 * math/s_catan.c: Likewise.
28235 * math/s_catanf.c: Likewise.
28236 * math/s_catanh.c: Likewise.
28237 * math/s_catanhf.c: Likewise.
28238 * math/s_catanhl.c: Likewise.
28239 * math/s_catanl.c: Likewise.
28240 * math/s_ccosh.c: Likewise.
28241 * math/s_ccoshf.c: Likewise.
28242 * math/s_ccoshl.c: Likewise.
28243 * math/s_cexp.c: Likewise.
28244 * math/s_cexpf.c: Likewise.
28245 * math/s_cexpl.c: Likewise.
28246 * math/s_clog.c: Likewise.
28247 * math/s_clog10.c: Likewise.
28248 * math/s_clog10f.c: Likewise.
28249 * math/s_clog10l.c: Likewise.
28250 * math/s_clogf.c: Likewise.
28251 * math/s_clogl.c: Likewise.
28252 * math/s_csin.c: Likewise.
28253 * math/s_csinf.c: Likewise.
28254 * math/s_csinh.c: Likewise.
28255 * math/s_csinhf.c: Likewise.
28256 * math/s_csinhl.c: Likewise.
28257 * math/s_csinl.c: Likewise.
28258 * math/s_csqrt.c: Likewise.
28259 * math/s_csqrtf.c: Likewise.
28260 * math/s_csqrtl.c: Likewise.
28261 * math/s_ctan.c: Likewise.
28262 * math/s_ctanf.c: Likewise.
28263 * math/s_ctanh.c: Likewise.
28264 * math/s_ctanhf.c: Likewise.
28265 * math/s_ctanhl.c: Likewise.
28266 * math/s_ctanl.c: Likewise.
28267 * math/s_ldexp.c: Likewise.
28268 * math/s_ldexpf.c: Likewise.
28269 * math/s_ldexpl.c: Likewise.
28270 * math/s_significand.c: Likewise.
28271 * math/s_significandf.c: Likewise.
28272 * math/s_significandl.c: Likewise.
28273 * math/w_acos.c: Likewise.
28274 * math/w_acosf.c: Likewise.
28275 * math/w_acosh.c: Likewise.
28276 * math/w_acoshf.c: Likewise.
28277 * math/w_acoshl.c: Likewise.
28278 * math/w_acosl.c: Likewise.
28279 * math/w_asin.c: Likewise.
28280 * math/w_asinf.c: Likewise.
28281 * math/w_asinl.c: Likewise.
28282 * math/w_atan2.c: Likewise.
28283 * math/w_atan2f.c: Likewise.
28284 * math/w_atan2l.c: Likewise.
28285 * math/w_atanh.c: Likewise.
28286 * math/w_atanhf.c: Likewise.
28287 * math/w_atanhl.c: Likewise.
28288 * math/w_cosh.c: Likewise.
28289 * math/w_coshf.c: Likewise.
28290 * math/w_coshl.c: Likewise.
28291 * math/w_dremf.c: Likewise.
28292 * math/w_exp10.c: Likewise.
28293 * math/w_exp10f.c: Likewise.
28294 * math/w_exp10l.c: Likewise.
28295 * math/w_exp2.c: Likewise.
28296 * math/w_exp2f.c: Likewise.
28297 * math/w_fmod.c: Likewise.
28298 * math/w_fmodf.c: Likewise.
28299 * math/w_fmodl.c: Likewise.
28300 * math/w_hypot.c: Likewise.
28301 * math/w_hypotf.c: Likewise.
28302 * math/w_hypotl.c: Likewise.
28303 * math/w_j0.c: Likewise.
28304 * math/w_j0f.c: Likewise.
28305 * math/w_j0l.c: Likewise.
28306 * math/w_j1.c: Likewise.
28307 * math/w_j1f.c: Likewise.
28308 * math/w_j1l.c: Likewise.
28309 * math/w_jn.c: Likewise.
28310 * math/w_jnf.c: Likewise.
28311 * math/w_jnl.c: Likewise.
28312 * math/w_lgamma.c: Likewise.
28313 * math/w_lgamma_r.c: Likewise.
28314 * math/w_lgammaf.c: Likewise.
28315 * math/w_lgammaf_r.c: Likewise.
28316 * math/w_lgammal.c: Likewise.
28317 * math/w_lgammal_r.c: Likewise.
28318 * math/w_log.c: Likewise.
28319 * math/w_log10.c: Likewise.
28320 * math/w_log10f.c: Likewise.
28321 * math/w_log10l.c: Likewise.
28322 * math/w_log2.c: Likewise.
28323 * math/w_log2f.c: Likewise.
28324 * math/w_log2l.c: Likewise.
28325 * math/w_logf.c: Likewise.
28326 * math/w_logl.c: Likewise.
28327 * math/w_pow.c: Likewise.
28328 * math/w_powf.c: Likewise.
28329 * math/w_powl.c: Likewise.
28330 * math/w_remainder.c: Likewise.
28331 * math/w_remainderf.c: Likewise.
28332 * math/w_remainderl.c: Likewise.
28333 * math/w_scalb.c: Likewise.
28334 * math/w_scalbf.c: Likewise.
28335 * math/w_scalbl.c: Likewise.
28336 * math/w_sinh.c: Likewise.
28337 * math/w_sinhf.c: Likewise.
28338 * math/w_sinhl.c: Likewise.
28339 * math/w_sqrt.c: Likewise.
28340 * math/w_sqrtf.c: Likewise.
28341 * math/w_sqrtl.c: Likewise.
28342 * math/w_tgamma.c: Likewise.
28343 * math/w_tgammaf.c: Likewise.
28344 * math/w_tgammal.c: Likewise.
28345
6a621eb7
UD
28346 * po/ja.po: Update from translation team.
28347
bf582445
AJ
283482011-09-29 Andreas Jaeger <aj@suse.de>
28349
f9efbf3a
AJ
28350 [BZ #13179]
28351 * sunrpc/netname.c (netname2host): Fix logic.
28352
bf582445
AJ
28353 [BZ #6779]
28354 [BZ #6783]
28355 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28356 correctly.
28357 * math/w_remainder.c (__remainder): Likewise.
28358 * math/w_remainderf.c (__remainderf): Likewise.
28359 * math/libm-test.inc (remainder_test): Add test cases.
28360
48693bea
AK
283612011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28362
28363 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28364 sdiv_qrnnd.
28365
42622229
LD
283662011-10-07 Ulrich Drepper <drepper@gmail.com>
28367
28368 * string/test-memcmp.c: Avoid unncessary #defines.
28369 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28370
093ecf92
LD
283712011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28372
28373 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28374 Use new sse2 version for core i3 - i7 as it's faster
28375 than sse42 version.
28376 (bit_Prefer_PMINUB_for_stringop): New.
28377 * sysdeps/x86_64/rawmemchr.S: Update.
28378 Replace with faster SSE2 version.
28379 * sysdeps/x86_64/memrchr.S: New file.
28380 * sysdeps/x86_64/memchr.S: Update.
28381 Replace with faster SSE2 version.
28382
fde56e5c
MP
283832011-09-12 Marek Polacek <mpolacek@redhat.com>
28384
28385 * elf/dl-load.c (lose): Add cast to avoid warning.
28386
21fd49a9
UD
283872011-10-07 Ulrich Drepper <drepper@gmail.com>
28388
5a06e643
UD
28389 * po/ca.po: Update from translation team.
28390
684ae515
UD
28391 * inet/getnetgrent_r.c: Hook up nscd.
28392 * nscd/Makefile (routines): Add nscd_netgroup.
28393 (nscd-modules): Add netgroupcache.
28394 (CFLAGS-netgroupcache.c): Define.
28395 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28396 (cache_search): Add const to second parameter.
28397 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28398 INNETGR.
28399 (dbs): Add netgrdb entry.
28400 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28401 (verify_persistent_db): Handle netgrdb.
28402 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28403 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28404 GETFDNETGR.
28405 (netgroup_response_header): Define.
28406 (innetgroup_response_header): Define.
28407 (datahead): Add netgroup_response_header and innetgroup_response_header
28408 elements.
28409 * nscd/nscd.conf: Add entries for netgroup cache.
28410 * nscd/nscd.h (dbtype): Add netgrdb.
28411 (_PATH_NSCD_NETGROUP_DB): Define.
28412 (netgroup_iov_disabled): Declare.
28413 (xmalloc, xcalloc, xrealloc): Move declarations here.
28414 (cache_search): Adjust prototype.
28415 Add netgroup-related prototypes.
28416 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28417 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28418 (__nscd_innetgr): Declare.
28419 * nscd/selinux.c (perms): Use access_vector_t as element type and
28420 add netgroup-related initializers.
28421 * nscd/netgroupcache.c: New file.
28422 * nscd/nscd_netgroup.c: New file.
28423 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28424 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28425 For four parameters use innetgr.
28426 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28427 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28428 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28429 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28430
21fd49a9
UD
28431 * nscd/connections.c (register_traced_file): Don't register file
28432 for disabled databases.
28433
054c0457
UD
284342011-10-06 Ulrich Drepper <drepper@gmail.com>
28435
32b63198
UD
28436 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28437
054c0457
UD
28438 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28439 from tree and freeing node.
28440
64031225
JO
284412011-09-25 Jiri Olsa <jolsa@redhat.com>
28442
28443 * nss/nsswitch.c (__nss_database_lookup): Handle
28444 nss_parse_service_list out of memory case.
28445
0490345c
JO
284462011-09-15 Jiri Olsa <jolsa@redhat.com>
28447
28448 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28449 out of memory case.
28450
3a62d00d
AS
284512011-10-04 Andreas Schwab <schwab@redhat.com>
28452
28453 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28454 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28455 pass it down.
28456 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28457 elf_machine_rela, elf_machine_lazy_rel.
28458 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28459 (ELF_DYNAMIC_DO_REL): Likewise.
28460 (ELF_DYNAMIC_DO_RELA): Likewise.
28461 (ELF_DYNAMIC_RELOCATE): Likewise.
28462 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28463 to ELF_DYNAMIC_DO_REL.
28464 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28465 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28466 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28467 elf_machine_rela.
28468 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28469 skip_ifunc, don't call ifunc function if non-zero.
28470 (elf_machine_rela): Likewise.
28471 (elf_machine_lazy_rel): Likewise.
28472 (elf_machine_lazy_rela): Likewise.
28473 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28474 (elf_machine_lazy_rel): Likewise.
28475 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28476 Likewise.
28477 (elf_machine_lazy_rel): Likewise.
28478 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28479 Likewise.
28480 (elf_machine_lazy_rel): Likewise.
28481 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28482 (elf_machine_lazy_rel): Likewise.
28483 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28484 (elf_machine_lazy_rel): Likewise.
28485 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28486 (elf_machine_lazy_rel): Likewise.
28487 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28488 (elf_machine_lazy_rel): Likewise.
28489 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28490 (elf_machine_lazy_rel): Likewise.
28491 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28492 (elf_machine_lazy_rel): Likewise.
28493
68577918
UD
284942011-09-28 Ulrich Drepper <drepper@gmail.com>
28495
28496 * nss/nss_files/files-init.c (_nss_files_init): Use static
28497 initialization for all the *_traced_file variables.
28498
68822d74
AS
284992011-09-28 Andreas Schwab <schwab@redhat.com>
28500
28501 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28502
2056100b
RM
285032011-09-27 Roland McGrath <roland@hack.frob.com>
28504
28505 [BZ #13226]
28506 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28507
32c76b63
AS
285082011-09-27 Andreas Schwab <schwab@redhat.com>
28509
28510 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28511 Reread the line before reparsing it.
28512
bf972c9d
AS
285132011-09-26 Andreas Schwab <schwab@redhat.com>
28514
28515 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28516
e057a1b5
JM
285172011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28518 Maxim Kuvyrkov <maxim@codesourcery.com>
28519 Joseph Myers <joseph@codesourcery.com>
28520
28521 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28522 if needed for __stack_chk_guard.
28523
bc7e1c36
RM
285242011-09-19 Roland McGrath <roland@hack.frob.com>
28525
ecb1482f
RM
28526 * sysdeps/posix/spawni.c (script_execute): Always define it.
28527 It will be optimized away if unused.
28528 (maybe_script_execute): New function.
28529 (__spawni): Call it.
28530
bc7e1c36
RM
28531 * Makerules: Don't include tls.make.
28532 (config-tls): Always set to thread.
28533 * tls.make.c: File removed.
28534
1c3b002b
MF
285352011-09-19 Mike Frysinger <vapier@gentoo.org>
28536
28537 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28538 * config.make.in (CPPFLAGS-config): New substituted variable.
28539
2840865d
UD
285402011-09-15 Ulrich Drepper <drepper@gmail.com>
28541
88738eb6
UD
28542 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28543
cbf645a6 28544 [BZ #13192]
2840865d
UD
28545 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28546 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28547
b402e91a
RM
285482011-09-15 Roland McGrath <roland@hack.frob.com>
28549
28550 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28551 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28552 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28553 (CALL_FAIL): Likewise.
28554 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28555 (CALL_FAIL): Macro removed.
28556 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28557
4c1a1f71
UD
285582011-09-15 Ulrich Drepper <drepper@gmail.com>
28559
28560 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28561 for __FINITE_MATH_ONLY__ == 1.
28562
edc121be
AS
285632011-09-15 Andreas Schwab <schwab@redhat.com>
28564
28565 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28566 __ieee754_sqrt instead of sqrt.
28567 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28568 __ieee754_sqrtf instead of sqrtf.
28569 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28570 __floorf instead of floorf.
28571 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28572 __floorf, __truncf instead of floorf, truncf.
28573
cd205654
UD
285742011-09-14 Ulrich Drepper <drepper@gmail.com>
28575
ee4d0315
UD
28576 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28577
cd205654
UD
28578 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28579 __extern_always_inline.
28580 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28581 32-bit.
28582
48b67d71
AS
285832011-09-14 Andreas Schwab <schwab@redhat.com>
28584
28585 * elf/rtld.c (dl_main): Also relocate in dependency order when
28586 doing symbol dependency testing.
28587
1ae12c75
AS
285882011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28589
28590 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28591 Always define `refsym'.
28592
995a80df
AS
285932011-09-13 Andreas Schwab <schwab@redhat.com>
28594
e529793b
AS
28595 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28596 (__FD_ELT): Renamed from __FDELT.
28597 * misc/bits/select2.h (__FD_ELT): Likewise.
28598 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28599 __FD_MASK instead of __FDELT, __FDMASK.
28600 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28601 Likewise.
28602 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28603 Likewise.
28604
52d4fef8
AS
28605 * elf/Makefile (gen-ldd): Fix pattern.
28606
995a80df
AS
28607 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28608 (init_tls): Likewise.
28609
8682f8b0
UD
286102011-09-12 Ulrich Drepper <drepper@gmail.com>
28611
28612 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28613
de82006d
AS
286142011-09-12 Andreas Schwab <schwab@redhat.com>
28615
a7c8e6a1
AS
28616 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28617 `struct cmsghdr *' instead of `void *'.
28618 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28619 Likewise.
28620
0f31fe77
AS
286212011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28622
28623 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28624 if non-absolute.
28625 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28626 ldd_rewrite_script.
0f31fe77 28627
32b4c839
UD
286282011-09-11 Ulrich Drepper <drepper@gmail.com>
28629
83cd1420
UD
28630 * configure.in: Remove --with-tls option.
28631 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28632 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28633 out in case it is missing.
28634 * sysdeps/ia64/elf/configure.in: Likewise.
28635 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28636 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28637 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28638 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28639 * sysdeps/sh/elf/configure.in: Likewise.
28640 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28641 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28642 * sysdeps/x86_64/elf/configure.in: Likewise.
28643 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28644 * sysdeps/mach/hurd/tls.h: Likewise.
28645
633f745d
UD
28646 [BZ #13067]
28647 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28648
f318beb8
UD
28649 [BZ #13090]
28650 * configure.in: Fix use of AC_INIT.
28651
32b4c839
UD
28652 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28653
3ce1f295
UD
286542011-09-10 Ulrich Drepper <drepper@gmail.com>
28655
bb016596
UD
28656 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28657 __set_errno.
8e58439c
UD
28658 * malloc/hooks.c: Likewise.
28659
aebae053 28660 [BZ #11929]
02d46fc4
UD
28661 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28662 variables statically.
28663 (narenas): Initialize.
28664 (list_lock): Initialize.
bb016596
UD
28665 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28666 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28667 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28668 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28669 Add initializers to main_arena and mp_.
28670 (malloc_state): Remove pagesize member. Change all users to use
28671 GLRO(dl_pagesize).
28672
28673 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28674 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28675 is always initialized.
28676
22a89187
UD
28677 * malloc/malloc.c: Removed unused configurations and dead code.
28678 * malloc/arena.c: Likewise.
28679 * malloc/hooks.c: Likewise.
02d46fc4 28680 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28681
d063d164
UD
28682 * include/tls.h: Removed. USE___THREAD must always be defined.
28683 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28684 * elf/dl-libc.c: Likewise.
28685 * elf/dl-tsd.c: Likewise.
28686 * include/errno.h: Likewise.
28687 * include/netdb.h: Likewise.
28688 * include/resolv.h: Likewise.
28689 * inet/herrno-loc.c: Likewise.
28690 * inet/herrno.c: Likewise.
28691 * malloc/arena.c: Likewise.
28692 * malloc/hooks.c: Likewise.
28693 * malloc/malloc.c: Likewise.
28694 * resolv/res-state.c: Likewise.
28695 * resolv/res_libc.c: Likewise.
28696 * sysdeps/i386/dl-machine.h: Likewise.
28697 * sysdeps/ia64/dl-machine.h: Likewise.
28698 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28699 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28700 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28701 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28702 * sysdeps/sh/dl-machine.h: Likewise.
28703 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28704 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28705 * sysdeps/unix/i386/sysdep.S: Likewise.
28706 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28707 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28708 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28709 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28710 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28711 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28712 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28713 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28716 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28717 * sysdeps/x86_64/dl-machine.h: Likewise.
28718 * tls.make.c: Likewise.
28719
3ce1f295
UD
28720 * configure.in: Remove --with-__thread option. Make tests for
28721 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28722 tls_model attribute fail if no support is available. Remove
28723 USE_IN_LIBIO.
28724 * Makeconfig: Adjust for dropped configure option. All features are
28725 now mandatory.
28726 * Makerules: Likewise.
28727 * Versions.def: Likewise.
28728 * argp/argp-fmtstream.c: Likewise.
28729 * argp/argp-fmtstream.h: Likewise.
28730 * argp/argp-help.c: Likewise.
28731 * assert/assert.c: Likewise.
28732 * config.h.in: Likewise.
28733 * config.make.in: Likewise.
28734 * configure: Likewise.
28735 * configure.in: Likewise.
28736 * csu/Versions: Likewise.
28737 * csu/init.c: Likewise.
28738 * elf/tst-audit2.c: Likewise.
28739 * elf/tst-tls10.c: Likewise.
28740 * elf/tst-tls10.h: Likewise.
28741 * elf/tst-tls11.c: Likewise.
28742 * elf/tst-tls12.c: Likewise.
28743 * elf/tst-tls14.c: Likewise.
28744 * elf/tst-tlsmod11.c: Likewise.
28745 * elf/tst-tlsmod12.c: Likewise.
28746 * elf/tst-tlsmod13.c: Likewise.
28747 * elf/tst-tlsmod13a.c: Likewise.
28748 * elf/tst-tlsmod14a.c: Likewise.
28749 * elf/tst-tlsmod15b.c: Likewise.
28750 * elf/tst-tlsmod16a.c: Likewise.
28751 * elf/tst-tlsmod16b.c: Likewise.
28752 * elf/tst-tlsmod7.c: Likewise.
28753 * elf/tst-tlsmod8.c: Likewise.
28754 * elf/tst-tlsmod9.c: Likewise.
28755 * gmon/gmon.c: Likewise.
28756 * grp/fgetgrent_r.c: Likewise.
28757 * grp/putgrent.c: Likewise.
28758 * hurd/fopenport.c: Likewise.
28759 * include/libc-symbols.h: Likewise.
28760 * include/tls.h: Likewise.
28761 * intl/gettextP.h: Likewise.
28762 * intl/loadinfo.h: Likewise.
28763 * locale/global-locale.c: Likewise.
28764 * locale/localeinfo.h: Likewise.
28765 * mach/devstream.c: Likewise.
28766 * malloc/arena.c: Likewise.
28767 * malloc/set-freeres.c: Likewise.
28768 * misc/err.c: Likewise.
28769 * misc/getttyent.c: Likewise.
28770 * misc/mntent_r.c: Likewise.
28771 * posix/getopt.c: Likewise.
28772 * posix/wordexp.c: Likewise.
28773 * pwd/fgetpwent_r.c: Likewise.
28774 * resolv/Versions: Likewise.
28775 * resolv/res_hconf.c: Likewise.
28776 * shadow/fgetspent_r.c: Likewise.
28777 * shadow/putspent.c: Likewise.
28778 * stdio-common/printf_fphex.c: Likewise.
28779 * stdio-common/tmpfile.c: Likewise.
28780 * stdlib/abort.c: Likewise.
28781 * stdlib/fmtmsg.c: Likewise.
28782 * sunrpc/auth_unix.c: Likewise.
28783 * sunrpc/clnt_perr.c: Likewise.
28784 * sunrpc/clnt_tcp.c: Likewise.
28785 * sunrpc/clnt_udp.c: Likewise.
28786 * sunrpc/clnt_unix.c: Likewise.
28787 * sunrpc/openchild.c: Likewise.
28788 * sunrpc/svc_simple.c: Likewise.
28789 * sunrpc/svc_tcp.c: Likewise.
28790 * sunrpc/svc_udp.c: Likewise.
28791 * sunrpc/svc_unix.c: Likewise.
28792 * sunrpc/xdr.c: Likewise.
28793 * sunrpc/xdr_array.c: Likewise.
28794 * sunrpc/xdr_rec.c: Likewise.
28795 * sunrpc/xdr_ref.c: Likewise.
28796 * sunrpc/xdr_stdio.c: Likewise.
28797
1248c1c4
PB
287982011-09-09 Ulrich Drepper <drepper@gmail.com>
28799
28800 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28801
288022011-07-03 Andreas Jaeger <aj@suse.de>
28803
28804 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28805 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28806 regenerate with gen-libm-tests.pl.
28807
288082010-05-12 Petr Baudis <pasky@suse.cz>
28809
28810 [BZ #11589]
28811 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28812 around j0() zero points by switching to j1().
28813 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28814 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28816 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28817
f22e1074
UD
288182011-09-09 Ulrich Drepper <drepper@gmail.com>
28819
f19009c1
UD
28820 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28821 instead of 0.
28822 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28823 instead of 0.
f19009c1
UD
28824 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28825 Patch in part by Pavel Roskin <proski@gnu.org>.
28826
3f8cc204
UD
28827 [BZ #13138]
28828 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28829 realloc.
28830 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28831 Free memory block if necessary.
28832
f22e1074
UD
28833 [BZ #12847]
28834 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28835 be NULL. Don't lock in this case.
28836
0a2349f9
RM
288372011-09-09 Roland McGrath <roland@hack.frob.com>
28838
28839 * elf/elf.h (ELFOSABI_GNU): New macro.
28840 (ELFOSABI_LINUX): Define to that.
28841
f3cdd467
DZ
288422011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28843
28844 * string/strncat.c (strncat): Undef the symbol in case it has been
28845 defined in bits/string.h.
28846
74718d13
UD
288472011-09-09 Ulrich Drepper <drepper@gmail.com>
28848
633e9e0f
UD
28849 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28850
0a2349f9 28851 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28852 link map.
28853
f9924780
AJ
288542011-08-17 Andreas Jaeger <aj@suse.de>
28855
28856 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28857
7f5517aa
PP
288582011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28859 Ian Lance Taylor <iant@google.com>
28860
28861 * math/libm-test.inc (lround_test): New testcase.
28862 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28863
762011fe
UD
288642011-09-08 Ulrich Drepper <drepper@gmail.com>
28865
92963737
UD
28866 * Makefile: Remove support for automatic cvs check-ins.
28867 * Makerules: Likewise.
28868 * config.make.in: Likewise.
28869 * configure.in: Likewise.
28870 * intl/Makefile: Likewise.
28871 * locale/Makefile: Likewise.
28872 * po/Makefile: Likewise.
28873 * posix/Makefile: Likewise.
28874 * sysdeps/gnu/Makefile: Likewise.
28875 * sysdeps/mach/hurd/Makefile: Likewise.
28876 * sysdeps/sparc/sparc32/Makefile: Likewise.
28877
b0727fd8
JS
28878 [BZ #13118]
28879 * posix/Makefile (bug-regex32-ENV): Define.
28880 Patch by John Stanley <jpsinthemix@verizon.net>.
28881
a0f33f99
UD
28882 * misc/Makefile (headers): Add bits/select2.h.
28883 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28884 * misc/bits/select2.h: New file.
28885 * include/bits/select2.h: New file.
28886 * debug/Makefile (routines): Add fdelt_chk.
28887 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28888 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28889 FD_ISSET.
28890 * debug/fdelt_chk.c: New file.
28891
762011fe
UD
28892 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28893 * wcsmbs/test-wmemcmp.c: Likewise.
28894 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28895 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28896
288972011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28898
28899 * string/Makefile (strop-tests): Add memcmp.
28900 * string/test-wmemcmp.c: New file.
28901 * string/test-memcmp.c: Add wmemcmp support.
28902
7f513ec8
RM
289032011-09-08 Roland McGrath <roland@hack.frob.com>
28904
0442afb4
RM
28905 [BZ #13153]
28906 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28907 2011-07-19 change.
28908
7f513ec8
RM
28909 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28910 garbage value in a __mach_port_mod_refs call in the cases of the
28911 task-self and thread-self ports.
28912
a12b2239
ST
289132011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28914
28915 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28916
610f9ab4
AS
289172011-09-08 Andreas Schwab <schwab@redhat.com>
28918
7f513ec8 28919 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28920
48882a1a
LD
289212011-09-07 Ulrich Drepper <drepper@gmail.com>
28922
b49865be
UD
28923 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28924
fdc86bc9
UD
28925 * elf/dl-libc.c (dlerror_run): Pass back error code from
28926 dl_catch_error.
28927
c966526a
UD
28928 [BZ #13123]
28929 * elf/dl-load.c (lose): Free l_origin if it is valid.
28930
48882a1a
LD
28931 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28932 names.
28933 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28934 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28935 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28936 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28937 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28938 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28939
77a2a8b4
AZ
289402011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28941
28942 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28943 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28944 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28945 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28946 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28947 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28948 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28949 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28950 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28951 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28952
24f579d8
AM
289532011-08-15 Alan Modra <amodra@gmail.com>
28954
28955 [BZ #13092]
28956 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28957 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28958 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28959 ppc_mcount to static-only-routines.
28960 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28961 __mcount_internal.
28962 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28963 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28964
3d4837df
UD
289652011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28966
28967 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28968 for finite and infinity parameters.
28969
22700377
WS
289702011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28971
28972 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28973 and add nop instructions for throughput optimization.
28974 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28975
5025581e
WS
289762011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28977
28978 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28979 aligned copy for power7 with vector-scalar instructions.
28980 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28981
08a300c9
L
289822011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28983
28984 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28985 AVX check.
28986
59178ef9
AS
289872011-09-07 Andreas Schwab <schwab@redhat.com>
28988
28989 [BZ #13144]
28990 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28991 last change.
28992
e38ba7ab
UD
289932011-09-07 Ulrich Drepper <drepper@gmail.com>
28994
28995 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28996 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28997 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28998 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28999 clock_gettime.
29000
d53a73ac
UD
290012011-09-06 Ulrich Drepper <drepper@gmail.com>
29002
fc8bffcc
UD
29003 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29004 Forgot to demangle the pointer.
29005
ceaa0c5d
UD
29006 * sysdeps/i386/sysdep.h: Define atom_text_section.
29007 * sysdeps/x86_64/sysdep.h: Likewise.
29008 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29009 section with atom_text_section.
29010 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29011 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29012 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29013 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29014 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29015
a77d3c17
UD
29016 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29017 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29018 already be defined. Change to take two parameters and don't assign
29019 result to variable. Adjust all users.
29020 Define INTERNAL_GETTIME if not already defined.
29021 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29022 call.
29023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29024 HAVE_CLOCK_GETTIME_VSYSCALL.
29025 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29026
d53a73ac
UD
29027 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29028 gettimeofday vsyscall, just use time.
29029
a8f84144
AS
290302011-09-06 Andreas Schwab <schwab@redhat.com>
29031
29032 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29033 <errno.h>.
29034
ef606249
UD
290352011-09-06 Ulrich Drepper <drepper@gmail.com>
29036
29037 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29038 syscall on x86-64.
29039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29040 syscall.
29041 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29042 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29043 syscall if possible.
29044
6585cb60
UD
290452011-09-05 Ulrich Drepper <drepper@gmail.com>
29046
29047 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29048 e_ident. Don't pass to find_mapsXX.
29049 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29050
a5f524e4
LD
290512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29052
29053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29054 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29055 * sysdeps/x86_64/multiarch/strchr.S: Update.
29056 Check bit_slow_BSF bit.
29057 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29058 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29059 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29060
554881ef
UD
290612011-09-05 Ulrich Drepper <drepper@gmail.com>
29062
d96de963
UD
29063 [BZ #13134]
29064 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29065 before glibc 2.15.
29066 (tryshell): Define.
29067 (__spawni): Change last parameter to be flag. Test
29068 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29069 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29070 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29071 * posix/spawni.c: Likewise.
29072 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29073 * posix/spawnp.c: Likewise. Change normal version to use
29074 SPAWN_XFLAGS_USE_PATH.
29075 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29076 SPAWN_XFLAGS_TRY_SHELL.
29077
d48e5868
UD
29078 [BZ #13150]
29079 * posix/glob.h: Remove gcc 1.x support.
29080
554881ef
UD
29081 [BZ #13068]
29082 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29083
693fb948
LD
290842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29085
29086 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29087 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29088 strrchr-sse2-bsf
29089 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29090 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29091 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29092 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29093 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29094 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29095
1b48c537
UD
290962011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29097
49d42c37
UD
29098 * sysdeps/x86_64/wcscmp.S: New file.
29099
1b48c537
UD
29100 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29101 wcscmp-c wcscmp-sse2
29102 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29103 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29104 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29105 * wcsmbs/wcscmp.c: Allow renaming.
29106
15c95c5d
DM
291072011-09-05 David S. Miller <davem@davemloft.net>
29108
29109 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29110 stack slot, rather than the struct return pointer slot.
29111 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29112 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29114 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29115
2f0ad8f3
UD
291162011-09-05 Ulrich Drepper <drepper@gmail.com>
29117
d88ae418
UD
29118 * po/ja.po: Update from translation team.
29119
2f0ad8f3
UD
29120 [BZ #13144]
29121 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29122 kernel in 64-bit binaries.
29123
5f4318d1
DM
291242011-09-01 David S. Miller <davem@davemloft.net>
29125
29126 * elf/elf.h (HWCAP_SPARC_*): Move to..
29127 * sysdeps/sparc/sysdep.h: this new file and add new values.
29128 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29129 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29130 _DL_HWCAP_COUNT to 24.
29131 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29132 entries.
29133 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29134 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29135 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29136 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29137 instead of magic constants.
29138 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29139
3ba57516
DM
291402011-08-31 David S. Miller <davem@davemloft.net>
29141
29142 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29143 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29144 Reimplement to do errno handling inline.
29145 (SYSCALL_ERROR_HANDLER): New macro.
29146 (__SYSCALL_STRING): Do not do errno handling in asm.
29147 (__CLONE_SYSCALL_STRING): Delete.
29148 (__INTERNAL_SYSCALL_STRING): Delete.
29149 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29150 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29151 (PSEUDO): Reimplement to do errno handling inline.
29152 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29153 (SYSCALL_ERROR_HANDLER): New macro.
29154 (__SYSCALL_STRING): Do not do errno handling in asm.
29155 (__CLONE_SYSCALL_STRING): Delete.
29156 (__INTERNAL_SYSCALL_STRING): Delete.
29157 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29158 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29159 i386.
29160 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29161 (inline_syscall*): Add 'err' argument.
29162 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29163 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29164 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29165 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29166
29167 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29168 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29169
2bc17433
AS
291702011-08-30 Andreas Schwab <schwab@redhat.com>
29171
29172 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29173
fbeb5f4d
JO
291742011-08-29 Jiri Olsa <jolsa@redhat.com>
29175
29176 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29177 directive.
29178
ad69cc26
DM
291792011-08-24 David S. Miller <davem@davemloft.net>
29180
29181 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29182
39dd69df
AS
291832011-08-24 Andreas Schwab <schwab@redhat.com>
29184
29185 * elf/Makefile: Add rules to build and run unload8 test.
29186 * elf/unload8.c: New file.
29187 * elf/unload8mod1.c: New file.
29188 * elf/unload8mod1x.c: New file.
29189 * elf/unload8mod2.c: New file.
29190 * elf/unload8mod3.c: New file.
29191
29192 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29193 it wasn't used.
29194
2c0b250a
DM
291952011-08-23 David S. Miller <davem@davemloft.net>
29196
29197 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29198 subtract stack bias.
29199 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29200 %sp not %fp in calculations.
29201 (_JMPBUF_UNWINDS_ADJ): Likewise.
29202
22044b48
DM
29203 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29204 (aio_suspend): Call it to force an exception region around the
29205 AIO_MISC_WAIT() invocation.
29206
2cae4995
AS
292072011-08-23 Andreas Schwab <schwab@redhat.com>
29208
29209 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29210 backslash.
29211
873a772e
AJ
292122011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29213
29214 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29215 protection macro.
29216 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29217 and <dl-machine.h>.
29218 (Elf64_FuncDesc): Remove.
29219
25ad0df1
DM
292202011-08-22 David S. Miller <davem@davemloft.net>
29221
29222 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29223 sigaltstack check, add missing cfi directives.
29224 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29225 missing cfi directives, and sigaltstack handling.
29226
e888bcbe
AS
292272011-08-16 Andreas Schwab <schwab@redhat.com>
29228
29229 [BZ #11724]
29230 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29231 object is seen twice.
29232 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29233
29234 * elf/Makefile (distribute): Add tst-initorder2.c.
29235 (tests): Add tst-initorder2.
29236 (modules-names): Add tst-initorder2a tst-initorder2b
29237 tst-initorder2c tst-initorder2d. Add rules to build them.
29238 ($(objpfx)tst-initorder2.out): New rule.
29239 * elf/tst-initorder2.c: New file.
29240 * elf/tst-initorder2.exp: New file.
29241
87162f46
AS
292422011-08-22 Andreas Schwab <schwab@redhat.com>
29243
70538b7f
AS
29244 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29245
f55ffe58
AS
29246 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29247 dependencies back to end of function.
29248
87162f46
AS
29249 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29250 $(elfobjdir)/ld.so.
29251
91b392a4
UD
292522011-08-21 Ulrich Drepper <drepper@gmail.com>
29253
29254 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29255 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29256 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29257 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29258 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29259 of __vdso_gettimeofday.
29260 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29261 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29262 attribute_hidden.
29263 (_libc_vdso_platform_setup): Remove initialization of
29264 __vdso_gettimeofday and __vdso_time.
29265
5c43483f
UD
292662011-08-20 Ulrich Drepper <drepper@gmail.com>
29267
775a77e7
UD
29268 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29269 and fgetc_unlocked.
29270 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29271 getc_unlocked.
89f447ed 29272
49c74ba9
UD
29273 * elf/dl-open.c (add_to_global): Report additions to the global scope
29274 for LD_DEBUG=scopes.
29275 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29276 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29277
5c43483f
UD
29278 [BZ #13114]
29279 * stdio-common/Makefile (tests): Add bug24.
29280 * stdio-common/bug24.c: New file.
29281
a101b025
AJ
292822011-08-19 Andreas Jaeger <aj@suse.de>
29283
29284 [BZ #13114]
29285 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29286 non-existant file when using close-on-exec mode.
29287
c88f1766
UD
292882011-08-20 Ulrich Drepper <drepper@gmail.com>
29289
0276a718
UD
29290 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29291 the very first instruction.
29292
c88f1766
UD
29293 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29294 the CFI state in the end.
29295 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29296 inclusion of dl-trampoline.h.
29297 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29298
51ccffa0
AS
292992011-08-19 Andreas Schwab <schwab@redhat.com>
29300
94d7165f
AS
29301 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29302 expectations for long double.
29303
51ccffa0
AS
29304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29305 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29306
fd708658 293072011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29308
29309 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29310 artificual limit depends upon the system page size.
29311
44f0a71e
UD
293122011-08-17 Ulrich Drepper <drepper@gmail.com>
29313
29314 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29315 * resolv/Makefile: Define CFLAGS-libresolv.
29316
8de79a24
AS
293172011-08-17 Andreas Schwab <schwab@redhat.com>
29318
29319 * nss/makedb.c (compute_tables): Make variables used in nested
29320 function static.
29321
27724598
UD
293222011-08-17 Ulrich Drepper <drepper@gmail.com>
29323
c5305d88
UD
29324 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29325 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29326 if buffer was too small.
29327
27724598
UD
29328 * elf/pldd.c (main): Attach to all threads in the process.
29329 Rewrite /proc handling to use *at functions.
29330
076fe015
UD
293312011-08-16 Ulrich Drepper <drepper@gmail.com>
29332
174baab3
UD
29333 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29334 specifies first scope to show.
29335 (dl_open_worker): Update callers. Move printing scope of new
29336 object to before the relocation.
44f0a71e 29337 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29338 * sysdeps/generic/ldsodefs.h: Update declaration.
29339
076fe015
UD
29340 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29341 string for the scope number.
29342
a60df2c3
UD
293432011-08-14 Ulrich Drepper <drepper@gmail.com>
29344
29345 * nscd/servicescache.c (cache_addserv): Make sure written is always
29346 initialized.
29347
5e4287d1
RM
293482011-08-14 Roland McGrath <roland@hack.frob.com>
29349
85ae0589
RM
29350 * sysdeps/i386/i486/bits/atomic.h
29351 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29352 statement expression, so as to suppress "set but not used" warning.
29353 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29354
69f63097
RM
29355 * string/strncat.c (STRNCAT): Use prototype definition.
29356
675456ef
RM
29357 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29358 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29359 -Iprograms here.
29360 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29361 (localedef-modules): Add localedef.
29362 (locale-modules): Add locale.
29363
5e4287d1
RM
29364 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29365 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29366 to avoid a warning.
29367
9c96ff23
DM
293682011-08-14 David S. Miller <davem@davemloft.net>
29369
29370 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29371 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29372
f9ddf089
UD
293732011-08-13 Ulrich Drepper <drepper@gmail.com>
29374
44f0a71e 29375 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29376 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29377 * elf/rtld.c (dl_main): Set l_name of vDSO.
29378 Call _dl_show_scope when DL_DEBUG_SCOPES.
29379 (process_dl_debug): Recognize scopes flag and also set it for all.
29380 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29381 Declare _dl_show_scope.
29382
1dc27704
UD
29383 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29384 (do_dlopen): Pass caller_dlopen to dl_open.
29385 (__libc_dlopen_mode): Initialize caller_dlopen.
29386
f9ddf089
UD
29387 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29388 of libc. Make tolower call locale-independent. Optimize a bit by
29389 using isdigit instead of isalnum.
29390 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29391
9ac533d3
UD
293922011-08-12 Ulrich Drepper <drepper@gmail.com>
29393
29394 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29395 was a dependency or dynamically loaded.
29396
89edf2e9
UD
293972011-08-11 Ulrich Drepper <drepper@gmail.com>
29398
8e999d29
UD
29399 * intl/l10nflist.c: Allow architecture-specific pop function.
29400 * sysdeps/x86_64/l10nflist.c: New file.
29401
89edf2e9
UD
29402 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29403 classification.
29404
14d96785
AS
294052011-08-10 Andreas Schwab <schwab@redhat.com>
29406
29407 * include/dirent.h: Add libc_hidden_proto for scandirat and
29408 scandirat64. Don't declare __scandirat64.
29409 * dirent/scandirat.c: Add libc_hidden_def.
29410 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29411 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29412
6761ac04
DM
294132011-08-10 David S. Miller <davem@davemloft.net>
29414
29415 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29416 enum.
29417 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29418 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29419 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29420
c55fbd1e
UD
294212011-08-09 Ulrich Drepper <drepper@gmail.com>
29422
29423 * Versions.def [libc]: Add GLIBC_2.15.
29424 * dirent/Makefile (routines): Add scandirat and scandirat64.
29425 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29426 GLIBC_2.15.
29427 * dirent/dirent.h: Declare scandirat and scandirat64.
29428 * dirent/scandirat.c: New file.
29429 * dirent/scandirat64.c: New file.
29430 * sysdeps/wordsize-64/scandirat.c: New file.
29431 * sysdeps/wordsize-64/scandirat64.c: New file.
29432 * dirent/opendir.c: Define opendirat.
29433 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29434 using scandirat.
29435 * dirent/scandir64.c: Adjust for scandir.c change.
29436 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29437 __scandirat64, and __scandir_cancel_handler.
29438 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29439 additional parameter and use openat instead of open (outside of ld.so).
29440 Add new __opendir as wrapper around __opendirat.
29441 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29442 here without requiring old scandirat implementation.
29443
879165f2
UD
294442011-08-08 Ulrich Drepper <drepper@gmail.com>
29445
29446 * dirent/scandir.c (cancel_handler): Renamed to
29447 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29448 defined. Adjust users.
29449 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29450 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29451
cb7e923b
UD
294522011-08-04 Ulrich Drepper <drepper@gmail.com>
29453
16292edd
UD
29454 * string/test-string.h (IMPL): Use __STRING to expand name and then
29455 stringify it.
29456
cb7e923b
UD
29457 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29458 of cleanups.
29459
cff82933
LD
294602011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29461
29462 * string/Makefile: Update.
29463 (strop-tests): Append strncat.
29464 * string/test-wcscmp.c: New file.
29465 New comprehensive test for wcscmp.
29466 * string/test-strcmp.c: Update.
29467 (WIDE): New define.
29468
9be9bfcc
AS
294692011-07-22 Andreas Schwab <schwab@redhat.com>
29470
29471 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29472 line.
29473
2e96f1c7
AS
294742011-07-26 Andreas Schwab <schwab@redhat.com>
29475
29476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29477 encoding to ACE if AI_IDN.
29478
85188888
JJ
294792011-08-01 Jakub Jelinek <jakub@redhat.com>
29480
29481 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29482 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29483
5fa16e9b
LD
294842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29485
29486 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29487 Fix overflow bug in strncat.
29488 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29489
29490 * string/test-strncat.c: Update.
29491 Add new tests for checking overflow bugs.
29492
294932011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29494
29495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29496 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29497 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29498 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29499 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29500 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29501 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29502 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29503 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29504
29505 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29506 (USE_AS_STRCAT): Define.
29507 Add strcat and strncat support.
29508 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29509
8c1a459f
AS
295102011-07-25 Andreas Schwab <schwab@redhat.com>
29511
29512 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29513 __n bigger than INT_MAX+1.
29514 (__strncmp_g): Likewise.
29515
bba33c28
UD
295162011-07-23 Ulrich Drepper <drepper@gmail.com>
29517
798be72d
UD
29518 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29519 * libio/stido.h: Likewise.
29520
8accd4dc
UD
29521 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29522 (AF_NFC): Define.
29523 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29524 (AF_NFC): Define.
29525
cbff0d96
UD
29526 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29527 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29528 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29529 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29530 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29531
9191c04a
UD
29532 [BZ #13021]
29533 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29534 installed.
29535
bba33c28
UD
29536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29537 typo.
29538 (_dl_x86_64_save_sse): Likewise.
29539
90f139dd
UD
295402011-07-22 Ulrich Drepper <drepper@gmail.com>
29541
1aae088a
UD
29542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29543 OSXSAVE.
29544 (_dl_x86_64_save_sse): Likewise.
29545
8e2045f5
UD
29546 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29547
90f139dd
UD
29548 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29549
1d002f25
AS
295502011-07-21 Andreas Schwab <schwab@redhat.com>
29551
29552 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29553 change.
29554 (_dl_x86_64_save_sse): Use correct AVX check.
29555
21137f89
UD
295562011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29557
29558 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29559 bug in strncpy/strncat.
29560 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29561
a65c0b7a
UD
295622011-07-21 Ulrich Drepper <drepper@gmail.com>
29563
29564 * string/tester.c (test_strcat): Add tests for different alignments
29565 of source and destination.
29566 (test_strncat): Likewise.
29567
6986b98a
UD
295682011-07-20 Ulrich Drepper <drepper@gmail.com>
29569
90bb2039
UD
29570 [BZ #12852]
29571 * posix/glob.c (glob): Check passed in values before using them in
29572 expressions to avoid some overflows.
29573 (glob_in_dir): Likewise.
29574
5644ef54
UD
29575 [BZ #13007]
29576 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29577 check for AVX enablement so that we don't crash with old kernels and
29578 new hardware.
29579 * elf/tst-audit4.c: Add same checks here.
29580 * elf/tst-audit6.c: Likewise.
29581
29582 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29583
bfc9dc9b
AS
295842011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29585
29586 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29587
702e64bb
UD
295882011-07-20 Ulrich Drepper <drepper@gmail.com>
29589
29590 * po/cs.po: Update from translation team.
29591 * po/bg.po: Likewise.
29592
295e904f
MP
295932011-07-12 Marek Polacek <mpolacek@redhat.com>
29594
29595 * misc/sys/cdefs.h: Add support for const attribute.
29596 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29597 to gnu_dev_{major,minor,makedev} functions.
29598
3ff94596
MP
295992011-07-20 Marek Polacek <mpolacek@redhat.com>
29600
29601 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29602
28b59fca
AS
296032011-07-20 Andreas Schwab <schwab@redhat.com>
29604
29605 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29606 strlen results.
29607
19df733e
AK
296082011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29609
29610 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29611 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29612 register in order to avoid conflicts with the soft frame pointer
29613 being held in r11 when necessary.
29614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29615 (INTERNAL_VSYSCALL_NCS): Likewise.
29616
c8835729
MP
296172011-07-14 Marek Polacek <mpolacek@redhat.com>
29618
29619 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29620 * elf/dl-fini.c (_dl_fini): Adjust caller.
29621 * elf/dl-close.c (_dl_close_worker): Likewise.
29622 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29623
b902330c
MP
296242011-07-15 Marek Polacek <mpolacek@redhat.com>
29625
8991e135
MP
29626 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29627 "aux_cache->nlibs < 0".
29628
b902330c
MP
29629 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29630 in the reload-count case.
29631
99710781
LD
296322011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29633
29634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29635 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29636 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29637 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29638 * sysdeps/x86_64/multiarch/strcat.S: New file.
29639 * sysdeps/x86_64/multiarch/strncat.S: New file.
29640 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29641 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29642 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29643 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29644 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29645 (USE_AS_STRCAT): Define.
29646 Add strcat and strncat support.
29647 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29648 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29649 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29650 * string/strncat.c: Update.
29651 (USE_AS_STRNCAT): Define.
29652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29653 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29654 and i7.
29655 * sysdeps/x86_64/multiarch/init-arch.h
29656 (bit_Prefer_PMINUB_for_stringop): New.
29657 (index_Prefer_PMINUB_for_stringop): Likewise.
29658 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29659 bit_Prefer_PMINUB_for_stringop.
29660
7dc6bd90
UD
296612011-07-19 Ulrich Drepper <drepper@gmail.com>
29662
29663 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29664 buffer64.
29665 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29666 of casting of buffer.
29667 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29668 buffer32 and buffer64.
29669 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29670 writes instead of casting of buffer.
29671 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29672 buffer32.
29673 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29674 casting of buffer.
29675
e0e72284
AS
296762011-07-19 Andreas Schwab <schwab@redhat.com>
29677
29678 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29679
feb1eb0b
UD
296802011-07-19 Ulrich Drepper <drepper@gmail.com>
29681
29682 * nscd/nscd.c (termination_handler): Don't do anything for a database
29683 if it has not yet been initialized.
29684
298711ff
UD
296852011-07-18 Ulrich Drepper <drepper@gmail.com>
29686
29687 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29688
296892011-07-15 Marek Polacek <mpolacek@redhat.com>
29690
29691 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29692
f9d68389
UD
296932011-07-18 Ulrich Drepper <drepper@gmail.com>
29694
29695 * po/nl.po: Update from translation team.
29696 * po/sv.po: Likewise.
29697
db290cf5
RM
296982011-07-16 Roland McGrath <roland@hack.frob.com>
29699
29700 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29701 now disallowed by GCC.
5c550700 29702
fd5e21c7
RM
29703 * configure.in (use-default-link): Default to yes if a test -shared
29704 link meets our qualifications.
29705 * configure: Regenerated.
29706
5c550700
RM
29707 * config.make.in (output-format): New variable.
29708 * configure.in: Check for ld --print-output-format support.
29709 * configure: Regenerated.
29710 * Makerules ($(common-objpfx)format.lds)
29711 [$(output-format) != unknown]: Just use $(output-format),
29712 instead of the linker-script munging.
29713
9fa2c032
RM
297142011-07-14 Roland McGrath <roland@hack.frob.com>
29715
a6928d51
RM
29716 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29717 of $(common-objpfx)shlib.lds.
29718 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29719
661607b3
RM
29720 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29721 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29722
9fa2c032
RM
29723 * configure.in (-z relro check): Adjust test code to add a large
29724 writable data section after it.
29725 * configure: Regenerated.
29726
defe9061
RM
297272011-07-11 Roland McGrath <roland@hack.frob.com>
29728
29729 * configure.in (-z relro check): Fix test code to make the variable
29730 truly const.
29731 * configure: Regenerated.
29732
319b9ad4
UD
297332011-07-11 Ulrich Drepper <drepper@gmail.com>
29734
29735 * nscd/nscd.h (struct traced_file): Define.
29736 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29737 elements. Add traced_files.
29738 (inotify_fd): Declare.
29739 (register_traced_file): Declare.
29740 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29741 (inotify_fd): Export.
29742 (resolv_conf_descr): Remove.
29743 (nscd_init): Move inotify descriptor creation to main.
29744 Don't register files for notification here.
29745 (register_traced_file): New function.
29746 (invalidate_cache): Don't use reset_res to determine whether to call
29747 res_init, go through the list of registered files.
29748 (main_loop_poll): The inotify descriptors are now stored in the
29749 structures for the traced files.
29750 (main_loop_epoll): Likewise
29751 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29752 to __nss_disable_nscd.
29753 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29754 for a database anymore. Check the records for all the registered
29755 files instead.
29756 * nss/Makefile (libnss_files-routines): Add files-init.
29757 (libnss_db-routines): Add db-init.
29758 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29759 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29760 * nss/nss_db/db-init.c: New file.
29761 * nss/nss_files/files-init.c: New file.
29762 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29763 __nss_lookup_function.
29764 (__nss_lookup_function): Call nss_load_library.
29765 (nss_load_all_libraries): New function.
29766 (__nss_disable_nscd): Take parameter with callback function for files
29767 to register. Set is_nscd. Load all the DSOs for the NSS modules
29768 used for the cached services.
29769 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29770 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29771 options for features to all the files in nscd.
29772
29773 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29774
23bee3e8
RM
297752011-07-10 Roland McGrath <roland@hack.frob.com>
29776
29777 * csu/elf-init.c (__libc_csu_init): Comment typo.
29778
46a5b7f0
UD
297792011-07-09 Ulrich Drepper <drepper@gmail.com>
29780
29781 * po/pl.po: Update from translation team.
29782 * po/ja.po: Likewise.
29783 * po/ru.po: Likewise.
29784 * po/ko.po: Likewise.
29785 * po/fr.po: Likewise.
29786
d30cf5bb
RM
297872011-07-09 Roland McGrath <roland@hack.frob.com>
29788
113ddea4
RM
29789 * configure.in (.ctors/.dtors header and trailer check):
29790 Use an empirical test on a built program.
29791 * configure: Regenerated.
29792
574920b4
RM
29793 * configure.in (-z relro check): Use an empirical test on a built DSO.
29794 Detect, but do not require, on ia64.
29795 * configure: Regenerated.
29796
d30cf5bb
RM
29797 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29798 Update tests that use readelf to use $READELF instead.
29799 * configure: Regenerated.
29800
8538fdb3
UD
298012011-07-08 Ulrich Drepper <drepper@gmail.com>
29802
29803 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29804 if the result is not used.
29805
04d08991
AJ
298062011-07-05 Andreas Jaeger <aj@suse.de>
29807
29808 [BZ#9696]
29809 * stdlib/tst-strtod.c: Add testcase.
29810
de283087
AD
298112011-07-07 Ulrich Drepper <drepper@gmail.com>
29812
4e5f31c8 29813 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29814 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29815 The latter has a higher limit. Take additional parameter to pass to
29816 the new function.
29817 (__pathconf): Pass file to __statfs_link_max.
29818 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29819 __statfs_link_max.
29820 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29821 __statfs_link_max.
29822
de283087
AD
29823 [BZ #12868]
29824 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29825 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29826 Handle Lustre.
29827 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29828 (__statfs_filesize_max): Likewise.
29829 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29830
c75fa153
AJ
298312011-07-05 Andreas Jaeger <aj@suse.de>
29832
29833 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29834
1a544854
UD
298352011-07-06 Marek Polacek <mpolacek@redhat.com>
29836
29837 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29838 `status' variable.
29839 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29840 Likewise.
29841
6f0eec67
UD
298422011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29843
29844 * Makefile (strop-tests): Add strncat.
29845 * string/test-strncat.c: New file.
29846
aae30307
UD
298472011-06-30 Marek Polacek <mpolacek@redhat.com>
29848
29849 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29850
c0cfb5eb
UD
298512011-06-21 Andreas Jaeger <aj@suse.de>
29852
29853 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29854 Copy rule from iconvdata/Makefile.
29855
01636b21
UD
298562011-07-06 Ulrich Drepper <drepper@gmail.com>
29857
29858 [BZ #12922]
29859 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29860 but no long options are defined, just return 'W'.
29861
9895c8bc
UD
298622011-06-22 Marek Polacek <mpolacek@redhat.com>
29863
29864 [BZ #9696]
29865 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29866
5d4cf042
UD
298672011-07-06 Ulrich Drepper <drepper@gmail.com>
29868
29869 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29870 netgroups to read.
960e5535 29871 (innetgr): Likewise.
5d4cf042 29872
751eb97e
RM
298732011-07-05 Roland McGrath <roland@hack.frob.com>
29874
29875 * config.make.in (install_root): Default to $(DESTDIR).
29876
f15f1e45
UD
298772011-07-05 Ulrich Drepper <drepper@gmail.com>
29878
29879 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29880
4e34ac6a
RM
298812011-07-02 Roland McGrath <roland@hack.frob.com>
29882
5e9b6af4
RM
29883 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29884
84f9ea0f
RM
29885 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29886 containing directory rather than embedding absolute directory names.
29887
ea5ee9f7
RM
29888 * scripts/check-local-headers.sh: Rewritten using awk.
29889 Match by word, not by line. Print error messages for matches.
29890 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29891
1b74661a
RM
29892 * Makerules [shlib-lds-flags empty]:
29893 ($(common-objpfx)libc_pic.opts): New target.
29894 ($(common-objpfx)libc_pic.os.clean): New target.
29895 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29896
29897 * config.make.in (OBJCOPY): New variable.
29898 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29899 * configure: Regenerated.
29900
f781ef40
RM
29901 * config.make.in (use-default-link): New variable.
29902 * configure.in (use_default_link): Grok --with-default-link to set it.
29903 * configure: Regenerated.
29904 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29905 (shlib-lds, shlib-lds-flags): Define to empty.
29906
2d4fa81e
RM
29907 * Makerules (shlib-lds): New variable.
29908 (shlib-lds-flags): New variable.
29909 (build-shlib, build-moduile, build-module-asneeded): Use it.
29910 ($(common-objpfx)libc.so): Use $(shlib-lds).
29911 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29912 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29913
31fffa6b
RM
29914 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29915 DT_FLAGS/DT_FLAGS_1 with zero flags.
29916
4e34ac6a
RM
29917 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29918 linker script munging.
29919
fcfc776b
UD
299202011-07-02 Ulrich Drepper <drepper@gmail.com>
29921
29922 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29923 as 128-bit value.
29924 * crypt/sha512.c (sha512_process_block): Perform total addition using
29925 128-bit if possible.
29926 (__sha512_finish_ctx): Likewise.
29927 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29928 as 64-bit value.
29929 * crypt/sha256.c (SWAP64): Define.
29930 (sha256_process_block): Perform total addition using 64-bit if
29931 possible.
29932 (__sha256_finish_ctx): Likewise.
29933
99231d9a
UD
299342011-07-01 Ulrich Drepper <drepper@gmail.com>
29935
29936 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29937 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29938 * nscd/hstcache.c (cache_addhst): Likewise.
29939 * nscd/grpcache.c (cache_addgr): Likewise.
29940 * nscd/aicache.c (addhstaiX): Likewise
29941 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29942
445b4a53
TK
299432011-07-01 Thorsten Kukuk <kukuk@suse.de>
29944
29945 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29946 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29947 * nscd/hstcache.c (cache_addhst): Likewise.
29948 * nscd/grpcache.c (cache_addgr): Likewise.
29949 * nscd/aicache.c (addhstaiX): Likewise
29950
6d4d8e8e
AS
299512011-07-01 Andreas Schwab <schwab@redhat.com>
29952
29953 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29954 domain only when needed.
29955
89f654c5
AS
299562011-06-30 Andreas Schwab <schwab@redhat.com>
29957
29958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29959 is always restored.
29960
cf3b23ff
UD
299612011-06-29 Ulrich Drepper <drepper@gmail.com>
29962
29963 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29964 are re-adding the entry.
29965 * nscd/servicescache.c (cache_addserv): Likewise.
29966
751626f9
AJ
299672011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29968
29969 * sysdeps/generic/dl-irel.h: fix protection against multiple
29970 inclusions.
29971 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29972
9113ea1f
UD
299732011-06-28 Ulrich Drepper <drepper@gmail.com>
29974
5c0b8d90
UD
29975 [BZ #12935]
29976 * malloc/memusage.sh: Fix quoting in message.
29977 * debug/xtrace.sh: Likewise.
29978
9113ea1f
UD
29979 * configure.in: Remove support for --experimental-malloc option, make
29980 it the default.
29981 * config.make.in: Likewise.
29982 * malloc/Makefile: Likewise.
29983
a4172181
AS
299842011-06-27 Andreas Schwab <schwab@redhat.com>
29985
29986 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29987 two-byte characters.
29988
78a7eee7
RM
299892011-06-27 Roland McGrath <roland@hack.frob.com>
29990
62bede13
RM
29991 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29992 AC_CACHE_CHECK invocation.
29993 * configure: Regenerated.
29994
78a7eee7
RM
29995 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29996
5ce33a62
UD
299972011-06-27 Ulrich Drepper <drepper@gmail.com>
29998
034807a9
UD
29999 [BZ #12350]
30000 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30001 bit from old_res_options.
30002
4902da17
UD
30003 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30004
5ce33a62
UD
30005 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30006 value type for setfct.
30007
c2344f56
L
300082011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30009
30010 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30011 __gettimeofday instead of gettimeofday.
30012
68468076
UD
300132011-06-26 Ulrich Drepper <drepper@gmail.com>
30014
30015 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30016
acb0d739
L
300172011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30018
30019 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30020
30021 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30022 info.
30023
8912479f
L
300242011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30025
30026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30027 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30028 strcpy-sse2-unaligned strncpy-sse2-unaligned
30029 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30030 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30031 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30032 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30033 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30034 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30035 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30036 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30037 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30038 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30039 (STRCPY): Support SSE2 and SSSE3 versions.
30040
d5495a11
UD
300412011-06-24 Ulrich Drepper <drepper@gmail.com>
30042
30043 [BZ #12874]
30044 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30045 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30046 kernels which artificially limit size of requests.
30047
0b1cbaae
L
300482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30049
30050 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30051 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30052 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30053 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30054 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30055 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30056 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30057 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30058 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30060 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30061 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30062 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30063 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30064 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30066 Enable unaligned load optimization for Intel Core i3, i5 and i7
30067 processors.
30068 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30069 Define.
30070 (index_Fast_Unaligned_Load): Define.
30071 (HAS_FAST_UNALIGNED_LOAD): Define.
30072
07f494a0
MP
300732011-06-23 Marek Polacek <mpolacek@redhat.com>
30074
30075 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30076
fa3fc0fe
UD
300772011-06-22 Ulrich Drepper <drepper@gmail.com>
30078
30079 [BZ #12907]
30080 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30081 until it is clear that the information is realy needed.
30082 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30083
e12df166
AS
300842011-06-22 Andreas Schwab <schwab@redhat.com>
30085
30086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30087
852eb34d
UD
300882011-06-22 Ulrich Drepper <drepper@gmail.com>
30089
84e2a551
UD
30090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30091 /sys/devices/system/cpu/online if it is usable.
30092
852eb34d
UD
30093 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30094 reading the information from the /proc filesystem to once a second.
30095
6e502e19
UD
300962011-06-21 Andreas Jaeger <aj@suse.de>
30097
30098 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30099 NULL after inclusion of kernel headers.
30100
75d39ff2
UD
301012011-06-21 Ulrich Drepper <drepper@gmail.com>
30102
51f9aa6a
UD
30103 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30104 calls to internal_setent.
30105
c0244a9d
UD
30106 [BZ #12885]
30107 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30108 addresses using gethostbyname4_r ignore IPv4 addresses.
30109
c5e3c2ae
UD
30110 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30111 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30112
75d39ff2
UD
30113 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30114
42675c6f
DM
301152011-06-20 David S. Miller <davem@davemloft.net>
30116
30117 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30118 inclusions.
30119 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30120
30121 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30122 (elf_irel): Use it.
30123 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30124 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30125 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30126 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30127 * sysdeps/x86_64/dl-irel.h: Likewise.
30128
30129 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30130 * elf/dl-sym.c: Likewise.
30131
57912a71
UD
301322011-06-15 Ulrich Drepper <drepper@gmail.com>
30133
30134 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30135 need to dereference resplen2.
30136
ee22793d
AS
301372011-06-14 Andreas Schwab <schwab@redhat.com>
30138
30139 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30140
a9e836b0
UD
301412011-06-15 Ulrich Drepper <drepper@gmail.com>
30142
77fb9117
UD
30143 * Makeconfig: Define vardbdir and inst_vardbdir.
30144 * nss/Makefile: Add rules to install db-Makefile.
30145
40c1b22c
UD
30146 * nss/nss_db/db-XXX.c: Cleanup.
30147
9f2da732
UD
30148 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30149 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30150 GLIBC_PRIVATE.
30151 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30152 * nss/makedb.c: Implement -g option to specify that value strings
30153 are generated and should not be added to table iterated over for
30154 get*ent calls.
30155 * nss/nss_db/db-initgroups.c: New file.
30156
82e9a1f7
UD
30157 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30158 interface.
30159
c41af17e
UD
30160 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30161 (internal_getgrouplist): Adjust to name change.
30162 Update use_initgroups_entry if this is not the first call.
30163 * nss/databases.def: Add initgroups entry.
30164
a9e836b0
UD
30165 * nss/makedb.c (compute_tables): Check result of multiple hash table
30166 sizes to minimize maximum chain length.
30167
2666d441
UD
301682011-06-14 Ulrich Drepper <drepper@gmail.com>
30169
30170 * Versions.def: Add entry for libnss_db.
30171 * shlib-versions: Likewise.
30172 * nss/Makefile: Add rules to build libnss_db.
30173 * nss/Versions: Add libnss_db information. Organize libnss_files
30174 entries better.
30175 * nss/db-Makefile: Add gshadow support. Change rules for the new
30176 makedb progra. Some minor improvements to generate smaller files.
30177 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30178 here from...
30179 * nss/makedb.c: ...here.
30180 Improve database format to be smaller and require less memory at
30181 runtime.
30182 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30183 db anymore.
30184 * nss/nss_db/db-netgrp.c: Likewise.
30185 * nss/nss_db/db-open.c: Likewise.
30186 * nss/nss_files/flies-XXX.x: Adjust comments.
30187 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30188 * nss/nss_files/files-grp.c: Likewise.
30189 * nss/nss_files/files-hosts.c: Likewise.
30190 * nss/nss_files/files-network.c: Likewise.
30191 * nss/nss_files/files-proto.c: Likewise.
30192 * nss/nss_files/files-pwd.c: Likewise.
30193 * nss/nss_files/files-rpc.c: Likewise.
30194 * nss/nss_files/files-service.c: Likewise.
30195 * nss/nss_files/files-sgrp.c: Likewise.
30196 * nss/nss_files/files-spwd.c: Likewise.
30197 * nss/nss_db/db-alias.c: Removed.
30198 * nss/nss_db/dummy-db.h: Removed.
30199
9ee76b5a
UD
302002011-06-02 Ulrich Drepper <drepper@gmail.com>
30201
30202 * nss/makedb.c: Rewritten to not use database library.
30203 * nss/Makefile: Update to build new makedb program.
30204
c71ca1f8
AJ
302052011-06-14 Andreas Jaeger <aj@suse.de>
30206
30207 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30208 memset declaration.
30209
3154bfb8
UD
302102011-06-10 Andreas Schwab <schwab@redhat.com>
30211
30212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30213 tmpbuf.
30214
b350afab
RM
302152011-06-10 Roland McGrath <roland@hack.frob.com>
30216
decd4e50
RM
30217 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30218 * elf/Makefile ($(objpfx)ld.so): Likewise.
30219
5615eaf2
RM
30220 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30221 Don't list ld.so twice in dependencies.
30222
30223 * posix/bug-regex31.c: Include <stdlib.h>.
30224
30225 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30226
30227 * nis/nss_compat/compat-spwd.c
30228 (getspent_next_nss_netgr): Remove unused variable.
30229 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30230
30231 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30232 nonmembers" output to use the right array.
30233
30234 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30235
30236 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30237
30238 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30239 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30240 * catgets/gencat.c (read_input_file): Likewise.
30241 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30242
30243 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30244 variable definition inside #if's controlling its use.
30245
30246 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30247
30248 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30249
30250 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30251
30252 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30253 unreachable code.
30254
30255 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30256
b68e08db
RM
30257 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30258 * configure: Regenerated.
30259
b350afab
RM
30260 * Makerules: Revert last change.
30261 * elf/Makefile: Likewise.
30262
28368601
RM
302632011-06-09 Roland McGrath <roland@hack.frob.com>
30264
30265 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30266 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30267 (reloc-link): Likewise.
30268
11988f8f
UD
302692011-06-09 Ulrich Drepper <drepper@gmail.com>
30270
30271 * elf/Makefile: Add rules to build pldd.
30272 * elf/pldd.c: New file.
30273 * elf/pldd-xx.c: New file.
30274
e80fab37
UD
302752011-06-07 Ulrich Drepper <drepper@gmail.com>
30276
30277 * version.h: Update for 2.15 development version.
30278
9b849836
DM
302792011-06-07 David S. Miller <davem@davemloft.net>
30280
30281 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30282 ifuncs.
30283 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30284 elf_machine_lazy_rel): Likewise.
30285 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30286 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30287 elf_machine_lazy_rel): Likewise.
30288 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30289 dl_hwcap via passed in argument.
30290 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30291 Likewise.
30292
5a31b283
AK
302932011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30294
30295 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30296
069e52f8
RM
302972011-06-06 Roland McGrath <roland@hack.frob.com>
30298
30299 [BZ #12849]
30300 * manual/fdl-1.1.texi: New file, verbatim from:
30301 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30302 * manual/lgpl-2.1.texi: New file, verbatim from:
30303 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30304 * manual/Makefile (licenses): New variable, list those new file names.
30305 (texis): Use it.
30306 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30307
30308 * manual/fdl.texi: File removed.
30309 * manual/lesser.texi: File removed.
30310 * manual/libc.texinfo (Copying, Documentation License):
30311 Use new @include file names, put @appendix directive before @include.
30312
f16846a5
JJ
303132011-06-04 Jakub Jelinek <jakub@redhat.com>
30314
30315 [BZ #12841]
30316 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30317 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30318 (mq_open): Add __NTH.
30319
3d29045b
L
303202011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30321
30322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30323 Assume Intel Core i3/i5/i7 processor if AVX is available.
30324
8c297311
UD
303252011-05-31 Ulrich Drepper <drepper@gmail.com>
30326
30327 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30328 typo.
30329
c8fc0c91
UD
303302011-05-31 Andreas Schwab <schwab@redhat.com>
30331
30332 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30333 memory. Use alloca_account. Fix memory leak when retrying.
30334
5b27a807
UD
303352011-05-31 Ulrich Drepper <drepper@gmail.com>
30336
356f8bc6
UD
30337 * version.h (RELEASE): Bump for 2.14 release.
30338 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30339
5b27a807
UD
30340 * config.make.in (RANLIB): Remove entry.
30341
01f16ab0
UD
303422011-05-30 Ulrich Drepper <drepper@gmail.com>
30343
41fce8bd
UD
30344 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30345 (libc.pot): Work around missing support for .ksh extension in xgettext.
30346
4769ae77
UD
30347 [BZ #12684]
30348 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30349 if both request failed.
30350 (send_dg): In case of server errors clear resplen or *resplen2.
30351
6b1e7d19
UD
30352 [BZ #12454]
30353 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30354 when there are multiple maps.
30355 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30356 (_dl_fini): Remove test here.
30357
01f16ab0
UD
30358 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30359
b1ebd700
UD
303602011-05-29 Ulrich Drepper <drepper@gmail.com>
30361
7ae22829
UD
30362 [BZ #12350]
30363 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30364 bit from old_res_options.
30365 (gaih_inet): Likewise.
30366
553149f6 30367 [BZ #11099]
18a84741 30368 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30369 as signed.
30370
652ffab1
UD
30371 * resolv/res_init.c (res_setoptions): Make the code more compact.
30372
16985fd0
UD
30373 [BZ #11558]
30374 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30375 set RES_USEVC.
30376
0464f746
UD
30377 [BZ #11634]
30378 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30379
7d17596c
UD
30380 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30381
cf6bbbd7
UD
30382 [BZ #11781]
30383 * malloc/malloc.h: Declare malloc hook variables as volatile.
30384
13f1ab36
UD
30385 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30386 in last patch.
30387
b1ebd700
UD
30388 [BZ #11799]
30389 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30390 raise in the comment.
80e2212d
UD
30391 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30392 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30393 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30394
ce67228d
UD
303952011-05-28 Ulrich Drepper <drepper@gmail.com>
30396
8887a920
UD
30397 [BZ #12811]
30398 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30399 grow the buffers more if it already has to be sufficient.
30400 (build_wcs_upper_buffer): Likewise.
30401 * posix/regexec.c (check_matching): Likewise.
30402 (clean_state_log_if_needed): Likewise.
30403 (extend_buffers): Don't enlarge buffers beyond size of the input
30404 buffer.
30405 Patches mostly by Emil Wojak <emil@wojak.eu>.
30406 * posix/bug-regex32.c: New file.
30407 * posix/Makefile (tests): Add bug-regex32.
30408
4f031072
UD
30409 * locale/findlocale.c (_nl_find_locale): Return right away if
30410 _nl_explode_name failed.
30411 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30412
d0478f0c
UD
30413 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30414
de81b246
UD
30415 * debug/xtrace.sh: Unify messages.
30416 * malloc/memusage.sh: Likewise.
30417
c738465a
UD
30418 [BZ #12813]
30419 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30420 time symbol from vDSO. Substitute with vsyscall if not available.
30421 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30422 __vdso_time.
30423
f1f929d7
UD
30424 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30425 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30426 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30427 Add sendmmsg and internal_sendmmsg.
30428 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30429 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30430 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30431
ce67228d
UD
30432 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30433 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30434 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30435
e57420c6
UD
304362011-05-27 Ulrich Drepper <drepper@gmail.com>
30437
a8509ca5
UD
30438 [BZ #12813]
30439 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30440 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30441 available.
30442 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30443 __vdso_getcpu.
30444
e57420c6
UD
30445 [BZ #12814]
30446 * iconvdata/Makefile (tests): Add bug-iconv9.
30447 * iconvdata/bug-iconv9.c: New file.
30448
4d07db15
AS
304492011-05-27 Andreas Schwab <schwab@redhat.com>
30450
30451 [BZ #12814]
30452 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30453
ea486f69
JJ
304542011-05-25 Jakub Jelinek <jakub@redhat.com>
30455
30456 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30457 (struct user_regs_struct): Change intcs field back to cs.
30458
6f038433
UD
304592011-05-25 Ulrich Drepper <drepper@gmail.com>
30460
30461 * po/ja.po: Update from translation team.
30462
67f86a25
UD
304632011-05-23 Ulrich Drepper <drepper@gmail.com>
30464
30465 [BZ #12795]
30466 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30467 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30468
def7fbd6
AS
304692011-05-20 Andreas Schwab <schwab@redhat.com>
30470
30471 * stdlib/longlong.h: Update from GCC.
30472
f50ef8f1
AS
304732011-05-23 Andreas Schwab <schwab@redhat.com>
30474
30475 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30476 parameter name.
30477 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30478 Add parameter name.
30479 (__sysconf): Pass it down.
30480
de7ce8f1
UD
304812011-05-22 Ulrich Drepper <drepper@gmail.com>
30482
f2962a71
UD
30483 [BZ #12671]
30484 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30485 some situations.
30486 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30487 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30488 add in in __libc_use_alloca calls. Adjust callers.
30489 (glob): Use malloc in some situations.
30490
de7ce8f1
UD
30491 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30492 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30493 pltexit.
30494
aec84f53
UD
304952011-05-21 Ulrich Drepper <drepper@gmail.com>
30496
05bb4a68
UD
30497 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30498 and CLOCK_BOOTTIME_ALARM.
30499
7ea72f99
UD
30500 [BZ #12782]
30501 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30502 is returned.
30503
7e4afad5
UD
30504 * string/_strerror.c (__strerror_r): Print negative errors as signed
30505 numbers.
30506
8e211fec
UD
30507 [BZ #12777]
30508 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30509 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30510 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30511
f7d82dc9
UD
30512 * configure.in: Fix typo in redirection and correct removal of test
30513 files in two cases.
30514
cc9e536d
UD
30515 [BZ #12788]
30516 * locale/setlocale.c (new_composite_name): Fix test to check for
30517 identical name of all categories.
30518
aec84f53
UD
30519 [BZ #12792]
30520 * libio/filedoalloc.c (local_isatty): New function.
30521 (_IO_file_doallocate): Use local_isatty.
30522 * stdio-common/perror.c (perror): In case a new stream is used
30523 forward the stream error.
30524 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30525 error flag.
30526
78e64fdc
RT
305272011-05-20 Ulrich Drepper <drepper@gmail.com>
30528
34a9094f
UD
30529 [BZ #11869]
30530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30531 alloca.
30532 * include/alloca.h (extend_alloca_account): Define.
30533
78e64fdc
RT
30534 [BZ #11857]
30535 * posix/regex.h: Fix comments with documentation of user-accessible
30536 fields after compilation and describe correct free'ing of pattern
30537 after re_compile_pattern.
30538 Patch by Reuben Thomas <rrt@sc3d.org>.
30539
457bddfc
RA
305402011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30541
30542 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30543 and -mno-altivec to prevent the compiler from using Altivec and/or
30544 VSX instructions when the corresponding registers are not available.
30545
a4527b51
AS
305462011-05-19 Andreas Schwab <schwab@redhat.com>
30547
30548 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30549
ed690b2f
UD
305502011-05-19 Ulrich Drepper <drepper@gmail.com>
30551
30552 * libio/freopen.c (freopen): Use __dup2, not dup2.
30553 * libio/freopen64.c (freopen64): Likewise.
30554
8db73634
L
305552011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30556
30557 [BZ #12775]
30558 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30559 * math/Makefile (tests): Add test-powl.
30560 (CFLAGS-test-powl.c): Define.
30561 * math/test-powl.c: New file.
30562
0a197a9d
L
305632011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30564
30565 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30566
ee30c380
UD
305672011-05-17 Ulrich Drepper <drepper@gmail.com>
30568
30569 [BZ #11837]
30570 * iconvdata/gb18030.c: Update to GB18020-2005.
30571
6ce75379
UD
305722011-05-16 Ulrich Drepper <drepper@gmail.com>
30573
a4b89fd8
AR
30574 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30575 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30576 Patch by Aharon Robbins <arnold@skeeve.com>.
30577
ea389b12
UD
30578 [BZ #11892]
30579 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30580 on the stack.
30581
68a3f91f
UD
30582 [BZ #11895]
30583 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30584 through underflows.
30585
15cc7dd1
UD
30586 [BZ #12766]
30587 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30588 point to strings before performing equality test for error_one_per_line
30589 mode.
30590
f3799213
UD
30591 [BZ #11697]
30592 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30593
d79a9c94
UD
30594 [BZ #11820]
30595 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30596 (struct user_fpregs_struct): Avoid __uint*_t types.
30597
56e5eb46
UD
30598 [BZ #6420]
30599 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30600 symbol info. Use it instead of calling _dl_addr locally.
30601 (lock_and_info): New function.
30602 (tr_freehook): Call lock_and_info and pass symbol info as additional
30603 parameter to tr_where.
30604 (tr_mallochook): Likewise.
30605 (tr_reallochook): Likewise.
30606 (tr_memalignhook): Likewise.
30607
6ce75379
UD
30608 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30609 used and couldn't be at all thread-safe.
30610
f8a3b5bf
UD
306112011-05-15 Ulrich Drepper <drepper@gmail.com>
30612
94b7cc37
UD
30613 * libio/freopen.c (freopen): Don't close old file descriptor
30614 before the new one is opened. Instead dup the new file descriptor
30615 to the old one after the new stream is created.
30616 * libio/freopen64.c (freopen64): Likewise.
30617 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30618 * libio/fileops.c (_IO_new_file_close_it): Handle new
30619 _IO_FLAGS2_NOCLOSE flag.
30620 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30621 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30622 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30623 _IO_FLAGS2_NOCLOSE flag.
30624 * include/unistd.h: Add hidden_proto for dup3.
30625 Define __have_dup3.
30626 * io/dup3.c: Define hidden symbol.
30627 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30628
bd25564e
UD
30629 [BZ #7101]
30630 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30631 when an incomplete long option is used.
30632 * posix/tst-getopt_long1.c: New file.
30633 * posix/Makefile (tests): Add tst-getopt_long1.
30634
c84cfef4
UD
30635 [BZ #10138]
30636 * scripts/config.guess: Update from autoconf-2.68.
30637 * scripts/config.sub: Likewise.
30638
3b85df27
UD
30639 [BZ #10157]
30640 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30641 tests into ...
30642 (has_cpuclock): ...this. New function.
30643 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30644 macro here based on has_cpuclock code.
30645
15a856b1
UD
30646 [BZ #10149]
30647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30648 First byte (not low byte) is now always NUL.
30649 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30650
05f399e6
UD
30651 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30652 Use non-cancelable interfaces.
30653
10a52685 30654 [BZ #9809]
94ecc67d
UD
30655 * locale/iso-639.def: Add entry for Sorani.
30656
f8a3b5bf
UD
30657 [BZ #11901]
30658 * include/stdlib.h: Move include protection to the right place.
30659 Define abort_msg_s. Declare __abort_msg with it.
30660 * stdlib/abort.c (__abort_msg): Adjust type.
30661 * assert/assert.c (__assert_fail_base): New function. Majority
30662 of code from __assert_fail. Allocate memory for __abort_msg with
30663 mmap.
30664 (__assert_fail): Now call __assert_fail_base.
30665 * assert/assert-perr.c: Remove bulk of implementation. Use
30666 __assert_fail_base.
30667 * include/assert.hL Declare __assert_fail_base.
30668 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30669 mmap.
30670 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30671
1af4e298
UD
306722011-05-14 Ulrich Drepper <drepper@gmail.com>
30673
f8a3b5bf 30674 [BZ #11952]
d26dfc60
MG
30675 [BZ #12453]
30676 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30677 until all modules are registered in the DTV.
30678 * elf/Makefile: Add rules to build and run tst-tls19.
30679 * elf/tst-tls19.c: New file.
30680 * elf/tst-tls19mod1.c: New file.
30681 * elf/tst-tls19mod2.c: New file.
30682 * elf/tst-tls19mod3.c: New file.
30683 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30684
2fc54d6f
UD
30685 [BZ #12083]
30686 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30687 correctly.
30688
98d76b46
UD
30689 [BZ #12601]
30690 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30691 two-byte sequence errors.
30692 * iconvdata/Makefile (tests): Add bug-iconv8.
30693 * iconvdata/bug-iconv8.c: New file.
30694
da3c19ef
UD
30695 [BZ #12626]
30696 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30697 buf2 definition.
30698
ca408c15
UD
30699 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30700
d6f67f7d
UD
30701 [BZ #12432]
30702 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30703 (dummy_getcfa): New function.
30704 (init): Get _Unwind_GetCFA address, use dummy if not found.
30705 (backtrace_helper): In recursion check, also check whether CFA changes.
30706 (__backtrace): Completely initialize arg.
30707
1af4e298 30708 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30709 storing incomplete byte sequence in state object. Avoid testing for
30710 guaranteed too small input if we know there is enough data available.
1af4e298 30711
da62f81b
AS
307122011-05-11 Andreas Schwab <schwab@redhat.com>
30713
30714 * Makeconfig (+link-pie): Indent.
30715 * Rules (binaries-pie): Define if $(have-fpie) and
30716 $(build-shared).
30717 (binaries-shared): Also filter out $(binaries-pie).
30718 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30719 * nscd/Makefile (others-pie): Add nscd.
30720 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30721 ($(objpfx)nscd): Remove command override.
30722 * login/Makefile (others-pie): Add pt_chown.
30723 ($(objpfx)pt_chown): Remove command override.
30724 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30725 remove command overrides.
30726
fcabc0f8
UD
307272011-05-13 Ulrich Drepper <drepper@gmail.com>
30728
20030ae6
UD
30729 * libio/tst_putwc.c: Fix error messages.
30730
fcabc0f8
UD
30731 [BZ #12724]
30732 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30733 currently writing and seek to current position when not.
30734 * libio/Makefile (tests): Add bug-fclose1.
30735 * libio/bug-fclose1.c: New file.
30736
320a5dc0
PB
307372011-05-12 Ulrich Drepper <drepper@gmail.com>
30738
30739 [BZ #12511]
30740 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30741 don't set DF_1_NODELETE here.
30742 (do_lookup_x): When entering new entry test for copy relocation
30743 and if necessary set DF_1_NODELETE flag.
30744 * elf/tst-unique4.cc: New file.
30745 * elf/tst-unique4.h: New file.
30746 * elf/tst-unique4lib.cc: New file.
30747 * elf/Makefile: Add rules to build and run tst-unique4.
30748 Patch by Piotr Bury <pbury@goahead.com>.
30749
22836f52
UD
307502011-05-11 Ulrich Drepper <drepper@gmail.com>
30751
f574184a
UD
30752 [BZ #12052]
30753 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30754
e1fb097f
UD
30755 [BZ #12625]
30756 * misc/mntent_r.c (addmntent): Flush the stream after the output
30757
22836f52
UD
30758 [BZ #12393]
30759 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30760 (is_trusted_path_normalize): Skip initial colon. Append slash
30761 to empty buffer. Duplicate is_trusted_path code but allow
30762 constructed patch to be prefix.
30763 (is_dst): Allow $ORIGIN followed by /.
30764 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30765 Correct testing of result of is_trusted_path_normalize
30766 (decompose_rpath): Fix warning.
30767
7b3b0b2a
UD
307682011-05-10 Ulrich Drepper <drepper@gmail.com>
30769
30770 [BZ #11257]
30771 * grp/initgroups.c (internal_getgrouplist): When we found the service
30772 list through the initgroups entry in nsswitch.conf do not always
30773 continue on a successful lookup. Don't always use the
eac80ce2 30774 __nss_group_database value if it is set.
7b3b0b2a
UD
30775 * nss/nsswitch.conf (initgroups): Change action for successful db
30776 lookup to continue for compatibility.
30777
2a81eaa5
UD
307782011-05-09 Ulrich Drepper <drepper@gmail.com>
30779
be97a69e
UD
30780 [BZ #11532]
30781 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30782 and CP774 modules.
30783 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30784 and CP774 modules.
30785 * iconvdata/tst-tables.sh: Likewise.
30786 * iconvdata/cp770.c: New file.
30787 * iconvdata/cp771.c: New file.
30788 * iconvdata/cp772.c: New file.
30789 * iconvdata/cp773.c: New file.
30790 * iconvdata/cp774.c: New file.
30791 * iconvdata/testdata/CP770: New file.
30792 * iconvdata/testdata/CP770..UTF8: New file.
30793 * iconvdata/testdata/CP771: New file.
30794 * iconvdata/testdata/CP771..UTF8: New file.
30795 * iconvdata/testdata/CP772: New file.
30796 * iconvdata/testdata/CP772..UTF8: New file.
30797 * iconvdata/testdata/CP773: New file.
30798 * iconvdata/testdata/CP773..UTF8: New file.
30799 * iconvdata/testdata/CP774: New file.
30800 * iconvdata/testdata/CP774..UTF8: New file.
30801
30802 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30803 END CHARMAP line.
30804 * iconvdata/gen-8bit-gap.sh: Likewise.
30805 * iconvdata/gen-8bit.sh: Likewise.
30806
c1e9e399
UD
30807 * locale/iso-639.def: Add ary entry.
30808
24c55fb3 30809 [BZ #11258]
96b4b1b0
UD
30810 * locale/C-translit.h.in: Add U20A1 transliteration.
30811
bdc2f971
KB
30812 [BZ #12178]
30813 * locale/iso-639.def: Add wae entry.
30814 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30815
2952b117
UD
30816 [BZ #12545]
30817 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30818 for n.
30819
2a81eaa5
UD
30820 [BZ #12711]
30821 * locale/C-translit.h.in: Add entry for U20B9.
30822 Patch by pravin.d.s@gmail.com.
30823
28377d1b
UD
308242011-05-08 Ulrich Drepper <drepper@gmail.com>
30825
7fb90fb8
UD
30826 [BZ #12713]
30827 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30828 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30829 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30830 in rtld. Use *stat64.
7fb90fb8 30831 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30832 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30833 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30834 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30835 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30836 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30837 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30838 __fstatat64 macros.
7fb90fb8
UD
30839 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30840 * dirent/rewinddir.c: Add libc_hidden_def.
30841 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30842 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30843
28377d1b
UD
30844 * include/dirent.h (__alloc_dir): Add flags parameter.
30845 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30846 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30847 __alloc_dir.
30848 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30849 from fdopendir if O_CLOEXEC is already set.
30850
66bdbaa4
AM
308512011-03-15 Alan Modra <amodra@gmail.com>
30852
30853 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30854 l_tls_firstbyte_offset non-zero. Save padding offset in
30855 l_tls_firstbyte_offset for later use.
30856 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30857 freeing static tls block.
30858
95721191
JN
308592011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30860
30861 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30862 where #ifdef was intended. The intent is to prevent ARG_MAX from
30863 being defined by the kernel headers.
30864
f87dfb1f
UD
308652011-05-07 Ulrich Drepper <drepper@gmail.com>
30866
30867 [BZ #12734]
30868 * resolv/resolv.h: Define RES_NOTLDQUERY.
30869 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30870 no-tld-query and set RES_NOTLDQUERY.
30871 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30872 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30873 modern BIND to search name as TLD unless forbidden.
30874
47c3cd7a
UD
308752011-05-07 Petr Baudis <pasky@suse.cz>
30876 Ulrich Drepper <drepper@gmail.com>
30877
30878 [BZ #12393]
30879 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30880 (is_trusted_path): ...to here.
c1e9ea35 30881 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30882 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30883 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30884
8a35c912
PP
308852011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30886
30887 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30888 __BEGIN/__END_DECLS.
30889
acd41f47
UD
308902011-05-06 Ulrich Drepper <drepper@gmail.com>
30891
30892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30893 NSS_STATUS_NOTFOUND if no record was found.
30894
597df647
AS
308952011-05-05 Andreas Schwab <schwab@redhat.com>
30896
30897 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30898 (headers-not-in-tirpc): Remove rpc/netdb.h
30899 * resolv/netdb.h: Revert last change.
30900
b9af1301
PP
309012011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30902
30903 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30904 circular dependency between libgcc.a and libc.a.
30905
4e34d5f5
AS
309062011-05-05 Andreas Schwab <schwab@redhat.com>
30907
30908 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30909 * nis/Makefile: Don't install rpcsvc/*.
30910 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30911 instead of <rpc/types.h>.
30912 (MAXHOSTNAMELEN): Define.
30913
00ee369c
AS
309142011-05-03 Andreas Schwab <schwab@redhat.com>
30915
30916 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30917
0b592a30
MB
309182011-04-28 Maciej Babinski <mbabinski@google.com>
30919
30920 [BZ #12714]
30921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30922 gethostbyname4_r when IPv6 results are possible.
30923
6e04cbbe
UD
309242011-05-02 Ulrich Drepper <drepper@gmail.com>
30925
30926 [BZ #12723]
30927 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30928 _PC_PIPE_BUF handling.
30929
e4ecafe0
BH
309302011-04-30 Bruno Haible <bruno@clisp.org>
30931
30932 [BZ #12717]
30933 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30934 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30935 to 'int'.
30936 * inet/getnameinfo.c (getnameinfo): Likewise.
30937
125ee683
UD
309382011-04-29 Ulrich Drepper <drepper@gmail.com>
30939
30940 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30941 to groups setting in database lookup.
30942 * nss/nsswitch.conf: Add initgroups entry.
30943
b722481a
EB
309442011-04-22 Ulrich Drepper <drepper@gmail.com>
30945
30946 [BZ #12685]
30947 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30948 mode string.
30949 Patch by Eric Blake <eblake@redhat.com>.
30950
4df46dbd
L
309512011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30952
30953 * sunrpc/Makefile (need-export-routines): Add svc_run.
30954 (routines): Remove svc_run.
30955 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30956 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30957 * sunrpc/svc_run.c (svc_run): Likewise.
30958 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30959
e84142d2
UD
309602011-04-21 Ulrich Drepper <drepper@gmail.com>
30961
30962 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30963 problem in reallocation in last patch.
30964
877175d8
UD
309652011-04-20 Ulrich Drepper <drepper@gmail.com>
30966
30967 * sunrpc/Makefile: Move inclusion of Rules.
30968
ab8eed78
UD
309692011-04-19 Ulrich Drepper <drepper@gmail.com>
30970
30971 * nss/nss_files/files-initgroups.c: New file.
30972 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30973 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30974 _nss_files_initgroups_dyn.
30975
e3d8f584
RS
309762011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30977
30978 * elf/elf.h (R_ARM_IRELATIVE): Define.
30979
af190f45
UD
309802011-04-19 Ulrich Drepper <drepper@gmail.com>
30981
30982 * po/ru.po: Update from translation team.
30983
53cf59ef
UD
309842011-04-17 Ulrich Drepper <drepper@gmail.com>
30985
30986 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30987 dependencies.
30988
4c559bcd
MF
309892011-02-06 Mike Frysinger <vapier@gentoo.org>
30990
30991 [BZ #12653]
30992 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30993 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30994 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30995 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30996 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30997
4420675c
AS
309982011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30999
31000 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31001 differing bytes.
31002 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31003 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31004 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31005
75ea32ab
UD
310062011-04-17 Ulrich Drepper <drepper@gmail.com>
31007
31008 [BZ #12420]
31009 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31010 storing it.
31011 * stdlib/bug-getcontext.c: New file.
31012 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31013
27390476
AK
310142011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31015
31016 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31017 instructions into .machine "z9-109".
31018 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31019 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31020
10442705
AK
310212011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31022
31023 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31024 between environment variables and auxiliary vector.
31025
7b57bfe5
UD
310262011-04-16 Ulrich Drepper <drepper@gmail.com>
31027
31028 * Makefile: Add rules to build linkobj/libc.so.
31029 * include/libc-symbols.h: Define libc_hidden_nolink.
31030 * include/rpc/auth.h: Mark functions which are to be hidden.
31031 * include/rpc/auth_des.h: Likewise.
31032 * include/rpc/auth_unix.h: Likewise.
31033 * include/rpc/clnt.h: Likewise.
31034 * include/rpc/des_crypt.h: Likewise.
31035 * include/rpc/key_prot.h: Likewise.
31036 * include/rpc/pmap_clnt.h: Likewise.
31037 * include/rpc/pmap_prot.h: Likewise.
31038 * include/rpc/pmap_rmt.h: Likewise.
31039 * include/rpc/rpc_msg.h: Likewise.
31040 * include/rpc/svc.h: Likewise.
31041 * include/rpc/svc_auth.h: Likewise.
31042 * include/rpc/xdr.h: Likewise.
31043 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31044 * nss/Makefile: Likewise.
31045 * sunrpc/Makefile: Don't install headers. Build library with normal
31046 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31047 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31048 for the compat linking library. Remove use of INTDEF/INTUSE.
31049 * sunrpc/auth_none.c: Likewise.
31050 * sunrpc/auth_unix.c: Likewise.
31051 * sunrpc/authdes_prot.c: Likewise.
31052 * sunrpc/authuxprot.c: Likewise.
31053 * sunrpc/clnt_gen.c: Likewise.
31054 * sunrpc/clnt_perr.c: Likewise.
31055 * sunrpc/clnt_raw.c: Likewise.
31056 * sunrpc/clnt_simp.c: Likewise.
31057 * sunrpc/clnt_tcp.c: Likewise.
31058 * sunrpc/clnt_udp.c: Likewise.
31059 * sunrpc/clnt_unix.c: Likewise.
31060 * sunrpc/des_crypt.c: Likewise.
31061 * sunrpc/des_soft.c: Likewise.
31062 * sunrpc/get_myaddr.c: Likewise.
31063 * sunrpc/key_call.c: Likewise.
31064 * sunrpc/key_prot.c: Likewise.
31065 * sunrpc/netname.c: Likewise.
31066 * sunrpc/pm_getmaps.c: Likewise.
31067 * sunrpc/pm_getport.c: Likewise.
31068 * sunrpc/pmap_clnt.c: Likewise.
31069 * sunrpc/pmap_prot.c: Likewise.
31070 * sunrpc/pmap_prot2.c: Likewise.
31071 * sunrpc/pmap_rmt.c: Likewise.
31072 * sunrpc/publickey.c: Likewise.
31073 * sunrpc/rpc_cmsg.c: Likewise.
31074 * sunrpc/rpc_common.c: Likewise.
31075 * sunrpc/rpc_dtable.c: Likewise.
31076 * sunrpc/rpc_prot.c: Likewise.
31077 * sunrpc/rpc_thread.c: Likewise.
31078 * sunrpc/rtime.c: Likewise.
31079 * sunrpc/svc.c: Likewise.
31080 * sunrpc/svc_auth.c: Likewise.
31081 * sunrpc/svc_authux.c: Likewise.
31082 * sunrpc/svc_raw.c: Likewise.
31083 * sunrpc/svc_run.c: Likewise.
31084 * sunrpc/svc_simple.c: Likewise.
31085 * sunrpc/svc_tcp.c: Likewise.
31086 * sunrpc/svc_udp.c: Likewise.
31087 * sunrpc/svc_unix.c: Likewise.
31088 * sunrpc/svcauth_des.c: Likewise.
31089 * sunrpc/xcrypt.c: Likewise.
31090 * sunrpc/xdr.c: Likewise.
31091 * sunrpc/xdr_array.c: Likewise.
31092 * sunrpc/xdr_float.c: Likewise.
31093 * sunrpc/xdr_intXX_t.c: Likewise.
31094 * sunrpc/xdr_mem.c: Likewise.
31095 * sunrpc/xdr_rec.c: Likewise.
31096 * sunrpc/xdr_ref.c: Likewise.
31097 * sunrpc/xdr_sizeof.c: Likewise.
31098 * sunrpc/xdr_stdio.c: Likewise.
31099
e6c61494
UD
311002011-04-10 Ulrich Drepper <drepper@gmail.com>
31101
31102 [BZ #12650]
31103 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31104 * sysdeps/ia64/dl-tls.h: Likewise.
31105 * sysdeps/powerpc/dl-tls.h: Likewise.
31106 * sysdeps/s390/dl-tls.h: Likewise.
31107 * sysdeps/sh/dl-tls.h: Likewise.
31108 * sysdeps/sparc/dl-tls.h: Likewise.
31109 * sysdeps/x86_64/dl-tls.h: Likewise.
31110 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31111
34fe483e
AS
311122011-03-14 Andreas Schwab <schwab@redhat.com>
31113
31114 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31115 rpath element also skip the following colon.
31116 (expand_dynamic_string_token): Add is_path parameter and pass
31117 down to DL_DST_REQUIRED and _dl_dst_substitute.
31118 (decompose_rpath): Call expand_dynamic_string_token with
31119 non-zero is_path. Ignore empty rpaths.
31120 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31121 with zero is_path.
31122
f12a32e6
AS
311232011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31124
31125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31126 Make cancelable.
31127
38a7d692
UD
311282011-04-09 Ulrich Drepper <drepper@gmail.com>
31129
31130 [BZ #12655]
31131 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31132 Patch by Filipe David Manana <fdmanana@apache.org>.
31133
e451d22b
AS
311342011-04-07 Andreas Schwab <schwab@redhat.com>
31135
31136 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31137 Maintain aligned stack.
31138 (CHECK_RSP): Remove unused macro.
31139
dedc7c7b
UD
311402011-04-03 Ulrich Drepper <drepper@gmail.com>
31141
31142 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31143 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31144
94521213
UD
311452011-04-02 Ulrich Drepper <drepper@gmail.com>
31146
31147 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31148
8cb700c0 31149 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31150
0354e355
L
311512011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31152
31153 [BZ #12518]
31154 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31155 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31156 * sysdeps/x86_64/memmove.c: New file.
31157 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31158 (memcpy): Renamed to ...
31159 (__new_memcpy): This.
31160 (memcpy): Provide GLIBC_2_14 memcpy.
31161 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31162 (memcpy): Provide GLIBC_2_2_5 memcpy.
31163
8593482f
UD
311642011-04-01 Ulrich Drepper <drepper@gmail.com>
31165
31166 [BZ #12631]
31167 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31168
81a5726b
AS
311692011-03-30 Andreas Schwab <schwab@redhat.com>
31170
31171 * misc/syncfs.c: New file.
31172 * misc/Makefile (routines): Add syncfs.
31173 * posix/unistd.h: Declare syncfs.
31174 * sysdeps/unix/syscalls.list: Add syncfs.
31175
00e5419f
AS
311762011-04-01 Andreas Schwab <schwab@redhat.com>
31177
31178 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31179 open_by_handle_at.
31180 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31181 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31182 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31183 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31185 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31186 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31187
748876bf
UD
311882011-04-01 Ulrich Drepper <drepper@gmail.com>
31189
658e451d
UD
31190 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31191 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31192 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31193 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31194 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31196 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31197
748876bf
UD
31198 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31199 sync_file_range.c with -fexceptions.
31200 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31201 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31202 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31203 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31204 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31205 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31206 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31207 sync_file_range as cancellation point
31208 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31209 now a wrapper around __call_sync_file_range with cancellation handling.
31210 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31211 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31212 function name to __call_sync_file_range.
31213 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31214 Add call_sync_file_range.
748876bf 31215
6e63d5e1
AS
312162011-04-01 Andreas Schwab <schwab@redhat.com>
31217
31218 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31219 bits/timex.h.
6e63d5e1 31220
46998f74
UD
312212011-04-01 Ulrich Drepper <drepper@gmail.com>
31222
4c1423ed
UD
31223 * iconv/iconv.h: Fix typo in comment.
31224 * io/fcntl.h: Likewise.
31225 * libio/stdio.h: Likewise.
31226 * posix/spawn.h: Likewise.
31227 * posix/unistd.h: Likewise.
31228 * stdlib/stdlib.h: Likewise.
31229 * time/time.h: Likewise.
31230 * wcsmbs/wchar.h: Likewise.
31231
158648c0
UD
31232 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31233 open_by_handle): Add.
31234 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31235 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31236 Augment a few comments.
31237 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31239 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31241 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31242 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31243 open_by_handle.
31244
46998f74
UD
31245 * io/fcntl.h (AT_EMPTY_PATH): Define.
31246
83fe108b
UD
312472011-03-30 Ulrich Drepper <drepper@gmail.com>
31248
31249 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31250 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31251 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31252 to...
31253 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31254 * Versions.def: Add GLIBC_2.14.
31255 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31256 Export.
83fe108b 31257
bb242059
UD
312582011-03-22 Ulrich Drepper <drepper@gmail.com>
31259
31260 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31261 round counter.
31262 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31263
c97a1282
L
312642011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31265
31266 [BZ #12597]
31267 * string/test-strncmp.c (do_page_test): New function.
31268 (check2): Likewise.
31269 (test_main): Call check2.
31270 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31271
2a115601
UD
312722011-03-20 Ulrich Drepper <drepper@gmail.com>
31273
31274 [BZ #12587]
31275 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31276 Handle cache information in CPU leaf 4.
31277 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31278
8126d904
UD
312792011-03-18 Ulrich Drepper <drepper@gmail.com>
31280
042c49c6 31281 [BZ #12583]
8126d904
UD
31282 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31283 character representation.
31284 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31285
ccfe366e
RA
312862011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31287
31288 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31289 END(__isnan) to END(__isnanf) to match function entry point/label
31290 EALIGN(__isnanf,...).
31291
c6e13027
JJ
312922011-03-10 Jakub Jelinek <jakub@redhat.com>
31293
31294 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31295
33f85a3f
UD
312962011-03-10 Ulrich Drepper <drepper@gmail.com>
31297
028478fa
UD
31298 [BZ #12510]
31299 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31300 copy from the symbol referenced in the relocation to initialize the
31301 used variable.
31302 Patch by Piotr Bury <pbury@goahead.com>.
31303 * elf/Makefile: Add rules to build and tst-unique3.
31304 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31305 * elf/tst-unique3.cc: New file.
31306 * elf/tst-unique3.h: New file.
31307 * elf/tst-unique3lib.cc: New file.
31308 * elf/tst-unique3lib2.cc: New file.
31309
33f85a3f
UD
31310 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31311
03592fc7
MF
313122011-03-10 Mike Frysinger <vapier@gentoo.org>
31313
31314 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31315 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31316 to _start.
03592fc7 31317
6a5ee102
UD
313182011-03-06 Ulrich Drepper <drepper@gmail.com>
31319
31320 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31321 to-be-loaded object along a path to loader is ld.so.
31322
7e4ba49c
HJ
313232011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31324 Ulrich Drepper <drepper@gmail.com>
31325
31326 * sysdeps/x86_64/memset.S: After aligning destination, code
31327 branches to different locations depending on the value of
31328 misalignment, when multiarch is enabled. Fix this.
31329
313302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31331
31332 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31333 Set _x86_64_preferred_memory_instruction for AMD processsors.
31334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31335 Set bit_Prefer_SSE_for_memop for AMD processors.
31336
13a804de
UD
313372011-03-04 Ulrich Drepper <drepper@gmail.com>
31338
31339 * libio/fmemopen.c (fmemopen): Optimize a bit.
31340
9d25c392
AS
313412011-03-03 Andreas Schwab <schwab@redhat.com>
31342
31343 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31344
a5543c6a
RM
313452011-03-03 Roland McGrath <roland@redhat.com>
31346
31347 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31348
012d35f7
DM
313492011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31350
7e4ba49c 31351 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31352 __bzero_ultra1 instead of __memset_ultra1.
31353
4bff6e01
AS
313542011-02-23 Andreas Schwab <schwab@redhat.com>
31355 Ulrich Drepper <drepper@gmail.com>
31356
31357 [BZ #12509]
31358 * include/link.h (struct link_map): Add l_orig_initfini.
31359 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31360 returning unsuccessfully.
31361 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31362 close of a file loaded at startup, restore the original l_initfini
31363 list.
31364 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31365 list, store the pointer.
31366 * elf/Makefile ($(objpfx)noload-mem): New rule.
31367 (noload-ENV): Define.
31368 (tests): Add $(objpfx)noload-mem.
31369 * elf/noload.c: Include <memcheck.h>.
31370 (main): Call mtrace. Close all opened handles.
31371
f2092faf
AS
313722011-02-17 Andreas Schwab <schwab@redhat.com>
31373
31374 [BZ #12454]
31375 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31376 dependencies are missing.
31377
6c8a2e88
ST
313782011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31379
f2092faf 31380 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31381 Hurd needs munmap.
31382 * sysdeps/mach/hurd/ifreq.h: New file.
31383
84a42118
PB
313842011-01-27 Petr Baudis <pasky@suse.cz>
31385 Ulrich Drepper <drepper@gmail.com>
31386
071f805e 31387 [BZ 12445]#
84a42118
PB
31388 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31389 to extend_alloca().
31390 * stdio-common/bug23.c: New file.
31391 * stdio-common/Makefile (tests): Add bug23.
31392
e23fe25b
AS
313932010-09-28 Andreas Schwab <schwab@redhat.com>
31394 Ulrich Drepper <drepper@gmail.com>
31395
31396 [BZ #12489]
31397 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31398 before performing relro protection. At old place add assertion
31399 to make sure nothing changed.
31400
d3f02e10
NS
314012011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31402 Glauber de Oliveira Costa <glommer@gmail.com>
31403
31404 * elf/elf.h: Add new ARM TLS relocs.
31405
d55fd7a5
RA
314062011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31407
31408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31409 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31410 cast from r3.
31411 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31412 'tests' variable.
31413 * sysdeps/wordsize-64/tst-writev.c: New file.
31414
2206397e
RA
314152011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31416
31417 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31418 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31419 insns in _dl_start to prevent a TOC reference before relocs are
31420 resolved.
31421
e9433893
UD
314222011-02-15 Ulrich Drepper <drepper@gmail.com>
31423
31424 [BZ #12469]
31425 * Makeconfig: Remove RANLIB definition.
31426 * Makerules: Don't use RANLIB.
31427 * aclocal.m4: Remove ranlib test.
31428 * configure.in: No need to check for ranlib.
31429 * elf/rtld-Rules: Don't use RANLIB.
31430
f75286c6
ST
314312011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31432
8e31c82d
ST
31433 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31434 protection macro.
31435 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31436 inclusion protection macro.
31437
f75286c6
ST
31438 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31439 SIGRTMIN and SIGRTMAX and print information in that case only when
31440 SIGRTMIN is defined.
31441
c1d0e639
JJ
314422011-02-11 Jakub Jelinek <jakub@redhat.com>
31443
31444 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31445 arginfo fn returning -1.
31446
31447 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31448 and thousands string is zero terminated.
31449
edf9294e
AS
314502011-02-03 Andreas Schwab <schwab@redhat.com>
31451
31452 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31453 sysdeps/unix/sysv/linux/bits/socket.h.
31454
2b7e92df
ST
314552011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31456
edf9294e
AS
31457 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31458 (__CPU_COUNT): Remove old macros.
31459 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31460 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31461 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31462 (__sched_cpualloc, __sched_cpufree): Add declarations.
31463
a4c7ea7b
UD
314642011-02-05 Ulrich Drepper <drepper@gmail.com>
31465
31466 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31467 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31468 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31469 (readdhstai): Return value of addhstaiX call.
31470 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31471 (addgrbyX): Return value returned by cache_addgr.
31472 (readdgrbyname): Return value returned by addgrbyX.
31473 (readdgrbygid): Likewise.
31474 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31475 (addpwbyX): Return value returned by cache_addpw.
31476 (readdpwbyname): Return value returned by addhstbyX.
31477 (readdpwbyuid): Likewise.
31478 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31479 (addservbyX): Return value returned by cache_addserv.
31480 (readdservbyname): Return value returned by addservbyX:
31481 (readdservbyport): Likewise.
31482 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31483 (addhstbyX): Return value returned by cache_addhst.
31484 (readdhstbyname): Return value returned by addhstbyX.
31485 (readdhstbyaddr): Likewise.
31486 (readdhstbynamev6): Likewise.
31487 (readdhstbyaddrv6): Likewise.
31488 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31489 (readdinitgroups): Return value returned by addinitgroupsX.
31490 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31491 (prune_cache): Keep track of timeout value of re-added entries.
31492 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31493 * nscd/nscd.h: Adjust prototypes of readd* functions.
31494
a0bf67cc
RM
314952011-02-04 Roland McGrath <roland@redhat.com>
31496
31497 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31498 (nis_stats): Likewise.
31499 * nis/nis_modify.c (nis_modify): Likewise.
31500 * nis/nis_remove.c (nis_remove): Likewise.
31501 * nis/nis_add.c (nis_add): Likewise.
31502
31503 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31504
31505 * posix/fnmatch_loop.c: Add some consts.
31506
31507 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31508
435b95eb
L
315092011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31510
31511 [BZ #12460]
31512 * config.make.in (config-cflags-novzeroupper): Define.
31513 * configure.in: Substitute libc_cv_cc_novzeroupper.
31514 * elf/Makefile (AVX-CFLAGS): Define.
31515 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31516 (CFLAGS-tst-auditmod4a.c): Likewise.
31517 (CFLAGS-tst-auditmod4b.c): Likewise.
31518 (CFLAGS-tst-auditmod6b.c): Likewise.
31519 (CFLAGS-tst-auditmod6c.c): Likewise.
31520 (CFLAGS-tst-auditmod7b.c): Likewise.
31521 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31522
8517b15e
UD
315232011-02-02 Ulrich Drepper <drepper@gmail.com>
31524
31525 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31526 function to the callback.
31527 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31528
10a656fe
AS
315292011-02-02 Andreas Schwab <schwab@redhat.com>
31530
31531 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31532 of errno.
31533
968dad0a
UD
315342011-01-19 Ulrich Drepper <drepper@gmail.com>
31535
9f94d2ea 31536 [BZ #11724]
968dad0a
UD
31537 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31538 of constructors.
31539 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31540 of destructors.
31541 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31542
31543 [BZ #11724]
31544 * elf/Makefile: Add rules to build and run new test.
31545 * elf/tst-initorder.c: New file.
31546 * elf/tst-initorder.exp: New file.
31547 * elf/tst-initordera1.c: New file.
31548 * elf/tst-initordera2.c: New file.
31549 * elf/tst-initordera3.c: New file.
31550 * elf/tst-initordera4.c: New file.
31551 * elf/tst-initorderb1.c: New file.
31552 * elf/tst-initorderb2.c: New file.
31553 * elf/tst-order-a1.c: New file.
31554 * elf/tst-order-a2.c: New file.
31555 * elf/tst-order-a3.c: New file.
31556 * elf/tst-order-a4.c: New file.
31557 * elf/tst-order-b1.c: New file.
31558 * elf/tst-order-b2.c: New file.
31559 * elf/tst-order-main.c: New file.
31560 New test case by George Gensure <werkt0@gmail.com>.
31561
86e92359
UD
315622010-10-01 Andreas Schwab <schwab@redhat.com>
31563
31564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31565 decoding ACE if AI_CANONIDN.
31566
5d5732b0
UD
315672011-01-18 Ulrich Drepper <drepper@gmail.com>
31568
31569 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31570
a77e8cbc
UD
315712011-01-17 Ulrich Drepper <drepper@gmail.com>
31572
6392473f
UD
31573 * version.h (RELEASE): Bump for 2.13 release.
31574 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31575
620a0529
UD
31576 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31577
18ba70a5
UD
31578 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31579 MADV_NOHUGEPAGE.
32465c3e
UD
31580 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31581 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31582 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31583 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31584 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31585 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31586
c0dafcf1
UD
31587 * posix/getconf.c: Update copyright year.
31588 * catgets/gencat.c: Likewise.
31589 * csu/version.c: Likewise.
31590 * debug/catchsegv.sh: Likewise.
31591 * debug/xtrace.sh: Likewise.
31592 * elf/ldconfig.c: Likewise.
31593 * elf/ldd.bash.in: Likewise.
31594 * elf/sprof.c (print_version): Likewise.
31595 * iconv/iconv_prog.c: Likewise.
31596 * iconv/iconvconfig.c: Likewise.
31597 * locale/programs/locale.c: Likewise.
31598 * locale/programs/localedef.c: Likewise.
31599 * malloc/memusage.sh: Likewise.
31600 * malloc/mtrace.pl: Likewise.
31601 * nscd/nscd.c (print_version): Likewise.
31602 * nss/getent.c: Likewise.
31603
a77e8cbc
UD
31604 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31605 PF_CAIF, and PF_ALG.
31606 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31607
77e8bddf
AS
316082011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31609
1f20b93a
AS
31610 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31611 (modules-names): Use them.
31612 (ifunc-test-modules, ifunc-pie-tests): Define.
31613 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31614 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31615 (test-extras): Likewise.
31616 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31617 $(compile-command.c).
31618 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31619 (all-built-dso): Define.
31620 (check-textrel.out, check-execstack.out): Depend on it.
31621
77e8bddf
AS
31622 * configure.in: Don't override --enable-multi-arch.
31623
bc425b33
UD
316242011-01-15 Ulrich Drepper <drepper@gmail.com>
31625
31626 [BZ #6812]
31627 * nscd/hstcache.c (tryagain): Define.
31628 (cache_addhst): Return tryagain not notfound for temporary errors.
31629 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31630 failed.
31631
794c3ad3
UD
316322011-01-14 Ulrich Drepper <drepper@gmail.com>
31633
70181fdd
UD
31634 [BZ #10563]
31635 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31636 to make the syscall.
31637 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31638
794c3ad3
UD
31639 [BZ #12378]
31640 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31641 and fall back to matching as normal character if the string ends before
31642 the matching ']' is found. This is what POSIX requires.
31643 * posix/testfnm.c: Adjust test result.
31644 * posix/globtest.sh: Adjust test result. Add new test.
31645 * posix/tst-fnmatch.input: Likewise.
31646 * posix/tst-fnmatch2.c: Add new test.
31647
68dc9497
AS
316482010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31649
31650 * elf/Makefile (check-execstack): Revert last change. Depend on
31651 check-execstack.h.
31652 (check-execstack.h): New target.
31653 (generated): Add check-execstack.h.
31654 * elf/check-execstack.c: Include "check-execstack.h".
31655 (main): Revert last change.
31656 (handle_file): Return zero if GNU_STACK is absent and
31657 DEFAULT_STACK_PERMS doesn't include PF_X.
31658
451f001b
UD
316592011-01-13 Ulrich Drepper <drepper@gmail.com>
31660
cfa28e56
UD
31661 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31662 in child fails because the descriptor is already closed.
8cf8ce17
UD
31663 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31664 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31665 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31666
1086d70d
UD
31667 [BZ #12397]
31668 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31669 syscall.
31670
451f001b
UD
31671 [BZ #10484]
31672 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31673 temporary buffer used to handle multi lookups locally.
a85b5cb4 31674 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31675
08769175
UD
316762011-01-12 Ulrich Drepper <drepper@gmail.com>
31677
31678 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31679 loader is ld.so.
31680
5e49c52e
UD
316812011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31682
31683 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31684 alignment for SSE2.
31685
60522a5f
UD
316862011-01-12 Ulrich Drepper <drepper@gmail.com>
31687
31688 [BZ #12394]
31689 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31690 characters. When rounding increased number of integer digits recompute
31691 number of groups.
31692 * stdio-common/tst-grouping.c: New file.
31693 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31694
f257bbd7
UD
316952011-01-09 Ulrich Drepper <drepper@gmail.com>
31696
31697 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31698 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31699
31700 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31701 void.
31702 * bits/select.h: Likewise.
31703
fa9c15cb
UD
317042011-01-08 Ulrich Drepper <drepper@gmail.com>
31705
31706 * po/ja.po: Update from translation team.
31707
16c2895f
DM
317082011-01-04 David S. Miller <davem@sunset.davemloft.net>
31709
31710 [BZ #11155]
31711 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31712 implementation just like for lxstat, fxstatat, et al.
31713
2543fef2
JM
317142010-12-27 Jim Meyering <meyering@redhat.com>
31715
31716 [BZ #12348]
31717 * posix/regexec.c (build_trtable): Return failure indication upon
31718 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31719
98727dbe
UD
317202010-12-25 Ulrich Drepper <drepper@gmail.com>
31721
5bd6dc5c
UD
31722 [BZ #12201]
31723 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31724 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31725 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31726 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31727
97983464
UD
31728 [BZ #12207]
31729 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31730
98727dbe
UD
31731 [BZ #12204]
31732 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31733 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31734
4a531bb0
L
317352010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31736
31737 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31738 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31739 script has SORT_BY_INIT_PRIORITY.
31740 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31741 NO_CTORS_DTORS_SECTIONS is defined.
31742 * elf/soinit.c: Likewise.
31743 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31744 NO_CTORS_DTORS_SECTIONS is defined.
31745 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31746 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31747 * sysdeps/sh/init-first.c: Likewise.
31748 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31749
07eb4b71
UD
317502010-12-24 Ulrich Drepper <drepper@gmail.com>
31751
31752 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31753 always use the slow path.
31754
30950a5f
RA
317552010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31756
31757 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31758 similar rule which adds the sysdep directories to the header search in
31759 order to pick up the correct platform stackinfo.h.
31760 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31761 perform test if it is, otherwise return successfully without testing.
31762 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31763 DEFAULT_STACK_PERMS define in stackinfo.h.
31764 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31765 defined in stackinfo.h.
31766 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31767 DEFAULT_STACK_PERMS defined in stackinfo.h.
31768 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31769 * sysdeps/ia64/stackinfo.h: Likewise.
31770 * sysdeps/s390/stackinfo.h: Likewise.
31771 * sysdeps/sh/stackinfo.h: Likewise.
31772 * sysdeps/sparc/stackinfo.h: Likewise.
31773 * sysdeps/x86_64/stackinfo.h: Likewise.
31774 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31775 PF_X for powerpc64. Retain PF_X for powerpc32.
31776
db753e2c
UD
317772010-12-19 Ulrich Drepper <drepper@gmail.com>
31778
14b697f7
UD
31779 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31780 accurately.
db753e2c
UD
31781 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31782 GETDENTS_64BIT_ALIGNED.
31783
28300719
UD
317842010-12-14 Ulrich Drepper <dreper@gmail.com>
31785
14b697f7 31786 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31787
4f197237
AS
317882010-12-10 Andreas Schwab <schwab@redhat.com>
31789
dbb0472f
AS
31790 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31791 _GNU_SOURCE.
31792
4f197237
AS
31793 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31794 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31795 Remove __restrict.
31796 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31797 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31798
fb88ac72
UD
317992010-12-09 Ulrich Drepper <drepper@gmail.com>
31800
31801 [BZ #11655]
31802 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31803 are initialized.
31804
42acbb92
JJ
318052010-12-09 Jakub Jelinek <jakub@redhat.com>
31806
31807 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31808
c038d98d
UD
318092010-12-03 Ulrich Drepper <drepper@gmail.com>
31810
31811 * po/it.po: Update from translation team.
31812
3a4a2499
L
318132010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31814
31815 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31816 unused codes.
31817
1e24cf6e
UD
318182010-11-30 Ulrich Drepper <drepper@gmail.com>
31819
31820 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31821
a7690819
AS
318222010-11-24 Andreas Schwab <schwab@redhat.com>
31823
31824 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31825 specially.
31826 (gaih_getanswer_slice): Likewise.
31827
3bf8d1b1
JJ
318282010-10-20 Jakub Jelinek <jakub@redhat.com>
31829
31830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31831
6db52fbb
PB
318322010-05-31 Petr Baudis <pasky@suse.cz>
31833
31834 [BZ #11149]
31835 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31836 silently even in the chroot mode.
31837
eaca7569
UD
318382010-11-22 Ulrich Drepper <drepper@gmail.com>
31839
31840 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31841 last patch a bit. Pretty printing
31842
3056dcdb
UD
318432010-05-31 Petr Baudis <pasky@suse.cz>
31844
31845 [BZ #10085]
31846 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31847 initialization of skip_initgroups_dyn.
31848
cf7c9078
UD
318492010-11-19 Ulrich Drepper <drepper@gmail.com>
31850
31851 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31852 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31853
a1fb5e3e
UD
318542010-11-16 Ulrich Drepper <drepper@gmail.com>
31855
31856 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31857
3540d66b
AS
318582010-11-11 Andreas Schwab <schwab@redhat.com>
31859
31860 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31861 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31862 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31863 ($(objpfx)tst-fnmatch-mem): New rule.
31864 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31865 * posix/tst-fnmatch.c (main): Call mtrace.
31866
13b69574
L
318672010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31868
31869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31870 Support Intel processor model 6 and model 0x2c.
31871
da93d214
LM
318722010-11-10 Luis Machado <luisgpm@br.ibm.com>
31873
31874 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31875 signed comparison.
31876
8ca52c6e
L
318772010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31878
31879 [BZ #12205]
31880 * string/test-strncasecmp.c (check_result): New function.
31881 (do_one_test): Use it.
31882 (check1): New function.
31883 (test_main): Use it.
31884 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31885 Support strcasecmp and strncasecmp.
31886
69da074d
UD
318872010-11-08 Ulrich Drepper <drepper@gmail.com>
31888
31889 [BZ #12194]
31890 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31891 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31892
ff02d528
L
318932010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31894
31895 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31896 IFUNC support.
31897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31898 memset-x86-64.
31899 * sysdeps/x86_64/multiarch/bzero.S: New file.
31900 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31901 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31902 * sysdeps/x86_64/multiarch/memset.S: New file.
31903 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31905 Set bit_Prefer_SSE_for_memop for Intel processors.
31906 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31907 Define.
31908 (index_Prefer_SSE_for_memop): Define.
31909 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31910
344d0b54
LM
319112010-11-04 Luis Machado <luisgpm@br.ibm.com>
31912
31913 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31914 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31915
c0dde15b
UD
319162010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31917
31918 [BZ #12191]
31919 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31920 (__x86_64_raw_data_cache_size_half): Likewise.
31921 (__x86_64_raw_shared_cache_size): Likewise.
31922 (__x86_64_raw_shared_cache_size_half): Likewise.
31923
31924 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31925 (__x86_64_raw_data_cache_size_half): Likewise.
31926 (__x86_64_raw_shared_cache_size): Likewise.
31927 (__x86_64_raw_shared_cache_size_half): Likewise.
31928 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31929 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31930 and __x86_64_raw_shared_cache_size_half. Round
31931 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31932 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31933 to multiple of 256 bytes.
31934
0e516e0e
MS
319352010-11-03 Ulrich Drepper <drepper@gmail.com>
31936
31937 [BZ #12167]
31938 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31939 of inacessible symlinks. Verify result of symlink before returning it.
31940 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31941 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31942
0e012e87
ER
319432010-10-28 Erich Ritz <erichritz@gmail.com>
31944
31945 * math/math.h (isinf): Fix typo in comment.
31946
de0ff7bc
UD
319472010-11-01 Ulrich Drepper <drepper@gmail.com>
31948
31949 * po/da.po: Update from translation team.
31950
fa41c84d
UD
319512010-10-26 Ulrich Drepper <drepper@gmail.com>
31952
31953 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31954 is added to the list.
31955
f0967738
AK
319562010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31957 Ulrich Drepper <drepper@gmail.com>
31958
31959 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31960 the global list here. Move code to...
31961 (_dl_add_to_namespace_list): ...here. New function.
31962 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31963 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31964 * elf/dl-load.c (lose): Don't remove the element from the list.
31965 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31966 (_dl_map_object): Likewise.
31967
319682010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31969
31970 [BZ #12159]
31971 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31972 into all bytes of SSE register.
31973 Patch by Richard Li <richardpku@gmail.com>.
31974
f0967738 319752010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31976
31977 [BZ #12140]
31978 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31979 perturbing.
31980
d0b9e94f
MB
319812010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31982
31983 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31984 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31985 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31986 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31988 submachine.
31989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31990
8e9f92e9
AS
319912010-10-22 Andreas Schwab <schwab@redhat.com>
31992
31993 * include/dlfcn.h (__RTLD_SECURE): Define.
31994 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31995 mode & __RTLD_SECURE instead.
31996 (open_path): Rename preloaded parameter to secure.
31997 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31998 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31999 * elf/dl-deps.c (openaux): Likewise.
32000 * elf/rtld.c (struct map_args): Remove is_preloaded.
32001 (map_doit): Don't use it.
32002 (dl_main): Likewise.
32003 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32004 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32005
bc96fbda
AS
320062010-09-09 Andreas Schwab <schwab@redhat.com>
32007
32008 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32009 (sysd-rules-targets): Remove duplicates.
32010 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32011 rtld-%.$o dependency.
32012
22cd1c9b
AS
320132010-10-18 Andreas Schwab <schwab@redhat.com>
32014
32015 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32016 _dl_map_object do it.
32017
18edac48
UD
320182010-10-19 Ulrich Drepper <drepper@gmail.com>
32019
32020 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32021 fast fma builtins, define the macros in the C99 standard.
32022 (FP_FAST_FMAF): Likewise.
32023 (FP_FAST_FMAL): Likewise.
32024 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32025
32026 * bits/mathdef.h: Update copyright year.
32027 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32028
d2050124
MM
320292010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32030
32031 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32032 builtins, define the macros in the C99 standard.
32033 (FP_FAST_FMAF): Likewise.
32034 (FP_FAST_FMAL): Likewise.
32035 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32036 multiply/add.
32037 (FP_FAST_FMAF): Likewise.
32038
475facd1
JJ
320392010-10-15 Jakub Jelinek <jakub@redhat.com>
32040
32041 [BZ #3268]
32042 * math/libm-test.inc (fma_test): Some new testcases.
32043 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32044 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32045 y and infinite z. Do multiplication by C already in long double.
32046 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32047 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32048 y and infinite z. Do bitwise or of inexact bit into u.d.
32049 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32050 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32051 * sysdeps/i386/fpu/s_fma.S: Removed.
32052 * sysdeps/i386/fpu/s_fmal.S: Removed.
32053
7c08a05c
JJ
320542010-10-16 Jakub Jelinek <jakub@redhat.com>
32055
32056 [BZ #3268]
32057 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32058 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32059 computation is not scheduled after fetestexcept. Fix value
32060 of minimum denormal long double.
32061
f3f7372d
JJ
320622010-10-14 Jakub Jelinek <jakub@redhat.com>
32063
32064 [BZ #3268]
32065 * math/libm-test.inc (fma_test): Add some more tests.
32066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32067 correctly.
32068
14d43591
AS
320692010-10-15 Andreas Schwab <schwab@redhat.com>
32070
32071 * scripts/data/localplt-s390-linux-gnu.data: New file.
32072 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32073
5e908464
JJ
320742010-10-13 Jakub Jelinek <jakub@redhat.com>
32075
32076 [BZ #3268]
32077 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32078 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32079 instead of dbl-64.
32080 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32081 inlines.
32082 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32084 if one of x and y is very large and the other is subnormal.
32085 * sysdeps/s390/fpu/s_fmaf.c: New file.
32086 * sysdeps/s390/fpu/s_fma.c: New file.
32087 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32088 * sysdeps/powerpc/fpu/s_fma.S: New file.
32089 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32090 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32091 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32092
320932010-10-12 Jakub Jelinek <jakub@redhat.com>
32094
32095 [BZ #3268]
32096 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32097 fma tests.
32098 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32099 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32100 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32101 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32102 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32103 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32104 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32105
b833d51f
UD
321062010-10-12 Ulrich Drepper <drepper@redhat.com>
32107
32108 [BZ #12078]
32109 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32110 * posix/bug-regex31.input: Add test case.
32111
1751705d
UD
321122010-10-11 Ulrich Drepper <drepper@gmail.com>
32113
e9b9cbf5
UD
32114 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32115 * posix/bug-regex31.input: New file.
32116
32117 [BZ #12078]
32118 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32119 (parse_sub_exp): Fix last change, use postorder.
32120
ef06edbe
UD
32121 * posix/bug-regex31.c: New file.
32122 * posix/Makefile: Add rules to build and run bug-regex31.
32123
a129c80d
UD
32124 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32125
32126 [BZ #12078]
32127 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32128
b76b818e
UD
32129 [BZ #12108]
32130 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32131 to have entries in sys_siglist.
32132
1751705d
UD
32133 [BZ #12093]
32134 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32135 be NULL.
32136
9ff8d36f
JJ
321372010-10-07 Jakub Jelinek <jakub@redhat.com>
32138
32139 [BZ #3268]
32140 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32141 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32142 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32143 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32144 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32145 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32146 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32147 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32148 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32149 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32150 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32151 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32152 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32153 * math/ftestexcept.c (fetestexcept): Likewise.
32154 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32155 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32156 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32157 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32158 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32159 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32160 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32161
af325969
UD
321622010-10-11 Ulrich Drepper <drepper@gmail.com>
32163
c579b202 32164 [BZ #12107]
af325969
UD
32165 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32166 newline.
32167
67a67b95
UD
321682010-10-06 Ulrich Drepper <drepper@gmail.com>
32169
32170 * string/bug-strstr1.c: New file.
32171 * string/Makefile: Add rules to build and run bug-strstr1.
32172
5fb308bc
EB
321732010-10-05 Eric Blake <eblake@redhat.com>
32174
32175 [BZ #12092]
32176 * string/str-two-way.h (two_way_long_needle): Always clear memory
32177 when skipping input due to the shift table.
32178
45db99c7
UD
321792010-10-03 Ulrich Drepper <drepper@gmail.com>
32180
3b111893
UD
32181 [BZ #12005]
32182 * malloc/mcheck.c: Handle large requests.
32183
45db99c7
UD
32184 [BZ #12077]
32185 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32186 for strncmp and strncasecmp.
32187 * string/stratcliff.c: Add tests for strcmp and strncmp.
32188 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32189
cf7a1eb8
NI
321902010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32191
32192 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32193 __set_fpscr.
32194
6484ba5e
AJ
321952010-09-30 Andreas Jaeger <aj@suse.de>
32196
32197 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32198 (CGROUP_SUPER_MAGIC): Define.
32199 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32200 Handle btrfs and cgroup file systems.
32201 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32202 Likewise.
32203
91c42559
LM
322042010-09-27 Luis Machado <luisgpm@br.ibm.com>
32205
32206 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32207 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32208
87a97932
AK
322092010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32210
32211 [BZ #12067]
32212 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32213 trying to locate the ELF header.
32214
c21cc9bc
AS
322152010-09-27 Andreas Schwab <schwab@redhat.com>
32216
32217 [BZ #11611]
32218 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32219 Mask out sign-bit copies when constructing f_fsid.
32220
315970f6
PB
322212010-09-24 Petr Baudis <pasky@suse.cz>
32222
32223 * debug/stack_chk_fail_local.c: Add missing licence exception.
32224 * debug/warning-nop.c: Likewise.
32225
1ac7a2c7
JM
322262010-09-15 Joseph Myers <joseph@codesourcery.com>
32227
32228 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32229 implementing getdents64 using getdents syscall, set d_type if
32230 __ASSUME_GETDENTS32_D_TYPE.
32231
56801c50
AS
322322010-09-16 Andreas Schwab <schwab@redhat.com>
32233
32234 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32235 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32236
dda51327
UD
322372010-09-21 Ulrich Drepper <drepper@redhat.com>
32238
32239 [BZ #12037]
32240 * posix/unistd.h: Undo change of feature selection for ftruncate from
32241 2010-01-11.
32242
8ffcee4a
UD
322432010-09-20 Ulrich Drepper <drepper@redhat.com>
32244
a545ecd9 32245 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32246 detection.
32247
e24f0a8b
AS
322482010-09-20 Andreas Schwab <schwab@redhat.com>
32249
32250 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32251 fanotify_mark.
32252 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32253
7291c56f
AS
322542010-09-14 Andreas Schwab <schwab@redhat.com>
32255
32256 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32257 variables after CHECK_SP call.
32258 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32259
bc5fb037
AS
322602010-09-13 Andreas Schwab <schwab@redhat.com>
32261 Ulrich Drepper <drepper@redhat.com>
32262
32263 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32264 re-relocationg ld.so.
32265 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32266 _dl_init_paths call.
32267 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32268 here anymore.
32269
e66e7419
UD
322702010-09-14 Ulrich Drepper <drepper@redhat.com>
32271
32272 * resolv/res_init.c (__res_vinit): Count the default server we added.
32273
c044aa75
CLT
322742010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32275 Ulrich Drepper <drepper@redhat.com>
32276
32277 [BZ #11968]
32278 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32279 (____longjmp_chk): Use %ebx for saving value across system call.
32280 Add unwind info.
32281
32cf4069
AS
322822010-09-06 Andreas Schwab <schwab@redhat.com>
32283
32284 * manual/Makefile: Don't mix pattern rules with normal rules.
32285
817328ee
AS
322862010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32287
32288 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32289 operation.
32290 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32291 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32292 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32293 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32294 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32295 Likewise.
32296
29fddf61
UD
322972010-09-04 Ulrich Drepper <drepper@redhat.com>
32298
32299 [BZ #11979]
32300 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32301 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32302
0959ffc9
UD
323032010-09-02 Ulrich Drepper <drepper@redhat.com>
32304
32305 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32306 * sysdeps/x86_64/addmul_1.S: Likewise.
32307 * sysdeps/x86_64/lshift.S: Likewise.
32308 * sysdeps/x86_64/mul_1.S: Likewise.
32309 * sysdeps/x86_64/rshift.S: Likewise.
32310 * sysdeps/x86_64/sub_n.S: Likewise.
32311 * sysdeps/x86_64/submul_1.S: Likewise.
32312
ece29840
ST
323132010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32314
0959ffc9
UD
32315 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32316 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32317 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32318 * bits/sched.h [__need_schedparam]
ece29840 32319 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32320 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32321 (__defined_schedparam): Define to 1.
ece29840
ST
32322 (__sched_param): New structure, identical to sched_param.
32323 (__need_schedparam): Undefine.
32324
e53a31fe
MF
323252010-08-31 Mike Frysinger <vapier@gentoo.org>
32326
fdc0c10d
MF
32327 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32328 (epoll_create1): Declare.
32329
e53a31fe
MF
32330 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32331
a726d796
AS
323322010-08-31 Andreas Schwab <schwab@redhat.com>
32333
32334 [BZ #7066]
32335 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32336 shifting retval into place.
32337
2f3e3dc7
UD
323382010-09-01 Ulrich Drepper <drepper@redhat.com>
32339
f2933da9
UD
32340 * nis/rpcsvc/nis.h: Update copyright notice.
32341 * nis/rpcsvc/nis.x: Likewise.
32342 * nis/rpcsvc/nis_callback.h: Likewise.
32343 * nis/rpcsvc/nis_callback.x: Likewise.
32344 * nis/rpcsvc/nis_object.x: Likewise.
32345 * nis/rpcsvc/nis_tags.h: Likewise.
32346 * nis/rpcsvc/yp.h: Likewise.
32347 * nis/rpcsvc/yp.x: Likewise.
32348 * nis/rpcsvc/ypupd.h: Likewise.
32349 * nis/yp_xdr.c: Likewise.
32350 * nis/ypupdate_xdr.c: Likewise.
32351
2f3e3dc7
UD
32352 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32353 mainly the body of pmap_getport. Add parameters to specify timeouts.
32354 (pmap_getport): Use __libc_rpc_getport.
32355 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32356 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32357 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32358
f3dcc2f9
AS
323592010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32360
32361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32362 fanotify_mark.
32363
6d34eb5b
RM
323642010-08-27 Roland McGrath <roland@redhat.com>
32365
32366 * sysdeps/i386/i686/multiarch/Makefile
32367 (CFLAGS-varshift.c): New variable.
32368
9ea3de11
UD
323692010-08-27 Ulrich Drepper <drepper@redhat.com>
32370
c96d23fc
UD
32371 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32372 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32373
9ea3de11
UD
32374 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32375
32376 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32377
623aac7f
L
323782010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32379
32380 * sysdeps/x86_64/strlen.S: Unroll the loop.
32381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32382 strlen-sse2 strlen-sse2-bsf.
32383 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32384 __strlen_no_bsf if bit_Slow_BSF is set.
32385 (__strlen_sse42): Removed.
32386 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32387 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32388
8b2b7715
RM
323892010-08-25 Roland McGrath <roland@redhat.com>
32390
32391 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32392 * sysdeps/x86_64/multiarch/varshift.c: New file.
32393 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32394 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32395 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32396 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32397
e73015f2
L
323982010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32399
32400 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32401 strlen-sse2 strlen-sse2-bsf.
32402 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32403 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32404 (__strlen_sse2): Removed.
32405 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32406 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32408 bit_Slow_BSF for Atom.
32409 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32410 (index_Slow_BSF): Define.
32411 (HAS_SLOW_BSF): Define.
32412
df24a73e
UD
324132010-08-25 Ulrich Drepper <drepper@redhat.com>
32414
32415 [BZ #10851]
32416 * resolv/res_init.c (__res_vinit): When no server address at all
32417 is given default to loopback.
32418
f2ac4868
RM
324192010-08-24 Roland McGrath <roland@redhat.com>
32420
09055553
RM
32421 * configure.in: Remove config-name.h generation.
32422 * configure: Regenerated.
32423 * config-name.in: File removed.
32424 * scripts/config-uname.sh: New file.
32425 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32426 ($(objdir)config-name.h): New target.
32427
f2ac4868
RM
32428 * sunrpc/rpc_parse.h: Avoid nested comment.
32429
73f27d5e
RH
324302010-08-24 Richard Henderson <rth@redhat.com>
32431 Ulrich Drepper <drepper@redhat.com>
32432 H.J. Lu <hongjiu.lu@intel.com>
32433
32434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32436 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32437 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32438 _mm_alignr_epi8 with _mm_loadu_si128.
32439 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32440 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32441 (__m128i_shift_right): Removed.
32442 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32443 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32444 * sysdeps/x86_64/multiarch/varshift.h: New file.
32445 * sysdeps/x86_64/multiarch/varshift.S: New file.
32446
84b9230c
MF
324472010-08-21 Mike Frysinger <vapier@gentoo.org>
32448
32449 * configure.in: Move assembler checks to before sysdep dir checking.
32450
9bbd0ddc
PB
324512010-08-20 Petr Baudis <pasky@suse.cz>
32452
32453 * LICENSES: Sync the sunrpc license.
32454
9da4bb31
UD
324552010-08-19 Ulrich Drepper <drepper@redhat.com>
32456
a7ab6ec8
UD
32457 * sunrpc/auth_des.c: Update copyright notice once again.
32458 * sunrpc/auth_none.c: Likewise.
32459 * sunrpc/auth_unix.c: Likewise.
32460 * sunrpc/authdes_prot.c: Likewise.
32461 * sunrpc/authuxprot.c: Likewise.
32462 * sunrpc/bindrsvprt.c: Likewise.
32463 * sunrpc/clnt_gen.c: Likewise.
32464 * sunrpc/clnt_perr.c: Likewise.
32465 * sunrpc/clnt_raw.c: Likewise.
32466 * sunrpc/clnt_simp.c: Likewise.
32467 * sunrpc/clnt_tcp.c: Likewise.
32468 * sunrpc/clnt_udp.c: Likewise.
32469 * sunrpc/clnt_unix.c: Likewise.
32470 * sunrpc/des_crypt.c: Likewise.
32471 * sunrpc/des_soft.c: Likewise.
32472 * sunrpc/get_myaddr.c: Likewise.
32473 * sunrpc/getrpcport.c: Likewise.
32474 * sunrpc/key_call.c: Likewise.
32475 * sunrpc/key_prot.c: Likewise.
32476 * sunrpc/openchild.c: Likewise.
32477 * sunrpc/pm_getmaps.c: Likewise.
32478 * sunrpc/pm_getport.c: Likewise.
32479 * sunrpc/pmap_clnt.c: Likewise.
32480 * sunrpc/pmap_prot.c: Likewise.
32481 * sunrpc/pmap_prot2.c: Likewise.
32482 * sunrpc/pmap_rmt.c: Likewise.
32483 * sunrpc/rpc/auth.h: Likewise.
32484 * sunrpc/rpc/auth_unix.h: Likewise.
32485 * sunrpc/rpc/clnt.h: Likewise.
32486 * sunrpc/rpc/des_crypt.h: Likewise.
32487 * sunrpc/rpc/key_prot.h: Likewise.
32488 * sunrpc/rpc/netdb.h: Likewise.
32489 * sunrpc/rpc/pmap_clnt.h: Likewise.
32490 * sunrpc/rpc/pmap_prot.h: Likewise.
32491 * sunrpc/rpc/pmap_rmt.h: Likewise.
32492 * sunrpc/rpc/rpc.h: Likewise.
32493 * sunrpc/rpc/rpc_des.h: Likewise.
32494 * sunrpc/rpc/rpc_msg.h: Likewise.
32495 * sunrpc/rpc/svc.h: Likewise.
32496 * sunrpc/rpc/svc_auth.h: Likewise.
32497 * sunrpc/rpc/types.h: Likewise.
32498 * sunrpc/rpc/xdr.h: Likewise.
32499 * sunrpc/rpc_clntout.c: Likewise.
32500 * sunrpc/rpc_cmsg.c: Likewise.
32501 * sunrpc/rpc_common.c: Likewise.
32502 * sunrpc/rpc_cout.c: Likewise.
32503 * sunrpc/rpc_dtable.c: Likewise.
32504 * sunrpc/rpc_hout.c: Likewise.
32505 * sunrpc/rpc_main.c: Likewise.
32506 * sunrpc/rpc_parse.c: Likewise.
32507 * sunrpc/rpc_parse.h: Likewise.
32508 * sunrpc/rpc_prot.c: Likewise.
32509 * sunrpc/rpc_sample.c: Likewise.
32510 * sunrpc/rpc_scan.c: Likewise.
32511 * sunrpc/rpc_scan.h: Likewise.
32512 * sunrpc/rpc_svcout.c: Likewise.
32513 * sunrpc/rpc_tblout.c: Likewise.
32514 * sunrpc/rpc_util.c: Likewise.
32515 * sunrpc/rpc_util.h: Likewise.
32516 * sunrpc/rpcinfo.c: Likewise.
32517 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32518 * sunrpc/rpcsvc/key_prot.x: Likewise.
32519 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32520 * sunrpc/rpcsvc/mount.x: Likewise.
32521 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32522 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32523 * sunrpc/rpcsvc/rex.x: Likewise.
32524 * sunrpc/rpcsvc/rstat.x: Likewise.
32525 * sunrpc/rpcsvc/rusers.x: Likewise.
32526 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32527 * sunrpc/rpcsvc/spray.x: Likewise.
32528 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32529 * sunrpc/rtime.c: Likewise.
32530 * sunrpc/svc.c: Likewise.
32531 * sunrpc/svc_auth.c: Likewise.
32532 * sunrpc/svc_authux.c: Likewise.
32533 * sunrpc/svc_raw.c: Likewise.
32534 * sunrpc/svc_run.c: Likewise.
32535 * sunrpc/svc_simple.c: Likewise.
32536 * sunrpc/svc_tcp.c: Likewise.
32537 * sunrpc/svc_udp.c: Likewise.
32538 * sunrpc/svc_unix.c: Likewise.
32539 * sunrpc/svcauth_des.c: Likewise.
32540 * sunrpc/xcrypt.c: Likewise.
32541 * sunrpc/xdr.c: Likewise.
32542 * sunrpc/xdr_array.c: Likewise.
32543 * sunrpc/xdr_float.c: Likewise.
32544 * sunrpc/xdr_mem.c: Likewise.
32545 * sunrpc/xdr_rec.c: Likewise.
32546 * sunrpc/xdr_ref.c: Likewise.
32547 * sunrpc/xdr_sizeof.c: Likewise.
32548 * sunrpc/xdr_stdio.c: Likewise.
32549
9da4bb31
UD
32550 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32551 handling.
32552
bdaa77bc
AS
325532010-08-19 Andreas Schwab <schwab@redhat.com>
32554
32555 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32556
fe2f79db
LM
325572010-08-19 Luis Machado <luisgpm@br.ibm.com>
32558
32559 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32560 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32561 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32562 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32563 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32564 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32565 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32566 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32567 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32568 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32569 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32570 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32571 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32572 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32573
b9b42ee0
AB
325742010-07-26 Anton Blanchard <anton@samba.org>
32575
32576 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32577 * malloc/arena.c (heap_trim): Likewise.
32578
1c06ba31
UD
325792010-08-16 Ulrich Drepper <drepper@redhat.com>
32580
32581 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32582 here. Not...
32583 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32584 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32585
f8392f40
L
325862010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32587
32588 * sysdeps/i386/elf/Makefile: New file.
32589
3162f12e
AS
325902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32591
32592 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32593 from fanotify_init.
32594 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32595 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32596
28c90b2c
UD
325972010-08-15 Ulrich Drepper <drepper@redhat.com>
32598
32599 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32600 of strncasecmp_l.
1feccb6c 32601 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32602
ca6bb004
UD
326032010-08-14 Ulrich Drepper <drepper@redhat.com>
32604
e9f82e0d
UD
32605 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32606 strncase_l-nonascii.
32607 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32608 Add strncase_l-ssse3.
32609 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32610 * sysdeps/x86_64/strcmp.S: Likewise.
32611 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32612 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32613 * sysdeps/x86_64/strncase.S: New file.
32614 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32615 * sysdeps/x86_64/strncase_l.S: New file.
32616 * string/Makefile (strop-tests): Add strncasecmp.
32617 * string/test-strncasecmp.c: New file.
32618
32619 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32620 warning.
32621
ca6bb004
UD
32622 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32623 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32624
052fa7b3
AS
326252010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32626
32627 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32628
962dba78
UD
326292010-08-12 Ulrich Drepper <drepper@redhat.com>
32630
32631 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32632 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32633 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32634
bebff237
AM
326352010-05-01 Alan Modra <amodra@gmail.com>
32636
32637 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32638 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32639 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32640 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32641 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32642 tidying. Don't tail-call __sigjmp_save for static lib.
32643 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32644 save location.
32645 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32646 (CALL_MCOUNT): Add eh info, and nop after bl.
32647 (TAIL_CALL_SYSCALL_ERROR): New macro.
32648 (PSEUDO_RET): Use it.
32649 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32650 Correct save location of integer regs and cr.
32651 (_dl_profile_resolve): Correct cr save location. Delete nops
32652 after bl when SHARED. Reduce cfi size a little by better
32653 placement of cfi directives.
32654 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32655 make a stack frame. Instead use parm save area as a temp.
32656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32657 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32659 Don't make a stack frame for parent, use parm save area.
32660 Increase child stack frame to 112 bytes. Don't save unused reg,
32661 and adjust reg usage. Set up cfi on error recovery and
32662 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32664 (__makecontext): Add dummy nop after jump to exit.
32665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32666 Use correct parm save area and cr save, reduce stack frame.
32667 Correct cfi for possible PSEUDO_RET frame setup.
32668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32669 Branch to local label emitted by PSEUDO_RET rather than
32670 __syscall_error.
32671
02637374
AS
326722010-08-12 Andreas Schwab <schwab@redhat.com>
32673
32674 [BZ #11904]
32675 * locale/programs/locale.c (print_assignment): New function.
32676 (show_locale_vars): Use it.
32677
c3e2f19b
UD
326782010-08-11 Ulrich Drepper <drepper@redhat.com>
32679
3cdaa6ad
UD
32680 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32681 field.
32682 (struct statfs64): Likewise.
32683 (_STATFS_F_FLAGS): Define.
32684 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32685 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32686 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32687 (ST_VALID): Define locally.
32688 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32689 __statvfs_getflags, use the provided value.
32690 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32691 __ASSUME_STATFS_F_FLAGS.
32692
754f7da3
UD
32693 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32694
10b3bedc
UD
32695 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32696 Add sys/fanotify.h.
32697 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32698 fanotify_mask for GLIBC_2.13.
32699 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32700 fanotify_init and fanotify_mark.
32701 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32702 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32703
c08fb0d7
UD
32704 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32705 Add prlimit.
32706 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32707 prlimit64 for GLIBC_2.13.
32708 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32709 prlimit64.
32710 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32711 syscall.
32712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32713 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32714 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32715 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32716 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32717 add prlimit alias.
32718 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32719
15bac72b
UD
32720 [BZ #11903]
32721 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32722 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32723
c3e2f19b
UD
32724 * nss/Makefile: Add rules to build and run tst-nss-test1.
32725 * shlib-versions: Add entry for libnss_test1.
32726 * nss/nss_test1.c: New file.
32727 * nss/tst-nss-test1.c: New file.
32728
32729 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32730 (__nss_configure_lookup): Set appropriate entry in
32731 __nss_configure_lookup to true.
32732 * nss/nsswitch.h: Define enum with indeces of databases in
32733 databases and __nss_database_custom arrays. Declare
32734 __nss_database_custom.
32735 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32736 to avoid using nscd when custom rules are installed.
32737 * nss/getXXbyYY_r.c: Likewise.
32738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32739
32740 * nss/nss_files/files-parse.c: Whitespace fixes.
32741
f15ce4d8
UD
327422010-08-09 Ulrich Drepper <drepper@redhat.com>
32743
32744 [BZ #11883]
32745 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32746 * posix/fnmatch_loop.c: Likewise.
32747
d22e4cc9
AK
327482010-07-17 Andi Kleen <ak@linux.intel.com>
32749
32750 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32751 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32752 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32753 * Versions.def [GLIBC_2.13]: Add.
32754
805bc17d
UD
327552010-08-06 Ulrich Drepper <drepper@redhat.com>
32756
32757 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32758 Also fail if tpwd after pwuid call is NULL.
32759
5a42321d
ST
327602010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32761
32762 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32763 when converting to ms.
32764
fd3ebeda
ST
327652010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32766
32767 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32768 EOPNOTSUPP errors with ENOTTY.
32769 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32770 EOPNOTSUPP errors with ENOTTY.
32771
73507d3a
UD
327722010-07-31 Ulrich Drepper <drepper@redhat.com>
32773
32774 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32775 Add strcasecmp_l-ssse3.
32776 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32777 strcasecmp.
32778 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32779 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32780 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32781
fe36dd02
UD
327822010-07-30 Ulrich Drepper <drepper@redhat.com>
32783
66f6765a
UD
32784 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32785
42e08a54
UD
32786 * string/Makefile (strop-tests): Add strcasecmp.
32787 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32788 strcasecmp_l-nonascii.
32789 (gen-as-const-headers): Add locale-defines.sym.
32790 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32791 * sysdeps/x86_64/strcasecmp.S: New file.
32792 * sysdeps/x86_64/strcasecmp_l.S: New file.
32793 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32794 * sysdeps/x86_64/locale-defines.sym: New file.
32795 * string/test-strcasecmp.c: New file.
32796
fe36dd02
UD
32797 * string/test-strcasestr.c: Test both ends of the range of characters.
32798 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32799
48cbc0d6
RM
328002010-07-29 Roland McGrath <roland@redhat.com>
32801
76e6d6bc 32802 [BZ #11856]
48cbc0d6
RM
32803 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32804
880113d9
UD
328052010-07-27 Ulrich Drepper <drepper@redhat.com>
32806
32807 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32808 for ld.so.
32809
deb9cabb
AS
328102010-07-27 Andreas Schwab <schwab@redhat.com>
32811
32812 * manual/memory.texi (Malloc Tunable Parameters): Document
32813 M_PERTURB.
32814
1c7570ff
RM
328152010-07-26 Roland McGrath <roland@redhat.com>
32816
32817 [BZ #11840]
32818 * configure.in (-fgnu89-inline check): Set and substitute
32819 gnu89_inline, not libc_cv_gnu89_inline.
32820 * configure: Regenerated.
32821 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32822
24fb0f88
UD
328232010-07-26 Ulrich Drepper <drepper@redhat.com>
32824
32825 * string/test-strnlen.c: New file.
32826 * string/Makefile (strop-tests): Add strnlen.
32827 * string/tester.c (test_strnlen): Add a few more test cases.
32828 * string/tst-strlen.c: Better error reporting.
32829
32830 * sysdeps/x86_64/strnlen.S: New file.
32831
8e96b93a
UD
328322010-07-24 Ulrich Drepper <drepper@redhat.com>
32833
32834 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32835 lower-latency instructions.
32836
dbc676d4
UD
328372010-07-23 Ulrich Drepper <drepper@redhat.com>
32838
32839 * string/test-strcasestr.c: New file.
32840 * string/test-strstr.c: New file.
32841 * string/Makefile (strop-tests): Add strstr and strcasestr.
32842 * string/str-two-way.h: Don't undefine MAX.
32843 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32844
f6a31e0e
AS
328452010-07-21 Andreas Schwab <schwab@redhat.com>
32846
32847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32848 strcasestr-nonascii.
32849 (CFLAGS-strcasestr-nonascii.c): Define.
32850 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32851 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32852 Remove unused attribute.
32853
5dbc3b6c
RM
328542010-07-20 Roland McGrath <roland@redhat.com>
32855
32856 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32857 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32858 ld.so.cache was broken. With it, there is no way to disable dsocaps
32859 like LD_HWCAP_MASK can disable hwcaps.
32860
23d101d8
EPM
328612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32862
32863 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32864
cc9f2e47
UD
328652010-07-16 Ulrich Drepper <drepper@redhat.com>
32866
32867 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32868 call in strcasestr.
32869 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32870 __strcasestr_sse42_nonascii.
32871 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32872 strcasestr-nonascii.c.
32873 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32874
77c1b069
LM
328752010-06-15 Luis Machado <luisgpm@br.ibm.com>
32876
32877 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32878 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32879 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32880 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32881
440566c3
UD
328822010-07-09 Ulrich Drepper <drepper@redhat.com>
32883
32884 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32885 fcntl.
32886
5be9d05d
AS
328872010-07-06 Andreas Schwab <schwab@redhat.com>
32888
c30b7ee2 32889 [BZ #11577]
5be9d05d
AS
32890 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32891 dl_signal_cerror.
32892
8a492a67
UD
328932010-07-06 Ulrich Drepper <drepper@redhat.com>
32894
32895 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32896 _PC_PIPE_BUF using F_GETPIPE_SZ.
32897
713df3d5
RM
328982010-07-05 Roland McGrath <roland@redhat.com>
32899
32900 * manual/arith.texi (Rounding Functions): Fix rint description
32901 implicit in round description.
32902
702e8f14
UD
329032010-07-02 Ulrich Drepper <drepper@redhat.com>
32904
32905 * elf/Makefile: Fix linking for a few tests to make recent linker
32906 happy.
32907
52ed8be9
AS
329082010-06-30 Andreas Schwab <schwab@redhat.com>
32909
32910 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32911 $(common-objpfx)libc_nonshared.a.
32912
f47c9a11
LM
329132010-06-21 Luis Machado <luisgpm@br.ibm.com>
32914
32915 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32916 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32917 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32918 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32919 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32920 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32921 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32922 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32937 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32938 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32939 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32940 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32941 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32942 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32943 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32944 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32945 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32946 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32947 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32948 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32963
6fb8cbcb
L
329642010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32965
32966 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32967 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32968 * string/memmove.c (memmove): Renamed to ...
32969 (MEMMOVE): ...this. Default to memmove.
32970 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32971 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32972 (END_CHK): Define.
32973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32974 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32975 mempcpy-ssse3-back memmove-ssse3-back.
32976 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32977 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32978 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32979 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32980 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32981 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32982 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32983 * sysdeps/x86_64/multiarch/memmove.c: New file.
32984 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32985 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32986 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32987 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32988 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32989 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32990 Define.
32991 (index_Fast_Copy_Backward): Define.
32992 (HAS_ARCH_FEATURE): Define.
32993 (HAS_FAST_REP_STRING): Define.
32994 (HAS_FAST_COPY_BACKWARD): Define.
32995
4e733bac 329962010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32997
32998 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32999 Restore proper fallback handling.
33000
63c4ed22
UD
330012010-06-19 Ulrich Drepper <drepper@redhat.com>
33002
ac2b484c
UD
33003 [BZ #11701]
33004 * posix/group_member.c (__group_member): Correct checking loop.
33005
63c4ed22
UD
33006 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33007 OOM in getpwuid_r correctly. Return error number when the caller
33008 should return, otherwise -1.
33009 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33010 call returning > 0 value.
33011 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33012
765ade4b
AS
330132010-06-07 Andreas Schwab <schwab@redhat.com>
33014
33015 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33016 libc_nonshared.a from targets in modules-names.
33017
80da2e09
KS
330182010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33019
33020 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33021 requires it.
33022
158db122
LM
330232010-06-10 Luis Machado <luisgpm@br.ibm.com>
33024
33025 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33026 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33027 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33028 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33029
caa78cf8
AS
330302010-06-02 Andreas Schwab <schwab@redhat.com>
33031
33032 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33033
b2ef2c01
UD
330342010-06-14 Ulrich Drepper <drepper@redhat.com>
33035
33036 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33037 and F_GETPIPE_SZ.
33038 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33039 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33040 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33042 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33043 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33044
fbd643b6
RM
330452010-06-14 Roland McGrath <roland@redhat.com>
33046
33047 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33048
f32f2869
JJ
330492010-06-07 Jakub Jelinek <jakub@redhat.com>
33050
33051 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33052 __REDIRECT followed by __THROW.
33053 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33054 * posix/getopt.h (getopt): Likewise.
33055
2a50c078
EPM
330562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33057
33058 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33059 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33060 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33061 in AT_FLAGS.
33062 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33063 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33064
eb5ad2eb
LM
330652010-05-28 Luis Machado <luisgpm@br.ibm.com>
33066
33067 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33068
3c88fe1e
L
330692010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33070
33071 [BZ #11640]
33072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33073 Properly check family and model.
33074
d2f73151
TY
330752010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33076
33077 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33078
ebd2e13d
LM
330792010-05-24 Luis Machado <luisgpm@br.ibm.com>
33080
33081 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33082
b32b8b45
UD
330832010-05-21 Ulrich Drepper <drepper@redhat.com>
33084
33085 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33086 symbol reference.
33087
9acbe24d
AS
330882010-05-19 Andreas Schwab <schwab@redhat.com>
33089
33090 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33091 symbol reference.
33092
f0ccf6ea
AS
330932010-05-21 Andreas Schwab <schwab@redhat.com>
33094
3d04ff3a
AS
33095 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33096 and internal_recvmmsg.
33097 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33098 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33099 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33100 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33101
f0ccf6ea
AS
33102 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33103 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33104 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33105
5b08ac57
AS
331062010-05-20 Andreas Schwab <schwab@redhat.com>
33107
33108 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33109
4828935d
LM
331102010-05-17 Luis Machado <luisgpm@br.ibm.com>
33111
33112 POWER7 optimizations.
33113 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33114 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33115
373d545e
UD
331162010-05-19 Ulrich Drepper <drepper@redhat.com>
33117
33118 * version.h: Update for 2.13 development version.
33119
21a2b1ae
AS
331202010-05-12 Andrew Stubbs <ams@codesourcery.com>
33121
33122 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33123 exceptions. Return 0.
33124
3f7dcb2b
RM
331252010-05-07 Roland McGrath <roland@redhat.com>
33126
33127 * elf/ldconfig.c (main): Add a const.
33128
5f24d53a 331292010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33130
a160f8d8
UD
33131 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33132 (args_options): Add no-idn option.
33133 (ahosts_keys_int): Add idn_flags to ai_flags.
33134 (parse_option): Handle 'i' option to clear idn_flags.
33135
5f24d53a
UD
33136 * malloc/malloc.c (_int_free): Possible race in the most recently
33137 added check. Only act on the data if no current modification
33138 happened.
265bb1ce
UD
33139
33140See ChangeLog.17 for earlier changes.
This page took 4.005385 seconds and 5 git commands to generate.