]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
BZ #15754: Fix test case for ARM.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c61b4d41
CD
12013-09-23 Carlos O'Donell <carlos@redhat.com>
2
0b1f8e35
CD
3 [BZ #15754]
4 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7
c61b4d41
CD
8 [BZ #15754]
9 * elf/Makefile (tests): Add tst-ptrguard1.
10 (tests-static): Add tst-ptrguard1-static.
11 (tst-ptrguard1-ARGS): Define.
12 (tst-ptrguard1-static-ARGS): Define.
13 * elf/tst-ptrguard1.c: New file.
14 * elf/tst-ptrguard1-static.c: New file.
15 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16 * sysdeps/i386/stackguard-macros.h: Likewise.
17 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23
242013-09-23 Hector Marco <hecmargi@upv.es>
25 Ismael Ripoll <iripoll@disca.upv.es>
26 Carlos O'Donell <carlos@redhat.com>
27
28 [BZ #15754]
29 * sysdeps/generic/stackguard-macros.h: Define
30 __pointer_chk_guard_local and POINTER_CHK_GUARD.
31 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32 Define __pointer_chk_guard_local.
33 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
34 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
35
f5f4e7b4
VV
362013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
37
38 [BZ #15859]
39 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40
5bb43a43
AS
412013-09-20 Andreas Schwab <schwab@linux-m68k.org>
42
43 * include/string.h (__ffs): Declare as hidden.
44 * string/ffs.c (__ffs): Define as hidden.
45 * sysdeps/i386/ffs.c (__ffs): Likewise.
46 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48 * sysdeps/s390/ffs.c (__ffs): Likewise.
49 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50
3ea5be54
AO
512013-09-20 Alexandre Oliva <aoliva@redhat.com>
52
ffb89e53
AO
53 * NEWS: Mention malloc probes.
54
322dea08
AO
55 * malloc/arena.c (new_heap): New memory_heap_new probe.
56 (grow_heap): New memory_heap_more probe.
57 (shrink_heap): New memory_heap_less probe.
58 (heap_trim): New memory_heap_free probe.
59 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
60 (systrim): New memory_sbrk_less probe.
61 * manual/probes.texi: Document them.
62
655673f3
AO
63 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
64 * manual/probes.texi: Document it.
65
35fed6f1
AO
66 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
67 (__libc_realloc): Add memory_realloc_retry probe.
68 (__libc_memalign): Add memory_memalign_retry probe.
69 (__libc_valloc): Add memory_valloc_retry probe.
70 (__libc_pvalloc): Add memory_pvalloc_retry probe.
71 (__libc_calloc): Add memory_calloc_retry probe.
72 * manual/probes.texi: Document them.
73
6999d38c
AO
74 * malloc/arena.c (get_free_list): Add probe
75 memory_arena_reuse_free_list.
76 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
77 and memory_arena_reuse.
78 (arena_get2) [!PER_THREAD]: Likewise.
79 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
80 memory_arena_reuse_realloc.
81 * manual/probes.texi: Document them.
82
0653427f
AO
83 * malloc/malloc.c (__libc_free): Add
84 memory_mallopt_free_dyn_thresholds probe.
85 (__libc_mallopt): Add multiple memory_mallopt probes.
86 * manual/probes.texi: Document them.
87
3ea5be54
AO
88 * malloc/malloc.c: Include stap-probe.h.
89 (__libc_mallopt): Add memory_mallopt probe.
90 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
91 * manual/probes.texi: New.
92 * manual/Makefile (chapters): Add probes.
93 * manual/threads.texi: Set next node.
94
e35696c3 952013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 96
e35696c3
CL
97 [BZ #15963, #13985]
98 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
99 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
100 Add `Chinese' to `nan' entry name.
101
4aafb73c
SP
1022013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
103
104 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
105 (POLYNOMIAL): Likewise.
106 (TAYLOR_SINCOS): Likewise.
107 (TAYLOR_SLOW): Likewise.
108 (__sin): Use TAYLOR_SINCOS.
109 (__cos): Likewise.
110 (slow): Use TAYLOR_SLOW.
111 (sloww): Likewise.
112 (bsloww): Likewise.
113 (csloww): Likewise.
114
d84f25c7
LD
1152013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
116
117 * stdlib/strtod_l.c: Fix buffer overrun.
118
5eea0404
SP
1192013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
120
7849ff93
SP
121 * benchtests/Makefile (bench): Add sincos.
122 * benchtests/bench-sincos.c: New file.
123
cfa3c886
SP
124 * math/libm-test.inc (cos_test_data): New test inputs.
125 (sin_test_data): Likewise.
126
b348e1e3
SP
127 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
128 macro.
129 (__sin): Use it.
130 (__cos): Likewise.
131 (slow1): Likewise.
132 (slow2): Likewise.
133 (sloww1): Likewise.
134 (sloww2): Likewise.
135 (bsloww1): Likewise.
136 (bsloww2): Likewise.
137 (cslow2): Likewise.
138 (csloww1): Likewise.
139 (csloww2): Likewise.
140
6cce25f8
SP
141 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
142 function.
143 (__sin): Use it.
144 (__cos): Likewise.
145
5eea0404
SP
146 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
147 gotos.
148 (__cos): Likewise.
149
9c21573c
MR
1502013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
151
152 * config.h.in (HAVE_MIPS_NAN2008): New macro.
153 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
154 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
155 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
156 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
157 * elf/cache.c (print_entry): Handle the new cache flags.
158
24d22e65
JM
1592013-09-18 Joseph Myers <joseph@codesourcery.com>
160 Aldy Hernandez <aldyh@redhat.com>
161
162 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
163 Change condition to [_SOFT_FLOAT].
164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
176 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
179 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
180 declaration.
181
d13ef066
JM
1822013-09-18 Joseph Myers <joseph@codesourcery.com>
183
2e071de0
JM
184 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
185 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
186 (__longjmp): Use LOAD_GP to load saved GPRs.
187 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
188 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
189 (__sigsetjmp): Use SAVE_GP to save GPRs.
190
d13ef066
JM
191 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
192 Do not append -msoft-float.
193 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
194
97a0650b
SP
1952013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
196
197 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
198
11ca09e9
JM
1992013-09-17 Joseph Myers <joseph@codesourcery.com>
200
201 [BZ #15966]
202 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
203 (_FPU_GETCW): Use initial "__" on variable and field names but not
204 on macro parameter name.
205 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
206 parentheses around reference to macro parameter.
207
08ffcf34
RS
2082013-09-13 Richard Sandiford <richard@codesourcery.com>
209
210 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
211 prototype.
212 (ctype_startup): Use uint32_t in cast and sizeof for
213 ctype->charnames.
214
ae7080d3
JL
2152013-09-11 Jia Liu <proljc@gmail.com>
216
217 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
218 __daddr_t_defined.
219 [__FreeBSD__]: Likewise.
220
5905e7b3
OB
2212013-09-11 Ondřej Bílka <neleai@seznam.cz>
222
223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
224 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
225 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
226 (strchr): Remove __strchr_sse42 ifunc selection.
227 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
228 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
229
b987c776
WN
2302013-09-11 Will Newton <will.newton@linaro.org>
231
232 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
233 parameter to RES. Remove hardcoded 1000 value.
234 * benchtests/bench-skeleton.c (main): Pass RES parameter
235 to TIMING_INIT and multiply result by 1000.
236
ddf985af
AZ
2372013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
238
239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
240
ffdd3181
AS
2412013-09-11 Andreas Schwab <schwab@suse.de>
242
243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
244 if not defined.
245 (O_TMPFILE) [__USE_GNU]: Define.
246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
247 Define.
248
b73ed247
WN
2492013-09-11 Will Newton <will.newton@linaro.org>
250
251 [BZ #15857]
252 * malloc/malloc.c (__libc_memalign): Check the value of bytes
253 does not overflow.
254
55e17aad
WN
2552013-09-11 Will Newton <will.newton@linaro.org>
256
257 [BZ #15856]
258 * malloc/malloc.c (__libc_valloc): Check the value of bytes
259 does not overflow.
260
1159a193
WN
2612013-09-11 Will Newton <will.newton@linaro.org>
262
263 [BZ #15855]
264 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
265 does not overflow.
266
5905e7b3 2672013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
268
269 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
270 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
271 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
272 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
273 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
274
cdfc721b
AM
2752013-09-10 Allan McRae <allan@archlinux.org>
276
aa04af00
AM
277 [BZ #15748]
278 * manual/arith.texi (Parsing of Floats): Clarify
279 cross-reference.
280
cdfc721b
AM
281 [BZ #15849]
282 * manual/install.texi (Running make install): Mention
283 --enable-pt-chown.
284 * INSTALL: Regenerated.
285
95e7cf29
MR
2862013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
287
288 * csu/init-first.c (_init): Remove the !SHARED condition around
289 FPU control word initialization.
290 * elf/dl-support.c (_dl_fpu_control): New variable.
291 (_dl_aux_init) <AT_FPUCW>: Initialize it.
292 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
293 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
294 * math/test-fpucw-static.c: New file.
295 * math/test-fpucw-ieee.c: New file.
296 * math/test-fpucw-ieee-static.c: New file.
297 * math/Makefile (tests): Add `test-fpucw-ieee' and
298 `$(tests-static)'.
299 (tests-static): New variable.
300 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
301 dependency to...
302 [($(build-shared),yes)]
303 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
304 ... this.
305 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
306 New dependency.
307
83e43bf0
AM
3082013-09-09 Allan McRae <allan@archlinux.org>
309
a9f5ce09
AM
310 [BZ #15939]
311 * manual/string.texi (Collation Functions): Fix typo in
312 strcoll example.
313 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
314
34829bc2
AM
315 [BZ #15893]
316 * stdlib/isomac.c (get_null_defines): Fix memory leak.
317
3932737d
AM
318 [BZ #15892]
319 * libio/memstream.c (open_memstream): Fix memory leak.
320 * libio/wmemstream.c (open_wmemstream): Likewise.
321
83e43bf0
AM
322 [BZ #15895]
323 * nscd/netgroupcache.c: Fix nesting of ifdefs.
324
0c66b8e9
WN
3252013-09-09 Will Newton <will.newton@linaro.org>
326
327 * malloc/Makefile: Add tst-realloc to tests.
328 * malloc/tst-realloc.c: New file.
329
f6b00fd1
AM
3302013-09-09 Allan McRae <allan@archlinux.org>
331
332 [BZ #15844]
333 * COPYING: Update from GNU website to fix FSF address.
334 * COPYING.LIB: Likewise.
335
eec55e16
DM
3362013-09-06 David S. Miller <davem@davemloft.net>
337
338 * po/zh_TW.po: Update Chinese (traditional) translation from
339 translation project.
340
1ecbb381
RS
3412013-09-06 Richard Sandiford <richard@codesourcery.com>
342 Joseph Myers <joseph@codesourcery.com>
343
344 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
345 "localeinfo.h".
346 (obstack_chunk_alloc): New macro.
347 (obstack_chunk_free): Likewise.
348 (record_offset): New function.
349 (init_locale_data): Likewise.
350 (align_locale_data): Likewise.
351 (add_locale_empty): Likewise.
352 (add_locale_raw_data): Likewise.
353 (add_locale_raw_obstack): Likewise.
354 (add_locale_string): Likewise.
355 (add_locale_wstring): Likewise.
356 (add_locale_uint32): Likewise.
357 (add_locale_uint32_array): Likewise.
358 (add_locale_char): Likewise.
359 (start_locale_structure): Likewise.
360 (end_locale_structure): Likewise.
361 (start_locale_prelude): Likewise.
362 (end_locale_prelude): Likewise.
363 (write_locale_data): Take locale_file structure rather than an
364 iovec.
365 * locale/programs/locfile.h: Include "obstack.h".
366 (struct locale_file): Change to store locale file contents instead
367 of header.
368 (init_locale_data): New prototype.
369 (align_locale_data): Likewise.
370 (add_locale_empty): Likewise.
371 (add_locale_raw_data): Likewise.
372 (add_locale_raw_obstack): Likewise.
373 (add_locale_string): Likewise.
374 (add_locale_wstring): Likewise.
375 (add_locale_uint32): Likewise.
376 (add_locale_uint32_array): Likewise.
377 (add_locale_char): Likewise.
378 (start_locale_structure): Likewise.
379 (end_locale_structure): Likewise.
380 (start_locale_prelude): Likewise.
381 (end_locale_prelude): Likewise.
382 (write_locale_data): Update prototype.
383 * locale/programs/3level.h (struct TABLE): Remove result field.
384 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
385 Use new locale_file interface.
386 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
387 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
388 * locale/programs/ld-address.c (address_output): Use new
389 locale_file interface.
390 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
391 NO_ADD_LOCALE.
392 (collate_finish): Don't call collseq_table_finalize.
393 (collate_output): Use new locale_file interface.
394 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
395 in file.
396 (NO_FINALIZE): Change to NO_ADD_LOCALE.
397 (TABLE): Move defines earlier in file.
398 (ELEMENT): Likewise.
399 (DEFAULT): Likewise.
400 (wctrans_table_add): Move macro and inline function earlier in
401 file.
402 (struct wctype_table): Move type earlier in file.
403 (add_locale_wctype_table): New static prototype.
404 (struct locale_ctype_t): Use logical types instead of struct iovec
405 pointers for members.
406 (ctype_output): Use new locale_file interface.
407 (wctype_table_finalize): Change to add_locale_wctype_table. Use
408 new locale_file interface.
409 (allocate_arrays): Update for use of new locale_file interface.
410 * locale/programs/ld-identification.c (identification_output): Use
411 new locale_file interface.
412 * locale/programs/ld-measurement.c (measurement_output): Likewise.
413 * locale/programs/ld-messages.c (messages_output): Likewise.
414 * locale/programs/ld-monetary.c (monetary_output): Likewise.
415 * locale/programs/ld-name.c (name_output): Likewise.
416 * locale/programs/ld-numeric.c (numeric_output): Likewise.
417 * locale/programs/ld-paper.c (paper_output): Likewise.
418 * locale/programs/ld-telephone.c (telephone_output): Likewise.
419 * locale/programs/ld-time.c (time_output): Likewise.
420
e029e2e5
AZ
4212013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
422
423 * benchtests/Makefile: Add memrchr benchmark.
424 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
425 benchmark as memrchr.
426 * benchtests/bench-memrchr-ifunc.c: New file.
427 * benchtests/bench-memrchr.c: New file.
428
bbf6e8e4
WN
4292013-09-06 Will Newton <will.newton@linaro.org>
430
431 * benchtests/Makefile (string-bench): Add memcpy.
432
6c82a2f8
CD
4332013-09-05 Carlos O'Donell <carlos@redhat.com>
434 Cong Wang <amwang@redhat.com>
435
436 * sysdeps/unix/sysv/linux/bits/in.h
437 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
438 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
439 before __USE_KERNEL_IPV6_DEFS uses.
440 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
441 IPPROTO_BEETPH.
442 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
443 sockaddr_in6, or ipv6_mreq.
444
5430fc65
AZ
4452013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
446
447 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
448 memory access for final bytes in some large inputs.
449 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
450
4660856c
AZ
4512013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
452
453 * string/test-memrchr.c: New file.
454 * string/test-memrchr-ifunc.c: New file.
455 * string/Makefile: Add new memrchr testcase.
456
bb8ea713
MF
4572013-09-05 Mike Frysinger <vapier@gentoo.org>
458
459 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
460 fanotify_init returns EPERM.
461
b92a20b5
JM
4622013-09-04 Joseph Myers <joseph@codesourcery.com>
463
464 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
465 errors.
466 (top level): Treat second token from macro or constant entries for
467 allowed headers as allowed.
468 * include/complex.h: Condition internal declarations on
469 [!_ISOMAC].
470 * include/fenv.h: Condition include of <stdbool.h> and internal
471 declarations on [!_ISOMAC].
7447ccd9
CL
472
4732013-09-04 Chris Leonard <cjl@sugarlabs,.org>
474
3e181dda 475 [BZ #15923]
7447ccd9
CL
476 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
477
3f2e46a4
JM
4782013-09-04 Joseph Myers <joseph@codesourcery.com>
479
480 * configure.in (--enable-versioning): Remove configure option.
481 (libc_cv_asm_symver_directive): Remove configure test.
482 (libc_cv_ld_version_script_option): Likewise.
483 (VERSIONING): Remove variable and AC_SUBST.
484 (DO_VERSIONING): Remove AC_DEFINE.
485 * configure: Regenerated.
486 * config.h.in (DO_VERSIONING): Remove macro.
487 * Makerules [$(versioning) = yes]: Change conditionals to
488 [$(build-shared) = yes].
489 * config.make.in (versioning): Remove variable.
490 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
491 [$(build-shared) = yes].
492 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
493 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
494 * elf/Makefile [$(versioning) = yes]: Change conditionals to
495 [$(build-shared) = yes].
496 * extra-lib.mk [$(versioning) = yes]: Likewise.
497 * hurd/Makefile [$(versioning) = yes]: Likewise.
498 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
499 [SHARED].
500 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
501 [SHARED].
502 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
503 [SHARED && !NO_HIDDEN].
504 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
505 [SHARED].
506 [SHARED && DO_VERSIONING]: Likewise..
507 * libio/Makefile [$(versioning) = yes]: Change conditionals to
508 [$(build-shared) = yes].
509 * manual/install.texi (--disable-versioning): Remove
510 documentation.
511 * INSTALL: Regenerated.
512 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
513 to [SHARED].
514 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
515 [$(build-shared) = yes].
516 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
517 * sysdeps/i386/i686/multiarch/strstr-c.c
518 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
519 [SHARED && !NO_HIDDEN].
520 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
521 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
522 * sysdeps/powerpc/powerpc32/dl-machine.c
523 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
524 * sysdeps/powerpc/powerpc32/sysdep.h
525 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
526 to [SHARED && PIC && !NO_HIDDEN].
527 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
528 conditional to [SHARED].
529
44558701
WN
5302013-09-04 Will Newton <will.newton@linaro.org>
531
532 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
533 * benchtests/bench-string.h: Include bench-timing.h instead
534 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
535 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
536 call to HP_TIMING_DIFF_INIT.
537 * benchtests/bench-memccpy.c: Use bench-timing.h macros
538 instead of hp-timing.h macros.
539 * benchtests/bench-memchr.c: Likewise.
540 * benchtests/bench-memcmp.c: Likewise.
541 * benchtests/bench-memcpy.c: Likewise.
542 * benchtests/bench-memmem.c: Likewise.
543 * benchtests/bench-memmove.c: Likewise.
544 * benchtests/bench-memset.c: Likewise.
545 * benchtests/bench-rawmemchr.c: Likewise.
546 * benchtests/bench-strcasecmp.c: Likewise.
547 * benchtests/bench-strcasestr.c: Likewise.
548 * benchtests/bench-strcat.c: Likewise.
549 * benchtests/bench-strchr.c: Likewise.
550 * benchtests/bench-strcmp.c: Likewise.
551 * benchtests/bench-strcpy.c: Likewise.
552 * benchtests/bench-strcpy_chk.c: Likewise.
553 * benchtests/bench-strlen.c: Likewise.
554 * benchtests/bench-strncasecmp.c: Likewise.
555 * benchtests/bench-strncat.c: Likewise.
556 * benchtests/bench-strncmp.c: Likewise.
557 * benchtests/bench-strncpy.c: Likewise.
558 * benchtests/bench-strnlen.c: Likewise.
559 * benchtests/bench-strpbrk.c: Likewise.
560 * benchtests/bench-strrchr.c: Likewise.
561 * benchtests/bench-strspn.c: Likewise.
562 * benchtests/bench-strstr.c: Likewise.
563
cae16d66
WN
5642013-09-04 Will Newton <will.newton@linaro.org>
565
566 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
567
ffa3cd7f
JM
5682013-09-03 Joseph Myers <joseph@codesourcery.com>
569
570 [BZ #15427]
571 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
572 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
573 * math/libm-test.inc (lgamma_test_data): Add more tests.
574 * sysdeps/i386/fpu/libm-test-ulps: Update.
575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
576
8f02859f
OB
5772013-09-03 Ondřej Bílka <neleai@seznam.cz>
578
579 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
581 Add ifunc.
582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
583 Add strcmp-sse2-unaligned
584 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
585
18d43716
MF
5862013-09-02 Mike Frysinger <vapier@gentoo.org>
587
588 * Versions.def (libc): Add GLIBC_2.19.
589
ac444012
MF
5902013-09-02 Mike Frysinger <vapier@gentoo.org>
591
592 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
593 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
594
b7835e32
JM
5952013-09-02 Joseph Myers <joseph@codesourcery.com>
596
597 [BZ #14155]
598 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
599 intermediate calculations in recurrence.
600 (__ieee754_ynf): Likewise.
601 * math/libm-test.inc (jn_test_data): Do not allow spurious
602 underflow exception. Add more tests.
603 (yn_test_data): Add more tests.
604 * sysdeps/i386/fpu/libm-test-ulps: Update.
605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
606
8220f4f0
OB
6072013-09-02 Ondřej Bílka <neleai@seznam.cz>
608
609 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
610
f24a6d08
OB
6112013-08-30 Ondřej Bílka <neleai@seznam.cz>
612
613 * csu/init-first.c: Fix then/than typos.
614 * locale/programs/ld-collate.c: Likewise.
615 * locale/programs/linereader.h: Likewise.
616 * manual/charset.texi: Likewise.
617 * manual/filesys.texi: Likewise.
618 * manual/stdio.texi: Likewise.
619 * manual/string.texi: Likewise.
620 * stdlib/fmtmsg.c: Likewise.
621 * sysdeps/i386/stpncpy.S: Likewise.
622 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
623 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
624 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
625 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
626
382466e0
OB
6272013-08-30 Ondřej Bílka <neleai@seznam.cz>
628
629 * elf/dl-open.c: Fix typos.
630 * iconvdata/gbbig5.c: Likewise.
631 * iconvdata/iso-2022-jp.c: Likewise.
632 * iconv/gconv_int.h: Likewise.
633 * iconv/loop.c: Likewise.
634 * nis/rpcsvc/nis.h: Likewise.
635 * resolv/ns_name.c: Likewise.
636 * stdio-common/vfscanf.c: Likewise.
637 * streams/stropts.h: Likewise.
638 * sunrpc/rpc_thread.c: Likewise.
639 * sysdeps/i386/strpbrk.S: Likewise.
640 * sysdeps/ieee754/k_standard.c: Likewise.
641 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
642 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
643 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
644 * sysdeps/mach/hurd/profil.c: Likewise.
645 * sysdeps/s390/dl-procinfo.h: Likewise.
646 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
647 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
648 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
649 * sysdeps/x86_64/dl-trampoline.S: Likewise.
650 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
651
0186c6e9
OB
6522013-08-30 Ondřej Bílka <neleai@seznam.cz>
653
654 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
655 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
656
d4e16af1
OB
6572013-08-29 Ondřej Bílka <neleai@seznam.cz>
658
659 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
660 aix specific files.
661 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
662 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
663 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
664 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
665 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
666 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
667 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
668 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
669
88335980
TS
6702013-08-29 Thomas Schwinge <thomas@codesourcery.com>
671 Roland McGrath <roland@hack.frob.com>
672
673 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
674 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
675
ed479b02
ST
6762013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
677
678 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
679 __executable_start symbol instead of _start.
680
f1cc4c86
TS
6812013-08-29 Thomas Schwinge <thomas@codesourcery.com>
682
d821f07c
TS
683 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
684 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
685 Move macros to...
686 * sysdeps/gnu/ldsodefs.h: ... this new file.
687
c54290cf
TS
688 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
689 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
690 instead of ELFOSABI_LINUX.
691
0007fc9b 692 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
693 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
694 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
695 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
696 Likewise.
697 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
698 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
699 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
700 Likewise.
701 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
702 (ibm_extended_long_double): Add ieee_nan member.
703 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
704 (do_test): New function.
705
f1cc4c86
TS
706 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
707 TEST_TRUNC.
708 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
709 functions, renamed from truncdfsf_test, trunctfsf_test,
710 trunctfdf_test.
711 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
712 functions.
713 (do_test): Run all these.
714
6f65e668
OB
7152013-08-29 Ondřej Bílka <neleai@seznam.cz>
716
717 * argp/argp-help.c: Fix typos.
718 * argp/argp-parse.c: Likewise.
719 * debug/backtracesyms.c: Likewise.
720 * elf/elf.h: Likewise.
721 * malloc/malloc.c: Likewise.
722 * nis/nis_print.c: Likewise.
723 * resolv/res_comp.c: Likewise.
724 * stdlib/stdlib.h: Likewise.
725 * sunrpc/clnt_tcp.c: Likewise.
726 * sunrpc/clnt_udp.c: Likewise.
727 * sunrpc/clnt_unix.c: Likewise.
728 * sysdeps/unix/bsd/ptsname.c: Likewise.
729 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
730 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
732 Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
734 Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
736 Likewise.
6f65e668
OB
737 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
738
3a309239
SP
7392013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
740
741 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
743
3b813b29
MF
7442013-08-27 Mike Frysinger <vapier@gentoo.org>
745
746 [BZ #15897]
747 * dlfcn/Makefile (tests): Add bug-dl-leaf.
748 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
749 ($(objpfx)bug-dl-leaf): New rule.
750 ($(objpfx)bug-dl-leaf.so): Likewise.
751 ($(objpfx)bug-dl-leaf.out): Likewise.
752 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
753 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
754 * dlfcn/bug-dl-leaf.c: New test.
755 * dlfcn/bug-dl-leaf-lib.c: Likewise.
756 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
757 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
758 (dlclose): Likewise.
759 (dlmopen): Likewise.
760
8cc3269f
RM
7612013-08-27 Roland McGrath <roland@hack.frob.com>
762
7f9d0034
RM
763 * include/netdb.h [!_ISOMAC]:
764 Don't include <tls.h>.
765 (h_errno, __libc_h_errno): Move declaration and macros out of
766 [_LIBC_REENTRANT].
767
fb431262
RM
768 * include/resolv.h [_RESOLV_H_]:
769 Don't include <tls.h>.
770 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
771 * resolv/res_libc.c: Don't include <tls.h>.
772 (_res): Use __attribute__ ((nocommon)) in place of
773 __attribute__ ((section (".bss"))).
774
bd81123a
RM
775 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
776 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
777
c4e42566
RM
778 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
779
f890a59b
RM
780 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
781 only under [SIOCGIFCONF && SIOCGIFNETMASK].
782
783 * resolv/res_mkquery.c: Include <sys/time.h>.
784
5d1f0a09
RM
785 * inet/ifreq.c: Moved to ...
786 * sysdeps/unix/ifreq.c: ... here.
787 * inet/ifreq.c: New file, true stub version.
788
6fcf28b3
RM
789 * socket/sa_len.c: New file.
790 * socket/Makefile (aux): Add it.
791 * sysdeps/unix/sysv/linux/Makefile
792 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
793 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
794 and #include <socket/sa_len.c>.
795 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
796 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
797
e041fb8b
RM
798 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
799 * bits/socket.h: ... here.
800
8cc3269f
RM
801 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
802 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
803 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
804
5d228a43
AS
8052013-08-27 Andreas Schwab <schwab@suse.de>
806
45b8accc
AS
807 [BZ #15736]
808 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
809 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
810 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
811 * string/test-strcasecmp.c (test_main): Run tests in several
812 locales.
813 * string/test-strncasecmp.c (test_main): Likewise.
814
5d228a43
AS
815 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
816 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
817 to __strcasecmp_nonascii and __strncasecmp_nonascii.
818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
819 (__strncasecmp_ssse3) [PIC]: Likewise.
820
59d112a4
RM
8212013-08-26 Roland McGrath <roland@hack.frob.com>
822
53234cc3
RM
823 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
824
59d112a4
RM
825 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
826 instead of explicitly declaring xdecrypt.
827 * nis/nss_nis/nis-publickey.c: Likewise.
828
595aba70
SP
8292013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
830
831 [BZ #15890]
832 * nscd/aicache.c: Include res_hconf.h.
833 (addhstaiX): Initialize res_hconf.
834
ffabd393
AS
8352013-08-26 Andreas Schwab <schwab@suse.de>
836
837 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
838 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
839
e0a69f5c
SP
8402013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
841
842 * nscd/aicache.c (addhstaiX): Fix indentation.
843
8c12f01d
MF
8442013-08-25 Mike Frysinger <vapier@gentoo.org>
845
846 * configure.ac: Quote $build_pt_chown test.
847 * configure: Regenerated.
848
8fe89494
JM
8492013-08-23 Joseph Myers <joseph@codesourcery.com>
850
851 [BZ #15532]
852 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
853 * math/s_cexpf.c (__cexpf): Likewise.
854 * math/s_cexpl.c (__cexpl): Likewise.
855 * math/libm-test.inc (cexp_test_data): Correct expected return
856 value for NaN + i0. Add another test.
857
75b181d6
DM
8582013-08-22 David S. Miller <davem@davemloft.net>
859
860 * po/ca.po: Update Catalan translation from translation project.
936241e4 861 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 862
acd06bb1
JM
8632013-08-21 Joseph Myers <joseph@codesourcery.com>
864
865 [BZ #15797]
866 * math/s_fdim.c (__fdim): Check for infinite arguments if result
867 is infinite, not alongside NaN test.
868 * math/s_fdimf.c (__fdimf): Likewise.
869 * math/s_fdiml.c (__fdiml): Likewise.
870 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
871 errno is unchanged.
872
c0c3f78a
OB
8732013-08-21 Ondřej Bílka <neleai@seznam.cz>
874
875 * argp/argp-help.c: Fix typos.
876 * crypt/speeds.c: Likewise.
877 * csu/check_fds.c: Likewise.
878 * elf/dl-load.c: Likewise.
879 * elf/dl-open.c: Likewise.
880 * elf/reldep3.c: Likewise.
881 * elf/reldep.c: Likewise.
882 * elf/sprof.c: Likewise.
883 * iconv/iconv_charmap.c: Likewise.
884 * iconv/skeleton.c: Likewise.
885 * iconv/strtab.c: Likewise.
886 * io/lockf64.c: Likewise.
887 * libio/libioP.h: Likewise.
888 * resolv/gai_notify.c: Likewise.
889 * resolv/ns_name.c: Likewise.
890 * resolv/ns_samedomain.c: Likewise.
891 * resolv/res_send.c: Likewise.
892 * stdlib/random.c: Likewise.
893 * sunrpc/rpc/xdr.h: Likewise.
894 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
895 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
896 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
897 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
898 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
901 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
902 * sysdeps/mach/hurd/check_fds.c: Likewise.
903 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
904 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
905 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
906 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
907 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
908 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
909 * sysdeps/pthread/aio_notify.c: Likewise.
910 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
911 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
912 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
913 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
914 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
915
46ed1038
LD
9162013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
917
918 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
919 version if bit_Slow_SSE4_2 is set.
920 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
921 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
922
d400dcac
AZ
9232013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
924
925 [BZ #15867]
926 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
927 trampoline stack frame information.
928 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
929 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
930 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
931 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
932 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
933 * sysdeps/unix/sysv/linux/powerpc/init-first.c
934 (_libc_vdso_platform_setup): Initialize the signal trampolines.
935 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
936 sa_flags value.
937 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
938 interrupting a syscall and set with option SA_SIGINFO.
939
42c8fdd8
JM
9402013-08-20 Joseph Myers <joseph@codesourcery.com>
941
c980f2f4
JM
942 [BZ #15531]
943 * math/s_cproj.c (__cproj): Only return an infinity if one part of
944 argument is infinite.
945 * math/s_cprojf.c (__cprojf): Likewise.
946 * math/s_cprojl.c (__cprojl): Likewise.
947 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
948 * math/libm-test.inc (cproj_test_data): Add more tests.
949
0716c4fc
JM
950 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
951
42c8fdd8
JM
952 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
953 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
954 size. Use __ffs to determine corresponding shift.
955
b31469d0
JM
9562013-08-20 Joseph Myers <joseph@codesourcery.com>
957 Roland McGrath <roland@hack.frob.com>
958
959 * Makefile (INSTALL): Remove trailing blank lines from output of
960 makeinfo.
961
4e39af6e
AK
9622013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
963
964 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
965 Align 32 bit compat elf_greg to 8 bytes.
966
f315524e
AA
9672013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
968
969 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
970
1326ba1a
SP
9712013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
972
973 * string/strcoll_l.c (coll_seq): New structure.
974 (get_next_seq_cached): New function.
975 (get_next_seq): New function.
976 (do_compare): New function.
977 (STRCOLL): Use GNU style definition. Simplify implementation
978 by using get_next_seq, get_next_seq_cached and do_compare.
979
91ce4085
FW
9802013-08-16 Florian Weimer <fweimer@redhat.com>
981
982 [BZ #14699]
983 CVE-2013-4237
984 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
985 member.
986 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
987 member.
988 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
989 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
990 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
991 conditional.
992 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
993 GETDENTS_64BIT_ALIGNED.
994 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
995 * manual/filesys.texi (Reading/Closing Directory): Document
996 ENAMETOOLONG return value of readdir_r. Recommend readdir more
997 strongly.
998 * manual/conf.texi (Limits for Files): Add portability note to
999 NAME_MAX, PATH_MAX.
1000 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1001
ca0a6bc4
AS
10022013-08-13 Andreas Schwab <schwab@suse.de>
1003
1004 [BZ #15749]
1005 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1006 of fabs.
1007 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1008 LDBL_MAX_EXP >= 16384]: Add tests for it.
1009
6c1fd795
DM
10102013-08-12 David S. Miller <davem@davemloft.net>
1011
1012 * version.h (RELEASE): Set to "development".
1013 (VERSION): Set to "2.18.90".
1014 * NEWS: Add 2.19 section.
1015
31ad488d
DM
10162013-08-03 David S. Miller <davem@davemloft.net>
1017
1018 * po/ko.po: Update Korean translation from translation project.
1019
db24e684
DM
10202013-08-01 David S. Miller <davem@davemloft.net>
1021
1022 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1023 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1024 Bilka.
1025
f723285b
DM
10262013-07-30 David S. Miller <davem@davemloft.net>
1027
1028 * po/fr.po: Update French translation from translation project.
1029
3cbc52db
DM
10302013-07-28 David S. Miller <davem@davemloft.net>
1031
30bbc0cc
DM
1032 * po/cs.po: Update Czech translation from translation project.
1033
3cbc52db
DM
1034 * po/sv.po: Update Swedish translation from translation project.
1035
d492e6d0
DM
10362013-07-27 David S. Miller <davem@davemloft.net>
1037
f1a7f492
DM
1038 * po/eo.po: Update Esperanto translation from translation project.
1039
90e62a4a
DM
1040 * po/vi.po: Update Vietnamese translation from translation project.
1041
d492e6d0
DM
1042 * po/de.po: Update German translation from translation project.
1043
d4baa62d
DM
10442013-07-26 David S. Miller <davem@davemloft.net>
1045
641aa7b4
DM
1046 * po/bg.po: Update Bulgarian translation from translation project.
1047
d4baa62d
DM
1048 * po/nl.po: Update Dutch translation from translation project.
1049 * po/pl.po: Update Polish translation from translation project.
1050 * po/ru.po: Update Russian translation from translation project.
1051
61a9dcb9
DM
10522013-07-24 David S. Miller <davem@davemloft.net>
1053
1054 * po/libc.pot: Update.
1055
7b1f8b58
AZ
10562013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1057
1058 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1059 variable page size.
1060 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1061 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1062 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1063
a8fc7a03
AK
10642013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1065
1066 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1067
e4608715
CD
10682013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1069 Andreas Schwab <schwab@suse.de>
1070 Roland McGrath <roland@hack.frob.com>
1071 Joseph Myers <joseph@codesourcery.com>
1072 Carlos O'Donell <carlos@redhat.com>
1073
1074 [BZ #15755]
1075 * config.h.in: Define HAVE_PT_CHOWN.
1076 * config.make.in (build-pt-chown): New variable.
1077 * configure.in (--enable-pt_chown): New configure option.
1078 * configure: Regenerate.
1079 * login/Makefile: Include Makeconfig. Build pt_chown only if
1080 build-pt-chown is enabled.
1081 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1082 pt_chown to fix pty ownership.
1083 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1084 CLOSE_ALL_FDS.
1085 * manual/install.texi (Configuring and compiling): Mention
1086 --enable-pt_chown. Add @findex for grantpt.
1087 * INSTALL: Regenerate.
1088
da2d62df
DM
10892013-07-20 David S. Miller <davem@davemloft.net>
1090
1091 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1092 difference between 32-bit and 64-bit.
1093
d7e06450
CD
10942013-07-15 Carlos O'Donell <carlos@redhat.com>
1095
1096 [BZ #15711]
1097 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1098 Avoid system header dependency with -ffreestanding.
1099 ($(objpfx)bits/syscall%d): Likewise.
1100
f959cfd7
DM
11012013-07-13 David S. Miller <davem@davemloft.net>
1102
1103 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1104 underflows from atanl/atan2l due to bug 15319.
1105 (casinh_test_data): Likewise.
1106
c61f8513
DM
11072013-07-07 David S. Miller <davem@davemloft.net>
1108
1109 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1110
72c90ed0
JA
11112013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1112
1113 * sysdeps/i386/fpu/libm-test-ulps: Update.
1114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1115
52dfbe13
SP
11162013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1117
1118 * configure.in (--enable-lock-elision): Fix message text.
1119 * INSTALL: Regenerate.
1120 * configure: Regenerate.
1121
3f169543
AZ
11222013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123
1124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1125
521c6785
AJ
11262013-07-03 Andreas Jaeger <aj@suse.de>
1127
1128 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1129 define.
1130 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1131 (ptrace_peeksiginfo_args): Add.
1132 (__ptrace_peeksiginfo_flags): Add.
1133 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1134 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1135 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1136
d2cc15cb
AM
11372013-07-03 Allan McRae <allan@archlinux.org>
1138
1139 * sysdeps/i386/fpu/libm-test-ulps: Update.
1140
3aaeeca7
DM
11412013-07-02 David S. Miller <davem@davemloft.net>
1142
1143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1144
5314ed1a
MT
11452013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1146
1147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1148
67338156
JM
11492013-07-02 Joseph Myers <joseph@codesourcery.com>
1150
1151 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1153
1717da59
AK
11542013-07-02 Andi Kleen <ak@linux.intel.com>
1155
1156 * config.h.in (ENABLE_LOCK_ELISION): Add.
1157 * configure.in (--enable-lock-elision): Add option.
1158 * manual/install.texi: Document --enable lock elision.
1159 * configure: Regenerate
1160 * INSTALL: Regenerate.
1161
1c81621c
L
11622013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1163
1164 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1165 SSE4.2 strcasecmp for libc.a.
1166 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1167
77f01ab5
JM
11682013-07-02 Joseph Myers <joseph@codesourcery.com>
1169
1170 [BZ #13304]
1171 * soft-fp/op-common.h (_FP_FMA): New macro.
1172 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1173 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1174 (_FP_MUL_MEAT_1_imm): ... here.
1175 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1176 (_FP_MUL_MEAT_1_wide): ... here.
1177 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1178 (_FP_MUL_MEAT_1_hard): ... here.
1179 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1180 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1181 (_FP_MUL_MEAT_2_wide): ... here.
1182 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1183 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1184 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1185 (_FP_MUL_MEAT_2_gmp): ... here.
1186 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1187 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1188 (_FP_MUL_MEAT_4_wide): ... here.
1189 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1190 (_FP_MUL_MEAT_4_gmp): ... here.
1191 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1192 (_FP_WFRACBITS_DW_S): Likewise.
1193 (_FP_WFRACXBITS_DW_S): Likewise.
1194 (_FP_HIGHBIT_DW_S): Likewise.
1195 (FP_FMA_S): Likewise.
1196 (_FP_FRAC_HIGH_DW_S): Likewise.
1197 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1198 (_FP_WFRACBITS_DW_D): Likewise.
1199 (_FP_WFRACXBITS_DW_D): Likewise.
1200 (_FP_HIGHBIT_DW_D): Likewise.
1201 (FP_FMA_D): Likewise.
1202 (_FP_FRAC_HIGH_DW_D): Likewise.
1203 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1204 (_FP_WFRACBITS_DW_E): Likewise.
1205 (_FP_WFRACXBITS_DW_E): Likewise.
1206 (_FP_HIGHBIT_DW_E): Likewise.
1207 (FP_FMA_E): Likewise.
1208 (_FP_FRAC_HIGH_DW_E): Likewise.
1209 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1210 (_FP_WFRACBITS_DW_Q): Likewise.
1211 (_FP_WFRACXBITS_DW_Q): Likewise.
1212 (_FP_HIGHBIT_DW_Q): Likewise.
1213 (FP_FMA_Q): Likewise.
1214 (_FP_FRAC_HIGH_DW_Q): Likewise.
1215 * soft-fp/fmasf4.c: New file.
1216 * soft-fp/fmadf4.c: Likewise.
1217 * soft-fp/fmatf4.c: Likewise.
1218
6308fd9a
LD
12192013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1220
1221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1222 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1223 Silvermont.
1224 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1225 macro.
1226 (index_Slow_SSE4_2): Likewise.
1227 (index_Prefer_PMINUB_for_stringop): Likewise.
1228 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1229 bit_Slow_SSE4_2 is set.
1230 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1231 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1232
89cd9569
RA
12332013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1234
1235 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1236 rtld_global._dl_hwcap2.
1237 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1238 POWER8.
1239 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1240 POWER8 feature descriptions defined in _dl_hwcap2.
1241 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1242 string handling for POWER8 feature bits.
1243 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1244 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1245 _dl_powerpc_cap_flags.
1246 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1247 * sysdeps/powerpc/rtld-global-offsets.sym
1248 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1249 _dl_hwcap2 in the rtld_global_ro structure.
1250
1ae8bfe0
RA
12512013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1252
1253 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1254 hardware capabilities in support of AT_HWCAP2.
1255 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1256 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1257 GLRO(dl_hwcap2).
1258 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1259 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1260 explicitly the unknown a_type display mechanism is used.
1261 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1262 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1263 struct member.
1264 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1265 to macro prototype for AT_HWCAP2 support.
1266 * sysdeps/i386/dl-procinfo.h: Likewise.
1267 * sysdeps/s390/dl-procinfo.h: Likewise.
1268 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1269 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1270 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1271 return -1 for unknown a_type display fallback.
1272 * sysdeps/sparc/dl-procinfo.h: Likewise.
1273 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1274 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1275
8fbec010
JM
12762013-06-28 Joseph Myers <joseph@codesourcery.com>
1277
1278 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1279 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1280
0432680e
PY
12812013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1282
1283 [BZ #12492]
1284 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1285 mprotect making __stack_prot writable.
1286
ce61a2ad
NF
12872013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1288 Joseph Myers <joseph@codesourcery.com>
1289
1290 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1291 as being properly aligned.
1292
f91f1c0f
MR
12932013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1294
3d0f5d0c
MR
1295 * dlfcn/modstatic5.c: New file.
1296 * dlfcn/tststatic5.c: New file.
1297 * dlfcn/Makefile (tests): Add tststatic5.
1298 (tests-static): Likewise.
1299 (modules-names): Add modstatic5.
1300 (tststatic5-ENV): New variable.
1301 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1302
f91f1c0f
MR
1303 [BZ #15022]
1304 * elf/dl-support.c (_dl_main_map): New variable.
1305 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1306 (_dl_nns, _dl_load_adds): Set to 1.
1307 (_dl_initial_searchlist): Refer to _dl_main_map.
1308 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1309 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1310 call to _dl_get_origin.
1311 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1312 around call_map.
1313 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1314 * dlfcn/modstatic3.c: New file.
1315 * dlfcn/tststatic3.c: New file.
1316 * dlfcn/tststatic4.c: New file.
1317 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1318 (tests-static): Likewise.
1319 (modules-names): Add modstatic3.
1320 (tststatic3-ENV, tststatic4-ENV): New variables.
1321 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1322 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1323
cbe7d24b
JM
13242013-06-26 Joseph Myers <joseph@codesourcery.com>
1325
1326 * configure.in (CC): Require GCC version 4.4 or later.
1327 * configure: Regenerated.
1328 * manual/install.texi (Tools for Compilation): Update GCC version
1329 requirement.
1330 * INSTALL: Regenerated.
1331
11b8a0e1
LD
13322013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1333
1334 [BZ #15674]
bb5bb87c
L
1335 * string/test-memcmp.c (check2): New.
1336 (main): Call check2.
1337
11b8a0e1
LD
1338 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1339
b0037103
MR
13402013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1341
1342 [BZ #15022]
1343 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1344 over to...
1345 (dl_open_worker) [!SHARED]: ... here.
1346
c18c701d
RA
13472013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1348
1349 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1350
1d17fa5f
RH
13512013-06-25 Richard Henderson <rth@redhat.com>
1352
1353 * locale/programs/locarchive.c: Include <libc-internal.h>
1354
8fcb833a
JM
13552013-06-25 Joseph Myers <joseph@codesourcery.com>
1356
1357 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1358 trailing whitespace removed.
1359
17db6e8d
MF
13602013-06-24 Mike Frysinger <vapier@gentoo.org>
1361
1362 [BZ #10283]
17db6e8d
MF
1363 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1364 * locale/programs/locarchive.c: Include libc-mmap.h.
1365 (prepare_address_space): Take two new outputs (the mmap base and len).
1366 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1367 values.
1368 (create_archive): Declare new mmap base and len values for
1369 prepare_address_space, and store the result in ah.
1370 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1371 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1372 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1373 Declare new mmap base and len values for
1374 prepare_address_space, and store the result in new_ah.
1375 (open_archive): Declare new mmap base and len values for
1376 prepare_address_space, and store the result in ah.
1377 (close_archive): If ah->mmap_base is not NULL, use that and
1378 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1379 * sysdeps/generic/libc-mmap.h: New file.
1380
d605071e
MF
13812013-06-24 Mike Frysinger <vapier@gentoo.org>
1382
1383 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1384 (ALIGN_UP): Likewise.
1385 (PTR_ALIGN_DOWN): Likewise.
1386 (PTR_ALIGN_UP): Likewise.
1387
2f063a6e
RA
13882013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1389
1390 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1391 entry mapped to PPC_PLATFORM_POWER8.
1392 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1393 POWER8.
1394 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1395 (_dl_string_platform): Add case for exporting platform position for
1396 POWER8.
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1398 search path to sysdeps/powerpc/powerpc32/power8 directory.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1400 search path to sysdeps/powerpc/powerpc64/power8 directory.
1401 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1402 power7 directories.
1403 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1404 power7 directories.
1405
a31ee4b3
SP
14062013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1407
a74ca98f
SP
1408 * INSTALL: Regenerate.
1409
a31ee4b3
SP
1410 * nscd/connections.c (nscd_init): Fix comment.
1411
695c378f
JM
14122013-06-22 Joseph Myers <joseph@codesourcery.com>
1413
d8412221
JM
1414 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1415
695c378f
JM
1416 [BZ #15667]
1417 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1418 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1419
d1d54715
MR
14202013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1421
1422 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1423 DL_DST_REQ_STATIC.
1424 (DL_DST_REQ_STATIC): Remove macro.
1425
8fdda7af
JM
14262013-06-21 Joseph Myers <joseph@codesourcery.com>
1427
1428 [BZ #7006]
1429 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1430 with a shift of 0 bits.
1431
f3bc5e5a
MR
14322013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1433
1434 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1435 $(tststatic-ENV).
1436
be09e8c9
KK
14372013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1438
1439 [BZ #15655]
1440 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1441
85c2e611
AZ
14422013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443
1444 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1445 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1446 accepts -fno-tree-loop-distribute-patterns.
1447 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1448 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1449 recursive call.
1450 * string/memset.c (memset): Likewise.
1451 * string/test-memmove.c (simple_memmove): Disable loop transformation
1452 to library calls.
1453 * string/test-memset.c (simple_memset): Likewise.
1454 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1455 * benchtests/bench-memset.c (simple_memset): Likewise.
1456 * configure: Regenerated.
1457
c91e0825
JM
14582013-06-20 Joseph Myers <joseph@codesourcery.com>
1459
b8c792af
JM
1460 * math/test-misc.c (main): Ignore fesetround failure when failures
1461 of subsequent rounding tests would be ignored.
1462
c91e0825
JM
1463 [BZ #15654]
1464 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1465 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1466 * math/fegetenv.c (__fegetenv): Return 0.
1467 * math/fegetexcept.c (fegetexcept): Return 0.
1468 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1469 FE_TONEAREST.
1470 * math/feholdexcpt.c (feholdexcept): Return 0.
1471 * math/fesetenv.c (__fesetenv): Return 0.
1472 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1473 argument FE_TONEAREST.
1474 * math/feupdateenv.c (__feupdateenv): Return 0.
1475 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1476
bfcacbde
RM
14772013-06-18 Roland McGrath <roland@hack.frob.com>
1478
1479 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1480 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1481 ($(objpfx)rtld-%.os rules): Use them.
1482
e55a9b25
AZ
14832013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1484
1485 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1486 fields.
1487
346d65b3
RM
14882013-06-17 Roland McGrath <roland@hack.frob.com>
1489
12086fb4
RM
1490 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1491 length of target pattern, then descending length of dependency pattern.
1492 * configure.in (AWK): Require gawk 3.1.2 or newer.
1493 * manual/install.texi (Tools for Compilation): Say that we do.
1494 * configure: Regenerated.
1495
346d65b3
RM
1496 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1497 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1498 * scripts/sysd-rules.awk: ... this new script.
1499 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1500 than a glob-style pattern.
1501
1a846317
JM
15022013-06-17 Joseph Myers <joseph@codesourcery.com>
1503
1504 * math/test-misc.c (main): Do not treat incorrectly rounded
1505 conversions as failure unless ROUNDING_TESTS passes.
1506
8fc75e6f
JM
15072013-06-15 Joseph Myers <joseph@codesourcery.com>
1508
3711a167
JM
1509 [BZ #15631]
1510 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1511 restore exception state around main square root computation, then
1512 check for inexactness explicitly.
1513
8fc75e6f
JM
1514 * math/libm-test.inc (fma_test_data): Add another test.
1515
61dd6208
SP
15162013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1517
adf23d2c
SP
1518 * manual/threads.texi (Non-POSIX Extensions): New document
1519 node. Document pthread_getattr_default_np and
1520 pthread_setattr_default_np.
1521
61dd6208
SP
1522 * Versions.def (libpthread): Add GLIBC_2.18.
1523 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1525 Likewise.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1527 Likewise.
1528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1529 Likewise.
1530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1531 Likewise.
1532 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1533 Likewise.
1534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1535 Likewise.
1536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1537 Likewise.
1538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1539 Likewise.
1540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1541 Likewise.
1542
d086fc7b
LD
15432013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1544
1545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1546 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1547
747ef469
SP
15482013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1549 H.J. Lu <hjl.tools@gmail.com>
1550
1551 [BZ #15627]
1552 * sysdeps/x86_64/rtld-memset.c: Remove file.
1553 * sysdeps/x86_64/rtld-memset.S: New file.
1554
1b2feed2
JM
15552013-06-14 Joseph Myers <joseph@codesourcery.com>
1556
1557 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1558 (test_in_one_mode): Take arguments for whether the rounding mode
1559 is supported for each floating-point type.
1560 (do_test): Pass new arguments to test_in_one_mode using
1561 ROUNDING_TESTS.
1562
a58ad3f8
RM
15632013-06-13 Roland McGrath <roland@hack.frob.com>
1564
1565 * posix/tst-waitid.c (do_test): Distinguish different instances of
1566 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1567 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1568 before entering the kernel for waitpid.
1569
c204ab28
SP
15702013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1571
1572 * NEWS: Fix note on clock function precision. Text by Roland
1573 McGrath.
1574
f4a29fba
RM
15752013-06-13 Roland McGrath <roland@hack.frob.com>
1576
1577 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1578 it into place only when and if the sanity check passes.
1579
1f24b9ad
JM
15802013-06-13 Joseph Myers <joseph@codesourcery.com>
1581
1582 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1583 output for whether conversion result is exact. Take argument
1584 indicating whether type is IBM long double.
1585 (round_for_all): Change need_exact field to ibm_ld.
1586 * stdlib/tst-strtod-round.c (struct exactness): New type.
1587 (struct test): Change bool ld_ok field to struct exactness exact.
1588 (TEST): Update all definitions for change to field.
1589 (tests): Regenerate array contents.
1590 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1591 field value. Check for IBM long double here.
1592 (do_test): Update calls to test_in_one_mode.
1593
58206c68
SP
15942013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1595
1596 [BZ #12515]
1597 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1598 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1599
2d6f4c5b 16002013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1601
1602 [BZ #15605]
1603 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1604 generated by the compiler on loop optimizations.
1605 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1606 general definitions.
1607
94f2c076
JM
16082013-06-12 Joseph Myers <joseph@codesourcery.com>
1609
1610 * math/bug-nextafter.c: Include <math-tests.h>.
1611 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1612 the relevant type.
1613 * math/bug-nexttoward.c: Include <math-tests.h>.
1614 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1615 the relevant type.
1616 * math/test-misc.c: Include <math-tests.h>.
1617 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1618 the relevant type.
1619
e0e50a0a
AJ
16202013-06-12 Andreas Jaeger <aj@suse.de>
1621
1622 * po/ia.po: Update Interlingua translation from translation
1623 project.
1624
25061094
SP
16252013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1626
1627 * include/fenv.h: Include stdbool.h.
1628 (struct rm_ctx): New structure.
1629 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1630 Define macro.
1631 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1632 (SET_RESTORE_ROUNDF): Likewise.
1633 (SET_RESTORE_ROUNDL): Likewise.
1634 (SET_RESTORE_ROUND_NOEX): Likewise.
1635 (SET_RESTORE_ROUND_NOEXF): Likewise.
1636 (SET_RESTORE_ROUND_NOEXL): Likewise.
1637 (SET_RESTORE_ROUND_53BIT): Likewise.
1638 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1639 (libc_feresetround_noexf_ctx): Likewise.
1640 (libc_feresetround_noexl_ctx): Likewise.
1641 (libc_feholdsetround_53bit_ctx): Likewise.
1642 (libc_feresetround_53bit_ctx): Likewise.
1643 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1644 (libc_feholdexcept_setround_sse_ctx): New function.
1645 (libc_fesetenv_sse_ctx): Likewise.
1646 (libc_feupdateenv_sse_ctx): Likewise.
1647 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1648 (libc_feholdexcept_setround_387_ctx): Likewise.
1649 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1650 (libc_feholdsetround_387_prec_ctx): Likewise.
1651 (libc_feholdsetround_387_ctx): Likewise.
1652 (libc_feholdsetround_387_53bit_ctx): Likewise.
1653 (libc_feholdsetround_sse_ctx): Likewise.
1654 (libc_feresetround_sse_ctx): Likewise.
1655 (libc_feresetround_387_ctx): Likewise.
1656 (libc_feupdateenv_387_ctx): Likewise.
1657 (libc_feholdexcept_setroundf_ctx): Define macro.
1658 (libc_fesetenvf_ctx): Likewise.
1659 (libc_feupdateenvf_ctx): Likewise.
1660 (libc_feholdsetroundf_ctx): Likewise.
1661 (libc_feresetroundf_ctx): Likewise.
1662 (libc_feholdexcept_setround_ctx): Likewise.
1663 (libc_fesetenv_ctx): Likewise.
1664 (libc_feupdateenv_ctx): Likewise.
1665 (libc_feholdsetround_ctx): Likewise.
1666 (libc_feresetround_ctx): Likewise.
1667 (libc_feholdexcept_setroundl_ctx): Likewise.
1668 (libc_feupdateenvl_ctx): Likewise.
1669 (libc_feholdsetroundl_ctx): Likewise.
1670 (libc_feresetroundl_ctx): Likewise.
1671 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1672 (libc_feresetround_53bit_ctx): Likewise.
1673
59b30555
SP
16742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1675
1676 * locale/iso-639.def: Convert to UTF-8.
1677
f1d73d30
JM
16782013-06-11 Joseph Myers <joseph@codesourcery.com>
1679
1680 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1681 (EXCEPTION_TESTS_double): Likewise.
1682 (EXCEPTION_TESTS_long_double): Likewise.
1683 (EXCEPTION_TESTS): Likewise.
1684 * math/libm-test.inc (test_exceptions): Only test exceptions if
1685 EXCEPTION_TESTS (FLOAT).
1686
94aca5e7
SP
16872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1688
1689 * benchtests/Makefile (string-bench): Add strcpy_chk and
1690 stpcpy_chk.
1691 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1692 * benchtests/bench-stpcpy_chk.c: New file.
1693 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1694 * benchtests/bench-strcpy_chk.c: New file.
1695 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1696 code.
1697 (do_test): Likewise.
1698
fac0c5f2
RA
16992013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1700
1701 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1702 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1703 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1704 with tabs where appropriate.
1705 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1706 dl-procinfo.h.
1707 [PPC_PLATFORM_PPC440]: Likewise.
1708 [PPC_PLATFORM_PPC464]: Likewise.
1709 [PPC_PLATFORM_PPC476]: Likewise.
1710 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1711 ppc464, and ppc476 platform strings merging from ports/
1712 dl-procinfo.h.
1713
f22bc486
AS
17142013-06-11 Andreas Schwab <schwab@suse.de>
1715
1716 [BZ #14991]
1717 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1718 (from_ucs4_idx): Regenerate.
1719 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1720 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1721 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1722 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1723 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1724 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1725 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1726 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1727 from FROM_LOOP and TO_LOOP specific macros.
1728 (BODY): Handle combining characters.
1729 * iconvdata/BIG5HKSCS.irreversible: Update.
1730 * iconvdata/BIG5HKSCS.precomposed: New file.
1731 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1732 characters.
1733 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1734
c1f75dc3
SP
17352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1736
4eacded2
SP
1737 * include/sys/time.h: Fix indentation and add copyright header.
1738
fec799f8
SP
1739 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1740 (do_test): Likewise.
1741 * string/test-memchr.c (do_one_test): Likewise.
1742 (do_test): Likewise.
1743 * string/test-memcmp.c (do_one_test): Likewise.
1744 (do_test): Likewise.
1745 * string/test-memcpy.c (do_one_test): Likewise.
1746 (do_test): Likewise.
1747 * string/test-memmem.c (do_one_test): Likewise.
1748 (do_test): Likewise.
1749 (do_random_tests): Likewise.
1750 * string/test-memmove.c (do_one_test): Likewise.
1751 (do_test): Likewise.
1752 * string/test-memset.c (do_one_test): Likewise.
1753 (do_test): Likewise.
1754 * string/test-rawmemchr.c (do_one_test): Likewise.
1755 (do_test): Likewise.
1756 * string/test-strcasecmp.c (do_one_test): Likewise.
1757 (do_test): Likewise.
1758 * string/test-strcasestr.c (do_one_test): Likewise.
1759 (do_test): Likewise.
1760 * string/test-strcat.c (do_one_test): Likewise.
1761 (do_test): Likewise.
1762 * string/test-strchr.c (do_one_test): Likewise.
1763 (do_test): Likewise.
1764 * string/test-strcmp.c (do_one_test): Likewise.
1765 (do_test): Likewise.
1766 * string/test-strcpy.c (do_one_test): Likewise.
1767 (do_test): Likewise.
1768 * string/test-string.h: Likewise.
1769 (test_init): Likewise.
1770 * string/test-strlen.c (do_one_test): Likewise.
1771 (do_test): Likewise.
1772 * string/test-strncasecmp.c (do_one_test): Likewise.
1773 (do_test): Likewise.
1774 * string/test-strncat.c (do_one_test): Likewise.
1775 (do_test): Likewise.
1776 * string/test-strncmp.c (do_one_test): Likewise.
1777 (do_test_limit): Likewise.
1778 (do_test): Likewise.
1779 * string/test-strncpy.c (do_one_test): Likewise.
1780 (do_test): Likewise.
1781 * string/test-strnlen.c (do_one_test): Likewise.
1782 (do_test): Likewise.
1783 * string/test-strpbrk.c (do_one_test): Likewise.
1784 (do_test): Likewise.
1785 * string/test-strrchr.c (do_one_test): Likewise.
1786 (do_test): Likewise.
1787 * string/test-strspn.c (do_one_test): Likewise.
1788 (do_test): Likewise.
1789 * string/test-strstr.c (do_one_test): Likewise.
1790 (do_test): Likewise.
1791
97020474
SP
1792 * benchtests/Makefile (string-bench): Add string benchmarks.
1793 * benchtests/bench-bcopy-ifunc.c: New file.
1794 * benchtests/bench-bcopy.c: New file.
1795 * benchtests/bench-bzero-ifunc.c: New file.
1796 * benchtests/bench-bzero.c: New file.
1797 * benchtests/bench-memccpy-ifunc.c: New file.
1798 * benchtests/bench-memccpy.c: New file.
1799 * benchtests/bench-memchr-ifunc.c: New file.
1800 * benchtests/bench-memchr.c: New file.
1801 * benchtests/bench-memcmp-ifunc.c: New file.
1802 * benchtests/bench-memcmp.c: New file.
1803 * benchtests/bench-memmem-ifunc.c: New file.
1804 * benchtests/bench-memmem.c: New file.
1805 * benchtests/bench-memmove-ifunc.c: New file.
1806 * benchtests/bench-memmove.c: New file.
1807 * benchtests/bench-mempcpy-ifunc.c: New file.
1808 * benchtests/bench-mempcpy.c: New file.
1809 * benchtests/bench-memset-ifunc.c: New file.
1810 * benchtests/bench-memset.c: New file.
1811 * benchtests/bench-rawmemchr-ifunc.c: New file.
1812 * benchtests/bench-rawmemchr.c: New file.
1813 * benchtests/bench-stpcpy-ifunc.c: New file.
1814 * benchtests/bench-stpcpy.c: New file.
1815 * benchtests/bench-stpncpy-ifunc.c: New file.
1816 * benchtests/bench-stpncpy.c: New file.
1817 * benchtests/bench-strcasecmp-ifunc.c: New file.
1818 * benchtests/bench-strcasecmp.c: New file.
1819 * benchtests/bench-strcasestr-ifunc.c: New file.
1820 * benchtests/bench-strcasestr.c: New file.
1821 * benchtests/bench-strcat-ifunc.c: New file.
1822 * benchtests/bench-strcat.c: New file.
1823 * benchtests/bench-strchr-ifunc.c: New file.
1824 * benchtests/bench-strchr.c: New file.
1825 * benchtests/bench-strchrnul-ifunc.c: New file.
1826 * benchtests/bench-strchrnul.c: New file.
1827 * benchtests/bench-strcmp-ifunc.c: New file.
1828 * benchtests/bench-strcmp.c: New file.
1829 * benchtests/bench-strcpy-ifunc.c: New file.
1830 * benchtests/bench-strcpy.c: New file.
1831 * benchtests/bench-strcspn-ifunc.c: New file.
1832 * benchtests/bench-strcspn.c: New file.
1833 * benchtests/bench-strlen-ifunc.c: New file.
1834 * benchtests/bench-strlen.c: New file.
1835 * benchtests/bench-strncasecmp-ifunc.c: New file.
1836 * benchtests/bench-strncasecmp.c: New file.
1837 * benchtests/bench-strncat-ifunc.c: New file.
1838 * benchtests/bench-strncat.c: New file.
1839 * benchtests/bench-strncmp-ifunc.c: New file.
1840 * benchtests/bench-strncmp.c: New file.
1841 * benchtests/bench-strncpy-ifunc.c: New file.
1842 * benchtests/bench-strncpy.c: New file.
1843 * benchtests/bench-strnlen-ifunc.c: New file.
1844 * benchtests/bench-strnlen.c: New file.
1845 * benchtests/bench-strpbrk-ifunc.c: New file.
1846 * benchtests/bench-strpbrk.c: New file.
1847 * benchtests/bench-strrchr-ifunc.c: New file.
1848 * benchtests/bench-strrchr.c: New file.
1849 * benchtests/bench-strspn-ifunc.c: New file.
1850 * benchtests/bench-strspn.c: New file.
1851 * benchtests/bench-strstr-ifunc.c: New file.
1852 * benchtests/bench-strstr.c: New file.
1853
c1f75dc3
SP
1854 * benchtests/Makefile: Disable parallel execution of targets.
1855 (string-bench): Add memcpy.
1856 (benchset): New variable to store a list of benchmark sets.
1857 (bench-func): Renamed from bench.
1858 (bench-set): New target.
1859 (bench): Depend on bench-func and bench-set.
1860 * benchtests/README: Add section on benchmark sets.
1861 * benchtests/bench-memcpy-ifunc.c: New file.
1862 * benchtests/bench-memcpy.c: New file.
1863 * benchtests/bench-string.h: New file.
1864
50fd745b
AS
18652013-06-11 Andreas Schwab <schwab@suse.de>
1866
1867 [BZ #15577]
1868 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1869 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1870 values in the triple.
1871 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1872 terminator in the group key.
1873
3ee7e9fe
AJ
18742013-06-11 Andreas Jaeger <aj@suse.de>
1875
1876 * po/zh_TW.po: Update Chinese (traditional) translation from
1877 translation project.
1878
89fb6835
SP
18792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1880
1881 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1882 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1883 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1884 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1885 (clock_getcpuclockid): Likewise.
1886 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1887 Add weak_alias and libc_hidden_def.
1888 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1889 * rt/clock_gettime.c (clock_gettime): Rename to
1890 __clock_gettime. Add weak_alias and libc_hidden_def.
1891 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1892 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1893 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1894 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1895 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1896 Likewise.
1897 * rt/clock_settime.c (clock_settime): Rename to
1898 __clock_settime. Add weak_alias and libc_hidden_def.
1899 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1900
0efa6f8b
JM
19012013-06-10 Joseph Myers <joseph@codesourcery.com>
1902
b8c61b4b
JM
1903 * mach/err_boot.sub: Remove trailing whitespace.
1904 * mach/err_ipc.sub: Likewise.
1905 * mach/err_mach.sub: Likewise.
1906
0efa6f8b
JM
1907 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1908 (ROUNDING_TESTS_double): Likewise.
1909 (ROUNDING_TESTS_long_double): Likewise.
1910 (ROUNDING_TESTS): Likewise.
1911 * math/libm-test.inc: Include <math-tests.h>.
1912 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1913 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1914 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1915 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1916
50b818bf
SP
19172013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1918
1919 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1920 of assigning.
1921
60d2f8f3
JM
19222013-06-08 Joseph Myers <joseph@codesourcery.com>
1923
4902d2c3
JM
1924 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1925 otherwise empty TRANS lines.
1926 * sysdeps/gnu/errlist.c: Regenerated.
1927
60d2f8f3
JM
1928 * catgets/gencat.c (error_print): Use (void) in function
1929 definition.
1930 * crypt/crypt_util.c (__init_des): Likewise.
1931 * crypt/speeds.c (Stop): Likewise.
1932 (main): Likewise.
1933 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1934 * inet/ruserpass.c (token): Likewise.
1935 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1936 * intl/localealias.c (extend_alias_table): Likewise.
1937 * intl/plural-exp.c (init_germanic_plural): Likewise.
1938 * libio/fcloseall.c (__fcloseall): Likewise.
1939 * libio/genops.c (_IO_flush_all): Likewise.
1940 (_IO_flush_all_linebuffered): Likewise.
1941 (_IO_cleanup): Likewise.
1942 (_IO_iter_begin): Likewise.
1943 (_IO_iter_end): Likewise.
1944 (_IO_list_lock): Likewise.
1945 (_IO_list_unlock): Likewise.
1946 (_IO_list_resetlock): Likewise.
1947 * libio/getchar.c (getchar): Likewise.
1948 * libio/getchar_u.c (getchar_unlocked): Likewise.
1949 * libio/getwchar.c (getwchar): Likewise.
1950 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1951 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1952 * login/getpt.c (__getpt): Likewise.
1953 * login/tst-utmp.c (main): Likewise.
1954 * malloc/hooks.c (__malloc_check_init): Likewise.
1955 * malloc/malloc.c (__malloc_stats): Likewise.
1956 * malloc/mtrace.c (tr_break): Likewise.
1957 (mtrace): Likewise.
1958 (muntrace): Likewise.
1959 * misc/fstab.c (endfsent): Likewise.
1960 * misc/getclktck.c (__getclktck): Likewise.
1961 * misc/getdtsz.c (__getdtablesize): Likewise.
1962 * misc/gethostid.c (gethostid): Likewise.
1963 * misc/getpagesize.c (__getpagesize): Likewise.
1964 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1965 (__get_nprocs): Likewise.
1966 (__get_phys_pages): Likewise.
1967 (__get_avphys_pages): Likewise.
1968 * misc/getttyent.c (getttyent): Likewise.
1969 (setttyent): Likewise.
1970 (endttyent): Likewise.
1971 * misc/getusershell.c (getusershell): Likewise.
1972 (endusershell): Likewise.
1973 (setusershell): Likewise.
1974 (initshells): Likewise.
1975 * misc/hsearch.c (__hdestroy): Likewise.
1976 * misc/sync.c (sync): Likewise.
1977 * misc/syslog.c (closelog_internal): Likewise.
1978 (closelog): Likewise.
1979 * misc/ttyslot.c (ttyslot): Likewise.
1980 * misc/vhangup.c (vhangup): Likewise.
1981 * posix/fork.c (__fork): Likewise.
1982 * posix/getegid.c (__getegid): Likewise.
1983 * posix/geteuid.c (__geteuid): Likewise.
1984 * posix/getgid.c (__getgid): Likewise.
1985 * posix/getpid.c (__getpid): Likewise.
1986 * posix/getppid.c (__getppid): Likewise.
1987 * posix/getuid.c (__getuid): Likewise.
1988 * posix/pause.c (pause): Likewise.
1989 * posix/setpgrp.c (setpgrp): Likewise.
1990 * posix/setsid.c (__setsid): Likewise.
1991 * posix/test-vfork.c (noop): Likewise.
1992 * resolv/gethnamaddr.c (_endhtent): Likewise.
1993 (_gethtent): Likewise.
1994 (ht_endhostent): Likewise.
1995 (gethostent): Likewise.
1996 (dns_service): Likewise.
1997 * stdlib/drand48.c (drand48): Likewise.
1998 * stdlib/lrand48.c (lrand48): Likewise.
1999 * stdlib/mrand48.c (mrand48): Likewise.
2000 * stdlib/rand.c (rand): Likewise.
2001 * stdlib/random.c (__random): Likewise.
2002 * stdlib/setenv.c (clearenv): Likewise.
2003 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2004 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2005 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2006 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2007 (__get_nprocs): Likewise.
2008 (__get_phys_pages): Likewise.
2009 (__get_avphys_pages): Likewise.
2010 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2011 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2012 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2013 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2014 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2015 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2016 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2017 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2018 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2019 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2020 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2021 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2022 * sysdeps/posix/clock.c (clock): Likewise.
2023 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2024 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2025 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2026 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2027 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2028 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2029 (__get_nprocs_conf): Likewise.
2030 (__get_phys_pages): Likewise.
2031 (__get_avphys_pages): Likewise.
2032 * time/clock.c (clock): Likewise.
2033 * time/tzset.c (__tzname_max): Likewise.
2034
2e09a79a
JM
20352013-06-07 Joseph Myers <joseph@codesourcery.com>
2036
2037 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2038 (__bswap_32): Do not use "register".
2039 * crypt/crypt.c (_ufc_doit_r): Likewise.
2040 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2041 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2042 * gmon/gmon.c (__monstartup): Likewise.
2043 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2044 * hurd/hurdmalloc.c (more_memory): Likewise.
2045 (malloc): Likewise.
2046 (free): Likewise.
2047 (realloc): Likewise.
2048 (malloc_fork_prepare): Likewise.
2049 (malloc_fork_parent): Likewise.
2050 (malloc_fork_child): Likewise.
2051 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2052 (_svcauth_des): Likewise.
2053 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2054 * inet/inet_net.c (inet_network): Likewise.
2055 * inet/inet_netof.c (inet_netof): Likewise.
2056 * inet/rcmd.c (__validuser2_sa): Likewise.
2057 * io/fts.c (fts_open): Likewise.
2058 (fts_load): Likewise.
2059 (fts_close): Likewise.
2060 (fts_read): Likewise.
2061 (fts_children): Likewise.
2062 (fts_build): Likewise.
2063 (fts_stat): Likewise.
2064 (fts_sort): Likewise.
2065 (fts_alloc): Likewise.
2066 (fts_lfree): Likewise.
2067 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2068 (_IO_file_xsgetn): Likewise.
2069 (_IO_file_xsgetn_mmap): Likewise.
2070 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2071 (_IO_cookie_write): Likewise.
2072 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2073 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2074 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2075 * malloc/obstack.c (_obstack_begin): Likewise.
2076 (_obstack_begin_1): Likewise.
2077 (_obstack_newchunk): Likewise.
2078 (_obstack_allocated_p): Likewise.
2079 (obstack_free): Likewise.
2080 (_obstack_memory_used): Likewise.
2081 * misc/getttyent.c (getttynam): Likewise.
2082 (getttyent): Likewise.
2083 (skip): Likewise.
2084 (value): Likewise.
2085 * misc/getusershell.c (initshells): Likewise.
2086 * misc/syslog.c (__vsyslog_chk): Likewise.
2087 * misc/ttyslot.c (ttyslot): Likewise.
2088 * nis/nis_hash.c (__nis_hash): Likewise.
2089 * posix/fnmatch_loop.c (FCT): Likewise.
2090 * posix/getconf.c (print_all): Likewise.
2091 (main): Likewise.
2092 * posix/getopt.c (exchange): Likewise.
2093 * posix/glob.c (globfree): Likewise.
2094 (prefix_array): Likewise.
2095 (__glob_pattern_type): Likewise.
2096 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2097 (NS_GET32): Likewise.
2098 (NS_PUT16): Likewise.
2099 (NS_PUT32): Likewise.
2100 * resolv/gethnamaddr.c (getanswer): Likewise.
2101 (gethostbyname2): Likewise.
2102 (gethostbyaddr): Likewise.
2103 (_gethtent): Likewise.
2104 (_gethtbyname2): Likewise.
2105 (_gethtbyaddr): Likewise.
2106 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2107 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2108 * resolv/res_init.c (__res_vinit): Likewise.
2109 (net_mask): Likewise.
2110 * resolv/res_mkquery.c (outchar): Likewise.
2111 (PRINT): Likewise.
2112 * stdio-common/printf_fp.c (outchar): Likewise.
2113 (PRINT): Likewise.
2114 * stdio-common/printf_fphex.c (outchar): Likewise.
2115 (PRINT): Likewise.
2116 * stdio-common/printf_size.c (outchar): Likewise.
2117 (PRINT): Likewise.
2118 * stdio-common/test_rdwr.c (main): Likewise.
2119 * stdio-common/tfformat.c (matches): Likewise.
2120 * stdio-common/vfprintf.c (outchar): Likewise.
2121 (printf_unknown): Likewise.
2122 (buffered_vfprintf): Likewise.
2123 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2124 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2125 (ReadFile): Likewise.
2126 * stdlib/qsort.c (SWAP): Likewise.
2127 (_quicksort): Likewise.
2128 * stdlib/setenv.c (__add_to_environ): Likewise.
2129 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2130 * stdlib/strtol_l.c (__strtol_l): Likewise.
2131 * stdlib/tst-strtod.c (main): Likewise.
2132 * stdlib/tst-strtol.c (main): Likewise.
2133 * stdlib/tst-strtoll.c (main): Likewise.
2134 * string/bits/string2.h (__strcmp_cc): Likewise.
2135 (__strcmp_cg): Likewise.
2136 (__strcspn_c1): Likewise.
2137 (__strcspn_c2): Likewise.
2138 (__strcspn_c3): Likewise.
2139 (__strspn_c1): Likewise.
2140 (__strspn_c2): Likewise.
2141 (__strspn_c3): Likewise.
2142 (__strsep_1c): Likewise.
2143 (__strsep_2c): Likewise.
2144 (__strsep_3c): Likewise.
2145 * string/memccpy.c (__memccpy): Likewise.
2146 * string/stpcpy.c (__stpcpy): Likewise.
2147 * string/strcmp.c (strcmp): Likewise.
2148 * string/strrchr.c (strrchr): Likewise.
2149 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2150 Likewise.
2151 * sysdeps/mach/hurd/getcwd.c
2152 (_hurd_canonicalize_directory_name_internal): Likewise.
2153 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2154 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2155 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2156 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2157 Likewise, in both definitions.
2158 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2159 definitions.
2160 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2161 64] (__bswap_64): Likewise.
2162 * time/test_time.c (main): Likewise.
2163 * time/tzfile.c (__tzfile_read): Likewise.
2164 (__tzfile_compute): Likewise.
2165 * time/tzset.c (__tzset_parse_tz): Likewise.
2166 (tzset_internal): Likewise.
2167 (compute_change): Likewise.
2168 * wcsmbs/wcscat.c (__wcscat): Likewise.
2169 * wcsmbs/wcschr.c (wcschr): Likewise.
2170 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2171 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2172 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2173 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2174 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2175 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2176 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2177 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2178 * wcsmbs/wmemset.c (wmemset): Likewise.
2179
9e54314b
JM
21802013-06-06 Joseph Myers <joseph@codesourcery.com>
2181
2182 * scripts/config.guess: Update to version 2013-05-16.
2183 * scripts/config.sub: Update to version 2013-04-24.
2184 * scripts/install-sh: Update to version 2011-11-20.07.
2185 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2186 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2187
350635a5
OB
21882013-06-06 Ondřej Bílka <neleai@seznam.cz>
2189
2190 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2191 * elf/sln.c: Likewise.
2192 * hurd/hurd/ioctl.h: Likewise.
2193 * hurd/hurdmalloc.c: Likewise.
2194 * hurd/xattr.c: Likewise.
2195 * include/shlib-compat.h: Likewise.
2196 * inet/ruserpass.c: Likewise.
2197 * libio/iofgets_u.c: Likewise.
2198 * libio/iofgetws_u.c: Likewise.
2199 * locale/programs/ld-identification.c: Likewise.
2200 * locale/programs/ld-time.c: Likewise.
2201 * mach/msg-destroy.c: Likewise.
2202 * nss/nss_files/files-netgrp.c: Likewise.
2203 * resolv/res_data.c: Likewise.
2204 * soft-fp/op-1.h: Likewise.
2205 * soft-fp/op-2.h: Likewise.
2206 * soft-fp/op-4.h: Likewise.
2207 * soft-fp/op-common.h: Likewise.
2208 * stdio-common/printf_fphex.c: Likewise.
2209 * stdlib/strtod_l.c: Likewise.
2210 * sunrpc/rpc/clnt.h: Likewise.
2211 * sysdeps/generic/framestate.c: Likewise.
2212 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2213 * sysdeps/i386/bsd-setjmp.S: Likewise.
2214 * sysdeps/i386/__longjmp.S: Likewise.
2215 * sysdeps/i386/setjmp.S: Likewise.
2216 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2217 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2218 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2219 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2221 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2226 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2227 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2230 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2231 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2232 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2233 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2234 * sysdeps/ieee754/support.c: Likewise.
2235 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2236 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2237 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2238 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2239 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2240 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2241 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2242 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2243 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2244 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2245 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2246 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2247 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2248 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2249 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2250 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2251 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2253
44a988af
OB
22542013-06-05 Ondřej Bílka <neleai@seznam.cz>
2255
25506f09 2256 * posix/transbug.c: Remove executable mode.
44a988af 2257
9c84384c
JM
22582013-06-05 Joseph Myers <joseph@codesourcery.com>
2259
2260 * crypt/speeds.c: Remove trailing whitespace.
2261 * dlfcn/default.c: Likewise.
2262 * elf/ifuncdep2.c: Likewise.
2263 * elf/ifuncmain1.c: Likewise.
2264 * elf/ifuncmain1vis.c: Likewise.
2265 * elf/testobj.h: Likewise.
2266 * elf/tst-stackguard1.c: Likewise.
2267 * gmon/sys/gmon.h: Likewise.
2268 * hurd/hurdmsg.c: Likewise.
2269 * hurd/new-fd.c: Likewise.
2270 * hurd/ports-get.c: Likewise.
2271 * iconvdata/ibm1008_420.c: Likewise.
2272 * inet/tst-getni1.c: Likewise.
2273 * inet/tst-getni2.c: Likewise.
2274 * libio/ioungetc.c: Likewise.
2275 * libio/wfiledoalloc.c: Likewise.
2276 * manual/libm-err-tab.pl: Likewise.
2277 * math/w_dremf.c: Likewise.
2278 * misc/ftruncate.c: Likewise.
2279 * posix/bug-glob2.c: Likewise.
2280 * posix/tst-pcre.c: Likewise.
2281 * posix/wait4.c: Likewise.
2282 * resolv/README: Likewise.
2283 * resolv/res_debug.h: Likewise.
2284 * resolv/tst-inet_ntop.c: Likewise.
2285 * setjmp/bug269-setjmp.c: Likewise.
2286 * soft-fp/extended.h: Likewise.
2287 * soft-fp/op-1.h: Likewise.
2288 * soft-fp/op-2.h: Likewise.
2289 * soft-fp/op-4.h: Likewise.
2290 * soft-fp/op-8.h: Likewise.
2291 * soft-fp/testit.c: Likewise.
2292 * stdio-common/bug16.c: Likewise.
2293 * stdlib/random.c: Likewise.
2294 * sunrpc/rpcsvc/rquota.x: Likewise.
2295 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2296 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2297 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2298 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2299 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2300 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2301 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2302 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2303 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2304 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2305 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2306 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2307 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2311 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2312 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2313 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2314 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2322 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2324 * sysdeps/ieee754/s_lib_version.c: Likewise.
2325 * sysdeps/mach/hurd/check_fds.c: Likewise.
2326 * sysdeps/mach/hurd/getsockname.c: Likewise.
2327 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2328 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2329 * sysdeps/powerpc/bits/link.h: Likewise.
2330 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2331 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2332 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2333 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2334 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2335 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2336 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2337 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2338 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2339 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2340 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2341 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2342 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2343 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2344 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2345 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2346 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2347 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2348 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2349 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2350 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2351 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2352 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2353 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2354 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2355 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2356 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2357 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2358 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2359 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2360 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2361 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2363 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2364 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2365 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2366 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2367 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2368 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2369 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2370 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2371 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2372 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2373 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2374 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2375 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2376 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2377 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2378 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2379 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2380 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2382 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2383 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2384 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2385 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2386 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2387 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2388 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2389 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2390 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2392 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2393 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2394 * sysdeps/powerpc/sysdep.h: Likewise.
2395 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2396 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2397 * sysdeps/sh/dl-trampoline.S: Likewise.
2398 * sysdeps/sh/memset.S: Likewise.
2399 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2400 * sysdeps/sh/strlen.S: Likewise.
2401 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2402 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2403 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2404 * sysdeps/sparc/sparc32/rem.S: Likewise.
2405 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2406 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2407 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2408 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2409 * sysdeps/sparc/sparc32/urem.S: Likewise.
2410 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2411 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2412 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2413 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2414 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2415 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2416 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2417 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2418 * sysdeps/unix/bsd/times.c: Likewise.
2419 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2420 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2424 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2425 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2426 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2427 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2428 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2429 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2430 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2431 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2432 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2433 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2434 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2435 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2436 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2437 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2438 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2439 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2440 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2441 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2442 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2443 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2444 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2445 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2446 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2447 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2448 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2449 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2450 * sysdeps/x86_64/strcspn.S: Likewise.
2451
869378a5
RA
24522013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2453
2454 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2455 generated file. Regenerate properly from gen-translit.pl.
2456 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2457 locale/C-translit.h.
2458
840e2943
AS
24592013-06-05 Andreas Schwab <schwab@suse.de>
2460
2461 [BZ #15100]
2462 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2463 week as 6 instead of -1.
2464 * time/tst-strptime.c (day_tests): Add test case.
2465
4c60cb0c
SP
24662013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2467
2468 * sysdeps/generic/math_private.h
2469 (libc_feholdexcept_setround_53bit): Replace with
2470 libc_feholdsetround_53bit.
2471 (libc_feupdateenv_53bit): Replace with
2472 libc_feresetround_53bit.
2473 (SET_RESTORE_ROUND_53BIT): Adjust.
2474
d180203e
SP
24752013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2476
96df079a
SP
2477 * string/test-strchrnul.c: Add copyright header.
2478
d180203e
SP
2479 * posix/tst-getaddrinfo4.c: Increase test timeout.
2480
8b0ccb2d
CD
24812013-06-03 Carlos O'Donell <carlos@redhat.com>
2482
2483 [BZ #15536]
2484 * math/libm-test.inc (MAX_EXP): Remove
2485 (MIN_EXP): Define.
2486 (ulp): Use MIN_EXP - MANT_DIG.
2487 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2488
3b3c4d40
CD
24892013-05-31 Carlos O'Donell <carlos@redhat.com>
2490
2491 * po/be.po: Revert last change.
2492 * po/zh_CN.po: Likewise.
2493 * po/header.pot: Likewise.
2494
fab7ce3f
JM
24952013-05-31 Joseph Myers <joseph@codesourcery.com>
2496
2497 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2498 link-libc-deps to empty as target-specific variable.
2499 * Makerules (link-libc-args): New variable.
2500 (libc-for-link): Likewise.
2501 (link-libc-deps): Likewise.
2502 (lib%.so): Depend on $(link-libc-deps). Link with
2503 $(link-libc-args).
2504 (build-module): Link with $(link-libc-args).
2505 (build-module-asneeded): Likewise.
2506 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2507 list of objects.
2508 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2509 target-specific variable.
2510 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2511 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2512 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2513 libc.
2514 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2515 libc and ld.so.
2516 ($(objpfx)libpcprofile.so): Likewise.
2517 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2518 libc_nonshared.a.
2519 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2520 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2521 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2522 $(link-libc-deps).
2523 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2524 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2525 * login/Makefile ($(objpfx)libutil.so): Likewise.
2526 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2527 * math/Makefile ($(objpfx)libm.so): Likewise.
2528 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2529 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2530 variable instead of depending directly on libc.
2531 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2532 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2533 $(link-libc-deps).
2534 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2535 libc.
2536 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2537 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2538 ($(objpfx)libanl.so): Likewise.
2539 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2540 ld.so.
2541 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2542 $(link-libc-deps).
2543 * sysdeps/i386/fpu/Makefile: Remove file.
2544 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2545 ($(objpfx)libm.so): Remove dependency on ld.so.
2546
eca5920c
PF
25472013-05-30 Patsy Franklin <pfrankli@redhat.com>
2548
2549 [BZ # 15553]
2550 * nis/yp_xdr.c (XDRMAXNAME): Define.
2551 (XDRMAXRECORD): Define.
2552 (xdr_domainname): Use XDRMAXNAME.
2553 (xdr_mapname): Likewise.
2554 (xdr_peername): Likewise.
2555 (xdr_keydat): Use XDRMAXRECORD.
2556 (xdr_valdat): Likewise.
2557
25582013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2559
2560 [BZ #14256]
2561 * manual/errno.texi (ESTALE): Update to account for more than
2562 just NFS file systems.
2563 * sysdeps/gnu/errlist.c: Regenerated.
2564
b9375348
SP
25652013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2566
2567 [BZ #15465]
2568 * elf/Makefile (tests): Add tst-null-argv.
2569 (modules-names): Add tst-null-argv-lib.
2570 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2571 (tst-null-argv-ENV): Set environment for tst-null-argv.
2572 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2573 (RTLD_PROGNAME): New macro.
2574 * elf/tst-null-argv.c: New test case.
2575 * elf/tst-null-argv-lib.c: Library for test case.
2576 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2577 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2578 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2579 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2580 * elf/dl-init.c (call_init): Likewise.
2581 (_dl_init): Likewise.
2582 * elf/dl-load.c (print_search_path): Likewise.
2583 (_dl_map_object): Likewise.
2584 * elf/dl-lookup.c (do_lookup_x): Likewise.
2585 (add_dependency): Likewise.
2586 (_dl_lookup_symbol_x): Likewise.
2587 (_dl_debug_bindings): Likewise.
2588 * elf/dl-open.c (_dl_show_scope): Likewise.
2589 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2590 * elf/dl-version.c (match_symbol): Likewise.
2591 (_dl_check_map_versions): Likewise.
2592 * elf/rtld.c (dl_main): Likewise.
2593 (print_unresolved): Use RTLD_PROGNAME.
2594 (print_missing_version): Likewise.
2595 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2596 (elf_machine_rela): Likewise.
2597 * sysdeps/powerpc/powerpc32/dl-machine.c
2598 (__process_machine_rela): Likewise.
2599 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2600 Likewise.
2601 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2602 Likewise.
2603 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2604 Likewise.
2605 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2607 Likewise.
2608 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2609 Likewise.
2610 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2611
8a9f20c8
CD
26122013-05-28 Carlos O'Donell <carlos@redhat.com>
2613
2614 * po/be.po: Add descriptive title.
2615 * po/zh_CN.po: Likewise.
2616 * po/header.pot: Likewise.
2617
0e60d68e
MF
26182013-05-28 Mike Frysinger <vapier@gentoo.org>
2619
2620 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2621 error message.
2622 (enlarge_archive): Likewise.
2623
56b672e9
BN
26242013-05-28 Ben North <ben@redfrontdoor.org>
2625
2626 * manual/arith.texi (frexp): It is the magnitude of the return
2627 value which lies in [0.5, 1), not the return value itself.
2628
5e056687
AZ
26292013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2630
2631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2632
2b66ef5d
TS
26332013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2634
528c2405
TS
2635 * stdio-common/bug26.c (main): Correct fscanf template.
2636
07b4c13d
TS
2637 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2638 declare _dl_skip_args.
2639
ec9dd97c
TS
2640 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2641 Don't declare.
2642
2b66ef5d
TS
2643 * manual/platform.texi: Add missing @end deftypefun.
2644
4f8dfe27
JM
26452013-05-24 Joseph Myers <joseph@codesourcery.com>
2646
0323d086
JM
2647 [BZ #15529]
2648 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2649 bit of mantissa of 2^16382.
2650 * math/libm-test.inc (hypot_test_data): Add more tests.
2651
dd4259b9
JM
2652 * math/libm-test.inc: Add drem and pow10 to list of tested
2653 functions.
2654 (pow10_test): New function.
2655 (drem_test): Likewise.
2656 (drem_test_tonearest): Likewise.
2657 (drem_test_towardzero): Likewise.
2658 (drem_test_downward): Likewise.
2659 (drem_test_upward): Likewise.
2660 (main): Call the new functions.
2661
4f8dfe27
JM
2662 * math/libm-test.inc (finite_test_data): Remove.
2663 (finite_test): Run tests from isfinite_test_data.
2664 (gamma_test_data): Remove.
2665 (gamma_test): Run tests from lgamma_test_data.
2666 * sysdeps/i386/fpu/libm-test-ulps: Update.
2667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2668
d116b7c4
AZ
26692013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2670
2671 * manual/platform.texi: Add PowerPC PPR function set documentation.
2672 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2673 implementation.
2674
e96e3767
CD
26752013-05-24 Carlos O'Donell <carlos@redhat.com>
2676
2677 * math/libm-test.inc (MAX_EXP): Define.
2678 (ULPDIFF): Define.
2679 (ulp): New function.
2680 (check_float_internal): Use ULPDIFF.
2681 (cpow_test): Disable failing test.
2682 (check_ulp): Test ulp() implemetnation.
2683 (main): Call check_ulp before starting tests.
2684
b679a606
JM
26852013-05-24 Joseph Myers <joseph@codesourcery.com>
2686
e8bdba36
JM
2687 * math/gen-libm-test.pl (generate_testfile): Do not handle
2688 START_DATA and END_DATA.
2689 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2690 END_DATA.
2691 (acos_tonearest_test_data): Likewise.
2692 (acos_towardzero_test_data): Likewise.
2693 (acos_downward_test_data): Likewise.
2694 (acos_upward_test_data): Likewise.
2695 (acosh_test_data): Likewise.
2696 (asin_test_data): Likewise.
2697 (asin_tonearest_test_data): Likewise.
2698 (asin_towardzero_test_data): Likewise.
2699 (asin_downward_test_data): Likewise.
2700 (asin_upward_test_data): Likewise.
2701 (asinh_test_data): Likewise.
2702 (atan_test_data): Likewise.
2703 (atanh_test_data): Likewise.
2704 (atan2_test_data): Likewise.
2705 (cabs_test_data): Likewise.
2706 (cacos_test_data): Likewise.
2707 (cacosh_test_data): Likewise.
2708 (carg_test_data): Likewise.
2709 (casin_test_data): Likewise.
2710 (casinh_test_data): Likewise.
2711 (catan_test_data): Likewise.
2712 (catanh_test_data): Likewise.
2713 (cbrt_test_data): Likewise.
2714 (ccos_test_data): Likewise.
2715 (ccosh_test_data): Likewise.
2716 (ceil_test_data): Likewise.
2717 (cexp_test_data): Likewise.
2718 (cimag_test_data): Likewise.
2719 (clog_test_data): Likewise.
2720 (clog10_test_data): Likewise.
2721 (conj_test_data): Likewise.
2722 (copysign_test_data): Likewise.
2723 (cos_test_data): Likewise.
2724 (cos_tonearest_test_data): Likewise.
2725 (cos_towardzero_test_data): Likewise.
2726 (cos_downward_test_data): Likewise.
2727 (cos_upward_test_data): Likewise.
2728 (cosh_test_data): Likewise.
2729 (cosh_tonearest_test_data): Likewise.
2730 (cosh_towardzero_test_data): Likewise.
2731 (cosh_downward_test_data): Likewise.
2732 (cosh_upward_test_data): Likewise.
2733 (cpow_test_data): Likewise.
2734 (cproj_test_data): Likewise.
2735 (creal_test_data): Likewise.
2736 (csin_test_data): Likewise.
2737 (csinh_test_data): Likewise.
2738 (csqrt_test_data): Likewise.
2739 (ctan_test_data): Likewise.
2740 (ctan_tonearest_test_data): Likewise.
2741 (ctan_towardzero_test_data): Likewise.
2742 (ctan_downward_test_data): Likewise.
2743 (ctan_upward_test_data): Likewise.
2744 (ctanh_test_data): Likewise.
2745 (ctanh_tonearest_test_data): Likewise.
2746 (ctanh_towardzero_test_data): Likewise.
2747 (ctanh_downward_test_data): Likewise.
2748 (ctanh_upward_test_data): Likewise.
2749 (erf_test_data): Likewise.
2750 (erfc_test_data): Likewise.
2751 (exp_test_data): Likewise.
2752 (exp_tonearest_test_data): Likewise.
2753 (exp_towardzero_test_data): Likewise.
2754 (exp_downward_test_data): Likewise.
2755 (exp_upward_test_data): Likewise.
2756 (exp10_test_data): Likewise.
2757 (exp2_test_data): Likewise.
2758 (expm1_test_data): Likewise.
2759 (fabs_test_data): Likewise.
2760 (fdim_test_data): Likewise.
2761 (finite_test_data): Likewise.
2762 (floor_test_data): Likewise.
2763 (fma_test_data): Likewise.
2764 (fma_towardzero_test_data): Likewise.
2765 (fma_downward_test_data): Likewise.
2766 (fma_upward_test_data): Likewise.
2767 (fmax_test_data): Likewise.
2768 (fmin_test_data): Likewise.
2769 (fmod_test_data): Likewise.
2770 (fpclassify_test_data): Likewise.
2771 (frexp_test_data): Likewise.
2772 (gamma_test_data): Likewise.
2773 (hypot_test_data): Likewise.
2774 (ilogb_test_data): Likewise.
2775 (isfinite_test_data): Likewise.
2776 (isgreater_test_data): Likewise.
2777 (isgreaterequal_test_data): Likewise.
2778 (isinf_test_data): Likewise.
2779 (isless_test_data): Likewise.
2780 (islessequal_test_data): Likewise.
2781 (islessgreater_test_data): Likewise.
2782 (isnan_test_data): Likewise.
2783 (isnormal_test_data): Likewise.
2784 (issignaling_test_data): Likewise.
2785 (isunordered_test_data): Likewise.
2786 (j0_test_data): Likewise.
2787 (j1_test_data): Likewise.
2788 (jn_test_data): Likewise.
2789 (ldexp_test_data): Likewise.
2790 (lgamma_test_data): Likewise.
2791 (lrint_test_data): Likewise.
2792 (lrint_tonearest_test_data): Likewise.
2793 (lrint_towardzero_test_data): Likewise.
2794 (lrint_downward_test_data): Likewise.
2795 (lrint_upward_test_data): Likewise.
2796 (llrint_test_data): Likewise.
2797 (llrint_tonearest_test_data): Likewise.
2798 (llrint_towardzero_test_data): Likewise.
2799 (llrint_downward_test_data): Likewise.
2800 (llrint_upward_test_data): Likewise.
2801 (log_test_data): Likewise.
2802 (log10_test_data): Likewise.
2803 (log1p_test_data): Likewise.
2804 (log2_test_data): Likewise.
2805 (logb_test_data): Likewise.
2806 (logb_downward_test_data): Likewise.
2807 (lround_test_data): Likewise.
2808 (llround_test_data): Likewise.
2809 (modf_test_data): Likewise.
2810 (nearbyint_test_data): Likewise.
2811 (nextafter_test_data): Likewise.
2812 (nexttoward_test_data): Likewise.
2813 (pow_test_data): Likewise.
2814 (pow_tonearest_test_data): Likewise.
2815 (pow_towardzero_test_data): Likewise.
2816 (pow_downward_test_data): Likewise.
2817 (pow_upward_test_data): Likewise.
2818 (remainder_test_data): Likewise.
2819 (remainder_tonearest_test_data): Likewise.
2820 (remainder_towardzero_test_data): Likewise.
2821 (remainder_downward_test_data): Likewise.
2822 (remainder_upward_test_data): Likewise.
2823 (remquo_test_data): Likewise.
2824 (rint_test_data): Likewise.
2825 (rint_tonearest_test_data): Likewise.
2826 (rint_towardzero_test_data): Likewise.
2827 (rint_downward_test_data): Likewise.
2828 (rint_upward_test_data): Likewise.
2829 (round_test_data): Likewise.
2830 (scalb_test_data): Likewise.
2831 (scalbn_test_data): Likewise.
2832 (scalbln_test_data): Likewise.
2833 (signbit_test_data): Likewise.
2834 (sin_test_data): Likewise.
2835 (sin_tonearest_test_data): Likewise.
2836 (sin_towardzero_test_data): Likewise.
2837 (sin_downward_test_data): Likewise.
2838 (sin_upward_test_data): Likewise.
2839 (sincos_test_data): Likewise.
2840 (sinh_test_data): Likewise.
2841 (sinh_tonearest_test_data): Likewise.
2842 (sinh_towardzero_test_data): Likewise.
2843 (sinh_downward_test_data): Likewise.
2844 (sinh_upward_test_data): Likewise.
2845 (sqrt_test_data): Likewise.
2846 (tan_test_data): Likewise.
2847 (tan_tonearest_test_data): Likewise.
2848 (tan_towardzero_test_data): Likewise.
2849 (tan_downward_test_data): Likewise.
2850 (tan_upward_test_data): Likewise.
2851 (tanh_test_data): Likewise.
2852 (tgamma_test_data): Likewise.
2853 (trunc_test_data): Likewise.
2854 (y0_test_data): Likewise.
2855 (y1_test_data): Likewise.
2856 (yn_test_data): Likewise.
2857 (significand_test_data): Likewise.
2858
b679a606
JM
2859 * math/gen-libm-test.pl (@functions): Remove variable.
2860 (generate_testfile): Don't handle START and END lines.
2861 * math/libm-test.inc (START): New macro.
2862 (END): Likewise.
2863 (END_COMPLEX): Likewise.
2864 (acos_test): Use END macro without arguments.
2865 (acos_test_tonearest): Likewise.
2866 (acos_test_towardzero): Likewise.
2867 (acos_test_downward): Likewise.
2868 (acos_test_upward): Likewise.
2869 (acosh_test): Likewise.
2870 (asin_test): Likewise.
2871 (asin_test_tonearest): Likewise.
2872 (asin_test_towardzero): Likewise.
2873 (asin_test_downward): Likewise.
2874 (asin_test_upward): Likewise.
2875 (asinh_test): Likewise.
2876 (atan_test): Likewise.
2877 (atanh_test): Likewise.
2878 (atan2_test): Likewise.
2879 (cabs_test): Likewise.
2880 (cacos_test): Use END_COMPLEX macro without arguments.
2881 (cacosh_test): Likewise.
2882 (carg_test): Use END macro without arguments.
2883 (casin_test): Use END_COMPLEX macro without arguments.
2884 (casinh_test): Likewise.
2885 (catan_test): Likewise.
2886 (catanh_test): Likewise.
2887 (cbrt_test): Use END macro without arguments.
2888 (ccos_test): Use END_COMPLEX macro without arguments.
2889 (ccosh_test): Likewise.
2890 (ceil_test): Use END macro without arguments.
2891 (cexp_test): Use END_COMPLEX macro without arguments.
2892 (cimag_test): Use END macro without arguments.
2893 (clog_test): Use END_COMPLEX macro without arguments.
2894 (clog10_test): Likewise.
2895 (conj_test): Likewise.
2896 (copysign_test): Use END macro without arguments.
2897 (cos_test): Likewise.
2898 (cos_test_tonearest): Likewise.
2899 (cos_test_towardzero): Likewise.
2900 (cos_test_downward): Likewise.
2901 (cos_test_upward): Likewise.
2902 (cosh_test): Likewise.
2903 (cosh_test_tonearest): Likewise.
2904 (cosh_test_towardzero): Likewise.
2905 (cosh_test_downward): Likewise.
2906 (cosh_test_upward): Likewise.
2907 (cpow_test): Use END_COMPLEX macro without arguments.
2908 (cproj_test): Likewise.
2909 (creal_test): Use END macro without arguments.
2910 (csin_test): Use END_COMPLEX macro without arguments.
2911 (csinh_test): Likewise.
2912 (csqrt_test): Likewise.
2913 (ctan_test): Likewise.
2914 (ctan_test_tonearest): Likewise.
2915 (ctan_test_towardzero): Likewise.
2916 (ctan_test_downward): Likewise.
2917 (ctan_test_upward): Likewise.
2918 (ctanh_test): Likewise.
2919 (ctanh_test_tonearest): Likewise.
2920 (ctanh_test_towardzero): Likewise.
2921 (ctanh_test_downward): Likewise.
2922 (ctanh_test_upward): Likewise.
2923 (erf_test): Use END macro without arguments.
2924 (erfc_test): Likewise.
2925 (exp_test): Likewise.
2926 (exp_test_tonearest): Likewise.
2927 (exp_test_towardzero): Likewise.
2928 (exp_test_downward): Likewise.
2929 (exp_test_upward): Likewise.
2930 (exp10_test): Likewise.
2931 (exp2_test): Likewise.
2932 (expm1_test): Likewise.
2933 (fabs_test): Likewise.
2934 (fdim_test): Likewise.
2935 (finite_test): Likewise.
2936 (floor_test): Likewise.
2937 (fma_test): Likewise.
2938 (fma_test_towardzero): Likewise.
2939 (fma_test_downward): Likewise.
2940 (fma_test_upward): Likewise.
2941 (fmax_test): Likewise.
2942 (fmin_test): Likewise.
2943 (fmod_test): Likewise.
2944 (fpclassify_test): Likewise.
2945 (frexp_test): Likewise.
2946 (gamma_test): Likewise.
2947 (hypot_test): Likewise.
2948 (ilogb_test): Likewise.
2949 (isfinite_test): Likewise.
2950 (isgreater_test): Likewise.
2951 (isgreaterequal_test): Likewise.
2952 (isinf_test): Likewise.
2953 (isless_test): Likewise.
2954 (islessequal_test): Likewise.
2955 (islessgreater_test): Likewise.
2956 (isnan_test): Likewise.
2957 (isnormal_test): Likewise.
2958 (issignaling_test): Likewise.
2959 (isunordered_test): Likewise.
2960 (j0_test): Likewise.
2961 (j1_test): Likewise.
2962 (jn_test): Likewise.
2963 (ldexp_test): Likewise.
2964 (lgamma_test): Likewise.
2965 (lrint_test): Likewise.
2966 (lrint_test_tonearest): Likewise.
2967 (lrint_test_towardzero): Likewise.
2968 (lrint_test_downward): Likewise.
2969 (lrint_test_upward): Likewise.
2970 (llrint_test): Likewise.
2971 (llrint_test_tonearest): Likewise.
2972 (llrint_test_towardzero): Likewise.
2973 (llrint_test_downward): Likewise.
2974 (llrint_test_upward): Likewise.
2975 (log_test): Likewise.
2976 (log10_test): Likewise.
2977 (log1p_test): Likewise.
2978 (log2_test): Likewise.
2979 (logb_test): Likewise.
2980 (logb_test_downward): Likewise.
2981 (lround_test): Likewise.
2982 (llround_test): Likewise.
2983 (modf_test): Likewise.
2984 (nearbyint_test): Likewise.
2985 (nextafter_test): Likewise.
2986 (nexttoward_test): Likewise.
2987 (pow_test): Likewise.
2988 (pow_test_tonearest): Likewise.
2989 (pow_test_towardzero): Likewise.
2990 (pow_test_downward): Likewise.
2991 (pow_test_upward): Likewise.
2992 (remainder_test): Likewise.
2993 (remainder_test_tonearest): Likewise.
2994 (remainder_test_towardzero): Likewise.
2995 (remainder_test_downward): Likewise.
2996 (remainder_test_upward): Likewise.
2997 (remquo_test): Likewise.
2998 (rint_test): Likewise.
2999 (rint_test_tonearest): Likewise.
3000 (rint_test_towardzero): Likewise.
3001 (rint_test_downward): Likewise.
3002 (rint_test_upward): Likewise.
3003 (round_test): Likewise.
3004 (scalb_test): Likewise.
3005 (scalbn_test): Likewise.
3006 (scalbln_test): Likewise.
3007 (signbit_test): Likewise.
3008 (sin_test): Likewise.
3009 (sin_test_tonearest): Likewise.
3010 (sin_test_towardzero): Likewise.
3011 (sin_test_downward): Likewise.
3012 (sin_test_upward): Likewise.
3013 (sincos_test): Likewise.
3014 (sinh_test): Likewise.
3015 (sinh_test_tonearest): Likewise.
3016 (sinh_test_towardzero): Likewise.
3017 (sinh_test_downward): Likewise.
3018 (sinh_test_upward): Likewise.
3019 (sqrt_test): Likewise.
3020 (tan_test): Likewise.
3021 (tan_test_tonearest): Likewise.
3022 (tan_test_towardzero): Likewise.
3023 (tan_test_downward): Likewise.
3024 (tan_test_upward): Likewise.
3025 (tanh_test): Likewise.
3026 (tgamma_test): Likewise.
3027 (trunc_test): Likewise.
3028 (y0_test): Likewise.
3029 (y1_test): Likewise.
3030 (yn_test): Likewise.
3031 (significand_test): Likewise.
3032
bae143d2
OB
30332013-05-24 Ondřej Bílka <neleai@seznam.cz>
3034
3035 [BZ #15381]
3036 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3037
9323d39b
EM
30382013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3039
d4ea44a0 3040 [BZ #14894]
9323d39b
EM
3041 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3042 __ppc_mdoio and __ppc_mdoom.
3043 * manual/platform.texi: Document new functions __ppc_yield,
3044 __ppc_mdoio and __ppc_mdoom.
3045
13e23af7
CD
30462013-05-22 Carlos O'Donell <carlos@redhat.com>
3047
3048 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3049 (main): Mention "tls" pseudo-hwcap is legacy.
3050 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3051
351fe550
JM
30522013-05-22 Joseph Myers <joseph@codesourcery.com>
3053
3054 * math/gen-libm-test.pl (parse_args): Output only string of
3055 arguments as text for test name, not full call or descriptions of
3056 tests for extra outputs.
3057 (generate_testfile): Do not pass function name to parse_args.
3058 Generate this_func variable from START.
3059 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3060 field to arg_str.
3061 (struct test_ff_f_data): Likewise.
3062 (test_ff_f_data_nexttoward): Likewise.
3063 (struct test_fi_f_data): Likewise.
3064 (struct test_fl_f_data): Likewise.
3065 (struct test_if_f_data): Likewise.
3066 (struct test_fff_f_data): Likewise.
3067 (struct test_c_f_data): Likewise.
3068 (struct test_f_f1_data): Likewise. Remove field extra_name.
3069 (struct test_fF_f1_data): Likewise.
3070 (struct test_ffI_f1_data): Likewise.
3071 (struct test_c_c_data): Rename test_name field to arg_str.
3072 (struct test_cc_c_data): Likewise.
3073 (struct test_f_i_data): Likewise.
3074 (struct test_ff_i_data): Likewise.
3075 (struct test_f_l_data): Likewise.
3076 (struct test_f_L_data): Likewise.
3077 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3078 and extra2_name.
3079 (COMMON_TEST_SETUP): New macro.
3080 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3081 (COMMON_TEST_CLEANUP): Likewise.
3082 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3083 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3084 macros.
3085 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3086 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3087 macros.
3088 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3089 (RUN_TEST_fff_f): Take argument string. Call new setup and
3090 cleanup macros.
3091 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3092 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3093 macros.
3094 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3095 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3096 macros.
3097 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3098 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3099 cleanup macros.
3100 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3101 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3102 cleanup macros.
3103 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3104 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3105 cleanup macros.
3106 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3107 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3108 macros.
3109 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3110 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3111 macros.
3112 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3113 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3114 macros.
3115 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3116 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3117 cleanup macros.
3118 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3119 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3120 cleanup macros.
3121 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3122 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3123 macros.
3124 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3125 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3126 cleanup macros.
3127 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3128 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3129 macros.
3130 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3131 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3132 macros.
3133 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3134 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3135 cleanup macros.
3136 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3137
85118d4d
EBM
31382013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3139
3140 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3141 to _sifields.sigfault.
3142 (si_addr_lsb): Define new macro.
3143 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3144 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3145 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3146
7a44c18f
CD
31472013-05-03 Carlos O'Donell <carlos at redhat.com>
3148
3149 [BZ #15441]
3150 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3151 returns -1.
3152 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3153 null return -1.
3154 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3155 loading the domain.
3156
b50a7181
JM
31572013-05-22 Joseph Myers <joseph@codesourcery.com>
3158
3159 * math/gen-libm-test.pl (parse_args): Do not include expected
3160 result in test name.
3161 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3162 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3163 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3164 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3165 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3167
051063c8
SP
31682013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3169
3ce9e010
SP
3170 * benchtests/Makefile: Sort function entries.
3171
051063c8
SP
3172 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3173 tanh, asinh, acosh, atanh.
3174 * benchtests/acos-inputs: New file.
3175 * benchtests/acosh-inputs: New file.
3176 * benchtests/asin-inputs: New file.
3177 * benchtests/asinh-inputs: New file.
3178 * benchtests/atanh-inputs: New file.
3179 * benchtests/cosh-inputs: New file.
3180 * benchtests/log-inputs: New file.
3181 * benchtests/sinh-inputs: New file.
3182 * benchtests/tanh-inputs: New file.
3183
47c22455
DL
31842013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3185
3186 [BZ #15339]
3187 * posix/tst-getaddrinfo4.c: New test.
3188 * posix/Makefile (tests): Add it.
3189
3d04f5db
SP
31902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3191
3192 [BZ #15339]
3193 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3194 when no services were used.
3195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3196 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3197
d5dd6189
AS
31982013-05-21 Andreas Schwab <schwab@suse.de>
3199
3200 [BZ #15014]
3201 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3202 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3203 successful.
3204 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3205 redundant variable declarations and reallocation of buffer when
3206 parsing as IPv6 address. Always set NSS status when called from
3207 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3208 buffer too small. Correct computation of needed size.
3209 * nss/Makefile (tests): Add test-digits-dots.
3210 * nss/test-digits-dots.c: New test.
3211
fef94eab
SP
32122013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3213
3214 * benchtests/Makefile: Remove instructions for adding
3215 benchmark tests.
3216 * benchtests/README: New file to explain how to execute and
3217 enhance the benchmark tests.
3218
e39adf43
AS
32192013-05-21 Andreas Schwab <schwab@suse.de>
3220
3221 [BZ #15493]
3222 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3223 * setjmp/tst-sigsetjmp.c: New test.
3224
b2b671b6
OB
32252013-05-20 Ondřej Bílka <neleai@seznam.cz>
3226
3227 * sysdeps/x86_64/memset.S (memset): New implementation.
3228 (__bzero): Likewise.
3229 (__memset_tail): New function.
3230
2d48b41c
OB
32312013-05-20 Ondřej Bílka <neleai@seznam.cz>
3232
3233 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3234 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3235 __memcpy_sse2_unaligned ifunc selection.
3236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3237 Add memcpy-sse2-unaligned.S.
3238 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3239 Add: __memcpy_sse2_unaligned.
3240
f16cc3eb
JM
32412013-05-19 Joseph Myers <joseph@codesourcery.com>
3242
3e694268
JM
3243 [BZ #15490]
3244 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3245 math_force_eval before restoring floating-point envrionment.
3246 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3247 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3248 Likewise.
3249 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3250 <math_private.h>.
3251 (__nearbyintl): Use math_force_eval before restoring
3252 floating-point environment.
3253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3254
db62a907
JM
3255 * math/gen-libm-test.pl (special_functions): Remove.
3256 (parse_args): Don't handle TEST_extra. Handle functions with no
3257 return value.
3258 * math/libm-test.inc (struct test_sincos_data): Replace with
3259 struct test_fFF_11_data.
3260 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3261 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3262 (sincos_test_data): Change element type to struct
3263 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3264 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3265 RUN_TEST_LOOP_sincos.
3266 * math/README.libm-test: Don't mention special handling of
3267 individual functions.
3268 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3269 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3270 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3271 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3272 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3274
f16cc3eb
JM
3275 * math/gen-libm-test.pl (get_variable): Remove function.
3276 (parse_args): Don't show pointer parameters to call in test
3277 names. Use "extra output N" in test names for extra outputs
3278 rather than naming variables.
3279
3779b5b6
JM
32802013-05-18 Joseph Myers <joseph@codesourcery.com>
3281
2ee094ff
JM
3282 [BZ #15488]
3283 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3284 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3285 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3286 double tests.
3287 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3288 disable.
3289 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3290 check_long_double.
3291
3779b5b6
JM
3292 * math/gen-libm-test.pl (@tests): Remove variable.
3293 ($count): Likewise.
3294 (new_test): Remove function.
3295 (show_exceptions): New function.
3296 (special_functions): Use show_exceptions instead of new_test.
3297 (parse_args): Likewise.
3298 (generate_testfile): Pass only function name in generated call to
3299 print_max_error or print_complex_max_error.
3300 (get_ulps): Do not handle complex tests specially.
3301 (output_test): Rename to ...
3302 (get_all_ulps_for_test): ... this. Return a string rather than
3303 printing to a file. Require ulps to be present.
3304 (output_ulps): Generate arrays rather than #defines.
3305 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3306 (struct ulp_data): New type.
3307 (BUILD_COMPLEX_ULP): Remove macro.
3308 (compare_ulp_data): New function.
3309 (find_ulps): Likewise.
3310 (find_test_ulps): Likewise.
3311 (find_function_ulps): Likewise.
3312 (find_complex_function_ulps): Likewise.
3313 (print_max_error): Determine allowed ulps using
3314 find_function_ulps.
3315 (print_complex_max_error): Determine allowed ulps using
3316 find_complex_function_ulps.
3317 (check_float_internal): Determine max ulps using find_test_ulps.
3318 (check_float): Do not take max_ulp parameter. Update call to
3319 check_float_internal.
3320 (check_complex): Likewise.
3321 (check_int): Do not take max_ulp parameter.
3322 (check_long): Likewise.
3323 (check_bool): Likewise.
3324 (check_longlong): Likewise.
3325 (struct test_f_f_data): Remove max_ulp field.
3326 (struct test_ff_f_data): Likewise.
3327 (struct test_ff_f_data_nexttoward): Likewise.
3328 (struct test_fi_f_data): Likewise.
3329 (struct test_fl_f_data): Likewise.
3330 (struct test_if_f_data): Likewise.
3331 (struct test_fff_f_data): Likewise.
3332 (struct test_c_f_data): Likewise.
3333 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3334 (struct test_fF_f1_data): Likewise.
3335 (struct test_ffI_f1_data): Likewise.
3336 (struct test_c_c_data): Remove max_ulp field.
3337 (struct test_cc_c_data): Likewise.
3338 (struct test_f_i_data): Likewise.
3339 (struct test_ff_i_data): Likewise.
3340 (struct test_f_l_data): Likewise.
3341 (struct test_f_L_data): Likewise.
3342 (struct test_sincos_data): Likewise.
3343 (RUN_TEST_f_f): Do not handle ulps.
3344 (RUN_TEST_LOOP_f_f): Likewise.
3345 (RUN_TEST_2_f): Likewise.
3346 (RUN_TEST_LOOP_2_f): Likewise.
3347 (RUN_TEST_fff_f): Likewise.
3348 (RUN_TEST_LOOP_fff_f): Likewise.
3349 (RUN_TEST_c_f): Likewise.
3350 (RUN_TEST_LOOP_c_f): Likewise.
3351 (RUN_TEST_f_f1): Likewise.
3352 (RUN_TEST_LOOP_f_f1): Likewise.
3353 (RUN_TEST_fF_f1): Likewise.
3354 (RUN_TEST_LOOP_fF_f1): Likewise.
3355 (RUN_TEST_fI_f1): Likewise.
3356 (RUN_TEST_LOOP_fI_f1): Likewise.
3357 (RUN_TEST_ffI_f1): Likewise.
3358 (RUN_TEST_LOOP_ffI_f1): Likewise.
3359 (RUN_TEST_c_c): Likewise.
3360 (RUN_TEST_LOOP_c_c): Likewise.
3361 (RUN_TEST_cc_c): Likewise.
3362 (RUN_TEST_LOOP_cc_c): Likewise.
3363 (RUN_TEST_f_i): Likewise.
3364 (RUN_TEST_LOOP_f_i): Likewise.
3365 (RUN_TEST_f_i_tg): Likewise.
3366 (RUN_TEST_LOOP_f_i_tg): Likewise.
3367 (RUN_TEST_ff_i_tg): Likewise.
3368 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3369 (RUN_TEST_f_b): Likewise.
3370 (RUN_TEST_LOOP_f_b): Likewise.
3371 (RUN_TEST_f_b_tg): Likewise.
3372 (RUN_TEST_LOOP_f_b_tg): Likewise.
3373 (RUN_TEST_f_l): Likewise.
3374 (RUN_TEST_LOOP_f_l): Likewise.
3375 (RUN_TEST_f_L): Likewise.
3376 (RUN_TEST_LOOP_f_L): Likewise.
3377 (RUN_TEST_sincos): Likewise.
3378 (RUN_TEST_LOOP_sincos): Likewise.
3379
8269107f
JM
33802013-05-17 Joseph Myers <joseph@codesourcery.com>
3381
bb38759d
JM
3382 [BZ #15480]
3383 [BZ #15485]
3384 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3385 main case of finite arguments, set rounding mode to FE_TONEAREST
3386 and discard exceptions.
3387 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3388 exceptions.
3389 (remainder_tonearest_test_data): New variable.
3390 (remainder_test_tonearest): New function.
3391 (remainder_towardzero_test_data): New variable.
3392 (remainder_test_towardzero): New function.
3393 (remainder_downward_test_data): New variable.
3394 (remainder_test_downward): New function.
3395 (remainder_upward_test_data): New variable.
3396 (remainder_test_upward): New function.
3397 (main): Call the new test functions.
3398
a00bdcf0
JM
3399 * math/libm-test.inc (struct test_f_f1_data): Remove field
3400 extra_init.
3401 (struct test_fF_f1_data): Likewise.
3402 (struct test_ffI_f1_data): Likewise.
3403 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3404 based on value of EXTRA_EXPECTED.
3405 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3406 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3407 EXTRA_VAR based on value of EXTRA_EXPECTED.
3408 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3409 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3410 EXTRA_VAR based on value of EXTRA_EXPECTED.
3411 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3412 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3413 EXTRA_VAR based on value of EXTRA_EXPECTED.
3414 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3415 * math/gen-libm-test.pl (parse_args): Don't output initializers
3416 for extra output values.
3417
de407f79
JM
3418 * math/libm-test.inc (check_int): Expect result to be exactly
3419 equal to expected value and do not handle ulps.
3420 (check_long): Likewise.
3421 (check_longlong): Likewise.
3422
8269107f
JM
3423 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3424 exceptions.
3425 (cimag_test_data): Likewise.
3426 (conj_test_data): Likewise.
3427 (copysign_test_data): Likewise.
3428 (cproj_test_data): Likewise.
3429 (creal_test_data): Likewise.
3430 (fabs_test_data): Likewise.
3431 (fdim_test_data): Likewise.
3432 (finite_test_data): Likewise.
3433 (floor_test_data): Likewise.
3434 (fmax_test_data): Likewise.
3435 (fmin_test_data): Likewise.
3436 (fmod_test_data): Likewise.
3437 (fpclassify_test_data): Likewise.
3438 (frexp_test_data): Likewise.
3439 (ilogb_test_data): Likewise.
3440 (isfinite_test_data): Likewise.
3441 (isgreater_test_data): Likewise.
3442 (isgreaterequal_test_data): Likewise.
3443 (isinf_test_data): Likewise.
3444 (isless_test_data): Likewise.
3445 (islessequal_test_data): Likewise.
3446 (islessgreater_test_data): Likewise.
3447 (isnan_test_data): Likewise.
3448 (isnormal_test_data): Likewise.
3449 (issignaling_test_data): Likewise.
3450 (isunordered_test_data): Likewise.
3451 (ldexp_test_data): Likewise.
3452 (lrint_test_data): Likewise.
3453 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3454 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3455 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3456 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3457 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3458 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3459 test input.
3460 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3461 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3462 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3463 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3464 that test input.
3465 (lrint_downward_test_data): Test for "inexact" exceptions.
3466 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3467 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3468 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3469 test input.
3470 (lrint_upward_test_data): Test for "inexact" exceptions.
3471 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3472 test input.
3473 (llrint_test_data): Test for "inexact" exceptions.
3474 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3475 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3476 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3477 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3478 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3479 (llrint_downward_test_data): Test for "inexact" exceptions.
3480 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3481 (llrint_upward_test_data): Test for "inexact" exceptions.
3482 (logb_test_data): Likewise.
3483 (logb_downward_test_data): Likewise.
3484 (nextafter_test_data): Likewise.
3485 (nexttoward_test_data): Likewise.
3486 (remainder_test_data): Likewise.
3487 (remquo_test_data): Likewise.
3488 (scalbn_test_data): Likewise.
3489 (scalbln_test_data): Likewise.
3490 (signbit_test_data): Likewise.
3491 (sqrt_test_data): Likewise.
3492 (significand_test_data): Likewise.
3493
48a18de1
SP
34942013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3495
3496 [BZ #15424]
3497 * benchtests/bench-modf.c (struct args): Mark arg0 as
3498 volatile.
3499 * scripts/bench.pl: Mark members of struct args as volatile.
3500
13d3b41a
AZ
35012013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3502
68191c1d 3503 [BZ # 15497]
13d3b41a
AZ
3504 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3505 negative infinity on POWER6 or lower.
3506 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3507
2848b105
MR
35082013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3509
3510 [BZ #15442]
3511 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3512 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3513 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3514 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3515 (_FP_SETQNAN): New macro.
3516 (_FP_SETQNAN_SEMIRAW): Likewise.
3517 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3518 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3519 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3520 (FP_EXTEND): Use _FP_FRAC_SNANP.
3521 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3522 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3523 into account.
3524 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3525 New macro.
3526 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3527 Likewise.
3528
323e5cb7
JM
35292013-05-16 Joseph Myers <joseph@codesourcery.com>
3530
c58b274f
JM
3531 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3532 with DIVIDE_BY_ZERO_EXCEPTION.
3533 (gamma_test_data): Likewise.
3534 (lgamma_test_data): Likewise.
3535 (log_test_data): Likewise.
3536 (log10_test_data): Likewise.
3537 (log2_test_data): Likewise.
3538 (tgamma_test_data): Likewise.
3539
0ab34904
JM
3540 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3541 (acos_test_tonearest): Likewise.
3542 (acos_test_towardzero): Likewise.
3543 (acos_test_downward): Likewise.
3544 (acos_test_upward): Likewise.
3545 (acosh_test): Likewise.
3546 (asin_test): Likewise.
3547 (asin_test_tonearest): Likewise.
3548 (asin_test_towardzero): Likewise.
3549 (asin_test_downward): Likewise.
3550 (asin_test_upward): Likewise.
3551 (asinh_test): Likewise.
3552 (atan_test): Likewise.
3553 (atanh_test): Likewise.
3554 (atan2_test): Likewise.
3555 (cabs_test): Likewise.
3556 (cacos_test): Likewise.
3557 (cacosh_test): Likewise.
3558 (casin_test): Likewise.
3559 (casinh_test): Likewise.
3560 (catan_test): Likewise.
3561 (catanh_test): Likewise.
3562 (cbrt_test): Likewise.
3563 (ccos_test): Likewise.
3564 (ccosh_test): Likewise.
3565 (cexp_test): Likewise.
3566 (clog_test): Likewise.
3567 (clog10_test): Likewise.
3568 (cos_test): Likewise.
3569 (cos_test_tonearest): Likewise.
3570 (cos_test_towardzero): Likewise.
3571 (cos_test_downward): Likewise.
3572 (cos_test_upward): Likewise.
3573 (cosh_test): Likewise.
3574 (cosh_test_tonearest): Likewise.
3575 (cosh_test_towardzero): Likewise.
3576 (cosh_test_downward): Likewise.
3577 (cosh_test_upward): Likewise.
3578 (cpow_test): Likewise.
3579 (csin_test): Likewise.
3580 (csinh_test): Likewise.
3581 (csqrt_test): Likewise.
3582 (ctan_test): Likewise.
3583 (ctan_test_tonearest): Likewise.
3584 (ctan_test_towardzero): Likewise.
3585 (ctan_test_downward): Likewise.
3586 (ctan_test_upward): Likewise.
3587 (ctanh_test): Likewise.
3588 (ctanh_test_tonearest): Likewise.
3589 (ctanh_test_towardzero): Likewise.
3590 (ctanh_test_downward): Likewise.
3591 (ctanh_test_upward): Likewise.
3592 (erf_test): Likewise.
3593 (erfc_test): Likewise.
3594 (exp_test): Likewise.
3595 (exp_test_tonearest): Likewise.
3596 (exp_test_towardzero): Likewise.
3597 (exp_test_downward): Likewise.
3598 (exp_test_upward): Likewise.
3599 (exp10_test): Likewise.
3600 (exp2_test): Likewise.
3601 (expm1_test): Likewise.
3602 (fmod_test): Likewise.
3603 (gamma_test): Likewise.
3604 (hypot_test): Likewise.
3605 (j0_test): Likewise.
3606 (j1_test): Likewise.
3607 (jn_test): Likewise.
3608 (lgamma_test): Likewise.
3609 (log_test): Likewise.
3610 (log10_test): Likewise.
3611 (log1p_test): Likewise.
3612 (log2_test): Likewise.
3613 (logb_test_downward): Likewise.
3614 (pow_test): Likewise.
3615 (pow_test_tonearest): Likewise.
3616 (pow_test_towardzero): Likewise.
3617 (pow_test_downward): Likewise.
3618 (pow_test_upward): Likewise.
3619 (remainder_test): Likewise.
3620 (remquo_test): Likewise.
3621 (sin_test): Likewise.
3622 (sin_test_tonearest): Likewise.
3623 (sin_test_towardzero): Likewise.
3624 (sin_test_downward): Likewise.
3625 (sin_test_upward): Likewise.
3626 (sincos_test): Likewise.
3627 (sinh_test): Likewise.
3628 (sinh_test_tonearest): Likewise.
3629 (sinh_test_towardzero): Likewise.
3630 (sinh_test_downward): Likewise.
3631 (sinh_test_upward): Likewise.
3632 (sqrt_test): Likewise.
3633 (tan_test): Likewise.
3634 (tan_test_tonearest): Likewise.
3635 (tan_test_towardzero): Likewise.
3636 (tan_test_downward): Likewise.
3637 (tan_test_upward): Likewise.
3638 (tanh_test): Likewise.
3639 (tgamma_test): Likewise.
3640 (y0_test): Likewise.
3641 (y1_test): Likewise.
3642 (yn_test): Likewise.
3643
323e5cb7
JM
3644 * math/gen-libm-test.pl (adjust_arg): Remove function.
3645 (special_function): Remove argument $in_func. Only handle
3646 generating output for tables of tests, not inside functions.
3647 (parse_args): Likewise.
3648 (generate_testfile): Remove variable $in_func. Update call to
3649 parse_args.
3650 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3651 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3652 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3653 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3654 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3655 (MAX_VALUE_INIT): Rename macro to max_value.
3656 (MIN_VALUE_INIT): Rename macro to min_value.
3657 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3658 (plus_zero): Remove variable.
3659 (minus_zero): Likewise.
3660 (plus_infty): Likewise.
3661 (minus_infty): Likewise.
3662 (qnan_value): Likewise.
3663 (max_value): Likewise.
3664 (min_value): Likewise.
3665 (min_subnorm_value): Likewise.
3666
e054f494
RA
36672013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3668
3669 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3670 uint64_t or uint32_t usage.
3671 * crypt/sha256-block.c: Likewise.
3672 * crypt/sha256-crypt.c: Likewise.
3673 * crypt/sha256.c: Likewise.
3674 * crypt/sha512-block.c: Likewise.
3675 * crypt/sha512-crypt.c: Likewise.
3676 * crypt/sha512.c: Likewise.
3677 * debug/backtrace-tst.c: Likewise.
3678 * debug/pcprofiledump.c: Likewise.
3679 * elf/cache.c: Likewise.
3680 * elf/dl-cache.c: Likewise.
3681 * elf/dl-misc.c: Likewise.
3682 * elf/dl-profile.c: Likewise.
3683 * elf/dl-support.c: Likewise.
3684 * elf/ldconfig.c: Likewise.
3685 * elf/sprof.c: Likewise.
3686 * iconv/dummy-repertoire.c: Likewise.
3687 * iconv/iconv_charmap.c: Likewise.
3688 * iconv/skeleton.c: Likewise.
3689 * iconvdata/8bit-generic.c: Likewise.
3690 * iconvdata/cp737.h: Likewise.
3691 * iconvdata/cp775.h: Likewise.
3692 * iconvdata/ibm1008.h: Likewise.
3693 * iconvdata/ibm1025.h: Likewise.
3694 * iconvdata/ibm1046.h: Likewise.
3695 * iconvdata/ibm1097.h: Likewise.
3696 * iconvdata/ibm1112.h: Likewise.
3697 * iconvdata/ibm1122.h: Likewise.
3698 * iconvdata/ibm1123.h: Likewise.
3699 * iconvdata/ibm1124.h: Likewise.
3700 * iconvdata/ibm1129.h: Likewise.
3701 * iconvdata/ibm1130.h: Likewise.
3702 * iconvdata/ibm1132.h: Likewise.
3703 * iconvdata/ibm1133.h: Likewise.
3704 * iconvdata/ibm1137.h: Likewise.
3705 * iconvdata/ibm1140.h: Likewise.
3706 * iconvdata/ibm1141.h: Likewise.
3707 * iconvdata/ibm1142.h: Likewise.
3708 * iconvdata/ibm1143.h: Likewise.
3709 * iconvdata/ibm1144.h: Likewise.
3710 * iconvdata/ibm1145.h: Likewise.
3711 * iconvdata/ibm1146.h: Likewise.
3712 * iconvdata/ibm1147.h: Likewise.
3713 * iconvdata/ibm1148.h: Likewise.
3714 * iconvdata/ibm1149.h: Likewise.
3715 * iconvdata/ibm1153.h: Likewise.
3716 * iconvdata/ibm1154.h: Likewise.
3717 * iconvdata/ibm1155.h: Likewise.
3718 * iconvdata/ibm1156.h: Likewise.
3719 * iconvdata/ibm1157.h: Likewise.
3720 * iconvdata/ibm1158.h: Likewise.
3721 * iconvdata/ibm1160.h: Likewise.
3722 * iconvdata/ibm1161.h: Likewise.
3723 * iconvdata/ibm1162.h: Likewise.
3724 * iconvdata/ibm1163.h: Likewise.
3725 * iconvdata/ibm1164.h: Likewise.
3726 * iconvdata/ibm1166.h: Likewise.
3727 * iconvdata/ibm1167.h: Likewise.
3728 * iconvdata/ibm12712.h: Likewise.
3729 * iconvdata/ibm1390.h: Likewise.
3730 * iconvdata/ibm1399.h: Likewise.
3731 * iconvdata/ibm16804.h: Likewise.
3732 * iconvdata/ibm4517.h: Likewise.
3733 * iconvdata/ibm4899.h: Likewise.
3734 * iconvdata/ibm4909.h: Likewise.
3735 * iconvdata/ibm4971.h: Likewise.
3736 * iconvdata/ibm5347.h: Likewise.
3737 * iconvdata/ibm803.h: Likewise.
3738 * iconvdata/ibm856.h: Likewise.
3739 * iconvdata/ibm901.h: Likewise.
3740 * iconvdata/ibm902.h: Likewise.
3741 * iconvdata/ibm9030.h: Likewise.
3742 * iconvdata/ibm9066.h: Likewise.
3743 * iconvdata/ibm921.h: Likewise.
3744 * iconvdata/ibm922.h: Likewise.
3745 * iconvdata/ibm9448.h: Likewise.
3746 * iconvdata/isiri-3342.h: Likewise.
3747 * iconvdata/jis0201.h: Likewise.
3748 * include/link.h: Likewise.
3749 * include/netdb.h: Likewise.
3750 * inet/check_native.c: Likewise.
3751 * inet/check_pf.c: Likewise.
3752 * inet/getipv4sourcefilter.c: Likewise.
3753 * inet/getnameinfo.c: Likewise.
3754 * inet/getsourcefilter.c: Likewise.
3755 * inet/htonl.c: Likewise.
3756 * inet/setipv4sourcefilter.c: Likewise.
3757 * inet/setsourcefilter.c: Likewise.
3758 * inet/test-inet6_opt.c: Likewise.
3759 * inet/tst-network.c: Likewise.
3760 * locale/C-collate.c: Likewise.
3761 * locale/C-ctype.c: Likewise.
3762 * locale/C-time.c: Likewise.
3763 * locale/C-translit.h: Likewise.
3764 * locale/loadarchive.c: Likewise.
3765 * locale/programs/3level.h: Likewise.
3766 * locale/programs/charmap.c: Likewise.
3767 * locale/programs/charmap.h: Likewise.
3768 * locale/programs/ld-address.c: Likewise.
3769 * locale/programs/ld-collate.c: Likewise.
3770 * locale/programs/ld-ctype.c: Likewise.
3771 * locale/programs/ld-identification.c: Likewise.
3772 * locale/programs/ld-measurement.c: Likewise.
3773 * locale/programs/ld-messages.c: Likewise.
3774 * locale/programs/ld-monetary.c: Likewise.
3775 * locale/programs/ld-name.c: Likewise.
3776 * locale/programs/ld-numeric.c: Likewise.
3777 * locale/programs/ld-paper.c: Likewise.
3778 * locale/programs/ld-telephone.c: Likewise.
3779 * locale/programs/ld-time.c: Likewise.
3780 * locale/programs/linereader.c: Likewise.
3781 * locale/programs/locale.c: Likewise.
3782 * locale/programs/locarchive.c: Likewise.
3783 * locale/programs/locfile.h: Likewise.
3784 * locale/programs/repertoire.c: Likewise.
3785 * locale/programs/simple-hash.c: Likewise.
3786 * locale/programs/simple-hash.h: Likewise.
3787 * malloc/memusage.c: Likewise.
3788 * malloc/memusagestat.c: Likewise.
3789 * nis/nis_defaults.c: Likewise.
3790 * nis/nis_hash.c: Likewise.
3791 * nis/nis_print.c: Likewise.
3792 * nis/nis_xdr.c: Likewise.
3793 * nscd/connections.c: Likewise.
3794 * nscd/hstcache.c: Likewise.
3795 * nscd/nscd_gethst_r.c: Likewise.
3796 * nscd/nscd_getserv_r.c: Likewise.
3797 * nscd/nscd_helper.c: Likewise.
3798 * nscd/servicescache.c: Likewise.
3799 * nss/makedb.c: Likewise.
3800 * nss/nss_db/db-XXX.c: Likewise.
3801 * nss/nss_db/db-initgroups.c: Likewise.
3802 * nss/nss_db/db-netgrp.c: Likewise.
3803 * nss/nss_files/files-network.c: Likewise.
3804 * nss/nss_files/files-parse.c: Likewise.
3805 * posix/bug-regex5.c: Likewise.
3806 * posix/fnmatch_loop.c: Likewise.
3807 * posix/regcomp.c: Likewise.
3808 * posix/regexec.c: Likewise.
3809 * posix/tst-rfc3484-2.c: Likewise.
3810 * posix/tst-rfc3484-3.c: Likewise.
3811 * posix/tst-rfc3484.c: Likewise.
3812 * resolv/nss_dns/dns-canon.c: Likewise.
3813 * resolv/nss_dns/dns-network.c: Likewise.
3814 * resolv/res_init.c: Likewise.
3815 * resolv/res_mkquery.c: Likewise.
3816 * resolv/tst-aton.c: Likewise.
3817 * stdlib/cxa_atexit.c: Likewise.
3818 * stdlib/cxa_finalize.c: Likewise.
3819 * stdlib/gen-fpioconst.c: Likewise.
3820 * stdlib/strtol_l.c: Likewise.
3821 * string/tst-endian.c: Likewise.
3822 * sunrpc/auth_des.c: Likewise.
3823 * sunrpc/clnt_udp.c: Likewise.
3824 * sunrpc/rtime.c: Likewise.
3825 * sunrpc/svcauth_des.c: Likewise.
3826 * sunrpc/xdr.c: Likewise.
3827 * sunrpc/xdr_intXX_t.c: Likewise.
3828 * sunrpc/xdr_rec.c: Likewise.
3829 * sysdeps/generic/ldconfig.h: Likewise.
3830 * sysdeps/generic/ldsodefs.h: Likewise.
3831 * sysdeps/generic/memusage.h: Likewise.
3832 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3833 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3834 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3835 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3837 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3838 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3839 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3840 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3841 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3842 * sysdeps/posix/getaddrinfo.c: Likewise.
3843 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3844 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3845 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3846 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3847 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3848 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3849 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3850 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3851 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3852 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3853 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3854 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3855 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3856 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3857 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3858 * sysdeps/x86_64/dl-tls.h: Likewise.
3859 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3860 * time/alt_digit.c: Likewise.
3861 * time/era.c: Likewise.
3862 * wcsmbs/tst-c16c32-1.c: Likewise.
3863
8c75f674
JM
38642013-05-16 Joseph Myers <joseph@codesourcery.com>
3865
3866 * math/libm-test.inc (struct test_sincos_data): New type.
3867 (RUN_TEST_LOOP_sincos): New macro.
3868 (sincos_test_data): New variable.
3869 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3870
e6e49e59
RH
38712013-05-16 Richard Henderson <rth@redhat.com>
3872
3873 * math/atest-exp2.c (LIMB64): New macro.
3874 (CONSTSZ): New macro.
3875 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3876 (hexdig): Move ...
3877 (print_mpn_fp): ... to function scope.
3878 (read_mpn_hex): Remove.
3879 (get_log2): Remove.
3880 (exp2_mpn): Use mp_log2.
3881 (main): Use mp_exp1.
3882
15c7c18d
JM
38832013-05-16 Joseph Myers <joseph@codesourcery.com>
3884
105a07df
JM
3885 * math/libm-test.inc: Remove comment about not testing "inexact"
3886 exceptions.
3887 (INEXACT_EXCEPTION): New macro.
3888 (NO_INEXACT_EXCEPTION): Likewise.
3889 (INVALID_EXCEPTION_OK): Update value.
3890 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3891 (OVERFLOW_EXCEPTION_OK): Likewise.
3892 (UNDERFLOW_EXCEPTION_OK): Likewise.
3893 (IGNORE_ZERO_INF_SIGN): Likewise.
3894 (ERRNO_UNCHANGED): Likewise.
3895 (ERRNO_EDOM): Likewise.
3896 (ERRNO_ERANGE): Likewise.
3897 (test_exceptions): Handle testing "inexact" exceptions.
3898 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3899 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3900 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3901 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3902 INEXACT_EXCEPTION.
3903 (rint_towardzero_test_data): Likewise.
3904 (rint_downward_test_data): Likewise.
3905 (rint_upward_test_data): Likewise.
3906
e9eee333
JM
3907 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3908 with OVERFLOW_EXCEPTION.
3909 (exp10_test_data): Likewise.
3910 (exp2_test_data): Likewise.
3911 (expm1_test_data): Likewise.
3912 (lgamma_test_data): Likewise.
3913 (pow_test_data): Likewise.
3914 (tgamma_test_data): Likewise.
3915 (yn_test_data): Remove duplicate test of overflow.
3916
1c38ff73
JM
3917 * math/libm-test.inc (struct test_cc_c_data): New type.
3918 (RUN_TEST_LOOP_cc_c): New macro.
3919 (cpow_test_data): New variable.
3920 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3921
15c7c18d
JM
3922 * math/libm-test.inc (struct test_f_L_data): New type.
3923 (RUN_TEST_LOOP_f_L): New macro.
3924 (llrint_test_data): New variable.
3925 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3926 (llrint_tonearest_test_data): New variable.
3927 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3928 (llrint_towardzero_test_data): New variable.
3929 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3930 (llrint_downward_test_data): New variable.
3931 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3932 (llrint_upward_test_data): New variable.
3933 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3934 (llround_test_data): New variable.
3935 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3936
f137ff13
PC
39372013-05-13 Peter Collingbourne <pcc@google.com>
3938
3939 * math/atest-exp2.c (get_log2): Remove const attribute.
3940
3608cb24
JM
39412013-05-15 Joseph Myers <joseph@codesourcery.com>
3942
3943 * math/libm-test.inc (struct test_f_l_data): New type.
3944 (RUN_TEST_LOOP_f_l): New macro.
3945 (lrint_test_data): New variable.
3946 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3947 (lrint_tonearest_test_data): New variable.
3948 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3949 (lrint_towardzero_test_data): New variable.
3950 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3951 (lrint_downward_test_data): New variable.
3952 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3953 (lrint_upward_test_data): New variable.
3954 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3955 (lround_test_data): New variable.
3956 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3957
39b1f617
PC
39582013-05-15 Peter Collingbourne <pcc@google.com>
3959
1deff3dc
PC
3960 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3961 (EXTRACT_WORDS64) Use where appropriate.
3962 (INSERT_WORDS64) Likewise.
3963
791f3ba0
PC
3964 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3965 constraints with x constraints.
3966 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3967
39b1f617
PC
3968 * malloc/obstack.c (_obstack_compat): Add initializer.
3969
12fba011
EM
39702013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3971
3972 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3973 si_trapno and add si_addr_lsb to _sifields.sigfault.
3974 (si_trapno): Remove macro.
3975 (si_addr_lsb): Define new macro.
3976 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3977
d369f531
JM
39782013-05-15 Joseph Myers <joseph@codesourcery.com>
3979
b861c6c4
JM
3980 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3981 instead of TEST_f_l.
3982 (llrint_test_tonearest): Likewise.
3983 (llrint_test_towardzero): Likewise.
3984 (llrint_test_downward): Likewise.
3985 (llrint_test_upward): Likewise.
3986 (llround_test): Likewise.
3987
7abeee12
JM
3988 * math/libm-test.inc (struct test_f_i_data): Add comment.
3989 (RUN_TEST_LOOP_f_b): New macro.
3990 (RUN_TEST_LOOP_f_b_tg): Likewise.
3991 (finite_test_data): New variable.
3992 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3993 (isfinite_test_data): New variable.
3994 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3995 (isinf_test_data): New variable.
3996 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3997 (isnan_test_data): New variable.
3998 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3999 (isnormal_test_data): New variable.
4000 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4001 (issignaling_test_data): New variable.
4002 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4003 (signbit_test_data): New variable.
4004 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4005
cbe8c4d3
JM
4006 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4007 with INVALID_EXCEPTION.
4008 (acosh_test_data): Likewise.
4009 (asin_test_data): Likewise.
4010 (atanh_test_data): Likewise.
4011 (fmod_test_data): Likewise.
4012 (log_test_data): Likewise.
4013 (log10_test_data): Likewise.
4014 (log2_test_data): Likewise.
4015 (pow_test_data): Likewise.
4016 (sqrt_test_data): Likewise.
4017 (y0_test_data): Likewise.
4018 (y1_test_data): Likewise.
4019 (yn_test_data): Likewise.
4020
5575c0e5
JM
4021 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4022 function contents.
4023
d369f531
JM
4024 * math/libm-test.inc (struct test_ff_i_data): New type.
4025 (RUN_TEST_LOOP_ff_i_tg): New macro.
4026 (isgreater_test_data): New variable.
4027 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4028 (isgreaterequal_test_data): New variable.
4029 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4030 (isless_test_data): New variable.
4031 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4032 (islessequal_test_data): New variable.
4033 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4034 (islessgreater_test_data): New variable.
4035 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4036 (isunordered_test_data): New variable.
4037 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4038
781fd748
DM
40392013-05-14 David S. Miller <davem@davemloft.net>
4040
4041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4042
87aa21df
JM
40432013-05-14 Joseph Myers <joseph@codesourcery.com>
4044
5e908270
JM
4045 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4046
f71172e5
JM
4047 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4048 extra_test to int.
4049 (struct test_f_i_data): Change type of max_ulp to int.
4050
8cfa635a
JM
4051 * math/libm-test.inc (test_ffI_f1_data): New type.
4052 (RUN_TEST_LOOP_ffI_f1): New macro.
4053 (remquo_test_data): New variable.
4054 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4055
2bcb36b2
JM
4056 * setjmp/tst-setjmp-fp.c: New file.
4057 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4058 (link-libm): New variable.
4059 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4060
acbd839a
JM
4061 * math/libm-test.inc (struct test_f_i_data): New type.
4062 (RUN_TEST_LOOP_f_i): New macro.
4063 (RUN_TEST_LOOP_f_i_tg): Likewise.
4064 (fpclassify_test_data): New variable.
4065 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4066 (ilogb_test_data): New variable.
4067 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4068
e414d745
JM
4069 * math/libm-test.inc (scalbln_test): Correct function name in END
4070 call.
4071
d9c2a0fd
JM
4072 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4073 (RUN_TEST_LOOP_fI_f1): New macro.
4074 (frexp_test_data): New variable.
4075 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4076
9dc9095d
JM
4077 * math/libm-test.inc (struct test_fF_f1_data): New type.
4078 (RUN_TEST_LOOP_fF_f1): New macro.
4079 (modf_test_data): New variable.
4080 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4081
87aa21df
JM
4082 * math/libm-test.inc (struct test_f_f1_data): New type.
4083 (RUN_TEST_LOOP_f_f1): New macro.
4084 (gamma_test_data): New variable.
4085 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4086 (lgamma_test_data): New variable.
4087 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4088
141af660
CD
40892013-05-13 Carlos O'Donell <carlos@redhat.com>
4090
4091 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4092 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4093 (main): Comment "tls" pseudo-hwcap.
4094
6d33265c
JM
40952013-05-13 Joseph Myers <joseph@codesourcery.com>
4096
68fc074c
JM
4097 * math/libm-test.inc (struct test_fl_f_data): New type.
4098 (RUN_TEST_LOOP_fl_f): New variable.
4099 (scalbln_test_data): New variable.
4100 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4101
243216e1
JM
4102 * math/libm-test.inc (struct test_fi_f_data): New type.
4103 (RUN_TEST_LOOP_fi_f): New macro.
4104 (ldexp_test_data): New variable.
4105 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4106 (scalbn_test_data): New variable.
4107 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4108
6a1992e2
JM
4109 * math/libm-test.inc (struct test_c_f_data): New type.
4110 (RUN_TEST_LOOP_c_f): New macro.
4111 (cabs_test_data): New variable.
4112 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4113 (carg_test_data): New variable.
4114 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4115 (cimag_test_data): New variable.
4116 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4117 (creal_test_data): New variable.
4118 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4119
0e400df5
JM
4120 * math/libm-test.inc (struct test_if_f_data): New type.
4121 (RUN_TEST_LOOP_if_f): New macro.
4122 (jn_test_data): New variable.
4123 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4124 (yn_test_data): New variable.
4125 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4126
6d33265c
JM
4127 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4128
f98ece5f
AZ
41292013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4130
4131 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4132 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4133
0f7d347b
SP
41342013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4135
43fe811b
SP
4136 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4137 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4138 (bench-deps): Add bench-timing.h.
4139 * benchtests-bench-skeleton.c: Include bench-timing.h.
4140 (main): Use TIMING_* macros instead of clock_gettime.
4141 * benchtests/bench-timing.h: New file.
4142
0f7d347b
SP
4143 [BZ #14582]
4144 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4145 Renamed from _LIB_VERSION.
4146 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4147
601a3a5f
JM
41482013-05-12 Joseph Myers <joseph@codesourcery.com>
4149
4f184d30
JM
4150 * math/libm-test.inc (struct test_fff_f_data): New type.
4151 (RUN_TEST_LOOP_fff_f): New macro.
4152 (fma_test_data): New variable.
4153 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4154 (fma_towardzero_test_data): New variable.
4155 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4156 (fma_downward_test_data): New variable.
4157 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4158 (fma_upward_test_data): New variable.
4159 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4160
08198877
JM
4161 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4162 (struct test_c_c_data): New type.
4163 (RUN_TEST_LOOP_c_c): New macro.
4164 (cacos_test_data): New variable.
4165 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4166 (cacosh_test_data): New variable.
4167 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4168 (casin_test_data): New variable.
4169 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4170 (casinh_test_data): New variable.
4171 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4172 (catan_test_data): New variable.
4173 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4174 (catanh_test_data): New variable.
4175 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4176 (ccos_test_data): New variable.
4177 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4178 (ccosh_test_data): New variable.
4179 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4180 (cexp_test_data): New variable.
4181 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4182 (clog_test_data): New variable.
4183 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4184 (clog10_test_data): New variable.
4185 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4186 (conj_test_data): New variable.
4187 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4188 (cproj_test_data): New variable.
4189 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4190 (csin_test_data): New variable.
4191 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4192 (csinh_test_data): New variable.
4193 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4194 (csqrt_test_data): New variable.
4195 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4196 (ctan_test_data): New variable.
4197 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4198 (ctan_tonearest_test_data): New variable.
4199 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4200 (ctan_towardzero_test_data): New variable.
4201 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4202 (ctan_downward_test_data): New variable.
4203 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4204 (ctan_upward_test_data): New variable.
4205 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4206 (ctanh_test_data): New variable.
4207 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4208 (ctanh_tonearest_test_data): New variable.
4209 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4210 (ctanh_towardzero_test_data): New variable.
4211 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4212 (ctanh_downward_test_data): New variable.
4213 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4214 (ctanh_upward_test_data): New variable.
4215 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4216 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4217 of BUILD_COMPLEX.
4218
601a3a5f
JM
4219 * math/libm-test.inc (struct test_ff_f_data): New type.
4220 (struct test_ff_f_data_nexttoward): Likewise.
4221 (RUN_TEST_LOOP_2_f): New macro.
4222 (RUN_TEST_LOOP_ff_f): Likewise.
4223 (atan2_test_data): New variable.
4224 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4225 (copysign_test_data): New variable.
4226 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4227 (fdim_test_data): New variable.
4228 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4229 (fmax_test_data): New variable.
4230 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4231 (fmin_test_data): New variable.
4232 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4233 (fmod_test_data): New variable.
4234 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4235 (hypot_test_data): New variable.
4236 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4237 (nextafter_test_data): New variable.
4238 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4239 (nexttoward_test_data): New variable.
4240 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4241 (pow_test_data): New variable.
4242 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4243 (pow_tonearest_test_data): New variable.
4244 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4245 (pow_towardzero_test_data): New variable.
4246 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4247 (pow_downward_test_data): New variable.
4248 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4249 (pow_upward_test_data): New variable.
4250 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4251 (remainder_test_data): New variable.
4252 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4253 (scalb_test_data): New variable.
4254 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4255 * sysdeps/i386/fpu/libm-test-ulps: Update.
4256
74c57478
JM
42572013-05-11 Joseph Myers <joseph@codesourcery.com>
4258
8329e4da
JM
4259 * math/libm-test.inc (fma_test): Use max_value instead of local
4260 variable fltmax.
4261 (nextafter_test): Likewise.
4262
74c57478
JM
4263 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4264 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4265 (acos_downward_test_data): New variable.
4266 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4267 (acos_upward_test_data): New variable.
4268 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4269 (acosh_test_data): New variable.
4270 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4271 (asin_test_data): New variable.
4272 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4273 (asin_tonearest_test_data): New variable.
4274 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4275 (asin_towardzero_test_data): New variable.
4276 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4277 (asin_downward_test_data): New variable.
4278 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4279 (asin_upward_test_data): New variable.
4280 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4281 (asinh_test_data): New variable.
4282 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4283 (atan_test_data): New variable.
4284 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4285 (atanh_test_data): New variable.
4286 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4287 (cbrt_test_data): New variable.
4288 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4289 (ceil_test_data): New variable.
4290 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4291 (cos_test_data): New variable.
4292 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4293 (cos_tonearest_test_data): New variable.
4294 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4295 (cos_towardzero_test_data): New variable.
4296 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4297 (cos_downward_test_data): New variable.
4298 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4299 (cos_upward_test_data): New variable.
4300 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4301 (cosh_test_data): New variable.
4302 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4303 (cosh_tonearest_test_data): New variable.
4304 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4305 (cosh_towardzero_test_data): New variable.
4306 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4307 (cosh_downward_test_data): New variable.
4308 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4309 (cosh_upward_test_data): New variable.
4310 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4311 (erf_test_data): New variable.
4312 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4313 (erfc_test_data): New variable.
4314 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4315 (exp_test_data): New variable.
4316 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4317 (exp_tonearest_test_data): New variable.
4318 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4319 (exp_towardzero_test_data): New variable.
4320 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4321 (exp_downward_test_data): New variable.
4322 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4323 (exp_upward_test_data): New variable.
4324 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4325 (exp10_test_data): New variable.
4326 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4327 (exp2_test_data): New variable.
4328 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4329 (expm1_test_data): New variable.
4330 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4331 (fabs_test_data): New variable.
4332 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4333 (floor_test_data): New variable.
4334 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4335 (j0_test_data): New variable.
4336 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4337 (j1_test_data): New variable.
4338 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4339 (log_test_data): New variable.
4340 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4341 (log10_test_data): New variable.
4342 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4343 (log1p_test_data): New variable.
4344 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4345 (log2_test_data): New variable.
4346 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4347 (logb_test_data): New variable.
4348 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4349 (logb_downward_test_data): New variable.
4350 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4351 (nearbyint_test_data): New variable.
4352 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4353 (rint_test_data): New variable.
4354 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4355 (rint_tonearest_test_data): New variable.
4356 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4357 (rint_towardzero_test_data): New variable.
4358 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4359 (rint_downward_test_data): New variable.
4360 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4361 (rint_upward_test_data): New variable.
4362 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4363 (round_test_data): New variable.
4364 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4365 (sin_test_data): New variable.
4366 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4367 (sin_tonearest_test_data): New variable.
4368 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4369 (sin_towardzero_test_data): New variable.
4370 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4371 (sin_downward_test_data): New variable.
4372 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4373 (sin_upward_test_data): New variable.
4374 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4375 (sinh_test_data): New variable.
4376 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4377 (sinh_tonearest_test_data): New variable.
4378 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4379 (sinh_towardzero_test_data): New variable.
4380 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4381 (sinh_downward_test_data): New variable.
4382 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4383 (sinh_upward_test_data): New variable.
4384 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4385 (sqrt_test_data): New variable.
4386 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4387 (tan_test_data): New variable.
4388 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4389 (tan_tonearest_test_data): New variable.
4390 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4391 (tan_towardzero_test_data): New variable.
4392 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4393 (tan_downward_test_data): New variable.
4394 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4395 (tan_upward_test_data): New variable.
4396 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4397 (tanh_test_data): New variable.
4398 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4399 (tgamma_test_data): New variable.
4400 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4401 (trunc_test_data): New variable.
4402 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4403 (y0_test_data): New variable.
4404 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4405 (y1_test_data): New variable.
4406 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4407 (significand_test_data): New variable.
4408 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4409
7187d844
CG
44102013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4411
4412 [BZ #12387]
4413 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4414
f63fae73
PT
44152013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4416
4417 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4418
8a67a4b3
AJ
44192013-05-10 Andreas Jaeger <aj@suse.de>
4420
4421 [BZ #15448]
4422 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4423 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4424
51df539d
JM
44252013-05-10 Joseph Myers <joseph@codesourcery.com>
4426
4427 * math/gen-libm-test.pl (adjust_arg): New function.
4428 (special_functions): Handle generating output in both functions
4429 and arrays.
4430 (parse_args): Likewise.
4431 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4432 $in_func argument to parse_args.
4433 * math/libm-test.inc (struct test_f_f_data): New type.
4434 (IF_ROUND_INIT_): New macro.
4435 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4436 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4437 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4438 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4439 (ROUND_RESTORE_): Likewise.
4440 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4441 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4442 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4443 (ROUND_RESTORE_FE_UPWARD): Likewise.
4444 (RUN_TEST_LOOP_f_f): New macro.
4445 (acos_test_data): New variable.
4446 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4447 (acos_tonearest_test_data): New variable.
4448 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4449
5c637fe5
SP
44502013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4451
4452 * benchtests/bench-skeleton.c (startup): Fix coding style.
4453
ab2b9461
JM
44542013-05-10 Joseph Myers <joseph@codesourcery.com>
4455
4456 [BZ #6809]
4457 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4458 negative infinity argument.
4459 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4460 negative infinity argument.
4461 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4462 negative infinity argument.
4463 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4464 domain errors.
4465
4c0fe6fe
FW
44662013-05-10 Florian Weimer <fweimer@redhat.com>
4467
4468 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4469 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4470 * iconv/iconv_prog.c (main): Likewise.
4471 * locale/programs/charmap-dir.c (charmap_readdir)
4472 (fopen_uncompressed): Likewise.
4473 * locale/programs/locfile.c (siblings_uncached)
4474 (write_locale_data): Use lstat64 instead of lstat.
4475 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4476 stat.
4477
a3375d29
AJ
44782013-05-10 Andreas Jaeger <aj@suse.de>
4479
4480 [BZ #15395]
4481 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4482 localization.
4483 Include <locale.h>.
4484
36129722
CD
44852013-05-09 Carlos O'Donell <carlos@redhat.com>
4486
4487 * elf/dl-close.c (_dl_close_worker): Add comments.
4488
faa7f811
JM
44892013-05-09 Joseph Myers <joseph@codesourcery.com>
4490
ed41ffef
JM
4491 [BZ #15359]
4492 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4493 high part of pi/2.
4494 (__ieee754_rem_pio2l): Update comments.
4495
d0213cd0
JM
4496 [BZ #15429]
4497 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4498 high part of pi/2.
4499 (__ieee754_rem_pio2l): Update comments.
4500
0d3e777a
JM
4501 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4502 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4503
24f56066
JM
4504 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4505 M_PI_4l.
4506
faa7f811
JM
4507 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4508 (M_PI_34_LOG10El): Likewise.
4509 (M_PI2_LOG10El): Likewise.
4510 (M_PI4_LOG10El): Likewise.
4511 (M_PI_LOG10El): Likewise.
4512
e9a5e0fd
AZ
45132013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4514
4515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4516
d8cd06db
JM
45172013-05-08 Joseph Myers <joseph@codesourcery.com>
4518
a0d9f9d7
JM
4519 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4520 (MINUS_ZERO_INIT): Likewise.
4521 (PLUS_INFTY_INIT): Likewise.
4522 (MINUS_INFTY_INIT): Likewise.
4523 (QNAN_VALUE_INIT): Likewise.
4524 (MAX_VALUE_INIT): Likewise.
4525 (MIN_VALUE_INIT): Likewise.
4526 (MIN_SUBNORM_VALUE_INIT): Likewise.
4527 (plus_zero): Initialize with PLUS_ZERO_INIT.
4528 (minus_zero): Initialize with MINUS_ZERO_INIT.
4529 (plus_infty): Initialize with PLUS_INFTY_INIT.
4530 (minus_infty): Initialize with MINUS_INFTY_INIT.
4531 (qnan_value): Initialize with QNAN_VALUE_INIT.
4532 (max_value): Initialize with MAX_VALUE_INIT.
4533 (min_value): Initialize with MIN_VALUE_INIT.
4534 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4535
ae08db3b
JM
4536 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4537 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4538 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4539 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4540
f44bf14a
JM
4541 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4542 (RUN_TEST_2_f): Likewise.
4543 (RUN_TEST_ff_f): Likewise.
4544 (RUN_TEST_fi_f): Likewise.
4545 (RUN_TEST_fl_f): Likewise.
4546 (RUN_TEST_fff_f): Likewise.
4547 (RUN_TEST_c_f): Likewise.
4548 (RUN_TEST_f_f1): Likewise.
4549 (RUN_TEST_fF_f1): Likewise.
4550 (RUN_TEST_fI_f1): Likewise.
4551 (RUN_TEST_ffI_f1): Likewise.
4552 (RUN_TEST_c_c): Likewise.
4553 (RUN_TEST_cc_c): Likewise.
4554 (RUN_TEST_f_i): Likewise.
4555 (RUN_TEST_f_i_tg): Likewise.
4556 (RUN_TEST_ff_i_tg): Likewise.
4557 (RUN_TEST_f_b): Likewise.
4558 (RUN_TEST_f_b_tg): Likewise.
4559 (RUN_TEST_f_l): Likewise.
4560 (RUN_TEST_f_L): Likewise.
4561 (RUN_TEST_sincos): Likewise.
4562 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4563 whether to show exceptions. Do not include ");\n" in return
4564 value.
4565 (special_functions): Output call to RUN_TEST_sincos instead of
4566 check_float calls. Update calls to new_test.
4567 (parse_args): Output call to single RUN_TEST_* macro instead of
4568 check_* calls and other assignments. Update calls to new_test.
4569
d8cd06db
JM
4570 [BZ #2546]
4571 [BZ #2560]
4572 [BZ #5159]
4573 [BZ #15426]
4574 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4575 input to result for tgamma overflow.
4576 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4577 (gamma_coeff): New variable.
4578 (NCOEFF): New macro.
4579 (gamma_positive): New function.
4580 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4581 underflow here. Use gamma_positive instead of exp (lgamma) for
4582 other arguments.
4583 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4584 (gamma_coeff): New variable.
4585 (NCOEFF): New macro.
4586 (gammaf_positive): New function.
4587 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4588 underflow here. Use gamma_positive instead of exp (lgamma) for
4589 other arguments.
4590 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4591 (gamma_coeff): New variable.
4592 (NCOEFF): New macro.
4593 (gammal_positive): New function.
4594 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4595 underflow here. Use gamma_positive instead of exp (lgamma) for
4596 other arguments.
4597 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4598 (gamma_coeff): New variable.
4599 (NCOEFF): New macro.
4600 (gammal_positive): New function.
4601 (__ieee754_gammal_r): Handle positive infinity, overflow and
4602 underflow here. Handle NaN the same as positive infinity. Remove
4603 check x < 0xffffffff for negative integers. Use gamma_positive
4604 instead of exp (lgamma) for other arguments.
4605 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4606 (gamma_coeff): New variable.
4607 (NCOEFF): New macro.
4608 (gammal_positive): New function.
4609 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4610 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4611 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4612 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4613 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4614 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4615 * sysdeps/generic/math_private.h (__gamma_productf): New
4616 prototype.
4617 (__gamma_product): Likewise.
4618 (__gamma_productl): Likewise.
4619 * math/Makefile (libm-calls): Add gamma_product.
4620 * math/libm-test.inc (tgamma_test): Add more tests.
4621 * sysdeps/i386/fpu/libm-test-ulps: Update.
4622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4623
bb7cf681
OB
46242013-05-08 Ondřej Bílka <neleai@seznam.cz>
4625
4626 * benchtests/bench-skeleton.c (main): Preheat CPU.
4627
ba853947
AJ
46282013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4629
4630 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4631
8347c74c
RM
46322013-05-07 Roland McGrath <roland@hack.frob.com>
4633
4634 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4635 and _dl_skip_args_internal.
4636
e8dd4791
CD
46372013-05-07 Carlos O'Donell <carlos@redhat.com>
4638
4639 * manual/message.texi (Message Translation): Talk about users.
4640 Message to key mapping impacts design.
4641
c7405830
RM
46422013-05-06 Roland McGrath <roland@hack.frob.com>
4643
a9173057
RM
4644 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4645
976e2f03
RM
4646 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4647
9723ffc5
RM
4648 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4649 * sysdeps/wordsize-64/glob64.c: ... here.
4650
962e6658
RM
4651 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4652 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4653 New macros.
4654
ee586a6d
RM
4655 * debug/getlogin_r_chk.c: Moved to ...
4656 * login/getlogin_r_chk.c: ... here.
4657 * debug/Makefile (routines): Move getlogin_r_chk to ...
4658 * login/Makefile (routines): ... here.
4659 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4660 * login/Versions (libc: GLIBC_2.4): ... here.
4661
355f9165
RM
4662 * io/poll.c (__poll): Renamed from poll.
4663 Add libc_hidden_def.
4664 (poll): Define as weak alias.
4665
bd9ffde6
RM
4666 * debug/ptsname_r_chk.c: Moved to ...
4667 * login/ptsname_r_chk.c: ... here.
4668 * debug/Makefile (routines): Move ptsname_r_chk to ...
4669 * login/Makefile (routines): ... here.
4670 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4671 * login/Versions (libc: GLIBC_2.4): ... here.
4672
8fb16a04
RM
4673 * posix/getlogin.c: Moved to ...
4674 * login/getlogin.c: ... here.
4675 * posix/getlogin_r.c: Moved to ...
4676 * login/getlogin_r.c: ... here.
4677 * posix/getlogin_r.c: Moved to ...
4678 * login/getlogin_r.c: ... here.
4679 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4680 * login/Makefile (routines): ... here.
4681 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4682 * login/Versions (libc: GLIBC_2.0): ... here.
4683
b99b892f
RM
4684 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4685 (setrlimit): Define as weak alias.
4686
c7405830
RM
4687 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4688 Call __ names for open, ftruncate, and close.
4689 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4690 (truncate): Define as weak alias.
4691
5bf96de5
JM
46922013-05-06 Joseph Myers <joseph@codesourcery.com>
4693
9ea3513c
JM
4694 * math/gen-libm-test.pl (parse_args): Initialize x before each
4695 test of frexp, modf and remquo.
4696
5bf96de5
JM
4697 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4698 test signgam value.
4699
16e616a7
AZ
47002013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4701
4702 [BZ #15418]
4703 [BZ #15419]
4704 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4705 internal tests.
4706 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4707
d5e82754
RM
47082013-05-06 Roland McGrath <roland@hack.frob.com>
4709
4710 * elf/dl-writev.h: New file.
4711 * elf/dl-misc.c: Include it.
4712 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4713 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4714
a7548d41
JM
47152013-05-04 Joseph Myers <joseph@codesourcery.com>
4716
b7dab1e4
JM
4717 * math/libm-test.inc (noXFails): Remove variable.
4718 (noXPasses): Likewise.
4719 (BUILD_COMPLEX_INT): Remove macro.
4720 (print_screen): Remove xfail argument.
4721 (print_screen_max_error): Likewise.
4722 (update_stats): Likewise.
4723 (print_max_error): Likewise. Update calls to other affected
4724 functions.
4725 (print_complex_max_error): Likewise.
4726 (test_single_exception): Update calls to print_screen.
4727 (test_single_errno): Likewise.
4728 (check_float_internal): Remove xfail argument. Update calls to
4729 other affected functions.
4730 (check_float): Likewise.
4731 (check_complex): Likewise.
4732 (check_int): Likewise.
4733 (check_long): Likewise.
4734 (check_bool): Likewise.
4735 (check_longlong): Likewise.
4736 (main): Don't print noXFails and noXPasses.
4737 * math/gen-libm-test.pl (top level): Don't mention expected
4738 failure handling in comment.
4739 (new_test): Don't handle expected failures.
4740 (parse_args): Don't mention expected failure handling in comment.
4741 (generate_testfile): Don't handle expected failures.
4742 (parse_ulps): Likewise.
4743 (print_ulps_file): Likewise.
4744 (get_failure): Remove function.
4745 (output_test): Don't handle expected failures.
4746 * make/README.libm-test: Don't mention expected failure handling.
4747
a7548d41
JM
4748 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4749 (minus_zero): Likewise.
4750 (plus_infty): Likewise.
4751 (minus_infty): Likewise.
4752 (qnan_value): Likewise.
4753 (max_value): Likewise.
4754 (min_value): Likewise.
4755 (min_subnorm_value): Likewise.
4756 (initialize): Do not initialize those variables dynamically.
4757
60bfd54c
RM
47582013-05-03 Roland McGrath <roland@hack.frob.com>
4759
cc0e6ed8
RM
4760 * io/open.c (__open_2): Moved to ...
4761 * io/open_2.c: ... this new file.
4762 * io/open64.c (__open64_2): Moved to ...
4763 * io/open64_2.c: ... this new file.
4764 * io/openat.c (__openat_2): Moved to ...
4765 * io/openat_2.c: ... this new file.
4766 * io/openat64.c (__openat64_2): Moved to ...
4767 * io/openat64_2.c: ... this new file.
4768 * io/Makefile (routines): Add them.
4769 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4770 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4771 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4772 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4773 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4774 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4775 (__openat64): Add hidden_ver.
4776 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4777 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4778
60bfd54c
RM
4779 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4780 Separately conditionalize setting of GLRO(dl_sysinfo) so
4781 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4782 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4783
83e7640f
AZ
47842013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4785
4786 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4787 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4788 definition.
4789 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4790 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4791 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4792 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4793 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4794
d5dc2af3
JM
47952013-05-03 Joseph Myers <joseph@codesourcery.com>
4796
c31a5b1e
JM
4797 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4798 test signgam value.
4799
d5dc2af3
JM
4800 * math/libm-test.inc (hypot_test): Do not use
4801 IGNORE_ZERO_INF_SIGN.
4802
164fd39d
AJ
48032013-05-03 Andreas Jaeger <aj@suse.de>
4804
4805 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4806 Linux 3.9.
4807 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4808 (PF_MAX): Adjust for VSOCK change.
4809
8237f48c
AZ
48102013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4811
4812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4813
9df02941
CD
48142013-05-02 Carlos O'Donell <carlos@redhat.com>
4815
4816 [BZ #15264]
4817 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4818 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4819 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4820
d422395e
DM
48212013-05-02 David S. Miller <davem@davemloft.net>
4822
4823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4824
a07c5731
OB
48252013-05-01 Ondřej Bílka <neleai@seznam.cz>
4826
4827 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4828
1324e37f
RM
48292013-05-01 Roland McGrath <roland@hack.frob.com>
4830
4831 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4832
0695940b
RS
48332013-05-01 Richard Smith <richard@metafoo.co.uk>
4834
bb5f27ad 4835 [BZ #14952]
0695940b
RS
4836 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4837 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4838 Use __attribute__ ((__gnu_inline__)).
4839 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4840 Don't use __attribute__ ((__gnu_inline__)).
4841
10de07f5
JM
48422013-05-01 Joseph Myers <joseph@codesourcery.com>
4843
4844 [BZ #15423]
4845 * math/s_catan.c (__catan): Handle small real or imaginary part of
4846 input specially to avoid spurious underflow.
4847 * math/s_catanf.c (__catanf): Likewise.
4848 * math/s_catanh.c (__catanh): Likewise.
4849 * math/s_catanhf.c (__catanhf): Likewise.
4850 * math/s_catanhl.c (__catanhl): Likewise.
4851 * math/s_catanl.c (__catanl): Likewise.
4852 * math/libm-test.inc (catan_test): Add more tests.
4853 (catanh_test): Likewise.
4854 * sysdeps/i386/fpu/libm-test-ulps: Update.
4855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4856
cb4d5414
AZ
48572013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4858
4859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4860
caf84319
JM
48612013-04-30 Joseph Myers <joseph@codesourcery.com>
4862
4863 [BZ #15416]
4864 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4865 accurately for denominator in atan2.
4866 * math/s_catanf.c (__catanf): Likewise.
4867 * math/s_catanh.c (__catanh): Likewise.
4868 * math/s_catanhf.c (__catanhf): Likewise.
4869 * math/s_catanhl.c (__catanhl): Likewise.
4870 * math/s_catanl.c (__catanl): Likewise.
4871 * math/libm-test.inc (catan_test): Add more tests.
4872 (catanh_test): Likewise.
4873 * sysdeps/i386/fpu/libm-test-ulps: Update.
4874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4875
d569c6ee
SP
48762013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4877
6dbe713d
SP
4878 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4879
f0ee064b
SP
4880 * benchtests/Makefile (bench): Remove slow benchmarks.
4881 * benchtests/atan-inputs: Add slow benchmark inputs.
4882 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4883 (BENCH_FUNC): Accept variant offset.
4884 (VARIANT): Define.
4885 * benchtests/bench-skeleton.c (main): Run benchmark for each
4886 variant.
4887 * benchtests/cos-inputs: Add slow benchmark inputs.
4888 * benchtests/exp-inputs: Likewise.
4889 * benchtests/pow-inputs: Likewise.
4890 * benchtests/sin-inputs: Likewise.
4891 * benchtests/slowatan-inputs: Remove.
4892 * benchtests/slowatan.c: Remove.
4893 * benchtests/slowcos-inputs: Remove.
4894 * benchtests/slowcos.c: Remove.
4895 * benchtests/slowexp-inputs: Remove.
4896 * benchtests/slowexp.c: Remove.
4897 * benchtests/slowpow-inputs: Remove.
4898 * benchtests/slowpow.c: Remove.
4899 * benchtests/slowsin-inputs: Remove.
4900 * benchtests/slowsin.c: Remove.
4901 * benchtests/slowtan-inputs: Remove.
4902 * benchtests/slowtan.c: Remove.
4903 * benchtests/tan-inputs: Add slow benchmark inputs.
4904 * scripts/bench.pl: Parse comments and directives.
4905
d569c6ee
SP
4906 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4907 in CPPFLAGS.
4908 ($(objpfx)bench-%.c): Remove *-ITER.
4909 * benchtests/bench-modf.c: Remove definition of ITER.
4910 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4911 (main): Loop for DURATION seconds instead of fixed number of
4912 iterations.
4913 * scripts/bench.pl: Don't expect iterations in parameters.
4914
a6a242fe
RM
49152013-04-29 Roland McGrath <roland@hack.frob.com>
4916
4917 * io/fchdir.c (__fchdir): Renamed from fchdir.
4918 (fchdir): Define as weak alias.
4919
f2da7793
JM
49202013-04-29 Joseph Myers <joseph@codesourcery.com>
4921
4922 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4923 (ERRNO_EDOM): Likewise.
4924 (ERRNO_ERANGE): Likewise.
4925 (noErrnoTests): New variable.
4926 (init_max_error): Set errno to 0.
4927 (test_single_errno): New function.
4928 (test_errno): Likewise.
4929 (check_float_internal): Call test_errno. Set errno to 0.
4930 (check_complex): Refer to errno tests in comment.
4931 (check_int): Call test_errno. Set errno to 0.
4932 (check_long): Likewise.
4933 (check_bool): Likewise.
4934 (check_longlong): Likewise.
4935 (cos_test): Use ERRNO_* flags for errno tests instead of
4936 check_int.
4937 (expm1_test): Likewise.
4938 (fmod_test): Likewise.
4939 (ilogb_test): Likewise.
4940 (lgamma_test): Likewise.
4941 (pow_test): Likewise.
4942 (remainder_test): Likewise.
4943 (sin_test): Likewise.
4944 (tan_test): Likewise.
4945 (yn_test): Likewise.
4946 (initialize): Set errno to 0.
4947 (main): Print number of errno tests.
4948 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4949
b1a36ceb
AJ
49502013-04-29 Andreas Jaeger <aj@suse.de>
4951
c3ed8088
AJ
4952 [BZ #15084]
4953 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4954 and RES_USEVC.
4955
f1a24198
AJ
4956 [BZ #15085]
4957 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4958 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4959 unimplemented.
4960
9ce3b2cb
AJ
4961 [BZ #15380]
4962 * stdlib/random.c (__initstate): Return NULL if
4963 __initstate fails.
4964
f1a24198 4965 [BZ #15086]
b1a36ceb
AJ
4966 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4967 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4968 RES_SNGLKUPREOP.
4969
7e7b6f36
AZ
49702013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4971
4972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4973
4d14f449
JM
49742013-04-29 Joseph Myers <joseph@codesourcery.com>
4975
4976 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4977 of individual tests.
4978 (casin_test): Likewise.
4979 (casinh_test): Likewise.
4980
5b4217d7
JM
49812013-04-27 Joseph Myers <joseph@codesourcery.com>
4982
4983 [BZ #15409]
4984 * math/s_catan.c (__catan): Handle arguments with large real or
4985 imaginary part separately without squaring.
4986 * math/s_catanf.c (__catanf): Likewise.
4987 * math/s_catanh.c (__catanh): Likewise.
4988 * math/s_catanhf.c (__catanhf): Likewise.
4989 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4990 and redefine.
4991 (__catanhl): Handle arguments with large real or imaginary part
4992 separately without squaring.
4993 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4994 and redefine.
4995 (__catanl): Handle arguments with large real or imaginary part
4996 separately without squaring.
4997 * math/libm-test.inc (catan_test): Add more tests.
4998 (catanh_test): Likewise.
4999 * sysdeps/i386/fpu/libm-test-ulps: Update.
5000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5001
4220c3ef
AJ
50022013-04-27 Andreas Jaeger <aj@suse.de>
5003
5004 [BZ #15007]
5005 * stdlib/stdlib.h: Update guards for qecvt.
5006 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5007 <stdlib.h>.
5008
4721b2d1
AM
50092013-04-27 Allan McRae <allan@archlinux.org>
5010
5011 * sysdeps/i386/fpu/libm-test-ulps: Update.
5012
f0302940
JM
50132013-04-26 Joseph Myers <joseph@codesourcery.com>
5014
9457fd95
JM
5015 [BZ #15406]
5016 * math/s_catan.c: Include <float.h>.
5017 (__catan): Ensure underflow exception occurs for underflowed
5018 result.
5019 * math/s_catanf.c: Include <float.h>.
5020 (__catanf): Ensure underflow exception occurs for underflowed
5021 result.
5022 * math/s_catanh.c: Include <float.h>.
5023 (__catanh): Ensure underflow exception occurs for underflowed
5024 result.
5025 * math/s_catanhf.c: Include <float.h>.
5026 (__catanhf): Ensure underflow exception occurs for underflowed
5027 result.
5028 * math/s_catanhl.c: Include <float.h>.
5029 (__catanhl): Ensure underflow exception occurs for underflowed
5030 result.
5031 * math/s_catanl.c: Include <float.h>.
5032 (__catanl): Ensure underflow exception occurs for underflowed
5033 result.
5034 * math/libm-test.inc (catan_test): Add more tests.
5035 (catanh_test): Likewise.
5036
f0302940
JM
5037 [BZ #15405]
5038 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5039 underflowed result.
5040 * math/s_ccoshf.c (__ccoshf): Likewise.
5041 * math/s_ccoshl.c (__ccoshl): Likewise.
5042 * math/s_csin.c (__csin): Likewise.
5043 * math/s_csinf.c (__csinf): Likewise.
5044 * math/s_csinh.c (__csinh): Likewise.
5045 * math/s_csinhf.c (__csinhf): Likewise.
5046 * math/s_csinhl.c (__csinhl): Likewise.
5047 * math/s_csinl.c (__csinl): Likewise.
5048 * math/libm-test.inc (ccos_test): Add more tests.
5049 (ccosh_test): Likewise.
5050 (csin_test): Likewise.
5051 (csinh_test): Likewise.
5052
aa630f59
AZ
50532013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5054
5055 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5056 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5057 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5058 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5059 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5060 powerpc/power5+/fpu folders.
5061 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5062
5063
1b835983
MT
50642013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5065
5066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5067
73709b26
JM
50682013-04-25 Joseph Myers <joseph@codesourcery.com>
5069
5070 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5071 additions to variable.
5072 [$(config-machine) = x86_64] (modules-names): Likewise.
5073 ($(objpfx)tst-audit3): Remove dependency.
5074 ($(objpfx)tst-audit3.out): Likewise.
5075 ($(objpfx)tst-audit4): Likewise.
5076 ($(objpfx)tst-audit4.out): Likewise.
5077 ($(objpfx)tst-audit5): Likewise.
5078 ($(objpfx)tst-audit5.out): Likewise.
5079 ($(objpfx)tst-audit6): Likewise.
5080 ($(objpfx)tst-audit6.out): Likewise.
5081 ($(objpfx)tst-audit7): Likewise.
5082 ($(objpfx)tst-audit7.out): Likewise.
5083 (tst-audit3-ENV): Remove variable.
5084 (tst-audit4-ENV): Likewise.
5085 (tst-audit5-ENV): Likewise.
5086 (tst-audit6-ENV): Likewise.
5087 (tst-audit7-ENV): Likewise.
5088 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5089 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5090 addition to variable.
5091 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5092 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5093 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5094 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5095 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5096 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5097 tst-audit3, tst-audit4 and tst-audit5.
5098 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5099 tst-audit6 and tst-audit7.
5100 [$(subdir) = elf] (modules-names): Add audit modules for those
5101 tests.
5102 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5103 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5104 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5105 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5106 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5107 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5108 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5109 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5110 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5111 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5112 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5113 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5114 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5115 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5116 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5117 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5118 Likewise.
5119 [$(subdir) = elf && $(config-cflags-avx) = yes]
5120 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5121 [$(subdir) = elf && $(config-cflags-avx) = yes]
5122 (CFLAGS-tst-auditmod4a.c): Likewise.
5123 [$(subdir) = elf && $(config-cflags-avx) = yes]
5124 (CFLAGS-tst-auditmod4b.c): Likewise.
5125 [$(subdir) = elf && $(config-cflags-avx) = yes]
5126 (CFLAGS-tst-auditmod6b.c): Likewise.
5127 [$(subdir) = elf && $(config-cflags-avx) = yes]
5128 (CFLAGS-tst-auditmod6c.c): Likewise.
5129 [$(subdir) = elf && $(config-cflags-avx) = yes]
5130 (CFLAGS-tst-auditmod7b.c): Likewise.
5131 * elf/tst-audit3.c: Move to ...
5132 * sysdeps/x86_64/tst-audit3.c: ... here.
5133 * elf/tst-audit4.c: Move to ...
5134 * sysdeps/x86_64/tst-audit4.c: ... here.
5135 * elf/tst-audit5.c: Move to ...
5136 * sysdeps/x86_64/tst-audit5.c: ... here.
5137 * elf/tst-audit6.c: Move to ...
5138 * sysdeps/x86_64/tst-audit6.c: ... here.
5139 * elf/tst-audit7.c: Move to ...
5140 * sysdeps/x86_64/tst-audit7.c: ... here.
5141 * elf/tst-auditmod3a.c: Move to ...
5142 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5143 * elf/tst-auditmod3b.c: Move to ...
5144 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5145 * elf/tst-auditmod4a.c: Move to ...
5146 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5147 * elf/tst-auditmod4b.c: Move to ...
5148 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5149 * elf/tst-auditmod5a.c: Move to ...
5150 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5151 * elf/tst-auditmod5b.c: Move to ...
5152 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5153 * elf/tst-auditmod6a.c: Move to ...
5154 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5155 * elf/tst-auditmod6b.c: Move to ...
5156 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5157 * elf/tst-auditmod6c.c: Move to ...
5158 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5159 * elf/tst-auditmod7a.c: Move to ...
5160 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5161 * elf/tst-auditmod7b.c: Move to ...
5162 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5163
1ef74943
PP
51642013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5165
5166 [BZ #15366]
5167 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5168 define unconditionally.
5169 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5170 define unconditionally.
5171 (INT8_C, INT16_C, etc.): Likewise.
5172
93fd48c5
MR
51732013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5174
ae9552cf
MR
5175 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5176 __ehdr_start with hidden visibility.
5177
93fd48c5
MR
5178 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5179
418601aa
CD
51802013-04-24 Carlos O'Donell <carlos@redhat.com>
5181
5182 * math/libm-test.inc (cos_test): Use accurate hex constants.
5183 (sincost_test): Likewise.
5184
2f38fbfe
JM
51852013-04-24 Joseph Myers <joseph@codesourcery.com>
5186
5e221800
JM
5187 * math/libm-test.inc (catan_test): Add more tests.
5188 (catanh_test): Likewise.
5189
77f143fd
JM
5190 * math/s_catanf.c (__catanf): Use suffixed floating-point
5191 constants.
5192 * math/s_catanhf.c (__catanhf): Likewise.
5193 * math/s_catanhl.c (__catanhl): Likewise.
5194 * math/s_catanl.c (__catanl): Likewise.
5195
2f38fbfe
JM
5196 [BZ #15394]
5197 * math/s_catan.c (__catan): Calculate imaginary part of result
5198 with log1p not log unless computing log of number close to 0.
5199 * math/s_catanf.c (__catanf): Likewise.
5200 * math/s_catanl.c (__catanl): Likewise.
5201 * math/s_catanh.c (__catanh): Calculate real part of result with
5202 log1p not log unless computing log of number close to 0.
5203 * math/s_catanhf.c (__catanhf): Likewise.
5204 * math/s_catanhl.c (__catanhl): Likewise.
5205 * math/libm-test.inc (catan_test): Add more tests.
5206 (catanh_test): Likewise.
5207 * sysdeps/i386/fpu/libm-test-ulps: Update.
5208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5209
45d69176
SP
52102013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5211
5212 * benchtests/Makefile: Mention files in which fast and slow
5213 paths of math functions are implemented.
5214
87f51853
RM
52152013-04-23 Roland McGrath <roland@hack.frob.com>
5216
5217 * sysdeps/posix/timespec_get.c: New file.
5218
3c026539
AZ
52192013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5220
5221 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5222 POWER.
5223 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5224 for POWER.
5225 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5226 powerpc/power5/fpu folders.
5227 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5228 * benchtests/Makefile: Add modf testcase.
5229 * benchtests/bench-modf.c: New file: Benchmark test for mo
5230
ff491d14
SP
52312013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5232
5233 [BZ #14888]
5234 * time/Makefile (tests): Add tst-strptime-whitespace.
5235 * time/strptime_l.c (get_number): Use ISSPACE.
5236 (__strptime_internal): Likewise.
5237 * time/tst-strptime-whitespace.c: New test case.
5238
7ed3f4e8
AS
52392013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5240
5241 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5242 member.
5243 (_nss_files_init): Set it here.
5244
5c95f7b6
HC
52452013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5246
5247 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5248 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5249 unsigned.
5250
d34c9158
JBG
52512013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5252
5253 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5254
2169712d
SP
52552013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5256
5257 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5258 size just once.
5259
29c5de99
DM
52602013-04-21 David S. Miller <davem@davemloft.net>
5261
5262 * po/ru.po: Update Russion translation from translation project.
5263
ccdad15d
AC
52642013-04-17 Adam Conrad <adconrad@0c3.net>
5265
5266 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5267 and setfsgid.
5268
0f122b8d
CD
52692013-04-17 Carlos O'Donell <carlos@redhat.com>
5270
5c5b07da 5271 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5272 * configure: Regenerate.
5c5b07da 5273 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5274 Add example to error message.
5275 * sysdeps/i386/configure: Regenerate.
5276
037714dd
SP
52772013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5278
5279 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5280 slowtan.
5281 * benchtests/cos-inputs: New file.
5282 * benchtests/slowcos-inputs: New file.
5283 * benchtests/slowcos.c: New file.
5284 * benchtests/slowtan-inputs: New file.
5285 * benchtests/slowtan.c: New file.
5286 * benchtests/tan-inputs: New file.
5287
e913141d
RM
52882013-04-16 Roland McGrath <roland@hack.frob.com>
5289
5290 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5291 considered kosher.
5292
a2964074
SP
52932013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5294
4856bcd2
SP
5295 * benchtests/Makefile: Include cppflags-iterator.mk to add
5296 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5297
a2964074
SP
5298 * Makefile.in (bench-clean): New target.
5299 * benchtests/Makefile (bench-clean): Likewise.
5300
9fbf9aca
DH
53012013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5302
5303 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5304
207d1e2a
TS
53052013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5306
5307 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5308
306dfba9
AS
53092013-04-15 Andreas Schwab <schwab@suse.de>
5310
5311 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5312 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5313 * nscd/pwdcache.c (cache_addpw): Likewise.
5314 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5315 more than recsize.
5316
206a6699
SP
53172013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5318
5319 * benchtests/Makefile (bench): Write all output to
5320 bench-out.tmp together.
5321
0582f6b3
AS
53222013-04-15 Andreas Schwab <schwab@suse.de>
5323
5324 * nscd/nscd.c (main): Don't fork again after closing files.
5325
acb4325f
SP
53262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5327
5cb26d0a
SP
5328 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5329
acb4325f
SP
5330 * benchtests/Rules (bench-deps): Collect dependencies into a
5331 single variable. Add Makefile to dependencies.
5332 ($(objpfx)bench-%.c): Depend on bench-deps.
5333
47792506
RM
53342013-04-12 Roland McGrath <roland@hack.frob.com>
5335 Xavier Roche <roche+kml2@exalead.com>
5336
5337 [BZ #15361]
5338 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5339 just that it's a file descriptor.
5340 * manual/llio.texi (Synchronizing AIO Operations): Update description
5341 for EBADF error from aio_fsync.
5342
8fc1bee5
SP
53432013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5344
5345 * Rules (bench): Move target definition...
5346 * benchtests/Makefile: ... here.
5347
aba5e333
CD
53482013-04-11 Carlos O'Donell <carlos@redhat.com>
5349
5350 * math/libm-test.inc (cos_test): Fix PI/2 test.
5351 (sincos_test): Likewise.
5352 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5353 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5354
273cdee8
AS
53552013-04-11 Andreas Schwab <schwab@suse.de>
5356
6ecec3b6
AS
5357 [BZ #13988]
5358 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5359 accept exponent character only when digits were seen.
5360 * stdio-common/Makefile (tests): Add bug26.
5361 * stdio-common/bug26.c: New file.
5362
273cdee8
AS
5363 [BZ #14293]
5364 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5365 non-freeable.
5366
8da491f5
SP
53672013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5368
01dc6df9
SP
5369 * Makeconfig (rtld-prefix): Define built linker prefix.
5370 * Rules (run-bench): Use it.
5371 * math/Makefile (run-regen-ulps): Likewise.
5372
8da491f5
SP
5373 * Rules (bench): Remove eval.
5374
abe7f530
SP
53752013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5376 Roland McGrath <roland@hack.frob.com>
5377 Ondrej Bilka <neleai@seznam.cz>
5378
5379 [BZ #15346]
5380 * time/getdate.c: Include ctype.h and alloca.h.
5381 (__getdate_r): Trim leading and trailing spaces of input.
5382 * time/tst-getdate.c (tests): Add tests with leading and
5383 trailing spaces.
5384
61c23e62
RM
53852013-04-08 Roland McGrath <roland@hack.frob.com>
5386
5387 [BZ #14280]
5388 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5389 when computing value.
5390
7208a313
CD
53912013-04-06 Carlos O'Donell <carlos@redhat.com>
5392
085b2d41
CD
5393 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5394 Use testrun.sh to run libm tests.
5395
7208a313
CD
5396 [BZ #15309]
5397 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5398
872c0acd
MM
53992013-04-06 Marko Myllynen <myllynen@redhat.com>
5400
5401 [BZ #15264]
5402 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5403
26510bdd
CD
54042013-04-06 Carlos O'Donell <carlos@redhat.com>
5405
5406 * Makefile.in (regen-ulps): New target.
5407 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5408 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5409 [ifneq (no,$(PERL)] (regen-ulps): New target.
5410 [ifeq (no,$(PERL)] (regen-ulps): New target.
5411 * math/libm-test.inc (ulps_file_name): Define.
5412 (output_dir): New variable.
5413 (options): Add "output-dir" option.
5414 (parse_opt): Handle 'o' case.
5415 (main): If output_dir is non-NULL use it as a prefix
5416 otherwise use "".
5417 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5418
a01f19c8
CD
54192013-04-06 Carlos O'Donell <carlos@redhat.com>
5420
5421 [BZ #10060, #10062]
5422 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5423 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5424 fail configure if __sync_val_compare_and_swap is not inlined.
5425 * sysdeps/i386/configure: Regenerate.
5426 * configure.in: Build for i686 when configured for i386.
5427 * configure: Regenerate.
5428 * README: Remove i386 reference.
5429
b7a329a5
CD
54302013-04-06 Carlos O'Donell <carlos@redhat.com>
5431
5432 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5433 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5434
bf0f50df
TS
54352013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5436
ee091edf
TS
5437 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5438 (lmsnanval): New variables.
5439 (F): Add conversion tests.
5440 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5441 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5442
a8b792d6
TS
5443 * stdio-common/tstdiomisc.c (F): Properly collect individual
5444 tests' results.
5445
a1cbf437
TS
5446 [BZ #14686, #15336]
5447 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5448 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5449 Instead, use input NaN values or generate a qNaN by arithmetic
5450 operation. Also fix bugs to comply with the standard.
5451 * math/libm-test.inc (remainder_test): Add more tests.
5452
8b43a0c9
TS
5453 [BZ #15335, #15342]
5454 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5455 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5456 input NaN values or generate a qNaN by arithmetic operation.
5457
d91da4ce
TS
5458 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5459 unreachable code.
5460
bf0f50df
TS
5461 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5462 definitions.
5463
05e166c8
JM
54642013-04-03 Joseph Myers <joseph@codesourcery.com>
5465
5466 [BZ #14478]
5467 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5468 underflowed result.
5469 * math/s_cexpf.c (__cexpf): Likewise.
5470 * math/s_cexpl.c (__cexpl): Likewise.
5471 * math/libm-test.inc (cexp_test): Add more tests.
5472
1cef1b19
AS
54732013-04-03 Andreas Schwab <schwab@suse.de>
5474
5475 [BZ #15330]
5476 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5477 order arrays from heap if bigger than alloca cutoff.
5478
74d87055
TS
54792013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5480
5481 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5482 (SNAN_TESTS_double): Refer to GCC PR56831.
5483 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5484 GCC PR56828.
5485
d755bba4
SP
54862013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5487
90d5d5bb
SP
5488 * Rules (bench): Move bench.out after the run is complete.
5489
73e0cd5d
SP
5490 * Rules (bench): Echo currently running benchmark.
5491
64aabd4b
SP
5492 * benchtests/Makefile (bench): Add atan and slowatan.
5493 * benchtests/atan-inputs: New file.
5494 * benchtests/slowatan-inputs: New file.
5495 * benchtests/slowatan.c: New file.
5496
c871eccd
SP
5497 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5499 its value.
5500
d755bba4
SP
5501 [BZ #15305]
5502 * sysdeps/unix/sysv/linux/kernel-features.h
5503 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5504 __ASSUME_XFS_RESTRICTED_CHOWN.
5505 * sysdeps/unix/sysv/linux/pathconf.c
5506 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5507 Save and restore errno.
5508
52ce4860
JM
55092013-04-02 Joseph Myers <joseph@codesourcery.com>
5510
5511 [BZ #15327]
5512 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5513 arguments using __kernel_casinh.
5514 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5515 arguments using __kernel_casinhf.
5516 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5517 arguments using __kernel_casinhl.
5518 * math/libm-test.inc (cacosh_test): Add more tests.
5519 * sysdeps/i386/fpu/libm-test-ulps: Update.
5520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5521
81f311c2
SP
55222013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5523
e7906a47
SP
5524 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5525 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5526
92e3664b
SP
5527 * bench/Makefile (bench): Add sin and slowsin.
5528 * benchtests/sin-inputs: New file.
5529 * benchtests/slowsin-inputs: New file.
5530 * benchtests/slowsin.c: New file.
5531
81f311c2
SP
5532 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5533 (bench): Add slowexp and slowpow.
5534 (exp-ITER): Increase iterations.
5535 (pow-ITER): Likewise.
5536 * benchtests/exp-inputs: Change input.
5537 * benchtests/pow-inputs: Likewise.
5538 * benchtests/slowexp-inputs: New file.
5539 * benchtests/slowexp.c: New file.
5540 * benchtests/slowpow-inputs: New file.
5541 * benchtests/slowpow.c: New file.
5542
ab0f1aa9
AZ
55432013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5544
5545 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5546 instructions.
5547 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5548 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5549 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5550 * benchtests/Makefile: Add rint benchtest.
5551 * benchtests/rint-inputs: Input for rint benchtest.
5552
57267616
TS
55532013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5554
5555 * Versions.def (libm): Add GLIBC_2.18.
5556 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5557 hidden libm prototypes.
5558 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5559 * math/Makefile (libm-calls): Add s_issignaling.
5560 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5561 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5562 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5563 declaration.
5564 * math/math.h [__USE_GNU] (issignaling): New macro.
5565 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5566 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5567 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5568 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5570 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5571 * manual/arith.texi (issignaling): New section.
5572 * manual/libm-err-tab.pl (@all_functions): Update comment.
5573 * math/gen-libm-test.pl (parse_args): Apply special handling for
5574 issignaling.
5575 * math/libm-test.inc (print_float, issignaling_test): New
5576 functions.
5577 (check_float_internal): Add issignaling checks.
5578 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5579 default definition.
5580 * sysdeps/powerpc/math-tests.h: New file.
5581 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5582 tests.
5583 * math/test-snan.c (TEST_FUNC): Likewise.
5584
6142896d
DM
55852013-03-30 David S. Miller <davem@davemloft.net>
5586
5587 * po/de.po: Update from translation team.
5588
ccc8cadf
JM
55892013-03-30 Joseph Myers <joseph@codesourcery.com>
5590
5591 [BZ #10357]
5592 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5593 imaginary part less than 1.0 and real part less than 0.5
5594 specially.
5595 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5596 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5597 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5598 (cacos_test): Add more tests.
5599 (casin_test): Likewise.
5600 (casinh_test): Likewise.
5601 * sysdeps/i386/fpu/libm-test-ulps: Update.
5602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5603
0f6a8d4b
SP
56042013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5605
0d1029de
SP
5606 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5607 ONE with its value.
5608
c2d94018
SP
5609 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5610 (__pow_mp): Replace ONE and MONE with their values.
5611 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5612 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5613 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5614 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5615 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5616 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5617
27ec37f1
SP
5618 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5619
a64d7e0e
SP
5620 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5621 (__pow_mp): Replace ZERO and MZERO with their values.
5622 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5623 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5624 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5626 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5627 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5628 (__sqr): Likewise.
5629
d26dd3eb
SP
5630 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5631
0f6a8d4b
SP
5632 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5633
e57b0c61
RM
56342013-03-28 Roland McGrath <roland@hack.frob.com>
5635
5636 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5637 Declare with __attribute__ ((weak)).
5638 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5639 Call __call_tls_dtors only if it's not NULL.
5640
356b3480
RM
56412013-03-28 Roland McGrath <roland@hack.frob.com>
5642
288f7d79
RM
5643 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5644 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5645 magic __ehdr_start linker symbol if it's defined.
5646 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5647 them up here if it was already done.
5648
dc0a0263
RM
5649 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5650 (_dl_aux_init): Use const in cast when setting it.
5651 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5652 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5653 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5654
3d3436ae
RM
5655 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5656 Declare them here.
5657 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5658 * csu/libc-tls.c: Nor here.
5659 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5660
356b3480
RM
5661 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5662 (__libc_message): Never call vsyslog.
5663
b0f1246a
AM
56642013-03-28 Alan Modra <amodra@gmail.com>
5665
5666 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5667 Define as empty.
5668 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5669 Likewise.
5670
fbbe2b9a
AZ
56712013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5672
5673 [BZ #15214]
5674 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5675 underflow.
5676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5677
1728ab37
SP
56782013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5679
7a86be6e
SP
5680 [BZ #15304]
5681 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5682 Don't add gid passed as argument.
5683
1728ab37
SP
5684 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5685
3a7182a1
JM
56862013-03-27 Joseph Myers <joseph@codesourcery.com>
5687
5688 [BZ #15307]
5689 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5690 imaginary part between 1.0 and 1.5 and real part less than 0.5
5691 specially.
5692 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5693 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5694 * math/libm-test.inc (cacos_test): Add more tests.
5695 (casin_test): Likewise.
5696 (casinh_test): Likewise.
5697 * sysdeps/i386/fpu/libm-test-ulps: Update.
5698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5699
6f2e90e7
SP
57002013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5701
5739f705
SP
5702 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5703 constants.
5704 (norm): Likewise.
5705 (denorm): Likewise.
5706 (__dbl_mp): Likewise.
5707 (add_magnitudes): Likewise.
5708 (sub_magnitudes): Likewise.
5709 (__add): Likewise.
5710 (__sub): Likewise.
5711 (__mul): Likewise.
5712 (__sqr): Likewise.
5713 (__inv): Likewise.
5714 (__dvd): Likewise.
5715
e375e83d
SP
5716 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5717 commented code.
5718 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5719 (__dubcos): Likewise.
5720 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5721 (__ieee754_acos): Likewise.
5722 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5723 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5724 (__exp1): Likewise.
5725 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5726 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5727 (log1): Likewise.
5728 (my_log2): Likewise.
5729 (checkint): Likewise.
5730 * sysdeps/ieee754/dbl-64/e_remainder.c
5731 (__ieee754_remainder): Likewise.
5732 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5733 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5734 (bsloww): Likewise.
5735 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5736
6f2e90e7
SP
5737 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5738 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5739 MANTISSA_STORE_T to store computations on mantissa. Use
5740 macros for rounding and division.
5741 (denorm): Likewise.
5742 (__dbl_mp): Likewise.
5743 (add_magnitudes): Likewise.
5744 (sub_magnitudes): Likewise.
5745 (__mul): Likewise.
5746 (__sqr): Likewise.
5747 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5748 powers of two in terms of TWOPOW macro.
5749 (mp_no): Make type of mantissa as MANTISSA_T.
5750 [!RADIXI]: Define RADIXI.
5751 [!TWO52]: Define TWO52.
5752 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5753
fce14d4e
AZ
57542013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5755
5756 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5757 llroundl symbol when building for PPC32.
5758
9ad027fb
MW
57592013-03-24 Mark H Weaver <mhw@netris.org>
5760
5761 * manual/arith.texi (Normalization Functions): Fix prototypes for
5762 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5763
e42a38dd
AZ
57642013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5765
5766 [BZ #13889]
5767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5768 high value to check if expl overflow.
5769 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5770 to check for underflow and overflow.
5771 * math/libm-test.inc: Add exp test.
5772
2e0fb521
DL
57732013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5774
5775 [BZ #11120]
5776 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5777 with NOT_IN_libc.
5778
b5784d95
AZ
57792013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5780
5781 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5782 symbol.
5783
5aa4a1a1
TS
57842013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5785
bdef0be7
TS
5786 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5787 wrap blocks consisting of several statements.
5788
5aa4a1a1
TS
5789 * sysdeps/generic/math-tests.h: New file.
5790 * sysdeps/i386/fpu/math-tests.h: Likewise.
5791 * math/test-snan.c: Include it.
5792 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5793
98c48fe5
JM
57942013-03-21 Joseph Myers <joseph@codesourcery.com>
5795
5796 [BZ #15285]
5797 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5798 (__ieee754_j0l): Do not improve calculations using cos of twice
5799 input for inputs above LDBL_MAX / 2.0L.
5800 (__ieee754_y0l): Likewise.
5801 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5802 (__ieee754_j1l): Do not improve calculations using cos of twice
5803 input for inputs above LDBL_MAX / 2.0L.
5804 (__ieee754_y1l): Likewise.
5805 * math/libm-test.inc (j0_test): Add another test.
5806 (j1_test): Likewise.
5807 (y0_test): Likewise.
5808 (y1_test): Likewise.
5809 * sysdeps/i386/fpu/libm-test-ulps: Update.
5810
3775a8bc
SP
58112013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5812
5813 * Rules ($(objpfx)bench-%.c): Include code from a C source
5814 file.
5815
0a1b2ae6
JM
58162013-03-21 Joseph Myers <joseph@codesourcery.com>
5817
5818 [BZ #15287]
5819 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5820 imaginary part 1.0 and real part less than 0.5 specially.
5821 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5822 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5823 * math/libm-test.inc (cacos_test): Add more tests.
5824 (casin_test): Likewise.
5825 (casinh_test): Likewise.
5826 * sysdeps/i386/fpu/libm-test-ulps: Update.
5827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5828
b33d4ce4
SP
58292013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5830
5831 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5832 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5833
bef0b507
JM
58342013-03-20 Joseph Myers <joseph@codesourcery.com>
5835
5836 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5837 * config.make.in (config-cflags-sse4): Remove variable.
5838 (config-cflags-avx): Likewise.
5839 (config-cflags-sse2avx): Likewise.
5840 (config-cflags-novzeroupper): Likewise.
5841 (config-asflags-i686): Likewise.
5842 (have-mfma4): Likewise.
5843 (have-as-vis3): Likewise.
5844 (MIG): Likewise.
5845 * configure.in (MIG): Do not AC_SUBST.
5846 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5847 (libc_cv_cc_sse4): Do not AC_SUBST.
5848 (libc_cv_cc_avx): Likewise.
5849 (libc_cv_cc_sse2avx): Likewise.
5850 (libc_cv_cc_novzeroupper): Likewise.
5851 (libc_cv_cc_fma4): Likewise.
5852 (libc_cv_as_i686): Likewise.
5853 (libc_cv_sparc_as_vis3): Likewise.
5854 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5855 LIBC_CONFIG_VAR.
5856 (config-asflags-i686): Likewise.
5857 (config-cflags-avx): Likewise.
5858 (config-cflags-sse2avx): Likewise.
5859 (have-mfma4): Likewise.
5860 (config-cflags-novzeroupper): Likewise.
5861 * sysdeps/mach/configure.in (MIG): Likewise.
5862 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5863 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5864 LIBC_CONFIG_VAR.
5865 (config-cflags-avx): Likewise.
5866 (config-cflags-sse2avx): Likewise.
5867 (have-mfma4): Likewise.
5868 (config-cflags-novzeroupper): Likewise.
5869 * configure: Regenerated.
5870 * sysdeps/i386/configure: Likewise.
5871 * sysdeps/mach/configure: Likewise.
5872 * sysdeps/sparc/configure: Likewise.
5873 * sysdeps/x86_64/configure: Likewise.
5874
912cc4b3
RM
58752013-03-20 Roland McGrath <roland@hack.frob.com>
5876
5877 [BZ #14812]
5878 * locale/programs/localedef.c (options): Put N_ translation marker
5879 on argument names, not just descriptions.
5880
04eed2b0
MS
58812013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5882
5883 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5884
a065ceff
OB
58852013-03-20 Ondřej Bílka <neleai@seznam.cz>
5886
9bb2a810 5887 [BZ #14176]
a065ceff
OB
5888 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5889
a600e5ce
RM
58902013-03-19 Roland McGrath <roland@hack.frob.com>
5891
5892 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5893 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5894 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5895 [!BEFORE_ABORT] (before_abort): New function.
5896 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5897 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5898 (writev_for_fatal): New function.
5899 (WRITEV_FOR_FATAL): New macro; call that.
5900 (backtrace_and_maps): New function.
5901 (BEFORE_ABORT): New macro; call that.
5902 (struct str_list): Type removed.
5903 (__libc_message, __libc_fatal): Functions removed.
5904 Include <sysdeps/posix/libc_fatal.c> instead.
5905
6b18bea6
JM
59062013-03-19 Joseph Myers <joseph@codesourcery.com>
5907
5908 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5909 constants.
5910 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5911 double constants.
5912
aaa8cb4b
AS
59132013-03-19 Andreas Schwab <schwab@suse.de>
5914
44673770
AS
5915 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5916 * sysdeps/gnu/configure: Regenerate.
5917
aaa8cb4b
AS
5918 * configure.in: Substitute libc_cv_rtlddir.
5919 * configure: Regenerate.
5920 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5921 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5922 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5923 * elf/Makefile (install-others, CFLAGS-interp.c)
5924 (ldso_install, common-ldd-rewrite): Likewise.
5925 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5926 $(inst_slibdir)/$(rtld-installed-name).
5927 * scripts/rellns-sh: Add -p option.
5928 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5929 for source.
5930
d3cfc668
SP
59312013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5932
5933 * manual/nptl.texi: Renamed to ...
5934 * manual/threads.texi: ... this.
5935 * manual/Makefile (chapters): Update.
5936
0e2b9cdd
RM
59372013-03-18 Roland McGrath <roland@hack.frob.com>
5938
5939 [BZ #14812]
5940 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5941 on argument names, not just descriptions.
0e2b9cdd
RM
5942 * malloc/memusagestat.c (options): Likewise.
5943 * nss/getent.c (options): Likewise.
63270c24
RM
5944
59452013-03-18 Benno Schulenberg <bensberg@justemail.net>
5946
5947 [BZ #14812]
5948 * iconv/iconv_prog.c (options): Put N_ translation marker
5949 on argument names, not just descriptions.
5950 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5951
b2e1393c
OB
59522013-03-18 Ondrej Bilka <neleai@seznam.cz>
5953
5954 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5955 implementation which is faster on all x86_64 architectures.
5956 Tested on AMD, Intel Nehalem, SNB, IVB.
5957 * sysdeps/x86_64/strnlen.S: Likewise.
5958
5959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5960 Remove all multiarch strlen and strnlen versions.
5961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5962 Remove strlen and strnlen related parts.
5963
5964 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5965 Inline strlen part.
5966 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5967
5968 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5969 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5970 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5971 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5972 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5973 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5974
ec4ff04d
CD
59752013-03-17 Carlos O'Donell <carlos@redhat.com>
5976
5977 * manual/memory.texi (Malloc Tunable Parameters):
5978 Sort parameters alphabetically. Add comments for missing entries.
5979
cd18e90a
DM
59802013-03-17 David S. Miller <davem@davemloft.net>
5981
5982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5983
2a185d32
JM
59842013-03-16 Joseph Myers <joseph@codesourcery.com>
5985
d2f9799e
JM
5986 [BZ #15283]
5987 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5988 for arguments at most half maximum finite value.
5989 * math/libm-test.inc (j0_test): Add more tests.
5990 (j1_test): Likewise.
5991 (y0_test): Likewise.
5992 (y1_test): Likewise.
5993 * sysdeps/i386/fpu/libm-test-ulps: Update.
5994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5995
2a185d32
JM
5996 [BZ #14155]
5997 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5998 1 / x and functions P and Q for arguments above 0x1p256L.
5999 (__ieee754_y0l): Likewise.
6000 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6001 (__ieee754_y1l): Likewise.
6002 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6003 (j1_test): Likewise.
6004 (y0_test): Likewise.
6005 (y1_test): Likewise.
6006
6cbec759
TS
60072013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6008
6009 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6010 variable.
6011
bc16e260
RM
60122013-03-15 Roland McGrath <roland@hack.frob.com>
6013
aefc9b8c
RM
6014 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6015 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6016 zero since it's initialized to EXEC_PAGESIZE.
6017
bc16e260
RM
6018 * sysdeps/unix/sysv/linux/ldsodefs.h
6019 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6020 * sysdeps/generic/ldsodefs.h: ... here.
6021
a57da955
TS
60222013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6023
af00a34d
TS
6024 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6025
495ded2c
TS
6026 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6027 math/test-snan.c.
6028 * math/test-snan.c: Renamed from
6029 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6030 * math/Makefile (tests): Add test-snan.
6031 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6032 test-powerpc-snan.
6033
777b0332
TS
6034 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6035 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6036 functions.
6037 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6038 __builtin_nan family of functions.
6039 * math/libm-test.inc (initialize): Initialize qnan_value with
6040 __builtin_nan family of functions.
6041 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6042 Remove variables.
6043 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6044 Remove functions.
6045 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6046 storage class. Initialize qNaN_var and sNaN_var with
6047 __builtin_nan and __builtin_nans families of functions,
6048 respectively.
6049
64d063b8
TS
6050 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6051 (sqrt_test): Remove duplicate test with qNaN input.
6052 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6053 (round_test, signbit_test, significand_test): Note missing +/-Inf
6054 as well as qNaN tests.
6055
67e971f1
TS
6056 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6057 qNaN_var. Fix a few strings, too.
6058 * math/libm-test.inc (nan_value): Rename to qnan_value.
6059 * math/gen-libm-test.pl (%beautify): Adjust to that.
6060 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6061 * math/test-misc.c (main): Likewise.
6062 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6063 to __qnan_bytes, and __qnan_union, respectively.
6064 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6065 Likewise.
6066 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6067 and lqnanval, respectively.
6068 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6069 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6070 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6071 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6072
64487e12
TS
6073 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6074 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6075 doubles.
6076
e015e27b
TS
6077 * math/test-misc.c (main): Fix copy'n'pastos.
6078 * misc/tst-efgcvt.c (special): Likewise.
6079
a57da955
TS
6080 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6081 Remove declarations.
6082
1e380345
SP
60832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6084
6085 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6086 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6087 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6088 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6089
ef26eece
AZ
60902013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6091
6092 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6093 macro to return vdso values correctly in IFUNC implementations.
6094 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6095 Optimization by using IFUNC.
6096
8cfdb7e0
SP
60972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6098 Richard Henderson <rth@redhat.com>
6099 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6100
6101 * Makefile.in (bench): New target.
6102 * NEWS: Mention the benchmark framework.
6103 * Rules (bench): Likewise.
6104 (binaries-bench): Generate binaries for functions to
6105 benchmark.
6106 * benchtests/Makefile: New makefile for benchmark tests.
6107 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6108 programs.
6109 * benchtests/exp-inputs: New input file for EXP function.
6110 * benchtests/pow-inputs: New input file for POW function.
6111 * scripts/bench.pl: New script to generate source files for
6112 benchmark programs.
6113
bcda9880
SP
61142013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6115
d22ca8cd
SP
6116 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6117 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6118 computations on mantissa. Use macros for rounding and
6119 division.
6120 (denorm): Likewise.
6121 (__dbl_mp): Likewise.
6122 (add_magnitudes): Likewise.
6123 (sub_magnitudes): Likewise.
6124 (__mul): Likewise.
6125 (__sqr): Likewise.
6126 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6127 powers of two in terms of TWOPOW macro.
6128 (mp_no): Make type of mantissa as MANTISSA_T.
6129 [!RADIXI]: Define RADIXI.
6130 [!TWO52]: Define TWO52.
6131 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6132
bcda9880
SP
6133 * manual/nptl.texi (cindex): Modify threads to pthreads.
6134
06d5adfb
JM
61352013-03-15 Joseph Myers <joseph@codesourcery.com>
6136
6137 * sysdeps/x86_64/preconfigure: Regenerated.
6138
41c7328e
JM
61392013-03-14 Joseph Myers <joseph@codesourcery.com>
6140
6141 [BZ #14155]
6142 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6143 0x1p28 and above.
6144 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6145 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6146 0x1p28 and above.
6147 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6148 * math/libm-test.inc (j0_test): Do not allow one spurious
6149 underflow exception.
6150 (y1_test): Likewise.
6151
e25cfa60
SP
61522013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6153
0409959c
SP
6154 * manual/Makefile (chapters): Add nptl.
6155 * manual/debug.texi (Debugging Support): Add link to Threads
6156 chapter.
6157 * manual/nptl.texi: New file.
6158
e25cfa60
SP
6159 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6160
58a1335e
PB
61612013-03-14 Petr Baudis <pasky@ucw.cz>
6162
6163 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6164 for non-NULL pointer before the memory validity test. Pointed
6165 out by Holger Brunck <holger.brunck@keymile.com>.
6166
9dc7c64f
AS
61672013-03-13 Andreas Schwab <schwab@suse.de>
6168
6169 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6170 instead of .os.
6171
54206aa6
JM
61722013-03-13 Joseph Myers <joseph@codesourcery.com>
6173
6174 * timezone/zic.c: Update from tzcode 2013b.
6175
e98cdb38
CD
61762013-03-12 Carlos O'Donell <carlos@redhat.com>
6177
6178 * manual/install.texi (Configuring and compiling):
6179 Mention i686 and i586.
6180 * INSTALL: Regenerate.
6181
9967e003
RM
61822013-03-12 Roland McGrath <roland@hack.frob.com>
6183
6184 * sysdeps/init_array/elf-init.c: New file.
6185 * csu/elf-init.c
6186 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6187 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6188
6189 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6190 __gmon_start__ as global, but as static with a .preinit_array pointer.
6191 * sysdeps/init_array/gmon-start.c: New file. Use that.
6192 * sysdeps/init_array/crti.S: New file, empty except for comments.
6193 * sysdeps/init_array/crtn.S: Likewise.
6194
e6b5a293 61952013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6196
6197 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6198 definining bcopy.
80f844c9
OB
6199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6200 Remove Prefer_SSE_for_memop.
6201 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6202 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6203 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6205 memset-x86-64.
80f844c9 6206 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6207 Remove bzero, memset ifunc support.
80f844c9
OB
6208 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6209 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6210 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6211 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6212
fb6b0fcb
AS
62132013-03-11 Andreas Schwab <schwab@suse.de>
6214
6215 [BZ #15234]
6216 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6217 by SHLIB_COMPAT.
6218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6219 (GLIBC_2.16): Remove pthread_atfork.
6220
3e6bd4b1
PP
62212013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6222
6223 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6224 (ptestcases.h): Likewise.
6225
222d7f00
RM
62262013-03-08 Roland McGrath <roland@hack.frob.com>
6227
6228 * Makeconfig ($(common-objpfx)config.status): Depend on
6229 sysdeps/*/preconfigure{,.in} too.
6230
1ba4f030
JM
62312013-03-08 Joseph Myers <joseph@codesourcery.com>
6232
a222d91a
JM
6233 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6234 (__free_hook): Use void * instead of __malloc_ptr_t.
6235 (__malloc_hook): Likewise.
6236 (__realloc_hook): Likewise.
6237 (__memalign_hook): Likewise.
6238 (__after_morecore_hook): Likewise.
6239 * malloc/arena.c (save_malloc_hook): Likewise.
6240 (save_free_hook): Likewise.
6241 * malloc/hooks.c (malloc_hook_ini): Likewise.
6242 (realloc_hook_ini): Likewise.
6243 (memalign_hook_ini): Likewise.
6244 * malloc/malloc.c (malloc_hook_ini): Likewise.
6245 (realloc_hook_ini): Likewise.
6246 (memalign_hook_ini): Likewise.
6247 (__free_hook): Likewise.
6248 (__malloc_hook): Likewise.
6249 (__realloc_hook): Likewise.
6250 (__memalign_hook): Likewise.
6251 (__libc_malloc): Likewise.
6252 (__libc_free): Likewise.
6253 (__libc_realloc): Likewise.
6254 (__libc_memalign): Likewise.
6255 (__libc_valloc): Likewise.
6256 (__libc_pvalloc): Likewise.
6257 (__libc_calloc): Likewise.
6258 (__posix_memalign): Likewise.
6259 * malloc/morecore.c (__sbrk): Likewise.
6260 (__default_morecore): Likewise.
6261
5cc45e10
JM
6262 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6263
dd54b864
JM
6264 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6265 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6266 __malloc_ptrdiff_t.
6267
1ba4f030
JM
6268 * malloc/malloc.h (__malloc_size_t): Remove macro.
6269 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6270 __malloc_size_t.
6271 (old_memalign_hook): Likewise.
6272 (old_realloc_hook): Likewise.
6273 (struct hdr): Likewise.
6274 (flood): Likewise.
6275 (mallochook): Likewise.
6276 (memalignhook): Likewise.
6277 (reallochook): Likewise.
6278 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6279 (tr_old_realloc_hook): Likewise.
6280 (tr_old_memalign_hook): Likewise.
6281 (tr_mallochook): Likewise.
6282 (tr_reallochook): Likewise.
6283 (tr_memalignhook): Likewise.
6284
edf66e57
AZ
62852013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6286
6287 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6288 default_ldbl_pack and using as default implementation.
6289 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6290 implementation.
6291 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6292 redundant definition.
6293 (ldbl_insert_mantissa): Likewise.
6294 (ldbl_canonicalize): Likewise.
6295 (ldbl_nearbyint): Likewise.
6296 (ldbl_pack): Rename to ldbl_pack_ppc.
6297 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6298 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6299 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6300
6d9145d8
SP
63012013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6302
6303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6304 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6305 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6306 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6308 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6309 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6310 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6311
4dd4e157
AJ
63122013-03-07 Andreas Jaeger <aj@suse.de>
6313
6314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6315 bits/mman-linux.h.
6316
adbb8027
SP
63172013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6318
ce544b5b
SP
6319 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6320 Include mpa.h and declare __MPEXP.
6321 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6322 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6323 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6324 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6325 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6326 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6327 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6328
4cc149fd
SP
6329 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6330 (__slowpow): Use long double EXPL and LOGL functions to
6331 compute POW.
6332 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6333 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6334 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6335 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6336 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6337 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6338
e6ebd4a7
SP
6339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6340 intermediate variable to calculate exponent.
6341 (__sqr): Likewise.
6342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6343 Likewise.
6344 (__sqr): Likewise.
6345
82a9811d
SP
6346 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6347 [!NO__SQR]: Define __sqr.
6348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6349 and NO__SQR. Remove all code except __mul and __sqr. Include
6350 sysdeps/ieee754/dbl-64/mpa.c.
6351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6352
adbb8027
SP
6353 [BZ #12723]
6354 * posix/Makefile (tests): Add tst-pathconf.
6355 * posix/tst-pathconf.c: New test case.
6356 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6357 _PC_PIPE_BUF.
6358 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6359
39120df9
PF
63602013-03-06 Patsy Franklin <pfrankli@redhat.com>
6361
6362 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6363
67525cb8
AJ
63642013-03-06 Andreas Jaeger <aj@suse.de>
6365
664a9ce4
AJ
6366 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6367 definition via __MAP_ANONYMOUS.
6368
8e39047d
AJ
6369 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6370 it's not part of Linux headers.
6371
67525cb8
AJ
6372 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6373 (MAP_HUGE_MASK): Define.
6374
6375 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6376 Define.
6377 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6378 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6379 Define.
6380 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6381 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6382 Define.
6383 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6384 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6385 Define.
6386 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6387
6388 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6389 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6390 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6391 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6392 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6393 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6394
6395 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6396 Handle f2fs.
6397
6398 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6399 Handle f2fs and efivarfs.
6400
6401 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6402 f2fs.
6403
6404 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6405 (EFIVARFS_MAGIC): Add.
6406 (F2FS_LINK_MAX): Add.
6407
e1b42695
PP
64082013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6409
6410 * stdio-common/vfprintf.c: Replace __builtin_expect with
6411 __glibc_unlikely.
6412
2d67d91a
JM
64132013-03-06 Joseph Myers <joseph@codesourcery.com>
6414
6415 [BZ #13550]
6416 * sysdeps/generic/bp-sym.h: Remove file.
6417 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6418 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6419 <bp-sym.h> and <bp-asm.h>.
6420 (__longjmp): Don't use BP_SYM.
6421 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6422 and <bp-asm.h>.
6423 (memcpy): Don't use BP_SYM.
6424 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6425 <bp-sym.h> and <bp-asm.h>.
6426 (memcpy): Don't use BP_SYM.
6427 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6428 <bp-asm.h>.
6429 (memcpy): Don't use BP_SYM.
6430 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6431 <bp-asm.h>.
6432 (memset): Don't use BP_SYM.
6433 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6434 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6435 (__bzero): Don't use BP_SYM.
6436 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6437 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6438 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6439 <bp-sym.h> and <bp-asm.h>.
6440 (memcmp): Don't use BP_SYM. Remove comment about bounded
6441 pointers.
6442 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6443 <bp-sym.h> and <bp-asm.h>.
6444 (memcpy): Don't use BP_SYM.
6445 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6446 <bp-sym.h> and <bp-asm.h>.
6447 (memset): Don't use BP_SYM.
6448 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6449 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6450 (__bzero): Don't use BP_SYM.
6451 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6452 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6453 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6454 <bp-sym.h> and <bp-asm.h>.
6455 (strncmp): Don't use BP_SYM. Remove comment about bounded
6456 pointers.
6457 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6458 <bp-sym.h> and <bp-asm.h>.
6459 (memcpy): Don't use BP_SYM.
6460 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6461 <bp-sym.h> and <bp-asm.h>.
6462 (memset): Don't use BP_SYM.
6463 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6464 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6465 (__bzero): Don't use BP_SYM.
6466 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6467 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6468 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6469 <bp-sym.h> and <bp-asm.h>.
6470 (__memchr): Don't use BP_SYM.
6471 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6472 <bp-sym.h> and <bp-asm.h>.
6473 (memcmp): Don't use BP_SYM. Remove comment about bounded
6474 pointers.
6475 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6476 <bp-sym.h> and <bp-asm.h>.
6477 (memcpy): Don't use BP_SYM.
6478 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6479 <bp-sym.h> and <bp-asm.h>.
6480 (__mempcpy): Don't use BP_SYM.
6481 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6482 <bp-sym.h> and <bp-asm.h>.
6483 (__memrchr): Don't use BP_SYM.
6484 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6485 <bp-sym.h> and <bp-asm.h>.
6486 (memset): Don't use BP_SYM.
6487 (__bzero): Likewise.
6488 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6489 <bp-sym.h> and <bp-asm.h>.
6490 (__rawmemchr): Don't use BP_SYM.
6491 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6492 <bp-sym.h> and <bp-asm.h>.
6493 (__STRCMP): Don't use BP_SYM.
6494 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6495 <bp-sym.h> and <bp-asm.h>.
6496 (strchr): Don't use BP_SYM.
6497 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6498 <bp-sym.h> and <bp-asm.h>.
6499 (__strchrnul): Don't use BP_SYM.
6500 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6501 <bp-sym.h> and <bp-asm.h>.
6502 (strlen): Don't use BP_SYM.
6503 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6504 <bp-sym.h> and <bp-asm.h>.
6505 (strncmp): Don't use BP_SYM. Remove comment about bounded
6506 pointers.
6507 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6508 <bp-sym.h> and <bp-asm.h>.
6509 (__strnlen): Don't use BP_SYM.
6510 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6511 <bp-sym.h> and <bp-asm.h>.
6512 (__GI__setjmp): Don't use BP_SYM.
6513 (_setjmp): Likewise.
6514 (__sigsetjmp): Likewise.
6515 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6516 (L(start_addresses)): Don't use BP_SYM.
6517 (_start): Likewise.
6518 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6519 <bp-asm.h>.
6520 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6521 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6522 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6523 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6524 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6525 <bp-asm.h>.
6526 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6527 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6528 about bounded pointers.
6529 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6530 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6531 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6532 <bp-asm.h>.
6533 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6534 about bounded pointers. Remove GKM FIXME comments.
6535 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6536 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6537 <bp-asm.h>.
6538 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6539 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6540 Remove GKM FIXME comments.
6541 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6542 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6543 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6544 <bp-asm.h>.
6545 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6546 about bounded pointers. Remove GKM FIXME comment.
6547 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6548 and <bp-asm.h>.
6549 (strncmp): Don't use BP_SYM. Remove comment about bounded
6550 pointers.
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6552 <bp-sym.h> and <bp-asm.h>.
6553 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6555 <bp-sym.h> and <bp-asm.h>.
6556 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6557 comment.
6558
cdcf361f
PP
65592013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6560
6561 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6562 call free(NULL).
6563
3c4a2b15
DM
65642013-03-05 David S. Miller <davem@davemloft.net>
6565
6566 * po/es.po: Update from translation team.
6567
cdcf361f 65682013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6569
6570 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6571 <bits/mman-linux.h>.
6572 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6573 is fine.
6574 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6575 <bits/mman-linux.h> to end of file.
6576 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6577 is fine.
6578 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6579 <bits/mman-linux.h> to end of file.
6580 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6581 is fine.
6582 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6583 <bits/mman-linux.h> to end of file.
6584
6585 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6586 (MCL_CURRENT, MCL_FUTURE): Define here.
6587
5f67c04f
AK
65882013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6589
8a4473cc 6590 [BZ #15232]
5f67c04f
AK
6591 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6592 attribute_hidden.
6593 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6594
c3e94a95
AK
65952013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6596
6597 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6598 fourth parameter needed for rt_sigprocmask syscall.
6599 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6600 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6601 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6602 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6603 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6604 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6605
cfb6382a
JM
66062013-03-04 Joseph Myers <joseph@codesourcery.com>
6607
6608 [BZ #13550]
6609 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6610 comment about bounded pointers.
6611 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6612 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6613
539d8e01
AJ
66142013-03-04 Andreas Jaeger <aj@suse.de>
6615
6616 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6617 common definitions.
6618
6619 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6620 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6621 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6622 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6623 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6624 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6625
2e167a70 66262013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6627
6628 [BZ #15055]
6629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6630 __ieee754_sqrl instead of __sqrl.
6631
68508633
JM
66322013-03-01 Joseph Myers <joseph@codesourcery.com>
6633
6634 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6635 * sysdeps/powerpc/fpu_control.h: ... here.
6636 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6637 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6638 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6639 * sysdeps/powerpc/bits/mathinline.h: ... here.
6640
7775448e
RM
66412013-03-01 Roland McGrath <roland@hack.frob.com>
6642
6643 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6644 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6645 to just [NEED_DL_SYSINFO_DSO].
6646 * elf/dl-support.c: Likewise.
6647 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6648 * elf/rtld.c (dl_main): Likewise.
6649 * elf/setup-vdso.h (setup_vdso): Likewise.
6650 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6651 * sysdeps/unix/sysv/linux/dl-sysdep.c
6652 (_dl_discover_osversion): Likewise.
6653
4e9b5995
CD
66542013-03-01 Carlos O'Donell <carlos@redhat.com>
6655
6656 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6657 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6658
e23872c8
SP
66592013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6660
e5c74c63
SP
6661 * NEWS: Mention libm performance improvements and non-x86 PI
6662 futex support.
6663
e23872c8
SP
6664 * csu/libc-start.c (__pthread_initialize_minimal): Change
6665 function arguments.
6666 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6667
b5510883
JM
66682013-02-28 Joseph Myers <joseph@codesourcery.com>
6669
6670 [BZ #13550]
6671 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6672 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6673 <bp-sym.h> and <bp-asm.h>.
6674 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6675 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6676 and <bp-asm.h>.
6677 (memcpy): Don't use BP_SYM.
6678 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6679 <bp-asm.h>.
6680 (__mpn_add_n): Don't use BP_SYM.
6681 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6682 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6683 and <bp-asm.h>.
6684 (__mpn_addmul_1): Don't use BP_SYM.
6685 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6686 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6687 <bp-sym.h>.
6688 (_setjmp): Don't use BP_SYM.
6689 (__novmx_setjmp): Likewise.
6690 (__GI__setjmp): Likewise.
6691 (__vmx_setjmp): Likewise.
6692 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6693 <bp-sym.h>.
6694 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6695 (__bzero): Don't use BP_SYM.
6696 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6697 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6698 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6699 <bp-sym.h> and <bp-asm.h>.
6700 (memcpy): Don't use BP_SYM.
6701 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6702 <bp-sym.h> and <bp-asm.h>.
6703 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6704 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6705 <bp-sym.h> and <bp-asm.h>.
6706 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6707 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6708 <bp-asm.h>.
6709 (__mpn_lshift): Don't use BP_SYM.
6710 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6711 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6712 <bp-asm.h>.
6713 (memset): Don't use BP_SYM.
6714 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6715 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6716 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6717 <bp-asm.h>.
6718 (__mpn_mul_1): Don't use BP_SYM.
6719 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6720 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6721 <bp-sym.h> and <bp-asm.h>.
6722 (memcmp): Don't use BP_SYM.
6723 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6724 <bp-sym.h> and <bp-asm.h>.
6725 (memcpy): Don't use BP_SYM.
6726 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6727 <bp-sym.h> and <bp-asm.h>.
6728 (memset): Don't use BP_SYM.
6729 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6730 <bp-sym.h> and <bp-asm.h>.
6731 (strncmp): Don't use BP_SYM.
6732 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6733 <bp-sym.h> and <bp-asm.h>.
6734 (memcpy): Don't use BP_SYM.
6735 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6736 <bp-sym.h> and <bp-asm.h>.
6737 (memset): Don't use BP_SYM.
6738 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6739 <bp-sym.h> and <bp-asm.h>.
6740 (__memchr): Don't use BP_SYM.
6741 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6742 <bp-sym.h> and <bp-asm.h>.
6743 (memcmp): Don't use BP_SYM.
6744 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6745 <bp-sym.h> and <bp-asm.h>.
6746 (memcpy): Don't use BP_SYM.
6747 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6748 <bp-sym.h> and <bp-asm.h>.
6749 (__mempcpy): Don't use BP_SYM.
6750 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6751 <bp-sym.h> and <bp-asm.h>.
6752 (__memrchr): Don't use BP_SYM.
6753 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6754 <bp-sym.h> and <bp-asm.h>.
6755 (memset): Don't use BP_SYM.
6756 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6757 <bp-sym.h> and <bp-asm.h>.
6758 (__rawmemchr): Don't use BP_SYM.
6759 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6760 <bp-sym.h> and <bp-asm.h>.
6761 (__STRCMP): Don't use BP_SYM.
6762 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6763 <bp-sym.h> and <bp-asm.h>.
6764 (strchr): Don't use BP_SYM.
6765 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6766 <bp-sym.h> and <bp-asm.h>.
6767 (__strchrnul): Don't use BP_SYM.
6768 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6769 <bp-sym.h> and <bp-asm.h>.
6770 (strlen): Don't use BP_SYM.
6771 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6772 <bp-sym.h> and <bp-asm.h>.
6773 (strncmp): Don't use BP_SYM.
6774 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6775 <bp-sym.h> and <bp-asm.h>.
6776 (__strnlen): Don't use BP_SYM.
6777 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6778 <bp-asm.h>.
6779 (__mpn_rshift): Don't use BP_SYM.
6780 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6781 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6782 <bp-sym.h> and <bp-asm.h>.
6783 (__sigsetjmp): Don't use BP_SYM.
6784 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6785 (L(start_addresses)): Don't use BP_SYM.
6786 (_start): Likewise.
6787 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6788 <bp-asm.h>.
6789 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6790 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6791 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6792 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6793 <bp-asm.h>.
6794 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6795 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6796 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6797 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6798 <bp-asm.h>.
6799 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6800 comments.
6801 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6802 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6803 <bp-asm.h>.
6804 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6805 FIXME comments.
6806 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6807 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6808 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6809 <bp-asm.h>.
6810 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6811 comment.
6812 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6813 and <bp-asm.h>.
6814 (strncmp): Don't use BP_SYM,
6815 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6816 <bp-asm.h>.
6817 (__mpn_sub_n): Don't use BP_SYM.
6818 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6819 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6820 and <bp-asm.h>.
6821 (__mpn_submul_1): Don't use BP_SYM.
6822 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6824 <bp-sym.h> and <bp-asm.h>.
6825 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6827 <bp-sym.h> and <bp-asm.h>.
6828 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6829 comment.
6830
8d19fe64
SP
68312013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6832
6833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6834 Use ZK to minimize writes to Z.
6835 (sub_magnitudes): Simplify code a bit.
6836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6837 Use ZK to minimize writes to Z.
6838 (sub_magnitudes): Simplify code a bit.
6839
85bd816a
RM
68402013-02-27 Roland McGrath <roland@hack.frob.com>
6841
6842 * csu/gmon-start.c: Add special exception to license text.
6843
b5977bf2
RH
68442013-02-27 Richard Henderson <rth@redhat.com>
6845
6846 * scripts/config.guess: Update from config.git.
6847 * scripts/config.sub: Likewise.
6848
11d6e2f2
SP
68492013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6850
09c14ed2
SP
6851 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6852
a688864e
SP
6853 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6854
6295157a
SP
6855 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6856
b8de2202
SP
6857 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6858
11d6e2f2
SP
6859 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6860
7e80ddb8
RM
68612013-02-26 Roland McGrath <roland@hack.frob.com>
6862
6863 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6864 [$(build-shared = yes].
7e80ddb8 6865
7da6d9ed
SP
68662013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6867
45f05884
SP
6868 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6869 (__mul): Reduce iterations for calculating mantissa.
6870
2236d359
SP
6871 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6872 MPTWO.
6873 (__mpranred): Likewise.
6874
7da6d9ed
SP
6875 [BZ #15160]
6876 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6877 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6878
b7688c42
PE
68792013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6880
6881 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6882 Define __attribute__.
6883
53a5c423
SP
68842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6885
6886 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6887 unused.
6888 * posix/regex_internal.h (__attribute): Remove.
6889 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6890 (re_string_context_at): Likewise.
6891 (bitset_not): Use __attribute__ and mark function as possibly
6892 unused.
6893 (bitset_merge): Likewise.
6894 (bitset_mask): Likewise.
6895 (re_string_char_size_at): Likewise.
6896 (re_string_wchar_at): Likewise.
6897 (re_string_elem_size_at): Likewise.
6898
60f5a8b5
SP
68992013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6900
2a983a2e
SP
6901 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6902 code.
6903 (cc32): Likewise.
6904
e69804d1
SP
6905 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6906 (__acr): Likewise.
6907 (__cpy): Likewise.
6908 (norm): Likewise.
6909 (denorm): Likewise.
6910 (__dbl_mp): Likewise.
6911 (add_magnitudes): Likewise.
6912 (sub_magnitudes): Likewise.
6913 (__mul): Likewise.
6914 (__inv): Likewise.
6915
2f22a1e8
SP
6916 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6917 style.
6918
8930ddc7
SP
6919 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6920 style.
6921
dc60cb11
SP
6922 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6923 code.
6924
60f5a8b5
SP
6925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6926 up changes with default code.
6927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6928 Likewise.
6929
b4d1fd33
AM
69302013-02-24 Allan McRae <allan@archlinux.org>
6931
faf6f8bc
AM
6932 * manual/socket.texi (The Internet Namespace): Order menu items
6933 to match that in the file.
6934
b4d1fd33
AM
6935 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6936 node listing of the info page menu.
6937
2366713d
JM
69382013-02-21 Joseph Myers <joseph@codesourcery.com>
6939
6940 [BZ #13550]
6941 * sysdeps/i386/bp-asm.h: Remove file.
6942 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6943 (PARMS): Do not use macros from bp-asm.h.
6944 (S1): Likewise.
6945 (S2): Likewise.
6946 (SIZE): Likewise.
6947 (__mpn_add_n): Do not use BP_SYM
6948 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6949 "bp-asm.h".
6950 (PARMS): Do not use macros from bp-asm.h.
6951 (S1): Likewise.
6952 (SIZE): Likewise.
6953 (__mpn_addmul_1): Do not use BP_SYM
6954 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6955 "bp-asm.h".
6956 (PARMS): Do not use macros from bp-asm.h.
6957 (SIGMSK): Likewise.
6958 (_setjmp): Likewise. Do not use BP_SYM.
6959 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6960 "bp-asm.h".
6961 (PARMS): Do not use macros from bp-asm.h.
6962 (SIGMSK): Likewise.
6963 (setjmp): Likewise. Do not use BP_SYM.
6964 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6965 "bp-asm.h".
6966 (PARMS): Do not use macros from bp-asm.h.
6967 (__frexp): Do not use BP_SYM.
6968 (frexp): Likewise.
6969 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6970 "bp-asm.h".
6971 (PARMS): Do not use macros from bp-asm.h.
6972 (__frexpf): Do not use BP_SYM.
6973 (frexpf): Likewise.
6974 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6975 "bp-asm.h".
6976 (PARMS): Do not use macros from bp-asm.h.
6977 (__frexpl): Do not use BP_SYM.
6978 (frexpl): Likewise.
6979 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6980 "bp-asm.h".
6981 (PARMS): Do not use macros from bp-asm.h.
6982 (__remquo): Do not use BP_SYM.
6983 (remquo): Likewise.
6984 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6985 "bp-asm.h".
6986 (PARMS): Do not use macros from bp-asm.h.
6987 (__remquof): Do not use BP_SYM.
6988 (remquof): Likewise.
6989 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6990 "bp-asm.h".
6991 (PARMS): Do not use macros from bp-asm.h.
6992 (__remquol): Do not use BP_SYM.
6993 (remquol): Likewise.
6994 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6995 "bp-asm.h".
6996 (PARMS): Do not use macros from bp-asm.h.
6997 (DEST): Likewise.
6998 (SRC): Likewise.
6999 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7000 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7001 "bp-asm.h".
7002 (PARMS): Do not use macros from bp-asm.h.
7003 (strlen): Do not use BP_SYM.
7004 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7005 "bp-asm.h".
7006 (PARMS): Do not use macros from bp-asm.h.
7007 (S1): Likewise.
7008 (S2): Likewise.
7009 (SIZE): Likewise.
7010 (__mpn_add_n): Do not use BP_SYM.
7011 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7012 "bp-asm.h".
7013 (PARMS): Do not use macros from bp-asm.h.
7014 (S1): Likewise.
7015 (SIZE): Likewise.
7016 (__mpn_addmul_1): Do not use BP_SYM.
7017 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7018 weak_alias.
7019 (bzero): Likewise.
7020 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7021 "bp-asm.h".
7022 (PARMS): Do not use macros from bp-asm.h.
7023 (S): Likewise.
7024 (SIZE): Likewise.
7025 (__mpn_lshift): Do not use BP_SYM.
7026 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7027 "bp-asm.h".
7028 (PARMS): Do not use macros from bp-asm.h.
7029 (DEST): Likewise.
7030 (SRC): Likewise.
7031 (LEN): Likewise.
7032 (memcpy): Likewise. Do not use BP_SYM.
7033 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7034 libc_hidden_def and weak_alias.
7035 (mempcpy): Do not use BP_SYM in weak_alias.
7036 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7037 "bp-asm.h".
7038 (PARMS): Do not use macros from bp-asm.h.
7039 (DEST): Likewise.
7040 (LEN): Likewise.
7041 [!BZERO_P] (CHR): Likewise.
7042 (memset): Likewise. Do not use BP_SYM.
7043 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7044 "bp-asm.h".
7045 (PARMS): Do not use macros from bp-asm.h.
7046 (S1): Likewise.
7047 (SIZE): Likewise.
7048 (__mpn_mul_1): Do not use BP_SYM.
7049 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7050 "bp-asm.h".
7051 (PARMS): Do not use macros from bp-asm.h.
7052 (S): Likewise.
7053 (SIZE): Likewise.
7054 (__mpn_rshift): Do not use BP_SYM.
7055 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7056 "bp-asm.h".
7057 (PARMS): Do not use macros from bp-asm.h.
7058 (STR): Likewise.
7059 (CHR): Likewise.
7060 (strchr): Likewise. Do not use BP_SYM.
7061 (index): Do not use BP_SYM in weak_alias.
7062 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7063 "bp-asm.h".
7064 (PARMS): Do not use macros from bp-asm.h.
7065 (DEST): Likewise.
7066 (SRC): Likewise.
7067 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7068 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7069 "bp-asm.h".
7070 (PARMS): Do not use macros from bp-asm.h.
7071 (strlen): Do not use BP_SYM.
7072 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7073 "bp-asm.h".
7074 (PARMS): Do not use macros from bp-asm.h.
7075 (S1): Likewise.
7076 (S2): Likewise.
7077 (SIZE): Likewise.
7078 (__mpn_sub_n): Do not use BP_SYM.
7079 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7080 "bp-asm.h".
7081 (PARMS): Do not use macros from bp-asm.h.
7082 (S1): Likewise.
7083 (SIZE): Likewise.
7084 (__mpn_submul_1): Do not use BP_SYM.
7085 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7086 "bp-asm.h".
7087 (PARMS): Do not use macros from bp-asm.h.
7088 (S1): Likewise.
7089 (S2): Likewise.
7090 (SIZE): Likewise.
7091 (__mpn_add_n): Do not use BP_SYM.
7092 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7093 weak_alias.
7094 (bzero): Likewise.
7095 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7096 "bp-asm.h".
7097 (PARMS): Do not use macros from bp-asm.h.
7098 (BLK2): Likewise.
7099 (LEN): Likewise.
7100 (memcmp): Do not use BP_SYM.
7101 (bcmp): Do not use BP_SYM in weak_alias.
7102 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7103 "bp-asm.h".
7104 (PARMS): Do not use macros from bp-asm.h.
7105 (DEST): Likewise.
7106 (SRC): Likewise.
7107 (LEN): Likewise.
7108 (memcpy): Likewise. Do not use BP_SYM.
7109 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7110 "bp-asm.h".
7111 (PARMS): Do not use macros from bp-asm.h.
7112 (DEST): Likewise.
7113 (SRC): Likewise.
7114 (LEN): Likewise.
7115 (memmove): Likewise. Do not use BP_SYM.
7116 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7117 "bp-asm.h".
7118 (PARMS): Do not use macros from bp-asm.h.
7119 (DEST): Likewise.
7120 (SRC): Likewise.
7121 (LEN): Likewise.
7122 (__mempcpy): Likewise. Do not use BP_SYM.
7123 (mempcpy): Do not use BP_SYM in weak_alias.
7124 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7125 "bp-asm.h".
7126 (PARMS): Do not use macros from bp-asm.h.
7127 (DEST): Likewise.
7128 (LEN): Likewise.
7129 [!BZERO_P] (CHR): Likewise.
7130 (memset): Likewise. Do not use BP_SYM.
7131 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7132 "bp-asm.h".
7133 (PARMS): Do not use macros from bp-asm.h.
7134 (STR2): Likewise.
7135 (strcmp): Do not use BP_SYM.
7136 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7137 "bp-asm.h".
7138 (PARMS): Do not use macros from bp-asm.h.
7139 (STR): Likewise.
7140 (DELIM): Likewise.
7141 [USE_AS_STRTOK_R] (SAVE): Likewise.
7142 (FUNCTION): Likewise. Do not use BP_SYM.
7143 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7144 aliases.
7145 (strtok_r): Likewise.
7146 (__GI___strtok_r): Likewise.
7147 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7148 (PARMS): Do not use macros from bp-asm.h.
7149 (S): Likewise.
7150 (SIZE): Likewise.
7151 (__mpn_lshift): Do not use BP_SYM.
7152 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7153 (PARMS): Do not use macros from bp-asm.h.
7154 (STR): Likewise.
7155 (CHR): Likewise.
7156 (__memchr): Do not use BP_SYM.
7157 (memchr): Do not use BP_SYM in weak_alias.
7158 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7159 (PARMS): Do not use macros from bp-asm.h.
7160 (BLK2): Likewise.
7161 (LEN): Likewise.
7162 (memcmp): Do not use BP_SYM.
7163 (bcmp): Do not use BP_SYM in weak_alias.
7164 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7165 (PARMS): Do not use macros from bp-asm.h.
7166 (S1): Likewise.
7167 (SIZE): Likewise.
7168 (__mpn_mul_1): Do not use BP_SYM.
7169 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7170 "bp-asm.h".
7171 (PARMS): Do not use macros from bp-asm.h.
7172 (STR): Likewise.
7173 (CHR): Likewise.
7174 (__rawmemchr): Do not use BP_SYM.
7175 (rawmemchr): Do not use BP_SYM in weak_alias.
7176 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7177 (PARMS): Do not use macros from bp-asm.h.
7178 (S): Likewise.
7179 (SIZE): Likewise.
7180 (__mpn_rshift): Do not use BP_SYM.
7181 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7182 (PARMS): Do not use macros from bp-asm.h.
7183 (SIGMSK): Likewise.
7184 (__sigsetjmp): Likewise. Do not use BP_SYM.
7185 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7186 (_start): Do not use BP_SYM.
7187 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7188 (PARMS): Do not use macros from bp-asm.h.
7189 (DEST): Likewise.
7190 (SRC): Likewise.
7191 (__stpcpy): Likewise. Do not use BP_SYM.
7192 (stpcpy): Do not use BP_SYM in weak_alias.
7193 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7194 "bp-asm.h".
7195 (PARMS): Do not use macros from bp-asm.h.
7196 (DEST): Likewise.
7197 (SRC): Likewise.
7198 (LEN): Likewise.
7199 (__stpncpy): Likewise. Do not use BP_SYM.
7200 (stpncpy): Do not use BP_SYM in weak_alias.
7201 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7202 (PARMS): Do not use macros from bp-asm.h.
7203 (STR): Likewise.
7204 (CHR): Likewise.
7205 (strchr): Likewise. Do not use BP_SYM.
7206 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7207 "bp-asm.h".
7208 (PARMS): Do not use macros from bp-asm.h.
7209 (STR): Likewise.
7210 (CHR): Likewise.
7211 (__strchrnul): Likewise. Do not use BP_SYM.
7212 (strchrnul): Do not use BP_SYM in weak_alias.
7213 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7214 "bp-asm.h".
7215 (PARMS): Do not use macros from bp-asm.h.
7216 (STOP): Likewise.
7217 (strcspn): Do not use BP_SYM.
7218 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7219 "bp-asm.h".
7220 (PARMS): Do not use macros from bp-asm.h.
7221 (STR): Likewise.
7222 (STOP): Likewise.
7223 (strpbrk): Likewise. Do not use BP_SYM.
7224 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7225 "bp-asm.h".
7226 (PARMS): Do not use macros from bp-asm.h.
7227 (STR): Likewise.
7228 (CHR): Likewise.
7229 (strrchr): Likewise. Do not use BP_SYM.
7230 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7231 (PARMS): Do not use macros from bp-asm.h.
7232 (SKIP): Likewise.
7233 (strspn): Do not use BP_SYM.
7234 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7235 (PARMS): Do not use macros from bp-asm.h.
7236 (STR): Likewise.
7237 (DELIM): Likewise.
7238 (SAVE): Likewise.
7239 (FUNCTION): Likewise. Do not use BP_SYM.
7240 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7241 aliases.
7242 (strtok_r): Likewise.
7243 (__GI___strtok_r): Likewise.
7244 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7245 (PARMS): Do not use macros from bp-asm.h.
7246 (S1): Likewise.
7247 (S2): Likewise.
7248 (SIZE): Likewise.
7249 (__mpn_sub_n): Do not use BP_SYM.
7250 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7251 "bp-asm.h".
7252 (PARMS): Do not use macros from bp-asm.h.
7253 (S1): Likewise.
7254 (SIZE): Likewise.
7255 (__mpn_submul_1): Do not use BP_SYM.
7256 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7257 <bp-sym.h>.
7258 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7259 and <bp-asm.h>.
7260 (PARMS): Do not use macros from bp-asm.h.
7261 (FLAGS): Likewise.
7262 (PTID): Likewise.
7263 (TLS): Likewise.
7264 (CTID): Likewise.
7265 (__clone): Do not use BP_SYM.
7266 (clone): Do not use BP_SYM in weak_alias.
7267 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7268 and <bp-asm.h>.
7269 (PARMS): Do not use macros from bp-asm.h.
7270 (LEN): Likewise.
7271 (__mmap64): Do not use BP_SYM.
7272 (mmap64): Do not use BP_SYM in weak_alias.
7273 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7274 <bp-sym.h> and <bp-asm.h>.
7275 (PARMS): Do not use macros from bp-asm.h.
7276 (__posix_fadvise64_l64): Do not use BP_SYM.
7277 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7278 (PARMS): Do not use macros from bp-asm.h.
7279 (NSOPS): Likewise.
7280 (semtimedop): Do not use BP_SYM.
7281 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7282 and <bp-asm.h>.
7283
582a3cff
AM
72842013-02-21 Allan McRae <allan@archlinux.org>
7285
7286 * manual/message.texi (Charset conversion in gettext):
7287 Move @end statement to beginning of line.
7288
bab8a695
SP
72892013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7290
80945231
SP
7291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7292 static.
7293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7294 Likewise.
7295
bab8a695
SP
7296 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7297 (denorm): Likewise.
7298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7300
e21d7aa7
AK
73012013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7302
7303 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7304 tail-call to the resolved function if pltexit isn't needed.
7305
4c7a4263
SP
73062013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7307
7308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7309 or Y being zero as being unlikely.
7310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7311 Likewise.
7312
41f49342
CD
73132013-02-20 Carlos O'Donell <carlos@redhat.com>
7314
7315 * manual/nss.texi (System Databases and Name Service Switch):
7316 Remove frobnicate @pxref.
7317
50022a93
TS
73182013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7319
7320 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7321 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7322
08cbd996
PM
73232013-02-20 Petr Machata <pmachata@redhat.com>
7324
7325 * elf/elf.h (R_ARM_TARGET1): New macro.
7326 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7327 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7328 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7329 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7330 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7331 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7332 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7333 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7334 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7335 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7336 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7337 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7338 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7339 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7340 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7341 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7342 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7343 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7344 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7345 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7346 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7347 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7348 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7349 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7350 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7351 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7352 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7353 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7354 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7355 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7356 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7357 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7358 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7359 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7360 (R_ARM_THM_GOT_BREL12): Likewise.
7361 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7362 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7363 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7364 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7365 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7366 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7367 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7368 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7369 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7370
c7b275d6
TS
73712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7372
7373 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7374 __attribute_used__ to __attribute__ ((unused)).
7375
20cd7fb3
SP
73762013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7377
7378 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7379 powerpc mpa.c.
7380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7381 comment formatting.
7382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7383
92945b52
JM
73842013-02-19 Joseph Myers <joseph@codesourcery.com>
7385
7386 [BZ #13550]
7387 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7388 Remove macro.
7389 (ENTER): Remove both macro definitions.
7390 (LEAVE): Likewise.
7391 (CHECK_BOUNDS_LOW): Likewise.
7392 (CHECK_BOUNDS_HIGH): Likewise.
7393 (CHECK_BOUNDS_BOTH): Likewise.
7394 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7395 (RETURN_BOUNDED_POINTER): Likewise.
7396 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7397 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7398 (POP_ERRNO_LOCATION_RETURN): Likewise.
7399 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7400 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7401 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7402 macros.
7403 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7404 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7405 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7406 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7407 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7408 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7409 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7410 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7411 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7412 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7413 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7414 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7415 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7416 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7417 removed macros.
7418 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7419 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7420 macros.
7421 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7422 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7423 * sysdeps/i386/i586/memset.S (memset): Likewise.
7424 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7425 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7426 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7427 macros.
7428 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7429 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7430 Change uses of L(2) to L(out).
7431 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7432 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7433 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7434 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7435 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7436 removed macros.
7437 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7438 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7439 macros.
7440 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7441 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7442 (RETURN): Do not use macro LEAVE.
7443 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7444 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7445 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7446 * sysdeps/i386/i686/memset.S (memset): Likewise.
7447 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7448 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7449 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7450 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7451 Likewise.
7452 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7453 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7454 L(1_2) and L(1_3) into L(1).
7455 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7456 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7457 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7458 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7459 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7460 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7461 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7462 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7463 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7464 macros.
7465 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7466 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7467 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7468 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7469 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7470 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7471 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7472 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7473 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7474 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7475 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7476 * sysdeps/i386/strspn.S (strspn): Likewise.
7477 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7478 conditional code.
7479 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7480 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7481 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7482 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7483 L(1_3) into L(1_1).
7484 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7485 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7486 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7487 macros.
7488 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7489
2389741a
JJ
74902013-02-19 Jakub Jelinek <jakub@redhat.com>
7491
7492 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7493 macro.
7494
2016b3cd
SP
74952013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7496
e4f22324
SP
7497 * math/atest-exp.c (exp_mpn): Remove ROUND.
7498 * math/atest-exp2.c (exp_mpn): Likewise.
7499 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7500
2016b3cd
SP
7501 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7502 * stdlib/tst-tls-atexit-lib.c: Likewise.
7503 * stdlib/tst-tls-atexit.c: Likewise.
7504
4be9b544
MF
75052013-02-18 Mike Frysinger <vapier@gentoo.org>
7506
7507 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7508 and __attribute_alloc_size__.
7509
2f62b9ee
MF
75102013-02-18 Mike Frysinger <vapier@gentoo.org>
7511
7512 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7513 __attribute_alloc_size__.
7514 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7515 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7516
6ff444c4
MF
75172013-02-18 Mike Frysinger <vapier@gentoo.org>
7518
7519 * include/programs/xmalloc.h: New file.
7520 * catgets/gencat.c: Include it.
7521 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7522 * elf/pldd.c: Likewise.
7523 * iconv/iconv_charmap.c: Likewise.
7524 * iconv/iconvconfig.c: Likewise.
7525 * iconv/strtab.c: Likewise.
7526 * locale/programs/locale.c: Likewise.
7527 * locale/programs/localedef.h: Likewise.
7528 * locale/programs/simple-hash.c: Likewise.
7529 * nscd/nscd.h: Likewise.
7530 * nss/makedb.c: Likewise.
7531 * sysdeps/generic/ldconfig.h: Likewise.
7532
be179c8a
SP
75332013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7534
ba384f6e
SP
7535 * Versions.def: Add GLIBC_2.18.
7536 * include/link.h (struct link_map): New member l_tls_dtor_count.
7537 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7538 (__call_tls_dtors): Likewise.
7539 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7540 __cxa_thread_atexit_impl.
7541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7542 Likewise.
7543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7544 Likewise.
7545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7546 Likewise.
7547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7548 Likewise.
7549 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7551 Likewise.
7552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7553 Likewise.
7554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7556 Likewise.
7557 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7558 (tests): Add test case tst-tls-atexit.
7559 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7560 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7561 (GLIBC_PRIVATE): Add __call_tls_dtors.
7562 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7563 for libstdc++.
7564 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7565 * stdlib/tst-tls-atexit.c: New test case.
7566 * stdlib/tst-tls-atexit-lib.c: New test case.
7567
ffaa74cf 7568 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7569
be179c8a
SP
7570 * elf/Versions (ld): Add _dl_find_dso_for_object.
7571 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7572 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7573 (dl_open_worker): Use _dl_find_dso_for_object.
7574 * elf/dl-sym.c (do_sym): Likewise.
7575 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7576
f78b5caa
AK
75772013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7578
7579 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7580 Syntactic changes only.
7581 (_dl_runtime_profile): Do a tail-call to the resolved function.
7582
29691210
JM
75832013-02-17 Joseph Myers <joseph@codesourcery.com>
7584
7585 [BZ #13550]
7586 * sysdeps/x86_64/bp-asm.h: Remove file.
7587 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7588 <bp-sym.h> and <bp-asm.h>.
7589 (__clone): Do not use BP_SYM.
7590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7591 <bp-sym.h> and <bp-asm.h>.
7592 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7593 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7594 "bp-asm.h".
7595 (_setjmp): Do not use BP_SYM.
7596 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7597 "bp-asm.h".
7598 (setjmp): Do not use BP_SYM.
7599 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7600 libc_hidden_def.
7601 (mempcpy): Do not use BP_SYM in weak_alias.
7602 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7603 "bp-asm.h".
7604 (strchr): Do not use BP_SYM.
7605 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7606 "bp-asm.h".
7607 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7608 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7609 (_start): Do not use BP_SYM.
7610 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7611 "bp-asm.h".
7612 (strcat): Do not use BP_SYM.
7613 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7614 "bp-asm.h".
7615 (STRCMP): Do not use BP_SYM.
7616 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7617 "bp-asm.h".
7618 (STRCPY): Do not use BP_SYM.
7619 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7620 "bp-asm.h".
7621 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7622 "bp-asm.h".
7623 (FUNCTION): Do not use BP_SYM.
7624 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7625 weak_alias.
7626 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7627
f238fd19
AJ
76282013-02-17 Andreas Jaeger <aj@suse.de>
7629
7630 * time/Versions: Sort entries.
7631 * string/Versions: Likewise.
7632 * resolv/Versions: Likewise.
7633 * posix/Versions: Likewise.
7634 * iconv/Versions: Likewise.
7635 * elf/Versions: Likewise.
7636 * wcsmbs/Versions: Likewise.
7637
bd07f23c 76382013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7639
22af19f9
SP
7640 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7641 loop termination condition.
7642
4709fe76
SP
7643 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7644 variable to calculate EZ.
7645 (__sqr): Likewise.
2d0e0f29
SP
7646
7647 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7648 the lower precision input.
7649
daaa7713
JM
76502013-02-15 Joseph Myers <joseph@codesourcery.com>
7651
7652 [BZ #13550]
7653 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7654 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7655 (run-via-rtld-prefix): Do not handle %-bp tests.
7656 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7657 (all-object-suffixes): Remove .ob.
7658 (bppfx): Remove variable.
7659 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7660 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7661 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7662 [$(build-bounded) = yes] (libtype.ob): Likewise.
7663 * Makerules (elide-routines.ob): Remove variable.
7664 (do-tests-clean): Do not handle *-bp.out.
7665 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7666 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7667 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7668 (tests): Do not include $(tests-bp.out).
7669 (xtests): Do not include $(xtests-bp.out).
7670 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7671 [$(build-bounded) = yes] ($(addprefix
7672 $(objpfx),$(binaries-bounded))): Remove rule.
7673 ($(objpfx)%-bp.out): Remove rule.
7674 * config.make.in (build-bounded): Remove variable.
7675 * crypt/Makefile [$(build-bounded) = yes]
7676 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7677 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7678 append to variable.
7679 [$(build-bounded) = yes] (install-lib): Likewise.
7680 [$(build-bounded) = yes] (generated): Likewise.
7681 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7682 Remove rule.
7683 * intl/Makefile [$(build-bounded) = yes]
7684 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7685 * math/Makefile [$(build-bounded) = yes]
7686 ($(tests:%=$(objpfx)%-bp): Likewise.
7687 * misc/Makefile [$(build-bounded) = yes]
7688 ($(objpfx)tst-tsearch-bp): Likewise.
7689 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7690 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7691 Remove dependency.
7692 * string/Makefile (o-objects.ob): Remove variable.
7693 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7694 (CFLAGS-.ob): Remove variable.
7695 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7696 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7697 both definitions of variable.
7698 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7699 (ASFLAGS-.ob): Remove variable.
7700
e97ed6dd
JM
77012013-02-14 Joseph Myers <joseph@codesourcery.com>
7702
2bdd4ca6
JM
7703 [BZ #13550]
7704 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7705 Remove __BOUNDED_POINTERS__ from condition.
7706 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7707 * string/bits/string2.h [!__NO_STRING_INLINES &&
7708 !__BOUNDED_POINTERS__]: Likewise.
7709 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7710 Likewise.
7711 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7712 Remove conditional code.
7713 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7714 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7715 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7716 condition.
7717
e97ed6dd
JM
7718 [BZ #13550]
7719 * csu/libc-start.c: Do not include <bp-sym.h>.
7720 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7721 * elf/dl-open.c: Do not include <bp-sym.h>.
7722 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7723 * math/fegetenv.c: Do not include <bp-sym.h>.
7724 (fegetenv): Do not use BP_SYM in versioned symbols.
7725 * nptl/sysdeps/pthread/bits/libc-lockP.h
7726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7727 <bp-sym.h>.
7728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7729 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7731 (__pthread_mutex_destroy): Likewise.
7732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7733 (__pthread_mutex_lock): Likewise.
7734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7735 (__pthread_mutex_trylock): Likewise.
7736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7737 (__pthread_mutex_unlock): Likewise.
7738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7739 (__pthread_mutexattr_init): Likewise.
7740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7741 (__pthread_mutexattr_destroy): Likewise.
7742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7743 (__pthread_mutexattr_settype): Likewise.
7744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7745 (__pthread_rwlock_init): Likewise.
7746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7747 (__pthread_rwlock_destroy): Likewise.
7748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7749 (__pthread_rwlock_rdlock): Likewise.
7750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7751 (__pthread_rwlock_tryrdlock): Likewise.
7752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7753 (__pthread_rwlock_wrlock): Likewise.
7754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7755 (__pthread_rwlock_trywrlock): Likewise.
7756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7757 (__pthread_rwlock_unlock): Likewise.
7758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7759 (__pthread_key_create): Likewise.
7760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7761 (__pthread_setspecific): Likewise.
7762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7763 (__pthread_getspecific): Likewise.
7764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7765 Likewise.
7766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7767 (_pthread_cleanup_push_defer): Likewise.
7768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7769 (_pthread_cleanup_pop_restore): Likewise.
7770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7771 (pthread_setcancelstate): Likewise.
7772 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7773 <bp-sym.h>.
7774 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7775 (memchr): Do not use BP_SYM in weak_alias.
7776 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7777 (fegetenv): Do not use BP_SYM in versioned symbols.
7778 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7779 (fesetenv): Do not use BP_SYM in versioned symbols.
7780 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7781 (feupdateenv): Do not use BP_SYM in versioned symbols.
7782 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7783 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7784 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7785 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7786 (open64): Do not use BP_SYM in weak_alias.
7787 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7788 (fegetenv): Do not use BP_SYM in versioned symbols.
7789 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7790 (fesetenv): Do not use BP_SYM in versioned symbols.
7791 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7792 (feupdateenv): Do not use BP_SYM in versioned symbols.
7793 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7794 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7795 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7796 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7797 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7798 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7799 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7800 <bp-sym.h>.
7801 (__libc_start_main): Do not use BP_SYM.
7802
d6752ccd
SP
78032013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7804
cb57ce60
SP
7805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7806 redundant return line.
7807 (norm): Likewise.
7808 (denorm): Likewise.
7809 (dbl_mp): Likewise.
7810 (sub_magnitudes): Likewise.
7811 (__add): Likewise.
7812 (__sub): Likewise.
7813 (__mul): Likewise.
7814 (__inv): Likewise.
7815 (__dvd): Likewise.
7816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7817 (norm): Likewise.
7818 (denorm): Likewise.
7819 (dbl_mp): Likewise.
7820 (sub_magnitudes): Likewise.
7821 (__add): Likewise.
7822 (__sub): Likewise.
7823 (__mul): Likewise.
7824 (__inv): Likewise.
7825 (__dvd): Likewise.
7826
f414520d
SP
7827 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7828 instead of __mul.
7829 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7830 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7831 (cc32): Likewise.
7832
d6752ccd
SP
7833 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7834 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7836 of __mul for squares.
7837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7838 function
7839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7840 Likewise.
7841 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7842 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7843
70d9946a
JM
78442013-02-13 Joseph Myers <joseph@codesourcery.com>
7845
7846 [BZ #13550]
7847 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7848 code.
7849 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7850 prototype or function definition. Rename ubp_* variables and
7851 parameters. Remove argv definitions conditional on
7852 [__BOUNDED_POINTERS__].
7853 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7854 * elf/dl-runtime.c (_dl_fixup): Likewise.
7855 * include/set-hooks.h (RUN_HOOK): Likewise.
7856 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7857 definition.
7858 * string/strcpy.c (strcpy): Do not use __unbounded.
7859 * sysdeps/generic/frame.h (struct layout): Likewise.
7860 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7861 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7862 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7863 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7864 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7865 (__backtrace): Likewise.
7866 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7867 use __ptrvalue.
7868 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7869 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7870 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7871 Likewise.
7872 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7873 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7874 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7875 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7876 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7877 Do not use __unbounded.
7878 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7879 Rename __unboundedrlimits parameter to rlimits in prototype.
7880 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7881 Do not use __unbounded.
7882 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7883 not use __ptrvalue.
7884 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7885 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7886 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7887 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7888 __ptrvalue or __unbounded.
7889 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7890 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7891 use __unbounded.
7892 (__new_msgctl): Do not use __ptrvalue.
7893 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7894 __unbounded.
7895 (__libc_msgrcv): Do not use __ptrvalue.
7896 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7897 startup_info): Do not use __unbounded.
7898 (__libc_start_main): Likewise. Rename ubp_* variables and
7899 parameters. Remove argv definitions conditional on
7900 [__BOUNDED_POINTERS__].
7901 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7902 __ptrvalue.
7903 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7904 use __unbounded.
7905 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7906 or __ptrvalue.
7907 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7908 use __unbounded.
7909 (__new_shmctl): Do not use __ptrvalue.
7910 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7911 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7912 Likewise.
7913 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7914 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7915 (__libc_sigaction): Likewise.
7916 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7917 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7918 Likewise.
7919 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7920
cc7834d6
OB
79212013-02-13 Ondřej Bílka <neleai@seznam.cz>
7922
ffb1ec7b 7923 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7924
7925 * string/mempcpy.c: Implement by calling memcpy.
7926
bdf02814
SP
79272013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7928
c2af38aa
SP
7929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7930
4e92d59e
SP
7931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7932 evaluation.
7933
909279a5
SP
7934 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7935 values in the mantissa.
7936
bdf02814
SP
7937 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7938 minimize writes to Z.
7939 (sub_magnitudes): Simplify code a bit.
7940
cd525923
RM
79412013-02-12 Roland McGrath <roland@hack.frob.com>
7942
7943 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7944 from the message. The linker prefixes all warnings with that already.
7945
7e2f0d2d
AS
79462013-02-12 Andreas Schwab <schwab@suse.de>
7947
a445af0b
AS
7948 [BZ #15078]
7949 * posix/regexec.c (extend_buffers): Add parameter min_len.
7950 (check_matching): Pass minimum needed length.
7951 (clean_state_log_if_needed): Likewise.
7952 (get_subexp): Likewise.
7953 * posix/Makefile (tests): Add bug-regex34.
7954 (bug-regex34-ENV): Define.
7955 * posix/bug-regex34.c: New file.
7956
7e2f0d2d
AS
7957 [BZ #11561]
7958 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7959 elements compare against the byte sequence of it, not its name.
7960 * posix/Makefile (tests): Add bug-regex35.
7961 (bug-regex35-ENV): Define.
7962 * posix/bug-regex35.c: New file.
7963
a175b684
TV
79642013-02-11 Tom de Vries <tom@codesourcery.com>
7965
7966 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7967 comment.
7968 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7969 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7970 (CHECK_EOL): Add undef.
7971
310998fe 79722013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7973
7974 * bits/stdlib-bsearch.h: New file.
7975 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7976 * stdlib/stdlib.h: Likewise.
41eda41d 7977
8ded91fb
RM
79782013-02-11 Roland McGrath <roland@hack.frob.com>
7979
7980 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7981 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7982 declaration.
7983 * manual/search.texi (Array Search Function): Add missing const in
7984 lfind prototype.
7985 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7986 declaration to use rlim_t.
7987 (Basic Scheduling Functions): Remove erroneous const from
7988 sched_getparam prototype. Remove erroneous * from
7989 sched_get_priority_max and sched_get_priority_min prototypes.
7990 (Resource Usage): Fix summary @comment on vtimes to refer to
7991 sys/vtimes.h rather than vtimes.h.
7992 Add missing *s in vtimes prototype.
7993 (Limits on Resources): Fix ulimit prototype to return long int.
7994 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7995 prototypes to use long int rather than double.
7996 (BSD Random): Fix initstate and setstate to use char *, not void *.
7997 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7998 prototype to make second argument 'struct aiocb64 *const[]'.
7999 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8000 (Status of AIO Operations): Remove erroneous const in aio_return and
8001 aio_return64 prototypes.
8002 (Synchronizing I/O): Fix sync prototype to return void.
8003 * manual/startup.texi (Suboptions): Remove an erroneous const in
8004 getsubopt prototype.
8005 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8006 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8007 use size_t rather than int.
8008 (Scanning All Users): Likewise for getpwent_r.
8009 (Setting Groups): Add missing const to setgroups prototype.
8010 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8011 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8012 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8013 'const void *' rather than 'const char *'.
8014 (Host Address Functions): Likewise for inet_ntop.
8015 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8016 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8017 ssize_t for return value.
8018 (Sending Data): Likewise for send, sendto, sendmsg.
8019 (Socket Option Functions): Add a missing const in setsockopt prototype.
8020 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8021 use wchar_t for the argument.
8022 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8023 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8024 take no arguments.
8025 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8026 double/float/long double for second argument.
8027 Fix return types of significand, significandf, significandl.
8028 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8029 argument in fchmod prototype.
8030 (File Owner): Use uid_t and gid_t in fchown prototype.
8031 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8032 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8033 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8034 use 'const struct dirent **' as argument types to CMP function pointer
8035 argument.
8036 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8037 (File Times): Fix summary magic @comment for struct utimbuf and utime
8038 to refer to utime.h, not time.h.
8039 * manual/string.texi (Argz Functions): Add missing const in
8040 argz_extract and argz_next prototypes.
8041 (Finding Tokens in a String): Likewise for basename.
8042 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8043 (Copying and Concatenation): Fix typo in wmemmove prototype.
8044 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8045 (Signal Stack): Remove erroneous const in sigstack prototype.
8046 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8047 prototype.
8048 (Simple Calendar Time): Likewise for stime.
8049 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8050 prototype.
8051 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8052 say sys/sysctl.h instead.
8053 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8054 and vsyslog prototypes.
8055
fe77fe6d
TV
80562013-02-11 Tom de Vries <tom@codesourcery.com>
8057
8058 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8059 Remove.
8060
3a09b620
RM
80612013-02-11 Roland McGrath <roland@hack.frob.com>
8062
8063 * misc/sys/mman.h: Fix typo in mremap comment.
8064
550a0b89
RM
80652013-02-08 Roland McGrath <roland@hack.frob.com>
8066
8067 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8068 the '\0' terminator.
8069
a2da1673
JM
80702013-02-08 Joseph Myers <joseph@codesourcery.com>
8071
8072 [BZ #13550]
8073 * debug/segfault.c: Don't include <bp-checks.h>.
8074 * sysdeps/generic/bp-checks.h: Remove file.
8075 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8076 (__GETDENTS): Don't use CHECK_N.
8077 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8078 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8079 (__getgroups): Don't use CHECK_N.
8080 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8081 (setgroups): Don't use CHECK_N.
8082 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8083 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8084 (__libc_msgrcv): Don't use CHECK_N.
8085 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8086 (__libc_msgsnd): Don't use CHECK_N.
8087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8088 <bp-checks.h>.
8089 (__libc_pread): Don't use CHECK_N.
8090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8091 include <bp-checks.h>.
8092 (__libc_pread64): Don't use CHECK_N.
8093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8094 include <bp-checks.h>.
8095 (__libc_pwrite): Don't use CHECK_N.
8096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8097 include <bp-checks.h>.
8098 (__libc_pwrite64): Don't use CHECK_N.
8099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8100 <bp-checks.h>.
8101 (__libc_pread): Don't use CHECK_N.
8102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8103 include <bp-checks.h>.
8104 (__libc_pread64): Don't use CHECK_N.
8105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8106 include <bp-checks.h>.
8107 (__libc_pwrite): Don't use CHECK_N.
8108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8109 include <bp-checks.h>.
8110 (__libc_pwrite64): Don't use CHECK_N.
8111 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8112 (do_pread): Don't use CHECK_N.
8113 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8114 (do_pread64): Don't use CHECK_N.
8115 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8116 (do_pwrite): Don't use CHECK_N.
8117 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8118 (do_pwrite64): Don't use CHECK_N.
8119 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8120 (__libc_readv): Don't use CHECK_N.
8121 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8122 (semop): Don't use CHECK_N.
8123 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8124 <bp-checks.h>.
8125 (semtimedop): Don't use CHECK_N.
8126 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8127 (__libc_pread): Don't use CHECK_N.
8128 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8129 <bp-checks.h>.
8130 (__libc_pread64): Don't use CHECK_N.
8131 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8132 <bp-checks.h>.
8133 (__libc_pwrite): Don't use CHECK_N.
8134 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8135 <bp-checks.h>.
8136 (__libc_pwrite64): Don't use CHECK_N.
8137 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8138 <bp-checks.h>.
8139 (__libc_msgrcv): Don't use CHECK_N.
8140 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8141 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8142 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8143 (__libc_writev): Don't use CHECK_N.
8144
b84660a8
RM
81452013-02-08 Roland McGrath <roland@hack.frob.com>
8146
7f3e75f8
RM
8147 * string/strcpy.c: Removed unused variable.
8148
b84660a8
RM
8149 * Makeconfig (+sysdep-includes): Define with := rather than =.
8150 Use an existing include/ subdir of each sysdeps dir before it.
8151
471514d3
CD
81522013-02-08 Carlos O'Donell <carlos@redhat.com>
8153
8154 * nscd/connection.c (register_traced_file): Comment function.
8155 [HAVE_INOTIFY] (union __inev): Define.
8156 [HAVE_INOTIFY] (inotify_check_files): New function.
8157 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8158 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8159 clear_db_cache.
8160 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8161
b2d3c3be
CD
81622013-02-08 Carlos O'Donell <carlos@redhat.com>
8163
8164 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8165 loaded if not already and that a failure is permanent.
8166
b39949d2
CD
81672013-02-08 Carlos O'Donell <carlos@redhat.com>
8168
ddacd1db 8169 [BZ #15006]
b39949d2
CD
8170 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8171 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8172
b2c9eff4
JM
81732013-02-08 Joseph Myers <joseph@codesourcery.com>
8174
f3aae3f3
JM
8175 [BZ #13550]
8176 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8177 (CHECK_1_NULL_OK): Likewise.
8178 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8179 (__fxstat): Do not use CHECK_1.
8180 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8181 <bp-checks.h>.
8182 (___fxstat64): Do not use CHECK_1.
8183 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8184 <bp-checks.h>.
8185 (__fxstatat): Do not use CHECK_1.
8186 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8187 <bp-checks.h>.
8188 (__fxstatat64): Do not use CHECK_1.
8189 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8190 <bp-checks.h>.
8191 (__fxstat): Do not use CHECK_1.
8192 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8193 <bp-checks.h>.
8194 (__fxstatat): Do not use CHECK_1.
8195 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8196 <bp-checks.h>.
8197 (__getresgid): Do not use CHECK_1.
8198 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8199 <bp-checks.h>.
8200 (__getresuid): Do not use CHECK_1.
8201 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8202 <bp-checks.h>.
8203 (__lxstat): Do not use CHECK_1.
8204 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8205 <bp-checks.h>.
8206 (__old_msgctl): Do not use CHECK_1.
8207 (__new_msgctl): Likewise.
8208 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8209 <bp-checks.h>.
8210 (__new_setrlimit): Do not use CHECK_1.
8211 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8212 <bp-checks.h>.
8213 (__old_shmctl): Do not use CHECK_1.
8214 (__new_shmctl): Likewise.
8215 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8216 <bp-checks.h>.
8217 (__xstat): Do not use CHECK_1.
8218 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8219 (__lxstat): Do not use CHECK_1.
8220 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8221 <bp-checks.h>.
8222 (___lxstat64): Do not use CHECK_1.
8223 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8224 (__old_msgctl): Do not use CHECK_1.
8225 (__new_msgctl): Likewise.
8226 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8227 <bp-checks.h>.
8228 (__gettimeofday): Do not use CHECK_1.
8229 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8230 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8231 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8232 <bp-checks.h>.
8233 (__gettimeofday): Do not use CHECK_1.
8234 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8235 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8236 (__new_shmctl): Do not use CHECK_1.
8237 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8238 <bp-checks.h>.
8239 (do_sigtimedwait): Do not use CHECK_1.
8240 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8241 <bp-checks.h>.
8242 (do_sigwaitinfo): Do not use CHECK_1.
8243 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8244 <bp-checks.h>.
8245 (msgctl): Do not use CHECK_1.
8246 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8247 <bp-checks.h>.
8248 (shmctl): Do not use CHECK_1.
8249 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8250 (ustat): Do not use CHECK_1.
8251 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8252 <bp-checks.h>.
8253 (__fxstat): Do not use CHECK_1.
8254 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8255 <bp-checks.h>.
8256 (__fxstatat): Do not use CHECK_1.
8257 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8258 <bp-checks.h>.
8259 (__lxstat): Do not use CHECK_1.
8260 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8261 <bp-checks.h>.
8262 (__xstat): Do not use CHECK_1.
8263 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8264 (__xstat): Do not use CHECK_1.
8265 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8266 (___xstat64): Do not use CHECK_1.
8267
b2c9eff4
JM
8268 [BZ #13550]
8269 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8270 definitions.
8271 (CHECK_BOUNDS_HIGH): Likewise.
8272 * string/strcpy.c: Do not include <bp-checks.h>.
8273 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8274
f1d70dad
RM
82752013-02-07 Roland McGrath <roland@hack.frob.com>
8276
8277 * nscd/nscd-client.h (__nscd_drop_map_ref):
8278 Add __attribute__ ((unused)).
8279 * nis/nss-nisplus.h (niserr2nss): Likewise.
8280
8281 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8282 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8283
8284 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8285 Remove inline keyword.
8286 * include/rounding-mode.h (round_away): Likewise.
8287 * libio/wfileops.c (adjust_wide_data): Likewise.
8288 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8289 (__m128i_strloadu_tolower): Likewise.
8290 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8291 (__m128i_strloadu_tolower): Likewise.
8292 * time/mktime.c (ydhms_diff): Likewise.
8293 * locale/elem-hash.h (elem_hash): Likewise.
8294 * locale/setlocale.c (setdata): Likewise.
8295 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8296 (re_string_wchar_at): Likewise.
8297 (bitset_not, bitset_merge, bitset_mask): Likewise.
8298 [!(__GNUC__ > 3)] (inline): Remove macro.
8299 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8300 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8301 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8302 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8303 * string/memcmp.c (memcmp_bytes): Likewise.
8304 * locale/programs/locarchive.c (compute_hashval): Likewise.
8305 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8306 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8307 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8308 * nss/getent.c (print_rpc, print_protocols): Likewise.
8309 (print_passwd, print_group, print_aliases): Likewise.
8310 * nis/nss-nisplus.h (niserr2nss): Likewise.
8311 * nscd/connections.c (restart_p): Likewise.
8312 Change return type to bool.
8313
eab55bfb
RM
83142013-02-05 Roland McGrath <roland@hack.frob.com>
8315
7bd642f5
RM
8316 * Makeconfig (all-Depend-files): Add existing
8317 $(sorted-subdirs:=/Depend) files.
8318 (all-subdirs): Remove nss.
8319 * sysdeps/unix/inet/Subdirs: Add it here instead.
8320 * hesiod/Depend: New file.
8321
573c29b2
RM
8322 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8323 instead of calling alloca.
8324
b2e25af0
RM
8325 * io/lseek.c (__lseek): Rename to __libc_lseek.
8326 Define __lseek as an alias.
8327
eab55bfb
RM
8328 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8329
9a0d1941
CD
83302013-02-04 Carlos O'Donell <carlos@redhat.com>
8331
8332 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8333 else clause and remove check for non-standard endianness.
8334
b83bbec4
DM
83352013-02-04 David S. Miller <davem@davemloft.net>
8336
8337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8338
6277fdab
JM
83392013-02-04 Joseph Myers <joseph@codesourcery.com>
8340
8341 [BZ #13550]
8342 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8343 (__ubp_memchr): Remove prototype.
8344 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8345 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8346 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8347 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8348 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8349 Remove alias.
8350 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8351 (__ubp_memchr): Likewise.
8352 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8353 (__ubp_memchr): Likewise.
8354 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8355 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8356 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8357 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8358 CHECK_STRING.
8359 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8360 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8361 (__getcwd): Do not use CHECK_STRING.
8362 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8363 <bp-checks.h>.
8364 (__real_chown): Do not use CHECK_STRING.
8365 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8366 <bp-checks.h>.
8367 (fchownat): Do not use CHECK_STRING.
8368 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8369 CHECK_STRING.
8370 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8371 <bp-checks.h>.
8372 (__lchown): Do not use CHECK_STRING.
8373 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8374 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8375 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8376 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8378 include <bp-checks.h>.
8379 (truncate64): Do not use CHECK_STRING.
8380 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8381 <bp-checks.h>.
8382 (__real_chown): Do not use CHECK_STRING.
8383 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8384 <bp-checks.h>.
8385 (__lchown): Do not use CHECK_STRING.
8386 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8387 <bp-checks.h>.
8388 (__chown): Do not use CHECK_STRING.
8389 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8390 <bp-checks.h>.
8391 (truncate64): Do not use CHECK_STRING.
8392 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8393 Likewise.
8394 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8395 (__xmknod): Do not use CHECK_STRING.
8396 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8397 <bp-checks.h>.
8398 (__xmknodat): Do not use CHECK_STRING.
8399 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8400 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8401
903ae060
AS
84022013-02-04 Andreas Schwab <schwab@suse.de>
8403
8404 [BZ #14142]
8405 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8406 * include/netdb.h: Likewise for h_errno.
8407 * elf/tst-stackguard1.c: Include <tls.h>.
8408
542f9466
JK
84092013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8410
8411 * elf/link.h (struct link_map): Extend the l_addr comment.
8412 * include/link.h (struct link_map): Likewise.
8413
e782a927
JM
84142013-02-01 Joseph Myers <joseph@codesourcery.com>
8415
8416 [BZ #13550]
8417 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8418 (BOUNDED_1): Remove macro.
8419 * debug/backtrace.c: Don't include <bp-checks.h>.
8420 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8421 (__backtrace): Likewise.
8422 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8423 <bp-checks.h>.
8424 (__backtrace): Don't use BOUNDED_1.
8425 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8426 <bp-checks.h>.
8427 (__backtrace): Don't use BOUNDED_1.
8428 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8429 (__backtrace): Don't use BOUNDED_1.
8430 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8431 (shmat): Don't use BOUNDED_N.
8432
8cf28c5e
JM
84332013-01-31 Joseph Myers <joseph@codesourcery.com>
8434
3a7ac8a0
JM
8435 [BZ #13550]
8436 * sysdeps/generic/bp-start.h: Remove file.
8437 * csu/libc-start.c: Don't include <bp-start.h>.
8438 (LIBC_START_MAIN): Set up __environ directly instead of using
8439 INIT_ARGV_and_ENVIRON.
8440 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8441 <bp-start.h>.
8442
f3499f95
JM
8443 [BZ #13550]
8444 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8445 definitions.
8446 (CHECK_FCNTL): Likewise.
8447 (CHECK_N_PAGES): Likewise.
8448
32a45bea
JM
8449 [BZ #13550]
8450 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8451 definitions.
8452 (CHECK_SIGSET_NULL_OK): Likewise.
8453 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8454 <bp-checks.h>.
8455 (sigpending): Don't use CHECK_SIGSET.
8456 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8457 <bp-checks.h>.
8458 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8459 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8460 <bp-checks.h>.
8461 (do_sigsuspend): Don't use CHECK_SIGSET.
8462 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8463 use CHECK_SIGSET.
8464 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8465 (do_sigwait): Don't use CHECK_SIGSET.
8466 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8467 use CHECK_SIGSET.
8468 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8469 include <bp-checks.h>.
8470 (sigpending): Don't use CHECK_SIGSET.
8471 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8472 include <bp-checks.h>.
8473 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8474 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8475 <bp-checks.h>.
8476 (sigpending): Don't use CHECK_SIGSET.
8477 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8478 <bp-checks.h>.
8479 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8480
2e8a5c8c
JM
8481 [BZ #13550]
8482 * sysdeps/generic/bp-semctl.h: Remove file.
8483 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8484 <bp-checks.h> and <bp-semctl.h>.
8485 (__old_semctl): Don't use CHECK_SEMCTL.
8486 (__new_semctl): Likewise.
8487 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8488 and <bp-semctl.h>.
8489 (__old_semctl): Don't use CHECK_SEMCTL.
8490 (__new_semctl): Likewise.
8491 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8492 <bp-checks.h> and <bp-semctl.h>.
8493 (__old_semctl): Don't use CHECK_SEMCTL.
8494 (__new_semctl): Likewise.
8495 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8496 <bp-checks.h> and <bp-semctl.h>.
8497 (semctl): Don't use CHECK_SEMCTL.
8498
c2d54929
JM
8499 [BZ #13550]
8500 * Makerules (elide-bp-thunks): Remove variable.
8501 (elide-routines.oS): Don't use $(elide-bp-thunks).
8502 (elide-routines.os): Likewise.
8503 (elide-routines.o): Likewise.
8504 (elide-routines.op): Likewise.
8505 (elide-routines.og): Likewise.
8506 (objects): Don't use $(bp-thunks).
8507 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8508 include.
8509 (common-generated): Do not add s-proto-bp.d.
8510 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8511 (int): Likewise.
8512 (typ): Likewise.
8513 Do not generate makefile rules for bounded-pointer thunks.
8514 * sysdeps/generic/bp-thunks.h: Remove file.
8515 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8516 * sysdeps/unix/s-proto-bp.S: Likewise.
8517
8cf28c5e
JM
8518 [BZ #15062]
8519 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8520 parts of result separately when argument is not close to line from
8521 -i to i and one part of argument is small.
8522 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8523 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8524 * math/libm-test.inc (cacos_test): Add more tests.
8525 (casin_test): Likewise.
8526 (casinh_test): Likewise.
8527 * sysdeps/i386/fpu/libm-test-ulps: Update.
8528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8529
c4e33b8d
DM
85302013-01-31 David S. Miller <davem@davemloft.net>
8531
8532 * po/de.po: Update from translation team.
8533
3b60b421
MK
85342013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8535
8536 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8537
bb931195
TS
85382013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8539
b5a5da23
TS
8540 * configure.in (_AC_PROG_CC_C89): New definition.
8541 * configure: Regenerate.
8542
bb931195
TS
8543 * configure.in (AC_PROG_CPP): New definition.
8544 * configure: Regenerate.
8545
8c53a12c
JM
85462013-01-23 Joseph Myers <joseph@codesourcery.com>
8547
8548 * debug/tst-backtrace.h: New file.
8549 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8550 (ret): Remove variable.
8551 (x): Likewise.
8552 (FAIL): Remove macro.
8553 (NO_INLINE): Likewise.
8554 (fn1): Use match function instead of strstr.
8555 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8556 (ret): Remove variable.
8557 (x): Likewise.
8558 (FAIL): Remove macro.
8559 (NO_INLINE): Likewise.
8560 (fn): Use match function instead of strstr.
8561 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8562 (ret): Remove variable.
8563 (x): Likewise.
8564 (FAIL): Remove macro.
8565 (NO_INLINE): Likewise.
8566 (handle_signal): Use match function instead of strstr.
8567 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8568 (ret): Remove variable.
8569 (x): Likewise.
8570 (FAIL): Remove macro.
8571 (NO_INLINE): Likewise.
8572 (handle_signal): Use match function instead of strstr.
8573
4858fa2a
RM
85742013-01-23 Roland McGrath <roland@hack.frob.com>
8575
8576 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8577
bae8e7f5
DM
85782013-01-23 David S. Miller <davem@davemloft.net>
8579
8580 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8581 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8582 argument of CAS if possible.
8583 * sysdeps/sparc/sparc64/bits/atomic.h
8584 (__arch_compare_and_exchange_val_32_acq): Likewise.
8585 (__arch_compare_and_exchange_val_64_acq): Likewise.
8586
9cbbc4ae
PT
85872013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8588
8589 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8590 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8591 Include <limits.h>.
67b3f58c 8592 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8593
5655a0b5
AC
85942013-01-23 Adam Conrad <adconrad@0c3.net>
8595
8596 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8597 (LDFLAGS-tst-array5): Likewise.
8598
052aff95
JM
85992013-01-23 Joseph Myers <joseph@codesourcery.com>
8600
8601 [BZ #15036]
8602 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8603 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8604 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8605 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8606
7c1e01aa
DM
86072013-01-21 David S. Miller <davem@davemloft.net>
8608
8609 * sysdeps/sparc/backtrace.c: New file.
8610 * sysdeps/sparc/sparc32/backtrace.h: New file.
8611 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8612 * sysdeps/sparc/sparc64/backtrace.h: New file.
8613 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8614 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8615 -funwind-tables.
8616
ab087e0a
AS
86172013-01-21 Andreas Schwab <schwab@suse.de>
8618
8619 [BZ #15020]
8620 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8621 closed its stdout.
8622
ed689c2f
AS
86232013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8624
8625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8626 "mpa2.h".
8627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8628
31d470ac
JM
86292013-01-18 Joseph Myers <joseph@codesourcery.com>
8630 Mark Mitchell <mark@codesourcery.com>
8631 Tom de Vries <tom@codesourcery.com>
8632 Paul Pluzhnikov <ppluzhnikov@google.com>
8633
8634 * debug/tst-backtrace2.c: New file.
8635 * debug/tst-backtrace3.c: Likewise.
8636 * debug/tst-backtrace4.c: Likewise.
8637 * debug/tst-backtrace5.c: Likewise.
8638 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8639 (CFLAGS-tst-backtrace3.c): Likewise.
8640 (CFLAGS-tst-backtrace4.c): Likewise.
8641 (CFLAGS-tst-backtrace5.c): Likewise.
8642 (LDFLAGS-tst-backtrace2): Likewise.
8643 (LDFLAGS-tst-backtrace3): Likewise.
8644 (LDFLAGS-tst-backtrace4): Likewise.
8645 (LDFLAGS-tst-backtrace5): Likewise.
8646 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8647 tst-backtrace4 and tst-backtrace5.
8648
90567f30 86492013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8650 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8651
8652 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8653 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8654 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8655 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8657 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8658 "+r" and remove output regs list as redundant. Add explicit inline
8659 asm to specify register of return val to work around compiler codegen
8660 bug. Remove (int) cast on return value. Add return type parameter to
8661 use in macro so that this macro does not truncate return value for
8662 64-bit values.
8663 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8664 pass to INTERNAL_VSYSCALL_NCS.
8665 (INLINE_VSYSCALL): Add 'long int' as return type to
8666 INTERNAL_VSYSCALL_NCS macro invocation.
8667 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8668 INTERNAL_VSYSCALL_NCS macro invocation.
8669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8670
d3b9ea61
SP
86712013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8672
0b57daeb
SP
8673 [BZ #14496]
8674 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8675 Fix application of SIMD FP exception mask.
8676
caa99d06
SP
8677 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8678 mp_no from a power of two.
8679 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8680 __mpexp_twomm1. Use __pow_mp.
8681
d3b9ea61
SP
8682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8683 multiplication.
8684
1dbaee3c
DM
86852013-01-17 David S. Miller <davem@davemloft.net>
8686
8687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8688
728d7b43
JM
86892013-01-17 Joseph Myers <joseph@codesourcery.com>
8690
8691 [BZ #15023]
8692 * include/complex.h: Condition contents on [!_COMPLEX_H].
8693 (__kernel_casinhf): New prototype.
8694 (__kernel_casinh): Likewise.
8695 (__kernel_casinhl): Likewise.
8696 * math/Makefile (libm_calls): Add k_casinh.
8697 * math/k_casinh.c: New file.
8698 * math/k_casinhf.c: Likewise.
8699 * math/k_casinhl.c: Likewise.
8700 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8701 finite nonzero arguments.
8702 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8703 finite nonzero arguments.
8704 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8705 finite nonzero arguments.
8706 * math/s_casinh.c: Do not include <float.h>.
8707 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8708 * math/s_casinhf.c: Do not include <float.h>.
8709 (__casinhf): Move code for finite nonzero arguments to
8710 k_casinhf.c.
8711 * math/s_casinhl.c: Do not include <float.h>.
8712 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8713 redefine.
8714 (__casinhl): Move code for finite nonzero arguments to
8715 k_casinhl.c.
8716 * math/libm-test.inc (cacos_test): Add more tests.
8717 * sysdeps/i386/fpu/libm-test-ulps: Update.
8718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8719
2a26ef3a
PT
87202013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8721
8722 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8723 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8724 [!HAVE_MREMAP]: Remove [defined linux] case.
8725 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8726
a897655d
SP
87272013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8728
8729 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8730
881ebe89 87312013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8732
8733 * elf/elf.h (R_386_SIZE32): New relocation.
8734 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8735 R_386_SIZE32.
8736 (elf_machine_rela): Likewise.
8737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8738 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8739
59981e9b
JM
87402013-01-17 Joseph Myers <joseph@codesourcery.com>
8741
8742 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8743 (FP_FAST_FMA): Do not define.
8744 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8745 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8746 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8747 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8748 !_SOFT_FLOAT]: Likewise.
8749 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8750 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8751 value.
8752 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8753 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8754 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8755 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8756 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8757 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8758 file.
8759
cfa8054f
AS
87602013-01-16 Andreas Schwab <schwab@suse.de>
8761
8762 [BZ #14327]
8763 * include/stdlib.h (__mktemp): Add declaration.
8764 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8765 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8766
dd930cc5
SP
87672013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8768
881ebe89
SP
8769 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8770 definitions.
8771 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8772 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8773 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8774 definitions here.
8775 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8776 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8777 definitions.
8778 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8779 and ONE.
8780 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8781 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8782 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8783 definitions.
8784 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8785 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8786 definitions.
8787 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8788
dd930cc5
SP
8789 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8790
c19a9f89
DM
87912013-01-15 David S. Miller <davem@davemloft.net>
8792
1aa61767
DM
8793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8794 trunc{,f} to libm-sysdep_routes.
8795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8797 file.
8798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8800 file.
8801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8802 file.
8803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8805 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8806 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8807 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8808 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8809 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8810 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8811
c42d5e98
DM
8812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8813 nearbyint{,f} to libm-sysdep_routes.
8814 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8816 New file.
8817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8818 file.
8819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8820 New file.
8821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8822 file.
8823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8825 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8826 file.
8827 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8828 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8829 file.
8830 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8831 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8832 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8833
c19a9f89
DM
8834 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8835 libc_feholdexcept and libc_fesetenv.
8836
357679d2
MF
88372013-01-15 Mike Frysinger <vapier@gentoo.org>
8838
8839 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8840
65a82e3d
DM
88412013-01-14 David S. Miller <davem@davemloft.net>
8842
8b954ab9
DM
8843 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8844 (SPARC_ASM_VIS2_IFUNC): Likewise.
8845 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8847 use of 'siam' instruction.
8848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8849 Likewise.
8850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8851 Likewise.
8852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8853 Likewise.
8854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8859 file.
8860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8861 file.
8862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8863 file.
8864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8865 file.
8866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8871 new VIS2 routines.
8872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8875 Likewise.
8876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8881 routines to libm-sysdep_routines.
8882 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8883
65a82e3d
DM
8884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8885 fdim/fdimf to libm-sysdep_routines.
8886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8887 file.
8888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8890 file.
8891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8894 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8895 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8896 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8897 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8898
e34ab705
SP
88992013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8900
2a91b573
SP
8901 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8902 to optimize copies.
8903
1066a534
SP
8904 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8907
e34ab705
SP
8908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8909 local variable MPTWO.
8910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8911 Likewise.
8912
aba5e596
MF
89132013-01-13 Mike Frysinger <vapier@gentoo.org>
8914
8915 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8916 GLOB_NOESCAPE.
8917
e557e9e5
MF
89182013-01-13 Mike Frysinger <vapier@gentoo.org>
8919
8920 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8921
0428cec9
MF
89222013-01-13 Mike Frysinger <vapier@gentoo.org>
8923
8924 * manual/pattern.texi (glob_t): Document gl_flags.
8925 (glob64_t): Likewise.
8926
8794a964
DM
89272013-01-11 David S. Miller <davem@davemloft.net>
8928
66438c3f
RM
8929 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8930 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8931 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8932 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8933 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8934 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8935 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8936 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8937 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8938 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8939 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8940 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8941 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8942
4ae4244d
DM
8943 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8944 sparc V9 rather than using V8 code.
8945 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8946 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8947
8794a964
DM
8948 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8949 Move to...
8950 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8951 Here.
8952
6270516e
RM
89532013-01-11 Roland McGrath <roland@hack.frob.com>
8954
8955 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8956 not in the main loop.
8957 * configure: Regenerated.
8958
6a57d931
JM
89592013-01-11 Joseph Myers <joseph@codesourcery.com>
8960
8961 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8962 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8963 to just #else.
8964 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8965 [!__GLIBC_HAVE_LONG_LONG] case.
8966 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8967 condition to just #else.
8968 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8969 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8970 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8971 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8972 unconditional.
8973 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8974 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8975 #elif condition to just #else.
8976 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8977 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8978 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8979 #elif condition to just #else.
8980
0e8529e9
SE
89812013-01-11 Steve Ellcey <sellcey@mips.com>
8982
8983 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8984 (EF_MIPS_ARCH_64): Fix value.
8985 (EF_MIPS_ARCH_32R2): New.
8986 (EF_MIPS_ARCH_64R2): New.
8987
740b3dbe
L
89882013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8989
8990 * Makeconfig (+link-pie-before-libc): New.
8991 (+link-pie-after-libc): Likewise.
8992 (+link-pie-tests): Likewise.
8993 (+link-pie): Rewritten.
8994 (link-before-libc): Remove $(config-LDFLAGS).
8995 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8996 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8997 (config-LDFLAGS): Renamed to ...
8998 (rtld-LDFLAGS): This.
8999 (rtld-tests-LDFLAGS): New macro.
9000 (link-libc-rpath-link): Likewise.
9001 (link-libc-tests-rpath-link): Likewise.
9002 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9003 (link-libc): Prepand $(link-libc-rpath-link).
9004 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9005 (test-program-prefix): New macro.
9006 (test-via-rtld-prefix): Likewise.
9007 (test-program-cmd): Likewise.
9008 (host-test-program-cmd): Likewise.
9009 * Makefile ($(common-objpfx)testrun.sh): Replace
9010 $(run-program-prefix) with $(test-program-prefix).
9011 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9012 $(rtld-LDFLAGS).
9013 ($(common-objpfx)shlib.lds): Likewise.
9014 (build-module-helper): Likewise.
9015 ($(common-objpfx)format.lds): Likewise.
9016 * Rules (binaries-pie-tests): New.
9017 (binaries-pie-notests): Likewise.
9018 (binaries-pie): Rewritten.
9019 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9020 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9021 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9022 (make-test-out): Replace $(host-built-program-cmd) with
9023 $(host-test-program-cmd).
9024 * config.make.in (build-hardcoded-path-in-tests): New variable.
9025 * configure.in (--enable-hardcoded-path-in-tests): New configure
9026 option.
9027 (hardcoded_path_in_tests): New AC_SUBST.
9028 * configure: Regenerated.
9029 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9030 $(built-program-cmd) with $(test-program-cmd).
9031 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9032 (test_program_cmd): This.
9033 * elf/Makefile ($(objpfx)order.out): Run test with
9034 $(test-program-prefix).
9035 ($(objpfx)order2.out): Likewise.
9036 ($(objpfx)tst-initorder.out): Likewise.
9037 ($(objpfx)tst-initorder2.out): Likewise.
9038 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9039 $(test-program-cmd).
9040 ($(objpfx)tst-array1-static.out): Likewise.
9041 ($(objpfx)tst-array2.out): Likewise.
9042 ($(objpfx)tst-array3.out): Likewise.
9043 ($(objpfx)tst-array4.out): Likewise.
9044 ($(objpfx)tst-array5.out): Likewise.
9045 ($(objpfx)tst-array5-static.out): Likewise.
9046 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9047 $(test-program-cmd).
9048 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9049 $(run-program-prefix) with $(test-program-prefix).
9050 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9051 (test_program_prefix): This.
9052 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9053 $(run-program-prefix) with $(test-program-prefix).
9054 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9055 (test_program_prefix): This.
9056 * iconvdata/tst-tables.sh: Likewise.
9057 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9058 $(run-program-prefix) with $(test-program-prefix).
9059 ($(objpfx)tst-translit.out): Likewise.
9060 ($(objpfx)tst-gettext2.out): Likewise.
9061 ($(objpfx)tst-gettext4.out): Likewise.
9062 ($(objpfx)tst-gettext6.out): Likewise.
9063 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9064 (test_program_prefix): This.
9065 * intl/tst-gettext2.sh: Likewise.
9066 * intl/tst-gettext4.sh Likewise.
9067 * intl/tst-gettext6.sh: Likewise.
9068 * intl/tst-translit.sh: Likewise.
9069 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9070 with $(test-program-cmd).
9071 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9072 $(run-program-prefix) with $(test-program-prefix).
9073 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9074 (test_program_prefix): This.
9075 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9076 $(run-program-prefix) with $(test-program-prefix).
9077 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9078 (test_program_prefix): This.
9079 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9080 * posix/Makefile ($(objpfx)globtest.out): Replace
9081 $(run-via-rtld-prefix) and $(test-wrapper) with
9082 $(test-program-prefix) and $(test-via-rtld-prefix).
9083 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9084 $(test-program-prefix).
9085 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9086 $(host-test-program-cmd).
9087 (tst-spawn-ARGS): Likewise.
9088 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9089 $(test-program-prefix).
9090 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9091 (test_via_rtld_prefix): This.
9092 (test_wrapper): Renamed to ...
9093 (test_program_prefix): This.
9094 (run_program_prefix): Replaced by test_program_prefix.
9095 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9096 (test_program_prefix): This.
9097 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9098 with $(host-test-program-cmd).
9099 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9100 $(run-program-prefix) with $(test-program-prefix).
9101 ($(objpfx)tst-printf.out): Likewise.
9102 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9103 $(test-program-cmd).
9104 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9105 (test_program_prefix): This.
9106 * stdio-common/tst-unbputc.sh: Likewise.
9107 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9108 $(run-program-prefix) with $(test-program-prefix).
9109 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9110 (test_program_prefix): This.
9111 * string/Makefile ($(objpfx)tst-svc.out): Replace
9112 $(built-program-cmd) with $(test-program-cmd).
9113
c6fe55cf
AJ
91142013-01-11 Andreas Jaeger <aj@suse.de>
9115
9116 [BZ #15003]
9117 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9118 value. Sync with Linux 3.7.
9119
9e6919c8
DM
91202013-01-10 David S. Miller <davem@davemloft.net>
9121
9122 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9123 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9124 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9125
1c9f1a02
RM
91262013-01-10 Roland McGrath <roland@hack.frob.com>
9127
9128 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9129 never set.
9130 * configure: Regenerated.
9131
b9de2dde
DM
91322013-01-10 David S. Miller <davem@davemloft.net>
9133
9134 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9135 sparc V9 rather than using V8 code.
9136 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9137 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9138
e7f68ef4
RM
91392013-01-10 Roland McGrath <roland@hack.frob.com>
9140
9141 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9142 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9143 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9144 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9145 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9146 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9147 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9148 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9149 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9150 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9151 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9152 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9153 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9154 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9155 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9156 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9157 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9158 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9159 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9160 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9161 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9162 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9163 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9164 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9165 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9166 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9167 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9168
5a47cc9c
DM
91692013-01-10 David S. Miller <davem@davemloft.net>
9170
9171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9172
4cf8f209
L
91732013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9174
9175 * posix/Makefile (tests-static): New variable.
9176 (tests): Add $(tests-static).
9177 (tst-exec-static-ARGS): New variable.
9178 (tst-spawn-static-ARGS): Likewise.
9179 * posix/tst-exec-static.c: New file.
9180 * posix/tst-spawn-static.c: Likewise.
9181 * posix/tst-exec.c: Support run directly.
9182 * posix/tst-spawn.c: Likewise.
9183
fed0faa1
JM
91842013-01-10 Joseph Myers <joseph@codesourcery.com>
9185
828beb13
JM
9186 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9187 long.
9188 * math/bits/mathcalls.h (llrint): Likewise.
9189 (llround): Likewise.
9190 * stdlib/stdlib.h (struct drand48_data): Likewise.
9191 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9192 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9193 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9194 Likewise.
9195 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9196 Likewise.
9197 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9198 (elf_greg_t): Likewise.
9199 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9200 (__jmp_buf): Likewise.
9201 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9202 definitions.
9203 (llrint): Likewise, for all definitions.
9204 (llrintl): Likewise.
9205
fed0faa1
JM
9206 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9207 Remove [__GNUC__] condition.
9208 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9209 condition to just [__USE_ISOC99].
9210 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9211
1a20cb20
L
92122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9213
9214 [BZ #14200]
9215 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9216 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9217 defined.
9218 (_POSIX_V6_ILP32_OFF32): Likewise.
9219 (_XBS5_ILP32_OFF32): Likewise.
9220 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9221 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9222
751b85f7
SP
92232013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9224
7490eb81
SP
9225 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9226
751b85f7
SP
9227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9228 doubles __mpexp_twomm1. Adjust usage.
9229 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9230 Remove.
9231
988197f0
AS
92322013-01-10 Andreas Schwab <schwab@suse.de>
9233
9234 [BZ #14964]
9235 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9236 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9237
e83d7298
DM
92382013-01-09 David S. Miller <davem@davemloft.net>
9239
034ed64b 9240 [BZ #15003]
e83d7298
DM
9241 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9242 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9243 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9244 TCP_FASTOPEN): Define.
9245 (tcp_repair_opt): New structure.
9246 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9247 enum values.
9248 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9249 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9250 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9251 (tcp_cookie_transactions): New structure.
9252
d5e0b9bd
AB
92532013-01-09 Anton Blanchard <anton@samba.org>
9254
9255 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9256 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9257 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9258 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9259
0c07e3ea
JM
92602013-01-09 Joseph Myers <joseph@codesourcery.com>
9261
9262 * include/features.h (__USE_ANSI): Remove.
9263
232f7002
RM
92642013-01-09 Roland McGrath <roland@hack.frob.com>
9265
ad98e30c
RM
9266 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9267
232f7002
RM
9268 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9269
950c99ca
SP
92702013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9271
b5792741
SP
9272 * sysdeps/s390/fpu/libm-test-ulps: Update.
9273
47cf2278
SP
9274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9275
950c99ca
SP
9276 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9277 (__acr): Likewise.
9278 (__cpy): Likewise.
9279 (norm): Likewise.
9280 (denorm): Likewise.
9281 (__mp_dbl): Likewise.
9282 (__dbl_mp): Likewise.
9283 (add_magnitudes): Likewise.
9284 (sub_magnitudes): Likewise.
9285 (__add): Likewise.
9286 (__sub): Likewise.
9287 (__mul): Likewise.
9288 (__inv): Likewise.
9289 (__dvd): Likewise.
9290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9291 (__acr): Likewise.
9292 (__cpy): Likewise.
9293 (norm): Likewise.
9294 (denorm): Likewise.
9295 (__mp_dbl): Likewise.
9296 (__dbl_mp): Likewise.
9297 (add_magnitudes): Likewise.
9298 (sub_magnitudes): Likewise.
9299 (__add): Likewise.
9300 (__sub): Likewise.
9301 (__mul): Likewise.
9302 (__inv): Likewise.
9303 (__dvd): Likewise.
9304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9305 (__acr): Likewise.
9306 (__cpy): Likewise.
9307 (norm): Likewise.
9308 (denorm): Likewise.
9309 (__mp_dbl): Likewise.
9310 (__dbl_mp): Likewise.
9311 (add_magnitudes): Likewise.
9312 (sub_magnitudes): Likewise.
9313 (__add): Likewise.
9314 (__sub): Likewise.
9315 (__mul): Likewise.
9316 (__inv): Likewise.
9317 (__dvd): Likewise.
9318
eede9df9
JM
93192013-01-08 Joseph Myers <joseph@codesourcery.com>
9320
9321 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9322 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9323 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9324 2 && __USE_EXTERN_INLINES]: Likewise.
9325
c40ea3d9
AJ
93262013-01-08 Andreas Jaeger <aj@suse.de>
9327
9328 [BZ# 14985]
9329 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9330 Remove.
9331 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9332 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9333
2ccdea26
AB
93342013-01-07 Anton Blanchard <anton@samba.org>
9335
9336 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9337 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9338 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9339 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9340 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9341 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9342 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9343 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9345 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9346 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9347 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9348 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9349 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9350 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9351 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9352 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9353 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9354 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9355 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9356 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9357 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9358 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9359 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9360 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9361 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9362 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9363 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9364 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9365 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9366 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9368 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9369 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9370 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9371 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9372 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9373 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9374 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9375 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9376 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9377 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9378 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9379
a9708fed
JM
93802013-01-07 Joseph Myers <joseph@codesourcery.com>
9381
375607b9
JM
9382 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9383 (__MALLOC_PMT): Likewise.
9384 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9385 [__GNUC__], only on [_LIBC].
9386 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9387 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9388 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9389 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9390 forward declaration.
9391 (realloc_hook_ini): Likewise.
9392 (memalign_hook_ini): Likewise.
9393 (__libc_memalign): Do not use __MALLOC_PMT in variable
9394 declaration.
9395 (__libc_valloc): Likewise.
9396 (__libc_pvalloc): Likewise.
9397 (__libc_calloc): Likewise.
9398 (__posix_memalign): Likewise.
9399
a9708fed
JM
9400 [BZ #14996]
9401 * math/s_casinh.c: Include <float.h>.
9402 (__casinh): Do not do computation with squaring and square root
9403 for large arguments.
9404 * math/s_casinhf.c: Include <float.h>.
9405 (__casinhf): Do not do computation with squaring and square root
9406 for large arguments.
9407 * math/s_casinhl.c: Include <float.h>.
9408 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9409 (__casinhl): Do not do computation with squaring and square root
9410 for large arguments.
9411 * math/libm-test.inc (casin_test): Add more tests.
9412 (casinh_test): Likewise.
9413 * sysdeps/i386/fpu/libm-test-ulps: Update.
9414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9415
afec409a
L
94162013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9417
9418 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9419 (__x86_64_raw_data_cache_size): Likewise.
9420 (__x86_64_data_cache_size_half): Likewise.
9421 (__x86_64_raw_data_cache_size_half): Likewise.
9422 (__x86_64_shared_cache_size): Likewise.
9423 (__x86_64_raw_shared_cache_size): Likewise.
9424 (__x86_64_shared_cache_size_half): Likewise.
9425 (__x86_64_raw_shared_cache_size_half): Likewise.
9426 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9427 to ...
9428 (__x86_data_cache_size): This.
9429 (__x86_64_raw_data_cache_size): Renamed to ...
9430 (__x86_raw_data_cache_size): This.
9431 (__x86_64_data_cache_size_half): Renamed to ...
9432 (__x86_data_cache_size_half): This.
9433 (__x86_64_raw_data_cache_size_half): Renamed to ...
9434 (__x86_raw_data_cache_size_half): This.
9435 (__x86_64_shared_cache_size): Renamed to ...
9436 (__x86_shared_cache_size): This.
9437 (__x86_64_raw_shared_cache_size): Renamed to ...
9438 (__x86_raw_shared_cache_size): This.
9439 (__x86_64_shared_cache_size_half): Renamed to ...
9440 (__x86_shared_cache_size_half): This.
9441 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9442 (__x86_raw_shared_cache_size_half): This.
9443 * sysdeps/x86_64/memcpy.S: Updated.
9444 * sysdeps/x86_64/memset.S: Likewise.
9445 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9447 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9448
0b3986d0
DM
94492013-01-04 David S. Miller <davem@davemloft.net>
9450
9451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9452
e47686e9
AS
94532013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9454
d643bac1
AS
9455 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9456 1 to avoid redefinition warning.
9457 (__USE_GNU): Don't define.
9458 (init_signaling_nan): Protoize.
9459
e47686e9
AS
9460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9461
b18decba
SP
94622013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9463
fffb407f
SP
9464 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9466 (__cpymn): Likewise.
9467 (norm): Remove commented code.
9468 (denorm): Likewise.
9469 (__mp_dbl): Likewise.
9470 (__inv): Likewise.
9471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9472 (__cpymn): Likewise.
9473 (norm): Remove commented code.
9474 (denorm): Likewise.
9475 (__mp_dbl): Likewise.
9476 (__inv): Likewise.
9477
b18decba
SP
9478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9479 mp_no value for 1.0 and 2.0.
9480 (norm): Use RADIXI instead of radixi.d.
9481 (denorm): Likewise.
9482 (__mul): Use 0.0 instead of zero.d.
9483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9484 mp_no value for 1.0 and 2.0.
9485 (norm): Use RADIXI instead of radixi.d.
9486 (denorm): Likewise.
9487 (__mul): Use 0.0 instead of zero.d.
9488
cdc1c96f
JM
94892013-01-04 Joseph Myers <joseph@codesourcery.com>
9490
9491 [BZ #14994]
9492 * math/s_casinh.c (__casinh): Reduce finite argument to first
9493 quadrant then set signs of results at the end.
9494 * math/s_casinhf.c (__casinhf): Likewise.
9495 * math/s_casinhl.c (__casinhl): Likewise.
9496 * math/libm-test.inc (casin_test): Add more tests.
9497 (casinh_test): Likewise.
9498 * sysdeps/i386/fpu/libm-test-ulps: Update.
9499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9500
302913e1
SP
95012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9502
6420d207
SP
9503 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9504
a9e48ab4
SP
9505 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9506
b7837264
SP
9507 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9508 declarations.
9509 (denorm): Likewise.
9510 (__mp_dbl): Likewise.
9511 (__inv): Likewise.
9512
f8af25d2
SP
9513 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9514 and adjust the header comment.
9515
302913e1
SP
9516 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9517 variable name from declaration.
9518
5d7dd1ca
L
95192013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9520
9521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9522 Initialize COMMON_CPUID_INDEX_7 element.
9523 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9524 (CPUID_RTM): Likewise.
9525 (HAS_RTM): Likewise.
9526 (COMMON_CPUID_INDEX_7): New enum.
9527
2f5f40f4
AS
95282013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9529
9530 [BZ #14981]
9531 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9532 size is zero, record memory as freed.
9533
4056f4a0
AJ
95342013-01-03 Andreas Jaeger <aj@suse.de>
9535
9536 * po/ia.po: Add new Interlingua translation.
9537
ab15736f 95382012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9539
9540 * locale/programs/localedef.c: Fix description of '--posix' flag.
9541
568035b7
JM
95422013-01-02 Joseph Myers <joseph@codesourcery.com>
9543
e6898b8d
JM
9544 * NEWS: Update dates in second copyright notice.
9545 * README: Update copyright dates in example.
9546 * manual/libc.texinfo: Update copyright dates.
9547 * scripts/test-installation.pl: Update copyright date in --version
9548 output.
9549
0e2f9562
JM
9550 * hurd/ctty-input.c: Fix copyright notice formatting.
9551 * hurd/ctty-output.c: Likewise.
9552 * hurd/dtable.c: Likewise.
9553 * hurd/hurd-raise.c: Likewise.
9554 * hurd/hurdprio.c: Likewise.
9555 * hurd/msgportdemux.c: Likewise.
9556 * misc/sys/file.h: Likewise.
9557 * misc/sys/ioctl.h: Likewise.
9558 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9559 * sysdeps/mach/hurd/chdir.c: Likewise.
9560 * sysdeps/mach/hurd/fchdir.c: Likewise.
9561 * sysdeps/mach/hurd/rename.c: Likewise.
9562 * sysdeps/mach/hurd/rmdir.c: Likewise.
9563 * sysdeps/mach/hurd/seekdir.c: Likewise.
9564 * sysdeps/mach/hurd/setsid.c: Likewise.
9565 * sysdeps/posix/wait3.c: Likewise.
9566
568035b7
JM
9567 * All files with FSF copyright notices: Update copyright dates
9568 using scripts/update-copyrights.
9569 * intl/plural.c: Regenerated.
9570 * locale/programs/charmap-kw.h: Likewise.
9571 * locale/programs/locfile-kw.h: Likewise.
9572
da08f647
SP
95732013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9574
0f5477af
SP
9575 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9576 four values.
9577
44e0d4c2
SP
9578 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9579 calculation loop and add branch prediction.
9580
4d55b4e5
SP
9581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9582 check access beyond bounds of m1np.
9583
da08f647
SP
9584 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9585 MPTWO.
9586 (__inv): Remove local variable MPTWO to use the global
9587 constant.
9588 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9589 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9590 variable MPTWO.
9591 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9592 MP3HALFS static const.
9593
8e051029
DM
95942013-01-01 David S. Miller <davem@davemloft.net>
9595
9596 * po/ca.po: Update from translation team.
9597
f4cf5f2d
JM
95982013-01-01 Joseph Myers <joseph@codesourcery.com>
9599
9600 * scripts/update-copyrights: New file.
9601 * Makeconfig: Reformat copyright notice.
9602 * ctype/ctype.h: Likewise.
9603 * debug/swprintf_chk.c: Likewise.
9604 * elf/dl-cache.c: Likewise.
9605 * elf/dl-debug.c: Likewise.
9606 * elf/dl-object.c: Likewise.
9607 * grp/initgroups.c: Likewise.
9608 * hurd/Makefile: Likewise.
9609 * hurd/hurd/signal.h: Likewise.
9610 * hurd/hurdfault.c: Likewise.
9611 * hurd/hurdioctl.c: Likewise.
9612 * hurd/hurdlookup.c: Likewise.
9613 * hurd/intr-msg.c: Likewise.
9614 * iconv/gconv_open.c: Likewise.
9615 * libio/swprintf.c: Likewise.
9616 * locale/lc-ctype.c: Likewise.
9617 * locale/nl_langinfo.c: Likewise.
9618 * mach/Machrules: Likewise.
9619 * mach/Makefile: Likewise.
9620 * malloc/obstack.h: Likewise.
9621 * manual/Makefile: Likewise.
9622 * manual/tsort.awk: Likewise.
9623 * misc/bits/stab.def: Likewise.
9624 * nis/nis_print_group_entry.c: Likewise.
9625 * nis/nis_table.c: Likewise.
9626 * nis/nss_compat/compat-pwd.c: Likewise.
9627 * nis/nss_compat/compat-spwd.c: Likewise.
9628 * po/Makefile: Likewise.
9629 * posix/fnmatch.c: Likewise.
9630 * posix/regex.h: Likewise.
9631 * resolv/Makefile: Likewise.
9632 * resolv/nss_dns/dns-network.c: Likewise.
9633 * resolv/res_hconf.c: Likewise.
9634 * scripts/gen-sorted.awk: Likewise.
9635 * soft-fp/soft-fp.h: Likewise.
9636 * stdio-common/printf.h: Likewise.
9637 * stdlib/monetary.h: Likewise.
9638 * stdlib/random.c: Likewise.
9639 * stdlib/random_r.c: Likewise.
9640 * sysdeps/generic/Makefile: Likewise.
9641 * sysdeps/gnu/Makefile: Likewise.
9642 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9643 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9644 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9645 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9646 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9649 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9650 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9651 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9652 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9653 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9654 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9655 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9656 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9657 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9658 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9659 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9660 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9662 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9663 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9664 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9665 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9666 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9668 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9669 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9670 * sysdeps/mach/hurd/errnos.awk: Likewise.
9671 * sysdeps/mach/hurd/fork.c: Likewise.
9672 * sysdeps/mach/hurd/getcwd.c: Likewise.
9673 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9674 * sysdeps/mach/hurd/mmap.c: Likewise.
9675 * sysdeps/mach/hurd/utimes.c: Likewise.
9676 * sysdeps/mach/hurd/xmknod.c: Likewise.
9677 * sysdeps/posix/profil.c: Likewise.
9678 * sysdeps/posix/readdir_r.c: Likewise.
9679 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9680 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9681 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9682 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9684 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9685 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9686 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9688 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9689 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9690 * sysdeps/pthread/lio_listio.c: Likewise.
9691 * sysdeps/sparc/dl-procinfo.h: Likewise.
9692 * sysdeps/unix/i386/sysdep.S: Likewise.
9693 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9694 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9695 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9696 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9698 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9699 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9700 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9701 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9702 * sysdeps/wordsize-32/divdi3.c: Likewise.
9703 * time/sys/time.h: Likewise.
9704 * wcsmbs/Makefile: Likewise.
9705
0549fbba
DM
97062013-01-01 David S. Miller <davem@davemloft.net>
9707
a141f1a7
DM
9708 * po/fr.po: Update from translation team.
9709
0549fbba
DM
9710 * catgets/gencat.c: Update copyright year.
9711 * csu/version.c: Likewise.
9712 * debug/catchsegv.sh: Likewise.
9713 * debug/pcprofiledump.c: Likewise.
9714 * debug/xtrace.sh: Likewise.
9715 * elf/ldconfig.c: Likewise.
9716 * elf/ldd.bash.in: Likewise.
9717 * elf/pldd.c: Likewise.
9718 * elf/sotruss.ksh: Likewise.
9719 * elf/sprof.c: Likewise.
9720 * iconv/iconv_prog.c: Likewise.
9721 * iconv/iconvconfig.c: Likewise.
9722 * locale/programs/locale.c: Likewise.
9723 * locale/programs/localedef.c: Likewise.
9724 * login/programs/pt_chown.c: Likewise.
9725 * malloc/memusage.sh: Likewise.
9726 * malloc/memusagestat.c: Likewise.
9727 * malloc/mtrace.pl: Likewise.
9728 * nscd/nscd.c: Likewise.
9729 * nss/getent.c: Likewise.
9730 * nss/makedb.c: Likewise.
9731 * posix/getconf.c: Likewise.
9732
18ea052c
SP
97332012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9734
9735 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9736 numbers.
9737
9c89fca6
MF
97382012-12-30 Mike Frysinger <vapier@gentoo.org>
9739
9740 * math/bits/mathcalls.h (modf): Use __nonnull.
9741
085ec079
SP
97422012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9743
9744 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9745 (split): Use macro CN instead of the bare value.
9746 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9747 could be used.
9748 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9749 instead of the bare value.
9750 (power1): Likewise.
9751
6d9f97e1
SP
97522012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9753
d63f73be
SP
9754 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9755 __ATAN_TWOM.
9756 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9757
6d9f97e1
SP
9758 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9759 their values.
9760 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9761 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9762 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9763 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9764
4c4febf5
AJ
97652012-12-28 Andreas Jaeger <aj@suse.de>
9766
af5843ef
AJ
9767 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9768 values are from Linux 3.7.
9769
4c4febf5
AJ
9770 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9771 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9772
99136f82
SP
97732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9774
2f216c3c 9775 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9776 TRUE case.
9777
99136f82
SP
9778 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9779 (norm): Likewise.
9780 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9781 variables with preprocessor constants.
9782 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9783 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9784 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9785
7fffbdff
BH
97862012-12-27 Bruno Haible <bruno@clisp.org>
9787
9788 [BZ #14317]
9789 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9790 only if needed.
9791
b76eb5f0
SP
97922012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9793
31a7fe5c
SP
9794 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9795 and use variable directly.
9796 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9797
b76eb5f0
SP
9798 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9799 MPONE.
9800 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9801 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9802 variable MPONE.
9803 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9804 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9805 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9806 include directive. Remove local variable MPONE.
9807 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9808 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9809 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9810
2c8bfe7d
DM
98112012-12-25 David S. Miller <davem@davemloft.net>
9812
9813 * version.h (RELEASE): Set to "development".
9814 (VERSION): Set to "2.17.90".
9815 * NEWS: Add 2.18 section.
9816
147d03b0
DM
98172012-12-21 David S. Miller <davem@davemloft.net>
9818
9819 * po/hr.po: Update from translation team.
9820
a8ebb2b9
AK
98212012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9822
9823 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9824
95b4f1b6
SE
98252012-12-19 Steve Ellcey <sellcey@mips.com>
9826
b2d94007 9827 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9828
cedb2a90
MS
98292012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9830
9831 * manual/contrib.texi (Contributors): Spelling correction.
9832
bbf527d6
DM
98332012-12-15 David S. Miller <davem@davemloft.net>
9834
9835 * po/ru.po: Update from translation team.
9836
bc38c906
DM
98372012-12-13 David S. Miller <davem@davemloft.net>
9838
85429b1a
DM
9839 * NEWS: Mention IFUNC testsuite enhancements.
9840
d283e353
DM
9841 * po/pl.po: Update from translation team.
9842 * po/bg.po: Likewise.
9843
bc38c906
DM
9844 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9845 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9846
a181b0d7
DM
98472012-12-11 David S. Miller <davem@davemloft.net>
9848
4641d57e
DM
9849 * po/sv.po: Update from translation team.
9850
f7bc6495
DM
9851 * po/vi.po: Update from translation team.
9852
6fc9048f
DM
9853 * po/cs.po: Update from translation team.
9854
a181b0d7
DM
9855 * po/de.po: Update from translation team.
9856 * po/eo.po: Likewise.
9857 * po/nl.po: Likewise.
9858
f70bfe80
SP
98592012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9860
3c8b4190
SP
9861 [BZ #14246]
9862 * manual/argp.texi (Argp Helper Functions): Move node to follow
9863 Argp Parsing State.
9864
f70bfe80
SP
9865 [BZ #14872]
9866 * manual/conf.texi (Limits on File System Capacity): Mention if
9867 terminating null is included in the max size.
9868
188f0adf
AJ
98692012-12-10 Andreas Jaeger <aj@suse.de>
9870
9871 * po/cs.po: Update from translation team.
9872
56e7d3ad
SP
98732012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9874
9875 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9876 void pointer and cast to uintptr_t.
9877 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9878 path.
9879 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9880 * sysdeps/s390/s390-64/memset.S: Likewise.
9881
76f2d2ea 98822012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9883
9884 [BZ #14833]
9885 * menual/message.texi (Message Translation): Fix typos.
9886 (Helper programs for gettext): Likewise.
9887
67cbf9a2
AS
98882012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9889
9890 [BZ #14898]
9891 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9892 Change to -1.
9893
682d0e9a
DM
98942012-12-07 David S. Miller <davem@davemloft.net>
9895
9896 * po/libc.pot: Update.
9897
573cd484
RH
98982012-12-07 Richard Henderson <rth@redhat.com>
9899
7e9da188 9900 [BZ #10114]
573cd484
RH
9901 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9902 normal/normal case to before the switch.
9903 (_FP_DIV): Likewise.
9904
e933a943
MF
99052012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9906 Mike Frysinger <vapier@gentoo.org>
9907
9908 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9909 check for __NR_fadvise64_64.
9910
82123268
CM
99112012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9912
9913 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9914 0, not just to plain "0" as a statement.
9915 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9916 with cw.
9917
d9814526
JM
99182012-12-06 Joseph Myers <joseph@codesourcery.com>
9919
9920 * NEWS: Use sourceware.org in Bugzilla URL.
9921
7728c574
SP
99222012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9923
f16946dd
SP
9924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9925 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9926
5704bbcb
SP
9927 * stdio-common/tst-put-error.c (do_test): Add newline to the
9928 padded test to ensure flush.
9929
17aa0516
JL
99302012-12-05 Jeff Law <law@redhat.com>
9931
9932 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9933
363313b5
JM
99342012-12-05 Joseph Myers <joseph@codesourcery.com>
9935
effbd42a
JM
9936 * README: Don't refer to ports add-on as distributed separately.
9937 Mention AArch64 in list of systems supported in the ports add-on.
9938
87600365
JM
9939 * LICENSES: Add more non-FSF copyright and license notices.
9940
a0d7066a
JM
9941 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9942 ((unused)).
9943
66ca5a5b
JM
9944 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9945
363313b5
JM
9946 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9947 10000 as width of padded output.
9948
b37984ad
JM
99492012-12-04 Joseph Myers <joseph@codesourcery.com>
9950
9003570a
JM
9951 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9952
b37984ad
JM
9953 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9954 variable LX with __attribute__ ((unused)).
9955 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9956 Likewise.
9957 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9959 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9960 with __attribute__ ((unused)).
9961
c8df52ec
DM
99622012-12-04 David S. Miller <davem@abraco.davemloft.net>
9963
9964 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9965
b3b099af
JM
99662012-12-04 Joseph Myers <joseph@codesourcery.com>
9967
c33aa6e3
JM
9968 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9969 (CFLAGS-nldbl-acos.c): New variable.
9970 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9971 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9972 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9973 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9974 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9975 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9976 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9977 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9978 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9979 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9980 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9981 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9982 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9983 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9984 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9985 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9986 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9987 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9988 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9989 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9990 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9991 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9992 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9993 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9994 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9995 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9996 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9997 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9998 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9999 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10000 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10001 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10002 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10003 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10004 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10005 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10006 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10007 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10008 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10009 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10010 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10011 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10012 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10013 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10014 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10015 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10016 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10017 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10018 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10019 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10020 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10021 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10022 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10023 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10024 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10025 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10026 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10027 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10028 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10029 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10030 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10031 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10032 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10033 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10034 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10035 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10036 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10037 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10038 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10039 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10040 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10041 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10042 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10043 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10044 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10045 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10046 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10047 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10048 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10049 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10050 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10051 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10052 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10053 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10054 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10055 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10056 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10057 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10058 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10059 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10060 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10061 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10062 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10063 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10064 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10065 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10066 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10067
20f0018d
JM
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10069 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10070
b3b099af
JM
10071 [BZ #14914]
10072 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10073 whole low double instead of just low 47 bits when splitting values
10074 into two parts.
10075
029264d1
AM
100762012-12-03 Allan McRae <allan@archlinux.org>
10077
10078 * manual/stdio.texi (Predefined Printf Handlers): Remove
10079 @hsep and @vsep usage.
10080
c9d6789e
MF
100812012-12-03 Mike Frysinger <vapier@gentoo.org>
10082
10083 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10084 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10085
4b7634a5
JL
100862012-12-03 Jeff Law <law@redhat.com>
10087
10088 * time/sys/time.h (settimeofday): Do not mark TV argument
10089 as __nonnull.
10090
eb6cbd24
MF
100912012-12-01 Mike Frysinger <vapier@gentoo.org>
10092
10093 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10094 when currently writing and seek to current position when not.
10095 * libio/Makefile (tests): Remove bug-fclose1.
10096 * libio/bug-fclose1.c: Delete.
10097
f638872a
JM
100982012-12-01 Joseph Myers <joseph@codesourcery.com>
10099
10100 * manual/arith.texi (feenableexcept): Fix typo.
10101 (fedisableexcept): Likewise.
10102
48085d14
RM
101032012-11-30 Roland McGrath <roland@hack.frob.com>
10104
10105 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10106 second, differently-typed declaration, rather than a cast.
10107
1a538b9f
SP
101082012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10109
10110 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10111 * include/rpc/svc.h: ... here.
10112
d07f2ff1 101132012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10114
10115 [BZ #13013]
10116 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10117 depending n and resplen2 to catch cases where answer
10118 equals answerp2.
10119
c93ec1f0
CD
101202012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10121
10122 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10123 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10124
37db69de
MF
101252012-11-29 Mike Frysinger <vapier@gentoo.org>
10126
10127 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10128
e10c4e4f
RM
101292012-11-29 Roland McGrath <roland@hack.frob.com>
10130
10131 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10132
2af1b328
JL
101332012-11-28 Jeff Law <law@redhat.com>
10134
10135 [BZ #13761]
10136 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10137 dataset_temporary. Track alloca usage into alloca_used.
10138 If dataset is large allocate and release it via malloc/free.
10139
111db5b1
FW
101402012-06-04 Florian Weimer <fweimer@redhat.com>
10141
f06cc227 10142 [BZ #14197]
111db5b1
FW
10143 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10144
dd694abd
DM
101452012-11-28 David S. Miller <davem@davemloft.net>
10146
10147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10148
9984dd01
JM
101492012-11-28 Joseph Myers <joseph@codesourcery.com>
10150
10151 [BZ #14803]
10152 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10153 of pi/2 rounded to nearest to 64 bits.
10154 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10155 nearest to 64 bits.
10156 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10157 bits.
10158
14bc93a9
JL
101592012-11-28 Jeff Law <law@redhat.com>
10160 Martin Osvald <mosvald@redhat.com>
10161
10162 [BZ #14889]
10163 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10164 * sunrpc/svc.c: Include time.h.
10165 (__svc_accept_failed): New function.
10166 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10167 any reason other than EINTR, call __svc_accept_failed.
10168 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10169 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10170
e3c6aa3a
AS
101712012-11-28 Andreas Schwab <schwab@suse.de>
10172
10173 * scripts/abilist.awk: Also handle indirect functions in .opd
10174 section.
10175
1bead169
JM
101762012-11-28 Joseph Myers <joseph@codesourcery.com>
10177
10178 [BZ #13881]
10179 * sysdeps/x86/fpu/powl_helper.c: New file.
10180 * sysdeps/x86/fpu/Makefile: Likewise.
10181 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10182 (p3): New object.
10183 (__ieee754_powl): Use __powl_helper for finite arguments except
10184 integer exponents below 8.
10185 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10186 (p3): New object.
10187 (__ieee754_powl): Use __powl_helper for finite arguments except
10188 integer exponents below 8.
10189 * math/libm-test.inc (pow_test): Add more tests and enable some
10190 previously disabled tests.
10191 * sysdeps/i386/fpu/libm-test-ulps: Update.
10192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10193
0817d63d
SP
101942012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10195 Carlos O'Donell <carlos_odonell@mentor.com>
10196
10197 * nss/makedb.c (is_prime): Assert that input is odd and greater
10198 than 4. Note that fact in a comment too.
10199 (next_prime): Add 4 to input.
10200
de2fd463
SP
102012012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10202
10203 [BZ #11741]
10204 * libio/Makefile (tests): Add test case tst-fwrite-error.
10205 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10206 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10207 * libio/tst-fwrite-error.c: New test case.
10208
c515fb51
L
102092012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10210
10211 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10212 before casting to void *.
10213 * include/libc-internal.h (__pointer_type): New macro.
10214 (__integer_if_pointer_type_sub): Likewise.
10215 (__integer_if_pointer_type): Likewise.
10216 (cast_to_integer): Likewise.
10217 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10218 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10219 before casting to atomic64_t.
10220 (atomic_exchange_acq): Likewise.
10221 (__arch_exchange_and_add_body): Likewise.
10222 (__arch_add_body): Likewise.
10223 (atomic_add_negative): Likewise.
10224 (atomic_add_zero): Likewise.
10225
4cf77aa9
JM
102262012-11-26 Joseph Myers <joseph@codesourcery.com>
10227
10228 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10229 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10230 (add_fdes): Likewise.
10231 (linear_search_fdes): Likewise.
10232 (binary_search_unencoded_fdes): Likewise.
10233
d260b3b4
AS
102342012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10235
10236 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10237
67060746
AC
102382012-11-24 Adam Conrad <adconrad@0c3.net>
10239
10240 * configure.in: Autodetect C++ header directories.
10241 * configure: Regenerated.
10242
800938a1
MF
102432012-11-23 Mike Frysinger <vapier@gentoo.org>
10244
10245 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10246
4e6e34e6
AS
102472012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10248
10249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10250
7c7feb47
JM
102512012-11-22 Joseph Myers <joseph@codesourcery.com>
10252
7184dcdf
JM
10253 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10254 LDBL_MANT_DIG == 106]: Disable some tests.
10255 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10256 Likewise.
10257 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10258 Likewise.
10259
0a42601f
JM
10260 [BZ #14871]
10261 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10262 input for small inputs. Return +/- pi/2 for large inputs.
10263 * math/libm-test.inc (atan_test): Add more tests.
10264
79c9b9fe
JM
10265 * sysdeps/generic/unwind-dw2-fde-glibc.c
10266 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10267 __attribute__ ((unused)).
10268
c60d3bf2
JM
10269 [BZ #14645]
10270 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10271 x * y if x and y are nonzero and z is zero.
10272
ef1e0867
JM
10273 [BZ #14811]
10274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10275 nonzero exponents with absolute value below 0x1p-117 to +/-
10276 0x1p-117.
10277
1468ded3
JM
10278 [BZ #14869]
10279 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10280 up arguments below 2**-450, not just those below 2**-500.
10281 * math/libm-test.inc (hypot_test): Add another test.
10282
8e27e3cc
JM
10283 [BZ #14868]
10284 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10285 Return a+b for ratio over 2**120, not 2**60.
10286 * math/libm-test.inc (hypot_test): Add another test.
10287
c9c0279b
JM
10288 * math/libm-test.inc (clog_test): Use
10289 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10290 (clog10_test): Likewise.
10291
7c7feb47
JM
10292 [BZ #6778]
10293 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10294
fff1530e
AS
102952012-11-22 Andreas Schwab <schwab@suse.de>
10296
10297 * sysdeps/i386/fpu/libm-test-ulps: Update.
10298
94558d30
PT
102992012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10300
10301 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10302 printf output with newline.
10303
7e1be741
L
103042012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10305
6bfea974
L
10306 [BZ #14865]
10307 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10308 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10309 -z nodlopen, -z initfirst and -z execstack support.
10310 * configure: Regenerated.
10311
7e1be741
L
10312 * elf/elf.h (DF_1_NODIRECT): New macro.
10313 (DF_1_IGNMULDEF): Likewise.
10314 (DF_1_NOKSYMS): Likewise.
10315 (DF_1_NOHDR): Likewise.
10316 (DF_1_EDITED): Likewise.
10317 (DF_1_NORELOC): Likewise.
10318 (DF_1_SYMINTPOSE): Likewise.
10319 (DF_1_GLOBAUDIT): Likewise.
10320 (DF_1_SINGLETON): Likewise.
10321 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10322 DT_1_SUPPORTED_MASK bits.
10323 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10324
105ce2ce
CD
103252012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10326
10327 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10328
123be9de
TS
103292012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10330
d072f3f7
TS
10331 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10332 macro.
10333
123be9de
TS
10334 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10335 (sendmmsg): Move declarations...
10336 * socket/sys/socket.h: ... here.
10337 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10338 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10339 include it from...
10340 * socket/recvmmsg.c: ... this new file.
10341 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10342 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10343 definition of __sendmmsg hidden.
10344 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10345 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10346 Move ENOSYS stub into and include it from...
10347 * socket/sendmmsg.c: ... this new file.
10348 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10349 (sysdep_routines): Move recvmmsg and sendmmsg...
10350 * socket/Makefile (routines): ... here.
10351 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10352 (GLIBC_PRIVATE): Add __sendmmsg.
10353 * include/sys/socket.h (__sendmmsg): Add declarations.
10354 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10355 sendmmsg.
10356
cf9a5d18
JM
103572012-11-20 Joseph Myers <joseph@codesourcery.com>
10358
10359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10360 variable I1 with __attribute__ ((unused)).
10361 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10362
ecd4caf9
JM
103632012-11-19 Joseph Myers <joseph@codesourcery.com>
10364
be14d48f
JM
10365 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10366 DUMMY variables with __attribute__ ((unused)).
10367
ecd4caf9
JM
10368 * bits/byteswap.h: Include <bits/types.h>.
10369 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10370
986cab95
PT
103712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10372
10373 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10374 string_t. Do not manually set errno.
10375 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10376 length with __strnlen. Make sure to both set errno and return it on
10377 failure.
10378
6d33cc9d
DM
103792012-11-19 David S. Miller <davem@davemloft.net>
10380
10381 With help from Joseph Myers.
10382 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10383 very large arguments properly.
10384 * math/libm-test.inc (atan_test): New tests.
10385 (atan2_test): New tests.
10386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10388
ee663277
JM
103892012-11-19 Joseph Myers <joseph@codesourcery.com>
10390
877f2d8e
JM
10391 [BZ #14856]
10392 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10393 Define to 3.
10394
116fc08a
JM
10395 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10396 [POSIX] (EADDRNOTAVAIL): Likewise.
10397 [POSIX] (EAFNOSUPPORT): Likewise.
10398 [POSIX] (EALREADY): Likewise.
10399 [POSIX] (ECONNABORTED): Likewise.
10400 [POSIX] (ECONNREFUSED): Likewise.
10401 [POSIX] (ECONNRESET): Likewise.
10402 [POSIX] (EDESTADDRREQ): Likewise.
10403 [POSIX] (EDQUOT): Likewise.
10404 [POSIX] (EHOSTUNREACH): Likewise.
10405 [POSIX] (EIDRM): Likewise.
10406 [POSIX] (EISCONN): Likewise.
10407 [POSIX] (ELOOP): Likewise.
10408 [POSIX] (EMULTIHOP): Likewise.
10409 [POSIX] (ENETDOWN): Likewise.
10410 [POSIX] (ENETUNREACH): Likewise.
10411 [POSIX] (ENOBUFS): Likewise.
10412 [POSIX] (ENODATA): Likewise.
10413 [POSIX] (ENOLINK): Likewise.
10414 [POSIX] (ENOMSG): Likewise.
10415 [POSIX] (ENOPROTOOPT): Likewise.
10416 [POSIX] (ENOSR): Likewise.
10417 [POSIX] (ENOSTR): Likewise.
10418 [POSIX] (ENOTCONN): Likewise.
10419 [POSIX] (ENOTSOCK): Likewise.
10420 [POSIX] (EOPNOTSUPP): Likewise.
10421 [POSIX] (EOVERFLOW): Likewise.
10422 [POSIX] (EPROTO): Likewise.
10423 [POSIX] (EPROTONOSUPPORT): Likewise.
10424 [POSIX] (EPROTOTYPE): Likewise.
10425 [POSIX] (ESTALE): Likewise.
10426 [POSIX] (ETIME): Likewise.
10427 [POSIX] (ETXTBSY): Likewise.
10428 [POSIX] (EWOULDBLOCK): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10430 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10431 [POSIX] (SEEK_CUR): Likewise.
10432 [POSIX] (SEEK_END): Likewise.
10433 [POSIX || UNIX98] (mode_t): Do not require.
10434 [POSIX] (off_t): Likewise.
10435 [POSIX] (pid_t): Likewise.
10436 [POSIX] (sys/stat.h): Do not allow header.
10437 [POSIX] (unistd.h): Likewise.
10438 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10439 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10440 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10441 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10442 require.
10443 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10444 sigevent): Specify elements.
10445 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10446 entry.
10447 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10448 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10449
a483863f
JM
10450 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10451 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10452 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10453 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10454 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10455 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10456 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10457 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10458 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10459 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10460 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10461 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10462 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10463 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10464 Likewise.
10465 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10466 Likewise.
10467 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10468 Likewise.
10469 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10470 Likewise.
10471 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10472 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10473 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10474 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10475 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10476 Specify lower bound on value.
10477 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10478 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10479 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10480 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10481 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10482 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10483 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10484 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10485 value.
10486 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10487 as optional.
10488 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10489 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10490 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10491 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10492 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10493 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10494 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10495 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10496 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10497 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10498 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10499 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10500 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10501 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10502 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10503 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10504 entry.
10505 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10506 optional.
10507 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10508 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10509 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10510 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10512 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10513 Likewise.
10514 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10519 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10520 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10521 as optional.
10522 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10523 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10524 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10526 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10527 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10528 specify as optional.
10529 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10530 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10531 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10532 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10533 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10534 [XPG3] (NL_LANGMAX): Likewise.
10535 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10536 [POSIX || XPG3] (NL_NMAX): Likewise.
10537 [POSIX || XPG3] (NL_SETMAX): Likewise.
10538 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10539 [XPG3] (NZERO): Likewise.
10540 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10541 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10542 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10543 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10544 (REG_ERANGE): Expect.
10545 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10546 optional-constant.
10547 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10548 Use (void) in prototype.
10549 [POSIX] (*_t): Allow.
10550 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10551 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10552 (WRDE_BADVAL): Expect.
10553
5ba924e3
JM
10554 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10555 expect.
10556 [XPG3 || XPG4] (O_RSYNC): Likewise.
10557 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10558 Likewise.
10559 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10560 [XPG3 || XPG4] (sigqueue): Likewise.
10561 [XPG3 || XPG4] (sigtimedwait): Likewise.
10562 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10563 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10564 [XPG3 || XPG4] (vsnprintf): Likewise.
10565 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10566 Likewise.
10567 [XPG3 || XPG4] (blksize_t): Likewise.
10568 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10569 Likewise.
10570 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10571 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10572 [XPG3 || XPG4] (struct itimerspec): Likewise.
10573 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10574 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10575 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10576 [XPG3 || XPG4] (clockid_t): Likewise.
10577 [XPG3 || XPG4] (timer_t): Likewise.
10578 [XPG3 || XPG4] (clock_getres): Likewise.
10579 [XPG3 || XPG4] (clock_gettime): Likewise.
10580 [XPG3 || XPG4] (clock_settime): Likewise.
10581 [XPG3 || XPG4] (nanosleep): Likewise.
10582 [XPG3 || XPG4] (timer_create): Likewise.
10583 [XPG3 || XPG4] (timer_delete): Likewise.
10584 [XPG3 || XPG4] (timer_gettime): Likewise.
10585 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10586 [XPG3 || XPG4] (timer_settime): Likewise.
10587 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10588 [XPG3 || XPG4] (getlogin_r): Likewise.
10589 [XPG3 || XPG4] (pread): Likewise.
10590 [XPG3 || XPG4] (pthread_atfork): Likewise.
10591 [XPG3 || XPG4] (pwrite): Likewise.
10592
ee663277
JM
10593 [BZ #14835]
10594 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10595 <bits/siginfo.h>.
10596
942caa16
PT
105972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10598
e19af380
PT
10599 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10600 finalizing MALLSTREAM.
10601
942caa16
PT
10602 * sysdeps/mach/hurd/syncfs.c: New file.
10603
cfde9b46
SP
106042012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10605
10606 [BZ #14719]
10607 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10608 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10609 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10610 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10611 (_nss_dns_gethostbyname4_r): Likewise.
10612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10613 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10614
f6da27e5
PH
106152012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10616
10617 [BZ #13763]
10618 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10619
6665d4a2
SM
106202012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10621
1f51ee92
SM
10622 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10623 * elf/cache.c (print_entry): Print ",AArch64" for
10624 FLAG_AARCH64_LIB64
10625
6665d4a2
SM
10626 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10627 * elf/cache.c (print_entry): Print ",hard-float" for
10628 FLAG_ARM_LIBHF.
10629
05b227bd
DM
106302012-11-18 David S. Miller <davem@davemloft.net>
10631
10632 With help from Joseph Myers.
10633 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10634 cutoff to 2**-13.
10635 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10636 cutoff to 2**-25.
10637 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10638 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10639 small.
10640 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10641 * math/libm-test.inc (y0_test): New tests.
10642 (y1_test): New tests.
10643 * sysdeps/i386/fpu/libm-test-ulps: Update.
10644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10646
786b0b67
AS
106472012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10648
10649 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10650 64-bit targets.
10651 * configure: Regenerated.
10652
8e18b86d
DM
106532012-11-17 David S. Miller <davem@davemloft.net>
10654
10655 [BZ #14811]
10656 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10657 nonzero exponents with absolute value below 0x1p-128 to +/-
10658 0x1p-128.
10659
531f1ae0
JM
106602012-11-17 Joseph Myers <joseph@codesourcery.com>
10661
12df29e2
JM
10662 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10663
150dc1a0
JM
10664 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10665
531f1ae0
JM
10666 * posix/getconf-speclist.c: New file.
10667 * posix/posix-envs.def: Likewise.
10668 * posix/confstr.c (START_ENV_GROUP): New macro.
10669 (END_ENV_GROUP): Likewise.
10670 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10671 (KNOWN_PRESENT_ENV_STRING): Likewise.
10672 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10673 (UNKNOWN_ENVIRONMENT): Likewise.
10674 (confstr): Include posix-envs.def instead of handling
10675 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10676 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10677 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10678 (END_ENV_GROUP): Likewise.
10679 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10680 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10681 (UNKNOWN_ENVIRONMENT): Likewise.
10682 (__sysconf): Include posix-envs.def instead of handling associated
10683 cases directly here.
10684 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10685 preprocessing getconf-speclist.c rather than running getconf or
10686 generating empty file.
10687
a93f9cbc
PT
106882012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10689
10690 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10691
d64d9f87
AL
106922012-11-16 Andrej Lajovic <natrij@gmail.com>
10693
10694 [BZ #14672]
10695 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10696
447885eb
DM
106972012-11-16 David S. Miller <davem@davemloft.net>
10698
10699 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10700 smaller than LDBL_EPSILON/2.0L, just return xm1.
10701
bcbf9830
L
107022012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10703
10704 * elf/tst-array1.c (init): Set constructor priority to 1000.
10705 (fini): Set destructor priority to 1000.
10706 * elf/tst-array2dep.c: Likewise.
10707
2b766585
SP
107082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10709
10710 [BZ #11741]
10711 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10712 (_IO_new_file_xsputn): Also return EOF if none of the input
10713 data was written when overflow failed.
10714 * libio/iopadn.c (_IO_padn): Likewise.
10715 * libio/iowpadn.c (_IO_wpadn): Likewise.
10716 * stdio-common/tst-put-error.c: Add copyright notice.
10717 (do_test): Add case for printing padded string.
10718 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10719 _IO_padn returned error.
10720 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10721 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10722 return EOF.
10723
b1848fde
SP
107242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10725
10726 * libio/libioP.h: Add comment note that the references to C++
10727 bits are now obsolete.
10728
2fd89785
MS
107292012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10730
10731 * math/libm-test.inc (check_complex): Use asprintf.
10732
e3ea5409
JM
107332012-11-14 Joseph Myers <joseph@codesourcery.com>
10734
10735 * debug/pcprofiledump.c (print_version): Update copyright year.
10736 * malloc/memusagestat.c (print_version): Likewise.
10737
2e64d265
L
107382012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10739
10740 [BZ #14831]
10741 * elf/Makefile (tests): Add tst-audit8.
10742 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10743 ($(objpfx)tst-audit8.out): New target.
10744 (tst-audit8-ENV): New variable.
10745 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10746 audit if l_reloc_result is NULL.
10747 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10748 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10749 * elf/tst-audit8.c: New file.
10750
c485e4d2
MS
107512012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10752
10753 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10754 * misc/Makefile (CFLAGS-select.c): Define.
10755 * posix/Makefile (CFLAGS-pause.c): Define.
10756
3a0d900a
DM
107572012-11-13 David S. Miller <davem@davemloft.net>
10758
10759 * crypt/Makefile: Move test targets after toplevel Rules
10760 inclusion. Grab any necessary sysdep routines when linking.
10761 * crypt/md5.c (md5_process_block): Remove define, we will always
10762 name it __md5_process_block.
10763 (md5_finish_ctx): Update md5_process_block call.
10764 (md5_stream): Likewise.
10765 (md5_process_bytes): Likewise.
10766 (md5_process_block): Rename to __md5_process_block and move to ...
10767 * crypt/md5-block.c: ... here.
10768 * crypt/sha256.c (sha256_process_block): Move to ...
10769 * crypt/sha256-block.c: ... here.
10770 * crypt/sha512.c (sha512_process_block): Move to ...
10771 * crypt/sha512-block.c: ... here.
10772 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10773 path.
10774 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10775 * sysdeps/sparc/sparc64/multiarch/Makefile
10776 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10777 crypt subdir.
10778 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10779 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10780 multiarch changes.
10781 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10782 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10783 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10784 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10785 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10786 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10787 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10788 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10789 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10790 file.
10791 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10792 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10793 file.
10794 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10795
8ca89318
JM
107962012-11-13 Joseph Myers <joseph@codesourcery.com>
10797
e27d476a
JM
10798 * timezone/tzselect.ksh: Update from tzcode git revision
10799 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10800 * timezone/zdump.c: Likewise.
10801 * timezone/zic.c: Likewise.
10802 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10803 in TZVERSION setting, not $(PKGVERSION).
10804 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10805 REPORT_BUGS_TO settings.
10806
8ca89318
JM
10807 [BZ #14838]
10808 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10809 macro.
10810
47594329
MS
108112012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10812
10813 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10814 detection to immediately after _FP_ROUND().
10815 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10816 bits are 0.
10817
640ac3f1
DM
108182012-11-11 David S. Miller <davem@davemloft.net>
10819
10820 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10821 inttypes.h
10822 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10823 __close rather than their public counterparts.
10824
3d2577bb
JM
108252012-11-10 Joseph Myers <joseph@codesourcery.com>
10826
10827 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10828 file.
10829 [UNIX98] (sem_timedwait): Do not expect.
10830 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10831 [XPG4 || UNIX98] (sockatmark): Do not expect.
10832 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10833 (clock_getcpuclockid): Do not expect.
10834 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10835 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10836 Do not expect.
10837 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10838 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10839 [UNIX98] (vwscanf): Likewise.
10840 [UNIX98] (vswscanf): Likewise.
10841
fb1ae1ee
JM
108422012-11-09 Joseph Myers <joseph@codesourcery.com>
10843
9ec6f8bd
JM
10844 * timezone/version.h: Remove file.
10845 * timezone/README: Do not refer to version.h.
10846 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10847 $(objpfx)version.h.
10848 ($(objpfx)zdump.o): Likewise.
c3f81911 10849 ($(objpfx)version.h): New target.
9ec6f8bd 10850
0aa8f8a1
JM
10851 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10852 2012i.
10853 * timezone/README: Don't mention modification to tzselect.ksh.
10854 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10855 work on unmodified tzselect.ksh. Substitute version numbers in
10856 tzselect.ksh.
10857
4e87147f
JM
10858 * Makefile (format-me): Remove.
10859 (INSTALL): Adjust indentation. Use commands directly instead of
10860 using $(format-me).
10861
8b748aed
JM
10862 * aclocal.m4 (ACX_PKGVERSION): New macro.
10863 (ACX_BUGURL): Likewise.
10864 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10865 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10866 (REPORT_BUGS_TO): Likewise.
10867 * configure: Regenerated.
10868 * config.h.in (PKGVERSION): New macro.
10869 (REPORT_BUGS_TO): Likewise.
10870 * config.make.in (PKGVERSION): New variable.
10871 (PKGVERSION_TEXI): Likewise.
10872 (REPORT_BUGS_TO): Likewise.
10873 (REPORT_BUGS_TEXI): Likewise.
10874 * Makefile (format-me): Use -I$(common-objpfx)manual.
10875 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10876 ($(common-objpfx)manual/%): New target.
10877 (manual/%): Remove target.
10878 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10879 (print_version): Use PKGVERSION.
10880 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10881 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10882 and REPORT_BUGS_TO.
10883 ($(objpfx)xtrace): Likewise.
10884 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10885 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10886 (print_version): Use PKGVERSION.
10887 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10888 (do_version): Use PKGVERSION.
10889 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10890 REPORT_BUGS_TO.
10891 (common-ldd-rewrite): Likewise.
10892 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10893 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10894 (print_version): Use PKGVERSION.
10895 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10896 * elf/pldd.c (argp_program_bug_address): Remove variable.
10897 (more_help): New function.
10898 (argp): Use more_help.
10899 (print_version): Use PKGVERSION.
10900 * elf/sln.c (main): Use PKGVERSION.
10901 (usage): Use REPORT_BUGS_TO.
10902 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10903 (top level): Use PKGVERSION.
10904 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10905 (print_version): Use PKGVERSION.
10906 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10907 (print_version): Use PKGVERSION.
10908 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10909 (print_version): Use PKGVERSION.
10910 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10911 (print_version): Use PKGVERSION.
10912 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10913 (print_version): Use PKGVERSION.
10914 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10915 (print_version): Use PKGVERSION.
10916 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10917 and BUGURL.
10918 ($(objpfx)memusage): Likewise.
10919 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10920 (do_version): Use PKGVERSION.
10921 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10922 (print_version): Use PKGVERSION.
10923 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10924 ($PKGVERSION): New variable.
10925 ($REPORT_BUGS_TO): Likewise.
10926 (usage): Use $REPORT_BUGS_TO.
10927 (top level): Use $PKGVERSION.
10928 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10929 ($(objpfx)pkgvers.texi): New rule.
10930 ($(objpfx)stamp-pkgvers): Likewise.
10931 * manual/install.texi: Include pkgvers.texi.
10932 (--with-pkgversion): Document new configure option.
10933 (--with-bugurl): Likewise.
10934 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10935 than necessarily for this particular distribution. Use
10936 REPORT_BUGS_TO for where to report bugs.
10937 * INSTALL: Regenerated.
10938 * manual/libc.texinfo: Include pkgvers.texi.
10939 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10940 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10941 (print_version): Use PKGVERSION.
10942 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10943 (print_version): Use PKGVERSION.
10944 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10945 (print_version): Use PKGVERSION.
10946 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10947 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10948 macro.
10949 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10950 (print_version): Use PKGVERSION.
10951 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10952 (print_version): Use PKGVERSION.
10953 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10954 and PKGVERSION.
10955
92e4b6a9
JM
10956 * timezone/checktab.awk: Update from tzcode 2012i.
10957 * timezone/ialloc.c: Likewise.
10958 * timezone/private.h: Likewise.
10959 * timezone/scheck.c: Likewise.
10960 * timezone/tzfile.h: Likewise.
10961 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10962 (TZVERSION): Hardcode tzcode version number.
10963 * timezone/zdump.c: Update from tzcode 2012i.
10964 * timezone/zic.c: Likewise.
10965 * timezone/version.h: New file.
10966 * timezone/README: Describe version.h. Update upstream location.
10967
9bde902c
JM
10968 [BZ #14824]
10969 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10970 (mktemp): Enable declaration.
10971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10972 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10974 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10975 Likewise.
10976 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10977 Likewise.
10978 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10979 Likewise.
10980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10981 Likewise.
10982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10983 Likewise.
10984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10985 Likewise.
10986
fb1ae1ee
JM
10987 [BZ #14821]
10988 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10989 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10990 for copies of such integer values.
10991 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10992 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10993
2c1adbcb
AJ
109942012-11-09 Andreas Jaeger <aj@suse.de>
10995
10996 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10997 definitions and declarations that are provided by
10998 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10999
d0f8457e
AK
110002012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11001
3a235abb 11002 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11003 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11004 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11005 definition.
11006
57241e26
MS
110072012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11008
11009 * elf/elf.h: Update comment before AArch64 relocations.
11010
60e8270d
DM
110112012-11-07 David S. Miller <davem@davemloft.net>
11012
11013 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11014 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11015 (__start_context): Declare.
11016 (__makecontext_ret): Delete.
11017 (__makecontext): Hook up __start_context instead of
11018 __makecontext_ret.
11019 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11020 (sysdep_routines): Add __start_context when in stdlib.
11021
0fbb0fbc
JM
110222012-11-07 Joseph Myers <joseph@codesourcery.com>
11023
11024 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11025 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11026 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11027 hardcoded "nm".
11028 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11029 (READELF): New variable. Use it instead of hardcoded "readelf".
11030
eb48db7e
L
110312012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11032
11033 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11034 * sysdeps/x86/Makefile: Here.
11035 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11036 * sysdeps/x86/tst-xmmymm.sh: This.
11037
05bcf62a
JM
110382012-11-07 Joseph Myers <joseph@codesourcery.com>
11039
c4b6cf53
JM
11040 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11041 expectations.
11042 [UNIX98] (pthread_barrier_t): Do not expect.
11043 [UNIX98] (pthread_barrierattr_t): Likewise.
11044 [UNIX98] (pthread_spinlock_t): Likewise.
11045 [UNIX98] (pthread_barrier_destroy): Likewise.
11046 [UNIX98] (pthread_barrier_init): Likewise.
11047 [UNIX98] (pthread_barrier_wait): Likewise.
11048 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11049 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11050 [UNIX98] (pthread_barrierattr_init): Likewise.
11051 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11052 [UNIX98] (pthread_getcpuclockid): Likewise.
11053 [UNIX98] (pthread_mutex_timedlock): Likewise.
11054 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11055 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11056 [UNIX98] (pthread_sigmask): Likewise.
11057 [UNIX98] (pthread_spin_destroy): Likewise.
11058 [UNIX98] (pthread_spin_init): Likewise.
11059 [UNIX98] (pthread_spin_lock): Likewise.
11060 [UNIX98] (pthread_spin_trylock): Likewise.
11061 [UNIX98] (pthread_spin_unlock): Likewise.
11062 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11063 Do not expect.
11064 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11065 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11066 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11067 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11068 [XPG3 || XPG4] (pthread_key_t): Likewise.
11069 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11070 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11071 [XPG3 || XPG4] (pthread_once_t): Likewise.
11072 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11073 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11074 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11075 [XPG3 || XPG4] (pthread_t): Likewise.
11076
cbe6e120
JM
11077 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11078 not expect.
11079 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11080
1b126443
JM
11081 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11082 Change function return type to int.
11083
b961a573
JM
11084 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11085 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11086 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11087 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11088 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11089 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11090 [!POSIX] (posix_madvise): Likewise.
11091 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11092 && !UNIX98].
11093 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11094 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11095 (mode_t): Likewise.
11096 (posix_mem_offset): Likewise.
11097 (posix_typed_mem_get_info): Likewise.
11098 (posix_typed_mem_open): Likewise.
11099
9e188909
JM
11100 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11101 Change condition to [XOPEN2K8].
11102
05bcf62a
JM
11103 * conform/conformtest.pl: Preprocess allow-header data with -x c
11104 instead of from stdin.
11105 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11106 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11107 [C99-based standards] (cerfc): Likewise.
11108 [C99-based standards] (cexp2): Likewise.
11109 [C99-based standards] (cexpm1): Likewise.
11110 [C99-based standards] (clog10): Likewise.
11111 [C99-based standards] (clog1p): Likewise.
11112 [C99-based standards] (clog2): Likewise.
11113 [C99-based standards] (clgamma): Likewise.
11114 [C99-based standards] (ctgamma): Likewise.
11115 [C99-based standards] (cerff): Likewise.
11116 [C99-based standards] (cerfcf): Likewise.
11117 [C99-based standards] (cexp2f): Likewise.
11118 [C99-based standards] (cexpm1f): Likewise.
11119 [C99-based standards] (clog10f): Likewise.
11120 [C99-based standards] (clog1pf): Likewise.
11121 [C99-based standards] (clog2f): Likewise.
11122 [C99-based standards] (clgammaf): Likewise.
11123 [C99-based standards] (ctgammaf): Likewise.
11124 [C99-based standards] (cerfl): Likewise.
11125 [C99-based standards] (cerfcl): Likewise.
11126 [C99-based standards] (cexp2l): Likewise.
11127 [C99-based standards] (cexpm1l): Likewise.
11128 [C99-based standards] (clog10l): Likewise.
11129 [C99-based standards] (clog1pl): Likewise.
11130 [C99-based standards] (clog2l): Likewise.
11131 [C99-based standards] (clgammal): Likewise.
11132 [C99-based standards] (ctgammal): Likewise.
11133 * conform/data/inttypes.h-data [C99-based standards]: Include
11134 stdint.h-data. Remove all expectations for stdint.h contents.
11135 [C99-based standards] (PRI*): Do not allow.
11136 [C99-based standards] (SCN*): Likewise.
11137 [C99-based standards] (*_t): Likewise.
11138 [C99-based-standards] (PRId8): Expect macro.
11139 [C99-based-standards] (PRIi8): Likewise.
11140 [C99-based-standards] (PRIo8): Likewise.
11141 [C99-based-standards] (PRIu8): Likewise.
11142 [C99-based-standards] (PRIx8): Likewise.
11143 [C99-based-standards] (PRIX8): Likewise.
11144 [C99-based-standards] (SCNd8): Likewise.
11145 [C99-based-standards] (SCNi8): Likewise.
11146 [C99-based-standards] (SCNo8): Likewise.
11147 [C99-based-standards] (SCNu8): Likewise.
11148 [C99-based-standards] (SCNx8): Likewise.
11149 [C99-based-standards] (PRIdLEAST8): Likewise.
11150 [C99-based-standards] (PRIiLEAST8): Likewise.
11151 [C99-based-standards] (PRIoLEAST8): Likewise.
11152 [C99-based-standards] (PRIuLEAST8): Likewise.
11153 [C99-based-standards] (PRIxLEAST8): Likewise.
11154 [C99-based-standards] (PRIXLEAST8): Likewise.
11155 [C99-based-standards] (SCNdLEAST8): Likewise.
11156 [C99-based-standards] (SCNiLEAST8): Likewise.
11157 [C99-based-standards] (SCNoLEAST8): Likewise.
11158 [C99-based-standards] (SCNuLEAST8): Likewise.
11159 [C99-based-standards] (SCNxLEAST8): Likewise.
11160 [C99-based-standards] (PRIdFAST8): Likewise.
11161 [C99-based-standards] (PRIiFAST8): Likewise.
11162 [C99-based-standards] (PRIoFAST8): Likewise.
11163 [C99-based-standards] (PRIuFAST8): Likewise.
11164 [C99-based-standards] (PRIxFAST8): Likewise.
11165 [C99-based-standards] (PRIXFAST8): Likewise.
11166 [C99-based-standards] (SCNdFAST8): Likewise.
11167 [C99-based-standards] (SCNiFAST8): Likewise.
11168 [C99-based-standards] (SCNoFAST8): Likewise.
11169 [C99-based-standards] (SCNuFAST8): Likewise.
11170 [C99-based-standards] (SCNxFAST8): Likewise.
11171 [C99-based-standards] (PRId16): Likewise.
11172 [C99-based-standards] (PRIi16): Likewise.
11173 [C99-based-standards] (PRIo16): Likewise.
11174 [C99-based-standards] (PRIu16): Likewise.
11175 [C99-based-standards] (PRIx16): Likewise.
11176 [C99-based-standards] (PRIX16): Likewise.
11177 [C99-based-standards] (SCNd16): Likewise.
11178 [C99-based-standards] (SCNi16): Likewise.
11179 [C99-based-standards] (SCNo16): Likewise.
11180 [C99-based-standards] (SCNu16): Likewise.
11181 [C99-based-standards] (SCNx16): Likewise.
11182 [C99-based-standards] (PRIdLEAST16): Likewise.
11183 [C99-based-standards] (PRIiLEAST16): Likewise.
11184 [C99-based-standards] (PRIoLEAST16): Likewise.
11185 [C99-based-standards] (PRIuLEAST16): Likewise.
11186 [C99-based-standards] (PRIxLEAST16): Likewise.
11187 [C99-based-standards] (PRIXLEAST16): Likewise.
11188 [C99-based-standards] (SCNdLEAST16): Likewise.
11189 [C99-based-standards] (SCNiLEAST16): Likewise.
11190 [C99-based-standards] (SCNoLEAST16): Likewise.
11191 [C99-based-standards] (SCNuLEAST16): Likewise.
11192 [C99-based-standards] (SCNxLEAST16): Likewise.
11193 [C99-based-standards] (PRIdFAST16): Likewise.
11194 [C99-based-standards] (PRIiFAST16): Likewise.
11195 [C99-based-standards] (PRIoFAST16): Likewise.
11196 [C99-based-standards] (PRIuFAST16): Likewise.
11197 [C99-based-standards] (PRIxFAST16): Likewise.
11198 [C99-based-standards] (PRIXFAST16): Likewise.
11199 [C99-based-standards] (SCNdFAST16): Likewise.
11200 [C99-based-standards] (SCNiFAST16): Likewise.
11201 [C99-based-standards] (SCNoFAST16): Likewise.
11202 [C99-based-standards] (SCNuFAST16): Likewise.
11203 [C99-based-standards] (SCNxFAST16): Likewise.
11204 [C99-based-standards] (PRId32): Likewise.
11205 [C99-based-standards] (PRIi32): Likewise.
11206 [C99-based-standards] (PRIo32): Likewise.
11207 [C99-based-standards] (PRIu32): Likewise.
11208 [C99-based-standards] (PRIx32): Likewise.
11209 [C99-based-standards] (PRIX32): Likewise.
11210 [C99-based-standards] (SCNd32): Likewise.
11211 [C99-based-standards] (SCNi32): Likewise.
11212 [C99-based-standards] (SCNo32): Likewise.
11213 [C99-based-standards] (SCNu32): Likewise.
11214 [C99-based-standards] (SCNx32): Likewise.
11215 [C99-based-standards] (PRIdLEAST32): Likewise.
11216 [C99-based-standards] (PRIiLEAST32): Likewise.
11217 [C99-based-standards] (PRIoLEAST32): Likewise.
11218 [C99-based-standards] (PRIuLEAST32): Likewise.
11219 [C99-based-standards] (PRIxLEAST32): Likewise.
11220 [C99-based-standards] (PRIXLEAST32): Likewise.
11221 [C99-based-standards] (SCNdLEAST32): Likewise.
11222 [C99-based-standards] (SCNiLEAST32): Likewise.
11223 [C99-based-standards] (SCNoLEAST32): Likewise.
11224 [C99-based-standards] (SCNuLEAST32): Likewise.
11225 [C99-based-standards] (SCNxLEAST32): Likewise.
11226 [C99-based-standards] (PRIdFAST32): Likewise.
11227 [C99-based-standards] (PRIiFAST32): Likewise.
11228 [C99-based-standards] (PRIoFAST32): Likewise.
11229 [C99-based-standards] (PRIuFAST32): Likewise.
11230 [C99-based-standards] (PRIxFAST32): Likewise.
11231 [C99-based-standards] (PRIXFAST32): Likewise.
11232 [C99-based-standards] (SCNdFAST32): Likewise.
11233 [C99-based-standards] (SCNiFAST32): Likewise.
11234 [C99-based-standards] (SCNoFAST32): Likewise.
11235 [C99-based-standards] (SCNuFAST32): Likewise.
11236 [C99-based-standards] (SCNxFAST32): Likewise.
11237 [C99-based-standards] (PRId64): Likewise.
11238 [C99-based-standards] (PRIi64): Likewise.
11239 [C99-based-standards] (PRIo64): Likewise.
11240 [C99-based-standards] (PRIu64): Likewise.
11241 [C99-based-standards] (PRIx64): Likewise.
11242 [C99-based-standards] (PRIX64): Likewise.
11243 [C99-based-standards] (SCNd64): Likewise.
11244 [C99-based-standards] (SCNi64): Likewise.
11245 [C99-based-standards] (SCNo64): Likewise.
11246 [C99-based-standards] (SCNu64): Likewise.
11247 [C99-based-standards] (SCNx64): Likewise.
11248 [C99-based-standards] (PRIdLEAST64): Likewise.
11249 [C99-based-standards] (PRIiLEAST64): Likewise.
11250 [C99-based-standards] (PRIoLEAST64): Likewise.
11251 [C99-based-standards] (PRIuLEAST64): Likewise.
11252 [C99-based-standards] (PRIxLEAST64): Likewise.
11253 [C99-based-standards] (PRIXLEAST64): Likewise.
11254 [C99-based-standards] (SCNdLEAST64): Likewise.
11255 [C99-based-standards] (SCNiLEAST64): Likewise.
11256 [C99-based-standards] (SCNoLEAST64): Likewise.
11257 [C99-based-standards] (SCNuLEAST64): Likewise.
11258 [C99-based-standards] (SCNxLEAST64): Likewise.
11259 [C99-based-standards] (PRIdFAST64): Likewise.
11260 [C99-based-standards] (PRIiFAST64): Likewise.
11261 [C99-based-standards] (PRIoFAST64): Likewise.
11262 [C99-based-standards] (PRIuFAST64): Likewise.
11263 [C99-based-standards] (PRIxFAST64): Likewise.
11264 [C99-based-standards] (PRIXFAST64): Likewise.
11265 [C99-based-standards] (SCNdFAST64): Likewise.
11266 [C99-based-standards] (SCNiFAST64): Likewise.
11267 [C99-based-standards] (SCNoFAST64): Likewise.
11268 [C99-based-standards] (SCNuFAST64): Likewise.
11269 [C99-based-standards] (SCNxFAST64): Likewise.
11270 [C99-based-standards] (PRIdMAX): Likewise.
11271 [C99-based-standards] (PRIiMAX): Likewise.
11272 [C99-based-standards] (PRIoMAX): Likewise.
11273 [C99-based-standards] (PRIuMAX): Likewise.
11274 [C99-based-standards] (PRIxMAX): Likewise.
11275 [C99-based-standards] (PRIXMAX): Likewise.
11276 [C99-based-standards] (SCNdMAX): Likewise.
11277 [C99-based-standards] (SCNiMAX): Likewise.
11278 [C99-based-standards] (SCNoMAX): Likewise.
11279 [C99-based-standards] (SCNuMAX): Likewise.
11280 [C99-based-standards] (SCNxMAX): Likewise.
11281 [C99-based-standards] (PRIdPTR): Likewise.
11282 [C99-based-standards] (PRIiPTR): Likewise.
11283 [C99-based-standards] (PRIoPTR): Likewise.
11284 [C99-based-standards] (PRIuPTR): Likewise.
11285 [C99-based-standards] (PRIxPTR): Likewise.
11286 [C99-based-standards] (PRIXPTR): Likewise.
11287 [C99-based-standards] (SCNdPTR): Likewise.
11288 [C99-based-standards] (SCNiPTR): Likewise.
11289 [C99-based-standards] (SCNoPTR): Likewise.
11290 [C99-based-standards] (SCNuPTR): Likewise.
11291 [C99-based-standards] (SCNxPTR): Likewise.
11292 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11293 allow.
11294 * conform/data/stdint.h-data: Update comments to clarify
11295 requirements.
11296 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11297 type.
11298 [C99-based standards] (INT8_MAX): Likewise.
11299 [C99-based standards] (INT16_MIN): Likewise.
11300 [C99-based standards] (INT16_MAX): Likewise.
11301 [C99-based standards] (INT32_MIN): Likewise.
11302 [C99-based standards] (INT32_MAX): Likewise.
11303 [C99-based standards] (INT64_MIN): Likewise.
11304 [C99-based standards] (INT64_MAX): Likewise.
11305 [C99-based standards] (UINT8_MAX): Likewise.
11306 [C99-based standards] (UINT16_MAX): Likewise.
11307 [C99-based standards] (UINT32_MAX): Likewise.
11308 [C99-based standards] (UINT64_MAX): Likewise.
11309 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11310 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11311 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11312 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11313 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11314 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11315 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11316 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11317 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11318 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11319 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11320 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11321 [C99-based standards] (INT_FAST8_MIN): Likewise.
11322 [C99-based standards] (INT_FAST8_MAX): Likewise.
11323 [C99-based standards] (INT_FAST16_MIN): Likewise.
11324 [C99-based standards] (INT_FAST16_MAX): Likewise.
11325 [C99-based standards] (INT_FAST32_MIN): Likewise.
11326 [C99-based standards] (INT_FAST32_MAX): Likewise.
11327 [C99-based standards] (INT_FAST64_MIN): Likewise.
11328 [C99-based standards] (INT_FAST64_MAX): Likewise.
11329 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11330 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11331 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11332 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11333 [C99-based standards] (INTPTR_MIN): Likewise.
11334 [C99-based standards] (INTPTR_MAX): Likewise.
11335 [C99-based standards] (UINTPTR_MAX): Likewise.
11336 [C99-based standards] (INTMAX_MIN): Likewise.
11337 [C99-based standards] (INTMAX_MAX): Likewise.
11338 [C99-based standards] (UINTMAX_MAX): Likewise.
11339 [C99-based standards] (PTRDIFF_MIN): Likewise.
11340 [C99-based standards] (PTRDIFF_MAX): Likewise.
11341 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11342 [C99-based standards] (SIZE_MAX): Likewise.
11343 [C99-based standards] (WCHAR_MAX): Likewise.
11344 [C99-based standards] (WINT_MAX): Likewise.
11345 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11346 constraint on value.
11347 [C99-based standards] (WCHAR_MIN): Likewise.
11348 [C99-based standards] (WINT_MIN): Likewise.
11349 [C99-based standards] (*_t): Allow.
11350 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11351 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11352 Include math.h-data and complex.h-data. Remove all expectations
11353 of math.h and complex.h contents.
11354 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11355 at end of line.
11356 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11357 (struct tm): Expect tag.
11358 [C99-based-standards] (wcstof): Expect function.
11359 [C99-based-standards] (wcstold): Likewise.
11360 [C99-based-standards] (wcstoll): Likewise.
11361 [C99-based-standards] (wcstoull): Likewise.
11362 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11363 macro-int-constant. Specify type.
11364 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11365 constraint on value.
11366 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11367 Specify type.
11368 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11369 Specify value.
11370 [ISO C standards]: Do not allow headers.
11371 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11372 wcs[abcdefghijklmnopqrstuvwxyz]*.
11373 [ISO C standards] (*_t): Do not allow.
11374 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11375 Expect function.
11376 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11377 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11378 Specify type.
11379 [ISO C standards]: Do not allow headers.
11380 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11381 is[abcdefghijklmnopqrstuvwxyz]*.
11382 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11383 to[abcdefghijklmnopqrstuvwxyz]*.
11384 [ISO C standards] (*_t): Do not allow.
11385 * conform/data/stdalign.h-data: New file.
11386 * conform/data/stdbool.h-data: Likewise.
11387 * conform/data/stdnoreturn.h-data: Likewise.
11388
7514feb8
RM
113892012-11-07 Roland McGrath <roland@hack.frob.com>
11390
11391 [BZ #14815]
11392 * manual/filesys.texi (Directory Entries): Typo fix.
11393 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11394
19b2ecfc
MS
113952012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11396
11397 * elf/elf.h (EM_AARCH64): New macro.
11398 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11399 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11400 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11401 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11402 (R_AARCH64_TLSDESC): Likewise.
11403 (NT_ARM_TLS): Likewise.
11404 (NT_ARM_HW_BREAK): Likewise.
11405 (NT_ARM_HW_WATCH): Likewise.
11406
60e235ee
JM
114072012-11-07 Joseph Myers <joseph@codesourcery.com>
11408
11409 [BZ #14811]
11410 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11411 (__ieee754_powl): Saturate nonzero exponents with absolute value
11412 below 0x1p-79 to +/- 0x1p-79.
11413 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11414 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11415 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11416 nonzero exponents with absolute value below 0x1p-32 to +/-
11417 0x1p-32.
11418 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11419 (__ieee754_powl): Saturate nonzero exponents with absolute value
11420 below 0x1p-79 to +/- 0x1p-79.
11421 * math/libm-test.inc (pow_test): Add more tests.
11422
0ab234b7
AK
114232012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11424
11425 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11426 _dl_s390_cap_flags with kernel. Increase string length.
11427 (_dl_s390_platforms): Add z196 and zEC12.
11428
45832f74
JM
114292012-11-07 Joseph Myers <joseph@codesourcery.com>
11430
11431 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11432 Change XOPEN21K to XOPEN2K.
11433
19218757
MK
114342012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11435
11436 * string/memmove.c: Use memcpy when possible.
11437
c5f45721
AJ
114382012-11-06 Andreas Jaeger <aj@suse.de>
11439
11440 * po/eo.po: Update from translation team.
11441
82477c28
JM
114422012-11-06 Joseph Myers <joseph@codesourcery.com>
11443
11444 [BZ #14793]
11445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11446 exponent and small x and y exponents, scale x or y up. Increase
11447 by 2 the exponent used in scaling up.
11448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11449 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11450 * math/libm-test.inc (fma_test): Add more tests.
11451 (fma_test_towardzero): Likewise.
11452 (fma_test_downward): Likewise.
11453 (fma_test_upward): Likewise.
11454
99252c8c
JM
114552012-11-05 Joseph Myers <joseph@codesourcery.com>
11456
acfa885f
JM
11457 [BZ #14805]
11458 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11459 fenv_t *.
11460
99252c8c
JM
11461 [BZ #14801]
11462 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11463 namespace for names of struct fields.
11464 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11465 fenv_t fields.
11466 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11467 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11468
d6d98dea
ST
114692012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11470
11471 [BZ #3665]
11472 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11473
e10bb107
TS
114742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11475
11476 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11477 PTR_DEMANGLE.
11478
11479 [BZ #5246]
11480 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11481 PTR_DEMANGLE.
11482
a0c2940d
JM
114832012-11-04 Joseph Myers <joseph@codesourcery.com>
11484
11485 [BZ #14797]
11486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11487 definitely overflow as x * y not x * y + z.
11488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11489 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11490 * math/libm-test.inc (fma_test): Add more tests.
11491 (fma_test_towardzero): Likewise.
11492 (fma_test_downward): Likewise.
11493 (fma_test_upward): Likewise.
11494
b830319d
TS
114952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11496
11497 [BZ #157]
11498
11499 * include/stub-tag.h: Remove file.
11500 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11501 '#include' of it.
11502 * manual/maint.texi (Porting): Don't reference it.
11503 * Makerules ($(objpfx)stubs): Likewise.
11504 * dirent/closedir.c: Don't include <stub-tag.h>.
11505 * dirent/dirfd.c: Likewise.
11506 * dirent/fdopendir.c: Likewise.
11507 * dirent/getdents.c: Likewise.
11508 * dirent/getdents64.c: Likewise.
11509 * dirent/opendir.c: Likewise.
11510 * dirent/readdir.c: Likewise.
11511 * dirent/readdir64.c: Likewise.
11512 * dirent/readdir64_r.c: Likewise.
11513 * dirent/readdir_r.c: Likewise.
11514 * dirent/rewinddir.c: Likewise.
11515 * dirent/seekdir.c: Likewise.
11516 * dirent/telldir.c: Likewise.
11517 * gmon/profil.c: Likewise.
11518 * grp/setgroups.c: Likewise.
11519 * inet/if_index.c: Likewise.
11520 * io/access.c: Likewise.
11521 * io/chdir.c: Likewise.
11522 * io/chmod.c: Likewise.
11523 * io/chown.c: Likewise.
11524 * io/close.c: Likewise.
11525 * io/dup.c: Likewise.
11526 * io/dup2.c: Likewise.
11527 * io/dup3.c: Likewise.
11528 * io/euidaccess.c: Likewise.
11529 * io/faccessat.c: Likewise.
11530 * io/fchdir.c: Likewise.
11531 * io/fchmod.c: Likewise.
11532 * io/fchmodat.c: Likewise.
11533 * io/fchown.c: Likewise.
11534 * io/fchownat.c: Likewise.
11535 * io/fcntl.c: Likewise.
11536 * io/flock.c: Likewise.
11537 * io/fstatfs.c: Likewise.
11538 * io/fstatfs64.c: Likewise.
11539 * io/fstatvfs.c: Likewise.
11540 * io/fstatvfs64.c: Likewise.
11541 * io/futimens.c: Likewise.
11542 * io/fxstat.c: Likewise.
11543 * io/fxstat64.c: Likewise.
11544 * io/fxstatat.c: Likewise.
11545 * io/fxstatat64.c: Likewise.
11546 * io/getcwd.c: Likewise.
11547 * io/isatty.c: Likewise.
11548 * io/lchmod.c: Likewise.
11549 * io/lchown.c: Likewise.
11550 * io/link.c: Likewise.
11551 * io/linkat.c: Likewise.
11552 * io/lseek.c: Likewise.
11553 * io/lseek64.c: Likewise.
11554 * io/lxstat64.c: Likewise.
11555 * io/mkdir.c: Likewise.
11556 * io/mkdirat.c: Likewise.
11557 * io/mkfifo.c: Likewise.
11558 * io/mkfifoat.c: Likewise.
11559 * io/open.c: Likewise.
11560 * io/open64.c: Likewise.
11561 * io/openat.c: Likewise.
11562 * io/openat64.c: Likewise.
11563 * io/pipe.c: Likewise.
11564 * io/pipe2.c: Likewise.
11565 * io/poll.c: Likewise.
11566 * io/posix_fadvise.c: Likewise.
11567 * io/posix_fadvise64.c: Likewise.
11568 * io/posix_fallocate.c: Likewise.
11569 * io/posix_fallocate64.c: Likewise.
11570 * io/read.c: Likewise.
11571 * io/readlink.c: Likewise.
11572 * io/readlinkat.c: Likewise.
11573 * io/rmdir.c: Likewise.
11574 * io/sendfile.c: Likewise.
11575 * io/sendfile64.c: Likewise.
11576 * io/statfs.c: Likewise.
11577 * io/statfs64.c: Likewise.
11578 * io/statvfs.c: Likewise.
11579 * io/statvfs64.c: Likewise.
11580 * io/symlink.c: Likewise.
11581 * io/symlinkat.c: Likewise.
11582 * io/ttyname.c: Likewise.
11583 * io/ttyname_r.c: Likewise.
11584 * io/umask.c: Likewise.
11585 * io/unlink.c: Likewise.
11586 * io/unlinkat.c: Likewise.
11587 * io/utime.c: Likewise.
11588 * io/utimensat.c: Likewise.
11589 * io/write.c: Likewise.
11590 * io/xmknod.c: Likewise.
11591 * io/xmknodat.c: Likewise.
11592 * io/xstat.c: Likewise.
11593 * io/xstat64.c: Likewise.
11594 * login/getpt.c: Likewise.
11595 * login/grantpt.c: Likewise.
11596 * login/unlockpt.c: Likewise.
11597 * math/e_acoshl.c: Likewise.
11598 * math/e_acosl.c: Likewise.
11599 * math/e_asinl.c: Likewise.
11600 * math/e_atan2l.c: Likewise.
11601 * math/e_atanhl.c: Likewise.
11602 * math/e_coshl.c: Likewise.
11603 * math/e_expl.c: Likewise.
11604 * math/e_fmodl.c: Likewise.
11605 * math/e_gammal_r.c: Likewise.
11606 * math/e_hypotl.c: Likewise.
11607 * math/e_j0l.c: Likewise.
11608 * math/e_j1l.c: Likewise.
11609 * math/e_jnl.c: Likewise.
11610 * math/e_lgammal_r.c: Likewise.
11611 * math/e_log10l.c: Likewise.
11612 * math/e_log2l.c: Likewise.
11613 * math/e_logl.c: Likewise.
11614 * math/e_powl.c: Likewise.
11615 * math/e_rem_pio2l.c: Likewise.
11616 * math/e_sinhl.c: Likewise.
11617 * math/e_sqrtl.c: Likewise.
11618 * math/fclrexcpt.c: Likewise.
11619 * math/fedisblxcpt.c: Likewise.
11620 * math/feenablxcpt.c: Likewise.
11621 * math/fegetenv.c: Likewise.
11622 * math/fegetexcept.c: Likewise.
11623 * math/fegetround.c: Likewise.
11624 * math/feholdexcpt.c: Likewise.
11625 * math/fesetenv.c: Likewise.
11626 * math/fesetround.c: Likewise.
11627 * math/feupdateenv.c: Likewise.
11628 * math/fgetexcptflg.c: Likewise.
11629 * math/fraiseexcpt.c: Likewise.
11630 * math/fsetexcptflg.c: Likewise.
11631 * math/ftestexcept.c: Likewise.
11632 * math/k_cosl.c: Likewise.
11633 * math/k_rem_pio2l.c: Likewise.
11634 * math/k_sinl.c: Likewise.
11635 * math/k_tanl.c: Likewise.
11636 * math/s_asinhl.c: Likewise.
11637 * math/s_atanl.c: Likewise.
11638 * math/s_cbrtl.c: Likewise.
11639 * math/s_erfl.c: Likewise.
11640 * math/s_expm1l.c: Likewise.
11641 * math/s_log1pl.c: Likewise.
11642 * math/s_tanhl.c: Likewise.
11643 * misc/acct.c: Likewise.
11644 * misc/brk.c: Likewise.
11645 * misc/chflags.c: Likewise.
11646 * misc/chroot.c: Likewise.
11647 * misc/fchflags.c: Likewise.
11648 * misc/fgetxattr.c: Likewise.
11649 * misc/flistxattr.c: Likewise.
11650 * misc/fremovexattr.c: Likewise.
11651 * misc/fsetxattr.c: Likewise.
11652 * misc/fsync.c: Likewise.
11653 * misc/ftruncate.c: Likewise.
11654 * misc/futimes.c: Likewise.
11655 * misc/futimesat.c: Likewise.
11656 * misc/getdomain.c: Likewise.
11657 * misc/getdtsz.c: Likewise.
11658 * misc/gethostid.c: Likewise.
11659 * misc/gethostname.c: Likewise.
11660 * misc/getloadavg.c: Likewise.
11661 * misc/getpagesize.c: Likewise.
11662 * misc/getsysstats.c: Likewise.
11663 * misc/getxattr.c: Likewise.
11664 * misc/gtty.c: Likewise.
11665 * misc/ioctl.c: Likewise.
11666 * misc/lgetxattr.c: Likewise.
11667 * misc/listxattr.c: Likewise.
11668 * misc/llistxattr.c: Likewise.
11669 * misc/lremovexattr.c: Likewise.
11670 * misc/lsetxattr.c: Likewise.
11671 * misc/lutimes.c: Likewise.
11672 * misc/madvise.c: Likewise.
11673 * misc/mincore.c: Likewise.
11674 * misc/mlock.c: Likewise.
11675 * misc/mlockall.c: Likewise.
11676 * misc/mmap.c: Likewise.
11677 * misc/mprotect.c: Likewise.
11678 * misc/msync.c: Likewise.
11679 * misc/munlock.c: Likewise.
11680 * misc/munlockall.c: Likewise.
11681 * misc/munmap.c: Likewise.
11682 * misc/preadv.c: Likewise.
11683 * misc/preadv64.c: Likewise.
11684 * misc/ptrace.c: Likewise.
11685 * misc/pwritev.c: Likewise.
11686 * misc/pwritev64.c: Likewise.
11687 * misc/readv.c: Likewise.
11688 * misc/reboot.c: Likewise.
11689 * misc/remap_file_pages.c: Likewise.
11690 * misc/removexattr.c: Likewise.
11691 * misc/revoke.c: Likewise.
11692 * misc/select.c: Likewise.
11693 * misc/setdomain.c: Likewise.
11694 * misc/setegid.c: Likewise.
11695 * misc/seteuid.c: Likewise.
11696 * misc/sethostid.c: Likewise.
11697 * misc/sethostname.c: Likewise.
11698 * misc/setregid.c: Likewise.
11699 * misc/setreuid.c: Likewise.
11700 * misc/setxattr.c: Likewise.
11701 * misc/sstk.c: Likewise.
11702 * misc/stty.c: Likewise.
11703 * misc/swapoff.c: Likewise.
11704 * misc/swapon.c: Likewise.
11705 * misc/sync.c: Likewise.
11706 * misc/syncfs.c: Likewise.
11707 * misc/syscall.c: Likewise.
11708 * misc/truncate.c: Likewise.
11709 * misc/ualarm.c: Likewise.
11710 * misc/usleep.c: Likewise.
11711 * misc/ustat.c: Likewise.
11712 * misc/utimes.c: Likewise.
11713 * misc/vhangup.c: Likewise.
11714 * misc/writev.c: Likewise.
11715 * posix/_exit.c: Likewise.
11716 * posix/alarm.c: Likewise.
11717 * posix/execve.c: Likewise.
11718 * posix/fexecve.c: Likewise.
11719 * posix/fork.c: Likewise.
11720 * posix/fpathconf.c: Likewise.
11721 * posix/getaddrinfo.c: Likewise.
11722 * posix/getegid.c: Likewise.
11723 * posix/geteuid.c: Likewise.
11724 * posix/getgid.c: Likewise.
11725 * posix/getgroups.c: Likewise.
11726 * posix/getlogin.c: Likewise.
11727 * posix/getlogin_r.c: Likewise.
11728 * posix/getpgid.c: Likewise.
11729 * posix/getpid.c: Likewise.
11730 * posix/getppid.c: Likewise.
11731 * posix/getresgid.c: Likewise.
11732 * posix/getresuid.c: Likewise.
11733 * posix/getsid.c: Likewise.
11734 * posix/getuid.c: Likewise.
11735 * posix/glob64.c: Likewise.
11736 * posix/nanosleep.c: Likewise.
11737 * posix/pathconf.c: Likewise.
11738 * posix/pause.c: Likewise.
11739 * posix/posix_madvise.c: Likewise.
11740 * posix/pread.c: Likewise.
11741 * posix/pread64.c: Likewise.
11742 * posix/pwrite.c: Likewise.
11743 * posix/pwrite64.c: Likewise.
11744 * posix/sched_getaffinity.c: Likewise.
11745 * posix/sched_getp.c: Likewise.
11746 * posix/sched_gets.c: Likewise.
11747 * posix/sched_primax.c: Likewise.
11748 * posix/sched_primin.c: Likewise.
11749 * posix/sched_rr_gi.c: Likewise.
11750 * posix/sched_setaffinity.c: Likewise.
11751 * posix/sched_setp.c: Likewise.
11752 * posix/sched_sets.c: Likewise.
11753 * posix/sched_yield.c: Likewise.
11754 * posix/setgid.c: Likewise.
11755 * posix/setlogin.c: Likewise.
11756 * posix/setpgid.c: Likewise.
11757 * posix/setresgid.c: Likewise.
11758 * posix/setresuid.c: Likewise.
11759 * posix/setsid.c: Likewise.
11760 * posix/setuid.c: Likewise.
11761 * posix/sleep.c: Likewise.
11762 * posix/spawni.c: Likewise.
11763 * posix/sysconf.c: Likewise.
11764 * posix/times.c: Likewise.
11765 * posix/wait.c: Likewise.
11766 * posix/wait3.c: Likewise.
11767 * posix/wait4.c: Likewise.
11768 * posix/waitpid.c: Likewise.
11769 * resolv/gai_sigqueue.c: Likewise.
11770 * resource/getpriority.c: Likewise.
11771 * resource/getrlimit.c: Likewise.
11772 * resource/getrusage.c: Likewise.
11773 * resource/nice.c: Likewise.
11774 * resource/setpriority.c: Likewise.
11775 * resource/setrlimit.c: Likewise.
11776 * resource/ulimit.c: Likewise.
11777 * rt/aio_cancel.c: Likewise.
11778 * rt/aio_fsync.c: Likewise.
11779 * rt/aio_read.c: Likewise.
11780 * rt/aio_sigqueue.c: Likewise.
11781 * rt/aio_suspend.c: Likewise.
11782 * rt/aio_write.c: Likewise.
11783 * rt/clock_getres.c: Likewise.
11784 * rt/clock_gettime.c: Likewise.
11785 * rt/clock_nanosleep.c: Likewise.
11786 * rt/clock_settime.c: Likewise.
11787 * rt/lio_listio.c: Likewise.
11788 * rt/mq_close.c: Likewise.
11789 * rt/mq_getattr.c: Likewise.
11790 * rt/mq_notify.c: Likewise.
11791 * rt/mq_open.c: Likewise.
11792 * rt/mq_receive.c: Likewise.
11793 * rt/mq_send.c: Likewise.
11794 * rt/mq_setattr.c: Likewise.
11795 * rt/mq_timedreceive.c: Likewise.
11796 * rt/mq_timedsend.c: Likewise.
11797 * rt/mq_unlink.c: Likewise.
11798 * rt/shm_open.c: Likewise.
11799 * rt/shm_unlink.c: Likewise.
11800 * rt/timer_create.c: Likewise.
11801 * rt/timer_delete.c: Likewise.
11802 * rt/timer_getoverr.c: Likewise.
11803 * rt/timer_gettime.c: Likewise.
11804 * rt/timer_settime.c: Likewise.
11805 * setjmp/__longjmp.c: Likewise.
11806 * setjmp/setjmp.c: Likewise.
11807 * signal/kill.c: Likewise.
11808 * signal/killpg.c: Likewise.
11809 * signal/raise.c: Likewise.
11810 * signal/sigaction.c: Likewise.
11811 * signal/sigaltstack.c: Likewise.
11812 * signal/sigblock.c: Likewise.
11813 * signal/sigignore.c: Likewise.
11814 * signal/sigintr.c: Likewise.
11815 * signal/signal.c: Likewise.
11816 * signal/sigpause.c: Likewise.
11817 * signal/sigpending.c: Likewise.
11818 * signal/sigqueue.c: Likewise.
11819 * signal/sigreturn.c: Likewise.
11820 * signal/sigset.c: Likewise.
11821 * signal/sigsetmask.c: Likewise.
11822 * signal/sigstack.c: Likewise.
11823 * signal/sigsuspend.c: Likewise.
11824 * signal/sigtimedwait.c: Likewise.
11825 * signal/sigvec.c: Likewise.
11826 * signal/sigwait.c: Likewise.
11827 * signal/sigwaitinfo.c: Likewise.
11828 * signal/sysv_signal.c: Likewise.
11829 * socket/accept.c: Likewise.
11830 * socket/accept4.c: Likewise.
11831 * socket/bind.c: Likewise.
11832 * socket/connect.c: Likewise.
11833 * socket/getpeername.c: Likewise.
11834 * socket/getsockname.c: Likewise.
11835 * socket/getsockopt.c: Likewise.
11836 * socket/isfdtype.c: Likewise.
11837 * socket/listen.c: Likewise.
11838 * socket/recv.c: Likewise.
11839 * socket/recvfrom.c: Likewise.
11840 * socket/recvmsg.c: Likewise.
11841 * socket/send.c: Likewise.
11842 * socket/sendmsg.c: Likewise.
11843 * socket/sendto.c: Likewise.
11844 * socket/setsockopt.c: Likewise.
11845 * socket/shutdown.c: Likewise.
11846 * socket/sockatmark.c: Likewise.
11847 * socket/socket.c: Likewise.
11848 * socket/socketpair.c: Likewise.
11849 * stdio-common/ctermid.c: Likewise.
11850 * stdio-common/cuserid.c: Likewise.
11851 * stdio-common/remove.c: Likewise.
11852 * stdio-common/rename.c: Likewise.
11853 * stdio-common/renameat.c: Likewise.
11854 * stdio-common/tempname.c: Likewise.
11855 * stdlib/getcontext.c: Likewise.
11856 * stdlib/makecontext.c: Likewise.
11857 * stdlib/setcontext.c: Likewise.
11858 * stdlib/swapcontext.c: Likewise.
11859 * stdlib/system.c: Likewise.
11860 * streams/fattach.c: Likewise.
11861 * streams/fdetach.c: Likewise.
11862 * streams/getmsg.c: Likewise.
11863 * streams/getpmsg.c: Likewise.
11864 * streams/putmsg.c: Likewise.
11865 * streams/putpmsg.c: Likewise.
11866 * sysdeps/unix/bsd/getpt.c: Likewise.
11867 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11868 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11869 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11871 Likewise.
11872 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11873 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11874 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11875 * sysvipc/msgctl.c: Likewise.
11876 * sysvipc/msgget.c: Likewise.
11877 * sysvipc/msgrcv.c: Likewise.
11878 * sysvipc/msgsnd.c: Likewise.
11879 * sysvipc/semctl.c: Likewise.
11880 * sysvipc/semget.c: Likewise.
11881 * sysvipc/semop.c: Likewise.
11882 * sysvipc/semtimedop.c: Likewise.
11883 * sysvipc/shmat.c: Likewise.
11884 * sysvipc/shmctl.c: Likewise.
11885 * sysvipc/shmdt.c: Likewise.
11886 * sysvipc/shmget.c: Likewise.
11887 * termios/tcdrain.c: Likewise.
11888 * termios/tcflow.c: Likewise.
11889 * termios/tcflush.c: Likewise.
11890 * termios/tcgetattr.c: Likewise.
11891 * termios/tcgetpgrp.c: Likewise.
11892 * termios/tcsendbrk.c: Likewise.
11893 * termios/tcsetattr.c: Likewise.
11894 * termios/tcsetpgrp.c: Likewise.
11895 * time/adjtime.c: Likewise.
11896 * time/clock.c: Likewise.
11897 * time/getitimer.c: Likewise.
11898 * time/gettimeofday.c: Likewise.
11899 * time/setitimer.c: Likewise.
11900 * time/settimeofday.c: Likewise.
11901 * time/stime.c: Likewise.
11902 * time/time.c: Likewise.
11903
119042012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11905
a20492cf
PT
11906 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11907 /usr/old/bin.
11908
72e182e3
PT
11909 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11910 instead of spaces.
11911 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11912
fbeafede
JM
119132012-11-03 Joseph Myers <joseph@codesourcery.com>
11914
5b5b04d6
JM
11915 [BZ #14796]
11916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11917 FE_TONEAREST before applying Dekker multiplication and Knuth
11918 addition. Clear inexact exceptions and check for exact zero
11919 results afterwards.
11920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11921 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11923 * math/libm-test.inc (fma_test): Add more tests.
11924 (fma_test_towardzero): Likewise.
11925 (fma_test_downward): Likewise.
11926 (fma_test_upward): Likewise.
11927 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11928 function.
11929 (libc_fesetround): New macro.
11930 (libc_fesetroundf): Likewise.
11931 (libc_fesetroundl): Likewise.
11932 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11933 function.
11934 (libc_fesetround_387): Likewise.
11935 (libc_fesetroundf): New macro.
11936 (libc_fesetround): Likewise.
11937 (libc_fesetroundl): Likewise.
11938 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11939 function.
11940 (libc_fesetroundf): New macro.
11941 (libc_fesetround): Likewise.
11942 (libc_fesetroundl): Likewise.
11943 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11944 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11945 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11946 libm_hidden_ver.
11947 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11948 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11949 libm_hidden_def.
11950 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11951 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11952 libm_hidden_ver.
11953 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11954 libm_hidden_def.
11955
fbeafede
JM
11956 [BZ #3439]
11957 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11958 integer constant usable in #if and use that to give value to enum
11959 constant.
11960 (FE_DIVBYZERO): Likewise.
11961 (FE_UNDERFLOW): Likewise.
11962 (FE_OVERFLOW): Likewise.
11963 (FE_INVALID): Likewise.
11964 (FE_INVALID_SNAN): Likewise.
11965 (FE_INVALID_ISI): Likewise.
11966 (FE_INVALID_IDI): Likewise.
11967 (FE_INVALID_ZDZ): Likewise.
11968 (FE_INVALID_IMZ): Likewise.
11969 (FE_INVALID_COMPARE): Likewise.
11970 (FE_INVALID_SOFTWARE): Likewise.
11971 (FE_INVALID_SQRT): Likewise.
11972 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11973 (FE_TONEAREST): Likewise.
11974 (FE_TOWARDZERO): Likewise.
11975 (FE_UPWARD): Likewise.
11976 (FE_DOWNWARD): Likewise.
11977 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11978 (FE_DIVBYZERO): Likewise.
11979 (FE_OVERFLOW): Likewise.
11980 (FE_UNDERFLOW): Likewise.
11981 (FE_INEXACT): Likewise.
11982 (FE_TONEAREST): Likewise.
11983 (FE_DOWNWARD): Likewise.
11984 (FE_UPWARD): Likewise.
11985 (FE_TOWARDZERO): Likewise.
11986 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11987 (FE_UNDERFLOW): Likewise.
11988 (FE_OVERFLOW): Likewise.
11989 (FE_DIVBYZERO): Likewise.
11990 (FE_INVALID): Likewise.
11991 (FE_TONEAREST): Likewise.
11992 (FE_TOWARDZERO): Likewise.
11993 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11994 (FE_OVERFLOW): Likewise.
11995 (FE_UNDERFLOW): Likewise.
11996 (FE_DIVBYZERO): Likewise.
11997 (FE_INEXACT): Likewise.
11998 (FE_TONEAREST): Likewise.
11999 (FE_TOWARDZERO): Likewise.
12000 (FE_UPWARD): Likewise.
12001 (FE_DOWNWARD): Likewise.
12002 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12003 (FE_DIVBYZERO): Likewise.
12004 (FE_OVERFLOW): Likewise.
12005 (FE_UNDERFLOW): Likewise.
12006 (FE_INEXACT): Likewise.
12007 (FE_TONEAREST): Likewise.
12008 (FE_DOWNWARD): Likewise.
12009 (FE_UPWARD): Likewise.
12010 (FE_TOWARDZERO): Likewise.
12011
105ca950
CM
120122012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12013
12014 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12015
a542b389
AS
120162012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12017
12018 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12019 commands. Quote $PWD.
12020 (blacklist_exports): Don't use remove_newlines. Replace "declare
12021 -x" by "export".
12022 (remove_newlines): Remove.
12023
f62c8abc
L
120242012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12025
12026 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12027 * stdlib/stdlib.h (atof): Moved to ...
12028 * include/bits/stdlib-float.h: Here. New file.
12029 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12030 * stdlib/bits/stdlib-float.h: New file.
12031 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12032 -mno-sse -mno-mmx.
12033 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12034 <xmmintrin.h>.
12035
0155d5b2
JM
120362012-11-02 Joseph Myers <joseph@codesourcery.com>
12037
a68d0680
JM
12038 * conform/conformtest.pl (@headers): Add fenv.h.
12039 * conform/data/fenv.h-data: New file.
12040 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12041 include of <math/fenv.h>.
12042
caf7f573
JM
12043 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12044 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12045 && !UNIX98]. Enables tests for XOPEN2K8.
12046 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12047 POSIX2008]: Likewise.
12048
6c073ad6
JM
12049 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12050 (struct rusage): Do not expect type or its members.
12051
0155d5b2
JM
12052 [BZ #3439]
12053 * math/math.h (FP_NAN): Define macro to integer constant usable in
12054 #if and use that to give value to enum constant.
12055 (FP_INFINITE): Likewise.
12056 (FP_ZERO): Likewise.
12057 (FP_SUBNORMAL): Likewise.
12058 (FP_NORMAL): Likewise.
12059
b5dcacb4
AS
120602012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12061
12062 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12063 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12064 arguments.
12065
f7934be8
RM
120662012-11-02 Roland McGrath <roland@hack.frob.com>
12067
12068 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12069 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12070 autoconf-time if not.
12071 * configure.in: Remove AC_PREREQ.
12072
d7d08bde
TMQMF
120732012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12074
12075 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12076 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12077 of the internal implementation.
12078
dcdae19a
JM
120792012-11-02 Joseph Myers <joseph@codesourcery.com>
12080
12081 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12082 except include of <misc/sys/syslog.h>.
12083
d6cffd3e
AS
120842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12085
12086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12087 function returns with a NULL context exit with zero.
12088
b3563932
TMQMF
120892012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12090
12091 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12092
b288a93d
L
120932012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12094
12095 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12096 (run_program_cmd): This.
12097 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12098 (tst_langinfo): New variable. Use it.
12099
a2421a68
SAS
121002012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12101
12102 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12103 floating point opcodes.
12104
6f796e1b
TS
121052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12106
7402596b
TS
12107 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12108 variable.
12109
d0d4f868
TS
12110 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12111
6f796e1b
TS
12112 * sysdeps/mach/hurd/powerpc: Remove directory.
12113 * sysdeps/mach/powerpc: Likewise.
12114
4da224a2
AS
121152012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12116
12117 * scripts/check-local-headers.sh: Ignore c++ headers.
12118
341dd673
TS
121192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12120
12121 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12122 __libc_cleanup_region_start argument.
12123
473611b2
JM
121242012-11-01 Joseph Myers <joseph@codesourcery.com>
12125
12126 [BZ #14784]
12127 [BZ #14785]
12128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12129 x * y using scaling, not as x * y + z.
12130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12131 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12132 * math/libm-test.inc (fma_test): Add more tests.
12133 (fma_test_towardzero): Likewise.
12134 (fma_test_downward): Likewise.
12135 (fma_test_upward): Likewise.
12136
4078da3d
TS
121372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12138
12139 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12140
903252aa
JM
121412012-10-31 Joseph Myers <joseph@codesourcery.com>
12142
12143 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12144 New variable.
12145
cbc818d0
TS
121462012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12147
12148 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12149
5a03cb1e
AS
121502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12151
12152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12153 Fix sort order.
12154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12155 Likewise.
12156
90aff2ff
TMQMF
121572012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12158
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12160 Fix the order of the list for glibc 2.17.
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12162 Likewise.
12163
1818fcb7
AS
121642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12165
12166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12167
ef82f4da
JM
121682012-10-31 Joseph Myers <joseph@codesourcery.com>
12169
16a0e2ec
JM
12170 [BZ #14610]
12171 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12172 for low part of x being zero before using __atanl (y).
12173 * math/libm-test.inc (atan2_test): Add another test.
12174
0eb69512
JM
12175 * manual/install.texi (Configuring and compiling): Document
12176 general use of test-wrapper and test-wrapper-env.
12177 * INSTALL: Regenerated.
12178
ef82f4da
JM
12179 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12180 (__fma): Do not extract and scale down low bits on after-rounding
12181 systems when result rounded to normal precision would have normal
12182 exponent.
12183 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12184 (__fmal): Do not extract and scale down low bits on after-rounding
12185 systems when result rounded to normal precision would have normal
12186 exponent.
12187 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12188 (__fmal): Do not extract and scale down low bits on after-rounding
12189 systems when result rounded to normal precision would have normal
12190 exponent.
12191 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12192 macro.
12193 (fma_test): Add more tests.
12194 (fma_test_towardzero): Likewise.
12195 (fma_test_downward): Likewise.
12196 (fma_test_upward): Likewise.
12197
954ef0d9
L
121982012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12199
12200 * sysdeps/i386/tininess.h: Renamed to ...
12201 * sysdeps/x86/tininess.h: This.
12202 * sysdeps/x86_64/tininess.h: Removed.
12203
df61ffb2
JM
122042012-10-30 Joseph Myers <joseph@codesourcery.com>
12205
12206 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12207 input. Use $(build-program-cmd).
12208 ($(objpfx)tst-array1-static.out): Likewise.
12209 ($(objpfx)tst-array2.out): Likewise.
12210 ($(objpfx)tst-array3.out): Likewise.
12211 ($(objpfx)tst-array4.out): Likewise.
12212 ($(objpfx)tst-array5.out): Likewise.
12213 ($(objpfx)tst-array5-static.out): Likewise.
12214
01767843
CM
122152012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12216
47cc1490
CM
12217 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12218 if defined.
12219
01767843
CM
12220 * nss/nsswitch.h (nss_interface_function): Provide new
12221 macro for use with NSS functions.
12222 * grp/initgroups.c: Use new macro.
12223 * nss/getXXbyYY.c: Likewise.
12224 * nss/getXXbyYY_r.c: Likewise.
12225 * nss/getXXent.c: Likewise.
12226 * nss/getXXent_r.c: Likewise.
12227 * sysdeps/posix/getaddrinfo.c: Likewise.
12228
8321aa97
AJ
122292012-10-30 Andreas Jaeger <aj@suse.de>
12230
12231 * po/ru.po: Update Russion translation from translation project.
12232
2a27fd6d
JM
122332012-10-30 Joseph Myers <joseph@codesourcery.com>
12234
8627a232
JM
12235 [BZ #14152]
12236 [BZ #14783]
12237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12238 result and shift together with sticky bit instead of replicating
12239 round-to-nearest rounding.
12240 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12242 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12243 missing underflow exceptions.
12244 (fma_test_towardzero): Add more tests.
12245 (fma_test_downward): Likewise.
12246 (fma_test_upward): Likewise.
12247
2a27fd6d
JM
12248 [BZ #14047]
12249 * sysdeps/generic/tininess.h: New file.
12250 * sysdeps/i386/tininess.h: Likewise.
12251 * sysdeps/sh/tininess.h: Likewise.
12252 * sysdeps/x86_64/tininess.h: Likewise.
12253 * stdlib/tst-strtod-underflow.c: Likewise.
12254 * stdlib/tst-tininess.c: Likewise.
12255 * stdlib/strtod_l.c: Include <tininess.h>.
12256 (round_and_return): Do not set errno for exact underflow cases.
12257 Force an underflow exception when setting errno for underflow.
12258 Determine underflow based on rounding to normal precision if
12259 TININESS_AFTER_ROUNDING.
12260 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12261 ERANGE for exact underflow cases.
12262 * stdlib/Makefile (tests): Add tst-tininess and
12263 tst-strtod-underflow.
12264 ($(objpfx)tst-tininess): Use $(link-libm).
12265 ($(objpfx)tst-strtod-underflow): Likewise.
12266
e7170363
AJ
122672012-10-30 Andreas Jaeger <aj@suse.de>
12268
e5088dc6
AJ
12269 [BZ#14767]
12270 * elf/Makefile (tests): Remove conditional for have-initfini-array
12271 since this is now always required and the variable does not exist
12272 anymore.
12273 (tests-static): Likewise.
12274 (modules-names): Likewise.
12275
e7170363 12276 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12277
12278 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12279 merged with constructor/destructor.
12280 (init_array): Likewise.
12281 * elf/tst-array2dep.c (fini_array): Likewise.
12282 (init_array): Likewise.
12283
60457d8a
MF
122842012-10-29 Mike Frysinger <vapier@gentoo.org>
12285
12286 * manual/message.texi: Delete @cartouche tags.
12287
8bece752
PT
122882012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12289
94ce799f
PT
12290 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12291 EOPNOTSUPP.
12292 * sysdeps/mach/hurd/fsync.c: Likewise.
12293
8bece752
PT
12294 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12295 [_POSIX_REALTIME_SIGNALS]: Change condition to
12296 [_POSIX_REALTIME_SIGNALS > 0].
12297
86ebe6b1
AJ
122982012-10-27 Andreas Jaeger <aj@suse.de>
12299
12300 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12301 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12303 [__WORDSIZE != 64]: Likewise.
12304
54399c08
L
123052012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12306
12307 * iconvdata/tst-table.sh: Remove ${SHELL}.
12308 * iconvdata/tst-tables.sh: Likewise.
12309
e2211bed
DM
123102012-10-25 David S. Miller <davem@davemloft.net>
12311
12312 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12313 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12314 of strtoull.
12315
f303f97c
DM
12316 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12317 ifunc-impl-list.c
12318 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12319 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12320 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12321 file.
12322
1e9d84cd
RM
123232012-10-25 Roland McGrath <roland@hack.frob.com>
12324
12325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12326 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12327 __getdirentries.
12328
df381762
JM
123292012-10-25 Joseph Myers <joseph@codesourcery.com>
12330 Jim Blandy <jimb@codesourcery.com>
12331
12332 * scripts/cross-test-ssh.sh: New file.
12333 * manual/install.texi (Configuring and compiling): Document use of
12334 cross-test-ssh.sh.
12335 * INSTALL: Regenerated.
12336
bff64913
PT
123372012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12338
12339 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12340 EOPNOTSUPP.
12341
25fe8932
JM
123422012-10-25 Joseph Myers <joseph@codesourcery.com>
12343
12344 * Makeconfig (run-program-prefix): Fix comment.
12345
cc1290d0
JM
123462012-10-24 Joseph Myers <joseph@codesourcery.com>
12347 Jim Blandy <jimb@codesourcery.com>
12348
12349 * Makeconfig (test-wrapper): New variable,
12350 (test-wrapper-env): Likewise.
12351 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12352 (run-built-tests): Define to yes.
12353 (run-program-prefix): Use $(test-wrapper).
12354 (built-program-cmd): Likewise.
12355 * Rules (make-test-out): Use $(test-wrapper-env) and
12356 $(host-built-program-cmd).
12357 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12358 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12359 tst-pathopt.sh.
12360 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12361 $(test-wrapper-env) to tst-rtld-load-self.sh.
12362 ($(objpfx)order2.out): Use $(test-wrapper).
12363 ($(objpfx)tst-initorder.out): Likewise.
12364 ($(objpfx)tst-initorder2.out): Likewise.
12365 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12366 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12367 (test_wrapper_env): New variable. Use it to run ld.so.
12368 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12369 Use it to run ld.so.
12370 (test_wrapper_env): Likewise.
12371 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12372 $(test-wrapper) to run-iconv-test.sh.
12373 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12374 (ICONV): Use $test_wrapper.
12375 * posix/Makefile ($(objpfx)globtest.out): Pass
12376 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12377 globtest.sh, not $(run-program-prefix).
12378 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12379 (test_wrapper): Likewise.
12380 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12381 set together with run_via_rtld_prefix.
12382 (run_program_prefix): Define in terms of test_wrapper and
12383 run_via_rtld_prefix.
12384
6e6249d0
RM
123852012-10-24 Roland McGrath <roland@hack.frob.com>
12386
12387 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12388 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12389 Targets removed.
12390
12391 [BZ #14743]
12392 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12393 Declare __clock_getres, __clock_gettime, __clock_settime,
12394 __clock_nanosleep, and __clock_getcpuclockid.
12395 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12396 Remove librt_hidden_def (clock_gettime).
12397 * sysdeps/unix/clock_gettime.c: Likewise.
12398 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12399 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12400 * rt/clock_getres.c: Define __clock_getres as an alias.
12401 * sysdeps/posix/clock_getres.c: Likewise.
12402 * rt/clock_settime.c: Define __clock_settime as an alias.
12403 * sysdeps/unix/clock_settime.c: Likewise.
12404 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12405 * sysdeps/unix/clock_nanosleep.c: Likewise.
12406 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12407 * rt/clock-compat.c: New file.
12408 * rt/Makefile (librt-routines): Add clock-compat and move
12409 $(clock-routines) to ...
12410 (routines): ... here, new variable.
12411 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12412 Don't add get_clockfreq here.
12413 * rt/Versions (libc: GLIBC_2.17): New version set.
12414 Add clock_* symbols here.
12415 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12416 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12417 (GLIBC_2.17): Add clock_* symbols.
12418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12422 Likewise.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12424 Likewise.
12425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12429 * NEWS: Mention the move.
12430
12431 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12432 Use __open, __read, __close rather than their public counterparts.
12433 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12434 (__get_clockfreq_via_cpuinfo): Likewise.
12435 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12436 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12437
12438 * config.h.in (HAVE_IFUNC): New #undef.
12439 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12440 was successful.
12441 * configure: Regenerated.
12442
0cae3f4b
MF
124432012-10-24 Mike Frysinger <vapier@gentoo.org>
12444
12445 * configure.in: Move READELF check to start of file.
12446 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12447 libc_cv_asm_gnu_indirect_function in the process.
12448 * configure: Regenerated.
12449
8175a253
MF
124502012-10-24 Mike Frysinger <vapier@gentoo.org>
12451
12452 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12453 send the output to /dev/null.
12454 (libc_cv_cc_with_libunwind): Likewise.
12455 (libc_cv_as_noexecstack): Likewise.
12456 * configure: Regenerate.
12457
0708a7d1
JM
124582012-10-24 Joseph Myers <joseph@codesourcery.com>
12459
10b40d85
JM
12460 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12461
0708a7d1
JM
12462 * posix/globtest.sh (TMPDIR): Do not set.
12463 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12464 (testout): Likewise.
12465
9fddec1a
AJ
124662012-10-24 Andreas Jaeger <aj@suse.de>
12467
3a8db22f
AJ
12468 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12469 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12470 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12471 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12472 posix_fadvise64, posix_fallocate64.
12473
9fddec1a
AJ
12474 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12475 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12476 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12477 Likewise.
12478 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12479 Likewise.
12480 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12481
12482 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12483 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12484 <bits/fcntl-linux.h>.
12485 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12486
12487 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12488 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12489 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12490 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12491 [__WORDSIZE != 64]: Likewise.
12492
ebfd1bbd
JM
124932012-10-23 Joseph Myers <joseph@codesourcery.com>
12494
03ac099f
JM
12495 * Makeconfig (run-built-tests): New variable.
12496 * Rules [$(cross-compiling) = yes]: Change condition to
12497 [$(run-built-tests) = no].
12498 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12499 to [$(run-built-tests) = yes].
12500 * elf/Makefile [$(cross-compiling) = no]: Likewise
12501 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12502 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12503 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12504 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12505 * io/Makefile [$(cross-compiling) = no]: Likewise.
12506 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12507 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12508 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12509 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12510 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12511 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12512 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12513 * string/Makefile [$(cross-compiling) = no]: Likewise.
12514
ebfd1bbd
JM
12515 * posix/Makefile ($(objpfx)globtest.out): Pass
12516 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12517 $(rtld-installed-name).
12518 * posix/globtest.sh (elf_objpfx): Remove variable.
12519 (rtld_installed_name): Likewise.
12520 (library_path): Likewise.
12521 (run_program_prefix): New variable. Use for running globtest
12522 binary.
12523
166bca24
JB
125242012-10-23 Jim Blandy <jimb@codesourcery.com>
12525 Joseph Myers <joseph@codesourcery.com>
12526
12527 * Makeconfig (host-built-program-cmd): New variable.
12528 * elf/Makefile (tst-stackguard1-ARGS): Use
12529 $(host-built-program-cmd).
12530 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12531 (tst-spawn-ARGS): Likewise.
12532 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12533
88866099
JM
125342012-10-23 Joseph Myers <joseph@codesourcery.com>
12535 Jim Blandy <jimb@codesourcery.com>
12536
12537 * Makeconfig (run-via-rtld-prefix): New variable.
12538 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12539 (built-program-cmd): Likewise.
12540
b4b4c296
AJ
125412012-10-22 Andreas Jaeger <aj@suse.de>
12542
12543 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12544 __O_RSYNC if it exists, otherwise to O_SYNC.
12545
6fb54a22
JB
125462012-10-22 Jim Blandy <jimb@codesourcery.com>
12547 Joseph Myers <joseph@codesourcery.com>
12548
12549 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12550 /dev/null.
12551 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12552 from /dev/null
12553 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12554 /dev/null.
12555
481b90b9
AJ
125562012-10-22 Andreas Jaeger <aj@suse.de>
12557
2a0e2669
AJ
12558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12559 Define always.
12560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12561
76e38f9a
AJ
12562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12563 bits/fcntl-linux.h.
12564
7cd37b43
AJ
12565 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12566 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12567
481b90b9
AJ
12568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12569 to __O_LARGEFILE.
12570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12571 to __O_LARGEFILE.
12572
aba75984
JB
125732012-10-21 Jim Blandy <jimb@codesourcery.com>
12574 Joseph Myers <joseph@codesourcery.com>
12575
12576 * config.make.in (NM): New variable.
12577
88d4247f
AJ
125782012-10-21 Andreas Jaeger <aj@suse.de>
12579
12580 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12581 definitions and declarations that are provided by
12582 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12583
f2eed205
L
125842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12585
12586 [BZ #14683]
12587 * elf/Makefile (tests-static): Add tst-leaks1-static.
12588 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12589 ($(objpfx)tst-leaks1-static): New rule.
12590 ($(objpfx)tst-leaks1-static-mem): Likewise.
12591 (tst-leaks1-static-ENV): New macro.
12592 * elf/dl-open.c (dl_open_worker): Check the main application
12593 only if SHARED is defined.
12594 * elf/tst-leaks1-static.c: New file.
12595
335e6931
AJ
125962012-10-20 Andreas Jaeger <aj@suse.de>
12597
12598 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12599 generic values for Linux.
12600 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12601 and declarations that are provided by <bits/fcntl-linux.h> and
12602 include <bits/fcntl-linux.h>.
12603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12605
ac5c94d3
RM
126062012-10-20 Roland McGrath <roland@hack.frob.com>
12607
12608 * io/fcntl.h: Move include of <bits/types.h> to the top and
12609 include it unconditionally.
12610
de54b33a
L
126112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12612
228cfb01
L
12613 * wcsmbs/Makefile (tests-ifunc): New variable.
12614 (tests): Add $(tests-ifunc).
12615 * wcsmbs/test-wcschr-ifunc.c: New file.
12616 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12617 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12618 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12619 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12620 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12621
69f07e5f
L
12622 * string/Makefile (tests-ifunc): New variable.
12623 (tests): Add $(tests-ifunc).
12624 * string/test-memccpy.c (TEST_NAME): New macro.
12625 * string/test-memchr.c (TEST_NAME): Likewise.
12626 * string/test-memcmp.c (TEST_NAME): Likewise.
12627 * string/test-memcpy.c (TEST_NAME): Likewise.
12628 * string/test-memmem.c (TEST_NAME): Likewise.
12629 * string/test-memmove.c (TEST_NAME): Likewise.
12630 * string/test-memset.c (TEST_NAME): Likewise.
12631 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12632 * string/test-stpcpy.c (TEST_NAME): Likewise.
12633 * string/test-stpncpy.c (TEST_NAME): Likewise.
12634 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12635 * string/test-strcasestr.c (TEST_NAME): Likewise.
12636 * string/test-strcat.c (TEST_NAME): Likewise.
12637 * string/test-strchr.c (TEST_NAME): Likewise.
12638 * string/test-strcmp.c(TEST_NAME): Likewise.
12639 * string/test-strcpy.c (TEST_NAME): Likewise.
12640 * string/test-strcspn.c (TEST_NAME): Likewise.
12641 * string/test-strlen.c (TEST_NAME): Likewise.
12642 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12643 * string/test-strncmp.c (TEST_NAME): Likewise.
12644 * string/test-strncpy.c (TEST_NAME): Likewise.
12645 * string/test-strnlen.c (TEST_NAME): Likewise.
12646 * string/test-strpbrk.c (TEST_NAME): Likewise.
12647 * string/test-strrchr.c (TEST_NAME): Likewise.
12648 * string/test-strspn.c (TEST_NAME): Likewise.
12649 * string/test-strstr.c (TEST_NAME): Likewise.
12650 * string/test-bcopy-ifunc.c: New file.
12651 * string/test-bzero-ifunc.c: Likewise.
12652 * string/test-memccpy-ifunc.c: Likewise.
12653 * string/test-memchr-ifunc.c: Likewise.
12654 * string/test-memcmp-ifunc.c: Likewise.
12655 * string/test-memcpy-ifunc.c: Likewise.
12656 * string/test-memmem-ifunc.c: Likewise.
12657 * string/test-memmove-ifunc.c: Likewise.
12658 * string/test-mempcpy-ifunc.c: Likewise.
12659 * string/test-memset-ifunc.c: Likewise.
12660 * string/test-rawmemchr-ifunc.c: Likewise.
12661 * string/test-stpcpy-ifunc.c: Likewise.
12662 * string/test-stpncpy-ifunc.c: Likewise.
12663 * string/test-strcasecmp-ifunc.c: Likewise.
12664 * string/test-strcasestr-ifunc.c: Likewise.
12665 * string/test-strcat-ifunc.c: Likewise.
12666 * string/test-strchr-ifunc.c: Likewise.
12667 * string/test-strchrnul-ifunc.c: Likewise.
12668 * string/test-strcmp-ifunc.c: Likewise.
12669 * string/test-strcpy-ifunc.c: Likewise.
12670 * string/test-strcspn-ifunc.c: Likewise.
12671 * string/test-strlen-ifunc.c: Likewise.
12672 * string/test-strncasecmp-ifunc.c: Likewise.
12673 * string/test-strncat-ifunc.c: Likewise.
12674 * string/test-strncmp-ifunc.c: Likewise.
12675 * string/test-strncpy-ifunc.c: Likewise.
12676 * string/test-strnlen-ifunc.c: Likewise.
12677 * string/test-strpbrk-ifunc.c: Likewise.
12678 * string/test-strrchr-ifunc.c: Likewise.
12679 * string/test-strspn-ifunc.c: Likewise.
12680 * string/test-strstr-ifunc.c: Likewise.
12681
de54b33a
L
12682 * debug/Makefile (tests-ifunc): New variable.
12683 (tests): Add $(tests-ifunc).
12684 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12685 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12686 * debug/test-stpcpy_chk-ifunc.c: New file.
12687 * debug/test-strcpy_chk-ifunc.c: Likewise.
12688
88481c16
SP
126892012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12690
12691 [BZ #13601]
12692 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12693 header is not read in.
12694
135948bd
JM
126952012-10-19 Joseph Myers <joseph@codesourcery.com>
12696
89f1c388
JM
12697 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12698 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12699 directly. Pass built executable to script as
12700 $(built-program-cmd).
12701 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12702 $testprogram without using LD_LIBRARY_PATH and $ldso.
12703
e40a0d21
JM
12704 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12705 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12706 $(rtld-installed-name).
12707 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12708 (rtld_installed_name): Likewise.
12709 (library_path): Likewise.
12710 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12711 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12712 $(run-program-prefix) to tst-tables.sh.
12713 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12714 it to run tst-table-from and tst-table-to.
12715 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12716 Pass it to tst-table.sh.
12717 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12718 $(run-program-prefix) to tst-gettext.sh.
12719 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12720 tst-translit.sh.
12721 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12722 tst-gettext2.sh.
12723 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12724 to run tst-gettext.
12725 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12726 to run tst-gettext2.
12727 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12728 to run tst-translit.
12729 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12730 $(run-program-prefix) to tst-mtrace.sh.
12731 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12732 to run tst-mtrace.
12733 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12734 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12735 $(rtld-installed-name).
12736 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12737 (rtld_installed_name): Likewise.
12738 (run_program_prefix): New variable. Use it to run wordexp-test.
12739
728e272a
JM
12740 * Makeconfig (ARCH): Remove all definitions.
12741 (machine): Likewise.
12742 [ARCH]: Remove conditional code.
12743 [!objdir]: Give error.
12744 [!objdir] (objpfx): Remove.
12745 [!objdir] (common-objpfx): Likewise.
12746 [!objdir] (common-objdir): Likewise.
12747 * configure.in (config_makefile): Remove. Hardcode Makefile in
12748 AC_CONFIG_FILES call.
12749 * configure: Regenerated.
12750
d528cdcf
JM
12751 [BZ #13888]
12752 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12753 or TMPDIR.
12754 (testout): Likewise.
12755
135948bd
JM
12756 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12757 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12758 $(rtld-installed-name).
12759 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12760 (rtld_installed_name): Likwise.
12761 (runit): Remove function.
12762 (run_getconf): New variable, Use it for running getconf binary.
12763
38c78296
L
127642012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12765
12766 [BZ #14716]
12767 * string/test-memmem.c (check_result): New function.
12768 (do_one_test): Use it.
12769 (check1): New function.
12770 (test_main): Use it.
12771
d077f65f
MT
127722012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12773
12774 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12775
ced52c71
JM
127762012-10-18 Joseph Myers <joseph@codesourcery.com>
12777
12778 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12779 (_G_LSEEK64): Likewise.
12780 (_G_MMAP64): Likewise.
12781 (_G_FSTAT64): Likewise.
12782 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12783 (_G_LSEEK64): Likewise.
12784 (_G_MMAP64): Likewise.
12785 (_G_FSTAT64): Likewise.
12786 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12787 unconditional. Call __mmap64 directly.
12788 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12789 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12790 __lseek64 directly.
12791 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12792 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12793 __mmap64 directly.
12794 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12795 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12796 __lseek64 directly.
12797 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12798 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12799 __lseek64 directly.
12800 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12801 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12802 __lseek64 directly.
12803 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12804 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12805 __fxstat64 directly.
12806 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12807 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12808 unconditional.
12809 (freopen64) [!_G_OPEN64]: Remove conditional code.
12810 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12811 unconditional.
12812 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12813 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12814 unconditional.
12815 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12816 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12817 unconditional.
12818 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12819 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12820 unconditional.
12821 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12822 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12823 unconditional.
12824 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12825 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12826 unconditional.
12827 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12828 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12829 unconditional.
12830 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12831
b741de23
SP
128322012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12833
12834 [BZ #12140]
12835 * manual/memory.texi (Malloc Tunable Parameters): Add note
12836 about free list pointers overwriting some perturb bytes.
12837 Wording suggested by Roland McGrath.
12838
f9b9d9c9
JM
128392012-10-17 Joseph Myers <joseph@codesourcery.com>
12840
12841 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12842 (lgamma_test): Likewise.
12843 (tgamma_test): Likewise.
12844
172a631a
FW
128452012-10-16 Florian Weimer <fweimer@redhat.com>
12846
12847 [BZ #14700]
12848 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12849 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12850
e9f37252
MK
128512012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12852
12853 * NEWS: Mention BZ #14716.
12854 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12855 when removing AVAILABLE1_USES_J macro.
12856
d394eb74
L
128572012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12858
12859 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12860 (__bswap_64): __uint64_t for unsigned 64-bit int.
12861
ca38dc17
AS
128622012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12863
12864 * include/string.h (memmem): Declare libc hidden alias.
12865 * string/memmem.c (memmem): Define libc hidden alias.
12866 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12867 __read, __close instead of open, read, close.
12868
9a387d1f
L
128692012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12870
ac49ecaf
L
12871 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12872 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12873 global and hidden.
12874 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12875 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12876 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12877 Likewise.
12878 (__rawmemchr_sse2): Likewise.
12879 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12880 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12881 (__strchr_sse2): Likewise.
12882 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12883 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12884 (__strcasecmp_sse2): Likewise.
12885 (__strncasecmp_sse2): Likewise.
12886 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12887 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12888 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12889 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12890 (__strrchr_sse2): Likewise.
12891 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12892 ifunc-impl-list.c.
12893 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12894 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12895 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12896 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12897 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12898 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12899 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12900 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12901 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12902 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12903 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12904 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12905 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12906 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12907 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12908 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12909 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12910 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12911 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12912 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12913 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12914 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12915 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12916 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12917 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12918 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12919 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12920 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12921 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12922 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12923
b090e8ea
L
12924 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12925 global and hidden.
12926 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12927 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12928 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12929 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12930 Likewise.
12931 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12932 Likewise.
12933 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12934 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12935 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12936 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12937 ifunc-impl-list.c.
12938 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12939 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12940 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12941 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12942 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12943 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12944 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12945 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12946 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12947 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12948 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12949 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12950 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12951 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12952 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12953 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12954 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12955 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12956 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12957 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12958 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12959 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12960 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12961 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12962 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12963 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12964 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12965 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12966 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12967 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12968 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12969 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12970 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12971 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12972 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12973 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12974 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12975 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12976 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12977 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12978 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12979
11dd4af6
L
12980 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12981 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12982 * include/ifunc-impl-list.h: New file.
12983 * misc/ifunc-impl-list.c: Likewise.
12984 * misc/Makefile (routines): Add ifunc-impl-list.
12985 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12986 * string/test-string.h: Include <ifunc-impl-list.h>.
12987 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12988 impl_array): New variables.
12989 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12990 are defined.
12991 (test_init): Call __libc_ifunc_impl_list to initialize
12992 func_list if TEST_IFUNC and TEST_NAME are defined.
12993
9a387d1f
L
12994 * string/Makefile (strop-tests): Add bcopy and bzero.
12995 * string/test-bcopy.c: New file.
12996 * string/test-bzero.c: Likewise.
12997 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12998 defined.
12999 * string/test-memset.c: Support bzero test if TEST_BZERO is
13000 defined.
13001 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13002 __libc_memmove.
13003 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13004 __libc_memset.
13005 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13006 of memset.
13007
472371b9
JM
130082012-10-10 Joseph Myers <joseph@codesourcery.com>
13009
1e4a9536
JM
13010 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13011 * configure: Regenerated.
13012
d173d12e
JM
13013 * Makeconfig (+link-static-before-libc): Don't include
13014 $(link-static-libc).
13015
472371b9
JM
13016 * libio/libio.h (_IO_pos_t): Remove.
13017
89a3ad0b
AO
130182012-10-10 Alexandre Oliva <aoliva@redhat.com>
13019
13020 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13021 McGrath.
13022
e7451425
AO
130232012-10-10 Alexandre Oliva <aoliva@redhat.com>
13024
13025 * crypt/crypt-entry.c: Include fips-private.h.
13026 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13027 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13028 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13029 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13030
4ba74a35
AO
130312012-10-10 Alexandre Oliva <aoliva@redhat.com>
13032
13033 * crypt/crypt-private.h: Include stdbool.h.
13034 (_ufc_setup_salt_r): Return bool.
13035 * crypt/crypt-entry.c: Include errno.h.
13036 (__crypt_r): Return NULL with EINVAL for bad salt.
13037 * crypt/crypt_util.c (bad_for_salt): New.
13038 (_ufc_setup_salt_r): Check that salt is long enough and within
13039 the specified alphabet.
13040 * crypt/badsalttest.c: New file.
13041 * crypt/Makefile (tests): Add it.
13042 ($(objpfx)badsalttest): New.
13043
f96f1242
MK
130442012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13045
13046 * NEWS: Add entry for BZ #14602.
13047
0e8e0c1c
JM
130482012-10-09 Joseph Myers <joseph@codesourcery.com>
13049
13050 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13051 type-generic.
13052 * math/libm-test.inc: Update comment listing what functions and
13053 macros are tested.
13054 (isgreater_test): New function.
13055 (isgreaterequal_test): Likewise.
13056 (isless_test): Likewise.
13057 (islessequal_test): Likewise.
13058 (islessgreater_test): Likewise.
13059 (isunordered_test): Likewise.
13060 (main): Call the new functions.
13061
273edc5e
RM
130622012-10-09 Roland McGrath <roland@hack.frob.com>
13063
b8493de0
RM
13064 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13065 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13066 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13067 * sysdeps/i386/configure: Regenerated.
13068 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13069 * sysdeps/mach/configure: Regenerated.
13070 * sysdeps/mach/hurd/configure: Regenerated.
13071 * sysdeps/powerpc/configure: Regenerated.
13072 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13073 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13074 * sysdeps/s390/s390-32/configure: Regenerated.
13075 * sysdeps/s390/s390-64/configure: Regenerated.
13076 * sysdeps/sh/configure: Regenerated.
13077 * sysdeps/sparc/configure: Regenerated.
13078 * sysdeps/unix/sysv/linux/configure: Regenerated.
13079 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13080 * sysdeps/x86_64/configure: Regenerated.
13081
273edc5e
RM
13082 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13083 defined. Don't check if MAP is NULL.
13084
c8450f70
JM
130852012-10-09 Joseph Myers <joseph@codesourcery.com>
13086
13087 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13088 (_G_stat64): Likewise.
13089 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13090 (_G_stat64): Likewise.
13091 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13092 instead of struct _G_stat64.
13093 * libio/fileops.c (mmap_remap_check): Likewise.
13094 (decide_maybe_mmap): Likewise.
13095 (_IO_new_file_seekoff): Likewise.
13096 (_IO_file_stat): Likewise.
13097 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13098 _G_off64_t.
13099 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13100 instead of struct _G_stat64.
13101 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13102
57e605ba
MK
131032012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13104
13105 [BZ #14602]
13106 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13107 Replace with ...
13108 (CHECK_EOL): New macro.
13109 (two_way_short_needle): Check beginning of haystack for EOL. Use
13110 CHECK_EOL.
13111 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13112 Replace with CHECK_EOL.
13113 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13114 Replace with CHECK_EOL.
13115
ef1bb361
JM
131162012-10-08 Joseph Myers <joseph@codesourcery.com>
13117
13118 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13119 type-generic.
13120 * math/libm-test.inc: Update comment listing what functions and
13121 macros are tested.
13122 (finite_test): New function.
13123 (isinf_test): Likewise.
13124 (isnan_test): Likewise.
13125 (fpclassify_test): Test subnormal input.
13126 (isfinite_test): Likewise.
13127 (isnormal_test): Likewise.
13128 (main): Call the new functions.
13129
55f11534
JN
131302012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13131
13132 [BZ #14660]
13133 * Makerules (%.dynsym): Force C locale when running
13134 $(OBJDUMP) --dynamic-syms.
13135
1ab29350
AS
131362012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13137
13138 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13139 <stdint.h>.
13140
f1ecb7ef
DM
131412012-10-06 David S. Miller <davem@davemloft.net>
13142
13143 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13144 upper 32-bits of the length value in %o2 since we use branch-on-register
13145 tests which consider the entire 64-bit register.
13146
5d41d91a
L
131472012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13148
13149 * string/test-strstr.c (check2): Add a test for page boundary.
13150
3baddb72
DM
131512012-10-05 David S. Miller <davem@davemloft.net>
13152
13153 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13154 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13155 file.
13156 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13157 sysdep_routines.
13158 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13159 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13160 and bzero when HWCAP_SPARC_CRYPTO is present.
13161
9cee5585
L
131622012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13163
d7e0dab9
L
13164 [BZ #14602]
13165 * string/test-strstr.c (check2): New function.
13166 (test_main): Call check2.
13167
03759f47
L
13168 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13169 and bug-strchr1.
13170 * string/bug-strcasestr1.c (do_test): Moved to ...
13171 * string/test-strcasestr.c (check1): Here. New function.
13172 (do_one_test): Break out result checking code into ...
13173 (check_result): This. New function.
13174 (do_one_test): Call check_result.
13175 (test_main): Call check1.
13176 * string/bug-strchr1.c (do_test): Moved to ...
13177 * string/test-strchr.c (check1): Here. New function.
13178 (do_one_test): Break out result checking code into ...
13179 (check_result): This. New function.
13180 (do_one_test): Call check_result.
13181 (test_main): Call check1.
13182 * string/bug-strstr1.c (main): Moved to ...
046f153e 13183 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13184 (do_one_test): Break out result checking code into ...
13185 (check_result): This. New function.
13186 (do_one_test): Call check_result.
13187 (test_main): Call check1.
13188 * string/bug-strcasestr1.c: Removed.
13189 * string/bug-strchr1.c: Likewise.
13190 * string/bug-strstr1.c: Likewise.
13191
53cea63e
L
13192 * elf/Makefile (dl-routines): Add hwcaps.
13193 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13194 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13195 (_dl_important_hwcaps): Moved to ...
13196 * elf/dl-hwcaps.c: Here. New file.
13197 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13198
9cee5585 13199 [BZ #14557]
bb859b06
L
13200 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13201 if IS_IN_rtld isn't defined.
13202
9cee5585
L
13203 * elf/dl-support.c (_dl_sysinfo_map): New.
13204 Include "get-dynamic-info.h" and "setup-vdso.h".
13205 (_dl_non_dynamic_init): Call setup_vdso.
13206 * elf/dynamic-link.h: Don't include <assert.h>.
13207 (elf_get_dynamic_info): Moved to ...
13208 * elf/get-dynamic-info.h: Here. New file.
13209 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13210 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13211 * elf/setup-vdso.h: Here. New file.
13212 * elf/rtld.c: Include "setup-vdso.h".
13213 (dl_main): Call setup_vdso.
13214
23c31b76
JM
132152012-10-05 Joseph Myers <joseph@codesourcery.com>
13216
28234b07
JM
13217 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13218 creal in comment listing functions tested. List finite, isinf,
13219 isnan, isless, islessequal, isgreater, isgreaterequal,
13220 islessgreater, isunordered, lgamma_r and pow10 as functions and
13221 macros not tested. Mention which functions not tested are aliases
13222 for other functions. Fix typo. Note that signs of NaNs are not
13223 tested.
13224
23c31b76
JM
13225 * scripts/config.guess: Update from config.git.
13226 * scripts/config.sub: Likewise.
13227
9043e228
RM
132282012-10-04 Roland McGrath <roland@hack.frob.com>
13229
13230 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13231 * misc/madvise.c (madvise): Renamed to __madvise.
13232 Make madvise a weak alias.
13233 * include/sys/mman.h: Declare __madvise.
13234 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13235 * sysdeps/unix/syscalls.list
13236 (madvise): Make __madvise the strong name, and madvise a weak alias.
13237 * sysdeps/unix/sysv/linux/syscalls.list
13238 (madvise, mmap): Remove redundant entries.
13239 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13240 * malloc/malloc.c (mtrim): Likewise.
13241 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13242
f57f8055
RM
132432012-10-03 Roland McGrath <roland@hack.frob.com>
13244
13245 * sysdeps/mach/hurd/dl-cache.c: File removed.
13246 * config.h.in (USE_LDCONFIG): New #undef.
13247 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13248 * configure: Regenerated.
13249 * elf/Makefile (dl-routines): Add dl-cache only under
13250 [$(use-ldconfig) = yes].
13251 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13252 cache on [USE_LDCONFIG].
13253 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13254 [USE_LDCONFIG].
13255 * elf/rtld.c (dl_main): Likewise.
13256
5bb0c10a
PT
132572012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13258
13259 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13260 _SC_LEVEL4_CACHE_LINESIZE.
13261
010188c6
RM
132622012-10-03 Roland McGrath <roland@hack.frob.com>
13263
13264 * sysdeps/unix/bsd/confstr.h: File removed.
13265
b6c5ec07
AO
132662012-10-02 Alexandre Oliva <aoliva@redhat.com>
13267
13268 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13269 sys/sdt-config.h.
13270
408223d4
RM
132712012-10-02 Roland McGrath <roland@hack.frob.com>
13272
13273 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13274 Make 'mapoff' field ElfW(Off) rather than off_t.
13275
bb9510dc
DL
132762012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13277
fc997c6e
DL
13278 * nscd/Makefile: Remove nscd-cflags and all its users.
13279 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13280 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13281
bb9510dc
DL
13282 [BZ #10631]
13283 * malloc.c (malloc_printerr): Clarify error message.
13284
05699367
L
132852012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13286
13287 [BZ #14648]
13288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13289 Set bit_FMA_Usable if FMA is supported.
13290 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13291 macro.
13292 (bit_FMA4_Usable): Updated.
13293 (index_FMA_Usable): New macro.
13294 (CPUID_FMA): Likewise
13295 (HAS_FMA): Defined with bit_FMA_Usable.
13296
51367701
RM
132972012-10-01 Roland McGrath <roland@hack.frob.com>
13298
13299 * bits/types.h (__swblk_t): Type removed.
13300 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13301 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13303 (__SWBLK_T_TYPE): Likewise.
13304 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13305 (__SWBLK_T_TYPE): Likewise.
13306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13307 (__SWBLK_T_TYPE): Likewise.
13308 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13309 (__SWBLK_T_TYPE): Likewise.
13310
4d57bf63 133112012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13312 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13313
13314 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13315 (xdr_mapname): Use YPMAXMAP as maxsize.
13316 (xdr_peername): Use YPMAXPEER as maxsize.
13317 (xdr_keydat): Use YPAXRECORD as maxsize.
13318 (xdr_valdat): Use YPMAXRECORD as maxsize.
13319
93c65d43
RM
133202012-10-01 Roland McGrath <roland@hack.frob.com>
13321
497a03d6
RM
13322 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13323
93c65d43
RM
13324 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13325 * csu/init-first.c: ... here.
13326 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13327 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13328 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13329 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13330 * sysdeps/i386/init-first.c: File removed.
13331 * sysdeps/sh/init-first.c: File removed.
13332
bec749fd
JM
133332012-10-01 Joseph Myers <joseph@codesourcery.com>
13334
13335 [BZ #14645]
13336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13337 if x * y might underflow to zero and z is zero.
13338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13339 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13340 * math/libm-test.inc (min_subnorm_value): New variable.
13341 (fma_test): Add more tests.
13342 (fma_test_towardzero): Likewise.
13343 (fma_test_downward): Likewise
13344 (fma_test_upward): Likewise.
13345 (initialize): Set min_subnorm_value.
13346
8ec5b013
JM
133472012-09-29 Joseph Myers <joseph@codesourcery.com>
13348
13349 [BZ #14638]
13350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13351 0 + 0.
13352 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13353 mode for addition resulting in exact zero.
13354 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13355 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13356 exact 0 + 0.
13357 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13359 * math/libm-test.inc (fma_test): Add more tests.
13360 (fma_test_towardzero): New function.
13361 (fma_test_downward): Likewise.
13362 (fma_test_upward): Likewise.
13363 (main): Call the new functions.
13364
b1fa802e
DM
133652012-09-28 David S. Miller <davem@davemloft.net>
13366
13367 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13368
d3b9fd9e
RM
133692012-09-28 Roland McGrath <roland@hack.frob.com>
13370
ea4d37b3
RM
13371 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13372 instead of SIGALRM.
13373
ac51c949
RM
13374 * sysdeps/gnu/_G_config.h: Moved to ...
13375 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13376 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13377 * sysdeps/generic/_G_config.h: ... here.
13378
28c195f7
RM
13379 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13380
848917f9
RM
13381 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13382
6bacf05b
RM
13383 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13384 Conditionalize target on [libnss_test1.so-version].
13385
91363dbb
RM
13386 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13387
cc87f7d8
RM
13388 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13389 (elfobjdir): Move out of conditionals.
13390
b1c608fe
RM
13391 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13392 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13393 (__nss_lookup_function): Conditionalize label remove_from_tree on
13394 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13395
1d9a6d96
DM
133962012-09-28 David S. Miller <davem@davemloft.net>
13397
13398 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13399 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13400 file.
13401 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13402 sysdep_routines.
13403 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13405 when HWCAP_SPARC_CRYPTO is present.
13406
72581615
PT
134072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13408
13409 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13410
715a900c
JL
134112012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13412
13413 [BZ #6530]
13414 * stdio-common/vfprintf.c (process_string_arg): Revert
13415 2000-07-22 change.
13416
134172011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13418
13419 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13420 for testcase.
13421 * stdio-common/tst-sprintf.c: Include <locale.h>
13422 (main): Test sprintf's handling of incomplete multibyte
13423 characters.
13424
9bac1d86
L
134252012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13426
13427 * elf/dl-runtime.c (VERSYMIDX): Removed.
13428 * elf/dl-version.c (VERSYMIDX): Likewise.
13429 * elf/do-rel.h (VERSYMIDX): Likewise.
13430 (VALIDX): Likewise.
13431 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13432 * elf/rtld.c (VALIDX): Likewise.
13433 (ADDRIDX): Likewise.
9bac1d86
L
13434 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13435 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13436 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13437 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13438 (VALIDX): Likewise.
13439 (ADDRIDX): Likewise.
9bac1d86 13440
b31606c0
PT
134412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13442
13443 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13444
11541177
JL
134452012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13446
13447 [BZ #11438]
13448 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13449 to global scope.
13450 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13451 addresses are in the same scope as 192.0.2/24.
13452 * posix/gai.conf: Document new scope table defaults.
13453
adb26fae
SP
134542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13455
13456 [BZ #5298]
13457 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13458 for ftell. Compute offsets from write pointers instead.
13459 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13460
4573c6b0
SP
134612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13462
13463 [BZ #14543]
13464 * libio/Makefile (tests): New test case tst-fseek.
13465 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13466 combination works in wide mode.
13467 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13468 state when the external buffer state changes.
13469
aa9bbfe6
DM
134702012-09-27 David S. Miller <davem@davemloft.net>
13471
13472 [BZ #14376]
13473 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13474 pass reloc->r_addend in as the 'high' argument to
13475 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13476
784421e7
DM
13477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13478
c39bc8b8
PT
134792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13480
13481 * rt/tst-aio2.c: Include <pthread.h>.
13482 * rt/tst-aio3.c: Likewise.
13483
1ccc2399
SE
134842012-09-27 Steve Ellcey <sellcey@mips.com>
13485
13486 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13487
31ed4153
L
134882012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13489
25f5f885
L
13490 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13491 contents on [SHARED].
31ed4153 13492
b7bfe116
MP
134932012-09-26 Marek Polacek <polacek@redhat.com>
13494
13495 [BZ #14530]
13496 [BZ #13741]
13497 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13498 for C++ and GCC <4.3 as well as for non GCC compilers.
13499
43c4edba
MT
135002012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13501
13502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13503
6a1bf82f
RM
135042012-09-25 Roland McGrath <roland@hack.frob.com>
13505
13506 * Makefile.in (all, install): Declare with .PHONY.
13507 Reported by Michael Hope <michael.hope@linaro.org>.
13508
8ad11b9a
TMQMF
135092012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13510
13511 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13512 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13513 system header.
13514 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13515 Likewise.
13516 (sydep_routines): Add the new and the internal functions.
13517 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13518 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13520 (GLIBC_2.17): Add the new function.
13521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13522 (GLIBC_2.17): Likewise.
13523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13524 (GLIBC_2.17): Likewise.
13525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13526 (GLIBC_2.17): Likewise.
13527 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13528
7e2fca8d
AM
135292012-09-25 Alan Modra <amodra@gmail.com>
13530
13531 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13532 Add release barrier before setting once_control to say
13533 initialisation is done. Add hints on lwarx. Use macro in
13534 place of isync.
13535 (clear_once_control): Add release barrier.
13536
b87c4b24
JM
135372012-09-25 Joseph Myers <joseph@codesourcery.com>
13538
d032e0d2
JM
13539 [BZ #13629]
13540 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13541 specially.
13542 * math/s_clog10.c (__clog10): Likewise.
13543 * math/s_clog10f.c (__clog10f): Likewise.
13544 * math/s_clog10l.c (__clog10l): Likewise.
13545 * math/s_clogf.c (__clogf): Likewise.
13546 * math/s_clogl.c (__clogl): Likewise.
13547 * math/Makefile (libm-calls): Add x2y2m1.
13548 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13549 (__x2y2m1): Likewise.
13550 (__x2y2m1l): Likewise.
13551 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13552 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13555 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13556 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13557 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13558 * sysdeps/i386/fpu/libm-test-ulps: Update.
13559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13560
b87c4b24
JM
13561 [BZ #14621]
13562 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13563 int as type of variable DEPTH.
13564 (glob): Use size_t instead of int as type of variables NEWCOUNT
13565 and OLD_PATHC.
13566
6d3bf199
LD
135672012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13568
22bf5c17
LD
13569 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13570 Add s_sincosf-sse2.
13571 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13572 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13573 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13574 macros for using routine as __sincosf_ia32.
13575 Use macro for function declaration and weak_alias.
13576 * sysdeps/i386/fpu/libm-test-ulps: Update.
13577
13578 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13580
13581 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13582 subnormal argument.
13583 * math/s_cexpf.c (__cexpf): Likewise.
13584 * math/s_csinf.c (__csinf): Likewise.
13585 * math/s_csinhf.c (__csinhf): Likewise.
13586 * math/s_ctanf.c (__ctanf): Likewise.
13587 * math/s_ctanhf.c (__ctanhf): Likewise.
13588 * math/s_ccosh.c (__ccoshf): Likewise.
13589 * math/s_cexp.c (__cexpl): Likewise.
13590 * math/s_csin.c (__csin): Likewise.
13591 * math/s_csinh.c (__csinh): Likewise.
13592 * math/s_ctan.c (__ctan): Likewise.
13593 * math/s_ctanh.c (ctanh): Likewise.
13594 * math/s_ccoshl.c (__ccoshl): Likewise.
13595 * math/s_cexpl.c (__cexpl): Likewise.
13596 * math/s_csinl.c (__csinl): Likewise.
13597 * math/s_csinhl.c (__csinhl): Likewise.
13598 * math/s_ctanl.c (__ctanl): Likewise.
13599 * math/s_ctanhl.c (__ctanhl): Likewise.
13600
203e5603
JM
136012012-09-25 Joseph Myers <joseph@codesourcery.com>
13602
13603 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13604 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13605 (_IO_off_t): Define to __off_t, not _G_off_t.
13606 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13607 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13608 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13609 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13610 type of __dummy and __dummy2 fields.
13611 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13612 (_G_ssize_t): Likewise.
13613 (_G_off_t): Likewise.
13614 (_G_pid_t): Likewise.
13615 (_G_uid_t): Likewise.
13616 (_G_wchar_t): Likewise.
13617 (_G_wint_t): Likewise.
13618 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13619 (_G_ssize_t): Likewise.
13620 (_G_off_t): Likewise.
13621 (_G_pid_t): Likewise.
13622 (_G_uid_t): Likewise.
13623 (_G_wchar_t): Likewise.
13624 (_G_wint_t): Likewise.
13625 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13626 (_G_ssize_t): Likewise.
13627 (_G_off_t): Likewise.
13628 (_G_pid_t): Likewise.
13629 (_G_uid_t): Likewise.
13630 (_G_wchar_t): Likewise.
13631 (_G_wint_t): Likewise.
13632
9fab36eb
SP
136332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13634
13635 * malloc/arena.c: Include malloc-sysdep.h.
13636 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13637 is sufficient to shrink the heap or an unmap is needed.
13638 * sysdeps/generic/malloc-sysdep.h: New file. Define
13639 new function check_may_shrink_heap.
13640 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13641 new function check_may_shrink_heap.
13642
2b4f00d1
SP
136432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13644
13645 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13646 comments.
13647
9a9028b1
DL
136482012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13649
57c69bef
DL
13650 * catgets/test-gencat.sh: Add "set -e".
13651 * elf/tst-pathopt.sh: Likewise.
13652 * grp/tst_fgetgrent.sh: Likewise.
13653 * iconvdata/run-iconv-test.sh: Likewise.
13654 * intl/tst-gettext.sh: Likewise.
13655 * intl/tst-gettext2.sh: Likewise.
13656 * intl/tst-gettext4.sh: Likewise.
13657 * intl/tst-gettext6.sh: Likewise.
13658 * intl/tst-translit.sh: Likewise.
13659 * io/ftwtest-sh: Likewise.
13660 * libio/test-freopen.sh: Likewise.
13661 * malloc/tst-mtrace.sh: Likewise.
13662 * posix/globtest.sh: Likewise.
13663 * posix/tst-getconf.sh: Likewise.
13664 * posix/wordexp-tst.sh: Likewise.
13665 * stdio-common/tst-printf.sh: Likewise.
13666 * stdio-common/tst-unbputc.sh: Likewise.
13667 * stdlib/tst-fmtmsg.sh: Likewise.
13668 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13669 * catgets/Makefile: Do not specify -e option when running
13670 testsuite shell scripts.
13671 * elf/Makefile: Likewise.
13672 * grp/Makefile: Likewise.
13673 * iconvdata/Makefile: Likewise.
13674 * intl/Makefile: Likewise.
13675 * io/Makefile: Likewise.
13676 * libio/Makefile: Likewise.
13677 * malloc/Makefile: Likewise.
13678 * posix/Makefile: Likewise.
13679 * stdio-common/Makefile: Likewise.
13680 * stdlib/Makefile: Likewise.
13681 * sysdeps/x86_64/Makefile: Likewise.
13682
9a9028b1
DL
13683 * io/ftwtest-sh: Add copyright header.
13684 * posix/globtest.sh: Likewise.
13685 * posix/tst-getconf.sh: Likewise.
13686 * posix/wordexp-tst.sh: Likewise.
13687 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13688
ced6f16e
L
136892012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13690
94b32c39
L
13691 [BZ #13679]
13692 * Makeconfig (+link): Defined as $(+link-static) if
13693 $(build-shared) isn't yes.
13694 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13695 isn't yes.
13696 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13697
189e935b
L
13698 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13699
ced6f16e
L
13700 [BZ #14562]
13701 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13702 new chunk size with MALLOC_ALIGN_MASK.
13703
a9f8e53a
JM
137042012-09-24 Joseph Myers <joseph@codesourcery.com>
13705
13706 [BZ #5044]
13707 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13708 <rounding-mode.h>.
13709 (__printf_fphex): Determine rounding using get_rounding_mode and
13710 round_away.
13711 * stdio-common/tst-printf-round.c (struct hex_test): New
13712 structure.
13713 (hex_tests): New variable.
13714 (test_hex_in_one_mode): New function.
13715 (do_test): Also run tests for hex float output.
13716
43153109
JM
137172012-09-21 Joseph Myers <joseph@codesourcery.com>
13718
13719 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13720 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13721 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13722 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13723 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13724 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13725 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13726 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13727
8a26625d
JM
137282012-09-20 Joseph Myers <joseph@codesourcery.com>
13729
13730 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13731 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13732 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13733 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13734
f3fd569c
DL
137352012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13736
13737 [BZ #14579]
13738 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13739 mode only.
13740 * elf/tst-rtld-load-self.sh: New test.
13741 * elf/Makefile: Run it.
13742
63bbedd4
JM
137432012-09-18 Joseph Myers <joseph@codesourcery.com>
13744
13745 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13746 (tst-writev-ENV): Remove.
13747 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13748
626f8b6a
CM
137492012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13750
13751 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13752
b7aaa4d6
JM
137532012-09-17 Joseph Myers <joseph@codesourcery.com>
13754
13755 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13756 unconditional.
13757 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13758 Likewise.
13759 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13760 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13761 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13762 Likewise.
13763
65513990
L
137642012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13765
13766 [BZ #14587]
13767 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13768 * config.make.in (have-cpp-asm-debuginfo): Removed.
13769 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13770 * configure: Regenerated.
13771
784761be
JM
137722012-09-14 Joseph Myers <joseph@codesourcery.com>
13773
13774 [BZ #5044]
13775 * stdio-common/printf_fp.c: Include <stdbool.h> and
13776 <rounding-mode.h>.
13777 (___printf_fp): Determine rounding using get_rounding_mode and
13778 round_away.
13779 * stdio-common/tst-printf-round.c: New file.
13780 * stdio-common/Makefile (tests): Add tst-printf-round.
13781 (link-libm): New variable.
13782 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13783
9503345f
L
137842012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13785
13786 [BZ #14576]
13787 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13788 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13789 Likewise.
13790 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13791 Likewise.
13792
ad35fc00
JM
137932012-09-13 Joseph Myers <joseph@codesourcery.com>
13794
13795 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13796 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13797 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13798 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13799
6c9b0f68
JM
138002012-09-12 Joseph Myers <joseph@codesourcery.com>
13801
13802 [BZ #14518]
13803 * include/rounding-mode.h: New file.
13804 * sysdeps/generic/get-rounding-mode.h: Likewise.
13805 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13806 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13807 (MAX_VALUE): New macro.
13808 (MIN_VALUE): Likewise.
13809 (overflow_value): New function.
13810 (underflow_value): Likewise.
13811 (round_and_return): Use overflow_value and underflow_value to
13812 determine return values in overflow and underflow cases. Use
13813 round_away to determine rounding depending on rounding mode.
13814 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13815 determine return values in overflow and underflow cases.
13816 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13817 (struct test_results): New structure.
13818 (struct test): Use struct test_results to store expected results
13819 for all rounding modes.
13820 (TEST): Include expected results for all rounding modes.
13821 (test_in_one_mode): New function.
13822 (do_test): Use test_in_one_mode to compute and check results.
13823 Check results for all rounding modes.
13824 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13825 $(link-libm).
13826
19fcedd5
AM
138272012-12-09 Allan McRae <allan@archlinux.org>
13828
1e9d84cd 13829 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13830
8bbfd2f1
JM
138312012-09-11 Joseph Myers <joseph@codesourcery.com>
13832
13833 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13834 (_G_int32_t): Likewise.
13835 (_G_uint16_t): Likewise.
13836 (_G_uint32_t): Likewise.
13837 (_G_HAVE_BOOL): Likewise.
13838 (_G_HAVE_ATEXIT): Likewise.
13839 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13840 (_G_HAVE_IO_FILE_OPEN): Likewise.
13841 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13842 (_G_int32_t): Likewise.
13843 (_G_uint16_t): Likewise.
13844 (_G_uint32_t): Likewise.
13845 (_G_HAVE_BOOL): Likewise.
13846 (_G_HAVE_ATEXIT): Likewise.
13847 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13848 (_G_HAVE_IO_FILE_OPEN): Likewise.
13849 * sysdeps/mach/hurd/_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
b1dc5912
L
138582012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13859
13860 * csu/libc-tls.c: Update copyright years.
13861
0e886ef9
JM
138622012-09-10 Joseph Myers <joseph@codesourcery.com>
13863
28361c5e
JM
13864 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13865 [!_G_USING_THUNKS]: Remove conditional code.
13866 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13867 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13868
0e886ef9
JM
13869 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13870 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13871 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13872 (_G_VTABLE_LABEL_PREFIX): Likewise.
13873 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13874 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13875 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13876 (_G_VTABLE_LABEL_PREFIX): Likewise.
13877 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13878 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13879 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13880 (_G_VTABLE_LABEL_PREFIX): Likewise.
13881 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13882
bcba7aa2
L
138832012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13884
13885 * libio/Makefile: Include ../Makeconfig before tests.
13886 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13887 only if $(build-shared) is yes.
13888
06585ee8
L
13889 * iconv/gconv_db.c: Update copyright years.
13890
80ccd52c
LD
138912012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13892
13893 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13894 unwind info if defined PIC. Fix special cases description.
13895 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13896
13897 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13898 DP_HI_MASK entry.
13899 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13900
691bc9c1
L
139012012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13902
3d9b46b3
L
13903 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13904
de2139a9
L
13905 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13906 is NULL.
13907
5ca78dd0
L
13908 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13909 (LDLIBS-tst-chk4): This.
13910 (LDFLAGS-tst-chk5): Renamed to ...
13911 (LDLIBS-tst-chk5): This.
13912 (LDFLAGS-tst-chk6): Renamed to ...
13913 (LDLIBS-tst-chk6): This.
13914 (LDFLAGS-tst-lfschk4): Renamed to ...
13915 (LDLIBS-tst-lfschk4): This.
13916 (LDFLAGS-tst-lfschk5): Renamed to ...
13917 (LDLIBS-tst-lfschk5): This.
13918 (LDFLAGS-tst-lfschk6): Renamed to ...
13919 (LDLIBS-tst-lfschk6): This.
13920
691bc9c1
L
13921 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13922 on $(common-objpfx)soversions.mk.
13923
65cafb1c
JM
139242012-09-07 Joseph Myers <joseph@codesourcery.com>
13925
13926 [BZ #10014]
13927 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13928 example host name.
13929
c78ab094
SP
139302012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13931
13932 * malloc/arena.c (arena_get_retry): New function that gets
13933 another arena for the caller to try its request on.
13934 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13935 current arena cannot fulfill the request.
13936 (__libc_memalign): Likewise.
13937 (__libc_memalign): Likewise.
13938 (__libc_pvalloc): Likewise.
13939 (__libc_calloc): Likewise.
13940
01f49f59
JT
139412012-09-05 John Tobey <john.tobey@gmail.com>
13942
13943 [BZ #13542]
13944 * manual/arith.texi (Operations on Complex): Fix description
13945 of carg branch cut.
13946
4c23fed5
JM
139472012-09-06 Joseph Myers <joseph@codesourcery.com>
13948
1d3c8572
JM
13949 [BZ #10014]
13950 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13951 host name.
13952
4c23fed5
JM
13953 [BZ #10038]
13954 * manual/memory.texi (Memory): Make order of menu items match
13955 order of sections.
13956
04570aaa
L
139572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13958
13959 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13960 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13961 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13962
b80af2f4
L
139632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13964
13965 * csu/libc-tls.c (static_dtv): Renamed to ...
13966 (_dl_static_dtv): This. Make it global.
13967 (_dl_initial_dtv): Removed.
13968 (__libc_setup_tls): Updated.
13969 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13970 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13971 DL_INITIAL_DTV.
13972
2abe9f15
PM
139732012-09-06 Petr Machata <pmachata@redhat.com>
13974
13975 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13976 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13977 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13978 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13979
0948c3af
L
139802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13981
13982 [BZ #14545]
13983 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13984 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13985 freeing dtv[-1].
13986
a5055ad1
L
139872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13988
13989 [BZ #14544]
13990 * Makeconfig (link-static-before-libc): Replace $(+prector)
13991 with $(+prectorT).
13992 (link-static-after-libc): Replace $(+postctor) with
13993 $(+postctorT).
13994 (link-bounded): Replace $(+prector)/$(+postctor) with
13995 $(+prectorT)/$(+postctorT).
13996 (+prectorT): New macro.
13997 (+postctorT): Likewise.
13998
ed8c2ecd
JM
139992012-09-06 Joseph Myers <joseph@codesourcery.com>
14000
14001 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14002 (round_str): Handle values above the maximum for IBM long double
14003 as inexact.
14004 * stdlib/tst-strtod-round.c (tests): Regenerated.
14005
14c996c8
AK
140062012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14007
14008 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14009 assembler flag.
14010 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14011 zarch_nohighgprs around the zarch optimized routines.
14012 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14013 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14014 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14015 for zarch.
14016
430d6ce6
DM
140172012-09-05 David S. Miller <davem@davemloft.net>
14018
14019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14020
ff04dda4
DM
14021 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14022 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14023 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14024 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14025 entries.
14026
24d4e01b
AO
140272012-09-05 Alexandre Oliva <aoliva@redhat.com>
14028
14029 * malloc/arena.c: Fold copyright years.
14030 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14031
61d58174
AO
140322012-09-05 Alexandre Oliva <aoliva@redhat.com>
14033
14034 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14035
20196a5e
AO
140362012-09-05 Alexandre Oliva <aoliva@redhat.com>
14037
14038 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14039
5c447383
AO
140402012-09-05 Alexandre Oliva <aoliva@redhat.com>
14041
14042 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14043 change internal state upon failure.
14044
fad64255
AO
140452012-09-05 Alexandre Oliva <aoliva@redhat.com>
14046
14047 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14048 * malloc/memusage.c (mmap): Likewise.
14049 (mmap64, mremap): Likewise. Adjust name in comment.
14050
1ffb8c90
SP
140512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14052
14053 * libio/fileops.c: Fix typos in comments.
14054 * libio/oldfileops.c: Likewise.
14055 * libio/wfileops.c: Likewise.
14056
6ef9cc37
SP
140572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14058
14059 [BZ #1349]
14060 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14061 (tst-malloc-usable-ENV): Set environment for test case.
14062 * malloc/hooks.c (malloc_check_get_size): New function to get
14063 requested size.
14064 * malloc/malloc.c (musable): Use malloc_check_get_size.
14065 * malloc/tst-malloc-usable.c: New test case.
14066
4d038ae3
AS
140672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14068
14069 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14070
c4e85184
AM
140712012-09-05 Allan McRae <allan@archlinux.org>
14072
b9dafc56 14073 [BZ #13966]
c4e85184
AM
14074 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14075 determine header location.
14076 * configure: Regenerated.
14077
e1343020
AS
140782012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14079
14080 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14081 float format.
14082 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14083 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14084 format.
e1343020
AS
14085 (test): Regenerate.
14086
0a9f1987
DM
140872012-09-04 David S. Miller <davem@davemloft.net>
14088
14089 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14090 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14091 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14092
29237804
FW
140932012-09-04 Florian Weimer <fweimer@redhat.com>
14094
14095 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14096 failures.
14097
edb3cb88
FW
14098 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14099
60160d83
JM
141002012-09-04 Joseph Myers <joseph@codesourcery.com>
14101
14102 [BZ #9914]
14103 * libio/iogetdelim.c: Include <limits.h>.
14104 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14105 + len + 1 would overflow.
14106
bcd6c8dc
AJ
141072012-09-03 Andreas Jaeger <aj@suse.de>
14108
14109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14110 * sysdeps/i386/fpu/libm-test-ulps: Update.
14111
4ffffbd2
LD
141122012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14113
14114 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14115 Add s_sinf-sse2, s_conf-sse2.
14116
14117 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14118 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14119 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14120 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14121
14122 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14123 for using routine as __sinf_ia32.
14124 Use macro for function declaration and weak_alias.
14125 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14126 for using routine as __cosf_ia32.
14127 Use macro for function declaration and weak_alias.
14128
14129 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14130 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14131
14132 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14133 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14135
14136 * math/libm-test.inc (cos_test): Add more test cases.
14137 (sin_test): Likewise.
14138 (sincos_test): Likewise.
14139
511fa286
AK
141402012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14141
14142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14143 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14144 hidden.
14145 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14146
5f30cfec
L
141472012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14148
14149 [BZ #14538]
14150 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14151 first element of the GOT.
14152 (elf_machine_load_address): Return the difference between
14153 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14154
0786794f
AM
141552012-09-01 Allan McRae <allan@archlinux.org>
14156
5f30cfec
L
14157 [BZ #13412]
14158 * configure.in (AWK): Require gawk version 3.0 or later.
14159 * configure: Regenerated.
0786794f 14160
26889eac
JM
141612012-09-01 Joseph Myers <joseph@codesourcery.com>
14162
14163 * sysdeps/unix/sysv/linux/kernel-features.h
14164 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14165 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14166 [__NR_clock_getres]: Make code unconditional.
14167 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14168 (clock_getcpuclockid): Remove code left unreachable by removal of
14169 conditionals.
14170 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14171 code unconditional.
14172 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14173 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14174 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14175 Make code unconditional.
14176 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14177 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14178 * sysdeps/unix/sysv/linux/clock_settime.c
14179 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14180 conditional code.
14181 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14182 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14183
d22e28b0
L
141842012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14185
14186 [BZ #14476]
14187 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14188 scripts/test-installation.pl.
14189
14190 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14191 and $ld_so_version if it is set.
14192
050af9c4
SP
141932012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14194
14195 [BZ #14516]
14196 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14197 failure if reading from procfs failed.
14198 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14199
ad845c0b
JM
142002012-08-27 Joseph Myers <joseph@codesourcery.com>
14201
14202 * sysdeps/unix/sysv/linux/kernel-features.h
14203 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14204 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14205 Remove conditional code.
14206 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14207 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14208 Remove conditional code.
14209 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14210 * sysdeps/unix/sysv/linux/i386/fxstat.c
14211 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14212 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14213 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14214 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14216 * sysdeps/unix/sysv/linux/i386/lxstat.c
14217 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14218 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14219 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14220 Remove conditional code.
14221 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14222 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14223 Remove conditional code.
14224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14225 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14226 <kernel-features.h>.
14227 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14228 Remove.
14229 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14230 Remove conditional code.
14231 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14232 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14233 Remove conditional.
14234
5dbf56af
MF
142352012-08-27 Mike Frysinger <vapier@gentoo.org>
14236
14237 [BZ #5400]
14238 * NEWS: Add fixed bug number.
14239
d6e70f43
JM
142402012-08-27 Joseph Myers <joseph@codesourcery.com>
14241
7efb4737
JM
14242 [BZ #14519]
14243 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14244 underflowing exponent in case of negative sign.
14245 * stdlib/tst-strtod-round-data: Add more tests.
14246 * stdlib/tst-strtod-round.c (tests): Regenerated.
14247
af92131a
JM
14248 [BZ #3479]
14249 * stdlib/strtod_l.c (NDIG): Remove.
14250 (HEXNDIG): Likewise.
14251 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14252 smallest representable value.
14253 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14254 lie within an exact representation of 1/2 ulp of the result.
14255 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14256 unconditionally.
14257 (TENS_P9_IDX): Define unconditionally.
14258 (TENS_P9_SIZE): Likewise.
14259 (TENS_P10_IDX): Likewise.
14260 (TENS_P10_SIZE): Likewise.
14261 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14262 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14263 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14264 entries for 10^2^13 and 10^2^14.
14265 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14266 (TENS_P13_IDX): Define.
14267 (TENS_P13_SIZE): Likewise.
14268 (TENS_P14_IDX): Likewise.
14269 (TENS_P14_SIZE): Likewise.
14270 (_fpioconst_pow10): Change array size to
14271 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14272 unconditional.
14273 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14274 1024]: Add entries for 10^2^13 and 10^2^14.
14275 [LAST_POW10 > _LAST_POW10]: Remove #error.
14276 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14277 (_fpioconst_pow10): Change array size to
14278 FPIOCONST_POW10_ARRAY_SIZE.
14279 * stdlib/gen-fpioconst.c: New file.
14280 * stdlib/gen-tst-strtod-round.c: Likewise.
14281 * stdlib/tst-strtod-round-data: Likewise.
14282 * stdlib/tst-strtod-round.c: Likewise.
14283 * stdlib/Makefile (tests): Add tst-strtod-round.
14284
d6e70f43
JM
14285 [BZ #14459]
14286 * stdlib/strtod_l.c: Include <stdint.h>.
14287 (NDEBUG): Do not define.
14288 (round_and_return): Change EXPONENT parameter to type intmax_t.
14289 Rearrange calculations to avoid internal overflow possibilities.
14290 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14291 Rearrange calculations to avoid internal overflow possibilities.
14292 Assert that number fits inside MPNSIZE limbs.
14293 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14294 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14295 calculations and add assertions to avoid internal overflow
14296 possibilities. Add casts to avoid signed/unsigned operations.
14297 * stdlib/tst-strtod-overflow.c: New file.
14298 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14299
1f529f7d
MP
143002012-08-25 Marek Polacek <polacek@redhat.com>
14301
14302 * time/time.h: Fix some typos in comments.
14303
59a629f1
RM
143042012-08-23 Roland McGrath <roland@hack.frob.com>
14305
14306 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14307 * posix/tst-rfc3484-2.c: Likewise.
14308 * posix/tst-rfc3484-3.c: Likewise.
14309
d3bafbc9
SM
143102012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14311
14312 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14313 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14314
4efcc022
JM
143152012-08-23 Joseph Myers <joseph@codesourcery.com>
14316
14317 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14318 #include of fxstatat64.c.
14319
3cc3ef96
RM
143202012-08-22 Roland McGrath <roland@hack.frob.com>
14321
f04e2132
RM
14322 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14323 * shadow/getspent_r.c: Likewise.
14324 * shadow/getspnam.c: Likewise.
14325 * shadow/getspnam_r.c: Likewise.
14326 * gshadow/getsgent.c: Likewise.
14327 * gshadow/getsgent_r.c: Likewise.
14328 * gshadow/getsgnam.c: Likewise.
14329 * gshadow/getsgnam_r.c: Likewise.
14330 * inet/getnetbyad.c: Likewise.
14331 * inet/getnetbyad_r.c: Likewise.
14332 * inet/getnetbynm.c: Likewise.
14333 * inet/getnetbynm_r.c: Likewise.
14334 * inet/getnetent.c: Likewise.
14335 * inet/getnetent_r.c: Likewise.
14336 * inet/getproto.c: Likewise.
14337 * inet/getproto_r.c: Likewise.
14338 * inet/getprtent.c: Likewise.
14339 * inet/getprtent_r.c: Likewise.
14340 * inet/getprtname.c: Likewise.
14341 * inet/getprtname_r.c: Likewise.
14342 * inet/getrpcbyname.c: Likewise.
14343 * inet/getrpcbyname_r.c: Likewise.
14344 * inet/getrpcbynumber.c: Likewise.
14345 * inet/getrpcbynumber_r.c: Likewise.
14346 * inet/getrpcent.c: Likewise.
14347 * inet/getrpcent_r.c: Likewise.
14348 * inet/getaliasent.c: Likewise.
14349 * inet/getaliasent_r.c: Likewise.
14350 * inet/getaliasname.c: Likewise.
14351 * inet/getaliasname_r.c: Likewise.
14352 * nscd/getgrgid_r.c: Likewise.
14353 * nscd/getgrnam_r.c: Likewise.
14354 * nscd/gethstbyad_r.c: Likewise.
14355 * nscd/gethstbynm3_r.c: Likewise.
14356 * nscd/getpwnam_r.c: Likewise.
14357 * nscd/getpwuid_r.c: Likewise.
14358 * nscd/getsrvbynm_r.c: Likewise.
14359 * nscd/getsrvbypt_r.c: Likewise.
14360 * nscd/gai.c: Likewise.
14361
c53d909c
RM
14362 * configure.in (build_nscd): New substituted variable, set
14363 by --disable-build-nscd and defaults to $use_nscd.
14364 * configure: Regenerated.
14365 * config.make.in (build-nscd): New substituted variable.
14366 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14367 Change conditional to require [$(build-nscd) = yes] as well.
14368 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14369
3cc3ef96
RM
14370 [BZ# 13696]
14371 * configure.in (use_nscd): New substituted variable, set by
14372 --disable-nscd. If enabled, define USE_NSCD.
14373 * configure: Regenerated.
14374 * config.h.in: Add USE_NSCD.
14375 * config.make.in (use-nscd): New substituted variable.
14376 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14377 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14378 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14379 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14380 (CFLAGS-getgrnam_r.c): Likewise.
14381 (CFLAGS-initgroups.c): Likewise.
14382 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14383 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14384 Variables removed.
14385 * inet/getnetgrent_r.c
14386 (nscd_setnetgrent): New function, broken out of ...
14387 (setnetgrent): ... here. Call it.
14388 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14389 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14390 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14391 * nscd/Makefile (routines, aux): Move definitions after include of
14392 Makeconfig. Conditionalize on [$(use-nscd) != no].
14393 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14394 Conditionalize on [USE_NSCD].
14395 (is_nscd, nscd_init_cb): Likewise.
14396 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14397 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14398 * nss/nss_db/db-init.c: Likewise.
14399 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14400 [USE_NSCD].
14401 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14402 (make_request): Use it.
14403 (cache_valid_p): New function.
14404 (__check_pf): Use it.
14405 * NEWS: Add item for --disable-nscd.
14406
07e51550
DL
144072012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14408
14409 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14410 to support sed >= 4.2.1-20-ga9bf076.
14411 * configure: Regenerated.
14412
35a5b08b
RM
144132012-08-22 Roland McGrath <roland@hack.frob.com>
14414
14415 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14416 Conditionalize whole body on [IREL].
14417
8479f23a
JL
144182012-08-22 Jeff Law <law@redhat.com>
14419
14420 [BZ #14505]
14421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14422 if the family is PF_UNSPEC.
14423
48da0b21
MF
144242012-08-22 Mike Frysinger <vapier@gentoo.org>
14425
14426 * Makerules (lib-version): Rename from V.
14427 (install-lib-nosubdir): Change V to lib-version.
14428
15d0da8c
WS
144292012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14430
14431 [BZ #14252]
14432 * powerpc32/power6/wcschr.c: New file.
14433 * powerpc32/power6/wcscpy.c: New file.
14434 * powerpc32/power6/wcsrchr.c: New file.
14435 * powerpc64/power6/wcschr.c: New file.
14436 * powerpc64/power6/wcscpy.c: New file.
14437 * powerpc64/power6/wcsrchr.c: New file.
14438
bcca0895
MK
144392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14440
14441 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14442 (two_way_short_needle): Use it.
5a4aaa33
RM
14443 * string/strstr.c (AVAILABLE1_USES_J): Define.
14444 * string/strcasestr.c: Likewise.
99677e57
MK
14445
14446 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14447 array references.
14448 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14449
400726de
MK
14450 [BZ #11607]
14451 * NEWS: Add an entry.
14452 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14453 define their defaults.
14454 (two_way_short_needle): Detect end-of-string on-the-fly.
14455 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14456 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14457 * string/bug-strcasestr1.c: New test.
14458 * string/Makefile: Run it.
14459
20a71f2c
MK
144602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14461
14462 [BZ #11607]
14463 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14464 the first character.
14465
21ad0558
RM
144662012-08-21 Roland McGrath <roland@hack.frob.com>
14467
14468 * csu/elf-init.c (__libc_csu_irel): Function removed.
14469 * csu/libc-start.c (apply_irel): New function.
14470 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14471
0e1d9911
JM
144722012-08-21 Joseph Myers <joseph@codesourcery.com>
14473
14474 * sysdeps/unix/sysv/linux/kernel-features.h
14475 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14476 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14477 <kernel-features.h>.
14478 [__NR_fadvise64_64]: Make code unconditional.
14479 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14480 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14481 !__NR_fadvise64_64)]: Likewise.
14482 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14483 !__NR_fadvise64_64))]: Likewise.
14484 [__NR_fadvise64]: Make code unconditional.
14485 [!__NR_fadvise64]: Remove conditional code.
14486 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14487 <kernel-features.h>.
14488 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14489 unconditional.
14490 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14491 conditional code.
14492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14493 not include <kernel-features.h>.
14494 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14495 unconditional.
14496 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14497 conditional code.
14498 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14499 include <kernel-features.h>.
14500 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14501 unconditional.
14502 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14503 conditional code.
14504
14a50c9d
WS
145052012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14506
14507 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14508 slight instruction rearrangements per scrollpipe analysis.
14509 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14510
c0f4faf0
RM
145112012-08-20 Roland McGrath <roland@hack.frob.com>
14512
696da859
RM
14513 * manual/syslog.texi (syslog; vsyslog, closelog):
14514 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14515 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14516
c0f4faf0
RM
14517 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14518 DSOCAPS to match condition on defining it.
14519
348363b2
JM
145202012-08-20 Joseph Myers <joseph@codesourcery.com>
14521
a35cbf28
JM
14522 * sysdeps/unix/sysv/linux/kernel-features.h
14523 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14525 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14526 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14528 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14529 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14531 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14532 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14533
445f7ecd
JM
14534 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14535 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14536
348363b2
JM
14537 * sysdeps/unix/sysv/linux/kernel-features.h
14538 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14539 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14540 unconditional.
14541 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14542 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14543 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14544 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14545 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14546 Make code unconditional.
14547 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14548 (__mmap64) [!__NR_mmap2]: Likewise.
14549 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14550 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14551 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14552 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14553 [__NR_mmap2]: Make code unconditional.
14554 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14555 (__mmap64) [!__NR_mmap2]: Likewise.
14556
bc5bc0e5
AK
145572012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14558
14559 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14560
88d506de
AJ
145612012-08-18 Andreas Jaeger <aj@suse.de>
14562
14563 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14564
493387d2
MF
145652012-08-18 Mike Frysinger <vapier@gentoo.org>
14566
14567 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14568 * include/unistd.h (__have_sock_cloexec): Likewise.
14569 (__have_pipe2): Likewise.
14570 (__have_dup3): Likewise.
14571
a277af22
MF
145722012-08-18 Mike Frysinger <vapier@gentoo.org>
14573
14574 [BZ #9685]
14575 * include/unistd.h (__have_pipe2): Change define into an extern int.
14576 (__have_dup3): Likewise.
14577 * socket/have_sock_cloexec.c: Include fcntl.h.
14578 (__have_pipe2): New variable.
14579 (__have_dup3): Likewise.
14580
fdab8fd3
MF
145812012-08-17 Mike Frysinger <vapier@gentoo.org>
14582
14583 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14584
31035e80
MP
145852012-08-17 Marek Polacek <polacek@redhat.com>
14586
14587 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14588 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14589
3bd9e993
RM
145902012-08-17 Roland McGrath <roland@hack.frob.com>
14591
c91c505f
RM
14592 * configure.in: Add AC_SUBST for sysheaders.
14593 * configure: Regenerated.
14594 * config.make.in (sysheaders): New substituted variable.
14595
7c6f9d53
RM
14596 * sysdeps/unix/mkfifo.c: Moved ...
14597 * sysdeps/posix/mkfifo.c: ... here.
14598 * sysdeps/unix/mkfifoat.c: Moved ...
14599 * sysdeps/posix/mkfifoat.c: ... here.
14600
14601 * sysdeps/unix/utime.c: Moved ...
14602 * sysdeps/posix/utime.c: ... here.
14603
14604 * sysdeps/unix/time.c: Moved ...
14605 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14606 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14607 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14608
14609 * sysdeps/unix/nice.c: Moved ...
14610 * sysdeps/posix/nice.c: ... here.
14611
14612 * sysdeps/unix/alarm.c: Moved ...
14613 * sysdeps/posix/alarm.c: ... here.
14614
3bd9e993
RM
14615 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14616
d1f09384
JL
146172012-08-17 Jeff Law <law@redhat.com>
14618
14619 * intl/Makefile (codeset_mo): New variable.
14620 ($(codeset_mo)): New target.
14621 (tst-codeset.out): Depend on that. Remove explicit rule.
14622 (tst-gettext3.out, tst-gettext5.out): Likewise.
14623 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14624 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14625 * intl/tst-codeset.sh: Remove.
14626 * intl/tst-gettext3.sh: Likewise.
14627 * intl/tst-gettext5.sh: Likewise.
14628
2ae1ae5c
RM
146292012-08-17 Roland McGrath <roland@hack.frob.com>
14630
c31fdb83
RM
14631 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14632 * sysdeps/unix/syscalls.list: ... here.
14633
a0844057
RM
14634 * sysdeps/posix/getaddrinfo.c
14635 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14636 (gaiconf_init, gaiconf_reload): Use them.
14637 [!_STATBUF_ST_NSEC]
14638 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14639 Define using time_t rather than struct timespec.
14640
750c1f2a
RM
14641 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14642 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14643 Macros removed.
14644 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14645 [!NO_THREADS].
14646 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14647 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14648 Likewise.
14649
2ae1ae5c
RM
14650 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14651 __libc_cleanup_push argument.
14652
e66a42f5
RM
14653 * bits/param.h: New file.
14654 * misc/sys/param.h: New file.
14655 * include/sys/param.h: New file.
14656 * misc/Makefile (headers): Add bits/param.h.
14657 * sysdeps/generic/sys/param.h: File removed.
14658 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14659 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14660 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14661 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14662
b7c08a66
RM
14663 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14664 last change.
14665
b2e1c562
RM
14666 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14667 [_IO_MTSAFE_IO].
14668 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14669 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14670 New macros.
14671
c75ccd4c
RM
14672 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14673 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14674 rather than -D_IO_MTSAFE_IO conditionally.
14675 * stdio-common/Makefile (CPPFLAGS): Likewise.
14676 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14677 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14678 Use $(libio-mtsafe).
14679 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14680 of -D_IO_MTSAFE_IO.
14681 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14682 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14683 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14684 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14685 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14686 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14687 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14688 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14689 (CFLAGS-fread_u_chk.c): Likewise.
14690 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14691 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14692 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14693 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14694 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14695 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14696 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14697 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14698 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14699
14700 * libio/Makefile: Test [$(libc-reentrant) = yes]
14701 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14702
14703 * Makeconfig
14704 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14705 * sysdeps/pthread/configure: File removed.
14706 * sysdeps/pthread/Makeconfig: New file.
14707 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14708 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14709
d9195db8
GB
147102012-08-16 Gary Benson <gbenson@redhat.com>
14711
14712 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14713 unmapping the first object in a namespace.
14714
86466cd9
RM
147152012-08-16 Roland McGrath <roland@hack.frob.com>
14716
14717 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14718 (__internal_setnetgrent): ... this. Add internal_function to
14719 definition. Add libc_hidden_def.
14720 (setnetgrent): Update caller.
14721 (internal_endnetgrent): Renamed to ...
14722 (__internal_endnetgrent): ... this. Add internal_function to
14723 definition. Add libc_hidden_def.
14724 (endnetgrent): Update caller.
14725 (internal_getnetgrent_r): Renamed to ...
14726 (__internal_getnetgrent_r): ... this. Add internal_function to
14727 definition. Add libc_hidden_def.
14728 (__getnetgrent_r): Update caller.
14729 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14730
c3c8283c
JM
147312012-08-16 Joseph Myers <joseph@codesourcery.com>
14732
14733 * stdlib/longlong.h: Update from GCC.
14734
db1ee0a8
RM
147352012-08-16 Roland McGrath <roland@hack.frob.com>
14736
14737 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14738 on _QL, which is set by umul_ppmm but never used.
14739 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14740 variables, which are set by GMP macros but never used.
14741 * stdio-common/_itowa.c (_itowa): Likewise.
14742 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14743 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14744
30f69637
CD
147452012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14746
14747 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14748 struct La_sh_regs is not constant.
14749 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14750 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14751 and struct La_sparc64_regs are not constant.
14752
93a78ac4
JM
147532012-08-16 Joseph Myers <joseph@codesourcery.com>
14754
14755 * sysdeps/unix/sysv/linux/kernel-features.h
14756 (__ASSUME_POSIX_TIMERS): Remove.
14757 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14758 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14759 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14760 Make code unconditional.
14761 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14762 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14763 Make code unconditional.
14764 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14765 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14766 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14767 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14768 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14769 Make code unconditional.
14770 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14771 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14772 (__libc_missing_posix_timers): Remove.
14773
dd924cd7
RM
147742012-08-15 Roland McGrath <roland@hack.frob.com>
14775
4b4f2771
RM
14776 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14777 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14778
601c888b
RM
14779 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14780
176790a7
RM
14781 * elf/dl-sym.c: Include <stdlib.h>.
14782
329bc018
RM
14783 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14784 constants, which avoids warnings in 32-bit builds.
14785
e04e272d
RM
14786 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14787 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14788
952bf94a
RM
14789 * misc/lseek.c: File moved to ...
14790 * io/lseek.c: ... here.
14791
7c99b50a
RM
14792 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14793
dd924cd7
RM
14794 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14795 shifting LEN more than 31 bits at once.
14796
b3f479a8
LD
147972012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14798
14799 [BZ #14195]
8c4ae0d4
RM
14800 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14801 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14802 * string/test-strncasecmp.c (check1): Renamed to...
14803 (bz12205): ...this.
14804 (bz14195): Add new testcase for two empty input strings and N > 0.
14805 (test_main): Call new testcase, adapt for renamed function.
14806
9c55864e
AJ
148072012-08-15 Andreas Jaeger <aj@suse.de>
14808
14809 [BZ #14090]
14810 * crypt/md5test2.c: New test, based on test supplied by Serge
14811 Belyshev <belyshev@depni.sinp.msu.ru>.
14812 * crypt/Makefile (xtests): Add md5test-giant..
14813 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14814
02dcb6c5
PE
148152012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14816
14817 [BZ #14090]
14818 * crypt/md5.c (md5_process_block): Don't assume the buffer
14819 length is less than 2**32.
14820 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14821 length is less than 2**64.
14822
a3f95dcc
RM
148232012-08-15 Roland McGrath <roland@hack.frob.com>
14824
be75d758
RM
14825 * string/str-two-way.h: Include <sys/param.h>.
14826 (MAX): Macro removed.
14827
7312ca90
RM
14828 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14829 Move #define and #undef of memmove to just before and after
14830 including <string.h>.
14831
9a0a5486
RM
14832 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14833 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14834 and after including <string.h>. Move declarations of
14835 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14836 to before #include "string/memmove.c".
14837
67cc348d
RM
14838 * include/dirent.h: Declare __getdirentries.
14839
a3f95dcc
RM
14840 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14841 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14842
ca98e171
MF
148432012-08-14 Mike Frysinger <vapier@gentoo.org>
14844
14845 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14846 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14847 * sysdeps/i386/configure: Regenerated.
14848 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14849 STABS_CURRENT_FILE, and STABS_FUN.
14850 (END): Remove call to STABS_FUN_END.
14851 (STABS_CURRENT_FILE1): Delete.
14852 (STABS_CURRENT_FILE): Likewise.
14853 (STABS_FUN): Likewise.
14854 (STABS_FUN_END): Likewise.
14855 (STABS_FUN2): Likewise.
14856 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14857 * sysdeps/x86_64/configure: Regenerated.
14858
5908bf46
RM
148592012-08-14 Roland McGrath <roland@hack.frob.com>
14860
14861 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14862 * elf/dl-lookup.c: Likewise.
5908bf46 14863
f2c05b9e
JM
148642012-08-14 Joseph Myers <joseph@codesourcery.com>
14865
14866 * sysdeps/unix/sysv/linux/kernel-features.h
14867 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14868 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14869 unconditionally.
14870 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14871 unconditionally.
14872 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14873 condition on __ASSUME_CLONE_THREAD_FLAGS.
14874
e11f5155
AJ
148752012-08-14 Andreas Jaeger <aj@suse.de>
14876
14877 * sysdeps/i386/fpu/libm-test-ulps: Update.
14878
51a9ba86
MK
148792012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14880
2fdd4f78
AJ
14881 * include/atomic.h (atomic_exchange_and_add): Split into ...
14882 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14883 New atomic macros.
51a9ba86 14884
ba6cba9e
MT
148852012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14886
14887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14888
42443a47
JL
148892012-08-13 Jeff Law <law@redhat.com>
14890
14891 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14892 null byte in the output string.
14893
121dce05
JM
148942012-08-10 Joseph Myers <joseph@codesourcery.com>
14895
14896 * sysdeps/unix/sysv/linux/kernel-features.h
14897 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14898 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14899 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14900 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14901 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14902 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14903 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14904
bf51f568
JL
149052012-08-09 Jeff Law <law@redhat.com>
14906
14907 [BZ #13939]
14908 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14909 When avoid_arena is set, don't retry in the that arena. Pick the
14910 next one, whatever it might be.
14911 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14912 (arena_lock): Pass in new parameter to arena_get2.
14913 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14914 arena_get2.
14915 (__libc_malloc): Unify retrying after main arena failure with
14916 __libc_memalign version.
14917 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14918
f85fa270
L
149192012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14920
14921 [BZ #14166]
14922 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14923 to __redirect_strstr.
14924 (__strstr_sse42): Use typeof __redirect_strstr.
14925 (__strstr_ia32): Likewise.
14926 (__libc_strstr): New prototype.
14927 (strstr): Renamed to ...
14928 (__libc_strstr): This.
14929 (strstr): New strong alias of __libc_strstr.
14930 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14931 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14932 __redirect_time.
14933 Include <time.h>.
14934 (__libc_time): New prototype.
14935 (time_ifunc): Replace time with __libc_time.
14936 (time): New strong alias and hidden definition of __libc_time.
14937 (__GI_time): Remove strong alias.
14938 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14939 Include <stddef.h>.
14940 (memmove): Redefined to __redirect_memmove.
14941 (__memmove_sse2): Use typeof __redirect_memmove.
14942 (__memmove_ssse3): Likewise.
14943 (__memmove_ssse3_back): Likewise.
14944 (__libc_memmove): New prototype.
14945 (memmove): Renamed to ...
14946 (__libc_memmove): This.
14947 (memmove): New strong alias of __libc_memmove.
14948
33b4a91e
MS
149492012-08-08 Mark Salter <msalter@redhat.com>
14950
14951 * elf/elf.h
14952 (R_MN10300_TLS_GD): Define.
14953 (R_MN10300_TLS_LD): Likewise.
14954 (R_MN10300_TLS_LDO): Likewise.
14955 (R_MN10300_TLS_GOTIE): Likewise.
14956 (R_MN10300_TLS_IE): Likewise.
14957 (R_MN10300_TLS_LE): Likewise.
14958 (R_MN10300_TLS_DTPMOD): Likewise.
14959 (R_MN10300_TLS_DTPOFF): Likewise.
14960 (R_MN10300_TLS_TPOFF): Likewise.
14961 (R_MN10300_SYM_DIFF): Likewise.
14962 (R_MN10300_ALIGN): Likewise.
14963 (R_MN10300_NUM): Update.
14964
b36137f1
JM
149652012-08-08 Joseph Myers <joseph@codesourcery.com>
14966
14967 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14968 Remove.
14969
cdd915fd
RM
149702012-08-08 Roland McGrath <roland@hack.frob.com>
14971
a2433aac
RM
14972 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14973
cdd915fd
RM
14974 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14975 sysdeps/unix -> sysdeps/posix move.
14976 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14977
bf9b740a
AM
149782012-08-07 Allan McRae <allan@archlinux.org>
14979
14980 [BZ #14303]
14981 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14982 (SUNOS_CPP): Likewise.
14983 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14984 not found.
14985 (open_input): Call CPP using execvp.
14986
93df14ee
JM
149872012-08-07 Joseph Myers <joseph@codesourcery.com>
14988
14989 * sysdeps/unix/sysv/linux/kernel-features.h
14990 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14991 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14992 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14993 (__ASSUME_WAITID_SYSCALL): Likewise.
14994 * sysdeps/unix/sysv/linux/dl-execstack.c
14995 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14996 code unconditional.
14997 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14998 conditional code.
14999 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15000 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15001 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15002 code.
15003 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15004 unconditional.
15005 [__ASSUME_WAITID_SYSCALL]: Likewise.
15006 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15007
d34689de
RM
150082012-08-07 Roland McGrath <roland@hack.frob.com>
15009
a281decc
RM
15010 * sysdeps/unix/closedir.c: Renamed to ...
15011 * sysdeps/posix/closedir.c: ... here.
15012 * sysdeps/unix/dirfd.c: Renamed to ...
15013 * sysdeps/posix/dirfd.c: ... here.
15014 * sysdeps/unix/dirstream.h: Renamed to ...
15015 * sysdeps/posix/dirstream.h: ... here.
15016 * sysdeps/unix/fdopendir.c: Renamed to ...
15017 * sysdeps/posix/fdopendir.c: ... here.
15018 * sysdeps/unix/opendir.c: Renamed to ...
15019 * sysdeps/posix/opendir.c: ... here.
15020 * sysdeps/unix/readdir.c: Renamed to ...
15021 * sysdeps/posix/readdir.c: ... here.
15022 * sysdeps/unix/readdir_r.c: Renamed to ...
15023 * sysdeps/posix/readdir_r.c: ... here.
15024 * sysdeps/unix/rewinddir.c: Renamed to ...
15025 * sysdeps/posix/rewinddir.c: ... here.
15026 * sysdeps/unix/seekdir.c: Renamed to ...
15027 * sysdeps/posix/seekdir.c: ... here.
15028 * sysdeps/unix/telldir.c: Renamed to ...
15029 * sysdeps/posix/telldir.c: ... here.
15030 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15031 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15032 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15033 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15034
22895b47
RM
15035 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15036 * bits/fcntl.h: ... here.
15037
707a53b6
RM
15038 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15039 not 0.
15040 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15041 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15042 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15043 (struct flock): Move l_start, l_len to the beginning.
15044 Use __pid_t for l_pid.
15045 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15046 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15047 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15048 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15049 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15050 [__USE_LARGEFILE64] (struct flock64): New type.
15051 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15052
f0bd3e25
RM
15053 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15054 * bits/dirent.h: ... here.
15055
d34689de
RM
15056 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15057 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15058
6dad2c06
JM
150592012-08-07 Joseph Myers <joseph@codesourcery.com>
15060
15061 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15062 Change from 2.6.0 to 2.6.16.
15063 * sysdeps/unix/sysv/linux/configure: Regenerated.
15064 * sysdeps/unix/sysv/linux/kernel-features.h
15065 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15066 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15067 version.
15068 (__ASSUME_UTIMES): Likewise.
15069 (__ASSUME_CLONE_STOPPED): Remove.
15070 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15071 architectures, not kernel version.
15072 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15073 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15074 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15075 (__ASSUME_WAITID_SYSCALL): Likewise.
15076 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15077 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15078 * README: State 2.6.16 as minimum Linux kernel version. Do not
15079 refer to older versions.
15080
03af9520
RM
150812012-08-06 Roland McGrath <roland@hack.frob.com>
15082
8e49df1d
RM
15083 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15084 Define alphasort64 as an alias.
15085 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15086 Define versionsort64 as an alias.
15087 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15088 Define scandir64 as an alias.
15089 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15090 Define scandirat64 as an alias.
15091 * dirent/alphasort64.c (alphasort64):
15092 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15093 * dirent/versionsort64.c: Likewise.
15094 * dirent/scandir64.c: Likewise.
15095 * dirent/scandirat64.c: Likewise.
15096 * sysdeps/wordsize-64/alphasort.c: File removed.
15097 * sysdeps/wordsize-64/alphasort64.c: File removed.
15098 * sysdeps/wordsize-64/scandir.c: File removed.
15099 * sysdeps/wordsize-64/scandir64.c: File removed.
15100 * sysdeps/wordsize-64/scandirat.c: File removed.
15101 * sysdeps/wordsize-64/scandirat64.c: File removed.
15102 * sysdeps/wordsize-64/versionsort.c: File removed.
15103 * sysdeps/wordsize-64/versionsort64.c: File removed.
15104 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15105 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15106 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15107 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15108 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15109 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15110 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15111 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15112
15113 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15115 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15117 [defined __arch64__ || defined __sparcv9]
15118 (__INO_T_MATCHES_INO64_T): New macro.
15119 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15120 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15121 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15122 * sysdeps/unix/sysv/linux/bits/dirent.h
15123 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15124 (_DIRENT_MATCHES_DIRENT64): New macro.
15125
03af9520
RM
15126 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15127 Define lockf64 as an alias.
15128 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15129 Define fseeko64 as an alias.
15130 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15131 Define ftello64 as an alias.
15132 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15133 Define _IO_fgetpos64 and fgetpos64 as aliases.
15134 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15135 Define _IO_fsetpos64 and fsetpos64 as aliases.
15136 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15137 Conditionalize body on this.
15138 * libio/fseeko64.c: Likewise.
15139 * libio/ftello64.c: Likewise.
15140 * libio/iofgetpos64.c: Likewise.
15141 * libio/iofsetpos64.c: Likewise.
15142 * sysdeps/wordsize-64/lockf.c: File removed.
15143 * sysdeps/wordsize-64/lockf64.c: File removed.
15144 * sysdeps/wordsize-64/fseeko.c: File removed.
15145 * sysdeps/wordsize-64/fseeko64.c: File removed.
15146 * sysdeps/wordsize-64/ftello.c: File removed.
15147 * sysdeps/wordsize-64/ftello64.c: File removed.
15148 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15149 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15150 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15151 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15152 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15153 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15154 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15155 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15156 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15157 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15158 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15159 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15160 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15161 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15162
15163 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15165 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15167 [defined __arch64__ || defined __sparcv9]
15168 (__OFF_T_MATCHES_OFF64_T): New macro.
15169 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15170 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15171 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15172 (__OFF_T_MATCHES_OFF64_T): New macro.
15173
c5757acd
L
151742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15175
15176 * stdlib/secure-getenv.c (__secure_getenv): Replace
15177 GLIBC_2_16 with GLIBC_2_17.
15178
3a31811e
L
151792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15180
15181 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15182 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15183
faa2bccb
DM
151842012-08-03 David S. Miller <davem@davemloft.net>
15185
15186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15187
85fe1997
JM
151882012-08-03 Joseph Myers <joseph@codesourcery.com>
15189
15190 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15191 Remove.
15192 (__ASSUME_CORRECT_SI_PID): Likewise.
15193 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15194 (__ASSUME_TMPFS_NAME): Likewise.
15195 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15196 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15197 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15198 (HAVE_AUX_SECURE): Make definition unconditional.
15199 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15200 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15201
4f75b7a0
RM
152022012-08-03 Roland McGrath <roland@hack.frob.com>
15203
15204 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15205 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15206 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15207 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15208 __eloop_threshold instead of SYMLOOP_MAX.
15209
15210 * sysdeps/generic/eloop-threshold.h: New file.
15211 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15212 of MAXSYMLINKS.
15213 * elf/chroot_canon.c (chroot_canon): Likewise.
15214
7aab07e4
JM
152152012-08-03 Joseph Myers <joseph@codesourcery.com>
15216
15217 [BZ #13717]
15218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15219 Change to 2.6.0 everywhere.
15220 * sysdeps/unix/sysv/linux/configure: Regenerated.
15221 * sysdeps/unix/sysv/linux/kernel-features.h
15222 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15223 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15224 kernel versions.
15225 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15226 (__ASSUME_FUTEX_REQUEUE): Remove.
15227 (__ASSUME_STATFS64): Define unconditionally.
15228 (__ASSUME_AT_SECURE): Likewise.
15229 (__ASSUME_CORRECT_SI_PID): Likewise.
15230 (__ASSUME_TGKILL): Define without depending on kernel version for
15231 i386.
15232 (__ASSUME_UTIMES): Likewise.
15233 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15234 kernel version.
15235 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15236 (__ASSUME_TMPFS_NAME): Likewise.
15237 * README: Update reference to Linux kernel versions.
15238
b67e9372
MP
152392012-08-02 Marek Polacek <polacek@redhat.com>
15240
1f529f7d 15241 [BZ# 14150]
b67e9372
MP
15242 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15243 libc_cv_asm_type_prefix with %.
15244 * configure: Regenerated.
d2441631
RM
15245 * include/libc-symbols.h: Remove comment about
15246 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15247 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15248 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15249 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15250 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15251 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15252 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15253 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15254 * elf/tst-unique2mod1.c: Likewise.
15255 * elf/tst-unique1mod2.c: Likewise.
15256 * elf/tst-unique1mod1.c: Likewise.
15257 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15258 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15259 Replace ASM_TYPE_DIRECTIVE with .type.
15260 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15261 * sysdeps/i386/sysdep.h: Likewise.
15262 * sysdeps/x86_64/sysdep.h: Likewise.
15263 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15265 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15266 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15267 * sysdeps/powerpc/powerpc32/sysdep.h:
15268 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15269 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15270 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15271 * sysdeps/i386/fpu/e_powf.S: Likewise.
15272 * sysdeps/i386/fpu/e_expl.S: Likewise.
15273 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15274 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15275 * sysdeps/i386/fpu/e_pow.S: Likewise.
15276 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15277 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15278 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15279 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15280 * sysdeps/i386/fpu/e_log2.S: Likewise.
15281 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15282 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15283 * sysdeps/i386/fpu/e_powl.S: Likewise.
15284 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15285 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15286 * sysdeps/i386/fpu/e_logl.S: Likewise.
15287 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15288 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15289 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15290 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15291 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15292 * sysdeps/i386/fpu/e_log.S: Likewise.
15293 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15294 * sysdeps/i386/fpu/e_logf.S: Likewise.
15295 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15296 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15297 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15298 * sysdeps/i386/fpu/e_log10.S: Likewise.
15299 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15300 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15301 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15302 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15303 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15304 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15305 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15306 * sysdeps/i386/i686/strtok.S: Likewise.
15307 * sysdeps/i386/i386-mcount.S: Likewise.
15308 * sysdeps/i386/strtok.S: Likewise.
15309 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15310 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15311 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15312 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15313 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15314 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15315 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15316 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15317 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15318 * sysdeps/x86_64/_mcount.S: Likewise.
15319 * sysdeps/x86_64/strtok.S: Likewise.
15320 * sysdeps/sh/_mcount.S: Likewise.
15321
2747bf9a
RM
153222012-08-01 Roland McGrath <roland@hack.frob.com>
15323
15324 * libio/iofopen.c: Include <fcntl.h>.
15325 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15326 (_IO_fopen64, fopen64): Define as aliases.
15327 * libio/iofopen64.c: Include <fcntl.h>.
15328 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15329 Conditionalize body on this.
15330 * sysdeps/wordsize-64/iofopen.c: File removed.
15331 * sysdeps/wordsize-64/iofopen64.c: File removed.
15332
3fb791b8
MP
153332012-08-01 Marek Polacek <polacek@redhat.com>
15334
15335 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15336 Use dlfcn directly instead of a variable.
15337 (binfmt-subdir): Do not define.
15338 (dlfcn): Likewise.
15339
a9f1039f
JM
153402012-08-01 Joseph Myers <joseph@codesourcery.com>
15341
23bddc06
JM
15342 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15343 Remove all definitions.
15344 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15345 <kernel-features.h>.
15346 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15347 (miss_F_GETOWN_EX): Remove all definitions.
15348 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15349 macro definition.
15350 [!__ASSUME_FCNTL64]: Remove conditional code.
15351 [__ASSUME_FCNTL64]: Make code unconditional.
15352 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15353 <kernel-features.h>.
15354 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15355 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15356 (lockf64) [__NR_fcntl64]: Make code unconditional.
15357 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15358
a9f1039f
JM
15359 * sysdeps/unix/sysv/linux/kernel-features.h
15360 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15361 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15362 Make code unconditional.
15363 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15364 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15366 [__NR_vfork]: Make code unconditional.
15367 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15368 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15370 [__NR_vfork]: Make code unconditional.
15371 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15372 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15373
09c0ee5f
RM
153742012-08-01 Roland McGrath <roland@hack.frob.com>
15375
48aec5b9
RM
15376 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15377 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15378
cd97c966
RM
15379 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15380 Define mkstemp64 as an alias.
3f55550c
RM
15381 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15382 Define mkstemps64 as an alias.
cd97c966
RM
15383 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15384 Define mkostemp64 as an alias.
b8625cfc
RM
15385 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15386 Define mkostemps64 as an alias.
cd97c966
RM
15387 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15388 Conditionalize body on this.
15389 * misc/mkostemp64.c: Likewise.
b8625cfc 15390 * misc/mkostemps64.c: Likewise.
3f55550c 15391 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15392 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15393 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15394 * sysdeps/wordsize-64/mkostemp.c: File removed.
15395 * sysdeps/wordsize-64/mkstemp.c: File removed.
15396 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15397 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15398 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15399 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15400
09c0ee5f
RM
15401 [BZ #14138]
15402 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15403 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15404 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15405 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15406
15407 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15408 compat_symbol macros from <shlib-compat.h> rather than the underlying
15409 default_symbol_version and symbol_version macros, so that DEFAULT
15410 lines in shlib-versions are respected.
15411 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15412
7e66ee51
FW
154132012-08-01 Florian Weimer <fweimer@redhat.com>
15414
15415 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15416 Declare with warn_unused_result.
15417 (setgid, setregid, setegid, setresgid): Likewise.
15418 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15419 Likewise.
15420 * WUR-REPORT: Remove set*id functions.
15421
d2a54255
PT
154222012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15423
15424 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15425
7ecdb005
RM
154262012-07-31 Roland McGrath <roland@hack.frob.com>
15427
b4180a5e 15428 [BZ #10191]
789bd351
RM
15429 * include/sys/socket.h (__libc_accept, __libc_accept4):
15430 Add attribute_hidden.
15431 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15432
40ce302d
RM
15433 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15434 use of PTR_MANGLE.
15435 * inet/getnetgrent_r.c (setup): Likewise.
15436
7ecdb005
RM
15437 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15438
e2eabb2c
DM
154392012-07-31 David S. Miller <davem@davemloft.net>
15440
15441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15442
d0419dbf
JM
154432012-07-31 Joseph Myers <joseph@codesourcery.com>
15444
15445 [BZ #13629]
15446 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15447 value between 1.0 and 2.0 and smaller part has absolute value less
15448 than 1.0.
15449 * math/s_clog10.c (__clog10): Likewise.
15450 * math/s_clog10f.c (__clog10f): Likewise.
15451 * math/s_clog10l.c (__clog10l): Likewise.
15452 * math/s_clogf.c (__clogf): Likewise.
15453 * math/s_clogl.c (__clogl): Likewise.
15454 * math/libm-test.inc (clog_test): Add more tests.
15455 (clog10_test): Likewise.
15456 * sysdeps/i386/fpu/libm-test-ulps: Update.
15457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15458
2bc13872
FW
154592012-07-31 Florian Weimer <fweimer@redhat.com>
15460
15461 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15462 Exit with zero in case no suitable GID is found, and write a
15463 message to standard error.
15464
bea9b193
RM
154652012-07-30 Roland McGrath <roland@hack.frob.com>
15466
15467 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15468 rather than to 1.
15469 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15470 (MAXPATHLEN): Removed.
15471 (NOGROUP, NODEV): New macros.
15472 (setbit, clrbit, isset, isclr): New macros.
15473 (howmany, roundup, powerof2): New macros.
15474 (DEV_BSIZE): New macro.
15475
15476 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15477 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15478
15479 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15480 definition on [!__NO_LONG_DOUBLE_MATH].
15481
15482 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15483 PTR_MANGLE and PTR_DEMANGLE.
15484
15485 * socket/accept4.c (accept4): Rename to __libc_accept4.
15486 Define accept4 as a weak alias.
15487
15488 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15489 on [_DIRENT_HAVE_D_TYPE].
15490 * io/ftw.c (ftw_dir): Likewise.
15491
15492 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15493
15494 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15495
15496 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15497 Use the BSD numbers rather than the arbitrary ones we had.
15498 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15499 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15500 (SIGXCPU, SIGXFSZ): New macros.
15501 (_NSIG): Now 32.
15502
15503 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15504 initializer on [_LIBC_REENTRANT].
15505
15506 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15507 definitions inside [_POSIX_MAPPED_FILES].
15508
15509 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15510
15511 * dirent/opendir.c: Include <fcntl.h>.
15512
15513 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15514 (__libc_getspecific): Likewise.
15515 (__libc_key_create): Likewise.
15516
15517 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15518 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15519 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15520 (tmpfile64): Define as alias.
15521 * sysdeps/wordsize-64/tmpfile.c: File removed.
15522 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15523 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15524 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15525
15526 * stdio-common/vfscanf.c: Include <stdbool.h>.
15527 * nss/makedb.c: Likewise.
15528 * stdio-common/_i18n_number.h: Likewise.
15529 * argp/argp-help.c: Likewise.
15530 * posix/wordexp.c: Likewise.
15531 * sysdeps/posix/spawni.c: Likewise.
15532 * nss/nss_files/files-initgroups.c: Likewise.
15533 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15534 * nss/nss_files/files-initgroups.c: Likewise.
15535 * nss/nss_db/db-netgrp.c: Likewise.
15536 * nss/nss_db/db-initgroups.c: Likewise.
15537 * io/fchmodat.c: Include <sys/stat.h>.
15538
15539 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15540 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15541
15542 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15543 [HAVE_MMAP].
15544
15545 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15546 Add multiple inclusion protection.
15547
e5abc686
DM
155482012-07-27 David S. Miller <davem@davemloft.net>
15549
15550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15551
815e6fa3
GB
155522012-07-27 Gary Benson <gbenson@redhat.com>
15553
15554 [BZ #14298]
15555 * elf/rtld.c: Include <stap-probe.h>.
15556 (dl_main): Added static probes "init_start" and "init_complete".
15557 * elf/dl-load.c: Include <stap-probe.h>.
15558 (lose): Take new parameter "nsid".
15559 Added static probe "map_failed".
15560 (_dl_map_object_from_fd): Pass namespace id to lose.
15561 Added static probe "map_start".
15562 (open_verify): Pass namespace id to lose.
15563 * elf/dl-open.c: Include <stap-probe.h>.
15564 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15565 and "reloc_complete".
15566 * elf/dl-close.c: Include <stap-probe.h>.
15567 (_dl_close_worker): Added static probes "unmap_start" and
15568 "unmap_complete".
15569 * elf/rtld-debugger-interface.txt: New file documenting the above.
15570
9f98c16c
RM
155712012-07-26 Roland McGrath <roland@hack.frob.com>
15572
15573 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15574 rather than a string variable.
15575 * sunrpc/rpc_main.c (h_output): Likewise.
15576 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15577
f3c22df3
PT
155782012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15579
15580 * inet/check_native.c: New file.
15581
3129cfc6
JM
155822012-07-26 Joseph Myers <joseph@codesourcery.com>
15583
da865e95
JM
15584 [BZ #13629]
15585 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15586 if larger part has absolute value 1.0.
15587 * math/s_clog10.c (__clog10): Likewise.
15588 * math/s_clog10f.c (__clog10f): Likewise.
15589 * math/s_clog10l.c (__clog10l): Likewise.
15590 * math/s_clogf.c (__clogf): Likewise.
15591 * math/s_clogl.c (__clogl): Likewise.
15592 * math/libm-test.inc (clog_test): Add more tests.
15593 (clog10_test): Likewise.
15594 * sysdeps/i386/fpu/libm-test-ulps: Update.
15595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15596
3129cfc6
JM
15597 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15598 (pltexit): Likewise.
15599 (La_regs): Likewise.
15600 (La_retval): Likewise.
15601 (int_retval): Likewise.
15602 Update #error for removed macros to refer only to definitions in
15603 tst-audit.h.
15604 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15605 macro.
15606 (pltexit): Likewise.
15607 (La_regs): Likewise.
15608 (La_retval): Likewise.
15609 (int_retval): Likewise.
15610 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15611 macro.
15612 (pltexit): Likewise.
15613 (La_regs): Likewise.
15614 (La_retval): Likewise.
15615 (int_retval): Likewise.
15616 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15617 macro.
15618 (pltexit): Likewise.
15619 (La_regs): Likewise.
15620 (La_retval): Likewise.
15621 (int_retval): Likewise.
15622 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15623 macro.
15624 (pltexit): Likewise.
15625 (La_regs): Likewise.
15626 (La_retval): Likewise.
15627 (int_retval): Likewise.
15628 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15629 macro.
15630 (pltexit): Likewise.
15631 (La_regs): Likewise.
15632 (La_retval): Likewise.
15633 (int_retval): Likewise.
15634 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15635 macro.
15636 (pltexit): Likewise.
15637 (La_regs): Likewise.
15638 (La_retval): Likewise.
15639 (int_retval): Likewise.
15640 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15641 macro definitions in tst-audit.h.
15642 * sysdeps/i386/tst-audit.h: New file.
15643 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15644 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15645 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15646 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15647 * sysdeps/sh/tst-audit.h: Likewise.
15648 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15649 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15650 * sysdeps/x86_64/tst-audit.h: Likewise.
15651
bfc07087
AJ
156522012-07-26 Andreas Jaeger <aj@suse.de>
15653
b1b2aaf8
AJ
15654 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15655 ptrace.
15656
15657 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15658 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15659 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15660 PTRACE_O_MASK.
15661 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15662 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15663 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15664
bfc07087
AJ
15665 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15666 value.
15667
15668 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15669 _sigsys.
15670 (si_call_addr, si_syscall, si_arch): Define new macro.
15671 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15672 _sigsys.
15673 (si_call_addr, si_syscall, si_arch): Define new marcro.
15674 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15675 _sigsys.
15676 (si_call_addr, si_syscall, si_arch): Define new macro.
15677 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15678 _sigsys.
15679 (si_call_addr, si_syscall, si_arch): Define new macro.
15680
89b4b02f
JM
156812012-07-25 Joseph Myers <joseph@codesourcery.com>
15682
15683 [BZ #13717]
15684 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15685 Change to 2.4.21 where previously 2.4.1.
15686 * sysdeps/unix/sysv/linux/configure: Regenerated.
15687 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15688 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15689 Linux kernel version.
15690 (__ASSUME_STD_AUXV): Remove.
15691 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15692 kernel version.
15693 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15694 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15695 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15696 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15697 (__ASSUME_NETLINK_SUPPORT): Likewise.
15698 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15699 (__no_netlink_support): Remove conditional definition.
15700 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15701 Remove.
15702 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15703 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15704 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15705 (if_nameindex_ioctl): Remove.
15706 (if_nameindex_netlink): Do not handle __no_netlink_support.
15707 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15708 code.
15709 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15710 Remove conditional code.
15711 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15712 code.
15713 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15714 unconditional.
15715 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15716 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15717 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15718 Remove.
15719 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15720 [!__ASSUME_STD_AUXV]: Remove conditional code.
15721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15722 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15723 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15725 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15726 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15727 code.
15728 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15730 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15731 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15732 conditional code.
15733 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15735 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15736 code.
15737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15738 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15739 conditional code.
15740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15741 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15742 code unconditional.
15743 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15744 conditional code.
15745 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15746 unconditional.
15747 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15748 conditional code.
15749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15750 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15751 unconditional.
15752 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15753 conditional code.
15754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15755 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15756 code unconditional.
15757 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15758 conditional code.
15759 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15760 unconditional.
15761 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15762 conditional code.
15763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15764 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15765 code unconditional.
15766 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15767 conditional code.
15768 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15769 unconditional.
15770 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15771 conditional code.
15772
842a39cd
AS
157732012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15774
15775 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15776 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15777 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15778 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15779 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15780 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15781 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15782 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15783 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15784 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15785 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15786 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15787 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15788 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15789 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15790 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15791 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15792 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15793 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15795 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15796 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15797 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15798
84b3fd84
FW
157992012-07-25 Florian Weimer <fweimer@redhat.com>
15800
15801 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15802 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15803 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15804 Introduce __libc_secure_getenv.
0c7936d5
FW
15805 * stdlib/Versions (2.17): Add secure_getenv
15806 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15807 * stdlib/secure-getenv.c: Rename __secure_getenv to
15808 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15809 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15810 * stdlib/tst-secure-getenv.c: New.
15811 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15812 * manual/startup.texi (Environment Access): Document
15813 secure_getenv.
84b3fd84
FW
15814 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15815 __libc_secure_getenv.
15816 * inet/ruserpass.c (ruserpass): Likewise.
15817 * malloc/mtrace.c (mtrace): Likewise.
15818 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15819 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15820 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15821 * sysdeps/posix/tempname.c: Likewise. Evaluate
15822 HAVE_SECURE_GETENV.
15823 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15824 __secure_getenv to __libc_secure_getenv.
84b3fd84 15825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15827 Likewise.
15828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15829 Likewise.
15830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15837
56e49b71
JM
158382012-07-25 Joseph Myers <joseph@codesourcery.com>
15839
15840 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15841 (struct La_i86_retval): Likewise.
15842 (struct La_x86_64_regs): Likewise.
15843 (struct La_x86_64_retval): Likewise.
15844 (struct La_x32_regs): Likewise.
15845 (struct La_x32_retval): Likewise.
15846 (struct La_ppc32_regs): Likewise.
15847 (struct La_ppc32_retval): Likewise.
15848 (struct La_ppc64_regs): Likewise.
15849 (struct La_ppc64_retval): Likewise.
15850 (struct La_sh_regs): Likewise.
15851 (struct La_sh_retval): Likewise.
15852 (struct La_s390_32_regs): Likewise.
15853 (struct La_s390_32_retval): Likewise.
15854 (struct La_s390_64_regs): Likewise.
15855 (struct La_s390_64_retval): Likewise.
15856 (struct La_sparc32_regs): Likewise.
15857 (struct La_sparc32_retval): Likewise.
15858 (struct La_sparc64_regs): Likewise.
15859 (struct La_sparc64_retval): Likewise.
15860 (struct audit_ifaces): Remove architecture-specific pltenter and
15861 pltexit members.
15862 * sysdeps/i386/ldsodefs.h: New file.
15863 * sysdeps/powerpc/ldsodefs.h: Likewise.
15864 * sysdeps/s390/ldsodefs.h: Likewise.
15865 * sysdeps/sh/ldsodefs.h: Likewise.
15866 * sysdeps/sparc/ldsodefs.h: Likewise.
15867 * sysdeps/x86_64/ldsodefs.h: Likewise.
15868
354691b7
MP
158692012-07-25 Marek Polacek <polacek@redhat.com>
15870
15871 [BZ #6808]
15872 * math/libm-test.inc (yn_test): Add another test.
15873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15874 to ERANGE when the result is +-Inf.
15875 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15876 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15877 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15878 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15879
bf9e2071
JM
158802012-07-24 Joseph Myers <joseph@codesourcery.com>
15881
15882 * conform/data/time.h-data (NULL): Use macro-constant. Require
15883 equal to 0.
15884 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15885 clock_t.
15886 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15887
57633811
TS
158882012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15889
15890 * configure.in <sysdeps resolving>: Correct printing
15891 Implies_before.
15892 * configure: Regenerate.
15893
c23c33b0
TS
158942012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15895
15896 * math/w_ilogb.c: Include <limits.h>.
15897 * math/w_ilogbl.c: Likewise.
15898
b5982523
JM
158992012-07-20 Joseph Myers <joseph@codesourcery.com>
15900
15901 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15902 va_copy. Document allowing for unavailable va_copy only as
15903 pre-C99 compatibility.
15904 * manual/string.texi (Copying and Concatenation): Use va_copy
15905 instead of __va_copy in concat example.
15906
ac4ea442
PT
159072012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15908
15909 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15910 (__sendto): Use create_address_port. Initialize APORT and deallocate
15911 it if not null.
15912
f98eafbd
PT
15913 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15914 with O_NOLINK passed to __file_name_lookup.
15915
898c7aab
PT
15916 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15917 with O_NOLINK passed to __file_name_lookup.
15918
0ced335a
PT
15919 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15920 negative N or less than NGIDS.
15921
b3404dbd
PT
15922 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15923 type to string_t. Set ERANGE as errno and return it if NAME is not big
15924 enough. Use memcpy instead of strncpy.
15925
0f48659e
JM
159262012-07-20 Joseph Myers <joseph@codesourcery.com>
15927
15928 * elf/Makefile (check-data): Remove.
15929 (localplt.data): New vpath directive.
15930 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15931 instead of $(check-data).
15932 * scripts/data/localplt-generic.data: Move to ...
15933 * sysdeps/generic/localplt.data: ... here.
15934 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15935 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15936 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15938 ... here.
15939 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15941 ... here.
15942 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15944 ... here.
15945 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15947 ... here.
15948 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15950 ... here.
15951 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15953 ... here.
15954
d37cbdaa
AZ
159552012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15956
15957 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15958 PPC32 and PPC64 files.
15959 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15960 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15961
46f85fc2
AK
159622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15963
15964 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15965 __makecontext_ret to ...
15966 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15967 ... here and call exit if uc_link is NULL. New file.
15968 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15969 __makecontext_ret.S.
15970 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15971 __makecontext_ret to ...
15972 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15973 ... here and call exit if uc_link is NULL. New file.
15974 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15975 __makecontext_ret.S.
15976
08f43f9b
AK
159772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15978
15979 * elf/elf.h (R_390_IRELATIVE): New definition.
15980 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15981 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15982 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15983 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15984 (elf_machine_lazy_rel): Likewise.
15985 * sysdeps/s390/dl-irel.h: New file.
15986 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15987 * sysdeps/s390/s390-64/memset.S: New asm code.
15988 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15989 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15990 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15991 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15992 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15993 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15994 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15995 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15996 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15997 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15998 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15999 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16000 * sysdeps/s390/s390-32/memset.S: New asm code.
16001 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16002
3b05db33
MP
160032012-07-17 Marek Polacek <polacek@redhat.com>
16004
16005 [BZ #14349]
16006 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16007 * sysdeps/s390/s390-64/configure.in: Likewise.
16008 * sysdeps/sparc/configure.in: Likewise.
16009 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16010 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16011 * sysdeps/i386/configure.in: Likewise.
16012 * sysdeps/x86_64/configure.in: Likewise.
16013 * sysdeps/sh/configure.in: Likewise.
16014 * sysdeps/s390/s390-32/configure: Regenerated.
16015 * sysdeps/s390/s390-64/configure: Likewise.
16016 * sysdeps/x86_64/configure: Likewise.
16017 * sysdeps/sh/configure: Likewise.
16018 * sysdeps/powerpc/powerpc64/configure: Likewise.
16019 * sysdeps/powerpc/powerpc32/configure: Likewise.
16020 * sysdeps/sparc/configure: Likwise.
16021 * sysdeps/i386/configure: Likewise.
16022
a66877c6
MP
16023 * elf/dl-open.c: Comment fixes.
16024
cfc82fd8
JM
160252012-07-17 Joseph Myers <joseph@codesourcery.com>
16026
bd29910a
JM
16027 * Makefile [CXX] (check-data): Remove.
16028 [CXX] (c++-types.data): New vpath directive.
16029 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16030 vpath. Do not allow for C++ type data being missing.
16031 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16032 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16033 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16034 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16035 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16036 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16037 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16039 ... here.
16040 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16042 ... here.
16043 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16045 ... here.
16046 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16048 ... here.
16049 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16051 ... here.
16052 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16054 ... here.
16055 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16057 ... here.
16058 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16060
cfc82fd8
JM
16061 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16062 definitions to architecture-specific files.
16063 (TLS_IE): Likewise.
16064 (TLS_LD): Likewise.
16065 (TLS_GD): Likewise.
16066 * sysdeps/i386/tls-macros.h: New file.
16067 * sysdeps/powerpc/tls-macros.h: Likewise.
16068 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16069 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16070 * sysdeps/sh/tls-macros.h: Likewise.
16071 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16072 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16073 * sysdeps/x86_64/tls-macros.h: Likewise.
16074
f7db3170
TS
160752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16076
07cbfc23
TS
16077 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16078 zero value for regular exit case.
16079
f7db3170
TS
16080 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16081 (__start_context): Preserve zero value for regular exit case.
16082
dc97c227
TS
160832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16084 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16085
16086 * manual/setjmp.texi (setcontext): Clarify normal process
16087 termination when uc_link is the null pointer.
16088 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16089 exit call.
16090
d0cd7d02
AS
160912012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16092
16093 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16094 preprocessor. Test for each exception mask separately.
16095
dd318934
AJ
160962012-07-16 Andreas Jaeger <aj@suse.de>
16097
16098 * po/ru.po: Update from translation team.
16099
8048311a
JM
161002012-07-15 Joseph Myers <joseph@codesourcery.com>
16101
16102 * conform/data/string.h-data (NULL): Use macro-constant. Require
16103 equal to 0.
16104 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16105 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16106 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16107 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16109
b637d46e
AJ
161102012-07-13 Andreas Jaeger <aj@suse.de>
16111
16112 * po/fr.po: Update from translation team.
16113
541428fe
MP
161142012-07-12 Marek Polacek <polacek@redhat.com>
16115
16116 [BZ #14173]
16117 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16118 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16119 loop condition.
16120
ec332e94
JM
161212012-07-12 Joseph Myers <joseph@codesourcery.com>
16122
16123 [BZ #13717]
16124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16125 Change to 2.4.1 where previously 2.4.0.
16126 * sysdeps/unix/sysv/linux/configure: Regenerated.
16127 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16128 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16129 version.
16130 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16131 (__ASSUME_AT_CLKTCK): Remove.
16132 (__ASSUME_AT_PAGESIZE): Likewise.
16133 (__ASSUME_AT_XID): Likewise.
16134 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16135 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16136 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16137 unconditionally.
16138 (HAVE_AUX_PAGESIZE): Likewise.
16139 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16140 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16141 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16142
7b6e99be
JB
161432012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16144
16145 [BZ #14307]
16146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16147 the temporary buffer used to invoke __gethostbyname2_r,
16148 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16149 host_data / struct gaih_addrtuple.
16150 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16151 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16152 header file nss/nsswitch.h.
16153 * nss/nsswitch.h (global scope): Add definition of implementation
16154 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16155 resolv/nss_dns/dns-host.c).
16156
608404eb
AJ
161572012-07-11 Andreas Jaeger <aj@suse.de>
16158
16159 * po/fr.po: Update from translation team.
16160
71220aca
AJ
16161 * po/sv.po: Update from translation team
16162 * po/fr.po: Another update from translation team.
16163
28cfe843
AZ
161642012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16165
16166 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16167 for subnormals or multiply small sinh result by itself.
16168 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16170
6b90f981
DM
161712012-07-11 David S. Miller <davem@davemloft.net>
16172
16173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16174
c6825772
AS
161752012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16176
16177 [BZ #14347]
16178 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16179 (INTERNAL_MARK): Shift it here.
16180
7b8e0d49
MP
161812012-07-10 Marek Polacek <polacek@redhat.com>
16182
16183 [BZ #14151]
16184 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16185 libc_cv_asm_global_directive with .globl.
16186 * configure: Regenerated.
16187 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16188 with .globl.
16189 * sysdeps/i386/configure: Regenerated.
16190 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16191 with .globl.
16192 * sysdeps/x86_64/configure: Regenerated.
16193 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16194 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16195 * elf/tst-unique2mod2.c: Likewise.
16196 * elf/tst-unique2mod1.c: Likewise.
16197 * elf/tst-unique1mod2.c: Likewise.
16198 * elf/tst-unique1mod1.c: Likewise.
16199 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16200 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16201 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16202 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16203 * sysdeps/mach/sysdep.h: Likewise.
16204 * sysdeps/i386/sysdep.h: Likewise.
16205 * sysdeps/i386/i386-mcount.S: Likewise.
16206 * sysdeps/x86_64/_mcount.S: Likewise.
16207 * sysdeps/x86_64/sysdep.h: Likewise.
16208 * sysdeps/sh/_mcount.S: Likewise.
16209 * sysdeps/sh/sysdep.h: Likewise.
16210 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16211 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16212 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16213 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16214 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16215 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16216 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16217 * locale/localeinfo.h: Likewise.
16218 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16219 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16220
6c55cda3
RM
162212012-07-09 Roland McGrath <roland@hack.frob.com>
16222
16223 [BZ #14336]
16224 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16225 system".
16226 * manual/message.texi (The Uniforum approach): Likewise.
16227 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16228 (glibc iconv Implementation): Likewise.
16229
638a572e
JM
162302012-07-09 Joseph Myers <joseph@codesourcery.com>
16231
16232 [BZ #14337]
16233 * math/s_clog.c (__clog): Avoid scaling a value down where that
16234 could result in underflow.
16235 * math/s_clog10.c (__clog10): Likewise.
16236 * math/s_clog10f.c (__clog10f): Likewise.
16237 * math/s_clog10l.c (__clog10l): Likewise.
16238 * math/s_clogf.c (__clogf): Likewise.
16239 * math/s_clogl.c (__clogl): Likewise.
16240 * math/libm-test.inc (clog_test): Add more tests.
16241 (clog10_test): Likewise.
16242 * sysdeps/i386/fpu/libm-test-ulps: Update.
16243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16244
261f4859
AS
162452012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16246
0abaf3e4
AS
16247 [BZ #14283]
16248 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16249 by 7 not 8 to examine high bit of fractional part.
16250
261f4859
AS
16251 [BZ #14042]
16252 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16253 for call to __mcount_internal.
16254 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16255 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16256 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16257
f17ac40d
JM
162582012-07-06 Joseph Myers <joseph@codesourcery.com>
16259
9ad63c23
JM
16260 [BZ #14154]
16261 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16262 approximation for values within 0x1p-13f of an odd multiple of
16263 pi/4.
16264 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16265 exception. Add more tests.
16266 * sysdeps/i386/fpu/libm-test-ulps: Update.
16267
f17ac40d
JM
16268 [BZ #6778]
16269 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16270 inputs and return -1 for them. Do not check for +Inf in case not
16271 reachable for +Inf.
16272 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16273 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16274 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16275 and return -1 for them. Do not check for +Inf in case not
16276 reachable for +Inf.
16277 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16278 define.
16279 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16280 and return -1 for them. Do not check for +Inf in case not
16281 reachable for +Inf.
16282 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16283 spurious underflow.
16284 * sysdeps/i386/fpu/libm-test-ulps: Update.
16285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16286
fb21f89b
MF
162872012-07-06 Mike Frysinger <vapier@gentoo.org>
16288
16289 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16290
cdfe2c5e
JM
162912012-07-05 Joseph Myers <joseph@codesourcery.com>
16292
16293 [BZ #14157]
16294 [BZ #14331]
16295 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16296 could result in spurious underflow. Scale down values above
16297 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16298 * math/s_csqrtf.c (__csqrtf): Likewise.
16299 * math/s_csqrtl.c (__csqrtl): Likewise.
16300 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16301 spurious underflow.
16302 * sysdeps/i386/fpu/libm-test-ulps: Update.
16303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16304
70d35b67
AS
163052012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16306
704bc459
AS
16307 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16308 xopen-msg.sed.
16309 * catgets/xopen-msg.awk: New file.
16310 * catgets/xopen-msg.sed: Removed.
16311
70d35b67
AS
16312 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16313 po2text.sed.
16314 * intl/po2test.awk: New file.
16315 * intl/po2test.sed: Removed.
16316
ca61cf32
JM
163172012-07-04 Joseph Myers <joseph@codesourcery.com>
16318
16319 [BZ #14328]
16320 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16321 or multiply small sinh result by itself.
16322 * math/s_ctanf.c (__ctanf): Likewise.
16323 * math/s_ctanh.c (__ctanh): Likewise.
16324 * math/s_ctanhf.c (__ctanhf): Likewise.
16325 * math/s_ctanhl.c (__ctanhl): Likewise.
16326 * math/s_ctanl.c (__ctanl): Likewise.
16327 * math/libm-test.inc (ctan_test_tonearest): New function.
16328 (ctan_test_towardzero): Likewise.
16329 (ctan_test_downward): Likewise.
16330 (ctan_test_upward): Likewise.
16331 (ctanh_test_tonearest): Likewise.
16332 (ctanh_test_towardzero): Likewise.
16333 (ctanh_test_downward): Likewise.
16334 (ctanh_test_upward): Likewise.
16335 (main): Call these new functions.
16336 * sysdeps/i386/fpu/libm-test-ulps: Update.
16337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16338
ca48a46a
MF
163392012-07-03 Mike Frysinger <vapier@gentoo.org>
16340
16341 * .gitignore: Delete /ports entry.
16342
9d63d37d
AJ
163432012-07-03 Andreas Jaeger <aj@suse.de>
16344
16345 * po/bg.po: Update from translation team.
16346 * po/cs.po: Likewise.
16347 * po/de.po: Likewise.
16348 * po/hr.po: Likewise.
16349 * po/nl.pl: Likewise.
16350 * po/pl.po: Likewise.
16351 * po/vi.po: Likewise.
16352
370ca3d2
JM
163532012-07-03 Joseph Myers <joseph@codesourcery.com>
16354
95f5a9a8
JM
16355 * Makeconfig [!+link] (+link-before-libc): New variable.
16356 [!+link] (+link-after-libc): Likewise.
16357 [!+link] (+link-tests): Likewise.
16358 [!+link] (+link): Define in terms of $(+link-before-libc) and
16359 $(+link-after-libc).
16360 [!+link-static] (+link-static-before-libc): New variable.
16361 [!+link-static] (+link-static-after-libc): Likewise.
16362 [!+link-static] (+link-static-tests): Likewise.
16363 [!+link-static] (+link-static): Define in terms of
16364 $(+link-static-before-libc) and $(+link-static-after-libc).
16365 [build-shared] (link-libc-before-gnulib): New variable.
16366 [build-shared] (link-libc-tests): Likewise.
16367 [build-shared] (link-libc): Define in terms of
16368 $(link-libc-before-gnulib).
16369 [!build-shared] (link-libc-tests): New variable.
16370 (link-libc-static-tests): New variable.
16371 [!gnulib] (gnulib-arch): New variable.
16372 [!gnulib] (gnulib-tests): Likewise.
16373 [!gnulib] (static-gnulib-arch): Likewise.
16374 [!gnulib] (static-gnulib-tests): Likewise.
16375 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16376 Define with "=" instead of ":=".
16377 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16378 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16379 * Rules (binaries-all-notests): New variable.
16380 (binaries-all-tests): Likewise.
16381 (binaries-static-notests): Likewise.
16382 (binaries-static-tests): Likewise.
16383 (binaries-all): Define using $(binaries-all-notests) and
16384 $(binaries-all-tests).
16385 (binaries-static): Define using $(binaries-static-notests) and
16386 $(binaries-static-tests).
16387 (binaries-shared-tests): New variable.
16388 (binaries-shared-notests): Likewise.
16389 (binaries-shared): Remove variable.
16390 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16391 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16392 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16393 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16394 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16395 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16396 * elf/Makefile (sln-modules): New variable.
16397 (extra-objs): Add $(sln-modules:=.o).
16398 (ldconfig-modules): Add static-stubs.
16399 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16400 * elf/static-stubs.c: New file.
16401
7a845b2c
JM
16402 [BZ #14283]
16403 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16404 by 7 not 8 to examine high bit of fractional part. Use volatile
16405 variables when splitting into final array of floats if
16406 __FLT_EVAL_METHOD__ != 0.
16407 * math/libm-test.inc (cos_test): Add another test.
16408 (sin_test): Likewise.
16409 * sysdeps/i386/fpu/libm-test-ulps: Update.
16410
e2283f38
JM
16411 [BZ #14273]
16412 * math/libm-test.inc (cosh_test): Add more tests.
16413
370ca3d2
JM
16414 * version.h (RELEASE): Set to "development".
16415 (VERSION): Set to "2.16.90".
16416
ee9247c3
CD
164172012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16418
16419 * NEWS: Update copyright. Remove last-updated date.
16420 Mention math library bug fixes and timezone data changes.
16421 * README: Mention GNU/Hurd, x32, and HPPA support status.
16422
4648c381
TS
164232012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16424
16425 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16426
aac78a43
AJ
164272012-06-27 Andreas Jaeger <aj@suse.de>
16428
16429 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16430
ed3dbfad
AJ
164312012-06-25 Andreas Jaeger <aj@suse.de>
16432
16433 * sysdeps/s390/fpu/libm-test-ulps: Update.
16434
4d0ee855
AS
164352012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16436 Thomas Schwinge <thomas@codesourcery.com>
16437
16438 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16439 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16440 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16441 fanotify_mark.
16442
af1bce34
TS
164432012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16444
a9fa33ba
TS
16445 * sysdeps/mach/start.c: Remove file.
16446 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16447 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16448 * sysdeps/sh/init-first.c: Likewise.
16449
58f902b8
TS
16450 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16451 registers for frame unwinding purposes, add CFI directives.
16452 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16453 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16454 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16455 Likewise.
16456
1518f58b
TS
16457 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16458 __fortify_fail returning.
16459 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16460
db9b5059
TS
16461 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16462 sysdeps/sh/____longjmp_chk.S.
16463 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16464 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16465 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16466 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16467
967705fe
TS
16468 * sysdeps/sh/abort-instr.h: New file.
16469 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16470 process in case exit returns.
16471
a9def8c4
TS
16472 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16473 initialize the GOT register before use.
16474
2a649725
TS
16475 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16476 calculation of ARGC > 4.
16477
af1bce34
TS
16478 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16479 meaningful names to some local labels.
16480
d230f50a
KK
164812012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16482 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16483
16484 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16485 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16486 (__arch_compare_and_exchange_val_16_acq): Likewise.
16487 (__arch_compare_and_exchange_val_32_acq): Likewise.
16488 (atomic_exchange_and_add): Fix gUSA sequence.
16489 (atomic_add): Likewise.
16490 (atomic_add_negative): Likewise.
16491 (atomic_add_zero): Likewise.
16492 (atomic_bit_test_set): Likewise.
16493
0479b305
AS
164942012-06-22 Andreas Schwab <schwab@redhat.com>
16495
16496 [BZ #13579]
16497 * include/link.h (struct link_map): Add l_free_initfini.
16498 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16499 l_initfini.
16500 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16501 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16502 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16503 set.
16504
0e3933b9
CD
165052012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16506
16507 * configure.in: Use AC_LANG_SOURCE.
16508 * configure: Regenerate.
16509
4248b1b1
RM
165102012-06-22 Roland McGrath <roland@hack.frob.com>
16511
16512 * configure.in (libc_cv_localstatedir): New substituted variable.
16513 * configure: Regenerated.
16514 * config.make.in (localstatedir): New variable, substituted from
16515 libc_cv_localstatedir.
16516 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16517 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16518 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16519 * sysdeps/gnu/configure: Regenerated.
16520
006dd861
JL
165212012-06-21 Jeff Law <law@redhat.com>
16522
16523 [BZ #14277]
16524 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16525 free. Simplify list management for _LIBC case.
16526
79662d42
JM
165272012-06-21 Joseph Myers <joseph@codesourcery.com>
16528
b7abb4bf
JM
16529 [BZ #14273]
16530 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16531 Clear sign bit of 64-bit integer value before comparing against
16532 overflow value.
16533
79662d42
JM
16534 * sysdeps/mach/configure: Regenerated.
16535
1f150908
L
165362012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16537
16538 [BZ #14278]
16539 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16540
28363bbf
JL
165412012-06-21 Jeff Law <law@redhat.com>
16542
16543 [BZ #13882]
16544 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16545 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16546 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16547 * elf/dl-open.c (dl_open_worker): Likewise.
16548
09615db4
CD
165492012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16550
16551 * scripts/list-sources.sh: Scan PORTS for translations.
16552 * po/libc.pot: Regenerated.
16553
2174c6dd
AJ
165542012-06-21 Andreas Jaeger <aj@suse.de>
16555
16556 [BZ #12194]
16557 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16558 warning.
16559 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16560 * bits/byteswap-16.h (__bswap_16): Likewise.
16561 * bits/byteswap.h (__bswap_constant_16): Likewise.
16562
3ee947b1
L
165632012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16564
16565 [BZ #14117]
a2f34833
L
16566 * sysdeps/i386/fpu_control.h: Removed.
16567 * sysdeps/x86_64/fpu_control.h: Moved to ...
16568 * sysdeps/x86/fpu_control.h: Here.
16569
3ee947b1
L
16570 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16571 (_FPU_SETCW): Likewise.
16572
ed1825f8
L
165732012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16574
25f1282a
L
16575 [BZ #14117]
16576 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16577 * sysdeps/x86/fpu/bits/mathinline.h: This.
16578 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16579
ed1825f8
L
16580 [BZ #14050]
16581 [BZ #14117]
16582 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16583 functions if __x86_64__ is defined.
16584
36d54b74
CLT
165852012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16586
16587 * string/endian.h: Add !__ASSEMBLER__ condition for including
16588 conversion interfaces.
16589
10285c21
JM
165902012-06-15 Joseph Myers <joseph@codesourcery.com>
16591
16592 [BZ #14241]
16593 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16594 of ABS(x) in calculating zero to negative powers other than odd
16595 integers.
16596 * math/libm-test.inc (pow_test): Add more tests.
16597
06c5abbd
AJ
165982012-06-15 Andreas Jaeger <aj@suse.de>
16599
16600 * manual/contrib.texi (Contributors): Update entry of Liubov
16601 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16602 Machado Filho.
16603
a3aeac40
CH
166042012-06-15 Cyril Hrubis <metan@ucw.cz>
16605
16606 * string/string.h: Add __wur to GNU version of strerror_r.
16607
49bdf4c1
L
166082012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16609
16610 [BZ #14229]
16611 * string/Makefile (tests): Add tst-strtok_r.
16612 * string/tst-strtok_r.c: New file.
16613 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16614 RAX_LP/RDX_LP on SAVE_PTR.
16615
834f9b8d
RM
166162012-06-14 Roland McGrath <roland@hack.frob.com>
16617
16618 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16619
75fa1921
JM
166202012-06-14 Joseph Myers <joseph@codesourcery.com>
16621
16622 * libm_test.inc (csqrt_test): Allow more spurious underflow
16623 exceptions.
16624 (j0_test): Likewise.
16625 (j1_test): Likewise.
16626 (y0_test): Likewise.
16627 (y1_test): Likewise.
16628
771766df
CD
166292012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16630
16631 * po/Makefile (libc.pot): Use UTF-8 charset.
16632
ceb9e56b
PP
166332012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16634
16635 [BZ #14210]
16636 Suppress sign-conversion warning from FD_SET.
16637 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16638 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16639 not unsigned long int.
16640 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16641
ddb28975
L
166422012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16643
16644 [BZ #14050]
16645 [BZ #14117]
16646 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16647 __extern_always_inline instead of __extern_inline.
16648 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16649 (__signbit): Likewise.
16650 (__signbitl): Support C++ namespace.
16651 (lrintf): New inline function.
16652 (lrint): Likewise.
16653 (llrintf): Likewise.
16654 (llrint): Likewise.
16655 (fmaxf): Likewise.
16656 (fmax): Likewise.
16657 (fminf): Likewise.
16658 (fmin): Likewise.
16659 (rint): Likewise.
16660 (rintf): Likewise.
16661 (ceil): Likewise.
16662 (ceilf): Likewise.
16663 (floor): Likewise.
16664 (floorf): Likewise.
16665 (nearbyint): Likewise.
16666 (nearbyintf): Likewise.
16667
d7b4fb26
TS
166682012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16669
16670 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16671 non-default versions.
16672
eb55f5c2
RM
166732012-06-11 Roland McGrath <roland@hack.frob.com>
16674
16675 [BZ #14218]
16676 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16677
366af02c
TS
166782012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16679
99ff6e5c
TS
16680 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16681 (FE_UPWARD, FE_DOWNWARD): Don't define.
16682 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16683 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16684
366af02c
TS
16685 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16686 reading it.
16687 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16688 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16689
793ea851
KK
166902012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16691
16692 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16693 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16694 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16695 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16696
a728a38f
L
166972012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16698
16699 [BZ #14117]
c08010c7
L
16700 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16701 * sysdeps/i386/fpu/Implies: New file.
16702 * sysdeps/x86_64/fpu/Implies: Likewise.
16703 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16704 * sysdeps/x86/fpu/bits/fenv.h: This.
16705
a728a38f
L
16706 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16707 __SSE_MATH__.
16708
6e230d11
SP
167092012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16710
16711 [BZ #14134]
16712 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16713 character 0xffff that matches the last element of the
16714 conversion table.
16715
1b671feb
AZ
167162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16717
16718 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16719 fmodl commit.
16720
6043738b
AZ
167212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16722
16723 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16724 values higher than 25.6283.
16725
34ae0b32
AZ
167262012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16727
16728 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16729 subnormal exponent extraction and add some __builtin_expect.
16730 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16731 Fix for subnormal mantissa calculation.
16732
1214ec8f
MF
167332012-06-04 Mike Frysinger <vapier@gentoo.org>
16734
16735 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16736 cpu2 is -1 and errno is not ENOSYS.
16737
f3d1f93c
L
167382012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16739
16740 [BZ #14117]
0e4a3cd7
L
16741 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16742 * sysdeps/x86/bits/string.h: This.
16743 * sysdeps/x86_64/bits/string.h: Removed.
16744
6704c645
L
16745 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16746 if not compiling for x86-64, but compiling for >= i486.
16747
48495318
L
16748 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16749 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16750
14adcbfc
L
16751 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16752 New macro from Linux kernel 3.4.0.
16753 (FP_XSTATE_MAGIC2): Likewise.
16754 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16755 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16756 (struct _fpx_sw_bytes): New struct.
16757 (struct _xsave_hdr): Likewise.
16758 (struct _ymmh_state): Likewise.
16759 (struct _xstate): Likewise.
16760
68e408ab
L
16761 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16762 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16763 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16764 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16765 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16766 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16767
f3d1f93c
L
16768 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16769 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16770 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16771 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16772 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16773 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16774
d9dc34cd
TMQMF
167752012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16776
16777 [BZ #13743]
16778 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16779 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16780 (sysdep_headers): Include sys/platform/ppc.h.
16781 * sysdeps/powerpc/test-gettimebase.c: Test for
16782 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16783 * manual/Makefile (appendices): Include platform.texi.
16784 * manual/contrib.texi (Contributors): Update @node pointers.
16785 * manual/maint.texi (Maintenance): Likewise.
16786 (Platform): New node.
16787 * manual/platform.texi: New file. Document the new features.
16788
4af3879c
SP
167892012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16790 Jakub Jelinek <jakub@redhat.com>
16791
16792 [BZ #14188]
16793 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16794 where __builtin_expect is unavailable.
16795
2fd6ff13
DM
167962012-06-03 David S. Miller <davem@davemloft.net>
16797
16798 * stdlib/longlong.h: Updated from GCC.
16799
173f7220
AS
168002012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16801
16802 [BZ #14042]
16803 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16804 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16805 __mcount_internal.
16806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16807 (GLIBC_2.16): Likewise.
16808
f34a1c6f
L
168092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16810
16811 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16812
88a4576f
JM
168132012-06-01 Joseph Myers <joseph@codesourcery.com>
16814
ea32bcdd
JM
16815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16816 (default-abi): New variable.
16817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16818 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16819 variable.
16820 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16821 Likewise.
16822 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16823 Likewise.
16824 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16825 Likewise.
16826
88a4576f
JM
16827 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16828 definition. Document in comment.
16829
402fe938
DM
168302012-06-01 David S. Miller <davem@davemloft.net>
16831
16832 * stdlib/longlong.h: Updated from GCC.
16833
3553723f
L
168342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16835
16836 [BZ #14117]
3bd872c4
L
16837 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16838 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16839 sys/debugreg.h sys/io.h here.
16840 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16841 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16842 sys/io.h.
16843 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16844 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16845 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16846 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16847 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16848 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16849
3553723f
L
16850 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16851 Define only if __x86_64__ is defined.
16852
4842e4fe
JM
168532012-06-01 Joseph Myers <joseph@codesourcery.com>
16854
c5bfe3d5
JM
16855 [BZ #14048]
16856 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16857 Use int64_t for variable i.
16858 * math/libm-test.inc (fmod_test): Add more tests.
16859
4842e4fe
JM
16860 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16861 z computation is not scheduled after fetestexcept.
16862 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16863 Use math_force_eval instead of asm to ensure calculation scheduled
16864 before exception test.
16865 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16866 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16867
efb73488
AJ
168682012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16869
16870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16871 computation is not scheduled after fetestexcept.
16872
29bcce7c
L
168732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16874
16875 [BZ #14117]
16876 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16877 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16878
73a68f94
AZ
168792012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16880
16881 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16882 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16883
67b6df78
L
168842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16885
edf2933a 16886 [BZ #14117]
ebc64a18
L
16887 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16888 <bits/wordsize.h>.
16889 (__WCHAR_MIN): Support __WORDSIZE == 64.
16890 (__WCHAR_MAX): Likewise.
16891
edf2933a
L
16892 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16893 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16894
57c6cf40
L
16895 [BZ #14183]
16896 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16897 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16898
67b6df78 16899 [BZ #14117]
8eb6281e
L
16900 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16901 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16902
aac639f4
L
16903 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16904 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16905
67b6df78
L
16906 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16907 Defined to 1 if __x86_64__ isn't defined.
16908 (_STAT_VER_LINUX_OLD): New.
16909 (st_atime): Remove duplicate.
16910 (st_mtime): Likewise.
16911 (st_ctime): Likewise.
16912
1c2cfe81
DM
169132012-05-31 David S. Miller <davem@davemloft.net>
16914
16915 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16916 entries.
16917
5be8418c
AS
169182012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16919
e7725326
AS
16920 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16921 gen-libm-test.pl.
16922
5be8418c
AS
16923 [BZ #14132]
16924 * elf/dl-reloc.c: Include <_itoa.h>.
16925 (_dl_reloc_bad_type): Remove use of INTUSE.
16926 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16927 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16928 * stdio-common/psiginfo.c (psiginfo): Likewise.
16929 * stdio-common/psignal.c (psignal): Likewise.
16930 * string/strsignal.c (strsignal): Likewise.
16931 * include/signal.h (_sys_siglist): Declare hidden proto.
16932 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16933 INTVARDEF with libc_hidden_data_def.
16934 * stdio-common/itoa-udigits.c: Likewise.
16935 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16936 (_itoa_lower_digits_internal): Remove declaration.
16937 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16938 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16939 (_sys_sigabbrev_internal): Remove aliases.
16940 (_sys_siglist): Define hidden alias.
16941
507352f1
MT
169422012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16943
16944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16945 bits/sysctl.h.
16946
42bbb1c3
L
169472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16948
16949 [BZ #14117]
6bd784b6
L
16950 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16951 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16952
8bca20f0
L
16953 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16954 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16955 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16956 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16957 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16958 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16959
f9e890a9
L
16960 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16961 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16962 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16963
471101a1
L
16964 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16965 with __addr.
16966 (insw): Likewise.
16967 (insl): Likewise.
16968 (outsb): Likewise.
16969 (outsw): Likewise.
16970 (outsl): Likewise.
16971
6451c862
L
16972 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16973 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16974 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16975
a254b8c9
L
16976 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16977 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16978 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16979 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16980 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16981 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16982
b8dfdd92
L
16983 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16984 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16985
578cd270
L
16986 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16987 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16988
de662f5f
L
16989 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16990 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16991 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16992
25653439
L
16993 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16994 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16995 to ...
16996 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16997
6bad24a0
L
16998 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16999 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17000 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17001
42bbb1c3
L
17002 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17003 for x86-64.
17004 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17005
2d10d547
JM
170062012-05-31 Joseph Myers <joseph@codesourcery.com>
17007
17008 * math/math.h (M_El): Use two more decimal places.
17009 (M_LOG2El): Likewise.
17010 (M_LOG10El): Likewise.
17011 (M_LN2l): Likewise.
17012 (M_LN10l): Likewise.
17013 (M_PIl): Likewise.
17014 (M_PI_2l): Likewise.
17015 (M_PI_4l): Likewise.
17016 (M_1_PIl): Likewise.
17017 (M_2_PIl): Likewise.
17018 (M_2_SQRTPIl): Likewise.
17019 (M_SQRT2l): Likewise.
17020 (M_SQRT1_2l): Likewise.
17021
f230c29b
DM
170222012-05-31 David S. Miller <davem@davemloft.net>
17023
17024 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17025 values between float registers.
17026 * sysdeps/sparc/sparc64/memset.S: Likewise.
17027 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17028
fed806c3
MF
170292012-05-31 Mike Frysinger <vapier@gentoo.org>
17030
17031 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17032 -D_FORTIFY_SOURCE=1.
17033 (CPPFLAGS-tst-longjmp_chk.c): Define.
17034 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17035 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17036 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17037 CFLAGS-tst-wchar-h.c.
17038
30917259
MP
170392012-05-31 Marek Polacek <polacek@redhat.com>
17040
17041 [BZ #14132]
17042 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17043 __endmntent_internal): Remove declaration.
17044 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17045 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17046 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17047
1c58d5dc
DM
170482012-05-30 David S. Miller <davem@davemloft.net>
17049
17050 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17051 (___Q_simulate_exceptions): Use real FP ops rather than writing
17052 into the %fsr.
17053 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17054 Likewise.
17055
7dc00e0d
L
170562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17057
17058 [BZ #14117]
0bd53985
L
17059 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17060 * sysdeps/x86/bits/xtitypes.h: This.
17061
3a257e66
L
17062 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17063 * sysdeps/x86/bits/wordsize.h: This.
17064
62f62904
L
17065 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17066 * sysdeps/x86/bits/huge_vall.h: This.
17067
404fe9d9
L
17068 * sysdeps/i386/bits/select.h: Removed.
17069 * sysdeps/x86_64/bits/select.h: Renamed to ...
17070 * sysdeps/x86/bits/select.h: This.
17071
d48d0446
L
17072 * sysdeps/i386/bits/setjmp.h: Removed.
17073 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17074 * sysdeps/x86/bits/setjmp.h: This.
17075
7dc00e0d
L
17076 * sysdeps/i386/bits/mathdef.h: Removed.
17077 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17078 * sysdeps/x86/bits/mathdef.h: This.
17079
03277f8f
AS
170802012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17081
17082 [BZ #14132]
17083 * include/sys/socket.h (__connect_internal)
17084 (__libc_sa_len_internal): Remove declaration.
17085 (__connect, __libc_sa_len): Declare hidden_proto.
17086 (SA_LEN): Remove use of INTUSE.
17087 * socket/connect.c: Add libc_hidden_def.
17088 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17089 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17090 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17091 alias.
17092 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17093 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17094 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17095 of adding _internal alias.
17096
13764867
L
170972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17098
17099 [BZ #14117]
6bd97696
L
17100 * sysdeps/i386/bits/link.h: Removed.
17101 * sysdeps/i386/bits/linkmap.h: Likewise.
17102 * sysdeps/x86_64/bits/link.h: Renamed to ...
17103 * sysdeps/x86/bits/link.h: This.
17104 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17105 * sysdeps/x86/bits/linkmap.h: This.
17106
f726f0bb
L
17107 * sysdeps/i386/bits/endian.h: Removed.
17108 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17109 * sysdeps/x86/bits/endian.h: This.
17110
13764867
L
17111 * sysdeps/i386/bits/byteswap.h: Removed.
17112 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17113 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17114 * sysdeps/x86/bits/byteswap.h: This.
17115 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17116 * sysdeps/x86/bits/byteswap-16.h: This.
17117 * sysdeps/i386/Implies: Add x86.
17118 * sysdeps/x86_64/Implies: Likewise.
17119
ae251b0b
DM
171202012-05-30 David S. Miller <davem@davemloft.net>
17121
17122 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17123 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17124 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17125 (FP_TRAPPING_EXCEPTIONS): Define.
17126 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17127 (FP_TRAPPING_EXCEPTIONS): Define.
17128 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17129 subnormals only when inexact has been signalled or underflow
17130 exceptions are enabled.
17131 (_FP_PACK_CANONICAL): Likewise.
17132
d5c90867
L
171332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17134
17135 [BZ #14183]
17136 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17137 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17138
63f1549e
RH
171392012-05-30 Richard Henderson <rth@twiddle.net>
17140
8d8f2279
RH
17141 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17142 with #ifndef NOT_IN_libc.
17143
63f1549e
RH
17144 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17145 marked to avoid plt entry.
17146
0ab0291b
L
171472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17148
17149 [BZ #14112]
17150 * Makeconfig (default-abi): New macro.
17151 (abi-includes): Likewise.
17152 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17153 $(abi-$(default-abi)-lib-soname) for soname if defined.
17154 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17155 abi-variants.
17156 * Makefile (installed-stubs): Likewise.
17157 * include/stubs-biarch.h: Removed.
17158 * scripts/lib-names.awk: Only handle one library at a time.
17159 * scripts/soversions.awk: Remove WORDSIZE support.
17160 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17161 entries.
17162 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17163 Removed.
17164 (syscall-list-default-condition): Likewise.
17165 (syscall-list-default-condition): Likewise.
17166 (syscall-list-includes): Likewise.
17167 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17168 syscall-list-* with abi-*. Handle undefined abi-variants.
17169 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17170 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17171 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17172 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17173 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17174 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17175 Removed.
17176 (syscall-list-32-options): Likewise.
17177 (syscall-list-32-condition): Likewise.
17178 (syscall-list-64-options): Likewise.
17179 (syscall-list-64-condition): Likewise.
17180 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17181 macro.
17182 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17183 Renamed to ...
17184 (abi-*): This.
17185 (abi-64-ld-soname): New macro.
17186 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17187 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17188 Renamed to ...
17189 (abi-*): This.
17190 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17191 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17192
4da0431d
JM
171932012-05-30 Joseph Myers <joseph@codesourcery.com>
17194
3a85279c
JM
17195 * sysdeps/unix/sysv/linux/kernel-features.h
17196 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17197 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17198 include <kernel-features.h>.
17199 [!__NR_ftruncate64]: Remove conditional code.
17200 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17201 [__NR_ftruncate64]: Make code unconditional.
17202 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17203 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17204 include <kernel-features.h>.
17205 [!__NR_ftruncate64]: Remove conditional code.
17206 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17207 [__NR_ftruncate64]: Make code unconditional.
17208 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17210 include <kernel-features.h>.
17211 [!__NR_ftruncate64]: Remove conditional code.
17212 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17213 [__NR_ftruncate64]: Make code unconditional.
17214 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17216 include <kernel-features.h>.
17217 [!__NR_ftruncate64]: Remove conditional code.
17218 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17219 [__NR_ftruncate64]: Make code unconditional.
17220 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17221
4da0431d
JM
17222 * configure.in (libc_cv_fpie): Weaken to a compile test using
17223 LIBC_TRY_CC_OPTION.
17224 * configure: Regenerated.
17225
11ef492c
AK
172262012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17227
17228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17232 Refreshed.
17233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17239 Refreshed.
17240
d66ef399
DM
172412012-05-27 David S. Miller <davem@davemloft.net>
17242
17243 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17244 (___Q_zero): New.
17245 (__Q_simulate_exceptions): Return void. Change to simulate
17246 exceptions by writing into the %fsr.
17247 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17248 (__Qp_handle_exceptions): Likewise.
17249 (numbers): Delete.
17250 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17251 __Qp_handle_exceptions.
17252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17253 __Qp_handle_exceptions.
17254 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17255 as unused and give dummy FP_RND_NEAREST initializer.
17256 (FP_INHIBIT_RESULTS): Define.
17257 (___Q_simulate_exceptions): Update declaration.
17258 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17259 formatting.
17260 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17261 as unused and give dummy FP_RND_NEAREST initializer.
17262 (__Qp_handle_exceptions): Update declaration.
17263 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17264 formatting.
17265
04fb54b5
TS
172662012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17267
17268 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17269 the temporary FPU control word.
17270 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17271 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17272 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17273 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17274 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17275 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17276 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17277 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17278 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17279 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17280 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17281
3f99608f
KK
172822012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17283
17284 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17285 fields.
17286
65a4de4e
CLT
172872012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17288
17289 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17290 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17291 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17292 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17293 Likewise.
17294 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17295 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17296 Likewise.
17297
15749d40
UD
172982012-05-27 Ulrich Drepper <drepper@gmail.com>
17299
17300 * po/h.po: Update from translation team.
17301
25dbcb27
AS
173022012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17303
3d3f8e55
AS
17304 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17305
25dbcb27
AS
17306 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17307 handling of denormals.
17308 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17309 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17310 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17311 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17312 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17315 Likewise.
17316
7ad47a80 173172012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17318
17319 [BZ #14152]
17320 * math/libm-test.inc (fma_test): Don't always expect underflow
17321 exception.
17322
9c6ea9fa
SP
173232012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17324
17325 [BZ #12416]
17326 * elf/tst-execstack.c: Include stackinfo.h.
17327 (do_test): Adjust test case to ensure that pthread_getattr_np
17328 behaviour remains the same after marking stack executable.
17329
a8239222
JM
173302012-05-25 Joseph Myers <joseph@codesourcery.com>
17331
17332 * sysdeps/unix/sysv/linux/kernel-features.h
17333 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17334 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17335 kernel-features.h.
17336 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17337 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17338 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17339 kernel-features.h.
17340 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17341 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17342
918b5606
L
173432012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17344
17345 * configure.in: Define the default includes to being none.
17346 * configure: Regenerated.
17347
3a097cc7
RM
173482012-05-25 Roland McGrath <roland@hack.frob.com>
17349
8422c9a5
RM
17350 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17351 * sysdeps/x86_64/setjmp.S: Likewise.
17352 * sysdeps/i386/bsd-setjmp.S: Likewise.
17353 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17354 * sysdeps/i386/setjmp.S: Likewise.
17355 * sysdeps/i386/__longjmp.S: Likewise.
17356 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17357 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17358
3a097cc7
RM
17359 * include/stap-probe.h: New file.
17360 * configure.in: Handle --enable-systemtap.
17361 * configure: Regenerated.
17362 * config.h.in (USE_STAP_PROBE): New #undef.
17363 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17364 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17365 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17366
21708942
JM
173672012-05-25 Joseph Myers <joseph@codesourcery.com>
17368
17369 [BZ #13717]
17370 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17371 to 2.4.0 where earlier.
17372 * sysdeps/unix/sysv/linux/configure: Regenerated.
17373 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17374 <kernel-features.h>.
17375 [__ASSUME_32BITUIDS]: Make code unconditional.
17376 [!__ASSUME_32BITUIDS]: Remove conditional code.
17377 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17378 <kernel-features.h>.
17379 [__ASSUME_32BITUIDS]: Make code unconditional.
17380 [!__ASSUME_32BITUIDS]: Remove conditional code.
17381 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17382 [__ASSUME_32BITUIDS]: Make code unconditional.
17383 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17384 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17385 <kernel-features.h>.
17386 [__ASSUME_32BITUIDS]: Make code unconditional.
17387 [!__ASSUME_32BITUIDS]: Remove conditional code.
17388 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17389 <kernel-features.h>.
17390 [__ASSUME_32BITUIDS]: Make code unconditional.
17391 [!__ASSUME_32BITUIDS]: Remove conditional code.
17392 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17393 <kernel-features.h>.
17394 [__ASSUME_32BITUIDS]: Make code unconditional.
17395 [!__ASSUME_32BITUIDS]: Remove conditional code.
17396 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17397 <kernel-features.h>.
17398 [__ASSUME_32BITUIDS]: Make code unconditional.
17399 [!__ASSUME_32BITUIDS]: Remove conditional code.
17400 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
17425 <kernel-features.h>.
17426 [__NR_setresgid] (__setresgid): Do not declare.
17427 [__ASSUME_32BITUIDS]: Make code unconditional.
17428 [!__ASSUME_32BITUIDS]: Remove conditional code.
17429 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17430 <kernel-features.h>.
17431 [__NR_setresuid] (__setresuid): Do not declare.
17432 [__ASSUME_32BITUIDS]: Make code unconditional.
17433 [!__ASSUME_32BITUIDS]: Remove conditional code.
17434 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17435 <kernel-features.h>.
17436 [__ASSUME_32BITUIDS]: Make code unconditional.
17437 [!__ASSUME_32BITUIDS]: Remove conditional code.
17438 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17439 <kernel-features.h>.
17440 [__ASSUME_32BITUIDS]: Make code unconditional.
17441 [!__ASSUME_32BITUIDS]: Remove conditional code.
17442 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17443 <kernel-features.h>.
17444 [__ASSUME_32BITUIDS]: Make code unconditional.
17445 [!__ASSUME_32BITUIDS]: Remove conditional code.
17446 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17447 <kernel-features.h>.
17448 [__ASSUME_32BITUIDS]: Make code unconditional.
17449 [!__ASSUME_32BITUIDS]: Remove conditional code.
17450 * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
17475 (__ASSUME_SETRESUID_SYSCALL): Remove.
17476 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17477 (__ASSUME_32BITUIDS): Likewise.
17478 (__ASSUME_LDT_WORKS): Likewise.
17479 (__ASSUME_O_DIRECTORY): Likewise.
17480 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17481 architecture but not kernel version.
17482 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17483 (__ASSUME_MMAP2_SYSCALL): Likewise.
17484 (__ASSUME_STAT64_SYSCALL): Likewise.
17485 (__ASSUME_IPC64): Likewise.
17486 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17487 <kernel-features.h>.
17488 [__ASSUME_32BITUIDS]: Make code unconditional.
17489 [!__ASSUME_32BITUIDS]: Remove conditional code.
17490 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17491 <kernel-features.h>.
17492 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17493 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17494 132096]: Remove conditional code.
17495 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17496 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17497 <kernel-features.h>.
17498 [__ASSUME_32BITUIDS]: Make code unconditional.
17499 [!__ASSUME_32BITUIDS]: Remove conditional code.
17500 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17501 <kernel-features.h>.
17502 [__ASSUME_32BITUIDS]: Make code unconditional.
17503 [!__ASSUME_32BITUIDS]: Remove conditional code.
17504 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17505 <kernel-features.h>.
17506 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17507 unconditional.
17508 (__setresgid): Do not declare.
17509 [__ASSUME_32BITUIDS]: Make code unconditional.
17510 [!__ASSUME_32BITUIDS]: Remove conditional code.
17511 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17512 <kernel-features.h>.
17513 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17514 unconditional.
17515 (__setresuid): Do not declare.
17516 [__ASSUME_32BITUIDS]: Make code unconditional.
17517 [!__ASSUME_32BITUIDS]: Remove conditional code.
17518 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17519 <kernel-features.h>.
17520 [__ASSUME_32BITUIDS]: Make code unconditional.
17521 [!__ASSUME_32BITUIDS]: Remove conditional code.
17522 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17523 <kernel-features.h>.
17524 [__ASSUME_32BITUIDS]: Make code unconditional.
17525 [!__ASSUME_32BITUIDS]: Remove conditional code.
17526
a386f1cc
RH
175272012-05-25 Richard Henderson <rth@twiddle.net>
17528
17529 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17530 dl_hwcap to ifunc resolver.
17531 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17532 elf_ifunc_invoke.
17533 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17534 dl_hwcap to ifunc resolver.
17535 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17536
b6550497
JM
175372012-05-24 Joseph Myers <joseph@codesourcery.com>
17538
17539 [BZ #14153]
17540 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17541 for |x| <= 2**-26, not 2**-57.
17542 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17543 exception.
17544
b0bc23a1
JL
175452012-05-24 Jeff Law <law@redhat.com>
17546
17547 * stdio-common/Makefile (tests): Add bug25.
17548 * stdio-common/bug25.c: New test.
17549
347c92e9
L
175502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17551
17552 [BZ #13576]
17553 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17554 multiple of MALLOC_ALIGNMENT in size.
17555 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17556
6bcc8b3f
JM
175572012-05-24 Joseph Myers <joseph@codesourcery.com>
17558
17559 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17560 Require >= 256.
17561 (FILENAME_MAX): Use macro-int-constant.
17562 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17563 (_IOFBF): Use macro-int-constant.
17564 (_IOLBF): Likewise.
17565 (_IONBF): Likewise.
17566 (SEEK_CUR): Likewise.
17567 (SEEK_END): Likewise.
17568 (SEEK_SET): Likewise.
17569 (TMP_MAX): Likewise.
17570 (EOF): Use macro-int-constant. Require < 0.
17571 (NULL): Use macro-constant. Require == 0.
17572 (stdin): Require type to be FILE *.
17573 (stdout): Likewise.
17574 (stderr): Likewise.
17575 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17576 macro-int-constant.
17577 (EXIT_SUCCESS): Likewise.
17578 (NULL): Use macro-constant. Require == 0.
17579 (RAND_MAX): Use macro-int-constant.
17580 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17581 [C99-based standards] (strtof): Require function.
17582 [C99-based standards] (strtold): Likewise.
17583 [C99-based standards] (strtoll): Likewise.
17584 [C99-based standards] (strtoull): Likewise.
17585 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17586 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17587 [ISO || ISO99 || ISO11] (math.h): Likewise.
17588 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17589 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17590 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17591
d18ea0c5
AS
175922012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17593
17594 [BZ #14132]
56d25bb8
AS
17595 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17596 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17597 * intl/dgettext.c (DCGETTEXT): Likewise.
17598 * intl/gettext.c (DCGETTEXT): Likewise.
17599 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17600 * posix/regex_internal.h (gettext): Likewise.
17601 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17602 Remove declaration.
17603 * include/argz.h (__argz_count_internal)
17604 (__argz_stringify_internal): Remove declaration.
17605 (__argz_count, __argz_stringify): Declare hidden proto.
17606 * intl/dcgettext.c: Remove use of INTDEF.
17607 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17608 * string/argz-stringify.c: Likewise.
17609 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17610 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17611 Declare hidden proto.
d18ea0c5
AS
17612 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17613 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17614 Declare hidden proto.
17615 * include/stdio.h (__asprintf_internal): Don't declare.
17616 (__asprintf): Don't define as macro. Declare hidden proto.
17617 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17618 (__fsetlocking): Declare hidden proto.
17619 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17620 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17621 hidden proto.
17622 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17623 (_IO_setlinebuf): Remove use of INTUSE.
17624 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17625 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17626 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17627 Remove declaration.
17628 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17629 (_IO_do_flush): Remove use of INTUSE.
17630 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17631 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17632 (_IO_adjust_column, _IO_least_wmarker)
17633 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17634 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17635 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17636 (_IO_default_doallocate, _IO_wdefault_doallocate)
17637 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17638 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17639 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17640 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17641 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17642 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17643 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17644 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17645 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17646 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17647 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17648 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17649 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17650 proto.
17651 (_IO_flush_all_internal, _IO_adjust_column_internal)
17652 (_IO_default_uflow_internal, _IO_default_finish_internal)
17653 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17654 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17655 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17656 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17657 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17658 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17659 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17660 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17661 (_IO_file_close_internal, _IO_file_close_it_internal)
17662 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17663 (_IO_file_init_internal, _IO_file_attach_internal)
17664 (_IO_file_fopen_internal, _IO_file_read_internal)
17665 (_IO_file_sync_internal, _IO_file_seek_internal)
17666 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17667 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17668 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17669 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17670 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17671 (_IO_list_all_internal, _IO_link_in_internal)
17672 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17673 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17674 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17675 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17676 (_IO_do_write_internal, _IO_padn_internal)
17677 (_IO_getline_info_internal, _IO_getline_internal)
17678 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17679 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17680 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17681 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17682 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17683 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17684 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17685 with libc_hidden_ver, remove use of INTUSE.
17686 * libio/genops.c: Likewise.
17687 * libio/freopen.c: Likewise.
17688 * libio/freopen64.c: Likewise.
17689 * libio/iofclose.c: Likewise.
17690 * libio/iofdopen.c: Likewise.
17691 * libio/iofflush.c: Likewise.
17692 * libio/iofflush_u.c: Likewise.
17693 * libio/iofgets.c: Likewise.
17694 * libio/iofgets_u.c: Likewise.
17695 * libio/iofopen.c: Likewise.
17696 * libio/iofopncook.c: Likewise.
17697 * libio/iofread.c: Likewise.
17698 * libio/iofread_u.c: Likewise.
17699 * libio/ioftell.c: Likewise.
17700 * libio/iofwrite.c: Likewise.
17701 * libio/iogetline.c: Likewise.
17702 * libio/iogets.c: Likewise.
17703 * libio/iogetwline.c: Likewise.
17704 * libio/iopadn.c: Likewise.
17705 * libio/iopopen.c: Likewise.
17706 * libio/ioseekoff.c: Likewise.
17707 * libio/ioseekpos.c: Likewise.
17708 * libio/iosetbuffer.c: Likewise.
17709 * libio/iosetvbuf.c: Likewise.
17710 * libio/ioungetc.c: Likewise.
17711 * libio/ioungetwc.c: Likewise.
17712 * libio/iovdprintf.c: Likewise.
17713 * libio/iovsprintf.c: Likewise.
17714 * libio/iovsscanf.c: Likewise.
17715 * libio/memstream.c: Likewise.
17716 * libio/obprintf.c: Likewise.
17717 * libio/oldfileops.c: Likewise.
17718 * libio/oldiofclose.c: Likewise.
17719 * libio/oldiofdopen.c: Likewise.
17720 * libio/oldiofopen.c: Likewise.
17721 * libio/oldiopopen.c: Likewise.
17722 * libio/oldstdfiles.c: Likewise.
17723 * libio/putc.c: Likewise.
17724 * libio/setbuf.c: Likewise.
17725 * libio/setlinebuf.c: Likewise.
17726 * libio/stdfiles.c: Likewise.
17727 * libio/strops.c: Likewise.
17728 * libio/vasprintf.c: Likewise.
17729 * libio/vscanf.c: Likewise.
17730 * libio/vsnprintf.c: Likewise.
17731 * libio/vswprintf.c: Likewise.
17732 * libio/wfiledoalloc.c: Likewise.
17733 * libio/wfileops.c: Likewise.
17734 * libio/wgenops.c: Likewise.
17735 * libio/wmemstream.c: Likewise.
17736 * libio/wstrops.c: Likewise.
17737 * libio/__fpurge.c: Likewise.
17738 * libio/__fsetlocking.c: Likewise.
17739 * assert/assert.c: Likewise.
17740 * debug/fgets_chk.c: Likewise.
17741 * debug/fgets_u_chk.c: Likewise.
17742 * debug/fread_chk.c: Likewise.
17743 * debug/fread_u_chk.c: Likewise.
17744 * debug/gets_chk.c: Likewise.
17745 * debug/obprintf_chk.c: Likewise.
17746 * debug/vasprintf_chk.c: Likewise.
17747 * debug/vdprintf_chk.c: Likewise.
17748 * debug/vsnprintf_chk.c: Likewise.
17749 * debug/vsprintf_chk.c: Likewise.
17750 * malloc/mtrace.c: Likewise.
17751 * misc/error.c: Likewise.
17752 * misc/syslog.c: Likewise.
17753 * stdio-common/asprintf.c: Likewise.
17754 * stdio-common/fxprintf.c: Likewise.
17755 * stdio-common/getw.c: Likewise.
17756 * stdio-common/isoc99_fscanf.c: Likewise.
17757 * stdio-common/isoc99_scanf.c: Likewise.
17758 * stdio-common/isoc99_vfscanf.c: Likewise.
17759 * stdio-common/isoc99_vscanf.c: Likewise.
17760 * stdio-common/isoc99_vsscanf.c: Likewise.
17761 * stdio-common/printf-prs.c: Likewise.
17762 * stdio-common/printf_fp.c: Likewise.
17763 * stdio-common/printf_fphex.c: Likewise.
17764 * stdio-common/printf_size.c: Likewise.
17765 * stdio-common/putw.c: Likewise.
17766 * stdio-common/scanf.c: Likewise.
17767 * stdio-common/sprintf.c: Likewise.
17768 * stdio-common/tmpfile.c: Likewise.
17769 * stdio-common/vfprintf.c: Likewise.
17770 * stdio-common/vfscanf.c: Likewise.
17771 * stdlib/strfmon_l.c: Likewise.
17772 * sunrpc/openchild.c: Likewise.
17773 * sunrpc/xdr_stdio.c: Likewise.
17774 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17775 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17776
d6c33fda
RM
177772012-05-24 Roland McGrath <roland@hack.frob.com>
17778
c1487492
RM
17779 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17780
17781 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17782 in the third column, to generate for the shared library an IFUNC
17783 that uses _dl_vdso_vsym.
17784 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17785 * Makeconfig (object-suffixes-noshared): New variable.
17786
17787 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17788 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17789 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17790 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17791
d6c33fda
RM
17792 [BZ #14132]
17793 * include/sys/time.h (__gettimeofday): Remove macro.
17794 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17795 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17796 Remove INTDEF.
17797 (__gettimeofday): Add libc_hidden_def.
17798 (gettimeofday): Add libc_hidden_weak.
17799 * sysdeps/mach/gettimeofday.c: Likewise.
17800 * sysdeps/posix/gettimeofday.c: Likewise.
17801 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17802 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17803 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17804 (__gettimeofday_internal): Remove strong_alias.
17805 (__gettimeofday): Add libc_hidden_def.
17806 (gettimeofday): Add libc_hidden_weak.
17807 * sysdeps/unix/syscalls.list (gettimeofday):
17808 Remove __gettimeofday_internal alias.
17809
b5a2bbe6
L
178102012-05-24 Daniel Jacobowitz <drow@false.org>
17811 H.J. Lu <hongjiu.lu@intel.com>
17812
17813 [BZ #12495]
17814 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17815 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17816 (largebin_index_32_big): New.
17817 (largebin_index): Use it for 16-byte alignment.
17818 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17819 correction with front_misalign.
17820
cfba4fda
L
178212012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17822
7f907421
L
17823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17825 Likewise.
17826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17827 Likewise.
17828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17829 Likewise.
17830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17831 Likewise.
17832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17833 Likewise.
17834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17835 Likewise.
17836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17837 Likewise.
17838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17839 Likewise.
17840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17841 Likewise.
17842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17843 Likewise.
17844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17845 Likewise.
17846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17847 Likewise.
17848
cfba4fda
L
17849 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17850 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17851
80bad0cc
JM
178522012-05-24 Joseph Myers <joseph@codesourcery.com>
17853
7a25eb06
JM
17854 [BZ #10846]
17855 [BZ #14036]
17856 * math/libm-test.inc (exp_test): Add test from bug 14036.
17857 (pow_test): Add test from bug 10846.
17858
795405f9
JM
17859 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17860 and other flags.
17861 (special_function): Do not include flags in test name.
17862 (parse_args): Likewise.
17863 * sysdeps/i386/fpu/libm-test-ulps: Update.
17864 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17865 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17866 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17868
80bad0cc
JM
17869 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17870 exceptions.
17871 * math/libm-test.inc ("Philosophy"): Update comment about
17872 exception testing.
17873 (UNDERFLOW_EXCEPTION): New macro.
17874 (UNDERFLOW_EXCEPTION_OK): Likewise.
17875 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17876 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17877 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17878 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17879 (INVALID_EXCEPTION_OK): Update value.
17880 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17881 (OVERFLOW_EXCEPTION_OK): Likewise.
17882 (IGNORE_ZERO_INF_SIGN): Likewise.
17883 (test_exceptions): Handle underflow exceptions.
17884 (acos_test): Update for underflow exception expectations.
17885 (cexp_test): Likewise.
17886 (clog_test): Likewise.
17887 (clog10_test): Likewise.
17888 (csqrt_test): Likewise.
17889 (ctan_test): Likewise.
17890 (ctanh_test): Likewise.
17891 (exp_test): Likewise.
17892 (exp10_test): Likewise.
17893 (exp2_test): Likewise.
17894 (expm1_test): Likewise.
17895 (fma_test): Likewise.
17896 (j0_test): Likewise.
17897 (jn_test): Likewise.
17898 (nexttoward_test): Likewise.
17899 (pow_test): Likewise.
17900 (scalbn_test): Likewise.
17901 (scalbln_test): Likewise.
17902 (tan_test): Likewise.
17903 (y1_test): Likewise.
17904 * sysdeps/i386/fpu/libm-test-ulps: Update.
17905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17906
9e0e3d0b
DM
179072012-05-23 David S. Miller <davem@davemloft.net>
17908
17909 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17910 (__libc_sigaction): Remove unused local variables.
17911
ccd0a08f
L
179122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17913
17914 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17915
62bdf9a6
PE
179162012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17917
f8591f80
PE
17918 mktime: avoid signed integer overflow
17919 * time/mktime.c (__mktime_internal): Do not mishandle the case
17920 where diff == INT_MIN.
17921
94c7d826
PE
17922 mktime: simplify computation of average
17923 * time/mktime.c (ranged_convert): Use new time_t_avg function
17924 instead of rolling our own (probably-slower) code.
17925
ce73d683
PE
17926 mktime: do not assume signed right shift propagates sign bit
17927 * time/mktime.c (isdst_differ): New static function.
17928 (__mktime_internal): No need to normalize tm_isdst now.
17929 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17930 tm_isdst values.
17931
72a22e59
PE
17932 mktime: merge another wrapv change from gnulib
17933 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17934 from some compilers.
17935
68605433
PE
17936 mktime: remove incorrect attempt at unusual arithmetics
17937 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17938 The code didn't really work on such machines anyway.
17939 (TYPE_MINIMUM): Assume two's complement.
17940 (twos_complement_arithmetic): Verify that long_int and time_t
17941 are two's complement (or unsigned, in the latter case).
17942
03cf7fe3
PE
17943 mktime: check signed shifts on long_int and time_t, too
17944 * time/mktime.c (SHR): Check that shifts work as desired
17945 on the types long_int and time_t too, as SHR is used on
17946 such types.
17947
f04dfbc2
PE
17948 mktime: do not assume 'long' is wide enough
17949 * time/mktime.c (verify): Move decl up.
17950 (long_int): New type.
17951 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17952 to remove assumption in the code that 'long' is wide enough to
17953 store year values. This assumption is not true on x32 and on
17954 some non-glibc platforms.
17955
62bdf9a6
PE
17956 mktime: merge wrapv change from gnulib
17957 * time/mktime.c (WRAPV): New macro.
17958 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17959 (guess_time_tm, __mktime_internal): Do not assume that signed
17960 integer overflow wraps around; modern compilers generate code
17961 where this assumption is no longer valid.
17962
5e292e4f
L
179632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17964
17965 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17966 Replace "jmp L(pseudo_end)" with "ret".
17967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17968 Likewise.
17969
8caf8c87
AJ
179702012-05-23 Andreas Jaeger <aj@suse.de>
17971
17972 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17973 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17974
1a09dc56
AJ
179752012-05-23 Andreas Jaeger <aj@suse.de>
17976 Maximilian Attems <max@stro.at>
17977
17978 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17979 New macros.
17980
1c87aba0
L
179812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17982
17983 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17984 code so that pseudo_end is just ret and the stack pointer is
17985 correct also for static library in error case.
17986
40e45bd5
JM
179872012-05-23 Joseph Myers <joseph@codesourcery.com>
17988
c2670533
JM
17989 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17990 move to syscalls.list.
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17995
40e45bd5
JM
17996 * manual/install.texi (Running make install): Do not mention Linux
17997 kernel version for which pt_chown is not needed.
17998 (Linux): Do not mention problems with nscd with 2.0 kernels.
17999 * INSTALL: Regenerated.
18000
be08eda5
AJ
180012012-05-23 Andreas Jaeger <aj@suse.de>
18002
18003 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18004 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18005 macro.
18006 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18007 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18008 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18009 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18010 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18011 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18012 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18013 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18014 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18015 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18016 * sysdeps/unix/sysv/linux/bits/in.h
18017 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18018
a6a056bb
RM
180192012-05-22 Roland McGrath <roland@hack.frob.com>
18020
18021 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18022 (PREPARE_VERSION): Just use assert instead, it will be elided
18023 under [NDEBUG] anyway.
18024
c9009328
L
180252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18026
18027 * sysdeps/unix/sysv/linux/Makefile: Include
18028 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18029 (sysdep_routines): Remove sysctl.
c9009328
L
18030 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18031 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18032 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18033 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18034 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18035
73338355
AJ
180362012-05-22 Andreas Jaeger <aj@suse.de>
18037
18038 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18039 that pseudo_end is just ret and the stack pointer is correct also
18040 for static library in error case.
18041
d44638b0
PP
180422012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18043
18044 [BZ #14122]
18045 * nss/nsswitch.c (defconfig_entries): New variable.
18046 (__nss_database_lookup): Don't leak defconfig entries.
18047 (nss_parse_service_list): Don't leak on error paths.
18048 (free_database_entries): New function.
18049 (free_defconfig): New function.
18050 (free_mem): Move common code to free_database_entries.
18051
31a39bd8
L
180522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18053
da0331a8
L
18054 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18055 Add arch_prctl.
18056 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18057
31a39bd8
L
18058 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18059 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18061 New macro.
18062 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18063 (INTERNAL_SYSCALL_TYPES): Likewise.
18064 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18065 (LOAD_REGS_TYPES_[1-6]): Likewise.
18066 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18067 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18068
45470df3
AZ
180692012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18070
18071 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18072 copysignl for GLIBC_2_0.
18073 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18074 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18076 logbl for GLIBC_2_0.
18077 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18078 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18079
98a61bcb
L
180802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18081
a4f6e481
L
18082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18083 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18084
f63d5db6
L
18085 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18086 Use "neg %eax".
18087
98a61bcb
L
18088 * time/mktime.c: Update copyright years.
18089
95770f14
PE
180902012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18091
6226efbd
PE
18092 mktime: merge comment-quoting-style change from gnulib
18093 * time/mktime.c: Quote 'like this' in comments.
18094 The GNU coding standards suggest that we no longer quote `like this',
18095 as "`" and "'" are typically rendered asymmetrically nowadays.
18096 The typical gnulib style is to quote 'like this' when quoting
18097 code, and "like this" when quoting English.
18098
b99e4f78
PE
18099 * time/mktime.c (compile-command): Add "-I.".
18100
643e01e6
PE
18101 mktime: merge mktime-internal.h change from gnulib
18102 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18103
2554247d
PE
18104 mktime: merge time_r change from gnulib
18105 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18106
826dd0ab
PE
18107 mktime: merge DEBUG change from gnulib
18108 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18109 case system <time.h> has a #define.
18110
bd83aabe
PE
18111 mktime: merge <sys/types.h> change from gnulib
18112 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18113 since <time.t> is now guaranteed to define time_t.
18114
95770f14
PE
18115 mktime: merge HAVE_CONFIG_H change from gnulib
18116 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18117
5e1a27a9
L
181182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18119
0e44a77e
L
18120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18121 Use "neg %eax".
18122
5e1a27a9
L
18123 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18124 __rlim_t cast.
18125 (struct rusage): Use anonymous union to pad each field to
18126 __syscall_slong_t.
18127
46259bec
DM
181282012-05-21 David S. Miller <davem@davemloft.net>
18129
18130 * Makefules (o-iterator): Remove .s cases.
18131 (compile-command.s): Delete.
18132 (COMPILE.s): Delete.
18133 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18134
59f0c22e
JM
181352012-05-21 Joseph Myers <joseph@codesourcery.com>
18136
18137 * configure.in (libc_cv_predef_stack_protector): Only consider
18138 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18139 * configure: Regenerated.
18140
20c07380
L
181412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18142
bbb3154b
L
18143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18144 New macro. Use R*LP on int and pointer.
18145 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18146 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18147 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18148 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18149
20c07380
L
18150 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18151 [__WORDSIZE_TIME64_COMPAT32] instead of
18152 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18153 (struct utmp): Likewise.
18154 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18155 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18156 Renamed to ...
18157 (__WORDSIZE_TIME64_COMPAT32): This.
18158 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18159 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18160 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18161 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18162 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18163 (__WORDSIZE_TIME64_COMPAT32): New macro.
18164
d8d1017e
AJ
181652012-05-21 Andreas Jaeger <aj@suse.de>
18166
18167 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18168 only if [SHARED]. Add prototype for __wcschr_ia32.
18169
6c7fb145
RM
181702012-05-21 Roland McGrath <roland@hack.frob.com>
18171
18172 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18173 of %rbp unmolested in the jmp_buf while mangling the low bits.
18174 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18175 unmolested high bits of %rbp while demangling the low bits.
18176 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18177
66274218
AJ
181782012-05-21 Andreas Jaeger <aj@suse.de>
18179
07c58f8f
AJ
18180 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18181 * sunrpc/svc_simple.c: Use it for registerrpc.
18182 * sunrpc/xcrypt.c: Use it for passwd2des.
18183
66274218
AJ
18184 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18185
61f65140
L
181862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18187
18188 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18189 Don't define if [__SYSCALL_WORDSIZE != 32].
18190 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18191 New macro.
18192
5fefb436
AJ
181932012-05-21 Bruno Haible <bruno@clisp.org>
18194 Andreas Jaeger <aj@suse.de>
18195
18196 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18197 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18198 inptr and inend for must_buffer_ch.
18199 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18200 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18201 * stdio-common/Makefile (tests): Remove bug15.
18202 (bug15-ENV): Remove macro.
18203 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18204 anymore.
18205
d8e272ab
AJ
182062012-05-19 Andreas Jaeger <aj@suse.de>
18207 Roland McGrath <roland@hack.frob.com>
18208
18209 * manual/contrib.texi: Completely rewritten. It contains now an
18210 alphabetical list of contributors and their contributions.
18211
4a56a162
RH
182122012-05-21 Richard Henderson <rth@twiddle.net>
18213
18214 * misc/getauxval.c (__getauxval): Use unsigned long int.
18215 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18216 (getauxval): Use unsigned long int.
18217
d024d23c
L
182182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18219
18220 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18221
cbc00a03
RM
182222012-05-21 Roland McGrath <roland@hack.frob.com>
18223
18224 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18225 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18226 __alignof__ (long double).
18227
478143fa
AZ
182282012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18229
18230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18231
c7683a6d
RH
182322012-05-20 Richard Henderson <rth@twiddle.net>
18233
18234 * misc/getauxval.c: New file.
18235 * misc/sys/auxv.h: New file.
18236 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18237 (routines): Add getauxval.
18238 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18239 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18240 * elf/dl-sysdep.c (_dl_auxv): Remove.
18241 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18242 * elf/dl-support.c (_dl_auxv): New variable.
18243 (_dl_aux_init): Initialize it.
18244 * manual/startup.texi (Auxiliary Vector): New node.
18245 * sysdeps/generic/bits/hwcap.h: New file.
18246 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18247 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18248 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18249 * sysdeps/sparc/sysdep.h: ... here. Include it.
18250 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18251 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18253 Update.
c7683a6d
RH
18254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18262
a6f1845d
AZ
182632012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18264
18265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18266
cbcbe830
DM
182672012-05-19 David S. Miller <davem@davemloft.net>
18268
18269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18270
e0b16cc2
JM
182712012-05-19 Joseph Myers <joseph@codesourcery.com>
18272
18273 [BZ #14123]
18274 * math/s_ccosh.c: Include <float.h>
18275 (__ccosh): Avoid internal overflow calculating sinh and cosh
18276 values before multiplying by sin and cos values.
18277 * math/s_ccoshf.c: Likewise.
18278 * math/s_ccoshl.c: Likewise.
18279 * math/s_csin.c: Likewise.
18280 * math/s_csinf.c: Likewise.
18281 * math/s_csinl.c: Likewise.
18282 * math/s_csinh.c: Likewise.
18283 * math/s_csinhf.c: Likewise.
18284 * math/s_csinhl.c: Likewise.
18285 * math/libm-test.inc (ccos_test): Add more tests.
18286 (ccosh_test): Likewise.
18287 (csin_test): Likewise.
18288 (csinh_test): Likewise.
18289 * sysdeps/i386/fpu/libm-test-ulps: Update.
18290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18291
6ad13e08
L
182922012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18293
f66f0ce8
L
18294 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18295 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18296
6ad13e08
L
18297 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18298
b1d072a7
JM
182992012-05-19 Joseph Myers <joseph@codesourcery.com>
18300
18301 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18302 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18303 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18304 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18305 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18306 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18307 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18308 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18309 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18310 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18311 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18312 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18313 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18314 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18315 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18316 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18317 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18318 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18319 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18320 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18321 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18322 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18323 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18324 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18325 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18326 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18327 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18328 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18329 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18330 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18331 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18332
9eae47cb
AJ
183332012-05-18 Andreas Jaeger <aj@suse.de>
18334
18335 * csu/.gitignore: Delete.
18336
bb07f69f
L
183372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18338
18339 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18340 (timex): Use __syscall_slong_t.
18341
e6bdb741
AJ
183422012-05-18 Andreas Jaeger <aj@suse.de>
18343 Carlos O'Donell <carlos_odonell@mentor.com>
18344
18345 * manual/install.texi (Configuring and compiling): Update
18346 description about files modified in the source directory.
d6c33fda 18347 * INSTALL: Regenerated.
e6bdb741 18348
1b74487e
L
183492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18350
18351 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18352 value. Use "or" to set return value to -1.
18353 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18354 negate return value.
18355
a88b64b9
TMQMF
183562012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18357
18358 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18359 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18360 failure if the compiler has Graphite support disabled.
18361 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18362 Likewise.
18363 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18364 CFLAGS-memmove.c): Likewise.
18365 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18366 Likewise.
18367
3707636e
L
183682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18369
610b8622
L
18370 * sysdeps/x86_64/x32/_itoa.h: New file.
18371
7cd195df
L
18372 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18373 getdents system call only if kernel and user dirents have the
18374 same d_ino and d_off.
18375
94b07d20
L
18376 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18377 LLONG_MAX != LONG_MAX.
18378 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18379 (_fitoa_word): Likewise.
18380
18298070
L
18381 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18382 years.
18383 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18384 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18385 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18386
553c7ea4
L
18387 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18388 include <bits/wordsize.h>. Check __x86_64__ instead of
18389 __WORDSIZE.
18390 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18391 if __x86_64__ is defined. Use anonymous union on fpstate.
18392
3707636e
L
18393 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18394 anonymous union.
18395
b53ef01a
AS
183962012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18397
37fb1dc0
AS
18398 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18399 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18400 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18401 Refer to _rtld_local_ro instead of _rtld_global_ro.
18402 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18403 Likewise.
18404 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18405 Likewise.
18406 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18407 Likewise.
18408 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18409 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18410 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18411
b53ef01a
AS
18412 * sysdeps/powerpc/powerpc32/dl-machine.c
18413 (__elf_machine_runtime_setup) [PROF]: Don't reference
18414 _dl_prof_resolve.
18415
7a185db2
AJ
184162012-05-18 Andreas Jaeger <aj@suse.de>
18417
18418 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18419 function only available for GCCs before 3.4 since GCC 3.4
18420 introduced a builtin.
18421 (lrint): Likewise.
18422 (llrintf): Likewise.
18423 (llrint): Likewise.
18424 (fmaxf): Likewise.
18425 (fmax): Likewise.
18426 (fminf): Likewise.
18427 (fmin): Likewise.
18428 (rint): Likewise.
18429 (rintf): Likewise.
18430 (nearbyint): Likewise.
18431 (nearbyintf): Likewise.
18432 (ceil): Likewise.
18433 (ceilf): Likewise.
18434 (floor): Likewise.
18435 (floorf): Likewise.
18436
3e5aef87
L
184372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18438
428bd707
L
18439 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18440 on both fields and cast pointer to __syscall_ulong_t.
18441
3e5aef87
L
18442 * bits/types.h (__fsword_t): New type.
18443 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18444 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18445 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18446 (__FSWORD_T_TYPE): Likewise.
18447 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18448 (__FSWORD_T_TYPE): Likewise.
18449 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18450 (__FSWORD_T_TYPE): Likewise.
18451 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18452 (__FSWORD_T_TYPE): Likewise.
18453 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18454 __SWORD_TYPE with __fsword_t.
18455 (statfs64): Likewise.
18456
1ba7c3dc
DM
184572012-05-17 David S. Miller <davem@davemloft.net>
18458
18459 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18460
59910343
AJ
184612012-05-17 Andreas Jaeger <aj@suse.de>
18462
18463 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18464 warning.
18465
2e4c1e9e
L
184662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18467
18468 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18469
de7f5ce7
AJ
184702012-05-17 Andreas Jaeger <aj@suse.de>
18471
18472 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18473 when it is used.
18474
286abc3d
CM
184752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18476
18477 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18478
477cc68e
L
184792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18480
18481 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18482 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18483
1a0994f5
CD
184842012-05-17 Andreas Jaeger <aj@suse.de>
18485 Carlos O'Donell <carlos_odonell@mentor.com>
18486
18487 [BZ #14059]
18488 * sysdeps/x86_64/multiarch/init-arch.h
18489 (bit_YMM_Usable): Rename to...
18490 (bit_AVX_Usable): ... this.
18491 (bit_FMA4_Usable): New macro.
18492 (bit_XMM_state): New macro.
18493 (bit_YMM_state): New macro.
18494 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18495 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18496 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18497 (CPUID_OSXSAVE): New macro.
18498 (CPUID_AVX): New macro.
18499 (CPUID_FMA4): New macro.
18500 (index_YMM_Usable): Rename to...
18501 (index_AVX_Usable): ... this.
18502 (HAS_AVX): Use HAS_ARCH_FEATURE.
18503 (HAS_FMA4): Likewise.
18504 (HAS_YMM_USABLE): Remove.
18505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18506 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18507 are present.
18508 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18509 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18510 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18511 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18512 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18513
0af797de
CM
185142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18515
18516 * math/libm-test.c: Support platforms without multiple rounding modes.
18517 * math/bug-nextafter.c: Support platforms without FP exceptions.
18518 * math/bug-nexttoward.c: Likewise.
18519 * math/test-fenv.c: Likewise.
18520 * math/test-misc.c: Likewise.
18521 * stdlib/bug-getcontext.c: Likewise.
18522
e39745ff
AJ
185232012-05-17 Andreas Jaeger <aj@suse.de>
18524
18525 * manual/examples/search.c (critter_cmp): Change signature to
18526 avoid warnings.
18527 * manual/string.texi (Collation Functions): Likewise.
18528
48970aba
L
185292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18530
18531 * bits/types.h: Fold copyright years.
18532 * bits/typesizes.h: Likewise.
18533 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18535 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18537 * time/time.h: Likewise.
18538
bedee953
PP
185392012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18540
18541 [BZ #208]
18542 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18543 in instead of returning them. Return void.
18544 (__libc_mallinfo): Accumulate over all arenas.
18545 (__malloc_stats): Adjust for change in int_mallinfo interface.
18546
61653dfb
RM
185472012-05-16 Roland McGrath <roland@hack.frob.com>
18548
30b99d79
RM
18549 [BZ #10375]
18550 * configure.in (NM): Add AC_CHECK_TOOL for it.
18551 (libc_extra_cflags): New substituted variable.
18552 Check for -fstack-protector being used implicitly.
18553 * configure: Regenerated.
18554 * config.make.in (config-extra-cflags): New variable,
18555 gets @libc_extra_cflags@.
18556 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18557
61653dfb
RM
18558 [BZ #10375]
18559 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18560 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18561 * configure: Regenerated.
18562 * config.make.in (CPPUNDEFS): New substituted variable.
18563 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18564 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18565 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18566
661768bb
L
185672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18568
18569 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18570 (mq_attr): Use __syscall_slong_t.
18571
d4261567
L
185722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18573
18574 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18575 Check __x86_64__ instead of __WORDSIZE.
18576 (_STAT_VER_LINUX): Likewise.
18577 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18578 __syscall_ulong_t and __syscall_slong_t.
18579 (stat64): Likewise.
18580
cf3ff365
L
185812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18582
18583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18584
76cf3e4d
L
185852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18586
18587 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18588
a637753a
L
185892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18590
18591 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18592 __syscall_ulong_t.
18593
d5e05119
L
18594 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18595 include <bits/wordsize.h>. Check __x86_64__ instead of
18596 __WORDSIZE.
18597 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18598 defined.
18599 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18600
f62ee380
L
18601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18602 include <bits/wordsize.h>. Check __x86_64__ instead of
18603 __WORDSIZE.
18604 (user_regs_struct): Use "__extension__ unsigned long long"
18605 instead of "unsigned long" if __x86_64__ is defined.
18606 (user): Likewise. Pad after pointer field if __ILP32__ is
18607 defined.
18608
4e124ced
JM
186092012-05-16 Joseph Myers <joseph@codesourcery.com>
18610
6a3951a0
JM
18611 * configure.in (makeinfo): Require version 4.5 or later. Allow
18612 versions 5 to 9.
18613 * configure: Regenerated.
18614 * manual/install.texi (texinfo): Increase version requirement to
18615 4.5 or later.
18616 * INSTALL: Regenerated.
18617
4e124ced
JM
18618 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18619
953ca31a
L
186202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18621
18622 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18623
617aca05
L
18624 * sysdeps/x86_64/x32/ffs.c: New file.
18625
5762f7ae
L
18626 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18627 __syscall_ulong_t.
18628 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18629 defined. Use __syscall_ulong_t.
18630 (shminfo): Use __syscall_ulong_t.
18631 (shm_info): Likewise.
18632
a26b6856
L
18633 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18634 __syscall_ulong_t.
18635
cb2b9ef7
L
18636 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18637 <bits/wordsize.h>.
18638 (msgqnum_t): Use __syscall_ulong_t.
18639 (msglen_t): Likewise.
18640 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18641 __syscall_ulong_t.
18642
34683bb0
L
18643 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18644 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18645
84a68786
L
18646 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18647
48baa5f1
L
18648 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18649 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18650
180be88b
L
18651 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18652 __syscall_slong_t.
18653
5e90c8ad
L
18654 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18655 include <bits/wordsize.h>. Check __x86_64__ instead of
18656 __WORDSIZE.
18657
23dfb58b
L
18658 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18659 "unsigned long long int" if __x86_64__ is defined.
18660 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18661
ce5d54b0
L
18662 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18663 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18664 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18665
13dc9eac
L
18666 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18667 <stdint.h>.
18668 (GET_PC): Cast to uintptr_t first.
18669 (GET_FRAME): Likewise.
18670 (GET_STACK): Likewise.
18671
a7895d15
L
18672 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18673 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18674 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18675 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18676 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18677 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18678 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18679 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18680 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18681 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18682 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18683 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18684 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18685 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18686 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18687 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18688 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18689 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18690 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18691 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18692 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18693 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18694 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18695 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18696 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18697 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18698 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18699 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18700 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18701
656416c9
AS
187022012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18703
5bd66283
AS
18704 * Makerules (+depfiles): Also collect depfiles from .oS in
18705 $(extra-objs).
18706 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18707 .oS, $(libnldbl-routines)).
18708
656416c9
AS
18709 * Makerules (native-compile-mkdep-flags): Define.
18710 * sunrpc/Makefile (extra-objs): Add $(addprefix
18711 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18712 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18713 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18714 calling $(make-target-directory).
18715
a46f2169
L
187162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18717
18718 * bits/types.h (__snseconds_t): Removed.
18719 * time/time.h (struct timespec): Replace __snseconds_t with
18720 __syscall_slong_t.
18721 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18722 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18723 Likewise.
18724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18725 (__SNSECONDS_T_TYPE): Likewise.
18726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18727 (__SNSECONDS_T_TYPE): Likewise.
18728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18729 (__SNSECONDS_T_TYPE): Likewise.
18730
6af6528b
L
187312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18732
18733 * sysdeps/mach/hurd/bits/typesizes.h
18734 (__SYSCALL_SLONG_TYPE): New macro.
18735 (__SYSCALL_ULONG_TYPE): Likewise.
18736
de986b56
L
187372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18738
18739 * bits/types.h (__syscall_slong_t): New type.
18740 (__syscall_ulong_t): Likewise.
18741
18742 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18743 (__SYSCALL_ULONG_TYPE): Likewise.
18744 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18745 (__SYSCALL_SLONG_TYPE): Likewise.
18746 (__SYSCALL_ULONG_TYPE): Likewise.
18747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18748 (__SYSCALL_SLONG_TYPE): Likewise.
18749 (__SYSCALL_ULONG_TYPE): Likewise.
18750 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18751 (__SYSCALL_SLONG_TYPE): Likewise.
18752 (__SYSCALL_ULONG_TYPE): Likewise.
18753
85736dc7
L
187542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18755
18756 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18757 Add sigaltstack-offsets.sym.
18758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18759 <sigaltstack-offsets.h>.
18760 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18761 longjmp_msg pointer.
18762 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18763 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18764 signal stack.
18765 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18766
cc03b296
JM
187672012-05-15 Joseph Myers <joseph@codesourcery.com>
18768
a9538892
JM
18769 * elf/stackguard-macros.h: Remove file.
18770 * sysdeps/generic/stackguard-macros.h: New file.
18771 * sysdeps/i386/stackguard-macros.h: Likewise.
18772 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18773 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18774 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18775 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18776 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18777 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18778 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18779 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18780 <elf/stackguard-macros.h>.
18781
cc03b296
JM
18782 [BZ #14109]
18783 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18784 __aligned__ in attribute.
18785 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18786 (gregset_t): Likewise.
18787
93171016
L
187882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18789
18790 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18791 * sysdeps/x86_64/64/Implies-after: Here. New file.
18792 * sysdeps/x86_64/x32/Implies-after: New file.
18793
d86813a0
L
187942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18795
18796 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18797 and access return value for _dl_profile_fixup. Use R10_LP to
18798 load frame size.
18799
2953ec75
L
188002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18801
18802 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18803
3b550e9e
L
188042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18805
18806 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18807 * sysdeps/x86_64/x32/sysdep.h: New file.
18808
eda41706
L
188092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18810
18811 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18812 * sysdeps/x86_64/setjmp.S: Likewise.
18813
9ea01d93
AZ
188142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18815
18816 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18817 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18818 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18819 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18820 remove unused global constant.
18821
02a91938
CM
188222012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18823
18824 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18825 include of <not-cancel.h>.
18826
6540185f
RM
188272012-05-15 Roland McGrath <roland@hack.frob.com>
18828
18829 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18830
509072a0
AJ
188312012-05-15 Jeff Law <law@redhat.com>
18832 Andreas Jaeger <aj@suse.de>
18833
18834 [BZ #13594]
18835 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18836 out from...
18837 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18838 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18839 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18840 code changing __hst_map_handle.map.
18841
ba75122d
RM
188422012-05-15 Roland McGrath <roland@hack.frob.com>
18843
18844 * configure.in (sysnames): Look for Implies-before and Implies-after
18845 files.
18846 * configure: Regenerated.
18847
890d8bd8
L
188482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18849
18850 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18851 8-byte data alignment with LP_SIZE alignment.
18852
f6ee6623
L
188532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18854
18855 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18856 into R10_LP.
18857
ea2626f6
L
188582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18859
18860 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18861
085f715e
L
188622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18863
18864 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18865 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18866 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18867 Likewise.
18868 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18869
be8498fc
L
188702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18871
18872 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18873 (stackinfo_sub_sp): Likewise.
18874
70bc83b9
L
188752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18876
18877 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18878 RAX_LP.
18879
9bc0b730
L
188802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18881
18882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18883 into R*_LP.
18884
6d2850e7
L
188852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18886
18887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18888 sizes into R*_LP.
18889
3cb84561
L
188902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18891
18892 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18893
54e2ed81
L
188942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18895
18896 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18897 into R11_LP and load __x86_64_shared_cache_size_half into
18898 R8_LP.
18899
8a17f349
L
189002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18901
18902 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18903 R8_LP.
18904
777b1eea
AZ
189052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18906
18907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18908 logb for POWER7.
18909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18910 logbf for POWER7.
18911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18912 logbl for POWER7.
18913 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18914 powerpc32/power7/fpu/s_logb.c via #include.
18915 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18916 powerpc32/power7/fpu/s_logbf.c via #include.
18917 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18918 powerpc32/power7/fpu/s_logbl.c via #include.
18919
d20d4ac2
JM
189202012-05-15 Joseph Myers <joseph@codesourcery.com>
18921
18922 * README.libm: Remove file.
18923
6cdef1ab
L
189242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18925
18926 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18927 count for x32. Use R*_LP and omit operand-size suffix.
18928
0b254d8f
L
189292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18930
18931 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18932 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18933 * sysdeps/x86_64/x32/shlib-versions: New file.
18934
ceb809dc
RM
189352012-05-14 Roland McGrath <roland@hack.frob.com>
18936
18937 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18938 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18939 Use _dl_fatal_printf instead.
18940
37f1abd4
JM
189412012-05-14 Joseph Myers <joseph@codesourcery.com>
18942
18943 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18944 set if not set by the user. Do not allow for being unset.
18945 * sysdeps/unix/sysv/linux/configure: Regenerated.
18946
11de3a33
L
189472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18948
18949 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18950 the `q' suffix from lea and replace .quad with ASM_ADDR.
18951
e02f153a
L
189522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18953
18954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18955 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18956 instead of $17.
18957 (PTR_DEMANGLE): Likewise.
18958
520ae0fd
L
189592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18960
18961 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18962 (LP_OP): Likewise.
18963 (ASM_ADDR): Likewise.
18964 (RAX_LP): Likewise.
18965 (RBP_LP): Likewise.
18966 (RBX_LP): Likewise.
18967 (RCX_LP): Likewise.
18968 (RDI_LP): Likewise.
18969 (RSI_LP): Likewise.
18970 (RSP_LP): Likewise.
18971 (R8_LP): Likewise.
18972 (R9_LP): Likewise.
18973 (R10_LP): Likewise.
18974 (R10_LP): Likewise.
18975 (R11_LP): Likewise.
18976 (R12_LP): Likewise.
18977 (R13_LP): Likewise.
18978 (R14_LP): Likewise.
18979 (R15_LP): Likewise.
18980
b985be81
L
189812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18982
18983 * sysdeps/x86_64/x32/dl-machine.h: New file.
18984
6a4888ff
AJ
189852012-05-14 Andreas Jaeger <aj@suse.de>
18986
18987 * manual/Makefile (subdir): Remove export of subdir.
18988 (all): Remove target.
18989 (.PHONY): Remove all from list.
18990 (mkinstalldirs): Remove.
18991 (.PHONY): Remove installdirs from list.
18992 ($(inst_infodir)/libc.info): Use make-target-directory.
18993 (installdirs): Remove.
18994 (subdir_%): Remove.
18995 (glibc-targets): Remove.
18996 (lib): Remove.
18997 (stubs): Remove.
18998 ($(objpfx)stubs ../po/manual.pot): Remove.
18999 ($(objpfx)stamp%): Remove.
19000 (make-target-directory): Remove.
19001 (subdir_install): Remove.
19002 (routines): Remove.
19003 (aux): Remove.
19004 (sources): Remove.
19005 (objects): Remove.
19006 (headers): Remove.
19007
19008 [BZ #13750]
19009 * manual/.gitignore: Remove, it's not needed anymore.
19010 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19011 all files in it.
19012 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19013 directory.
19014 (texis): Renamed to $(objpfx)texis.
19015 (texis-path): New, contains path to generated files.
19016 (chapters.%): Use texis-path for complete path, add extra argument
19017 libc-texinfo.sh.
19018 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19019 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19020 (summary,texi, stamp-summary): Use complete path of
19021 files. Generate files in build dir.
19022 (dir-add.texi): Build in build dir.
19023 (libm-err.texi,stamp-libm-err): Likewise.
19024 (version.texi, stamp-version): Likewise.
19025 (.%c.texi): Likewise.
19026 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19027 (mostlyclean): Remove target.
19028 (realclean): Remove target.
19029 (generated): Add new variable with contents from mostlyclean and
19030 realclean, remove entries duplicated in common-mostlyclean, add
19031 stamp-libm-err and stamp-version.
19032 (generated-dirs): Add libc directory.
19033 ($(inst_infodir)/libc.info): Install files from build dir.
19034
19035 * manual/install.texi (Configuring and compiling): Adjust since
19036 the info files are not part of the tar ball anymore.
19037
7ac77294
AJ
190382012-05-14 Andreas Jaeger <aj@suse.de>
19039
19040 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19041 variable.
19042
ffb7875d
JM
190432012-05-14 Joseph Myers <joseph@codesourcery.com>
19044
19045 [BZ #13717]
19046 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19047 to 2.2.0 where earlier.
19048 * sysdeps/unix/sysv/linux/configure: Regenerated.
19049 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19050 Remove conditional code.
19051 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19052 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19053 Remove conditional code.
19054 [!__NR_lchown]: Likewise.
19055 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19056 [__NR_lchown]: Likewise.
19057 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19058 comment referencing __ASSUME_LCHOWN_SYSCALL.
19059 * sysdeps/unix/sysv/linux/i386/sigaction.c
19060 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19061 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19062 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19063 Remove conditional code.
19064 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19065 (__protocol_available): Remove #if 0 code.
19066 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19067 conditional code.
19068 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19069 * sysdeps/unix/sysv/linux/kernel-features.h
19070 (__ASSUME_GETCWD_SYSCALL): Don't define.
19071 (__ASSUME_REALTIME_SIGNALS): Likewise.
19072 (__ASSUME_PREAD_SYSCALL): Likewise.
19073 (__ASSUME_PWRITE_SYSCALL): Likewise.
19074 (__ASSUME_POLL_SYSCALL): Likewise.
19075 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19076 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19077 non-SPARC.
19078 (__ASSUME_SIOCGIFNAME): Don't define.
19079 (__ASSUME_MSG_NOSIGNAL): Likewise.
19080 (__ASSUME_SENDFILE): Define unconditionally.
19081 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19082 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19083 conditional code.
19084 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19085 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19086 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19087 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19088 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19089 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19090 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19092 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19095 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19098 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19099 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19101 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19104 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19107 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19110 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19111 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19113 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19114 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19115 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19116 Remove conditional code.
19117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19118 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19119 Remove conditional code.
19120 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19121 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19122 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19123 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19124 Remove conditional code.
19125 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19126 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19127 Remove conditional code.
19128 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19129 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19130 Remove conditional code.
19131 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19132 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19133 Remove conditional code.
19134 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19135 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19136 Remove conditional code.
19137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19138 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19139 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19141 * sysdeps/unix/sysv/linux/sigaction.c
19142 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19143 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19144 * sysdeps/unix/sysv/linux/sigpending.c
19145 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19146 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19147 * sysdeps/unix/sysv/linux/sigprocmask.c
19148 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19149 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19150 * sysdeps/unix/sysv/linux/sigsuspend.c
19151 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19152 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19153 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19154 (__libc_missing_rt_sigs): Remove.
19155 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19156 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19157 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19158 Remove conditional code.
19159 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19160 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19161 return 1.
19162 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19163 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19164 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19165 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19166
1bfb7291
AJ
191672012-05-14 Andreas Jaeger <aj@suse.de>
19168
caae5a81
AJ
19169 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19170 it's not used in glibc.
19171 (__coshm1): Likewise.
19172 (__acosh1p): Likewise.
19173 (__sgn): Likewise.
19174
1bfb7291
AJ
19175 * manual/string.texi (Copying and Concatenation): Add missing
19176 variable in concat example.
19177 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19178
c044d724
L
191792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19180
144c5467 19181 [BZ #14103]
c044d724
L
19182 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19183 __builtin_clzl with __builtin_clzll.
19184
2523c62b
L
191852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19186
19187 [BZ #14104]
19188 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19189 libc_freeres_ptr.
19190
d7bb4c42
LD
191912012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19192
19193 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19194 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19195 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19196 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19197
9dc4e1fb
MF
191982012-05-14 Mike Frysinger <vapier@gentoo.org>
19199
19200 * NEWS: Update ia64 info.
19201
c7df0112
AS
192022012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19203
19204 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19205 used as bcopy.
19206
dc70356c
TS
192072012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19208
19209 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19210 * sysdeps/unix/syscalls.list (dup3): Likewise.
19211 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19212 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19213
9fb1a21f
L
192142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19215
19216 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19217 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19218
4822a2a5
L
192192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19220
19221 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19222 thread pointer.
19223 (TLS_IE): Use mov/add instead of movq/addq to load thread
19224 pointer.
19225 (TLS_GD_PREFIX): New.
19226 (TLS_GD): Use it.
19227
842b81d6
DM
192282012-05-11 David S. Miller <davem@davemloft.net>
19229
19230 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19231 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19232 (_FPU_SETCW): Likewise.
19233
1cf463cd
L
192342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19235
19236 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19237 is 32-byte aligned.
19238
60cc4a18
AS
192392012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19240
19241 [BZ #11837]
19242 * iconvdata/gb18030.c: Update tables.
19243 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19244 characters specially.
19245 (BODY for TO_LOOP): Add encoding of missing ranges.
19246
febb44a4
TS
192472012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19248
19249 [BZ #13673]
19250 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19251 * sysdeps/mach/hurd/dup3.c: Likewise.
19252 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19253 * sysdeps/powerpc/memmove.c:: Likewise.
19254
0a10fb9e
L
192552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19256
19257 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19258 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19259
df8a552f
L
192602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19261
19262 * elf/elf.h (R_X86_64_RELATIVE64): New.
19263 (R_X86_64_NUM): Updated.
19264 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19265 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19266 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19267 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19268 tst-quad1pie tst-quad2pie
19269 (modules-names): Add tst-quadmod1 tst-quadmod2.
19270 ($(objpfx)tst-quad1): New dependency.
19271 ($(objpfx)tst-quad2): Likewise.
19272 ($(objpfx)tst-quad1pie): Likewise.
19273 ($(objpfx)tst-quad2pie): Likewise.
19274 * sysdeps/x86_64/tst-quad1.c: New file.
19275 * sysdeps/x86_64/tst-quad1pie.c: New file.
19276 * sysdeps/x86_64/tst-quad2.c: Likewise.
19277 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19278 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19279 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19280 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19281 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19282
f34d6f84
ST
192832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19284
f42d41d1
ST
19285 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19286 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19287 * streams/stropts.h (t_scalar_t): Define type.
19288
3c3571fc
ST
19289 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19290 (_PATH_PRESERVE): Set to "/var/lib".
19291 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19292
61f06bd3
ST
19293 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19294 instead of int.
19295
918d4d71
ST
19296 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19297 if __dir_mkfile succeeded.
19298
f34d6f84
ST
19299 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19300 checking for _hurd_dtablesize. Unlock it right after having
19301 finished _hurd_dtable allocation.
19302
10589b4a
TS
193032012-05-10 Thomas Schwinge <thomas@schwinge.name>
19304
674cdbc7
TS
19305 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19306 * sysdeps/mach/hurd/configure: Regenerated.
19307 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19308 special-casing to...
19309 * sysdeps/gnu/configure.in: ... this new file.
19310 * sysdeps/unix/sysv/linux/configure: Regenerated.
19311 * sysdeps/gnu/configure: New generated file.
19312
8e41b99f
TS
19313 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19314 for Linux: use nsec instead of usec, as well as:
19315 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19316 members of type struct timespec.
19317 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19318 New macros.
19319 (struct stat64): Likewise.
19320 (_STATBUF_ST_NSEC): New macro.
19321 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19322
10589b4a
TS
19323 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19324 __strtoul_internal rather than strtoul.
19325
63643c85
PT
193262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19327
19328 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19329 and reject them.
19330
3faebe6a
ST
193312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19332
19333 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19334 which preserves existing values.
19335 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19336
c6474b07
PT
193372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19338
19339 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19340 TIMEOUT values. Return EINVAL for NFDS values either negative or
19341 greater than FD_SETSIZE.
19342
1043890b
ST
193432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19344
19345 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19346 allocated, call __vm_protect to finish enabling the existing space, and
19347 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19348 allocate the remainder.
19349
37ed8b9b
PT
193502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19351
19352 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19353 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19354
db653660
ST
193552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19356
37ed8b9b
PT
19357 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19358 sysdeps/mach/hurd/readlink.c.
b29d4053 19359
db653660
ST
19360 * posix/tst-sysconf.c (posix_options): Only use
19361 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19362 _POSIX_SYNCHRONIZED_IO when they are defined
19363 * sysdeps/mach/hurd/bits/posix_opt.h:
19364 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19365 (_XOPEN_REALTIME): Undefine macro.
19366 (_XOPEN_REALTIME_THREADS): Undefine macro.
19367 (_XOPEN_SHM): Undefine macro.
19368 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19369 macro to -1.
19370 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19371 macro to -1.
19372 (_POSIX_ASYNC_IO): Undefine macro.
19373 (_POSIX_PRIORITIZED_IO): Undefine macro.
19374 (_POSIX_SPIN_LOCKS): Define macro to -1.
19375
ee16e894
ST
19376 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19377 SA_NODEFER, SA_RESETHAND.
19378 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19379 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19380 F_DUPFD_CLOEXEC.
19381
6103ae3b
TS
193822012-05-10 Thomas Schwinge <thomas@schwinge.name>
19383
19384 * elf/Makefile (pldd-modules): Define unconditionally.
19385
80b4e5f3
TS
193862012-05-10 Thomas Schwinge <thomas@schwinge.name>
19387
19388 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19389
edadcbd6
ST
193902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19391
19392 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19393 Return ENOENT when name is empty.
19394 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19395
80694780
TS
193962012-05-10 Thomas Schwinge <thomas@schwinge.name>
19397
1792c087
TS
19398 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19399
80694780
TS
19400 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19401
6b645f0d
ST
194022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19403
80694780
TS
19404 Fix mlock in all cases except non-readable pages.
19405 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19406 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19407
6b645f0d
ST
19408 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19409 (__mkdir): When path is `/', just fail with EEXIST.
19410 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19411
e468f8a3
TS
194122012-05-10 Thomas Schwinge <thomas@schwinge.name>
19413
19414 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19415 <sys/uio.h> (for writev).
19416 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19417 and <sys/param.h> (for MIN).
19418
a4186cff
PT
194192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19420
19421 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19422 REQUESTED_TIME. Properly set the remaining time and return EINTR
19423 if interrupted.
19424
510bbf14
TS
194252012-05-10 Thomas Schwinge <thomas@schwinge.name>
19426
19427 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19428 Depend on against $(link-rpcuserlibs).
19429
5d5722e8
ST
194302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19431
a4186cff
PT
19432 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19433 (__libc_stack_end): Do not use attribute_relro.
19434 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19435 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19436 to libthread-provided value.
a4186cff
PT
19437 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19438 attribute_relro.
5d5722e8 19439
37233df9
TS
194402012-05-10 Thomas Schwinge <thomas@schwinge.name>
19441
be971a2b
TS
19442 [BZ #3748]
19443 * bits/libc-lock.h (__libc_once_get): New macro.
19444 * sysdeps/mach/bits/libc-lock.h: Likewise.
19445 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19446 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19447 instead of using implementation details.
19448
37233df9
TS
19449 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19450 * libio/freopen.c: Likewise.
19451 * libio/freopen64.c: Likewise.
19452 * misc/syslog.c: Likewise.
19453 * nscd/connections.c: Likewise.
19454 * nscd/netgroupcache.c: Likewise.
19455 * sysdeps/posix/getcwd.c: Likewise.
19456
38de94a5
RM
194572012-05-10 Roland McGrath <roland@hack.frob.com>
19458
19459 * math/w_ilogbf.c: Add #include <limits.h>.
19460
67530489
ST
194612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19462
a4186cff 19463 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19464 path instead of returning without unlocking.
19465
67530489
ST
19466 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19467 immediate-write ioctls.
19468 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19469
5aa3a74a
TS
194702012-05-10 Thomas Schwinge <thomas@schwinge.name>
19471
18bad2ae
TS
19472 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19473 __builtin_frame_address instead of making assumptions about the
19474 location of the return address relative to DATA. Force early load of
19475 the return address.
19476 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19477 __builtin_frame_address.
19478
5aa3a74a
TS
19479 dup3 for GNU Hurd.
19480 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19481 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19482 implement dup3 and do some further code clean-ups.
19483 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19484 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19485
ecd0de9a
ST
194862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19487
cd9fa985
ST
19488 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19489
a4186cff
PT
19490 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19491 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19492 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19493 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19494 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19495 d->port.lock.
802ca5a5 19496
a4186cff
PT
19497 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19498 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19499 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19500
bcf55240
TS
195012012-05-10 Thomas Schwinge <thomas@schwinge.name>
19502
6960eb42
TS
19503 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19504 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19505 definitions.
19506
eb43375f
TS
19507 accept4 for GNU Hurd.
19508 * include/sys/socket.h (__libc_accept4): New prototype.
19509 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19510 to implement __libc_accept4.
19511 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19512 __libc_accept4.
19513 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19514
bcf55240
TS
19515 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19516 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19517 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19518 signal-defines.sym.
19519
6178c55b
ST
195202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19521
a4186cff 19522 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19523
6f080c2f
TS
195242012-05-10 Thomas Schwinge <thomas@schwinge.name>
19525
19526 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19527 assertion on O_CLOEXEC flag.
19528 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19529 * hurd/intern-fd.c: Likewise.
19530 * hurd/port2fd.c: Likewise.
19531
bcfe3a54
ST
195322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19533
19534 [BZ #3906]
19535 * bits/in.h (IPV6_PKTINFO): Define new macro.
19536 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19537
89c9aa49
AZ
195382012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19539
19540 [BZ #13954]
19541 [BZ #13955]
19542 [BZ #13956]
19543 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19544 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19545 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19546 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19548 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19549 * math/libm-test.inc (logb_test) : Additional logb tests.
19550
021db4be
AJ
195512012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19552 Andreas Jaeger <aj@suse.de>
19553
19554 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19555 * configure: Regenerated.
19556 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19557 * config.make.in (link-obsolete-rpc): New substituted variable.
19558 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19559 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19560 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19561 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19562 so that libc.a contains the symbols.
19563 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19564 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19565 * sunrpc/auth_none.c: Likewise.
19566 * sunrpc/auth_unix.c: Likewise.
19567 * sunrpc/authdes_prot.c: Likewise.
19568 * sunrpc/authuxprot.c: Likewise.
19569 * sunrpc/clnt_gen.c: Likewise.
19570 * sunrpc/clnt_perr.c: Likewise.
19571 * sunrpc/clnt_raw.c: Likewise.
19572 * sunrpc/clnt_simp.c: Likewise.
19573 * sunrpc/clnt_tcp.c: Likewise.
19574 * sunrpc/clnt_udp.c: Likewise.
19575 * sunrpc/clnt_unix.c: Likewise.
19576 * sunrpc/des_crypt.c: Likewise.
19577 * sunrpc/des_soft.c: Likewise.
19578 * sunrpc/get_myaddr.c: Likewise.
19579 * sunrpc/key_call.c: Likewise.
19580 * sunrpc/key_prot.c: Likewise.
19581 * sunrpc/netname.c: Likewise.
19582 * sunrpc/pm_getmaps.c: Likewise.
19583 * sunrpc/pm_getport.c: Likewise.
19584 * sunrpc/pmap_clnt.c: Likewise.
19585 * sunrpc/pmap_prot.c: Likewise.
19586 * sunrpc/pmap_prot2.c: Likewise.
19587 * sunrpc/pmap_rmt.c: Likewise.
19588 * sunrpc/publickey.c: Likewise.
19589 * sunrpc/rpc_cmsg.c: Likewise.
19590 * sunrpc/rpc_common.c: Likewise.
19591 * sunrpc/rpc_dtable.c: Likewise.
19592 * sunrpc/rpc_prot.c: Likewise.
19593 * sunrpc/rpc_thread.c: Likewise.
19594 * sunrpc/rtime.c: Likewise.
19595 * sunrpc/svc.c: Likewise.
19596 * sunrpc/svc_auth.c: Likewise.
19597 * sunrpc/svc_raw.c: Likewise.
19598 * sunrpc/svc_run.c: Likewise.
19599 * sunrpc/svc_tcp.c: Likewise.
19600 * sunrpc/svc_udp.c: Likewise.
19601 * sunrpc/svc_unix.c: Likewise.
19602 * sunrpc/svcauth_des.c: Likewise.
19603 * sunrpc/xcrypt.c: Likewise.
19604 * sunrpc/xdr.c: Likewise.
19605 * sunrpc/xdr_array.c: Likewise.
19606 * sunrpc/xdr_float.c: Likewise.
19607 * sunrpc/xdr_intXX_t.c: Likewise.
19608 * sunrpc/xdr_mem.c: Likewise.
19609 * sunrpc/xdr_rec.c: Likewise.
19610 * sunrpc/xdr_ref.c: Likewise.
19611 * sunrpc/xdr_sizeof.c: Likewise.
19612 * sunrpc/xdr_stdio.c: Likewise.
19613
b5c086a2
RM
196142012-05-10 Roland McGrath <roland@hack.frob.com>
19615
19616 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19617 change. Update copyright years.
19618
6d74dd09
JM
196192012-05-10 Joseph Myers <joseph@codesourcery.com>
19620
19621 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19622
28e72501
MK
196232012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19624 Joseph Myers <joseph@codesourcery.com>
19625 Paul Pluzhnikov <ppluzhnikov@google.com>
19626
19627 [BZ #14012]
19628 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19629 requiring rpcgen.
19630 [cross-compiling] (extra-libs): Likewise.
19631 [cross-compiling] (extra-libs-others): Likewise.
19632 [cross-compiling] (librpcsvc-routines): Likewise.
19633 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19634 [cross-compiling] (omit-deps): Likewise.
19635 (sunrpc-CPPFLAGS): New variable.
19636 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19637 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19638 (cross-rpcgen-objs): New variable.
19639 (extra-objs): Append $(cross-rpcgen-objs).
19640 ($(cross-rpcgen-objs)): New rule.
19641 ($(objpfx)cross-rpcgen): Likewise.
19642 (rpcgen-cmd): Define to use $(built-program-file). Expand
19643 comment.
19644 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19645 ($(objpfx)x%.stmp): Likewise.
19646 * sunrpc/proto.h [IS_IN_build] (_): Define.
19647 [IS_IN_build] (_libc_intl_domainname): Likewise.
19648
c8c59454
L
196492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19650
19651 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19652 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19653 and R_X86_64_TPOFF64.
19654
6f27cd16
JM
196552012-05-10 Joseph Myers <joseph@codesourcery.com>
19656
19657 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19658 sysdeps/unix/sysv/syscalls.list.
19659 (stime): Likewise.
19660 (utime): Likewise.
19661 * sysdeps/unix/sysv/syscalls.list: Remove file.
19662
02467e1c
PE
196632012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19664
19665 [BZ #3440]
19666 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19667 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19668 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19669 (__LC_IDENTIFICATION): Make these macros useful in #if
19670 expressions, as required by C99.
19671
da392631
AS
196722012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19673
19674 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19675 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19676 after this.
19677
8115f29b
L
196782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19679
19680 * stdlib/longlong.h: Updated from GCC.
19681
bdd74070
AJ
196822012-05-09 Andreas Jaeger <aj@suse.de>
19683
edfe0dbe
AJ
19684 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19685 default is first entry.
19686 (run_mode): Set type.
19687 (main): Remove informal message about syslog.
19688 (options): Fix typo.
19689
bcfe3a54
ST
19690 [BZ #14053]
19691 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19692 to asm.
bcfe3a54
ST
19693 (lrint): Likewise.
19694 (llrintf): Likewise.
19695 (llrint): Likewise.
19696 (rint): Likewise.
19697 (rintf): Likewise.
19698 (nearbyint): Likewise.
19699 (nearbyintf): Likewise.
bdd74070 19700
91d8d69e
AJ
197012012-05-09 Andreas Jaeger <aj@suse.de>
19702 Pedro Alves <palves@redhat.com>
19703
19704 * nscd/nscd.c (run_mode): Use enum.
19705 (main): Cleanup coding style issue.
19706
bb90b80b
AJ
197072012-05-09 Alexandre Oliva <aoliva@redhat.com>
19708 Andreas Jaeger <aj@suse.de>
19709
bcfe3a54
ST
19710 * nscd/nscd.c (go_background): Replaced with...
19711 (run_mode): ... this.
bb90b80b 19712 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19713 (options): Add -F --foreground.
19714 (main): Implement it.
19715 (parse_opt): Parse it.
bb90b80b 19716
1a4b75a1
AJ
197172012-05-09 Andreas Jaeger <aj@suse.de>
19718
19719 [BZ #14083]
19720 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19721 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19722 -Wconversion warning.
19723 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19724 Likewise.
19725
b1cc2472
JM
197262012-05-09 Joseph Myers <joseph@codesourcery.com>
19727
19728 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19729 == 0.
19730 (LC_ALL): Use macro-int-constant.
19731 (LC_COLLATE): Likewise.
19732 (LC_CTYPE): Likewise.
19733 (LC_MESSAGES): Likewise.
19734 (LC_MONETARY): Likewise.
19735 (LC_NUMERIC): Likewise.
19736 (LC_TIME): Likewise.
19737 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19738 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19739 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19740 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19741 Specify type.
19742 [C99-based standards] (float_t): Expect type.
19743 [C99-based standards] (double_t): Expect type.
19744 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19745 type.
19746 [C99-based standards] (HUGE_VALL): Likewise.
19747 [C99-based standards] (INFINITY): Likewise.
19748 [C99-based standards] (NAN): Likewise.
19749 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19750 [C99-based standards] (FP_NAN): Likewise.
19751 [C99-based standards] (FP_NORMAL): Likewise.
19752 [C99-based standards] (FP_SUBNORMAL): Likewise.
19753 [C99-based standards] (FP_ZERO): Likewise.
19754 [C99-based standards] (FP_FAST_FMA): Use
19755 optional-macro-int-constant. Specify type. Require == 1.
19756 [C99-based standards] (FP_FAST_FMAF): Likewise.
19757 [C99-based standards] (FP_FAST_FMAL): Likewise.
19758 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19759 [C99-based standards] (FP_ILOGBNAN): Likewise.
19760 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19761 Specify type.
19762 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19763 [C99-based standards] (math_errhandling): Specify type.
19764 [ISO99 || ISO11] (signgam): Do not allow.
19765 [non-C99-based standards] (copysignf): Do not allow.
19766 [non-C99-based standards] (exp2f): Likewise.
19767 [non-C99-based standards] (log2f): Likewise.
19768 [non-C99-based standards] (modff): Allow.
19769 [non-C99-based standards] (erff): Do not allow.
19770 [non-C99-based standards] (erfcf): Likewise.
19771 [non-C99-based standards] (gammaf): Likewise.
19772 [non-C99-based standards] (hypotf): Likewise.
19773 [non-C99-based standards] (j0f): Likewise.
19774 [non-C99-based standards] (j1f): Likewise.
19775 [non-C99-based standards] (jnf): Likewise.
19776 [non-C99-based standards] (lgammaf): Likewise.
19777 [non-C99-based standards] (tgammaf): Likewise.
19778 [non-C99-based standards] (y0f): Likewise.
19779 [non-C99-based standards] (y1f): Likewise.
19780 [non-C99-based standards] (ynf): Likewise.
19781 [non-C99-based standards] (isnanf): Likewise.
19782 [non-C99-based standards] (acoshf): Likewise.
19783 [non-C99-based standards] (asinhf): Likewise.
19784 [non-C99-based standards] (atanhf): Likewise.
19785 [non-C99-based standards] (cbrtf): Likewise.
19786 [non-C99-based standards] (expm1f): Likewise.
19787 [non-C99-based standards] (ilogbf): Likewise.
19788 [non-C99-based standards] (log1pf): Likewise.
19789 [non-C99-based standards] (logbf): Likewise.
19790 [non-C99-based standards] (nextafterf): Likewise.
19791 [non-C99-based standards] (remainderf): Likewise.
19792 [non-C99-based standards] (rintf): Likewise.
19793 [non-C99-based standards] (scalbf): Likewise.
19794 [non-C99-based standards] (copysignl): Likewise.
19795 [non-C99-based standards] (exp2l): Likewise.
19796 [non-C99-based standards] (log2l): Likewise.
19797 [non-C99-based standards] (modfl): Allow.
19798 [non-C99-based standards] (erfl): Do not allow.
19799 [non-C99-based standards] (erfcl): Likewise.
19800 [non-C99-based standards] (gammal): Likewise.
19801 [non-C99-based standards] (hypotl): Likewise.
19802 [non-C99-based standards] (j0l): Likewise.
19803 [non-C99-based standards] (j1l): Likewise.
19804 [non-C99-based standards] (jnl): Likewise.
19805 [non-C99-based standards] (lgammal): Likewise.
19806 [non-C99-based standards] (tgammal): Likewise.
19807 [non-C99-based standards] (y0l): Likewise.
19808 [non-C99-based standards] (y1l): Likewise.
19809 [non-C99-based standards] (ynl): Likewise.
19810 [non-C99-based standards] (isnanl): Likewise.
19811 [non-C99-based standards] (acoshl): Likewise.
19812 [non-C99-based standards] (asinhl): Likewise.
19813 [non-C99-based standards] (atanhl): Likewise.
19814 [non-C99-based standards] (cbrtl): Likewise.
19815 [non-C99-based standards] (expm1l): Likewise.
19816 [non-C99-based standards] (ilogbl): Likewise.
19817 [non-C99-based standards] (log1pl): Likewise.
19818 [non-C99-based standards] (logbl): Likewise.
19819 [non-C99-based standards] (nextafterl): Likewise.
19820 [non-C99-based standards] (remainderl): Likewise.
19821 [non-C99-based standards] (rintl): Likewise.
19822 [non-C99-based standards] (scalbl): Likewise.
19823 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19824 [non-C99-based standards] (FP_*): Do not allow.
19825 [C99-based standards] (FP_*): Change to
19826 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19827 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19828 allow.
19829 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19830 (SIG_ERR): Likewise.
19831 [X/Open-based standards] (SIG_HOLD): Likewise.
19832 (SIG_IGN): Likewise.
19833 (SIGABRT): Use macro-int-constant. Specify type. Require
19834 positive value.
19835 (SIGFPE): Likewise.
19836 (SIGILL): Likewise.
19837 (SIGINT): Likewise.
19838 (SIGSEGV): Likewise.
19839 (SIGTER): Likewise.
19840 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19841 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19842 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19843 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19844 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19845 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19846 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19847 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19848 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19849 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19850 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19851 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19852 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19853 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19854 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19855 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19856 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19857 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19858 [X/Open-based standards] (SIGTRAP): Likewise.
19859 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19860 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19861 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19862 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19863 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19864 allow.
19865
b9f1922d
IW
198662012-05-08 Ian Wienand <ianw@vmware.com>
19867
19868 [BZ #14080]
19869 * time/tzset.c (__tzset_parse_tz): Update default rules for
19870 daylight time changes in the Energy Policy Act of 2005.
19871
1db86e88
AJ
198722012-05-09 Andreas Jaeger <aj@suse.de>
19873
19874 [BZ #13983]
19875 * elf/ldconfig.c (parse_conf): Change string to make clear that
19876 ldconfig only issued a warning if ld.so.conf does not exist.
19877
dee4a4e3
DM
198782012-05-08 David S. Miller <davem@davemloft.net>
19879
ee0db190
DM
19880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19881 movxtod instead of popping the value on the stack.
19882
dee4a4e3
DM
19883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19884
6a43ec98
CD
198852012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19886
19887 * config.h.in: Add HAVE_ARM_PCS_VFP.
19888
05c2c961
RMG
198892012-05-08 Roland Mc Grath <roland@hack.frob.com>
19890
bcfe3a54
ST
19891 [BZ #13979]
19892 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19893 checking but the checks are disabled for any reason.
05c2c961 19894
4b30f61a
L
198952012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19896
19897 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19898 and ELF64_R_TYPE with ELFW(R_TYPE).
19899
eee2bc67
JM
199002012-05-08 Joseph Myers <joseph@codesourcery.com>
19901
7ea5391a
JM
19902 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19903 (ulimit): Likewise.
19904
eee2bc67
JM
19905 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19906 (settimeofday): Likewise.
19907
abb66a67
MF
199082012-05-08 Mike Frysinger <vapier@gentoo.org>
19909
19910 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19911 a struct th_u2 inside the union, and move tu_block/tu_code into
19912 a new th_u3 union of tu_block/tu_code inside of that. Move
19913 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19914 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19915 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19916 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19917 (th_stuff): Change to th_u1.tu_stuff.
19918 (th_data): Define.
19919 (th_msg): Change to th_u1.th_u2.tu_data.
19920
7f18b530
DM
199212012-05-07 David S. Miller <davem@davemloft.net>
19922
05760585
DM
19923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19924
7f18b530
DM
19925 [BZ #14074]
19926 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19927 (SETUP_PIC_REG): Use it.
19928 (SETUP_PIC_REG_LEAF): Use it.
19929
495fd99f
JM
199302012-05-07 Joseph Myers <joseph@codesourcery.com>
19931
19932 [BZ #13885]
19933 [BZ #13923]
19934 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19935 USE_AS_EXPM1L.
19936 (EXPL_FINITE): Likewise.
19937 (FLDLOG): Likewise.
19938 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19939 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19940 e_expl.S.
19941 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19942 USE_AS_EXPM1L.
19943 (EXPL_FINITE): Likewise.
19944 (FLDLOG): Likewise.
19945 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19946 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19947 e_expl.S.
19948 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19949 test of -max_value argument for long double.
19950 * sysdeps/i386/fpu/libm-test-ulps: Update.
19951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19952
6693d694
DM
199532012-05-06 David S. Miller <davem@davemloft.net>
19954
19955 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19956 quad soft-float symbols whose references which are compiler
19957 generated.
19958 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19959
6c23e11c
JM
199602012-05-06 Joseph Myers <joseph@codesourcery.com>
19961
d8b82cad
JM
19962 [BZ #13884]
19963 [BZ #13914]
19964 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19965 USE_AS_EXP10L.
19966 (EXPL_FINITE): Likewise.
19967 (FLDLOG): Likewise.
19968 (c0): Likewise.
19969 (c1): Likewise.
19970 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19971 Adjust comments for base varying.
19972 (__expl_finite): Change alias to EXPL_FINITE.
19973 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19974 e_expl.S.
19975 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19976 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19977 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19978 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19979 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19980 USE_AS_EXP10L.
19981 (EXPL_FINITE): Likewise.
19982 (FLDLOG): Likewise.
19983 (c0): Likewise.
19984 (c1): Likewise.
19985 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19986 Adjust comments for base varying.
19987 (__expl_finite): Change alias to EXPL_FINITE.
19988 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19989 tests for bugs.
19990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19991
6c23e11c
JM
19992 [BZ #14064]
19993 * math/libm-test.inc (check_float_internal): Correct ulp
19994 calculation for subnormal expected results.
19995
29ba805c
AJ
199962012-05-06 Andreas Jaeger <aj@suse.de>
19997
19998 * Makeconfig (+math-flags): New, set to -frounding-math.
19999 (+cflags): Add +math-flags so that all of glibc gets compiled with
20000 it.
20001
20002 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20003
7b17aeda
JM
200042012-05-05 Joseph Myers <joseph@codesourcery.com>
20005
5779f134
JM
20006 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20007 Disable one test.
20008
41498f4d
JM
20009 [BZ #13787]
20010 [BZ #13922]
20011 [BZ #14036]
20012 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20013 (__ieee754_expl): Allow for and saturate large arguments.
20014 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20015 (u_threshold): Likewise.
20016 (__exp): Call __ieee754_exp before checking for overflow and
20017 underflow.
20018 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20019 (u_threshold): Likewise.
20020 (__expf): Call __ieee754_expf before checking for overflow and
20021 underflow.
20022 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20023 (u_threshold): Likewise.
20024 (__expl): Call __ieee754_expl before checking for overflow and
20025 underflow.
20026 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20027 (__ieee754_expl): Allow for and saturate large arguments.
20028 * math/libm-test.inc (exp_test): Add another test. Do not allow
20029 missing overflow exception on overflow.
20030 (expm1_test): Do not allow missing overflow exception on overflow.
20031
6698b8bf
JM
20032 * sysdeps/i386/fpu/e_expl.c: Move to ...
20033 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20034 rather than using inline asm.
20035 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20036 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20037 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20038
7b17aeda
JM
20039 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20040 (nice): Likewise.
20041 (poll): Likewise.
20042 (signal): Likewise.
20043 (time): Likewise.
20044 (times): Likewise.
20045
f7c85819
JM
200462012-05-04 Joseph Myers <joseph@codesourcery.com>
20047
20048 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20049 sysdeps/unix/common/syscalls.list.
20050 (fchmod): Likewise.
20051 (fchown): Likewise.
20052 (ftruncate): Likewise.
20053 (getrusage): Likewise.
20054 (gettimeofday): Likewise.
20055 (setpgid): Likewise.
20056 (setregid): Likewise.
20057 (setreuid): Likewise.
20058 (sigaction): Likewise.
20059 (truncate): Likewise.
20060 (vhangup): Likewise.
20061 * sysdeps/unix/common/syscalls.list: Remove file.
20062 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20063 * sysdeps/unix/sysv/linux/Implies: Likewise.
20064
336270d0
L
200652012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20066
20067 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20069 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20070 Moved to ...
20071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20072 Here.
20073 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20074 to ...
20075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20076 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20077 to ...
20078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20079 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20080 to ...
20081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20082 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20083 to ...
20084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20085 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20086 to ...
20087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20088 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20089 to ...
20090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20091 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20092 to ...
20093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20094 Here.
20095 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20096 to ...
20097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20098 Here.
20099 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20100 to ...
20101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20102 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20103 Moved to ...
20104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20105 Here.
20106 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20107 to ...
20108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20109
d128e450
JM
201102012-05-04 Joseph Myers <joseph@codesourcery.com>
20111
fa8ee516
JM
20112 * sysdeps/unix/common/bits/dirent.h: Remove file.
20113 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20114
d128e450
JM
20115 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20116 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20117 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20118 * sysdeps/unix/bsd/isatty.c: Likewise.
20119 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20120 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20121 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20122
ff8faaf0 201232012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20124
62881be4 20125 [BZ #13563]
31dc8730
AZ
20126 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20127 long double comparison inaccuracies.
20128 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20130
6fef930c
AS
201312012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20132
20133 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20134 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20135
8f203e6c
JM
201362012-05-04 Joseph Myers <joseph@codesourcery.com>
20137
20138 [BZ #14049]
20139 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20140 nonzero digits before rounding a hex value.
20141 * stdlib/tst-strtod.c (tests): Add another test.
20142
5197d9c2
AK
201432012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20144
20145 * sysdeps/s390/fpu/libm-test-ulps: Update.
20146
f0c1dedf
AJ
201472012-05-03 Andreas Jaeger <aj@suse.de>
20148
20149 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20150 does not get optimized out.
20151 (malloc_opt_barrier): New.
20152
a65ef2ae 201532012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20154 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20155
2b942cb7 20156 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20157 intermediate file deletion.
2b942cb7 20158 (generated): Add .symlist files.
a65ef2ae 20159
54b71e02
JM
201602012-05-03 Joseph Myers <joseph@codesourcery.com>
20161
20162 [BZ #13775]
20163 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20164 Redirect under this condition.
20165 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20166 [__USE_GNU] (__dprintf_chk): Not under this condition.
20167 [__USE_GNU] (__vdprintf_chk): Likewise.
20168 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20169 under this condition.
20170 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20171 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20172 [__USE_XOPEN2K8] (vdprintf): Likewise.
20173 [__USE_GNU] (__dprintf_chk): Not under this condition.
20174 [__USE_GNU] (__vdprintf_chk): Likewise.
20175 [__USE_GNU] (dprintf): Likewise.
20176 [__USE_GNU] (vdprintf): Likewise.
20177
d3dfcc41
RM
201782012-05-03 Roland McGrath <roland@hack.frob.com>
20179
20180 * elf/Makefile (common-generated): Set this instead of generated for
20181 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20182 $(all-built-dso)-derived lists.
20183
7ac30cc5
AJ
201842012-05-03 Andreas Jaeger <aj@suse.de>
20185
0c51e550
AJ
20186 * sysdeps/i386/fpu/libm-test-ulps: Update.
20187
7ac30cc5
AJ
20188 * FAQ: Removed.
20189 * FAQ.in: Likewise.
20190 * scripts/gen-FAQ.pl: Likewise.
20191 * manual/install.texi (Installation): Point to online location of
20192 FAQ.
20193 * Makefile (files-for-dist): Remove FAQ.
20194 (FAQ): Remove.
20195
d4c2917f
AM
201962012-05-02 Allan McRae <allan@archlinux.org>
20197
20198 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20199 (LDFLAGS-reldepmod5.so): Likewise.
20200 (LDFLAGS-reldep6mod1.so): Likewise.
20201 (LDFLAGS-reldep6mod4.so): Likewise.
20202 (LDFLAGS-reldep8mod3.so): Likewise.
20203 (LDFLAGS-unload4mod1.so): Likewise.
20204 (LDFLAGS-unload4mod2.so): Likewise.
20205 (LDFLAGS-tst-initorder): Likewise.
20206 (LDFLAGS-tst-initordera2.so): Likewise.
20207 (LDFLAGS-tst-initordera3.so): Likewise.
20208 (LDFLAGS-tst-initordera4.so): Likewise.
20209 (LDFLAGS-tst-initorderb2.so): Likewise.
20210 (LDFLAGS-noload): Likewise.
20211 (LDFLAGS-next): Likewise.
20212 (LDFLAGS-order2mod1.so): Likewise.
20213 (LDFLAGS-order2mod2.so): Likewise.
20214 (LDFLAGS-tst-initorder2): Likewise.
20215 (LDFLAGS-tst-initorder2a.so): Likewise.
20216 (LDFLAGS-tst-initorder2b.so): Likewise.
20217 (LDFLAGS-tst-initorder2c.so): Likewise.
20218 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20219
d77f993f
DM
202202012-05-02 David S. Miller <davem@davemloft.net>
20221
20222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20223
171a70b4
PP
202242012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20225
20226 [BZ #14055]
20227 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20228
0be196ad
AJ
202292012-05-02 Andreas Jaeger <aj@suse.de>
20230
20231 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20232 since we manipulate rounding mode.
20233 (CPPFLAGS-test-idouble.c): Likewise.
20234 (CPPFLAGS-test-ifloat.c): Likewise.
20235 (CFLAGS-test-ldouble.c): Likewise.
20236 (CFLAGS-test-double.c): Likewise.
20237 (CFLAGS-test-float.c): Likewise.
20238 (CFLAGS-test-misc.c): Likewise.
20239 (CFLAGS-test-test-fenv.c): Likewise.
20240
4f9d04aa
AZ
202412012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20242
2b942cb7
RM
20243 [BZ #2550]
20244 [BZ #2570]
20245 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20246 comparisons to determine direction to adjust input.
4f9d04aa 20247
82a79e7d
RM
202482012-05-01 Roland McGrath <roland@hack.frob.com>
20249
f5a01ca9
RM
20250 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20251 output to the target.
20252
90fe4186
RM
20253 * scripts/localplt.awk: New file.
20254 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20255 (check-localplt-CFLAGS): Variable removed.
20256 ($(all-built-dso:=.jmprel)): New static pattern rule.
20257 (generated): Add those targets.
20258 (localplt-built-dso): New variable.
20259 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20260
20261 * elf/check-localplt.c: File removed.
20262
82397ed6
RM
20263 * scripts/check-execstack.awk: New file.
20264 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20265 (check-execstack-CFLAGS): Variable removed.
20266 ($(objpfx)check-execstack.h): Target removed.
20267 ($(objpfx)execstack-default): New target.
20268 (generated): Add that instead of check-execstack.h.
20269 ($(all-built-dso:=.phdr)): New static pattern rule.
20270 (generated): Add those targets.
20271 * elf/check-execstack.c: File removed.
20272
82a79e7d
RM
20273 * scripts/check-textrel.awk: New file.
20274 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20275 (check-textrel-CFLAGS): Variable removed.
20276 (all-built-dso): Use := to define.o
20277 ($(all-built-dso:=.dyn)): New static pattern rule.
20278 (generated): Add those targets.
20279 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20280 * config.make.in (READELF): New substituted variable.
20281 * elf/check-textrel.c: File removed.
20282
62fde54f 202832012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20284
615605c9
JM
20285 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20286 allow.
20287 * conform/data/ctype.h-data [C99-based standards] (isblank):
20288 Expect function.
20289 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20290 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20291 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20292 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20293 Specify type. Require positive value.
20294 (EILSEQ): Likewise.
20295 (ERANGE): Likewise.
20296 [ISO || POSIX] (EILSEQ): Do not expect.
20297 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20298 Specify type. Require positive value.
20299 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20300 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20301 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20302 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20303 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20304 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20305 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20306 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20307 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20308 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20309 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20310 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20311 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20312 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20313 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20314 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20315 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20316 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20317 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20318 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20319 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20320 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20321 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20322 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20323 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20324 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20325 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20326 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20327 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20328 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20329 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20330 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20331 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20332 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20333 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20334 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20335 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20336 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20337 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20338 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20339 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20340 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20341 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20342 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20343 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20344 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20345 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20346 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20347 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20348 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20349 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20350 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20351 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20352 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20353 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20354 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20355 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20356 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20357 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20358 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20359 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20360 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20361 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20362 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20363 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20364 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20365 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20366 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20367 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20368 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20369 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20370 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20371 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20372 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20373 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20374 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20375 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20376 Require >= 2.
20377 (FLT_ROUNDS): Expect as macro, not constant.
20378 (FLT_MANT_DIG): Use macro-int-constant.
20379 (DBL_MANT_DIG): Likewise.
20380 (LDBL_MANT_DIG): Likewise.
20381 (FLT_DIG): Likewise.
20382 (DBL_DIG): Likewise.
20383 (LDBL_DIG): Likewise.
20384 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20385 (DBL_MIN_EXP): Likewise.
20386 (LDBL_MIN_EXP): Likewise.
20387 (FLT_MAX_EXP): Use macro-int-constant.
20388 (DBL_MAX_EXP): Likewise.
20389 (LDBL_MAX_EXP): Likewise.
20390 (FLT_MAX_10_EXP): Likewise.
20391 (DBL_MAX_10_EXP): Likewise.
20392 (LDBL_MAX_10_EXP): Likewise.
20393 (FLT_MAX): Use macro-constant.
20394 (DBL_MAX): Likewise.
20395 (LDBL_MAX): Likewise.
20396 (FLT_EPSILON): Use macro-constant. Give upper bound.
20397 (DBL_EPSILON): Likewise.
20398 (LDBL_EPSILON): Likewise.
20399 (FLT_MIN): Likewise.
20400 (DBL_MIN): Likewise.
20401 (LDBL_MIN): Likewise.
20402 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20403 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20404 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20405 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20406 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20407 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20408 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20409 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20410 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20411 [ISO11] (FLT_TRUE_MIN): Likewise.
20412 [ISO11] (LDBL_TRUE_MIN): Likewise.
20413 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20414 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20415 (SCHAR_MIN): Use macro-int-constant. Specify type.
20416 (SCHAR_MAX): Likewise.
20417 (UCHAR_MAX): Likewise.
20418 (CHAR_MIN): Likewise.
20419 (CHAR_MAX): Likewise.
20420 (MB_LEN_MAX): Use macro-int-constant.
20421 (SHRT_MIN): Use macro-int-constant. Specify type.
20422 (SHRT_MAX): Likewise.
20423 (USHRT_MAX): Likewise.
20424 (INT_MAX): Likewise.
20425 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20426 bound negative.
20427 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20428 bound with "U".
20429 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20430 bound with "L".
20431 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20432 bound negative. Suffix upper bound with "L".
20433 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20434 bound with "UL".
20435 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20436 Specify type.
20437 [C99-based standards] (LLONG_MAX): Likewise.
20438 [C99-based standards] (ULLONG_MAX): Likewise.
20439 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20440 == 0.
20441 [ISO11] (max_align_t): Require type.
20442 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20443
c9140a62
JM
20444 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20445 from $CFLAGS, without defining away __attribute__ calls.
20446 (checknamespace): Use $CFLAGS_namespace.
20447
9af0bf29
JM
20448 * conform/conformtest.pl (@keywords): Only include C99 keywords
20449 for standards based on C99 or C11.
20450
343222a2
JM
20451 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20452 Disable tests.
20453 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20454 UNIX98]: Likewise.
20455
661f8cf0
JM
20456 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20457 usability of symbols in #if.
20458
ee74b9cb
JM
20459 * conform/conformtest.pl: If macro or constant types start
20460 "promoted:", expect the symbol to be of the following type
20461 promoted by the integer promotions.
62fde54f 20462
aafc49b3
JM
20463 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20464 in one place. Also handle "macro-constant".
20465
fefdf574
JM
20466 * conform/conformtest.pl: Only accept expected macro values with
20467 "==". Parse all "macro" lines in one place.
20468 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20469
f2d922fe
JM
20470 * conform/conformtest.pl: Handle braced types on "constant" lines
20471 instead of handling "typed-constant".
20472 * conform/data/signal.h-data: Use "constant" instead of
20473 "typed-constant".
20474
d22956c9
JM
20475 * conform/conformtest.pl: Handle "optional-" at start of lines in
20476 one place rather than duplicating several cases. Handle each
20477 format of "macro" line with initial "optional-".
20478
028e2e38
JM
20479 * conform/conformtest.pl: Only accept expected constant or
20480 optional-constant values with "==". Parse all "constant" lines in
20481 one place. Parse all "optional-constant" lines in one place.
20482 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20483 * conform/data/fmtmsg.h-data: Likewise.
20484 * conform/data/netinet/in.h-data: Likewise.
20485 * conform/data/tar.h-data: Likewise.
20486 * conform/data/limits.h-data: Use "==" form on "constant" and
20487 "optional-constant" lines.
20488
1b8f2850
JM
20489 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20490 Use -std=c99 for XOPEN2K.
20491 (@knownproblems): Remove.
20492 (newtoken): Don't check %isknown.
20493
a05a144b
JM
20494 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20495 Do not expect macro.
20496 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20497 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20498 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20503 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20504 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20506 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20507 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20508 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20509 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20526 [XPG3] (acosh): Likewise.
20527 [XPG3] (asinh): Likewise.
20528 [XPG3] (atanh): Likewise.
20529 [XPG3] (cbrt): Likewise.
20530 [XPG3] (expm1): Likewise.
20531 [XPG3] (ilogb): Likewise.
20532 [XPG3] (log1p): Likewise.
20533 [XPG3] (logb): Likewise.
20534 [XPG3] (nextafter): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20537 [XPG3] (remainder): Likewise.
20538 [XPG3] (rint): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20546 [UNIX98 || XOPEN2K] (scalb): Expect.
20547 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20548 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20550 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20553 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20554 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20562 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20563 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20564 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20565 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20566 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20567 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20568 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20569 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20570 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20571 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20572 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20573 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20574 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20575 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20576 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20577 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20578 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20579 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20580 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20581 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20582 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20583 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20584 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20585 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20586 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20587 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20588 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20589 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20590 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20591 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20592 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20593 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20594 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20595 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20596 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20597 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20598 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20599 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20600 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20601 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20602 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20603 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20604 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20605 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20606 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20607 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20608 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20609 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20610 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20611 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20612 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20613 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20614 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20615 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20616 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20617 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20618 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20619 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20620 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20621 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20622 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20623 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20624 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20625 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20626 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20627 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20628 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20629 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20630 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20631 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20632 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20633 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20634 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20635 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20636 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20637 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20638 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20639 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20640 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20641 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20642 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20643 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20644 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20645 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20646 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20647 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20648 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20649 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20650 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20651 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20652 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20653 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20654 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20655 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20656 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20657 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20658 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20659 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20660 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20661 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20662 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20663 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20664 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20665 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20666 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20667 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20668 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20669 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20670 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20671 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20672 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20673 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20674 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20675 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20676 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20677 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20678 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20679 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20680 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20681 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20682 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20683 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20684
73c5ebe3
JM
20685 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20686 _XOPEN_SOURCE_EXTENDED for XPG4.
20687
39c33b6c
JM
20688 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20689
62fde54f
JM
20690 * Makeconfig (localtime): Remove variable.
20691 (inst_localtime-file): Likewise.
20692
0741d64c
AS
206932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20694
20695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20696 Update.
20697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20698 Update.
20699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20700 Update.
20701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20702 Update.
20703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20704 Update.
20705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20706 Update.
20707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20708 Update.
20709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20710 Update.
20711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20712 Update.
20713
7cb029ee
JM
207142012-05-01 Joseph Myers <joseph@codesourcery.com>
20715
20716 [BZ #2550]
20717 [BZ #2570]
20718 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20719 comparisons to determine direction to adjust input.
20720 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20721 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20722 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20723 Likewise.
20724 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20725 Likewise.
20726 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20727 Likewise.
20728 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20729 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20730 Likewise.
20731 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20732 Likewise.
20733 * math/libm-test.inc (nexttoward_test): Add more tests.
20734
412bd966
AS
207352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20736
20737 [BZ #14040]
20738 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20739 in version GLIBC_2.1, not GLIBC_2.0.
20740 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20741 Likewise.
20742
9568c0c2
JM
207432012-04-30 Joseph Myers <joseph@codesourcery.com>
20744
adfbc8ac
JM
20745 [BZ #13942]
20746 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20747 (1 - x) * (1 + x).
20748 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20749 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20750 * math/libm-test.inc (acos_test): Add more tests.
20751 (asin_test): Likewise.
20752 * sysdeps/i386/fpu/libm-test-ulps: Update.
20753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20754
5ba3cc69
JM
20755 [BZ #14034]
20756 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20757 of square root.
20758 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20759 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20760 * math/libm-test.inc (acos_test_tonearest): New function.
20761 (acos_test_towardzero): Likewise.
20762 (acos_test_downward): Likewise.
20763 (acos_test_upward): Likewise.
20764 (asin_test_tonearest): Likewise.
20765 (asin_test_towardzero): Likewise.
20766 (asin_test_downward): Likewise.
20767 (asin_test_upward): Likewise.
20768 (main): Call the new functions.
20769 * sysdeps/i386/fpu/libm-test-ulps: Update.
20770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20771
9568c0c2
JM
20772 [BZ #13884]
20773 [BZ #13924]
20774 * math/e_exp10.c: Include <float.h>.
20775 (__ieee754_exp10): Handle underflow here rather than multiplying
20776 large negative argument by M_LN10.
20777 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20778 of __ieee754_expf.
20779 * math/e_exp10l.c: Include <float.h>.
20780 (__ieee754_exp10l): Handle underflow here rather than multiplying
20781 large negative argument by M_LN10l.
20782 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20783 spurious overflow exception on underflow.
20784
5ac3ea17
MP
207852012-04-29 Marek Polacek <polacek@redhat.com>
20786
20787 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20788 (__fortify_function): New macro.
20789 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20790 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20791 __extern_always_inline.
20792 * libio/bits/stdio2.h: Likewise.
20793 * libio/bits/stdio.h: Likewise.
20794 * string/string.h: Likewise.
20795 * string/bits/string3.h: Likewise.
20796 * include/stdio.h: Likewise.
20797 * stdlib/bits/stdlib.h: Likewise.
20798 * stdlib/stdlib.h: Likewise.
20799 * rt/bits/mqueue2.h: Likewise.
20800 * rt/mqueue.h: Likewise.
20801 * posix/bits/unistd.h: Likewise.
20802 * posix/unistd.h: Likewise.
20803 * io/bits/poll2.h: Likewise.
20804 * io/bits/fcntl2.h: Likewise.
20805 * io/fcntl.h: Likewise.
20806 * io/sys/poll.h: Likewise.
20807 * misc/bits/syslog.h: Likewise.
20808 * misc/bits/syslog-ldbl.h: Likewise.
20809 * misc/sys/syslog.h: Likewise.
20810 * socket/bits/socket2.h: Likewise.
20811 * socket/sys/socket.h: Likewise.
20812 * debug/tst-chk1.c: Likewise.
20813 * wcsmbs/bits/wchar2.h: Likewise.
20814 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20815 * wcsmbs/wchar.h: Likewise.
20816
ecf0ebfb
AJ
208172012-04-29 Andreas Jaeger <aj@suse.de>
20818
20819 * Makerules (tests): Remove enable-check-abi protection.
20820 (check-abi-warn): Remove.
20821 (check-abi-%): Remove check-abi-warn usage.
20822
20823 * configure.in: Remove check-abi configure option.
20824 * configure: Regenerated.
20825 * config.make.in (enable-check-abi): Remove.
20826
6d5c57fa
AS
208272012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20828
24c5d07e 20829 [BZ #14033]
ded5180a
AS
20830 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20831 double functions to double *_finite functions.
20832
7e0d315d
AS
20833 [BZ #13941]
20834 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20835 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20836 LDBL_MIN_EXP.
20837 * stdio-common/Makefile (tests): Add tst-sprintf3.
20838 * stdio-common/tst-sprintf3.c: New file.
20839
6d5c57fa
AS
20840 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20841 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20842
0749ff8b
JM
208432012-04-28 Joseph Myers <joseph@codesourcery.com>
20844
20845 * conform/conformtest.pl: Remove duplicate typed-constant
20846 handling.
20847
8dbd5d7b
DM
208482012-04-28 David S. Miller <davem@davemloft.net>
20849
20850 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20851 (check-abi-%): Remove AWK script prerequisite and explicit
20852 abilist directory.
20853 (check-abi): Rewrite to just diff the symlist with the abilist.
20854 (config-tls, config-abi-config): Delete, no longer used.
20855 (update-abi-%): Remove AWK script and explicit abilist directory.
20856 (update-abi): Rewrite to simply compare and conditionally copy the
20857 symlist and the sysdep abilist file. Remove update-abi-config
20858 checks.
20859 * abilist/ld.abilist: Remove.
20860 * abilist/libBrokenLocale.abilist: Remove.
20861 * abilist/libanl.abilist: Remove.
20862 * abilist/libcrypt.abilist: Remove.
20863 * abilist/libdl.abilist: Remove.
20864 * abilist/librt.abilist: Remove.
20865 * abilist/libthread_db.abilist: Remove.
20866 * abilist/libutil.abilist: Remove.
20867 * scripts/extract-abilist.awk: Remove.
20868 * scripts/merge-abilist.awk: Remove.
20869 * sysdeps/generic/libcidn.abilist: New file.
20870 * sysdeps/generic/libnss_compat.abilist: New file.
20871 * sysdeps/generic/libnss_db.abilist: New file.
20872 * sysdeps/generic/libnss_dns.abilist: New file.
20873 * sysdeps/generic/libnss_files.abilist: New file.
20874 * sysdeps/generic/libnss_hesiod.abilist: New file.
20875 * sysdeps/generic/libnss_nis.abilist: New file.
20876 * sysdeps/generic/libnss_nisplus.abilist: New file.
20877 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20878 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20879 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20880 file.
20881 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20882 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20883 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20884 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20885 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20886 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20887 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20888 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20889 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20890 file.
20891 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20892 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20893 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20894 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20895 file.
20896 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20897 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20898 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20899 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20900 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20901 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20902 file.
20903 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20904 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20905 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20906 file.
20907 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20909 New file.
20910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20911 New file.
20912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20913 New file.
20914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20915 New file.
20916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20917 New file.
20918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20919 New file.
20920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20921 New file.
20922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20923 New file.
20924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20925 New file.
20926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20927 New file.
20928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20929 New file.
20930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20931 New file.
20932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20933 New file.
20934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20935 file.
20936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20937 New file.
20938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20939 New file.
20940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20941 file.
20942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20943 New file.
20944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20945 New file.
20946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20947 file.
20948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20949 New file.
20950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20951 New file.
20952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20953 New file.
20954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20955 New file.
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20957 New file.
20958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20959 New file.
20960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20962 file.
20963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20964 New file.
20965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20966 file.
20967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20968 file.
20969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20970 file.
20971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20972 file.
20973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20974 file.
20975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20976 New file.
20977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20978 file.
20979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20980 file.
20981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20982 New file.
20983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20984 file.
20985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20987 file.
20988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20989 New file.
20990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20991 file.
20992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20993 file.
20994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20995 file.
20996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20997 file.
20998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20999 file.
21000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21001 New file.
21002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21003 file.
21004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21005 file.
21006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21007 New file.
21008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21009 file.
21010 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21011 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21012 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21013 file.
21014 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21015 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21016 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21017 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21018 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21019 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21020 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21021 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21022 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21023 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21026 file.
21027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21028 New file.
21029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21030 file.
21031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21032 file.
21033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21034 file.
21035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21036 file.
21037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21038 file.
21039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21040 New file.
21041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21042 New file.
21043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21044 file.
21045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21046 New file.
21047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21048 file.
21049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21051 file.
21052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21053 New file.
21054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21055 file.
21056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21057 file.
21058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21059 file.
21060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21061 file.
21062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21063 file.
21064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21065 New file.
21066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21067 New file.
21068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21069 file.
21070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21071 New file.
21072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21073 file.
21074
41d73a1b
JM
210752012-04-28 Joseph Myers <joseph@codesourcery.com>
21076
21077 * conform/conformtest.pl: Fix typo in handling typed-constant from
21078 allow-header.
21079
28aeeda4
JM
210802012-04-27 Joseph Myers <joseph@codesourcery.com>
21081
adae8f5e
JM
21082 * README: Cut down references to pre-2.6 Linux kernels and
21083 Linuxthreads. Update lists of configurations in libc and ports
21084 and sort alphabetically. Say "or newer" with Linux kernel version
21085 requirements.
21086
28aeeda4
JM
21087 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21088
a462cb63
RA
210892012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21090
21091 [BZ #887]
21092 * math/libm-test.inc (logb_test_downward): New test to expose
21093 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21094 rounding mode.
21095
6ad3493e
JM
210962012-04-27 Joseph Myers <joseph@codesourcery.com>
21097
21098 [BZ #14027]
21099 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21100 to be done.
21101 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21102 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21103
2ce4f015
JM
211042012-04-26 Joseph Myers <joseph@codesourcery.com>
21105
5aeb141a
JM
21106 * sysdeps/unix/i386/brk.S: Remove file.
21107 * sysdeps/unix/i386/dl-brk.S: Likewise.
21108 * sysdeps/unix/i386/pipe.S: Likewise.
21109 * sysdeps/unix/i386/sigreturn.S: Likewise.
21110 * sysdeps/unix/i386/syscall.S: Likewise.
21111 * sysdeps/unix/i386/vfork.S: Likewise.
21112 * sysdeps/unix/i386/wait.S: Likewise.
21113
7143acae
JM
21114 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21115 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21116
2ce4f015
JM
21117 * configure.in (arm*-none*): Do not allow without
21118 --enable-hacker-mode.
21119 (netbsd*): Remove case setting base_os.
21120 (386bsd*): Likewise.
21121 (freebsd*): Likewise.
21122 (bsdi*): Likewise.
21123 (osf*): Likewise.
21124 (sunos*): Likewise.
21125 (ultrix*): Likewise.
21126 (newsos*): Likewise.
21127 (dynix*): Likewise.
21128 (*bsd*): Likewise.
21129 (sysv*): Likewise.
21130 (isc*): Likewise.
21131 (esix*): Likewise.
21132 (sco*): Likewise.
21133 (minix*): Likewise.
21134 (irix4*): Likewise.
21135 (irix6*): Likewise.
21136 (solaris[2-9]*): Likewise.
21137 (none): Likewise.
21138 * configure: Regenerated.
21139
0ac229c8
AZ
211402012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21141
21142 [BZ #11521]
21143 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21144 overflow or cancellation in calculating denominator.
21145 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21146 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21147 down expression to avoid unexpected rounding in newer GCCs.
21148 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21149
33f244f4
DM
211502012-04-26 David S. Miller <davem@davemloft.net>
21151
21152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21153 long-double compat symbols.
21154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21167
cfa1f3e8
DM
211682012-04-25 David S. Miller <davem@davemloft.net>
21169
21170 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21171 HWCAP_* values only after the memory barriers have been defined.
21172 (atomic_full_barrier): Define.
21173 (atomic_read_barrier): Define.
21174 (atomic_write_barrier): Define.
21175
6e236b92
SP
211762012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21177
21178 * shlib-versions: Add libgcc_s version information.
21179 * sysdeps/generic/libgcc_s.h: Remove.
21180 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21181 libgcc_s.h.
21182 * sysdeps/gnu/unwind-resume.c: Likewise.
21183 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21184
aab39a09
DM
211852012-04-25 David S. Miller <davem@davemloft.net>
21186
21187 * sysdeps/unix/sparc/brk.S: Delete.
21188 * sysdeps/unix/sparc/dl-brk.S: Delete.
21189 * sysdeps/unix/sparc/pipe.S: Delete.
21190 * sysdeps/unix/sparc/sysdep.S: Delete.
21191 * sysdeps/unix/sparc/sysdep.h: Delete.
21192 * sysdeps/unix/sparc/vfork.S: Delete.
21193 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21194 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21195 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21196 ret_ERRVAL, r0, r1, MOVE): Define.
21197 (JUMPTARGET): Remove.
21198 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21199 sysdeps/unix/sparc/sysdep.h
21200 (ENTRY, END): Remove.
21201 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21202
a3cc4f48
JM
212032012-04-25 Joseph Myers <joseph@codesourcery.com>
21204
2ed8cda2
JM
21205 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21206 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21207 -DIS_IN_build.
21208
35d76d59
JM
21209 * timezone/README: Update upstream location and email address for
21210 tzcode and tzdata.
21211 * timezone/zdump.c: Update from tzcode 2012b.
21212 * timezone/zic.c: Likewise.
21213
a3cc4f48
JM
21214 * configure.in (libc_cv_as_needed): Remove test.
21215 * configure: Regenerated.
21216 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21217 conditional definition.
21218 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21219 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21220 * config.make.in (have-as-needed): Remove variable.
21221
ceab42c3
SP
212222012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21223 Paul Pluzhnikov <ppluzhnikov@google.com>
21224
21225 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21226 strings correctly.
21227
3ce2865f
CLT
212282012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21229
21230 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21231 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21232 * sysdeps/sh/strlen.S: Likewise.
21233
f37e0d68
JM
212342012-04-24 Joseph Myers <joseph@codesourcery.com>
21235
ae186e9a
JM
21236 * sysdeps/unix/fork.S: Remove file.
21237 * sysdeps/unix/i386/fork.S: Likewise.
21238 * sysdeps/unix/sparc/fork.S: Likewise.
21239
b96914af
JM
21240 * sysdeps/unix/system.c: Remove file.
21241 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21242
f37e0d68
JM
21243 * sysdeps/unix/getegid.S: Remove file.
21244 * sysdeps/unix/geteuid.S: Likewise.
21245
87ef29ca
RM
212462012-04-24 Roland McGrath <roland@hack.frob.com>
21247
83bcd236
RM
21248 * scripts/check-localplt.awk: New file.
21249 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21250 of diff.
21251 * scripts/data/localplt-generic.data: Add a comment.
21252
87ef29ca
RM
21253 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21254 NODE when __dir_mkfile failed.
21255 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21256 Reported by Ludovic Courtès <ludo@gnu.org>.
21257
e5a6e567
AJ
212582012-04-24 Andreas Jaeger <aj@suse.de>
21259
21260 * Makerules (common-clean): Also remove gen-as-const-headers
21261 files.
21262
c1820385
JM
212632012-04-24 Joseph Myers <joseph@codesourcery.com>
21264
21265 * Makerules (native-compile): Do not change working directory for
21266 build. Use $(OUTPUT_OPTION) in command.
21267 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21268
94e02fc4
AZ
212692012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21270
21271 [BZ #13886]
21272 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21273 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21274 * math/libm-test.inc (floor_test): Add more tests.
21275 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21276
3a533ca3
JM
212772012-04-24 Joseph Myers <joseph@codesourcery.com>
21278
940ab4b3
JM
21279 * sysdeps/unix/getdents.c: Remove file.
21280 * sysdeps/unix/sysv/getdents.c: Likewise.
21281 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21282
90e037bd
JM
21283 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21284 sysdeps/unix/mman/syscalls.list.
21285 (mmap): Likewise.
21286 (mprotect): Likewise.
21287 (msync): Likewise.
21288 (munmap): Likewise.
21289 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21290 * sysdeps/unix/mman/syscalls.list: Remove.
21291 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21292
3a533ca3
JM
21293 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21294 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21295 * configure: Regenerated.
21296 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21297 $(libgcc_s_suffix).
21298 * config.make.in (libgcc_s_suffix): Remove variable.
21299
1ad743de
JM
213002012-04-23 Joseph Myers <joseph@codesourcery.com>
21301
4ad451e2
JM
21302 * sysdeps/unix/sysv/gethostname.c: Move to ...
21303 * sysdeps/posix/gethostname.c: ... here.
21304
5e37ce39
JM
21305 * sysdeps/unix/execve.S: Remove file.
21306
1ad743de
JM
21307 * sysdeps/unix/_exit.S: Remove file.
21308
4e681b5b
AJ
213092012-04-23 Andreas Jaeger <aj@suse.de>
21310
21311 [BZ #13739]
21312 * manual/Makefile: Remove make dist support, there's no
21313 need for a stand-alone documentation tar ball.
21314 (TEXI2DVI): Define always, it's not in Makeconfig.
21315 (dist): Removed.
21316 (tar-it): Removed.
21317 (edition): Removed.
21318 (glibc-doc-$(edition).tar): Removed
21319 (%.Z): Removed.
21320 (%.gz): Removed.
21321 (%.uu): Removed.
21322 (ETAGS): Remove, it's in Makeconfig.
21323 (move-if-change): Remove, it's in Makeconfig.
21324
38686a03 213252012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21326
21327 [BZ #13970]
21328 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21329 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21330 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21331 (strtod_l, strtof_l, strtold_l): Remove __wur.
21332 It is not necessarily an error to ignore strtol's return value.
21333 One can reliably look at the stored endptr to decide whether
21334 the number had valid syntax.
21335
7c0616fa
AJ
213362012-04-21 Andreas Jaeger <aj@suse.de>
21337
803cb6b7 21338 [BZ #13739]
7c0616fa
AJ
21339 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21340
b0fe253f
JM
213412012-04-21 Joseph Myers <joseph@codesourcery.com>
21342
21343 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21344 * sysdeps/unix/sysv/Versions: Remove file.
21345
8280f22d
MT
213462012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21347
21348 [BZ #13927]
21349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21350
75ce411f 213512012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21352
21353 [BZ #7064]
21354 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21355 version from __vm86.
21356
097d59fa
JM
213572012-04-20 Joseph Myers <joseph@codesourcery.com>
21358
a90f3bcb
JM
21359 * sysdeps/unix/common/lxstat.c: Remove file.
21360 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21361
edc7ea78
JM
21362 * sysdeps/unix/sysv/Makefile: Remove file.
21363
cb78c221
JM
21364 * sysdeps/unix/sysv/direct.h: Remove file.
21365
efa6a45f
JM
21366 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21367 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21368 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21369 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21370 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21371 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21372 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21373
9c9f2d0c
JM
21374 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21375
4541c83b
JM
21376 * sysdeps/unix/xmknod.c: Remove file.
21377 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21378
f5d153a0
JM
21379 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21380
aa746595
JM
21381 * sysdeps/unix/sysv/i386/time.S: Remove file.
21382
cce5905e
JM
21383 * sysdeps/unix/fxstat.c: Remove file.
21384 * sysdeps/unix/xstat.c: Likewise.
21385 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21386
37fa3841
JM
21387 * sysdeps/unix/sysv/sigaction.c: Remove file.
21388
ff1962a3
JM
21389 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21390 (sysdep_headers): Remove variable.
21391 [termio.h not in sysdep_headers] (generated): Likewise.
21392 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21393 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21394 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21395 * sysdeps/unix/sysv/tcflow.c: Likewise.
21396 * sysdeps/unix/sysv/tcflush.c: Likewise.
21397 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21398 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21399 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21400 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21401 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21402
e7740d31
JM
21403 * sysdeps/unix/siglist.c: Remove file.
21404
ee06f18b
JM
21405 * sysdeps/unix/getppid.S: Remove file.
21406
097d59fa
JM
21407 * sysdeps/unix/mkdir.c: Remove file.
21408 * sysdeps/unix/rmdir.c: Likewise.
21409
ff3d51ec
AS
214102012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21411
21412 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21413 ERR_MAX value.
21414 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21415 errlist-compat value.
21416
50f81fd7
DM
214172012-04-18 David S. Miller <davem@davemloft.net>
21418
21419 * sysdeps/generic/memcopy.h (reg_char): Delete.
21420 * debug/strcat_chk.c: Use char, not reg_char.
21421 * debug/strcpy_chk.c: Likewise.
21422 * debug/strncat_chk.c: Likewise.
21423 * debug/strncpy_chk.c: Likewise.
21424 * string/memchr.c: Likewise.
21425 * string/memrchr.c: Likewise.
21426 * string/rawmemchr.c: Likewise.
21427 * string/strcat.c: Likewise.
21428 * string/strchr.c: Likewise.
21429 * string/strchrnul.c: Likewise.
21430 * string/strcmp.c: Likewise.
21431 * string/strcpy.c: Likewise.
21432 * string/strncat.c: Likewise.
21433 * string/strncmp.c: Likewise.
21434 * string/strncpy.c: Likewise.
21435
8ff41c46
WS
214362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21437
21438 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21439 __builtin_memcopy is called when src and dest ranges are known to not
21440 overlap.
21441
6b652f46
WS
214422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21443
21444 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21445 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21446 fwd_align_merge macro call.
21447 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21448 bwd_align_merge macro call.
21449 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21450
b282631e
WS
214512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21452
21453 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21454 bwd_align_merge macros.
21455 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21456 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21457 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21458
95aa737c
DM
214592012-04-18 David S. Miller <davem@davemloft.net>
21460
21461 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21462
7a99a614
AJ
214632012-04-18 Andreas Jaeger <aj@suse.de>
21464
21465 [BZ# 6794]
21466 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21467 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21468 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21469
21470 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21471 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21472 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21473
21474 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21475 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21476 Adjust for changed ldbl-128 files.
21477
21478 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21479 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21480 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21481
e5270c23
DM
214822012-04-17 David S. Miller <davem@davemloft.net>
21483
21484 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21485
fb5e92c9
AS
214862012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21487
21488 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21489 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21490 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21491 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21492 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21493 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21494
76da7265
AZ
214952012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21496
21497 [BZ #6794]
21498 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21499 * math/libm-test.inc: Add ilogb errno and exception tests.
21500 * math/w_ilogb.c: New file: ilogb wrapper.
21501 * math/w_ilogbf.c: New file: ilogbf wrapper.
21502 * math/w_ilogbl.c: New file: ilogbl wrapper.
21503 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21504 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21505 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21506 exception being thrown with 0.0 as argument.
21507 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21508 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21509 exception being thrown with 0.0 as argument.
21510 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21511 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21512 exception being thrown with 0.0 as argument.
21513 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21514 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21515 exception being thrown with 0.0 as argument.
21516 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21517 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21518 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21519 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21520 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21521 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21522 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21523 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21524 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21525
0396e69d
PB
215262012-04-17 Petr Baudis <pasky@ucw.cz>
21527
21528 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21529 with altivec.
21530
750b5926
MP
215312012-04-16 Marek Polacek <polacek@redhat.com>
21532
21533 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21534
751728a1
MP
215352012-04-16 Marek Polacek <polacek@redhat.com>
21536
21537 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21538 operands of fdivp instruction.
21539
34a27407
L
215402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21541
21542 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21543 * elf/tst-auditmod3b.c: Likewise.
21544 * elf/tst-auditmod4b.c: Likewise.
21545 * elf/tst-auditmod5b.c: Likewise.
21546 * elf/tst-auditmod6b.c: Likewise.
21547 * elf/tst-auditmod6c.c: Likewise.
21548 * elf/tst-auditmod7b.c: Likewise.
21549 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21550 * sysdeps/x86_64/preconfigure.in: Likewise.
21551 * sysdeps/x86_64/preconfigure: Regenerated.
21552
7e73e17d
L
215532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21554
21555 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21556 __ILP32__.
21557
c7a6ab72
AB
215582012-04-13 Antoine Balestrat <merkil33@gmail.com>
21559
21560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21561 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21562
a9e8e0e0
CL
215632012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21564
21565 [BZ #13973]
21566 * locale/iso-639.def: Fix gl language name. Spotted by
21567 Yaron Shahrabani.
21568
ec98af7d
RM
215692012-04-12 Roland McGrath <roland@hack.frob.com>
21570
21571 [BZ #2074]
21572 * libio/libio.h (__io_write_fn): Update comment.
21573
247c3ede
PB
215742012-04-12 Petr Baudis <pasky@ucw.cz>
21575
21576 [BZ #2074]
21577 * stdio.texi (Hook Functions): The user provided writer function
21578 is not allowed to return -1.
21579
55939d6d
DM
215802012-04-11 David S. Miller <davem@davemloft.net>
21581
21582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21583
90020f5a
MF
215842012-04-11 Mike Frysinger <vapier@gentoo.org>
21585
21586 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21587 Add a leading slash to rtkaio.
21588
288f9098
JM
215892012-04-11 Jim Meyering <meyering@redhat.com>
21590
90020f5a
MF
21591 [BZ #11959]
21592 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21593 It is not necessarily an error to ignore fwrite's return
21594 value. One can reliably use ferror to test for errors after
21595 the fact.
288f9098 21596
4be2b570
L
215972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21598
21599 * bits/types.h (__snseconds_t): New type.
21600 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21601
21602 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21604 (__SNSECONDS_T_TYPE): Likewise.
21605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21606 (__SNSECONDS_T_TYPE): Likewise.
21607 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21608 (__SNSECONDS_T_TYPE): Likewise.
21609
288f9098 216102012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21611
21612 [BZ #2636]
21613 * manual/time.texi (Processor Time): Return type of times is
21614 elapsed real time since an arbitrary point in the past.
21615 (CPU Time): Move CLK_TCK from here...
21616 (Processor Time): ...to here. Correct description.
21617 * manual/conf.texi (Constants for Sysconf): Correct description of
21618 _SC_CLK_TCK.
21619
d7dd4413
DM
216202012-04-10 David S. Miller <davem@davemloft.net>
21621
21622 [BZ #13967]
21623 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21624 where the is a gap between DT_REL(A) and DT_JMPREL.
21625
b46068fc
L
216262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21627
21628 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21629 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21630 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21631
73d65cc3
SP
216322012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21633
21634 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21635 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21636 (dl_main): Handle --inhibit-cache.
21637 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21638 _dl_inhibit_cache.
21639 * elf/dl-load.c (_dl_map_object): Use it.
21640 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21641
bcc8d661
JM
216422012-04-09 Joseph Myers <joseph@codesourcery.com>
21643
8f9a2fae
JM
21644 [BZ #13872]
21645 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21646 (__ieee754_powl): Saturate large exponents rather than testing for
21647 overflow of y*log2(x).
21648 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21649 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21650 exceptions.
21651
bcc8d661
JM
21652 [BZ #11521]
21653 * math/s_ctan.c: Include <float.h>.
21654 (__ctan): Avoid internal overflow or cancellation in calculating
21655 denominator.
21656 * math/s_ctanf.c: Likewise.
21657 * math/s_ctanl.c: Likewise.
21658 * math/s_ctanh.c: Likewise.
21659 * math/s_ctanhf.c: Likewise.
21660 * math/s_ctanhl.c: Likewise.
21661 * math/libm-test.inc (ctan_test): Add more tests.
21662 (ctanh_test): Likewise.
21663 * sysdeps/i386/fpu/libm-test-ulps: Update.
21664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21665
823fbbb4
AJ
216662012-04-09 Andreas Jaeger <aj@suse.de>
21667
03879793
AJ
21668 [BZ #6894]
21669 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21670 is an optional BSD extension.
21671
823fbbb4
AJ
21672 [BZ #10254]
21673 * manual/stdio.texi (Opening Streams): Document additional fopen
21674 parameters.
21675
8de131cb
RM
216762012-04-09 Roland McGrath <roland@hack.frob.com>
21677
21678 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21679 %eax without telling the compiler.
21680
c0ed9d7d
CD
216812012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21682
21683 [BZ # 13963]
21684 * manual/install.texi: Use sourceware.org.
21685
c483f6b4
JM
216862012-04-09 Joseph Myers <joseph@codesourcery.com>
21687
d7dd9453
JM
21688 [BZ #13873]
21689 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21690 (__ieee754_pow): Generate overflow and underflow using huge*huge
21691 and tiny*tiny rather than just returning constant infinity or zero
21692 for large exponents.
21693 * math/libm-test.inc (pow_test): Require overflow exceptions for
21694 applicable cases of large exponents.
21695
c483f6b4
JM
21696 [BZ #706]
21697 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21698 (__ieee754_pow): Use iterative multiplication algorithm only for
21699 integer exponents with absolute value below 1024. Check for odd
21700 integer exponents when using algorithm for real exponents.
21701 * math/libm-test.inc (pow_test): Add more tests.
21702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21703
d2de7579
JM
217042012-04-08 Joseph Myers <joseph@codesourcery.com>
21705
21706 [BZ #13705]
21707 * math/libm-test.inc (exp_test): Do not allow overflow exception
21708 on underflow test.
21709
f77f1232
AJ
217102012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21711
21712 [BZ #13705]
21713 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21714 instead of __kernel_standard_f.
21715
3884932b
MF
217162012-04-08 Mike Frysinger <vapier@gentoo.org>
21717
21718 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21719 * sysdeps/x86_64/memset_chk.S: Likewise.
21720
54472e9c
AJ
217212012-04-08 Andreas Jaeger <aj@suse.de>
21722
6ab0fbfc
AJ
21723 [BZ #10153]
21724 * manual/startup.texi (Environment Access): Describe return value
21725 for putenv and setenv.
21726
61efba8c
AJ
21727 [BZ #6895]
21728 * manual/filesys.texi (Directory Entries): Add description for
21729 DT_LNK.
21730
95c3f29a
AJ
21731 [BZ #6890]
21732 * manual/filesys.texi (Directory Entries): Clarify that it's file
21733 system not operating system in the description of DT_UNKNOWN.
21734
54472e9c
AJ
21735 [BZ #6578]
21736 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21737
624254b1
SC
217382012-04-08 Stephen Compall <s11@member.fsf.org>
21739
21740 [BZ #6649]
21741 * manual/llio.texi (Opening and Closing Files): Add cross
21742 reference to explain mode argument.
21743
1e4920e0
MF
217442012-04-07 Mike Frysinger <vapier@gentoo.org>
21745
21746 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21747 * sysdeps/x86_64/memset_chk.S: Likewise.
21748
5ed848f3
DM
217492012-04-07 David S. Miller <davem@davemloft.net>
21750
21751 * elf/elf.h (R_SPARC_WDISP10): Define.
21752 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21753 R_SPARC_SIZE32.
21754 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21755 R_SPARC_SIZE64 and R_SPARC_H34.
21756
96154cd8
CD
217572012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21758
21759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21760 conditions and remove no longer applicable assertion.
21761
9904dc47
L
217622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21763
21764 * bits/byteswap.h: Include <features.h>.
21765 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21766 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21767
f8887d0a
L
217682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21769
21770 * bits/byteswap.h (__bswap_16): Removed.
21771 Include <bits/byteswap-16.h> to get __bswap_16.
21772 * sysdeps/i386/bits/byteswap.h: Likewise.
21773 * sysdeps/s390/bits/byteswap.h: Likewise.
21774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21775 * bits/byteswap-16.h: New file.
21776 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21777 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21778 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21779 * string/Makefile (headers): Add bits/byteswap-16.h.
21780
62470f60
PP
217812012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21782
21783 [BZ #13895]
21784 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21785 extra indirection.
21786 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21787 * nss/tst-nss-static.c: New.
21788
4dad7bab
RM
217892012-04-06 Robert Millan <rmh@gnu.org>
21790
21791 [BZ #6486]
21792 * manual/llio.texi (File Position Primitive): lseek
21793 refers to WHENCE when it really means OFFSET.
21794
e9142a17
AJ
217952012-04-06 Andreas Jaeger <aj@suse.de>
21796
2c040eff
AJ
21797 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21798 strncmp declarations.
21799
e9142a17
AJ
21800 * abilist/libc.abilist: Add __poll and __ppoll.
21801
ff9f1c5f
DM
218022012-04-05 David S. Miller <davem@davemloft.net>
21803
dcd2ae90
DM
21804 * scripts/check-local-headers.sh: Accept a host triplet in the
21805 path matched by the exclude regexp.
21806
993eb054
DM
21807 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21808 definition.
21809 * sysdeps/powerpc/powerpc32/dl-machine.h
21810 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21811 * sysdeps/s390/s390-32/dl-machine.h
21812 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21813 * sysdeps/sparc/sparc32/dl-machine.h
21814 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21815 * sysdeps/sparc/sparc64/dl-machine.h
21816 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21817
ff9f1c5f
DM
21818 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21819 lazy binding.
48e2e132 21820 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21821 undefined symbol errors.
21822
48e2e132 21823 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21824 DT_NEEDED entries.
21825
e80d6f94
MM
218262012-04-05 Michael Matz <matz@suse.de>
21827
21828 [BZ #13592]
21829 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21830
349fa79f
AJ
218312012-04-05 Andreas Jaeger <aj@suse.de>
21832
21833 [BZ #13908]
21834 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21835 comment.
21836
f402708f
KK
218372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21838
21839 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21840 which ROUND is no valid rounding mode.
21841
2ecccfc9
KK
218422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21843
21844 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21845 read again.
21846 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21847
8a53f50f
KK
218482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21849
21850 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21851 an exception using FPU order intentionally.
21852
218532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21854
21855 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21856 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21857 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21858 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21859
d653abb7
SJ
218602012-04-05 Simon Josefsson <simon@josefsson.org>
21861
21862 [BZ #12340]
21863 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21864 EINVAL when BUFLEN is too smal.
21865
c3b1bf7d
TS
218662012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21867
21868 [BZ #13553]
21869 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21870 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21871
b1aa60f3
AJ
218722012-04-03 Andreas Jaeger <aj@suse.de>
21873
c3b1bf7d 21874 [BZ #13938]
67f60a26
AJ
21875 * manual/setjmp.texi (System V contexts): Fix sentence.
21876
b1aa60f3
AJ
21877 [BZ #13926]
21878 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21879 New macro for this case.
21880 [!__GNUC__] (__bswap_64): New inline function for this case.
21881 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21882 * bits/byteswap.h: Likewise.
21883 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21884 ull, guard with __GLIBC_HAVE_LONG_LONG.
21885
21886 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21887 __GLIBC_HAVE_LONG_LONG.
21888
21889 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21890 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21891
39c59c35
TMQMF
218922012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21893
21894 [BZ #13691]
21895 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21896 inptr and inend, rather than using last_ch.
21897
135ffda8
DM
218982012-04-02 David S. Miller <davem@davemloft.net>
21899
21900 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21901 * stdio-common/printf-parse.h (read_int): Change return type to
21902 'int', return -1 on INT_MAX overflow.
21903 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21904 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21905 overflows INT_MAX. Check for overflow of in-format-string precision
21906 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21907 SIZE_MAX not INT_MAX for integer overflow test.
21908 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21909 skip the construct in the format string but do not record anything.
21910 * stdio-common/bug22.c: Adjust to test both width/prevision
21911 INT_MAX overflow as well as total length INT_MAX overflow. Check
21912 explicitly for proper errno values.
21913
228c019e
TS
219142012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21915
302cadd3
TS
21916 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21917 CHAR_MAX.
21918 * string/test-strcmp.c [! WIDE]: Likewise.
21919 * time/tst-mktime2.c: Likewise for INT_MAX.
21920 * string/test-string.h: #include <sys/param.h> for MIN.
21921
228c019e
TS
21922 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21923 * sysdeps/i386/init-first.c (init): Likewise.
21924 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21925 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21926 * sysdeps/sh/init-first.c (init): Likewise.
21927
cfa633f5
UD
219282012-04-01 Ulrich Drepper <drepper@gmail.com>
21929
21930 * po/ru.po: Update from translation team.
d1635ef8 21931 * po/vi.po: Likewise.
cfa633f5 21932
6cd0a5ea
SP
219332012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21934
21935 * resolv/nss_dns/dns-host.c: Merge copyright years.
21936
4b43400f
LD
219372012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21938
21939 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21940 Optimize memcpy with prefetch if
21941 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21942 src, dst pointers have unequal 16 byte alignments.
21943
48c41d04
SP
219442012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21945
21946 [BZ #13928]
21947 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21948 from a CNAME entry and return the minimum ttl for the query.
21949 (gaih_getanswer_slice): Likewise.
21950
b8dc394d
JL
219512012-03-30 Jeff Law <law@redhat.com>
21952
21953 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21954 due to long keys.
21955 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21956 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21957
2f5a5ed0
JL
21958 * resolv/nss_dns/dns-host.c: Update copyright year.
21959
1d39e359
UD
219602012-03-30 Ulrich Drepper <drepper@gmail.com>
21961
c030f70c 21962 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21963 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21964
1d39e359
UD
21965 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21966 comments for sendmmsg.
21967
219682012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21969
21970 [BZ #13691]
21971 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21972 with only 1 character between 0x0041 and 0x01b0.
21973 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21974 * wcsmbs/tst-mbsnrtowcs.c: New file.
21975
20fde227
DM
219762012-03-29 David S. Miller <davem@davemloft.net>
21977
21978 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21979 small copies by hand.
21980
984a4237
JL
219812012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21982
21983 [BZ #13761]
21984 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21985 _nss_compat_initgroups_dyn): Fall back to malloc/free
21986 for large group memberships.
21987
18c9d62b
DM
219882012-03-28 David S. Miller <davem@davemloft.net>
21989
88d85d4f
DM
21990 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21991 that branches into memcpy.
21992 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21993 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21995 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21997 bits.
21998 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21999 implementation too.
22000 * sysdeps/sparc/mempcpy.S: New file.
22001
e5aa83e1
DM
22002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22003 the IFUNC routine in the libc case.
22004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22005
88570753
DM
22006 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22007 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22008 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22009 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22010 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22011 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22012 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22013 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22014
249d7567
DM
22015 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22016 loop to 256 bytes instead of 64 bytes and fix test signedness.
22017
18c9d62b
DM
22018 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22019 * sysdeps/sparc/sparc32/Makefile: rather than here...
22020 * sysdeps/sparc/sparc64/Makefile: and here.
22021
05f3d1f6
UD
220222012-03-28 Ulrich Drepper <drepper@gmail.com>
22023
22024 * malloc/mallocbug.c: Avoid warnings about unused variables.
22025
86ae07a8
JL
220262012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22027
22028 [BZ #13760]
22029 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22030 in the right place. Discard and retry query if response is
22031 larger than input buffer size.
22032
41bf21a1
JM
220332012-03-28 Joseph Myers <joseph@codesourcery.com>
22034
d6270972
JM
22035 [BZ #369]
22036 [BZ #2678]
22037 [BZ #3866]
22038 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22039 x for large integer exponent.
22040 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22041 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22042 sign of result as needed afterwards.
22043 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22044 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22045 result for underflowing pow the same as for overflow.
22046 (__kernel_standard_l): Handle powl overflow and underflow here
22047 rather than calling __kernel_standard.
22048 * math/libm-test.inc (pow_test): Add more tests.
22049
414fca03 22050 [BZ #3868]
41bf21a1
JM
22051 [BZ #13879]
22052 [BZ #13910]
22053 [BZ #13911]
22054 [BZ #13912]
22055 [BZ #13913]
22056 [BZ #13915]
22057 [BZ #13916]
22058 [BZ #13917]
22059 [BZ #13918]
22060 [BZ #13919]
22061 [BZ #13920]
22062 [BZ #13921]
22063 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22064 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22065 (__kernel_standard_l): New function.
22066 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22067 __kernel_standard.
22068 * math/w_acosl.c (__acosl): Likewise.
22069 * math/w_asinl.c (__asinl): Likewise.
22070 * math/w_atan2l.c (__atan2l): Likewise.
22071 * math/w_atanhl.c (__atanhl): Likewise.
22072 * math/w_coshl.c (__coshl): Likewise.
22073 * math/w_exp10l.c (__exp10l): Likewise.
22074 * math/w_exp2l.c (__exp2l): Likewise.
22075 * math/w_fmodl.c (__fmodl): Likewise.
22076 * math/w_hypotl.c (__hypotl): Likewise.
22077 * math/w_j0l.c (__j0l, __y0l): Likewise.
22078 * math/w_j1l.c (__j1l, __y1l): Likewise.
22079 * math/w_jnl.c (__jnl, __ynl): Likewise.
22080 * math/w_lgammal.c (__lgammal): Likewise.
22081 * math/w_log10l.c (__log10l): Likewise.
22082 * math/w_log2l.c (__log2l): Likewise.
22083 * math/w_logl.c (__logl): Likewise.
22084 * math/w_powl.c (__powl): Likewise.
22085 * math/w_remainderl.c (__remainderl): Likewise.
22086 * math/w_scalbl.c (sysv_scalbl): Likewise.
22087 * math/w_sinhl.c (__sinhl): Likewise.
22088 * math/w_sqrtl.c (__sqrtl): Likewise.
22089 * math/w_tgammal.c (__tgammal): Likewise.
22090 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22091 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22092 * math/libm-test.inc (acos_test): Add more tests.
22093 (acosh_test): Likewise.
22094 (asin_test): Likewise.
22095 (atanh_test): Likewise.
22096 (exp_test): Likewise.
22097 (exp10_test): Likewise.
22098 (exp2_test): Likewise.
22099 (expm1_test): Likewise.
22100 (lgamma_test): Likewise.
22101 (log_test): Likewise.
22102 (log10_test): Likewise.
22103 (log1p_test): Likewise.
22104 (log2_test): Likewise.
22105 (pow_test): Do not allow some spurious overflow exceptions.
22106 (sqrt_test): Add more tests.
22107 (tgamma_test): Likewise.
22108 (y0_test): Likewise.
22109 (y1_test): Likewise.
22110 (yn_test): Likewise.
22111
dd62fda6
AB
221122012-03-27 Anton Blanchard <anton@samba.org>
22113
22114 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22115 MAP_HUGETLB.
22116 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22117 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22119
1e3cdfda
AJ
221202012-03-27 David S. Miller <davem@davemloft.net>
22121
b855ab85
DM
22122 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22123
1e3cdfda
AJ
22124 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22125 have-as-vis3 check.
22126
221272012-03-27 Andreas Jaeger <aj@suse.de>
22128
22129 * sysdeps/x86_64/elf/configure.in: Moved to ...
22130 * sysdeps/x86_64/configure.in: ... here.
22131 * sysdeps/x86_64/elf/start.S: Moved to ...
22132 * sysdeps/x86_64/start.S: ... here.
22133 * sysdeps/x86_64/elf/configure: Delete.
22134
22135 * sysdeps/x86_64/configure.in: Merge contents from
22136 sysdeps/i386/configure.in (without i686 check).
22137
22138 * sysdeps/i386/elf/Versions: Merge into ...
22139 * sysdeps/i386/Versions: ... this.
22140 * sysdeps/i386/elf/Versions: Delete file.
22141 * sysdeps/i386/elf/start.S: Moved to ...
22142 * sysdeps/i386/start.S: ...here.
22143 * sysdeps/i386/elf/configure.in: Merge into...
22144 * sysdeps/i386/configure.in: ...here.
22145 * sysdeps/i386/elf/configure.in: Delete file.
22146 * sysdeps/i386/elf/configure: Delete file.
22147
22148 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22149 * debug/backtracesyms.c: ... here.
22150 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22151 * debug/backtracesymsfd.c: ... here.
22152 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22153 * sysdeps/generic/ifunc-sel.h: ... here.
22154
22155 * sysdeps/unix/i386/start.c: Delete file.
22156 * sysdeps/unix/sparc/start.c: Delete file.
22157 * sysdeps/unix/start.c: Delete file.
22158
22159 * sysdeps/sh/elf/configure.in: Moved to ...
22160 * sysdeps/sh/configure.in: ... here.
22161 * sysdeps/sh/elf/start.S: Moved to ...
22162 * sysdeps/sh/start.S: ... here.
22163 * sysdeps/sh/elf/configure: Delete file.
22164
22165 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22166 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22167 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22168 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22169 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22170 * sysdeps/powerpc/powerpc64/start.S: here.
22171 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22172 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22173 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22174 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22175 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22176
22177 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22178 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22179 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22180 * sysdeps/powerpc/powerpc32/start.S: ... here.
22181 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22182 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22183 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22184
22185 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22186 * sysdeps/powerpc/ifunc-sel.h: ... here.
22187 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22188 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22189
22190 * sysdeps/sparc/elf/configure.in: Moved to ...
22191 * sysdeps/sparc/configure.in: ... here.
22192 * sysdeps/sparc/elf/configure: Delete file.
22193 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22194 * sysdeps/sparc/sparc32/start.S: ... here.
22195 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22196 * sysdeps/sparc/sparc64/start.S: ... here.
22197 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22198 * sysdeps/sparc/sparc32/Makefile: ... this.
22199 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22200 * sysdeps/sparc/sparc64/Makefile: ... this.
22201
22202 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22203 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22204 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22205 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22206 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22207 * sysdeps/s390/s390-32/setjmp.S: ... here.
22208 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22209 * sysdeps/s390/s390-32/configure.in: ... here.
22210 * sysdeps/s390/s390-32/elf/configure: Delete file.
22211 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22212 * sysdeps/s390/s390-32/start.S: ... here.
22213
22214 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22215 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22216 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22217 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22218 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22219 * sysdeps/s390/s390-64/setjmp.S: ... here.
22220 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22221 * sysdeps/s390/s390-64/configure.in: ... here
22222 * sysdeps/s390/s390-64/elf/configure: Delete file.
22223 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22224 * sysdeps/s390/s390-64/start.S: ... here.
22225 * sysdeps/s390/s390-64/elf/configure: Delete.
22226
22227 * configure.in: Remove support for elf directories in sysdeps.
22228
22229 * configure: Regenerated.
22230 * sysdeps/i386/configure: Regenerated.
22231 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22232 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22233 * sysdeps/s390/s390-32/configure: Regenerated.
22234 * sysdeps/s390/s390-64/configure: Regenerated.
22235 * sysdeps/sh/configure: Regenerated.
22236 * sysdeps/sparc/configure: Regenerated.
22237 * sysdeps/x86_64/configure: Regenerated.
22238
a3f61311
AS
222392012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22240
c876e002
AS
22241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22242
a3f61311
AS
22243 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22244 denormal result into account.
22245
ac4c54f0
RM
222462012-03-25 Roland McGrath <roland@hack.frob.com>
22247
22248 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22249 Reported by Allan McRae <allan@archlinux.org>.
22250
6a9b9c02
JL
222512012-03-23 Jeff Law <law@redhat.com>
22252
22253 * nss/getnssent.c (__nss_getent): Fix typo.
22254
4c42a0c1
DM
222552012-03-23 David S. Miller <davem@davemloft.net>
22256
22257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22258
1532c7ac
L
222592012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22260
22261 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22262 to pad to uint64_t for each field.
22263 (dl_tls_index): Replace unsigned long with uint64_t.
22264
3ff42526
PP
222652012-03-23 Daniel Jacobowitz <dmj@google.com>
22266 Paul Pluzhnikov <ppluzhnikov@google.com>
22267
22268 [BZ #6528]
22269 * grp/Makefile (otherlibs): Don't set it.
22270 * inet/Makefile (otherlibs): Likewise.
22271 * login/Makefile (otherlibs): Likewise.
22272 * nscd/Makefile (otherlibs): Likewise.
22273 * posix/Makefile (otherlibs): Likewise.
22274 * pwd/Makefile (otherlibs): Likewise.
22275 * rt/Makefile (otherlibs): Likewise.
22276 * sunrpc/Makefile (otherlibs): Likewise.
22277 * nss/Makefile (otherlibs): Likewise.
22278 Add libnss_files to routines and static-only-routines.
22279 ($(objpfx)getent): Remove rule.
22280 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22281 static-only-routines.
22282
7c69cd14
JM
222832012-03-22 Joseph Myers <joseph@codesourcery.com>
22284
22285 [BZ #13892]
22286 * math/s_cexp.c: Include <float.h>.
22287 (__cexp): Handle exp result overflowing not necessarily
22288 overflowing both real and imaginary parts of result.
22289 * math/s_cexpf.c: Likewise.
22290 * math/s_cexpl.c: Likewise.
22291 * math/libm-test.inc (cexp_test): Add more tests.
22292 * sysdeps/i386/fpu/libm-test-ulps: Update.
22293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22294
81b035fe
L
222952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22296
22297 * include/link.h (ELFW): New macro.
22298 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22299 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22300
1da7940c
L
223012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22302
22303 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22304 with uint64_t.
22305
b749dbb9
L
223062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22307
22308 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22309 declaration.
22310 (struct La_x32_retval): Likewise.
22311
2ff87f3f
L
223122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22313
22314 * sysdeps/x86_64/preconfigure.in: New file.
22315 * sysdeps/x86_64/preconfigure: New generated file.
22316
c0df8e69
JM
223172012-03-22 Joseph Myers <joseph@codesourcery.com>
22318
48e44791
JM
22319 [BZ #13824]
22320 * math/e_exp2l.c: Include <float.h>.
22321 (__ieee754_exp2l): Handle overflow and underflow cases
22322 separately. Only pass fractional part of argument to
22323 __ieee754_expl.
22324 * math/libm-test.inc (exp2_test): Add more tests.
22325
c0df8e69
JM
22326 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22327 negating x to take absolute value.
22328 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22329 Likewise.
22330 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22331 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22332 Likewise.
22333 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22334 computing low part if x was negated.
22335 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22336
c8e43ba7
L
223372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22338
22339 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22340 la_x32_gnu_pltexit.
22341 (pltexit): Cast int_retval to ptrdiff_t.
22342 * elf/tst-auditmod3b.c: Likewise.
22343 * elf/tst-auditmod4b.c: Likewise.
22344 * elf/tst-auditmod5b.c: Likewise.
22345 * elf/tst-auditmod6b.c: Likewise.
22346 * elf/tst-auditmod6c.c: Likewise.
22347 * elf/tst-auditmod7b.c: Likewise.
22348
22349 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22350 and x32_gnu_pltexit.
22351
22352 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22353 __ELF_NATIVE_CLASS.
22354 (La_x32_regs): New macro.
22355 (La_x32_retval): Likewise.
22356 (la_x32_gnu_pltenter): New function prototype.
22357 (la_x32_gnu_pltexit): Likewise.
22358
7998fa78
AS
223592012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22360
dcb33988
AS
22361 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22362 exponent.
22363
233fc563
AS
22364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22365
7998fa78
AS
22366 * configure.in (libc_cv_cc_nofma): Check for option to disable
22367 generation of FMA instructions.
22368 * configure: Regenerate.
22369 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22370 * sysdeps/ieee754/dbl-64/Makefile: New file.
22371 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22372 Remove brandred-fma4.
22373 (CFLAGS-brandred-fma4.c): Remove.
22374 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22375 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22376 define.
22377 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22378 define.
22379
8e95c99a
L
223802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22381
22382 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22383 LLONG_MAX != LONG_MAX.
22384 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22385 (_fitoa_word): Likewise.
22386 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22387 LLONG_MAX != LONG_MAX.
22388 * stdio-common/_itowa.h: Include <_itoa.h>.
22389 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22390 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22391 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22392 only if not defined.
22393 (_ITOA_WORD_TYPE): Likewise.
22394 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22395 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22396
6f4db457
DM
223972012-03-21 David S. Miller <davem@davemloft.net>
22398
22399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22400
7785fe5a
L
224012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22402
22403 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22404 of x86_64 when setting libc_cv_slibdir, libdir and
22405 libc_cv_localedir.
22406 * sysdeps/unix/sysv/linux/configure: Regenerated.
22407
4535cd55
JM
224082012-03-21 Joseph Myers <joseph@codesourcery.com>
22409
22410 * manual/lang.texi (Old Varargs): Remove section.
22411 (How Variadic): Update menu.
22412 (va_start): Do not mention varargs.h.
22413
17228132
TS
224142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22415 Joseph Myers <joseph@codesourcery.com>
22416
22417 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22418 link test.
22419 * configure: Regenerated.
22420
8149f976
TS
224212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22422
05f3d1f6
UD
22423 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22424 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22425 conformtest.pl
8149f976 22426
1a4ac776
JM
224272012-03-21 Joseph Myers <joseph@codesourcery.com>
22428
be22ce65
JM
22429 * NOTES: Remove.
22430 * Makefile (files-for-dist): Remove NOTES.
22431 (NOTES): Remove rule.
22432 * README: Don't refer to NOTES.
22433 * manual/creature.texi: Don't include macros.texi.
22434 * manual/intro.texi (creature.texi): Remove comment referring to
22435 NOTES.
22436
40b601fb
JM
22437 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22438 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22439 * configure: Regenerated.
22440 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22441 LIBC_TRY_CC_OPTION.
22442 (libc_cv_as_i686): Likewise.
22443 (libc_cv_cc_avx): Likewise.
22444 (libc_cv_cc_sse2avx): Likewise.
22445 (libc_cv_cc_fma4): Likewise.
22446 (libc_cv_cc_novzeroupper): Likewise.
22447 * sysdeps/i386/configure: Regenerated.
22448
1a4ac776
JM
22449 [BZ #13883]
22450 * sysdeps/i386/fpu/s_cexp.S: Remove.
22451 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22452 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22453 * math/libm-test.inc (cexp_test): Add more tests.
22454 * sysdeps/i386/fpu/libm-test-ulps: Update.
22455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22456
a458e7fe
AM
224572012-03-21 Allan McRae <allan@archlinux.org>
22458
22459 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22460
0cb7efc5
JM
224612012-03-21 Joseph Myers <joseph@codesourcery.com>
22462
22463 [BZ #13871]
22464 * math/w_exp2.c: Do not include <float.h>.
22465 (o_threshold, u_threshold): Remove.
22466 (__exp2): Calculate result before checking finiteness and calling
22467 __kernel_standard.
22468 * math/w_exp2f.c: Likewise.
22469 * math/w_exp2l.c: Likewise.
22470 * math/libm-test.inc (exp2_test): Require overflow exception for
22471 1e6 input.
2460d3aa
JM
22472
22473 [BZ #3866]
22474 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22475 range of signed 64-bit integers before using fistpll. Remove
22476 checks for whether integers fit in mantissa bits.
22477 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22478 the range of signed 32-bit integers before using fistpl. Remove
22479 checks for whether integers fit in mantissa bits.
22480 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22481 (__ieee754_powl): Test for y outside the range of signed 64-bit
22482 integers before using fistpll. Reduce 64-bit values to 63-bit
22483 ones as needed.
22484 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22485 divide-by-zero is raised for zero to large negative powers.
22486 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22487 (__ieee754_powl): Test for y outside the range of signed 64-bit
22488 integers before using fistpll. Reduce 64-bit values to 63-bit
22489 ones as needed.
22490 * math/libm-test.inc (pow_test): Add more tests.
22491
eb96ffb0
L
224922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22493
22494 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22495 <stdio-common/_itoa.h>.
22496 * debug/segfault.c: Likewise.
22497 * elf/dl-cache.c: Likewise.
22498 * elf/dl-minimal.c: Likewise.
22499 * elf/dl-misc.c: Likewise.
22500 * elf/dl-sysdep.c: Likewise.
22501 * elf/dl-version.c: Likewise.
22502 * elf/rtld.c: Likewise.
22503 * hurd/hurdsock.c: Likewise.
22504 * hurd/lookup-retry.c: Likewise.
22505 * malloc/malloc.c: Likewise.
22506 * malloc/mtrace.c: Likewise.
22507 * nscd/nscd_getgr_r.c: Likewise.
22508 * nscd/nscd_getpw_r.c: Likewise.
22509 * nscd/nscd_getserv_r.c: Likewise.
22510 * posix/getopt_init.c: Likewise.
22511 * posix/wordexp.c: Likewise.
22512 * stdio-common/_itoa.c: Likewise.
22513 * stdio-common/printf_fphex.c: Likewise.
22514 * stdio-common/vfprintf.c: Likewise.
22515 * string/_strerror.c: Likewise.
22516 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22517 * sysdeps/i386/i686/hp-timing.h: Likewise.
22518 * sysdeps/mach/_strerror.c: Likewise.
22519 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22520 * sysdeps/mach/hurd/sethostid.c: Likewise.
22521 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22522 * sysdeps/mach/xpg-strerror.c: Likewise.
22523 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22524 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22525 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22526 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22527 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22528 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22529 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22530 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22531 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22532 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22533 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22534 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22535 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22536 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22537 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22538 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22539 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22540 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22541 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22542 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22543 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22544
22545 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22546
22547 * stdio-common/_itoa.h: Moved to ...
22548 * sysdeps/generic/_itoa.h: Here.
22549
22550 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22551
22552 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22553 instead of "_itoa.h" and "_itowa.h".
22554 * stdio-common/vfprintf.: Likewise.
22555
d1af992d
L
225562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22557
22558 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22559 <bits/wordsize.h>.
22560 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22561 (__signbit): Likwise.
22562 (llrintf): Likwise.
22563 (llrint): Likwise.
22564
114883e0
L
225652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22566
22567 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22568 __WORDSIZE != 64.
22569
c135cc1b
JM
225702012-03-20 Joseph Myers <joseph@codesourcery.com>
22571
22572 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22573 OVERFLOW_EXCEPTION_OK.
22574 * math/libm-test.inc ("Philosophy"): Update comment about
22575 exception testing.
22576 (OVERFLOW_EXCEPTION): Define.
22577 (OVERFLOW_EXCEPTION_OK): Likewise.
22578 (INVALID_EXCEPTION_OK): Renumber.
22579 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22580 (IGNORE_ZERO_INF_SIGN): Likewise.
22581 (test_exceptions): Handle FE_OVERFLOW.
22582 (exp10_test): Expect overflow exceptions.
22583 (exp2_test): Likewise.
22584 (expm1_test): Likewise.
22585 (nextafter_test): Likewise.
22586 (pow_test): Likewise.
22587 (scalbn_test): Likewise.
22588 (scalbln_test): Likewise.
22589
95443d88
L
225902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22591
22592 * sysdeps/x86_64/bits/atomic.h
22593 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22594 64bit integer.
22595 (atomic_exchange_acq): Likewise.
22596 (__arch_exchange_and_add_body): Likewise.
22597 (__arch_add_body): Likewise.
22598 (atomic_add_negative): Likewise.
22599 (atomic_add_zero): Likewise.
22600
490df6c4
L
226012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22602
c2722551 22603 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22604 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22605
5e52b189
L
226062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22607
22608 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22609 Check __x86_64__ instead of __WORDSIZE.
22610
a9879d4c
L
226112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22612
22613 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22614
5df98260
DM
226152012-03-19 David S. Miller <davem@davemloft.net>
22616
e1497744
DM
22617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22618
5df98260
DM
22619 * sysdeps/sparc/fpu/fenv_private.h: New file.
22620 * sysdeps/sparc/fpu/math_private.h: Use it.
22621 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22622 Remove.
22623 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22624 (libc_feholdexcept_setroundl): Remove.
22625 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22626 Remove.
22627 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22628 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22629
b4c35121
L
226302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22631
22632 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22633 int64_t instead of long int.
22634 (INSERT_WORDS64): Likwise.
22635
56965fd7
L
226362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22637
22638 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22639 _Unwind_GetCFA return to _Unwind_Ptr first.
22640
83d1aec8
JM
226412012-03-19 Joseph Myers <joseph@codesourcery.com>
22642
1897ad44
JM
22643 [BZ #13629]
22644 * math/s_clog.c: Include <float.h>.
22645 (__clog): Scale large or subnormal inputs.
22646 * math/s_clogf.c: Likewise.
22647 * math/s_clogl.c: Likewise.
22648 * math/s_clog10.c: Include <float.h>.
22649 (M_LOG10_2): Define.
22650 (__clog10): Scale large or subnormal inputs.
22651 * math/s_clog10f.c: Likewise.
22652 * math/s_clog10l.c: Likewise.
22653 * math/libm-test.inc (clog_test): Add more tests.
22654 (clog10_test): Likewise.
22655 * sysdeps/i386/fpu/libm-test-ulps: Update.
22656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22657
7726d6a9
JM
22658 [BZ #11451]
22659 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22660 x and y.
22661 * math/libm-test.inc (atan2_test): Add another test.
22662
83d1aec8
JM
22663 * Makerules (common-objdir-compile): Remove.
22664 * sysdeps/unix/Makefile (config-generated): Do not add
22665 $(unix-generated) to variable.
22666 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22667 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22668 Remove rule.
22669 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22670 Likewise.
22671 [generic bits/local_lim.h] (before-compile): Do not append to
22672 variable.
22673 [generic bits/local_lim.h] (common-generated): Likewise.
22674 [generic sys/param.h] (before-compile): Do not append to variable.
22675 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22676 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22677 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22678 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22679 include.
22680 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22681 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22682 [generic sys/param.h] ($(addprefix
22683 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22684 [generic sys/param.h] (common-generated): Do not append to
22685 variable.
22686 [generic sys/param.h] (sysdep_headers): Likewise.
22687 [generic bits/errno.h] (before-compile): Do not append to
22688 variable.
22689 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22690 rule.
22691 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22692 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22693 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22694 [generic bits/errno.h] (common-generated): Do not append to
22695 variable.
22696 [generic bits/ioctls.h] (before-compile): Do not append to
22697 variable.
22698 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22699 rule.
22700 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22701 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22702 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22703 rule.
22704 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22705 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22706 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22707 [generic bits/ioctls.h] (common-generated): Do not append to
22708 variable.
22709 [generic sys/syscall.h] (syscall.h): Remove variable.
22710 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22711 rule.
22712 [generic sys/syscall.h] (before-compile): Do not append to
22713 variable.
22714 [generic sys/syscall.h] (common-generated): Likewise.
22715 * sysdeps/unix/errnos-tmpl.c: Remove file.
22716 * sysdeps/unix/errnos.awk: Likewise.
22717 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22718 * sysdeps/unix/ioctls.awk: Likewise.
22719 * sysdeps/unix/mk-local_lim.c: Likewise.
22720 * sysdeps/unix/snarf-ioctls: Likewise.
22721
4851a949
RH
227222012-03-19 Richard Henderson <rth@twiddle.net>
22723
bd37f2ee
RH
22724 * sysdeps/i386/fpu/fenv_private.h: New file.
22725 * sysdeps/i386/fpu/math_private.h: Use it.
22726 (math_opt_barrier, math_force_eval): Remove.
22727 (libc_feholdexcept_setround_53bit): Remove.
22728 (libc_feupdateenv_53bit): Remove.
22729 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22730 (math_opt_barrier, math_force_eval): Remove.
22731 (libc_feholdexcept): Remove.
22732 (libc_feholdexcept_setround): Remove.
22733 (libc_fetestexcept, libc_fesetenv): Remove.
22734 (libc_feupdateenv_test): Remove.
22735 (libc_feupdateenv, libc_feholdsetround): Remove.
22736 (libc_feresetround): Remove.
22737
d0adc922
RH
22738 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22739 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22740
0fe0f1f8
RH
22741 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22742 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22743 (libc_feupdateenv_testl): New.
22744 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22745 (libc_feupdateenv_testf): New.
22746 (libc_feupdateenv): Use libc_feupdateenv_test.
22747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22748 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22749
eb92c487
RH
22750 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22751 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22752 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22753 (libc_feresetround_noex): New.
22754 (libc_feresetround_noexf): New.
22755 (libc_feresetround_noexl): New.
22756 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22757 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22758 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22759 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22760 SET_RESTORE_ROUND.
22761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22763 (__cos): Likewise.
22764 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22765 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22766 SET_RESTORE_ROUND_NOEX.
22767 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22768 SET_RESTORE_ROUND_NOEXF.
22769 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22770 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22771 (libc_feholdsetroundf): New.
22772 (libc_feresetround, libc_feresetroundf): New.
22773
7d2e8012
RH
22774 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22775 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22776 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22777
b4dabbb4
RH
22778 * sysdeps/generic/math_private.h: Include <fenv.h>.
22779 (default_libc_feholdexcept): New.
22780 (default_libc_feholdexcept_setround): New.
22781 (default_libc_fesetenv, default_libc_feupdateenv): New.
22782 (libc_feholdexcept): Only define if undefined.
22783 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22784 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22785 (libc_feholdexcept_setroundl): Likewise.
22786 (libc_feholdexcept_setround_53bit): Likewise.
22787 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22788 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22789 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22790 (libc_feupdateenv_53bit): Likewise.
22791 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22792 (libc_feholdexcept): Convert from macro to inline function.
22793 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22794 (libc_fesetenv, libc_feupdateenv): Likewise.
22795
4851a949
RH
22796 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22797 not previously defined.
22798 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22799 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22800 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22801 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22802 * sysdeps/ieee754/flt-32/math_private.h: New file.
22803 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22804 math_private.h below SET_FLOAT_WORD.
22805 (__isnan, __isinf_ns, __finite): Remove.
22806 (__isnanf, __isinf_nsf, __finitef): Remove.
22807
e79d442e
AS
228082012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22809
22810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22811
90b80344
DM
228122012-03-17 David S. Miller <davem@davemloft.net>
22813
22814 [BZ #6471]
22815 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22816 for 2.16.
22817
edc21804
DM
228182012-03-16 David S. Miller <davem@davemloft.net>
22819
77e927af
DM
22820 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22821 warnings.
22822
374976dd
DM
22823 [BZ #6471]
22824 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22825 properly.
22826 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22827 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22828 sysdep_routines when subdir is sysvipc.
22829 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22830 __getshmlba helper.
22831
edc21804
DM
22832 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22833
473c3ef3
L
228342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22835
22836 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22837 [__LP64__].
22838
eb0f39b6
L
228392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22840
22841 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22842 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22843 (__lround): Renamed to ...
22844 (__llround): This. Replace long int with long long int.
22845 Define lround functions as aliases of llround functions.
22846 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22847
6b6cd74b
L
228482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22849
22850 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22851 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22852 adresses to uintptr_t. Replace "long int" and "unsigned long
22853 int" with "greg_t" on va_arg.
22854
f1a77b01
L
228552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22856
22857 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22858 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22859
22860 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22861 Move e_machine check before EI_CLASS check. Handle x32
22862 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22863 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22864 SKIP_EM_IA_64 and include
22865 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22866
22867 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22868 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22869 (add_system_dir): New macro.
22870
22871 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22872 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22873
11b90b9f
JM
228742012-03-16 Joseph Myers <joseph@codesourcery.com>
22875
c36e1d23
JM
22876 [BZ #2551]
22877 [BZ #2552]
22878 [BZ #2553]
22879 [BZ #2554]
22880 [BZ #2562]
22881 [BZ #2563]
22882 [BZ #2565]
22883 [BZ #2566]
22884 [BZ #2576]
22885 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22886 (y0): Likewise.
22887 * math/w_j0f.c (j0f): Likewise.
22888 (y0f): Likewise.
22889 * math/w_j0l.c (__j0l): Likewise.
22890 (__y0l): Likewise.
22891 * math/w_j1.c (j1): Likewise.
22892 (y1): Likewise.
22893 * math/w_j1f.c (j1f): Likewise.
22894 (y1f): Likewise.
22895 * math/w_j1l.c (__j1l): Likewise.
22896 (__y1l): Likewise.
22897 * math/w_jn.c (jn): Likewise.
22898 (yn): Likewise.
22899 * math/w_jnf.c (jnf): Likewise.
22900 (ynf): Likewise.
22901 * math/w_jnl.c (__jnl): Likewise.
22902 (__ynl): Likewise.
22903 * math/libm-test.inc (j0_test): Add more tests.
22904 (j1_test): Likewise.
22905 (jn_test): Likewise. Add trailing semicolon to existing test.
22906 (y0_test): Likewise.
22907 (y1_test): Likewise.
22908 * sysdeps/i386/fpu/libm-test-ulps: Update.
22909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22910
11b90b9f
JM
22911 [BZ #13851]
22912 [BZ #13854]
22913 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22914 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22915 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22916 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22917 (__tanl): Set errno for infinite argument.
22918 * sysdeps/i386/fpu/mptan.c: Remove.
22919 * sysdeps/i386/fpu/s_tan.S: Likewise.
22920 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22921 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22922 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22923 * math/libm-test.inc (tan_test): Add more tests and enable more
22924 tests for double and long double.
22925 * sysdeps/i386/fpu/libm-test-ulps: Update.
22926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22927
6a1bd2a1
JK
229282012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22929
22930 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22931 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22932
10a803e0
RM
229332012-03-16 Roland McGrath <roland@hack.frob.com>
22934
22935 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22936 * configure.in: Use it for both main tree and add-ons.
22937 * configure: Regenerated.
22938
f196c7f7
L
229392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22940
22941 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22942
8848d99d
JM
229432012-03-16 Joseph Myers <joseph@codesourcery.com>
22944
96cbe7f4
JM
22945 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22946 in comment.
22947
8848d99d
JM
22948 [BZ #13851]
22949 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22950 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22951 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22952 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22953 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22954 infinite argument.
22955 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22956 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22957 != 0 for prec == 2.
22958 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22959 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22960 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22961 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22962 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22963 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22964 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22965 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22966 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22967 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22968 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22969 * math/libm-test.inc (cos_test): Add more tests and enable more
22970 tests for long double.
22971 (sin_test): Likewise.
22972 (sincos_test): Likewise.
22973 * sysdeps/i386/fpu/libm-test-ulps: Update.
22974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22975
dd7f4703
DM
229762012-03-16 David S. Miller <davem@davemloft.net>
22977
22978 * sysdeps/sparc/fpu/math_private.h: New file.
22979
006f1daa
DM
229802012-03-15 David S. Miller <davem@davemloft.net>
22981
c0c83bc8
DM
22982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22983 file.
e6a62e18 22984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22986 file.
e6a62e18
DM
22987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22992 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22993 sysdep routines.
22994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22995
88cb87d9
DM
22996 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22997 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22998
006f1daa 22999 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23001 sparc-ifunc.h
006f1daa 23002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23004 Likewise.
23005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23006 Likewise.
006f1daa
DM
23007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23011 Likewise.
006f1daa
DM
23012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23017 Likewise.
23018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23019 Likewise.
006f1daa
DM
23020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23026 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23027 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23042 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23043 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23044
11e0098e
AS
230452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23046
23047 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23048 scaling.
23049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23050
e85b09d0
AJ
230512012-03-15 Andreas Jaeger <aj@suse.de>
23052
23053 [BZ #13852]
23054 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23055 ieee754/flt-32 implementation for sin, cos and sincos.
23056 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23057 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23058 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23059 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23060 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23061 ieee754/flt-32 implementation for tan.
23062
23063 * math/libm-test.inc (cos_test): Enable some large input tests for
23064 float as well
23065 (sin_test): Likewise.
23066 (sincos_test): Likewise.
23067 (tan_test): Add tests for large input.
23068
23069 * sysdeps/i386/fpu/libm-test-ulps: Update.
23070
81c64153
AJ
230712012-03-15 Andreas Jaeger <aj@suse.de>
23072
23073 [BZ #13658]
23074 * math/libm-test.inc (cos_test): Add more test cases.
23075 (sin_test): Likewise.
23076 (sincos_test): Likewise.
23077
7bbfa5c6
AJ
230782012-03-15 Andreas Jaeger <aj@suse.de>
23079
23080 [BZ #13837]
23081 * math/libm-test.inc (cos_test): Add a test case for large input
23082 value.
23083 (sin_test): Likewise.
23084 (sincos_test): Likewise.
23085
230862012-03-15 Andreas Jaeger <aj@suse.de>,
23087 Joseph Myers <joseph@codesourcery.com>
23088
23089 [BZ #13658]
0671f479 23090 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23091 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23092 * sysdeps/i386/fpu/branred.c: Likewise.
23093 * sysdeps/i386/fpu/dosincos.c: Likewise.
23094 * sysdeps/i386/fpu/mpa.c: Likewise.
23095 * sysdeps/i386/fpu/s_cos.S: Likewise.
23096 * sysdeps/i386/fpu/s_sin.S: Likewise.
23097 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23098 * sysdeps/i386/fpu/sincos32.c: Likewise.
23099
23100 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23101 Define.
23102 (libc_feupdateenv_53bit): Define.
23103 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23104 Define.
23105 (libc_feupdateenv_53bit): Define.
23106
23107 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23108 53 bit (without extend i386 double precision).
23109
23110 * math/libm-test.inc (sincos_test): Add tests for large input.
23111 (sin): Likewise.
23112 (cos): Likewise.
23113
23114 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23115
9cad04ea
AS
231162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23117
23118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23119
f7062b9a
DM
231202012-03-15 David S. Miller <davem@davemloft.net>
23121
23122 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23123 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23124 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23125 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23138 file.
f7062b9a 23139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23141 file.
f7062b9a 23142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23144 file.
f7062b9a 23145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23147 file.
f7062b9a
DM
23148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23150 fmin/fmax sysdep routines.
23151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23152
7bd951ff
DM
231532012-03-14 David S. Miller <davem@davemloft.net>
23154
559398ab
DM
23155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23184 routines.
23185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23186 file.
559398ab 23187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23189 file.
559398ab 23190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23192 file.
559398ab 23193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23195 file.
559398ab 23196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23198 file.
559398ab 23199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23201 file.
23202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23203 file.
23204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23205 file.
23206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23207 file.
23208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23209 New file.
23210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23211 file.
23212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23213 file.
559398ab 23214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23216 file.
559398ab 23217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23219 file.
559398ab 23220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23222 file.
559398ab 23223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23225 VIS3 routines.
559398ab
DM
23226
23227 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23228 New file.
23229
5a1c1e32
DM
23230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23231
eae47a36
DM
23232 * sysdeps/sparc/configure.in: New file.
23233 * sysdeps/sparc/configure: Generate.
23234 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23235 * configure: Regenerate.
23236 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23237 * config.make.in (have-as-vis3): New.
23238 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23239 available use -Av9d instead of -Av9a.
23240 * sysdeps/sparc/sparc64/Makefile: Likewise.
23241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23243 New file.
23244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23245 file.
23246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23247 New file.
23248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23249 file.
eae47a36
DM
23250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23255
c0c83bc8
DM
23256 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23257 fzeros/fnegs to load 0x80000000 into a float register instead of
23258 using the stack.
7bd951ff
DM
23259 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23260
bd951ccb
JM
232612012-03-14 Joseph Myers <joseph@codesourcery.com>
23262
23263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23264 bits/syscall.h.
23265 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23266 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23267 ($(inst_includedir)/bits/syscall.h): Remove rule.
23268 ($(objpfx)bits/syscall.d): Include instead of
23269 $(objpfx)syscall-list.d.
23270 (generated): Change syscall-list.h and syscall-list.d to
23271 bits/syscall.h and bits/syscall.d.
23272
bb4e6db2
RM
232732012-03-14 Roland McGrath <roland@hack.frob.com>
23274
23275 [BZ #13846]
23276 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23277
aa4a2ae1
JM
232782012-03-14 Joseph Myers <joseph@codesourcery.com>
23279
e456826d
JM
23280 [BZ #13841]
23281 * math/s_csqrt.c: Include <float.h>.
23282 (__csqrt): Scale large or subnormal inputs.
23283 * math/s_csqrtf.c: Likewise.
23284 * math/s_csqrtl.c: Likewise.
23285 * math/libm-test.inc (csqrt_test): Add more tests.
23286 * sysdeps/i386/fpu/libm-test-ulps: Update.
23287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23288
aa4a2ae1
JM
23289 [BZ #13840]
23290 * math/libm-test.inc (hypot_test): Add more tests.
23291
7c10fd35
DM
232922012-03-13 David S. Miller <davem@davemloft.net>
23293
23294 [BZ #13840]
23295 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23296 double-precision for the calculation instead of scaling.
23297
f453b98b
JM
232982012-03-13 Joseph Myers <joseph@codesourcery.com>
23299
23300 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23301 manipulate bits before adding and subtracting TWO52[sx].
23302 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23303 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23304 Likewise.
23305 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23306
09a3453f
DM
233072012-03-13 David S. Miller <davem@davemloft.net>
23308
8e59da90
DM
23309 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23310 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23311 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23312 rtld-global-offsets.h
23313 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23314
2a8ab7f2
DM
23315 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23316 large parameters.
23317
10f62770
DM
23318 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23319
5f0bdb18
DM
23320 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23321 'err' in the ifdef scope in which it is actually used.
23322
09a3453f
DM
23323 * nss/nss_db/db-init.c: Include string.h
23324
b4b2eb5e
DM
233252012-03-12 David S. Miller <davem@davemloft.net>
23326
98bb2f1c
DM
23327 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23328 masking out of the most significant byte of random value used.
23329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23330 Fix coding style in previous change.
23331
b4b2eb5e
DM
23332 * sysdeps/unix/sysv/linux/kernel-features.h
23333 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23334 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23335 expression.
23336 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23337 later.
23338
6e226b09
DM
233392012-03-11 David S. Miller <davem@davemloft.net>
23340
a1bcbd40
DM
23341 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23342 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23344 for 'resultvar' otherwise things get truncated on 64-bit.
23345
cb9d6174
DM
23346 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23347 Fix masking out of the most significant byte of random value used.
23348
6e226b09
DM
23349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23350
058c132d
AS
233512012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23352
23353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23354
2d2cd515
DM
233552012-03-09 David S. Miller <davem@davemloft.net>
23356
23357 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23358 variables with appropriate CPP guards.
23359 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23360 frame pointer, not the stack pointer. Correct layout comments. Fix test
23361 on resulting framesize and the management of the outregs buffer for pltexit.
23362 Preserve floating point return values across _dl_call_pltexit call.
23363 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23364 framesize and the management of the outregs buffer for pltexit.
23365 Preserve floating point return values across _dl_call_pltexit
23366 call.
23367 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23368 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23369 (print_exit): Fix format string for return register value.
23370
9a07f9d0
JM
233712012-03-10 Joseph Myers <joseph@codesourcery.com>
23372
23373 * sunrpc/Makefile (others): Add rpcgen.
23374 ($(objpfx)rpcgen): Remove special build rule and dependency on
23375 libc.
23376 * sunrpc/rpcgen.c: New file.
23377
547b5e30
PE
233782012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23379
c524201a
PE
23380 [BZ #13673]
23381 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23382 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23383 * sysdeps/i386/crti.S: Likewise.
23384 * sysdeps/i386/crtn.S: Likewise.
23385 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23386 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23387 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23388 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23389 * sysdeps/sh/crti.S: Likewise.
23390 * sysdeps/sh/crtn.S: Likewise.
23391 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23392
7b6235f2
PE
23393 [BZ #13673]
23394 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23395 with URL.
23396 * locale/programs/locfile-kw.gperf: Likewise.
23397 * locale/programs/charmap-kw.h: Regenerated.
23398 * locale/programs/locfile-kw.h: Likewise.
23399
547b5e30
PE
23400 [BZ #13673]
23401 * intl/plural.y: Replace FSF snail mail address with URL.
23402 * intl/plural.c: Regenerated.
23403
5f0a5dae
RH
234042012-03-09 Richard Henderson <rth@twiddle.net>
23405
23406 * include/math_private.h: Remove file.
23407 * math/math_private.h: Move file ...
23408 * sysdeps/generic/math_private.h: ... here.
23409
b8c03620
RH
23410 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23411 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23412 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23413
4e234f5d 23414 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23415 and <math_private.h>.
23416 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23417 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23418 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23419 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23420 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23421 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23422 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23423 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23424 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23425 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23427 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23428 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23430 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23431 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23432 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23433 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23434 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23435 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23437 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23438 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23440 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23441 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23443 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23446 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23447 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23448 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23449 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23450 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23451 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23452 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23453 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23454 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23455 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23456 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23457 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23458 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23461 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23462 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23463 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23464 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23465 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23466 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23467 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23468 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23469 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23470 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23471 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23472 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23473 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23474 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23475 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23476 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23477 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23478 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23479 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23480 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23481 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23482 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23483 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23484 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23485 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23486 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23487 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23488 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23490 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23491 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23494 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23495 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23496 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23497 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23498 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23499 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23500 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23501 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23503 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23504 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23505 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23506 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23507 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23508 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23509 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23510 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23511 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23512 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23513 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23514 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23515 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23516 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23517 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23518 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23519 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23520 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23521 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23522 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23523 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23524 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23525 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23526 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23527 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23528 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23529 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23530 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23531 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23532 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23533 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23534 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23535 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23536 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23537 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23538 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23539 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23540 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23541 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23542 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23543 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23544 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23545 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23546 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23547 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23548 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23549 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23550 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23551 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23552 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23553 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23554 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23555 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23556 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23557 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23558 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23559 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23560 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23561 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23562 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23563 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23564 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23565 * sysdeps/ieee754/k_standard.c: Likewise.
23566 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23570 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23575 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23576 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23577 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23578 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23579 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23580 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23583 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23586 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23592 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23593 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23594 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23595 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23597 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23598 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23599 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23607 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23608 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23611 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23615 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23616 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23617 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23618 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23633 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23636 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23638 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23639 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23640 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23641 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23643 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23644 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23646 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23648 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23649 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23650 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23651 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23652 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23653 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23654 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23655 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23656 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23657 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23658 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23659 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23663 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23664 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23665 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23668 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23669 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23670 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23671 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23672 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23673 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23674 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23675 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23676 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23677 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23678 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23679 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23680 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23681 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23682 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23683 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23684 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23685 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23686 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23687 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23688 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23689 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23690 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23691 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23692 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23693 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23694 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23695 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23696 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23697 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23698 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23699 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23700 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23701 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23702 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23703 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23704 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23705 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23706 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23707 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23708 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23709 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23710 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23711 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23712 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23713 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23714 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23715 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23716 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23717 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23718 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23719 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23720 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23721 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23722 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23723 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23724 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23725 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23726 * sysdeps/ieee754/s_lib_version.c: Likewise.
23727 * sysdeps/ieee754/s_matherr.c: Likewise.
23728 * sysdeps/ieee754/s_signgam.c: Likewise.
23729 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23730 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23731 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23732 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23733 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23734 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23735 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23736 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23737 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23738 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23739 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23740 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23741 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23742 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23743 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23744 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23745 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23746 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23747 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23748 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23749 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23750
1991fa03
JM
237512012-03-09 Joseph Myers <joseph@codesourcery.com>
23752
23753 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23754 * sunrpc/rpc_main.c: Likewise.
23755 * sunrpc/rpc_svcout.c: Likewise.
23756
60d6f5a6
DM
237572012-03-09 David S. Miller <davem@davemloft.net>
23758
23759 * include/math_private.h: New file.
23760
4962050e
JM
237612012-03-09 Joseph Myers <joseph@codesourcery.com>
23762
02a6f887
JM
23763 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23764 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23765 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23766 from <bits/socket_type.h>.
23767 (enum __socket_type): Don't define here.
23768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23770 bits/socket_type.h.
23771
c6e013c1
JM
23772 [BZ #13566]
23773 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23774 checking __USE_GNU.
23775
4962050e
JM
23776 * Makerules ($(inst_includedir)/%.h): New rule.
23777 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23778 (install-others): Remove variable setting.
23779 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23780
38842f45
RH
237812012-03-08 Richard Henderson <rth@twiddle.net>
23782
67bb6da6
RH
23783 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23784 from macro to inline function; merge with the
23785 !__LIBC_INTERNAL_MATH_INLINES version.
23786 (__ieee754_sqrtf): Likewise.
23787
15194b4b
RH
23788 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23789 to inline function.
23790 (__rintf, __floor, __floorf): Likewise.
23791
64e21ede
RH
23792 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23793 macro to inline function.
23794 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23795
38842f45
RH
23796 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23797 not <math/math_private.h>.
23798
c64bf5fe
DM
237992012-03-08 David S. Miller <davem@davemloft.net>
23800
23801 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23802 copyright year.
23803 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23804
82d86f28
TS
238052012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23806
23807 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23808 normalization.
23809 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23810 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23811
aea5d727
UD
238122012-03-08 Ulrich Drepper <drepper@gmail.com>
23813
23814 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23815 be defined individually, they must be defined as a block. Define
23816 S for printing a string instead of hidint the different by using a
23817 macro for adding the 'l'.
23818 * stdio-common/tst-fphex-wide.c: Adjust.
23819
70bca0a3
MP
238202012-03-07 Marek Polacek <polacek@redhat.com>
23821
23822 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23823
65b81130
MP
238242012-03-08 Marek Polacek <polacek@redhat.com>
23825
23826 [BZ #13806]
23827 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23828 * stdio-common/tst-fphex.c: Define a few macros to make the
23829 test reusable. Use them.
23830 * stdio-common/tst-fphex-wide.c: New file.
23831
07037eeb
JM
238322012-03-08 Joseph Myers <joseph@codesourcery.com>
23833
a7a93d50
JM
23834 [BZ #6911]
23835 * manual/macros.texi (gnusystems): New macro.
23836 (nongnusystems): Likewise.
23837 (gnulinuxhurdsystems): Likewise.
23838 (gnuhurdsystems): Likewise..
23839 (gnulinuxsystems): Likewise.
23840 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23841 variants of the GNU system, not "GNU system".
23842 * manual/conf.texi: Likewise.
23843 * manual/errno.texi: Likewise. Update example of errno macro
23844 expansion.
23845 * manual/filesys.texi: Likewise.
23846 (getumask): Document as specific to GNU/Hurd.
23847 * manual/install.texi: Likewise. Reword some references to
23848 GNU/Linux.
23849 * manual/intro.texi: Likewise.
23850 * manual/io.texi: Likewise.
23851 (File Name Portability): Detail which constraints are inapplicable
23852 to all GNU systems and which are only inapplicable to GNU/Hurd.
23853 * manual/job.texi: Likewise.
23854 * manual/llio.texi: Likewise.
23855 (O_NOCTTY): Document as present on GNU/Linux.
23856 * manual/maint.texi: Likewise.
23857 * manual/memory.texi: Likewise.
23858 * manual/pattern.texi: Likewise.
23859 * manual/pipe.texi: Likewise.
23860 * manual/process.texi: Likewise.
23861 * manual/resource.texi: Likewise.
23862 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23863 child on GNU/Hurd.
23864 * manual/setjmp.texi: Likewise.
23865 * manual/signal.texi: Likewise.
23866 * manual/startup.texi: Likewise.
23867 * manual/stdio.texi: Likewise.
23868 * manual/terminal.texi: Likewise.
23869 (ONLCR): Document as POSIX.
23870 (OXTABS): Document availability on GNU/Linux as XTABS.
23871 (ONOEOT): Document availability separately from other bits.
23872 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23873 * manual/time.texi: Likewise.
23874 * manual/users.texi: Likewise.
23875 * INSTALL: Regenerated.
23876 * sysdeps/gnu/errlist.c: Regenerated.
23877
07037eeb
JM
23878 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23879 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23880 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23881 puts.
23882 * configure: Regenerated.
23883
d1d3431a
JM
238842012-03-07 Joseph Myers <joseph@codesourcery.com>
23885
af6a1e37
JM
23886 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23887 default includes instead of AC_HEADER_CHECK.
23888 * sysdeps/i386/configure: Regenerated.
23889
d1d3431a
JM
23890 [BZ #10716]
23891 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23892 * math/s_cacoshf.c (__cacoshf): Likewise.
23893 * math/s_cacoshl.c (__cacoshl): Likewise.
23894 * math/s_casinh.c (__casinh): Set signs of result from argument.
23895 * math/s_casinhf.c (__casinhf): Likewise.
23896 * math/s_casinhl.c (__casinhl): Likewise.
23897 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23898 (casinh_test): Add more tests.
23899 * sysdeps/i386/fpu/libm-test-ulps: Update.
23900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23901
482ff4da
UD
239022012-03-07 Ulrich Drepper <drepper@gmail.com>
23903
872fda05
UD
23904 * po/zh_TW.po: Update from translation team.
23905
a4300c7a
UD
23906 * login/Makefile (distribute): Remove variable.
23907 * catgets/Makefile: Likewise.
23908 * mach/Makefile: Likewise.
23909 * malloc/Makefile: Likewise.
23910 * misc/Makefile: Likewise.
23911 * iconv/Makefile: Likewise.
23912 * nscd/Makefile: Likewise.
23913 * hurd/Makefile: Likewise.
23914 * manual/Makefile: Likewise.
23915 * locale/Makefile: Likewise.
23916 * intl/Makefile: Likewise.
23917 * conform/Makefile: Likewise.
23918 * nss/Makefile: Likewise.
23919 * time/Makefile: Likewise.
23920 * soft-fp/Makefile: Likewise.
23921 * dirent/Makefile: Likewise.
23922 * gmon/Makefile: Likewise.
23923 * po/Makefile: Likewise.
23924 * rt/Makefile: Likewise.
23925 * socket/Makefile: Likewise.
23926 * math/Makefile: Likewise.
23927 * signal/Makefile: Likewise.
23928 * debug/Makefile: Likewise.
23929 * elf/Makefile: Likewise.
23930 * timezone/Makefile: Likewise.
23931 * stdlib/Makefile: Likewise.
23932 * iconvdata/Makefile: Likewise.
23933 * sunrpc/Makefile: Likewise.
23934 * io/Makefile: Likewise.
23935 * argp/Makefile: Likewise.
23936 * inet/Makefile: Likewise.
23937 * hesiod/Makefile: Likewise.
23938 * grp/Makefile: Likewise.
23939 * csu/Makefile: Likewise.
23940 * wctype/Makefile: Likewise.
23941 * crypt/Makefile: Likewise.
23942 * libio/Makefile: Likewise.
23943 * string/Makefile: Likewise.
23944 * nis/Makefile: Likewise.
23945 * resolv/Makefile: Likewise.
23946 * stdio-common/Makefile: Likewise.
23947 * wcsmbs/Makefile: Likewise.
23948 * dlfcn/Makefile: Likewise.
23949 * posix/Makefile: Likewise.
23950
3b7c4e74 23951 [BZ #6959]
482ff4da
UD
23952 * timezone/Makefile: Don't install timezone files, just the programs
23953 and scripts.
23954
f72ed77d
UD
239552012-03-06 Ulrich Drepper <drepper@gmail.com>
23956
a000466f
UD
23957 * nss/databases.def: Add missing gshadow entry.
23958
f72ed77d
UD
23959 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23960
a53b7a4e
MP
239612012-03-06 Marek Polacek <polacek@redhat.com>
23962
23963 [BZ #13726]
23964 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23965 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23966 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23967 * stdio-common/tst-long-dbl-fphex.c: New file.
23968
e9258400
DM
239692012-03-06 David S. Miller <davem@davemloft.net>
23970
23971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23972 (set_obp_int): New function.
23973 (get_obp_int): New function.
23974 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23975 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23976 Avoid unused variable warnings on 'val' and use builtin_expect.
23977 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23978 __builtin_expect.
e9258400
DM
23979 (INLINE_CLONE_SYSCALL): Likewise.
23980
3bd2c723
DM
239812012-03-05 David S. Miller <davem@davemloft.net>
23982
23983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23984
bbb78d03
AS
239852012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23986
884c5db4
AS
23987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23988
bbb78d03
AS
23989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23990 only for |x| >= 40.
23991 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23992
1c9f702a 239932012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23994
23995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23996 Replace gettimeofday with __vdso_gettimeofday.
23997
7be16f82
RM
23998 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23999 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24000 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24001
24002 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24003 time with __vdso_time.
24004
ed58a00f
JM
240052012-03-05 Joseph Myers <joseph@codesourcery.com>
24006
24007 * manual/lang.texi (size_t): Note types to which size_t may be
24008 equivalent with the GNU C Library, but do not describe when
24009 differences between them are significant.
24010
30ee4ced
AJ
240112012-03-05 Andreas Jaeger <aj@suse.de>
24012
24013 * sysdeps/i386/fpu/libm-test-ulps: Update.
24014
b7cd39e8
JM
240152012-03-05 Joseph Myers <joseph@codesourcery.com>
24016
24017 [BZ #3976]
24018 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24019 (__ieee754_pow): Save and restore rounding mode and use
24020 round-to-nearest for main computations.
24021 * math/libm-test.inc (pow_test_tonearest): New function.
24022 (pow_test_towardzero): Likewise.
24023 (pow_test_downward): Likewise.
24024 (pow_test_upward): Likewise.
24025 (main): Call the new functions.
24026 * sysdeps/i386/fpu/libm-test-ulps: Update.
24027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24028
24029 [BZ #3976]
24030 * math/libm-test.inc (cosh_test_tonearest): New function.
24031 (cosh_test_towardzero): Likewise.
24032 (cosh_test_downward): Likewise.
24033 (cosh_test_upward): Likewise.
24034 (sinh_test_tonearest): Likewise.
24035 (sinh_test_towardzero): Likewise.
24036 (sinh_test_downward): Likewise.
24037 (sinh_test_upward): Likewise.
24038 (main): Call the new functions.
24039 * sysdeps/i386/fpu/libm-test-ulps: Update.
24040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24041
6c6a98c9
TV
240422012-03-05 Tom de Vries <tom@codesourcery.com>
24043
24044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24045 default stack guard is set in last bytes.
24046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24047
21bb2d2e 240482012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24049
21bb2d2e 24050 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24051
21bb2d2e
AJ
24052 [BZ #13656]
24053 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24054 possibly allocate from heap instead of stack.
24055 * stdio-common/bug-vfprintf-nargs.c: New file.
24056 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24057
c6922934
AS
240582012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24059
24060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24061
bc957d53
MP
240622012-03-03 Marek Polacek <polacek@redhat.com>
24063
24064 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24065 * math/math_private.h: Likewise.
24066 * stdlib/tst-strtod.c: Likewise.
24067 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24068 * sysdeps/x86_64/bits/atomic.h: Likewise.
24069
6358490d
DM
240702012-03-02 David S. Miller <davem@davemloft.net>
24071
24072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24076 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24077 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24078 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24079 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24080
01ae168d
RM
240812012-03-02 Roland McGrath <roland@hack.frob.com>
24082
d9a17c07
RM
24083 [BZ #13792]
24084 * manual/examples/README: New file, says the example source files
24085 can be used under GPL>=2.
24086 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24087 line containing just "*/".
24088 * manual/examples/add.c: Add copyright header (GPL>=2).
24089 * manual/examples/argp-ex1.c: Likewise.
24090 * manual/examples/argp-ex2.c: Likewise.
24091 * manual/examples/argp-ex3.c: Likewise.
24092 * manual/examples/argp-ex4.c: Likewise.
24093 * manual/examples/atexit.c: Likewise.
24094 * manual/examples/db.c: Likewise.
24095 * manual/examples/dir.c: Likewise.
24096 * manual/examples/dir2.c: Likewise.
24097 * manual/examples/execinfo.c: Likewise.
24098 * manual/examples/filecli.c: Likewise.
24099 * manual/examples/filesrv.c: Likewise.
24100 * manual/examples/fmtmsgexpl.c: Likewise.
24101 * manual/examples/genpass.c: Likewise.
24102 * manual/examples/inetcli.c: Likewise.
24103 * manual/examples/inetsrv.c: Likewise.
24104 * manual/examples/isockad.c: Likewise.
24105 * manual/examples/longopt.c: Likewise.
24106 * manual/examples/memopen.c: Likewise.
24107 * manual/examples/memstrm.c: Likewise.
24108 * manual/examples/mkfsock.c: Likewise.
24109 * manual/examples/mkisock.c: Likewise.
24110 * manual/examples/mygetpass.c: Likewise.
24111 * manual/examples/pipe.c: Likewise.
24112 * manual/examples/popen.c: Likewise.
24113 * manual/examples/rprintf.c: Likewise.
24114 * manual/examples/search.c: Likewise.
24115 * manual/examples/select.c: Likewise.
24116 * manual/examples/setjmp.c: Likewise.
24117 * manual/examples/sigh1.c: Likewise.
24118 * manual/examples/sigusr.c: Likewise.
24119 * manual/examples/stpcpy.c: Likewise.
24120 * manual/examples/strdupa.c: Likewise.
24121 * manual/examples/strftim.c: Likewise.
24122 * manual/examples/strncat.c: Likewise.
24123 * manual/examples/subopt.c: Likewise.
24124 * manual/examples/swapcontext.c: Likewise.
24125 * manual/examples/termios.c: Likewise.
24126 * manual/examples/testopt.c: Likewise.
24127 * manual/examples/testpass.c: Likewise.
24128 * manual/examples/timeval_subtract.c: Likewise.
24129
01ae168d
RM
24130 [BZ #13792]
24131 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24132 function to ...
24133 * manual/timeval_subtract.c.texi: ... here, new file.
24134
49efa33d
DM
241352012-03-02 David S. Miller <davem@davemloft.net>
24136
24137 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24138
28afd92d
JM
241392012-03-02 Joseph Myers <joseph@codesourcery.com>
24140
804360ed
JM
24141 [BZ #3976]
24142 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24143 (__sin): Save and restore rounding mode and use round-to-nearest
24144 for all computations.
24145 (__cos): Save and restore rounding mode and use round-to-nearest
24146 for all computations.
24147 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24148 <fenv.h>.
24149 (tan): Save and restore rounding mode and use round-to-nearest for
24150 all computations.
24151 * math/libm-test.inc (cos_test_tonearest): New function.
24152 (cos_test_towardzero): Likewise.
24153 (cos_test_downward): Likewise.
24154 (cos_test_upward): Likewise.
24155 (sin_test_tonearest): Likewise.
24156 (sin_test_towardzero): Likewise.
24157 (sin_test_downward): Likewise.
24158 (sin_test_upward): Likewise.
24159 (tan_test_tonearest): Likewise.
24160 (tan_test_towardzero): Likewise.
24161 (tan_test_downward): Likewise.
24162 (tan_test_upward): Likewise.
24163 (main): Call the new functions.
24164 * sysdeps/i386/fpu/libm-test-ulps: Update.
24165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24166
a6d06d7b
JM
24167 [BZ #10135]
24168 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24169 small n, then large n, before computing and testing k+n.
24170 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24172 Likewise.
24173 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24174 Likewise.
24175 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24176 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24177 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24178 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24181 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24182 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24183 * math/libm-test.inc (scalbn_test): Add more tests.
24184 (scalbln_test): Likewise.
24185
07e12bb3
JM
24186 * manual/filesys.texi (mode_t): Describe constraints on size and
24187 signedness, not exact equivalence to a particular type.
24188 (ino_t): Likewise.
24189 (ino64_t): Likewise.
24190 (dev_t): Likewise.
24191 (nlink_t): Likewise.
24192 (blkcnt_t): Likewise.
24193 (blkcnt64_t): Likewise.
24194 * manual/llio.texi (off_t): Likewise.
24195
28afd92d
JM
24196 [BZ #3976]
24197 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24198 (__ieee754_exp): Save and restore rounding mode and use
24199 round-to-nearest for all computations.
24200 * math/libm-test.inc (exp_test_tonearest): New function.
24201 (exp_test_towardzero): Likewise.
24202 (exp_test_downward): Likewise.
24203 (exp_test_upward): Likewise.
24204 (main): Call the new functions.
24205 * sysdeps/i386/fpu/libm-test-ulps: Update.
24206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24207
b1eeb65d
CD
242082012-03-01 Chris Demetriou <cgd@google.com>
24209
24210 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24211 have predictable order.
24212
53362a4b
DM
242132012-03-01 David S. Miller <davem@davemloft.net>
24214
3c969083
DM
24215 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24216
759707de
DM
24217 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24218 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24219 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24220 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24221
dfdb8ff2
DM
24222 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24223 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24224 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24226 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24227 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24228 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24229 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24230 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24231
ead89f96
DM
24232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24233
7f66bd07
DM
24234 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24235 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24236 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24237
53362a4b
DM
24238 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24239 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24240 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24241 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24242 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24245 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24246 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24247 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24248 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24249 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24251 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24252 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24254 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24255 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24256 * sysdeps/sparc/elf/configure: Regenerated.
24257
7b1902cb
JM
242582012-03-01 Joseph Myers <joseph@codesourcery.com>
24259
bec039bc
JM
24260 * configure.in (AS, LD): Require binutils 2.20 or later.
24261 * configure: Regenerated.
24262 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24263 as required minimum version.
24264 * INSTALL: Regenerated.
24265
7b1902cb
JM
24266 [BZ #2541]
24267 [BZ #4108]
24268 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24269 before squaring exponent.
24270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24271 bottom long double and 27 bits of top long double before squaring
24272 exponent.
24273 * math/libm-test.inc (erfc_test): Add more tests.
24274 * sysdeps/i386/fpu/libm-test-ulps: Update.
24275 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24277
f775c276
KT
242782012-03-01 Kai Tietz <ktietz@redhat.com>
24279
24280 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24281 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24282 containing bit-fields.
24283 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24284 * soft-fp/single.h (_FP_UNION_S): Likewise.
24285 * soft-fp/double.h (_FP_UNION_D): Likewise.
24286
5b8a4d4a
JM
242872012-02-29 Joseph Myers <joseph@codesourcery.com>
24288
0bab47b6
JM
24289 [BZ #13786]
24290 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24291 not include ../strcmp.S.
24292 [USE_AS_STRNCASECMP_L]: Likewise.
24293 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24294 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24295 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24296 (__strncasecmp_l_ia32): Define as alias to
24297 __strncasecmp_l_nonascii.
24298
0fcad3e2
JM
24299 [BZ #5794]
24300 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24301 * sysdeps/i386/fpu/libm-test-ulps: Update.
24302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24303
5b8a4d4a
JM
24304 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24306
8fdceb2e
JL
243072012-02-29 Jeff Law <law@redhat.com>
24308
24309 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24310 out of bounds read.
24311
1f393a11
MP
243122012-02-29 Marek Polacek <polacek@redhat.com>
24313
24314 [BZ #13706]
24315 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24316 * elf/Makefile: Add rules to run tst-unused-dep.out.
24317
8847f037
DM
243182012-02-28 David S. Miller <davem@davemloft.net>
24319
24320 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24321 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24323 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24324 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24325 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24326
169d7f11
JM
243272012-02-29 Joseph Myers <joseph@codesourcery.com>
24328
24329 * math/libm-test.inc (llround_test): Move one test from
24330 lround_test. Use TEST_f_L in moved test.
24331 (lround_test): Move misplaced test to llround_test. Add testcase
24332 from bug 2561.
24333
39adf059
UD
243342012-02-28 Ulrich Drepper <drepper@gmail.com>
24335
24336 * sysdeps/x86_64/fpu/e_expf.S: New file.
24337 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24338
71b5d1c5
SB
243392012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24340
24341 [BZ #13637]
24342 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24343 of remain_len that may cause incomplete multi-byte character and
24344 false match.
24345 * posix/bug-regex33.c: New file.
24346 * posix/Makefile (tests): Add bug-regex33.
24347
1f77f049
JM
243482012-02-28 Joseph Myers <joseph@codesourcery.com>
24349
24350 * manual/macros.texi: New file.
24351 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24352 * manual/libc.texinfo: Include macros.texi.
24353 * manual/creatute.texi: Likewise.
24354 * manual/install.texi: Likewise.
24355 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24356 @glibcadj{} in references to the GNU C Library.
24357 * manual/charset.texi: Likewise.
24358 * manual/conf.texi: Likewise.
24359 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24360 when not using those macros.
24361 * manual/creature.texi: Likewise.
24362 * manual/crypt.texi: Likewise.
24363 * manual/errno.texi: Likewise.
24364 * manual/filesys.texi: Likewise.
24365 * manual/header.texi: Likewise.
24366 * manual/install.texi: Likewise.
24367 * manual/intro.texi: Likewise.
24368 * manual/io.texi: Likewise.
24369 * manual/job.texi: Likewise.
24370 * manual/lang.texi: Likewise.
24371 * manual/libc.texiinfo: Likewise.
24372 * manual/llio.texi: Likewise.
24373 * manual/locale.texi: Likewise.
24374 * manual/maint.texi: Likewise.
24375 * manual/math.texi: Likewise.
24376 * manual/memory.texi: Likewise.
24377 * manual/message.texi: Likewise.
24378 * manual/nss.texi: Likewise.
24379 * manual/pattern.texi: Likewise.
24380 * manual/process.texi: Likewise.
24381 * manual/resource.texi: Likewise.
24382 * manual/search.texi: Likewise.
24383 * manual/setjmp.texi: Likewise.
24384 * manual/signal.texi: Likewise.
24385 * manual/socket.texi: Likewise.
24386 * manual/startup.texi: Likewise.
24387 * manual/stdio.texi: Likewise.
24388 * manual/string.texi: Likewise.
24389 * manual/sysinfo.texi: Likewise.
24390 * manual/syslog.texi: Likewise.
24391 * manual/terminal.texi: Likewise.
24392 * manual/time.texi: Likewise.
24393 * manual/users.texi: Likewise.
24394 * INSTALL: Regenerated.
24395 * NOTES: Regenerated.
d40c5d54 24396 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24397
450bf206
AS
243982012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24399
24400 * include/dirent.h: Include <dirstream.h> before
24401 <dirent/dirent.h>.
24402
741a235b
DM
244032012-02-28 David S. Miller <davem@davemloft.net>
24404
24405 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24406 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24407 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24408 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24409
d6b5aa58
DM
244102012-02-27 David S. Miller <davem@davemloft.net>
24411
1aff59a3
DM
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24414 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24415 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24416
d6b5aa58
DM
24417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24418 frame pointer instead of stack pointer relative arg slot.
24419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24420 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24421 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24422
433f48bf
CD
244232012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24424
24425 [BZ #3992]
24426 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24427
d674b76d
DM
244282012-02-27 David S. Miller <davem@davemloft.net>
24429
24430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24434 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24435 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24436 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24437 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24438
0e7727f7
JM
244392012-02-27 Joseph Myers <joseph@codesourcery.com>
24440
24441 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24442 later. Allow versions 5-9.
43be4ca2 24443 * configure: Regenerated.
0e7727f7
JM
24444 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24445 required minimum version and 4.6 as recommended version. Do not
24446 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24447 * INSTALL: Regenerated.
0e7727f7 24448
a78bc654
DM
244492012-02-27 David S. Miller <davem@davemloft.net>
24450
428d5830
DM
24451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24455 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24456 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24457 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24458 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24459
a78bc654
DM
24460 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24461 manipulate bits before adding and subtracting TWO112[sx].
24462 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24463
4579f81c
RM
244642012-02-27 Roland McGrath <roland@hack.frob.com>
24465
36c8acb4
RM
24466 [BZ #13775]
24467 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24468 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24469 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24470 being in POSIX, because they are in 1003.1-2008.
24471
84ad622b
RM
24472 * rt/tst-aio.c: Include <fcntl.h>.
24473 * rt/tst-aio7.c: Likewise.
24474 * rt/tst-aio64.c: Likewise.
24475
4579f81c
RM
24476 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24477
abd923db
JM
244782012-02-27 Joseph Myers <joseph@codesourcery.com>
24479
24480 * manual/install.texi (--with-headers): Describe headers as
24481 interface headers, not private headers.
24482 (Specific advice for GNU/Linux systems): Describe use of headers
24483 from "make headers_install", not private headers from older
24484 kernels.
43be4ca2 24485 * INSTALL: Regenerated.
abd923db
JM
24486 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24487 Change to 2.6.19.
24488 * sysdeps/unix/sysv/linux/configure: Regenerated.
24489
6664049b
JM
24490 * manual/llio.texi (fclean): Remove documentation.
24491
bb8b6697
JM
24492 * manual/Makefile (libc-texi-generated): New variable. Include
24493 version.texi.
24494 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24495 $(libc-texi-generated), not duplicated list of files.
24496 (version.texi, stamp-version): New rules.
24497 (realclean): Remove $(libc-texi-generated), not individual files
24498 from that list. Do not remove dir-add.texinfo.
24499 * manual/libc.texinfo: Comment out uses of edition numbers and
24500 references to printed manual. Remove last-updated dates.
24501 (EDITION): Comment out.
24502 (ISBN): Likewise.
24503 (VERSION, UPDATED): Remove.
24504 (version.texi): Include.
24505
12e5c3b9
AS
245062012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24507
24508 * sysdeps/posix/spawni.c: Include <signal.h>.
24509 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24510 * sysdeps/pthread/aio_fsync.c: Likewise.
24511
4efeffc1 245122012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24513
ba63ba08
UD
24514 * conform/Makefile (tests): Run only when not cross-compiling and
24515 when fast-check is not defined.
24516
d94a4670
UD
24517 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24518 * conform/data/limits.h-data: Fixes for POSIX2008.
24519 * conform/run-conformtest.sh: Run all tests.
24520 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24521 headers.
24522 * include/bits/dlfcn.h: Likewise.
24523 * include/langinfo.h: Likewise.
24524 * include/monetary.h: Likewise.
24525 * include/sys/poll.h: Likewise.
24526
24527 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24528 for __USE_GNU.
24529 * posix/spawn.h: Define __need_sigset_t.
24530 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24531 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24532 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24533 to get sigevent_t only.
24534 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24535 only for __USE_GNU.
24536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24537 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24538 process_vm_writev only for __USE_GNU.
24539 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24540
24541 * conform/Makefile: For now ignore errors from run-conformtest.
24542 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24543 POSIX to avoid namespace pollution. Don't prepend headers.
24544 * conform/data/aio.h-data: Fixes for POSIX testing.
24545 * conform/data/fcntl.h-data: Likewise.
24546 * conform/data/glob.h-data: Likewise.
24547 * conform/data/grp.h-data: Likewise.
24548 * conform/data/pthread.h-data: Likewise.
24549 * conform/data/pwd.h-data: Likewise.
24550 * conform/data/signal.h-data: Likewise.
24551 * conform/data/spawn.h-data: Likewise.
24552 * conform/data/stdio.h-data: Likewise.
24553 * conform/data/stdlib.h-data: Likewise.
24554 * conform/data/stropts.h-data: Likewise.
24555 * conform/data/sys/mman.h-data: Likewise.
24556 * conform/data/sys/stat.h-data: Likewise.
24557 * conform/data/sys/types.h-data: Likewise.
24558 * conform/data/sys/wait.h-data: Likewise.
24559 * conform/data/time.h-data: Likewise.
24560 * conform/data/unistd.h-data: Likewise.
24561 * conform/data/utime.h-data: Likewise.
24562
24563 * io/sys/stat.h: fchmod was always in POSIX.
24564 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24565 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24566 * rt/aio.h: Define __need_timespec before including <time.h>.
24567 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24568 struct. Add forward declaration of pthread_attr_t and use it in
24569 sigevent.
24570 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24571 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24572 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24573 always remove CLK_TCK definition.
24574
c20105c3
AS
245752012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24576
24577 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24578
7a270350
UD
245792012-02-25 Ulrich Drepper <drepper@gmail.com>
24580
31341567
UD
24581 * conform/run-conformtest.sh: New file.
24582 * conform/Makefile: Run run-conformtest for tests.
24583 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24584 support.
24585
24586 * conform/data/uchar.h-data: New file.
24587 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24588 * conform/data/arpa/inet.h-data: Likewise.
24589 * conform/data/assert.h-data: Likewise.
24590 * conform/data/complex.h-data: Likewise.
24591 * conform/data/cpio.h-data: Likewise.
24592 * conform/data/ctype.h-data: Likewise.
24593 * conform/data/dirent.h-data: Likewise.
24594 * conform/data/dlfcn.h-data: Likewise.
24595 * conform/data/errno.h-data: Likewise.
24596 * conform/data/fcntl.h-data: Likewise.
24597 * conform/data/float.h-data: Likewise.
24598 * conform/data/fmtmsg.h-data: Likewise.
24599 * conform/data/fnmatch.h-data: Likewise.
24600 * conform/data/ftw.h-data: Likewise.
24601 * conform/data/glob.h-data: Likewise.
24602 * conform/data/grp.h-data: Likewise.
24603 * conform/data/iconv.h-data: Likewise.
24604 * conform/data/inttypes.h-data: Likewise.
24605 * conform/data/langinfo.h-data: Likewise.
24606 * conform/data/libgen.h-data: Likewise.
24607 * conform/data/limits.h-data: Likewise.
24608 * conform/data/locale.h-data: Likewise.
24609 * conform/data/math.h-data: Likewise.
24610 * conform/data/monetary.h-data: Likewise.
24611 * conform/data/mqueue.h-data: Likewise.
24612 * conform/data/ndbm.h-data: Likewise.
24613 * conform/data/net/if.h-data: Likewise.
24614 * conform/data/netdb.h-data: Likewise.
24615 * conform/data/netinet/in.h-data: Likewise.
24616 * conform/data/nl_types.h-data: Likewise.
24617 * conform/data/poll.h-data: Likewise.
24618 * conform/data/pthread.h-data: Likewise.
24619 * conform/data/pwd.h-data: Likewise.
24620 * conform/data/regex.h-data: Likewise.
24621 * conform/data/sched.h-data: Likewise.
24622 * conform/data/search.h-data: Likewise.
24623 * conform/data/semaphore.h-data: Likewise.
24624 * conform/data/setjmp.h-data: Likewise.
24625 * conform/data/signal.h-data: Likewise.
24626 * conform/data/spawn.h-data: Likewise.
24627 * conform/data/stdarg.h-data: Likewise.
24628 * conform/data/stdio.h-data: Likewise.
24629 * conform/data/stdlib.h-data: Likewise.
24630 * conform/data/string.h-data: Likewise.
24631 * conform/data/strings.h-data: Likewise.
24632 * conform/data/stropts.h-data: Likewise.
24633 * conform/data/sys/ipc.h-data: Likewise.
24634 * conform/data/sys/mman.h-data: Likewise.
24635 * conform/data/sys/msg.h-data: Likewise.
24636 * conform/data/sys/resource.h-data: Likewise.
24637 * conform/data/sys/select.h-data: Likewise.
24638 * conform/data/sys/sem.h-data: Likewise.
24639 * conform/data/sys/shm.h-data: Likewise.
24640 * conform/data/sys/socket.h-data: Likewise.
24641 * conform/data/sys/stat.h-data: Likewise.
24642 * conform/data/sys/statvfs.h-data: Likewise.
24643 * conform/data/sys/time.h-data: Likewise.
24644 * conform/data/sys/timeb.h-data: Likewise.
24645 * conform/data/sys/times.h-data: Likewise.
24646 * conform/data/sys/types.h-data: Likewise.
24647 * conform/data/sys/uio.h-data: Likewise.
24648 * conform/data/sys/un.h-data: Likewise.
24649 * conform/data/sys/utsname.h-data: Likewise.
24650 * conform/data/sys/wait.h-data: Likewise.
24651 * conform/data/syslog.h-data: Likewise.
24652 * conform/data/tar.h-data: Likewise.
24653 * conform/data/termios.h-data: Likewise.
24654 * conform/data/utime.h-data: Likewise.
24655 * conform/data/utmpx.h-data: Likewise.
24656 * conform/data/varargs.h-data: Likewise.
24657 * conform/data/wchar.h-data: Likewise.
24658 * conform/data/wctype.h-data: Likewise.
24659 * conform/data/wordexp.h-data: Likewise.
24660
24661 * include/stropts.h: New file.
24662 * include/uchar.h: New file.
24663 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24664 * include/assert.h: Likewise.
24665 * include/ctype.h: Likewise.
24666 * include/dirent.h: Likewise.
24667 * include/dlfcn.h: Likewise.
24668 * include/fcntl.h: Likewise.
24669 * include/fnmatch.h: Likewise.
24670 * include/glob.h: Likewise.
24671 * include/grp.h: Likewise.
24672 * include/libio.h: Likewise.
24673 * include/locale.h: Likewise.
24674 * include/math.h: Likewise.
24675 * include/net/if.h: Likewise.
24676 * include/netdb.h: Likewise.
24677 * include/netinet/in.h: Likewise.
24678 * include/pthread.h: Likewise.
24679 * include/pwd.h: Likewise.
24680 * include/regex.h: Likewise.
24681 * include/sched.h: Likewise.
24682 * include/search.h: Likewise.
24683 * include/setjmp.h: Likewise.
24684 * include/signal.h: Likewise.
24685 * include/stdio.h: Likewise.
24686 * include/stdlib.h: Likewise.
24687 * include/string.h: Likewise.
24688 * include/sys/cdefs.h: Likewise.
24689 * include/sys/mman.h: Likewise.
24690 * include/sys/msg.h: Likewise.
24691 * include/sys/resource.h: Likewise.
24692 * include/sys/select.h: Likewise.
24693 * include/sys/socket.h: Likewise.
24694 * include/sys/stat.h: Likewise.
24695 * include/sys/statvfs.h: Likewise.
24696 * include/sys/time.h: Likewise.
24697 * include/sys/times.h: Likewise.
24698 * include/sys/uio.h: Likewise.
24699 * include/sys/utsname.h: Likewise.
24700 * include/sys/wait.h: Likewise.
24701 * include/termios.h: Likewise.
24702 * include/time.h: Likewise.
24703 * include/ulimit.h: Likewise.
24704 * include/unistd.h: Likewise.
24705 * include/utime.h: Likewise.
24706 * include/wchar.h: Likewise.
24707 * include/wctype.h: Likewise.
24708 * include/wordexp.h: Likewise.
24709
24710 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24711
7a270350
UD
24712 * time/time.h: TIME_UTC must be a macro.
24713 Make timespec_get available for ISO C11 only as well.
24714
7724defc
UD
247152012-02-24 Ulrich Drepper <drepper@gmail.com>
24716
24717 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24718 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24719
6b1d1d46
JM
247202012-02-24 Joseph Myers <joseph@codesourcery.com>
24721
24722 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24723
0f8bbd69
JM
247242012-02-24 Joseph Myers <joseph@codesourcery.com>
24725
24726 * manual/texinfo.tex: Update to version 2012-01-19.16.
24727
66ab80bc
JM
247282012-02-24 Joseph Myers <joseph@codesourcery.com>
24729
24730 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24731
74981cc5
RM
247322012-02-24 Roland McGrath <roland@hack.frob.com>
24733
ee968201
RM
24734 [BZ #13738]
24735 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24736 * manual/fdl-1.3.texi: New file.
24737 * manual/fdl-1.1.texi: File removed.
24738
74981cc5
RM
24739 [BZ #13738]
24740 * manual/libc.texinfo (FDL_VERSION): New @set.
24741 Use it for mention of FDL in cover text.
24742 (Documentation License): Use it in @include file name.
24743
7bb764bc
JM
247442012-02-22 Joseph Myers <joseph@codesourcery.com>
24745 Roland McGrath <roland@hack.frob.com>
24746
24747 [BZ #5461]
24748 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24749 not LONG_LONG_MAX and LONG_LONG_MIN.
24750 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24751 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24752 name.
24753 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24754
6cbeae47
JM
247552012-02-22 Joseph Myers <joseph@codesourcery.com>
24756
24757 [BZ #2547]
24758 [BZ #11365]
24759 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24760 manipulate bits before adding and subtracting TWO23[sx].
24761 * math/libm-test.inc (nearbyint_test): Add more tests.
24762
fe45ce09
JM
247632012-02-22 Joseph Myers <joseph@codesourcery.com>
24764
24765 [BZ #2548]
24766 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24767 bits before adding and subtracting TWO23[sx].
24768 * math/libm-test.inc (rint_test): Add more tests.
24769 (rint_test_tonearest): Likewise.
24770 (rint_test_towardzero): Likewise.
24771 (rint_test_downward): Likewise.
24772 (rint_test_upward: Likewise.
24773
ff3b3d82
JM
247742012-02-22 Joseph Myers <joseph@codesourcery.com>
24775
24776 [BZ #10110]
24777 * include/stdc-predef.h: New file. Extracted from features.h.
24778 * include/features.h: Include stdc-predef.h.
24779 * Makefile (headers): Add stdc-predef.h.
24780 * CONFORMANCE (Compiler limitations): Update.
24781
ef0aab35
JM
247822012-02-22 Joseph Myers <joseph@codesourcery.com>
24783
24784 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24785
58639409
DM
247862012-02-21 David S. Miller <davem@davemloft.net>
24787
24788 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24789 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24790
c0e70b25
DM
247912012-02-20 David S. Miller <davem@davemloft.net>
24792
24793 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24794 using a normal save/restore sequence, rather than allocating a
24795 dummy stack frame just to store a frame pointer and restore.
24796 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24797
fb06851d
JM
247982012-02-21 Joseph Myers <joseph@codesourcery.com>
24799
24800 * manual/install.texi: Fix stray word in line-wrapped comment.
24801
7a8b71c3
DM
248022012-02-20 David S. Miller <davem@davemloft.net>
24803
d510c123
DM
24804 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24805 both binutils and gcc support GOTDATA.
24806
0722d7c2
DM
24807 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24808 "rd %pc" in the PIC register setup sequences.
24809
3d2b3019
DM
24810 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24811 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24812 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24813 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24814 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24816 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24817 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24819 (SYSCALL_ERROR_HANDLER): Likewise.
24820 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24821 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24822 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24823 (SYSCALL_ERROR_HANDLER): Likewise.
24824
c80098a9
DM
24825 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24826 (HAVE_GCC_GOTDATA): New.
24827 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24828 relocation support in both binutils and gcc.
24829 * sysdeps/sparc/elf/configure: Regenerate.
24830
3a2545a0
DM
24831 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24832 * sysdeps/sparc/sparc32/elf/configure: Delete.
24833 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24834 * sysdeps/sparc/sparc64/elf/configure: Delete.
24835 * sysdeps/sparc/elf/configure.in: New file.
24836 * sysdeps/sparc/elf/configure: Generate.
24837
7a8b71c3
DM
24838 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24839 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24840 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24841 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24842 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24843
f1e86fca
JM
248442012-02-21 Joseph Myers <joseph@codesourcery.com>
24845
24846 * manual/install.texi: Do not mention specific glibc version
24847 numbers.
24848 * manual/libc.texinfo (VERSION, UPDATED): Update.
24849 (@copying): Use @copyright{} and range of years.
24850
0e7dfaef
JM
248512012-02-21 Joseph Myers <joseph@codesourcery.com>
24852
24853 [BZ #13695]
24854 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24855 [crti.S not in sysdirs] (generated): Do not append.
24856 [crti.S not in sysdirs] (omit-deps): Likewise.
24857 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24858 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24859 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24860 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24861 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24862 Likewise.
24863 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24864 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24865 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24866 * csu/defs.awk: Remove file.
24867 * sysdeps/generic/initfini.c: Likewise.
24868 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24869 variable.
24870 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24871 Likewise.
24872
599af3ca
JM
248732012-02-20 Joseph Myers <joseph@codesourcery.com>
24874
24875 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24876 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24877 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24878 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24879 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24880 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24881 <bits/epoll.h>.
24882 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24883 (__EPOLL_PACKED): Define to empty if not defined by
24884 <bits/epoll.h>.
24885 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24887 bits/epoll.h.
24888
0e499750
JM
248892012-02-20 Joseph Myers <joseph@codesourcery.com>
24890
24891 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24892 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24893 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24894 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24895 <bits/timerfd.h>.
24896 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24898 bits/timerfd.h.
24899
5ad91f6e
JM
249002012-02-20 Joseph Myers <joseph@codesourcery.com>
24901
24902 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24903 in C locale.
24904 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24905 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24906 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24908
06b99b02
AJ
249092012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24910
24911 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24912 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24913
7638c0fd
AS
249142012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24915
24916 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24917 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24918 defined.
24919 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24920 Likewise.
24921 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24922 entry for 2.16.
24923
92221550
AJ
249242012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24925
24926 * math/w_acos.c: Use non-signaling floating-point comparisons.
24927 * math/w_acosf.c: Likewise.
24928 * math/w_acosh.c: Likewise.
24929 * math/w_acoshf.c: Likewise.
24930 * math/w_acoshl.c: Likewise.
24931 * math/w_acosl.c: Likewise.
24932 * math/w_asin.c: Likewise.
24933 * math/w_asinf.c: Likewise.
24934 * math/w_asinl.c: Likewise.
24935 * math/w_atanh.c: Likewise.
24936 * math/w_atanhf.c: Likewise.
24937 * math/w_atanhl.c: Likewise.
24938 * math/w_exp2.c: Likewise.
24939 * math/w_exp2f.c: Likewise.
24940 * math/w_exp2l.c: Likewise.
24941 * math/w_j0.c: Likewise.
24942 * math/w_j0f.c: Likewise.
24943 * math/w_j0l.c: Likewise.
24944 * math/w_j1.c: Likewise.
24945 * math/w_j1f.c: Likewise.
24946 * math/w_j1l.c: Likewise.
24947 * math/w_jn.c: Likewise.
24948 * math/w_jnf.c: Likewise.
24949 * math/w_log.c: Likewise.
24950 * math/w_log10.c: Likewise.
24951 * math/w_log10f.c: Likewise.
24952 * math/w_log10l.c: Likewise.
24953 * math/w_log2.c: Likewise.
24954 * math/w_log2f.c: Likewise.
24955 * math/w_log2l.c: Likewise.
24956 * math/w_logf.c: Likewise.
24957 * math/w_logl.c: Likewise.
24958 * math/w_sqrt.c: Likewise.
24959 * math/w_sqrtf.c: Likewise.
24960 * math/w_sqrtl.c: Likewise.
24961 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24962 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24963 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24964 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24965 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24966
ebaf36eb
JM
249672012-02-19 Joseph Myers <joseph@codesourcery.com>
24968
24969 [BZ #9739]
24970 * manual/string.texi (strnlen): Use correct parameter name in
24971 equivalent expression.
24972
71c254a6
JM
249732012-02-19 Joseph Myers <joseph@codesourcery.com>
24974
24975 [BZ #11174]
24976 * manual/users.texi (seteuid): Consistently use neweuid for
24977 argument name.
24978
16d2c631
JM
249792012-02-19 Joseph Myers <joseph@codesourcery.com>
24980
24981 [BZ #13704]
24982 * manual/nss.texi (Services in the NSS configuration): Correct
24983 list of services in example configuration file.
24984
cd837b09
NB
249852012-02-19 Nick Bowler <nbowler@draconx.ca>
24986
24987 [BZ #11322]
24988 * manual/arith.texi: Remove statements about negative zero
24989 behaving identically to zero.
24990
02c4bbad
JM
249912012-02-18 Joseph Myers <joseph@codesourcery.com>
24992
24993 [BZ #5993]
24994 * manual/install.texi: Do not document upgrading from libc5.
24995
366842e7
JM
249962012-02-18 Joseph Myers <joseph@codesourcery.com>
24997
24998 [BZ #4596]
24999 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25000
dd54084d
DM
250012012-02-18 David S. Miller <davem@davemloft.net>
25002
25003 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25004 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25005 %o7 across the call.
25006 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25007 instead.
25008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25009 SETUP_PIC_REG_LEAF.
25010 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25011 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25012 * sysdeps/sparc/crtn.S: Likewise.
25013
2bcc53a3
UD
250142012-02-17 Ulrich Drepper <drepper@gmail.com>
25015
25016 * aout/Makefile: Remove.
25017
09c093b5
RK
250182012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25019
25020 [BZ #13058]
25021 * manual/examples/argp-ex1.c (main): Format definition in GNU
25022 style.
25023 * manual/examples/argp-ex2.c (main): Likewise.
25024 * manual/examples/argp-ex3.c (main): Likewise.
25025 * manual/examples/argp-ex4.c (main): Likewise.
25026 * manual/examples/longopt.c (main): Use new-style prototype
25027 definition.
25028 * manual/examples/strncat.c (main): Specify return type and use
25029 (void) for arguments.
25030 * manual/examples/subopt.c (main): Use char **argv argument.
25031
2ee633a2
JM
250322012-02-17 Joseph Myers <joseph@codesourcery.com>
25033
25034 [BZ #5077]
25035 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25036 rounding modes.
25037
0520adde
FB
250382012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25039
25040 [BZ #6907]
25041 * manual/string.texi (strchr): Change when strchrnul is
25042 recommended.
25043
3f4081cd
DGM
250442012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25045
25046 [BZ #174]
25047 * manual/locale.texi (setlocale): Document LOCPATH.
25048
d1b10e78
JM
250492012-02-17 Joseph Myers <joseph@codesourcery.com>
25050
25051 [BZ #10210]
25052 * manual/process.texi (execle): Move @dots{} before last argument.
25053
79c6869c
PB
250542012-02-17 Paul Bolle <pebolle@tiscali.nl>
25055
25056 [BZ #12047]
25057 * manual/charset.texi (Generic Charset Conversion): Fix typo
25058 (LC_TYPE -> LC_CTYPE).
25059
cc6e48bc
NB
250602012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25061
25062 [BZ #5805]
25063 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25064 (scalbnf): Likewise.
25065 (scalbnl): Likewise.
25066 (scalbln): Likewise.
25067 (scalblnf): Likewise.
25068 (scalblnl): Likewise.
25069 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25070 (vwarnx): Likewise.
25071 (verr): Likewise.
25072 (verrx): Likewise.
25073 * manual/filesys.texi (telldir): Use braces around return type.
25074 * manual/llio.texi (mmap): Add space after comma.
25075 (mmap64): Likewise.
25076 * manual/math.texi (jn): Use @var{} on parameter names.
25077 (jnf): Likewise.
25078 (jnl): Likewise.
25079 (yn): Likewise.
25080 (ynf): Likewise.
25081 (ynl): Likewise.
25082 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25083 line.
25084 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25085 "...".
25086 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25087 (sched_get_priority_max): Likewise.
25088 * manual/signal.texi (sigvec): Add space after comma.
25089 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25090 names.
25091 (if_indextoname): Likewise.
25092 (if_freenameindex): Likewise.
25093 (sendto): Use ',' instead of '.' in prototype.
25094 * manual/startup.texi (syscall): Use @dots{} instead of literal
25095 "...".
25096 * manual/stdio.texi (__fpending): Separate initial words of
25097 paragraph from @deftypefun line.
25098 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25099 "...".
25100 (vsyslog): Use @var{} on parameter names.
25101 * manual/terminal.texi (stty): Use @var{} on parameter names.
25102 * manual/users.texi (getutmp): Use @var{} on parameter names.
25103 (getutmpx): Likewise.
25104
5b23062f
JM
251052012-02-17 Joseph Myers <joseph@codesourcery.com>
25106
25107 [BZ #6884]
25108 * manual/stdio.texi (fopen): Fix typos in description of
25109 ",ccs=STRING".
25110
8dee4833
AJ
251112012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25112
25113 [BZ #4026]
25114 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25115 get clock_id definition.
25116
9078ce93
TS
251172012-02-17 Thomas Schwinge <thomas@schwinge.name>
25118
25119 [BZ #4822]
25120 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25121 (madvise): Cast every argument to void on its own.
25122
3835c55f
JM
251232012-02-17 Joseph Myers <joseph@codesourcery.com>
25124
25125 [BZ #9902]
25126 * manual/startup.texi (Exit Status): Fix typo.
25127
35c47e37
JM
251282012-02-17 Joseph Myers <joseph@codesourcery.com>
25129
25130 [BZ #10140]
25131 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25132 * manual/examples/argp-ex2.c: Likewise.
25133 * manual/examples/argp-ex3.c: Likewise.
25134
e3b69ca7
RH
251352012-02-16 Richard Henderson <rth@redhat.com>
25136
25137 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25138 * sysdeps/s390/s390-32/initfini.c: Remove.
25139 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25140 * sysdeps/s390/s390-64/initfini.c: Remove.
25141
df83af67
KK
251422012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25143
25144 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25145 compiler output for sysdeps/generic/initfini.c.
25146 * sysdeps/sh/elf/initfini.c: Remove file.
25147
f63f3380
DM
251482012-02-16 David S. Miller <davem@davemloft.net>
25149
fb59b3a4
DM
25150 [BZ #11494]
25151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25152
f63f3380
DM
25153 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25154 * sysdeps/sparc/crti.S: New file.
25155 * sysdeps/sparc/crtn.S: New file.
25156 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25157 * sysdeps/sparc/sparc64/Makefile: Likewise.
25158
df6a4a4a
MF
251592012-02-15 Mike Frysinger <vapier@gentoo.org>
25160
6dd8f3dc 25161 [BZ #3335]
df6a4a4a
MF
25162 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25163
1cac7236
RM
251642012-02-15 Roland McGrath <roland@hack.frob.com>
25165
d2c736f8
RM
25166 [BZ #4822]
25167 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25168
1cac7236
RM
25169 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25170 (write, read, close): Likewise.
25171 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25172
8e475601
JM
251732012-02-15 Joseph Myers <joseph@codesourcery.com>
25174
25175 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25176 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25177 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25178 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25179 <bits/signalfd.h>.
25180 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25182 bits/signalfd.h.
25183
ed656b40
MP
251842012-02-14 Marek Polacek <polacek@redhat.com>
25185
25186 * sysdeps/x86_64/crti.S: New file.
25187 * sysdeps/x86_64/crtn.S: New file.
25188 * sysdeps/x86_64/elf/initfini.c: Remove file.
25189
2a979d3a
JM
251902012-02-13 Joseph Myers <joseph@codesourcery.com>
25191
25192 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25193 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25194 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25195 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25196 <bits/inotify.h>.
25197 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25199 bits/inotify.h.
25200
2a418ac3
JM
252012012-02-13 Joseph Myers <joseph@codesourcery.com>
25202
25203 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25204 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25205 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25206 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25207 <bits/eventfd.h>.
25208 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25210 bits/eventfd.h.
25211
fb779be7
TS
252122012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25213
e19e83c5
RM
25214 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25215 __feraiseexcept instead of feraiseexcept.
7c35ffed 25216
fb779be7
TS
25217 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25218 nanosleep invocations.
25219 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25220 strings, and add error checking for a nanosleep invocations.
25221
59ba27a6
PE
252222012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25223
25224 Replace FSF snail mail address with URLs, as per GNU coding standards.
25225 Most of the snail mail addresses were wrong anyway, and omitting
25226 them makes the source code easier to maintain. Almost all of the
25227 changes are to license notices and to locale LC_IDENTIFICATION
25228 addresses, except for this one:
25229 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25230 not its snail mail address.
25231
57b957eb
RH
252322012-02-09 Richard Henderson <rth@twiddle.net>
25233
af850b1c
RH
25234 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25235 of kernel-features.h.
25236
57b957eb
RH
25237 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25238
6b73181a
MP
252392012-02-08 Marek Polacek <polacek@redhat.com>
25240
25241 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25242 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25243 * sysdeps/gnu/_G_config.h: Likewise.
25244 * sysdeps/generic/_G_config.h: Likewise.
25245
26ecc33a
AS
252462012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25247
6c6dbc63
AS
25248 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25249 tests.
25250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25251
e216c012
AS
25252 * sysdeps/powerpc/powerpc32/crti.S: New file.
25253 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25254 * sysdeps/powerpc/powerpc64/crti.S: New file.
25255 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25256
26ecc33a
AS
25257 * Makeconfig (have-initfini): Don't set.
25258 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25259 * configure.in (nopic_initfini): Don't substitute.
25260 * config.h.in (HAVE_INITFINI): Don't #undef.
25261 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25262 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25263
3add8e13
JM
252642012-02-08 Joseph Myers <joseph@codesourcery.com>
25265
25266 Support crti.S and crtn.S provided directly by architectures.
25267 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25268 [crti.S in sysdirs] (omit-deps): Likewise.
25269 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25270 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25271 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25272 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25273 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25274 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25275 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25276 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25277 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25278 compiler output for sysdeps/generic/initfini.c.
25279 * sysdeps/i386/elf/Makefile: Remove file.
25280 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25281
a22f12b4
MP
252822012-02-07 Marek Polacek <polacek@redhat.com>
25283
25284 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25285 * sysdeps/gnu/_G_config.h: Likewise.
25286 * sysdeps/mach/hurd/_G_config.h: Likewise.
25287
148cf100
MP
252882012-02-07 Marek Polacek <polacek@redhat.com>
25289
25290 * math/Makefile (tests): Add tst-CMPLX2.
25291 * math/tst-CMPLX2.c: New file.
25292
cfdc0dd7
AS
252932012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25294
84ba42c4
AS
25295 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25296
cfdc0dd7
AS
25297 * math/libm-test.inc (jn_test): Add missing L suffix.
25298
622c86f4
MP
252992012-02-06 Marek Polacek <polacek@redhat.com>
25300
25301 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25302 * sysdeps/i386/fpu/e_powf.S: Likewise.
25303 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25304 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25305 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25306 * sysdeps/i386/fpu/e_pow.S: Likewise.
25307 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25308 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25309 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25310 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25311 * sysdeps/i386/fpu/e_log2.S: Likewise.
25312 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25313 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25314 * sysdeps/i386/fpu/e_powl.S: Likewise.
25315 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25316 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25317 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25318 * sysdeps/i386/fpu/e_logl.S: Likewise.
25319 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25320 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25321 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25322 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25323 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25324 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25325 * sysdeps/i386/fpu/e_log.S: Likewise.
25326 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25327 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25328 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25329 * sysdeps/i386/fpu/e_logf.S: Likewise.
25330 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25331 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25332 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25333 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25334 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25335 * sysdeps/i386/fpu/e_log10.S: Likewise.
25336 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25337 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25338 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25339 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25340 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25341 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25342 * sysdeps/i386/asm-syntax.h: Likewise.
25343 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25344 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25345 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25346 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25347 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25348 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25349 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25350 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25351 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25352 * sysdeps/powerpc/sysdep.h: Likewise.
25353 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25354 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25355
d4a54ac6
JM
253562012-02-06 Joseph Myers <joseph@codesourcery.com>
25357
25358 [BZ #411]
25359 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25360
314054ea
JM
253612012-02-06 Joseph Myers <joseph@codesourcery.com>
25362
25363 * sysdeps/i386/sysdep.h: Include <features.h>.
25364 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25365 version.
25366
d8e0ca50
JM
253672012-02-05 Joseph Myers <joseph@codesourcery.com>
25368
25369 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25370 Define.
25371 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25372 LOAD_PIC_REG_STR.
25373
b1da7dd9
JM
253742012-02-03 Joseph Myers <joseph@codesourcery.com>
25375
25376 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25377 (SETUP_PIC_REG): Use GET_PC_THUNK.
25378 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25379 macro.
25380
9a1d9254
JM
253812012-02-03 Joseph Myers <joseph@codesourcery.com>
25382
25383 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25384 for non-PIC compilation.
25385 (SETUP_PIC_REG): Add .p2align directive.
25386 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25387 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25388 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25389 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25390 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25391 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25392 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25394 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25395 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25396 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25397 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25398 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25399 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25400 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25401 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25402 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25403 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25404 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25405 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25406 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25407 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25408 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25409 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25410 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25412 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25413 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25414 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25415 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25416 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25417 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25418 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25419 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25420 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25421 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25422 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25423 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25424 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25425 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25426 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25427
65dc3b75
JM
254282012-02-03 Joseph Myers <joseph@codesourcery.com>
25429
25430 * math/tst-CMPLX.c: Include <stdio.h>.
25431
d55bf177
JM
254322012-01-31 Joseph Myers <joseph@codesourcery.com>
25433
25434 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25435 float.
25436 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25437 * sysdeps/sparc/bits/mathdef.h: Likewise.
25438
69db4f8f
MP
254392012-01-31 Marek Polacek <polacek@redhat.com>
25440
25441 * libio/libio.h: Don't define _PARAMS.
25442 * locale/programs/config.h: Don't define PARAMS.
25443 * stdlib/strtol_l.c: Likewise.
25444 (__strtol_l): Remove PARAMS from the prototype.
25445
41b81892
UD
254462012-01-31 Ulrich Drepper <drepper@gmail.com>
25447
3b49edc0
UD
25448 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25449 names. Just use the correct names. Remove unnecessary wrapper
25450 functions.
25451 * malloc/arena.c: Likewise.
25452 * malloc/hooks.c: Likewise.
25453
41b81892
UD
25454 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25455 ARENA_TEST says not to. Simplify test for creation of a new arena.
25456 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25457
27a25b6e
UD
254582012-01-30 Ulrich Drepper <drepper@gmail.com>
25459
25460 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25461 into tail calls.
25462 (update_get_addr): New function.
25463 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25464 GET_ADDR_MODULE parameter.
25465
c8a89e7d
JM
254662012-01-30 Joseph Myers <joseph@codesourcery.com>
25467
25468 * crypt/cert.c: Remove __STDC__ conditionals.
25469 * crypt/crypt-entry.c: Likewise.
25470 * crypt/crypt_util.c: Likewise.
25471 * libio/filedoalloc.c: Likewise.
25472 * libio/fileops.c: Likewise.
25473 * libio/genops.c: Likewise.
25474 * libio/iofclose.c: Likewise.
25475 * libio/iofdopen.c: Likewise.
25476 * libio/iofopen.c: Likewise.
25477 * libio/iofopen64.c: Likewise.
25478 * libio/iogetdelim.c: Likewise.
25479 * libio/iopopen.c: Likewise.
25480 * libio/obprintf.c: Likewise.
25481 * libio/oldfileops.c: Likewise.
25482 * libio/oldiofclose.c: Likewise.
25483 * libio/oldiofdopen.c: Likewise.
25484 * libio/oldiofopen.c: Likewise.
25485 * libio/oldiopopen.c: Likewise.
25486 * libio/wfiledoalloc.c: Likewise.
25487 * libio/wgenops.c: Likewise.
25488 * locale/programs/xmalloc.c: Likewise.
25489 * misc/syslog.c: Likewise.
25490 * stdio-common/xbug.c: Likewise.
25491 * string/memchr.c: Likewise.
25492 * string/memcmp.c: Likewise.
25493 * string/memrchr.c: Likewise.
25494 * string/rawmemchr.c: Likewise.
25495 * sysdeps/posix/getcwd.c: Likewise.
25496 * time/strftime_l.c: Likewise.
25497
3b100462
JM
254982012-01-30 Joseph Myers <joseph@codesourcery.com>
25499
25500 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25501 * config.make.in (config-cflags-sse2avx): Define.
25502 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25503 Fix typo.
25504
607998af
CM
255052012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25506
25507 * scripts/config.guess: Update from upstream config git repository.
25508 * scripts/config.sub: Likewise.
25509
3601428f
CM
255102012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25511
3ac8b282
CM
25512 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25513 (EM_NUM): Update.
25514 (R_TILEPRO_*, R_TILEGX_*): New macros.
25515
e034841e
CM
25516 * scripts/firstversions.awk: Fix bug in version range handling.
25517
540d7568
CM
25518 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25519
3601428f
CM
25520 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25521
463de862
CM
25522 * include/sys/epoll.h: New file.
25523 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25524 libc_hidden_def.
25525
73139a76
UD
255262012-01-28 Ulrich Drepper <drepper@gmail.com>
25527
96bc5b45
UD
25528 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25529 Avoid unnecessary __WORDSIZE == 64 test.
25530 (fmaxf): Use VEX format if possible.
25531 (fmax): Likewise.
25532 (fminf): Likewise.
25533 (fmin): Likewise.
25534
56f6f6a2
UD
25535 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25536 * math/math_private.h: Remove libc_fegetround* and
25537 libc_fesetround*.
25538 * sysdeps/i386/configure.in: Check for -msse2avx.
25539 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25540 also if SSE2AVX is defined.
25541 Remove libc_fegetround* and libc_fesetround*.
25542 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25543 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25544 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25545 of HAS_YMM_USABLE.
25546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25547 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25551
73139a76
UD
25552 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25553
d73f93a4
AZ
255542012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25555
25556 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25557 size is not set.
25558 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25559
6ee65ed6
UD
255602012-01-27 Ulrich Drepper <drepper@gmail.com>
25561
25562 [BZ #13618]
25563 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25564 relocation.
25565 * Makeconfig (libm): Define.
25566 * elf/Makefile: Add rules to build and run tst-relsort1.
25567 * elf/tst-relsort1.c: New file.
25568 * elf/tst-relsort1mod1.c: New file.
25569 * elf/tst-relsort1mod2.c: New file.
25570
8db21882
JM
255712012-01-27 Joseph Myers <joseph@codesourcery.com>
25572
25573 * math/s_ldexp.c: Remove __STDC__ conditionals.
25574 * math/s_ldexpf.c: Likewise.
25575 * math/s_ldexpl.c: Likewise.
25576 * math/s_nextafter.c: Likewise.
25577 * math/s_nexttowardf.c: Likewise.
25578 * math/s_significand.c: Likewise.
25579 * math/s_significandf.c: Likewise.
25580 * math/s_significandl.c: Likewise.
25581 * math/w_jnl.c: Likewise.
25582 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25583 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25584 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25585 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25586 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25587 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25588 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25589 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25590 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25591 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25592 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25594 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25595 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25596 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25597 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25598 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25599 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25603 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25604 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25606 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25607 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25608 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25609 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25610 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25611 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25612 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25613 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25614 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25615 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25616 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25617 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25618 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25619 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25620 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25621 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25622 * sysdeps/ieee754/k_standard.c: Likewise.
25623 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25624 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25626 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25627 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25629 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25630 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25631 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25632 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25635 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25636 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25637 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25638 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25641 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25642 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25643 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25644 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25645 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25646 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25647 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25648 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25649 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25650 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25680 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25681 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25682 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25683 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25684 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25687 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25688 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25689 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25690 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25691 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25692 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25693 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25694 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25697 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25698 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25699 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25702 * sysdeps/ieee754/s_matherr.c: Likewise.
25703 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25704 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25705 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25706 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25707
965a54a4
JM
257082012-01-26 Joseph Myers <joseph@codesourcery.com>
25709
25710 * crypt/md5.h: Remove __STDC__ conditionals.
25711 * libio/libioP.h: Likewise.
25712 * locale/programs/config.h: Likewise.
25713 * sysdeps/generic/sysdep.h: Likewise.
25714 * sysdeps/i386/asm-syntax.h: Likewise.
25715 * sysdeps/s390/asm-syntax.h: Likewise.
25716 * sysdeps/unix/sysdep.h: Likewise.
25717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25719
7071ad79
JM
257202012-01-26 Joseph Myers <joseph@codesourcery.com>
25721
25722 * libio/libio.h: Remove __STDC__ conditionals.
25723 * malloc/obstack.h: Likewise.
25724 * math/complex.h: Likewise.
25725 * math/math.h: Likewise.
25726 * sysdeps/generic/_G_config.h: Likewise.
25727 * sysdeps/gnu/_G_config.h: Likewise.
25728 * sysdeps/mach/hurd/_G_config.h: Likewise.
25729 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25730 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25731 * sysdeps/sparc/bits/mathdef.h: Likewise.
25732
afc5ed09
UD
257332012-01-26 Ulrich Drepper <drepper@gmail.com>
25734
25735 [BZ #13583]
25736 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25737 Clean up HAS_* macros.
afc5ed09 25738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25739 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25740 possible.
25741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25742 HAS_AVX.
25743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25744 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25745 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25747 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25748
bdb6de1d
JM
257492012-01-25 Joseph Myers <joseph@codesourcery.com>
25750
25751 * elf/tst-unique3.cc (gets): Remove declaration.
25752 * elf/tst-unique3lib.cc (gets): Likewise.
25753 * elf/tst-unique3lib2.cc (gets): Likewise.
25754 * elf/tst-unique4.cc (gets): Likewise.
25755
b15549e6
UD
257562012-01-24 Ulrich Drepper <drepper@gmail.com>
25757
25758 * include/stdio.h: Add C++ protection. Add gets declarations and
25759 definitions.
25760 * debug/tst-chk1.c: Don't declare gets here.
25761 * stdio-common/tst-gets.c: Likewise.
25762
a037381f
JM
257632012-01-24 Joseph Myers <joseph@codesourcery.com>
25764
25765 * posix/glob: Remove directory.
25766
f1d4aa75
JM
257672012-01-24 Joseph Myers <joseph@codesourcery.com>
25768
25769 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25770
81c0c964
PT
257712012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25772
25773 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25774 of the non-standard EPFNOSUPPORT.
25775
0ea698ae
ST
257762011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25777
25778 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25779 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25780 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25781
d220b117
UD
257822012-01-21 Ulrich Drepper <drepper@gmail.com>
25783
25784 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25785
3e1aa84e
UD
257862012-01-20 Ulrich Drepper <drepper@gmail.com>
25787
25788 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25789 transient errors.
25790 * nscd/grpcache.c (cache_addgr): Likewise.
25791 * nscd/hstcache.c (cache_addhst): Likewise.
25792 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25793 * nscd/pwdcache.c (cache_addpw): Likewise.
25794 * nscd/servicescache.c (cache_addserv): Likewise.
25795
400aa020
UD
257962012-01-16 Ulrich Drepper <drepper@gmail.com>
25797
d77e7869
UD
25798 * malloc/malloc.c: Various cleanups.
25799 * malloc/hooks.c: Likewise.
25800
400aa020
UD
25801 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25802 * stdlib/bug-fmtmsg1.c: New file.
25803
25804 * stdlib/fmtmsg.c (init): Add missing unlock.
25805 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25806
e0a309cf
MP
258072012-01-12 Marek Polacek <polacek@redhat.com>
25808
25809 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25810 and _GNU_SOURCE.
25811
929d11c7
WS
258122012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25813
25814 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25815 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25816 macro to ensure uniqueness of label name.
25817 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25818 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25819
41d0e869
UD
258202012-01-11 Ulrich Drepper <drepper@gmail.com>
25821
0cc5ed3b
UD
25822 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25823
41d0e869
UD
25824 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25825 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25826 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25827 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25828
a47a831a
UD
258292012-01-10 Ulrich Drepper <drepper@gmail.com>
25830
daa891c0
UD
25831 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25832
25833 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25834 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25835 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25836
e58ef0f2
UD
25837 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25838
a47a831a 25839 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25840 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25841 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25843
25844 * math/bits/math-finite.h: Add ldexp support.
25845
a0bfc9c7
MP
258462012-01-10 Marek Polacek <polacek@redhat.com>
25847
25848 * locale/programs/localedef.h (show_archive_content): Add noreturn
25849 attribute.
25850
d6e97a1d
UD
258512012-01-09 Ulrich Drepper <drepper@gmail.com>
25852
25853 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25854
d5835c26
UD
258552012-01-08 Ulrich Drepper <drepper@gmail.com>
25856
e5f484c6
UD
25857 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25858
d5835c26
UD
25859 * io/Makefile (headers): Add bits/poll2.h.
25860
d1f741e9
WS
258612011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25862
25863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25864 typo #include statement.
25865
ec09c1c4
UD
258662012-01-08 Ulrich Drepper <drepper@gmail.com>
25867
25868 * include/sys/cdefs.h: Define __attribute_alloc_size.
25869 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25870 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25871 * elf/pldd.c: Likewise.
25872 * iconv/iconv_charmap.c: Likewise.
25873 * iconv/iconvconfig.c: Likewise.
25874 * iconv/strtab.c: Likewise.
25875 * locale/programs/locale.c: Likewise.
25876 * locale/programs/localedef.h: Likewise.
25877 * locale/programs/simple-hash.c: Likewise.
25878 * nscd/nscd.h: Likewise.
25879 * nss/makedb.c: Likewise.
25880 * sysdeps/generic/ldconfig.h: Likewise.
25881 * locale/programs/localedef.c: Remove xmalloc prototype.
25882 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25883
20b38e03
PP
258842012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25885
25886 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25887 appropriate.
25888
a0da5fe1
UD
258892012-01-08 Ulrich Drepper <drepper@gmail.com>
25890
1d5a644a 25891 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25892 * math/tst-CMPLX.c: New file.
1d5a644a 25893
8784a6db
UD
25894 * math/complex.h (CMPLXL): Fix typo.
25895
d9a216c0
UD
25896 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25897 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25898 GLIBC_2.16.
25899 * debug/tst-chk1.c: Add poll and ppoll tests.
25900 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25901 * include/sys/poll.h: Add hidden proto for ppoll.
25902 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25903 * sysdeps/mach/hurd/ppoll.c: Likewise.
25904 * io/ppoll.c: Likewise.
25905 * debug/poll_chk.c: New file.
25906 * debug/ppoll_chk.c: New file.
25907 * include/bits/poll2.h: New file.
25908 * io/bits/poll2.h: New file.
25909
ac097f5c
UD
25910 [BZ #1350]
25911 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25912
2119dcfa
UD
25913 * configure.in: static is always set to yes. Remove.
25914 * config.make.in: Don't set build-static.
25915 * Makeconfig: Remove use of build-static.
25916 * dlfcn/Makefile: Likewise.
25917 * elf/Makefile: Likewise.
25918 * math/Makefile: Likewise.
25919 * misc/Makefile: Likewise.
25920 * nptl/Makefile: Likewise.
25921 * sysdeps/mach/hurd/Makefile: Likewise.
25922
121766a9
UD
25923 * configure.in: PWD_P is not used anymore.
25924 * config.make.in: Remove PWD_P entry.
25925
51a1d39c 25926 * configure.in: Remove last remnants of RANLIB.
8720d066 25927 No need to check for signed size_t anymore.
215f4bdc
UD
25928 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25929 and IA-64.
3857022a 25930 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25931 * aclocal.m4: Likewise.
25932
d3ed7225
UD
25933 * wcsmbs/mbrtoc16.c: Implement using towc function.
25934 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25935 * wcsmbs/wcsmbsload.c: Likewise.
25936 * iconv/gconv_simple.c: Likewise.
25937 * iconv/gconv_int.h: Likewise.
25938 * iconv/gconv_builtin.h: Likewise.
25939 * iconv/iconv_prog.c: Remove CHAR16 handling.
25940
25941 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25942
25943 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25944
a0da5fe1
UD
25945 * configure.in: Remove --with-elf and --enable-bounded options.
25946 Dont set base_machine for ia64. More non-ELF conditions removed.
25947 Remove testing and setting of leading underscore information.
25948 * config.make.in (build-bounded): Set to no.
25949 * config.h.in: Remove NO_UNDERSCORES entry.
25950 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25951 them.
25952 * csu/start.c: Remove !NO_UNDERSCORE code.
25953 * locale/localeinfo.h: Likewise.
25954 * sysdeps/generic/machine-gmon.h: Likewise.
25955 * sysdeps/generic/sysdep.h: Likewise.
25956 * sysdeps/i386/sysdep.h: Likewise.
25957 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25958 * sysdeps/mach/sysdep.h: Likewise.
25959 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25961 * sysdeps/sh/sysdep.h: Likewise.
25962 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25963 * sysdeps/unix/i386/sysdep.S: Likewise.
25964 * sysdeps/unix/sparc/start.c: Likewise.
25965 * sysdeps/unix/sparc/sysdep.S: Likewise.
25966 * sysdeps/unix/sparc/sysdep.h: Likewise.
25967 * sysdeps/unix/start.c: Likewise.
25968 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25969 * sysdeps/x86_64/sysdep.h: Likewise.
25970
df78418a
UD
259712012-01-07 Ulrich Drepper <drepper@gmail.com>
25972
a784e502
UD
25973 [BZ #13553]
25974 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25975 for non-gcc.
25976 * argp/argp-fmtstream.h: Use const instead __const.
25977 * argp/argp.h: Likewise.
25978 * assert/assert.h: Likewise.
25979 * bits/fenv.h: Likewise.
25980 * bits/sched.h: Likewise.
25981 * bits/sigset.h: Likewise.
25982 * bits/sigthread.h: Likewise.
25983 * catgets/nl_types.h: Likewise.
25984 * conform/data/pthread.h-data: Likewise.
25985 * crypt/crypt-private.h: Likewise.
25986 * crypt/crypt.h: Likewise.
25987 * crypt/crypt_util.c: Likewise.
25988 * ctype/ctype.h: Likewise.
25989 * debug/execinfo.h: Likewise.
25990 * debug/mbsnrtowcs_chk.c: Likewise.
25991 * debug/mbsrtowcs_chk.c: Likewise.
25992 * debug/wcsnrtombs_chk.c: Likewise.
25993 * debug/wcsrtombs_chk.c: Likewise.
25994 * debug/wcstombs_chk.c: Likewise.
25995 * dirent/dirent.h: Likewise.
25996 * dlfcn/dlfcn.h: Likewise.
25997 * elf/neededtest4.c: Likewise.
25998 * grp/grp.h: Likewise.
25999 * gshadow/gshadow.h: Likewise.
26000 * iconv/gconv.h: Likewise.
26001 * iconv/gconv_int.h: Likewise.
26002 * iconv/gconv_simple.c: Likewise.
26003 * iconv/iconv.h: Likewise.
26004 * iconv/loop.c: Likewise.
26005 * iconv/skeleton.c: Likewise.
26006 * include/aio.h: Likewise.
26007 * include/aliases.h: Likewise.
26008 * include/argz.h: Likewise.
26009 * include/arpa/inet.h: Likewise.
26010 * include/assert.h: Likewise.
26011 * include/dirent.h: Likewise.
26012 * include/dlfcn.h: Likewise.
26013 * include/execinfo.h: Likewise.
26014 * include/fcntl.h: Likewise.
26015 * include/fenv.h: Likewise.
26016 * include/glob.h: Likewise.
26017 * include/grp.h: Likewise.
26018 * include/libintl.h: Likewise.
26019 * include/mntent.h: Likewise.
26020 * include/netdb.h: Likewise.
26021 * include/pwd.h: Likewise.
26022 * include/rpc/netdb.h: Likewise.
26023 * include/sched.h: Likewise.
26024 * include/search.h: Likewise.
26025 * include/shadow.h: Likewise.
26026 * include/signal.h: Likewise.
26027 * include/stdio.h: Likewise.
26028 * include/stdlib.h: Likewise.
26029 * include/string.h: Likewise.
26030 * include/sys/socket.h: Likewise.
26031 * include/sys/stat.h: Likewise.
26032 * include/sys/statfs.h: Likewise.
26033 * include/sys/statvfs.h: Likewise.
26034 * include/sys/syslog.h: Likewise.
26035 * include/sys/time.h: Likewise.
26036 * include/sys/uio.h: Likewise.
26037 * include/time.h: Likewise.
26038 * include/unistd.h: Likewise.
26039 * include/utmp.h: Likewise.
26040 * include/wchar.h: Likewise.
26041 * include/wctype.h: Likewise.
26042 * inet/aliases.h: Likewise.
26043 * inet/arpa/inet.h: Likewise.
26044 * inet/netinet/ether.h: Likewise.
26045 * inet/netinet/in.h: Likewise.
26046 * intl/libintl.h: Likewise.
26047 * io/bits/fcntl2.h: Likewise.
26048 * io/fcntl.h: Likewise.
26049 * io/ftw.h: Likewise.
26050 * io/sys/poll.h: Likewise.
26051 * io/sys/stat.h: Likewise.
26052 * io/sys/statfs.h: Likewise.
26053 * io/sys/statvfs.h: Likewise.
26054 * io/utime.h: Likewise.
26055 * libio/bits/stdio.h: Likewise.
26056 * libio/bits/stdio2.h: Likewise.
26057 * libio/libio.h: Likewise.
26058 * libio/libioP.h: Likewise.
26059 * libio/stdio.h: Likewise.
26060 * locale/lc-ctype.c: Likewise.
26061 * locale/locale.h: Likewise.
26062 * login/utmp.h: Likewise.
26063 * malloc/arena.c: Likewise.
26064 * malloc/malloc.c: Likewise.
26065 * malloc/malloc.h: Likewise.
26066 * malloc/mcheck.c: Likewise.
26067 * malloc/mtrace.c: Likewise.
26068 * math/bits/mathcalls.h: Likewise.
26069 * math/fenv.h: Likewise.
26070 * math/math_private.h: Likewise.
26071 * misc/bits/error.h: Likewise.
26072 * misc/bits/syslog.h: Likewise.
26073 * misc/err.h: Likewise.
26074 * misc/error.h: Likewise.
26075 * misc/fstab.h: Likewise.
26076 * misc/mntent.h: Likewise.
26077 * misc/regexp.h: Likewise.
26078 * misc/search.h: Likewise.
26079 * misc/sgtty.h: Likewise.
26080 * misc/sys/mman.h: Likewise.
26081 * misc/sys/syslog.h: Likewise.
26082 * misc/sys/uio.h: Likewise.
26083 * misc/sys/xattr.h: Likewise.
26084 * misc/ttyent.h: Likewise.
26085 * nis/rpcsvc/ypclnt.h: Likewise.
26086 * nss/nss.h: Likewise.
26087 * posix/bits/unistd.h: Likewise.
26088 * posix/fnmatch.h: Likewise.
26089 * posix/glob.h: Likewise.
26090 * posix/sched.h: Likewise.
26091 * posix/spawn.h: Likewise.
26092 * posix/sys/wait.h: Likewise.
26093 * posix/unistd.h: Likewise.
26094 * posix/wordexp.h: Likewise.
26095 * pwd/pwd.h: Likewise.
26096 * resolv/netdb.h: Likewise.
26097 * resource/sys/resource.h: Likewise.
26098 * rt/aio.h: Likewise.
26099 * rt/bits/mqueue2.h: Likewise.
26100 * rt/mqueue.h: Likewise.
26101 * shadow/shadow.h: Likewise.
26102 * signal/signal.h: Likewise.
26103 * socket/send.c: Likewise.
26104 * socket/sendto.c: Likewise.
26105 * socket/sys/socket.h: Likewise.
26106 * stdio-common/printf.h: Likewise.
26107 * stdlib/bits/stdlib.h: Likewise.
26108 * stdlib/fmtmsg.h: Likewise.
26109 * stdlib/monetary.h: Likewise.
26110 * stdlib/stdlib.h: Likewise.
26111 * stdlib/ucontext.h: Likewise.
26112 * streams/stropts.h: Likewise.
26113 * string/argz.h: Likewise.
26114 * string/bits/string2.h: Likewise.
26115 * string/string.h: Likewise.
26116 * string/strings.h: Likewise.
26117 * sunrpc/rpc/auth.h: Likewise.
26118 * sunrpc/rpc/auth_des.h: Likewise.
26119 * sunrpc/rpc/clnt.h: Likewise.
26120 * sunrpc/rpc/netdb.h: Likewise.
26121 * sunrpc/rpc/pmap_clnt.h: Likewise.
26122 * sunrpc/rpc/xdr.h: Likewise.
26123 * sysdeps/generic/inttypes.h: Likewise.
26124 * sysdeps/generic/net/if.h: Likewise.
26125 * sysdeps/generic/sys/swap.h: Likewise.
26126 * sysdeps/gnu/net/if.h: Likewise.
26127 * sysdeps/gnu/utmpx.h: Likewise.
26128 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26129 * sysdeps/i386/i486/bits/string.h: Likewise.
26130 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26131 * sysdeps/s390/bits/string.h: Likewise.
26132 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26133 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26134 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26135 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26136 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26137 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26138 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26139 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26140 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26141 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26142 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26143 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26144 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26145 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26146 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26147 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26148 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26150 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26151 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26152 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26153 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26154 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26155 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26156 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26157 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26158 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26159 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26160 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26161 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26162 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26163 * sysvipc/sys/ipc.h: Likewise.
26164 * sysvipc/sys/msg.h: Likewise.
26165 * sysvipc/sys/sem.h: Likewise.
26166 * sysvipc/sys/shm.h: Likewise.
26167 * termios/termios.h: Likewise.
26168 * time/sys/time.h: Likewise.
26169 * time/time.h: Likewise.
26170 * wcsmbs/bits/wchar2.h: Likewise.
26171 * wcsmbs/uchar.h: Likewise.
26172 * wcsmbs/wchar.h: Likewise.
26173 * wctype/wctype.h: Likewise.
26174
0269750c
UD
26175 [BZ #13551]
26176 * Makeconfig: Remove all but ELF support including AIX support.
26177 * Makerules: Likewise.
26178 * config.h.in: Likewise.
26179 * config.make.in: Likewise.
26180 * configure: Likewise.
26181 * configure.in: Likewise.
26182 * csu/Makefile: Likewise.
26183 * csu/version.c: Likewise.
26184 * debug/Makefile: Likewise.
26185 * dlfcn/Makefile: Likewise.
26186 * elf/Makefile: Likewise.
26187 * extra-lib.mk: Likewise.
26188 * iconv/Makefile: Likewise.
26189 * include/libc-symbols.h: Likewise.
26190 * include/shlib-compat.h: Likewise.
26191 * resolv/Makefile: Likewise.
26192 * resolv/res_libc.c: Likewise.
26193 * rt/Makefile: Likewise.
26194 * sysdeps/i386/asm-syntax.h: Likewise.
26195 * sysdeps/i386/sysdep.h: Likewise.
26196 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26197 * sysdeps/mach/sysdep.h: Likewise.
26198 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26199 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26200 * sysdeps/s390/asm-syntax.h: Likewise.
26201 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26202 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26203 * sysdeps/sh/sysdep.h: Likewise.
26204 * sysdeps/unix/sparc/sysdep.h: Likewise.
26205 * sysdeps/wordsize-32/divdi3.c: Likewise.
26206 * sysdeps/x86_64/sysdep.h: Likewise.
26207
00bbd29b
UD
26208 * argp/Versions: Remove _argp_unlock_xxx.
26209
26210 [BZ #13559]
26211 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26212 * abilist/libBrokenLocale.abilist: Likewise.
26213 * abilist/libanl.abilist: Likewise.
26214 * abilist/libc.abilist: Likewise.
26215 * abilist/libcrypt.abilist: Likewise.
26216 * abilist/libdl.abilist: Likewise.
26217 * abilist/libm.abilist: Likewise.
26218 * abilist/libnsl.abilist: Likewise.
26219 * abilist/libpthread.abilist: Likewise.
26220 * abilist/libresolv.abilist: Likewise.
26221 * abilist/librt.abilist: Likewise.
26222 * abilist/libthread_db.abilist: Likewise.
26223 * abilist/libutil.abilist: Likewise.
26224 * abilist/libnss_db.abilist: New file.
26225
26226 * scripts/abilist.awk: Add support for indirect functions.
26227
a2693a0e
UD
26228 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26229
3f05895f
UD
26230 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26231
ecb6fb48
UD
26232 * shlib-versions: Remove entries for ports architectures.
26233
664f8cb9
UD
26234 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26235 files in ports.
26236 * elf/stackguard-macros.h: Remove support for IA-64.
26237 * elf/tst-auditmod1.c: Likewise.
26238 * sysdeps/generic/ldsodefs.h: Likewise.
26239
7ae81d88
UD
26240 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26241 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26242 configure files.
26243
bdeba135
UD
26244 [BZ #13552]
26245 * configure.in: Remove --enable-omitfp support.
26246 * FAQ.in: Adjust.
26247 * config.make.in: Likewise.
26248 * Makeconfig: Likewise.
26249 * manual/install.texi: Likewise.
26250
d75a0a62
UD
26251 In case anyone cares, the IA-64 architecture could move to ports.
26252 * sysdeps/ia64/*: Removed.
26253 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26254 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26255
dcc9756b
UD
26256 [BZ #13555]
26257 * configure.in: Remove entries for unsupported architectures.
26258
d3761ebc 26259 [BZ #13533]
9954432e
UD
26260 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26261 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26262 routines.
26263 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26264 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26265 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26266 fall back to using wcrtomb.
26267 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26268 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26269 renaming.
26270 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26271 * wcsmbs/tst-c16c32-1.c: New file.
26272
26273 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26274 local variable.
26275
c3a87236
UD
26276 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26277
28926a1b
UD
26278 * elf/tst-unique3.cc: Add explicit declaration of gets.
26279 * elf/tst-unique3lib.cc: Likewise.
26280 * elf/tst-unique3lib2.cc: Likewise.
26281 * elf/tst-unique4.cc: Likewise.
26282
df78418a
UD
26283 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26284
8ecd6b2a
JM
262852012-01-06 Joseph Myers <joseph@codesourcery.com>
26286
26287 [BZ #13566]
26288 * assert/assert.h (static_assert): Don't define for C++.
26289 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26290 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26291
9f115170
UD
262922012-01-03 Ulrich Drepper <drepper@gmail.com>
26293
5e0d0300
UD
26294 * iconv/loop.c (single loop): Fix assertion in storing of
26295 remaining bytes.
26296
9f115170
UD
26297 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26298
81fb02b0
UD
262992012-01-01 Ulrich Drepper <drepper@gmail.com>
26300
26301 * posix/getconf.c: Update copyright year.
26302 * nss/getent.c: Likewise.
a316c1f6 26303 * nss/makedb.c: Likewise.
81fb02b0
UD
26304 * iconv/iconvconfig.c: Likewise.
26305 * iconv/iconv_prog.c: Likewise.
26306 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26307 * elf/pldd.c: Likewise.
26308 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26309 * catgets/gencat.c: Likewise.
26310 * csu/version.c: Likewise.
26311 * elf/ldd.bash.in: Likewise.
26312 * elf/sprof.c (print_version): Likewise.
26313 * locale/programs/locale.c: Likewise.
26314 * locale/programs/localedef.c: Likewise.
a316c1f6 26315 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26316 * nscd/nscd.c (print_version): Likewise.
26317 * debug/xtrace.sh: Likewise.
26318 * malloc/memusage.sh: Likewise.
26319 * malloc/mtrace.pl: Likewise.
26320 * debug/catchsegv.sh: Likewise.
26321
2ba92745
JJ
263222011-12-30 Jakub Jelinek <jakub@redhat.com>
26323
26324 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26325 pure attribute.
26326
dadebdae
UD
263272011-12-24 Ulrich Drepper <drepper@gmail.com>
26328
d3761ebc 26329 [BZ #13533]
db6af3eb
UD
26330 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26331 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26332 transformations.
26333 * iconv/gconv_int.h: Likewise.
26334 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26335 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26336 from libc for GLIBC_2.16.
26337 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26338 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26339 * wcsmbs/uchar.h: Really define mbstate_t.
26340 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26341 * wcsmbs/c16rtomb.c: New file.
26342 * wcsmbs/mbrtoc16.c: New file.
26343 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26344 for C/POSIX locale.
26345 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26346 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26347
dadebdae
UD
26348 * wcsmbs/wchar.h: Add missing __restrict.
26349
67371b56
UD
263502011-12-23 Ulrich Drepper <drepper@gmail.com>
26351
74033a25
UD
26352 [BZ #13532]
26353 * time/Makefile (routines): Add timespec_get.
26354 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26355 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26356 timespec for ISO C11.
26357 * time/timespec_get.c: New file.
26358 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26359 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26360
380d7e87
UD
26361 [BZ #13531]
26362 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26363 * stdlib/stdlib.h: Declare aligned_alloc.
26364 * Versions.def: Add GLIBC_2.16 for libc.
26365 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26366
4e9e7a35
UD
26367 [BZ 13527]
26368 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26369 ISO C11.
26370
380d7e87 26371 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26372 code.
26373
03a71829
UD
26374 [BZ #13528]
26375 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26376
839e283e
UD
26377 [BZ #13529]
26378 * assert/assert.h (static_assert): Define.
26379
ce5294e2 26380 * version.h: Update for 2.16 development version.
90fa7312 26381
8d44e150 26382 [BZ #13526]
d7809905
UD
26383 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26384 _ISOC11_SOURCE.
26385
c0da14cd
UD
26386 * version.h (RELEASE): Bump for 2.15 release.
26387 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26388
530a3249
MP
26389 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26390 Patch by Marek Polacek <mpolacek@redhat.com>.
26391
67371b56
UD
26392 * bits/byteswap.h: Protect long long constants with __extension__.
26393 * sysdeps/i386/bits/byteswap.h: Likewise.
26394 * sysdeps/ia64/bits/byteswap.h: Likewise.
26395 * sysdeps/s390/bits/byteswap.h: Likewise.
26396 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26397
15db4de1
LD
263982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26399
26400 [BZ #13540]
bbe315ea
LD
26401 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26402 destination buffer.
15db4de1
LD
26403 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26404
2b2596b1
MP
264052011-12-23 Marek Polacek <polacek@redhat.com>
26406
26407 * elf/dl-addr.c (determine_info): Add inline keyword.
26408 * elf/tst-auditmod4b.c (check_avx): Likewise.
26409 * elf/tst-auditmod6b.c (check_avx): Likewise.
26410 * elf/tst-auditmod6c.c (check_avx): Likewise.
26411 * elf/tst-auditmod7b.c (check_avx): Likewise.
26412
70c6c246
UD
264132011-12-23 Ulrich Drepper <drepper@gmail.com>
26414
26415 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26416 !__SSE_MATH__.
26417
c044cf14
LD
264182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26419
15db4de1 26420 [BZ #13540]
c044cf14
LD
26421 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26422 processing for last bytes.
26423
6b13d9d9
BH
264242011-08-06 Bruno Haible <bruno@clisp.org>
26425
d455f537
BH
26426 [BZ #13061]
26427 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26428 U+0385, not to U+1FEE.
26429
6b13d9d9
BH
26430 [BZ #13062]
26431 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26432 entry for U+00A5 U+0301.
26433
db910efd
UD
264342011-12-22 Ulrich Drepper <drepper@gmail.com>
26435
27deeafc
UD
26436 [BZ #13166]
26437 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26438 buffer for the output is too small.
26439
aed9d171
UD
26440 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26441 optimization.
26442
db910efd
UD
26443 [BZ #13185]
26444 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26445 SSE flags if possible.
26446
2bd779ae
LD
264472011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26448
e7f9dac3 26449 [BZ #13540]
2bd779ae
LD
26450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26451 processing for last bytes.
26452
154bfc16
JM
264532011-12-22 Joseph Myers <joseph@codesourcery.com>
26454
26455 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26456 (syscall-list-default-options, syscall-list-default-condition)
26457 (syscall-list-includes): Define.
26458 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26459 list of ABIs and options and #if conditions for each ABI. Do not
26460 handle common syscalls between ABIs specially.
26461 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26462 Remove.
26463 (syscall-list-variants, syscall-list-32bit-options)
26464 (syscall-list-32bit-condition, syscall-list-64bit-options)
26465 (syscall-list-64bit-condition): Define.
26466 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26467 (syscall-list-variants, syscall-list-32bit-options)
26468 (syscall-list-32bit-condition, syscall-list-64bit-options)
26469 (syscall-list-64bit-condition): Define.
26470 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26471 Remove.
26472 (syscall-list-variants, syscall-list-32bit-options)
26473 (syscall-list-32bit-condition, syscall-list-64bit-options)
26474 (syscall-list-64bit-condition): Define.
26475 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26476 Remove.
26477 (syscall-list-variants, syscall-list-32bit-options)
26478 (syscall-list-32bit-condition, syscall-list-64bit-options)
26479 (syscall-list-64bit-condition): Define.
26480
21eaf3a5
UD
264812011-12-22 Ulrich Drepper <drepper@gmail.com>
26482
16c6f992
UD
26483 * locale/iso-639.def: Add brx entry.
26484
41043168
UD
26485 [BZ #13328]
26486 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26487 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26488
21eaf3a5
UD
26489 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26490 __feraiseexcept_renamed.
26491
e3a851a2
UD
264922011-12-21 Ulrich Drepper <drepper@gmail.com>
26493
4920765e
UD
26494 [BZ #13538]
26495 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26496 EPOLLET with unsigned values.
26497 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26498 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26499
e3a851a2
UD
26500 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26501 to large cancellation.
26502 * math/s_cacoshf.c: Likewise.
26503 * math/s_cacoshl.c: Likewise.
26504
b27e24b8
RK
265052011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26506
26507 [BZ #13305]
aebefeee 26508 [BZ #12786]
b27e24b8
RK
26509 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26510 * math/s_cacoshf.c: Likewise.
26511 * math/s_cacoshl.c: Likewise.
26512
ee190f67
UD
265132011-12-21 Ulrich Drepper <drepper@gmail.com>
26514
26515 [BZ #13439]
26516 * iconv/gconv.h: Define __GCONV_SWAP.
26517 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26518 * iconvdata/utf-16.c: Likewise.
26519 * iconvdata/utf-32.c: Likewise.
26520
707f25df
AS
265212011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26522
26523 [BZ #13524]
26524 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26525 numerator after shifting it by one limb.
26526
d2daaa1e
RÁE
265272011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26528
26529 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26530 under [__USE_EXTERN_INLINES].
26531
a4647e72
UD
265322011-12-17 Ulrich Drepper <drepper@gmail.com>
26533
26534 [BZ #13446]
26535 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26536
f0b264f1
AZ
265372011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26538
26539 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26540 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26541 optimized code.
26542 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26543 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26544 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26545 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26546 for strncasecmp/strncasecmp_l compilation.
26547 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26548 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26549
8ef4f244
MP
265502011-12-08 Marek Polacek <mpolacek@redhat.com>
26551
26552 [BZ #13484]
26553 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26554 of __asm__.
26555
97ac2654
UD
265562011-12-17 Ulrich Drepper <drepper@gmail.com>
26557
26558 [BZ #13506]
26559 * time/tzfile.c (__tzfile_read): Check values from file header.
26560
91d2a845
WS
265612011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26562
26563 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26564 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26565 * powerpc/powerpc32/dl-start.S: Likewise.
26566 * powerpc/powerpc32/elf/start.S: Likewise.
26567 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26568 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26569 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26570 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26571 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26572 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26573 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26574 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26575 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26576 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26577 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26578 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26579 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26580 * powerpc/powerpc32/memset.S: Likewise.
26581 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26582 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26583 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26584 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26585 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26586 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26587 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26588 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26589 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26590 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26591 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26592 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26593 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26594
a1267ba1
AZ
265952011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26596
26597 * math/libm-test.inc: Added more nearbyint tests.
26598 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26599 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26600 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26601 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26602
ad8ac1bd
RL
266032011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26604
26605 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26606 FD_CLOEXEC.
26607
1d3e4b61
UD
266082011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26609
26610 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26611 Add wcscpy-ssse3 wcscpy-c.
26612 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26613 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26614 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26615 * sysdeps/x86_64/wcschr.S: New file.
26616 * sysdeps/x86_64/wcsrchr.S: New file.
26617 * string/test-strcmp.c: Remove checking of wcscmp function for
26618 wrong alignments.
26619 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26620 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26621 wcsrchr-sse2 wcsrchr-c.
26622 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26623 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26624 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26625 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26626 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26627 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26628 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26629 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26630 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26631 * wcsmbc/wcschr.c (WCSCHR): New macro.
26632
5b330a2d
UD
266332011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26634
26635 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26636 * wcsmbs/test-wcsrchr.c: New file.
26637 * string/test-strrchr.c: Add wcsrchr support.
26638 (WIDE): New macro.
26639 * wcsmbs/test-wcscpy.c: New file.
26640 * string/test-strcpy.c: Add wcscpy support.
26641 (WIDE): New macro.
26428b7c 26642
f039c043
UD
266432011-12-10 Ulrich Drepper <drepper@gmail.com>
26644
26645 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26646 the inner loop.
26647
850fb039
AS
266482011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26649
26650 [BZ #13472]
26651 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26652
4efbd5cb
UD
266532011-12-04 Ulrich Drepper <drepper@gmail.com>
26654
52ff5dd0 26655 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26656 Minor optimizations.
52ff5dd0 26657
4efbd5cb
UD
26658 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26659 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26660 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26661
8a426e12
UD
266622011-12-03 Ulrich Drepper <drepper@gmail.com>
26663
aff2453d
UD
26664 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26665 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26666 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26667 for gcc to avoid warnings.
26668 * inet/Makefile (tests): Add tst-checks.
26669 * inet/tst-checks.c: New file.
26670
26671 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26672 warning.
26673
26674 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26675 __wmemcmp_sse2.
26676
26677 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26678 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26679
8a426e12
UD
26680 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26681
9bea3473
UD
266822011-12-02 Ulrich Drepper <drepper@gmail.com>
26683
3a965496
UD
26684 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26685 problem.
26686
9bea3473
UD
26687 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26688
f101631b
UD
266892011-11-29 Joseph Myers <joseph@codesourcery.com>
26690
26691 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26692 conditional on GCC version.
26693 (__arch_compare_and_exchange_val_8_acq)
26694 (__arch_compare_and_exchange_val_16_acq)
26695 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26696 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26697 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26698
a98275aa
UD
266992011-12-02 Joseph Myers <joseph@codesourcery.com>
26700
26701 * sysdeps/sh/backtrace.c: New file.
26702
d4cc29a2
AS
267032011-12-02 Andreas Schwab <schwab@redhat.com>
26704
26705 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26706 parenthesis.
26707
6257af2d
AS
267082011-12-01 Andreas Schwab <schwab@redhat.com>
26709
26710 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26711 falling back to utime.
26712
b5f44c1a
AS
267132011-11-30 Andreas Schwab <schwab@redhat.com>
26714
26715 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26716 expectations for float.
26717
f3a6cc0a
AS
267182011-11-29 Andreas Schwab <schwab@redhat.com>
26719
26720 * locale/weight.h (findidx): Add parameter len.
26721 * locale/weightwc.h (findidx): Likewise.
26722 * posix/fnmatch_loop.c (FCT): Adjust caller.
26723 * posix/regcomp.c (build_equiv_class): Likewise.
26724 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26725 * posix/regexec.c (check_node_accept_bytes): Likewise.
26726 * string/strcoll_l.c (STRCOLL): Likewise.
26727 * string/strxfrm_l.c (STRXFRM): Likewise.
26728
9d65ea3a
UD
267292011-11-17 Ulrich Drepper <drepper@gmail.com>
26730
26731 * Makefile.in: Remove CVSOPT handling.
26732 * configure.in: Remove use of AC_REVISION.
26733 * iconvdata/Makefile (distribute): No need to filter out CVS.
26734 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26735 handling.
26736
5583a086
AS
267372011-11-16 Andreas Schwab <schwab@redhat.com>
26738
26739 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26740 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26741 [USE_AS_STRNCASECMP_L]: Likewise.
26742 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26743 NO_TLS_DIRECT_SEG_REFS.
26744 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26745 Fix argument offsets for non-PIC.
26746 [USE_AS_STRNCASECMP_L]: Likewise.
26747 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26748 NO_TLS_DIRECT_SEG_REFS.
26749
d62a8200
UD
267502011-11-15 Ulrich Drepper <drepper@gmail.com>
26751
9d65ea3a 26752 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26753 O_CLOEXEC.
26754 * locale/loadlocale.c (_nl_load_locale): Likewise.
26755
09f93bd3
AS
267562011-11-15 Andreas Schwab <schwab@redhat.com>
26757
446514f9
AS
26758 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26759 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26760 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26761 (SYSCALL_GETTIME): Set errno on error.
26762
09f93bd3
AS
26763 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26764 count references to noai6ai_cached.
26765
312be3f9
UD
267662011-11-15 Ulrich Drepper <drepper@gmail.com>
26767
26768 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26769
26770 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26771 FD_CLOEXEC for /proc/self/maps.
26772
26773 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26774 FD_CLOEXEC for /proc/meminfo.
26775
26776 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26777 gai.conf.
26778
26779 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26780 FD_CLOEXEC for given file.
26781
26782 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26783
26784 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26785 FD_CLOEXEC for /etc/hosts.
26786 (_gethtent): Likewise.
26787
26788 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26789
26790 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26791 cancellation and set FD_CLOEXEC for /etc/netgroup.
26792
26793 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26794 reading /etc/publickey.
26795
26796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26797 allow cancellation when reading /etc/group.
26798
26799 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26800 cancellation.
26801 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26802
26803 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26804 when using data file.
26805
26806 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26807
26808 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26809 (write_nis_obj): Use "c" and "e" in fopen.
26810
26811 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26812
26813 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26814
26815 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26816
26817 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26818
26819 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26820 locale.alias.
26821
26822 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26823
26824 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26825
26826 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26827
26828 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26829 file parsing and set FD_CLOEXEC.
26830
82af0fa8
UD
268312011-11-14 Ulrich Drepper <drepper@gmail.com>
26832
26833 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26834
a5fb313c
AS
268352011-11-14 Andreas Schwab <schwab@redhat.com>
26836
26837 * malloc/arena.c (arena_get2): Don't call reused_arena when
26838 _int_new_arena failed.
26839
6abf3465
UD
268402011-11-14 Ulrich Drepper <drepper@gmail.com>
26841
26842 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26843 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26844 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26845 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26846 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26847 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26848 to compile strcasecmp and strncasecmp.
26849 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26850 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26851
26852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26853
76e3966e
UD
268542011-11-13 Ulrich Drepper <drepper@gmail.com>
26855
26856 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26857 locale-defines.sym to gen-as-const-headers.
26858 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26859 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26861 to compile strcasecmp and strncasecmp.
26862 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26863 strcasecmp_l and strncasecmp_l.
26864 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26865 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26866 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26867 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26868 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26869 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26870 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26871 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26872 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26873 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26874 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26875
ab26144e
UD
268762011-11-12 Ulrich Drepper <drepper@gmail.com>
26877
7edb22ef
UD
26878 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26879 result of SYSDEP_GETTIME_CPU to retval.
26880 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26881 parameter list to macro. Remove trailing semicolon. Adjust users.
26882
9694fc44
UD
26883 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26884 variable.
26885
8ad89ef8
UD
26886 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26887 mantissa words.
26888 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26889
0c822ef9
UD
26890 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26891 from unused variable.
26892
874e0564
UD
26893 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26894 DWARF definitions.
26895 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26896 for assembling.
26897
3a2edc79
UD
26898 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26899 over namespaces.
26900
f3c2577f
UD
26901 * sunrpc/rpc_prot.c (rejected): Fix case value.
26902
294ce126
UD
26903 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26904 unsigned long long int to avoid warnings in shift.
26905
5e2b63c6
UD
26906 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26907 of use of trans.
26908 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26909 variable tmp.
26910
e7f4b08e
UD
26911 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26912 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26913 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26914
ab26144e
UD
26915 * nis/nis_table.c (nis_list): Use variable of correct type for
26916 result of __follow_path call.
26917
8a6d5255
AZ
269182011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26919
26920 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26921 of math functions ceil, trunc, floor, round, and sqrt, when
26922 avaliable on the platform.
26923 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26924 name clash.
26925 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26926 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26927 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26928
aaddc98c
MP
269292011-10-30 Marek Polacek <mpolacek@redhat.com>
26930
26931 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26932 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26933
95b7042b
RM
269342011-11-11 Roland McGrath <roland@hack.frob.com>
26935
26936 * include/unistd.h: Fix __readlink return type.
26937 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26938
57769839
UD
269392011-11-11 Ulrich Drepper <drepper@gmail.com>
26940
26941 * stdlib/ucontext.h: Undo last change for makecontext.
26942
edc5984d
AS
269432011-11-11 Andreas Schwab <schwab@redhat.com>
26944
98591e58
AS
26945 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26946
edc5984d
AS
26947 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26948 * setjmp/setjmp.h: Mark functions as non-leaf.
26949 * setjmp/bits/setjmp2.h: Likewise.
26950 * stdlib/ucontext.h: Likewise.
26951
77cdc054
AS
269522011-11-10 Andreas Schwab <schwab@redhat.com>
26953
26954 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26955 (reused_arena): Don't check arena limit.
26956 (arena_get2): Atomically check arena limit.
26957
fe72eebd
UD
269582011-11-08 Ulrich Drepper <drepper@gmail.com>
26959
5f078c32
UD
26960 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26961 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26962
fe72eebd
UD
26963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26964 instructions.
26965
ae1bc2fa
AS
269662011-11-07 Andreas Schwab <schwab@redhat.com>
26967
7583a88d
AS
26968 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26969 handler when locking.
26970
ae1bc2fa
AS
26971 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26972 Fix size of allocated buffer.
26973
10fb0bfa
AS
269742011-11-04 Andreas Schwab <schwab@redhat.com>
26975
998832a4
AS
26976 [BZ #10103]
26977 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26978 declarations for long double functions.
26979 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26980
10fb0bfa
AS
26981 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26982
3d7ba52b
AS
269832011-11-03 Andreas Schwab <schwab@redhat.com>
26984
a9ae54a1
AS
26985 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26986 installed.
26987
3d7ba52b
AS
26988 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26989 is disabled.
26990
bc8db248
ST
269912011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26992
26993 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26994
45b96dd6
AS
269952011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26996
647776f6
AS
26997 * include/alloca.h (stackinfo_alloca_round): Define.
26998 (extend_alloca): Use it.
26999 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27000 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27001 here.
27002
d91a8b93
AS
27003 * scripts/check-local-headers.sh: Ignore libaudit.h.
27004
45b96dd6
AS
27005 * nscd/Makefile (extra-objs): Make recursively expanded.
27006
432d41ce
UD
270072011-11-01 Ulrich Drepper <drepper@gmail.com>
27008
34372fc6
UD
27009 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27010 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27011
fadb59f8
UD
27012 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27013 * posix/tst-rfc3484-2.c: Likewise.
27014 * posix/tst-rfc3484-3.c: Likewise.
27015
78239589
UD
27016 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27017 process_vm_writev.
27018 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27019 process_vm_writev.
27020 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27021 process_vm_writev from libc using GLIBC_2.15 version.
27022
432d41ce
UD
27023 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27024
02f9c6cf
PP
270252011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27026
27027 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27028 stack usage.
27029
3a2c0242
UD
270302011-10-31 Ulrich Drepper <drepper@gmail.com>
27031
f4ec4833
UD
27032 [BZ #13367]
27033 * nss/getent.c (initgroups_keys): Show error message in case no group
27034 names are given.
27035
3a2c0242
UD
27036 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27037 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27038 __bump_nl_timestamp.
27039 * nscd/connections (nscd_init): When host database is served open
27040 netlink socket and request notification about configuration changes.
27041 (main_loop_poll): Track netlink file descriptor and bump timestamp
27042 in case data becomes available.
27043 (main_loop_epoll): Likewise.
27044 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27045 (database_pers_head): Add extra_data fileds.
27046 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27047 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27048 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27049 Adjust caller.
27050 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27051 in6ai data, call __free_in6ai.
27052 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27053 Add -DHAVE_NETLINK.
27054 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27055 interface information. Reuse previous data if netlink timestamp
27056 is not changed.
27057 (__bump_nl_timestamp): New function.
27058 (__free_in6ai): New function.
27059
636064eb
UD
270602011-10-30 Ulrich Drepper <drepper@gmail.com>
27061
27062 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27063 close_not_cancel_no_status here.
27064 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27065
9beb2334
UD
270662011-10-29 Ulrich Drepper <drepper@gmail.com>
27067
6ef76f3b
UD
27068 [BZ #13276]
27069 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27070 return value.
27071
0ffc4f3e 27072 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27073 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27074 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27075
cb95113e
UD
270762011-07-03 Andreas Jaeger <aj@suse.de>
27077
27078 [BZ #10709]
27079 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27080 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27081 * math/libm-test.inc (sin_test): Add test case.
27082
a1b560ff
UD
270832011-10-29 Ulrich Drepper <drepper@gmail.com>
27084
c9aaface
UD
27085 [BZ #13337]
27086 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27087 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27088
d272e7f1
UD
27089 * elf/chroot_canon.c (chroot_canon): Cleanups.
27090
1bc33071
UD
27091 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27092
1760874d
TJ
27093 [BZ #13335]
27094 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27095 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27096
51d91b18
UD
27097 * string/test-strchr.c: Make usable for strchrnul testing.
27098 * string/test-strchrnul.c: New file.
27099 * string/Makefile (strop-tests): Add strchrnul.
27100
a1b560ff 27101 * po/it.po: Update from translation team.
b611fb81 27102 * po/es.po: Likewise.
a1b560ff 27103
a5b81e1f
UD
271042011-10-28 Ulrich Drepper <drepper@gmail.com>
27105
fd52bc6d
UD
27106 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27107 the three constants needed as parameters. Drop the others.
27108 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27109 __m128i_strloadu_tolower.
52e4b9eb
UD
27110 Create and initialize variable zero and use it in all the places
27111 where _mm_setzero_si128 was used.
fd52bc6d 27112
a5b81e1f
UD
27113 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27114 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27115 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27116 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27117 anymore.
27118 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27119 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27120 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27121 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27122 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27123 __mpranred, __mptan.
27124 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27125 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27126 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27127 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27128 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27129 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27130 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27131 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27132 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27133
b4343346
AS
271342011-10-28 Andreas Schwab <schwab@redhat.com>
27135
0c92d8a8
AS
27136 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27137 redefine if SHARED.
27138 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27139
b4343346
AS
27140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27141 wide char related routines to wcsmbs subdir.
27142
3871f58f
AS
271432011-10-27 Andreas Schwab <schwab@redhat.com>
27144
27145 [BZ #13344]
27146 * misc/sys/cdefs.h (__THROWNL): Define.
27147 * posix/unistd.h: Use __THREADNL instead of __THREAD
27148 for memory synchronization functions.
27149
94d44d9f
RM
271502011-10-26 Roland McGrath <roland@hack.frob.com>
27151
21b64b15 27152 [BZ #13349]
94d44d9f
RM
27153 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27154 doesn't exist.
27155 * manual/stdio.texi (Obstack Streams): Node removed.
27156
f6ce9294
AS
271572011-10-26 Andreas Schwab <schwab@redhat.com>
27158
80479147
AS
27159 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27160 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27161 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27162
f6ce9294
AS
27163 * math/math_private.h (math_force_eval): Allow non-addressable
27164 arguments.
27165 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27166
618280a1
UD
271672011-10-25 Ulrich Drepper <drepper@gmail.com>
27168
e0016b11
UD
27169 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27170 file is not needed.
27171
27172 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27173 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27174 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27175 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27176 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27177 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27178 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27179 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27180 Add AVX variants.
27181 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27182 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27183 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27184 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27185 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27186 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27187 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27188 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27189 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27190 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27191 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27192 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27193 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27194 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27195 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27196 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27197 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27198 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27199 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27200
27201 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27202 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27203
618280a1
UD
27204 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27205 place. Use VEX encoding when compiling for AVX.
27206
37822576
AS
272072011-10-25 Andreas Schwab <schwab@redhat.com>
27208
1f1e1947
AS
27209 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27210 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27211
37822576
AS
27212 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27213
31ea014d
UD
272142011-10-25 Ulrich Drepper <drepper@gmail.com>
27215
d7826aa1 27216 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27217 useless if() expression.
d7826aa1
UD
27218 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27219 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27220 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27221 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27222 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27223 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27224 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27226 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27227 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27228 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27229 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27230 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27231 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27232 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27233 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27234 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27236 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27237
31ea014d
UD
27238 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27239
16437fec
AS
272402011-10-25 Andreas Schwab <schwab@redhat.com>
27241
27242 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27243 condition.
27244 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27245
31d3cc00
UD
272462011-10-25 Ulrich Drepper <drepper@gmail.com>
27247
27248 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27249 .text section. Avoid duplicate constants.
27250 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27252 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27254 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27255 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27256 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27257 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27258 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27259 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27260 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27261 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27262 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27263 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27264 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27265 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27266 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27267 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27268 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27269 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27270 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27271 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27272 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27273 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27274 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27275 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27276 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27277 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27278 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27279 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27280 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27281 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27283 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27284 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27285 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27286 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27288 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27289 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27290 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27291 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27292 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27293 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27294 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27295
58985aa9
UD
272962011-10-24 Ulrich Drepper <drepper@gmail.com>
27297
202c9deb
UD
27298 * sysdeps/x86_64/dla.h: Move to ...
27299 * sysdeps/x86_64/fpu/dla.h: ...here.
27300 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27301 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27302
af968f62
UD
27303 * config.make.in: Add have-mfma4 entry.
27304 * configure.in: Substitute libc_cv_cc_fma4.
27305 * math/Makefile (dbl-only-routines): Add sincostab.
27306 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27307 Use __sincostab not sincos.
27308 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27309 name is a macro.
27310 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27314 using __copysign.
27315 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27316 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27317 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27318 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27319 and __inv.
27320 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27321 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27322 __copysign.
27323 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27324 define aliases when function name is a macro.
27325 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27326 sysdeps/ieee754/dbl-64/sincos.tbl.
27327 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27328 fma4-enabled routines.
27329 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27330 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27331 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27332 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27333 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27334 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27335 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27336 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27337 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27338 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27339 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27340 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27341 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27342 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27343 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27344 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27345 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27346 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27347 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27348 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27349 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27350 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27351 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27352 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27353 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27354 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27355 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27356 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27357 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27358 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27359
58985aa9
UD
27360 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27361 rename.
27362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27366 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27370
a201fbcf
AS
273712011-10-24 Andreas Schwab <schwab@redhat.com>
27372
27373 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27374
fc2ee42a
LD
273752011-10-23 Ulrich Drepper <drepper@gmail.com>
27376
bb3129bd
UD
27377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27378
0275fff8
UD
27379 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27380 prediction.
27381 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27382
2fa2ae85
UD
27383 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27384 Remove unused variable magic_bits.
27385 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27386
fc2ee42a
LD
27387 * string/strnlen.c: Define and use STRNLEN macro.
27388 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27389 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27391 * wcsmbs/wcslen.c: Define and use WCSLEN.
27392 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27393 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27394 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27395 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27396 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27397 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27398 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27399
ce7dd29f
LD
274002011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27401
27402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27403 strnlen-sse2-no-bsf.
27404 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27405 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27406 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27407 Add strnlen support.
27408 (USE_AS_STRNLEN): New macro.
27409 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27410 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27411 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27412 * sysdeps/x86_64/wcslen.S: New file.
27413
979c70a3
MZ
274142011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27415
27416 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27417 XMM-moves are used for copying on small sizes.
27418
2d09f82f
LD
274192011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27420
27421 * wcsmbs/Makefile (strop-tests): Add wcschr.
27422 * wcsmbs/test-wcschr.c: New file.
27423 * string/test-strchr.c: Update.
27424 Add wcschr support.
27425 (WIDE): New macro.
27426
619fccca
LD
274272011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27428
2d09f82f 27429 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27430 * wcsmbs/test-wcslen.c: New file.
27431 * string/test-strlen.c: Update.
27432 Add wcslen support.
27433 (WIDE): New macro.
27434
09f699ea
UD
274352011-10-23 Ulrich Drepper <drepper@gmail.com>
27436
27437 * po/it.po: Update from translation team.
27438
95584d3b
LD
274392011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27440
27441 * sysdeps/x86_64/wcscmp.S: Update.
27442 Fix wrong comparison semantics.
27443 wcscmp shall use signed comparison not unsigned.
27444 Don't use substraction to avoid overflow bug.
27445 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27446 * wcsmbc/wcscmp.c: Likewise.
27447 * string/test-strcmp.c: Likewise.
27448 Add new tests to check cases with negative values.
27449
c8b3296b
UD
274502011-10-23 Ulrich Drepper <drepper@gmail.com>
27451
27452 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27453 * sysdeps/x86_64/dla.h: ...here. New file.
27454 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27455 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27459 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27460 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27461 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27462 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27463
246ad57a
AS
274642011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27465
27466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27467 __ynl_finite aliases.
27468
a1a87169
UD
274692011-10-22 Ulrich Drepper <drepper@gmail.com>
27470
0d355eb7
UD
27471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27472
a1a87169
UD
27473 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27474 define DLA_FMA.
27475 [DLA_FMA] (EMULV): Use DLA_FMA.
27476 [DLA_FMA] (MUL12): Use EMULV.
27477 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27478 that are not needed.
27479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27486
ee2aafe0
AS
274872011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27488
27489 * math/s_nan.c: Undef __nan.
27490 * math/s_nanf.c: Undef __nanf.
27491 * math/s_nanl.c: Undef __nanl.
27492 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27493 "math_private.h".
27494
bc62c2fb
UD
274952011-10-22 Ulrich Drepper <drepper@gmail.com>
27496
77425c63
UD
27497 * math/s_catan.c: Add branch predictions.
27498 * math/s_catanf.c: Likewise.
27499 * math/s_catanh.c: Likewise.
27500 * math/s_catanhf.c: Likewise.
27501 * math/s_catanhl.c: Likewise.
27502 * math/s_catanl.c: Likewise.
27503 * math/s_cexp.c: Likewise.
27504 * math/s_cexpf.c: Likewise.
27505 * math/s_cexpl.c: Likewise.
27506 * math/s_clog.c: Likewise.
27507 * math/s_clog10.c: Likewise.
27508 * math/s_clog10f.c: Likewise.
27509 * math/s_clog10l.c: Likewise.
27510 * math/s_clogf.c: Likewise.
27511 * math/s_clogl.c: Likewise.
27512 * math/s_csqrt.c: Likewise.
27513 * math/s_csqrtf.c: Likewise.
27514 * math/s_csqrtl.c: Likewise.
27515 * math/s_ctanf.c: Likewise.
27516 * math/s_ctanh.c: Likewise.
27517 * math/s_ctanhf.c: Likewise.
27518 * math/s_ctanhl.c: Likewise.
27519 * math/s_ctanl.c: Likewise.
27520
bc62c2fb
UD
27521 * math/math_private.h: Define __nan, __nanf, __nanl.
27522 * math/s_cacosh.c: Include <math_private.h>.
27523 * math/s_cacoshl.c: Likewise.
27524 * math/s_casinh.c: Likewise.
27525 * math/s_casinhf.c: Likewise.
27526 * math/s_casinhl.c: Likewise.
27527 * math/s_ccos.c: Rely entire on ccosh.
27528 * math/s_ccosf.c: Rely entire on ccoshf.
27529 * math/s_ccosl.c: Rely entirely on ccoshl.
27530 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27531 Remove tests for FE_INVALID.
27532 * math/s_ccoshf.c: Likewise.
27533 * math/s_ccoshl.c: Likewise.
27534 * math/s_csin.c: Likewise.
27535 * math/s_csinf.c: Likewise.
27536 * math/s_csinh.c Likewise.
27537 * math/s_csinhf.c: Likewise.
27538 * math/s_csinhl.c: Likewise.
27539 * math/s_csinl.c: Likewise.
27540 * math/s_ctan.c: Likewise.
27541 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27542 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27543 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27544
8ec250a4
UD
275452011-10-21 Ulrich Drepper <drepper@gmail.com>
27546
c196fed8
UD
27547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27548 compilation problems.
27549
8ec250a4
UD
27550 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27551 __builtin_expect.
27552
8d4f46c6
UD
275532011-10-20 Ulrich Drepper <drepper@gmail.com>
27554
ed72b654
UD
27555 * sysdeps/i386/configure.in: Test for -mfma4 option.
27556 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27557 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27558 COMMON_CPUID_INDEX_80000001.
27559 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27560 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27561 use it if FMA3 is not supported.
27562 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27563
8d4f46c6
UD
27564 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27565 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27566
d45c60c2
AS
275672011-10-20 Andreas Schwab <schwab@redhat.com>
27568
27569 [BZ #12892]
27570 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27571 it would create a cycle with a link time dependency.
27572
d9a4d2ab
UD
275732011-10-19 Ulrich Drepper <drepper@gmail.com>
27574
855d1560
UD
27575 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27576 instruction.
27577 * string/Makefile (strop-tests): Add rawmemchr.
27578 * string/test-rawmemchr.c: New file.
27579
d9a4d2ab
UD
27580 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27581 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27582 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27583 when compiling str{,n}casecmp and when AVX is available. Hook up
27584 new optimized code in initializers.
27585
8f3b1ffe
AS
275862011-10-19 Andreas Schwab <schwab@redhat.com>
27587
27588 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27589 __feraiseexcept instead of feraiseexcept.
27590
d38f1dba
UD
275912011-10-18 Ulrich Drepper <drepper@gmail.com>
27592
d9a8d0ab
UD
27593 * math/math_private.h: Define defaults for libc_fetestexcept and
27594 libc_feupdateenv.
27595 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27596 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27597 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27598 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27599 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27600 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27601 libc_fetestexcept and libc_feupdateenv.
27602
4855e3dd
UD
27603 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27604 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27605 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27606 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27607 libc_feholdexcept_setround.
27608
581d30e3
UD
27609 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27610 Add s_nearbyint-c and s_nearbyintf-c.
27611 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27612 nearbyintf inlines.
27613 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27614 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27615 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27616 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27617
d38f1dba
UD
27618 * math/math_private.h: Define defaults for libc_fegetround,
27619 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27620 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27621 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27623 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27624 standard functions.
27625 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27626 Remove comments and hacks for old compiler versions.
27627 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27628 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27629 libc_feholdexceptl.
27630
caa6c9d8
AS
276312011-10-18 Andreas Schwab <schwab@redhat.com>
27632
27633 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27634 (__feraiseexcept_renamed): Add __NTH.
27635 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27636 namespace violations.
27637
97c066e6
UD
276382011-10-17 Ulrich Drepper <drepper@gmail.com>
27639
99ce7b04
UD
27640 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27641
1004d182
UD
27642 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27643
228a984d
UD
27644 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27645 recently added interfaces.
27646 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27647
c8553a6a
UD
27648 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27649 about macro parameter expansion.
27650
ed22dcf6
UD
27651 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27652 __NO_MATH_INLINES is defined. Cleanups.
27653
27654 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27655 and __floorf is target has SSE4.1.
27656 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27657 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27658 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27659 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27660
b171c137
UD
27661 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27662 name.
27663 (floorf): Likewise.
27664
97c066e6
UD
27665 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27666
629f62ef
AS
276672011-10-17 Andreas Schwab <schwab@redhat.com>
27668
49a43d80
AS
27669 * misc/sys/cdefs.h: Fix last change.
27670
629f62ef
AS
27671 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27672 database lookup.
27673
e453f6cd
UD
276742011-10-16 Ulrich Drepper <drepper@gmail.com>
27675
aa78043a
UD
27676 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27677
ad0f5cad
UD
27678 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27679 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27680 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27681 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27682 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27683 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27684 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27685 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27686 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27687 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27688 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27689 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27690 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27691 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27692 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27693 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27694 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27695 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27696 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27697 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27698 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27699 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27700
27701 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27702 ceil, ceilf, floor, floorf.
27703
27704 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27705 Perform IRELATIVE relocations last.
27706
e453f6cd
UD
27707 * elf/do-rel.h: Add another parameter nrelative, replacing the
27708 local variable with the same name. Change name of the function
27709 to end in Rel or Rela (uppercase).
27710 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27711 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27712 elf_dynamic_do_##reloc function.
27713
fd5bdc09
UD
277142011-10-15 Ulrich Drepper <drepper@gmail.com>
27715
79b195b5
UD
27716 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27717 is sufficient, at least on modern CPUs.
27718
d4a28569
UD
27719 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27720
b61099b5
UD
27721 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27722 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27723
bcf01e6d
UD
27724 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27725 __expl_finite.
27726 * math/bits/math-finite.h: Add entries for exp.
27727 * math/e_expl.c: Add __*_finite alias.
27728 * sysdeps/i386/fpu/e_exp.S: Likewise.
27729 * sysdeps/i386/fpu/e_expf.S: Likewise.
27730 * sysdeps/i386/fpu/e_expl.c: Likewise.
27731 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27732 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27733 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27735 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27736 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27737 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27738
ba1a0d59
UD
27739 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27740 is sufficient, at least on modern CPUs.
27741
fd5bdc09
UD
27742 * ctype/ctype-info.c (__ctype_init): Define.
27743 * include/ctype.h (__ctype_init): Declare.
27744 (__ctype_b_loc): The variable is always initialized.
27745 (__ctype_toupper_loc): Likewise.
27746 (__ctype_tolower_loc): Likewise.
27747 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27748 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27749
7872cfb0
AS
277502011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27751
b468825a
AS
27752 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27753
7872cfb0
AS
27754 * configure.in: Also look in $cxxmachine/include for C++ system
27755 headers.
27756
be13f7bf
LD
277572011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27758
27759 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27760 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27761 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27762 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27763 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27764 (USE_AS_WMEMCMP): New macro.
27765 Fixing indents.
27766 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27767 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27768 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27769 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27771 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27772 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27773 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27774 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27775 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27776 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27777 (USE_AS_WMEMCMP): New macro.
27778 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27779 * sysdeps/string/test-memcmp.c: Update.
27780 Fix simple_wmemcmp.
27781 Add new tests.
27782 * wcsmbs/wmemcmp.c: Update.
27783 (WMEMCMP): New macro.
27784 Fix overflow bug.
27785
556a2007
AJ
277862011-10-12 Andreas Jaeger <aj@suse.de>
27787
27788 [BZ #13268]
27789 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27790
538faaa7
UD
277912011-10-15 Ulrich Drepper <drepper@gmail.com>
27792
ab6737ff
UD
27793 * libio/iofwide.c (do_length): Avoid warning.
27794
538faaa7
UD
27795 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27796
396a21b1
UD
277972011-10-14 Ulrich Drepper <drepper@gmail.com>
27798
cdf2901f
UD
27799 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27800
38ad40ce
UD
27801 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27802 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27803 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27804 * sysdeps/i386/i686/fpu/e_log.S: New file.
27805 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27806 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27807
396a21b1
UD
27808 * ctype/ctype.h: Add support for inlined isXXX functions when
27809 compiling C++ code.
27810
6b1f68c9
AS
278112011-10-14 Andreas Schwab <schwab@redhat.com>
27812
349290c0
AS
27813 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27814
6b1f68c9
AS
27815 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27816
f2282d42
RM
278172011-10-13 Roland McGrath <roland@hack.frob.com>
27818
27819 [BZ #13291]
27820 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27821
5298ffa8
AS
278222011-10-13 Andreas Schwab <schwab@redhat.com>
27823
714fad23
AS
27824 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27825 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27826 feraiseexcept.
27827
81dcc7fb
AS
27828 * sysdeps/x86_64/memrchr.S: Check for zero size.
27829
5298ffa8
AS
27830 * string/stratcliff.c: Add memrchr tests.
27831
951fbcec
LD
278322011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27833
27834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27835 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27836 rawmemchr-sse2 rawmemchr-sse2-bsf.
27837 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27838 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27839 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27840 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27841 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27842 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27843 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27844 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27845 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27846 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27847 * string/memrchr.c (MEMRCHR): New macro.
27848
0ac5ae23
UD
278492011-10-12 Ulrich Drepper <drepper@gmail.com>
27850
27851 Add integration with gcc's -ffinite-math-only and optimize wrapper
27852 functions in libm.
27853 * Versions.def: Define GLIBC_2.15 version for libm.
27854 * math/Makefile (headers): Add bits/math-finite.h.
27855 * math/bits/math-finite.h: New file.
27856 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27857 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27858 * math/e_acoshl.c: Add __*_finite alias.
27859 * math/e_acosl.c: Likewise.
27860 * math/e_asinl.c: Likewise.
27861 * math/e_atan2l.c: Likewise.
27862 * math/e_atanhl.c: Likewise.
27863 * math/e_coshl.c: Likewise.
27864 * math/e_exp10.c: Likewise.
27865 * math/e_exp10f.c: Likewise.
27866 * math/e_exp10l.c: Likewise.
27867 * math/e_exp2l.c: Likewise.
27868 * math/e_fmodl.c: Likewise.
27869 * math/e_gammal_r.c: Likewise.
27870 * math/e_hypotl.c: Likewise.
27871 * math/e_j0l.c: Likewise.
27872 * math/e_j1l.c: Likewise.
27873 * math/e_jnl.c: Likewise.
27874 * math/e_lgammal_r.c: Likewise.
27875 * math/e_log10l.c: Likewise.
27876 * math/e_log2l.c: Likewise.
27877 * math/e_logl.c: Likewise.
27878 * math/e_powl.c: Likewise.
27879 * math/e_sinhl.c: Likewise.
27880 * math/e_sqrtl.c: Likewise.
27881 * math/e_scalb.c: Completely rewritten and optimized.
27882 * math/e_scalbf.c: Likewise.
27883 * math/e_scalbl.c: Likewise.
27884 * math/w_acos.c: Likewise.
27885 * math/w_acosf.c: Likewise.
27886 * math/w_acosl.c: Likewise.
27887 * math/w_acosh.c: Likewise.
27888 * math/w_acoshf.c: Likewise.
27889 * math/w_acoshl.c: Likewise.
27890 * math/w_asin.c: Likewise.
27891 * math/w_asinf.c: Likewise.
27892 * math/w_asinl.c: Likewise.
27893 * math/w_atan2.c: Likewise.
27894 * math/w_atan2f.c: Likewise.
27895 * math/w_atan2l.c: Likewise.
27896 * math/w_atanh.c: Likewise.
27897 * math/w_atanhf.c: Likewise.
27898 * math/w_atanhl.c: Likewise.
27899 * math/w_exp10.c: Likewise.
27900 * math/w_exp10f.c: Likewise.
27901 * math/w_exp10l.c: Likewise.
27902 * math/w_fmod.c: Likewise.
27903 * math/w_fmodf.c: Likewise.
27904 * math/w_fmodl.c: Likewise.
27905 * math/w_j0.c: Likewise.
27906 * math/w_j0f.c: Likewise.
27907 * math/w_j0l.c: Likewise.
27908 * math/w_j1.c: Likewise.
27909 * math/w_j1f.c: Likewise.
27910 * math/w_j1l.c: Likewise.
27911 * math/w_jn.c: Likewise.
27912 * math/w_jnf.c: Likewise.
27913 * math/w_log.c: Likewise.
27914 * math/w_logf.c: Likewise.
27915 * math/w_logl.c: Likewise.
27916 * math/w_log10.c: Likewise.
27917 * math/w_log10f.c: Likewise.
27918 * math/w_log10l.c: Likewise.
27919 * math/w_log2.c: Likewise.
27920 * math/w_log2f.c: Likewise.
27921 * math/w_log2l.c: Likewise.
27922 * math/w_pow.c: Likewise.
27923 * math/w_powf.c: Likewise.
27924 * math/w_powl.c: Likewise.
27925 * math/w_remainder.c: Likewise.
27926 * math/w_remainderf.c: Likewise.
27927 * math/w_remainderl.c: Likewise.
27928 * math/w_scalb.c: Likewise.
27929 * math/w_scalbf.c: Likewise.
27930 * math/w_scalbl.c: Likewise.
27931 * math/w_sqrt.c: Likewise.
27932 * math/w_sqrtf.c: Likewise.
27933 * math/w_sqrtl.c: Likewise.
27934 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27935 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27936 used.
27937 * math/math_private.h: Declare __kernel_standard_f.
27938 * math/w_cosh.c: Remove cruft and optimize a bit.
27939 * math/w_coshf.c: Likewise.
27940 * math/w_coshl.c: Likewise.
27941 * math/w_exp2.c: Likewise.
27942 * math/w_exp2f.c: Likewise.
27943 * math/w_exp2l.c: Likewise.
27944 * math/w_hypot.c: Likewise.
27945 * math/w_hypotf.c: Likewise.
27946 * math/w_hypotl.c: Likewise.
27947 * math/w_lgamma.c: Likewise.
27948 * math/w_lgamma_r.c: Likewise.
27949 * math/w_lgammaf.c: Likewise.
27950 * math/w_lgammaf_r.c: Likewise.
27951 * math/w_lgammal.c: Likewise.
27952 * math/w_lgammal_r.c: Likewise.
27953 * math/w_sinh.c: Likewise.
27954 * math/w_sinhf.c: Likewise.
27955 * math/w_sinhl.c: Likewise.
27956 * math/w_tgamma.c: Likewise.
27957 * math/w_tgammaf.c: Likewise.
27958 * math/w_tgammal.c: Likewise.
27959 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27960 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27961 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27962 Minor optimizations. Pretty printing. Remove cruft.
27963 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27964 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27965 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27966 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27967 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27968 * sysdeps/i386/fpu/e_asin.S: Likewise.
27969 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27970 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27971 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27972 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27973 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27974 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27975 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27976 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27977 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27978 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27979 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27980 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27981 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27982 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27983 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27984 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27985 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27986 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27987 * sysdeps/i386/fpu/e_log.S: Likewise.
27988 * sysdeps/i386/fpu/e_log10.S: Likewise.
27989 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27990 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27991 * sysdeps/i386/fpu/e_log2.S: Likewise.
27992 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27993 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27994 * sysdeps/i386/fpu/e_logf.S: Likewise.
27995 * sysdeps/i386/fpu/e_logl.S: Likewise.
27996 * sysdeps/i386/fpu/e_pow.S: Likewise.
27997 * sysdeps/i386/fpu/e_powf.S: Likewise.
27998 * sysdeps/i386/fpu/e_powl.S: Likewise.
27999 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28000 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28001 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28002 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28003 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28004 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28005 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28006 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28007 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28008 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28012 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28014 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28015 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28016 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28017 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28018 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28019 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28021 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28022 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28024 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28028 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28029 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28030 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28031 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28032 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28033 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28034 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28035 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28036 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28037 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28038 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28039 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28040 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28041 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28042 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28043 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28044 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28045 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28046 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28047 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28048 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28049 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28050 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28051 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28052 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28053 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28054 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28055 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28056 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28057 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28058 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28059 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28060 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28061 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28062 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28063 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28064 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28065 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28066 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28067 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28068 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28072 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28075 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28076 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28077 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28078 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28079 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28080 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28082 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28083 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28084 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28085 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28086 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28087 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28088 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28089 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28090 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28091 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28092 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28093 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28094 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28095 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28096 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28097 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28099 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28100 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28101 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28102 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28103 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28104 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28105 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28106 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28107 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28108 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28109 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28110 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28111 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28112 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28113 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28114 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28115 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28116 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28117 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28118 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28119 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28120 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28121 (__isnanf): Likewise.
28122 (__isinf_ns): Likewise.
28123 (__isinf_nsf): Likewise.
28124 (__finite): Likewise.
28125 (__finitef): Likewise.
28126 (__ieee754_sqrt): Define as macro.
28127 (__ieee754_sqrtf): Define as macro.
28128 (__ieee754_sqrtl): Define as macro.
28129 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28130 inlined copy.
28131 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28132 __FINITE_MATH_ONLY__ consistent.
28133 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28134
12cc2fcd
AS
281352011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28136
a843a204
AS
28137 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28138 of rawmemchr.
28139
12cc2fcd
AS
28140 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28141
c853acd5
UD
281422011-10-09 Ulrich Drepper <drepper@gmail.com>
28143
28144 * po/ja.po: Update from translation team.
28145
c658d255
RM
281462011-10-08 Roland McGrath <roland@hack.frob.com>
28147
110946e4
RM
28148 * locale/programs/locarchive.c (prepare_address_space): New function.
28149 (create_archive, enlarge_archive, open_archive): Use it.
28150
50604220
RM
28151 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28152 inside [SHARED], where it is used.
28153
c658d255
RM
28154 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28155
28156 * nss/getent.c (netgroup_keys): Remove unused variable.
28157 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28158
6a621eb7
UD
281592011-10-08 Ulrich Drepper <drepper@gmail.com>
28160
7edb55ce
UD
28161 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28162 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28163 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28164 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28165 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28166 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28167 * math/Makefile (libm-calls): Add s_isinf_ns.
28168 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28169 * math/multc3.c: Likewise.
28170 * math/s_casin.c: Likewise.
28171 * math/s_casinf.c: Likewise.
28172 * math/s_casinl.c: Likewise.
28173 * math/s_ccos.c: Likewise.
28174 * math/s_ccosf.c: Likewise.
28175 * math/s_ccosl.c: Likewise.
28176 * math/s_ctan.c: Likewise.
28177 * math/s_ctanf.c: Likewise.
28178 * math/s_ctanh.c: Likewise.
28179 * math/s_ctanhf.c: Likewise.
28180 * math/s_ctanhl.c: Likewise.
28181 * math/s_ctanl.c: Likewise.
28182 * math/w_fmod.c: Likewise.
28183 * math/w_fmodf.c: Likewise.
28184 * math/w_fmodl.c: Likewise.
28185 * math/w_remainder.c: Likewise.
28186 * math/w_remainderf.c: Likewise.
28187 * math/w_remainderl.c: Likewise.
28188 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28189 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28190 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28192 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28193 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28194 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28195 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28196
187da0ae
UD
28197 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28198 of the number.
28199 * stdio-common/printf_fphex.c: Likewise.
28200 * stdio-common/printf_size.c: Likewise.
28201
9277c064
UD
28202 * math/e_exp10.c: Include math_private.h using <...> not "...".
28203 * math/e_exp10f.c: Likewise.
28204 * math/e_exp10l.c: Likewise.
28205 * math/e_exp2l.c: Likewise.
28206 * math/e_j0l.c: Likewise.
28207 * math/e_j1l.c: Likewise.
28208 * math/e_jnl.c: Likewise.
28209 * math/e_lgammal_r.c: Likewise.
28210 * math/e_rem_pio2l.c: Likewise.
28211 * math/e_scalb.c: Likewise.
28212 * math/e_scalbf.c: Likewise.
28213 * math/e_scalbl.c: Likewise.
28214 * math/k_cosl.c: Likewise.
28215 * math/k_sinl.c: Likewise.
28216 * math/k_tanl.c: Likewise.
28217 * math/s_cacoshf.c: Likewise.
28218 * math/s_catan.c: Likewise.
28219 * math/s_catanf.c: Likewise.
28220 * math/s_catanh.c: Likewise.
28221 * math/s_catanhf.c: Likewise.
28222 * math/s_catanhl.c: Likewise.
28223 * math/s_catanl.c: Likewise.
28224 * math/s_ccosh.c: Likewise.
28225 * math/s_ccoshf.c: Likewise.
28226 * math/s_ccoshl.c: Likewise.
28227 * math/s_cexp.c: Likewise.
28228 * math/s_cexpf.c: Likewise.
28229 * math/s_cexpl.c: Likewise.
28230 * math/s_clog.c: Likewise.
28231 * math/s_clog10.c: Likewise.
28232 * math/s_clog10f.c: Likewise.
28233 * math/s_clog10l.c: Likewise.
28234 * math/s_clogf.c: Likewise.
28235 * math/s_clogl.c: Likewise.
28236 * math/s_csin.c: Likewise.
28237 * math/s_csinf.c: Likewise.
28238 * math/s_csinh.c: Likewise.
28239 * math/s_csinhf.c: Likewise.
28240 * math/s_csinhl.c: Likewise.
28241 * math/s_csinl.c: Likewise.
28242 * math/s_csqrt.c: Likewise.
28243 * math/s_csqrtf.c: Likewise.
28244 * math/s_csqrtl.c: Likewise.
28245 * math/s_ctan.c: Likewise.
28246 * math/s_ctanf.c: Likewise.
28247 * math/s_ctanh.c: Likewise.
28248 * math/s_ctanhf.c: Likewise.
28249 * math/s_ctanhl.c: Likewise.
28250 * math/s_ctanl.c: Likewise.
28251 * math/s_ldexp.c: Likewise.
28252 * math/s_ldexpf.c: Likewise.
28253 * math/s_ldexpl.c: Likewise.
28254 * math/s_significand.c: Likewise.
28255 * math/s_significandf.c: Likewise.
28256 * math/s_significandl.c: Likewise.
28257 * math/w_acos.c: Likewise.
28258 * math/w_acosf.c: Likewise.
28259 * math/w_acosh.c: Likewise.
28260 * math/w_acoshf.c: Likewise.
28261 * math/w_acoshl.c: Likewise.
28262 * math/w_acosl.c: Likewise.
28263 * math/w_asin.c: Likewise.
28264 * math/w_asinf.c: Likewise.
28265 * math/w_asinl.c: Likewise.
28266 * math/w_atan2.c: Likewise.
28267 * math/w_atan2f.c: Likewise.
28268 * math/w_atan2l.c: Likewise.
28269 * math/w_atanh.c: Likewise.
28270 * math/w_atanhf.c: Likewise.
28271 * math/w_atanhl.c: Likewise.
28272 * math/w_cosh.c: Likewise.
28273 * math/w_coshf.c: Likewise.
28274 * math/w_coshl.c: Likewise.
28275 * math/w_dremf.c: Likewise.
28276 * math/w_exp10.c: Likewise.
28277 * math/w_exp10f.c: Likewise.
28278 * math/w_exp10l.c: Likewise.
28279 * math/w_exp2.c: Likewise.
28280 * math/w_exp2f.c: Likewise.
28281 * math/w_fmod.c: Likewise.
28282 * math/w_fmodf.c: Likewise.
28283 * math/w_fmodl.c: Likewise.
28284 * math/w_hypot.c: Likewise.
28285 * math/w_hypotf.c: Likewise.
28286 * math/w_hypotl.c: Likewise.
28287 * math/w_j0.c: Likewise.
28288 * math/w_j0f.c: Likewise.
28289 * math/w_j0l.c: Likewise.
28290 * math/w_j1.c: Likewise.
28291 * math/w_j1f.c: Likewise.
28292 * math/w_j1l.c: Likewise.
28293 * math/w_jn.c: Likewise.
28294 * math/w_jnf.c: Likewise.
28295 * math/w_jnl.c: Likewise.
28296 * math/w_lgamma.c: Likewise.
28297 * math/w_lgamma_r.c: Likewise.
28298 * math/w_lgammaf.c: Likewise.
28299 * math/w_lgammaf_r.c: Likewise.
28300 * math/w_lgammal.c: Likewise.
28301 * math/w_lgammal_r.c: Likewise.
28302 * math/w_log.c: Likewise.
28303 * math/w_log10.c: Likewise.
28304 * math/w_log10f.c: Likewise.
28305 * math/w_log10l.c: Likewise.
28306 * math/w_log2.c: Likewise.
28307 * math/w_log2f.c: Likewise.
28308 * math/w_log2l.c: Likewise.
28309 * math/w_logf.c: Likewise.
28310 * math/w_logl.c: Likewise.
28311 * math/w_pow.c: Likewise.
28312 * math/w_powf.c: Likewise.
28313 * math/w_powl.c: Likewise.
28314 * math/w_remainder.c: Likewise.
28315 * math/w_remainderf.c: Likewise.
28316 * math/w_remainderl.c: Likewise.
28317 * math/w_scalb.c: Likewise.
28318 * math/w_scalbf.c: Likewise.
28319 * math/w_scalbl.c: Likewise.
28320 * math/w_sinh.c: Likewise.
28321 * math/w_sinhf.c: Likewise.
28322 * math/w_sinhl.c: Likewise.
28323 * math/w_sqrt.c: Likewise.
28324 * math/w_sqrtf.c: Likewise.
28325 * math/w_sqrtl.c: Likewise.
28326 * math/w_tgamma.c: Likewise.
28327 * math/w_tgammaf.c: Likewise.
28328 * math/w_tgammal.c: Likewise.
28329
6a621eb7
UD
28330 * po/ja.po: Update from translation team.
28331
bf582445
AJ
283322011-09-29 Andreas Jaeger <aj@suse.de>
28333
f9efbf3a
AJ
28334 [BZ #13179]
28335 * sunrpc/netname.c (netname2host): Fix logic.
28336
bf582445
AJ
28337 [BZ #6779]
28338 [BZ #6783]
28339 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28340 correctly.
28341 * math/w_remainder.c (__remainder): Likewise.
28342 * math/w_remainderf.c (__remainderf): Likewise.
28343 * math/libm-test.inc (remainder_test): Add test cases.
28344
48693bea
AK
283452011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28346
28347 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28348 sdiv_qrnnd.
28349
42622229
LD
283502011-10-07 Ulrich Drepper <drepper@gmail.com>
28351
28352 * string/test-memcmp.c: Avoid unncessary #defines.
28353 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28354
093ecf92
LD
283552011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28356
28357 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28358 Use new sse2 version for core i3 - i7 as it's faster
28359 than sse42 version.
28360 (bit_Prefer_PMINUB_for_stringop): New.
28361 * sysdeps/x86_64/rawmemchr.S: Update.
28362 Replace with faster SSE2 version.
28363 * sysdeps/x86_64/memrchr.S: New file.
28364 * sysdeps/x86_64/memchr.S: Update.
28365 Replace with faster SSE2 version.
28366
fde56e5c
MP
283672011-09-12 Marek Polacek <mpolacek@redhat.com>
28368
28369 * elf/dl-load.c (lose): Add cast to avoid warning.
28370
21fd49a9
UD
283712011-10-07 Ulrich Drepper <drepper@gmail.com>
28372
5a06e643
UD
28373 * po/ca.po: Update from translation team.
28374
684ae515
UD
28375 * inet/getnetgrent_r.c: Hook up nscd.
28376 * nscd/Makefile (routines): Add nscd_netgroup.
28377 (nscd-modules): Add netgroupcache.
28378 (CFLAGS-netgroupcache.c): Define.
28379 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28380 (cache_search): Add const to second parameter.
28381 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28382 INNETGR.
28383 (dbs): Add netgrdb entry.
28384 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28385 (verify_persistent_db): Handle netgrdb.
28386 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28387 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28388 GETFDNETGR.
28389 (netgroup_response_header): Define.
28390 (innetgroup_response_header): Define.
28391 (datahead): Add netgroup_response_header and innetgroup_response_header
28392 elements.
28393 * nscd/nscd.conf: Add entries for netgroup cache.
28394 * nscd/nscd.h (dbtype): Add netgrdb.
28395 (_PATH_NSCD_NETGROUP_DB): Define.
28396 (netgroup_iov_disabled): Declare.
28397 (xmalloc, xcalloc, xrealloc): Move declarations here.
28398 (cache_search): Adjust prototype.
28399 Add netgroup-related prototypes.
28400 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28401 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28402 (__nscd_innetgr): Declare.
28403 * nscd/selinux.c (perms): Use access_vector_t as element type and
28404 add netgroup-related initializers.
28405 * nscd/netgroupcache.c: New file.
28406 * nscd/nscd_netgroup.c: New file.
28407 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28408 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28409 For four parameters use innetgr.
28410 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28411 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28412 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28413 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28414
21fd49a9
UD
28415 * nscd/connections.c (register_traced_file): Don't register file
28416 for disabled databases.
28417
054c0457
UD
284182011-10-06 Ulrich Drepper <drepper@gmail.com>
28419
32b63198
UD
28420 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28421
054c0457
UD
28422 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28423 from tree and freeing node.
28424
64031225
JO
284252011-09-25 Jiri Olsa <jolsa@redhat.com>
28426
28427 * nss/nsswitch.c (__nss_database_lookup): Handle
28428 nss_parse_service_list out of memory case.
28429
0490345c
JO
284302011-09-15 Jiri Olsa <jolsa@redhat.com>
28431
28432 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28433 out of memory case.
28434
3a62d00d
AS
284352011-10-04 Andreas Schwab <schwab@redhat.com>
28436
28437 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28438 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28439 pass it down.
28440 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28441 elf_machine_rela, elf_machine_lazy_rel.
28442 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28443 (ELF_DYNAMIC_DO_REL): Likewise.
28444 (ELF_DYNAMIC_DO_RELA): Likewise.
28445 (ELF_DYNAMIC_RELOCATE): Likewise.
28446 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28447 to ELF_DYNAMIC_DO_REL.
28448 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28449 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28450 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28451 elf_machine_rela.
28452 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28453 skip_ifunc, don't call ifunc function if non-zero.
28454 (elf_machine_rela): Likewise.
28455 (elf_machine_lazy_rel): Likewise.
28456 (elf_machine_lazy_rela): Likewise.
28457 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28458 (elf_machine_lazy_rel): Likewise.
28459 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28460 Likewise.
28461 (elf_machine_lazy_rel): Likewise.
28462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28463 Likewise.
28464 (elf_machine_lazy_rel): Likewise.
28465 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28466 (elf_machine_lazy_rel): Likewise.
28467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28468 (elf_machine_lazy_rel): Likewise.
28469 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28470 (elf_machine_lazy_rel): Likewise.
28471 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28472 (elf_machine_lazy_rel): Likewise.
28473 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28474 (elf_machine_lazy_rel): Likewise.
28475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28476 (elf_machine_lazy_rel): Likewise.
28477
68577918
UD
284782011-09-28 Ulrich Drepper <drepper@gmail.com>
28479
28480 * nss/nss_files/files-init.c (_nss_files_init): Use static
28481 initialization for all the *_traced_file variables.
28482
68822d74
AS
284832011-09-28 Andreas Schwab <schwab@redhat.com>
28484
28485 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28486
2056100b
RM
284872011-09-27 Roland McGrath <roland@hack.frob.com>
28488
28489 [BZ #13226]
28490 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28491
32c76b63
AS
284922011-09-27 Andreas Schwab <schwab@redhat.com>
28493
28494 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28495 Reread the line before reparsing it.
28496
bf972c9d
AS
284972011-09-26 Andreas Schwab <schwab@redhat.com>
28498
28499 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28500
e057a1b5
JM
285012011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28502 Maxim Kuvyrkov <maxim@codesourcery.com>
28503 Joseph Myers <joseph@codesourcery.com>
28504
28505 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28506 if needed for __stack_chk_guard.
28507
bc7e1c36
RM
285082011-09-19 Roland McGrath <roland@hack.frob.com>
28509
ecb1482f
RM
28510 * sysdeps/posix/spawni.c (script_execute): Always define it.
28511 It will be optimized away if unused.
28512 (maybe_script_execute): New function.
28513 (__spawni): Call it.
28514
bc7e1c36
RM
28515 * Makerules: Don't include tls.make.
28516 (config-tls): Always set to thread.
28517 * tls.make.c: File removed.
28518
1c3b002b
MF
285192011-09-19 Mike Frysinger <vapier@gentoo.org>
28520
28521 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28522 * config.make.in (CPPFLAGS-config): New substituted variable.
28523
2840865d
UD
285242011-09-15 Ulrich Drepper <drepper@gmail.com>
28525
88738eb6
UD
28526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28527
cbf645a6 28528 [BZ #13192]
2840865d
UD
28529 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28530 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28531
b402e91a
RM
285322011-09-15 Roland McGrath <roland@hack.frob.com>
28533
28534 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28535 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28536 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28537 (CALL_FAIL): Likewise.
28538 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28539 (CALL_FAIL): Macro removed.
28540 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28541
4c1a1f71
UD
285422011-09-15 Ulrich Drepper <drepper@gmail.com>
28543
28544 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28545 for __FINITE_MATH_ONLY__ == 1.
28546
edc121be
AS
285472011-09-15 Andreas Schwab <schwab@redhat.com>
28548
28549 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28550 __ieee754_sqrt instead of sqrt.
28551 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28552 __ieee754_sqrtf instead of sqrtf.
28553 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28554 __floorf instead of floorf.
28555 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28556 __floorf, __truncf instead of floorf, truncf.
28557
cd205654
UD
285582011-09-14 Ulrich Drepper <drepper@gmail.com>
28559
ee4d0315
UD
28560 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28561
cd205654
UD
28562 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28563 __extern_always_inline.
28564 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28565 32-bit.
28566
48b67d71
AS
285672011-09-14 Andreas Schwab <schwab@redhat.com>
28568
28569 * elf/rtld.c (dl_main): Also relocate in dependency order when
28570 doing symbol dependency testing.
28571
1ae12c75
AS
285722011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28573
28574 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28575 Always define `refsym'.
28576
995a80df
AS
285772011-09-13 Andreas Schwab <schwab@redhat.com>
28578
e529793b
AS
28579 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28580 (__FD_ELT): Renamed from __FDELT.
28581 * misc/bits/select2.h (__FD_ELT): Likewise.
28582 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28583 __FD_MASK instead of __FDELT, __FDMASK.
28584 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28585 Likewise.
28586 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28587 Likewise.
28588
52d4fef8
AS
28589 * elf/Makefile (gen-ldd): Fix pattern.
28590
995a80df
AS
28591 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28592 (init_tls): Likewise.
28593
8682f8b0
UD
285942011-09-12 Ulrich Drepper <drepper@gmail.com>
28595
28596 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28597
de82006d
AS
285982011-09-12 Andreas Schwab <schwab@redhat.com>
28599
a7c8e6a1
AS
28600 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28601 `struct cmsghdr *' instead of `void *'.
28602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28603 Likewise.
28604
0f31fe77
AS
286052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28606
28607 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28608 if non-absolute.
28609 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28610 ldd_rewrite_script.
0f31fe77 28611
32b4c839
UD
286122011-09-11 Ulrich Drepper <drepper@gmail.com>
28613
83cd1420
UD
28614 * configure.in: Remove --with-tls option.
28615 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28616 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28617 out in case it is missing.
28618 * sysdeps/ia64/elf/configure.in: Likewise.
28619 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28620 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28621 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28622 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28623 * sysdeps/sh/elf/configure.in: Likewise.
28624 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28625 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28626 * sysdeps/x86_64/elf/configure.in: Likewise.
28627 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28628 * sysdeps/mach/hurd/tls.h: Likewise.
28629
633f745d
UD
28630 [BZ #13067]
28631 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28632
f318beb8
UD
28633 [BZ #13090]
28634 * configure.in: Fix use of AC_INIT.
28635
32b4c839
UD
28636 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28637
3ce1f295
UD
286382011-09-10 Ulrich Drepper <drepper@gmail.com>
28639
bb016596
UD
28640 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28641 __set_errno.
8e58439c
UD
28642 * malloc/hooks.c: Likewise.
28643
aebae053 28644 [BZ #11929]
02d46fc4
UD
28645 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28646 variables statically.
28647 (narenas): Initialize.
28648 (list_lock): Initialize.
bb016596
UD
28649 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28650 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28651 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28652 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28653 Add initializers to main_arena and mp_.
28654 (malloc_state): Remove pagesize member. Change all users to use
28655 GLRO(dl_pagesize).
28656
28657 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28658 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28659 is always initialized.
28660
22a89187
UD
28661 * malloc/malloc.c: Removed unused configurations and dead code.
28662 * malloc/arena.c: Likewise.
28663 * malloc/hooks.c: Likewise.
02d46fc4 28664 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28665
d063d164
UD
28666 * include/tls.h: Removed. USE___THREAD must always be defined.
28667 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28668 * elf/dl-libc.c: Likewise.
28669 * elf/dl-tsd.c: Likewise.
28670 * include/errno.h: Likewise.
28671 * include/netdb.h: Likewise.
28672 * include/resolv.h: Likewise.
28673 * inet/herrno-loc.c: Likewise.
28674 * inet/herrno.c: Likewise.
28675 * malloc/arena.c: Likewise.
28676 * malloc/hooks.c: Likewise.
28677 * malloc/malloc.c: Likewise.
28678 * resolv/res-state.c: Likewise.
28679 * resolv/res_libc.c: Likewise.
28680 * sysdeps/i386/dl-machine.h: Likewise.
28681 * sysdeps/ia64/dl-machine.h: Likewise.
28682 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28683 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28684 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28685 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28686 * sysdeps/sh/dl-machine.h: Likewise.
28687 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28688 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28689 * sysdeps/unix/i386/sysdep.S: Likewise.
28690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28691 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28693 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28695 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28696 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28700 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28701 * sysdeps/x86_64/dl-machine.h: Likewise.
28702 * tls.make.c: Likewise.
28703
3ce1f295
UD
28704 * configure.in: Remove --with-__thread option. Make tests for
28705 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28706 tls_model attribute fail if no support is available. Remove
28707 USE_IN_LIBIO.
28708 * Makeconfig: Adjust for dropped configure option. All features are
28709 now mandatory.
28710 * Makerules: Likewise.
28711 * Versions.def: Likewise.
28712 * argp/argp-fmtstream.c: Likewise.
28713 * argp/argp-fmtstream.h: Likewise.
28714 * argp/argp-help.c: Likewise.
28715 * assert/assert.c: Likewise.
28716 * config.h.in: Likewise.
28717 * config.make.in: Likewise.
28718 * configure: Likewise.
28719 * configure.in: Likewise.
28720 * csu/Versions: Likewise.
28721 * csu/init.c: Likewise.
28722 * elf/tst-audit2.c: Likewise.
28723 * elf/tst-tls10.c: Likewise.
28724 * elf/tst-tls10.h: Likewise.
28725 * elf/tst-tls11.c: Likewise.
28726 * elf/tst-tls12.c: Likewise.
28727 * elf/tst-tls14.c: Likewise.
28728 * elf/tst-tlsmod11.c: Likewise.
28729 * elf/tst-tlsmod12.c: Likewise.
28730 * elf/tst-tlsmod13.c: Likewise.
28731 * elf/tst-tlsmod13a.c: Likewise.
28732 * elf/tst-tlsmod14a.c: Likewise.
28733 * elf/tst-tlsmod15b.c: Likewise.
28734 * elf/tst-tlsmod16a.c: Likewise.
28735 * elf/tst-tlsmod16b.c: Likewise.
28736 * elf/tst-tlsmod7.c: Likewise.
28737 * elf/tst-tlsmod8.c: Likewise.
28738 * elf/tst-tlsmod9.c: Likewise.
28739 * gmon/gmon.c: Likewise.
28740 * grp/fgetgrent_r.c: Likewise.
28741 * grp/putgrent.c: Likewise.
28742 * hurd/fopenport.c: Likewise.
28743 * include/libc-symbols.h: Likewise.
28744 * include/tls.h: Likewise.
28745 * intl/gettextP.h: Likewise.
28746 * intl/loadinfo.h: Likewise.
28747 * locale/global-locale.c: Likewise.
28748 * locale/localeinfo.h: Likewise.
28749 * mach/devstream.c: Likewise.
28750 * malloc/arena.c: Likewise.
28751 * malloc/set-freeres.c: Likewise.
28752 * misc/err.c: Likewise.
28753 * misc/getttyent.c: Likewise.
28754 * misc/mntent_r.c: Likewise.
28755 * posix/getopt.c: Likewise.
28756 * posix/wordexp.c: Likewise.
28757 * pwd/fgetpwent_r.c: Likewise.
28758 * resolv/Versions: Likewise.
28759 * resolv/res_hconf.c: Likewise.
28760 * shadow/fgetspent_r.c: Likewise.
28761 * shadow/putspent.c: Likewise.
28762 * stdio-common/printf_fphex.c: Likewise.
28763 * stdio-common/tmpfile.c: Likewise.
28764 * stdlib/abort.c: Likewise.
28765 * stdlib/fmtmsg.c: Likewise.
28766 * sunrpc/auth_unix.c: Likewise.
28767 * sunrpc/clnt_perr.c: Likewise.
28768 * sunrpc/clnt_tcp.c: Likewise.
28769 * sunrpc/clnt_udp.c: Likewise.
28770 * sunrpc/clnt_unix.c: Likewise.
28771 * sunrpc/openchild.c: Likewise.
28772 * sunrpc/svc_simple.c: Likewise.
28773 * sunrpc/svc_tcp.c: Likewise.
28774 * sunrpc/svc_udp.c: Likewise.
28775 * sunrpc/svc_unix.c: Likewise.
28776 * sunrpc/xdr.c: Likewise.
28777 * sunrpc/xdr_array.c: Likewise.
28778 * sunrpc/xdr_rec.c: Likewise.
28779 * sunrpc/xdr_ref.c: Likewise.
28780 * sunrpc/xdr_stdio.c: Likewise.
28781
1248c1c4
PB
287822011-09-09 Ulrich Drepper <drepper@gmail.com>
28783
28784 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28785
287862011-07-03 Andreas Jaeger <aj@suse.de>
28787
28788 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28789 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28790 regenerate with gen-libm-tests.pl.
28791
287922010-05-12 Petr Baudis <pasky@suse.cz>
28793
28794 [BZ #11589]
28795 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28796 around j0() zero points by switching to j1().
28797 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28798 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28801
f22e1074
UD
288022011-09-09 Ulrich Drepper <drepper@gmail.com>
28803
f19009c1
UD
28804 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28805 instead of 0.
28806 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28807 instead of 0.
f19009c1
UD
28808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28809 Patch in part by Pavel Roskin <proski@gnu.org>.
28810
3f8cc204
UD
28811 [BZ #13138]
28812 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28813 realloc.
28814 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28815 Free memory block if necessary.
28816
f22e1074
UD
28817 [BZ #12847]
28818 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28819 be NULL. Don't lock in this case.
28820
0a2349f9
RM
288212011-09-09 Roland McGrath <roland@hack.frob.com>
28822
28823 * elf/elf.h (ELFOSABI_GNU): New macro.
28824 (ELFOSABI_LINUX): Define to that.
28825
f3cdd467
DZ
288262011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28827
28828 * string/strncat.c (strncat): Undef the symbol in case it has been
28829 defined in bits/string.h.
28830
74718d13
UD
288312011-09-09 Ulrich Drepper <drepper@gmail.com>
28832
633e9e0f
UD
28833 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28834
0a2349f9 28835 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28836 link map.
28837
f9924780
AJ
288382011-08-17 Andreas Jaeger <aj@suse.de>
28839
28840 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28841
7f5517aa
PP
288422011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28843 Ian Lance Taylor <iant@google.com>
28844
28845 * math/libm-test.inc (lround_test): New testcase.
28846 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28847
762011fe
UD
288482011-09-08 Ulrich Drepper <drepper@gmail.com>
28849
92963737
UD
28850 * Makefile: Remove support for automatic cvs check-ins.
28851 * Makerules: Likewise.
28852 * config.make.in: Likewise.
28853 * configure.in: Likewise.
28854 * intl/Makefile: Likewise.
28855 * locale/Makefile: Likewise.
28856 * po/Makefile: Likewise.
28857 * posix/Makefile: Likewise.
28858 * sysdeps/gnu/Makefile: Likewise.
28859 * sysdeps/mach/hurd/Makefile: Likewise.
28860 * sysdeps/sparc/sparc32/Makefile: Likewise.
28861
b0727fd8
JS
28862 [BZ #13118]
28863 * posix/Makefile (bug-regex32-ENV): Define.
28864 Patch by John Stanley <jpsinthemix@verizon.net>.
28865
a0f33f99
UD
28866 * misc/Makefile (headers): Add bits/select2.h.
28867 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28868 * misc/bits/select2.h: New file.
28869 * include/bits/select2.h: New file.
28870 * debug/Makefile (routines): Add fdelt_chk.
28871 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28872 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28873 FD_ISSET.
28874 * debug/fdelt_chk.c: New file.
28875
762011fe
UD
28876 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28877 * wcsmbs/test-wmemcmp.c: Likewise.
28878 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28879 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28880
288812011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28882
28883 * string/Makefile (strop-tests): Add memcmp.
28884 * string/test-wmemcmp.c: New file.
28885 * string/test-memcmp.c: Add wmemcmp support.
28886
7f513ec8
RM
288872011-09-08 Roland McGrath <roland@hack.frob.com>
28888
0442afb4
RM
28889 [BZ #13153]
28890 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28891 2011-07-19 change.
28892
7f513ec8
RM
28893 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28894 garbage value in a __mach_port_mod_refs call in the cases of the
28895 task-self and thread-self ports.
28896
a12b2239
ST
288972011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28898
28899 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28900
610f9ab4
AS
289012011-09-08 Andreas Schwab <schwab@redhat.com>
28902
7f513ec8 28903 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28904
48882a1a
LD
289052011-09-07 Ulrich Drepper <drepper@gmail.com>
28906
b49865be
UD
28907 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28908
fdc86bc9
UD
28909 * elf/dl-libc.c (dlerror_run): Pass back error code from
28910 dl_catch_error.
28911
c966526a
UD
28912 [BZ #13123]
28913 * elf/dl-load.c (lose): Free l_origin if it is valid.
28914
48882a1a
LD
28915 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28916 names.
28917 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28918 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28919 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28920 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28921 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28922 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28923
77a2a8b4
AZ
289242011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28925
28926 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28927 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28928 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28929 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28930 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28931 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28932 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28933 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28934 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28935 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28936
24f579d8
AM
289372011-08-15 Alan Modra <amodra@gmail.com>
28938
28939 [BZ #13092]
28940 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28941 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28942 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28943 ppc_mcount to static-only-routines.
28944 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28945 __mcount_internal.
28946 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28947 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28948
3d4837df
UD
289492011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28950
28951 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28952 for finite and infinity parameters.
28953
22700377
WS
289542011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28955
28956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28957 and add nop instructions for throughput optimization.
28958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28959
5025581e
WS
289602011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28961
28962 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28963 aligned copy for power7 with vector-scalar instructions.
28964 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28965
08a300c9
L
289662011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28967
28968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28969 AVX check.
28970
59178ef9
AS
289712011-09-07 Andreas Schwab <schwab@redhat.com>
28972
28973 [BZ #13144]
28974 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28975 last change.
28976
e38ba7ab
UD
289772011-09-07 Ulrich Drepper <drepper@gmail.com>
28978
28979 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28980 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28981 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28982 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28983 clock_gettime.
28984
d53a73ac
UD
289852011-09-06 Ulrich Drepper <drepper@gmail.com>
28986
fc8bffcc
UD
28987 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28988 Forgot to demangle the pointer.
28989
ceaa0c5d
UD
28990 * sysdeps/i386/sysdep.h: Define atom_text_section.
28991 * sysdeps/x86_64/sysdep.h: Likewise.
28992 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28993 section with atom_text_section.
28994 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28995 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28996 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28997 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28998 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28999
a77d3c17
UD
29000 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29001 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29002 already be defined. Change to take two parameters and don't assign
29003 result to variable. Adjust all users.
29004 Define INTERNAL_GETTIME if not already defined.
29005 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29006 call.
29007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29008 HAVE_CLOCK_GETTIME_VSYSCALL.
29009 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29010
d53a73ac
UD
29011 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29012 gettimeofday vsyscall, just use time.
29013
a8f84144
AS
290142011-09-06 Andreas Schwab <schwab@redhat.com>
29015
29016 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29017 <errno.h>.
29018
ef606249
UD
290192011-09-06 Ulrich Drepper <drepper@gmail.com>
29020
29021 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29022 syscall on x86-64.
29023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29024 syscall.
29025 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29026 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29027 syscall if possible.
29028
6585cb60
UD
290292011-09-05 Ulrich Drepper <drepper@gmail.com>
29030
29031 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29032 e_ident. Don't pass to find_mapsXX.
29033 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29034
a5f524e4
LD
290352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29036
29037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29038 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29039 * sysdeps/x86_64/multiarch/strchr.S: Update.
29040 Check bit_slow_BSF bit.
29041 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29042 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29043 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29044
554881ef
UD
290452011-09-05 Ulrich Drepper <drepper@gmail.com>
29046
d96de963
UD
29047 [BZ #13134]
29048 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29049 before glibc 2.15.
29050 (tryshell): Define.
29051 (__spawni): Change last parameter to be flag. Test
29052 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29053 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29054 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29055 * posix/spawni.c: Likewise.
29056 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29057 * posix/spawnp.c: Likewise. Change normal version to use
29058 SPAWN_XFLAGS_USE_PATH.
29059 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29060 SPAWN_XFLAGS_TRY_SHELL.
29061
d48e5868
UD
29062 [BZ #13150]
29063 * posix/glob.h: Remove gcc 1.x support.
29064
554881ef
UD
29065 [BZ #13068]
29066 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29067
693fb948
LD
290682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29069
29070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29071 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29072 strrchr-sse2-bsf
29073 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29074 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29075 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29076 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29077 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29078 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29079
1b48c537
UD
290802011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29081
49d42c37
UD
29082 * sysdeps/x86_64/wcscmp.S: New file.
29083
1b48c537
UD
29084 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29085 wcscmp-c wcscmp-sse2
29086 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29087 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29088 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29089 * wcsmbs/wcscmp.c: Allow renaming.
29090
15c95c5d
DM
290912011-09-05 David S. Miller <davem@davemloft.net>
29092
29093 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29094 stack slot, rather than the struct return pointer slot.
29095 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29096 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29098 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29099
2f0ad8f3
UD
291002011-09-05 Ulrich Drepper <drepper@gmail.com>
29101
d88ae418
UD
29102 * po/ja.po: Update from translation team.
29103
2f0ad8f3
UD
29104 [BZ #13144]
29105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29106 kernel in 64-bit binaries.
29107
5f4318d1
DM
291082011-09-01 David S. Miller <davem@davemloft.net>
29109
29110 * elf/elf.h (HWCAP_SPARC_*): Move to..
29111 * sysdeps/sparc/sysdep.h: this new file and add new values.
29112 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29113 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29114 _DL_HWCAP_COUNT to 24.
29115 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29116 entries.
29117 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29118 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29119 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29121 instead of magic constants.
29122 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29123
3ba57516
DM
291242011-08-31 David S. Miller <davem@davemloft.net>
29125
29126 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29128 Reimplement to do errno handling inline.
29129 (SYSCALL_ERROR_HANDLER): New macro.
29130 (__SYSCALL_STRING): Do not do errno handling in asm.
29131 (__CLONE_SYSCALL_STRING): Delete.
29132 (__INTERNAL_SYSCALL_STRING): Delete.
29133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29134 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29135 (PSEUDO): Reimplement to do errno handling inline.
29136 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29137 (SYSCALL_ERROR_HANDLER): New macro.
29138 (__SYSCALL_STRING): Do not do errno handling in asm.
29139 (__CLONE_SYSCALL_STRING): Delete.
29140 (__INTERNAL_SYSCALL_STRING): Delete.
29141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29142 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29143 i386.
29144 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29145 (inline_syscall*): Add 'err' argument.
29146 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29147 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29148 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29149 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29150
29151 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29152 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29153
2bc17433
AS
291542011-08-30 Andreas Schwab <schwab@redhat.com>
29155
29156 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29157
fbeb5f4d
JO
291582011-08-29 Jiri Olsa <jolsa@redhat.com>
29159
29160 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29161 directive.
29162
ad69cc26
DM
291632011-08-24 David S. Miller <davem@davemloft.net>
29164
29165 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29166
39dd69df
AS
291672011-08-24 Andreas Schwab <schwab@redhat.com>
29168
29169 * elf/Makefile: Add rules to build and run unload8 test.
29170 * elf/unload8.c: New file.
29171 * elf/unload8mod1.c: New file.
29172 * elf/unload8mod1x.c: New file.
29173 * elf/unload8mod2.c: New file.
29174 * elf/unload8mod3.c: New file.
29175
29176 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29177 it wasn't used.
29178
2c0b250a
DM
291792011-08-23 David S. Miller <davem@davemloft.net>
29180
29181 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29182 subtract stack bias.
29183 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29184 %sp not %fp in calculations.
29185 (_JMPBUF_UNWINDS_ADJ): Likewise.
29186
22044b48
DM
29187 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29188 (aio_suspend): Call it to force an exception region around the
29189 AIO_MISC_WAIT() invocation.
29190
2cae4995
AS
291912011-08-23 Andreas Schwab <schwab@redhat.com>
29192
29193 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29194 backslash.
29195
873a772e
AJ
291962011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29197
29198 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29199 protection macro.
29200 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29201 and <dl-machine.h>.
29202 (Elf64_FuncDesc): Remove.
29203
25ad0df1
DM
292042011-08-22 David S. Miller <davem@davemloft.net>
29205
29206 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29207 sigaltstack check, add missing cfi directives.
29208 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29209 missing cfi directives, and sigaltstack handling.
29210
e888bcbe
AS
292112011-08-16 Andreas Schwab <schwab@redhat.com>
29212
29213 [BZ #11724]
29214 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29215 object is seen twice.
29216 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29217
29218 * elf/Makefile (distribute): Add tst-initorder2.c.
29219 (tests): Add tst-initorder2.
29220 (modules-names): Add tst-initorder2a tst-initorder2b
29221 tst-initorder2c tst-initorder2d. Add rules to build them.
29222 ($(objpfx)tst-initorder2.out): New rule.
29223 * elf/tst-initorder2.c: New file.
29224 * elf/tst-initorder2.exp: New file.
29225
87162f46
AS
292262011-08-22 Andreas Schwab <schwab@redhat.com>
29227
70538b7f
AS
29228 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29229
f55ffe58
AS
29230 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29231 dependencies back to end of function.
29232
87162f46
AS
29233 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29234 $(elfobjdir)/ld.so.
29235
91b392a4
UD
292362011-08-21 Ulrich Drepper <drepper@gmail.com>
29237
29238 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29239 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29240 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29241 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29242 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29243 of __vdso_gettimeofday.
29244 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29245 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29246 attribute_hidden.
29247 (_libc_vdso_platform_setup): Remove initialization of
29248 __vdso_gettimeofday and __vdso_time.
29249
5c43483f
UD
292502011-08-20 Ulrich Drepper <drepper@gmail.com>
29251
775a77e7
UD
29252 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29253 and fgetc_unlocked.
29254 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29255 getc_unlocked.
89f447ed 29256
49c74ba9
UD
29257 * elf/dl-open.c (add_to_global): Report additions to the global scope
29258 for LD_DEBUG=scopes.
29259 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29260 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29261
5c43483f
UD
29262 [BZ #13114]
29263 * stdio-common/Makefile (tests): Add bug24.
29264 * stdio-common/bug24.c: New file.
29265
a101b025
AJ
292662011-08-19 Andreas Jaeger <aj@suse.de>
29267
29268 [BZ #13114]
29269 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29270 non-existant file when using close-on-exec mode.
29271
c88f1766
UD
292722011-08-20 Ulrich Drepper <drepper@gmail.com>
29273
0276a718
UD
29274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29275 the very first instruction.
29276
c88f1766
UD
29277 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29278 the CFI state in the end.
29279 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29280 inclusion of dl-trampoline.h.
29281 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29282
51ccffa0
AS
292832011-08-19 Andreas Schwab <schwab@redhat.com>
29284
94d7165f
AS
29285 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29286 expectations for long double.
29287
51ccffa0
AS
29288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29289 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29290
fd708658 292912011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29292
29293 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29294 artificual limit depends upon the system page size.
29295
44f0a71e
UD
292962011-08-17 Ulrich Drepper <drepper@gmail.com>
29297
29298 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29299 * resolv/Makefile: Define CFLAGS-libresolv.
29300
8de79a24
AS
293012011-08-17 Andreas Schwab <schwab@redhat.com>
29302
29303 * nss/makedb.c (compute_tables): Make variables used in nested
29304 function static.
29305
27724598
UD
293062011-08-17 Ulrich Drepper <drepper@gmail.com>
29307
c5305d88
UD
29308 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29309 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29310 if buffer was too small.
29311
27724598
UD
29312 * elf/pldd.c (main): Attach to all threads in the process.
29313 Rewrite /proc handling to use *at functions.
29314
076fe015
UD
293152011-08-16 Ulrich Drepper <drepper@gmail.com>
29316
174baab3
UD
29317 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29318 specifies first scope to show.
29319 (dl_open_worker): Update callers. Move printing scope of new
29320 object to before the relocation.
44f0a71e 29321 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29322 * sysdeps/generic/ldsodefs.h: Update declaration.
29323
076fe015
UD
29324 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29325 string for the scope number.
29326
a60df2c3
UD
293272011-08-14 Ulrich Drepper <drepper@gmail.com>
29328
29329 * nscd/servicescache.c (cache_addserv): Make sure written is always
29330 initialized.
29331
5e4287d1
RM
293322011-08-14 Roland McGrath <roland@hack.frob.com>
29333
85ae0589
RM
29334 * sysdeps/i386/i486/bits/atomic.h
29335 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29336 statement expression, so as to suppress "set but not used" warning.
29337 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29338
69f63097
RM
29339 * string/strncat.c (STRNCAT): Use prototype definition.
29340
675456ef
RM
29341 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29342 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29343 -Iprograms here.
29344 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29345 (localedef-modules): Add localedef.
29346 (locale-modules): Add locale.
29347
5e4287d1
RM
29348 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29349 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29350 to avoid a warning.
29351
9c96ff23
DM
293522011-08-14 David S. Miller <davem@davemloft.net>
29353
29354 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29355 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29356
f9ddf089
UD
293572011-08-13 Ulrich Drepper <drepper@gmail.com>
29358
44f0a71e 29359 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29360 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29361 * elf/rtld.c (dl_main): Set l_name of vDSO.
29362 Call _dl_show_scope when DL_DEBUG_SCOPES.
29363 (process_dl_debug): Recognize scopes flag and also set it for all.
29364 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29365 Declare _dl_show_scope.
29366
1dc27704
UD
29367 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29368 (do_dlopen): Pass caller_dlopen to dl_open.
29369 (__libc_dlopen_mode): Initialize caller_dlopen.
29370
f9ddf089
UD
29371 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29372 of libc. Make tolower call locale-independent. Optimize a bit by
29373 using isdigit instead of isalnum.
29374 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29375
9ac533d3
UD
293762011-08-12 Ulrich Drepper <drepper@gmail.com>
29377
29378 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29379 was a dependency or dynamically loaded.
29380
89edf2e9
UD
293812011-08-11 Ulrich Drepper <drepper@gmail.com>
29382
8e999d29
UD
29383 * intl/l10nflist.c: Allow architecture-specific pop function.
29384 * sysdeps/x86_64/l10nflist.c: New file.
29385
89edf2e9
UD
29386 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29387 classification.
29388
14d96785
AS
293892011-08-10 Andreas Schwab <schwab@redhat.com>
29390
29391 * include/dirent.h: Add libc_hidden_proto for scandirat and
29392 scandirat64. Don't declare __scandirat64.
29393 * dirent/scandirat.c: Add libc_hidden_def.
29394 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29395 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29396
6761ac04
DM
293972011-08-10 David S. Miller <davem@davemloft.net>
29398
29399 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29400 enum.
29401 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29402 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29403 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29404
c55fbd1e
UD
294052011-08-09 Ulrich Drepper <drepper@gmail.com>
29406
29407 * Versions.def [libc]: Add GLIBC_2.15.
29408 * dirent/Makefile (routines): Add scandirat and scandirat64.
29409 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29410 GLIBC_2.15.
29411 * dirent/dirent.h: Declare scandirat and scandirat64.
29412 * dirent/scandirat.c: New file.
29413 * dirent/scandirat64.c: New file.
29414 * sysdeps/wordsize-64/scandirat.c: New file.
29415 * sysdeps/wordsize-64/scandirat64.c: New file.
29416 * dirent/opendir.c: Define opendirat.
29417 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29418 using scandirat.
29419 * dirent/scandir64.c: Adjust for scandir.c change.
29420 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29421 __scandirat64, and __scandir_cancel_handler.
29422 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29423 additional parameter and use openat instead of open (outside of ld.so).
29424 Add new __opendir as wrapper around __opendirat.
29425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29426 here without requiring old scandirat implementation.
29427
879165f2
UD
294282011-08-08 Ulrich Drepper <drepper@gmail.com>
29429
29430 * dirent/scandir.c (cancel_handler): Renamed to
29431 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29432 defined. Adjust users.
29433 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29434 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29435
cb7e923b
UD
294362011-08-04 Ulrich Drepper <drepper@gmail.com>
29437
16292edd
UD
29438 * string/test-string.h (IMPL): Use __STRING to expand name and then
29439 stringify it.
29440
cb7e923b
UD
29441 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29442 of cleanups.
29443
cff82933
LD
294442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29445
29446 * string/Makefile: Update.
29447 (strop-tests): Append strncat.
29448 * string/test-wcscmp.c: New file.
29449 New comprehensive test for wcscmp.
29450 * string/test-strcmp.c: Update.
29451 (WIDE): New define.
29452
9be9bfcc
AS
294532011-07-22 Andreas Schwab <schwab@redhat.com>
29454
29455 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29456 line.
29457
2e96f1c7
AS
294582011-07-26 Andreas Schwab <schwab@redhat.com>
29459
29460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29461 encoding to ACE if AI_IDN.
29462
85188888
JJ
294632011-08-01 Jakub Jelinek <jakub@redhat.com>
29464
29465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29466 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29467
5fa16e9b
LD
294682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29469
29470 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29471 Fix overflow bug in strncat.
29472 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29473
29474 * string/test-strncat.c: Update.
29475 Add new tests for checking overflow bugs.
29476
294772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29478
29479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29480 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29481 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29482 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29483 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29484 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29485 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29486 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29487 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29488
29489 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29490 (USE_AS_STRCAT): Define.
29491 Add strcat and strncat support.
29492 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29493
8c1a459f
AS
294942011-07-25 Andreas Schwab <schwab@redhat.com>
29495
29496 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29497 __n bigger than INT_MAX+1.
29498 (__strncmp_g): Likewise.
29499
bba33c28
UD
295002011-07-23 Ulrich Drepper <drepper@gmail.com>
29501
798be72d
UD
29502 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29503 * libio/stido.h: Likewise.
29504
8accd4dc
UD
29505 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29506 (AF_NFC): Define.
29507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29508 (AF_NFC): Define.
29509
cbff0d96
UD
29510 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29512 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29513 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29515
9191c04a
UD
29516 [BZ #13021]
29517 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29518 installed.
29519
bba33c28
UD
29520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29521 typo.
29522 (_dl_x86_64_save_sse): Likewise.
29523
90f139dd
UD
295242011-07-22 Ulrich Drepper <drepper@gmail.com>
29525
1aae088a
UD
29526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29527 OSXSAVE.
29528 (_dl_x86_64_save_sse): Likewise.
29529
8e2045f5
UD
29530 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29531
90f139dd
UD
29532 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29533
1d002f25
AS
295342011-07-21 Andreas Schwab <schwab@redhat.com>
29535
29536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29537 change.
29538 (_dl_x86_64_save_sse): Use correct AVX check.
29539
21137f89
UD
295402011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29541
29542 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29543 bug in strncpy/strncat.
29544 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29545
a65c0b7a
UD
295462011-07-21 Ulrich Drepper <drepper@gmail.com>
29547
29548 * string/tester.c (test_strcat): Add tests for different alignments
29549 of source and destination.
29550 (test_strncat): Likewise.
29551
6986b98a
UD
295522011-07-20 Ulrich Drepper <drepper@gmail.com>
29553
90bb2039
UD
29554 [BZ #12852]
29555 * posix/glob.c (glob): Check passed in values before using them in
29556 expressions to avoid some overflows.
29557 (glob_in_dir): Likewise.
29558
5644ef54
UD
29559 [BZ #13007]
29560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29561 check for AVX enablement so that we don't crash with old kernels and
29562 new hardware.
29563 * elf/tst-audit4.c: Add same checks here.
29564 * elf/tst-audit6.c: Likewise.
29565
29566 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29567
bfc9dc9b
AS
295682011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29569
29570 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29571
702e64bb
UD
295722011-07-20 Ulrich Drepper <drepper@gmail.com>
29573
29574 * po/cs.po: Update from translation team.
29575 * po/bg.po: Likewise.
29576
295e904f
MP
295772011-07-12 Marek Polacek <mpolacek@redhat.com>
29578
29579 * misc/sys/cdefs.h: Add support for const attribute.
29580 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29581 to gnu_dev_{major,minor,makedev} functions.
29582
3ff94596
MP
295832011-07-20 Marek Polacek <mpolacek@redhat.com>
29584
29585 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29586
28b59fca
AS
295872011-07-20 Andreas Schwab <schwab@redhat.com>
29588
29589 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29590 strlen results.
29591
19df733e
AK
295922011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29593
29594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29595 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29596 register in order to avoid conflicts with the soft frame pointer
29597 being held in r11 when necessary.
29598 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29599 (INTERNAL_VSYSCALL_NCS): Likewise.
29600
c8835729
MP
296012011-07-14 Marek Polacek <mpolacek@redhat.com>
29602
29603 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29604 * elf/dl-fini.c (_dl_fini): Adjust caller.
29605 * elf/dl-close.c (_dl_close_worker): Likewise.
29606 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29607
b902330c
MP
296082011-07-15 Marek Polacek <mpolacek@redhat.com>
29609
8991e135
MP
29610 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29611 "aux_cache->nlibs < 0".
29612
b902330c
MP
29613 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29614 in the reload-count case.
29615
99710781
LD
296162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29617
29618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29619 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29620 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29621 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29622 * sysdeps/x86_64/multiarch/strcat.S: New file.
29623 * sysdeps/x86_64/multiarch/strncat.S: New file.
29624 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29625 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29626 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29627 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29628 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29629 (USE_AS_STRCAT): Define.
29630 Add strcat and strncat support.
29631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29632 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29633 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29634 * string/strncat.c: Update.
29635 (USE_AS_STRNCAT): Define.
29636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29637 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29638 and i7.
29639 * sysdeps/x86_64/multiarch/init-arch.h
29640 (bit_Prefer_PMINUB_for_stringop): New.
29641 (index_Prefer_PMINUB_for_stringop): Likewise.
29642 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29643 bit_Prefer_PMINUB_for_stringop.
29644
7dc6bd90
UD
296452011-07-19 Ulrich Drepper <drepper@gmail.com>
29646
29647 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29648 buffer64.
29649 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29650 of casting of buffer.
29651 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29652 buffer32 and buffer64.
29653 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29654 writes instead of casting of buffer.
29655 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29656 buffer32.
29657 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29658 casting of buffer.
29659
e0e72284
AS
296602011-07-19 Andreas Schwab <schwab@redhat.com>
29661
29662 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29663
feb1eb0b
UD
296642011-07-19 Ulrich Drepper <drepper@gmail.com>
29665
29666 * nscd/nscd.c (termination_handler): Don't do anything for a database
29667 if it has not yet been initialized.
29668
298711ff
UD
296692011-07-18 Ulrich Drepper <drepper@gmail.com>
29670
29671 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29672
296732011-07-15 Marek Polacek <mpolacek@redhat.com>
29674
29675 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29676
f9d68389
UD
296772011-07-18 Ulrich Drepper <drepper@gmail.com>
29678
29679 * po/nl.po: Update from translation team.
29680 * po/sv.po: Likewise.
29681
db290cf5
RM
296822011-07-16 Roland McGrath <roland@hack.frob.com>
29683
29684 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29685 now disallowed by GCC.
5c550700 29686
fd5e21c7
RM
29687 * configure.in (use-default-link): Default to yes if a test -shared
29688 link meets our qualifications.
29689 * configure: Regenerated.
29690
5c550700
RM
29691 * config.make.in (output-format): New variable.
29692 * configure.in: Check for ld --print-output-format support.
29693 * configure: Regenerated.
29694 * Makerules ($(common-objpfx)format.lds)
29695 [$(output-format) != unknown]: Just use $(output-format),
29696 instead of the linker-script munging.
29697
9fa2c032
RM
296982011-07-14 Roland McGrath <roland@hack.frob.com>
29699
a6928d51
RM
29700 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29701 of $(common-objpfx)shlib.lds.
29702 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29703
661607b3
RM
29704 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29705 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29706
9fa2c032
RM
29707 * configure.in (-z relro check): Adjust test code to add a large
29708 writable data section after it.
29709 * configure: Regenerated.
29710
defe9061
RM
297112011-07-11 Roland McGrath <roland@hack.frob.com>
29712
29713 * configure.in (-z relro check): Fix test code to make the variable
29714 truly const.
29715 * configure: Regenerated.
29716
319b9ad4
UD
297172011-07-11 Ulrich Drepper <drepper@gmail.com>
29718
29719 * nscd/nscd.h (struct traced_file): Define.
29720 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29721 elements. Add traced_files.
29722 (inotify_fd): Declare.
29723 (register_traced_file): Declare.
29724 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29725 (inotify_fd): Export.
29726 (resolv_conf_descr): Remove.
29727 (nscd_init): Move inotify descriptor creation to main.
29728 Don't register files for notification here.
29729 (register_traced_file): New function.
29730 (invalidate_cache): Don't use reset_res to determine whether to call
29731 res_init, go through the list of registered files.
29732 (main_loop_poll): The inotify descriptors are now stored in the
29733 structures for the traced files.
29734 (main_loop_epoll): Likewise
29735 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29736 to __nss_disable_nscd.
29737 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29738 for a database anymore. Check the records for all the registered
29739 files instead.
29740 * nss/Makefile (libnss_files-routines): Add files-init.
29741 (libnss_db-routines): Add db-init.
29742 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29743 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29744 * nss/nss_db/db-init.c: New file.
29745 * nss/nss_files/files-init.c: New file.
29746 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29747 __nss_lookup_function.
29748 (__nss_lookup_function): Call nss_load_library.
29749 (nss_load_all_libraries): New function.
29750 (__nss_disable_nscd): Take parameter with callback function for files
29751 to register. Set is_nscd. Load all the DSOs for the NSS modules
29752 used for the cached services.
29753 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29754 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29755 options for features to all the files in nscd.
29756
29757 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29758
23bee3e8
RM
297592011-07-10 Roland McGrath <roland@hack.frob.com>
29760
29761 * csu/elf-init.c (__libc_csu_init): Comment typo.
29762
46a5b7f0
UD
297632011-07-09 Ulrich Drepper <drepper@gmail.com>
29764
29765 * po/pl.po: Update from translation team.
29766 * po/ja.po: Likewise.
29767 * po/ru.po: Likewise.
29768 * po/ko.po: Likewise.
29769 * po/fr.po: Likewise.
29770
d30cf5bb
RM
297712011-07-09 Roland McGrath <roland@hack.frob.com>
29772
113ddea4
RM
29773 * configure.in (.ctors/.dtors header and trailer check):
29774 Use an empirical test on a built program.
29775 * configure: Regenerated.
29776
574920b4
RM
29777 * configure.in (-z relro check): Use an empirical test on a built DSO.
29778 Detect, but do not require, on ia64.
29779 * configure: Regenerated.
29780
d30cf5bb
RM
29781 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29782 Update tests that use readelf to use $READELF instead.
29783 * configure: Regenerated.
29784
8538fdb3
UD
297852011-07-08 Ulrich Drepper <drepper@gmail.com>
29786
29787 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29788 if the result is not used.
29789
04d08991
AJ
297902011-07-05 Andreas Jaeger <aj@suse.de>
29791
29792 [BZ#9696]
29793 * stdlib/tst-strtod.c: Add testcase.
29794
de283087
AD
297952011-07-07 Ulrich Drepper <drepper@gmail.com>
29796
4e5f31c8 29797 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29798 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29799 The latter has a higher limit. Take additional parameter to pass to
29800 the new function.
29801 (__pathconf): Pass file to __statfs_link_max.
29802 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29803 __statfs_link_max.
29804 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29805 __statfs_link_max.
29806
de283087
AD
29807 [BZ #12868]
29808 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29809 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29810 Handle Lustre.
29811 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29812 (__statfs_filesize_max): Likewise.
29813 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29814
c75fa153
AJ
298152011-07-05 Andreas Jaeger <aj@suse.de>
29816
29817 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29818
1a544854
UD
298192011-07-06 Marek Polacek <mpolacek@redhat.com>
29820
29821 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29822 `status' variable.
29823 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29824 Likewise.
29825
6f0eec67
UD
298262011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29827
29828 * Makefile (strop-tests): Add strncat.
29829 * string/test-strncat.c: New file.
29830
aae30307
UD
298312011-06-30 Marek Polacek <mpolacek@redhat.com>
29832
29833 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29834
c0cfb5eb
UD
298352011-06-21 Andreas Jaeger <aj@suse.de>
29836
29837 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29838 Copy rule from iconvdata/Makefile.
29839
01636b21
UD
298402011-07-06 Ulrich Drepper <drepper@gmail.com>
29841
29842 [BZ #12922]
29843 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29844 but no long options are defined, just return 'W'.
29845
9895c8bc
UD
298462011-06-22 Marek Polacek <mpolacek@redhat.com>
29847
29848 [BZ #9696]
29849 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29850
5d4cf042
UD
298512011-07-06 Ulrich Drepper <drepper@gmail.com>
29852
29853 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29854 netgroups to read.
960e5535 29855 (innetgr): Likewise.
5d4cf042 29856
751eb97e
RM
298572011-07-05 Roland McGrath <roland@hack.frob.com>
29858
29859 * config.make.in (install_root): Default to $(DESTDIR).
29860
f15f1e45
UD
298612011-07-05 Ulrich Drepper <drepper@gmail.com>
29862
29863 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29864
4e34ac6a
RM
298652011-07-02 Roland McGrath <roland@hack.frob.com>
29866
5e9b6af4
RM
29867 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29868
84f9ea0f
RM
29869 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29870 containing directory rather than embedding absolute directory names.
29871
ea5ee9f7
RM
29872 * scripts/check-local-headers.sh: Rewritten using awk.
29873 Match by word, not by line. Print error messages for matches.
29874 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29875
1b74661a
RM
29876 * Makerules [shlib-lds-flags empty]:
29877 ($(common-objpfx)libc_pic.opts): New target.
29878 ($(common-objpfx)libc_pic.os.clean): New target.
29879 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29880
29881 * config.make.in (OBJCOPY): New variable.
29882 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29883 * configure: Regenerated.
29884
f781ef40
RM
29885 * config.make.in (use-default-link): New variable.
29886 * configure.in (use_default_link): Grok --with-default-link to set it.
29887 * configure: Regenerated.
29888 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29889 (shlib-lds, shlib-lds-flags): Define to empty.
29890
2d4fa81e
RM
29891 * Makerules (shlib-lds): New variable.
29892 (shlib-lds-flags): New variable.
29893 (build-shlib, build-moduile, build-module-asneeded): Use it.
29894 ($(common-objpfx)libc.so): Use $(shlib-lds).
29895 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29896 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29897
31fffa6b
RM
29898 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29899 DT_FLAGS/DT_FLAGS_1 with zero flags.
29900
4e34ac6a
RM
29901 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29902 linker script munging.
29903
fcfc776b
UD
299042011-07-02 Ulrich Drepper <drepper@gmail.com>
29905
29906 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29907 as 128-bit value.
29908 * crypt/sha512.c (sha512_process_block): Perform total addition using
29909 128-bit if possible.
29910 (__sha512_finish_ctx): Likewise.
29911 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29912 as 64-bit value.
29913 * crypt/sha256.c (SWAP64): Define.
29914 (sha256_process_block): Perform total addition using 64-bit if
29915 possible.
29916 (__sha256_finish_ctx): Likewise.
29917
99231d9a
UD
299182011-07-01 Ulrich Drepper <drepper@gmail.com>
29919
29920 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29922 * nscd/hstcache.c (cache_addhst): Likewise.
29923 * nscd/grpcache.c (cache_addgr): Likewise.
29924 * nscd/aicache.c (addhstaiX): Likewise
29925 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29926
445b4a53
TK
299272011-07-01 Thorsten Kukuk <kukuk@suse.de>
29928
29929 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29930 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29931 * nscd/hstcache.c (cache_addhst): Likewise.
29932 * nscd/grpcache.c (cache_addgr): Likewise.
29933 * nscd/aicache.c (addhstaiX): Likewise
29934
6d4d8e8e
AS
299352011-07-01 Andreas Schwab <schwab@redhat.com>
29936
29937 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29938 domain only when needed.
29939
89f654c5
AS
299402011-06-30 Andreas Schwab <schwab@redhat.com>
29941
29942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29943 is always restored.
29944
cf3b23ff
UD
299452011-06-29 Ulrich Drepper <drepper@gmail.com>
29946
29947 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29948 are re-adding the entry.
29949 * nscd/servicescache.c (cache_addserv): Likewise.
29950
751626f9
AJ
299512011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29952
29953 * sysdeps/generic/dl-irel.h: fix protection against multiple
29954 inclusions.
29955 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29956
9113ea1f
UD
299572011-06-28 Ulrich Drepper <drepper@gmail.com>
29958
5c0b8d90
UD
29959 [BZ #12935]
29960 * malloc/memusage.sh: Fix quoting in message.
29961 * debug/xtrace.sh: Likewise.
29962
9113ea1f
UD
29963 * configure.in: Remove support for --experimental-malloc option, make
29964 it the default.
29965 * config.make.in: Likewise.
29966 * malloc/Makefile: Likewise.
29967
a4172181
AS
299682011-06-27 Andreas Schwab <schwab@redhat.com>
29969
29970 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29971 two-byte characters.
29972
78a7eee7
RM
299732011-06-27 Roland McGrath <roland@hack.frob.com>
29974
62bede13
RM
29975 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29976 AC_CACHE_CHECK invocation.
29977 * configure: Regenerated.
29978
78a7eee7
RM
29979 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29980
5ce33a62
UD
299812011-06-27 Ulrich Drepper <drepper@gmail.com>
29982
034807a9
UD
29983 [BZ #12350]
29984 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29985 bit from old_res_options.
29986
4902da17
UD
29987 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29988
5ce33a62
UD
29989 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29990 value type for setfct.
29991
c2344f56
L
299922011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29993
29994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29995 __gettimeofday instead of gettimeofday.
29996
68468076
UD
299972011-06-26 Ulrich Drepper <drepper@gmail.com>
29998
29999 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30000
acb0d739
L
300012011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30002
30003 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30004
30005 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30006 info.
30007
8912479f
L
300082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30009
30010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30011 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30012 strcpy-sse2-unaligned strncpy-sse2-unaligned
30013 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30014 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30015 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30016 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30017 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30018 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30019 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30020 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30021 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30022 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30023 (STRCPY): Support SSE2 and SSSE3 versions.
30024
d5495a11
UD
300252011-06-24 Ulrich Drepper <drepper@gmail.com>
30026
30027 [BZ #12874]
30028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30029 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30030 kernels which artificially limit size of requests.
30031
0b1cbaae
L
300322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30033
30034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30035 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30036 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30037 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30038 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30039 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30040 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30041 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30042 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30044 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30045 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30046 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30047 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30048 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30050 Enable unaligned load optimization for Intel Core i3, i5 and i7
30051 processors.
30052 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30053 Define.
30054 (index_Fast_Unaligned_Load): Define.
30055 (HAS_FAST_UNALIGNED_LOAD): Define.
30056
07f494a0
MP
300572011-06-23 Marek Polacek <mpolacek@redhat.com>
30058
30059 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30060
fa3fc0fe
UD
300612011-06-22 Ulrich Drepper <drepper@gmail.com>
30062
30063 [BZ #12907]
30064 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30065 until it is clear that the information is realy needed.
30066 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30067
e12df166
AS
300682011-06-22 Andreas Schwab <schwab@redhat.com>
30069
30070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30071
852eb34d
UD
300722011-06-22 Ulrich Drepper <drepper@gmail.com>
30073
84e2a551
UD
30074 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30075 /sys/devices/system/cpu/online if it is usable.
30076
852eb34d
UD
30077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30078 reading the information from the /proc filesystem to once a second.
30079
6e502e19
UD
300802011-06-21 Andreas Jaeger <aj@suse.de>
30081
30082 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30083 NULL after inclusion of kernel headers.
30084
75d39ff2
UD
300852011-06-21 Ulrich Drepper <drepper@gmail.com>
30086
51f9aa6a
UD
30087 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30088 calls to internal_setent.
30089
c0244a9d
UD
30090 [BZ #12885]
30091 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30092 addresses using gethostbyname4_r ignore IPv4 addresses.
30093
c5e3c2ae
UD
30094 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30095 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30096
75d39ff2
UD
30097 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30098
42675c6f
DM
300992011-06-20 David S. Miller <davem@davemloft.net>
30100
30101 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30102 inclusions.
30103 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30104
30105 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30106 (elf_irel): Use it.
30107 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30108 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30109 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30110 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30111 * sysdeps/x86_64/dl-irel.h: Likewise.
30112
30113 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30114 * elf/dl-sym.c: Likewise.
30115
57912a71
UD
301162011-06-15 Ulrich Drepper <drepper@gmail.com>
30117
30118 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30119 need to dereference resplen2.
30120
ee22793d
AS
301212011-06-14 Andreas Schwab <schwab@redhat.com>
30122
30123 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30124
a9e836b0
UD
301252011-06-15 Ulrich Drepper <drepper@gmail.com>
30126
77fb9117
UD
30127 * Makeconfig: Define vardbdir and inst_vardbdir.
30128 * nss/Makefile: Add rules to install db-Makefile.
30129
40c1b22c
UD
30130 * nss/nss_db/db-XXX.c: Cleanup.
30131
9f2da732
UD
30132 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30133 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30134 GLIBC_PRIVATE.
30135 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30136 * nss/makedb.c: Implement -g option to specify that value strings
30137 are generated and should not be added to table iterated over for
30138 get*ent calls.
30139 * nss/nss_db/db-initgroups.c: New file.
30140
82e9a1f7
UD
30141 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30142 interface.
30143
c41af17e
UD
30144 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30145 (internal_getgrouplist): Adjust to name change.
30146 Update use_initgroups_entry if this is not the first call.
30147 * nss/databases.def: Add initgroups entry.
30148
a9e836b0
UD
30149 * nss/makedb.c (compute_tables): Check result of multiple hash table
30150 sizes to minimize maximum chain length.
30151
2666d441
UD
301522011-06-14 Ulrich Drepper <drepper@gmail.com>
30153
30154 * Versions.def: Add entry for libnss_db.
30155 * shlib-versions: Likewise.
30156 * nss/Makefile: Add rules to build libnss_db.
30157 * nss/Versions: Add libnss_db information. Organize libnss_files
30158 entries better.
30159 * nss/db-Makefile: Add gshadow support. Change rules for the new
30160 makedb progra. Some minor improvements to generate smaller files.
30161 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30162 here from...
30163 * nss/makedb.c: ...here.
30164 Improve database format to be smaller and require less memory at
30165 runtime.
30166 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30167 db anymore.
30168 * nss/nss_db/db-netgrp.c: Likewise.
30169 * nss/nss_db/db-open.c: Likewise.
30170 * nss/nss_files/flies-XXX.x: Adjust comments.
30171 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30172 * nss/nss_files/files-grp.c: Likewise.
30173 * nss/nss_files/files-hosts.c: Likewise.
30174 * nss/nss_files/files-network.c: Likewise.
30175 * nss/nss_files/files-proto.c: Likewise.
30176 * nss/nss_files/files-pwd.c: Likewise.
30177 * nss/nss_files/files-rpc.c: Likewise.
30178 * nss/nss_files/files-service.c: Likewise.
30179 * nss/nss_files/files-sgrp.c: Likewise.
30180 * nss/nss_files/files-spwd.c: Likewise.
30181 * nss/nss_db/db-alias.c: Removed.
30182 * nss/nss_db/dummy-db.h: Removed.
30183
9ee76b5a
UD
301842011-06-02 Ulrich Drepper <drepper@gmail.com>
30185
30186 * nss/makedb.c: Rewritten to not use database library.
30187 * nss/Makefile: Update to build new makedb program.
30188
c71ca1f8
AJ
301892011-06-14 Andreas Jaeger <aj@suse.de>
30190
30191 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30192 memset declaration.
30193
3154bfb8
UD
301942011-06-10 Andreas Schwab <schwab@redhat.com>
30195
30196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30197 tmpbuf.
30198
b350afab
RM
301992011-06-10 Roland McGrath <roland@hack.frob.com>
30200
decd4e50
RM
30201 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30202 * elf/Makefile ($(objpfx)ld.so): Likewise.
30203
5615eaf2
RM
30204 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30205 Don't list ld.so twice in dependencies.
30206
30207 * posix/bug-regex31.c: Include <stdlib.h>.
30208
30209 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30210
30211 * nis/nss_compat/compat-spwd.c
30212 (getspent_next_nss_netgr): Remove unused variable.
30213 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30214
30215 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30216 nonmembers" output to use the right array.
30217
30218 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30219
30220 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30221
30222 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30223 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30224 * catgets/gencat.c (read_input_file): Likewise.
30225 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30226
30227 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30228 variable definition inside #if's controlling its use.
30229
30230 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30231
30232 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30233
30234 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30235
30236 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30237 unreachable code.
30238
30239 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30240
b68e08db
RM
30241 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30242 * configure: Regenerated.
30243
b350afab
RM
30244 * Makerules: Revert last change.
30245 * elf/Makefile: Likewise.
30246
28368601
RM
302472011-06-09 Roland McGrath <roland@hack.frob.com>
30248
30249 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30250 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30251 (reloc-link): Likewise.
30252
11988f8f
UD
302532011-06-09 Ulrich Drepper <drepper@gmail.com>
30254
30255 * elf/Makefile: Add rules to build pldd.
30256 * elf/pldd.c: New file.
30257 * elf/pldd-xx.c: New file.
30258
e80fab37
UD
302592011-06-07 Ulrich Drepper <drepper@gmail.com>
30260
30261 * version.h: Update for 2.15 development version.
30262
9b849836
DM
302632011-06-07 David S. Miller <davem@davemloft.net>
30264
30265 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30266 ifuncs.
30267 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30268 elf_machine_lazy_rel): Likewise.
30269 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30270 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30271 elf_machine_lazy_rel): Likewise.
30272 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30273 dl_hwcap via passed in argument.
30274 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30275 Likewise.
30276
5a31b283
AK
302772011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30278
30279 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30280
069e52f8
RM
302812011-06-06 Roland McGrath <roland@hack.frob.com>
30282
30283 [BZ #12849]
30284 * manual/fdl-1.1.texi: New file, verbatim from:
30285 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30286 * manual/lgpl-2.1.texi: New file, verbatim from:
30287 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30288 * manual/Makefile (licenses): New variable, list those new file names.
30289 (texis): Use it.
30290 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30291
30292 * manual/fdl.texi: File removed.
30293 * manual/lesser.texi: File removed.
30294 * manual/libc.texinfo (Copying, Documentation License):
30295 Use new @include file names, put @appendix directive before @include.
30296
f16846a5
JJ
302972011-06-04 Jakub Jelinek <jakub@redhat.com>
30298
30299 [BZ #12841]
30300 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30301 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30302 (mq_open): Add __NTH.
30303
3d29045b
L
303042011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30305
30306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30307 Assume Intel Core i3/i5/i7 processor if AVX is available.
30308
8c297311
UD
303092011-05-31 Ulrich Drepper <drepper@gmail.com>
30310
30311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30312 typo.
30313
c8fc0c91
UD
303142011-05-31 Andreas Schwab <schwab@redhat.com>
30315
30316 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30317 memory. Use alloca_account. Fix memory leak when retrying.
30318
5b27a807
UD
303192011-05-31 Ulrich Drepper <drepper@gmail.com>
30320
356f8bc6
UD
30321 * version.h (RELEASE): Bump for 2.14 release.
30322 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30323
5b27a807
UD
30324 * config.make.in (RANLIB): Remove entry.
30325
01f16ab0
UD
303262011-05-30 Ulrich Drepper <drepper@gmail.com>
30327
41fce8bd
UD
30328 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30329 (libc.pot): Work around missing support for .ksh extension in xgettext.
30330
4769ae77
UD
30331 [BZ #12684]
30332 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30333 if both request failed.
30334 (send_dg): In case of server errors clear resplen or *resplen2.
30335
6b1e7d19
UD
30336 [BZ #12454]
30337 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30338 when there are multiple maps.
30339 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30340 (_dl_fini): Remove test here.
30341
01f16ab0
UD
30342 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30343
b1ebd700
UD
303442011-05-29 Ulrich Drepper <drepper@gmail.com>
30345
7ae22829
UD
30346 [BZ #12350]
30347 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30348 bit from old_res_options.
30349 (gaih_inet): Likewise.
30350
553149f6 30351 [BZ #11099]
18a84741 30352 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30353 as signed.
30354
652ffab1
UD
30355 * resolv/res_init.c (res_setoptions): Make the code more compact.
30356
16985fd0
UD
30357 [BZ #11558]
30358 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30359 set RES_USEVC.
30360
0464f746
UD
30361 [BZ #11634]
30362 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30363
7d17596c
UD
30364 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30365
cf6bbbd7
UD
30366 [BZ #11781]
30367 * malloc/malloc.h: Declare malloc hook variables as volatile.
30368
13f1ab36
UD
30369 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30370 in last patch.
30371
b1ebd700
UD
30372 [BZ #11799]
30373 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30374 raise in the comment.
80e2212d
UD
30375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30376 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30377 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30378
ce67228d
UD
303792011-05-28 Ulrich Drepper <drepper@gmail.com>
30380
8887a920
UD
30381 [BZ #12811]
30382 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30383 grow the buffers more if it already has to be sufficient.
30384 (build_wcs_upper_buffer): Likewise.
30385 * posix/regexec.c (check_matching): Likewise.
30386 (clean_state_log_if_needed): Likewise.
30387 (extend_buffers): Don't enlarge buffers beyond size of the input
30388 buffer.
30389 Patches mostly by Emil Wojak <emil@wojak.eu>.
30390 * posix/bug-regex32.c: New file.
30391 * posix/Makefile (tests): Add bug-regex32.
30392
4f031072
UD
30393 * locale/findlocale.c (_nl_find_locale): Return right away if
30394 _nl_explode_name failed.
30395 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30396
d0478f0c
UD
30397 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30398
de81b246
UD
30399 * debug/xtrace.sh: Unify messages.
30400 * malloc/memusage.sh: Likewise.
30401
c738465a
UD
30402 [BZ #12813]
30403 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30404 time symbol from vDSO. Substitute with vsyscall if not available.
30405 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30406 __vdso_time.
30407
f1f929d7
UD
30408 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30409 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30410 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30411 Add sendmmsg and internal_sendmmsg.
30412 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30413 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30414 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30415
ce67228d
UD
30416 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30417 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30418 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30419
e57420c6
UD
304202011-05-27 Ulrich Drepper <drepper@gmail.com>
30421
a8509ca5
UD
30422 [BZ #12813]
30423 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30424 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30425 available.
30426 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30427 __vdso_getcpu.
30428
e57420c6
UD
30429 [BZ #12814]
30430 * iconvdata/Makefile (tests): Add bug-iconv9.
30431 * iconvdata/bug-iconv9.c: New file.
30432
4d07db15
AS
304332011-05-27 Andreas Schwab <schwab@redhat.com>
30434
30435 [BZ #12814]
30436 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30437
ea486f69
JJ
304382011-05-25 Jakub Jelinek <jakub@redhat.com>
30439
30440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30441 (struct user_regs_struct): Change intcs field back to cs.
30442
6f038433
UD
304432011-05-25 Ulrich Drepper <drepper@gmail.com>
30444
30445 * po/ja.po: Update from translation team.
30446
67f86a25
UD
304472011-05-23 Ulrich Drepper <drepper@gmail.com>
30448
30449 [BZ #12795]
30450 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30451 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30452
def7fbd6
AS
304532011-05-20 Andreas Schwab <schwab@redhat.com>
30454
30455 * stdlib/longlong.h: Update from GCC.
30456
f50ef8f1
AS
304572011-05-23 Andreas Schwab <schwab@redhat.com>
30458
30459 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30460 parameter name.
30461 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30462 Add parameter name.
30463 (__sysconf): Pass it down.
30464
de7ce8f1
UD
304652011-05-22 Ulrich Drepper <drepper@gmail.com>
30466
f2962a71
UD
30467 [BZ #12671]
30468 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30469 some situations.
30470 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30471 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30472 add in in __libc_use_alloca calls. Adjust callers.
30473 (glob): Use malloc in some situations.
30474
de7ce8f1
UD
30475 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30476 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30477 pltexit.
30478
aec84f53
UD
304792011-05-21 Ulrich Drepper <drepper@gmail.com>
30480
05bb4a68
UD
30481 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30482 and CLOCK_BOOTTIME_ALARM.
30483
7ea72f99
UD
30484 [BZ #12782]
30485 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30486 is returned.
30487
7e4afad5
UD
30488 * string/_strerror.c (__strerror_r): Print negative errors as signed
30489 numbers.
30490
8e211fec
UD
30491 [BZ #12777]
30492 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30493 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30494 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30495
f7d82dc9
UD
30496 * configure.in: Fix typo in redirection and correct removal of test
30497 files in two cases.
30498
cc9e536d
UD
30499 [BZ #12788]
30500 * locale/setlocale.c (new_composite_name): Fix test to check for
30501 identical name of all categories.
30502
aec84f53
UD
30503 [BZ #12792]
30504 * libio/filedoalloc.c (local_isatty): New function.
30505 (_IO_file_doallocate): Use local_isatty.
30506 * stdio-common/perror.c (perror): In case a new stream is used
30507 forward the stream error.
30508 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30509 error flag.
30510
78e64fdc
RT
305112011-05-20 Ulrich Drepper <drepper@gmail.com>
30512
34a9094f
UD
30513 [BZ #11869]
30514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30515 alloca.
30516 * include/alloca.h (extend_alloca_account): Define.
30517
78e64fdc
RT
30518 [BZ #11857]
30519 * posix/regex.h: Fix comments with documentation of user-accessible
30520 fields after compilation and describe correct free'ing of pattern
30521 after re_compile_pattern.
30522 Patch by Reuben Thomas <rrt@sc3d.org>.
30523
457bddfc
RA
305242011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30525
30526 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30527 and -mno-altivec to prevent the compiler from using Altivec and/or
30528 VSX instructions when the corresponding registers are not available.
30529
a4527b51
AS
305302011-05-19 Andreas Schwab <schwab@redhat.com>
30531
30532 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30533
ed690b2f
UD
305342011-05-19 Ulrich Drepper <drepper@gmail.com>
30535
30536 * libio/freopen.c (freopen): Use __dup2, not dup2.
30537 * libio/freopen64.c (freopen64): Likewise.
30538
8db73634
L
305392011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30540
30541 [BZ #12775]
30542 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30543 * math/Makefile (tests): Add test-powl.
30544 (CFLAGS-test-powl.c): Define.
30545 * math/test-powl.c: New file.
30546
0a197a9d
L
305472011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30548
30549 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30550
ee30c380
UD
305512011-05-17 Ulrich Drepper <drepper@gmail.com>
30552
30553 [BZ #11837]
30554 * iconvdata/gb18030.c: Update to GB18020-2005.
30555
6ce75379
UD
305562011-05-16 Ulrich Drepper <drepper@gmail.com>
30557
a4b89fd8
AR
30558 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30559 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30560 Patch by Aharon Robbins <arnold@skeeve.com>.
30561
ea389b12
UD
30562 [BZ #11892]
30563 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30564 on the stack.
30565
68a3f91f
UD
30566 [BZ #11895]
30567 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30568 through underflows.
30569
15cc7dd1
UD
30570 [BZ #12766]
30571 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30572 point to strings before performing equality test for error_one_per_line
30573 mode.
30574
f3799213
UD
30575 [BZ #11697]
30576 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30577
d79a9c94
UD
30578 [BZ #11820]
30579 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30580 (struct user_fpregs_struct): Avoid __uint*_t types.
30581
56e5eb46
UD
30582 [BZ #6420]
30583 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30584 symbol info. Use it instead of calling _dl_addr locally.
30585 (lock_and_info): New function.
30586 (tr_freehook): Call lock_and_info and pass symbol info as additional
30587 parameter to tr_where.
30588 (tr_mallochook): Likewise.
30589 (tr_reallochook): Likewise.
30590 (tr_memalignhook): Likewise.
30591
6ce75379
UD
30592 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30593 used and couldn't be at all thread-safe.
30594
f8a3b5bf
UD
305952011-05-15 Ulrich Drepper <drepper@gmail.com>
30596
94b7cc37
UD
30597 * libio/freopen.c (freopen): Don't close old file descriptor
30598 before the new one is opened. Instead dup the new file descriptor
30599 to the old one after the new stream is created.
30600 * libio/freopen64.c (freopen64): Likewise.
30601 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30602 * libio/fileops.c (_IO_new_file_close_it): Handle new
30603 _IO_FLAGS2_NOCLOSE flag.
30604 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30605 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30606 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30607 _IO_FLAGS2_NOCLOSE flag.
30608 * include/unistd.h: Add hidden_proto for dup3.
30609 Define __have_dup3.
30610 * io/dup3.c: Define hidden symbol.
30611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30612
bd25564e
UD
30613 [BZ #7101]
30614 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30615 when an incomplete long option is used.
30616 * posix/tst-getopt_long1.c: New file.
30617 * posix/Makefile (tests): Add tst-getopt_long1.
30618
c84cfef4
UD
30619 [BZ #10138]
30620 * scripts/config.guess: Update from autoconf-2.68.
30621 * scripts/config.sub: Likewise.
30622
3b85df27
UD
30623 [BZ #10157]
30624 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30625 tests into ...
30626 (has_cpuclock): ...this. New function.
30627 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30628 macro here based on has_cpuclock code.
30629
15a856b1
UD
30630 [BZ #10149]
30631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30632 First byte (not low byte) is now always NUL.
30633 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30634
05f399e6
UD
30635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30636 Use non-cancelable interfaces.
30637
10a52685 30638 [BZ #9809]
94ecc67d
UD
30639 * locale/iso-639.def: Add entry for Sorani.
30640
f8a3b5bf
UD
30641 [BZ #11901]
30642 * include/stdlib.h: Move include protection to the right place.
30643 Define abort_msg_s. Declare __abort_msg with it.
30644 * stdlib/abort.c (__abort_msg): Adjust type.
30645 * assert/assert.c (__assert_fail_base): New function. Majority
30646 of code from __assert_fail. Allocate memory for __abort_msg with
30647 mmap.
30648 (__assert_fail): Now call __assert_fail_base.
30649 * assert/assert-perr.c: Remove bulk of implementation. Use
30650 __assert_fail_base.
30651 * include/assert.hL Declare __assert_fail_base.
30652 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30653 mmap.
30654 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30655
1af4e298
UD
306562011-05-14 Ulrich Drepper <drepper@gmail.com>
30657
f8a3b5bf 30658 [BZ #11952]
d26dfc60
MG
30659 [BZ #12453]
30660 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30661 until all modules are registered in the DTV.
30662 * elf/Makefile: Add rules to build and run tst-tls19.
30663 * elf/tst-tls19.c: New file.
30664 * elf/tst-tls19mod1.c: New file.
30665 * elf/tst-tls19mod2.c: New file.
30666 * elf/tst-tls19mod3.c: New file.
30667 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30668
2fc54d6f
UD
30669 [BZ #12083]
30670 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30671 correctly.
30672
98d76b46
UD
30673 [BZ #12601]
30674 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30675 two-byte sequence errors.
30676 * iconvdata/Makefile (tests): Add bug-iconv8.
30677 * iconvdata/bug-iconv8.c: New file.
30678
da3c19ef
UD
30679 [BZ #12626]
30680 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30681 buf2 definition.
30682
ca408c15
UD
30683 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30684
d6f67f7d
UD
30685 [BZ #12432]
30686 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30687 (dummy_getcfa): New function.
30688 (init): Get _Unwind_GetCFA address, use dummy if not found.
30689 (backtrace_helper): In recursion check, also check whether CFA changes.
30690 (__backtrace): Completely initialize arg.
30691
1af4e298 30692 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30693 storing incomplete byte sequence in state object. Avoid testing for
30694 guaranteed too small input if we know there is enough data available.
1af4e298 30695
da62f81b
AS
306962011-05-11 Andreas Schwab <schwab@redhat.com>
30697
30698 * Makeconfig (+link-pie): Indent.
30699 * Rules (binaries-pie): Define if $(have-fpie) and
30700 $(build-shared).
30701 (binaries-shared): Also filter out $(binaries-pie).
30702 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30703 * nscd/Makefile (others-pie): Add nscd.
30704 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30705 ($(objpfx)nscd): Remove command override.
30706 * login/Makefile (others-pie): Add pt_chown.
30707 ($(objpfx)pt_chown): Remove command override.
30708 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30709 remove command overrides.
30710
fcabc0f8
UD
307112011-05-13 Ulrich Drepper <drepper@gmail.com>
30712
20030ae6
UD
30713 * libio/tst_putwc.c: Fix error messages.
30714
fcabc0f8
UD
30715 [BZ #12724]
30716 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30717 currently writing and seek to current position when not.
30718 * libio/Makefile (tests): Add bug-fclose1.
30719 * libio/bug-fclose1.c: New file.
30720
320a5dc0
PB
307212011-05-12 Ulrich Drepper <drepper@gmail.com>
30722
30723 [BZ #12511]
30724 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30725 don't set DF_1_NODELETE here.
30726 (do_lookup_x): When entering new entry test for copy relocation
30727 and if necessary set DF_1_NODELETE flag.
30728 * elf/tst-unique4.cc: New file.
30729 * elf/tst-unique4.h: New file.
30730 * elf/tst-unique4lib.cc: New file.
30731 * elf/Makefile: Add rules to build and run tst-unique4.
30732 Patch by Piotr Bury <pbury@goahead.com>.
30733
22836f52
UD
307342011-05-11 Ulrich Drepper <drepper@gmail.com>
30735
f574184a
UD
30736 [BZ #12052]
30737 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30738
e1fb097f
UD
30739 [BZ #12625]
30740 * misc/mntent_r.c (addmntent): Flush the stream after the output
30741
22836f52
UD
30742 [BZ #12393]
30743 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30744 (is_trusted_path_normalize): Skip initial colon. Append slash
30745 to empty buffer. Duplicate is_trusted_path code but allow
30746 constructed patch to be prefix.
30747 (is_dst): Allow $ORIGIN followed by /.
30748 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30749 Correct testing of result of is_trusted_path_normalize
30750 (decompose_rpath): Fix warning.
30751
7b3b0b2a
UD
307522011-05-10 Ulrich Drepper <drepper@gmail.com>
30753
30754 [BZ #11257]
30755 * grp/initgroups.c (internal_getgrouplist): When we found the service
30756 list through the initgroups entry in nsswitch.conf do not always
30757 continue on a successful lookup. Don't always use the
eac80ce2 30758 __nss_group_database value if it is set.
7b3b0b2a
UD
30759 * nss/nsswitch.conf (initgroups): Change action for successful db
30760 lookup to continue for compatibility.
30761
2a81eaa5
UD
307622011-05-09 Ulrich Drepper <drepper@gmail.com>
30763
be97a69e
UD
30764 [BZ #11532]
30765 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30766 and CP774 modules.
30767 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30768 and CP774 modules.
30769 * iconvdata/tst-tables.sh: Likewise.
30770 * iconvdata/cp770.c: New file.
30771 * iconvdata/cp771.c: New file.
30772 * iconvdata/cp772.c: New file.
30773 * iconvdata/cp773.c: New file.
30774 * iconvdata/cp774.c: New file.
30775 * iconvdata/testdata/CP770: New file.
30776 * iconvdata/testdata/CP770..UTF8: New file.
30777 * iconvdata/testdata/CP771: New file.
30778 * iconvdata/testdata/CP771..UTF8: New file.
30779 * iconvdata/testdata/CP772: New file.
30780 * iconvdata/testdata/CP772..UTF8: New file.
30781 * iconvdata/testdata/CP773: New file.
30782 * iconvdata/testdata/CP773..UTF8: New file.
30783 * iconvdata/testdata/CP774: New file.
30784 * iconvdata/testdata/CP774..UTF8: New file.
30785
30786 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30787 END CHARMAP line.
30788 * iconvdata/gen-8bit-gap.sh: Likewise.
30789 * iconvdata/gen-8bit.sh: Likewise.
30790
c1e9e399
UD
30791 * locale/iso-639.def: Add ary entry.
30792
24c55fb3 30793 [BZ #11258]
96b4b1b0
UD
30794 * locale/C-translit.h.in: Add U20A1 transliteration.
30795
bdc2f971
KB
30796 [BZ #12178]
30797 * locale/iso-639.def: Add wae entry.
30798 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30799
2952b117
UD
30800 [BZ #12545]
30801 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30802 for n.
30803
2a81eaa5
UD
30804 [BZ #12711]
30805 * locale/C-translit.h.in: Add entry for U20B9.
30806 Patch by pravin.d.s@gmail.com.
30807
28377d1b
UD
308082011-05-08 Ulrich Drepper <drepper@gmail.com>
30809
7fb90fb8
UD
30810 [BZ #12713]
30811 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30812 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30813 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30814 in rtld. Use *stat64.
7fb90fb8 30815 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30816 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30817 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30818 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30819 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30820 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30821 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30822 __fstatat64 macros.
7fb90fb8
UD
30823 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30824 * dirent/rewinddir.c: Add libc_hidden_def.
30825 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30826 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30827
28377d1b
UD
30828 * include/dirent.h (__alloc_dir): Add flags parameter.
30829 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30830 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30831 __alloc_dir.
30832 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30833 from fdopendir if O_CLOEXEC is already set.
30834
66bdbaa4
AM
308352011-03-15 Alan Modra <amodra@gmail.com>
30836
30837 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30838 l_tls_firstbyte_offset non-zero. Save padding offset in
30839 l_tls_firstbyte_offset for later use.
30840 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30841 freeing static tls block.
30842
95721191
JN
308432011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30844
30845 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30846 where #ifdef was intended. The intent is to prevent ARG_MAX from
30847 being defined by the kernel headers.
30848
f87dfb1f
UD
308492011-05-07 Ulrich Drepper <drepper@gmail.com>
30850
30851 [BZ #12734]
30852 * resolv/resolv.h: Define RES_NOTLDQUERY.
30853 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30854 no-tld-query and set RES_NOTLDQUERY.
30855 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30856 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30857 modern BIND to search name as TLD unless forbidden.
30858
47c3cd7a
UD
308592011-05-07 Petr Baudis <pasky@suse.cz>
30860 Ulrich Drepper <drepper@gmail.com>
30861
30862 [BZ #12393]
30863 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30864 (is_trusted_path): ...to here.
c1e9ea35 30865 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30866 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30867 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30868
8a35c912
PP
308692011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30870
30871 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30872 __BEGIN/__END_DECLS.
30873
acd41f47
UD
308742011-05-06 Ulrich Drepper <drepper@gmail.com>
30875
30876 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30877 NSS_STATUS_NOTFOUND if no record was found.
30878
597df647
AS
308792011-05-05 Andreas Schwab <schwab@redhat.com>
30880
30881 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30882 (headers-not-in-tirpc): Remove rpc/netdb.h
30883 * resolv/netdb.h: Revert last change.
30884
b9af1301
PP
308852011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30886
30887 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30888 circular dependency between libgcc.a and libc.a.
30889
4e34d5f5
AS
308902011-05-05 Andreas Schwab <schwab@redhat.com>
30891
30892 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30893 * nis/Makefile: Don't install rpcsvc/*.
30894 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30895 instead of <rpc/types.h>.
30896 (MAXHOSTNAMELEN): Define.
30897
00ee369c
AS
308982011-05-03 Andreas Schwab <schwab@redhat.com>
30899
30900 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30901
0b592a30
MB
309022011-04-28 Maciej Babinski <mbabinski@google.com>
30903
30904 [BZ #12714]
30905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30906 gethostbyname4_r when IPv6 results are possible.
30907
6e04cbbe
UD
309082011-05-02 Ulrich Drepper <drepper@gmail.com>
30909
30910 [BZ #12723]
30911 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30912 _PC_PIPE_BUF handling.
30913
e4ecafe0
BH
309142011-04-30 Bruno Haible <bruno@clisp.org>
30915
30916 [BZ #12717]
30917 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30918 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30919 to 'int'.
30920 * inet/getnameinfo.c (getnameinfo): Likewise.
30921
125ee683
UD
309222011-04-29 Ulrich Drepper <drepper@gmail.com>
30923
30924 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30925 to groups setting in database lookup.
30926 * nss/nsswitch.conf: Add initgroups entry.
30927
b722481a
EB
309282011-04-22 Ulrich Drepper <drepper@gmail.com>
30929
30930 [BZ #12685]
30931 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30932 mode string.
30933 Patch by Eric Blake <eblake@redhat.com>.
30934
4df46dbd
L
309352011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30936
30937 * sunrpc/Makefile (need-export-routines): Add svc_run.
30938 (routines): Remove svc_run.
30939 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30940 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30941 * sunrpc/svc_run.c (svc_run): Likewise.
30942 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30943
e84142d2
UD
309442011-04-21 Ulrich Drepper <drepper@gmail.com>
30945
30946 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30947 problem in reallocation in last patch.
30948
877175d8
UD
309492011-04-20 Ulrich Drepper <drepper@gmail.com>
30950
30951 * sunrpc/Makefile: Move inclusion of Rules.
30952
ab8eed78
UD
309532011-04-19 Ulrich Drepper <drepper@gmail.com>
30954
30955 * nss/nss_files/files-initgroups.c: New file.
30956 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30957 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30958 _nss_files_initgroups_dyn.
30959
e3d8f584
RS
309602011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30961
30962 * elf/elf.h (R_ARM_IRELATIVE): Define.
30963
af190f45
UD
309642011-04-19 Ulrich Drepper <drepper@gmail.com>
30965
30966 * po/ru.po: Update from translation team.
30967
53cf59ef
UD
309682011-04-17 Ulrich Drepper <drepper@gmail.com>
30969
30970 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30971 dependencies.
30972
4c559bcd
MF
309732011-02-06 Mike Frysinger <vapier@gentoo.org>
30974
30975 [BZ #12653]
30976 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30977 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30978 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30979 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30980 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30981
4420675c
AS
309822011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30983
30984 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30985 differing bytes.
30986 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30987 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30988 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30989
75ea32ab
UD
309902011-04-17 Ulrich Drepper <drepper@gmail.com>
30991
30992 [BZ #12420]
30993 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30994 storing it.
30995 * stdlib/bug-getcontext.c: New file.
30996 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30997
27390476
AK
309982011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30999
31000 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31001 instructions into .machine "z9-109".
31002 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31003 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31004
10442705
AK
310052011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31006
31007 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31008 between environment variables and auxiliary vector.
31009
7b57bfe5
UD
310102011-04-16 Ulrich Drepper <drepper@gmail.com>
31011
31012 * Makefile: Add rules to build linkobj/libc.so.
31013 * include/libc-symbols.h: Define libc_hidden_nolink.
31014 * include/rpc/auth.h: Mark functions which are to be hidden.
31015 * include/rpc/auth_des.h: Likewise.
31016 * include/rpc/auth_unix.h: Likewise.
31017 * include/rpc/clnt.h: Likewise.
31018 * include/rpc/des_crypt.h: Likewise.
31019 * include/rpc/key_prot.h: Likewise.
31020 * include/rpc/pmap_clnt.h: Likewise.
31021 * include/rpc/pmap_prot.h: Likewise.
31022 * include/rpc/pmap_rmt.h: Likewise.
31023 * include/rpc/rpc_msg.h: Likewise.
31024 * include/rpc/svc.h: Likewise.
31025 * include/rpc/svc_auth.h: Likewise.
31026 * include/rpc/xdr.h: Likewise.
31027 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31028 * nss/Makefile: Likewise.
31029 * sunrpc/Makefile: Don't install headers. Build library with normal
31030 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31031 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31032 for the compat linking library. Remove use of INTDEF/INTUSE.
31033 * sunrpc/auth_none.c: Likewise.
31034 * sunrpc/auth_unix.c: Likewise.
31035 * sunrpc/authdes_prot.c: Likewise.
31036 * sunrpc/authuxprot.c: Likewise.
31037 * sunrpc/clnt_gen.c: Likewise.
31038 * sunrpc/clnt_perr.c: Likewise.
31039 * sunrpc/clnt_raw.c: Likewise.
31040 * sunrpc/clnt_simp.c: Likewise.
31041 * sunrpc/clnt_tcp.c: Likewise.
31042 * sunrpc/clnt_udp.c: Likewise.
31043 * sunrpc/clnt_unix.c: Likewise.
31044 * sunrpc/des_crypt.c: Likewise.
31045 * sunrpc/des_soft.c: Likewise.
31046 * sunrpc/get_myaddr.c: Likewise.
31047 * sunrpc/key_call.c: Likewise.
31048 * sunrpc/key_prot.c: Likewise.
31049 * sunrpc/netname.c: Likewise.
31050 * sunrpc/pm_getmaps.c: Likewise.
31051 * sunrpc/pm_getport.c: Likewise.
31052 * sunrpc/pmap_clnt.c: Likewise.
31053 * sunrpc/pmap_prot.c: Likewise.
31054 * sunrpc/pmap_prot2.c: Likewise.
31055 * sunrpc/pmap_rmt.c: Likewise.
31056 * sunrpc/publickey.c: Likewise.
31057 * sunrpc/rpc_cmsg.c: Likewise.
31058 * sunrpc/rpc_common.c: Likewise.
31059 * sunrpc/rpc_dtable.c: Likewise.
31060 * sunrpc/rpc_prot.c: Likewise.
31061 * sunrpc/rpc_thread.c: Likewise.
31062 * sunrpc/rtime.c: Likewise.
31063 * sunrpc/svc.c: Likewise.
31064 * sunrpc/svc_auth.c: Likewise.
31065 * sunrpc/svc_authux.c: Likewise.
31066 * sunrpc/svc_raw.c: Likewise.
31067 * sunrpc/svc_run.c: Likewise.
31068 * sunrpc/svc_simple.c: Likewise.
31069 * sunrpc/svc_tcp.c: Likewise.
31070 * sunrpc/svc_udp.c: Likewise.
31071 * sunrpc/svc_unix.c: Likewise.
31072 * sunrpc/svcauth_des.c: Likewise.
31073 * sunrpc/xcrypt.c: Likewise.
31074 * sunrpc/xdr.c: Likewise.
31075 * sunrpc/xdr_array.c: Likewise.
31076 * sunrpc/xdr_float.c: Likewise.
31077 * sunrpc/xdr_intXX_t.c: Likewise.
31078 * sunrpc/xdr_mem.c: Likewise.
31079 * sunrpc/xdr_rec.c: Likewise.
31080 * sunrpc/xdr_ref.c: Likewise.
31081 * sunrpc/xdr_sizeof.c: Likewise.
31082 * sunrpc/xdr_stdio.c: Likewise.
31083
e6c61494
UD
310842011-04-10 Ulrich Drepper <drepper@gmail.com>
31085
31086 [BZ #12650]
31087 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31088 * sysdeps/ia64/dl-tls.h: Likewise.
31089 * sysdeps/powerpc/dl-tls.h: Likewise.
31090 * sysdeps/s390/dl-tls.h: Likewise.
31091 * sysdeps/sh/dl-tls.h: Likewise.
31092 * sysdeps/sparc/dl-tls.h: Likewise.
31093 * sysdeps/x86_64/dl-tls.h: Likewise.
31094 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31095
34fe483e
AS
310962011-03-14 Andreas Schwab <schwab@redhat.com>
31097
31098 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31099 rpath element also skip the following colon.
31100 (expand_dynamic_string_token): Add is_path parameter and pass
31101 down to DL_DST_REQUIRED and _dl_dst_substitute.
31102 (decompose_rpath): Call expand_dynamic_string_token with
31103 non-zero is_path. Ignore empty rpaths.
31104 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31105 with zero is_path.
31106
f12a32e6
AS
311072011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31108
31109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31110 Make cancelable.
31111
38a7d692
UD
311122011-04-09 Ulrich Drepper <drepper@gmail.com>
31113
31114 [BZ #12655]
31115 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31116 Patch by Filipe David Manana <fdmanana@apache.org>.
31117
e451d22b
AS
311182011-04-07 Andreas Schwab <schwab@redhat.com>
31119
31120 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31121 Maintain aligned stack.
31122 (CHECK_RSP): Remove unused macro.
31123
dedc7c7b
UD
311242011-04-03 Ulrich Drepper <drepper@gmail.com>
31125
31126 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31127 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31128
94521213
UD
311292011-04-02 Ulrich Drepper <drepper@gmail.com>
31130
31131 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31132
8cb700c0 31133 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31134
0354e355
L
311352011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31136
31137 [BZ #12518]
31138 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31139 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31140 * sysdeps/x86_64/memmove.c: New file.
31141 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31142 (memcpy): Renamed to ...
31143 (__new_memcpy): This.
31144 (memcpy): Provide GLIBC_2_14 memcpy.
31145 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31146 (memcpy): Provide GLIBC_2_2_5 memcpy.
31147
8593482f
UD
311482011-04-01 Ulrich Drepper <drepper@gmail.com>
31149
31150 [BZ #12631]
31151 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31152
81a5726b
AS
311532011-03-30 Andreas Schwab <schwab@redhat.com>
31154
31155 * misc/syncfs.c: New file.
31156 * misc/Makefile (routines): Add syncfs.
31157 * posix/unistd.h: Declare syncfs.
31158 * sysdeps/unix/syscalls.list: Add syncfs.
31159
00e5419f
AS
311602011-04-01 Andreas Schwab <schwab@redhat.com>
31161
31162 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31163 open_by_handle_at.
31164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31165 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31166 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31167 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31169 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31171
748876bf
UD
311722011-04-01 Ulrich Drepper <drepper@gmail.com>
31173
658e451d
UD
31174 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31175 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31176 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31177 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31178 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31181
748876bf
UD
31182 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31183 sync_file_range.c with -fexceptions.
31184 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31185 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31186 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31187 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31188 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31189 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31191 sync_file_range as cancellation point
31192 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31193 now a wrapper around __call_sync_file_range with cancellation handling.
31194 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31195 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31196 function name to __call_sync_file_range.
31197 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31198 Add call_sync_file_range.
748876bf 31199
6e63d5e1
AS
312002011-04-01 Andreas Schwab <schwab@redhat.com>
31201
31202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31203 bits/timex.h.
6e63d5e1 31204
46998f74
UD
312052011-04-01 Ulrich Drepper <drepper@gmail.com>
31206
4c1423ed
UD
31207 * iconv/iconv.h: Fix typo in comment.
31208 * io/fcntl.h: Likewise.
31209 * libio/stdio.h: Likewise.
31210 * posix/spawn.h: Likewise.
31211 * posix/unistd.h: Likewise.
31212 * stdlib/stdlib.h: Likewise.
31213 * time/time.h: Likewise.
31214 * wcsmbs/wchar.h: Likewise.
31215
158648c0
UD
31216 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31217 open_by_handle): Add.
31218 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31219 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31220 Augment a few comments.
31221 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31223 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31226 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31227 open_by_handle.
31228
46998f74
UD
31229 * io/fcntl.h (AT_EMPTY_PATH): Define.
31230
83fe108b
UD
312312011-03-30 Ulrich Drepper <drepper@gmail.com>
31232
31233 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31234 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31235 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31236 to...
31237 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31238 * Versions.def: Add GLIBC_2.14.
31239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31240 Export.
83fe108b 31241
bb242059
UD
312422011-03-22 Ulrich Drepper <drepper@gmail.com>
31243
31244 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31245 round counter.
31246 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31247
c97a1282
L
312482011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31249
31250 [BZ #12597]
31251 * string/test-strncmp.c (do_page_test): New function.
31252 (check2): Likewise.
31253 (test_main): Call check2.
31254 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31255
2a115601
UD
312562011-03-20 Ulrich Drepper <drepper@gmail.com>
31257
31258 [BZ #12587]
31259 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31260 Handle cache information in CPU leaf 4.
31261 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31262
8126d904
UD
312632011-03-18 Ulrich Drepper <drepper@gmail.com>
31264
042c49c6 31265 [BZ #12583]
8126d904
UD
31266 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31267 character representation.
31268 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31269
ccfe366e
RA
312702011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31271
31272 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31273 END(__isnan) to END(__isnanf) to match function entry point/label
31274 EALIGN(__isnanf,...).
31275
c6e13027
JJ
312762011-03-10 Jakub Jelinek <jakub@redhat.com>
31277
31278 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31279
33f85a3f
UD
312802011-03-10 Ulrich Drepper <drepper@gmail.com>
31281
028478fa
UD
31282 [BZ #12510]
31283 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31284 copy from the symbol referenced in the relocation to initialize the
31285 used variable.
31286 Patch by Piotr Bury <pbury@goahead.com>.
31287 * elf/Makefile: Add rules to build and tst-unique3.
31288 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31289 * elf/tst-unique3.cc: New file.
31290 * elf/tst-unique3.h: New file.
31291 * elf/tst-unique3lib.cc: New file.
31292 * elf/tst-unique3lib2.cc: New file.
31293
33f85a3f
UD
31294 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31295
03592fc7
MF
312962011-03-10 Mike Frysinger <vapier@gentoo.org>
31297
31298 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31299 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31300 to _start.
03592fc7 31301
6a5ee102
UD
313022011-03-06 Ulrich Drepper <drepper@gmail.com>
31303
31304 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31305 to-be-loaded object along a path to loader is ld.so.
31306
7e4ba49c
HJ
313072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31308 Ulrich Drepper <drepper@gmail.com>
31309
31310 * sysdeps/x86_64/memset.S: After aligning destination, code
31311 branches to different locations depending on the value of
31312 misalignment, when multiarch is enabled. Fix this.
31313
313142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31315
31316 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31317 Set _x86_64_preferred_memory_instruction for AMD processsors.
31318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31319 Set bit_Prefer_SSE_for_memop for AMD processors.
31320
13a804de
UD
313212011-03-04 Ulrich Drepper <drepper@gmail.com>
31322
31323 * libio/fmemopen.c (fmemopen): Optimize a bit.
31324
9d25c392
AS
313252011-03-03 Andreas Schwab <schwab@redhat.com>
31326
31327 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31328
a5543c6a
RM
313292011-03-03 Roland McGrath <roland@redhat.com>
31330
31331 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31332
012d35f7
DM
313332011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31334
7e4ba49c 31335 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31336 __bzero_ultra1 instead of __memset_ultra1.
31337
4bff6e01
AS
313382011-02-23 Andreas Schwab <schwab@redhat.com>
31339 Ulrich Drepper <drepper@gmail.com>
31340
31341 [BZ #12509]
31342 * include/link.h (struct link_map): Add l_orig_initfini.
31343 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31344 returning unsuccessfully.
31345 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31346 close of a file loaded at startup, restore the original l_initfini
31347 list.
31348 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31349 list, store the pointer.
31350 * elf/Makefile ($(objpfx)noload-mem): New rule.
31351 (noload-ENV): Define.
31352 (tests): Add $(objpfx)noload-mem.
31353 * elf/noload.c: Include <memcheck.h>.
31354 (main): Call mtrace. Close all opened handles.
31355
f2092faf
AS
313562011-02-17 Andreas Schwab <schwab@redhat.com>
31357
31358 [BZ #12454]
31359 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31360 dependencies are missing.
31361
6c8a2e88
ST
313622011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31363
f2092faf 31364 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31365 Hurd needs munmap.
31366 * sysdeps/mach/hurd/ifreq.h: New file.
31367
84a42118
PB
313682011-01-27 Petr Baudis <pasky@suse.cz>
31369 Ulrich Drepper <drepper@gmail.com>
31370
071f805e 31371 [BZ 12445]#
84a42118
PB
31372 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31373 to extend_alloca().
31374 * stdio-common/bug23.c: New file.
31375 * stdio-common/Makefile (tests): Add bug23.
31376
e23fe25b
AS
313772010-09-28 Andreas Schwab <schwab@redhat.com>
31378 Ulrich Drepper <drepper@gmail.com>
31379
31380 [BZ #12489]
31381 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31382 before performing relro protection. At old place add assertion
31383 to make sure nothing changed.
31384
d3f02e10
NS
313852011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31386 Glauber de Oliveira Costa <glommer@gmail.com>
31387
31388 * elf/elf.h: Add new ARM TLS relocs.
31389
d55fd7a5
RA
313902011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31391
31392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31393 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31394 cast from r3.
31395 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31396 'tests' variable.
31397 * sysdeps/wordsize-64/tst-writev.c: New file.
31398
2206397e
RA
313992011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31400
31401 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31402 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31403 insns in _dl_start to prevent a TOC reference before relocs are
31404 resolved.
31405
e9433893
UD
314062011-02-15 Ulrich Drepper <drepper@gmail.com>
31407
31408 [BZ #12469]
31409 * Makeconfig: Remove RANLIB definition.
31410 * Makerules: Don't use RANLIB.
31411 * aclocal.m4: Remove ranlib test.
31412 * configure.in: No need to check for ranlib.
31413 * elf/rtld-Rules: Don't use RANLIB.
31414
f75286c6
ST
314152011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31416
8e31c82d
ST
31417 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31418 protection macro.
31419 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31420 inclusion protection macro.
31421
f75286c6
ST
31422 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31423 SIGRTMIN and SIGRTMAX and print information in that case only when
31424 SIGRTMIN is defined.
31425
c1d0e639
JJ
314262011-02-11 Jakub Jelinek <jakub@redhat.com>
31427
31428 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31429 arginfo fn returning -1.
31430
31431 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31432 and thousands string is zero terminated.
31433
edf9294e
AS
314342011-02-03 Andreas Schwab <schwab@redhat.com>
31435
31436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31437 sysdeps/unix/sysv/linux/bits/socket.h.
31438
2b7e92df
ST
314392011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31440
edf9294e
AS
31441 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31442 (__CPU_COUNT): Remove old macros.
31443 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31444 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31445 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31446 (__sched_cpualloc, __sched_cpufree): Add declarations.
31447
a4c7ea7b
UD
314482011-02-05 Ulrich Drepper <drepper@gmail.com>
31449
31450 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31451 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31452 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31453 (readdhstai): Return value of addhstaiX call.
31454 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31455 (addgrbyX): Return value returned by cache_addgr.
31456 (readdgrbyname): Return value returned by addgrbyX.
31457 (readdgrbygid): Likewise.
31458 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31459 (addpwbyX): Return value returned by cache_addpw.
31460 (readdpwbyname): Return value returned by addhstbyX.
31461 (readdpwbyuid): Likewise.
31462 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31463 (addservbyX): Return value returned by cache_addserv.
31464 (readdservbyname): Return value returned by addservbyX:
31465 (readdservbyport): Likewise.
31466 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31467 (addhstbyX): Return value returned by cache_addhst.
31468 (readdhstbyname): Return value returned by addhstbyX.
31469 (readdhstbyaddr): Likewise.
31470 (readdhstbynamev6): Likewise.
31471 (readdhstbyaddrv6): Likewise.
31472 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31473 (readdinitgroups): Return value returned by addinitgroupsX.
31474 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31475 (prune_cache): Keep track of timeout value of re-added entries.
31476 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31477 * nscd/nscd.h: Adjust prototypes of readd* functions.
31478
a0bf67cc
RM
314792011-02-04 Roland McGrath <roland@redhat.com>
31480
31481 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31482 (nis_stats): Likewise.
31483 * nis/nis_modify.c (nis_modify): Likewise.
31484 * nis/nis_remove.c (nis_remove): Likewise.
31485 * nis/nis_add.c (nis_add): Likewise.
31486
31487 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31488
31489 * posix/fnmatch_loop.c: Add some consts.
31490
31491 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31492
435b95eb
L
314932011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31494
31495 [BZ #12460]
31496 * config.make.in (config-cflags-novzeroupper): Define.
31497 * configure.in: Substitute libc_cv_cc_novzeroupper.
31498 * elf/Makefile (AVX-CFLAGS): Define.
31499 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31500 (CFLAGS-tst-auditmod4a.c): Likewise.
31501 (CFLAGS-tst-auditmod4b.c): Likewise.
31502 (CFLAGS-tst-auditmod6b.c): Likewise.
31503 (CFLAGS-tst-auditmod6c.c): Likewise.
31504 (CFLAGS-tst-auditmod7b.c): Likewise.
31505 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31506
8517b15e
UD
315072011-02-02 Ulrich Drepper <drepper@gmail.com>
31508
31509 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31510 function to the callback.
31511 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31512
10a656fe
AS
315132011-02-02 Andreas Schwab <schwab@redhat.com>
31514
31515 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31516 of errno.
31517
968dad0a
UD
315182011-01-19 Ulrich Drepper <drepper@gmail.com>
31519
9f94d2ea 31520 [BZ #11724]
968dad0a
UD
31521 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31522 of constructors.
31523 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31524 of destructors.
31525 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31526
31527 [BZ #11724]
31528 * elf/Makefile: Add rules to build and run new test.
31529 * elf/tst-initorder.c: New file.
31530 * elf/tst-initorder.exp: New file.
31531 * elf/tst-initordera1.c: New file.
31532 * elf/tst-initordera2.c: New file.
31533 * elf/tst-initordera3.c: New file.
31534 * elf/tst-initordera4.c: New file.
31535 * elf/tst-initorderb1.c: New file.
31536 * elf/tst-initorderb2.c: New file.
31537 * elf/tst-order-a1.c: New file.
31538 * elf/tst-order-a2.c: New file.
31539 * elf/tst-order-a3.c: New file.
31540 * elf/tst-order-a4.c: New file.
31541 * elf/tst-order-b1.c: New file.
31542 * elf/tst-order-b2.c: New file.
31543 * elf/tst-order-main.c: New file.
31544 New test case by George Gensure <werkt0@gmail.com>.
31545
86e92359
UD
315462010-10-01 Andreas Schwab <schwab@redhat.com>
31547
31548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31549 decoding ACE if AI_CANONIDN.
31550
5d5732b0
UD
315512011-01-18 Ulrich Drepper <drepper@gmail.com>
31552
31553 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31554
a77e8cbc
UD
315552011-01-17 Ulrich Drepper <drepper@gmail.com>
31556
6392473f
UD
31557 * version.h (RELEASE): Bump for 2.13 release.
31558 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31559
620a0529
UD
31560 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31561
18ba70a5
UD
31562 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31563 MADV_NOHUGEPAGE.
32465c3e
UD
31564 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31565 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31566 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31567 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31568 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31569 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31570
c0dafcf1
UD
31571 * posix/getconf.c: Update copyright year.
31572 * catgets/gencat.c: Likewise.
31573 * csu/version.c: Likewise.
31574 * debug/catchsegv.sh: Likewise.
31575 * debug/xtrace.sh: Likewise.
31576 * elf/ldconfig.c: Likewise.
31577 * elf/ldd.bash.in: Likewise.
31578 * elf/sprof.c (print_version): Likewise.
31579 * iconv/iconv_prog.c: Likewise.
31580 * iconv/iconvconfig.c: Likewise.
31581 * locale/programs/locale.c: Likewise.
31582 * locale/programs/localedef.c: Likewise.
31583 * malloc/memusage.sh: Likewise.
31584 * malloc/mtrace.pl: Likewise.
31585 * nscd/nscd.c (print_version): Likewise.
31586 * nss/getent.c: Likewise.
31587
a77e8cbc
UD
31588 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31589 PF_CAIF, and PF_ALG.
31590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31591
77e8bddf
AS
315922011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31593
1f20b93a
AS
31594 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31595 (modules-names): Use them.
31596 (ifunc-test-modules, ifunc-pie-tests): Define.
31597 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31598 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31599 (test-extras): Likewise.
31600 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31601 $(compile-command.c).
31602 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31603 (all-built-dso): Define.
31604 (check-textrel.out, check-execstack.out): Depend on it.
31605
77e8bddf
AS
31606 * configure.in: Don't override --enable-multi-arch.
31607
bc425b33
UD
316082011-01-15 Ulrich Drepper <drepper@gmail.com>
31609
31610 [BZ #6812]
31611 * nscd/hstcache.c (tryagain): Define.
31612 (cache_addhst): Return tryagain not notfound for temporary errors.
31613 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31614 failed.
31615
794c3ad3
UD
316162011-01-14 Ulrich Drepper <drepper@gmail.com>
31617
70181fdd
UD
31618 [BZ #10563]
31619 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31620 to make the syscall.
31621 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31622
794c3ad3
UD
31623 [BZ #12378]
31624 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31625 and fall back to matching as normal character if the string ends before
31626 the matching ']' is found. This is what POSIX requires.
31627 * posix/testfnm.c: Adjust test result.
31628 * posix/globtest.sh: Adjust test result. Add new test.
31629 * posix/tst-fnmatch.input: Likewise.
31630 * posix/tst-fnmatch2.c: Add new test.
31631
68dc9497
AS
316322010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31633
31634 * elf/Makefile (check-execstack): Revert last change. Depend on
31635 check-execstack.h.
31636 (check-execstack.h): New target.
31637 (generated): Add check-execstack.h.
31638 * elf/check-execstack.c: Include "check-execstack.h".
31639 (main): Revert last change.
31640 (handle_file): Return zero if GNU_STACK is absent and
31641 DEFAULT_STACK_PERMS doesn't include PF_X.
31642
451f001b
UD
316432011-01-13 Ulrich Drepper <drepper@gmail.com>
31644
cfa28e56
UD
31645 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31646 in child fails because the descriptor is already closed.
8cf8ce17
UD
31647 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31648 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31649 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31650
1086d70d
UD
31651 [BZ #12397]
31652 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31653 syscall.
31654
451f001b
UD
31655 [BZ #10484]
31656 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31657 temporary buffer used to handle multi lookups locally.
a85b5cb4 31658 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31659
08769175
UD
316602011-01-12 Ulrich Drepper <drepper@gmail.com>
31661
31662 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31663 loader is ld.so.
31664
5e49c52e
UD
316652011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31666
31667 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31668 alignment for SSE2.
31669
60522a5f
UD
316702011-01-12 Ulrich Drepper <drepper@gmail.com>
31671
31672 [BZ #12394]
31673 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31674 characters. When rounding increased number of integer digits recompute
31675 number of groups.
31676 * stdio-common/tst-grouping.c: New file.
31677 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31678
f257bbd7
UD
316792011-01-09 Ulrich Drepper <drepper@gmail.com>
31680
31681 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31682 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31683
31684 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31685 void.
31686 * bits/select.h: Likewise.
31687
fa9c15cb
UD
316882011-01-08 Ulrich Drepper <drepper@gmail.com>
31689
31690 * po/ja.po: Update from translation team.
31691
16c2895f
DM
316922011-01-04 David S. Miller <davem@sunset.davemloft.net>
31693
31694 [BZ #11155]
31695 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31696 implementation just like for lxstat, fxstatat, et al.
31697
2543fef2
JM
316982010-12-27 Jim Meyering <meyering@redhat.com>
31699
31700 [BZ #12348]
31701 * posix/regexec.c (build_trtable): Return failure indication upon
31702 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31703
98727dbe
UD
317042010-12-25 Ulrich Drepper <drepper@gmail.com>
31705
5bd6dc5c
UD
31706 [BZ #12201]
31707 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31708 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31709 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31710 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31711
97983464
UD
31712 [BZ #12207]
31713 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31714
98727dbe
UD
31715 [BZ #12204]
31716 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31717 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31718
4a531bb0
L
317192010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31720
31721 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31722 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31723 script has SORT_BY_INIT_PRIORITY.
31724 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31725 NO_CTORS_DTORS_SECTIONS is defined.
31726 * elf/soinit.c: Likewise.
31727 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31728 NO_CTORS_DTORS_SECTIONS is defined.
31729 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31730 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31731 * sysdeps/sh/init-first.c: Likewise.
31732 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31733
07eb4b71
UD
317342010-12-24 Ulrich Drepper <drepper@gmail.com>
31735
31736 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31737 always use the slow path.
31738
30950a5f
RA
317392010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31740
31741 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31742 similar rule which adds the sysdep directories to the header search in
31743 order to pick up the correct platform stackinfo.h.
31744 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31745 perform test if it is, otherwise return successfully without testing.
31746 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31747 DEFAULT_STACK_PERMS define in stackinfo.h.
31748 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31749 defined in stackinfo.h.
31750 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31751 DEFAULT_STACK_PERMS defined in stackinfo.h.
31752 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31753 * sysdeps/ia64/stackinfo.h: Likewise.
31754 * sysdeps/s390/stackinfo.h: Likewise.
31755 * sysdeps/sh/stackinfo.h: Likewise.
31756 * sysdeps/sparc/stackinfo.h: Likewise.
31757 * sysdeps/x86_64/stackinfo.h: Likewise.
31758 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31759 PF_X for powerpc64. Retain PF_X for powerpc32.
31760
db753e2c
UD
317612010-12-19 Ulrich Drepper <drepper@gmail.com>
31762
14b697f7
UD
31763 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31764 accurately.
db753e2c
UD
31765 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31766 GETDENTS_64BIT_ALIGNED.
31767
28300719
UD
317682010-12-14 Ulrich Drepper <dreper@gmail.com>
31769
14b697f7 31770 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31771
4f197237
AS
317722010-12-10 Andreas Schwab <schwab@redhat.com>
31773
dbb0472f
AS
31774 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31775 _GNU_SOURCE.
31776
4f197237
AS
31777 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31778 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31779 Remove __restrict.
31780 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31781 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31782
fb88ac72
UD
317832010-12-09 Ulrich Drepper <drepper@gmail.com>
31784
31785 [BZ #11655]
31786 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31787 are initialized.
31788
42acbb92
JJ
317892010-12-09 Jakub Jelinek <jakub@redhat.com>
31790
31791 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31792
c038d98d
UD
317932010-12-03 Ulrich Drepper <drepper@gmail.com>
31794
31795 * po/it.po: Update from translation team.
31796
3a4a2499
L
317972010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31798
31799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31800 unused codes.
31801
1e24cf6e
UD
318022010-11-30 Ulrich Drepper <drepper@gmail.com>
31803
31804 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31805
a7690819
AS
318062010-11-24 Andreas Schwab <schwab@redhat.com>
31807
31808 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31809 specially.
31810 (gaih_getanswer_slice): Likewise.
31811
3bf8d1b1
JJ
318122010-10-20 Jakub Jelinek <jakub@redhat.com>
31813
31814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31815
6db52fbb
PB
318162010-05-31 Petr Baudis <pasky@suse.cz>
31817
31818 [BZ #11149]
31819 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31820 silently even in the chroot mode.
31821
eaca7569
UD
318222010-11-22 Ulrich Drepper <drepper@gmail.com>
31823
31824 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31825 last patch a bit. Pretty printing
31826
3056dcdb
UD
318272010-05-31 Petr Baudis <pasky@suse.cz>
31828
31829 [BZ #10085]
31830 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31831 initialization of skip_initgroups_dyn.
31832
cf7c9078
UD
318332010-11-19 Ulrich Drepper <drepper@gmail.com>
31834
31835 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31836 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31837
a1fb5e3e
UD
318382010-11-16 Ulrich Drepper <drepper@gmail.com>
31839
31840 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31841
3540d66b
AS
318422010-11-11 Andreas Schwab <schwab@redhat.com>
31843
31844 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31845 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31846 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31847 ($(objpfx)tst-fnmatch-mem): New rule.
31848 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31849 * posix/tst-fnmatch.c (main): Call mtrace.
31850
13b69574
L
318512010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31852
31853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31854 Support Intel processor model 6 and model 0x2c.
31855
da93d214
LM
318562010-11-10 Luis Machado <luisgpm@br.ibm.com>
31857
31858 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31859 signed comparison.
31860
8ca52c6e
L
318612010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31862
31863 [BZ #12205]
31864 * string/test-strncasecmp.c (check_result): New function.
31865 (do_one_test): Use it.
31866 (check1): New function.
31867 (test_main): Use it.
31868 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31869 Support strcasecmp and strncasecmp.
31870
69da074d
UD
318712010-11-08 Ulrich Drepper <drepper@gmail.com>
31872
31873 [BZ #12194]
31874 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31875 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31876
ff02d528
L
318772010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31878
31879 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31880 IFUNC support.
31881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31882 memset-x86-64.
31883 * sysdeps/x86_64/multiarch/bzero.S: New file.
31884 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31885 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31886 * sysdeps/x86_64/multiarch/memset.S: New file.
31887 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31889 Set bit_Prefer_SSE_for_memop for Intel processors.
31890 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31891 Define.
31892 (index_Prefer_SSE_for_memop): Define.
31893 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31894
344d0b54
LM
318952010-11-04 Luis Machado <luisgpm@br.ibm.com>
31896
31897 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31898 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31899
c0dde15b
UD
319002010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31901
31902 [BZ #12191]
31903 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31904 (__x86_64_raw_data_cache_size_half): Likewise.
31905 (__x86_64_raw_shared_cache_size): Likewise.
31906 (__x86_64_raw_shared_cache_size_half): Likewise.
31907
31908 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31909 (__x86_64_raw_data_cache_size_half): Likewise.
31910 (__x86_64_raw_shared_cache_size): Likewise.
31911 (__x86_64_raw_shared_cache_size_half): Likewise.
31912 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31913 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31914 and __x86_64_raw_shared_cache_size_half. Round
31915 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31916 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31917 to multiple of 256 bytes.
31918
0e516e0e
MS
319192010-11-03 Ulrich Drepper <drepper@gmail.com>
31920
31921 [BZ #12167]
31922 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31923 of inacessible symlinks. Verify result of symlink before returning it.
31924 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31925 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31926
0e012e87
ER
319272010-10-28 Erich Ritz <erichritz@gmail.com>
31928
31929 * math/math.h (isinf): Fix typo in comment.
31930
de0ff7bc
UD
319312010-11-01 Ulrich Drepper <drepper@gmail.com>
31932
31933 * po/da.po: Update from translation team.
31934
fa41c84d
UD
319352010-10-26 Ulrich Drepper <drepper@gmail.com>
31936
31937 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31938 is added to the list.
31939
f0967738
AK
319402010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31941 Ulrich Drepper <drepper@gmail.com>
31942
31943 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31944 the global list here. Move code to...
31945 (_dl_add_to_namespace_list): ...here. New function.
31946 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31947 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31948 * elf/dl-load.c (lose): Don't remove the element from the list.
31949 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31950 (_dl_map_object): Likewise.
31951
319522010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31953
31954 [BZ #12159]
31955 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31956 into all bytes of SSE register.
31957 Patch by Richard Li <richardpku@gmail.com>.
31958
f0967738 319592010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31960
31961 [BZ #12140]
31962 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31963 perturbing.
31964
d0b9e94f
MB
319652010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31966
31967 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31968 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31969 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31970 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31972 submachine.
31973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31974
8e9f92e9
AS
319752010-10-22 Andreas Schwab <schwab@redhat.com>
31976
31977 * include/dlfcn.h (__RTLD_SECURE): Define.
31978 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31979 mode & __RTLD_SECURE instead.
31980 (open_path): Rename preloaded parameter to secure.
31981 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31982 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31983 * elf/dl-deps.c (openaux): Likewise.
31984 * elf/rtld.c (struct map_args): Remove is_preloaded.
31985 (map_doit): Don't use it.
31986 (dl_main): Likewise.
31987 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31988 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31989
bc96fbda
AS
319902010-09-09 Andreas Schwab <schwab@redhat.com>
31991
31992 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31993 (sysd-rules-targets): Remove duplicates.
31994 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31995 rtld-%.$o dependency.
31996
22cd1c9b
AS
319972010-10-18 Andreas Schwab <schwab@redhat.com>
31998
31999 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32000 _dl_map_object do it.
32001
18edac48
UD
320022010-10-19 Ulrich Drepper <drepper@gmail.com>
32003
32004 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32005 fast fma builtins, define the macros in the C99 standard.
32006 (FP_FAST_FMAF): Likewise.
32007 (FP_FAST_FMAL): Likewise.
32008 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32009
32010 * bits/mathdef.h: Update copyright year.
32011 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32012
d2050124
MM
320132010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32014
32015 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32016 builtins, define the macros in the C99 standard.
32017 (FP_FAST_FMAF): Likewise.
32018 (FP_FAST_FMAL): Likewise.
32019 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32020 multiply/add.
32021 (FP_FAST_FMAF): Likewise.
32022
475facd1
JJ
320232010-10-15 Jakub Jelinek <jakub@redhat.com>
32024
32025 [BZ #3268]
32026 * math/libm-test.inc (fma_test): Some new testcases.
32027 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32028 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32029 y and infinite z. Do multiplication by C already in long double.
32030 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32032 y and infinite z. Do bitwise or of inexact bit into u.d.
32033 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32034 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32035 * sysdeps/i386/fpu/s_fma.S: Removed.
32036 * sysdeps/i386/fpu/s_fmal.S: Removed.
32037
7c08a05c
JJ
320382010-10-16 Jakub Jelinek <jakub@redhat.com>
32039
32040 [BZ #3268]
32041 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32043 computation is not scheduled after fetestexcept. Fix value
32044 of minimum denormal long double.
32045
f3f7372d
JJ
320462010-10-14 Jakub Jelinek <jakub@redhat.com>
32047
32048 [BZ #3268]
32049 * math/libm-test.inc (fma_test): Add some more tests.
32050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32051 correctly.
32052
14d43591
AS
320532010-10-15 Andreas Schwab <schwab@redhat.com>
32054
32055 * scripts/data/localplt-s390-linux-gnu.data: New file.
32056 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32057
5e908464
JJ
320582010-10-13 Jakub Jelinek <jakub@redhat.com>
32059
32060 [BZ #3268]
32061 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32062 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32063 instead of dbl-64.
32064 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32065 inlines.
32066 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32068 if one of x and y is very large and the other is subnormal.
32069 * sysdeps/s390/fpu/s_fmaf.c: New file.
32070 * sysdeps/s390/fpu/s_fma.c: New file.
32071 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32072 * sysdeps/powerpc/fpu/s_fma.S: New file.
32073 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32074 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32075 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32076
320772010-10-12 Jakub Jelinek <jakub@redhat.com>
32078
32079 [BZ #3268]
32080 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32081 fma tests.
32082 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32083 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32084 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32085 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32086 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32087 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32088 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32089
b833d51f
UD
320902010-10-12 Ulrich Drepper <drepper@redhat.com>
32091
32092 [BZ #12078]
32093 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32094 * posix/bug-regex31.input: Add test case.
32095
1751705d
UD
320962010-10-11 Ulrich Drepper <drepper@gmail.com>
32097
e9b9cbf5
UD
32098 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32099 * posix/bug-regex31.input: New file.
32100
32101 [BZ #12078]
32102 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32103 (parse_sub_exp): Fix last change, use postorder.
32104
ef06edbe
UD
32105 * posix/bug-regex31.c: New file.
32106 * posix/Makefile: Add rules to build and run bug-regex31.
32107
a129c80d
UD
32108 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32109
32110 [BZ #12078]
32111 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32112
b76b818e
UD
32113 [BZ #12108]
32114 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32115 to have entries in sys_siglist.
32116
1751705d
UD
32117 [BZ #12093]
32118 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32119 be NULL.
32120
9ff8d36f
JJ
321212010-10-07 Jakub Jelinek <jakub@redhat.com>
32122
32123 [BZ #3268]
32124 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32125 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32126 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32127 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32128 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32129 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32130 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32131 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32132 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32133 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32134 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32135 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32136 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32137 * math/ftestexcept.c (fetestexcept): Likewise.
32138 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32139 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32140 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32141 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32142 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32143 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32144 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32145
af325969
UD
321462010-10-11 Ulrich Drepper <drepper@gmail.com>
32147
c579b202 32148 [BZ #12107]
af325969
UD
32149 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32150 newline.
32151
67a67b95
UD
321522010-10-06 Ulrich Drepper <drepper@gmail.com>
32153
32154 * string/bug-strstr1.c: New file.
32155 * string/Makefile: Add rules to build and run bug-strstr1.
32156
5fb308bc
EB
321572010-10-05 Eric Blake <eblake@redhat.com>
32158
32159 [BZ #12092]
32160 * string/str-two-way.h (two_way_long_needle): Always clear memory
32161 when skipping input due to the shift table.
32162
45db99c7
UD
321632010-10-03 Ulrich Drepper <drepper@gmail.com>
32164
3b111893
UD
32165 [BZ #12005]
32166 * malloc/mcheck.c: Handle large requests.
32167
45db99c7
UD
32168 [BZ #12077]
32169 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32170 for strncmp and strncasecmp.
32171 * string/stratcliff.c: Add tests for strcmp and strncmp.
32172 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32173
cf7a1eb8
NI
321742010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32175
32176 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32177 __set_fpscr.
32178
6484ba5e
AJ
321792010-09-30 Andreas Jaeger <aj@suse.de>
32180
32181 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32182 (CGROUP_SUPER_MAGIC): Define.
32183 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32184 Handle btrfs and cgroup file systems.
32185 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32186 Likewise.
32187
91c42559
LM
321882010-09-27 Luis Machado <luisgpm@br.ibm.com>
32189
32190 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32191 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32192
87a97932
AK
321932010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32194
32195 [BZ #12067]
32196 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32197 trying to locate the ELF header.
32198
c21cc9bc
AS
321992010-09-27 Andreas Schwab <schwab@redhat.com>
32200
32201 [BZ #11611]
32202 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32203 Mask out sign-bit copies when constructing f_fsid.
32204
315970f6
PB
322052010-09-24 Petr Baudis <pasky@suse.cz>
32206
32207 * debug/stack_chk_fail_local.c: Add missing licence exception.
32208 * debug/warning-nop.c: Likewise.
32209
1ac7a2c7
JM
322102010-09-15 Joseph Myers <joseph@codesourcery.com>
32211
32212 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32213 implementing getdents64 using getdents syscall, set d_type if
32214 __ASSUME_GETDENTS32_D_TYPE.
32215
56801c50
AS
322162010-09-16 Andreas Schwab <schwab@redhat.com>
32217
32218 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32219 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32220
dda51327
UD
322212010-09-21 Ulrich Drepper <drepper@redhat.com>
32222
32223 [BZ #12037]
32224 * posix/unistd.h: Undo change of feature selection for ftruncate from
32225 2010-01-11.
32226
8ffcee4a
UD
322272010-09-20 Ulrich Drepper <drepper@redhat.com>
32228
a545ecd9 32229 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32230 detection.
32231
e24f0a8b
AS
322322010-09-20 Andreas Schwab <schwab@redhat.com>
32233
32234 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32235 fanotify_mark.
32236 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32237
7291c56f
AS
322382010-09-14 Andreas Schwab <schwab@redhat.com>
32239
32240 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32241 variables after CHECK_SP call.
32242 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32243
bc5fb037
AS
322442010-09-13 Andreas Schwab <schwab@redhat.com>
32245 Ulrich Drepper <drepper@redhat.com>
32246
32247 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32248 re-relocationg ld.so.
32249 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32250 _dl_init_paths call.
32251 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32252 here anymore.
32253
e66e7419
UD
322542010-09-14 Ulrich Drepper <drepper@redhat.com>
32255
32256 * resolv/res_init.c (__res_vinit): Count the default server we added.
32257
c044aa75
CLT
322582010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32259 Ulrich Drepper <drepper@redhat.com>
32260
32261 [BZ #11968]
32262 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32263 (____longjmp_chk): Use %ebx for saving value across system call.
32264 Add unwind info.
32265
32cf4069
AS
322662010-09-06 Andreas Schwab <schwab@redhat.com>
32267
32268 * manual/Makefile: Don't mix pattern rules with normal rules.
32269
817328ee
AS
322702010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32271
32272 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32273 operation.
32274 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32275 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32276 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32277 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32278 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32279 Likewise.
32280
29fddf61
UD
322812010-09-04 Ulrich Drepper <drepper@redhat.com>
32282
32283 [BZ #11979]
32284 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32285 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32286
0959ffc9
UD
322872010-09-02 Ulrich Drepper <drepper@redhat.com>
32288
32289 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32290 * sysdeps/x86_64/addmul_1.S: Likewise.
32291 * sysdeps/x86_64/lshift.S: Likewise.
32292 * sysdeps/x86_64/mul_1.S: Likewise.
32293 * sysdeps/x86_64/rshift.S: Likewise.
32294 * sysdeps/x86_64/sub_n.S: Likewise.
32295 * sysdeps/x86_64/submul_1.S: Likewise.
32296
ece29840
ST
322972010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32298
0959ffc9
UD
32299 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32300 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32301 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32302 * bits/sched.h [__need_schedparam]
ece29840 32303 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32304 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32305 (__defined_schedparam): Define to 1.
ece29840
ST
32306 (__sched_param): New structure, identical to sched_param.
32307 (__need_schedparam): Undefine.
32308
e53a31fe
MF
323092010-08-31 Mike Frysinger <vapier@gentoo.org>
32310
fdc0c10d
MF
32311 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32312 (epoll_create1): Declare.
32313
e53a31fe
MF
32314 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32315
a726d796
AS
323162010-08-31 Andreas Schwab <schwab@redhat.com>
32317
32318 [BZ #7066]
32319 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32320 shifting retval into place.
32321
2f3e3dc7
UD
323222010-09-01 Ulrich Drepper <drepper@redhat.com>
32323
f2933da9
UD
32324 * nis/rpcsvc/nis.h: Update copyright notice.
32325 * nis/rpcsvc/nis.x: Likewise.
32326 * nis/rpcsvc/nis_callback.h: Likewise.
32327 * nis/rpcsvc/nis_callback.x: Likewise.
32328 * nis/rpcsvc/nis_object.x: Likewise.
32329 * nis/rpcsvc/nis_tags.h: Likewise.
32330 * nis/rpcsvc/yp.h: Likewise.
32331 * nis/rpcsvc/yp.x: Likewise.
32332 * nis/rpcsvc/ypupd.h: Likewise.
32333 * nis/yp_xdr.c: Likewise.
32334 * nis/ypupdate_xdr.c: Likewise.
32335
2f3e3dc7
UD
32336 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32337 mainly the body of pmap_getport. Add parameters to specify timeouts.
32338 (pmap_getport): Use __libc_rpc_getport.
32339 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32340 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32341 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32342
f3dcc2f9
AS
323432010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32344
32345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32346 fanotify_mark.
32347
6d34eb5b
RM
323482010-08-27 Roland McGrath <roland@redhat.com>
32349
32350 * sysdeps/i386/i686/multiarch/Makefile
32351 (CFLAGS-varshift.c): New variable.
32352
9ea3de11
UD
323532010-08-27 Ulrich Drepper <drepper@redhat.com>
32354
c96d23fc
UD
32355 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32356 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32357
9ea3de11
UD
32358 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32359
32360 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32361
623aac7f
L
323622010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32363
32364 * sysdeps/x86_64/strlen.S: Unroll the loop.
32365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32366 strlen-sse2 strlen-sse2-bsf.
32367 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32368 __strlen_no_bsf if bit_Slow_BSF is set.
32369 (__strlen_sse42): Removed.
32370 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32371 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32372
8b2b7715
RM
323732010-08-25 Roland McGrath <roland@redhat.com>
32374
32375 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32376 * sysdeps/x86_64/multiarch/varshift.c: New file.
32377 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32378 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32379 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32380 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32381
e73015f2
L
323822010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32383
32384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32385 strlen-sse2 strlen-sse2-bsf.
32386 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32387 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32388 (__strlen_sse2): Removed.
32389 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32392 bit_Slow_BSF for Atom.
32393 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32394 (index_Slow_BSF): Define.
32395 (HAS_SLOW_BSF): Define.
32396
df24a73e
UD
323972010-08-25 Ulrich Drepper <drepper@redhat.com>
32398
32399 [BZ #10851]
32400 * resolv/res_init.c (__res_vinit): When no server address at all
32401 is given default to loopback.
32402
f2ac4868
RM
324032010-08-24 Roland McGrath <roland@redhat.com>
32404
09055553
RM
32405 * configure.in: Remove config-name.h generation.
32406 * configure: Regenerated.
32407 * config-name.in: File removed.
32408 * scripts/config-uname.sh: New file.
32409 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32410 ($(objdir)config-name.h): New target.
32411
f2ac4868
RM
32412 * sunrpc/rpc_parse.h: Avoid nested comment.
32413
73f27d5e
RH
324142010-08-24 Richard Henderson <rth@redhat.com>
32415 Ulrich Drepper <drepper@redhat.com>
32416 H.J. Lu <hongjiu.lu@intel.com>
32417
32418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32420 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32421 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32422 _mm_alignr_epi8 with _mm_loadu_si128.
32423 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32424 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32425 (__m128i_shift_right): Removed.
32426 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32427 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32428 * sysdeps/x86_64/multiarch/varshift.h: New file.
32429 * sysdeps/x86_64/multiarch/varshift.S: New file.
32430
84b9230c
MF
324312010-08-21 Mike Frysinger <vapier@gentoo.org>
32432
32433 * configure.in: Move assembler checks to before sysdep dir checking.
32434
9bbd0ddc
PB
324352010-08-20 Petr Baudis <pasky@suse.cz>
32436
32437 * LICENSES: Sync the sunrpc license.
32438
9da4bb31
UD
324392010-08-19 Ulrich Drepper <drepper@redhat.com>
32440
a7ab6ec8
UD
32441 * sunrpc/auth_des.c: Update copyright notice once again.
32442 * sunrpc/auth_none.c: Likewise.
32443 * sunrpc/auth_unix.c: Likewise.
32444 * sunrpc/authdes_prot.c: Likewise.
32445 * sunrpc/authuxprot.c: Likewise.
32446 * sunrpc/bindrsvprt.c: Likewise.
32447 * sunrpc/clnt_gen.c: Likewise.
32448 * sunrpc/clnt_perr.c: Likewise.
32449 * sunrpc/clnt_raw.c: Likewise.
32450 * sunrpc/clnt_simp.c: Likewise.
32451 * sunrpc/clnt_tcp.c: Likewise.
32452 * sunrpc/clnt_udp.c: Likewise.
32453 * sunrpc/clnt_unix.c: Likewise.
32454 * sunrpc/des_crypt.c: Likewise.
32455 * sunrpc/des_soft.c: Likewise.
32456 * sunrpc/get_myaddr.c: Likewise.
32457 * sunrpc/getrpcport.c: Likewise.
32458 * sunrpc/key_call.c: Likewise.
32459 * sunrpc/key_prot.c: Likewise.
32460 * sunrpc/openchild.c: Likewise.
32461 * sunrpc/pm_getmaps.c: Likewise.
32462 * sunrpc/pm_getport.c: Likewise.
32463 * sunrpc/pmap_clnt.c: Likewise.
32464 * sunrpc/pmap_prot.c: Likewise.
32465 * sunrpc/pmap_prot2.c: Likewise.
32466 * sunrpc/pmap_rmt.c: Likewise.
32467 * sunrpc/rpc/auth.h: Likewise.
32468 * sunrpc/rpc/auth_unix.h: Likewise.
32469 * sunrpc/rpc/clnt.h: Likewise.
32470 * sunrpc/rpc/des_crypt.h: Likewise.
32471 * sunrpc/rpc/key_prot.h: Likewise.
32472 * sunrpc/rpc/netdb.h: Likewise.
32473 * sunrpc/rpc/pmap_clnt.h: Likewise.
32474 * sunrpc/rpc/pmap_prot.h: Likewise.
32475 * sunrpc/rpc/pmap_rmt.h: Likewise.
32476 * sunrpc/rpc/rpc.h: Likewise.
32477 * sunrpc/rpc/rpc_des.h: Likewise.
32478 * sunrpc/rpc/rpc_msg.h: Likewise.
32479 * sunrpc/rpc/svc.h: Likewise.
32480 * sunrpc/rpc/svc_auth.h: Likewise.
32481 * sunrpc/rpc/types.h: Likewise.
32482 * sunrpc/rpc/xdr.h: Likewise.
32483 * sunrpc/rpc_clntout.c: Likewise.
32484 * sunrpc/rpc_cmsg.c: Likewise.
32485 * sunrpc/rpc_common.c: Likewise.
32486 * sunrpc/rpc_cout.c: Likewise.
32487 * sunrpc/rpc_dtable.c: Likewise.
32488 * sunrpc/rpc_hout.c: Likewise.
32489 * sunrpc/rpc_main.c: Likewise.
32490 * sunrpc/rpc_parse.c: Likewise.
32491 * sunrpc/rpc_parse.h: Likewise.
32492 * sunrpc/rpc_prot.c: Likewise.
32493 * sunrpc/rpc_sample.c: Likewise.
32494 * sunrpc/rpc_scan.c: Likewise.
32495 * sunrpc/rpc_scan.h: Likewise.
32496 * sunrpc/rpc_svcout.c: Likewise.
32497 * sunrpc/rpc_tblout.c: Likewise.
32498 * sunrpc/rpc_util.c: Likewise.
32499 * sunrpc/rpc_util.h: Likewise.
32500 * sunrpc/rpcinfo.c: Likewise.
32501 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32502 * sunrpc/rpcsvc/key_prot.x: Likewise.
32503 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32504 * sunrpc/rpcsvc/mount.x: Likewise.
32505 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32506 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32507 * sunrpc/rpcsvc/rex.x: Likewise.
32508 * sunrpc/rpcsvc/rstat.x: Likewise.
32509 * sunrpc/rpcsvc/rusers.x: Likewise.
32510 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32511 * sunrpc/rpcsvc/spray.x: Likewise.
32512 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32513 * sunrpc/rtime.c: Likewise.
32514 * sunrpc/svc.c: Likewise.
32515 * sunrpc/svc_auth.c: Likewise.
32516 * sunrpc/svc_authux.c: Likewise.
32517 * sunrpc/svc_raw.c: Likewise.
32518 * sunrpc/svc_run.c: Likewise.
32519 * sunrpc/svc_simple.c: Likewise.
32520 * sunrpc/svc_tcp.c: Likewise.
32521 * sunrpc/svc_udp.c: Likewise.
32522 * sunrpc/svc_unix.c: Likewise.
32523 * sunrpc/svcauth_des.c: Likewise.
32524 * sunrpc/xcrypt.c: Likewise.
32525 * sunrpc/xdr.c: Likewise.
32526 * sunrpc/xdr_array.c: Likewise.
32527 * sunrpc/xdr_float.c: Likewise.
32528 * sunrpc/xdr_mem.c: Likewise.
32529 * sunrpc/xdr_rec.c: Likewise.
32530 * sunrpc/xdr_ref.c: Likewise.
32531 * sunrpc/xdr_sizeof.c: Likewise.
32532 * sunrpc/xdr_stdio.c: Likewise.
32533
9da4bb31
UD
32534 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32535 handling.
32536
bdaa77bc
AS
325372010-08-19 Andreas Schwab <schwab@redhat.com>
32538
32539 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32540
fe2f79db
LM
325412010-08-19 Luis Machado <luisgpm@br.ibm.com>
32542
32543 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32544 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32545 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32546 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32547 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32548 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32549 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32550 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32551 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32552 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32553 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32554 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32555 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32556 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32557
b9b42ee0
AB
325582010-07-26 Anton Blanchard <anton@samba.org>
32559
32560 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32561 * malloc/arena.c (heap_trim): Likewise.
32562
1c06ba31
UD
325632010-08-16 Ulrich Drepper <drepper@redhat.com>
32564
32565 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32566 here. Not...
32567 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32568 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32569
f8392f40
L
325702010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32571
32572 * sysdeps/i386/elf/Makefile: New file.
32573
3162f12e
AS
325742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32575
32576 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32577 from fanotify_init.
32578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32580
28c90b2c
UD
325812010-08-15 Ulrich Drepper <drepper@redhat.com>
32582
32583 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32584 of strncasecmp_l.
1feccb6c 32585 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32586
ca6bb004
UD
325872010-08-14 Ulrich Drepper <drepper@redhat.com>
32588
e9f82e0d
UD
32589 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32590 strncase_l-nonascii.
32591 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32592 Add strncase_l-ssse3.
32593 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32594 * sysdeps/x86_64/strcmp.S: Likewise.
32595 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32596 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32597 * sysdeps/x86_64/strncase.S: New file.
32598 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32599 * sysdeps/x86_64/strncase_l.S: New file.
32600 * string/Makefile (strop-tests): Add strncasecmp.
32601 * string/test-strncasecmp.c: New file.
32602
32603 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32604 warning.
32605
ca6bb004
UD
32606 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32607 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32608
052fa7b3
AS
326092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32610
32611 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32612
962dba78
UD
326132010-08-12 Ulrich Drepper <drepper@redhat.com>
32614
32615 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32616 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32617 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32618
bebff237
AM
326192010-05-01 Alan Modra <amodra@gmail.com>
32620
32621 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32622 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32623 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32624 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32625 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32626 tidying. Don't tail-call __sigjmp_save for static lib.
32627 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32628 save location.
32629 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32630 (CALL_MCOUNT): Add eh info, and nop after bl.
32631 (TAIL_CALL_SYSCALL_ERROR): New macro.
32632 (PSEUDO_RET): Use it.
32633 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32634 Correct save location of integer regs and cr.
32635 (_dl_profile_resolve): Correct cr save location. Delete nops
32636 after bl when SHARED. Reduce cfi size a little by better
32637 placement of cfi directives.
32638 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32639 make a stack frame. Instead use parm save area as a temp.
32640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32641 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32643 Don't make a stack frame for parent, use parm save area.
32644 Increase child stack frame to 112 bytes. Don't save unused reg,
32645 and adjust reg usage. Set up cfi on error recovery and
32646 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32648 (__makecontext): Add dummy nop after jump to exit.
32649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32650 Use correct parm save area and cr save, reduce stack frame.
32651 Correct cfi for possible PSEUDO_RET frame setup.
32652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32653 Branch to local label emitted by PSEUDO_RET rather than
32654 __syscall_error.
32655
02637374
AS
326562010-08-12 Andreas Schwab <schwab@redhat.com>
32657
32658 [BZ #11904]
32659 * locale/programs/locale.c (print_assignment): New function.
32660 (show_locale_vars): Use it.
32661
c3e2f19b
UD
326622010-08-11 Ulrich Drepper <drepper@redhat.com>
32663
3cdaa6ad
UD
32664 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32665 field.
32666 (struct statfs64): Likewise.
32667 (_STATFS_F_FLAGS): Define.
32668 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32669 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32670 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32671 (ST_VALID): Define locally.
32672 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32673 __statvfs_getflags, use the provided value.
32674 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32675 __ASSUME_STATFS_F_FLAGS.
32676
754f7da3
UD
32677 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32678
10b3bedc
UD
32679 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32680 Add sys/fanotify.h.
32681 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32682 fanotify_mask for GLIBC_2.13.
32683 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32684 fanotify_init and fanotify_mark.
32685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32686 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32687
c08fb0d7
UD
32688 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32689 Add prlimit.
32690 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32691 prlimit64 for GLIBC_2.13.
32692 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32693 prlimit64.
32694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32695 syscall.
32696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32697 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32698 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32699 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32701 add prlimit alias.
32702 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32703
15bac72b
UD
32704 [BZ #11903]
32705 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32706 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32707
c3e2f19b
UD
32708 * nss/Makefile: Add rules to build and run tst-nss-test1.
32709 * shlib-versions: Add entry for libnss_test1.
32710 * nss/nss_test1.c: New file.
32711 * nss/tst-nss-test1.c: New file.
32712
32713 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32714 (__nss_configure_lookup): Set appropriate entry in
32715 __nss_configure_lookup to true.
32716 * nss/nsswitch.h: Define enum with indeces of databases in
32717 databases and __nss_database_custom arrays. Declare
32718 __nss_database_custom.
32719 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32720 to avoid using nscd when custom rules are installed.
32721 * nss/getXXbyYY_r.c: Likewise.
32722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32723
32724 * nss/nss_files/files-parse.c: Whitespace fixes.
32725
f15ce4d8
UD
327262010-08-09 Ulrich Drepper <drepper@redhat.com>
32727
32728 [BZ #11883]
32729 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32730 * posix/fnmatch_loop.c: Likewise.
32731
d22e4cc9
AK
327322010-07-17 Andi Kleen <ak@linux.intel.com>
32733
32734 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32735 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32736 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32737 * Versions.def [GLIBC_2.13]: Add.
32738
805bc17d
UD
327392010-08-06 Ulrich Drepper <drepper@redhat.com>
32740
32741 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32742 Also fail if tpwd after pwuid call is NULL.
32743
5a42321d
ST
327442010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32745
32746 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32747 when converting to ms.
32748
fd3ebeda
ST
327492010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32750
32751 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32752 EOPNOTSUPP errors with ENOTTY.
32753 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32754 EOPNOTSUPP errors with ENOTTY.
32755
73507d3a
UD
327562010-07-31 Ulrich Drepper <drepper@redhat.com>
32757
32758 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32759 Add strcasecmp_l-ssse3.
32760 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32761 strcasecmp.
32762 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32763 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32764 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32765
fe36dd02
UD
327662010-07-30 Ulrich Drepper <drepper@redhat.com>
32767
66f6765a
UD
32768 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32769
42e08a54
UD
32770 * string/Makefile (strop-tests): Add strcasecmp.
32771 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32772 strcasecmp_l-nonascii.
32773 (gen-as-const-headers): Add locale-defines.sym.
32774 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32775 * sysdeps/x86_64/strcasecmp.S: New file.
32776 * sysdeps/x86_64/strcasecmp_l.S: New file.
32777 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32778 * sysdeps/x86_64/locale-defines.sym: New file.
32779 * string/test-strcasecmp.c: New file.
32780
fe36dd02
UD
32781 * string/test-strcasestr.c: Test both ends of the range of characters.
32782 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32783
48cbc0d6
RM
327842010-07-29 Roland McGrath <roland@redhat.com>
32785
76e6d6bc 32786 [BZ #11856]
48cbc0d6
RM
32787 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32788
880113d9
UD
327892010-07-27 Ulrich Drepper <drepper@redhat.com>
32790
32791 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32792 for ld.so.
32793
deb9cabb
AS
327942010-07-27 Andreas Schwab <schwab@redhat.com>
32795
32796 * manual/memory.texi (Malloc Tunable Parameters): Document
32797 M_PERTURB.
32798
1c7570ff
RM
327992010-07-26 Roland McGrath <roland@redhat.com>
32800
32801 [BZ #11840]
32802 * configure.in (-fgnu89-inline check): Set and substitute
32803 gnu89_inline, not libc_cv_gnu89_inline.
32804 * configure: Regenerated.
32805 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32806
24fb0f88
UD
328072010-07-26 Ulrich Drepper <drepper@redhat.com>
32808
32809 * string/test-strnlen.c: New file.
32810 * string/Makefile (strop-tests): Add strnlen.
32811 * string/tester.c (test_strnlen): Add a few more test cases.
32812 * string/tst-strlen.c: Better error reporting.
32813
32814 * sysdeps/x86_64/strnlen.S: New file.
32815
8e96b93a
UD
328162010-07-24 Ulrich Drepper <drepper@redhat.com>
32817
32818 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32819 lower-latency instructions.
32820
dbc676d4
UD
328212010-07-23 Ulrich Drepper <drepper@redhat.com>
32822
32823 * string/test-strcasestr.c: New file.
32824 * string/test-strstr.c: New file.
32825 * string/Makefile (strop-tests): Add strstr and strcasestr.
32826 * string/str-two-way.h: Don't undefine MAX.
32827 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32828
f6a31e0e
AS
328292010-07-21 Andreas Schwab <schwab@redhat.com>
32830
32831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32832 strcasestr-nonascii.
32833 (CFLAGS-strcasestr-nonascii.c): Define.
32834 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32836 Remove unused attribute.
32837
5dbc3b6c
RM
328382010-07-20 Roland McGrath <roland@redhat.com>
32839
32840 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32841 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32842 ld.so.cache was broken. With it, there is no way to disable dsocaps
32843 like LD_HWCAP_MASK can disable hwcaps.
32844
23d101d8
EPM
328452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32846
32847 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32848
cc9f2e47
UD
328492010-07-16 Ulrich Drepper <drepper@redhat.com>
32850
32851 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32852 call in strcasestr.
32853 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32854 __strcasestr_sse42_nonascii.
32855 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32856 strcasestr-nonascii.c.
32857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32858
77c1b069
LM
328592010-06-15 Luis Machado <luisgpm@br.ibm.com>
32860
32861 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32862 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32863 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32864 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32865
440566c3
UD
328662010-07-09 Ulrich Drepper <drepper@redhat.com>
32867
32868 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32869 fcntl.
32870
5be9d05d
AS
328712010-07-06 Andreas Schwab <schwab@redhat.com>
32872
c30b7ee2 32873 [BZ #11577]
5be9d05d
AS
32874 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32875 dl_signal_cerror.
32876
8a492a67
UD
328772010-07-06 Ulrich Drepper <drepper@redhat.com>
32878
32879 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32880 _PC_PIPE_BUF using F_GETPIPE_SZ.
32881
713df3d5
RM
328822010-07-05 Roland McGrath <roland@redhat.com>
32883
32884 * manual/arith.texi (Rounding Functions): Fix rint description
32885 implicit in round description.
32886
702e8f14
UD
328872010-07-02 Ulrich Drepper <drepper@redhat.com>
32888
32889 * elf/Makefile: Fix linking for a few tests to make recent linker
32890 happy.
32891
52ed8be9
AS
328922010-06-30 Andreas Schwab <schwab@redhat.com>
32893
32894 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32895 $(common-objpfx)libc_nonshared.a.
32896
f47c9a11
LM
328972010-06-21 Luis Machado <luisgpm@br.ibm.com>
32898
32899 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32900 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32901 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32902 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32903 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32904 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32905 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32906 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32921 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32922 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32923 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32924 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32925 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32926 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32927 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32928 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32929 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32930 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32931 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32932 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32947
6fb8cbcb
L
329482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32949
32950 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32951 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32952 * string/memmove.c (memmove): Renamed to ...
32953 (MEMMOVE): ...this. Default to memmove.
32954 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32955 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32956 (END_CHK): Define.
32957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32958 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32959 mempcpy-ssse3-back memmove-ssse3-back.
32960 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32961 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32962 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32963 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32964 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32965 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32966 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32967 * sysdeps/x86_64/multiarch/memmove.c: New file.
32968 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32969 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32970 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32971 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32972 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32974 Define.
32975 (index_Fast_Copy_Backward): Define.
32976 (HAS_ARCH_FEATURE): Define.
32977 (HAS_FAST_REP_STRING): Define.
32978 (HAS_FAST_COPY_BACKWARD): Define.
32979
4e733bac 329802010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32981
32982 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32983 Restore proper fallback handling.
32984
63c4ed22
UD
329852010-06-19 Ulrich Drepper <drepper@redhat.com>
32986
ac2b484c
UD
32987 [BZ #11701]
32988 * posix/group_member.c (__group_member): Correct checking loop.
32989
63c4ed22
UD
32990 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32991 OOM in getpwuid_r correctly. Return error number when the caller
32992 should return, otherwise -1.
32993 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32994 call returning > 0 value.
32995 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32996
765ade4b
AS
329972010-06-07 Andreas Schwab <schwab@redhat.com>
32998
32999 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33000 libc_nonshared.a from targets in modules-names.
33001
80da2e09
KS
330022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33003
33004 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33005 requires it.
33006
158db122
LM
330072010-06-10 Luis Machado <luisgpm@br.ibm.com>
33008
33009 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33010 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33011 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33013
caa78cf8
AS
330142010-06-02 Andreas Schwab <schwab@redhat.com>
33015
33016 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33017
b2ef2c01
UD
330182010-06-14 Ulrich Drepper <drepper@redhat.com>
33019
33020 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33021 and F_GETPIPE_SZ.
33022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33023 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33027 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33028
fbd643b6
RM
330292010-06-14 Roland McGrath <roland@redhat.com>
33030
33031 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33032
f32f2869
JJ
330332010-06-07 Jakub Jelinek <jakub@redhat.com>
33034
33035 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33036 __REDIRECT followed by __THROW.
33037 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33038 * posix/getopt.h (getopt): Likewise.
33039
2a50c078
EPM
330402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33041
33042 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33043 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33044 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33045 in AT_FLAGS.
33046 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33047 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33048
eb5ad2eb
LM
330492010-05-28 Luis Machado <luisgpm@br.ibm.com>
33050
33051 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33052
3c88fe1e
L
330532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33054
33055 [BZ #11640]
33056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33057 Properly check family and model.
33058
d2f73151
TY
330592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33060
33061 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33062
ebd2e13d
LM
330632010-05-24 Luis Machado <luisgpm@br.ibm.com>
33064
33065 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33066
b32b8b45
UD
330672010-05-21 Ulrich Drepper <drepper@redhat.com>
33068
33069 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33070 symbol reference.
33071
9acbe24d
AS
330722010-05-19 Andreas Schwab <schwab@redhat.com>
33073
33074 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33075 symbol reference.
33076
f0ccf6ea
AS
330772010-05-21 Andreas Schwab <schwab@redhat.com>
33078
3d04ff3a
AS
33079 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33080 and internal_recvmmsg.
33081 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33082 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33083 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33084 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33085
f0ccf6ea
AS
33086 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33087 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33088 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33089
5b08ac57
AS
330902010-05-20 Andreas Schwab <schwab@redhat.com>
33091
33092 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33093
4828935d
LM
330942010-05-17 Luis Machado <luisgpm@br.ibm.com>
33095
33096 POWER7 optimizations.
33097 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33098 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33099
373d545e
UD
331002010-05-19 Ulrich Drepper <drepper@redhat.com>
33101
33102 * version.h: Update for 2.13 development version.
33103
21a2b1ae
AS
331042010-05-12 Andrew Stubbs <ams@codesourcery.com>
33105
33106 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33107 exceptions. Return 0.
33108
3f7dcb2b
RM
331092010-05-07 Roland McGrath <roland@redhat.com>
33110
33111 * elf/ldconfig.c (main): Add a const.
33112
5f24d53a 331132010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33114
a160f8d8
UD
33115 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33116 (args_options): Add no-idn option.
33117 (ahosts_keys_int): Add idn_flags to ai_flags.
33118 (parse_option): Handle 'i' option to clear idn_flags.
33119
5f24d53a
UD
33120 * malloc/malloc.c (_int_free): Possible race in the most recently
33121 added check. Only act on the data if no current modification
33122 happened.
265bb1ce
UD
33123
33124See ChangeLog.17 for earlier changes.