]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use static link by default for --disable-shared
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ced6f16e
L
12012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2
94b32c39
L
3 [BZ #13679]
4 * Makeconfig (+link): Defined as $(+link-static) if
5 $(build-shared) isn't yes.
6 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7 isn't yes.
8 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9
189e935b
L
10 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11
ced6f16e
L
12 [BZ #14562]
13 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14 new chunk size with MALLOC_ALIGN_MASK.
15
a9f8e53a
JM
162012-09-24 Joseph Myers <joseph@codesourcery.com>
17
18 [BZ #5044]
19 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20 <rounding-mode.h>.
21 (__printf_fphex): Determine rounding using get_rounding_mode and
22 round_away.
23 * stdio-common/tst-printf-round.c (struct hex_test): New
24 structure.
25 (hex_tests): New variable.
26 (test_hex_in_one_mode): New function.
27 (do_test): Also run tests for hex float output.
28
43153109
JM
292012-09-21 Joseph Myers <joseph@codesourcery.com>
30
31 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39
8a26625d
JM
402012-09-20 Joseph Myers <joseph@codesourcery.com>
41
42 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46
f3fd569c
DL
472012-09-19 Dmitry V. Levin <ldv@altlinux.org>
48
49 [BZ #14579]
50 * elf/rtld.c (dl_main): Limit the check for self loading to normal
51 mode only.
52 * elf/tst-rtld-load-self.sh: New test.
53 * elf/Makefile: Run it.
54
63bbedd4
JM
552012-09-18 Joseph Myers <joseph@codesourcery.com>
56
57 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58 (tst-writev-ENV): Remove.
59 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60
626f8b6a
CM
612012-09-17 Chris Metcalf <cmetcalf@tilera.com>
62
63 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
64
b7aaa4d6
JM
652012-09-17 Joseph Myers <joseph@codesourcery.com>
66
67 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
68 unconditional.
69 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
70 Likewise.
71 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
72 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
73 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
74 Likewise.
75
65513990
L
762012-09-14 H.J. Lu <hongjiu.lu@intel.com>
77
78 [BZ #14587]
79 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
80 * config.make.in (have-cpp-asm-debuginfo): Removed.
81 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
82 * configure: Regenerated.
83
784761be
JM
842012-09-14 Joseph Myers <joseph@codesourcery.com>
85
86 [BZ #5044]
87 * stdio-common/printf_fp.c: Include <stdbool.h> and
88 <rounding-mode.h>.
89 (___printf_fp): Determine rounding using get_rounding_mode and
90 round_away.
91 * stdio-common/tst-printf-round.c: New file.
92 * stdio-common/Makefile (tests): Add tst-printf-round.
93 (link-libm): New variable.
94 ($(objpfx)tst-printf-round): Depend in $(link-libm).
95
9503345f
L
962012-09-13 H.J. Lu <hongjiu.lu@intel.com>
97
98 [BZ #14576]
99 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
100 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
101 Likewise.
102 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
103 Likewise.
104
ad35fc00
JM
1052012-09-13 Joseph Myers <joseph@codesourcery.com>
106
107 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
108 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
109 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
110 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
111
6c9b0f68
JM
1122012-09-12 Joseph Myers <joseph@codesourcery.com>
113
114 [BZ #14518]
115 * include/rounding-mode.h: New file.
116 * sysdeps/generic/get-rounding-mode.h: Likewise.
117 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
118 * stdlib/strtod_l.c: Include <rounding-mode.h>.
119 (MAX_VALUE): New macro.
120 (MIN_VALUE): Likewise.
121 (overflow_value): New function.
122 (underflow_value): Likewise.
123 (round_and_return): Use overflow_value and underflow_value to
124 determine return values in overflow and underflow cases. Use
125 round_away to determine rounding depending on rounding mode.
126 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
127 determine return values in overflow and underflow cases.
128 * stdlib/tst-strtod-round.c: Include <fenv.h>.
129 (struct test_results): New structure.
130 (struct test): Use struct test_results to store expected results
131 for all rounding modes.
132 (TEST): Include expected results for all rounding modes.
133 (test_in_one_mode): New function.
134 (do_test): Use test_in_one_mode to compute and check results.
135 Check results for all rounding modes.
136 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
137 $(link-libm).
138
19fcedd5
AM
1392012-12-09 Allan McRae <allan@archlinux.org>
140
141 * sysdeps/i386/fpu/libm-test-ulps: Update
142
8bbfd2f1
JM
1432012-09-11 Joseph Myers <joseph@codesourcery.com>
144
145 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
146 (_G_int32_t): Likewise.
147 (_G_uint16_t): Likewise.
148 (_G_uint32_t): Likewise.
149 (_G_HAVE_BOOL): Likewise.
150 (_G_HAVE_ATEXIT): Likewise.
151 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
152 (_G_HAVE_IO_FILE_OPEN): Likewise.
153 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
154 (_G_int32_t): Likewise.
155 (_G_uint16_t): Likewise.
156 (_G_uint32_t): Likewise.
157 (_G_HAVE_BOOL): Likewise.
158 (_G_HAVE_ATEXIT): Likewise.
159 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
160 (_G_HAVE_IO_FILE_OPEN): Likewise.
161 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
162 (_G_int32_t): Likewise.
163 (_G_uint16_t): Likewise.
164 (_G_uint32_t): Likewise.
165 (_G_HAVE_BOOL): Likewise.
166 (_G_HAVE_ATEXIT): Likewise.
167 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
168 (_G_HAVE_IO_FILE_OPEN): Likewise.
169
b1dc5912
L
1702012-09-11 H.J. Lu <hongjiu.lu@intel.com>
171
172 * csu/libc-tls.c: Update copyright years.
173
0e886ef9
JM
1742012-09-10 Joseph Myers <joseph@codesourcery.com>
175
28361c5e
JM
176 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
177 [!_G_USING_THUNKS]: Remove conditional code.
178 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
179 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
180
0e886ef9
JM
181 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
182 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
183 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
184 (_G_VTABLE_LABEL_PREFIX): Likewise.
185 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
186 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
187 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
188 (_G_VTABLE_LABEL_PREFIX): Likewise.
189 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
190 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
191 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
192 (_G_VTABLE_LABEL_PREFIX): Likewise.
193 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
194
bcba7aa2
L
1952012-09-10 H.J. Lu <hongjiu.lu@intel.com>
196
197 * libio/Makefile: Include ../Makeconfig before tests.
198 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
199 only if $(build-shared) is yes.
200
06585ee8
L
201 * iconv/gconv_db.c: Update copyright years.
202
80ccd52c
LD
2032012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
204
205 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
206 unwind info if defined PIC. Fix special cases description.
207 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
208
209 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
210 DP_HI_MASK entry.
211 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
212
691bc9c1
L
2132012-09-07 H.J. Lu <hongjiu.lu@intel.com>
214
3d9b46b3
L
215 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
216
de2139a9
L
217 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
218 is NULL.
219
5ca78dd0
L
220 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
221 (LDLIBS-tst-chk4): This.
222 (LDFLAGS-tst-chk5): Renamed to ...
223 (LDLIBS-tst-chk5): This.
224 (LDFLAGS-tst-chk6): Renamed to ...
225 (LDLIBS-tst-chk6): This.
226 (LDFLAGS-tst-lfschk4): Renamed to ...
227 (LDLIBS-tst-lfschk4): This.
228 (LDFLAGS-tst-lfschk5): Renamed to ...
229 (LDLIBS-tst-lfschk5): This.
230 (LDFLAGS-tst-lfschk6): Renamed to ...
231 (LDLIBS-tst-lfschk6): This.
232
691bc9c1
L
233 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
234 on $(common-objpfx)soversions.mk.
235
65cafb1c
JM
2362012-09-07 Joseph Myers <joseph@codesourcery.com>
237
238 [BZ #10014]
239 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
240 example host name.
241
c78ab094
SP
2422012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
243
244 * malloc/arena.c (arena_get_retry): New function that gets
245 another arena for the caller to try its request on.
246 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
247 current arena cannot fulfill the request.
248 (__libc_memalign): Likewise.
249 (__libc_memalign): Likewise.
250 (__libc_pvalloc): Likewise.
251 (__libc_calloc): Likewise.
252
01f49f59
JT
2532012-09-05 John Tobey <john.tobey@gmail.com>
254
255 [BZ #13542]
256 * manual/arith.texi (Operations on Complex): Fix description
257 of carg branch cut.
258
4c23fed5
JM
2592012-09-06 Joseph Myers <joseph@codesourcery.com>
260
1d3c8572
JM
261 [BZ #10014]
262 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
263 host name.
264
4c23fed5
JM
265 [BZ #10038]
266 * manual/memory.texi (Memory): Make order of menu items match
267 order of sections.
268
04570aaa
L
2692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
270
271 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
272 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
273 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
274
b80af2f4
L
2752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
276
277 * csu/libc-tls.c (static_dtv): Renamed to ...
278 (_dl_static_dtv): This. Make it global.
279 (_dl_initial_dtv): Removed.
280 (__libc_setup_tls): Updated.
281 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
282 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
283 DL_INITIAL_DTV.
284
2abe9f15
PM
2852012-09-06 Petr Machata <pmachata@redhat.com>
286
287 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
288 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
289 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
290 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
291
0948c3af
L
2922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
293
294 [BZ #14545]
295 * csu/libc-tls.c (_dl_initial_dtv): New variable.
296 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
297 freeing dtv[-1].
298
a5055ad1
L
2992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
300
301 [BZ #14544]
302 * Makeconfig (link-static-before-libc): Replace $(+prector)
303 with $(+prectorT).
304 (link-static-after-libc): Replace $(+postctor) with
305 $(+postctorT).
306 (link-bounded): Replace $(+prector)/$(+postctor) with
307 $(+prectorT)/$(+postctorT).
308 (+prectorT): New macro.
309 (+postctorT): Likewise.
310
ed8c2ecd
JM
3112012-09-06 Joseph Myers <joseph@codesourcery.com>
312
313 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
314 (round_str): Handle values above the maximum for IBM long double
315 as inexact.
316 * stdlib/tst-strtod-round.c (tests): Regenerated.
317
14c996c8
AK
3182012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
319
320 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
321 assembler flag.
322 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
323 zarch_nohighgprs around the zarch optimized routines.
324 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
325 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
326 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
327 for zarch.
328
430d6ce6
DM
3292012-09-05 David S. Miller <davem@davemloft.net>
330
331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
332
ff04dda4
DM
333 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
334 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
335 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
336 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
337 entries.
338
24d4e01b
AO
3392012-09-05 Alexandre Oliva <aoliva@redhat.com>
340
341 * malloc/arena.c: Fold copyright years.
342 * malloc/mcheck.c, malloc/memusage.c: Likewise.
343
61d58174
AO
3442012-09-05 Alexandre Oliva <aoliva@redhat.com>
345
346 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
347
20196a5e
AO
3482012-09-05 Alexandre Oliva <aoliva@redhat.com>
349
350 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
351
5c447383
AO
3522012-09-05 Alexandre Oliva <aoliva@redhat.com>
353
354 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
355 change internal state upon failure.
356
fad64255
AO
3572012-09-05 Alexandre Oliva <aoliva@redhat.com>
358
359 * malloc/mcheck.c (mcheck_check_all): Fix typo.
360 * malloc/memusage.c (mmap): Likewise.
361 (mmap64, mremap): Likewise. Adjust name in comment.
362
1ffb8c90
SP
3632012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
364
365 * libio/fileops.c: Fix typos in comments.
366 * libio/oldfileops.c: Likewise.
367 * libio/wfileops.c: Likewise.
368
6ef9cc37
SP
3692012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
370
371 [BZ #1349]
372 * malloc/Makefile (tests): Add tst-malloc-usable test case.
373 (tst-malloc-usable-ENV): Set environment for test case.
374 * malloc/hooks.c (malloc_check_get_size): New function to get
375 requested size.
376 * malloc/malloc.c (musable): Use malloc_check_get_size.
377 * malloc/tst-malloc-usable.c: New test case.
378
4d038ae3
AS
3792012-09-05 Andreas Schwab <schwab@linux-m68k.org>
380
381 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
382
c4e85184
AM
3832012-09-05 Allan McRae <allan@archlinux.org>
384
b9dafc56 385 [BZ #13966]
c4e85184
AM
386 * configure.in (CXX_SYSINCLUDES): Use compiler output to
387 determine header location.
388 * configure: Regenerated.
389
e1343020
AS
3902012-09-05 Andreas Schwab <schwab@linux-m68k.org>
391
392 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
393 float format.
394 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
395 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
396 format.
e1343020
AS
397 (test): Regenerate.
398
0a9f1987
DM
3992012-09-04 David S. Miller <davem@davemloft.net>
400
401 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
402 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
403 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
404
29237804
FW
4052012-09-04 Florian Weimer <fweimer@redhat.com>
406
407 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
408 failures.
409
edb3cb88
FW
410 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
411
60160d83
JM
4122012-09-04 Joseph Myers <joseph@codesourcery.com>
413
414 [BZ #9914]
415 * libio/iogetdelim.c: Include <limits.h>.
416 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
417 + len + 1 would overflow.
418
bcd6c8dc
AJ
4192012-09-03 Andreas Jaeger <aj@suse.de>
420
421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
422 * sysdeps/i386/fpu/libm-test-ulps: Update.
423
4ffffbd2
LD
4242012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
425
426 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
427 Add s_sinf-sse2, s_conf-sse2.
428
429 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
430 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
431 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
432 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
433
434 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
435 for using routine as __sinf_ia32.
436 Use macro for function declaration and weak_alias.
437 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
438 for using routine as __cosf_ia32.
439 Use macro for function declaration and weak_alias.
440
441 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
442 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
443
444 * sysdeps/x86_64/fpu/s_sinf.S: New file.
445 * sysdeps/x86_64/fpu/s_cosf.S: New file.
446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
447
448 * math/libm-test.inc (cos_test): Add more test cases.
449 (sin_test): Likewise.
450 (sincos_test): Likewise.
451
511fa286
AK
4522012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
453
454 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
455 (IFUNC_RESOLVE): Make pointers to the specialized implementations
456 hidden.
457 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
458
5f30cfec
L
4592012-09-02 H.J. Lu <hongjiu.lu@intel.com>
460
461 [BZ #14538]
462 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
463 first element of the GOT.
464 (elf_machine_load_address): Return the difference between
465 the runtime address of _DYNAMIC and elf_machine_dynamic ().
466
0786794f
AM
4672012-09-01 Allan McRae <allan@archlinux.org>
468
5f30cfec
L
469 [BZ #13412]
470 * configure.in (AWK): Require gawk version 3.0 or later.
471 * configure: Regenerated.
0786794f 472
26889eac
JM
4732012-09-01 Joseph Myers <joseph@codesourcery.com>
474
475 * sysdeps/unix/sysv/linux/kernel-features.h
476 (__ASSUME_POSIX_CPU_TIMERS): Remove.
477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
478 [__NR_clock_getres]: Make code unconditional.
479 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
480 (clock_getcpuclockid): Remove code left unreachable by removal of
481 conditionals.
482 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
483 code unconditional.
484 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
485 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
486 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
487 Make code unconditional.
488 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
489 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
490 * sysdeps/unix/sysv/linux/clock_settime.c
491 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
492 conditional code.
493 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
494 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
495
d22e28b0
L
4962012-08-29 H.J. Lu <hongjiu.lu@intel.com>
497
498 [BZ #14476]
499 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
500 scripts/test-installation.pl.
501
502 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
503 and $ld_so_version if it is set.
504
050af9c4
SP
5052012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
506
507 [BZ #14516]
508 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
509 failure if reading from procfs failed.
510 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
511
ad845c0b
JM
5122012-08-27 Joseph Myers <joseph@codesourcery.com>
513
514 * sysdeps/unix/sysv/linux/kernel-features.h
515 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
516 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
517 Remove conditional code.
518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
519 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
520 Remove conditional code.
521 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
522 * sysdeps/unix/sysv/linux/i386/fxstat.c
523 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
524 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
525 * sysdeps/unix/sysv/linux/i386/fxstatat.c
526 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
527 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
528 * sysdeps/unix/sysv/linux/i386/lxstat.c
529 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
530 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
531 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
532 Remove conditional code.
533 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
534 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
535 Remove conditional code.
536 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
537 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
538 <kernel-features.h>.
539 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
540 Remove.
541 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
542 Remove conditional code.
543 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
544 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
545 Remove conditional.
546
5dbf56af
MF
5472012-08-27 Mike Frysinger <vapier@gentoo.org>
548
549 [BZ #5400]
550 * NEWS: Add fixed bug number.
551
d6e70f43
JM
5522012-08-27 Joseph Myers <joseph@codesourcery.com>
553
7efb4737
JM
554 [BZ #14519]
555 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
556 underflowing exponent in case of negative sign.
557 * stdlib/tst-strtod-round-data: Add more tests.
558 * stdlib/tst-strtod-round.c (tests): Regenerated.
559
af92131a
JM
560 [BZ #3479]
561 * stdlib/strtod_l.c (NDIG): Remove.
562 (HEXNDIG): Likewise.
563 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
564 smallest representable value.
565 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
566 lie within an exact representation of 1/2 ulp of the result.
567 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
568 unconditionally.
569 (TENS_P9_IDX): Define unconditionally.
570 (TENS_P9_SIZE): Likewise.
571 (TENS_P10_IDX): Likewise.
572 (TENS_P10_SIZE): Likewise.
573 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
574 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
575 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
576 entries for 10^2^13 and 10^2^14.
577 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
578 (TENS_P13_IDX): Define.
579 (TENS_P13_SIZE): Likewise.
580 (TENS_P14_IDX): Likewise.
581 (TENS_P14_SIZE): Likewise.
582 (_fpioconst_pow10): Change array size to
583 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
584 unconditional.
585 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
586 1024]: Add entries for 10^2^13 and 10^2^14.
587 [LAST_POW10 > _LAST_POW10]: Remove #error.
588 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
589 (_fpioconst_pow10): Change array size to
590 FPIOCONST_POW10_ARRAY_SIZE.
591 * stdlib/gen-fpioconst.c: New file.
592 * stdlib/gen-tst-strtod-round.c: Likewise.
593 * stdlib/tst-strtod-round-data: Likewise.
594 * stdlib/tst-strtod-round.c: Likewise.
595 * stdlib/Makefile (tests): Add tst-strtod-round.
596
d6e70f43
JM
597 [BZ #14459]
598 * stdlib/strtod_l.c: Include <stdint.h>.
599 (NDEBUG): Do not define.
600 (round_and_return): Change EXPONENT parameter to type intmax_t.
601 Rearrange calculations to avoid internal overflow possibilities.
602 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
603 Rearrange calculations to avoid internal overflow possibilities.
604 Assert that number fits inside MPNSIZE limbs.
605 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
606 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
607 calculations and add assertions to avoid internal overflow
608 possibilities. Add casts to avoid signed/unsigned operations.
609 * stdlib/tst-strtod-overflow.c: New file.
610 * stdlib/Makefile (tests): Add tst-strtod-overflow.
611
1f529f7d
MP
6122012-08-25 Marek Polacek <polacek@redhat.com>
613
614 * time/time.h: Fix some typos in comments.
615
59a629f1
RM
6162012-08-23 Roland McGrath <roland@hack.frob.com>
617
618 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
619 * posix/tst-rfc3484-2.c: Likewise.
620 * posix/tst-rfc3484-3.c: Likewise.
621
d3bafbc9
SM
6222012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
623
624 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
625 (EF_ARM_ABI_FLOAT_HARD): Likewise.
626
4efcc022
JM
6272012-08-23 Joseph Myers <joseph@codesourcery.com>
628
629 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
630 #include of fxstatat64.c.
631
3cc3ef96
RM
6322012-08-22 Roland McGrath <roland@hack.frob.com>
633
f04e2132
RM
634 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
635 * shadow/getspent_r.c: Likewise.
636 * shadow/getspnam.c: Likewise.
637 * shadow/getspnam_r.c: Likewise.
638 * gshadow/getsgent.c: Likewise.
639 * gshadow/getsgent_r.c: Likewise.
640 * gshadow/getsgnam.c: Likewise.
641 * gshadow/getsgnam_r.c: Likewise.
642 * inet/getnetbyad.c: Likewise.
643 * inet/getnetbyad_r.c: Likewise.
644 * inet/getnetbynm.c: Likewise.
645 * inet/getnetbynm_r.c: Likewise.
646 * inet/getnetent.c: Likewise.
647 * inet/getnetent_r.c: Likewise.
648 * inet/getproto.c: Likewise.
649 * inet/getproto_r.c: Likewise.
650 * inet/getprtent.c: Likewise.
651 * inet/getprtent_r.c: Likewise.
652 * inet/getprtname.c: Likewise.
653 * inet/getprtname_r.c: Likewise.
654 * inet/getrpcbyname.c: Likewise.
655 * inet/getrpcbyname_r.c: Likewise.
656 * inet/getrpcbynumber.c: Likewise.
657 * inet/getrpcbynumber_r.c: Likewise.
658 * inet/getrpcent.c: Likewise.
659 * inet/getrpcent_r.c: Likewise.
660 * inet/getaliasent.c: Likewise.
661 * inet/getaliasent_r.c: Likewise.
662 * inet/getaliasname.c: Likewise.
663 * inet/getaliasname_r.c: Likewise.
664 * nscd/getgrgid_r.c: Likewise.
665 * nscd/getgrnam_r.c: Likewise.
666 * nscd/gethstbyad_r.c: Likewise.
667 * nscd/gethstbynm3_r.c: Likewise.
668 * nscd/getpwnam_r.c: Likewise.
669 * nscd/getpwuid_r.c: Likewise.
670 * nscd/getsrvbynm_r.c: Likewise.
671 * nscd/getsrvbypt_r.c: Likewise.
672 * nscd/gai.c: Likewise.
673
c53d909c
RM
674 * configure.in (build_nscd): New substituted variable, set
675 by --disable-build-nscd and defaults to $use_nscd.
676 * configure: Regenerated.
677 * config.make.in (build-nscd): New substituted variable.
678 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
679 Change conditional to require [$(build-nscd) = yes] as well.
680 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
681
3cc3ef96
RM
682 [BZ# 13696]
683 * configure.in (use_nscd): New substituted variable, set by
684 --disable-nscd. If enabled, define USE_NSCD.
685 * configure: Regenerated.
686 * config.h.in: Add USE_NSCD.
687 * config.make.in (use-nscd): New substituted variable.
688 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
689 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
690 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
691 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
692 (CFLAGS-getgrnam_r.c): Likewise.
693 (CFLAGS-initgroups.c): Likewise.
694 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
695 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
696 Variables removed.
697 * inet/getnetgrent_r.c
698 (nscd_setnetgrent): New function, broken out of ...
699 (setnetgrent): ... here. Call it.
700 (innetgr): Conditionalize nscd bits on [USE_NSCD].
701 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
702 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
703 * nscd/Makefile (routines, aux): Move definitions after include of
704 Makeconfig. Conditionalize on [$(use-nscd) != no].
705 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
706 Conditionalize on [USE_NSCD].
707 (is_nscd, nscd_init_cb): Likewise.
708 (nss_load_library): Conditionalize init callback on [USE_NSCD].
709 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
710 * nss/nss_db/db-init.c: Likewise.
711 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
712 [USE_NSCD].
713 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
714 (make_request): Use it.
715 (cache_valid_p): New function.
716 (__check_pf): Use it.
717 * NEWS: Add item for --disable-nscd.
718
07e51550
DL
7192012-08-22 Dmitry V. Levin <ldv@altlinux.org>
720
721 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
722 to support sed >= 4.2.1-20-ga9bf076.
723 * configure: Regenerated.
724
35a5b08b
RM
7252012-08-22 Roland McGrath <roland@hack.frob.com>
726
727 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
728 Conditionalize whole body on [IREL].
729
8479f23a
JL
7302012-08-22 Jeff Law <law@redhat.com>
731
732 [BZ #14505]
733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
734 if the family is PF_UNSPEC.
735
48da0b21
MF
7362012-08-22 Mike Frysinger <vapier@gentoo.org>
737
738 * Makerules (lib-version): Rename from V.
739 (install-lib-nosubdir): Change V to lib-version.
740
15d0da8c
WS
7412012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
742
743 [BZ #14252]
744 * powerpc32/power6/wcschr.c: New file.
745 * powerpc32/power6/wcscpy.c: New file.
746 * powerpc32/power6/wcsrchr.c: New file.
747 * powerpc64/power6/wcschr.c: New file.
748 * powerpc64/power6/wcscpy.c: New file.
749 * powerpc64/power6/wcsrchr.c: New file.
750
bcca0895
MK
7512012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
752
753 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
754 (two_way_short_needle): Use it.
5a4aaa33
RM
755 * string/strstr.c (AVAILABLE1_USES_J): Define.
756 * string/strcasestr.c: Likewise.
99677e57
MK
757
758 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
759 array references.
760 * string/strcasestr.c (TOLOWER): Make side-effect safe.
761
400726de
MK
762 [BZ #11607]
763 * NEWS: Add an entry.
764 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
765 define their defaults.
766 (two_way_short_needle): Detect end-of-string on-the-fly.
767 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
768 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
769 * string/bug-strcasestr1.c: New test.
770 * string/Makefile: Run it.
771
20a71f2c
MK
7722012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
773
774 [BZ #11607]
775 * string/str-two-way.h (two_way_short_needle): Optimize matching of
776 the first character.
777
21ad0558
RM
7782012-08-21 Roland McGrath <roland@hack.frob.com>
779
780 * csu/elf-init.c (__libc_csu_irel): Function removed.
781 * csu/libc-start.c (apply_irel): New function.
782 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
783
0e1d9911
JM
7842012-08-21 Joseph Myers <joseph@codesourcery.com>
785
786 * sysdeps/unix/sysv/linux/kernel-features.h
787 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
788 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
789 <kernel-features.h>.
790 [__NR_fadvise64_64]: Make code unconditional.
791 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
792 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
793 !__NR_fadvise64_64)]: Likewise.
794 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
795 !__NR_fadvise64_64))]: Likewise.
796 [__NR_fadvise64]: Make code unconditional.
797 [!__NR_fadvise64]: Remove conditional code.
798 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
799 <kernel-features.h>.
800 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
801 unconditional.
802 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
803 conditional code.
804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
805 not include <kernel-features.h>.
806 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
807 unconditional.
808 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
809 conditional code.
810 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
811 include <kernel-features.h>.
812 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
813 unconditional.
814 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
815 conditional code.
816
14a50c9d
WS
8172012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
818
819 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
820 slight instruction rearrangements per scrollpipe analysis.
821 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
822
c0f4faf0
RM
8232012-08-20 Roland McGrath <roland@hack.frob.com>
824
696da859
RM
825 * manual/syslog.texi (syslog; vsyslog, closelog):
826 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
827 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
828
c0f4faf0
RM
829 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
830 DSOCAPS to match condition on defining it.
831
348363b2
JM
8322012-08-20 Joseph Myers <joseph@codesourcery.com>
833
a35cbf28
JM
834 * sysdeps/unix/sysv/linux/kernel-features.h
835 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
837 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
838 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
840 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
841 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
843 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
844 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
845
445f7ecd
JM
846 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
847 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
848
348363b2
JM
849 * sysdeps/unix/sysv/linux/kernel-features.h
850 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
851 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
852 unconditional.
853 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
854 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
855 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
856 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
857 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
858 Make code unconditional.
859 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
860 (__mmap64) [!__NR_mmap2]: Likewise.
861 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
862 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
863 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
864 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
865 [__NR_mmap2]: Make code unconditional.
866 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
867 (__mmap64) [!__NR_mmap2]: Likewise.
868
bc5bc0e5
AK
8692012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
870
871 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
872
88d506de
AJ
8732012-08-18 Andreas Jaeger <aj@suse.de>
874
875 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
876
493387d2
MF
8772012-08-18 Mike Frysinger <vapier@gentoo.org>
878
879 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
880 * include/unistd.h (__have_sock_cloexec): Likewise.
881 (__have_pipe2): Likewise.
882 (__have_dup3): Likewise.
883
a277af22
MF
8842012-08-18 Mike Frysinger <vapier@gentoo.org>
885
886 [BZ #9685]
887 * include/unistd.h (__have_pipe2): Change define into an extern int.
888 (__have_dup3): Likewise.
889 * socket/have_sock_cloexec.c: Include fcntl.h.
890 (__have_pipe2): New variable.
891 (__have_dup3): Likewise.
892
fdab8fd3
MF
8932012-08-17 Mike Frysinger <vapier@gentoo.org>
894
895 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
896
31035e80
MP
8972012-08-17 Marek Polacek <polacek@redhat.com>
898
899 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
900 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
901
3bd9e993
RM
9022012-08-17 Roland McGrath <roland@hack.frob.com>
903
c91c505f
RM
904 * configure.in: Add AC_SUBST for sysheaders.
905 * configure: Regenerated.
906 * config.make.in (sysheaders): New substituted variable.
907
7c6f9d53
RM
908 * sysdeps/unix/mkfifo.c: Moved ...
909 * sysdeps/posix/mkfifo.c: ... here.
910 * sysdeps/unix/mkfifoat.c: Moved ...
911 * sysdeps/posix/mkfifoat.c: ... here.
912
913 * sysdeps/unix/utime.c: Moved ...
914 * sysdeps/posix/utime.c: ... here.
915
916 * sysdeps/unix/time.c: Moved ...
917 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
918 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
919 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
920
921 * sysdeps/unix/nice.c: Moved ...
922 * sysdeps/posix/nice.c: ... here.
923
924 * sysdeps/unix/alarm.c: Moved ...
925 * sysdeps/posix/alarm.c: ... here.
926
3bd9e993
RM
927 * intl/Makefile ($(codeset_mo)): Depend on the input file.
928
d1f09384
JL
9292012-08-17 Jeff Law <law@redhat.com>
930
931 * intl/Makefile (codeset_mo): New variable.
932 ($(codeset_mo)): New target.
933 (tst-codeset.out): Depend on that. Remove explicit rule.
934 (tst-gettext3.out, tst-gettext5.out): Likewise.
935 (LOCPATH-ENV, tst-codeset-ENV): New variables.
936 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
937 * intl/tst-codeset.sh: Remove.
938 * intl/tst-gettext3.sh: Likewise.
939 * intl/tst-gettext5.sh: Likewise.
940
2ae1ae5c
RM
9412012-08-17 Roland McGrath <roland@hack.frob.com>
942
c31fdb83
RM
943 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
944 * sysdeps/unix/syscalls.list: ... here.
945
a0844057
RM
946 * sysdeps/posix/getaddrinfo.c
947 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
948 (gaiconf_init, gaiconf_reload): Use them.
949 [!_STATBUF_ST_NSEC]
950 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
951 Define using time_t rather than struct timespec.
952
750c1f2a
RM
953 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
954 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
955 Macros removed.
956 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
957 [!NO_THREADS].
958 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
959 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
960 Likewise.
961
2ae1ae5c
RM
962 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
963 __libc_cleanup_push argument.
964
e66a42f5
RM
965 * bits/param.h: New file.
966 * misc/sys/param.h: New file.
967 * include/sys/param.h: New file.
968 * misc/Makefile (headers): Add bits/param.h.
969 * sysdeps/generic/sys/param.h: File removed.
970 * sysdeps/unix/sysv/linux/bits/param.h: New file.
971 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
972 * sysdeps/mach/hurd/bits/param.h: New file.
973 * sysdeps/mach/hurd/sys/param.h: New file.
974
b7c08a66
RM
975 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
976 last change.
977
b2e1c562
RM
978 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
979 [_IO_MTSAFE_IO].
980 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
981 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
982 New macros.
983
c75ccd4c
RM
984 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
985 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
986 rather than -D_IO_MTSAFE_IO conditionally.
987 * stdio-common/Makefile (CPPFLAGS): Likewise.
988 * wcsmbs/Makefile (CPPFLAGS): Likewise.
989 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
990 Use $(libio-mtsafe).
991 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
992 of -D_IO_MTSAFE_IO.
993 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
994 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
995 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
996 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
997 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
998 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
999 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1000 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1001 (CFLAGS-fread_u_chk.c): Likewise.
1002 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1003 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1004 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1005 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1006 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1007 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1008 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1009 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1010 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1011
1012 * libio/Makefile: Test [$(libc-reentrant) = yes]
1013 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1014
1015 * Makeconfig
1016 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1017 * sysdeps/pthread/configure: File removed.
1018 * sysdeps/pthread/Makeconfig: New file.
1019 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1020 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1021
d9195db8
GB
10222012-08-16 Gary Benson <gbenson@redhat.com>
1023
1024 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1025 unmapping the first object in a namespace.
1026
86466cd9
RM
10272012-08-16 Roland McGrath <roland@hack.frob.com>
1028
1029 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1030 (__internal_setnetgrent): ... this. Add internal_function to
1031 definition. Add libc_hidden_def.
1032 (setnetgrent): Update caller.
1033 (internal_endnetgrent): Renamed to ...
1034 (__internal_endnetgrent): ... this. Add internal_function to
1035 definition. Add libc_hidden_def.
1036 (endnetgrent): Update caller.
1037 (internal_getnetgrent_r): Renamed to ...
1038 (__internal_getnetgrent_r): ... this. Add internal_function to
1039 definition. Add libc_hidden_def.
1040 (__getnetgrent_r): Update caller.
1041 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1042
c3c8283c
JM
10432012-08-16 Joseph Myers <joseph@codesourcery.com>
1044
1045 * stdlib/longlong.h: Update from GCC.
1046
db1ee0a8
RM
10472012-08-16 Roland McGrath <roland@hack.frob.com>
1048
1049 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1050 on _QL, which is set by umul_ppmm but never used.
1051 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1052 variables, which are set by GMP macros but never used.
1053 * stdio-common/_itowa.c (_itowa): Likewise.
1054 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1055 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1056
30f69637
CD
10572012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1058
1059 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1060 struct La_sh_regs is not constant.
1061 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1062 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1063 and struct La_sparc64_regs are not constant.
1064
93a78ac4
JM
10652012-08-16 Joseph Myers <joseph@codesourcery.com>
1066
1067 * sysdeps/unix/sysv/linux/kernel-features.h
1068 (__ASSUME_POSIX_TIMERS): Remove.
1069 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1070 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1071 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1072 Make code unconditional.
1073 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1074 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1075 Make code unconditional.
1076 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1077 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1078 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1079 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1080 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1081 Make code unconditional.
1082 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1083 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1084 (__libc_missing_posix_timers): Remove.
1085
dd924cd7
RM
10862012-08-15 Roland McGrath <roland@hack.frob.com>
1087
4b4f2771
RM
1088 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1089 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1090
601c888b
RM
1091 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1092
176790a7
RM
1093 * elf/dl-sym.c: Include <stdlib.h>.
1094
329bc018
RM
1095 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1096 constants, which avoids warnings in 32-bit builds.
1097
e04e272d
RM
1098 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1099 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1100
952bf94a
RM
1101 * misc/lseek.c: File moved to ...
1102 * io/lseek.c: ... here.
1103
7c99b50a
RM
1104 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1105
dd924cd7
RM
1106 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1107 shifting LEN more than 31 bits at once.
1108
b3f479a8
LD
11092012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1110
1111 [BZ #14195]
8c4ae0d4
RM
1112 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1113 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1114 * string/test-strncasecmp.c (check1): Renamed to...
1115 (bz12205): ...this.
1116 (bz14195): Add new testcase for two empty input strings and N > 0.
1117 (test_main): Call new testcase, adapt for renamed function.
1118
9c55864e
AJ
11192012-08-15 Andreas Jaeger <aj@suse.de>
1120
1121 [BZ #14090]
1122 * crypt/md5test2.c: New test, based on test supplied by Serge
1123 Belyshev <belyshev@depni.sinp.msu.ru>.
1124 * crypt/Makefile (xtests): Add md5test-giant..
1125 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1126
02dcb6c5
PE
11272012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1128
1129 [BZ #14090]
1130 * crypt/md5.c (md5_process_block): Don't assume the buffer
1131 length is less than 2**32.
1132 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1133 length is less than 2**64.
1134
a3f95dcc
RM
11352012-08-15 Roland McGrath <roland@hack.frob.com>
1136
be75d758
RM
1137 * string/str-two-way.h: Include <sys/param.h>.
1138 (MAX): Macro removed.
1139
7312ca90
RM
1140 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1141 Move #define and #undef of memmove to just before and after
1142 including <string.h>.
1143
9a0a5486
RM
1144 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1145 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1146 and after including <string.h>. Move declarations of
1147 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1148 to before #include "string/memmove.c".
1149
67cc348d
RM
1150 * include/dirent.h: Declare __getdirentries.
1151
a3f95dcc
RM
1152 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1153 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1154
ca98e171
MF
11552012-08-14 Mike Frysinger <vapier@gentoo.org>
1156
1157 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1158 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1159 * sysdeps/i386/configure: Regenerated.
1160 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1161 STABS_CURRENT_FILE, and STABS_FUN.
1162 (END): Remove call to STABS_FUN_END.
1163 (STABS_CURRENT_FILE1): Delete.
1164 (STABS_CURRENT_FILE): Likewise.
1165 (STABS_FUN): Likewise.
1166 (STABS_FUN_END): Likewise.
1167 (STABS_FUN2): Likewise.
1168 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1169 * sysdeps/x86_64/configure: Regenerated.
1170
5908bf46
RM
11712012-08-14 Roland McGrath <roland@hack.frob.com>
1172
1173 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1174 * elf/dl-lookup.c: Likewise.
5908bf46 1175
f2c05b9e
JM
11762012-08-14 Joseph Myers <joseph@codesourcery.com>
1177
1178 * sysdeps/unix/sysv/linux/kernel-features.h
1179 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
1180 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
1181 unconditionally.
1182 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
1183 unconditionally.
1184 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
1185 condition on __ASSUME_CLONE_THREAD_FLAGS.
1186
e11f5155
AJ
11872012-08-14 Andreas Jaeger <aj@suse.de>
1188
1189 * sysdeps/i386/fpu/libm-test-ulps: Update.
1190
51a9ba86
MK
11912012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
1192
2fdd4f78
AJ
1193 * include/atomic.h (atomic_exchange_and_add): Split into ...
1194 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
1195 New atomic macros.
51a9ba86 1196
ba6cba9e
MT
11972012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
1198
1199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1200
42443a47
JL
12012012-08-13 Jeff Law <law@redhat.com>
1202
1203 * manual/stdio.texi (snprintf): Clarify handling of the trailing
1204 null byte in the output string.
1205
121dce05
JM
12062012-08-10 Joseph Myers <joseph@codesourcery.com>
1207
1208 * sysdeps/unix/sysv/linux/kernel-features.h
1209 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
1210 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
1211 (__ASSUME_ARG_MAX_STACK_BASED): Define.
1212 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1213 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1214 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1215 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1216
bf51f568
JL
12172012-08-09 Jeff Law <law@redhat.com>
1218
1219 [BZ #13939]
1220 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1221 When avoid_arena is set, don't retry in the that arena. Pick the
1222 next one, whatever it might be.
1223 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1224 (arena_lock): Pass in new parameter to arena_get2.
1225 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1226 arena_get2.
1227 (__libc_malloc): Unify retrying after main arena failure with
1228 __libc_memalign version.
1229 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1230
f85fa270
L
12312012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1232
1233 [BZ #14166]
1234 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1235 to __redirect_strstr.
1236 (__strstr_sse42): Use typeof __redirect_strstr.
1237 (__strstr_ia32): Likewise.
1238 (__libc_strstr): New prototype.
1239 (strstr): Renamed to ...
1240 (__libc_strstr): This.
1241 (strstr): New strong alias of __libc_strstr.
1242 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1243 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1244 __redirect_time.
1245 Include <time.h>.
1246 (__libc_time): New prototype.
1247 (time_ifunc): Replace time with __libc_time.
1248 (time): New strong alias and hidden definition of __libc_time.
1249 (__GI_time): Remove strong alias.
1250 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1251 Include <stddef.h>.
1252 (memmove): Redefined to __redirect_memmove.
1253 (__memmove_sse2): Use typeof __redirect_memmove.
1254 (__memmove_ssse3): Likewise.
1255 (__memmove_ssse3_back): Likewise.
1256 (__libc_memmove): New prototype.
1257 (memmove): Renamed to ...
1258 (__libc_memmove): This.
1259 (memmove): New strong alias of __libc_memmove.
1260
33b4a91e
MS
12612012-08-08 Mark Salter <msalter@redhat.com>
1262
1263 * elf/elf.h
1264 (R_MN10300_TLS_GD): Define.
1265 (R_MN10300_TLS_LD): Likewise.
1266 (R_MN10300_TLS_LDO): Likewise.
1267 (R_MN10300_TLS_GOTIE): Likewise.
1268 (R_MN10300_TLS_IE): Likewise.
1269 (R_MN10300_TLS_LE): Likewise.
1270 (R_MN10300_TLS_DTPMOD): Likewise.
1271 (R_MN10300_TLS_DTPOFF): Likewise.
1272 (R_MN10300_TLS_TPOFF): Likewise.
1273 (R_MN10300_SYM_DIFF): Likewise.
1274 (R_MN10300_ALIGN): Likewise.
1275 (R_MN10300_NUM): Update.
1276
b36137f1
JM
12772012-08-08 Joseph Myers <joseph@codesourcery.com>
1278
1279 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1280 Remove.
1281
cdd915fd
RM
12822012-08-08 Roland McGrath <roland@hack.frob.com>
1283
a2433aac
RM
1284 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1285
cdd915fd
RM
1286 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1287 sysdeps/unix -> sysdeps/posix move.
1288 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1289
bf9b740a
AM
12902012-08-07 Allan McRae <allan@archlinux.org>
1291
1292 [BZ #14303]
1293 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1294 (SUNOS_CPP): Likewise.
1295 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1296 not found.
1297 (open_input): Call CPP using execvp.
1298
93df14ee
JM
12992012-08-07 Joseph Myers <joseph@codesourcery.com>
1300
1301 * sysdeps/unix/sysv/linux/kernel-features.h
1302 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1303 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1304 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1305 (__ASSUME_WAITID_SYSCALL): Likewise.
1306 * sysdeps/unix/sysv/linux/dl-execstack.c
1307 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1308 code unconditional.
1309 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1310 conditional code.
1311 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1312 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1313 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1314 code.
1315 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1316 unconditional.
1317 [__ASSUME_WAITID_SYSCALL]: Likewise.
1318 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1319
d34689de
RM
13202012-08-07 Roland McGrath <roland@hack.frob.com>
1321
a281decc
RM
1322 * sysdeps/unix/closedir.c: Renamed to ...
1323 * sysdeps/posix/closedir.c: ... here.
1324 * sysdeps/unix/dirfd.c: Renamed to ...
1325 * sysdeps/posix/dirfd.c: ... here.
1326 * sysdeps/unix/dirstream.h: Renamed to ...
1327 * sysdeps/posix/dirstream.h: ... here.
1328 * sysdeps/unix/fdopendir.c: Renamed to ...
1329 * sysdeps/posix/fdopendir.c: ... here.
1330 * sysdeps/unix/opendir.c: Renamed to ...
1331 * sysdeps/posix/opendir.c: ... here.
1332 * sysdeps/unix/readdir.c: Renamed to ...
1333 * sysdeps/posix/readdir.c: ... here.
1334 * sysdeps/unix/readdir_r.c: Renamed to ...
1335 * sysdeps/posix/readdir_r.c: ... here.
1336 * sysdeps/unix/rewinddir.c: Renamed to ...
1337 * sysdeps/posix/rewinddir.c: ... here.
1338 * sysdeps/unix/seekdir.c: Renamed to ...
1339 * sysdeps/posix/seekdir.c: ... here.
1340 * sysdeps/unix/telldir.c: Renamed to ...
1341 * sysdeps/posix/telldir.c: ... here.
1342 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1343 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1344 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1345 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1346
22895b47
RM
1347 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1348 * bits/fcntl.h: ... here.
1349
707a53b6
RM
1350 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1351 not 0.
1352 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1353 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1354 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1355 (struct flock): Move l_start, l_len to the beginning.
1356 Use __pid_t for l_pid.
1357 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1358 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1359 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1360 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1361 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1362 [__USE_LARGEFILE64] (struct flock64): New type.
1363 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1364
f0bd3e25
RM
1365 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1366 * bits/dirent.h: ... here.
1367
d34689de
RM
1368 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1369 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1370
6dad2c06
JM
13712012-08-07 Joseph Myers <joseph@codesourcery.com>
1372
1373 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1374 Change from 2.6.0 to 2.6.16.
1375 * sysdeps/unix/sysv/linux/configure: Regenerated.
1376 * sysdeps/unix/sysv/linux/kernel-features.h
1377 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1378 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1379 version.
1380 (__ASSUME_UTIMES): Likewise.
1381 (__ASSUME_CLONE_STOPPED): Remove.
1382 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1383 architectures, not kernel version.
1384 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1385 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1386 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1387 (__ASSUME_WAITID_SYSCALL): Likewise.
1388 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1389 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1390 * README: State 2.6.16 as minimum Linux kernel version. Do not
1391 refer to older versions.
1392
03af9520
RM
13932012-08-06 Roland McGrath <roland@hack.frob.com>
1394
8e49df1d
RM
1395 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1396 Define alphasort64 as an alias.
1397 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1398 Define versionsort64 as an alias.
1399 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1400 Define scandir64 as an alias.
1401 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1402 Define scandirat64 as an alias.
1403 * dirent/alphasort64.c (alphasort64):
1404 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1405 * dirent/versionsort64.c: Likewise.
1406 * dirent/scandir64.c: Likewise.
1407 * dirent/scandirat64.c: Likewise.
1408 * sysdeps/wordsize-64/alphasort.c: File removed.
1409 * sysdeps/wordsize-64/alphasort64.c: File removed.
1410 * sysdeps/wordsize-64/scandir.c: File removed.
1411 * sysdeps/wordsize-64/scandir64.c: File removed.
1412 * sysdeps/wordsize-64/scandirat.c: File removed.
1413 * sysdeps/wordsize-64/scandirat64.c: File removed.
1414 * sysdeps/wordsize-64/versionsort.c: File removed.
1415 * sysdeps/wordsize-64/versionsort64.c: File removed.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1417 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1418 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1419 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1420 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1421 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1422 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1423 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1424
1425 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1427 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1429 [defined __arch64__ || defined __sparcv9]
1430 (__INO_T_MATCHES_INO64_T): New macro.
1431 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1432 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1433 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1434 * sysdeps/unix/sysv/linux/bits/dirent.h
1435 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1436 (_DIRENT_MATCHES_DIRENT64): New macro.
1437
03af9520
RM
1438 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1439 Define lockf64 as an alias.
1440 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1441 Define fseeko64 as an alias.
1442 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1443 Define ftello64 as an alias.
1444 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1445 Define _IO_fgetpos64 and fgetpos64 as aliases.
1446 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1447 Define _IO_fsetpos64 and fsetpos64 as aliases.
1448 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1449 Conditionalize body on this.
1450 * libio/fseeko64.c: Likewise.
1451 * libio/ftello64.c: Likewise.
1452 * libio/iofgetpos64.c: Likewise.
1453 * libio/iofsetpos64.c: Likewise.
1454 * sysdeps/wordsize-64/lockf.c: File removed.
1455 * sysdeps/wordsize-64/lockf64.c: File removed.
1456 * sysdeps/wordsize-64/fseeko.c: File removed.
1457 * sysdeps/wordsize-64/fseeko64.c: File removed.
1458 * sysdeps/wordsize-64/ftello.c: File removed.
1459 * sysdeps/wordsize-64/ftello64.c: File removed.
1460 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1461 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1462 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1463 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1464 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1465 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1466 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1467 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1468 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1469 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1470 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1471 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1472 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1473 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1474
1475 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1476 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1477 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1478 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1479 [defined __arch64__ || defined __sparcv9]
1480 (__OFF_T_MATCHES_OFF64_T): New macro.
1481 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1482 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1484 (__OFF_T_MATCHES_OFF64_T): New macro.
1485
c5757acd
L
14862012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1487
1488 * stdlib/secure-getenv.c (__secure_getenv): Replace
1489 GLIBC_2_16 with GLIBC_2_17.
1490
3a31811e
L
14912012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1492
1493 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1494 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1495
faa2bccb
DM
14962012-08-03 David S. Miller <davem@davemloft.net>
1497
1498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1499
85fe1997
JM
15002012-08-03 Joseph Myers <joseph@codesourcery.com>
1501
1502 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1503 Remove.
1504 (__ASSUME_CORRECT_SI_PID): Likewise.
1505 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1506 (__ASSUME_TMPFS_NAME): Likewise.
1507 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1508 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1509 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1510 (HAVE_AUX_SECURE): Make definition unconditional.
1511 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1512 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1513
4f75b7a0
RM
15142012-08-03 Roland McGrath <roland@hack.frob.com>
1515
1516 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1517 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1518 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1519 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1520 __eloop_threshold instead of SYMLOOP_MAX.
1521
1522 * sysdeps/generic/eloop-threshold.h: New file.
1523 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1524 of MAXSYMLINKS.
1525 * elf/chroot_canon.c (chroot_canon): Likewise.
1526
7aab07e4
JM
15272012-08-03 Joseph Myers <joseph@codesourcery.com>
1528
1529 [BZ #13717]
1530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1531 Change to 2.6.0 everywhere.
1532 * sysdeps/unix/sysv/linux/configure: Regenerated.
1533 * sysdeps/unix/sysv/linux/kernel-features.h
1534 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1535 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1536 kernel versions.
1537 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1538 (__ASSUME_FUTEX_REQUEUE): Remove.
1539 (__ASSUME_STATFS64): Define unconditionally.
1540 (__ASSUME_AT_SECURE): Likewise.
1541 (__ASSUME_CORRECT_SI_PID): Likewise.
1542 (__ASSUME_TGKILL): Define without depending on kernel version for
1543 i386.
1544 (__ASSUME_UTIMES): Likewise.
1545 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1546 kernel version.
1547 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1548 (__ASSUME_TMPFS_NAME): Likewise.
1549 * README: Update reference to Linux kernel versions.
1550
b67e9372
MP
15512012-08-02 Marek Polacek <polacek@redhat.com>
1552
1f529f7d 1553 [BZ# 14150]
b67e9372
MP
1554 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1555 libc_cv_asm_type_prefix with %.
1556 * configure: Regenerated.
d2441631
RM
1557 * include/libc-symbols.h: Remove comment about
1558 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1559 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1560 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1561 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1562 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1563 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1564 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1565 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1566 * elf/tst-unique2mod1.c: Likewise.
1567 * elf/tst-unique1mod2.c: Likewise.
1568 * elf/tst-unique1mod1.c: Likewise.
1569 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1570 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1571 Replace ASM_TYPE_DIRECTIVE with .type.
1572 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1573 * sysdeps/i386/sysdep.h: Likewise.
1574 * sysdeps/x86_64/sysdep.h: Likewise.
1575 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1577 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1578 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1579 * sysdeps/powerpc/powerpc32/sysdep.h:
1580 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1581 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1582 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1583 * sysdeps/i386/fpu/e_powf.S: Likewise.
1584 * sysdeps/i386/fpu/e_expl.S: Likewise.
1585 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1586 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1587 * sysdeps/i386/fpu/e_pow.S: Likewise.
1588 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1589 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1590 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1591 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1592 * sysdeps/i386/fpu/e_log2.S: Likewise.
1593 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1594 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1595 * sysdeps/i386/fpu/e_powl.S: Likewise.
1596 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1597 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1598 * sysdeps/i386/fpu/e_logl.S: Likewise.
1599 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1600 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1601 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1602 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1603 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1604 * sysdeps/i386/fpu/e_log.S: Likewise.
1605 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1606 * sysdeps/i386/fpu/e_logf.S: Likewise.
1607 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1608 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1609 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1610 * sysdeps/i386/fpu/e_log10.S: Likewise.
1611 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1612 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1613 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1614 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1615 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1616 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1617 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1618 * sysdeps/i386/i686/strtok.S: Likewise.
1619 * sysdeps/i386/i386-mcount.S: Likewise.
1620 * sysdeps/i386/strtok.S: Likewise.
1621 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1622 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1623 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1624 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1625 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1626 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1627 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1628 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1629 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1630 * sysdeps/x86_64/_mcount.S: Likewise.
1631 * sysdeps/x86_64/strtok.S: Likewise.
1632 * sysdeps/sh/_mcount.S: Likewise.
1633
2747bf9a
RM
16342012-08-01 Roland McGrath <roland@hack.frob.com>
1635
1636 * libio/iofopen.c: Include <fcntl.h>.
1637 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1638 (_IO_fopen64, fopen64): Define as aliases.
1639 * libio/iofopen64.c: Include <fcntl.h>.
1640 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1641 Conditionalize body on this.
1642 * sysdeps/wordsize-64/iofopen.c: File removed.
1643 * sysdeps/wordsize-64/iofopen64.c: File removed.
1644
3fb791b8
MP
16452012-08-01 Marek Polacek <polacek@redhat.com>
1646
1647 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1648 Use dlfcn directly instead of a variable.
1649 (binfmt-subdir): Do not define.
1650 (dlfcn): Likewise.
1651
a9f1039f
JM
16522012-08-01 Joseph Myers <joseph@codesourcery.com>
1653
23bddc06
JM
1654 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1655 Remove all definitions.
1656 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1657 <kernel-features.h>.
1658 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1659 (miss_F_GETOWN_EX): Remove all definitions.
1660 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1661 macro definition.
1662 [!__ASSUME_FCNTL64]: Remove conditional code.
1663 [__ASSUME_FCNTL64]: Make code unconditional.
1664 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1665 <kernel-features.h>.
1666 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1667 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1668 (lockf64) [__NR_fcntl64]: Make code unconditional.
1669 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1670
a9f1039f
JM
1671 * sysdeps/unix/sysv/linux/kernel-features.h
1672 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1673 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1674 Make code unconditional.
1675 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1676 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1678 [__NR_vfork]: Make code unconditional.
1679 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1680 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1682 [__NR_vfork]: Make code unconditional.
1683 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1684 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1685
09c0ee5f
RM
16862012-08-01 Roland McGrath <roland@hack.frob.com>
1687
48aec5b9
RM
1688 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1689 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1690
cd97c966
RM
1691 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1692 Define mkstemp64 as an alias.
3f55550c
RM
1693 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1694 Define mkstemps64 as an alias.
cd97c966
RM
1695 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1696 Define mkostemp64 as an alias.
b8625cfc
RM
1697 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1698 Define mkostemps64 as an alias.
cd97c966
RM
1699 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1700 Conditionalize body on this.
1701 * misc/mkostemp64.c: Likewise.
b8625cfc 1702 * misc/mkostemps64.c: Likewise.
3f55550c 1703 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1704 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1705 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1706 * sysdeps/wordsize-64/mkostemp.c: File removed.
1707 * sysdeps/wordsize-64/mkstemp.c: File removed.
1708 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1709 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1710 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1711 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1712
09c0ee5f
RM
1713 [BZ #14138]
1714 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1715 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1716 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1717 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1718
1719 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1720 compat_symbol macros from <shlib-compat.h> rather than the underlying
1721 default_symbol_version and symbol_version macros, so that DEFAULT
1722 lines in shlib-versions are respected.
1723 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1724
7e66ee51
FW
17252012-08-01 Florian Weimer <fweimer@redhat.com>
1726
1727 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1728 Declare with warn_unused_result.
1729 (setgid, setregid, setegid, setresgid): Likewise.
1730 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1731 Likewise.
1732 * WUR-REPORT: Remove set*id functions.
1733
d2a54255
PT
17342012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1735
1736 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1737
7ecdb005
RM
17382012-07-31 Roland McGrath <roland@hack.frob.com>
1739
789bd351
RM
1740 * include/sys/socket.h (__libc_accept, __libc_accept4):
1741 Add attribute_hidden.
1742 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1743
40ce302d
RM
1744 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1745 use of PTR_MANGLE.
1746 * inet/getnetgrent_r.c (setup): Likewise.
1747
7ecdb005
RM
1748 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1749
e2eabb2c
DM
17502012-07-31 David S. Miller <davem@davemloft.net>
1751
1752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1753
d0419dbf
JM
17542012-07-31 Joseph Myers <joseph@codesourcery.com>
1755
1756 [BZ #13629]
1757 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1758 value between 1.0 and 2.0 and smaller part has absolute value less
1759 than 1.0.
1760 * math/s_clog10.c (__clog10): Likewise.
1761 * math/s_clog10f.c (__clog10f): Likewise.
1762 * math/s_clog10l.c (__clog10l): Likewise.
1763 * math/s_clogf.c (__clogf): Likewise.
1764 * math/s_clogl.c (__clogl): Likewise.
1765 * math/libm-test.inc (clog_test): Add more tests.
1766 (clog10_test): Likewise.
1767 * sysdeps/i386/fpu/libm-test-ulps: Update.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1769
2bc13872
FW
17702012-07-31 Florian Weimer <fweimer@redhat.com>
1771
1772 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1773 Exit with zero in case no suitable GID is found, and write a
1774 message to standard error.
1775
bea9b193
RM
17762012-07-30 Roland McGrath <roland@hack.frob.com>
1777
1778 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1779 rather than to 1.
1780 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1781 (MAXPATHLEN): Removed.
1782 (NOGROUP, NODEV): New macros.
1783 (setbit, clrbit, isset, isclr): New macros.
1784 (howmany, roundup, powerof2): New macros.
1785 (DEV_BSIZE): New macro.
1786
1787 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1788 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1789
1790 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1791 definition on [!__NO_LONG_DOUBLE_MATH].
1792
1793 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1794 PTR_MANGLE and PTR_DEMANGLE.
1795
1796 * socket/accept4.c (accept4): Rename to __libc_accept4.
1797 Define accept4 as a weak alias.
1798
1799 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1800 on [_DIRENT_HAVE_D_TYPE].
1801 * io/ftw.c (ftw_dir): Likewise.
1802
1803 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1804
1805 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1806
1807 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1808 Use the BSD numbers rather than the arbitrary ones we had.
1809 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1810 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1811 (SIGXCPU, SIGXFSZ): New macros.
1812 (_NSIG): Now 32.
1813
1814 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1815 initializer on [_LIBC_REENTRANT].
1816
1817 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1818 definitions inside [_POSIX_MAPPED_FILES].
1819
1820 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1821
1822 * dirent/opendir.c: Include <fcntl.h>.
1823
1824 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1825 (__libc_getspecific): Likewise.
1826 (__libc_key_create): Likewise.
1827
1828 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1829 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1830 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1831 (tmpfile64): Define as alias.
1832 * sysdeps/wordsize-64/tmpfile.c: File removed.
1833 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1834 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1835 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1836
1837 * stdio-common/vfscanf.c: Include <stdbool.h>.
1838 * nss/makedb.c: Likewise.
1839 * stdio-common/_i18n_number.h: Likewise.
1840 * argp/argp-help.c: Likewise.
1841 * posix/wordexp.c: Likewise.
1842 * sysdeps/posix/spawni.c: Likewise.
1843 * nss/nss_files/files-initgroups.c: Likewise.
1844 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1845 * nss/nss_files/files-initgroups.c: Likewise.
1846 * nss/nss_db/db-netgrp.c: Likewise.
1847 * nss/nss_db/db-initgroups.c: Likewise.
1848 * io/fchmodat.c: Include <sys/stat.h>.
1849
1850 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1851 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1852
1853 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1854 [HAVE_MMAP].
1855
1856 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1857 Add multiple inclusion protection.
1858
e5abc686
DM
18592012-07-27 David S. Miller <davem@davemloft.net>
1860
1861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1862
815e6fa3
GB
18632012-07-27 Gary Benson <gbenson@redhat.com>
1864
1865 [BZ #14298]
1866 * elf/rtld.c: Include <stap-probe.h>.
1867 (dl_main): Added static probes "init_start" and "init_complete".
1868 * elf/dl-load.c: Include <stap-probe.h>.
1869 (lose): Take new parameter "nsid".
1870 Added static probe "map_failed".
1871 (_dl_map_object_from_fd): Pass namespace id to lose.
1872 Added static probe "map_start".
1873 (open_verify): Pass namespace id to lose.
1874 * elf/dl-open.c: Include <stap-probe.h>.
1875 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1876 and "reloc_complete".
1877 * elf/dl-close.c: Include <stap-probe.h>.
1878 (_dl_close_worker): Added static probes "unmap_start" and
1879 "unmap_complete".
1880 * elf/rtld-debugger-interface.txt: New file documenting the above.
1881
9f98c16c
RM
18822012-07-26 Roland McGrath <roland@hack.frob.com>
1883
1884 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1885 rather than a string variable.
1886 * sunrpc/rpc_main.c (h_output): Likewise.
1887 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1888
f3c22df3
PT
18892012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1890
1891 * inet/check_native.c: New file.
1892
3129cfc6
JM
18932012-07-26 Joseph Myers <joseph@codesourcery.com>
1894
da865e95
JM
1895 [BZ #13629]
1896 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1897 if larger part has absolute value 1.0.
1898 * math/s_clog10.c (__clog10): Likewise.
1899 * math/s_clog10f.c (__clog10f): Likewise.
1900 * math/s_clog10l.c (__clog10l): Likewise.
1901 * math/s_clogf.c (__clogf): Likewise.
1902 * math/s_clogl.c (__clogl): Likewise.
1903 * math/libm-test.inc (clog_test): Add more tests.
1904 (clog10_test): Likewise.
1905 * sysdeps/i386/fpu/libm-test-ulps: Update.
1906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1907
3129cfc6
JM
1908 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1909 (pltexit): Likewise.
1910 (La_regs): Likewise.
1911 (La_retval): Likewise.
1912 (int_retval): Likewise.
1913 Update #error for removed macros to refer only to definitions in
1914 tst-audit.h.
1915 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1916 macro.
1917 (pltexit): Likewise.
1918 (La_regs): Likewise.
1919 (La_retval): Likewise.
1920 (int_retval): Likewise.
1921 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1922 macro.
1923 (pltexit): Likewise.
1924 (La_regs): Likewise.
1925 (La_retval): Likewise.
1926 (int_retval): Likewise.
1927 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1928 macro.
1929 (pltexit): Likewise.
1930 (La_regs): Likewise.
1931 (La_retval): Likewise.
1932 (int_retval): Likewise.
1933 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1934 macro.
1935 (pltexit): Likewise.
1936 (La_regs): Likewise.
1937 (La_retval): Likewise.
1938 (int_retval): Likewise.
1939 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1940 macro.
1941 (pltexit): Likewise.
1942 (La_regs): Likewise.
1943 (La_retval): Likewise.
1944 (int_retval): Likewise.
1945 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1946 macro.
1947 (pltexit): Likewise.
1948 (La_regs): Likewise.
1949 (La_retval): Likewise.
1950 (int_retval): Likewise.
1951 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1952 macro definitions in tst-audit.h.
1953 * sysdeps/i386/tst-audit.h: New file.
1954 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1955 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1956 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1957 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1958 * sysdeps/sh/tst-audit.h: Likewise.
1959 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1960 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1961 * sysdeps/x86_64/tst-audit.h: Likewise.
1962
bfc07087
AJ
19632012-07-26 Andreas Jaeger <aj@suse.de>
1964
b1b2aaf8
AJ
1965 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1966 ptrace.
1967
1968 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1969 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1970 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1971 PTRACE_O_MASK.
1972 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1973 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1974 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1975
bfc07087
AJ
1976 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1977 value.
1978
1979 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1980 _sigsys.
1981 (si_call_addr, si_syscall, si_arch): Define new macro.
1982 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1983 _sigsys.
1984 (si_call_addr, si_syscall, si_arch): Define new marcro.
1985 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1986 _sigsys.
1987 (si_call_addr, si_syscall, si_arch): Define new macro.
1988 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1989 _sigsys.
1990 (si_call_addr, si_syscall, si_arch): Define new macro.
1991
89b4b02f
JM
19922012-07-25 Joseph Myers <joseph@codesourcery.com>
1993
1994 [BZ #13717]
1995 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1996 Change to 2.4.21 where previously 2.4.1.
1997 * sysdeps/unix/sysv/linux/configure: Regenerated.
1998 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1999 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2000 Linux kernel version.
2001 (__ASSUME_STD_AUXV): Remove.
2002 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2003 kernel version.
2004 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2005 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2006 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2007 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2008 (__ASSUME_NETLINK_SUPPORT): Likewise.
2009 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2010 (__no_netlink_support): Remove conditional definition.
2011 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2012 Remove.
2013 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2014 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2015 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2016 (if_nameindex_ioctl): Remove.
2017 (if_nameindex_netlink): Do not handle __no_netlink_support.
2018 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2019 code.
2020 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2021 Remove conditional code.
2022 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2023 code.
2024 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2025 unconditional.
2026 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2027 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2028 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2029 Remove.
2030 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2031 [!__ASSUME_STD_AUXV]: Remove conditional code.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2033 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2034 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2036 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2037 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2038 code.
2039 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2041 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2042 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2043 conditional code.
2044 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2046 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2047 code.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2049 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2050 conditional code.
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2052 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2053 code unconditional.
2054 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2055 conditional code.
2056 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2057 unconditional.
2058 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2059 conditional code.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2061 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2062 unconditional.
2063 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2064 conditional code.
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2066 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2067 code unconditional.
2068 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2069 conditional code.
2070 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2071 unconditional.
2072 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2073 conditional code.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2075 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2076 code unconditional.
2077 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2078 conditional code.
2079 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2080 unconditional.
2081 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2082 conditional code.
2083
842a39cd
AS
20842012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2085
2086 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2087 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2088 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2089 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2090 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2091 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2092 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2093 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2094 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2095 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2096 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2097 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2098 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2099 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2100 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2101 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2102 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2103 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2104 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2106 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2107 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2108 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2109
84b3fd84
FW
21102012-07-25 Florian Weimer <fweimer@redhat.com>
2111
2112 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2113 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2114 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2115 Introduce __libc_secure_getenv.
0c7936d5
FW
2116 * stdlib/Versions (2.17): Add secure_getenv
2117 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2118 * stdlib/secure-getenv.c: Rename __secure_getenv to
2119 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2120 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2121 * stdlib/tst-secure-getenv.c: New.
2122 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2123 * manual/startup.texi (Environment Access): Document
2124 secure_getenv.
84b3fd84
FW
2125 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2126 __libc_secure_getenv.
2127 * inet/ruserpass.c (ruserpass): Likewise.
2128 * malloc/mtrace.c (mtrace): Likewise.
2129 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2130 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2131 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2132 * sysdeps/posix/tempname.c: Likewise. Evaluate
2133 HAVE_SECURE_GETENV.
2134 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2135 __secure_getenv to __libc_secure_getenv.
84b3fd84 2136 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2138 Likewise.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2140 Likewise.
2141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2143 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2148
56e49b71
JM
21492012-07-25 Joseph Myers <joseph@codesourcery.com>
2150
2151 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2152 (struct La_i86_retval): Likewise.
2153 (struct La_x86_64_regs): Likewise.
2154 (struct La_x86_64_retval): Likewise.
2155 (struct La_x32_regs): Likewise.
2156 (struct La_x32_retval): Likewise.
2157 (struct La_ppc32_regs): Likewise.
2158 (struct La_ppc32_retval): Likewise.
2159 (struct La_ppc64_regs): Likewise.
2160 (struct La_ppc64_retval): Likewise.
2161 (struct La_sh_regs): Likewise.
2162 (struct La_sh_retval): Likewise.
2163 (struct La_s390_32_regs): Likewise.
2164 (struct La_s390_32_retval): Likewise.
2165 (struct La_s390_64_regs): Likewise.
2166 (struct La_s390_64_retval): Likewise.
2167 (struct La_sparc32_regs): Likewise.
2168 (struct La_sparc32_retval): Likewise.
2169 (struct La_sparc64_regs): Likewise.
2170 (struct La_sparc64_retval): Likewise.
2171 (struct audit_ifaces): Remove architecture-specific pltenter and
2172 pltexit members.
2173 * sysdeps/i386/ldsodefs.h: New file.
2174 * sysdeps/powerpc/ldsodefs.h: Likewise.
2175 * sysdeps/s390/ldsodefs.h: Likewise.
2176 * sysdeps/sh/ldsodefs.h: Likewise.
2177 * sysdeps/sparc/ldsodefs.h: Likewise.
2178 * sysdeps/x86_64/ldsodefs.h: Likewise.
2179
354691b7
MP
21802012-07-25 Marek Polacek <polacek@redhat.com>
2181
2182 [BZ #6808]
2183 * math/libm-test.inc (yn_test): Add another test.
2184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
2185 to ERANGE when the result is +-Inf.
2186 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2187 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
2188 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
2189 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
2190
bf9e2071
JM
21912012-07-24 Joseph Myers <joseph@codesourcery.com>
2192
2193 * conform/data/time.h-data (NULL): Use macro-constant. Require
2194 equal to 0.
2195 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
2196 clock_t.
2197 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
2198
57633811
TS
21992012-07-23 Thomas Schwinge <thomas@codesourcery.com>
2200
2201 * configure.in <sysdeps resolving>: Correct printing
2202 Implies_before.
2203 * configure: Regenerate.
2204
c23c33b0
TS
22052012-07-22 Thomas Schwinge <thomas@codesourcery.com>
2206
2207 * math/w_ilogb.c: Include <limits.h>.
2208 * math/w_ilogbl.c: Likewise.
2209
b5982523
JM
22102012-07-20 Joseph Myers <joseph@codesourcery.com>
2211
2212 * manual/lang.texi (__va_copy): Document primarily as ISO C99
2213 va_copy. Document allowing for unavailable va_copy only as
2214 pre-C99 compatibility.
2215 * manual/string.texi (Copying and Concatenation): Use va_copy
2216 instead of __va_copy in concat example.
2217
ac4ea442
PT
22182012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2219
2220 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2221 (__sendto): Use create_address_port. Initialize APORT and deallocate
2222 it if not null.
2223
f98eafbd
PT
2224 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2225 with O_NOLINK passed to __file_name_lookup.
2226
898c7aab
PT
2227 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2228 with O_NOLINK passed to __file_name_lookup.
2229
0ced335a
PT
2230 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2231 negative N or less than NGIDS.
2232
b3404dbd
PT
2233 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2234 type to string_t. Set ERANGE as errno and return it if NAME is not big
2235 enough. Use memcpy instead of strncpy.
2236
0f48659e
JM
22372012-07-20 Joseph Myers <joseph@codesourcery.com>
2238
2239 * elf/Makefile (check-data): Remove.
2240 (localplt.data): New vpath directive.
2241 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2242 instead of $(check-data).
2243 * scripts/data/localplt-generic.data: Move to ...
2244 * sysdeps/generic/localplt.data: ... here.
2245 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2246 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2247 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2249 ... here.
2250 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2252 ... here.
2253 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2255 ... here.
2256 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2258 ... here.
2259 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2261 ... here.
2262 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2264 ... here.
2265
d37cbdaa
AZ
22662012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2267
2268 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2269 PPC32 and PPC64 files.
2270 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2271 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2272
46f85fc2
AK
22732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2274
2275 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2276 __makecontext_ret to ...
2277 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2278 ... here and call exit if uc_link is NULL. New file.
2279 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2280 __makecontext_ret.S.
2281 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2282 __makecontext_ret to ...
2283 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2284 ... here and call exit if uc_link is NULL. New file.
2285 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2286 __makecontext_ret.S.
2287
08f43f9b
AK
22882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2289
2290 * elf/elf.h (R_390_IRELATIVE): New definition.
2291 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2292 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2293 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2294 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2295 (elf_machine_lazy_rel): Likewise.
2296 * sysdeps/s390/dl-irel.h: New file.
2297 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2298 * sysdeps/s390/s390-64/memset.S: New asm code.
2299 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2300 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2301 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2302 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2303 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2304 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2305 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2306 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2307 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2308 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2309 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2310 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2311 * sysdeps/s390/s390-32/memset.S: New asm code.
2312 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2313
3b05db33
MP
23142012-07-17 Marek Polacek <polacek@redhat.com>
2315
2316 [BZ #14349]
2317 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2318 * sysdeps/s390/s390-64/configure.in: Likewise.
2319 * sysdeps/sparc/configure.in: Likewise.
2320 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2321 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2322 * sysdeps/i386/configure.in: Likewise.
2323 * sysdeps/x86_64/configure.in: Likewise.
2324 * sysdeps/sh/configure.in: Likewise.
2325 * sysdeps/s390/s390-32/configure: Regenerated.
2326 * sysdeps/s390/s390-64/configure: Likewise.
2327 * sysdeps/x86_64/configure: Likewise.
2328 * sysdeps/sh/configure: Likewise.
2329 * sysdeps/powerpc/powerpc64/configure: Likewise.
2330 * sysdeps/powerpc/powerpc32/configure: Likewise.
2331 * sysdeps/sparc/configure: Likwise.
2332 * sysdeps/i386/configure: Likewise.
2333
a66877c6
MP
2334 * elf/dl-open.c: Comment fixes.
2335
cfc82fd8
JM
23362012-07-17 Joseph Myers <joseph@codesourcery.com>
2337
bd29910a
JM
2338 * Makefile [CXX] (check-data): Remove.
2339 [CXX] (c++-types.data): New vpath directive.
2340 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2341 vpath. Do not allow for C++ type data being missing.
2342 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2343 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2344 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2345 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2346 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2347 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2348 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2350 ... here.
2351 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2353 ... here.
2354 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2356 ... here.
2357 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2359 ... here.
2360 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2362 ... here.
2363 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2365 ... here.
2366 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2368 ... here.
2369 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2371
cfc82fd8
JM
2372 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2373 definitions to architecture-specific files.
2374 (TLS_IE): Likewise.
2375 (TLS_LD): Likewise.
2376 (TLS_GD): Likewise.
2377 * sysdeps/i386/tls-macros.h: New file.
2378 * sysdeps/powerpc/tls-macros.h: Likewise.
2379 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2380 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2381 * sysdeps/sh/tls-macros.h: Likewise.
2382 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2383 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2384 * sysdeps/x86_64/tls-macros.h: Likewise.
2385
f7db3170
TS
23862012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2387
07cbfc23
TS
2388 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2389 zero value for regular exit case.
2390
f7db3170
TS
2391 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2392 (__start_context): Preserve zero value for regular exit case.
2393
dc97c227
TS
23942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2395 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2396
2397 * manual/setjmp.texi (setcontext): Clarify normal process
2398 termination when uc_link is the null pointer.
2399 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2400 exit call.
2401
d0cd7d02
AS
24022012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2403
2404 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2405 preprocessor. Test for each exception mask separately.
2406
dd318934
AJ
24072012-07-16 Andreas Jaeger <aj@suse.de>
2408
2409 * po/ru.po: Update from translation team.
2410
8048311a
JM
24112012-07-15 Joseph Myers <joseph@codesourcery.com>
2412
2413 * conform/data/string.h-data (NULL): Use macro-constant. Require
2414 equal to 0.
2415 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2416 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2417 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2418 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2420
b637d46e
AJ
24212012-07-13 Andreas Jaeger <aj@suse.de>
2422
2423 * po/fr.po: Update from translation team.
2424
541428fe
MP
24252012-07-12 Marek Polacek <polacek@redhat.com>
2426
2427 [BZ #14173]
2428 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2429 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2430 loop condition.
2431
ec332e94
JM
24322012-07-12 Joseph Myers <joseph@codesourcery.com>
2433
2434 [BZ #13717]
2435 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2436 Change to 2.4.1 where previously 2.4.0.
2437 * sysdeps/unix/sysv/linux/configure: Regenerated.
2438 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2439 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2440 version.
2441 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2442 (__ASSUME_AT_CLKTCK): Remove.
2443 (__ASSUME_AT_PAGESIZE): Likewise.
2444 (__ASSUME_AT_XID): Likewise.
2445 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2446 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2447 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2448 unconditionally.
2449 (HAVE_AUX_PAGESIZE): Likewise.
2450 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2451 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2452 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2453
7b6e99be
JB
24542012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2455
2456 [BZ #14307]
2457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2458 the temporary buffer used to invoke __gethostbyname2_r,
2459 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2460 host_data / struct gaih_addrtuple.
2461 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2462 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2463 header file nss/nsswitch.h.
2464 * nss/nsswitch.h (global scope): Add definition of implementation
2465 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2466 resolv/nss_dns/dns-host.c).
2467
608404eb
AJ
24682012-07-11 Andreas Jaeger <aj@suse.de>
2469
2470 * po/fr.po: Update from translation team.
2471
71220aca
AJ
2472 * po/sv.po: Update from translation team
2473 * po/fr.po: Another update from translation team.
2474
28cfe843
AZ
24752012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2476
2477 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2478 for subnormals or multiply small sinh result by itself.
2479 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2481
6b90f981
DM
24822012-07-11 David S. Miller <davem@davemloft.net>
2483
2484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2485
c6825772
AS
24862012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2487
2488 [BZ #14347]
2489 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2490 (INTERNAL_MARK): Shift it here.
2491
7b8e0d49
MP
24922012-07-10 Marek Polacek <polacek@redhat.com>
2493
2494 [BZ #14151]
2495 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2496 libc_cv_asm_global_directive with .globl.
2497 * configure: Regenerated.
2498 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2499 with .globl.
2500 * sysdeps/i386/configure: Regenerated.
2501 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2502 with .globl.
2503 * sysdeps/x86_64/configure: Regenerated.
2504 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2505 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2506 * elf/tst-unique2mod2.c: Likewise.
2507 * elf/tst-unique2mod1.c: Likewise.
2508 * elf/tst-unique1mod2.c: Likewise.
2509 * elf/tst-unique1mod1.c: Likewise.
2510 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2511 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2512 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2513 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2514 * sysdeps/mach/sysdep.h: Likewise.
2515 * sysdeps/i386/sysdep.h: Likewise.
2516 * sysdeps/i386/i386-mcount.S: Likewise.
2517 * sysdeps/x86_64/_mcount.S: Likewise.
2518 * sysdeps/x86_64/sysdep.h: Likewise.
2519 * sysdeps/sh/_mcount.S: Likewise.
2520 * sysdeps/sh/sysdep.h: Likewise.
2521 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2522 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2523 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2524 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2525 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2526 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2527 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2528 * locale/localeinfo.h: Likewise.
2529 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2530 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2531
6c55cda3
RM
25322012-07-09 Roland McGrath <roland@hack.frob.com>
2533
2534 [BZ #14336]
2535 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2536 system".
2537 * manual/message.texi (The Uniforum approach): Likewise.
2538 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2539 (glibc iconv Implementation): Likewise.
2540
638a572e
JM
25412012-07-09 Joseph Myers <joseph@codesourcery.com>
2542
2543 [BZ #14337]
2544 * math/s_clog.c (__clog): Avoid scaling a value down where that
2545 could result in underflow.
2546 * math/s_clog10.c (__clog10): Likewise.
2547 * math/s_clog10f.c (__clog10f): Likewise.
2548 * math/s_clog10l.c (__clog10l): Likewise.
2549 * math/s_clogf.c (__clogf): Likewise.
2550 * math/s_clogl.c (__clogl): Likewise.
2551 * math/libm-test.inc (clog_test): Add more tests.
2552 (clog10_test): Likewise.
2553 * sysdeps/i386/fpu/libm-test-ulps: Update.
2554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2555
261f4859
AS
25562012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2557
0abaf3e4
AS
2558 [BZ #14283]
2559 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2560 by 7 not 8 to examine high bit of fractional part.
2561
261f4859
AS
2562 [BZ #14042]
2563 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2564 for call to __mcount_internal.
2565 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2566 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2567 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2568
f17ac40d
JM
25692012-07-06 Joseph Myers <joseph@codesourcery.com>
2570
9ad63c23
JM
2571 [BZ #14154]
2572 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2573 approximation for values within 0x1p-13f of an odd multiple of
2574 pi/4.
2575 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2576 exception. Add more tests.
2577 * sysdeps/i386/fpu/libm-test-ulps: Update.
2578
f17ac40d
JM
2579 [BZ #6778]
2580 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2581 inputs and return -1 for them. Do not check for +Inf in case not
2582 reachable for +Inf.
2583 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2584 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2585 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2586 and return -1 for them. Do not check for +Inf in case not
2587 reachable for +Inf.
2588 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2589 define.
2590 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2591 and return -1 for them. Do not check for +Inf in case not
2592 reachable for +Inf.
2593 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2594 spurious underflow.
2595 * sysdeps/i386/fpu/libm-test-ulps: Update.
2596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2597
fb21f89b
MF
25982012-07-06 Mike Frysinger <vapier@gentoo.org>
2599
2600 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2601
cdfe2c5e
JM
26022012-07-05 Joseph Myers <joseph@codesourcery.com>
2603
2604 [BZ #14157]
2605 [BZ #14331]
2606 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2607 could result in spurious underflow. Scale down values above
2608 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2609 * math/s_csqrtf.c (__csqrtf): Likewise.
2610 * math/s_csqrtl.c (__csqrtl): Likewise.
2611 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2612 spurious underflow.
2613 * sysdeps/i386/fpu/libm-test-ulps: Update.
2614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2615
70d35b67
AS
26162012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2617
704bc459
AS
2618 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2619 xopen-msg.sed.
2620 * catgets/xopen-msg.awk: New file.
2621 * catgets/xopen-msg.sed: Removed.
2622
70d35b67
AS
2623 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2624 po2text.sed.
2625 * intl/po2test.awk: New file.
2626 * intl/po2test.sed: Removed.
2627
ca61cf32
JM
26282012-07-04 Joseph Myers <joseph@codesourcery.com>
2629
2630 [BZ #14328]
2631 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2632 or multiply small sinh result by itself.
2633 * math/s_ctanf.c (__ctanf): Likewise.
2634 * math/s_ctanh.c (__ctanh): Likewise.
2635 * math/s_ctanhf.c (__ctanhf): Likewise.
2636 * math/s_ctanhl.c (__ctanhl): Likewise.
2637 * math/s_ctanl.c (__ctanl): Likewise.
2638 * math/libm-test.inc (ctan_test_tonearest): New function.
2639 (ctan_test_towardzero): Likewise.
2640 (ctan_test_downward): Likewise.
2641 (ctan_test_upward): Likewise.
2642 (ctanh_test_tonearest): Likewise.
2643 (ctanh_test_towardzero): Likewise.
2644 (ctanh_test_downward): Likewise.
2645 (ctanh_test_upward): Likewise.
2646 (main): Call these new functions.
2647 * sysdeps/i386/fpu/libm-test-ulps: Update.
2648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2649
ca48a46a
MF
26502012-07-03 Mike Frysinger <vapier@gentoo.org>
2651
2652 * .gitignore: Delete /ports entry.
2653
9d63d37d
AJ
26542012-07-03 Andreas Jaeger <aj@suse.de>
2655
2656 * po/bg.po: Update from translation team.
2657 * po/cs.po: Likewise.
2658 * po/de.po: Likewise.
2659 * po/hr.po: Likewise.
2660 * po/nl.pl: Likewise.
2661 * po/pl.po: Likewise.
2662 * po/vi.po: Likewise.
2663
370ca3d2
JM
26642012-07-03 Joseph Myers <joseph@codesourcery.com>
2665
95f5a9a8
JM
2666 * Makeconfig [!+link] (+link-before-libc): New variable.
2667 [!+link] (+link-after-libc): Likewise.
2668 [!+link] (+link-tests): Likewise.
2669 [!+link] (+link): Define in terms of $(+link-before-libc) and
2670 $(+link-after-libc).
2671 [!+link-static] (+link-static-before-libc): New variable.
2672 [!+link-static] (+link-static-after-libc): Likewise.
2673 [!+link-static] (+link-static-tests): Likewise.
2674 [!+link-static] (+link-static): Define in terms of
2675 $(+link-static-before-libc) and $(+link-static-after-libc).
2676 [build-shared] (link-libc-before-gnulib): New variable.
2677 [build-shared] (link-libc-tests): Likewise.
2678 [build-shared] (link-libc): Define in terms of
2679 $(link-libc-before-gnulib).
2680 [!build-shared] (link-libc-tests): New variable.
2681 (link-libc-static-tests): New variable.
2682 [!gnulib] (gnulib-arch): New variable.
2683 [!gnulib] (gnulib-tests): Likewise.
2684 [!gnulib] (static-gnulib-arch): Likewise.
2685 [!gnulib] (static-gnulib-tests): Likewise.
2686 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2687 Define with "=" instead of ":=".
2688 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2689 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2690 * Rules (binaries-all-notests): New variable.
2691 (binaries-all-tests): Likewise.
2692 (binaries-static-notests): Likewise.
2693 (binaries-static-tests): Likewise.
2694 (binaries-all): Define using $(binaries-all-notests) and
2695 $(binaries-all-tests).
2696 (binaries-static): Define using $(binaries-static-notests) and
2697 $(binaries-static-tests).
2698 (binaries-shared-tests): New variable.
2699 (binaries-shared-notests): Likewise.
2700 (binaries-shared): Remove variable.
2701 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2702 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2703 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2704 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2705 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2706 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2707 * elf/Makefile (sln-modules): New variable.
2708 (extra-objs): Add $(sln-modules:=.o).
2709 (ldconfig-modules): Add static-stubs.
2710 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2711 * elf/static-stubs.c: New file.
2712
7a845b2c
JM
2713 [BZ #14283]
2714 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2715 by 7 not 8 to examine high bit of fractional part. Use volatile
2716 variables when splitting into final array of floats if
2717 __FLT_EVAL_METHOD__ != 0.
2718 * math/libm-test.inc (cos_test): Add another test.
2719 (sin_test): Likewise.
2720 * sysdeps/i386/fpu/libm-test-ulps: Update.
2721
e2283f38
JM
2722 [BZ #14273]
2723 * math/libm-test.inc (cosh_test): Add more tests.
2724
370ca3d2
JM
2725 * version.h (RELEASE): Set to "development".
2726 (VERSION): Set to "2.16.90".
2727
ee9247c3
CD
27282012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2729
2730 * NEWS: Update copyright. Remove last-updated date.
2731 Mention math library bug fixes and timezone data changes.
2732 * README: Mention GNU/Hurd, x32, and HPPA support status.
2733
4648c381
TS
27342012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2735
2736 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2737
aac78a43
AJ
27382012-06-27 Andreas Jaeger <aj@suse.de>
2739
2740 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2741
ed3dbfad
AJ
27422012-06-25 Andreas Jaeger <aj@suse.de>
2743
2744 * sysdeps/s390/fpu/libm-test-ulps: Update.
2745
4d0ee855
AS
27462012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2747 Thomas Schwinge <thomas@codesourcery.com>
2748
2749 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2750 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2751 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2752 fanotify_mark.
2753
af1bce34
TS
27542012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2755
a9fa33ba
TS
2756 * sysdeps/mach/start.c: Remove file.
2757 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2758 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2759 * sysdeps/sh/init-first.c: Likewise.
2760
58f902b8
TS
2761 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2762 registers for frame unwinding purposes, add CFI directives.
2763 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2764 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2765 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2766 Likewise.
2767
1518f58b
TS
2768 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2769 __fortify_fail returning.
2770 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2771
db9b5059
TS
2772 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2773 sysdeps/sh/____longjmp_chk.S.
2774 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2775 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2776 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2777 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2778
967705fe
TS
2779 * sysdeps/sh/abort-instr.h: New file.
2780 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2781 process in case exit returns.
2782
a9def8c4
TS
2783 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2784 initialize the GOT register before use.
2785
2a649725
TS
2786 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2787 calculation of ARGC > 4.
2788
af1bce34
TS
2789 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2790 meaningful names to some local labels.
2791
d230f50a
KK
27922012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2793 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2794
2795 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2796 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2797 (__arch_compare_and_exchange_val_16_acq): Likewise.
2798 (__arch_compare_and_exchange_val_32_acq): Likewise.
2799 (atomic_exchange_and_add): Fix gUSA sequence.
2800 (atomic_add): Likewise.
2801 (atomic_add_negative): Likewise.
2802 (atomic_add_zero): Likewise.
2803 (atomic_bit_test_set): Likewise.
2804
0479b305
AS
28052012-06-22 Andreas Schwab <schwab@redhat.com>
2806
2807 [BZ #13579]
2808 * include/link.h (struct link_map): Add l_free_initfini.
2809 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2810 l_initfini.
2811 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2812 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2813 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2814 set.
2815
0e3933b9
CD
28162012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2817
2818 * configure.in: Use AC_LANG_SOURCE.
2819 * configure: Regenerate.
2820
4248b1b1
RM
28212012-06-22 Roland McGrath <roland@hack.frob.com>
2822
2823 * configure.in (libc_cv_localstatedir): New substituted variable.
2824 * configure: Regenerated.
2825 * config.make.in (localstatedir): New variable, substituted from
2826 libc_cv_localstatedir.
2827 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2828 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2829 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2830 * sysdeps/gnu/configure: Regenerated.
2831
006dd861
JL
28322012-06-21 Jeff Law <law@redhat.com>
2833
2834 [BZ #14277]
2835 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2836 free. Simplify list management for _LIBC case.
2837
79662d42
JM
28382012-06-21 Joseph Myers <joseph@codesourcery.com>
2839
b7abb4bf
JM
2840 [BZ #14273]
2841 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2842 Clear sign bit of 64-bit integer value before comparing against
2843 overflow value.
2844
79662d42
JM
2845 * sysdeps/mach/configure: Regenerated.
2846
1f150908
L
28472012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2848
2849 [BZ #14278]
2850 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2851
28363bbf
JL
28522012-06-21 Jeff Law <law@redhat.com>
2853
2854 [BZ #13882]
2855 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2856 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2857 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2858 * elf/dl-open.c (dl_open_worker): Likewise.
2859
09615db4
CD
28602012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2861
2862 * scripts/list-sources.sh: Scan PORTS for translations.
2863 * po/libc.pot: Regenerated.
2864
2174c6dd
AJ
28652012-06-21 Andreas Jaeger <aj@suse.de>
2866
2867 [BZ #12194]
2868 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2869 warning.
2870 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2871 * bits/byteswap-16.h (__bswap_16): Likewise.
2872 * bits/byteswap.h (__bswap_constant_16): Likewise.
2873
3ee947b1
L
28742012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2875
2876 [BZ #14117]
a2f34833
L
2877 * sysdeps/i386/fpu_control.h: Removed.
2878 * sysdeps/x86_64/fpu_control.h: Moved to ...
2879 * sysdeps/x86/fpu_control.h: Here.
2880
3ee947b1
L
2881 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2882 (_FPU_SETCW): Likewise.
2883
ed1825f8
L
28842012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2885
25f1282a
L
2886 [BZ #14117]
2887 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2888 * sysdeps/x86/fpu/bits/mathinline.h: This.
2889 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2890
ed1825f8
L
2891 [BZ #14050]
2892 [BZ #14117]
2893 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2894 functions if __x86_64__ is defined.
2895
36d54b74
CLT
28962012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2897
2898 * string/endian.h: Add !__ASSEMBLER__ condition for including
2899 conversion interfaces.
2900
10285c21
JM
29012012-06-15 Joseph Myers <joseph@codesourcery.com>
2902
2903 [BZ #14241]
2904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2905 of ABS(x) in calculating zero to negative powers other than odd
2906 integers.
2907 * math/libm-test.inc (pow_test): Add more tests.
2908
06c5abbd
AJ
29092012-06-15 Andreas Jaeger <aj@suse.de>
2910
2911 * manual/contrib.texi (Contributors): Update entry of Liubov
2912 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2913 Machado Filho.
2914
a3aeac40
CH
29152012-06-15 Cyril Hrubis <metan@ucw.cz>
2916
2917 * string/string.h: Add __wur to GNU version of strerror_r.
2918
49bdf4c1
L
29192012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2920
2921 [BZ #14229]
2922 * string/Makefile (tests): Add tst-strtok_r.
2923 * string/tst-strtok_r.c: New file.
2924 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2925 RAX_LP/RDX_LP on SAVE_PTR.
2926
834f9b8d
RM
29272012-06-14 Roland McGrath <roland@hack.frob.com>
2928
2929 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2930
75fa1921
JM
29312012-06-14 Joseph Myers <joseph@codesourcery.com>
2932
2933 * libm_test.inc (csqrt_test): Allow more spurious underflow
2934 exceptions.
2935 (j0_test): Likewise.
2936 (j1_test): Likewise.
2937 (y0_test): Likewise.
2938 (y1_test): Likewise.
2939
771766df
CD
29402012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2941
2942 * po/Makefile (libc.pot): Use UTF-8 charset.
2943
ceb9e56b
PP
29442012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2945
2946 [BZ #14210]
2947 Suppress sign-conversion warning from FD_SET.
2948 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2949 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2950 not unsigned long int.
2951 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2952
ddb28975
L
29532012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2954
2955 [BZ #14050]
2956 [BZ #14117]
2957 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2958 __extern_always_inline instead of __extern_inline.
2959 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2960 (__signbit): Likewise.
2961 (__signbitl): Support C++ namespace.
2962 (lrintf): New inline function.
2963 (lrint): Likewise.
2964 (llrintf): Likewise.
2965 (llrint): Likewise.
2966 (fmaxf): Likewise.
2967 (fmax): Likewise.
2968 (fminf): Likewise.
2969 (fmin): Likewise.
2970 (rint): Likewise.
2971 (rintf): Likewise.
2972 (ceil): Likewise.
2973 (ceilf): Likewise.
2974 (floor): Likewise.
2975 (floorf): Likewise.
2976 (nearbyint): Likewise.
2977 (nearbyintf): Likewise.
2978
d7b4fb26
TS
29792012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2980
2981 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2982 non-default versions.
2983
eb55f5c2
RM
29842012-06-11 Roland McGrath <roland@hack.frob.com>
2985
2986 [BZ #14218]
2987 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2988
366af02c
TS
29892012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2990
99ff6e5c
TS
2991 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2992 (FE_UPWARD, FE_DOWNWARD): Don't define.
2993 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2994 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2995
366af02c
TS
2996 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2997 reading it.
2998 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2999 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3000
793ea851
KK
30012012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3002
3003 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3004 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3005 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3006 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3007
a728a38f
L
30082012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3009
3010 [BZ #14117]
c08010c7
L
3011 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3012 * sysdeps/i386/fpu/Implies: New file.
3013 * sysdeps/x86_64/fpu/Implies: Likewise.
3014 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3015 * sysdeps/x86/fpu/bits/fenv.h: This.
3016
a728a38f
L
3017 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3018 __SSE_MATH__.
3019
6e230d11
SP
30202012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3021
3022 [BZ #14134]
3023 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3024 character 0xffff that matches the last element of the
3025 conversion table.
3026
1b671feb
AZ
30272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3028
3029 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3030 fmodl commit.
3031
6043738b
AZ
30322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3033
3034 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3035 values higher than 25.6283.
3036
34ae0b32
AZ
30372012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3038
3039 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3040 subnormal exponent extraction and add some __builtin_expect.
3041 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3042 Fix for subnormal mantissa calculation.
3043
1214ec8f
MF
30442012-06-04 Mike Frysinger <vapier@gentoo.org>
3045
3046 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3047 cpu2 is -1 and errno is not ENOSYS.
3048
f3d1f93c
L
30492012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3050
3051 [BZ #14117]
0e4a3cd7
L
3052 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3053 * sysdeps/x86/bits/string.h: This.
3054 * sysdeps/x86_64/bits/string.h: Removed.
3055
6704c645
L
3056 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3057 if not compiling for x86-64, but compiling for >= i486.
3058
48495318
L
3059 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3060 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3061
14adcbfc
L
3062 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3063 New macro from Linux kernel 3.4.0.
3064 (FP_XSTATE_MAGIC2): Likewise.
3065 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3066 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3067 (struct _fpx_sw_bytes): New struct.
3068 (struct _xsave_hdr): Likewise.
3069 (struct _ymmh_state): Likewise.
3070 (struct _xstate): Likewise.
3071
68e408ab
L
3072 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3073 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3074 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3075 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3076 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3077 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3078
f3d1f93c
L
3079 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3080 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3081 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3082 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3083 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3084 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3085
d9dc34cd
TMQMF
30862012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3087
3088 [BZ #13743]
3089 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3090 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3091 (sysdep_headers): Include sys/platform/ppc.h.
3092 * sysdeps/powerpc/test-gettimebase.c: Test for
3093 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3094 * manual/Makefile (appendices): Include platform.texi.
3095 * manual/contrib.texi (Contributors): Update @node pointers.
3096 * manual/maint.texi (Maintenance): Likewise.
3097 (Platform): New node.
3098 * manual/platform.texi: New file. Document the new features.
3099
4af3879c
SP
31002012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3101 Jakub Jelinek <jakub@redhat.com>
3102
3103 [BZ #14188]
3104 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3105 where __builtin_expect is unavailable.
3106
2fd6ff13
DM
31072012-06-03 David S. Miller <davem@davemloft.net>
3108
3109 * stdlib/longlong.h: Updated from GCC.
3110
173f7220
AS
31112012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3112
3113 [BZ #14042]
3114 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3115 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3116 __mcount_internal.
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3118 (GLIBC_2.16): Likewise.
3119
f34a1c6f
L
31202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3121
3122 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3123
88a4576f
JM
31242012-06-01 Joseph Myers <joseph@codesourcery.com>
3125
ea32bcdd
JM
3126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3127 (default-abi): New variable.
3128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3129 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3130 variable.
3131 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3132 Likewise.
3133 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3134 Likewise.
3135 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3136 Likewise.
3137
88a4576f
JM
3138 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3139 definition. Document in comment.
3140
402fe938
DM
31412012-06-01 David S. Miller <davem@davemloft.net>
3142
3143 * stdlib/longlong.h: Updated from GCC.
3144
3553723f
L
31452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3146
3147 [BZ #14117]
3bd872c4
L
3148 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3149 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3150 sys/debugreg.h sys/io.h here.
3151 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3152 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3153 sys/io.h.
3154 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3155 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3156 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3157 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3158 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3159 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3160
3553723f
L
3161 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3162 Define only if __x86_64__ is defined.
3163
4842e4fe
JM
31642012-06-01 Joseph Myers <joseph@codesourcery.com>
3165
c5bfe3d5
JM
3166 [BZ #14048]
3167 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3168 Use int64_t for variable i.
3169 * math/libm-test.inc (fmod_test): Add more tests.
3170
4842e4fe
JM
3171 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3172 z computation is not scheduled after fetestexcept.
3173 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3174 Use math_force_eval instead of asm to ensure calculation scheduled
3175 before exception test.
3176 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3177 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3178
efb73488
AJ
31792012-06-01 Aurelien Jarno <aurelien@aurel32.net>
3180
3181 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
3182 computation is not scheduled after fetestexcept.
3183
29bcce7c
L
31842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3185
3186 [BZ #14117]
3187 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
3188 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
3189
73a68f94
AZ
31902012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3191
3192 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
3193 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3194
67b6df78
L
31952012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3196
edf2933a 3197 [BZ #14117]
ebc64a18
L
3198 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
3199 <bits/wordsize.h>.
3200 (__WCHAR_MIN): Support __WORDSIZE == 64.
3201 (__WCHAR_MAX): Likewise.
3202
edf2933a
L
3203 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
3204 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
3205
57c6cf40
L
3206 [BZ #14183]
3207 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
3208 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
3209
67b6df78 3210 [BZ #14117]
8eb6281e
L
3211 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
3212 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
3213
aac639f4
L
3214 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3215 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3216
67b6df78
L
3217 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3218 Defined to 1 if __x86_64__ isn't defined.
3219 (_STAT_VER_LINUX_OLD): New.
3220 (st_atime): Remove duplicate.
3221 (st_mtime): Likewise.
3222 (st_ctime): Likewise.
3223
1c2cfe81
DM
32242012-05-31 David S. Miller <davem@davemloft.net>
3225
3226 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3227 entries.
3228
5be8418c
AS
32292012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3230
e7725326
AS
3231 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3232 gen-libm-test.pl.
3233
5be8418c
AS
3234 [BZ #14132]
3235 * elf/dl-reloc.c: Include <_itoa.h>.
3236 (_dl_reloc_bad_type): Remove use of INTUSE.
3237 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3238 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3239 * stdio-common/psiginfo.c (psiginfo): Likewise.
3240 * stdio-common/psignal.c (psignal): Likewise.
3241 * string/strsignal.c (strsignal): Likewise.
3242 * include/signal.h (_sys_siglist): Declare hidden proto.
3243 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3244 INTVARDEF with libc_hidden_data_def.
3245 * stdio-common/itoa-udigits.c: Likewise.
3246 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3247 (_itoa_lower_digits_internal): Remove declaration.
3248 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3249 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3250 (_sys_sigabbrev_internal): Remove aliases.
3251 (_sys_siglist): Define hidden alias.
3252
507352f1
MT
32532012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3254
3255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3256 bits/sysctl.h.
3257
42bbb1c3
L
32582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3259
3260 [BZ #14117]
6bd784b6
L
3261 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3262 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3263
8bca20f0
L
3264 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3265 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3266 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3267 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3268 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3269 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3270
f9e890a9
L
3271 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3272 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3273 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3274
471101a1
L
3275 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3276 with __addr.
3277 (insw): Likewise.
3278 (insl): Likewise.
3279 (outsb): Likewise.
3280 (outsw): Likewise.
3281 (outsl): Likewise.
3282
6451c862
L
3283 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3284 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3285 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3286
a254b8c9
L
3287 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3288 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3289 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3290 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3291 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3292 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3293
b8dfdd92
L
3294 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3295 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3296
578cd270
L
3297 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3298 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3299
de662f5f
L
3300 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3302 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3303
25653439
L
3304 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3305 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3306 to ...
3307 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3308
6bad24a0
L
3309 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3310 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3311 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3312
42bbb1c3
L
3313 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3314 for x86-64.
3315 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3316
2d10d547
JM
33172012-05-31 Joseph Myers <joseph@codesourcery.com>
3318
3319 * math/math.h (M_El): Use two more decimal places.
3320 (M_LOG2El): Likewise.
3321 (M_LOG10El): Likewise.
3322 (M_LN2l): Likewise.
3323 (M_LN10l): Likewise.
3324 (M_PIl): Likewise.
3325 (M_PI_2l): Likewise.
3326 (M_PI_4l): Likewise.
3327 (M_1_PIl): Likewise.
3328 (M_2_PIl): Likewise.
3329 (M_2_SQRTPIl): Likewise.
3330 (M_SQRT2l): Likewise.
3331 (M_SQRT1_2l): Likewise.
3332
f230c29b
DM
33332012-05-31 David S. Miller <davem@davemloft.net>
3334
3335 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3336 values between float registers.
3337 * sysdeps/sparc/sparc64/memset.S: Likewise.
3338 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3339
fed806c3
MF
33402012-05-31 Mike Frysinger <vapier@gentoo.org>
3341
3342 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3343 -D_FORTIFY_SOURCE=1.
3344 (CPPFLAGS-tst-longjmp_chk.c): Define.
3345 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3346 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3347 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3348 CFLAGS-tst-wchar-h.c.
3349
30917259
MP
33502012-05-31 Marek Polacek <polacek@redhat.com>
3351
3352 [BZ #14132]
3353 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3354 __endmntent_internal): Remove declaration.
3355 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3356 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3357 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3358
1c58d5dc
DM
33592012-05-30 David S. Miller <davem@davemloft.net>
3360
3361 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3362 (___Q_simulate_exceptions): Use real FP ops rather than writing
3363 into the %fsr.
3364 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3365 Likewise.
3366
7dc00e0d
L
33672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3368
3369 [BZ #14117]
0bd53985
L
3370 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3371 * sysdeps/x86/bits/xtitypes.h: This.
3372
3a257e66
L
3373 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3374 * sysdeps/x86/bits/wordsize.h: This.
3375
62f62904
L
3376 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3377 * sysdeps/x86/bits/huge_vall.h: This.
3378
404fe9d9
L
3379 * sysdeps/i386/bits/select.h: Removed.
3380 * sysdeps/x86_64/bits/select.h: Renamed to ...
3381 * sysdeps/x86/bits/select.h: This.
3382
d48d0446
L
3383 * sysdeps/i386/bits/setjmp.h: Removed.
3384 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3385 * sysdeps/x86/bits/setjmp.h: This.
3386
7dc00e0d
L
3387 * sysdeps/i386/bits/mathdef.h: Removed.
3388 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3389 * sysdeps/x86/bits/mathdef.h: This.
3390
03277f8f
AS
33912012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3392
3393 [BZ #14132]
3394 * include/sys/socket.h (__connect_internal)
3395 (__libc_sa_len_internal): Remove declaration.
3396 (__connect, __libc_sa_len): Declare hidden_proto.
3397 (SA_LEN): Remove use of INTUSE.
3398 * socket/connect.c: Add libc_hidden_def.
3399 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3400 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3401 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3402 alias.
3403 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3404 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3405 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3406 of adding _internal alias.
3407
13764867
L
34082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3409
3410 [BZ #14117]
6bd97696
L
3411 * sysdeps/i386/bits/link.h: Removed.
3412 * sysdeps/i386/bits/linkmap.h: Likewise.
3413 * sysdeps/x86_64/bits/link.h: Renamed to ...
3414 * sysdeps/x86/bits/link.h: This.
3415 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3416 * sysdeps/x86/bits/linkmap.h: This.
3417
f726f0bb
L
3418 * sysdeps/i386/bits/endian.h: Removed.
3419 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3420 * sysdeps/x86/bits/endian.h: This.
3421
13764867
L
3422 * sysdeps/i386/bits/byteswap.h: Removed.
3423 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3424 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3425 * sysdeps/x86/bits/byteswap.h: This.
3426 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3427 * sysdeps/x86/bits/byteswap-16.h: This.
3428 * sysdeps/i386/Implies: Add x86.
3429 * sysdeps/x86_64/Implies: Likewise.
3430
ae251b0b
DM
34312012-05-30 David S. Miller <davem@davemloft.net>
3432
3433 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3434 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3435 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3436 (FP_TRAPPING_EXCEPTIONS): Define.
3437 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3438 (FP_TRAPPING_EXCEPTIONS): Define.
3439 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3440 subnormals only when inexact has been signalled or underflow
3441 exceptions are enabled.
3442 (_FP_PACK_CANONICAL): Likewise.
3443
d5c90867
L
34442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3445
3446 [BZ #14183]
3447 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3448 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3449
63f1549e
RH
34502012-05-30 Richard Henderson <rth@twiddle.net>
3451
8d8f2279
RH
3452 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3453 with #ifndef NOT_IN_libc.
3454
63f1549e
RH
3455 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3456 marked to avoid plt entry.
3457
0ab0291b
L
34582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3459
3460 [BZ #14112]
3461 * Makeconfig (default-abi): New macro.
3462 (abi-includes): Likewise.
3463 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3464 $(abi-$(default-abi)-lib-soname) for soname if defined.
3465 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3466 abi-variants.
3467 * Makefile (installed-stubs): Likewise.
3468 * include/stubs-biarch.h: Removed.
3469 * scripts/lib-names.awk: Only handle one library at a time.
3470 * scripts/soversions.awk: Remove WORDSIZE support.
3471 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3472 entries.
3473 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3474 Removed.
3475 (syscall-list-default-condition): Likewise.
3476 (syscall-list-default-condition): Likewise.
3477 (syscall-list-includes): Likewise.
3478 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3479 syscall-list-* with abi-*. Handle undefined abi-variants.
3480 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3481 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3482 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3483 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3484 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3485 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3486 Removed.
3487 (syscall-list-32-options): Likewise.
3488 (syscall-list-32-condition): Likewise.
3489 (syscall-list-64-options): Likewise.
3490 (syscall-list-64-condition): Likewise.
3491 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3492 macro.
3493 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3494 Renamed to ...
3495 (abi-*): This.
3496 (abi-64-ld-soname): New macro.
3497 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3498 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3499 Renamed to ...
3500 (abi-*): This.
3501 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3502 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3503
4da0431d
JM
35042012-05-30 Joseph Myers <joseph@codesourcery.com>
3505
3a85279c
JM
3506 * sysdeps/unix/sysv/linux/kernel-features.h
3507 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3508 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3509 include <kernel-features.h>.
3510 [!__NR_ftruncate64]: Remove conditional code.
3511 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3512 [__NR_ftruncate64]: Make code unconditional.
3513 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3514 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3515 include <kernel-features.h>.
3516 [!__NR_ftruncate64]: Remove conditional code.
3517 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3518 [__NR_ftruncate64]: Make code unconditional.
3519 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3521 include <kernel-features.h>.
3522 [!__NR_ftruncate64]: Remove conditional code.
3523 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3524 [__NR_ftruncate64]: Make code unconditional.
3525 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3527 include <kernel-features.h>.
3528 [!__NR_ftruncate64]: Remove conditional code.
3529 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3530 [__NR_ftruncate64]: Make code unconditional.
3531 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3532
4da0431d
JM
3533 * configure.in (libc_cv_fpie): Weaken to a compile test using
3534 LIBC_TRY_CC_OPTION.
3535 * configure: Regenerated.
3536
11ef492c
AK
35372012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3538
3539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3543 Refreshed.
3544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3550 Refreshed.
3551
d66ef399
DM
35522012-05-27 David S. Miller <davem@davemloft.net>
3553
3554 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3555 (___Q_zero): New.
3556 (__Q_simulate_exceptions): Return void. Change to simulate
3557 exceptions by writing into the %fsr.
3558 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3559 (__Qp_handle_exceptions): Likewise.
3560 (numbers): Delete.
3561 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3562 __Qp_handle_exceptions.
3563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3564 __Qp_handle_exceptions.
3565 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3566 as unused and give dummy FP_RND_NEAREST initializer.
3567 (FP_INHIBIT_RESULTS): Define.
3568 (___Q_simulate_exceptions): Update declaration.
3569 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3570 formatting.
3571 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3572 as unused and give dummy FP_RND_NEAREST initializer.
3573 (__Qp_handle_exceptions): Update declaration.
3574 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3575 formatting.
3576
04fb54b5
TS
35772012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3578
3579 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3580 the temporary FPU control word.
3581 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3582 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3583 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3584 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3585 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3586 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3587 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3588 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3589 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3590 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3591 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3592
3f99608f
KK
35932012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3594
3595 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3596 fields.
3597
65a4de4e
CLT
35982012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3599
3600 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3601 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3602 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3603 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3604 Likewise.
3605 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3606 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3607 Likewise.
3608
15749d40
UD
36092012-05-27 Ulrich Drepper <drepper@gmail.com>
3610
3611 * po/h.po: Update from translation team.
3612
25dbcb27
AS
36132012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3614
3d3f8e55
AS
3615 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3616
25dbcb27
AS
3617 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3618 handling of denormals.
3619 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3620 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3621 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3622 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3623 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3624 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3626 Likewise.
3627
7ad47a80 36282012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3629
3630 [BZ #14152]
3631 * math/libm-test.inc (fma_test): Don't always expect underflow
3632 exception.
3633
9c6ea9fa
SP
36342012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3635
3636 [BZ #12416]
3637 * elf/tst-execstack.c: Include stackinfo.h.
3638 (do_test): Adjust test case to ensure that pthread_getattr_np
3639 behaviour remains the same after marking stack executable.
3640
a8239222
JM
36412012-05-25 Joseph Myers <joseph@codesourcery.com>
3642
3643 * sysdeps/unix/sysv/linux/kernel-features.h
3644 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3645 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3646 kernel-features.h.
3647 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3648 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3649 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3650 kernel-features.h.
3651 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3652 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3653
918b5606
L
36542012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3655
3656 * configure.in: Define the default includes to being none.
3657 * configure: Regenerated.
3658
3a097cc7
RM
36592012-05-25 Roland McGrath <roland@hack.frob.com>
3660
8422c9a5
RM
3661 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3662 * sysdeps/x86_64/setjmp.S: Likewise.
3663 * sysdeps/i386/bsd-setjmp.S: Likewise.
3664 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3665 * sysdeps/i386/setjmp.S: Likewise.
3666 * sysdeps/i386/__longjmp.S: Likewise.
3667 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3668 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3669
3a097cc7
RM
3670 * include/stap-probe.h: New file.
3671 * configure.in: Handle --enable-systemtap.
3672 * configure: Regenerated.
3673 * config.h.in (USE_STAP_PROBE): New #undef.
3674 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3675 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3676 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3677
21708942
JM
36782012-05-25 Joseph Myers <joseph@codesourcery.com>
3679
3680 [BZ #13717]
3681 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3682 to 2.4.0 where earlier.
3683 * sysdeps/unix/sysv/linux/configure: Regenerated.
3684 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3685 <kernel-features.h>.
3686 [__ASSUME_32BITUIDS]: Make code unconditional.
3687 [!__ASSUME_32BITUIDS]: Remove conditional code.
3688 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3689 <kernel-features.h>.
3690 [__ASSUME_32BITUIDS]: Make code unconditional.
3691 [!__ASSUME_32BITUIDS]: Remove conditional code.
3692 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3693 [__ASSUME_32BITUIDS]: Make code unconditional.
3694 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3695 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3696 <kernel-features.h>.
3697 [__ASSUME_32BITUIDS]: Make code unconditional.
3698 [!__ASSUME_32BITUIDS]: Remove conditional code.
3699 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3700 <kernel-features.h>.
3701 [__ASSUME_32BITUIDS]: Make code unconditional.
3702 [!__ASSUME_32BITUIDS]: Remove conditional code.
3703 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3704 <kernel-features.h>.
3705 [__ASSUME_32BITUIDS]: Make code unconditional.
3706 [!__ASSUME_32BITUIDS]: Remove conditional code.
3707 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3708 <kernel-features.h>.
3709 [__ASSUME_32BITUIDS]: Make code unconditional.
3710 [!__ASSUME_32BITUIDS]: Remove conditional code.
3711 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3712 <kernel-features.h>.
3713 [__ASSUME_32BITUIDS]: Make code unconditional.
3714 [!__ASSUME_32BITUIDS]: Remove conditional code.
3715 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3716 <kernel-features.h>.
3717 [__ASSUME_32BITUIDS]: Make code unconditional.
3718 [!__ASSUME_32BITUIDS]: Remove conditional code.
3719 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3720 <kernel-features.h>.
3721 [__ASSUME_32BITUIDS]: Make code unconditional.
3722 [!__ASSUME_32BITUIDS]: Remove conditional code.
3723 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3724 <kernel-features.h>.
3725 [__ASSUME_32BITUIDS]: Make code unconditional.
3726 [!__ASSUME_32BITUIDS]: Remove conditional code.
3727 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3728 <kernel-features.h>.
3729 [__ASSUME_32BITUIDS]: Make code unconditional.
3730 [!__ASSUME_32BITUIDS]: Remove conditional code.
3731 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3732 <kernel-features.h>.
3733 [__ASSUME_32BITUIDS]: Make code unconditional.
3734 [!__ASSUME_32BITUIDS]: Remove conditional code.
3735 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3736 <kernel-features.h>.
3737 [__NR_setresgid] (__setresgid): Do not declare.
3738 [__ASSUME_32BITUIDS]: Make code unconditional.
3739 [!__ASSUME_32BITUIDS]: Remove conditional code.
3740 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3741 <kernel-features.h>.
3742 [__NR_setresuid] (__setresuid): Do not declare.
3743 [__ASSUME_32BITUIDS]: Make code unconditional.
3744 [!__ASSUME_32BITUIDS]: Remove conditional code.
3745 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3746 <kernel-features.h>.
3747 [__ASSUME_32BITUIDS]: Make code unconditional.
3748 [!__ASSUME_32BITUIDS]: Remove conditional code.
3749 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3750 <kernel-features.h>.
3751 [__ASSUME_32BITUIDS]: Make code unconditional.
3752 [!__ASSUME_32BITUIDS]: Remove conditional code.
3753 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3754 <kernel-features.h>.
3755 [__ASSUME_32BITUIDS]: Make code unconditional.
3756 [!__ASSUME_32BITUIDS]: Remove conditional code.
3757 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3758 <kernel-features.h>.
3759 [__ASSUME_32BITUIDS]: Make code unconditional.
3760 [!__ASSUME_32BITUIDS]: Remove conditional code.
3761 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3762 <kernel-features.h>.
3763 [__ASSUME_32BITUIDS]: Make code unconditional.
3764 [!__ASSUME_32BITUIDS]: Remove conditional code.
3765 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3766 <kernel-features.h>.
3767 [__ASSUME_32BITUIDS]: Make code unconditional.
3768 [!__ASSUME_32BITUIDS]: Remove conditional code.
3769 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3770 <kernel-features.h>.
3771 [__ASSUME_32BITUIDS]: Make code unconditional.
3772 [!__ASSUME_32BITUIDS]: Remove conditional code.
3773 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3774 <kernel-features.h>.
3775 [__ASSUME_32BITUIDS]: Make code unconditional.
3776 [!__ASSUME_32BITUIDS]: Remove conditional code.
3777 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3778 <kernel-features.h>.
3779 [__ASSUME_32BITUIDS]: Make code unconditional.
3780 [!__ASSUME_32BITUIDS]: Remove conditional code.
3781 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3782 <kernel-features.h>.
3783 [__ASSUME_32BITUIDS]: Make code unconditional.
3784 [!__ASSUME_32BITUIDS]: Remove conditional code.
3785 * sysdeps/unix/sysv/linux/kernel-features.h
3786 (__ASSUME_SETRESUID_SYSCALL): Remove.
3787 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3788 (__ASSUME_32BITUIDS): Likewise.
3789 (__ASSUME_LDT_WORKS): Likewise.
3790 (__ASSUME_O_DIRECTORY): Likewise.
3791 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3792 architecture but not kernel version.
3793 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3794 (__ASSUME_MMAP2_SYSCALL): Likewise.
3795 (__ASSUME_STAT64_SYSCALL): Likewise.
3796 (__ASSUME_IPC64): Likewise.
3797 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3798 <kernel-features.h>.
3799 [__ASSUME_32BITUIDS]: Make code unconditional.
3800 [!__ASSUME_32BITUIDS]: Remove conditional code.
3801 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3802 <kernel-features.h>.
3803 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3804 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3805 132096]: Remove conditional code.
3806 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3807 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3808 <kernel-features.h>.
3809 [__ASSUME_32BITUIDS]: Make code unconditional.
3810 [!__ASSUME_32BITUIDS]: Remove conditional code.
3811 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3812 <kernel-features.h>.
3813 [__ASSUME_32BITUIDS]: Make code unconditional.
3814 [!__ASSUME_32BITUIDS]: Remove conditional code.
3815 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3816 <kernel-features.h>.
3817 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3818 unconditional.
3819 (__setresgid): Do not declare.
3820 [__ASSUME_32BITUIDS]: Make code unconditional.
3821 [!__ASSUME_32BITUIDS]: Remove conditional code.
3822 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3823 <kernel-features.h>.
3824 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3825 unconditional.
3826 (__setresuid): Do not declare.
3827 [__ASSUME_32BITUIDS]: Make code unconditional.
3828 [!__ASSUME_32BITUIDS]: Remove conditional code.
3829 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3830 <kernel-features.h>.
3831 [__ASSUME_32BITUIDS]: Make code unconditional.
3832 [!__ASSUME_32BITUIDS]: Remove conditional code.
3833 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3834 <kernel-features.h>.
3835 [__ASSUME_32BITUIDS]: Make code unconditional.
3836 [!__ASSUME_32BITUIDS]: Remove conditional code.
3837
a386f1cc
RH
38382012-05-25 Richard Henderson <rth@twiddle.net>
3839
3840 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3841 dl_hwcap to ifunc resolver.
3842 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3843 elf_ifunc_invoke.
3844 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3845 dl_hwcap to ifunc resolver.
3846 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3847
b6550497
JM
38482012-05-24 Joseph Myers <joseph@codesourcery.com>
3849
3850 [BZ #14153]
3851 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3852 for |x| <= 2**-26, not 2**-57.
3853 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3854 exception.
3855
b0bc23a1
JL
38562012-05-24 Jeff Law <law@redhat.com>
3857
3858 * stdio-common/Makefile (tests): Add bug25.
3859 * stdio-common/bug25.c: New test.
3860
347c92e9
L
38612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3862
3863 [BZ #13576]
3864 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3865 multiple of MALLOC_ALIGNMENT in size.
3866 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3867
6bcc8b3f
JM
38682012-05-24 Joseph Myers <joseph@codesourcery.com>
3869
3870 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3871 Require >= 256.
3872 (FILENAME_MAX): Use macro-int-constant.
3873 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3874 (_IOFBF): Use macro-int-constant.
3875 (_IOLBF): Likewise.
3876 (_IONBF): Likewise.
3877 (SEEK_CUR): Likewise.
3878 (SEEK_END): Likewise.
3879 (SEEK_SET): Likewise.
3880 (TMP_MAX): Likewise.
3881 (EOF): Use macro-int-constant. Require < 0.
3882 (NULL): Use macro-constant. Require == 0.
3883 (stdin): Require type to be FILE *.
3884 (stdout): Likewise.
3885 (stderr): Likewise.
3886 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3887 macro-int-constant.
3888 (EXIT_SUCCESS): Likewise.
3889 (NULL): Use macro-constant. Require == 0.
3890 (RAND_MAX): Use macro-int-constant.
3891 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3892 [C99-based standards] (strtof): Require function.
3893 [C99-based standards] (strtold): Likewise.
3894 [C99-based standards] (strtoll): Likewise.
3895 [C99-based standards] (strtoull): Likewise.
3896 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3897 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3898 [ISO || ISO99 || ISO11] (math.h): Likewise.
3899 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3900 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3902
d18ea0c5
AS
39032012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3904
3905 [BZ #14132]
56d25bb8
AS
3906 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3907 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3908 * intl/dgettext.c (DCGETTEXT): Likewise.
3909 * intl/gettext.c (DCGETTEXT): Likewise.
3910 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3911 * posix/regex_internal.h (gettext): Likewise.
3912 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3913 Remove declaration.
3914 * include/argz.h (__argz_count_internal)
3915 (__argz_stringify_internal): Remove declaration.
3916 (__argz_count, __argz_stringify): Declare hidden proto.
3917 * intl/dcgettext.c: Remove use of INTDEF.
3918 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3919 * string/argz-stringify.c: Likewise.
3920 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3921 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3922 Declare hidden proto.
d18ea0c5
AS
3923 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3924 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3925 Declare hidden proto.
3926 * include/stdio.h (__asprintf_internal): Don't declare.
3927 (__asprintf): Don't define as macro. Declare hidden proto.
3928 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3929 (__fsetlocking): Declare hidden proto.
3930 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3931 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3932 hidden proto.
3933 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3934 (_IO_setlinebuf): Remove use of INTUSE.
3935 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3936 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3937 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3938 Remove declaration.
3939 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3940 (_IO_do_flush): Remove use of INTUSE.
3941 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3942 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3943 (_IO_adjust_column, _IO_least_wmarker)
3944 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3945 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3946 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3947 (_IO_default_doallocate, _IO_wdefault_doallocate)
3948 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3949 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3950 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3951 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3952 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3953 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3954 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3955 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3956 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3957 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3958 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3959 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3960 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3961 proto.
3962 (_IO_flush_all_internal, _IO_adjust_column_internal)
3963 (_IO_default_uflow_internal, _IO_default_finish_internal)
3964 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3965 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3966 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3967 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3968 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3969 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3970 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3971 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3972 (_IO_file_close_internal, _IO_file_close_it_internal)
3973 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3974 (_IO_file_init_internal, _IO_file_attach_internal)
3975 (_IO_file_fopen_internal, _IO_file_read_internal)
3976 (_IO_file_sync_internal, _IO_file_seek_internal)
3977 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3978 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3979 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3980 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3981 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3982 (_IO_list_all_internal, _IO_link_in_internal)
3983 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3984 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3985 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3986 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3987 (_IO_do_write_internal, _IO_padn_internal)
3988 (_IO_getline_info_internal, _IO_getline_internal)
3989 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3990 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3991 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3992 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3993 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3994 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3995 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3996 with libc_hidden_ver, remove use of INTUSE.
3997 * libio/genops.c: Likewise.
3998 * libio/freopen.c: Likewise.
3999 * libio/freopen64.c: Likewise.
4000 * libio/iofclose.c: Likewise.
4001 * libio/iofdopen.c: Likewise.
4002 * libio/iofflush.c: Likewise.
4003 * libio/iofflush_u.c: Likewise.
4004 * libio/iofgets.c: Likewise.
4005 * libio/iofgets_u.c: Likewise.
4006 * libio/iofopen.c: Likewise.
4007 * libio/iofopncook.c: Likewise.
4008 * libio/iofread.c: Likewise.
4009 * libio/iofread_u.c: Likewise.
4010 * libio/ioftell.c: Likewise.
4011 * libio/iofwrite.c: Likewise.
4012 * libio/iogetline.c: Likewise.
4013 * libio/iogets.c: Likewise.
4014 * libio/iogetwline.c: Likewise.
4015 * libio/iopadn.c: Likewise.
4016 * libio/iopopen.c: Likewise.
4017 * libio/ioseekoff.c: Likewise.
4018 * libio/ioseekpos.c: Likewise.
4019 * libio/iosetbuffer.c: Likewise.
4020 * libio/iosetvbuf.c: Likewise.
4021 * libio/ioungetc.c: Likewise.
4022 * libio/ioungetwc.c: Likewise.
4023 * libio/iovdprintf.c: Likewise.
4024 * libio/iovsprintf.c: Likewise.
4025 * libio/iovsscanf.c: Likewise.
4026 * libio/memstream.c: Likewise.
4027 * libio/obprintf.c: Likewise.
4028 * libio/oldfileops.c: Likewise.
4029 * libio/oldiofclose.c: Likewise.
4030 * libio/oldiofdopen.c: Likewise.
4031 * libio/oldiofopen.c: Likewise.
4032 * libio/oldiopopen.c: Likewise.
4033 * libio/oldstdfiles.c: Likewise.
4034 * libio/putc.c: Likewise.
4035 * libio/setbuf.c: Likewise.
4036 * libio/setlinebuf.c: Likewise.
4037 * libio/stdfiles.c: Likewise.
4038 * libio/strops.c: Likewise.
4039 * libio/vasprintf.c: Likewise.
4040 * libio/vscanf.c: Likewise.
4041 * libio/vsnprintf.c: Likewise.
4042 * libio/vswprintf.c: Likewise.
4043 * libio/wfiledoalloc.c: Likewise.
4044 * libio/wfileops.c: Likewise.
4045 * libio/wgenops.c: Likewise.
4046 * libio/wmemstream.c: Likewise.
4047 * libio/wstrops.c: Likewise.
4048 * libio/__fpurge.c: Likewise.
4049 * libio/__fsetlocking.c: Likewise.
4050 * assert/assert.c: Likewise.
4051 * debug/fgets_chk.c: Likewise.
4052 * debug/fgets_u_chk.c: Likewise.
4053 * debug/fread_chk.c: Likewise.
4054 * debug/fread_u_chk.c: Likewise.
4055 * debug/gets_chk.c: Likewise.
4056 * debug/obprintf_chk.c: Likewise.
4057 * debug/vasprintf_chk.c: Likewise.
4058 * debug/vdprintf_chk.c: Likewise.
4059 * debug/vsnprintf_chk.c: Likewise.
4060 * debug/vsprintf_chk.c: Likewise.
4061 * malloc/mtrace.c: Likewise.
4062 * misc/error.c: Likewise.
4063 * misc/syslog.c: Likewise.
4064 * stdio-common/asprintf.c: Likewise.
4065 * stdio-common/fxprintf.c: Likewise.
4066 * stdio-common/getw.c: Likewise.
4067 * stdio-common/isoc99_fscanf.c: Likewise.
4068 * stdio-common/isoc99_scanf.c: Likewise.
4069 * stdio-common/isoc99_vfscanf.c: Likewise.
4070 * stdio-common/isoc99_vscanf.c: Likewise.
4071 * stdio-common/isoc99_vsscanf.c: Likewise.
4072 * stdio-common/printf-prs.c: Likewise.
4073 * stdio-common/printf_fp.c: Likewise.
4074 * stdio-common/printf_fphex.c: Likewise.
4075 * stdio-common/printf_size.c: Likewise.
4076 * stdio-common/putw.c: Likewise.
4077 * stdio-common/scanf.c: Likewise.
4078 * stdio-common/sprintf.c: Likewise.
4079 * stdio-common/tmpfile.c: Likewise.
4080 * stdio-common/vfprintf.c: Likewise.
4081 * stdio-common/vfscanf.c: Likewise.
4082 * stdlib/strfmon_l.c: Likewise.
4083 * sunrpc/openchild.c: Likewise.
4084 * sunrpc/xdr_stdio.c: Likewise.
4085 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4086 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4087
d6c33fda
RM
40882012-05-24 Roland McGrath <roland@hack.frob.com>
4089
c1487492
RM
4090 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4091
4092 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4093 in the third column, to generate for the shared library an IFUNC
4094 that uses _dl_vdso_vsym.
4095 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4096 * Makeconfig (object-suffixes-noshared): New variable.
4097
4098 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4099 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4100 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4101 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4102
d6c33fda
RM
4103 [BZ #14132]
4104 * include/sys/time.h (__gettimeofday): Remove macro.
4105 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4106 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4107 Remove INTDEF.
4108 (__gettimeofday): Add libc_hidden_def.
4109 (gettimeofday): Add libc_hidden_weak.
4110 * sysdeps/mach/gettimeofday.c: Likewise.
4111 * sysdeps/posix/gettimeofday.c: Likewise.
4112 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4113 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4114 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4115 (__gettimeofday_internal): Remove strong_alias.
4116 (__gettimeofday): Add libc_hidden_def.
4117 (gettimeofday): Add libc_hidden_weak.
4118 * sysdeps/unix/syscalls.list (gettimeofday):
4119 Remove __gettimeofday_internal alias.
4120
b5a2bbe6
L
41212012-05-24 Daniel Jacobowitz <drow@false.org>
4122 H.J. Lu <hongjiu.lu@intel.com>
4123
4124 [BZ #12495]
4125 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4126 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4127 (largebin_index_32_big): New.
4128 (largebin_index): Use it for 16-byte alignment.
4129 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4130 correction with front_misalign.
4131
cfba4fda
L
41322012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4133
7f907421
L
4134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4136 Likewise.
4137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4138 Likewise.
4139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4140 Likewise.
4141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4142 Likewise.
4143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4144 Likewise.
4145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4146 Likewise.
4147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4148 Likewise.
4149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4150 Likewise.
4151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4152 Likewise.
4153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4154 Likewise.
4155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4156 Likewise.
4157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4158 Likewise.
4159
cfba4fda
L
4160 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4161 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4162
80bad0cc
JM
41632012-05-24 Joseph Myers <joseph@codesourcery.com>
4164
7a25eb06
JM
4165 [BZ #10846]
4166 [BZ #14036]
4167 * math/libm-test.inc (exp_test): Add test from bug 14036.
4168 (pow_test): Add test from bug 10846.
4169
795405f9
JM
4170 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4171 and other flags.
4172 (special_function): Do not include flags in test name.
4173 (parse_args): Likewise.
4174 * sysdeps/i386/fpu/libm-test-ulps: Update.
4175 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4176 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4177 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4179
80bad0cc
JM
4180 * math/gen-libm-test.pl (%beautify): Add entries for underflow
4181 exceptions.
4182 * math/libm-test.inc ("Philosophy"): Update comment about
4183 exception testing.
4184 (UNDERFLOW_EXCEPTION): New macro.
4185 (UNDERFLOW_EXCEPTION_OK): Likewise.
4186 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4187 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4188 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4189 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4190 (INVALID_EXCEPTION_OK): Update value.
4191 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4192 (OVERFLOW_EXCEPTION_OK): Likewise.
4193 (IGNORE_ZERO_INF_SIGN): Likewise.
4194 (test_exceptions): Handle underflow exceptions.
4195 (acos_test): Update for underflow exception expectations.
4196 (cexp_test): Likewise.
4197 (clog_test): Likewise.
4198 (clog10_test): Likewise.
4199 (csqrt_test): Likewise.
4200 (ctan_test): Likewise.
4201 (ctanh_test): Likewise.
4202 (exp_test): Likewise.
4203 (exp10_test): Likewise.
4204 (exp2_test): Likewise.
4205 (expm1_test): Likewise.
4206 (fma_test): Likewise.
4207 (j0_test): Likewise.
4208 (jn_test): Likewise.
4209 (nexttoward_test): Likewise.
4210 (pow_test): Likewise.
4211 (scalbn_test): Likewise.
4212 (scalbln_test): Likewise.
4213 (tan_test): Likewise.
4214 (y1_test): Likewise.
4215 * sysdeps/i386/fpu/libm-test-ulps: Update.
4216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4217
9e0e3d0b
DM
42182012-05-23 David S. Miller <davem@davemloft.net>
4219
4220 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4221 (__libc_sigaction): Remove unused local variables.
4222
ccd0a08f
L
42232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4224
4225 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4226
62bdf9a6
PE
42272012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4228
f8591f80
PE
4229 mktime: avoid signed integer overflow
4230 * time/mktime.c (__mktime_internal): Do not mishandle the case
4231 where diff == INT_MIN.
4232
94c7d826
PE
4233 mktime: simplify computation of average
4234 * time/mktime.c (ranged_convert): Use new time_t_avg function
4235 instead of rolling our own (probably-slower) code.
4236
ce73d683
PE
4237 mktime: do not assume signed right shift propagates sign bit
4238 * time/mktime.c (isdst_differ): New static function.
4239 (__mktime_internal): No need to normalize tm_isdst now.
4240 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4241 tm_isdst values.
4242
72a22e59
PE
4243 mktime: merge another wrapv change from gnulib
4244 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4245 from some compilers.
4246
68605433
PE
4247 mktime: remove incorrect attempt at unusual arithmetics
4248 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4249 The code didn't really work on such machines anyway.
4250 (TYPE_MINIMUM): Assume two's complement.
4251 (twos_complement_arithmetic): Verify that long_int and time_t
4252 are two's complement (or unsigned, in the latter case).
4253
03cf7fe3
PE
4254 mktime: check signed shifts on long_int and time_t, too
4255 * time/mktime.c (SHR): Check that shifts work as desired
4256 on the types long_int and time_t too, as SHR is used on
4257 such types.
4258
f04dfbc2
PE
4259 mktime: do not assume 'long' is wide enough
4260 * time/mktime.c (verify): Move decl up.
4261 (long_int): New type.
4262 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4263 to remove assumption in the code that 'long' is wide enough to
4264 store year values. This assumption is not true on x32 and on
4265 some non-glibc platforms.
4266
62bdf9a6
PE
4267 mktime: merge wrapv change from gnulib
4268 * time/mktime.c (WRAPV): New macro.
4269 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4270 (guess_time_tm, __mktime_internal): Do not assume that signed
4271 integer overflow wraps around; modern compilers generate code
4272 where this assumption is no longer valid.
4273
5e292e4f
L
42742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4275
4276 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4277 Replace "jmp L(pseudo_end)" with "ret".
4278 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4279 Likewise.
4280
8caf8c87
AJ
42812012-05-23 Andreas Jaeger <aj@suse.de>
4282
4283 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4284 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4285
1a09dc56
AJ
42862012-05-23 Andreas Jaeger <aj@suse.de>
4287 Maximilian Attems <max@stro.at>
4288
4289 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4290 New macros.
4291
1c87aba0
L
42922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4293
4294 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4295 code so that pseudo_end is just ret and the stack pointer is
4296 correct also for static library in error case.
4297
40e45bd5
JM
42982012-05-23 Joseph Myers <joseph@codesourcery.com>
4299
c2670533
JM
4300 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4301 move to syscalls.list.
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4306
40e45bd5
JM
4307 * manual/install.texi (Running make install): Do not mention Linux
4308 kernel version for which pt_chown is not needed.
4309 (Linux): Do not mention problems with nscd with 2.0 kernels.
4310 * INSTALL: Regenerated.
4311
be08eda5
AJ
43122012-05-23 Andreas Jaeger <aj@suse.de>
4313
4314 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4315 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4316 macro.
4317 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4318 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4319 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4320 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4321 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4322 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4323 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4324 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4325 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4326 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4327 * sysdeps/unix/sysv/linux/bits/in.h
4328 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4329
a6a056bb
RM
43302012-05-22 Roland McGrath <roland@hack.frob.com>
4331
4332 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4333 (PREPARE_VERSION): Just use assert instead, it will be elided
4334 under [NDEBUG] anyway.
4335
c9009328
L
43362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4337
4338 * sysdeps/unix/sysv/linux/Makefile: Include
4339 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4340 (sysdep_routines): Remove sysctl.
c9009328
L
4341 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4342 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4343 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4344 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4345 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4346
73338355
AJ
43472012-05-22 Andreas Jaeger <aj@suse.de>
4348
4349 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4350 that pseudo_end is just ret and the stack pointer is correct also
4351 for static library in error case.
4352
d44638b0
PP
43532012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4354
4355 [BZ #14122]
4356 * nss/nsswitch.c (defconfig_entries): New variable.
4357 (__nss_database_lookup): Don't leak defconfig entries.
4358 (nss_parse_service_list): Don't leak on error paths.
4359 (free_database_entries): New function.
4360 (free_defconfig): New function.
4361 (free_mem): Move common code to free_database_entries.
4362
31a39bd8
L
43632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4364
da0331a8
L
4365 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4366 Add arch_prctl.
4367 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4368
31a39bd8
L
4369 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4370 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4372 New macro.
4373 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4374 (INTERNAL_SYSCALL_TYPES): Likewise.
4375 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4376 (LOAD_REGS_TYPES_[1-6]): Likewise.
4377 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4378 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4379
45470df3
AZ
43802012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4381
4382 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4383 copysignl for GLIBC_2_0.
4384 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4385 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4386 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4387 logbl for GLIBC_2_0.
4388 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4389 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4390
98a61bcb
L
43912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4392
a4f6e481
L
4393 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4394 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4395
f63d5db6
L
4396 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4397 Use "neg %eax".
4398
98a61bcb
L
4399 * time/mktime.c: Update copyright years.
4400
95770f14
PE
44012012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4402
6226efbd
PE
4403 mktime: merge comment-quoting-style change from gnulib
4404 * time/mktime.c: Quote 'like this' in comments.
4405 The GNU coding standards suggest that we no longer quote `like this',
4406 as "`" and "'" are typically rendered asymmetrically nowadays.
4407 The typical gnulib style is to quote 'like this' when quoting
4408 code, and "like this" when quoting English.
4409
b99e4f78
PE
4410 * time/mktime.c (compile-command): Add "-I.".
4411
643e01e6
PE
4412 mktime: merge mktime-internal.h change from gnulib
4413 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4414
2554247d
PE
4415 mktime: merge time_r change from gnulib
4416 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4417
826dd0ab
PE
4418 mktime: merge DEBUG change from gnulib
4419 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4420 case system <time.h> has a #define.
4421
bd83aabe
PE
4422 mktime: merge <sys/types.h> change from gnulib
4423 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4424 since <time.t> is now guaranteed to define time_t.
4425
95770f14
PE
4426 mktime: merge HAVE_CONFIG_H change from gnulib
4427 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4428
5e1a27a9
L
44292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4430
0e44a77e
L
4431 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4432 Use "neg %eax".
4433
5e1a27a9
L
4434 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4435 __rlim_t cast.
4436 (struct rusage): Use anonymous union to pad each field to
4437 __syscall_slong_t.
4438
46259bec
DM
44392012-05-21 David S. Miller <davem@davemloft.net>
4440
4441 * Makefules (o-iterator): Remove .s cases.
4442 (compile-command.s): Delete.
4443 (COMPILE.s): Delete.
4444 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4445
59f0c22e
JM
44462012-05-21 Joseph Myers <joseph@codesourcery.com>
4447
4448 * configure.in (libc_cv_predef_stack_protector): Only consider
4449 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4450 * configure: Regenerated.
4451
20c07380
L
44522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4453
bbb3154b
L
4454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4455 New macro. Use R*LP on int and pointer.
4456 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4457 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4458 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4459 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4460
20c07380
L
4461 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4462 [__WORDSIZE_TIME64_COMPAT32] instead of
4463 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4464 (struct utmp): Likewise.
4465 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4466 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4467 Renamed to ...
4468 (__WORDSIZE_TIME64_COMPAT32): This.
4469 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4470 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4471 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4472 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4473 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4474 (__WORDSIZE_TIME64_COMPAT32): New macro.
4475
d8d1017e
AJ
44762012-05-21 Andreas Jaeger <aj@suse.de>
4477
4478 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4479 only if [SHARED]. Add prototype for __wcschr_ia32.
4480
6c7fb145
RM
44812012-05-21 Roland McGrath <roland@hack.frob.com>
4482
4483 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4484 of %rbp unmolested in the jmp_buf while mangling the low bits.
4485 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4486 unmolested high bits of %rbp while demangling the low bits.
4487 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4488
66274218
AJ
44892012-05-21 Andreas Jaeger <aj@suse.de>
4490
07c58f8f
AJ
4491 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4492 * sunrpc/svc_simple.c: Use it for registerrpc.
4493 * sunrpc/xcrypt.c: Use it for passwd2des.
4494
66274218
AJ
4495 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4496
61f65140
L
44972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4498
4499 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4500 Don't define if [__SYSCALL_WORDSIZE != 32].
4501 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4502 New macro.
4503
5fefb436
AJ
45042012-05-21 Bruno Haible <bruno@clisp.org>
4505 Andreas Jaeger <aj@suse.de>
4506
4507 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4508 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4509 inptr and inend for must_buffer_ch.
4510 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4511 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4512 * stdio-common/Makefile (tests): Remove bug15.
4513 (bug15-ENV): Remove macro.
4514 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4515 anymore.
4516
d8e272ab
AJ
45172012-05-19 Andreas Jaeger <aj@suse.de>
4518 Roland McGrath <roland@hack.frob.com>
4519
4520 * manual/contrib.texi: Completely rewritten. It contains now an
4521 alphabetical list of contributors and their contributions.
4522
4a56a162
RH
45232012-05-21 Richard Henderson <rth@twiddle.net>
4524
4525 * misc/getauxval.c (__getauxval): Use unsigned long int.
4526 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4527 (getauxval): Use unsigned long int.
4528
d024d23c
L
45292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4530
4531 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4532
cbc00a03
RM
45332012-05-21 Roland McGrath <roland@hack.frob.com>
4534
4535 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4536 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4537 __alignof__ (long double).
4538
478143fa
AZ
45392012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4540
4541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4542
c7683a6d
RH
45432012-05-20 Richard Henderson <rth@twiddle.net>
4544
4545 * misc/getauxval.c: New file.
4546 * misc/sys/auxv.h: New file.
4547 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4548 (routines): Add getauxval.
4549 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4550 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4551 * elf/dl-sysdep.c (_dl_auxv): Remove.
4552 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4553 * elf/dl-support.c (_dl_auxv): New variable.
4554 (_dl_aux_init): Initialize it.
4555 * manual/startup.texi (Auxiliary Vector): New node.
4556 * sysdeps/generic/bits/hwcap.h: New file.
4557 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4558 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4559 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4560 * sysdeps/sparc/sysdep.h: ... here. Include it.
4561 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4562 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4564 Update.
c7683a6d
RH
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4573
a6f1845d
AZ
45742012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4575
4576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4577
cbcbe830
DM
45782012-05-19 David S. Miller <davem@davemloft.net>
4579
4580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4581
e0b16cc2
JM
45822012-05-19 Joseph Myers <joseph@codesourcery.com>
4583
4584 [BZ #14123]
4585 * math/s_ccosh.c: Include <float.h>
4586 (__ccosh): Avoid internal overflow calculating sinh and cosh
4587 values before multiplying by sin and cos values.
4588 * math/s_ccoshf.c: Likewise.
4589 * math/s_ccoshl.c: Likewise.
4590 * math/s_csin.c: Likewise.
4591 * math/s_csinf.c: Likewise.
4592 * math/s_csinl.c: Likewise.
4593 * math/s_csinh.c: Likewise.
4594 * math/s_csinhf.c: Likewise.
4595 * math/s_csinhl.c: Likewise.
4596 * math/libm-test.inc (ccos_test): Add more tests.
4597 (ccosh_test): Likewise.
4598 (csin_test): Likewise.
4599 (csinh_test): Likewise.
4600 * sysdeps/i386/fpu/libm-test-ulps: Update.
4601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4602
6ad13e08
L
46032012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4604
f66f0ce8
L
4605 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4606 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4607
6ad13e08
L
4608 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4609
b1d072a7
JM
46102012-05-19 Joseph Myers <joseph@codesourcery.com>
4611
4612 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4613 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4614 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4615 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4616 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4617 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4618 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4619 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4620 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4621 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4622 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4623 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4624 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4625 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4626 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4627 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4628 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4629 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4630 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4631 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4632 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4633 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4634 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4635 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4636 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4637 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4638 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4639 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4640 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4641 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4642 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4643
9eae47cb
AJ
46442012-05-18 Andreas Jaeger <aj@suse.de>
4645
4646 * csu/.gitignore: Delete.
4647
bb07f69f
L
46482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4649
4650 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4651 (timex): Use __syscall_slong_t.
4652
e6bdb741
AJ
46532012-05-18 Andreas Jaeger <aj@suse.de>
4654 Carlos O'Donell <carlos_odonell@mentor.com>
4655
4656 * manual/install.texi (Configuring and compiling): Update
4657 description about files modified in the source directory.
d6c33fda 4658 * INSTALL: Regenerated.
e6bdb741 4659
1b74487e
L
46602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4661
4662 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4663 value. Use "or" to set return value to -1.
4664 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4665 negate return value.
4666
a88b64b9
TMQMF
46672012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4668
4669 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4670 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4671 failure if the compiler has Graphite support disabled.
4672 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4673 Likewise.
4674 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4675 CFLAGS-memmove.c): Likewise.
4676 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4677 Likewise.
4678
3707636e
L
46792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4680
610b8622
L
4681 * sysdeps/x86_64/x32/_itoa.h: New file.
4682
7cd195df
L
4683 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4684 getdents system call only if kernel and user dirents have the
4685 same d_ino and d_off.
4686
94b07d20
L
4687 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4688 LLONG_MAX != LONG_MAX.
4689 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4690 (_fitoa_word): Likewise.
4691
18298070
L
4692 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4693 years.
4694 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4695 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4696 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4697
553c7ea4
L
4698 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4699 include <bits/wordsize.h>. Check __x86_64__ instead of
4700 __WORDSIZE.
4701 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4702 if __x86_64__ is defined. Use anonymous union on fpstate.
4703
3707636e
L
4704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4705 anonymous union.
4706
b53ef01a
AS
47072012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4708
37fb1dc0
AS
4709 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4710 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4711 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4712 Refer to _rtld_local_ro instead of _rtld_global_ro.
4713 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4714 Likewise.
4715 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4716 Likewise.
4717 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4718 Likewise.
4719 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4720 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4721 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4722
b53ef01a
AS
4723 * sysdeps/powerpc/powerpc32/dl-machine.c
4724 (__elf_machine_runtime_setup) [PROF]: Don't reference
4725 _dl_prof_resolve.
4726
7a185db2
AJ
47272012-05-18 Andreas Jaeger <aj@suse.de>
4728
4729 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4730 function only available for GCCs before 3.4 since GCC 3.4
4731 introduced a builtin.
4732 (lrint): Likewise.
4733 (llrintf): Likewise.
4734 (llrint): Likewise.
4735 (fmaxf): Likewise.
4736 (fmax): Likewise.
4737 (fminf): Likewise.
4738 (fmin): Likewise.
4739 (rint): Likewise.
4740 (rintf): Likewise.
4741 (nearbyint): Likewise.
4742 (nearbyintf): Likewise.
4743 (ceil): Likewise.
4744 (ceilf): Likewise.
4745 (floor): Likewise.
4746 (floorf): Likewise.
4747
3e5aef87
L
47482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4749
428bd707
L
4750 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4751 on both fields and cast pointer to __syscall_ulong_t.
4752
3e5aef87
L
4753 * bits/types.h (__fsword_t): New type.
4754 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4755 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4757 (__FSWORD_T_TYPE): Likewise.
4758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4759 (__FSWORD_T_TYPE): Likewise.
4760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4761 (__FSWORD_T_TYPE): Likewise.
4762 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4763 (__FSWORD_T_TYPE): Likewise.
4764 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4765 __SWORD_TYPE with __fsword_t.
4766 (statfs64): Likewise.
4767
1ba7c3dc
DM
47682012-05-17 David S. Miller <davem@davemloft.net>
4769
4770 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4771
59910343
AJ
47722012-05-17 Andreas Jaeger <aj@suse.de>
4773
4774 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4775 warning.
4776
2e4c1e9e
L
47772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4778
4779 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4780
de7f5ce7
AJ
47812012-05-17 Andreas Jaeger <aj@suse.de>
4782
4783 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4784 when it is used.
4785
286abc3d
CM
47862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4787
4788 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4789
477cc68e
L
47902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4791
4792 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4793 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4794
1a0994f5
CD
47952012-05-17 Andreas Jaeger <aj@suse.de>
4796 Carlos O'Donell <carlos_odonell@mentor.com>
4797
4798 [BZ #14059]
4799 * sysdeps/x86_64/multiarch/init-arch.h
4800 (bit_YMM_Usable): Rename to...
4801 (bit_AVX_Usable): ... this.
4802 (bit_FMA4_Usable): New macro.
4803 (bit_XMM_state): New macro.
4804 (bit_YMM_state): New macro.
4805 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4806 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4807 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4808 (CPUID_OSXSAVE): New macro.
4809 (CPUID_AVX): New macro.
4810 (CPUID_FMA4): New macro.
4811 (index_YMM_Usable): Rename to...
4812 (index_AVX_Usable): ... this.
4813 (HAS_AVX): Use HAS_ARCH_FEATURE.
4814 (HAS_FMA4): Likewise.
4815 (HAS_YMM_USABLE): Remove.
4816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4817 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4818 are present.
4819 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4820 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4821 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4822 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4823 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4824
0af797de
CM
48252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4826
4827 * math/libm-test.c: Support platforms without multiple rounding modes.
4828 * math/bug-nextafter.c: Support platforms without FP exceptions.
4829 * math/bug-nexttoward.c: Likewise.
4830 * math/test-fenv.c: Likewise.
4831 * math/test-misc.c: Likewise.
4832 * stdlib/bug-getcontext.c: Likewise.
4833
e39745ff
AJ
48342012-05-17 Andreas Jaeger <aj@suse.de>
4835
4836 * manual/examples/search.c (critter_cmp): Change signature to
4837 avoid warnings.
4838 * manual/string.texi (Collation Functions): Likewise.
4839
48970aba
L
48402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4841
4842 * bits/types.h: Fold copyright years.
4843 * bits/typesizes.h: Likewise.
4844 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4846 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4848 * time/time.h: Likewise.
4849
bedee953
PP
48502012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4851
4852 [BZ #208]
4853 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4854 in instead of returning them. Return void.
4855 (__libc_mallinfo): Accumulate over all arenas.
4856 (__malloc_stats): Adjust for change in int_mallinfo interface.
4857
61653dfb
RM
48582012-05-16 Roland McGrath <roland@hack.frob.com>
4859
30b99d79
RM
4860 [BZ #10375]
4861 * configure.in (NM): Add AC_CHECK_TOOL for it.
4862 (libc_extra_cflags): New substituted variable.
4863 Check for -fstack-protector being used implicitly.
4864 * configure: Regenerated.
4865 * config.make.in (config-extra-cflags): New variable,
4866 gets @libc_extra_cflags@.
4867 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4868
61653dfb
RM
4869 [BZ #10375]
4870 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4871 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4872 * configure: Regenerated.
4873 * config.make.in (CPPUNDEFS): New substituted variable.
4874 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4875 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4876 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4877
661768bb
L
48782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4879
4880 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4881 (mq_attr): Use __syscall_slong_t.
4882
d4261567
L
48832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4884
4885 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4886 Check __x86_64__ instead of __WORDSIZE.
4887 (_STAT_VER_LINUX): Likewise.
4888 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4889 __syscall_ulong_t and __syscall_slong_t.
4890 (stat64): Likewise.
4891
cf3ff365
L
48922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4893
4894 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4895
76cf3e4d
L
48962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4897
4898 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4899
a637753a
L
49002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4901
4902 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4903 __syscall_ulong_t.
4904
d5e05119
L
4905 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4906 include <bits/wordsize.h>. Check __x86_64__ instead of
4907 __WORDSIZE.
4908 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4909 defined.
4910 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4911
f62ee380
L
4912 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4913 include <bits/wordsize.h>. Check __x86_64__ instead of
4914 __WORDSIZE.
4915 (user_regs_struct): Use "__extension__ unsigned long long"
4916 instead of "unsigned long" if __x86_64__ is defined.
4917 (user): Likewise. Pad after pointer field if __ILP32__ is
4918 defined.
4919
4e124ced
JM
49202012-05-16 Joseph Myers <joseph@codesourcery.com>
4921
6a3951a0
JM
4922 * configure.in (makeinfo): Require version 4.5 or later. Allow
4923 versions 5 to 9.
4924 * configure: Regenerated.
4925 * manual/install.texi (texinfo): Increase version requirement to
4926 4.5 or later.
4927 * INSTALL: Regenerated.
4928
4e124ced
JM
4929 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4930
953ca31a
L
49312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4932
4933 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4934
617aca05
L
4935 * sysdeps/x86_64/x32/ffs.c: New file.
4936
5762f7ae
L
4937 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4938 __syscall_ulong_t.
4939 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4940 defined. Use __syscall_ulong_t.
4941 (shminfo): Use __syscall_ulong_t.
4942 (shm_info): Likewise.
4943
a26b6856
L
4944 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4945 __syscall_ulong_t.
4946
cb2b9ef7
L
4947 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4948 <bits/wordsize.h>.
4949 (msgqnum_t): Use __syscall_ulong_t.
4950 (msglen_t): Likewise.
4951 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4952 __syscall_ulong_t.
4953
34683bb0
L
4954 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4955 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4956
84a68786
L
4957 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4958
48baa5f1
L
4959 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4960 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4961
180be88b
L
4962 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4963 __syscall_slong_t.
4964
5e90c8ad
L
4965 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4966 include <bits/wordsize.h>. Check __x86_64__ instead of
4967 __WORDSIZE.
4968
23dfb58b
L
4969 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4970 "unsigned long long int" if __x86_64__ is defined.
4971 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4972
ce5d54b0
L
4973 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4974 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4975 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4976
13dc9eac
L
4977 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4978 <stdint.h>.
4979 (GET_PC): Cast to uintptr_t first.
4980 (GET_FRAME): Likewise.
4981 (GET_STACK): Likewise.
4982
a7895d15
L
4983 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4984 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4985 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4986 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4987 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4988 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4989 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4990 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4991 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4992 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4993 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4994 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4995 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4996 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4997 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4998 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4999 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5000 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5001 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5002 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5003 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5004 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5005 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5006 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5007 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5008 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5009 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5010 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5011 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5012
656416c9
AS
50132012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5014
5bd66283
AS
5015 * Makerules (+depfiles): Also collect depfiles from .oS in
5016 $(extra-objs).
5017 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5018 .oS, $(libnldbl-routines)).
5019
656416c9
AS
5020 * Makerules (native-compile-mkdep-flags): Define.
5021 * sunrpc/Makefile (extra-objs): Add $(addprefix
5022 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5023 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5024 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5025 calling $(make-target-directory).
5026
a46f2169
L
50272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5028
5029 * bits/types.h (__snseconds_t): Removed.
5030 * time/time.h (struct timespec): Replace __snseconds_t with
5031 __syscall_slong_t.
5032 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5033 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5034 Likewise.
5035 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5036 (__SNSECONDS_T_TYPE): Likewise.
5037 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5038 (__SNSECONDS_T_TYPE): Likewise.
5039 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5040 (__SNSECONDS_T_TYPE): Likewise.
5041
6af6528b
L
50422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5043
5044 * sysdeps/mach/hurd/bits/typesizes.h
5045 (__SYSCALL_SLONG_TYPE): New macro.
5046 (__SYSCALL_ULONG_TYPE): Likewise.
5047
de986b56
L
50482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5049
5050 * bits/types.h (__syscall_slong_t): New type.
5051 (__syscall_ulong_t): Likewise.
5052
5053 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5054 (__SYSCALL_ULONG_TYPE): Likewise.
5055 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5056 (__SYSCALL_SLONG_TYPE): Likewise.
5057 (__SYSCALL_ULONG_TYPE): Likewise.
5058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5059 (__SYSCALL_SLONG_TYPE): Likewise.
5060 (__SYSCALL_ULONG_TYPE): Likewise.
5061 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5062 (__SYSCALL_SLONG_TYPE): Likewise.
5063 (__SYSCALL_ULONG_TYPE): Likewise.
5064
85736dc7
L
50652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5066
5067 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5068 Add sigaltstack-offsets.sym.
5069 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5070 <sigaltstack-offsets.h>.
5071 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5072 longjmp_msg pointer.
5073 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5074 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5075 signal stack.
5076 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5077
cc03b296
JM
50782012-05-15 Joseph Myers <joseph@codesourcery.com>
5079
a9538892
JM
5080 * elf/stackguard-macros.h: Remove file.
5081 * sysdeps/generic/stackguard-macros.h: New file.
5082 * sysdeps/i386/stackguard-macros.h: Likewise.
5083 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5084 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5085 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5086 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5087 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5088 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5089 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5090 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5091 <elf/stackguard-macros.h>.
5092
cc03b296
JM
5093 [BZ #14109]
5094 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5095 __aligned__ in attribute.
5096 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5097 (gregset_t): Likewise.
5098
93171016
L
50992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5100
5101 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5102 * sysdeps/x86_64/64/Implies-after: Here. New file.
5103 * sysdeps/x86_64/x32/Implies-after: New file.
5104
d86813a0
L
51052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5106
5107 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5108 and access return value for _dl_profile_fixup. Use R10_LP to
5109 load frame size.
5110
2953ec75
L
51112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5112
5113 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5114
3b550e9e
L
51152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5116
5117 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5118 * sysdeps/x86_64/x32/sysdep.h: New file.
5119
eda41706
L
51202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5121
5122 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5123 * sysdeps/x86_64/setjmp.S: Likewise.
5124
9ea01d93
AZ
51252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5126
5127 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5128 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5129 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5130 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5131 remove unused global constant.
5132
02a91938
CM
51332012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5134
5135 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5136 include of <not-cancel.h>.
5137
6540185f
RM
51382012-05-15 Roland McGrath <roland@hack.frob.com>
5139
5140 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5141
509072a0
AJ
51422012-05-15 Jeff Law <law@redhat.com>
5143 Andreas Jaeger <aj@suse.de>
5144
5145 [BZ #13594]
5146 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5147 out from...
5148 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5149 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5150 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5151 code changing __hst_map_handle.map.
5152
ba75122d
RM
51532012-05-15 Roland McGrath <roland@hack.frob.com>
5154
5155 * configure.in (sysnames): Look for Implies-before and Implies-after
5156 files.
5157 * configure: Regenerated.
5158
890d8bd8
L
51592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5160
5161 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5162 8-byte data alignment with LP_SIZE alignment.
5163
f6ee6623
L
51642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5165
5166 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5167 into R10_LP.
5168
ea2626f6
L
51692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5170
5171 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5172
085f715e
L
51732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5174
5175 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5176 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5177 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5178 Likewise.
5179 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5180
be8498fc
L
51812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5182
5183 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
5184 (stackinfo_sub_sp): Likewise.
5185
70bc83b9
L
51862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5187
5188 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
5189 RAX_LP.
5190
9bc0b730
L
51912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5192
5193 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
5194 into R*_LP.
5195
6d2850e7
L
51962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5197
5198 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
5199 sizes into R*_LP.
5200
3cb84561
L
52012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5202
5203 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
5204
54e2ed81
L
52052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5206
5207 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
5208 into R11_LP and load __x86_64_shared_cache_size_half into
5209 R8_LP.
5210
8a17f349
L
52112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5212
5213 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5214 R8_LP.
5215
777b1eea
AZ
52162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5217
5218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5219 logb for POWER7.
5220 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5221 logbf for POWER7.
5222 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5223 logbl for POWER7.
5224 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5225 powerpc32/power7/fpu/s_logb.c via #include.
5226 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5227 powerpc32/power7/fpu/s_logbf.c via #include.
5228 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5229 powerpc32/power7/fpu/s_logbl.c via #include.
5230
d20d4ac2
JM
52312012-05-15 Joseph Myers <joseph@codesourcery.com>
5232
5233 * README.libm: Remove file.
5234
6cdef1ab
L
52352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5236
5237 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5238 count for x32. Use R*_LP and omit operand-size suffix.
5239
0b254d8f
L
52402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5241
5242 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5243 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5244 * sysdeps/x86_64/x32/shlib-versions: New file.
5245
ceb809dc
RM
52462012-05-14 Roland McGrath <roland@hack.frob.com>
5247
5248 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5249 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5250 Use _dl_fatal_printf instead.
5251
37f1abd4
JM
52522012-05-14 Joseph Myers <joseph@codesourcery.com>
5253
5254 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5255 set if not set by the user. Do not allow for being unset.
5256 * sysdeps/unix/sysv/linux/configure: Regenerated.
5257
11de3a33
L
52582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5259
5260 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5261 the `q' suffix from lea and replace .quad with ASM_ADDR.
5262
e02f153a
L
52632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5264
5265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5266 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5267 instead of $17.
5268 (PTR_DEMANGLE): Likewise.
5269
520ae0fd
L
52702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5271
5272 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5273 (LP_OP): Likewise.
5274 (ASM_ADDR): Likewise.
5275 (RAX_LP): Likewise.
5276 (RBP_LP): Likewise.
5277 (RBX_LP): Likewise.
5278 (RCX_LP): Likewise.
5279 (RDI_LP): Likewise.
5280 (RSI_LP): Likewise.
5281 (RSP_LP): Likewise.
5282 (R8_LP): Likewise.
5283 (R9_LP): Likewise.
5284 (R10_LP): Likewise.
5285 (R10_LP): Likewise.
5286 (R11_LP): Likewise.
5287 (R12_LP): Likewise.
5288 (R13_LP): Likewise.
5289 (R14_LP): Likewise.
5290 (R15_LP): Likewise.
5291
b985be81
L
52922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5293
5294 * sysdeps/x86_64/x32/dl-machine.h: New file.
5295
6a4888ff
AJ
52962012-05-14 Andreas Jaeger <aj@suse.de>
5297
5298 * manual/Makefile (subdir): Remove export of subdir.
5299 (all): Remove target.
5300 (.PHONY): Remove all from list.
5301 (mkinstalldirs): Remove.
5302 (.PHONY): Remove installdirs from list.
5303 ($(inst_infodir)/libc.info): Use make-target-directory.
5304 (installdirs): Remove.
5305 (subdir_%): Remove.
5306 (glibc-targets): Remove.
5307 (lib): Remove.
5308 (stubs): Remove.
5309 ($(objpfx)stubs ../po/manual.pot): Remove.
5310 ($(objpfx)stamp%): Remove.
5311 (make-target-directory): Remove.
5312 (subdir_install): Remove.
5313 (routines): Remove.
5314 (aux): Remove.
5315 (sources): Remove.
5316 (objects): Remove.
5317 (headers): Remove.
5318
5319 [BZ #13750]
5320 * manual/.gitignore: Remove, it's not needed anymore.
5321 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5322 all files in it.
5323 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5324 directory.
5325 (texis): Renamed to $(objpfx)texis.
5326 (texis-path): New, contains path to generated files.
5327 (chapters.%): Use texis-path for complete path, add extra argument
5328 libc-texinfo.sh.
5329 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5330 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5331 (summary,texi, stamp-summary): Use complete path of
5332 files. Generate files in build dir.
5333 (dir-add.texi): Build in build dir.
5334 (libm-err.texi,stamp-libm-err): Likewise.
5335 (version.texi, stamp-version): Likewise.
5336 (.%c.texi): Likewise.
5337 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5338 (mostlyclean): Remove target.
5339 (realclean): Remove target.
5340 (generated): Add new variable with contents from mostlyclean and
5341 realclean, remove entries duplicated in common-mostlyclean, add
5342 stamp-libm-err and stamp-version.
5343 (generated-dirs): Add libc directory.
5344 ($(inst_infodir)/libc.info): Install files from build dir.
5345
5346 * manual/install.texi (Configuring and compiling): Adjust since
5347 the info files are not part of the tar ball anymore.
5348
7ac77294
AJ
53492012-05-14 Andreas Jaeger <aj@suse.de>
5350
5351 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5352 variable.
5353
ffb7875d
JM
53542012-05-14 Joseph Myers <joseph@codesourcery.com>
5355
5356 [BZ #13717]
5357 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5358 to 2.2.0 where earlier.
5359 * sysdeps/unix/sysv/linux/configure: Regenerated.
5360 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5361 Remove conditional code.
5362 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5363 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5364 Remove conditional code.
5365 [!__NR_lchown]: Likewise.
5366 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5367 [__NR_lchown]: Likewise.
5368 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5369 comment referencing __ASSUME_LCHOWN_SYSCALL.
5370 * sysdeps/unix/sysv/linux/i386/sigaction.c
5371 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5372 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5373 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5374 Remove conditional code.
5375 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5376 (__protocol_available): Remove #if 0 code.
5377 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5378 conditional code.
5379 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5380 * sysdeps/unix/sysv/linux/kernel-features.h
5381 (__ASSUME_GETCWD_SYSCALL): Don't define.
5382 (__ASSUME_REALTIME_SIGNALS): Likewise.
5383 (__ASSUME_PREAD_SYSCALL): Likewise.
5384 (__ASSUME_PWRITE_SYSCALL): Likewise.
5385 (__ASSUME_POLL_SYSCALL): Likewise.
5386 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5387 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5388 non-SPARC.
5389 (__ASSUME_SIOCGIFNAME): Don't define.
5390 (__ASSUME_MSG_NOSIGNAL): Likewise.
5391 (__ASSUME_SENDFILE): Define unconditionally.
5392 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5393 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5394 conditional code.
5395 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5396 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5397 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5398 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5399 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5400 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5401 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5403 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5404 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5406 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5407 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5409 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5410 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5412 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5413 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5415 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5416 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5418 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5419 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5421 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5424 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5425 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5426 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5427 Remove conditional code.
5428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5429 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5430 Remove conditional code.
5431 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5432 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5433 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5434 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5435 Remove conditional code.
5436 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5437 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5438 Remove conditional code.
5439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5440 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5441 Remove conditional code.
5442 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5443 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5444 Remove conditional code.
5445 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5446 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5447 Remove conditional code.
5448 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5449 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5450 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5451 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5452 * sysdeps/unix/sysv/linux/sigaction.c
5453 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5454 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5455 * sysdeps/unix/sysv/linux/sigpending.c
5456 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5457 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5458 * sysdeps/unix/sysv/linux/sigprocmask.c
5459 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5460 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5461 * sysdeps/unix/sysv/linux/sigsuspend.c
5462 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5463 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5464 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5465 (__libc_missing_rt_sigs): Remove.
5466 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5467 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5468 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5469 Remove conditional code.
5470 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5471 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5472 return 1.
5473 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5474 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5475 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5476 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5477
1bfb7291
AJ
54782012-05-14 Andreas Jaeger <aj@suse.de>
5479
caae5a81
AJ
5480 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5481 it's not used in glibc.
5482 (__coshm1): Likewise.
5483 (__acosh1p): Likewise.
5484 (__sgn): Likewise.
5485
1bfb7291
AJ
5486 * manual/string.texi (Copying and Concatenation): Add missing
5487 variable in concat example.
5488 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5489
c044d724
L
54902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5491
144c5467 5492 [BZ #14103]
c044d724
L
5493 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5494 __builtin_clzl with __builtin_clzll.
5495
2523c62b
L
54962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5497
5498 [BZ #14104]
5499 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5500 libc_freeres_ptr.
5501
d7bb4c42
LD
55022012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5503
5504 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5505 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5506 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5507 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5508
9dc4e1fb
MF
55092012-05-14 Mike Frysinger <vapier@gentoo.org>
5510
5511 * NEWS: Update ia64 info.
5512
c7df0112
AS
55132012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5514
5515 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5516 used as bcopy.
5517
dc70356c
TS
55182012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5519
5520 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5521 * sysdeps/unix/syscalls.list (dup3): Likewise.
5522 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5523 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5524
9fb1a21f
L
55252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5526
5527 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5528 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5529
4822a2a5
L
55302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5531
5532 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5533 thread pointer.
5534 (TLS_IE): Use mov/add instead of movq/addq to load thread
5535 pointer.
5536 (TLS_GD_PREFIX): New.
5537 (TLS_GD): Use it.
5538
842b81d6
DM
55392012-05-11 David S. Miller <davem@davemloft.net>
5540
5541 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5542 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5543 (_FPU_SETCW): Likewise.
5544
1cf463cd
L
55452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5546
5547 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5548 is 32-byte aligned.
5549
60cc4a18
AS
55502012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5551
5552 [BZ #11837]
5553 * iconvdata/gb18030.c: Update tables.
5554 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5555 characters specially.
5556 (BODY for TO_LOOP): Add encoding of missing ranges.
5557
febb44a4
TS
55582012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5559
5560 [BZ #13673]
5561 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5562 * sysdeps/mach/hurd/dup3.c: Likewise.
5563 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5564 * sysdeps/powerpc/memmove.c:: Likewise.
5565
0a10fb9e
L
55662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5567
5568 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5569 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5570
df8a552f
L
55712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5572
5573 * elf/elf.h (R_X86_64_RELATIVE64): New.
5574 (R_X86_64_NUM): Updated.
5575 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5576 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5577 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5578 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5579 tst-quad1pie tst-quad2pie
5580 (modules-names): Add tst-quadmod1 tst-quadmod2.
5581 ($(objpfx)tst-quad1): New dependency.
5582 ($(objpfx)tst-quad2): Likewise.
5583 ($(objpfx)tst-quad1pie): Likewise.
5584 ($(objpfx)tst-quad2pie): Likewise.
5585 * sysdeps/x86_64/tst-quad1.c: New file.
5586 * sysdeps/x86_64/tst-quad1pie.c: New file.
5587 * sysdeps/x86_64/tst-quad2.c: Likewise.
5588 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5589 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5590 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5591 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5592 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5593
f34d6f84
ST
55942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5595
f42d41d1
ST
5596 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5597 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5598 * streams/stropts.h (t_scalar_t): Define type.
5599
3c3571fc
ST
5600 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5601 (_PATH_PRESERVE): Set to "/var/lib".
5602 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5603
61f06bd3
ST
5604 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5605 instead of int.
5606
918d4d71
ST
5607 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5608 if __dir_mkfile succeeded.
5609
f34d6f84
ST
5610 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5611 checking for _hurd_dtablesize. Unlock it right after having
5612 finished _hurd_dtable allocation.
5613
10589b4a
TS
56142012-05-10 Thomas Schwinge <thomas@schwinge.name>
5615
674cdbc7
TS
5616 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5617 * sysdeps/mach/hurd/configure: Regenerated.
5618 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5619 special-casing to...
5620 * sysdeps/gnu/configure.in: ... this new file.
5621 * sysdeps/unix/sysv/linux/configure: Regenerated.
5622 * sysdeps/gnu/configure: New generated file.
5623
8e41b99f
TS
5624 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5625 for Linux: use nsec instead of usec, as well as:
5626 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5627 members of type struct timespec.
5628 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5629 New macros.
5630 (struct stat64): Likewise.
5631 (_STATBUF_ST_NSEC): New macro.
5632 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5633
10589b4a
TS
5634 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5635 __strtoul_internal rather than strtoul.
5636
63643c85
PT
56372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5638
5639 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5640 and reject them.
5641
3faebe6a
ST
56422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5643
5644 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5645 which preserves existing values.
5646 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5647
c6474b07
PT
56482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5649
5650 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5651 TIMEOUT values. Return EINVAL for NFDS values either negative or
5652 greater than FD_SETSIZE.
5653
1043890b
ST
56542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5655
5656 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5657 allocated, call __vm_protect to finish enabling the existing space, and
5658 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5659 allocate the remainder.
5660
37ed8b9b
PT
56612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5662
5663 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5664 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5665
db653660
ST
56662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5667
37ed8b9b
PT
5668 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5669 sysdeps/mach/hurd/readlink.c.
b29d4053 5670
db653660
ST
5671 * posix/tst-sysconf.c (posix_options): Only use
5672 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5673 _POSIX_SYNCHRONIZED_IO when they are defined
5674 * sysdeps/mach/hurd/bits/posix_opt.h:
5675 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5676 (_XOPEN_REALTIME): Undefine macro.
5677 (_XOPEN_REALTIME_THREADS): Undefine macro.
5678 (_XOPEN_SHM): Undefine macro.
5679 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5680 macro to -1.
5681 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5682 macro to -1.
5683 (_POSIX_ASYNC_IO): Undefine macro.
5684 (_POSIX_PRIORITIZED_IO): Undefine macro.
5685 (_POSIX_SPIN_LOCKS): Define macro to -1.
5686
ee16e894
ST
5687 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5688 SA_NODEFER, SA_RESETHAND.
5689 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5690 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5691 F_DUPFD_CLOEXEC.
5692
6103ae3b
TS
56932012-05-10 Thomas Schwinge <thomas@schwinge.name>
5694
5695 * elf/Makefile (pldd-modules): Define unconditionally.
5696
80b4e5f3
TS
56972012-05-10 Thomas Schwinge <thomas@schwinge.name>
5698
5699 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5700
edadcbd6
ST
57012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5702
5703 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5704 Return ENOENT when name is empty.
5705 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5706
80694780
TS
57072012-05-10 Thomas Schwinge <thomas@schwinge.name>
5708
1792c087
TS
5709 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5710
80694780
TS
5711 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5712
6b645f0d
ST
57132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5714
80694780
TS
5715 Fix mlock in all cases except non-readable pages.
5716 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5717 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5718
6b645f0d
ST
5719 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5720 (__mkdir): When path is `/', just fail with EEXIST.
5721 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5722
e468f8a3
TS
57232012-05-10 Thomas Schwinge <thomas@schwinge.name>
5724
5725 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5726 <sys/uio.h> (for writev).
5727 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5728 and <sys/param.h> (for MIN).
5729
a4186cff
PT
57302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5731
5732 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5733 REQUESTED_TIME. Properly set the remaining time and return EINTR
5734 if interrupted.
5735
510bbf14
TS
57362012-05-10 Thomas Schwinge <thomas@schwinge.name>
5737
5738 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5739 Depend on against $(link-rpcuserlibs).
5740
5d5722e8
ST
57412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5742
a4186cff
PT
5743 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5744 (__libc_stack_end): Do not use attribute_relro.
5745 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5746 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5747 to libthread-provided value.
a4186cff
PT
5748 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5749 attribute_relro.
5d5722e8 5750
37233df9
TS
57512012-05-10 Thomas Schwinge <thomas@schwinge.name>
5752
be971a2b
TS
5753 [BZ #3748]
5754 * bits/libc-lock.h (__libc_once_get): New macro.
5755 * sysdeps/mach/bits/libc-lock.h: Likewise.
5756 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5757 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5758 instead of using implementation details.
5759
37233df9
TS
5760 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5761 * libio/freopen.c: Likewise.
5762 * libio/freopen64.c: Likewise.
5763 * misc/syslog.c: Likewise.
5764 * nscd/connections.c: Likewise.
5765 * nscd/netgroupcache.c: Likewise.
5766 * sysdeps/posix/getcwd.c: Likewise.
5767
38de94a5
RM
57682012-05-10 Roland McGrath <roland@hack.frob.com>
5769
5770 * math/w_ilogbf.c: Add #include <limits.h>.
5771
67530489
ST
57722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5773
a4186cff 5774 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5775 path instead of returning without unlocking.
5776
67530489
ST
5777 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5778 immediate-write ioctls.
5779 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5780
5aa3a74a
TS
57812012-05-10 Thomas Schwinge <thomas@schwinge.name>
5782
18bad2ae
TS
5783 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5784 __builtin_frame_address instead of making assumptions about the
5785 location of the return address relative to DATA. Force early load of
5786 the return address.
5787 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5788 __builtin_frame_address.
5789
5aa3a74a
TS
5790 dup3 for GNU Hurd.
5791 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5792 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5793 implement dup3 and do some further code clean-ups.
5794 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5795 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5796
ecd0de9a
ST
57972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5798
cd9fa985
ST
5799 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5800
a4186cff
PT
5801 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5802 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5803 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5804 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5805 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5806 d->port.lock.
802ca5a5 5807
a4186cff
PT
5808 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5809 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5810 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5811
bcf55240
TS
58122012-05-10 Thomas Schwinge <thomas@schwinge.name>
5813
6960eb42
TS
5814 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5815 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5816 definitions.
5817
eb43375f
TS
5818 accept4 for GNU Hurd.
5819 * include/sys/socket.h (__libc_accept4): New prototype.
5820 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5821 to implement __libc_accept4.
5822 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5823 __libc_accept4.
5824 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5825
bcf55240
TS
5826 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5827 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5828 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5829 signal-defines.sym.
5830
6178c55b
ST
58312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5832
a4186cff 5833 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5834
6f080c2f
TS
58352012-05-10 Thomas Schwinge <thomas@schwinge.name>
5836
5837 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5838 assertion on O_CLOEXEC flag.
5839 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5840 * hurd/intern-fd.c: Likewise.
5841 * hurd/port2fd.c: Likewise.
5842
bcfe3a54
ST
58432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5844
5845 [BZ #3906]
5846 * bits/in.h (IPV6_PKTINFO): Define new macro.
5847 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5848
89c9aa49
AZ
58492012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5850
5851 [BZ #13954]
5852 [BZ #13955]
5853 [BZ #13956]
5854 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5855 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5856 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5857 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5858 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5859 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5860 * math/libm-test.inc (logb_test) : Additional logb tests.
5861
021db4be
AJ
58622012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5863 Andreas Jaeger <aj@suse.de>
5864
5865 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5866 * configure: Regenerated.
5867 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5868 * config.make.in (link-obsolete-rpc): New substituted variable.
5869 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5870 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5871 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5872 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5873 so that libc.a contains the symbols.
5874 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5875 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5876 * sunrpc/auth_none.c: Likewise.
5877 * sunrpc/auth_unix.c: Likewise.
5878 * sunrpc/authdes_prot.c: Likewise.
5879 * sunrpc/authuxprot.c: Likewise.
5880 * sunrpc/clnt_gen.c: Likewise.
5881 * sunrpc/clnt_perr.c: Likewise.
5882 * sunrpc/clnt_raw.c: Likewise.
5883 * sunrpc/clnt_simp.c: Likewise.
5884 * sunrpc/clnt_tcp.c: Likewise.
5885 * sunrpc/clnt_udp.c: Likewise.
5886 * sunrpc/clnt_unix.c: Likewise.
5887 * sunrpc/des_crypt.c: Likewise.
5888 * sunrpc/des_soft.c: Likewise.
5889 * sunrpc/get_myaddr.c: Likewise.
5890 * sunrpc/key_call.c: Likewise.
5891 * sunrpc/key_prot.c: Likewise.
5892 * sunrpc/netname.c: Likewise.
5893 * sunrpc/pm_getmaps.c: Likewise.
5894 * sunrpc/pm_getport.c: Likewise.
5895 * sunrpc/pmap_clnt.c: Likewise.
5896 * sunrpc/pmap_prot.c: Likewise.
5897 * sunrpc/pmap_prot2.c: Likewise.
5898 * sunrpc/pmap_rmt.c: Likewise.
5899 * sunrpc/publickey.c: Likewise.
5900 * sunrpc/rpc_cmsg.c: Likewise.
5901 * sunrpc/rpc_common.c: Likewise.
5902 * sunrpc/rpc_dtable.c: Likewise.
5903 * sunrpc/rpc_prot.c: Likewise.
5904 * sunrpc/rpc_thread.c: Likewise.
5905 * sunrpc/rtime.c: Likewise.
5906 * sunrpc/svc.c: Likewise.
5907 * sunrpc/svc_auth.c: Likewise.
5908 * sunrpc/svc_raw.c: Likewise.
5909 * sunrpc/svc_run.c: Likewise.
5910 * sunrpc/svc_tcp.c: Likewise.
5911 * sunrpc/svc_udp.c: Likewise.
5912 * sunrpc/svc_unix.c: Likewise.
5913 * sunrpc/svcauth_des.c: Likewise.
5914 * sunrpc/xcrypt.c: Likewise.
5915 * sunrpc/xdr.c: Likewise.
5916 * sunrpc/xdr_array.c: Likewise.
5917 * sunrpc/xdr_float.c: Likewise.
5918 * sunrpc/xdr_intXX_t.c: Likewise.
5919 * sunrpc/xdr_mem.c: Likewise.
5920 * sunrpc/xdr_rec.c: Likewise.
5921 * sunrpc/xdr_ref.c: Likewise.
5922 * sunrpc/xdr_sizeof.c: Likewise.
5923 * sunrpc/xdr_stdio.c: Likewise.
5924
b5c086a2
RM
59252012-05-10 Roland McGrath <roland@hack.frob.com>
5926
5927 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5928 change. Update copyright years.
5929
6d74dd09
JM
59302012-05-10 Joseph Myers <joseph@codesourcery.com>
5931
5932 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5933
28e72501
MK
59342012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5935 Joseph Myers <joseph@codesourcery.com>
5936 Paul Pluzhnikov <ppluzhnikov@google.com>
5937
5938 [BZ #14012]
5939 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5940 requiring rpcgen.
5941 [cross-compiling] (extra-libs): Likewise.
5942 [cross-compiling] (extra-libs-others): Likewise.
5943 [cross-compiling] (librpcsvc-routines): Likewise.
5944 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5945 [cross-compiling] (omit-deps): Likewise.
5946 (sunrpc-CPPFLAGS): New variable.
5947 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5948 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5949 (cross-rpcgen-objs): New variable.
5950 (extra-objs): Append $(cross-rpcgen-objs).
5951 ($(cross-rpcgen-objs)): New rule.
5952 ($(objpfx)cross-rpcgen): Likewise.
5953 (rpcgen-cmd): Define to use $(built-program-file). Expand
5954 comment.
5955 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5956 ($(objpfx)x%.stmp): Likewise.
5957 * sunrpc/proto.h [IS_IN_build] (_): Define.
5958 [IS_IN_build] (_libc_intl_domainname): Likewise.
5959
c8c59454
L
59602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5961
5962 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5963 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5964 and R_X86_64_TPOFF64.
5965
6f27cd16
JM
59662012-05-10 Joseph Myers <joseph@codesourcery.com>
5967
5968 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5969 sysdeps/unix/sysv/syscalls.list.
5970 (stime): Likewise.
5971 (utime): Likewise.
5972 * sysdeps/unix/sysv/syscalls.list: Remove file.
5973
02467e1c
PE
59742012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5975
5976 [BZ #3440]
5977 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5978 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5979 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5980 (__LC_IDENTIFICATION): Make these macros useful in #if
5981 expressions, as required by C99.
5982
da392631
AS
59832012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5984
5985 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5986 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5987 after this.
5988
8115f29b
L
59892012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5990
5991 * stdlib/longlong.h: Updated from GCC.
5992
bdd74070
AJ
59932012-05-09 Andreas Jaeger <aj@suse.de>
5994
edfe0dbe
AJ
5995 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5996 default is first entry.
5997 (run_mode): Set type.
5998 (main): Remove informal message about syslog.
5999 (options): Fix typo.
6000
bcfe3a54
ST
6001 [BZ #14053]
6002 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6003 to asm.
bcfe3a54
ST
6004 (lrint): Likewise.
6005 (llrintf): Likewise.
6006 (llrint): Likewise.
6007 (rint): Likewise.
6008 (rintf): Likewise.
6009 (nearbyint): Likewise.
6010 (nearbyintf): Likewise.
bdd74070 6011
91d8d69e
AJ
60122012-05-09 Andreas Jaeger <aj@suse.de>
6013 Pedro Alves <palves@redhat.com>
6014
6015 * nscd/nscd.c (run_mode): Use enum.
6016 (main): Cleanup coding style issue.
6017
bb90b80b
AJ
60182012-05-09 Alexandre Oliva <aoliva@redhat.com>
6019 Andreas Jaeger <aj@suse.de>
6020
bcfe3a54
ST
6021 * nscd/nscd.c (go_background): Replaced with...
6022 (run_mode): ... this.
bb90b80b 6023 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6024 (options): Add -F --foreground.
6025 (main): Implement it.
6026 (parse_opt): Parse it.
bb90b80b 6027
1a4b75a1
AJ
60282012-05-09 Andreas Jaeger <aj@suse.de>
6029
6030 [BZ #14083]
6031 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6032 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6033 -Wconversion warning.
6034 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6035 Likewise.
6036
b1cc2472
JM
60372012-05-09 Joseph Myers <joseph@codesourcery.com>
6038
6039 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6040 == 0.
6041 (LC_ALL): Use macro-int-constant.
6042 (LC_COLLATE): Likewise.
6043 (LC_CTYPE): Likewise.
6044 (LC_MESSAGES): Likewise.
6045 (LC_MONETARY): Likewise.
6046 (LC_NUMERIC): Likewise.
6047 (LC_TIME): Likewise.
6048 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6049 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6050 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6051 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6052 Specify type.
6053 [C99-based standards] (float_t): Expect type.
6054 [C99-based standards] (double_t): Expect type.
6055 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6056 type.
6057 [C99-based standards] (HUGE_VALL): Likewise.
6058 [C99-based standards] (INFINITY): Likewise.
6059 [C99-based standards] (NAN): Likewise.
6060 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6061 [C99-based standards] (FP_NAN): Likewise.
6062 [C99-based standards] (FP_NORMAL): Likewise.
6063 [C99-based standards] (FP_SUBNORMAL): Likewise.
6064 [C99-based standards] (FP_ZERO): Likewise.
6065 [C99-based standards] (FP_FAST_FMA): Use
6066 optional-macro-int-constant. Specify type. Require == 1.
6067 [C99-based standards] (FP_FAST_FMAF): Likewise.
6068 [C99-based standards] (FP_FAST_FMAL): Likewise.
6069 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6070 [C99-based standards] (FP_ILOGBNAN): Likewise.
6071 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6072 Specify type.
6073 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6074 [C99-based standards] (math_errhandling): Specify type.
6075 [ISO99 || ISO11] (signgam): Do not allow.
6076 [non-C99-based standards] (copysignf): Do not allow.
6077 [non-C99-based standards] (exp2f): Likewise.
6078 [non-C99-based standards] (log2f): Likewise.
6079 [non-C99-based standards] (modff): Allow.
6080 [non-C99-based standards] (erff): Do not allow.
6081 [non-C99-based standards] (erfcf): Likewise.
6082 [non-C99-based standards] (gammaf): Likewise.
6083 [non-C99-based standards] (hypotf): Likewise.
6084 [non-C99-based standards] (j0f): Likewise.
6085 [non-C99-based standards] (j1f): Likewise.
6086 [non-C99-based standards] (jnf): Likewise.
6087 [non-C99-based standards] (lgammaf): Likewise.
6088 [non-C99-based standards] (tgammaf): Likewise.
6089 [non-C99-based standards] (y0f): Likewise.
6090 [non-C99-based standards] (y1f): Likewise.
6091 [non-C99-based standards] (ynf): Likewise.
6092 [non-C99-based standards] (isnanf): Likewise.
6093 [non-C99-based standards] (acoshf): Likewise.
6094 [non-C99-based standards] (asinhf): Likewise.
6095 [non-C99-based standards] (atanhf): Likewise.
6096 [non-C99-based standards] (cbrtf): Likewise.
6097 [non-C99-based standards] (expm1f): Likewise.
6098 [non-C99-based standards] (ilogbf): Likewise.
6099 [non-C99-based standards] (log1pf): Likewise.
6100 [non-C99-based standards] (logbf): Likewise.
6101 [non-C99-based standards] (nextafterf): Likewise.
6102 [non-C99-based standards] (remainderf): Likewise.
6103 [non-C99-based standards] (rintf): Likewise.
6104 [non-C99-based standards] (scalbf): Likewise.
6105 [non-C99-based standards] (copysignl): Likewise.
6106 [non-C99-based standards] (exp2l): Likewise.
6107 [non-C99-based standards] (log2l): Likewise.
6108 [non-C99-based standards] (modfl): Allow.
6109 [non-C99-based standards] (erfl): Do not allow.
6110 [non-C99-based standards] (erfcl): Likewise.
6111 [non-C99-based standards] (gammal): Likewise.
6112 [non-C99-based standards] (hypotl): Likewise.
6113 [non-C99-based standards] (j0l): Likewise.
6114 [non-C99-based standards] (j1l): Likewise.
6115 [non-C99-based standards] (jnl): Likewise.
6116 [non-C99-based standards] (lgammal): Likewise.
6117 [non-C99-based standards] (tgammal): Likewise.
6118 [non-C99-based standards] (y0l): Likewise.
6119 [non-C99-based standards] (y1l): Likewise.
6120 [non-C99-based standards] (ynl): Likewise.
6121 [non-C99-based standards] (isnanl): Likewise.
6122 [non-C99-based standards] (acoshl): Likewise.
6123 [non-C99-based standards] (asinhl): Likewise.
6124 [non-C99-based standards] (atanhl): Likewise.
6125 [non-C99-based standards] (cbrtl): Likewise.
6126 [non-C99-based standards] (expm1l): Likewise.
6127 [non-C99-based standards] (ilogbl): Likewise.
6128 [non-C99-based standards] (log1pl): Likewise.
6129 [non-C99-based standards] (logbl): Likewise.
6130 [non-C99-based standards] (nextafterl): Likewise.
6131 [non-C99-based standards] (remainderl): Likewise.
6132 [non-C99-based standards] (rintl): Likewise.
6133 [non-C99-based standards] (scalbl): Likewise.
6134 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6135 [non-C99-based standards] (FP_*): Do not allow.
6136 [C99-based standards] (FP_*): Change to
6137 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6138 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6139 allow.
6140 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6141 (SIG_ERR): Likewise.
6142 [X/Open-based standards] (SIG_HOLD): Likewise.
6143 (SIG_IGN): Likewise.
6144 (SIGABRT): Use macro-int-constant. Specify type. Require
6145 positive value.
6146 (SIGFPE): Likewise.
6147 (SIGILL): Likewise.
6148 (SIGINT): Likewise.
6149 (SIGSEGV): Likewise.
6150 (SIGTER): Likewise.
6151 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6152 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6153 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6154 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6155 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6156 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6157 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6158 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6159 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6160 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6161 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6162 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6163 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6164 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6165 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6166 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6167 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6168 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6169 [X/Open-based standards] (SIGTRAP): Likewise.
6170 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6171 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6172 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6173 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6174 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6175 allow.
6176
b9f1922d
IW
61772012-05-08 Ian Wienand <ianw@vmware.com>
6178
6179 [BZ #14080]
6180 * time/tzset.c (__tzset_parse_tz): Update default rules for
6181 daylight time changes in the Energy Policy Act of 2005.
6182
1db86e88
AJ
61832012-05-09 Andreas Jaeger <aj@suse.de>
6184
6185 [BZ #13983]
6186 * elf/ldconfig.c (parse_conf): Change string to make clear that
6187 ldconfig only issued a warning if ld.so.conf does not exist.
6188
dee4a4e3
DM
61892012-05-08 David S. Miller <davem@davemloft.net>
6190
ee0db190
DM
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
6192 movxtod instead of popping the value on the stack.
6193
dee4a4e3
DM
6194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6195
6a43ec98
CD
61962012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
6197
6198 * config.h.in: Add HAVE_ARM_PCS_VFP.
6199
05c2c961
RMG
62002012-05-08 Roland Mc Grath <roland@hack.frob.com>
6201
bcfe3a54
ST
6202 [BZ #13979]
6203 * include/features.h: Warn if user requests __FORTIFY_SOURCE
6204 checking but the checks are disabled for any reason.
05c2c961 6205
4b30f61a
L
62062012-05-08 H.J. Lu <hongjiu.lu@intel.com>
6207
6208 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
6209 and ELF64_R_TYPE with ELFW(R_TYPE).
6210
eee2bc67
JM
62112012-05-08 Joseph Myers <joseph@codesourcery.com>
6212
7ea5391a
JM
6213 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6214 (ulimit): Likewise.
6215
eee2bc67
JM
6216 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6217 (settimeofday): Likewise.
6218
abb66a67
MF
62192012-05-08 Mike Frysinger <vapier@gentoo.org>
6220
6221 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6222 a struct th_u2 inside the union, and move tu_block/tu_code into
6223 a new th_u3 union of tu_block/tu_code inside of that. Move
6224 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6225 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6226 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6227 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6228 (th_stuff): Change to th_u1.tu_stuff.
6229 (th_data): Define.
6230 (th_msg): Change to th_u1.th_u2.tu_data.
6231
7f18b530
DM
62322012-05-07 David S. Miller <davem@davemloft.net>
6233
05760585
DM
6234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6235
7f18b530
DM
6236 [BZ #14074]
6237 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6238 (SETUP_PIC_REG): Use it.
6239 (SETUP_PIC_REG_LEAF): Use it.
6240
495fd99f
JM
62412012-05-07 Joseph Myers <joseph@codesourcery.com>
6242
6243 [BZ #13885]
6244 [BZ #13923]
6245 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6246 USE_AS_EXPM1L.
6247 (EXPL_FINITE): Likewise.
6248 (FLDLOG): Likewise.
6249 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6250 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6251 e_expl.S.
6252 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6253 USE_AS_EXPM1L.
6254 (EXPL_FINITE): Likewise.
6255 (FLDLOG): Likewise.
6256 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6257 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6258 e_expl.S.
6259 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6260 test of -max_value argument for long double.
6261 * sysdeps/i386/fpu/libm-test-ulps: Update.
6262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6263
6693d694
DM
62642012-05-06 David S. Miller <davem@davemloft.net>
6265
6266 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6267 quad soft-float symbols whose references which are compiler
6268 generated.
6269 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6270
6c23e11c
JM
62712012-05-06 Joseph Myers <joseph@codesourcery.com>
6272
d8b82cad
JM
6273 [BZ #13884]
6274 [BZ #13914]
6275 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6276 USE_AS_EXP10L.
6277 (EXPL_FINITE): Likewise.
6278 (FLDLOG): Likewise.
6279 (c0): Likewise.
6280 (c1): Likewise.
6281 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6282 Adjust comments for base varying.
6283 (__expl_finite): Change alias to EXPL_FINITE.
6284 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6285 e_expl.S.
6286 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6287 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6289 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6290 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6291 USE_AS_EXP10L.
6292 (EXPL_FINITE): Likewise.
6293 (FLDLOG): Likewise.
6294 (c0): Likewise.
6295 (c1): Likewise.
6296 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6297 Adjust comments for base varying.
6298 (__expl_finite): Change alias to EXPL_FINITE.
6299 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6300 tests for bugs.
6301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6302
6c23e11c
JM
6303 [BZ #14064]
6304 * math/libm-test.inc (check_float_internal): Correct ulp
6305 calculation for subnormal expected results.
6306
29ba805c
AJ
63072012-05-06 Andreas Jaeger <aj@suse.de>
6308
6309 * Makeconfig (+math-flags): New, set to -frounding-math.
6310 (+cflags): Add +math-flags so that all of glibc gets compiled with
6311 it.
6312
6313 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6314
7b17aeda
JM
63152012-05-05 Joseph Myers <joseph@codesourcery.com>
6316
5779f134
JM
6317 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6318 Disable one test.
6319
41498f4d
JM
6320 [BZ #13787]
6321 [BZ #13922]
6322 [BZ #14036]
6323 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6324 (__ieee754_expl): Allow for and saturate large arguments.
6325 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6326 (u_threshold): Likewise.
6327 (__exp): Call __ieee754_exp before checking for overflow and
6328 underflow.
6329 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6330 (u_threshold): Likewise.
6331 (__expf): Call __ieee754_expf before checking for overflow and
6332 underflow.
6333 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6334 (u_threshold): Likewise.
6335 (__expl): Call __ieee754_expl before checking for overflow and
6336 underflow.
6337 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6338 (__ieee754_expl): Allow for and saturate large arguments.
6339 * math/libm-test.inc (exp_test): Add another test. Do not allow
6340 missing overflow exception on overflow.
6341 (expm1_test): Do not allow missing overflow exception on overflow.
6342
6698b8bf
JM
6343 * sysdeps/i386/fpu/e_expl.c: Move to ...
6344 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6345 rather than using inline asm.
6346 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6347 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6348 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6349
7b17aeda
JM
6350 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6351 (nice): Likewise.
6352 (poll): Likewise.
6353 (signal): Likewise.
6354 (time): Likewise.
6355 (times): Likewise.
6356
f7c85819
JM
63572012-05-04 Joseph Myers <joseph@codesourcery.com>
6358
6359 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6360 sysdeps/unix/common/syscalls.list.
6361 (fchmod): Likewise.
6362 (fchown): Likewise.
6363 (ftruncate): Likewise.
6364 (getrusage): Likewise.
6365 (gettimeofday): Likewise.
6366 (setpgid): Likewise.
6367 (setregid): Likewise.
6368 (setreuid): Likewise.
6369 (sigaction): Likewise.
6370 (truncate): Likewise.
6371 (vhangup): Likewise.
6372 * sysdeps/unix/common/syscalls.list: Remove file.
6373 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6374 * sysdeps/unix/sysv/linux/Implies: Likewise.
6375
336270d0
L
63762012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6377
6378 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6380 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6381 Moved to ...
6382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6383 Here.
6384 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6385 to ...
6386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6387 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6388 to ...
6389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6390 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6391 to ...
6392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6393 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6394 to ...
6395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6396 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6397 to ...
6398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6399 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6400 to ...
6401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6402 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6403 to ...
6404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6405 Here.
6406 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6407 to ...
6408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6409 Here.
6410 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6411 to ...
6412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6413 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6414 Moved to ...
6415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6416 Here.
6417 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6418 to ...
6419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6420
d128e450
JM
64212012-05-04 Joseph Myers <joseph@codesourcery.com>
6422
fa8ee516
JM
6423 * sysdeps/unix/common/bits/dirent.h: Remove file.
6424 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6425
d128e450
JM
6426 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6427 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6428 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6429 * sysdeps/unix/bsd/isatty.c: Likewise.
6430 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6431 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6432 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6433
ff8faaf0 64342012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6435
62881be4 6436 [BZ #13563]
31dc8730
AZ
6437 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6438 long double comparison inaccuracies.
6439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6441
6fef930c
AS
64422012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6443
6444 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6445 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6446
8f203e6c
JM
64472012-05-04 Joseph Myers <joseph@codesourcery.com>
6448
6449 [BZ #14049]
6450 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6451 nonzero digits before rounding a hex value.
6452 * stdlib/tst-strtod.c (tests): Add another test.
6453
5197d9c2
AK
64542012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6455
6456 * sysdeps/s390/fpu/libm-test-ulps: Update.
6457
f0c1dedf
AJ
64582012-05-03 Andreas Jaeger <aj@suse.de>
6459
6460 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6461 does not get optimized out.
6462 (malloc_opt_barrier): New.
6463
a65ef2ae 64642012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6465 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6466
2b942cb7 6467 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6468 intermediate file deletion.
2b942cb7 6469 (generated): Add .symlist files.
a65ef2ae 6470
54b71e02
JM
64712012-05-03 Joseph Myers <joseph@codesourcery.com>
6472
6473 [BZ #13775]
6474 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6475 Redirect under this condition.
6476 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6477 [__USE_GNU] (__dprintf_chk): Not under this condition.
6478 [__USE_GNU] (__vdprintf_chk): Likewise.
6479 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6480 under this condition.
6481 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6482 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6483 [__USE_XOPEN2K8] (vdprintf): Likewise.
6484 [__USE_GNU] (__dprintf_chk): Not under this condition.
6485 [__USE_GNU] (__vdprintf_chk): Likewise.
6486 [__USE_GNU] (dprintf): Likewise.
6487 [__USE_GNU] (vdprintf): Likewise.
6488
d3dfcc41
RM
64892012-05-03 Roland McGrath <roland@hack.frob.com>
6490
6491 * elf/Makefile (common-generated): Set this instead of generated for
6492 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6493 $(all-built-dso)-derived lists.
6494
7ac30cc5
AJ
64952012-05-03 Andreas Jaeger <aj@suse.de>
6496
0c51e550
AJ
6497 * sysdeps/i386/fpu/libm-test-ulps: Update.
6498
7ac30cc5
AJ
6499 * FAQ: Removed.
6500 * FAQ.in: Likewise.
6501 * scripts/gen-FAQ.pl: Likewise.
6502 * manual/install.texi (Installation): Point to online location of
6503 FAQ.
6504 * Makefile (files-for-dist): Remove FAQ.
6505 (FAQ): Remove.
6506
d4c2917f
AM
65072012-05-02 Allan McRae <allan@archlinux.org>
6508
6509 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6510 (LDFLAGS-reldepmod5.so): Likewise.
6511 (LDFLAGS-reldep6mod1.so): Likewise.
6512 (LDFLAGS-reldep6mod4.so): Likewise.
6513 (LDFLAGS-reldep8mod3.so): Likewise.
6514 (LDFLAGS-unload4mod1.so): Likewise.
6515 (LDFLAGS-unload4mod2.so): Likewise.
6516 (LDFLAGS-tst-initorder): Likewise.
6517 (LDFLAGS-tst-initordera2.so): Likewise.
6518 (LDFLAGS-tst-initordera3.so): Likewise.
6519 (LDFLAGS-tst-initordera4.so): Likewise.
6520 (LDFLAGS-tst-initorderb2.so): Likewise.
6521 (LDFLAGS-noload): Likewise.
6522 (LDFLAGS-next): Likewise.
6523 (LDFLAGS-order2mod1.so): Likewise.
6524 (LDFLAGS-order2mod2.so): Likewise.
6525 (LDFLAGS-tst-initorder2): Likewise.
6526 (LDFLAGS-tst-initorder2a.so): Likewise.
6527 (LDFLAGS-tst-initorder2b.so): Likewise.
6528 (LDFLAGS-tst-initorder2c.so): Likewise.
6529 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6530
d77f993f
DM
65312012-05-02 David S. Miller <davem@davemloft.net>
6532
6533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6534
171a70b4
PP
65352012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6536
6537 [BZ #14055]
6538 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6539
0be196ad
AJ
65402012-05-02 Andreas Jaeger <aj@suse.de>
6541
6542 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6543 since we manipulate rounding mode.
6544 (CPPFLAGS-test-idouble.c): Likewise.
6545 (CPPFLAGS-test-ifloat.c): Likewise.
6546 (CFLAGS-test-ldouble.c): Likewise.
6547 (CFLAGS-test-double.c): Likewise.
6548 (CFLAGS-test-float.c): Likewise.
6549 (CFLAGS-test-misc.c): Likewise.
6550 (CFLAGS-test-test-fenv.c): Likewise.
6551
4f9d04aa
AZ
65522012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6553
2b942cb7
RM
6554 [BZ #2550]
6555 [BZ #2570]
6556 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6557 comparisons to determine direction to adjust input.
4f9d04aa 6558
82a79e7d
RM
65592012-05-01 Roland McGrath <roland@hack.frob.com>
6560
f5a01ca9
RM
6561 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6562 output to the target.
6563
90fe4186
RM
6564 * scripts/localplt.awk: New file.
6565 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6566 (check-localplt-CFLAGS): Variable removed.
6567 ($(all-built-dso:=.jmprel)): New static pattern rule.
6568 (generated): Add those targets.
6569 (localplt-built-dso): New variable.
6570 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6571
6572 * elf/check-localplt.c: File removed.
6573
82397ed6
RM
6574 * scripts/check-execstack.awk: New file.
6575 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6576 (check-execstack-CFLAGS): Variable removed.
6577 ($(objpfx)check-execstack.h): Target removed.
6578 ($(objpfx)execstack-default): New target.
6579 (generated): Add that instead of check-execstack.h.
6580 ($(all-built-dso:=.phdr)): New static pattern rule.
6581 (generated): Add those targets.
6582 * elf/check-execstack.c: File removed.
6583
82a79e7d
RM
6584 * scripts/check-textrel.awk: New file.
6585 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6586 (check-textrel-CFLAGS): Variable removed.
6587 (all-built-dso): Use := to define.o
6588 ($(all-built-dso:=.dyn)): New static pattern rule.
6589 (generated): Add those targets.
6590 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6591 * config.make.in (READELF): New substituted variable.
6592 * elf/check-textrel.c: File removed.
6593
62fde54f 65942012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6595
615605c9
JM
6596 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6597 allow.
6598 * conform/data/ctype.h-data [C99-based standards] (isblank):
6599 Expect function.
6600 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6601 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6603 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6604 Specify type. Require positive value.
6605 (EILSEQ): Likewise.
6606 (ERANGE): Likewise.
6607 [ISO || POSIX] (EILSEQ): Do not expect.
6608 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6609 Specify type. Require positive value.
6610 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6611 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6612 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6613 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6614 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6615 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6616 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6617 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6618 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6619 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6620 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6621 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6622 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6623 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6624 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6625 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6626 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6627 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6628 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6629 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6630 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6631 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6632 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6633 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6634 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6635 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6636 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6637 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6638 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6639 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6640 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6641 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6642 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6643 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6644 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6645 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6646 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6647 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6648 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6649 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6650 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6651 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6652 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6653 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6654 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6655 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6656 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6657 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6658 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6659 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6660 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6661 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6662 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6663 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6664 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6665 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6666 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6667 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6668 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6669 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6670 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6671 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6672 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6673 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6674 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6675 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6676 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6677 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6678 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6679 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6680 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6681 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6682 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6683 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6684 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6685 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6686 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6687 Require >= 2.
6688 (FLT_ROUNDS): Expect as macro, not constant.
6689 (FLT_MANT_DIG): Use macro-int-constant.
6690 (DBL_MANT_DIG): Likewise.
6691 (LDBL_MANT_DIG): Likewise.
6692 (FLT_DIG): Likewise.
6693 (DBL_DIG): Likewise.
6694 (LDBL_DIG): Likewise.
6695 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6696 (DBL_MIN_EXP): Likewise.
6697 (LDBL_MIN_EXP): Likewise.
6698 (FLT_MAX_EXP): Use macro-int-constant.
6699 (DBL_MAX_EXP): Likewise.
6700 (LDBL_MAX_EXP): Likewise.
6701 (FLT_MAX_10_EXP): Likewise.
6702 (DBL_MAX_10_EXP): Likewise.
6703 (LDBL_MAX_10_EXP): Likewise.
6704 (FLT_MAX): Use macro-constant.
6705 (DBL_MAX): Likewise.
6706 (LDBL_MAX): Likewise.
6707 (FLT_EPSILON): Use macro-constant. Give upper bound.
6708 (DBL_EPSILON): Likewise.
6709 (LDBL_EPSILON): Likewise.
6710 (FLT_MIN): Likewise.
6711 (DBL_MIN): Likewise.
6712 (LDBL_MIN): Likewise.
6713 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6714 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6715 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6716 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6717 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6718 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6719 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6720 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6721 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6722 [ISO11] (FLT_TRUE_MIN): Likewise.
6723 [ISO11] (LDBL_TRUE_MIN): Likewise.
6724 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6725 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6726 (SCHAR_MIN): Use macro-int-constant. Specify type.
6727 (SCHAR_MAX): Likewise.
6728 (UCHAR_MAX): Likewise.
6729 (CHAR_MIN): Likewise.
6730 (CHAR_MAX): Likewise.
6731 (MB_LEN_MAX): Use macro-int-constant.
6732 (SHRT_MIN): Use macro-int-constant. Specify type.
6733 (SHRT_MAX): Likewise.
6734 (USHRT_MAX): Likewise.
6735 (INT_MAX): Likewise.
6736 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6737 bound negative.
6738 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6739 bound with "U".
6740 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6741 bound with "L".
6742 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6743 bound negative. Suffix upper bound with "L".
6744 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6745 bound with "UL".
6746 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6747 Specify type.
6748 [C99-based standards] (LLONG_MAX): Likewise.
6749 [C99-based standards] (ULLONG_MAX): Likewise.
6750 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6751 == 0.
6752 [ISO11] (max_align_t): Require type.
6753 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6754
c9140a62
JM
6755 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6756 from $CFLAGS, without defining away __attribute__ calls.
6757 (checknamespace): Use $CFLAGS_namespace.
6758
9af0bf29
JM
6759 * conform/conformtest.pl (@keywords): Only include C99 keywords
6760 for standards based on C99 or C11.
6761
343222a2
JM
6762 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6763 Disable tests.
6764 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6765 UNIX98]: Likewise.
6766
661f8cf0
JM
6767 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6768 usability of symbols in #if.
6769
ee74b9cb
JM
6770 * conform/conformtest.pl: If macro or constant types start
6771 "promoted:", expect the symbol to be of the following type
6772 promoted by the integer promotions.
62fde54f 6773
aafc49b3
JM
6774 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6775 in one place. Also handle "macro-constant".
6776
fefdf574
JM
6777 * conform/conformtest.pl: Only accept expected macro values with
6778 "==". Parse all "macro" lines in one place.
6779 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6780
f2d922fe
JM
6781 * conform/conformtest.pl: Handle braced types on "constant" lines
6782 instead of handling "typed-constant".
6783 * conform/data/signal.h-data: Use "constant" instead of
6784 "typed-constant".
6785
d22956c9
JM
6786 * conform/conformtest.pl: Handle "optional-" at start of lines in
6787 one place rather than duplicating several cases. Handle each
6788 format of "macro" line with initial "optional-".
6789
028e2e38
JM
6790 * conform/conformtest.pl: Only accept expected constant or
6791 optional-constant values with "==". Parse all "constant" lines in
6792 one place. Parse all "optional-constant" lines in one place.
6793 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6794 * conform/data/fmtmsg.h-data: Likewise.
6795 * conform/data/netinet/in.h-data: Likewise.
6796 * conform/data/tar.h-data: Likewise.
6797 * conform/data/limits.h-data: Use "==" form on "constant" and
6798 "optional-constant" lines.
6799
1b8f2850
JM
6800 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6801 Use -std=c99 for XOPEN2K.
6802 (@knownproblems): Remove.
6803 (newtoken): Don't check %isknown.
6804
a05a144b
JM
6805 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6806 Do not expect macro.
6807 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6808 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6809 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6810 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6811 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6812 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6813 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6814 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6815 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6816 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6817 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6818 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6819 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6820 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6821 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6822 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6823 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6824 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6825 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6826 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6827 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6828 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6829 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6830 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6831 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6832 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6833 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6834 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6835 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6836 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6837 [XPG3] (acosh): Likewise.
6838 [XPG3] (asinh): Likewise.
6839 [XPG3] (atanh): Likewise.
6840 [XPG3] (cbrt): Likewise.
6841 [XPG3] (expm1): Likewise.
6842 [XPG3] (ilogb): Likewise.
6843 [XPG3] (log1p): Likewise.
6844 [XPG3] (logb): Likewise.
6845 [XPG3] (nextafter): Likewise.
6846 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6847 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6848 [XPG3] (remainder): Likewise.
6849 [XPG3] (rint): Likewise.
6850 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6851 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6852 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6853 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6854 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6855 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6856 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6857 [UNIX98 || XOPEN2K] (scalb): Expect.
6858 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6859 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6860 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6861 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6862 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6863 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6864 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6865 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6866 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6867 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6868 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6869 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6870 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6871 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6872 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6873 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6874 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6875 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6876 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6877 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6878 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6879 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6880 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6881 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6882 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6883 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6884 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6885 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6886 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6887 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6888 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6889 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6890 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6891 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6892 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6893 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6894 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6895 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6896 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6897 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6898 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6899 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6900 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6901 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6902 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6903 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6904 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6905 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6906 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6907 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6908 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6909 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6910 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6911 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6912 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6913 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6914 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6915 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6916 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6917 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6918 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6919 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6920 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6921 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6922 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6923 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6924 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6925 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6926 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6927 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6928 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6929 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6930 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6931 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6932 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6933 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6934 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6935 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6936 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6937 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6938 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6939 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6940 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6941 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6942 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6943 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6944 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6945 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6946 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6947 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6948 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6949 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6950 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6951 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6952 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6953 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6954 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6955 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6956 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6957 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6958 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6959 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6960 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6961 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6962 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6963 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6964 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6965 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6966 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6967 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6968 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6969 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6970 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6971 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6972 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6973 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6974 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6975 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6976 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6977 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6978 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6979 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6980 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6981 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6982 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6983 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6984 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6985 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6986 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6987 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6988 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6989 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6990 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6991 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6992 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6993 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6994 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6995
73c5ebe3
JM
6996 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6997 _XOPEN_SOURCE_EXTENDED for XPG4.
6998
39c33b6c
JM
6999 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7000
62fde54f
JM
7001 * Makeconfig (localtime): Remove variable.
7002 (inst_localtime-file): Likewise.
7003
0741d64c
AS
70042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7005
7006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7007 Update.
7008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7009 Update.
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7011 Update.
7012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7013 Update.
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7015 Update.
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7017 Update.
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7019 Update.
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7021 Update.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7023 Update.
7024
7cb029ee
JM
70252012-05-01 Joseph Myers <joseph@codesourcery.com>
7026
7027 [BZ #2550]
7028 [BZ #2570]
7029 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7030 comparisons to determine direction to adjust input.
7031 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7032 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7033 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7034 Likewise.
7035 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7036 Likewise.
7037 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7038 Likewise.
7039 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7040 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7041 Likewise.
7042 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7043 Likewise.
7044 * math/libm-test.inc (nexttoward_test): Add more tests.
7045
412bd966
AS
70462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7047
7048 [BZ #14040]
7049 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7050 in version GLIBC_2.1, not GLIBC_2.0.
7051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7052 Likewise.
7053
9568c0c2
JM
70542012-04-30 Joseph Myers <joseph@codesourcery.com>
7055
adfbc8ac
JM
7056 [BZ #13942]
7057 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7058 (1 - x) * (1 + x).
7059 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7060 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7061 * math/libm-test.inc (acos_test): Add more tests.
7062 (asin_test): Likewise.
7063 * sysdeps/i386/fpu/libm-test-ulps: Update.
7064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7065
5ba3cc69
JM
7066 [BZ #14034]
7067 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7068 of square root.
7069 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7070 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7071 * math/libm-test.inc (acos_test_tonearest): New function.
7072 (acos_test_towardzero): Likewise.
7073 (acos_test_downward): Likewise.
7074 (acos_test_upward): Likewise.
7075 (asin_test_tonearest): Likewise.
7076 (asin_test_towardzero): Likewise.
7077 (asin_test_downward): Likewise.
7078 (asin_test_upward): Likewise.
7079 (main): Call the new functions.
7080 * sysdeps/i386/fpu/libm-test-ulps: Update.
7081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7082
9568c0c2
JM
7083 [BZ #13884]
7084 [BZ #13924]
7085 * math/e_exp10.c: Include <float.h>.
7086 (__ieee754_exp10): Handle underflow here rather than multiplying
7087 large negative argument by M_LN10.
7088 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7089 of __ieee754_expf.
7090 * math/e_exp10l.c: Include <float.h>.
7091 (__ieee754_exp10l): Handle underflow here rather than multiplying
7092 large negative argument by M_LN10l.
7093 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7094 spurious overflow exception on underflow.
7095
5ac3ea17
MP
70962012-04-29 Marek Polacek <polacek@redhat.com>
7097
7098 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7099 (__fortify_function): New macro.
7100 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7101 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7102 __extern_always_inline.
7103 * libio/bits/stdio2.h: Likewise.
7104 * libio/bits/stdio.h: Likewise.
7105 * string/string.h: Likewise.
7106 * string/bits/string3.h: Likewise.
7107 * include/stdio.h: Likewise.
7108 * stdlib/bits/stdlib.h: Likewise.
7109 * stdlib/stdlib.h: Likewise.
7110 * rt/bits/mqueue2.h: Likewise.
7111 * rt/mqueue.h: Likewise.
7112 * posix/bits/unistd.h: Likewise.
7113 * posix/unistd.h: Likewise.
7114 * io/bits/poll2.h: Likewise.
7115 * io/bits/fcntl2.h: Likewise.
7116 * io/fcntl.h: Likewise.
7117 * io/sys/poll.h: Likewise.
7118 * misc/bits/syslog.h: Likewise.
7119 * misc/bits/syslog-ldbl.h: Likewise.
7120 * misc/sys/syslog.h: Likewise.
7121 * socket/bits/socket2.h: Likewise.
7122 * socket/sys/socket.h: Likewise.
7123 * debug/tst-chk1.c: Likewise.
7124 * wcsmbs/bits/wchar2.h: Likewise.
7125 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7126 * wcsmbs/wchar.h: Likewise.
7127
ecf0ebfb
AJ
71282012-04-29 Andreas Jaeger <aj@suse.de>
7129
7130 * Makerules (tests): Remove enable-check-abi protection.
7131 (check-abi-warn): Remove.
7132 (check-abi-%): Remove check-abi-warn usage.
7133
7134 * configure.in: Remove check-abi configure option.
7135 * configure: Regenerated.
7136 * config.make.in (enable-check-abi): Remove.
7137
6d5c57fa
AS
71382012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7139
24c5d07e 7140 [BZ #14033]
ded5180a
AS
7141 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7142 double functions to double *_finite functions.
7143
7e0d315d
AS
7144 [BZ #13941]
7145 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7146 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7147 LDBL_MIN_EXP.
7148 * stdio-common/Makefile (tests): Add tst-sprintf3.
7149 * stdio-common/tst-sprintf3.c: New file.
7150
6d5c57fa
AS
7151 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7152 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7153
0749ff8b
JM
71542012-04-28 Joseph Myers <joseph@codesourcery.com>
7155
7156 * conform/conformtest.pl: Remove duplicate typed-constant
7157 handling.
7158
8dbd5d7b
DM
71592012-04-28 David S. Miller <davem@davemloft.net>
7160
7161 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7162 (check-abi-%): Remove AWK script prerequisite and explicit
7163 abilist directory.
7164 (check-abi): Rewrite to just diff the symlist with the abilist.
7165 (config-tls, config-abi-config): Delete, no longer used.
7166 (update-abi-%): Remove AWK script and explicit abilist directory.
7167 (update-abi): Rewrite to simply compare and conditionally copy the
7168 symlist and the sysdep abilist file. Remove update-abi-config
7169 checks.
7170 * abilist/ld.abilist: Remove.
7171 * abilist/libBrokenLocale.abilist: Remove.
7172 * abilist/libanl.abilist: Remove.
7173 * abilist/libcrypt.abilist: Remove.
7174 * abilist/libdl.abilist: Remove.
7175 * abilist/librt.abilist: Remove.
7176 * abilist/libthread_db.abilist: Remove.
7177 * abilist/libutil.abilist: Remove.
7178 * scripts/extract-abilist.awk: Remove.
7179 * scripts/merge-abilist.awk: Remove.
7180 * sysdeps/generic/libcidn.abilist: New file.
7181 * sysdeps/generic/libnss_compat.abilist: New file.
7182 * sysdeps/generic/libnss_db.abilist: New file.
7183 * sysdeps/generic/libnss_dns.abilist: New file.
7184 * sysdeps/generic/libnss_files.abilist: New file.
7185 * sysdeps/generic/libnss_hesiod.abilist: New file.
7186 * sysdeps/generic/libnss_nis.abilist: New file.
7187 * sysdeps/generic/libnss_nisplus.abilist: New file.
7188 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
7189 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
7190 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
7191 file.
7192 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
7193 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
7194 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
7195 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
7196 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
7197 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
7198 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
7199 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
7200 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
7201 file.
7202 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
7203 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
7204 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
7205 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
7206 file.
7207 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
7208 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
7209 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
7210 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
7211 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
7212 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
7213 file.
7214 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7215 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7216 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7217 file.
7218 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7220 New file.
7221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7222 New file.
7223 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7224 New file.
7225 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7226 New file.
7227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7228 New file.
7229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7230 New file.
7231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7232 New file.
7233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7234 New file.
7235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7236 New file.
7237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7238 New file.
7239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7240 New file.
7241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7242 New file.
7243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7244 New file.
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7246 file.
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7248 New file.
7249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7250 New file.
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7252 file.
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7254 New file.
7255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7256 New file.
7257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7258 file.
7259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7260 New file.
7261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7262 New file.
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7264 New file.
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7266 New file.
7267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7268 New file.
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7270 New file.
7271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7273 file.
7274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7275 New file.
7276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7277 file.
7278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7279 file.
7280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7281 file.
7282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7283 file.
7284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7285 file.
7286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7287 New file.
7288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7289 file.
7290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7291 file.
7292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7293 New file.
7294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7295 file.
7296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7298 file.
7299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7300 New file.
7301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7302 file.
7303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7304 file.
7305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7306 file.
7307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7308 file.
7309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7310 file.
7311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7312 New file.
7313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7314 file.
7315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7316 file.
7317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7318 New file.
7319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7320 file.
7321 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7322 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7323 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7324 file.
7325 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7326 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7327 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7328 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7329 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7330 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7331 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7332 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7333 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7334 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7337 file.
7338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7339 New file.
7340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7341 file.
7342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7343 file.
7344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7345 file.
7346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7347 file.
7348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7349 file.
7350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7351 New file.
7352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7353 New file.
7354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7355 file.
7356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7357 New file.
7358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7359 file.
7360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7362 file.
7363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7364 New file.
7365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7366 file.
7367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7368 file.
7369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7370 file.
7371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7372 file.
7373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7374 file.
7375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7376 New file.
7377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7378 New file.
7379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7380 file.
7381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7382 New file.
7383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7384 file.
7385
41d73a1b
JM
73862012-04-28 Joseph Myers <joseph@codesourcery.com>
7387
7388 * conform/conformtest.pl: Fix typo in handling typed-constant from
7389 allow-header.
7390
28aeeda4
JM
73912012-04-27 Joseph Myers <joseph@codesourcery.com>
7392
adae8f5e
JM
7393 * README: Cut down references to pre-2.6 Linux kernels and
7394 Linuxthreads. Update lists of configurations in libc and ports
7395 and sort alphabetically. Say "or newer" with Linux kernel version
7396 requirements.
7397
28aeeda4
JM
7398 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7399
a462cb63
RA
74002012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7401
7402 [BZ #887]
7403 * math/libm-test.inc (logb_test_downward): New test to expose
7404 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7405 rounding mode.
7406
6ad3493e
JM
74072012-04-27 Joseph Myers <joseph@codesourcery.com>
7408
7409 [BZ #14027]
7410 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7411 to be done.
7412 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7413 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7414
2ce4f015
JM
74152012-04-26 Joseph Myers <joseph@codesourcery.com>
7416
5aeb141a
JM
7417 * sysdeps/unix/i386/brk.S: Remove file.
7418 * sysdeps/unix/i386/dl-brk.S: Likewise.
7419 * sysdeps/unix/i386/pipe.S: Likewise.
7420 * sysdeps/unix/i386/sigreturn.S: Likewise.
7421 * sysdeps/unix/i386/syscall.S: Likewise.
7422 * sysdeps/unix/i386/vfork.S: Likewise.
7423 * sysdeps/unix/i386/wait.S: Likewise.
7424
7143acae
JM
7425 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7426 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7427
2ce4f015
JM
7428 * configure.in (arm*-none*): Do not allow without
7429 --enable-hacker-mode.
7430 (netbsd*): Remove case setting base_os.
7431 (386bsd*): Likewise.
7432 (freebsd*): Likewise.
7433 (bsdi*): Likewise.
7434 (osf*): Likewise.
7435 (sunos*): Likewise.
7436 (ultrix*): Likewise.
7437 (newsos*): Likewise.
7438 (dynix*): Likewise.
7439 (*bsd*): Likewise.
7440 (sysv*): Likewise.
7441 (isc*): Likewise.
7442 (esix*): Likewise.
7443 (sco*): Likewise.
7444 (minix*): Likewise.
7445 (irix4*): Likewise.
7446 (irix6*): Likewise.
7447 (solaris[2-9]*): Likewise.
7448 (none): Likewise.
7449 * configure: Regenerated.
7450
0ac229c8
AZ
74512012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7452
7453 [BZ #11521]
7454 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7455 overflow or cancellation in calculating denominator.
7456 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7457 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7458 down expression to avoid unexpected rounding in newer GCCs.
7459 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7460
33f244f4
DM
74612012-04-26 David S. Miller <davem@davemloft.net>
7462
7463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7464 long-double compat symbols.
7465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7478
cfa1f3e8
DM
74792012-04-25 David S. Miller <davem@davemloft.net>
7480
7481 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7482 HWCAP_* values only after the memory barriers have been defined.
7483 (atomic_full_barrier): Define.
7484 (atomic_read_barrier): Define.
7485 (atomic_write_barrier): Define.
7486
6e236b92
SP
74872012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7488
7489 * shlib-versions: Add libgcc_s version information.
7490 * sysdeps/generic/libgcc_s.h: Remove.
7491 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7492 libgcc_s.h.
7493 * sysdeps/gnu/unwind-resume.c: Likewise.
7494 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7495
aab39a09
DM
74962012-04-25 David S. Miller <davem@davemloft.net>
7497
7498 * sysdeps/unix/sparc/brk.S: Delete.
7499 * sysdeps/unix/sparc/dl-brk.S: Delete.
7500 * sysdeps/unix/sparc/pipe.S: Delete.
7501 * sysdeps/unix/sparc/sysdep.S: Delete.
7502 * sysdeps/unix/sparc/sysdep.h: Delete.
7503 * sysdeps/unix/sparc/vfork.S: Delete.
7504 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7505 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7506 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7507 ret_ERRVAL, r0, r1, MOVE): Define.
7508 (JUMPTARGET): Remove.
7509 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7510 sysdeps/unix/sparc/sysdep.h
7511 (ENTRY, END): Remove.
7512 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7513
a3cc4f48
JM
75142012-04-25 Joseph Myers <joseph@codesourcery.com>
7515
2ed8cda2
JM
7516 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7517 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7518 -DIS_IN_build.
7519
35d76d59
JM
7520 * timezone/README: Update upstream location and email address for
7521 tzcode and tzdata.
7522 * timezone/zdump.c: Update from tzcode 2012b.
7523 * timezone/zic.c: Likewise.
7524
a3cc4f48
JM
7525 * configure.in (libc_cv_as_needed): Remove test.
7526 * configure: Regenerated.
7527 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7528 conditional definition.
7529 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7530 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7531 * config.make.in (have-as-needed): Remove variable.
7532
ceab42c3
SP
75332012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7534 Paul Pluzhnikov <ppluzhnikov@google.com>
7535
7536 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7537 strings correctly.
7538
3ce2865f
CLT
75392012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7540
7541 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7542 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7543 * sysdeps/sh/strlen.S: Likewise.
7544
f37e0d68
JM
75452012-04-24 Joseph Myers <joseph@codesourcery.com>
7546
ae186e9a
JM
7547 * sysdeps/unix/fork.S: Remove file.
7548 * sysdeps/unix/i386/fork.S: Likewise.
7549 * sysdeps/unix/sparc/fork.S: Likewise.
7550
b96914af
JM
7551 * sysdeps/unix/system.c: Remove file.
7552 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7553
f37e0d68
JM
7554 * sysdeps/unix/getegid.S: Remove file.
7555 * sysdeps/unix/geteuid.S: Likewise.
7556
87ef29ca
RM
75572012-04-24 Roland McGrath <roland@hack.frob.com>
7558
83bcd236
RM
7559 * scripts/check-localplt.awk: New file.
7560 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7561 of diff.
7562 * scripts/data/localplt-generic.data: Add a comment.
7563
87ef29ca
RM
7564 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7565 NODE when __dir_mkfile failed.
7566 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7567 Reported by Ludovic Courtès <ludo@gnu.org>.
7568
e5a6e567
AJ
75692012-04-24 Andreas Jaeger <aj@suse.de>
7570
7571 * Makerules (common-clean): Also remove gen-as-const-headers
7572 files.
7573
c1820385
JM
75742012-04-24 Joseph Myers <joseph@codesourcery.com>
7575
7576 * Makerules (native-compile): Do not change working directory for
7577 build. Use $(OUTPUT_OPTION) in command.
7578 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7579
94e02fc4
AZ
75802012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7581
7582 [BZ #13886]
7583 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7584 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7585 * math/libm-test.inc (floor_test): Add more tests.
7586 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7587
3a533ca3
JM
75882012-04-24 Joseph Myers <joseph@codesourcery.com>
7589
940ab4b3
JM
7590 * sysdeps/unix/getdents.c: Remove file.
7591 * sysdeps/unix/sysv/getdents.c: Likewise.
7592 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7593
90e037bd
JM
7594 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7595 sysdeps/unix/mman/syscalls.list.
7596 (mmap): Likewise.
7597 (mprotect): Likewise.
7598 (msync): Likewise.
7599 (munmap): Likewise.
7600 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7601 * sysdeps/unix/mman/syscalls.list: Remove.
7602 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7603
3a533ca3
JM
7604 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7605 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7606 * configure: Regenerated.
7607 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7608 $(libgcc_s_suffix).
7609 * config.make.in (libgcc_s_suffix): Remove variable.
7610
1ad743de
JM
76112012-04-23 Joseph Myers <joseph@codesourcery.com>
7612
4ad451e2
JM
7613 * sysdeps/unix/sysv/gethostname.c: Move to ...
7614 * sysdeps/posix/gethostname.c: ... here.
7615
5e37ce39
JM
7616 * sysdeps/unix/execve.S: Remove file.
7617
1ad743de
JM
7618 * sysdeps/unix/_exit.S: Remove file.
7619
4e681b5b
AJ
76202012-04-23 Andreas Jaeger <aj@suse.de>
7621
7622 [BZ #13739]
7623 * manual/Makefile: Remove make dist support, there's no
7624 need for a stand-alone documentation tar ball.
7625 (TEXI2DVI): Define always, it's not in Makeconfig.
7626 (dist): Removed.
7627 (tar-it): Removed.
7628 (edition): Removed.
7629 (glibc-doc-$(edition).tar): Removed
7630 (%.Z): Removed.
7631 (%.gz): Removed.
7632 (%.uu): Removed.
7633 (ETAGS): Remove, it's in Makeconfig.
7634 (move-if-change): Remove, it's in Makeconfig.
7635
c0baea34
PE
76362013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7637
7638 [BZ #13970]
7639 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7640 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7641 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7642 (strtod_l, strtof_l, strtold_l): Remove __wur.
7643 It is not necessarily an error to ignore strtol's return value.
7644 One can reliably look at the stored endptr to decide whether
7645 the number had valid syntax.
7646
7c0616fa
AJ
76472012-04-21 Andreas Jaeger <aj@suse.de>
7648
803cb6b7 7649 [BZ #13739]
7c0616fa
AJ
7650 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7651
b0fe253f
JM
76522012-04-21 Joseph Myers <joseph@codesourcery.com>
7653
7654 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7655 * sysdeps/unix/sysv/Versions: Remove file.
7656
8280f22d
MT
76572012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7658
7659 [BZ #13927]
7660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7661
75ce411f 76622012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7663
7664 [BZ #7064]
7665 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7666 version from __vm86.
7667
097d59fa
JM
76682012-04-20 Joseph Myers <joseph@codesourcery.com>
7669
a90f3bcb
JM
7670 * sysdeps/unix/common/lxstat.c: Remove file.
7671 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7672
edc7ea78
JM
7673 * sysdeps/unix/sysv/Makefile: Remove file.
7674
cb78c221
JM
7675 * sysdeps/unix/sysv/direct.h: Remove file.
7676
efa6a45f
JM
7677 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7678 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7679 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7680 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7681 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7682 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7683 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7684
9c9f2d0c
JM
7685 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7686
4541c83b
JM
7687 * sysdeps/unix/xmknod.c: Remove file.
7688 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7689
f5d153a0
JM
7690 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7691
aa746595
JM
7692 * sysdeps/unix/sysv/i386/time.S: Remove file.
7693
cce5905e
JM
7694 * sysdeps/unix/fxstat.c: Remove file.
7695 * sysdeps/unix/xstat.c: Likewise.
7696 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7697
37fa3841
JM
7698 * sysdeps/unix/sysv/sigaction.c: Remove file.
7699
ff1962a3
JM
7700 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7701 (sysdep_headers): Remove variable.
7702 [termio.h not in sysdep_headers] (generated): Likewise.
7703 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7704 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7705 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7706 * sysdeps/unix/sysv/tcflow.c: Likewise.
7707 * sysdeps/unix/sysv/tcflush.c: Likewise.
7708 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7709 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7710 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7711 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7712 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7713
e7740d31
JM
7714 * sysdeps/unix/siglist.c: Remove file.
7715
ee06f18b
JM
7716 * sysdeps/unix/getppid.S: Remove file.
7717
097d59fa
JM
7718 * sysdeps/unix/mkdir.c: Remove file.
7719 * sysdeps/unix/rmdir.c: Likewise.
7720
ff3d51ec
AS
77212012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7722
7723 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7724 ERR_MAX value.
7725 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7726 errlist-compat value.
7727
50f81fd7
DM
77282012-04-18 David S. Miller <davem@davemloft.net>
7729
7730 * sysdeps/generic/memcopy.h (reg_char): Delete.
7731 * debug/strcat_chk.c: Use char, not reg_char.
7732 * debug/strcpy_chk.c: Likewise.
7733 * debug/strncat_chk.c: Likewise.
7734 * debug/strncpy_chk.c: Likewise.
7735 * string/memchr.c: Likewise.
7736 * string/memrchr.c: Likewise.
7737 * string/rawmemchr.c: Likewise.
7738 * string/strcat.c: Likewise.
7739 * string/strchr.c: Likewise.
7740 * string/strchrnul.c: Likewise.
7741 * string/strcmp.c: Likewise.
7742 * string/strcpy.c: Likewise.
7743 * string/strncat.c: Likewise.
7744 * string/strncmp.c: Likewise.
7745 * string/strncpy.c: Likewise.
7746
8ff41c46
WS
77472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7748
7749 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7750 __builtin_memcopy is called when src and dest ranges are known to not
7751 overlap.
7752
6b652f46
WS
77532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7754
7755 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7756 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7757 fwd_align_merge macro call.
7758 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7759 bwd_align_merge macro call.
7760 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7761
b282631e
WS
77622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7763
7764 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7765 bwd_align_merge macros.
7766 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7767 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7768 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7769
95aa737c
DM
77702012-04-18 David S. Miller <davem@davemloft.net>
7771
7772 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7773
7a99a614
AJ
77742012-04-18 Andreas Jaeger <aj@suse.de>
7775
7776 [BZ# 6794]
7777 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7778 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7779 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7780
7781 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7782 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7783 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7784
7785 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7786 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7787 Adjust for changed ldbl-128 files.
7788
7789 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7790 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7791 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7792
e5270c23
DM
77932012-04-17 David S. Miller <davem@davemloft.net>
7794
7795 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7796
fb5e92c9
AS
77972012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7798
7799 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7800 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7801 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7802 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7803 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7804 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7805
76da7265
AZ
78062012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7807
7808 [BZ #6794]
7809 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7810 * math/libm-test.inc: Add ilogb errno and exception tests.
7811 * math/w_ilogb.c: New file: ilogb wrapper.
7812 * math/w_ilogbf.c: New file: ilogbf wrapper.
7813 * math/w_ilogbl.c: New file: ilogbl wrapper.
7814 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7815 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7816 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7817 exception being thrown with 0.0 as argument.
7818 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7819 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7820 exception being thrown with 0.0 as argument.
7821 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7822 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7823 exception being thrown with 0.0 as argument.
7824 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7825 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7826 exception being thrown with 0.0 as argument.
7827 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7828 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7829 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7830 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7831 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7832 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7833 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7834 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7835 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7836
0396e69d
PB
78372012-04-17 Petr Baudis <pasky@ucw.cz>
7838
7839 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7840 with altivec.
7841
750b5926
MP
78422012-04-16 Marek Polacek <polacek@redhat.com>
7843
7844 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7845
751728a1
MP
78462012-04-16 Marek Polacek <polacek@redhat.com>
7847
7848 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7849 operands of fdivp instruction.
7850
34a27407
L
78512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7852
7853 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7854 * elf/tst-auditmod3b.c: Likewise.
7855 * elf/tst-auditmod4b.c: Likewise.
7856 * elf/tst-auditmod5b.c: Likewise.
7857 * elf/tst-auditmod6b.c: Likewise.
7858 * elf/tst-auditmod6c.c: Likewise.
7859 * elf/tst-auditmod7b.c: Likewise.
7860 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7861 * sysdeps/x86_64/preconfigure.in: Likewise.
7862 * sysdeps/x86_64/preconfigure: Regenerated.
7863
7e73e17d
L
78642012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7865
7866 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7867 __ILP32__.
7868
c7a6ab72
AB
78692012-04-13 Antoine Balestrat <merkil33@gmail.com>
7870
7871 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7872 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7873
a9e8e0e0
CL
78742012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7875
7876 [BZ #13973]
7877 * locale/iso-639.def: Fix gl language name. Spotted by
7878 Yaron Shahrabani.
7879
ec98af7d
RM
78802012-04-12 Roland McGrath <roland@hack.frob.com>
7881
7882 [BZ #2074]
7883 * libio/libio.h (__io_write_fn): Update comment.
7884
247c3ede
PB
78852012-04-12 Petr Baudis <pasky@ucw.cz>
7886
7887 [BZ #2074]
7888 * stdio.texi (Hook Functions): The user provided writer function
7889 is not allowed to return -1.
7890
55939d6d
DM
78912012-04-11 David S. Miller <davem@davemloft.net>
7892
7893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7894
90020f5a
MF
78952012-04-11 Mike Frysinger <vapier@gentoo.org>
7896
7897 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7898 Add a leading slash to rtkaio.
7899
288f9098
JM
79002012-04-11 Jim Meyering <meyering@redhat.com>
7901
90020f5a
MF
7902 [BZ #11959]
7903 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7904 It is not necessarily an error to ignore fwrite's return
7905 value. One can reliably use ferror to test for errors after
7906 the fact.
288f9098 7907
4be2b570
L
79082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7909
7910 * bits/types.h (__snseconds_t): New type.
7911 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7912
7913 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7914 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7915 (__SNSECONDS_T_TYPE): Likewise.
7916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7917 (__SNSECONDS_T_TYPE): Likewise.
7918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7919 (__SNSECONDS_T_TYPE): Likewise.
7920
288f9098 79212012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7922
7923 [BZ #2636]
7924 * manual/time.texi (Processor Time): Return type of times is
7925 elapsed real time since an arbitrary point in the past.
7926 (CPU Time): Move CLK_TCK from here...
7927 (Processor Time): ...to here. Correct description.
7928 * manual/conf.texi (Constants for Sysconf): Correct description of
7929 _SC_CLK_TCK.
7930
d7dd4413
DM
79312012-04-10 David S. Miller <davem@davemloft.net>
7932
7933 [BZ #13967]
7934 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7935 where the is a gap between DT_REL(A) and DT_JMPREL.
7936
b46068fc
L
79372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7938
7939 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7940 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7941 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7942
73d65cc3
SP
79432012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7944
7945 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7946 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7947 (dl_main): Handle --inhibit-cache.
7948 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7949 _dl_inhibit_cache.
7950 * elf/dl-load.c (_dl_map_object): Use it.
7951 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7952
bcc8d661
JM
79532012-04-09 Joseph Myers <joseph@codesourcery.com>
7954
8f9a2fae
JM
7955 [BZ #13872]
7956 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7957 (__ieee754_powl): Saturate large exponents rather than testing for
7958 overflow of y*log2(x).
7959 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7960 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7961 exceptions.
7962
bcc8d661
JM
7963 [BZ #11521]
7964 * math/s_ctan.c: Include <float.h>.
7965 (__ctan): Avoid internal overflow or cancellation in calculating
7966 denominator.
7967 * math/s_ctanf.c: Likewise.
7968 * math/s_ctanl.c: Likewise.
7969 * math/s_ctanh.c: Likewise.
7970 * math/s_ctanhf.c: Likewise.
7971 * math/s_ctanhl.c: Likewise.
7972 * math/libm-test.inc (ctan_test): Add more tests.
7973 (ctanh_test): Likewise.
7974 * sysdeps/i386/fpu/libm-test-ulps: Update.
7975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7976
823fbbb4
AJ
79772012-04-09 Andreas Jaeger <aj@suse.de>
7978
03879793
AJ
7979 [BZ #6894]
7980 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7981 is an optional BSD extension.
7982
823fbbb4
AJ
7983 [BZ #10254]
7984 * manual/stdio.texi (Opening Streams): Document additional fopen
7985 parameters.
7986
8de131cb
RM
79872012-04-09 Roland McGrath <roland@hack.frob.com>
7988
7989 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7990 %eax without telling the compiler.
7991
c0ed9d7d
CD
79922012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7993
7994 [BZ # 13963]
7995 * manual/install.texi: Use sourceware.org.
7996
c483f6b4
JM
79972012-04-09 Joseph Myers <joseph@codesourcery.com>
7998
d7dd9453
JM
7999 [BZ #13873]
8000 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8001 (__ieee754_pow): Generate overflow and underflow using huge*huge
8002 and tiny*tiny rather than just returning constant infinity or zero
8003 for large exponents.
8004 * math/libm-test.inc (pow_test): Require overflow exceptions for
8005 applicable cases of large exponents.
8006
c483f6b4
JM
8007 [BZ #706]
8008 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8009 (__ieee754_pow): Use iterative multiplication algorithm only for
8010 integer exponents with absolute value below 1024. Check for odd
8011 integer exponents when using algorithm for real exponents.
8012 * math/libm-test.inc (pow_test): Add more tests.
8013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8014
d2de7579
JM
80152012-04-08 Joseph Myers <joseph@codesourcery.com>
8016
8017 [BZ #13705]
8018 * math/libm-test.inc (exp_test): Do not allow overflow exception
8019 on underflow test.
8020
f77f1232
AJ
80212012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8022
8023 [BZ #13705]
8024 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8025 instead of __kernel_standard_f.
8026
3884932b
MF
80272012-04-08 Mike Frysinger <vapier@gentoo.org>
8028
8029 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8030 * sysdeps/x86_64/memset_chk.S: Likewise.
8031
54472e9c
AJ
80322012-04-08 Andreas Jaeger <aj@suse.de>
8033
6ab0fbfc
AJ
8034 [BZ #10153]
8035 * manual/startup.texi (Environment Access): Describe return value
8036 for putenv and setenv.
8037
61efba8c
AJ
8038 [BZ #6895]
8039 * manual/filesys.texi (Directory Entries): Add description for
8040 DT_LNK.
8041
95c3f29a
AJ
8042 [BZ #6890]
8043 * manual/filesys.texi (Directory Entries): Clarify that it's file
8044 system not operating system in the description of DT_UNKNOWN.
8045
54472e9c
AJ
8046 [BZ #6578]
8047 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8048
624254b1
SC
80492012-04-08 Stephen Compall <s11@member.fsf.org>
8050
8051 [BZ #6649]
8052 * manual/llio.texi (Opening and Closing Files): Add cross
8053 reference to explain mode argument.
8054
1e4920e0
MF
80552012-04-07 Mike Frysinger <vapier@gentoo.org>
8056
8057 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8058 * sysdeps/x86_64/memset_chk.S: Likewise.
8059
5ed848f3
DM
80602012-04-07 David S. Miller <davem@davemloft.net>
8061
8062 * elf/elf.h (R_SPARC_WDISP10): Define.
8063 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8064 R_SPARC_SIZE32.
8065 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8066 R_SPARC_SIZE64 and R_SPARC_H34.
8067
96154cd8
CD
80682012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8069
8070 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8071 conditions and remove no longer applicable assertion.
8072
9904dc47
L
80732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8074
8075 * bits/byteswap.h: Include <features.h>.
8076 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8077 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8078
f8887d0a
L
80792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8080
8081 * bits/byteswap.h (__bswap_16): Removed.
8082 Include <bits/byteswap-16.h> to get __bswap_16.
8083 * sysdeps/i386/bits/byteswap.h: Likewise.
8084 * sysdeps/s390/bits/byteswap.h: Likewise.
8085 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8086 * bits/byteswap-16.h: New file.
8087 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8088 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8089 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8090 * string/Makefile (headers): Add bits/byteswap-16.h.
8091
62470f60
PP
80922012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8093
8094 [BZ #13895]
8095 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8096 extra indirection.
8097 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8098 * nss/tst-nss-static.c: New.
8099
4dad7bab
RM
81002012-04-06 Robert Millan <rmh@gnu.org>
8101
8102 [BZ #6486]
8103 * manual/llio.texi (File Position Primitive): lseek
8104 refers to WHENCE when it really means OFFSET.
8105
e9142a17
AJ
81062012-04-06 Andreas Jaeger <aj@suse.de>
8107
2c040eff
AJ
8108 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8109 strncmp declarations.
8110
e9142a17
AJ
8111 * abilist/libc.abilist: Add __poll and __ppoll.
8112
ff9f1c5f
DM
81132012-04-05 David S. Miller <davem@davemloft.net>
8114
dcd2ae90
DM
8115 * scripts/check-local-headers.sh: Accept a host triplet in the
8116 path matched by the exclude regexp.
8117
993eb054
DM
8118 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8119 definition.
8120 * sysdeps/powerpc/powerpc32/dl-machine.h
8121 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8122 * sysdeps/s390/s390-32/dl-machine.h
8123 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8124 * sysdeps/sparc/sparc32/dl-machine.h
8125 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8126 * sysdeps/sparc/sparc64/dl-machine.h
8127 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8128
ff9f1c5f
DM
8129 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8130 lazy binding.
48e2e132 8131 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8132 undefined symbol errors.
8133
48e2e132 8134 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8135 DT_NEEDED entries.
8136
e80d6f94
MM
81372012-04-05 Michael Matz <matz@suse.de>
8138
8139 [BZ #13592]
8140 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8141
349fa79f
AJ
81422012-04-05 Andreas Jaeger <aj@suse.de>
8143
8144 [BZ #13908]
8145 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8146 comment.
8147
f402708f
KK
81482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8149
8150 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8151 which ROUND is no valid rounding mode.
8152
2ecccfc9
KK
81532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8154
8155 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8156 read again.
8157 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8158
8a53f50f
KK
81592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8160
8161 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8162 an exception using FPU order intentionally.
8163
81642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8165
8166 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8167 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8168 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8169 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8170
d653abb7
SJ
81712012-04-05 Simon Josefsson <simon@josefsson.org>
8172
8173 [BZ #12340]
8174 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8175 EINVAL when BUFLEN is too smal.
8176
c3b1bf7d
TS
81772012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8178
8179 [BZ #13553]
8180 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
8181 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
8182
b1aa60f3
AJ
81832012-04-03 Andreas Jaeger <aj@suse.de>
8184
c3b1bf7d 8185 [BZ #13938]
67f60a26
AJ
8186 * manual/setjmp.texi (System V contexts): Fix sentence.
8187
b1aa60f3
AJ
8188 [BZ #13926]
8189 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
8190 New macro for this case.
8191 [!__GNUC__] (__bswap_64): New inline function for this case.
8192 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8193 * bits/byteswap.h: Likewise.
8194 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
8195 ull, guard with __GLIBC_HAVE_LONG_LONG.
8196
8197 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
8198 __GLIBC_HAVE_LONG_LONG.
8199
8200 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
8201 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
8202
39c59c35
TMQMF
82032012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8204
8205 [BZ #13691]
8206 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
8207 inptr and inend, rather than using last_ch.
8208
135ffda8
DM
82092012-04-02 David S. Miller <davem@davemloft.net>
8210
8211 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
8212 * stdio-common/printf-parse.h (read_int): Change return type to
8213 'int', return -1 on INT_MAX overflow.
8214 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8215 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8216 overflows INT_MAX. Check for overflow of in-format-string precision
8217 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8218 SIZE_MAX not INT_MAX for integer overflow test.
8219 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8220 skip the construct in the format string but do not record anything.
8221 * stdio-common/bug22.c: Adjust to test both width/prevision
8222 INT_MAX overflow as well as total length INT_MAX overflow. Check
8223 explicitly for proper errno values.
8224
228c019e
TS
82252012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8226
302cadd3
TS
8227 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8228 CHAR_MAX.
8229 * string/test-strcmp.c [! WIDE]: Likewise.
8230 * time/tst-mktime2.c: Likewise for INT_MAX.
8231 * string/test-string.h: #include <sys/param.h> for MIN.
8232
228c019e
TS
8233 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8234 * sysdeps/i386/init-first.c (init): Likewise.
8235 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8236 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8237 * sysdeps/sh/init-first.c (init): Likewise.
8238
cfa633f5
UD
82392012-04-01 Ulrich Drepper <drepper@gmail.com>
8240
8241 * po/ru.po: Update from translation team.
d1635ef8 8242 * po/vi.po: Likewise.
cfa633f5 8243
6cd0a5ea
SP
82442012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8245
8246 * resolv/nss_dns/dns-host.c: Merge copyright years.
8247
4b43400f
LD
82482012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8249
8250 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8251 Optimize memcpy with prefetch if
8252 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8253 src, dst pointers have unequal 16 byte alignments.
8254
48c41d04
SP
82552012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8256
8257 [BZ #13928]
8258 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8259 from a CNAME entry and return the minimum ttl for the query.
8260 (gaih_getanswer_slice): Likewise.
8261
b8dc394d
JL
82622012-03-30 Jeff Law <law@redhat.com>
8263
8264 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8265 due to long keys.
8266 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8267 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8268
2f5a5ed0
JL
8269 * resolv/nss_dns/dns-host.c: Update copyright year.
8270
1d39e359
UD
82712012-03-30 Ulrich Drepper <drepper@gmail.com>
8272
c030f70c 8273 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8274 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8275
1d39e359
UD
8276 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8277 comments for sendmmsg.
8278
82792012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8280
8281 [BZ #13691]
8282 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8283 with only 1 character between 0x0041 and 0x01b0.
8284 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8285 * wcsmbs/tst-mbsnrtowcs.c: New file.
8286
20fde227
DM
82872012-03-29 David S. Miller <davem@davemloft.net>
8288
8289 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8290 small copies by hand.
8291
984a4237
JL
82922012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8293
8294 [BZ #13761]
8295 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8296 _nss_compat_initgroups_dyn): Fall back to malloc/free
8297 for large group memberships.
8298
18c9d62b
DM
82992012-03-28 David S. Miller <davem@davemloft.net>
8300
88d85d4f
DM
8301 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8302 that branches into memcpy.
8303 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8304 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8305 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8306 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8307 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8308 bits.
8309 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8310 implementation too.
8311 * sysdeps/sparc/mempcpy.S: New file.
8312
e5aa83e1
DM
8313 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8314 the IFUNC routine in the libc case.
8315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8316
88570753
DM
8317 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8318 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8319 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8320 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8321 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8322 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8323 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8324 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8325
249d7567
DM
8326 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8327 loop to 256 bytes instead of 64 bytes and fix test signedness.
8328
18c9d62b
DM
8329 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8330 * sysdeps/sparc/sparc32/Makefile: rather than here...
8331 * sysdeps/sparc/sparc64/Makefile: and here.
8332
05f3d1f6
UD
83332012-03-28 Ulrich Drepper <drepper@gmail.com>
8334
8335 * malloc/mallocbug.c: Avoid warnings about unused variables.
8336
86ae07a8
JL
83372012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8338
8339 [BZ #13760]
8340 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8341 in the right place. Discard and retry query if response is
8342 larger than input buffer size.
8343
41bf21a1
JM
83442012-03-28 Joseph Myers <joseph@codesourcery.com>
8345
d6270972
JM
8346 [BZ #369]
8347 [BZ #2678]
8348 [BZ #3866]
8349 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8350 x for large integer exponent.
8351 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8352 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8353 sign of result as needed afterwards.
8354 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8355 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8356 result for underflowing pow the same as for overflow.
8357 (__kernel_standard_l): Handle powl overflow and underflow here
8358 rather than calling __kernel_standard.
8359 * math/libm-test.inc (pow_test): Add more tests.
8360
414fca03 8361 [BZ #3868]
41bf21a1
JM
8362 [BZ #13879]
8363 [BZ #13910]
8364 [BZ #13911]
8365 [BZ #13912]
8366 [BZ #13913]
8367 [BZ #13915]
8368 [BZ #13916]
8369 [BZ #13917]
8370 [BZ #13918]
8371 [BZ #13919]
8372 [BZ #13920]
8373 [BZ #13921]
8374 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8375 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8376 (__kernel_standard_l): New function.
8377 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8378 __kernel_standard.
8379 * math/w_acosl.c (__acosl): Likewise.
8380 * math/w_asinl.c (__asinl): Likewise.
8381 * math/w_atan2l.c (__atan2l): Likewise.
8382 * math/w_atanhl.c (__atanhl): Likewise.
8383 * math/w_coshl.c (__coshl): Likewise.
8384 * math/w_exp10l.c (__exp10l): Likewise.
8385 * math/w_exp2l.c (__exp2l): Likewise.
8386 * math/w_fmodl.c (__fmodl): Likewise.
8387 * math/w_hypotl.c (__hypotl): Likewise.
8388 * math/w_j0l.c (__j0l, __y0l): Likewise.
8389 * math/w_j1l.c (__j1l, __y1l): Likewise.
8390 * math/w_jnl.c (__jnl, __ynl): Likewise.
8391 * math/w_lgammal.c (__lgammal): Likewise.
8392 * math/w_log10l.c (__log10l): Likewise.
8393 * math/w_log2l.c (__log2l): Likewise.
8394 * math/w_logl.c (__logl): Likewise.
8395 * math/w_powl.c (__powl): Likewise.
8396 * math/w_remainderl.c (__remainderl): Likewise.
8397 * math/w_scalbl.c (sysv_scalbl): Likewise.
8398 * math/w_sinhl.c (__sinhl): Likewise.
8399 * math/w_sqrtl.c (__sqrtl): Likewise.
8400 * math/w_tgammal.c (__tgammal): Likewise.
8401 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8402 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8403 * math/libm-test.inc (acos_test): Add more tests.
8404 (acosh_test): Likewise.
8405 (asin_test): Likewise.
8406 (atanh_test): Likewise.
8407 (exp_test): Likewise.
8408 (exp10_test): Likewise.
8409 (exp2_test): Likewise.
8410 (expm1_test): Likewise.
8411 (lgamma_test): Likewise.
8412 (log_test): Likewise.
8413 (log10_test): Likewise.
8414 (log1p_test): Likewise.
8415 (log2_test): Likewise.
8416 (pow_test): Do not allow some spurious overflow exceptions.
8417 (sqrt_test): Add more tests.
8418 (tgamma_test): Likewise.
8419 (y0_test): Likewise.
8420 (y1_test): Likewise.
8421 (yn_test): Likewise.
8422
dd62fda6
AB
84232012-03-27 Anton Blanchard <anton@samba.org>
8424
8425 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8426 MAP_HUGETLB.
8427 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8428 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8429 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8430
1e3cdfda
AJ
84312012-03-27 David S. Miller <davem@davemloft.net>
8432
b855ab85
DM
8433 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8434
1e3cdfda
AJ
8435 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8436 have-as-vis3 check.
8437
84382012-03-27 Andreas Jaeger <aj@suse.de>
8439
8440 * sysdeps/x86_64/elf/configure.in: Moved to ...
8441 * sysdeps/x86_64/configure.in: ... here.
8442 * sysdeps/x86_64/elf/start.S: Moved to ...
8443 * sysdeps/x86_64/start.S: ... here.
8444 * sysdeps/x86_64/elf/configure: Delete.
8445
8446 * sysdeps/x86_64/configure.in: Merge contents from
8447 sysdeps/i386/configure.in (without i686 check).
8448
8449 * sysdeps/i386/elf/Versions: Merge into ...
8450 * sysdeps/i386/Versions: ... this.
8451 * sysdeps/i386/elf/Versions: Delete file.
8452 * sysdeps/i386/elf/start.S: Moved to ...
8453 * sysdeps/i386/start.S: ...here.
8454 * sysdeps/i386/elf/configure.in: Merge into...
8455 * sysdeps/i386/configure.in: ...here.
8456 * sysdeps/i386/elf/configure.in: Delete file.
8457 * sysdeps/i386/elf/configure: Delete file.
8458
8459 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8460 * debug/backtracesyms.c: ... here.
8461 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8462 * debug/backtracesymsfd.c: ... here.
8463 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8464 * sysdeps/generic/ifunc-sel.h: ... here.
8465
8466 * sysdeps/unix/i386/start.c: Delete file.
8467 * sysdeps/unix/sparc/start.c: Delete file.
8468 * sysdeps/unix/start.c: Delete file.
8469
8470 * sysdeps/sh/elf/configure.in: Moved to ...
8471 * sysdeps/sh/configure.in: ... here.
8472 * sysdeps/sh/elf/start.S: Moved to ...
8473 * sysdeps/sh/start.S: ... here.
8474 * sysdeps/sh/elf/configure: Delete file.
8475
8476 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8477 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8478 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8479 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8480 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8481 * sysdeps/powerpc/powerpc64/start.S: here.
8482 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8483 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8484 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8485 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8486 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8487
8488 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8489 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8490 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8491 * sysdeps/powerpc/powerpc32/start.S: ... here.
8492 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8493 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8494 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8495
8496 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8497 * sysdeps/powerpc/ifunc-sel.h: ... here.
8498 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8499 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8500
8501 * sysdeps/sparc/elf/configure.in: Moved to ...
8502 * sysdeps/sparc/configure.in: ... here.
8503 * sysdeps/sparc/elf/configure: Delete file.
8504 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8505 * sysdeps/sparc/sparc32/start.S: ... here.
8506 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8507 * sysdeps/sparc/sparc64/start.S: ... here.
8508 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8509 * sysdeps/sparc/sparc32/Makefile: ... this.
8510 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8511 * sysdeps/sparc/sparc64/Makefile: ... this.
8512
8513 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8514 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8515 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8516 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8517 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8518 * sysdeps/s390/s390-32/setjmp.S: ... here.
8519 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8520 * sysdeps/s390/s390-32/configure.in: ... here.
8521 * sysdeps/s390/s390-32/elf/configure: Delete file.
8522 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8523 * sysdeps/s390/s390-32/start.S: ... here.
8524
8525 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8526 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8527 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8528 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8529 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8530 * sysdeps/s390/s390-64/setjmp.S: ... here.
8531 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8532 * sysdeps/s390/s390-64/configure.in: ... here
8533 * sysdeps/s390/s390-64/elf/configure: Delete file.
8534 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8535 * sysdeps/s390/s390-64/start.S: ... here.
8536 * sysdeps/s390/s390-64/elf/configure: Delete.
8537
8538 * configure.in: Remove support for elf directories in sysdeps.
8539
8540 * configure: Regenerated.
8541 * sysdeps/i386/configure: Regenerated.
8542 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8543 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8544 * sysdeps/s390/s390-32/configure: Regenerated.
8545 * sysdeps/s390/s390-64/configure: Regenerated.
8546 * sysdeps/sh/configure: Regenerated.
8547 * sysdeps/sparc/configure: Regenerated.
8548 * sysdeps/x86_64/configure: Regenerated.
8549
a3f61311
AS
85502012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8551
c876e002
AS
8552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8553
a3f61311
AS
8554 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8555 denormal result into account.
8556
ac4c54f0
RM
85572012-03-25 Roland McGrath <roland@hack.frob.com>
8558
8559 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8560 Reported by Allan McRae <allan@archlinux.org>.
8561
6a9b9c02
JL
85622012-03-23 Jeff Law <law@redhat.com>
8563
8564 * nss/getnssent.c (__nss_getent): Fix typo.
8565
4c42a0c1
DM
85662012-03-23 David S. Miller <davem@davemloft.net>
8567
8568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8569
1532c7ac
L
85702012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8571
8572 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8573 to pad to uint64_t for each field.
8574 (dl_tls_index): Replace unsigned long with uint64_t.
8575
3ff42526
PP
85762012-03-23 Daniel Jacobowitz <dmj@google.com>
8577 Paul Pluzhnikov <ppluzhnikov@google.com>
8578
8579 [BZ #6528]
8580 * grp/Makefile (otherlibs): Don't set it.
8581 * inet/Makefile (otherlibs): Likewise.
8582 * login/Makefile (otherlibs): Likewise.
8583 * nscd/Makefile (otherlibs): Likewise.
8584 * posix/Makefile (otherlibs): Likewise.
8585 * pwd/Makefile (otherlibs): Likewise.
8586 * rt/Makefile (otherlibs): Likewise.
8587 * sunrpc/Makefile (otherlibs): Likewise.
8588 * nss/Makefile (otherlibs): Likewise.
8589 Add libnss_files to routines and static-only-routines.
8590 ($(objpfx)getent): Remove rule.
8591 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8592 static-only-routines.
8593
7c69cd14
JM
85942012-03-22 Joseph Myers <joseph@codesourcery.com>
8595
8596 [BZ #13892]
8597 * math/s_cexp.c: Include <float.h>.
8598 (__cexp): Handle exp result overflowing not necessarily
8599 overflowing both real and imaginary parts of result.
8600 * math/s_cexpf.c: Likewise.
8601 * math/s_cexpl.c: Likewise.
8602 * math/libm-test.inc (cexp_test): Add more tests.
8603 * sysdeps/i386/fpu/libm-test-ulps: Update.
8604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8605
81b035fe
L
86062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8607
8608 * include/link.h (ELFW): New macro.
8609 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8610 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8611
1da7940c
L
86122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8613
8614 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8615 with uint64_t.
8616
b749dbb9
L
86172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8618
8619 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8620 declaration.
8621 (struct La_x32_retval): Likewise.
8622
2ff87f3f
L
86232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8624
8625 * sysdeps/x86_64/preconfigure.in: New file.
8626 * sysdeps/x86_64/preconfigure: New generated file.
8627
c0df8e69
JM
86282012-03-22 Joseph Myers <joseph@codesourcery.com>
8629
48e44791
JM
8630 [BZ #13824]
8631 * math/e_exp2l.c: Include <float.h>.
8632 (__ieee754_exp2l): Handle overflow and underflow cases
8633 separately. Only pass fractional part of argument to
8634 __ieee754_expl.
8635 * math/libm-test.inc (exp2_test): Add more tests.
8636
c0df8e69
JM
8637 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8638 negating x to take absolute value.
8639 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8640 Likewise.
8641 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8642 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8643 Likewise.
8644 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8645 computing low part if x was negated.
8646 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8647
c8e43ba7
L
86482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8649
8650 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8651 la_x32_gnu_pltexit.
8652 (pltexit): Cast int_retval to ptrdiff_t.
8653 * elf/tst-auditmod3b.c: Likewise.
8654 * elf/tst-auditmod4b.c: Likewise.
8655 * elf/tst-auditmod5b.c: Likewise.
8656 * elf/tst-auditmod6b.c: Likewise.
8657 * elf/tst-auditmod6c.c: Likewise.
8658 * elf/tst-auditmod7b.c: Likewise.
8659
8660 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8661 and x32_gnu_pltexit.
8662
8663 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8664 __ELF_NATIVE_CLASS.
8665 (La_x32_regs): New macro.
8666 (La_x32_retval): Likewise.
8667 (la_x32_gnu_pltenter): New function prototype.
8668 (la_x32_gnu_pltexit): Likewise.
8669
7998fa78
AS
86702012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8671
dcb33988
AS
8672 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8673 exponent.
8674
233fc563
AS
8675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8676
7998fa78
AS
8677 * configure.in (libc_cv_cc_nofma): Check for option to disable
8678 generation of FMA instructions.
8679 * configure: Regenerate.
8680 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8681 * sysdeps/ieee754/dbl-64/Makefile: New file.
8682 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8683 Remove brandred-fma4.
8684 (CFLAGS-brandred-fma4.c): Remove.
8685 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8686 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8687 define.
8688 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8689 define.
8690
8e95c99a
L
86912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8692
8693 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8694 LLONG_MAX != LONG_MAX.
8695 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8696 (_fitoa_word): Likewise.
8697 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8698 LLONG_MAX != LONG_MAX.
8699 * stdio-common/_itowa.h: Include <_itoa.h>.
8700 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8701 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8702 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8703 only if not defined.
8704 (_ITOA_WORD_TYPE): Likewise.
8705 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8706 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8707
6f4db457
DM
87082012-03-21 David S. Miller <davem@davemloft.net>
8709
8710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8711
7785fe5a
L
87122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8713
8714 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8715 of x86_64 when setting libc_cv_slibdir, libdir and
8716 libc_cv_localedir.
8717 * sysdeps/unix/sysv/linux/configure: Regenerated.
8718
4535cd55
JM
87192012-03-21 Joseph Myers <joseph@codesourcery.com>
8720
8721 * manual/lang.texi (Old Varargs): Remove section.
8722 (How Variadic): Update menu.
8723 (va_start): Do not mention varargs.h.
8724
17228132
TS
87252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8726 Joseph Myers <joseph@codesourcery.com>
8727
8728 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8729 link test.
8730 * configure: Regenerated.
8731
8149f976
TS
87322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8733
05f3d1f6
UD
8734 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8735 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8736 conformtest.pl
8149f976 8737
1a4ac776
JM
87382012-03-21 Joseph Myers <joseph@codesourcery.com>
8739
be22ce65
JM
8740 * NOTES: Remove.
8741 * Makefile (files-for-dist): Remove NOTES.
8742 (NOTES): Remove rule.
8743 * README: Don't refer to NOTES.
8744 * manual/creature.texi: Don't include macros.texi.
8745 * manual/intro.texi (creature.texi): Remove comment referring to
8746 NOTES.
8747
40b601fb
JM
8748 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8749 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8750 * configure: Regenerated.
8751 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8752 LIBC_TRY_CC_OPTION.
8753 (libc_cv_as_i686): Likewise.
8754 (libc_cv_cc_avx): Likewise.
8755 (libc_cv_cc_sse2avx): Likewise.
8756 (libc_cv_cc_fma4): Likewise.
8757 (libc_cv_cc_novzeroupper): Likewise.
8758 * sysdeps/i386/configure: Regenerated.
8759
1a4ac776
JM
8760 [BZ #13883]
8761 * sysdeps/i386/fpu/s_cexp.S: Remove.
8762 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8763 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8764 * math/libm-test.inc (cexp_test): Add more tests.
8765 * sysdeps/i386/fpu/libm-test-ulps: Update.
8766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8767
a458e7fe
AM
87682012-03-21 Allan McRae <allan@archlinux.org>
8769
8770 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8771
0cb7efc5
JM
87722012-03-21 Joseph Myers <joseph@codesourcery.com>
8773
8774 [BZ #13871]
8775 * math/w_exp2.c: Do not include <float.h>.
8776 (o_threshold, u_threshold): Remove.
8777 (__exp2): Calculate result before checking finiteness and calling
8778 __kernel_standard.
8779 * math/w_exp2f.c: Likewise.
8780 * math/w_exp2l.c: Likewise.
8781 * math/libm-test.inc (exp2_test): Require overflow exception for
8782 1e6 input.
2460d3aa
JM
8783
8784 [BZ #3866]
8785 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8786 range of signed 64-bit integers before using fistpll. Remove
8787 checks for whether integers fit in mantissa bits.
8788 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8789 the range of signed 32-bit integers before using fistpl. Remove
8790 checks for whether integers fit in mantissa bits.
8791 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8792 (__ieee754_powl): Test for y outside the range of signed 64-bit
8793 integers before using fistpll. Reduce 64-bit values to 63-bit
8794 ones as needed.
8795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8796 divide-by-zero is raised for zero to large negative powers.
8797 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8798 (__ieee754_powl): Test for y outside the range of signed 64-bit
8799 integers before using fistpll. Reduce 64-bit values to 63-bit
8800 ones as needed.
8801 * math/libm-test.inc (pow_test): Add more tests.
8802
eb96ffb0
L
88032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8804
8805 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8806 <stdio-common/_itoa.h>.
8807 * debug/segfault.c: Likewise.
8808 * elf/dl-cache.c: Likewise.
8809 * elf/dl-minimal.c: Likewise.
8810 * elf/dl-misc.c: Likewise.
8811 * elf/dl-sysdep.c: Likewise.
8812 * elf/dl-version.c: Likewise.
8813 * elf/rtld.c: Likewise.
8814 * hurd/hurdsock.c: Likewise.
8815 * hurd/lookup-retry.c: Likewise.
8816 * malloc/malloc.c: Likewise.
8817 * malloc/mtrace.c: Likewise.
8818 * nscd/nscd_getgr_r.c: Likewise.
8819 * nscd/nscd_getpw_r.c: Likewise.
8820 * nscd/nscd_getserv_r.c: Likewise.
8821 * posix/getopt_init.c: Likewise.
8822 * posix/wordexp.c: Likewise.
8823 * stdio-common/_itoa.c: Likewise.
8824 * stdio-common/printf_fphex.c: Likewise.
8825 * stdio-common/vfprintf.c: Likewise.
8826 * string/_strerror.c: Likewise.
8827 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8828 * sysdeps/i386/i686/hp-timing.h: Likewise.
8829 * sysdeps/mach/_strerror.c: Likewise.
8830 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8831 * sysdeps/mach/hurd/sethostid.c: Likewise.
8832 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8833 * sysdeps/mach/xpg-strerror.c: Likewise.
8834 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8835 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8836 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8837 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8838 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8839 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8840 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8841 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8842 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8843 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8844 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8845 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8846 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8847 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8848 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8849 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8850 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8851 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8852 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8853 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8854 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8855
8856 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8857
8858 * stdio-common/_itoa.h: Moved to ...
8859 * sysdeps/generic/_itoa.h: Here.
8860
8861 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8862
8863 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8864 instead of "_itoa.h" and "_itowa.h".
8865 * stdio-common/vfprintf.: Likewise.
8866
d1af992d
L
88672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8868
8869 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8870 <bits/wordsize.h>.
8871 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8872 (__signbit): Likwise.
8873 (llrintf): Likwise.
8874 (llrint): Likwise.
8875
114883e0
L
88762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8877
8878 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8879 __WORDSIZE != 64.
8880
c135cc1b
JM
88812012-03-20 Joseph Myers <joseph@codesourcery.com>
8882
8883 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8884 OVERFLOW_EXCEPTION_OK.
8885 * math/libm-test.inc ("Philosophy"): Update comment about
8886 exception testing.
8887 (OVERFLOW_EXCEPTION): Define.
8888 (OVERFLOW_EXCEPTION_OK): Likewise.
8889 (INVALID_EXCEPTION_OK): Renumber.
8890 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8891 (IGNORE_ZERO_INF_SIGN): Likewise.
8892 (test_exceptions): Handle FE_OVERFLOW.
8893 (exp10_test): Expect overflow exceptions.
8894 (exp2_test): Likewise.
8895 (expm1_test): Likewise.
8896 (nextafter_test): Likewise.
8897 (pow_test): Likewise.
8898 (scalbn_test): Likewise.
8899 (scalbln_test): Likewise.
8900
95443d88
L
89012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8902
8903 * sysdeps/x86_64/bits/atomic.h
8904 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8905 64bit integer.
8906 (atomic_exchange_acq): Likewise.
8907 (__arch_exchange_and_add_body): Likewise.
8908 (__arch_add_body): Likewise.
8909 (atomic_add_negative): Likewise.
8910 (atomic_add_zero): Likewise.
8911
490df6c4
L
89122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8913
c2722551 8914 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8915 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8916
5e52b189
L
89172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8918
8919 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8920 Check __x86_64__ instead of __WORDSIZE.
8921
a9879d4c
L
89222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8923
8924 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8925
5df98260
DM
89262012-03-19 David S. Miller <davem@davemloft.net>
8927
e1497744
DM
8928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8929
5df98260
DM
8930 * sysdeps/sparc/fpu/fenv_private.h: New file.
8931 * sysdeps/sparc/fpu/math_private.h: Use it.
8932 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8933 Remove.
8934 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8935 (libc_feholdexcept_setroundl): Remove.
8936 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8937 Remove.
8938 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8939 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8940
b4c35121
L
89412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8942
8943 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8944 int64_t instead of long int.
8945 (INSERT_WORDS64): Likwise.
8946
56965fd7
L
89472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8948
8949 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8950 _Unwind_GetCFA return to _Unwind_Ptr first.
8951
83d1aec8
JM
89522012-03-19 Joseph Myers <joseph@codesourcery.com>
8953
1897ad44
JM
8954 [BZ #13629]
8955 * math/s_clog.c: Include <float.h>.
8956 (__clog): Scale large or subnormal inputs.
8957 * math/s_clogf.c: Likewise.
8958 * math/s_clogl.c: Likewise.
8959 * math/s_clog10.c: Include <float.h>.
8960 (M_LOG10_2): Define.
8961 (__clog10): Scale large or subnormal inputs.
8962 * math/s_clog10f.c: Likewise.
8963 * math/s_clog10l.c: Likewise.
8964 * math/libm-test.inc (clog_test): Add more tests.
8965 (clog10_test): Likewise.
8966 * sysdeps/i386/fpu/libm-test-ulps: Update.
8967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8968
7726d6a9
JM
8969 [BZ #11451]
8970 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8971 x and y.
8972 * math/libm-test.inc (atan2_test): Add another test.
8973
83d1aec8
JM
8974 * Makerules (common-objdir-compile): Remove.
8975 * sysdeps/unix/Makefile (config-generated): Do not add
8976 $(unix-generated) to variable.
8977 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8978 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8979 Remove rule.
8980 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8981 Likewise.
8982 [generic bits/local_lim.h] (before-compile): Do not append to
8983 variable.
8984 [generic bits/local_lim.h] (common-generated): Likewise.
8985 [generic sys/param.h] (before-compile): Do not append to variable.
8986 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8987 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8988 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8989 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8990 include.
8991 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8992 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8993 [generic sys/param.h] ($(addprefix
8994 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8995 [generic sys/param.h] (common-generated): Do not append to
8996 variable.
8997 [generic sys/param.h] (sysdep_headers): Likewise.
8998 [generic bits/errno.h] (before-compile): Do not append to
8999 variable.
9000 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9001 rule.
9002 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9003 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9004 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9005 [generic bits/errno.h] (common-generated): Do not append to
9006 variable.
9007 [generic bits/ioctls.h] (before-compile): Do not append to
9008 variable.
9009 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9010 rule.
9011 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9012 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9013 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9014 rule.
9015 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9016 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9017 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9018 [generic bits/ioctls.h] (common-generated): Do not append to
9019 variable.
9020 [generic sys/syscall.h] (syscall.h): Remove variable.
9021 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9022 rule.
9023 [generic sys/syscall.h] (before-compile): Do not append to
9024 variable.
9025 [generic sys/syscall.h] (common-generated): Likewise.
9026 * sysdeps/unix/errnos-tmpl.c: Remove file.
9027 * sysdeps/unix/errnos.awk: Likewise.
9028 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9029 * sysdeps/unix/ioctls.awk: Likewise.
9030 * sysdeps/unix/mk-local_lim.c: Likewise.
9031 * sysdeps/unix/snarf-ioctls: Likewise.
9032
4851a949
RH
90332012-03-19 Richard Henderson <rth@twiddle.net>
9034
bd37f2ee
RH
9035 * sysdeps/i386/fpu/fenv_private.h: New file.
9036 * sysdeps/i386/fpu/math_private.h: Use it.
9037 (math_opt_barrier, math_force_eval): Remove.
9038 (libc_feholdexcept_setround_53bit): Remove.
9039 (libc_feupdateenv_53bit): Remove.
9040 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9041 (math_opt_barrier, math_force_eval): Remove.
9042 (libc_feholdexcept): Remove.
9043 (libc_feholdexcept_setround): Remove.
9044 (libc_fetestexcept, libc_fesetenv): Remove.
9045 (libc_feupdateenv_test): Remove.
9046 (libc_feupdateenv, libc_feholdsetround): Remove.
9047 (libc_feresetround): Remove.
9048
d0adc922
RH
9049 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9050 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9051
0fe0f1f8
RH
9052 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9053 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9054 (libc_feupdateenv_testl): New.
9055 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9056 (libc_feupdateenv_testf): New.
9057 (libc_feupdateenv): Use libc_feupdateenv_test.
9058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9059 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9060
eb92c487
RH
9061 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9062 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9063 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9064 (libc_feresetround_noex): New.
9065 (libc_feresetround_noexf): New.
9066 (libc_feresetround_noexl): New.
9067 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9068 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9069 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9070 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9071 SET_RESTORE_ROUND.
9072 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9073 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9074 (__cos): Likewise.
9075 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9076 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9077 SET_RESTORE_ROUND_NOEX.
9078 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9079 SET_RESTORE_ROUND_NOEXF.
9080 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9081 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9082 (libc_feholdsetroundf): New.
9083 (libc_feresetround, libc_feresetroundf): New.
9084
7d2e8012
RH
9085 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9086 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9087 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9088
b4dabbb4
RH
9089 * sysdeps/generic/math_private.h: Include <fenv.h>.
9090 (default_libc_feholdexcept): New.
9091 (default_libc_feholdexcept_setround): New.
9092 (default_libc_fesetenv, default_libc_feupdateenv): New.
9093 (libc_feholdexcept): Only define if undefined.
9094 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9095 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9096 (libc_feholdexcept_setroundl): Likewise.
9097 (libc_feholdexcept_setround_53bit): Likewise.
9098 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9099 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9100 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9101 (libc_feupdateenv_53bit): Likewise.
9102 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9103 (libc_feholdexcept): Convert from macro to inline function.
9104 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9105 (libc_fesetenv, libc_feupdateenv): Likewise.
9106
4851a949
RH
9107 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9108 not previously defined.
9109 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9110 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9111 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9112 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9113 * sysdeps/ieee754/flt-32/math_private.h: New file.
9114 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9115 math_private.h below SET_FLOAT_WORD.
9116 (__isnan, __isinf_ns, __finite): Remove.
9117 (__isnanf, __isinf_nsf, __finitef): Remove.
9118
e79d442e
AS
91192012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9120
9121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9122
90b80344
DM
91232012-03-17 David S. Miller <davem@davemloft.net>
9124
9125 [BZ #6471]
9126 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9127 for 2.16.
9128
edc21804
DM
91292012-03-16 David S. Miller <davem@davemloft.net>
9130
77e927af
DM
9131 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9132 warnings.
9133
374976dd
DM
9134 [BZ #6471]
9135 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9136 properly.
9137 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9138 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9139 sysdep_routines when subdir is sysvipc.
9140 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9141 __getshmlba helper.
9142
edc21804
DM
9143 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9144
473c3ef3
L
91452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9146
9147 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9148 [__LP64__].
9149
eb0f39b6
L
91502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9151
9152 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9153 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9154 (__lround): Renamed to ...
9155 (__llround): This. Replace long int with long long int.
9156 Define lround functions as aliases of llround functions.
9157 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9158
6b6cd74b
L
91592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9160
9161 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9162 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9163 adresses to uintptr_t. Replace "long int" and "unsigned long
9164 int" with "greg_t" on va_arg.
9165
f1a77b01
L
91662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9167
9168 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9169 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9170
9171 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9172 Move e_machine check before EI_CLASS check. Handle x32
9173 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9174 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9175 SKIP_EM_IA_64 and include
9176 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9177
9178 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9179 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
9180 (add_system_dir): New macro.
9181
9182 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
9183 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
9184
11b90b9f
JM
91852012-03-16 Joseph Myers <joseph@codesourcery.com>
9186
c36e1d23
JM
9187 [BZ #2551]
9188 [BZ #2552]
9189 [BZ #2553]
9190 [BZ #2554]
9191 [BZ #2562]
9192 [BZ #2563]
9193 [BZ #2565]
9194 [BZ #2566]
9195 [BZ #2576]
9196 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
9197 (y0): Likewise.
9198 * math/w_j0f.c (j0f): Likewise.
9199 (y0f): Likewise.
9200 * math/w_j0l.c (__j0l): Likewise.
9201 (__y0l): Likewise.
9202 * math/w_j1.c (j1): Likewise.
9203 (y1): Likewise.
9204 * math/w_j1f.c (j1f): Likewise.
9205 (y1f): Likewise.
9206 * math/w_j1l.c (__j1l): Likewise.
9207 (__y1l): Likewise.
9208 * math/w_jn.c (jn): Likewise.
9209 (yn): Likewise.
9210 * math/w_jnf.c (jnf): Likewise.
9211 (ynf): Likewise.
9212 * math/w_jnl.c (__jnl): Likewise.
9213 (__ynl): Likewise.
9214 * math/libm-test.inc (j0_test): Add more tests.
9215 (j1_test): Likewise.
9216 (jn_test): Likewise. Add trailing semicolon to existing test.
9217 (y0_test): Likewise.
9218 (y1_test): Likewise.
9219 * sysdeps/i386/fpu/libm-test-ulps: Update.
9220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9221
11b90b9f
JM
9222 [BZ #13851]
9223 [BZ #13854]
9224 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9225 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9226 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9227 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9228 (__tanl): Set errno for infinite argument.
9229 * sysdeps/i386/fpu/mptan.c: Remove.
9230 * sysdeps/i386/fpu/s_tan.S: Likewise.
9231 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9232 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9233 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9234 * math/libm-test.inc (tan_test): Add more tests and enable more
9235 tests for double and long double.
9236 * sysdeps/i386/fpu/libm-test-ulps: Update.
9237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9238
6a1bd2a1
JK
92392012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9240
9241 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9242 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9243
10a803e0
RM
92442012-03-16 Roland McGrath <roland@hack.frob.com>
9245
9246 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9247 * configure.in: Use it for both main tree and add-ons.
9248 * configure: Regenerated.
9249
f196c7f7
L
92502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9251
9252 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9253
8848d99d
JM
92542012-03-16 Joseph Myers <joseph@codesourcery.com>
9255
96cbe7f4
JM
9256 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9257 in comment.
9258
8848d99d
JM
9259 [BZ #13851]
9260 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9261 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9262 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9263 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9264 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9265 infinite argument.
9266 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9267 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9268 != 0 for prec == 2.
9269 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9270 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9271 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9272 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9273 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9274 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9275 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9276 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9277 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9278 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9279 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9280 * math/libm-test.inc (cos_test): Add more tests and enable more
9281 tests for long double.
9282 (sin_test): Likewise.
9283 (sincos_test): Likewise.
9284 * sysdeps/i386/fpu/libm-test-ulps: Update.
9285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9286
dd7f4703
DM
92872012-03-16 David S. Miller <davem@davemloft.net>
9288
9289 * sysdeps/sparc/fpu/math_private.h: New file.
9290
006f1daa
DM
92912012-03-15 David S. Miller <davem@davemloft.net>
9292
c0c83bc8
DM
9293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9294 file.
e6a62e18 9295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9297 file.
e6a62e18
DM
9298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9304 sysdep routines.
9305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9306
88cb87d9
DM
9307 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9308 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9309
006f1daa 9310 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9312 sparc-ifunc.h
006f1daa 9313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9315 Likewise.
9316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9317 Likewise.
006f1daa
DM
9318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9322 Likewise.
006f1daa
DM
9323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9328 Likewise.
9329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9330 Likewise.
006f1daa
DM
9331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9337 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9338 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9349 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9351 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9352 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9353 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9354 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9355
11e0098e
AS
93562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9357
9358 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9359 scaling.
9360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9361
e85b09d0
AJ
93622012-03-15 Andreas Jaeger <aj@suse.de>
9363
9364 [BZ #13852]
9365 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9366 ieee754/flt-32 implementation for sin, cos and sincos.
9367 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9368 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9369 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9370 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9371 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9372 ieee754/flt-32 implementation for tan.
9373
9374 * math/libm-test.inc (cos_test): Enable some large input tests for
9375 float as well
9376 (sin_test): Likewise.
9377 (sincos_test): Likewise.
9378 (tan_test): Add tests for large input.
9379
9380 * sysdeps/i386/fpu/libm-test-ulps: Update.
9381
81c64153
AJ
93822012-03-15 Andreas Jaeger <aj@suse.de>
9383
9384 [BZ #13658]
9385 * math/libm-test.inc (cos_test): Add more test cases.
9386 (sin_test): Likewise.
9387 (sincos_test): Likewise.
9388
7bbfa5c6
AJ
93892012-03-15 Andreas Jaeger <aj@suse.de>
9390
9391 [BZ #13837]
9392 * math/libm-test.inc (cos_test): Add a test case for large input
9393 value.
9394 (sin_test): Likewise.
9395 (sincos_test): Likewise.
9396
93972012-03-15 Andreas Jaeger <aj@suse.de>,
9398 Joseph Myers <joseph@codesourcery.com>
9399
9400 [BZ #13658]
0671f479 9401 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9402 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9403 * sysdeps/i386/fpu/branred.c: Likewise.
9404 * sysdeps/i386/fpu/dosincos.c: Likewise.
9405 * sysdeps/i386/fpu/mpa.c: Likewise.
9406 * sysdeps/i386/fpu/s_cos.S: Likewise.
9407 * sysdeps/i386/fpu/s_sin.S: Likewise.
9408 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9409 * sysdeps/i386/fpu/sincos32.c: Likewise.
9410
9411 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9412 Define.
9413 (libc_feupdateenv_53bit): Define.
9414 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9415 Define.
9416 (libc_feupdateenv_53bit): Define.
9417
9418 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9419 53 bit (without extend i386 double precision).
9420
9421 * math/libm-test.inc (sincos_test): Add tests for large input.
9422 (sin): Likewise.
9423 (cos): Likewise.
9424
9425 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9426
9cad04ea
AS
94272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9428
9429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9430
f7062b9a
DM
94312012-03-15 David S. Miller <davem@davemloft.net>
9432
9433 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9434 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9435 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9436 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9449 file.
f7062b9a 9450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9452 file.
f7062b9a 9453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9455 file.
f7062b9a 9456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9458 file.
f7062b9a
DM
9459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9460 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9461 fmin/fmax sysdep routines.
9462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9463
7bd951ff
DM
94642012-03-14 David S. Miller <davem@davemloft.net>
9465
559398ab
DM
9466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9470 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9471 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9472 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9473 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9477 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9486 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9487 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9488 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9489 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9490 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9491 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9492 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9493 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9494 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9495 routines.
9496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9497 file.
559398ab 9498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9500 file.
559398ab 9501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9503 file.
559398ab 9504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9506 file.
559398ab 9507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9509 file.
559398ab 9510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9512 file.
9513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9514 file.
9515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9516 file.
9517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9518 file.
9519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9520 New file.
9521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9522 file.
9523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9524 file.
559398ab 9525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9527 file.
559398ab 9528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9530 file.
559398ab 9531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9533 file.
559398ab 9534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9536 VIS3 routines.
559398ab
DM
9537
9538 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9539 New file.
9540
5a1c1e32
DM
9541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9542
eae47a36
DM
9543 * sysdeps/sparc/configure.in: New file.
9544 * sysdeps/sparc/configure: Generate.
9545 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9546 * configure: Regenerate.
9547 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9548 * config.make.in (have-as-vis3): New.
9549 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9550 available use -Av9d instead of -Av9a.
9551 * sysdeps/sparc/sparc64/Makefile: Likewise.
9552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9554 New file.
9555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9556 file.
9557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9558 New file.
9559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9560 file.
eae47a36
DM
9561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9562 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9563 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9564 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9565 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9566
c0c83bc8
DM
9567 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9568 fzeros/fnegs to load 0x80000000 into a float register instead of
9569 using the stack.
7bd951ff
DM
9570 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9571
bd951ccb
JM
95722012-03-14 Joseph Myers <joseph@codesourcery.com>
9573
9574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9575 bits/syscall.h.
9576 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9577 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9578 ($(inst_includedir)/bits/syscall.h): Remove rule.
9579 ($(objpfx)bits/syscall.d): Include instead of
9580 $(objpfx)syscall-list.d.
9581 (generated): Change syscall-list.h and syscall-list.d to
9582 bits/syscall.h and bits/syscall.d.
9583
bb4e6db2
RM
95842012-03-14 Roland McGrath <roland@hack.frob.com>
9585
9586 [BZ #13846]
9587 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9588
aa4a2ae1
JM
95892012-03-14 Joseph Myers <joseph@codesourcery.com>
9590
e456826d
JM
9591 [BZ #13841]
9592 * math/s_csqrt.c: Include <float.h>.
9593 (__csqrt): Scale large or subnormal inputs.
9594 * math/s_csqrtf.c: Likewise.
9595 * math/s_csqrtl.c: Likewise.
9596 * math/libm-test.inc (csqrt_test): Add more tests.
9597 * sysdeps/i386/fpu/libm-test-ulps: Update.
9598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9599
aa4a2ae1
JM
9600 [BZ #13840]
9601 * math/libm-test.inc (hypot_test): Add more tests.
9602
7c10fd35
DM
96032012-03-13 David S. Miller <davem@davemloft.net>
9604
9605 [BZ #13840]
9606 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9607 double-precision for the calculation instead of scaling.
9608
f453b98b
JM
96092012-03-13 Joseph Myers <joseph@codesourcery.com>
9610
9611 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9612 manipulate bits before adding and subtracting TWO52[sx].
9613 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9614 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9615 Likewise.
9616 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9617
09a3453f
DM
96182012-03-13 David S. Miller <davem@davemloft.net>
9619
8e59da90
DM
9620 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9621 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9622 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9623 rtld-global-offsets.h
9624 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9625
2a8ab7f2
DM
9626 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9627 large parameters.
9628
10f62770
DM
9629 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9630
5f0bdb18
DM
9631 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9632 'err' in the ifdef scope in which it is actually used.
9633
09a3453f
DM
9634 * nss/nss_db/db-init.c: Include string.h
9635
b4b2eb5e
DM
96362012-03-12 David S. Miller <davem@davemloft.net>
9637
98bb2f1c
DM
9638 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9639 masking out of the most significant byte of random value used.
9640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9641 Fix coding style in previous change.
9642
b4b2eb5e
DM
9643 * sysdeps/unix/sysv/linux/kernel-features.h
9644 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9645 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9646 expression.
9647 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9648 later.
9649
6e226b09
DM
96502012-03-11 David S. Miller <davem@davemloft.net>
9651
a1bcbd40
DM
9652 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9653 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9654 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9655 for 'resultvar' otherwise things get truncated on 64-bit.
9656
cb9d6174
DM
9657 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9658 Fix masking out of the most significant byte of random value used.
9659
6e226b09
DM
9660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9661
058c132d
AS
96622012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9663
9664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9665
2d2cd515
DM
96662012-03-09 David S. Miller <davem@davemloft.net>
9667
9668 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9669 variables with appropriate CPP guards.
9670 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9671 frame pointer, not the stack pointer. Correct layout comments. Fix test
9672 on resulting framesize and the management of the outregs buffer for pltexit.
9673 Preserve floating point return values across _dl_call_pltexit call.
9674 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9675 framesize and the management of the outregs buffer for pltexit.
9676 Preserve floating point return values across _dl_call_pltexit
9677 call.
9678 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9679 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9680 (print_exit): Fix format string for return register value.
9681
9a07f9d0
JM
96822012-03-10 Joseph Myers <joseph@codesourcery.com>
9683
9684 * sunrpc/Makefile (others): Add rpcgen.
9685 ($(objpfx)rpcgen): Remove special build rule and dependency on
9686 libc.
9687 * sunrpc/rpcgen.c: New file.
9688
547b5e30
PE
96892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9690
c524201a
PE
9691 [BZ #13673]
9692 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9693 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9694 * sysdeps/i386/crti.S: Likewise.
9695 * sysdeps/i386/crtn.S: Likewise.
9696 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9697 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9698 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9699 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9700 * sysdeps/sh/crti.S: Likewise.
9701 * sysdeps/sh/crtn.S: Likewise.
9702 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9703
7b6235f2
PE
9704 [BZ #13673]
9705 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9706 with URL.
9707 * locale/programs/locfile-kw.gperf: Likewise.
9708 * locale/programs/charmap-kw.h: Regenerated.
9709 * locale/programs/locfile-kw.h: Likewise.
9710
547b5e30
PE
9711 [BZ #13673]
9712 * intl/plural.y: Replace FSF snail mail address with URL.
9713 * intl/plural.c: Regenerated.
9714
5f0a5dae
RH
97152012-03-09 Richard Henderson <rth@twiddle.net>
9716
9717 * include/math_private.h: Remove file.
9718 * math/math_private.h: Move file ...
9719 * sysdeps/generic/math_private.h: ... here.
9720
b8c03620
RH
9721 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9722 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9723 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9724
4e234f5d 9725 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9726 and <math_private.h>.
9727 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9728 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9729 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9730 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9731 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9732 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9733 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9734 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9735 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9736 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9737 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9738 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9739 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9740 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9741 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9742 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9743 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9744 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9745 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9746 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9747 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9748 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9749 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9751 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9752 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9753 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9754 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9755 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9757 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9758 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9759 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9760 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9761 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9762 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9763 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9764 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9765 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9766 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9767 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9768 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9769 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9770 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9771 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9772 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9773 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9774 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9775 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9776 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9777 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9778 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9779 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9780 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9781 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9782 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9783 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9784 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9785 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9786 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9787 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9788 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9790 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9791 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9792 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9793 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9794 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9795 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9796 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9797 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9798 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9799 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9800 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9801 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9802 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9804 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9805 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9806 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9807 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9808 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9809 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9810 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9811 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9812 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9813 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9814 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9815 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9816 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9817 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9818 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9819 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9820 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9821 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9822 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9823 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9824 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9825 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9826 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9827 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9828 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9829 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9830 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9831 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9832 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9833 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9834 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9835 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9836 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9837 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9838 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9839 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9840 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9841 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9842 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9843 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9844 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9845 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9846 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9847 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9848 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9849 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9850 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9851 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9852 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9853 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9854 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9855 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9856 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9857 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9858 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9859 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9860 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9861 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9862 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9863 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9864 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9865 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9866 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9867 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9868 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9869 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9870 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9871 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9872 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9873 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9874 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9875 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9876 * sysdeps/ieee754/k_standard.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9897 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9898 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9899 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9904 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9905 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9908 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9910 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9912 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9915 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9922 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9924 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9925 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9926 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9927 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9928 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9929 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9930 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9931 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9932 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9933 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9934 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9935 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9936 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9937 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9938 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9939 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9940 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9941 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9942 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9943 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9944 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9945 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9946 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9949 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9950 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9951 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9953 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9954 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9955 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9959 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9960 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9963 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9964 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9969 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9982 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9988 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9990 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9991 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9992 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9993 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9994 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9995 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9996 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9997 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9998 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9999 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10000 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10001 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10002 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10003 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10004 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10005 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10006 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10007 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10008 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10009 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10010 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10011 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10012 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10013 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10014 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10015 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10016 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10017 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10018 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10019 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10020 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10021 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10022 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10023 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10024 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10025 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10026 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10027 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10028 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10029 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10030 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10031 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10032 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10033 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10034 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10035 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10036 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10037 * sysdeps/ieee754/s_lib_version.c: Likewise.
10038 * sysdeps/ieee754/s_matherr.c: Likewise.
10039 * sysdeps/ieee754/s_signgam.c: Likewise.
10040 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10041 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10042 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10043 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10044 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10045 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10046 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10047 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10048 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10049 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10050 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10051 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10052 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10053 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10054 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10055 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10056 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10057 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10058 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10059 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10060 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10061
1991fa03
JM
100622012-03-09 Joseph Myers <joseph@codesourcery.com>
10063
10064 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10065 * sunrpc/rpc_main.c: Likewise.
10066 * sunrpc/rpc_svcout.c: Likewise.
10067
60d6f5a6
DM
100682012-03-09 David S. Miller <davem@davemloft.net>
10069
10070 * include/math_private.h: New file.
10071
4962050e
JM
100722012-03-09 Joseph Myers <joseph@codesourcery.com>
10073
02a6f887
JM
10074 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10075 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10076 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10077 from <bits/socket_type.h>.
10078 (enum __socket_type): Don't define here.
10079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10081 bits/socket_type.h.
10082
c6e013c1
JM
10083 [BZ #13566]
10084 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10085 checking __USE_GNU.
10086
4962050e
JM
10087 * Makerules ($(inst_includedir)/%.h): New rule.
10088 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10089 (install-others): Remove variable setting.
10090 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10091
38842f45
RH
100922012-03-08 Richard Henderson <rth@twiddle.net>
10093
67bb6da6
RH
10094 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10095 from macro to inline function; merge with the
10096 !__LIBC_INTERNAL_MATH_INLINES version.
10097 (__ieee754_sqrtf): Likewise.
10098
15194b4b
RH
10099 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10100 to inline function.
10101 (__rintf, __floor, __floorf): Likewise.
10102
64e21ede
RH
10103 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10104 macro to inline function.
10105 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10106
38842f45
RH
10107 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10108 not <math/math_private.h>.
10109
c64bf5fe
DM
101102012-03-08 David S. Miller <davem@davemloft.net>
10111
10112 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10113 copyright year.
10114 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10115
82d86f28
TS
101162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10117
10118 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10119 normalization.
10120 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10121 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10122
aea5d727
UD
101232012-03-08 Ulrich Drepper <drepper@gmail.com>
10124
10125 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10126 be defined individually, they must be defined as a block. Define
10127 S for printing a string instead of hidint the different by using a
10128 macro for adding the 'l'.
10129 * stdio-common/tst-fphex-wide.c: Adjust.
10130
70bca0a3
MP
101312012-03-07 Marek Polacek <polacek@redhat.com>
10132
10133 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10134
65b81130
MP
101352012-03-08 Marek Polacek <polacek@redhat.com>
10136
10137 [BZ #13806]
10138 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10139 * stdio-common/tst-fphex.c: Define a few macros to make the
10140 test reusable. Use them.
10141 * stdio-common/tst-fphex-wide.c: New file.
10142
07037eeb
JM
101432012-03-08 Joseph Myers <joseph@codesourcery.com>
10144
a7a93d50
JM
10145 [BZ #6911]
10146 * manual/macros.texi (gnusystems): New macro.
10147 (nongnusystems): Likewise.
10148 (gnulinuxhurdsystems): Likewise.
10149 (gnuhurdsystems): Likewise..
10150 (gnulinuxsystems): Likewise.
10151 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10152 variants of the GNU system, not "GNU system".
10153 * manual/conf.texi: Likewise.
10154 * manual/errno.texi: Likewise. Update example of errno macro
10155 expansion.
10156 * manual/filesys.texi: Likewise.
10157 (getumask): Document as specific to GNU/Hurd.
10158 * manual/install.texi: Likewise. Reword some references to
10159 GNU/Linux.
10160 * manual/intro.texi: Likewise.
10161 * manual/io.texi: Likewise.
10162 (File Name Portability): Detail which constraints are inapplicable
10163 to all GNU systems and which are only inapplicable to GNU/Hurd.
10164 * manual/job.texi: Likewise.
10165 * manual/llio.texi: Likewise.
10166 (O_NOCTTY): Document as present on GNU/Linux.
10167 * manual/maint.texi: Likewise.
10168 * manual/memory.texi: Likewise.
10169 * manual/pattern.texi: Likewise.
10170 * manual/pipe.texi: Likewise.
10171 * manual/process.texi: Likewise.
10172 * manual/resource.texi: Likewise.
10173 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10174 child on GNU/Hurd.
10175 * manual/setjmp.texi: Likewise.
10176 * manual/signal.texi: Likewise.
10177 * manual/startup.texi: Likewise.
10178 * manual/stdio.texi: Likewise.
10179 * manual/terminal.texi: Likewise.
10180 (ONLCR): Document as POSIX.
10181 (OXTABS): Document availability on GNU/Linux as XTABS.
10182 (ONOEOT): Document availability separately from other bits.
10183 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
10184 * manual/time.texi: Likewise.
10185 * manual/users.texi: Likewise.
10186 * INSTALL: Regenerated.
10187 * sysdeps/gnu/errlist.c: Regenerated.
10188
07037eeb
JM
10189 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
10190 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
10191 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
10192 puts.
10193 * configure: Regenerated.
10194
d1d3431a
JM
101952012-03-07 Joseph Myers <joseph@codesourcery.com>
10196
af6a1e37
JM
10197 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
10198 default includes instead of AC_HEADER_CHECK.
10199 * sysdeps/i386/configure: Regenerated.
10200
d1d3431a
JM
10201 [BZ #10716]
10202 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
10203 * math/s_cacoshf.c (__cacoshf): Likewise.
10204 * math/s_cacoshl.c (__cacoshl): Likewise.
10205 * math/s_casinh.c (__casinh): Set signs of result from argument.
10206 * math/s_casinhf.c (__casinhf): Likewise.
10207 * math/s_casinhl.c (__casinhl): Likewise.
10208 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
10209 (casinh_test): Add more tests.
10210 * sysdeps/i386/fpu/libm-test-ulps: Update.
10211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10212
482ff4da
UD
102132012-03-07 Ulrich Drepper <drepper@gmail.com>
10214
872fda05
UD
10215 * po/zh_TW.po: Update from translation team.
10216
a4300c7a
UD
10217 * login/Makefile (distribute): Remove variable.
10218 * catgets/Makefile: Likewise.
10219 * mach/Makefile: Likewise.
10220 * malloc/Makefile: Likewise.
10221 * misc/Makefile: Likewise.
10222 * iconv/Makefile: Likewise.
10223 * nscd/Makefile: Likewise.
10224 * hurd/Makefile: Likewise.
10225 * manual/Makefile: Likewise.
10226 * locale/Makefile: Likewise.
10227 * intl/Makefile: Likewise.
10228 * conform/Makefile: Likewise.
10229 * nss/Makefile: Likewise.
10230 * time/Makefile: Likewise.
10231 * soft-fp/Makefile: Likewise.
10232 * dirent/Makefile: Likewise.
10233 * gmon/Makefile: Likewise.
10234 * po/Makefile: Likewise.
10235 * rt/Makefile: Likewise.
10236 * socket/Makefile: Likewise.
10237 * math/Makefile: Likewise.
10238 * signal/Makefile: Likewise.
10239 * debug/Makefile: Likewise.
10240 * elf/Makefile: Likewise.
10241 * timezone/Makefile: Likewise.
10242 * stdlib/Makefile: Likewise.
10243 * iconvdata/Makefile: Likewise.
10244 * sunrpc/Makefile: Likewise.
10245 * io/Makefile: Likewise.
10246 * argp/Makefile: Likewise.
10247 * inet/Makefile: Likewise.
10248 * hesiod/Makefile: Likewise.
10249 * grp/Makefile: Likewise.
10250 * csu/Makefile: Likewise.
10251 * wctype/Makefile: Likewise.
10252 * crypt/Makefile: Likewise.
10253 * libio/Makefile: Likewise.
10254 * string/Makefile: Likewise.
10255 * nis/Makefile: Likewise.
10256 * resolv/Makefile: Likewise.
10257 * stdio-common/Makefile: Likewise.
10258 * wcsmbs/Makefile: Likewise.
10259 * dlfcn/Makefile: Likewise.
10260 * posix/Makefile: Likewise.
10261
3b7c4e74 10262 [BZ #6959]
482ff4da
UD
10263 * timezone/Makefile: Don't install timezone files, just the programs
10264 and scripts.
10265
f72ed77d
UD
102662012-03-06 Ulrich Drepper <drepper@gmail.com>
10267
a000466f
UD
10268 * nss/databases.def: Add missing gshadow entry.
10269
f72ed77d
UD
10270 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10271
a53b7a4e
MP
102722012-03-06 Marek Polacek <polacek@redhat.com>
10273
10274 [BZ #13726]
10275 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10276 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10277 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10278 * stdio-common/tst-long-dbl-fphex.c: New file.
10279
e9258400
DM
102802012-03-06 David S. Miller <davem@davemloft.net>
10281
10282 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10283 (set_obp_int): New function.
10284 (get_obp_int): New function.
10285 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10286 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10287 Avoid unused variable warnings on 'val' and use builtin_expect.
10288 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10289 __builtin_expect.
e9258400
DM
10290 (INLINE_CLONE_SYSCALL): Likewise.
10291
3bd2c723
DM
102922012-03-05 David S. Miller <davem@davemloft.net>
10293
10294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10295
bbb78d03
AS
102962012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10297
884c5db4
AS
10298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10299
bbb78d03
AS
10300 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10301 only for |x| >= 40.
10302 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10303
1c9f702a 103042012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10305
10306 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10307 Replace gettimeofday with __vdso_gettimeofday.
10308
7be16f82
RM
10309 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10310 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10311 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10312
10313 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10314 time with __vdso_time.
10315
ed58a00f
JM
103162012-03-05 Joseph Myers <joseph@codesourcery.com>
10317
10318 * manual/lang.texi (size_t): Note types to which size_t may be
10319 equivalent with the GNU C Library, but do not describe when
10320 differences between them are significant.
10321
30ee4ced
AJ
103222012-03-05 Andreas Jaeger <aj@suse.de>
10323
10324 * sysdeps/i386/fpu/libm-test-ulps: Update.
10325
b7cd39e8
JM
103262012-03-05 Joseph Myers <joseph@codesourcery.com>
10327
10328 [BZ #3976]
10329 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10330 (__ieee754_pow): Save and restore rounding mode and use
10331 round-to-nearest for main computations.
10332 * math/libm-test.inc (pow_test_tonearest): New function.
10333 (pow_test_towardzero): Likewise.
10334 (pow_test_downward): Likewise.
10335 (pow_test_upward): Likewise.
10336 (main): Call the new functions.
10337 * sysdeps/i386/fpu/libm-test-ulps: Update.
10338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10339
10340 [BZ #3976]
10341 * math/libm-test.inc (cosh_test_tonearest): New function.
10342 (cosh_test_towardzero): Likewise.
10343 (cosh_test_downward): Likewise.
10344 (cosh_test_upward): Likewise.
10345 (sinh_test_tonearest): Likewise.
10346 (sinh_test_towardzero): Likewise.
10347 (sinh_test_downward): Likewise.
10348 (sinh_test_upward): Likewise.
10349 (main): Call the new functions.
10350 * sysdeps/i386/fpu/libm-test-ulps: Update.
10351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10352
6c6a98c9
TV
103532012-03-05 Tom de Vries <tom@codesourcery.com>
10354
10355 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10356 default stack guard is set in last bytes.
10357 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10358
21bb2d2e 103592012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10360
21bb2d2e 10361 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10362
21bb2d2e
AJ
10363 [BZ #13656]
10364 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10365 possibly allocate from heap instead of stack.
10366 * stdio-common/bug-vfprintf-nargs.c: New file.
10367 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10368
c6922934
AS
103692012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10370
10371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10372
bc957d53
MP
103732012-03-03 Marek Polacek <polacek@redhat.com>
10374
10375 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10376 * math/math_private.h: Likewise.
10377 * stdlib/tst-strtod.c: Likewise.
10378 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10379 * sysdeps/x86_64/bits/atomic.h: Likewise.
10380
6358490d
DM
103812012-03-02 David S. Miller <davem@davemloft.net>
10382
10383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10387 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10388 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10389 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10390 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10391
01ae168d
RM
103922012-03-02 Roland McGrath <roland@hack.frob.com>
10393
d9a17c07
RM
10394 [BZ #13792]
10395 * manual/examples/README: New file, says the example source files
10396 can be used under GPL>=2.
10397 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10398 line containing just "*/".
10399 * manual/examples/add.c: Add copyright header (GPL>=2).
10400 * manual/examples/argp-ex1.c: Likewise.
10401 * manual/examples/argp-ex2.c: Likewise.
10402 * manual/examples/argp-ex3.c: Likewise.
10403 * manual/examples/argp-ex4.c: Likewise.
10404 * manual/examples/atexit.c: Likewise.
10405 * manual/examples/db.c: Likewise.
10406 * manual/examples/dir.c: Likewise.
10407 * manual/examples/dir2.c: Likewise.
10408 * manual/examples/execinfo.c: Likewise.
10409 * manual/examples/filecli.c: Likewise.
10410 * manual/examples/filesrv.c: Likewise.
10411 * manual/examples/fmtmsgexpl.c: Likewise.
10412 * manual/examples/genpass.c: Likewise.
10413 * manual/examples/inetcli.c: Likewise.
10414 * manual/examples/inetsrv.c: Likewise.
10415 * manual/examples/isockad.c: Likewise.
10416 * manual/examples/longopt.c: Likewise.
10417 * manual/examples/memopen.c: Likewise.
10418 * manual/examples/memstrm.c: Likewise.
10419 * manual/examples/mkfsock.c: Likewise.
10420 * manual/examples/mkisock.c: Likewise.
10421 * manual/examples/mygetpass.c: Likewise.
10422 * manual/examples/pipe.c: Likewise.
10423 * manual/examples/popen.c: Likewise.
10424 * manual/examples/rprintf.c: Likewise.
10425 * manual/examples/search.c: Likewise.
10426 * manual/examples/select.c: Likewise.
10427 * manual/examples/setjmp.c: Likewise.
10428 * manual/examples/sigh1.c: Likewise.
10429 * manual/examples/sigusr.c: Likewise.
10430 * manual/examples/stpcpy.c: Likewise.
10431 * manual/examples/strdupa.c: Likewise.
10432 * manual/examples/strftim.c: Likewise.
10433 * manual/examples/strncat.c: Likewise.
10434 * manual/examples/subopt.c: Likewise.
10435 * manual/examples/swapcontext.c: Likewise.
10436 * manual/examples/termios.c: Likewise.
10437 * manual/examples/testopt.c: Likewise.
10438 * manual/examples/testpass.c: Likewise.
10439 * manual/examples/timeval_subtract.c: Likewise.
10440
01ae168d
RM
10441 [BZ #13792]
10442 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10443 function to ...
10444 * manual/timeval_subtract.c.texi: ... here, new file.
10445
49efa33d
DM
104462012-03-02 David S. Miller <davem@davemloft.net>
10447
10448 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10449
28afd92d
JM
104502012-03-02 Joseph Myers <joseph@codesourcery.com>
10451
804360ed
JM
10452 [BZ #3976]
10453 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10454 (__sin): Save and restore rounding mode and use round-to-nearest
10455 for all computations.
10456 (__cos): Save and restore rounding mode and use round-to-nearest
10457 for all computations.
10458 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10459 <fenv.h>.
10460 (tan): Save and restore rounding mode and use round-to-nearest for
10461 all computations.
10462 * math/libm-test.inc (cos_test_tonearest): New function.
10463 (cos_test_towardzero): Likewise.
10464 (cos_test_downward): Likewise.
10465 (cos_test_upward): Likewise.
10466 (sin_test_tonearest): Likewise.
10467 (sin_test_towardzero): Likewise.
10468 (sin_test_downward): Likewise.
10469 (sin_test_upward): Likewise.
10470 (tan_test_tonearest): Likewise.
10471 (tan_test_towardzero): Likewise.
10472 (tan_test_downward): Likewise.
10473 (tan_test_upward): Likewise.
10474 (main): Call the new functions.
10475 * sysdeps/i386/fpu/libm-test-ulps: Update.
10476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10477
a6d06d7b
JM
10478 [BZ #10135]
10479 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10480 small n, then large n, before computing and testing k+n.
10481 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10482 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10483 Likewise.
10484 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10485 Likewise.
10486 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10487 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10488 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10489 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10490 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10491 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10492 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10493 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10494 * math/libm-test.inc (scalbn_test): Add more tests.
10495 (scalbln_test): Likewise.
10496
07e12bb3
JM
10497 * manual/filesys.texi (mode_t): Describe constraints on size and
10498 signedness, not exact equivalence to a particular type.
10499 (ino_t): Likewise.
10500 (ino64_t): Likewise.
10501 (dev_t): Likewise.
10502 (nlink_t): Likewise.
10503 (blkcnt_t): Likewise.
10504 (blkcnt64_t): Likewise.
10505 * manual/llio.texi (off_t): Likewise.
10506
28afd92d
JM
10507 [BZ #3976]
10508 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10509 (__ieee754_exp): Save and restore rounding mode and use
10510 round-to-nearest for all computations.
10511 * math/libm-test.inc (exp_test_tonearest): New function.
10512 (exp_test_towardzero): Likewise.
10513 (exp_test_downward): Likewise.
10514 (exp_test_upward): Likewise.
10515 (main): Call the new functions.
10516 * sysdeps/i386/fpu/libm-test-ulps: Update.
10517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10518
b1eeb65d
CD
105192012-03-01 Chris Demetriou <cgd@google.com>
10520
10521 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10522 have predictable order.
10523
53362a4b
DM
105242012-03-01 David S. Miller <davem@davemloft.net>
10525
3c969083
DM
10526 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10527
759707de
DM
10528 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10529 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10530 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10531 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10532
dfdb8ff2
DM
10533 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10534 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10535 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10537 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10538 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10539 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10540 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10541 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10542
ead89f96
DM
10543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10544
7f66bd07
DM
10545 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10546 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10547 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10548
53362a4b
DM
10549 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10550 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10551 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10552 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10553 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10554 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10555 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10556 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10557 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10558 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10559 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10560 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10561 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10562 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10563 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10565 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10566 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10567 * sysdeps/sparc/elf/configure: Regenerated.
10568
7b1902cb
JM
105692012-03-01 Joseph Myers <joseph@codesourcery.com>
10570
bec039bc
JM
10571 * configure.in (AS, LD): Require binutils 2.20 or later.
10572 * configure: Regenerated.
10573 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10574 as required minimum version.
10575 * INSTALL: Regenerated.
10576
7b1902cb
JM
10577 [BZ #2541]
10578 [BZ #4108]
10579 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10580 before squaring exponent.
10581 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10582 bottom long double and 27 bits of top long double before squaring
10583 exponent.
10584 * math/libm-test.inc (erfc_test): Add more tests.
10585 * sysdeps/i386/fpu/libm-test-ulps: Update.
10586 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10588
f775c276
KT
105892012-03-01 Kai Tietz <ktietz@redhat.com>
10590
10591 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10592 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10593 containing bit-fields.
10594 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10595 * soft-fp/single.h (_FP_UNION_S): Likewise.
10596 * soft-fp/double.h (_FP_UNION_D): Likewise.
10597
5b8a4d4a
JM
105982012-02-29 Joseph Myers <joseph@codesourcery.com>
10599
0bab47b6
JM
10600 [BZ #13786]
10601 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10602 not include ../strcmp.S.
10603 [USE_AS_STRNCASECMP_L]: Likewise.
10604 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10605 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10606 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10607 (__strncasecmp_l_ia32): Define as alias to
10608 __strncasecmp_l_nonascii.
10609
0fcad3e2
JM
10610 [BZ #5794]
10611 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10612 * sysdeps/i386/fpu/libm-test-ulps: Update.
10613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10614
5b8a4d4a
JM
10615 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10617
8fdceb2e
JL
106182012-02-29 Jeff Law <law@redhat.com>
10619
10620 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10621 out of bounds read.
10622
1f393a11
MP
106232012-02-29 Marek Polacek <polacek@redhat.com>
10624
10625 [BZ #13706]
10626 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10627 * elf/Makefile: Add rules to run tst-unused-dep.out.
10628
8847f037
DM
106292012-02-28 David S. Miller <davem@davemloft.net>
10630
10631 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10632 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10633 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10634 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10635 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10636 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10637
169d7f11
JM
106382012-02-29 Joseph Myers <joseph@codesourcery.com>
10639
10640 * math/libm-test.inc (llround_test): Move one test from
10641 lround_test. Use TEST_f_L in moved test.
10642 (lround_test): Move misplaced test to llround_test. Add testcase
10643 from bug 2561.
10644
39adf059
UD
106452012-02-28 Ulrich Drepper <drepper@gmail.com>
10646
10647 * sysdeps/x86_64/fpu/e_expf.S: New file.
10648 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10649
71b5d1c5
SB
106502012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10651
10652 [BZ #13637]
10653 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10654 of remain_len that may cause incomplete multi-byte character and
10655 false match.
10656 * posix/bug-regex33.c: New file.
10657 * posix/Makefile (tests): Add bug-regex33.
10658
1f77f049
JM
106592012-02-28 Joseph Myers <joseph@codesourcery.com>
10660
10661 * manual/macros.texi: New file.
10662 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10663 * manual/libc.texinfo: Include macros.texi.
10664 * manual/creatute.texi: Likewise.
10665 * manual/install.texi: Likewise.
10666 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10667 @glibcadj{} in references to the GNU C Library.
10668 * manual/charset.texi: Likewise.
10669 * manual/conf.texi: Likewise.
10670 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10671 when not using those macros.
10672 * manual/creature.texi: Likewise.
10673 * manual/crypt.texi: Likewise.
10674 * manual/errno.texi: Likewise.
10675 * manual/filesys.texi: Likewise.
10676 * manual/header.texi: Likewise.
10677 * manual/install.texi: Likewise.
10678 * manual/intro.texi: Likewise.
10679 * manual/io.texi: Likewise.
10680 * manual/job.texi: Likewise.
10681 * manual/lang.texi: Likewise.
10682 * manual/libc.texiinfo: Likewise.
10683 * manual/llio.texi: Likewise.
10684 * manual/locale.texi: Likewise.
10685 * manual/maint.texi: Likewise.
10686 * manual/math.texi: Likewise.
10687 * manual/memory.texi: Likewise.
10688 * manual/message.texi: Likewise.
10689 * manual/nss.texi: Likewise.
10690 * manual/pattern.texi: Likewise.
10691 * manual/process.texi: Likewise.
10692 * manual/resource.texi: Likewise.
10693 * manual/search.texi: Likewise.
10694 * manual/setjmp.texi: Likewise.
10695 * manual/signal.texi: Likewise.
10696 * manual/socket.texi: Likewise.
10697 * manual/startup.texi: Likewise.
10698 * manual/stdio.texi: Likewise.
10699 * manual/string.texi: Likewise.
10700 * manual/sysinfo.texi: Likewise.
10701 * manual/syslog.texi: Likewise.
10702 * manual/terminal.texi: Likewise.
10703 * manual/time.texi: Likewise.
10704 * manual/users.texi: Likewise.
10705 * INSTALL: Regenerated.
10706 * NOTES: Regenerated.
d40c5d54 10707 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10708
450bf206
AS
107092012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10710
10711 * include/dirent.h: Include <dirstream.h> before
10712 <dirent/dirent.h>.
10713
741a235b
DM
107142012-02-28 David S. Miller <davem@davemloft.net>
10715
10716 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10717 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10718 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10719 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10720
d6b5aa58
DM
107212012-02-27 David S. Miller <davem@davemloft.net>
10722
1aff59a3
DM
10723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10725 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10726 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10727
d6b5aa58
DM
10728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10729 frame pointer instead of stack pointer relative arg slot.
10730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10731 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10732 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10733
433f48bf
CD
107342012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10735
10736 [BZ #3992]
10737 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10738
d674b76d
DM
107392012-02-27 David S. Miller <davem@davemloft.net>
10740
10741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10745 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10746 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10747 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10748 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10749
0e7727f7
JM
107502012-02-27 Joseph Myers <joseph@codesourcery.com>
10751
10752 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10753 later. Allow versions 5-9.
43be4ca2 10754 * configure: Regenerated.
0e7727f7
JM
10755 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10756 required minimum version and 4.6 as recommended version. Do not
10757 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10758 * INSTALL: Regenerated.
0e7727f7 10759
a78bc654
DM
107602012-02-27 David S. Miller <davem@davemloft.net>
10761
428d5830
DM
10762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10766 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10767 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10768 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10769 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10770
a78bc654
DM
10771 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10772 manipulate bits before adding and subtracting TWO112[sx].
10773 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10774
4579f81c
RM
107752012-02-27 Roland McGrath <roland@hack.frob.com>
10776
36c8acb4
RM
10777 [BZ #13775]
10778 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10779 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10780 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10781 being in POSIX, because they are in 1003.1-2008.
10782
84ad622b
RM
10783 * rt/tst-aio.c: Include <fcntl.h>.
10784 * rt/tst-aio7.c: Likewise.
10785 * rt/tst-aio64.c: Likewise.
10786
4579f81c
RM
10787 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10788
abd923db
JM
107892012-02-27 Joseph Myers <joseph@codesourcery.com>
10790
10791 * manual/install.texi (--with-headers): Describe headers as
10792 interface headers, not private headers.
10793 (Specific advice for GNU/Linux systems): Describe use of headers
10794 from "make headers_install", not private headers from older
10795 kernels.
43be4ca2 10796 * INSTALL: Regenerated.
abd923db
JM
10797 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10798 Change to 2.6.19.
10799 * sysdeps/unix/sysv/linux/configure: Regenerated.
10800
6664049b
JM
10801 * manual/llio.texi (fclean): Remove documentation.
10802
bb8b6697
JM
10803 * manual/Makefile (libc-texi-generated): New variable. Include
10804 version.texi.
10805 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10806 $(libc-texi-generated), not duplicated list of files.
10807 (version.texi, stamp-version): New rules.
10808 (realclean): Remove $(libc-texi-generated), not individual files
10809 from that list. Do not remove dir-add.texinfo.
10810 * manual/libc.texinfo: Comment out uses of edition numbers and
10811 references to printed manual. Remove last-updated dates.
10812 (EDITION): Comment out.
10813 (ISBN): Likewise.
10814 (VERSION, UPDATED): Remove.
10815 (version.texi): Include.
10816
12e5c3b9
AS
108172012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10818
10819 * sysdeps/posix/spawni.c: Include <signal.h>.
10820 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10821 * sysdeps/pthread/aio_fsync.c: Likewise.
10822
4efeffc1 108232012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10824
ba63ba08
UD
10825 * conform/Makefile (tests): Run only when not cross-compiling and
10826 when fast-check is not defined.
10827
d94a4670
UD
10828 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10829 * conform/data/limits.h-data: Fixes for POSIX2008.
10830 * conform/run-conformtest.sh: Run all tests.
10831 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10832 headers.
10833 * include/bits/dlfcn.h: Likewise.
10834 * include/langinfo.h: Likewise.
10835 * include/monetary.h: Likewise.
10836 * include/sys/poll.h: Likewise.
10837
10838 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10839 for __USE_GNU.
10840 * posix/spawn.h: Define __need_sigset_t.
10841 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10842 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10843 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10844 to get sigevent_t only.
10845 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10846 only for __USE_GNU.
10847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10848 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10849 process_vm_writev only for __USE_GNU.
10850 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10851
10852 * conform/Makefile: For now ignore errors from run-conformtest.
10853 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10854 POSIX to avoid namespace pollution. Don't prepend headers.
10855 * conform/data/aio.h-data: Fixes for POSIX testing.
10856 * conform/data/fcntl.h-data: Likewise.
10857 * conform/data/glob.h-data: Likewise.
10858 * conform/data/grp.h-data: Likewise.
10859 * conform/data/pthread.h-data: Likewise.
10860 * conform/data/pwd.h-data: Likewise.
10861 * conform/data/signal.h-data: Likewise.
10862 * conform/data/spawn.h-data: Likewise.
10863 * conform/data/stdio.h-data: Likewise.
10864 * conform/data/stdlib.h-data: Likewise.
10865 * conform/data/stropts.h-data: Likewise.
10866 * conform/data/sys/mman.h-data: Likewise.
10867 * conform/data/sys/stat.h-data: Likewise.
10868 * conform/data/sys/types.h-data: Likewise.
10869 * conform/data/sys/wait.h-data: Likewise.
10870 * conform/data/time.h-data: Likewise.
10871 * conform/data/unistd.h-data: Likewise.
10872 * conform/data/utime.h-data: Likewise.
10873
10874 * io/sys/stat.h: fchmod was always in POSIX.
10875 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10876 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10877 * rt/aio.h: Define __need_timespec before including <time.h>.
10878 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10879 struct. Add forward declaration of pthread_attr_t and use it in
10880 sigevent.
10881 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10882 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10883 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10884 always remove CLK_TCK definition.
10885
c20105c3
AS
108862012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10887
10888 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10889
7a270350
UD
108902012-02-25 Ulrich Drepper <drepper@gmail.com>
10891
31341567
UD
10892 * conform/run-conformtest.sh: New file.
10893 * conform/Makefile: Run run-conformtest for tests.
10894 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10895 support.
10896
10897 * conform/data/uchar.h-data: New file.
10898 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10899 * conform/data/arpa/inet.h-data: Likewise.
10900 * conform/data/assert.h-data: Likewise.
10901 * conform/data/complex.h-data: Likewise.
10902 * conform/data/cpio.h-data: Likewise.
10903 * conform/data/ctype.h-data: Likewise.
10904 * conform/data/dirent.h-data: Likewise.
10905 * conform/data/dlfcn.h-data: Likewise.
10906 * conform/data/errno.h-data: Likewise.
10907 * conform/data/fcntl.h-data: Likewise.
10908 * conform/data/float.h-data: Likewise.
10909 * conform/data/fmtmsg.h-data: Likewise.
10910 * conform/data/fnmatch.h-data: Likewise.
10911 * conform/data/ftw.h-data: Likewise.
10912 * conform/data/glob.h-data: Likewise.
10913 * conform/data/grp.h-data: Likewise.
10914 * conform/data/iconv.h-data: Likewise.
10915 * conform/data/inttypes.h-data: Likewise.
10916 * conform/data/langinfo.h-data: Likewise.
10917 * conform/data/libgen.h-data: Likewise.
10918 * conform/data/limits.h-data: Likewise.
10919 * conform/data/locale.h-data: Likewise.
10920 * conform/data/math.h-data: Likewise.
10921 * conform/data/monetary.h-data: Likewise.
10922 * conform/data/mqueue.h-data: Likewise.
10923 * conform/data/ndbm.h-data: Likewise.
10924 * conform/data/net/if.h-data: Likewise.
10925 * conform/data/netdb.h-data: Likewise.
10926 * conform/data/netinet/in.h-data: Likewise.
10927 * conform/data/nl_types.h-data: Likewise.
10928 * conform/data/poll.h-data: Likewise.
10929 * conform/data/pthread.h-data: Likewise.
10930 * conform/data/pwd.h-data: Likewise.
10931 * conform/data/regex.h-data: Likewise.
10932 * conform/data/sched.h-data: Likewise.
10933 * conform/data/search.h-data: Likewise.
10934 * conform/data/semaphore.h-data: Likewise.
10935 * conform/data/setjmp.h-data: Likewise.
10936 * conform/data/signal.h-data: Likewise.
10937 * conform/data/spawn.h-data: Likewise.
10938 * conform/data/stdarg.h-data: Likewise.
10939 * conform/data/stdio.h-data: Likewise.
10940 * conform/data/stdlib.h-data: Likewise.
10941 * conform/data/string.h-data: Likewise.
10942 * conform/data/strings.h-data: Likewise.
10943 * conform/data/stropts.h-data: Likewise.
10944 * conform/data/sys/ipc.h-data: Likewise.
10945 * conform/data/sys/mman.h-data: Likewise.
10946 * conform/data/sys/msg.h-data: Likewise.
10947 * conform/data/sys/resource.h-data: Likewise.
10948 * conform/data/sys/select.h-data: Likewise.
10949 * conform/data/sys/sem.h-data: Likewise.
10950 * conform/data/sys/shm.h-data: Likewise.
10951 * conform/data/sys/socket.h-data: Likewise.
10952 * conform/data/sys/stat.h-data: Likewise.
10953 * conform/data/sys/statvfs.h-data: Likewise.
10954 * conform/data/sys/time.h-data: Likewise.
10955 * conform/data/sys/timeb.h-data: Likewise.
10956 * conform/data/sys/times.h-data: Likewise.
10957 * conform/data/sys/types.h-data: Likewise.
10958 * conform/data/sys/uio.h-data: Likewise.
10959 * conform/data/sys/un.h-data: Likewise.
10960 * conform/data/sys/utsname.h-data: Likewise.
10961 * conform/data/sys/wait.h-data: Likewise.
10962 * conform/data/syslog.h-data: Likewise.
10963 * conform/data/tar.h-data: Likewise.
10964 * conform/data/termios.h-data: Likewise.
10965 * conform/data/utime.h-data: Likewise.
10966 * conform/data/utmpx.h-data: Likewise.
10967 * conform/data/varargs.h-data: Likewise.
10968 * conform/data/wchar.h-data: Likewise.
10969 * conform/data/wctype.h-data: Likewise.
10970 * conform/data/wordexp.h-data: Likewise.
10971
10972 * include/stropts.h: New file.
10973 * include/uchar.h: New file.
10974 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10975 * include/assert.h: Likewise.
10976 * include/ctype.h: Likewise.
10977 * include/dirent.h: Likewise.
10978 * include/dlfcn.h: Likewise.
10979 * include/fcntl.h: Likewise.
10980 * include/fnmatch.h: Likewise.
10981 * include/glob.h: Likewise.
10982 * include/grp.h: Likewise.
10983 * include/libio.h: Likewise.
10984 * include/locale.h: Likewise.
10985 * include/math.h: Likewise.
10986 * include/net/if.h: Likewise.
10987 * include/netdb.h: Likewise.
10988 * include/netinet/in.h: Likewise.
10989 * include/pthread.h: Likewise.
10990 * include/pwd.h: Likewise.
10991 * include/regex.h: Likewise.
10992 * include/sched.h: Likewise.
10993 * include/search.h: Likewise.
10994 * include/setjmp.h: Likewise.
10995 * include/signal.h: Likewise.
10996 * include/stdio.h: Likewise.
10997 * include/stdlib.h: Likewise.
10998 * include/string.h: Likewise.
10999 * include/sys/cdefs.h: Likewise.
11000 * include/sys/mman.h: Likewise.
11001 * include/sys/msg.h: Likewise.
11002 * include/sys/resource.h: Likewise.
11003 * include/sys/select.h: Likewise.
11004 * include/sys/socket.h: Likewise.
11005 * include/sys/stat.h: Likewise.
11006 * include/sys/statvfs.h: Likewise.
11007 * include/sys/time.h: Likewise.
11008 * include/sys/times.h: Likewise.
11009 * include/sys/uio.h: Likewise.
11010 * include/sys/utsname.h: Likewise.
11011 * include/sys/wait.h: Likewise.
11012 * include/termios.h: Likewise.
11013 * include/time.h: Likewise.
11014 * include/ulimit.h: Likewise.
11015 * include/unistd.h: Likewise.
11016 * include/utime.h: Likewise.
11017 * include/wchar.h: Likewise.
11018 * include/wctype.h: Likewise.
11019 * include/wordexp.h: Likewise.
11020
11021 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11022
7a270350
UD
11023 * time/time.h: TIME_UTC must be a macro.
11024 Make timespec_get available for ISO C11 only as well.
11025
7724defc
UD
110262012-02-24 Ulrich Drepper <drepper@gmail.com>
11027
11028 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11029 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11030
6b1d1d46
JM
110312012-02-24 Joseph Myers <joseph@codesourcery.com>
11032
11033 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11034
0f8bbd69
JM
110352012-02-24 Joseph Myers <joseph@codesourcery.com>
11036
11037 * manual/texinfo.tex: Update to version 2012-01-19.16.
11038
66ab80bc
JM
110392012-02-24 Joseph Myers <joseph@codesourcery.com>
11040
11041 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11042
74981cc5
RM
110432012-02-24 Roland McGrath <roland@hack.frob.com>
11044
ee968201
RM
11045 [BZ #13738]
11046 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11047 * manual/fdl-1.3.texi: New file.
11048 * manual/fdl-1.1.texi: File removed.
11049
74981cc5
RM
11050 [BZ #13738]
11051 * manual/libc.texinfo (FDL_VERSION): New @set.
11052 Use it for mention of FDL in cover text.
11053 (Documentation License): Use it in @include file name.
11054
7bb764bc
JM
110552012-02-22 Joseph Myers <joseph@codesourcery.com>
11056 Roland McGrath <roland@hack.frob.com>
11057
11058 [BZ #5461]
11059 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11060 not LONG_LONG_MAX and LONG_LONG_MIN.
11061 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11062 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11063 name.
11064 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11065
6cbeae47
JM
110662012-02-22 Joseph Myers <joseph@codesourcery.com>
11067
11068 [BZ #2547]
11069 [BZ #11365]
11070 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11071 manipulate bits before adding and subtracting TWO23[sx].
11072 * math/libm-test.inc (nearbyint_test): Add more tests.
11073
fe45ce09
JM
110742012-02-22 Joseph Myers <joseph@codesourcery.com>
11075
11076 [BZ #2548]
11077 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11078 bits before adding and subtracting TWO23[sx].
11079 * math/libm-test.inc (rint_test): Add more tests.
11080 (rint_test_tonearest): Likewise.
11081 (rint_test_towardzero): Likewise.
11082 (rint_test_downward): Likewise.
11083 (rint_test_upward: Likewise.
11084
ff3b3d82
JM
110852012-02-22 Joseph Myers <joseph@codesourcery.com>
11086
11087 [BZ #10110]
11088 * include/stdc-predef.h: New file. Extracted from features.h.
11089 * include/features.h: Include stdc-predef.h.
11090 * Makefile (headers): Add stdc-predef.h.
11091 * CONFORMANCE (Compiler limitations): Update.
11092
ef0aab35
JM
110932012-02-22 Joseph Myers <joseph@codesourcery.com>
11094
11095 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11096
58639409
DM
110972012-02-21 David S. Miller <davem@davemloft.net>
11098
11099 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11100 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11101
c0e70b25
DM
111022012-02-20 David S. Miller <davem@davemloft.net>
11103
11104 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11105 using a normal save/restore sequence, rather than allocating a
11106 dummy stack frame just to store a frame pointer and restore.
11107 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11108
fb06851d
JM
111092012-02-21 Joseph Myers <joseph@codesourcery.com>
11110
11111 * manual/install.texi: Fix stray word in line-wrapped comment.
11112
7a8b71c3
DM
111132012-02-20 David S. Miller <davem@davemloft.net>
11114
d510c123
DM
11115 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11116 both binutils and gcc support GOTDATA.
11117
0722d7c2
DM
11118 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11119 "rd %pc" in the PIC register setup sequences.
11120
3d2b3019
DM
11121 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11122 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11123 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11124 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11125 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11126 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11127 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11128 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11130 (SYSCALL_ERROR_HANDLER): Likewise.
11131 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11132 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11134 (SYSCALL_ERROR_HANDLER): Likewise.
11135
c80098a9
DM
11136 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11137 (HAVE_GCC_GOTDATA): New.
11138 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11139 relocation support in both binutils and gcc.
11140 * sysdeps/sparc/elf/configure: Regenerate.
11141
3a2545a0
DM
11142 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11143 * sysdeps/sparc/sparc32/elf/configure: Delete.
11144 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11145 * sysdeps/sparc/sparc64/elf/configure: Delete.
11146 * sysdeps/sparc/elf/configure.in: New file.
11147 * sysdeps/sparc/elf/configure: Generate.
11148
7a8b71c3
DM
11149 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11150 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11151 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11152 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11153 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11154
f1e86fca
JM
111552012-02-21 Joseph Myers <joseph@codesourcery.com>
11156
11157 * manual/install.texi: Do not mention specific glibc version
11158 numbers.
11159 * manual/libc.texinfo (VERSION, UPDATED): Update.
11160 (@copying): Use @copyright{} and range of years.
11161
0e7dfaef
JM
111622012-02-21 Joseph Myers <joseph@codesourcery.com>
11163
11164 [BZ #13695]
11165 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11166 [crti.S not in sysdirs] (generated): Do not append.
11167 [crti.S not in sysdirs] (omit-deps): Likewise.
11168 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11169 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11170 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11171 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11172 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11173 Likewise.
11174 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11175 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11176 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11177 * csu/defs.awk: Remove file.
11178 * sysdeps/generic/initfini.c: Likewise.
11179 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
11180 variable.
11181 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
11182 Likewise.
11183
599af3ca
JM
111842012-02-20 Joseph Myers <joseph@codesourcery.com>
11185
11186 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
11187 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
11188 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
11189 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
11190 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11191 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
11192 <bits/epoll.h>.
11193 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
11194 (__EPOLL_PACKED): Define to empty if not defined by
11195 <bits/epoll.h>.
11196 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
11197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11198 bits/epoll.h.
11199
0e499750
JM
112002012-02-20 Joseph Myers <joseph@codesourcery.com>
11201
11202 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
11203 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
11204 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
11205 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
11206 <bits/timerfd.h>.
11207 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
11208 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11209 bits/timerfd.h.
11210
5ad91f6e
JM
112112012-02-20 Joseph Myers <joseph@codesourcery.com>
11212
11213 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11214 in C locale.
11215 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11216 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11217 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11219
06b99b02
AJ
112202012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11221
11222 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11223 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11224
7638c0fd
AS
112252012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11226
11227 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11228 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11229 defined.
11230 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11231 Likewise.
11232 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11233 entry for 2.16.
11234
92221550
AJ
112352012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11236
11237 * math/w_acos.c: Use non-signaling floating-point comparisons.
11238 * math/w_acosf.c: Likewise.
11239 * math/w_acosh.c: Likewise.
11240 * math/w_acoshf.c: Likewise.
11241 * math/w_acoshl.c: Likewise.
11242 * math/w_acosl.c: Likewise.
11243 * math/w_asin.c: Likewise.
11244 * math/w_asinf.c: Likewise.
11245 * math/w_asinl.c: Likewise.
11246 * math/w_atanh.c: Likewise.
11247 * math/w_atanhf.c: Likewise.
11248 * math/w_atanhl.c: Likewise.
11249 * math/w_exp2.c: Likewise.
11250 * math/w_exp2f.c: Likewise.
11251 * math/w_exp2l.c: Likewise.
11252 * math/w_j0.c: Likewise.
11253 * math/w_j0f.c: Likewise.
11254 * math/w_j0l.c: Likewise.
11255 * math/w_j1.c: Likewise.
11256 * math/w_j1f.c: Likewise.
11257 * math/w_j1l.c: Likewise.
11258 * math/w_jn.c: Likewise.
11259 * math/w_jnf.c: Likewise.
11260 * math/w_log.c: Likewise.
11261 * math/w_log10.c: Likewise.
11262 * math/w_log10f.c: Likewise.
11263 * math/w_log10l.c: Likewise.
11264 * math/w_log2.c: Likewise.
11265 * math/w_log2f.c: Likewise.
11266 * math/w_log2l.c: Likewise.
11267 * math/w_logf.c: Likewise.
11268 * math/w_logl.c: Likewise.
11269 * math/w_sqrt.c: Likewise.
11270 * math/w_sqrtf.c: Likewise.
11271 * math/w_sqrtl.c: Likewise.
11272 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11274 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11275 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11276 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11277
ebaf36eb
JM
112782012-02-19 Joseph Myers <joseph@codesourcery.com>
11279
11280 [BZ #9739]
11281 * manual/string.texi (strnlen): Use correct parameter name in
11282 equivalent expression.
11283
71c254a6
JM
112842012-02-19 Joseph Myers <joseph@codesourcery.com>
11285
11286 [BZ #11174]
11287 * manual/users.texi (seteuid): Consistently use neweuid for
11288 argument name.
11289
16d2c631
JM
112902012-02-19 Joseph Myers <joseph@codesourcery.com>
11291
11292 [BZ #13704]
11293 * manual/nss.texi (Services in the NSS configuration): Correct
11294 list of services in example configuration file.
11295
cd837b09
NB
112962012-02-19 Nick Bowler <nbowler@draconx.ca>
11297
11298 [BZ #11322]
11299 * manual/arith.texi: Remove statements about negative zero
11300 behaving identically to zero.
11301
02c4bbad
JM
113022012-02-18 Joseph Myers <joseph@codesourcery.com>
11303
11304 [BZ #5993]
11305 * manual/install.texi: Do not document upgrading from libc5.
11306
366842e7
JM
113072012-02-18 Joseph Myers <joseph@codesourcery.com>
11308
11309 [BZ #4596]
11310 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11311
dd54084d
DM
113122012-02-18 David S. Miller <davem@davemloft.net>
11313
11314 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11315 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11316 %o7 across the call.
11317 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11318 instead.
11319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11320 SETUP_PIC_REG_LEAF.
11321 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11322 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11323 * sysdeps/sparc/crtn.S: Likewise.
11324
2bcc53a3
UD
113252012-02-17 Ulrich Drepper <drepper@gmail.com>
11326
11327 * aout/Makefile: Remove.
11328
09c093b5
RK
113292012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11330
11331 [BZ #13058]
11332 * manual/examples/argp-ex1.c (main): Format definition in GNU
11333 style.
11334 * manual/examples/argp-ex2.c (main): Likewise.
11335 * manual/examples/argp-ex3.c (main): Likewise.
11336 * manual/examples/argp-ex4.c (main): Likewise.
11337 * manual/examples/longopt.c (main): Use new-style prototype
11338 definition.
11339 * manual/examples/strncat.c (main): Specify return type and use
11340 (void) for arguments.
11341 * manual/examples/subopt.c (main): Use char **argv argument.
11342
2ee633a2
JM
113432012-02-17 Joseph Myers <joseph@codesourcery.com>
11344
11345 [BZ #5077]
11346 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11347 rounding modes.
11348
0520adde
FB
113492012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11350
11351 [BZ #6907]
11352 * manual/string.texi (strchr): Change when strchrnul is
11353 recommended.
11354
3f4081cd
DGM
113552012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11356
11357 [BZ #174]
11358 * manual/locale.texi (setlocale): Document LOCPATH.
11359
d1b10e78
JM
113602012-02-17 Joseph Myers <joseph@codesourcery.com>
11361
11362 [BZ #10210]
11363 * manual/process.texi (execle): Move @dots{} before last argument.
11364
79c6869c
PB
113652012-02-17 Paul Bolle <pebolle@tiscali.nl>
11366
11367 [BZ #12047]
11368 * manual/charset.texi (Generic Charset Conversion): Fix typo
11369 (LC_TYPE -> LC_CTYPE).
11370
cc6e48bc
NB
113712012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11372
11373 [BZ #5805]
11374 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11375 (scalbnf): Likewise.
11376 (scalbnl): Likewise.
11377 (scalbln): Likewise.
11378 (scalblnf): Likewise.
11379 (scalblnl): Likewise.
11380 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11381 (vwarnx): Likewise.
11382 (verr): Likewise.
11383 (verrx): Likewise.
11384 * manual/filesys.texi (telldir): Use braces around return type.
11385 * manual/llio.texi (mmap): Add space after comma.
11386 (mmap64): Likewise.
11387 * manual/math.texi (jn): Use @var{} on parameter names.
11388 (jnf): Likewise.
11389 (jnl): Likewise.
11390 (yn): Likewise.
11391 (ynf): Likewise.
11392 (ynl): Likewise.
11393 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11394 line.
11395 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11396 "...".
11397 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11398 (sched_get_priority_max): Likewise.
11399 * manual/signal.texi (sigvec): Add space after comma.
11400 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11401 names.
11402 (if_indextoname): Likewise.
11403 (if_freenameindex): Likewise.
11404 (sendto): Use ',' instead of '.' in prototype.
11405 * manual/startup.texi (syscall): Use @dots{} instead of literal
11406 "...".
11407 * manual/stdio.texi (__fpending): Separate initial words of
11408 paragraph from @deftypefun line.
11409 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11410 "...".
11411 (vsyslog): Use @var{} on parameter names.
11412 * manual/terminal.texi (stty): Use @var{} on parameter names.
11413 * manual/users.texi (getutmp): Use @var{} on parameter names.
11414 (getutmpx): Likewise.
11415
5b23062f
JM
114162012-02-17 Joseph Myers <joseph@codesourcery.com>
11417
11418 [BZ #6884]
11419 * manual/stdio.texi (fopen): Fix typos in description of
11420 ",ccs=STRING".
11421
8dee4833
AJ
114222012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11423
11424 [BZ #4026]
11425 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11426 get clock_id definition.
11427
9078ce93
TS
114282012-02-17 Thomas Schwinge <thomas@schwinge.name>
11429
11430 [BZ #4822]
11431 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11432 (madvise): Cast every argument to void on its own.
11433
3835c55f
JM
114342012-02-17 Joseph Myers <joseph@codesourcery.com>
11435
11436 [BZ #9902]
11437 * manual/startup.texi (Exit Status): Fix typo.
11438
35c47e37
JM
114392012-02-17 Joseph Myers <joseph@codesourcery.com>
11440
11441 [BZ #10140]
11442 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11443 * manual/examples/argp-ex2.c: Likewise.
11444 * manual/examples/argp-ex3.c: Likewise.
11445
e3b69ca7
RH
114462012-02-16 Richard Henderson <rth@redhat.com>
11447
11448 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11449 * sysdeps/s390/s390-32/initfini.c: Remove.
11450 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11451 * sysdeps/s390/s390-64/initfini.c: Remove.
11452
df83af67
KK
114532012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11454
11455 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11456 compiler output for sysdeps/generic/initfini.c.
11457 * sysdeps/sh/elf/initfini.c: Remove file.
11458
f63f3380
DM
114592012-02-16 David S. Miller <davem@davemloft.net>
11460
fb59b3a4
DM
11461 [BZ #11494]
11462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11463
f63f3380
DM
11464 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11465 * sysdeps/sparc/crti.S: New file.
11466 * sysdeps/sparc/crtn.S: New file.
11467 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11468 * sysdeps/sparc/sparc64/Makefile: Likewise.
11469
df6a4a4a
MF
114702012-02-15 Mike Frysinger <vapier@gentoo.org>
11471
6dd8f3dc 11472 [BZ #3335]
df6a4a4a
MF
11473 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11474
1cac7236
RM
114752012-02-15 Roland McGrath <roland@hack.frob.com>
11476
d2c736f8
RM
11477 [BZ #4822]
11478 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11479
1cac7236
RM
11480 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11481 (write, read, close): Likewise.
11482 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11483
8e475601
JM
114842012-02-15 Joseph Myers <joseph@codesourcery.com>
11485
11486 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11487 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11488 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11489 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11490 <bits/signalfd.h>.
11491 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11493 bits/signalfd.h.
11494
ed656b40
MP
114952012-02-14 Marek Polacek <polacek@redhat.com>
11496
11497 * sysdeps/x86_64/crti.S: New file.
11498 * sysdeps/x86_64/crtn.S: New file.
11499 * sysdeps/x86_64/elf/initfini.c: Remove file.
11500
2a979d3a
JM
115012012-02-13 Joseph Myers <joseph@codesourcery.com>
11502
11503 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11504 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11505 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11506 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11507 <bits/inotify.h>.
11508 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11510 bits/inotify.h.
11511
2a418ac3
JM
115122012-02-13 Joseph Myers <joseph@codesourcery.com>
11513
11514 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11515 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11516 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11517 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11518 <bits/eventfd.h>.
11519 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11521 bits/eventfd.h.
11522
fb779be7
TS
115232012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11524
e19e83c5
RM
11525 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11526 __feraiseexcept instead of feraiseexcept.
7c35ffed 11527
fb779be7
TS
11528 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11529 nanosleep invocations.
11530 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11531 strings, and add error checking for a nanosleep invocations.
11532
59ba27a6
PE
115332012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11534
11535 Replace FSF snail mail address with URLs, as per GNU coding standards.
11536 Most of the snail mail addresses were wrong anyway, and omitting
11537 them makes the source code easier to maintain. Almost all of the
11538 changes are to license notices and to locale LC_IDENTIFICATION
11539 addresses, except for this one:
11540 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11541 not its snail mail address.
11542
57b957eb
RH
115432012-02-09 Richard Henderson <rth@twiddle.net>
11544
af850b1c
RH
11545 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11546 of kernel-features.h.
11547
57b957eb
RH
11548 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11549
6b73181a
MP
115502012-02-08 Marek Polacek <polacek@redhat.com>
11551
11552 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11553 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11554 * sysdeps/gnu/_G_config.h: Likewise.
11555 * sysdeps/generic/_G_config.h: Likewise.
11556
26ecc33a
AS
115572012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11558
6c6dbc63
AS
11559 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11560 tests.
11561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11562
e216c012
AS
11563 * sysdeps/powerpc/powerpc32/crti.S: New file.
11564 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11565 * sysdeps/powerpc/powerpc64/crti.S: New file.
11566 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11567
26ecc33a
AS
11568 * Makeconfig (have-initfini): Don't set.
11569 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11570 * configure.in (nopic_initfini): Don't substitute.
11571 * config.h.in (HAVE_INITFINI): Don't #undef.
11572 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11573 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11574
3add8e13
JM
115752012-02-08 Joseph Myers <joseph@codesourcery.com>
11576
11577 Support crti.S and crtn.S provided directly by architectures.
11578 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11579 [crti.S in sysdirs] (omit-deps): Likewise.
11580 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11581 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11582 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11583 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11584 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11585 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11586 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11587 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11588 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11589 compiler output for sysdeps/generic/initfini.c.
11590 * sysdeps/i386/elf/Makefile: Remove file.
11591 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11592
a22f12b4
MP
115932012-02-07 Marek Polacek <polacek@redhat.com>
11594
11595 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11596 * sysdeps/gnu/_G_config.h: Likewise.
11597 * sysdeps/mach/hurd/_G_config.h: Likewise.
11598
148cf100
MP
115992012-02-07 Marek Polacek <polacek@redhat.com>
11600
11601 * math/Makefile (tests): Add tst-CMPLX2.
11602 * math/tst-CMPLX2.c: New file.
11603
cfdc0dd7
AS
116042012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11605
84ba42c4
AS
11606 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11607
cfdc0dd7
AS
11608 * math/libm-test.inc (jn_test): Add missing L suffix.
11609
622c86f4
MP
116102012-02-06 Marek Polacek <polacek@redhat.com>
11611
11612 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11613 * sysdeps/i386/fpu/e_powf.S: Likewise.
11614 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11615 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11616 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11617 * sysdeps/i386/fpu/e_pow.S: Likewise.
11618 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11619 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11620 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11621 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11622 * sysdeps/i386/fpu/e_log2.S: Likewise.
11623 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11624 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11625 * sysdeps/i386/fpu/e_powl.S: Likewise.
11626 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11627 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11628 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11629 * sysdeps/i386/fpu/e_logl.S: Likewise.
11630 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11631 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11632 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11633 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11634 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11635 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11636 * sysdeps/i386/fpu/e_log.S: Likewise.
11637 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11638 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11639 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11640 * sysdeps/i386/fpu/e_logf.S: Likewise.
11641 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11642 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11643 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11644 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11645 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11646 * sysdeps/i386/fpu/e_log10.S: Likewise.
11647 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11648 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11649 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11650 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11651 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11652 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11653 * sysdeps/i386/asm-syntax.h: Likewise.
11654 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11655 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11656 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11657 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11658 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11659 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11660 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11661 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11662 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11663 * sysdeps/powerpc/sysdep.h: Likewise.
11664 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11665 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11666
d4a54ac6
JM
116672012-02-06 Joseph Myers <joseph@codesourcery.com>
11668
11669 [BZ #411]
11670 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11671
314054ea
JM
116722012-02-06 Joseph Myers <joseph@codesourcery.com>
11673
11674 * sysdeps/i386/sysdep.h: Include <features.h>.
11675 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11676 version.
11677
d8e0ca50
JM
116782012-02-05 Joseph Myers <joseph@codesourcery.com>
11679
11680 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11681 Define.
11682 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11683 LOAD_PIC_REG_STR.
11684
b1da7dd9
JM
116852012-02-03 Joseph Myers <joseph@codesourcery.com>
11686
11687 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11688 (SETUP_PIC_REG): Use GET_PC_THUNK.
11689 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11690 macro.
11691
9a1d9254
JM
116922012-02-03 Joseph Myers <joseph@codesourcery.com>
11693
11694 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11695 for non-PIC compilation.
11696 (SETUP_PIC_REG): Add .p2align directive.
11697 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11698 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11699 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11700 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11701 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11702 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11703 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11704 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11705 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11706 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11707 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11708 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11709 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11710 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11711 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11712 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11713 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11714 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11715 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11716 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11717 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11718 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11719 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11720 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11721 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11723 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11724 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11725 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11726 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11727 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11728 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11729 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11730 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11731 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11732 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11733 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11734 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11735 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11736 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11737 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11738
65dc3b75
JM
117392012-02-03 Joseph Myers <joseph@codesourcery.com>
11740
11741 * math/tst-CMPLX.c: Include <stdio.h>.
11742
d55bf177
JM
117432012-01-31 Joseph Myers <joseph@codesourcery.com>
11744
11745 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11746 float.
11747 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11748 * sysdeps/sparc/bits/mathdef.h: Likewise.
11749
69db4f8f
MP
117502012-01-31 Marek Polacek <polacek@redhat.com>
11751
11752 * libio/libio.h: Don't define _PARAMS.
11753 * locale/programs/config.h: Don't define PARAMS.
11754 * stdlib/strtol_l.c: Likewise.
11755 (__strtol_l): Remove PARAMS from the prototype.
11756
41b81892
UD
117572012-01-31 Ulrich Drepper <drepper@gmail.com>
11758
3b49edc0
UD
11759 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11760 names. Just use the correct names. Remove unnecessary wrapper
11761 functions.
11762 * malloc/arena.c: Likewise.
11763 * malloc/hooks.c: Likewise.
11764
41b81892
UD
11765 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11766 ARENA_TEST says not to. Simplify test for creation of a new arena.
11767 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11768
27a25b6e
UD
117692012-01-30 Ulrich Drepper <drepper@gmail.com>
11770
11771 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11772 into tail calls.
11773 (update_get_addr): New function.
11774 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11775 GET_ADDR_MODULE parameter.
11776
c8a89e7d
JM
117772012-01-30 Joseph Myers <joseph@codesourcery.com>
11778
11779 * crypt/cert.c: Remove __STDC__ conditionals.
11780 * crypt/crypt-entry.c: Likewise.
11781 * crypt/crypt_util.c: Likewise.
11782 * libio/filedoalloc.c: Likewise.
11783 * libio/fileops.c: Likewise.
11784 * libio/genops.c: Likewise.
11785 * libio/iofclose.c: Likewise.
11786 * libio/iofdopen.c: Likewise.
11787 * libio/iofopen.c: Likewise.
11788 * libio/iofopen64.c: Likewise.
11789 * libio/iogetdelim.c: Likewise.
11790 * libio/iopopen.c: Likewise.
11791 * libio/obprintf.c: Likewise.
11792 * libio/oldfileops.c: Likewise.
11793 * libio/oldiofclose.c: Likewise.
11794 * libio/oldiofdopen.c: Likewise.
11795 * libio/oldiofopen.c: Likewise.
11796 * libio/oldiopopen.c: Likewise.
11797 * libio/wfiledoalloc.c: Likewise.
11798 * libio/wgenops.c: Likewise.
11799 * locale/programs/xmalloc.c: Likewise.
11800 * misc/syslog.c: Likewise.
11801 * stdio-common/xbug.c: Likewise.
11802 * string/memchr.c: Likewise.
11803 * string/memcmp.c: Likewise.
11804 * string/memrchr.c: Likewise.
11805 * string/rawmemchr.c: Likewise.
11806 * sysdeps/posix/getcwd.c: Likewise.
11807 * time/strftime_l.c: Likewise.
11808
3b100462
JM
118092012-01-30 Joseph Myers <joseph@codesourcery.com>
11810
11811 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11812 * config.make.in (config-cflags-sse2avx): Define.
11813 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11814 Fix typo.
11815
607998af
CM
118162012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11817
11818 * scripts/config.guess: Update from upstream config git repository.
11819 * scripts/config.sub: Likewise.
11820
3601428f
CM
118212012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11822
3ac8b282
CM
11823 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11824 (EM_NUM): Update.
11825 (R_TILEPRO_*, R_TILEGX_*): New macros.
11826
e034841e
CM
11827 * scripts/firstversions.awk: Fix bug in version range handling.
11828
540d7568
CM
11829 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11830
3601428f
CM
11831 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11832
463de862
CM
11833 * include/sys/epoll.h: New file.
11834 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11835 libc_hidden_def.
11836
73139a76
UD
118372012-01-28 Ulrich Drepper <drepper@gmail.com>
11838
96bc5b45
UD
11839 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11840 Avoid unnecessary __WORDSIZE == 64 test.
11841 (fmaxf): Use VEX format if possible.
11842 (fmax): Likewise.
11843 (fminf): Likewise.
11844 (fmin): Likewise.
11845
56f6f6a2
UD
11846 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11847 * math/math_private.h: Remove libc_fegetround* and
11848 libc_fesetround*.
11849 * sysdeps/i386/configure.in: Check for -msse2avx.
11850 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11851 also if SSE2AVX is defined.
11852 Remove libc_fegetround* and libc_fesetround*.
11853 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11854 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11855 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11856 of HAS_YMM_USABLE.
11857 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11858 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11859 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11860 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11862
73139a76
UD
11863 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11864
d73f93a4
AZ
118652012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11866
11867 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11868 size is not set.
11869 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11870
6ee65ed6
UD
118712012-01-27 Ulrich Drepper <drepper@gmail.com>
11872
11873 [BZ #13618]
11874 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11875 relocation.
11876 * Makeconfig (libm): Define.
11877 * elf/Makefile: Add rules to build and run tst-relsort1.
11878 * elf/tst-relsort1.c: New file.
11879 * elf/tst-relsort1mod1.c: New file.
11880 * elf/tst-relsort1mod2.c: New file.
11881
8db21882
JM
118822012-01-27 Joseph Myers <joseph@codesourcery.com>
11883
11884 * math/s_ldexp.c: Remove __STDC__ conditionals.
11885 * math/s_ldexpf.c: Likewise.
11886 * math/s_ldexpl.c: Likewise.
11887 * math/s_nextafter.c: Likewise.
11888 * math/s_nexttowardf.c: Likewise.
11889 * math/s_significand.c: Likewise.
11890 * math/s_significandf.c: Likewise.
11891 * math/s_significandl.c: Likewise.
11892 * math/w_jnl.c: Likewise.
11893 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11894 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11895 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11896 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11897 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11898 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11900 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11901 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11902 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11903 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11904 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11905 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11906 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11907 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11908 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11909 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11910 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11911 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11912 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11913 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11914 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11915 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11916 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11917 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11918 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11919 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11920 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11921 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11922 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11923 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11924 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11925 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11926 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11927 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11928 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11929 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11930 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11931 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11932 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11933 * sysdeps/ieee754/k_standard.c: Likewise.
11934 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11937 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11938 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11939 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11940 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11941 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11942 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11943 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11944 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11945 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11946 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11947 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11948 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11950 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11951 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11952 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11953 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11954 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11955 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11956 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11957 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11958 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11959 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11960 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11963 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11964 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11965 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11966 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11967 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11968 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11969 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11970 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11971 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11972 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11973 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11974 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11975 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11976 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11977 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11978 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11979 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11980 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11981 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11982 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11983 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11984 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11985 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11987 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11988 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11989 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11990 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11991 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11992 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11993 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11994 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11995 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11996 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11997 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11998 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11999 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12000 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12001 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12002 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12003 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12004 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12005 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12006 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12007 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12008 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12009 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12010 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12011 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12012 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12013 * sysdeps/ieee754/s_matherr.c: Likewise.
12014 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12015 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12016 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12017 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12018
965a54a4
JM
120192012-01-26 Joseph Myers <joseph@codesourcery.com>
12020
12021 * crypt/md5.h: Remove __STDC__ conditionals.
12022 * libio/libioP.h: Likewise.
12023 * locale/programs/config.h: Likewise.
12024 * sysdeps/generic/sysdep.h: Likewise.
12025 * sysdeps/i386/asm-syntax.h: Likewise.
12026 * sysdeps/s390/asm-syntax.h: Likewise.
12027 * sysdeps/unix/sysdep.h: Likewise.
12028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12030
7071ad79
JM
120312012-01-26 Joseph Myers <joseph@codesourcery.com>
12032
12033 * libio/libio.h: Remove __STDC__ conditionals.
12034 * malloc/obstack.h: Likewise.
12035 * math/complex.h: Likewise.
12036 * math/math.h: Likewise.
12037 * sysdeps/generic/_G_config.h: Likewise.
12038 * sysdeps/gnu/_G_config.h: Likewise.
12039 * sysdeps/mach/hurd/_G_config.h: Likewise.
12040 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12041 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12042 * sysdeps/sparc/bits/mathdef.h: Likewise.
12043
afc5ed09
UD
120442012-01-26 Ulrich Drepper <drepper@gmail.com>
12045
12046 [BZ #13583]
12047 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12048 Clean up HAS_* macros.
afc5ed09 12049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12050 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12051 possible.
12052 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12053 HAS_AVX.
12054 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12055 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12056 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12057 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12058 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12059
bdb6de1d
JM
120602012-01-25 Joseph Myers <joseph@codesourcery.com>
12061
12062 * elf/tst-unique3.cc (gets): Remove declaration.
12063 * elf/tst-unique3lib.cc (gets): Likewise.
12064 * elf/tst-unique3lib2.cc (gets): Likewise.
12065 * elf/tst-unique4.cc (gets): Likewise.
12066
b15549e6
UD
120672012-01-24 Ulrich Drepper <drepper@gmail.com>
12068
12069 * include/stdio.h: Add C++ protection. Add gets declarations and
12070 definitions.
12071 * debug/tst-chk1.c: Don't declare gets here.
12072 * stdio-common/tst-gets.c: Likewise.
12073
a037381f
JM
120742012-01-24 Joseph Myers <joseph@codesourcery.com>
12075
12076 * posix/glob: Remove directory.
12077
f1d4aa75
JM
120782012-01-24 Joseph Myers <joseph@codesourcery.com>
12079
12080 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12081
81c0c964
PT
120822012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12083
12084 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12085 of the non-standard EPFNOSUPPORT.
12086
0ea698ae
ST
120872011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12088
12089 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12090 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12091 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12092
d220b117
UD
120932012-01-21 Ulrich Drepper <drepper@gmail.com>
12094
12095 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12096
3e1aa84e
UD
120972012-01-20 Ulrich Drepper <drepper@gmail.com>
12098
12099 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12100 transient errors.
12101 * nscd/grpcache.c (cache_addgr): Likewise.
12102 * nscd/hstcache.c (cache_addhst): Likewise.
12103 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12104 * nscd/pwdcache.c (cache_addpw): Likewise.
12105 * nscd/servicescache.c (cache_addserv): Likewise.
12106
400aa020
UD
121072012-01-16 Ulrich Drepper <drepper@gmail.com>
12108
d77e7869
UD
12109 * malloc/malloc.c: Various cleanups.
12110 * malloc/hooks.c: Likewise.
12111
400aa020
UD
12112 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12113 * stdlib/bug-fmtmsg1.c: New file.
12114
12115 * stdlib/fmtmsg.c (init): Add missing unlock.
12116 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12117
e0a309cf
MP
121182012-01-12 Marek Polacek <polacek@redhat.com>
12119
12120 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12121 and _GNU_SOURCE.
12122
929d11c7
WS
121232012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12124
12125 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12126 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12127 macro to ensure uniqueness of label name.
12128 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12129 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12130
41d0e869
UD
121312012-01-11 Ulrich Drepper <drepper@gmail.com>
12132
0cc5ed3b
UD
12133 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12134
41d0e869
UD
12135 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12136 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12137 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12138 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12139
a47a831a
UD
121402012-01-10 Ulrich Drepper <drepper@gmail.com>
12141
daa891c0
UD
12142 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12143
12144 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12145 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12146 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12147
e58ef0f2
UD
12148 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12149
a47a831a 12150 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12151 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12152 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12153 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12154
12155 * math/bits/math-finite.h: Add ldexp support.
12156
a0bfc9c7
MP
121572012-01-10 Marek Polacek <polacek@redhat.com>
12158
12159 * locale/programs/localedef.h (show_archive_content): Add noreturn
12160 attribute.
12161
d6e97a1d
UD
121622012-01-09 Ulrich Drepper <drepper@gmail.com>
12163
12164 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12165
d5835c26
UD
121662012-01-08 Ulrich Drepper <drepper@gmail.com>
12167
e5f484c6
UD
12168 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12169
d5835c26
UD
12170 * io/Makefile (headers): Add bits/poll2.h.
12171
d1f741e9
WS
121722011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12173
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12175 typo #include statement.
12176
ec09c1c4
UD
121772012-01-08 Ulrich Drepper <drepper@gmail.com>
12178
12179 * include/sys/cdefs.h: Define __attribute_alloc_size.
12180 * catgets/gencat.c: Add alloc_size attribute and apply consistently
12181 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
12182 * elf/pldd.c: Likewise.
12183 * iconv/iconv_charmap.c: Likewise.
12184 * iconv/iconvconfig.c: Likewise.
12185 * iconv/strtab.c: Likewise.
12186 * locale/programs/locale.c: Likewise.
12187 * locale/programs/localedef.h: Likewise.
12188 * locale/programs/simple-hash.c: Likewise.
12189 * nscd/nscd.h: Likewise.
12190 * nss/makedb.c: Likewise.
12191 * sysdeps/generic/ldconfig.h: Likewise.
12192 * locale/programs/localedef.c: Remove xmalloc prototype.
12193 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
12194
20b38e03
PP
121952012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12196
12197 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
12198 appropriate.
12199
a0da5fe1
UD
122002012-01-08 Ulrich Drepper <drepper@gmail.com>
12201
1d5a644a 12202 * math/Makefile (tests): Add tst-CMPLX.
669704fd 12203 * math/tst-CMPLX.c: New file.
1d5a644a 12204
8784a6db
UD
12205 * math/complex.h (CMPLXL): Fix typo.
12206
d9a216c0
UD
12207 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
12208 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
12209 GLIBC_2.16.
12210 * debug/tst-chk1.c: Add poll and ppoll tests.
12211 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
12212 * include/sys/poll.h: Add hidden proto for ppoll.
12213 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12214 * sysdeps/mach/hurd/ppoll.c: Likewise.
12215 * io/ppoll.c: Likewise.
12216 * debug/poll_chk.c: New file.
12217 * debug/ppoll_chk.c: New file.
12218 * include/bits/poll2.h: New file.
12219 * io/bits/poll2.h: New file.
12220
ac097f5c
UD
12221 [BZ #1350]
12222 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12223
2119dcfa
UD
12224 * configure.in: static is always set to yes. Remove.
12225 * config.make.in: Don't set build-static.
12226 * Makeconfig: Remove use of build-static.
12227 * dlfcn/Makefile: Likewise.
12228 * elf/Makefile: Likewise.
12229 * math/Makefile: Likewise.
12230 * misc/Makefile: Likewise.
12231 * nptl/Makefile: Likewise.
12232 * sysdeps/mach/hurd/Makefile: Likewise.
12233
121766a9
UD
12234 * configure.in: PWD_P is not used anymore.
12235 * config.make.in: Remove PWD_P entry.
12236
51a1d39c 12237 * configure.in: Remove last remnants of RANLIB.
8720d066 12238 No need to check for signed size_t anymore.
215f4bdc
UD
12239 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12240 and IA-64.
3857022a 12241 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12242 * aclocal.m4: Likewise.
12243
d3ed7225
UD
12244 * wcsmbs/mbrtoc16.c: Implement using towc function.
12245 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12246 * wcsmbs/wcsmbsload.c: Likewise.
12247 * iconv/gconv_simple.c: Likewise.
12248 * iconv/gconv_int.h: Likewise.
12249 * iconv/gconv_builtin.h: Likewise.
12250 * iconv/iconv_prog.c: Remove CHAR16 handling.
12251
12252 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12253
12254 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12255
a0da5fe1
UD
12256 * configure.in: Remove --with-elf and --enable-bounded options.
12257 Dont set base_machine for ia64. More non-ELF conditions removed.
12258 Remove testing and setting of leading underscore information.
12259 * config.make.in (build-bounded): Set to no.
12260 * config.h.in: Remove NO_UNDERSCORES entry.
12261 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12262 them.
12263 * csu/start.c: Remove !NO_UNDERSCORE code.
12264 * locale/localeinfo.h: Likewise.
12265 * sysdeps/generic/machine-gmon.h: Likewise.
12266 * sysdeps/generic/sysdep.h: Likewise.
12267 * sysdeps/i386/sysdep.h: Likewise.
12268 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12269 * sysdeps/mach/sysdep.h: Likewise.
12270 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12271 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12272 * sysdeps/sh/sysdep.h: Likewise.
12273 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12274 * sysdeps/unix/i386/sysdep.S: Likewise.
12275 * sysdeps/unix/sparc/start.c: Likewise.
12276 * sysdeps/unix/sparc/sysdep.S: Likewise.
12277 * sysdeps/unix/sparc/sysdep.h: Likewise.
12278 * sysdeps/unix/start.c: Likewise.
12279 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12280 * sysdeps/x86_64/sysdep.h: Likewise.
12281
df78418a
UD
122822012-01-07 Ulrich Drepper <drepper@gmail.com>
12283
a784e502
UD
12284 [BZ #13553]
12285 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12286 for non-gcc.
12287 * argp/argp-fmtstream.h: Use const instead __const.
12288 * argp/argp.h: Likewise.
12289 * assert/assert.h: Likewise.
12290 * bits/fenv.h: Likewise.
12291 * bits/sched.h: Likewise.
12292 * bits/sigset.h: Likewise.
12293 * bits/sigthread.h: Likewise.
12294 * catgets/nl_types.h: Likewise.
12295 * conform/data/pthread.h-data: Likewise.
12296 * crypt/crypt-private.h: Likewise.
12297 * crypt/crypt.h: Likewise.
12298 * crypt/crypt_util.c: Likewise.
12299 * ctype/ctype.h: Likewise.
12300 * debug/execinfo.h: Likewise.
12301 * debug/mbsnrtowcs_chk.c: Likewise.
12302 * debug/mbsrtowcs_chk.c: Likewise.
12303 * debug/wcsnrtombs_chk.c: Likewise.
12304 * debug/wcsrtombs_chk.c: Likewise.
12305 * debug/wcstombs_chk.c: Likewise.
12306 * dirent/dirent.h: Likewise.
12307 * dlfcn/dlfcn.h: Likewise.
12308 * elf/neededtest4.c: Likewise.
12309 * grp/grp.h: Likewise.
12310 * gshadow/gshadow.h: Likewise.
12311 * iconv/gconv.h: Likewise.
12312 * iconv/gconv_int.h: Likewise.
12313 * iconv/gconv_simple.c: Likewise.
12314 * iconv/iconv.h: Likewise.
12315 * iconv/loop.c: Likewise.
12316 * iconv/skeleton.c: Likewise.
12317 * include/aio.h: Likewise.
12318 * include/aliases.h: Likewise.
12319 * include/argz.h: Likewise.
12320 * include/arpa/inet.h: Likewise.
12321 * include/assert.h: Likewise.
12322 * include/dirent.h: Likewise.
12323 * include/dlfcn.h: Likewise.
12324 * include/execinfo.h: Likewise.
12325 * include/fcntl.h: Likewise.
12326 * include/fenv.h: Likewise.
12327 * include/glob.h: Likewise.
12328 * include/grp.h: Likewise.
12329 * include/libintl.h: Likewise.
12330 * include/mntent.h: Likewise.
12331 * include/netdb.h: Likewise.
12332 * include/pwd.h: Likewise.
12333 * include/rpc/netdb.h: Likewise.
12334 * include/sched.h: Likewise.
12335 * include/search.h: Likewise.
12336 * include/shadow.h: Likewise.
12337 * include/signal.h: Likewise.
12338 * include/stdio.h: Likewise.
12339 * include/stdlib.h: Likewise.
12340 * include/string.h: Likewise.
12341 * include/sys/socket.h: Likewise.
12342 * include/sys/stat.h: Likewise.
12343 * include/sys/statfs.h: Likewise.
12344 * include/sys/statvfs.h: Likewise.
12345 * include/sys/syslog.h: Likewise.
12346 * include/sys/time.h: Likewise.
12347 * include/sys/uio.h: Likewise.
12348 * include/time.h: Likewise.
12349 * include/unistd.h: Likewise.
12350 * include/utmp.h: Likewise.
12351 * include/wchar.h: Likewise.
12352 * include/wctype.h: Likewise.
12353 * inet/aliases.h: Likewise.
12354 * inet/arpa/inet.h: Likewise.
12355 * inet/netinet/ether.h: Likewise.
12356 * inet/netinet/in.h: Likewise.
12357 * intl/libintl.h: Likewise.
12358 * io/bits/fcntl2.h: Likewise.
12359 * io/fcntl.h: Likewise.
12360 * io/ftw.h: Likewise.
12361 * io/sys/poll.h: Likewise.
12362 * io/sys/stat.h: Likewise.
12363 * io/sys/statfs.h: Likewise.
12364 * io/sys/statvfs.h: Likewise.
12365 * io/utime.h: Likewise.
12366 * libio/bits/stdio.h: Likewise.
12367 * libio/bits/stdio2.h: Likewise.
12368 * libio/libio.h: Likewise.
12369 * libio/libioP.h: Likewise.
12370 * libio/stdio.h: Likewise.
12371 * locale/lc-ctype.c: Likewise.
12372 * locale/locale.h: Likewise.
12373 * login/utmp.h: Likewise.
12374 * malloc/arena.c: Likewise.
12375 * malloc/malloc.c: Likewise.
12376 * malloc/malloc.h: Likewise.
12377 * malloc/mcheck.c: Likewise.
12378 * malloc/mtrace.c: Likewise.
12379 * math/bits/mathcalls.h: Likewise.
12380 * math/fenv.h: Likewise.
12381 * math/math_private.h: Likewise.
12382 * misc/bits/error.h: Likewise.
12383 * misc/bits/syslog.h: Likewise.
12384 * misc/err.h: Likewise.
12385 * misc/error.h: Likewise.
12386 * misc/fstab.h: Likewise.
12387 * misc/mntent.h: Likewise.
12388 * misc/regexp.h: Likewise.
12389 * misc/search.h: Likewise.
12390 * misc/sgtty.h: Likewise.
12391 * misc/sys/mman.h: Likewise.
12392 * misc/sys/syslog.h: Likewise.
12393 * misc/sys/uio.h: Likewise.
12394 * misc/sys/xattr.h: Likewise.
12395 * misc/ttyent.h: Likewise.
12396 * nis/rpcsvc/ypclnt.h: Likewise.
12397 * nss/nss.h: Likewise.
12398 * posix/bits/unistd.h: Likewise.
12399 * posix/fnmatch.h: Likewise.
12400 * posix/glob.h: Likewise.
12401 * posix/sched.h: Likewise.
12402 * posix/spawn.h: Likewise.
12403 * posix/sys/wait.h: Likewise.
12404 * posix/unistd.h: Likewise.
12405 * posix/wordexp.h: Likewise.
12406 * pwd/pwd.h: Likewise.
12407 * resolv/netdb.h: Likewise.
12408 * resource/sys/resource.h: Likewise.
12409 * rt/aio.h: Likewise.
12410 * rt/bits/mqueue2.h: Likewise.
12411 * rt/mqueue.h: Likewise.
12412 * shadow/shadow.h: Likewise.
12413 * signal/signal.h: Likewise.
12414 * socket/send.c: Likewise.
12415 * socket/sendto.c: Likewise.
12416 * socket/sys/socket.h: Likewise.
12417 * stdio-common/printf.h: Likewise.
12418 * stdlib/bits/stdlib.h: Likewise.
12419 * stdlib/fmtmsg.h: Likewise.
12420 * stdlib/monetary.h: Likewise.
12421 * stdlib/stdlib.h: Likewise.
12422 * stdlib/ucontext.h: Likewise.
12423 * streams/stropts.h: Likewise.
12424 * string/argz.h: Likewise.
12425 * string/bits/string2.h: Likewise.
12426 * string/string.h: Likewise.
12427 * string/strings.h: Likewise.
12428 * sunrpc/rpc/auth.h: Likewise.
12429 * sunrpc/rpc/auth_des.h: Likewise.
12430 * sunrpc/rpc/clnt.h: Likewise.
12431 * sunrpc/rpc/netdb.h: Likewise.
12432 * sunrpc/rpc/pmap_clnt.h: Likewise.
12433 * sunrpc/rpc/xdr.h: Likewise.
12434 * sysdeps/generic/inttypes.h: Likewise.
12435 * sysdeps/generic/net/if.h: Likewise.
12436 * sysdeps/generic/sys/swap.h: Likewise.
12437 * sysdeps/gnu/net/if.h: Likewise.
12438 * sysdeps/gnu/utmpx.h: Likewise.
12439 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12440 * sysdeps/i386/i486/bits/string.h: Likewise.
12441 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12442 * sysdeps/s390/bits/string.h: Likewise.
12443 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12444 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12445 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12446 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12447 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12448 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12449 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12450 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12451 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12452 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12453 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12454 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12455 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12456 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12457 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12458 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12459 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12460 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12461 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12462 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12463 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12464 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12465 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12466 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12467 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12468 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12469 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12470 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12471 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12472 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12473 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12474 * sysvipc/sys/ipc.h: Likewise.
12475 * sysvipc/sys/msg.h: Likewise.
12476 * sysvipc/sys/sem.h: Likewise.
12477 * sysvipc/sys/shm.h: Likewise.
12478 * termios/termios.h: Likewise.
12479 * time/sys/time.h: Likewise.
12480 * time/time.h: Likewise.
12481 * wcsmbs/bits/wchar2.h: Likewise.
12482 * wcsmbs/uchar.h: Likewise.
12483 * wcsmbs/wchar.h: Likewise.
12484 * wctype/wctype.h: Likewise.
12485
0269750c
UD
12486 [BZ #13551]
12487 * Makeconfig: Remove all but ELF support including AIX support.
12488 * Makerules: Likewise.
12489 * config.h.in: Likewise.
12490 * config.make.in: Likewise.
12491 * configure: Likewise.
12492 * configure.in: Likewise.
12493 * csu/Makefile: Likewise.
12494 * csu/version.c: Likewise.
12495 * debug/Makefile: Likewise.
12496 * dlfcn/Makefile: Likewise.
12497 * elf/Makefile: Likewise.
12498 * extra-lib.mk: Likewise.
12499 * iconv/Makefile: Likewise.
12500 * include/libc-symbols.h: Likewise.
12501 * include/shlib-compat.h: Likewise.
12502 * resolv/Makefile: Likewise.
12503 * resolv/res_libc.c: Likewise.
12504 * rt/Makefile: Likewise.
12505 * sysdeps/i386/asm-syntax.h: Likewise.
12506 * sysdeps/i386/sysdep.h: Likewise.
12507 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12508 * sysdeps/mach/sysdep.h: Likewise.
12509 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12510 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12511 * sysdeps/s390/asm-syntax.h: Likewise.
12512 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12513 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12514 * sysdeps/sh/sysdep.h: Likewise.
12515 * sysdeps/unix/sparc/sysdep.h: Likewise.
12516 * sysdeps/wordsize-32/divdi3.c: Likewise.
12517 * sysdeps/x86_64/sysdep.h: Likewise.
12518
00bbd29b
UD
12519 * argp/Versions: Remove _argp_unlock_xxx.
12520
12521 [BZ #13559]
12522 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12523 * abilist/libBrokenLocale.abilist: Likewise.
12524 * abilist/libanl.abilist: Likewise.
12525 * abilist/libc.abilist: Likewise.
12526 * abilist/libcrypt.abilist: Likewise.
12527 * abilist/libdl.abilist: Likewise.
12528 * abilist/libm.abilist: Likewise.
12529 * abilist/libnsl.abilist: Likewise.
12530 * abilist/libpthread.abilist: Likewise.
12531 * abilist/libresolv.abilist: Likewise.
12532 * abilist/librt.abilist: Likewise.
12533 * abilist/libthread_db.abilist: Likewise.
12534 * abilist/libutil.abilist: Likewise.
12535 * abilist/libnss_db.abilist: New file.
12536
12537 * scripts/abilist.awk: Add support for indirect functions.
12538
a2693a0e
UD
12539 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12540
3f05895f
UD
12541 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12542
ecb6fb48
UD
12543 * shlib-versions: Remove entries for ports architectures.
12544
664f8cb9
UD
12545 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12546 files in ports.
12547 * elf/stackguard-macros.h: Remove support for IA-64.
12548 * elf/tst-auditmod1.c: Likewise.
12549 * sysdeps/generic/ldsodefs.h: Likewise.
12550
7ae81d88
UD
12551 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12552 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12553 configure files.
12554
bdeba135
UD
12555 [BZ #13552]
12556 * configure.in: Remove --enable-omitfp support.
12557 * FAQ.in: Adjust.
12558 * config.make.in: Likewise.
12559 * Makeconfig: Likewise.
12560 * manual/install.texi: Likewise.
12561
d75a0a62
UD
12562 In case anyone cares, the IA-64 architecture could move to ports.
12563 * sysdeps/ia64/*: Removed.
12564 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12565 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12566
dcc9756b
UD
12567 [BZ #13555]
12568 * configure.in: Remove entries for unsupported architectures.
12569
d3761ebc 12570 [BZ #13533]
9954432e
UD
12571 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12572 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12573 routines.
12574 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12575 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12576 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12577 fall back to using wcrtomb.
12578 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12579 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12580 renaming.
12581 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12582 * wcsmbs/tst-c16c32-1.c: New file.
12583
12584 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12585 local variable.
12586
c3a87236
UD
12587 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12588
28926a1b
UD
12589 * elf/tst-unique3.cc: Add explicit declaration of gets.
12590 * elf/tst-unique3lib.cc: Likewise.
12591 * elf/tst-unique3lib2.cc: Likewise.
12592 * elf/tst-unique4.cc: Likewise.
12593
df78418a
UD
12594 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12595
8ecd6b2a
JM
125962012-01-06 Joseph Myers <joseph@codesourcery.com>
12597
12598 [BZ #13566]
12599 * assert/assert.h (static_assert): Don't define for C++.
12600 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12601 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12602
9f115170
UD
126032012-01-03 Ulrich Drepper <drepper@gmail.com>
12604
5e0d0300
UD
12605 * iconv/loop.c (single loop): Fix assertion in storing of
12606 remaining bytes.
12607
9f115170
UD
12608 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12609
81fb02b0
UD
126102012-01-01 Ulrich Drepper <drepper@gmail.com>
12611
12612 * posix/getconf.c: Update copyright year.
12613 * nss/getent.c: Likewise.
a316c1f6 12614 * nss/makedb.c: Likewise.
81fb02b0
UD
12615 * iconv/iconvconfig.c: Likewise.
12616 * iconv/iconv_prog.c: Likewise.
12617 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12618 * elf/pldd.c: Likewise.
12619 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12620 * catgets/gencat.c: Likewise.
12621 * csu/version.c: Likewise.
12622 * elf/ldd.bash.in: Likewise.
12623 * elf/sprof.c (print_version): Likewise.
12624 * locale/programs/locale.c: Likewise.
12625 * locale/programs/localedef.c: Likewise.
a316c1f6 12626 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12627 * nscd/nscd.c (print_version): Likewise.
12628 * debug/xtrace.sh: Likewise.
12629 * malloc/memusage.sh: Likewise.
12630 * malloc/mtrace.pl: Likewise.
12631 * debug/catchsegv.sh: Likewise.
12632
2ba92745
JJ
126332011-12-30 Jakub Jelinek <jakub@redhat.com>
12634
12635 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12636 pure attribute.
12637
dadebdae
UD
126382011-12-24 Ulrich Drepper <drepper@gmail.com>
12639
d3761ebc 12640 [BZ #13533]
db6af3eb
UD
12641 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12642 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12643 transformations.
12644 * iconv/gconv_int.h: Likewise.
12645 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12646 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12647 from libc for GLIBC_2.16.
12648 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12649 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12650 * wcsmbs/uchar.h: Really define mbstate_t.
12651 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12652 * wcsmbs/c16rtomb.c: New file.
12653 * wcsmbs/mbrtoc16.c: New file.
12654 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12655 for C/POSIX locale.
12656 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12657 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12658
dadebdae
UD
12659 * wcsmbs/wchar.h: Add missing __restrict.
12660
67371b56
UD
126612011-12-23 Ulrich Drepper <drepper@gmail.com>
12662
74033a25
UD
12663 [BZ #13532]
12664 * time/Makefile (routines): Add timespec_get.
12665 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12666 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12667 timespec for ISO C11.
12668 * time/timespec_get.c: New file.
12669 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12670 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12671
380d7e87
UD
12672 [BZ #13531]
12673 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12674 * stdlib/stdlib.h: Declare aligned_alloc.
12675 * Versions.def: Add GLIBC_2.16 for libc.
12676 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12677
4e9e7a35
UD
12678 [BZ 13527]
12679 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12680 ISO C11.
12681
380d7e87 12682 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12683 code.
12684
03a71829
UD
12685 [BZ #13528]
12686 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12687
839e283e
UD
12688 [BZ #13529]
12689 * assert/assert.h (static_assert): Define.
12690
ce5294e2 12691 * version.h: Update for 2.16 development version.
90fa7312 12692
8d44e150 12693 [BZ #13526]
d7809905
UD
12694 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12695 _ISOC11_SOURCE.
12696
c0da14cd
UD
12697 * version.h (RELEASE): Bump for 2.15 release.
12698 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12699
530a3249
MP
12700 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12701 Patch by Marek Polacek <mpolacek@redhat.com>.
12702
67371b56
UD
12703 * bits/byteswap.h: Protect long long constants with __extension__.
12704 * sysdeps/i386/bits/byteswap.h: Likewise.
12705 * sysdeps/ia64/bits/byteswap.h: Likewise.
12706 * sysdeps/s390/bits/byteswap.h: Likewise.
12707 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12708
15db4de1
LD
127092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12710
12711 [BZ #13540]
bbe315ea
LD
12712 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12713 destination buffer.
15db4de1
LD
12714 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12715
2b2596b1
MP
127162011-12-23 Marek Polacek <polacek@redhat.com>
12717
12718 * elf/dl-addr.c (determine_info): Add inline keyword.
12719 * elf/tst-auditmod4b.c (check_avx): Likewise.
12720 * elf/tst-auditmod6b.c (check_avx): Likewise.
12721 * elf/tst-auditmod6c.c (check_avx): Likewise.
12722 * elf/tst-auditmod7b.c (check_avx): Likewise.
12723
70c6c246
UD
127242011-12-23 Ulrich Drepper <drepper@gmail.com>
12725
12726 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12727 !__SSE_MATH__.
12728
c044cf14
LD
127292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12730
15db4de1 12731 [BZ #13540]
c044cf14
LD
12732 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12733 processing for last bytes.
12734
6b13d9d9
BH
127352011-08-06 Bruno Haible <bruno@clisp.org>
12736
d455f537
BH
12737 [BZ #13061]
12738 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12739 U+0385, not to U+1FEE.
12740
6b13d9d9
BH
12741 [BZ #13062]
12742 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12743 entry for U+00A5 U+0301.
12744
db910efd
UD
127452011-12-22 Ulrich Drepper <drepper@gmail.com>
12746
27deeafc
UD
12747 [BZ #13166]
12748 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12749 buffer for the output is too small.
12750
aed9d171
UD
12751 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12752 optimization.
12753
db910efd
UD
12754 [BZ #13185]
12755 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12756 SSE flags if possible.
12757
2bd779ae
LD
127582011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12759
e7f9dac3 12760 [BZ #13540]
2bd779ae
LD
12761 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12762 processing for last bytes.
12763
154bfc16
JM
127642011-12-22 Joseph Myers <joseph@codesourcery.com>
12765
12766 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12767 (syscall-list-default-options, syscall-list-default-condition)
12768 (syscall-list-includes): Define.
12769 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12770 list of ABIs and options and #if conditions for each ABI. Do not
12771 handle common syscalls between ABIs specially.
12772 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12773 Remove.
12774 (syscall-list-variants, syscall-list-32bit-options)
12775 (syscall-list-32bit-condition, syscall-list-64bit-options)
12776 (syscall-list-64bit-condition): Define.
12777 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12778 (syscall-list-variants, syscall-list-32bit-options)
12779 (syscall-list-32bit-condition, syscall-list-64bit-options)
12780 (syscall-list-64bit-condition): Define.
12781 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12782 Remove.
12783 (syscall-list-variants, syscall-list-32bit-options)
12784 (syscall-list-32bit-condition, syscall-list-64bit-options)
12785 (syscall-list-64bit-condition): Define.
12786 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12787 Remove.
12788 (syscall-list-variants, syscall-list-32bit-options)
12789 (syscall-list-32bit-condition, syscall-list-64bit-options)
12790 (syscall-list-64bit-condition): Define.
12791
21eaf3a5
UD
127922011-12-22 Ulrich Drepper <drepper@gmail.com>
12793
16c6f992
UD
12794 * locale/iso-639.def: Add brx entry.
12795
41043168
UD
12796 [BZ #13328]
12797 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12798 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12799
21eaf3a5
UD
12800 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12801 __feraiseexcept_renamed.
12802
e3a851a2
UD
128032011-12-21 Ulrich Drepper <drepper@gmail.com>
12804
4920765e
UD
12805 [BZ #13538]
12806 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12807 EPOLLET with unsigned values.
12808 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12809 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12810
e3a851a2
UD
12811 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12812 to large cancellation.
12813 * math/s_cacoshf.c: Likewise.
12814 * math/s_cacoshl.c: Likewise.
12815
b27e24b8
RK
128162011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12817
12818 [BZ #13305]
aebefeee 12819 [BZ #12786]
b27e24b8
RK
12820 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12821 * math/s_cacoshf.c: Likewise.
12822 * math/s_cacoshl.c: Likewise.
12823
ee190f67
UD
128242011-12-21 Ulrich Drepper <drepper@gmail.com>
12825
12826 [BZ #13439]
12827 * iconv/gconv.h: Define __GCONV_SWAP.
12828 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12829 * iconvdata/utf-16.c: Likewise.
12830 * iconvdata/utf-32.c: Likewise.
12831
707f25df
AS
128322011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12833
12834 [BZ #13524]
12835 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12836 numerator after shifting it by one limb.
12837
d2daaa1e
RÁE
128382011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12839
12840 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12841 under [__USE_EXTERN_INLINES].
12842
a4647e72
UD
128432011-12-17 Ulrich Drepper <drepper@gmail.com>
12844
12845 [BZ #13446]
12846 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12847
f0b264f1
AZ
128482011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12849
12850 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12851 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12852 optimized code.
12853 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12854 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12855 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12856 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12857 for strncasecmp/strncasecmp_l compilation.
12858 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12859 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12860
8ef4f244
MP
128612011-12-08 Marek Polacek <mpolacek@redhat.com>
12862
12863 [BZ #13484]
12864 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12865 of __asm__.
12866
97ac2654
UD
128672011-12-17 Ulrich Drepper <drepper@gmail.com>
12868
12869 [BZ #13506]
12870 * time/tzfile.c (__tzfile_read): Check values from file header.
12871
91d2a845
WS
128722011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12873
12874 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12875 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12876 * powerpc/powerpc32/dl-start.S: Likewise.
12877 * powerpc/powerpc32/elf/start.S: Likewise.
12878 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12879 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12880 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12881 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12882 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12883 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12884 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12885 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12886 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12887 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12888 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12889 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12890 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12891 * powerpc/powerpc32/memset.S: Likewise.
12892 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12893 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12894 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12895 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12896 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12897 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12898 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12899 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12900 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12901 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12902 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12903 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12904 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12905
a1267ba1
AZ
129062011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12907
12908 * math/libm-test.inc: Added more nearbyint tests.
12909 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12910 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12911 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12912 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12913
ad8ac1bd
RL
129142011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12915
12916 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12917 FD_CLOEXEC.
12918
1d3e4b61
UD
129192011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12920
12921 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12922 Add wcscpy-ssse3 wcscpy-c.
12923 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12924 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12925 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12926 * sysdeps/x86_64/wcschr.S: New file.
12927 * sysdeps/x86_64/wcsrchr.S: New file.
12928 * string/test-strcmp.c: Remove checking of wcscmp function for
12929 wrong alignments.
12930 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12931 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12932 wcsrchr-sse2 wcsrchr-c.
12933 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12934 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12935 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12936 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12937 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12938 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12939 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12940 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12941 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12942 * wcsmbc/wcschr.c (WCSCHR): New macro.
12943
5b330a2d
UD
129442011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12945
12946 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12947 * wcsmbs/test-wcsrchr.c: New file.
12948 * string/test-strrchr.c: Add wcsrchr support.
12949 (WIDE): New macro.
12950 * wcsmbs/test-wcscpy.c: New file.
12951 * string/test-strcpy.c: Add wcscpy support.
12952 (WIDE): New macro.
26428b7c 12953
f039c043
UD
129542011-12-10 Ulrich Drepper <drepper@gmail.com>
12955
12956 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12957 the inner loop.
12958
850fb039
AS
129592011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12960
12961 [BZ #13472]
12962 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12963
4efbd5cb
UD
129642011-12-04 Ulrich Drepper <drepper@gmail.com>
12965
52ff5dd0 12966 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12967 Minor optimizations.
52ff5dd0 12968
4efbd5cb
UD
12969 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12970 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12971 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12972
8a426e12
UD
129732011-12-03 Ulrich Drepper <drepper@gmail.com>
12974
aff2453d
UD
12975 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12976 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12977 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12978 for gcc to avoid warnings.
12979 * inet/Makefile (tests): Add tst-checks.
12980 * inet/tst-checks.c: New file.
12981
12982 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12983 warning.
12984
12985 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12986 __wmemcmp_sse2.
12987
12988 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12989 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12990
8a426e12
UD
12991 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12992
9bea3473
UD
129932011-12-02 Ulrich Drepper <drepper@gmail.com>
12994
3a965496
UD
12995 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12996 problem.
12997
9bea3473
UD
12998 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12999
f101631b
UD
130002011-11-29 Joseph Myers <joseph@codesourcery.com>
13001
13002 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13003 conditional on GCC version.
13004 (__arch_compare_and_exchange_val_8_acq)
13005 (__arch_compare_and_exchange_val_16_acq)
13006 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13007 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13008 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13009
a98275aa
UD
130102011-12-02 Joseph Myers <joseph@codesourcery.com>
13011
13012 * sysdeps/sh/backtrace.c: New file.
13013
d4cc29a2
AS
130142011-12-02 Andreas Schwab <schwab@redhat.com>
13015
13016 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13017 parenthesis.
13018
6257af2d
AS
130192011-12-01 Andreas Schwab <schwab@redhat.com>
13020
13021 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13022 falling back to utime.
13023
b5f44c1a
AS
130242011-11-30 Andreas Schwab <schwab@redhat.com>
13025
13026 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13027 expectations for float.
13028
f3a6cc0a
AS
130292011-11-29 Andreas Schwab <schwab@redhat.com>
13030
13031 * locale/weight.h (findidx): Add parameter len.
13032 * locale/weightwc.h (findidx): Likewise.
13033 * posix/fnmatch_loop.c (FCT): Adjust caller.
13034 * posix/regcomp.c (build_equiv_class): Likewise.
13035 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13036 * posix/regexec.c (check_node_accept_bytes): Likewise.
13037 * string/strcoll_l.c (STRCOLL): Likewise.
13038 * string/strxfrm_l.c (STRXFRM): Likewise.
13039
9d65ea3a
UD
130402011-11-17 Ulrich Drepper <drepper@gmail.com>
13041
13042 * Makefile.in: Remove CVSOPT handling.
13043 * configure.in: Remove use of AC_REVISION.
13044 * iconvdata/Makefile (distribute): No need to filter out CVS.
13045 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13046 handling.
13047
5583a086
AS
130482011-11-16 Andreas Schwab <schwab@redhat.com>
13049
13050 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13051 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13052 [USE_AS_STRNCASECMP_L]: Likewise.
13053 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13054 NO_TLS_DIRECT_SEG_REFS.
13055 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13056 Fix argument offsets for non-PIC.
13057 [USE_AS_STRNCASECMP_L]: Likewise.
13058 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13059 NO_TLS_DIRECT_SEG_REFS.
13060
d62a8200
UD
130612011-11-15 Ulrich Drepper <drepper@gmail.com>
13062
9d65ea3a 13063 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13064 O_CLOEXEC.
13065 * locale/loadlocale.c (_nl_load_locale): Likewise.
13066
09f93bd3
AS
130672011-11-15 Andreas Schwab <schwab@redhat.com>
13068
446514f9
AS
13069 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13070 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13071 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13072 (SYSCALL_GETTIME): Set errno on error.
13073
09f93bd3
AS
13074 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13075 count references to noai6ai_cached.
13076
312be3f9
UD
130772011-11-15 Ulrich Drepper <drepper@gmail.com>
13078
13079 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13080
13081 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13082 FD_CLOEXEC for /proc/self/maps.
13083
13084 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13085 FD_CLOEXEC for /proc/meminfo.
13086
13087 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13088 gai.conf.
13089
13090 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13091 FD_CLOEXEC for given file.
13092
13093 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13094
13095 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13096 FD_CLOEXEC for /etc/hosts.
13097 (_gethtent): Likewise.
13098
13099 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13100
13101 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13102 cancellation and set FD_CLOEXEC for /etc/netgroup.
13103
13104 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13105 reading /etc/publickey.
13106
13107 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13108 allow cancellation when reading /etc/group.
13109
13110 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13111 cancellation.
13112 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13113
13114 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13115 when using data file.
13116
13117 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13118
13119 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13120 (write_nis_obj): Use "c" and "e" in fopen.
13121
13122 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13123
13124 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13125
13126 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13127
13128 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13129
13130 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13131 locale.alias.
13132
13133 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13134
13135 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13136
13137 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13138
13139 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13140 file parsing and set FD_CLOEXEC.
13141
82af0fa8
UD
131422011-11-14 Ulrich Drepper <drepper@gmail.com>
13143
13144 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13145
a5fb313c
AS
131462011-11-14 Andreas Schwab <schwab@redhat.com>
13147
13148 * malloc/arena.c (arena_get2): Don't call reused_arena when
13149 _int_new_arena failed.
13150
6abf3465
UD
131512011-11-14 Ulrich Drepper <drepper@gmail.com>
13152
13153 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13154 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13155 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13156 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13157 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13158 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13159 to compile strcasecmp and strncasecmp.
13160 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13161 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13162
13163 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13164
76e3966e
UD
131652011-11-13 Ulrich Drepper <drepper@gmail.com>
13166
13167 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13168 locale-defines.sym to gen-as-const-headers.
13169 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13170 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13172 to compile strcasecmp and strncasecmp.
13173 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13174 strcasecmp_l and strncasecmp_l.
13175 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13176 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13177 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13178 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13179 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
13180 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
13181 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
13182 * sysdeps/i386/i686/multiarch/strncase.S: New file.
13183 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
13184 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
13185 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
13186
ab26144e
UD
131872011-11-12 Ulrich Drepper <drepper@gmail.com>
13188
7edb22ef
UD
13189 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
13190 result of SYSDEP_GETTIME_CPU to retval.
13191 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
13192 parameter list to macro. Remove trailing semicolon. Adjust users.
13193
9694fc44
UD
13194 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
13195 variable.
13196
8ad89ef8
UD
13197 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
13198 mantissa words.
13199 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13200
0c822ef9
UD
13201 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
13202 from unused variable.
13203
874e0564
UD
13204 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
13205 DWARF definitions.
13206 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
13207 for assembling.
13208
3a2edc79
UD
13209 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
13210 over namespaces.
13211
f3c2577f
UD
13212 * sunrpc/rpc_prot.c (rejected): Fix case value.
13213
294ce126
UD
13214 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13215 unsigned long long int to avoid warnings in shift.
13216
5e2b63c6
UD
13217 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13218 of use of trans.
13219 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13220 variable tmp.
13221
e7f4b08e
UD
13222 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13223 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13224 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13225
ab26144e
UD
13226 * nis/nis_table.c (nis_list): Use variable of correct type for
13227 result of __follow_path call.
13228
8a6d5255
AZ
132292011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13230
13231 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13232 of math functions ceil, trunc, floor, round, and sqrt, when
13233 avaliable on the platform.
13234 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13235 name clash.
13236 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13237 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13238 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13239
aaddc98c
MP
132402011-10-30 Marek Polacek <mpolacek@redhat.com>
13241
13242 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13243 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13244
95b7042b
RM
132452011-11-11 Roland McGrath <roland@hack.frob.com>
13246
13247 * include/unistd.h: Fix __readlink return type.
13248 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13249
57769839
UD
132502011-11-11 Ulrich Drepper <drepper@gmail.com>
13251
13252 * stdlib/ucontext.h: Undo last change for makecontext.
13253
edc5984d
AS
132542011-11-11 Andreas Schwab <schwab@redhat.com>
13255
98591e58
AS
13256 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13257
edc5984d
AS
13258 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13259 * setjmp/setjmp.h: Mark functions as non-leaf.
13260 * setjmp/bits/setjmp2.h: Likewise.
13261 * stdlib/ucontext.h: Likewise.
13262
77cdc054
AS
132632011-11-10 Andreas Schwab <schwab@redhat.com>
13264
13265 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13266 (reused_arena): Don't check arena limit.
13267 (arena_get2): Atomically check arena limit.
13268
fe72eebd
UD
132692011-11-08 Ulrich Drepper <drepper@gmail.com>
13270
5f078c32
UD
13271 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13272 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13273
fe72eebd
UD
13274 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13275 instructions.
13276
ae1bc2fa
AS
132772011-11-07 Andreas Schwab <schwab@redhat.com>
13278
7583a88d
AS
13279 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13280 handler when locking.
13281
ae1bc2fa
AS
13282 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13283 Fix size of allocated buffer.
13284
10fb0bfa
AS
132852011-11-04 Andreas Schwab <schwab@redhat.com>
13286
998832a4
AS
13287 [BZ #10103]
13288 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13289 declarations for long double functions.
13290 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13291
10fb0bfa
AS
13292 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13293
3d7ba52b
AS
132942011-11-03 Andreas Schwab <schwab@redhat.com>
13295
a9ae54a1
AS
13296 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13297 installed.
13298
3d7ba52b
AS
13299 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13300 is disabled.
13301
bc8db248
ST
133022011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13303
13304 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13305
45b96dd6
AS
133062011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13307
647776f6
AS
13308 * include/alloca.h (stackinfo_alloca_round): Define.
13309 (extend_alloca): Use it.
13310 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13311 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13312 here.
13313
d91a8b93
AS
13314 * scripts/check-local-headers.sh: Ignore libaudit.h.
13315
45b96dd6
AS
13316 * nscd/Makefile (extra-objs): Make recursively expanded.
13317
432d41ce
UD
133182011-11-01 Ulrich Drepper <drepper@gmail.com>
13319
34372fc6
UD
13320 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13322
fadb59f8
UD
13323 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13324 * posix/tst-rfc3484-2.c: Likewise.
13325 * posix/tst-rfc3484-3.c: Likewise.
13326
78239589
UD
13327 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13328 process_vm_writev.
13329 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13330 process_vm_writev.
13331 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13332 process_vm_writev from libc using GLIBC_2.15 version.
13333
432d41ce
UD
13334 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13335
02f9c6cf
PP
133362011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13337
13338 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13339 stack usage.
13340
3a2c0242
UD
133412011-10-31 Ulrich Drepper <drepper@gmail.com>
13342
f4ec4833
UD
13343 [BZ #13367]
13344 * nss/getent.c (initgroups_keys): Show error message in case no group
13345 names are given.
13346
3a2c0242
UD
13347 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13348 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13349 __bump_nl_timestamp.
13350 * nscd/connections (nscd_init): When host database is served open
13351 netlink socket and request notification about configuration changes.
13352 (main_loop_poll): Track netlink file descriptor and bump timestamp
13353 in case data becomes available.
13354 (main_loop_epoll): Likewise.
13355 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13356 (database_pers_head): Add extra_data fileds.
13357 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13358 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13359 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13360 Adjust caller.
13361 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13362 in6ai data, call __free_in6ai.
13363 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13364 Add -DHAVE_NETLINK.
13365 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13366 interface information. Reuse previous data if netlink timestamp
13367 is not changed.
13368 (__bump_nl_timestamp): New function.
13369 (__free_in6ai): New function.
13370
636064eb
UD
133712011-10-30 Ulrich Drepper <drepper@gmail.com>
13372
13373 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13374 close_not_cancel_no_status here.
13375 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13376
9beb2334
UD
133772011-10-29 Ulrich Drepper <drepper@gmail.com>
13378
6ef76f3b
UD
13379 [BZ #13276]
13380 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13381 return value.
13382
0ffc4f3e 13383 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13384 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13385 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13386
cb95113e
UD
133872011-07-03 Andreas Jaeger <aj@suse.de>
13388
13389 [BZ #10709]
13390 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13391 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13392 * math/libm-test.inc (sin_test): Add test case.
13393
a1b560ff
UD
133942011-10-29 Ulrich Drepper <drepper@gmail.com>
13395
c9aaface
UD
13396 [BZ #13337]
13397 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13398 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13399
d272e7f1
UD
13400 * elf/chroot_canon.c (chroot_canon): Cleanups.
13401
1bc33071
UD
13402 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13403
1760874d
TJ
13404 [BZ #13335]
13405 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13406 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13407
51d91b18
UD
13408 * string/test-strchr.c: Make usable for strchrnul testing.
13409 * string/test-strchrnul.c: New file.
13410 * string/Makefile (strop-tests): Add strchrnul.
13411
a1b560ff 13412 * po/it.po: Update from translation team.
b611fb81 13413 * po/es.po: Likewise.
a1b560ff 13414
a5b81e1f
UD
134152011-10-28 Ulrich Drepper <drepper@gmail.com>
13416
fd52bc6d
UD
13417 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13418 the three constants needed as parameters. Drop the others.
13419 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13420 __m128i_strloadu_tolower.
52e4b9eb
UD
13421 Create and initialize variable zero and use it in all the places
13422 where _mm_setzero_si128 was used.
fd52bc6d 13423
a5b81e1f
UD
13424 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13425 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13426 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13427 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13428 anymore.
13429 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13430 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13431 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13432 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13433 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13434 __mpranred, __mptan.
13435 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13436 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13437 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13438 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13439 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13440 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13441 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13442 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13443 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13444
b4343346
AS
134452011-10-28 Andreas Schwab <schwab@redhat.com>
13446
0c92d8a8
AS
13447 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13448 redefine if SHARED.
13449 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13450
b4343346
AS
13451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13452 wide char related routines to wcsmbs subdir.
13453
3871f58f
AS
134542011-10-27 Andreas Schwab <schwab@redhat.com>
13455
13456 [BZ #13344]
13457 * misc/sys/cdefs.h (__THROWNL): Define.
13458 * posix/unistd.h: Use __THREADNL instead of __THREAD
13459 for memory synchronization functions.
13460
94d44d9f
RM
134612011-10-26 Roland McGrath <roland@hack.frob.com>
13462
21b64b15 13463 [BZ #13349]
94d44d9f
RM
13464 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13465 doesn't exist.
13466 * manual/stdio.texi (Obstack Streams): Node removed.
13467
f6ce9294
AS
134682011-10-26 Andreas Schwab <schwab@redhat.com>
13469
80479147
AS
13470 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13471 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13472 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13473
f6ce9294
AS
13474 * math/math_private.h (math_force_eval): Allow non-addressable
13475 arguments.
13476 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13477
618280a1
UD
134782011-10-25 Ulrich Drepper <drepper@gmail.com>
13479
e0016b11
UD
13480 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13481 file is not needed.
13482
13483 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13484 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13485 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13486 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13487 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13488 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13489 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13490 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13491 Add AVX variants.
13492 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13493 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13494 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13495 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13496 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13497 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13498 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13499 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13500 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13501 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13502 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13503 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13504 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13505 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13506 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13507 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13508 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13509 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13510 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13511
13512 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13513 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13514
618280a1
UD
13515 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13516 place. Use VEX encoding when compiling for AVX.
13517
37822576
AS
135182011-10-25 Andreas Schwab <schwab@redhat.com>
13519
1f1e1947
AS
13520 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13521 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13522
37822576
AS
13523 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13524
31ea014d
UD
135252011-10-25 Ulrich Drepper <drepper@gmail.com>
13526
d7826aa1 13527 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13528 useless if() expression.
d7826aa1
UD
13529 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13538 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13539 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13540 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13541 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13542 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13543 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13544 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13545 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13547 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13548
31ea014d
UD
13549 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13550
16437fec
AS
135512011-10-25 Andreas Schwab <schwab@redhat.com>
13552
13553 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13554 condition.
13555 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13556
31d3cc00
UD
135572011-10-25 Ulrich Drepper <drepper@gmail.com>
13558
13559 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13560 .text section. Avoid duplicate constants.
13561 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13571 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13573 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13576 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13578 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13584 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13585 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13586 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13587 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13588 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13589 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13590 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13591 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13592 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13593 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13594 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13595 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13596 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13597 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13598 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13599 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13600 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13601 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13602 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13603 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13604 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13605 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13606
58985aa9
UD
136072011-10-24 Ulrich Drepper <drepper@gmail.com>
13608
202c9deb
UD
13609 * sysdeps/x86_64/dla.h: Move to ...
13610 * sysdeps/x86_64/fpu/dla.h: ...here.
13611 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13612 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13613
af968f62
UD
13614 * config.make.in: Add have-mfma4 entry.
13615 * configure.in: Substitute libc_cv_cc_fma4.
13616 * math/Makefile (dbl-only-routines): Add sincostab.
13617 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13618 Use __sincostab not sincos.
13619 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13620 name is a macro.
13621 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13625 using __copysign.
13626 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13627 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13628 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13629 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13630 and __inv.
13631 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13632 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13633 __copysign.
13634 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13635 define aliases when function name is a macro.
13636 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13637 sysdeps/ieee754/dbl-64/sincos.tbl.
13638 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13639 fma4-enabled routines.
13640 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13641 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13642 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13643 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13644 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13645 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13646 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13647 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13648 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13649 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13650 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13651 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13652 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13653 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13654 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13655 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13656 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13657 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13658 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13659 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13660 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13661 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13662 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13663 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13664 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13665 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13666 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13667 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13668 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13669 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13670
58985aa9
UD
13671 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13672 rename.
13673 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13675 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13676 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13677 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13681
a201fbcf
AS
136822011-10-24 Andreas Schwab <schwab@redhat.com>
13683
13684 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13685
fc2ee42a
LD
136862011-10-23 Ulrich Drepper <drepper@gmail.com>
13687
bb3129bd
UD
13688 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13689
0275fff8
UD
13690 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13691 prediction.
13692 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13693
2fa2ae85
UD
13694 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13695 Remove unused variable magic_bits.
13696 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13697
fc2ee42a
LD
13698 * string/strnlen.c: Define and use STRNLEN macro.
13699 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13700 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13701 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13702 * wcsmbs/wcslen.c: Define and use WCSLEN.
13703 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13704 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13705 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13706 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13707 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13708 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13709 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13710
ce7dd29f
LD
137112011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13712
13713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13714 strnlen-sse2-no-bsf.
13715 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13716 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13717 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13718 Add strnlen support.
13719 (USE_AS_STRNLEN): New macro.
13720 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13721 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13722 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13723 * sysdeps/x86_64/wcslen.S: New file.
13724
979c70a3
MZ
137252011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13726
13727 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13728 XMM-moves are used for copying on small sizes.
13729
2d09f82f
LD
137302011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13731
13732 * wcsmbs/Makefile (strop-tests): Add wcschr.
13733 * wcsmbs/test-wcschr.c: New file.
13734 * string/test-strchr.c: Update.
13735 Add wcschr support.
13736 (WIDE): New macro.
13737
619fccca
LD
137382011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13739
2d09f82f 13740 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13741 * wcsmbs/test-wcslen.c: New file.
13742 * string/test-strlen.c: Update.
13743 Add wcslen support.
13744 (WIDE): New macro.
13745
09f699ea
UD
137462011-10-23 Ulrich Drepper <drepper@gmail.com>
13747
13748 * po/it.po: Update from translation team.
13749
95584d3b
LD
137502011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13751
13752 * sysdeps/x86_64/wcscmp.S: Update.
13753 Fix wrong comparison semantics.
13754 wcscmp shall use signed comparison not unsigned.
13755 Don't use substraction to avoid overflow bug.
13756 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13757 * wcsmbc/wcscmp.c: Likewise.
13758 * string/test-strcmp.c: Likewise.
13759 Add new tests to check cases with negative values.
13760
c8b3296b
UD
137612011-10-23 Ulrich Drepper <drepper@gmail.com>
13762
13763 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13764 * sysdeps/x86_64/dla.h: ...here. New file.
13765 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13770 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13772 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13773 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13774
246ad57a
AS
137752011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13776
13777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13778 __ynl_finite aliases.
13779
a1a87169
UD
137802011-10-22 Ulrich Drepper <drepper@gmail.com>
13781
0d355eb7
UD
13782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13783
a1a87169
UD
13784 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13785 define DLA_FMA.
13786 [DLA_FMA] (EMULV): Use DLA_FMA.
13787 [DLA_FMA] (MUL12): Use EMULV.
13788 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13789 that are not needed.
13790 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13792 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13793 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13795 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13797
ee2aafe0
AS
137982011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13799
13800 * math/s_nan.c: Undef __nan.
13801 * math/s_nanf.c: Undef __nanf.
13802 * math/s_nanl.c: Undef __nanl.
13803 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13804 "math_private.h".
13805
bc62c2fb
UD
138062011-10-22 Ulrich Drepper <drepper@gmail.com>
13807
77425c63
UD
13808 * math/s_catan.c: Add branch predictions.
13809 * math/s_catanf.c: Likewise.
13810 * math/s_catanh.c: Likewise.
13811 * math/s_catanhf.c: Likewise.
13812 * math/s_catanhl.c: Likewise.
13813 * math/s_catanl.c: Likewise.
13814 * math/s_cexp.c: Likewise.
13815 * math/s_cexpf.c: Likewise.
13816 * math/s_cexpl.c: Likewise.
13817 * math/s_clog.c: Likewise.
13818 * math/s_clog10.c: Likewise.
13819 * math/s_clog10f.c: Likewise.
13820 * math/s_clog10l.c: Likewise.
13821 * math/s_clogf.c: Likewise.
13822 * math/s_clogl.c: Likewise.
13823 * math/s_csqrt.c: Likewise.
13824 * math/s_csqrtf.c: Likewise.
13825 * math/s_csqrtl.c: Likewise.
13826 * math/s_ctanf.c: Likewise.
13827 * math/s_ctanh.c: Likewise.
13828 * math/s_ctanhf.c: Likewise.
13829 * math/s_ctanhl.c: Likewise.
13830 * math/s_ctanl.c: Likewise.
13831
bc62c2fb
UD
13832 * math/math_private.h: Define __nan, __nanf, __nanl.
13833 * math/s_cacosh.c: Include <math_private.h>.
13834 * math/s_cacoshl.c: Likewise.
13835 * math/s_casinh.c: Likewise.
13836 * math/s_casinhf.c: Likewise.
13837 * math/s_casinhl.c: Likewise.
13838 * math/s_ccos.c: Rely entire on ccosh.
13839 * math/s_ccosf.c: Rely entire on ccoshf.
13840 * math/s_ccosl.c: Rely entirely on ccoshl.
13841 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13842 Remove tests for FE_INVALID.
13843 * math/s_ccoshf.c: Likewise.
13844 * math/s_ccoshl.c: Likewise.
13845 * math/s_csin.c: Likewise.
13846 * math/s_csinf.c: Likewise.
13847 * math/s_csinh.c Likewise.
13848 * math/s_csinhf.c: Likewise.
13849 * math/s_csinhl.c: Likewise.
13850 * math/s_csinl.c: Likewise.
13851 * math/s_ctan.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13853 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13854 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13855
8ec250a4
UD
138562011-10-21 Ulrich Drepper <drepper@gmail.com>
13857
c196fed8
UD
13858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13859 compilation problems.
13860
8ec250a4
UD
13861 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13862 __builtin_expect.
13863
8d4f46c6
UD
138642011-10-20 Ulrich Drepper <drepper@gmail.com>
13865
ed72b654
UD
13866 * sysdeps/i386/configure.in: Test for -mfma4 option.
13867 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13868 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13869 COMMON_CPUID_INDEX_80000001.
13870 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13871 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13872 use it if FMA3 is not supported.
13873 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13874
8d4f46c6
UD
13875 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13876 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13877
d45c60c2
AS
138782011-10-20 Andreas Schwab <schwab@redhat.com>
13879
13880 [BZ #12892]
13881 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13882 it would create a cycle with a link time dependency.
13883
d9a4d2ab
UD
138842011-10-19 Ulrich Drepper <drepper@gmail.com>
13885
855d1560
UD
13886 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13887 instruction.
13888 * string/Makefile (strop-tests): Add rawmemchr.
13889 * string/test-rawmemchr.c: New file.
13890
d9a4d2ab
UD
13891 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13892 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13893 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13894 when compiling str{,n}casecmp and when AVX is available. Hook up
13895 new optimized code in initializers.
13896
8f3b1ffe
AS
138972011-10-19 Andreas Schwab <schwab@redhat.com>
13898
13899 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13900 __feraiseexcept instead of feraiseexcept.
13901
d38f1dba
UD
139022011-10-18 Ulrich Drepper <drepper@gmail.com>
13903
d9a8d0ab
UD
13904 * math/math_private.h: Define defaults for libc_fetestexcept and
13905 libc_feupdateenv.
13906 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13907 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13908 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13909 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13910 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13911 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13912 libc_fetestexcept and libc_feupdateenv.
13913
4855e3dd
UD
13914 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13915 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13916 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13917 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13918 libc_feholdexcept_setround.
13919
581d30e3
UD
13920 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13921 Add s_nearbyint-c and s_nearbyintf-c.
13922 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13923 nearbyintf inlines.
13924 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13925 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13926 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13927 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13928
d38f1dba
UD
13929 * math/math_private.h: Define defaults for libc_fegetround,
13930 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13931 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13932 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13933 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13934 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13935 standard functions.
13936 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13937 Remove comments and hacks for old compiler versions.
13938 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13939 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13940 libc_feholdexceptl.
13941
caa6c9d8
AS
139422011-10-18 Andreas Schwab <schwab@redhat.com>
13943
13944 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13945 (__feraiseexcept_renamed): Add __NTH.
13946 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13947 namespace violations.
13948
97c066e6
UD
139492011-10-17 Ulrich Drepper <drepper@gmail.com>
13950
99ce7b04
UD
13951 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13952
1004d182
UD
13953 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13954
228a984d
UD
13955 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13956 recently added interfaces.
13957 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13958
c8553a6a
UD
13959 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13960 about macro parameter expansion.
13961
ed22dcf6
UD
13962 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13963 __NO_MATH_INLINES is defined. Cleanups.
13964
13965 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13966 and __floorf is target has SSE4.1.
13967 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13968 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13969 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13970 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13971
b171c137
UD
13972 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13973 name.
13974 (floorf): Likewise.
13975
97c066e6
UD
13976 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13977
629f62ef
AS
139782011-10-17 Andreas Schwab <schwab@redhat.com>
13979
49a43d80
AS
13980 * misc/sys/cdefs.h: Fix last change.
13981
629f62ef
AS
13982 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13983 database lookup.
13984
e453f6cd
UD
139852011-10-16 Ulrich Drepper <drepper@gmail.com>
13986
aa78043a
UD
13987 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13988
ad0f5cad
UD
13989 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13990 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13993 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13994 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13995 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13996 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13997 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13998 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13999 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14000 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14001 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14002 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14003 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14004 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14005 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14006 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14007 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14008 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14009 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14010 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14011
14012 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14013 ceil, ceilf, floor, floorf.
14014
14015 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14016 Perform IRELATIVE relocations last.
14017
e453f6cd
UD
14018 * elf/do-rel.h: Add another parameter nrelative, replacing the
14019 local variable with the same name. Change name of the function
14020 to end in Rel or Rela (uppercase).
14021 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14022 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14023 elf_dynamic_do_##reloc function.
14024
fd5bdc09
UD
140252011-10-15 Ulrich Drepper <drepper@gmail.com>
14026
79b195b5
UD
14027 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14028 is sufficient, at least on modern CPUs.
14029
d4a28569
UD
14030 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14031
b61099b5
UD
14032 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14033 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14034
bcf01e6d
UD
14035 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14036 __expl_finite.
14037 * math/bits/math-finite.h: Add entries for exp.
14038 * math/e_expl.c: Add __*_finite alias.
14039 * sysdeps/i386/fpu/e_exp.S: Likewise.
14040 * sysdeps/i386/fpu/e_expf.S: Likewise.
14041 * sysdeps/i386/fpu/e_expl.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14043 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14044 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14045 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14047 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14048 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14049
ba1a0d59
UD
14050 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14051 is sufficient, at least on modern CPUs.
14052
fd5bdc09
UD
14053 * ctype/ctype-info.c (__ctype_init): Define.
14054 * include/ctype.h (__ctype_init): Declare.
14055 (__ctype_b_loc): The variable is always initialized.
14056 (__ctype_toupper_loc): Likewise.
14057 (__ctype_tolower_loc): Likewise.
14058 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14059 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14060
7872cfb0
AS
140612011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14062
b468825a
AS
14063 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14064
7872cfb0
AS
14065 * configure.in: Also look in $cxxmachine/include for C++ system
14066 headers.
14067
be13f7bf
LD
140682011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14069
14070 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14071 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14072 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14073 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14074 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14075 (USE_AS_WMEMCMP): New macro.
14076 Fixing indents.
14077 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14078 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14079 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14080 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14082 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14083 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14084 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14085 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14086 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14087 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14088 (USE_AS_WMEMCMP): New macro.
14089 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14090 * sysdeps/string/test-memcmp.c: Update.
14091 Fix simple_wmemcmp.
14092 Add new tests.
14093 * wcsmbs/wmemcmp.c: Update.
14094 (WMEMCMP): New macro.
14095 Fix overflow bug.
14096
556a2007
AJ
140972011-10-12 Andreas Jaeger <aj@suse.de>
14098
14099 [BZ #13268]
14100 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14101
538faaa7
UD
141022011-10-15 Ulrich Drepper <drepper@gmail.com>
14103
ab6737ff
UD
14104 * libio/iofwide.c (do_length): Avoid warning.
14105
538faaa7
UD
14106 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14107
396a21b1
UD
141082011-10-14 Ulrich Drepper <drepper@gmail.com>
14109
cdf2901f
UD
14110 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14111
38ad40ce
UD
14112 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14113 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14114 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14115 * sysdeps/i386/i686/fpu/e_log.S: New file.
14116 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14117 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14118
396a21b1
UD
14119 * ctype/ctype.h: Add support for inlined isXXX functions when
14120 compiling C++ code.
14121
6b1f68c9
AS
141222011-10-14 Andreas Schwab <schwab@redhat.com>
14123
349290c0
AS
14124 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14125
6b1f68c9
AS
14126 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14127
f2282d42
RM
141282011-10-13 Roland McGrath <roland@hack.frob.com>
14129
14130 [BZ #13291]
14131 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14132
5298ffa8
AS
141332011-10-13 Andreas Schwab <schwab@redhat.com>
14134
714fad23
AS
14135 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14136 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14137 feraiseexcept.
14138
81dcc7fb
AS
14139 * sysdeps/x86_64/memrchr.S: Check for zero size.
14140
5298ffa8
AS
14141 * string/stratcliff.c: Add memrchr tests.
14142
951fbcec
LD
141432011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14144
14145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14146 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14147 rawmemchr-sse2 rawmemchr-sse2-bsf.
14148 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14149 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14150 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14151 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14152 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14153 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14154 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14155 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14156 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14157 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14158 * string/memrchr.c (MEMRCHR): New macro.
14159
0ac5ae23
UD
141602011-10-12 Ulrich Drepper <drepper@gmail.com>
14161
14162 Add integration with gcc's -ffinite-math-only and optimize wrapper
14163 functions in libm.
14164 * Versions.def: Define GLIBC_2.15 version for libm.
14165 * math/Makefile (headers): Add bits/math-finite.h.
14166 * math/bits/math-finite.h: New file.
14167 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14168 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14169 * math/e_acoshl.c: Add __*_finite alias.
14170 * math/e_acosl.c: Likewise.
14171 * math/e_asinl.c: Likewise.
14172 * math/e_atan2l.c: Likewise.
14173 * math/e_atanhl.c: Likewise.
14174 * math/e_coshl.c: Likewise.
14175 * math/e_exp10.c: Likewise.
14176 * math/e_exp10f.c: Likewise.
14177 * math/e_exp10l.c: Likewise.
14178 * math/e_exp2l.c: Likewise.
14179 * math/e_fmodl.c: Likewise.
14180 * math/e_gammal_r.c: Likewise.
14181 * math/e_hypotl.c: Likewise.
14182 * math/e_j0l.c: Likewise.
14183 * math/e_j1l.c: Likewise.
14184 * math/e_jnl.c: Likewise.
14185 * math/e_lgammal_r.c: Likewise.
14186 * math/e_log10l.c: Likewise.
14187 * math/e_log2l.c: Likewise.
14188 * math/e_logl.c: Likewise.
14189 * math/e_powl.c: Likewise.
14190 * math/e_sinhl.c: Likewise.
14191 * math/e_sqrtl.c: Likewise.
14192 * math/e_scalb.c: Completely rewritten and optimized.
14193 * math/e_scalbf.c: Likewise.
14194 * math/e_scalbl.c: Likewise.
14195 * math/w_acos.c: Likewise.
14196 * math/w_acosf.c: Likewise.
14197 * math/w_acosl.c: Likewise.
14198 * math/w_acosh.c: Likewise.
14199 * math/w_acoshf.c: Likewise.
14200 * math/w_acoshl.c: Likewise.
14201 * math/w_asin.c: Likewise.
14202 * math/w_asinf.c: Likewise.
14203 * math/w_asinl.c: Likewise.
14204 * math/w_atan2.c: Likewise.
14205 * math/w_atan2f.c: Likewise.
14206 * math/w_atan2l.c: Likewise.
14207 * math/w_atanh.c: Likewise.
14208 * math/w_atanhf.c: Likewise.
14209 * math/w_atanhl.c: Likewise.
14210 * math/w_exp10.c: Likewise.
14211 * math/w_exp10f.c: Likewise.
14212 * math/w_exp10l.c: Likewise.
14213 * math/w_fmod.c: Likewise.
14214 * math/w_fmodf.c: Likewise.
14215 * math/w_fmodl.c: Likewise.
14216 * math/w_j0.c: Likewise.
14217 * math/w_j0f.c: Likewise.
14218 * math/w_j0l.c: Likewise.
14219 * math/w_j1.c: Likewise.
14220 * math/w_j1f.c: Likewise.
14221 * math/w_j1l.c: Likewise.
14222 * math/w_jn.c: Likewise.
14223 * math/w_jnf.c: Likewise.
14224 * math/w_log.c: Likewise.
14225 * math/w_logf.c: Likewise.
14226 * math/w_logl.c: Likewise.
14227 * math/w_log10.c: Likewise.
14228 * math/w_log10f.c: Likewise.
14229 * math/w_log10l.c: Likewise.
14230 * math/w_log2.c: Likewise.
14231 * math/w_log2f.c: Likewise.
14232 * math/w_log2l.c: Likewise.
14233 * math/w_pow.c: Likewise.
14234 * math/w_powf.c: Likewise.
14235 * math/w_powl.c: Likewise.
14236 * math/w_remainder.c: Likewise.
14237 * math/w_remainderf.c: Likewise.
14238 * math/w_remainderl.c: Likewise.
14239 * math/w_scalb.c: Likewise.
14240 * math/w_scalbf.c: Likewise.
14241 * math/w_scalbl.c: Likewise.
14242 * math/w_sqrt.c: Likewise.
14243 * math/w_sqrtf.c: Likewise.
14244 * math/w_sqrtl.c: Likewise.
14245 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14246 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14247 used.
14248 * math/math_private.h: Declare __kernel_standard_f.
14249 * math/w_cosh.c: Remove cruft and optimize a bit.
14250 * math/w_coshf.c: Likewise.
14251 * math/w_coshl.c: Likewise.
14252 * math/w_exp2.c: Likewise.
14253 * math/w_exp2f.c: Likewise.
14254 * math/w_exp2l.c: Likewise.
14255 * math/w_hypot.c: Likewise.
14256 * math/w_hypotf.c: Likewise.
14257 * math/w_hypotl.c: Likewise.
14258 * math/w_lgamma.c: Likewise.
14259 * math/w_lgamma_r.c: Likewise.
14260 * math/w_lgammaf.c: Likewise.
14261 * math/w_lgammaf_r.c: Likewise.
14262 * math/w_lgammal.c: Likewise.
14263 * math/w_lgammal_r.c: Likewise.
14264 * math/w_sinh.c: Likewise.
14265 * math/w_sinhf.c: Likewise.
14266 * math/w_sinhl.c: Likewise.
14267 * math/w_tgamma.c: Likewise.
14268 * math/w_tgammaf.c: Likewise.
14269 * math/w_tgammal.c: Likewise.
14270 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14271 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14272 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14273 Minor optimizations. Pretty printing. Remove cruft.
14274 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14275 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14276 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14277 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14278 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14279 * sysdeps/i386/fpu/e_asin.S: Likewise.
14280 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14281 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14282 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14283 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14284 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14285 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14286 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14287 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14288 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14289 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14290 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14291 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14292 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14293 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14294 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14295 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14296 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14297 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14298 * sysdeps/i386/fpu/e_log.S: Likewise.
14299 * sysdeps/i386/fpu/e_log10.S: Likewise.
14300 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14301 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14302 * sysdeps/i386/fpu/e_log2.S: Likewise.
14303 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14304 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14305 * sysdeps/i386/fpu/e_logf.S: Likewise.
14306 * sysdeps/i386/fpu/e_logl.S: Likewise.
14307 * sysdeps/i386/fpu/e_pow.S: Likewise.
14308 * sysdeps/i386/fpu/e_powf.S: Likewise.
14309 * sysdeps/i386/fpu/e_powl.S: Likewise.
14310 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14311 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14312 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14313 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14314 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14315 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14316 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14317 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14318 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14319 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14320 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14321 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14322 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14323 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14324 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14325 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14326 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14327 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14332 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14333 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14335 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14336 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14337 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14340 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14341 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14342 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14343 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14344 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14345 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14346 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14347 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14348 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14349 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14350 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14351 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14352 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14353 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14354 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14355 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14356 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14357 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14358 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14359 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14360 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14361 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14362 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14365 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14367 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14374 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14375 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14376 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14377 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14379 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14380 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14381 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14382 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14383 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14384 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14385 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14388 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14389 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14390 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14391 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14392 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14393 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14394 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14395 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14396 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14397 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14398 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14399 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14400 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14401 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14402 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14403 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14404 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14405 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14406 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14407 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14408 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14409 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14410 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14411 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14412 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14413 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14414 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14415 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14416 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14417 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14418 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14419 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14420 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14421 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14422 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14423 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14424 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14425 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14426 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14427 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14428 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14429 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14430 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14431 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14432 (__isnanf): Likewise.
14433 (__isinf_ns): Likewise.
14434 (__isinf_nsf): Likewise.
14435 (__finite): Likewise.
14436 (__finitef): Likewise.
14437 (__ieee754_sqrt): Define as macro.
14438 (__ieee754_sqrtf): Define as macro.
14439 (__ieee754_sqrtl): Define as macro.
14440 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14441 inlined copy.
14442 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14443 __FINITE_MATH_ONLY__ consistent.
14444 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14445
12cc2fcd
AS
144462011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14447
a843a204
AS
14448 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14449 of rawmemchr.
14450
12cc2fcd
AS
14451 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14452
c853acd5
UD
144532011-10-09 Ulrich Drepper <drepper@gmail.com>
14454
14455 * po/ja.po: Update from translation team.
14456
c658d255
RM
144572011-10-08 Roland McGrath <roland@hack.frob.com>
14458
110946e4
RM
14459 * locale/programs/locarchive.c (prepare_address_space): New function.
14460 (create_archive, enlarge_archive, open_archive): Use it.
14461
50604220
RM
14462 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14463 inside [SHARED], where it is used.
14464
c658d255
RM
14465 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14466
14467 * nss/getent.c (netgroup_keys): Remove unused variable.
14468 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14469
6a621eb7
UD
144702011-10-08 Ulrich Drepper <drepper@gmail.com>
14471
7edb55ce
UD
14472 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14473 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14474 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14475 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14476 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14477 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14478 * math/Makefile (libm-calls): Add s_isinf_ns.
14479 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14480 * math/multc3.c: Likewise.
14481 * math/s_casin.c: Likewise.
14482 * math/s_casinf.c: Likewise.
14483 * math/s_casinl.c: Likewise.
14484 * math/s_ccos.c: Likewise.
14485 * math/s_ccosf.c: Likewise.
14486 * math/s_ccosl.c: Likewise.
14487 * math/s_ctan.c: Likewise.
14488 * math/s_ctanf.c: Likewise.
14489 * math/s_ctanh.c: Likewise.
14490 * math/s_ctanhf.c: Likewise.
14491 * math/s_ctanhl.c: Likewise.
14492 * math/s_ctanl.c: Likewise.
14493 * math/w_fmod.c: Likewise.
14494 * math/w_fmodf.c: Likewise.
14495 * math/w_fmodl.c: Likewise.
14496 * math/w_remainder.c: Likewise.
14497 * math/w_remainderf.c: Likewise.
14498 * math/w_remainderl.c: Likewise.
14499 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14500 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14501 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14503 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14504 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14505 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14506 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14507
187da0ae
UD
14508 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14509 of the number.
14510 * stdio-common/printf_fphex.c: Likewise.
14511 * stdio-common/printf_size.c: Likewise.
14512
9277c064
UD
14513 * math/e_exp10.c: Include math_private.h using <...> not "...".
14514 * math/e_exp10f.c: Likewise.
14515 * math/e_exp10l.c: Likewise.
14516 * math/e_exp2l.c: Likewise.
14517 * math/e_j0l.c: Likewise.
14518 * math/e_j1l.c: Likewise.
14519 * math/e_jnl.c: Likewise.
14520 * math/e_lgammal_r.c: Likewise.
14521 * math/e_rem_pio2l.c: Likewise.
14522 * math/e_scalb.c: Likewise.
14523 * math/e_scalbf.c: Likewise.
14524 * math/e_scalbl.c: Likewise.
14525 * math/k_cosl.c: Likewise.
14526 * math/k_sinl.c: Likewise.
14527 * math/k_tanl.c: Likewise.
14528 * math/s_cacoshf.c: Likewise.
14529 * math/s_catan.c: Likewise.
14530 * math/s_catanf.c: Likewise.
14531 * math/s_catanh.c: Likewise.
14532 * math/s_catanhf.c: Likewise.
14533 * math/s_catanhl.c: Likewise.
14534 * math/s_catanl.c: Likewise.
14535 * math/s_ccosh.c: Likewise.
14536 * math/s_ccoshf.c: Likewise.
14537 * math/s_ccoshl.c: Likewise.
14538 * math/s_cexp.c: Likewise.
14539 * math/s_cexpf.c: Likewise.
14540 * math/s_cexpl.c: Likewise.
14541 * math/s_clog.c: Likewise.
14542 * math/s_clog10.c: Likewise.
14543 * math/s_clog10f.c: Likewise.
14544 * math/s_clog10l.c: Likewise.
14545 * math/s_clogf.c: Likewise.
14546 * math/s_clogl.c: Likewise.
14547 * math/s_csin.c: Likewise.
14548 * math/s_csinf.c: Likewise.
14549 * math/s_csinh.c: Likewise.
14550 * math/s_csinhf.c: Likewise.
14551 * math/s_csinhl.c: Likewise.
14552 * math/s_csinl.c: Likewise.
14553 * math/s_csqrt.c: Likewise.
14554 * math/s_csqrtf.c: Likewise.
14555 * math/s_csqrtl.c: Likewise.
14556 * math/s_ctan.c: Likewise.
14557 * math/s_ctanf.c: Likewise.
14558 * math/s_ctanh.c: Likewise.
14559 * math/s_ctanhf.c: Likewise.
14560 * math/s_ctanhl.c: Likewise.
14561 * math/s_ctanl.c: Likewise.
14562 * math/s_ldexp.c: Likewise.
14563 * math/s_ldexpf.c: Likewise.
14564 * math/s_ldexpl.c: Likewise.
14565 * math/s_significand.c: Likewise.
14566 * math/s_significandf.c: Likewise.
14567 * math/s_significandl.c: Likewise.
14568 * math/w_acos.c: Likewise.
14569 * math/w_acosf.c: Likewise.
14570 * math/w_acosh.c: Likewise.
14571 * math/w_acoshf.c: Likewise.
14572 * math/w_acoshl.c: Likewise.
14573 * math/w_acosl.c: Likewise.
14574 * math/w_asin.c: Likewise.
14575 * math/w_asinf.c: Likewise.
14576 * math/w_asinl.c: Likewise.
14577 * math/w_atan2.c: Likewise.
14578 * math/w_atan2f.c: Likewise.
14579 * math/w_atan2l.c: Likewise.
14580 * math/w_atanh.c: Likewise.
14581 * math/w_atanhf.c: Likewise.
14582 * math/w_atanhl.c: Likewise.
14583 * math/w_cosh.c: Likewise.
14584 * math/w_coshf.c: Likewise.
14585 * math/w_coshl.c: Likewise.
14586 * math/w_dremf.c: Likewise.
14587 * math/w_exp10.c: Likewise.
14588 * math/w_exp10f.c: Likewise.
14589 * math/w_exp10l.c: Likewise.
14590 * math/w_exp2.c: Likewise.
14591 * math/w_exp2f.c: Likewise.
14592 * math/w_fmod.c: Likewise.
14593 * math/w_fmodf.c: Likewise.
14594 * math/w_fmodl.c: Likewise.
14595 * math/w_hypot.c: Likewise.
14596 * math/w_hypotf.c: Likewise.
14597 * math/w_hypotl.c: Likewise.
14598 * math/w_j0.c: Likewise.
14599 * math/w_j0f.c: Likewise.
14600 * math/w_j0l.c: Likewise.
14601 * math/w_j1.c: Likewise.
14602 * math/w_j1f.c: Likewise.
14603 * math/w_j1l.c: Likewise.
14604 * math/w_jn.c: Likewise.
14605 * math/w_jnf.c: Likewise.
14606 * math/w_jnl.c: Likewise.
14607 * math/w_lgamma.c: Likewise.
14608 * math/w_lgamma_r.c: Likewise.
14609 * math/w_lgammaf.c: Likewise.
14610 * math/w_lgammaf_r.c: Likewise.
14611 * math/w_lgammal.c: Likewise.
14612 * math/w_lgammal_r.c: Likewise.
14613 * math/w_log.c: Likewise.
14614 * math/w_log10.c: Likewise.
14615 * math/w_log10f.c: Likewise.
14616 * math/w_log10l.c: Likewise.
14617 * math/w_log2.c: Likewise.
14618 * math/w_log2f.c: Likewise.
14619 * math/w_log2l.c: Likewise.
14620 * math/w_logf.c: Likewise.
14621 * math/w_logl.c: Likewise.
14622 * math/w_pow.c: Likewise.
14623 * math/w_powf.c: Likewise.
14624 * math/w_powl.c: Likewise.
14625 * math/w_remainder.c: Likewise.
14626 * math/w_remainderf.c: Likewise.
14627 * math/w_remainderl.c: Likewise.
14628 * math/w_scalb.c: Likewise.
14629 * math/w_scalbf.c: Likewise.
14630 * math/w_scalbl.c: Likewise.
14631 * math/w_sinh.c: Likewise.
14632 * math/w_sinhf.c: Likewise.
14633 * math/w_sinhl.c: Likewise.
14634 * math/w_sqrt.c: Likewise.
14635 * math/w_sqrtf.c: Likewise.
14636 * math/w_sqrtl.c: Likewise.
14637 * math/w_tgamma.c: Likewise.
14638 * math/w_tgammaf.c: Likewise.
14639 * math/w_tgammal.c: Likewise.
14640
6a621eb7
UD
14641 * po/ja.po: Update from translation team.
14642
bf582445
AJ
146432011-09-29 Andreas Jaeger <aj@suse.de>
14644
f9efbf3a
AJ
14645 [BZ #13179]
14646 * sunrpc/netname.c (netname2host): Fix logic.
14647
bf582445
AJ
14648 [BZ #6779]
14649 [BZ #6783]
14650 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14651 correctly.
14652 * math/w_remainder.c (__remainder): Likewise.
14653 * math/w_remainderf.c (__remainderf): Likewise.
14654 * math/libm-test.inc (remainder_test): Add test cases.
14655
48693bea
AK
146562011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14657
14658 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14659 sdiv_qrnnd.
14660
42622229
LD
146612011-10-07 Ulrich Drepper <drepper@gmail.com>
14662
14663 * string/test-memcmp.c: Avoid unncessary #defines.
14664 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14665
093ecf92
LD
146662011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14667
14668 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14669 Use new sse2 version for core i3 - i7 as it's faster
14670 than sse42 version.
14671 (bit_Prefer_PMINUB_for_stringop): New.
14672 * sysdeps/x86_64/rawmemchr.S: Update.
14673 Replace with faster SSE2 version.
14674 * sysdeps/x86_64/memrchr.S: New file.
14675 * sysdeps/x86_64/memchr.S: Update.
14676 Replace with faster SSE2 version.
14677
fde56e5c
MP
146782011-09-12 Marek Polacek <mpolacek@redhat.com>
14679
14680 * elf/dl-load.c (lose): Add cast to avoid warning.
14681
21fd49a9
UD
146822011-10-07 Ulrich Drepper <drepper@gmail.com>
14683
5a06e643
UD
14684 * po/ca.po: Update from translation team.
14685
684ae515
UD
14686 * inet/getnetgrent_r.c: Hook up nscd.
14687 * nscd/Makefile (routines): Add nscd_netgroup.
14688 (nscd-modules): Add netgroupcache.
14689 (CFLAGS-netgroupcache.c): Define.
14690 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14691 (cache_search): Add const to second parameter.
14692 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14693 INNETGR.
14694 (dbs): Add netgrdb entry.
14695 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14696 (verify_persistent_db): Handle netgrdb.
14697 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14698 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14699 GETFDNETGR.
14700 (netgroup_response_header): Define.
14701 (innetgroup_response_header): Define.
14702 (datahead): Add netgroup_response_header and innetgroup_response_header
14703 elements.
14704 * nscd/nscd.conf: Add entries for netgroup cache.
14705 * nscd/nscd.h (dbtype): Add netgrdb.
14706 (_PATH_NSCD_NETGROUP_DB): Define.
14707 (netgroup_iov_disabled): Declare.
14708 (xmalloc, xcalloc, xrealloc): Move declarations here.
14709 (cache_search): Adjust prototype.
14710 Add netgroup-related prototypes.
14711 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14712 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14713 (__nscd_innetgr): Declare.
14714 * nscd/selinux.c (perms): Use access_vector_t as element type and
14715 add netgroup-related initializers.
14716 * nscd/netgroupcache.c: New file.
14717 * nscd/nscd_netgroup.c: New file.
14718 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14719 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14720 For four parameters use innetgr.
14721 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14722 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14723 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14724 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14725
21fd49a9
UD
14726 * nscd/connections.c (register_traced_file): Don't register file
14727 for disabled databases.
14728
054c0457
UD
147292011-10-06 Ulrich Drepper <drepper@gmail.com>
14730
32b63198
UD
14731 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14732
054c0457
UD
14733 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14734 from tree and freeing node.
14735
64031225
JO
147362011-09-25 Jiri Olsa <jolsa@redhat.com>
14737
14738 * nss/nsswitch.c (__nss_database_lookup): Handle
14739 nss_parse_service_list out of memory case.
14740
0490345c
JO
147412011-09-15 Jiri Olsa <jolsa@redhat.com>
14742
14743 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14744 out of memory case.
14745
3a62d00d
AS
147462011-10-04 Andreas Schwab <schwab@redhat.com>
14747
14748 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14749 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14750 pass it down.
14751 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14752 elf_machine_rela, elf_machine_lazy_rel.
14753 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14754 (ELF_DYNAMIC_DO_REL): Likewise.
14755 (ELF_DYNAMIC_DO_RELA): Likewise.
14756 (ELF_DYNAMIC_RELOCATE): Likewise.
14757 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14758 to ELF_DYNAMIC_DO_REL.
14759 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14760 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14761 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14762 elf_machine_rela.
14763 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14764 skip_ifunc, don't call ifunc function if non-zero.
14765 (elf_machine_rela): Likewise.
14766 (elf_machine_lazy_rel): Likewise.
14767 (elf_machine_lazy_rela): Likewise.
14768 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14769 (elf_machine_lazy_rel): Likewise.
14770 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14771 Likewise.
14772 (elf_machine_lazy_rel): Likewise.
14773 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14774 Likewise.
14775 (elf_machine_lazy_rel): Likewise.
14776 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14777 (elf_machine_lazy_rel): Likewise.
14778 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14779 (elf_machine_lazy_rel): Likewise.
14780 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14781 (elf_machine_lazy_rel): Likewise.
14782 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14783 (elf_machine_lazy_rel): Likewise.
14784 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14785 (elf_machine_lazy_rel): Likewise.
14786 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14787 (elf_machine_lazy_rel): Likewise.
14788
68577918
UD
147892011-09-28 Ulrich Drepper <drepper@gmail.com>
14790
14791 * nss/nss_files/files-init.c (_nss_files_init): Use static
14792 initialization for all the *_traced_file variables.
14793
68822d74
AS
147942011-09-28 Andreas Schwab <schwab@redhat.com>
14795
14796 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14797
2056100b
RM
147982011-09-27 Roland McGrath <roland@hack.frob.com>
14799
14800 [BZ #13226]
14801 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14802
32c76b63
AS
148032011-09-27 Andreas Schwab <schwab@redhat.com>
14804
14805 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14806 Reread the line before reparsing it.
14807
bf972c9d
AS
148082011-09-26 Andreas Schwab <schwab@redhat.com>
14809
14810 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14811
e057a1b5
JM
148122011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14813 Maxim Kuvyrkov <maxim@codesourcery.com>
14814 Joseph Myers <joseph@codesourcery.com>
14815
14816 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14817 if needed for __stack_chk_guard.
14818
bc7e1c36
RM
148192011-09-19 Roland McGrath <roland@hack.frob.com>
14820
ecb1482f
RM
14821 * sysdeps/posix/spawni.c (script_execute): Always define it.
14822 It will be optimized away if unused.
14823 (maybe_script_execute): New function.
14824 (__spawni): Call it.
14825
bc7e1c36
RM
14826 * Makerules: Don't include tls.make.
14827 (config-tls): Always set to thread.
14828 * tls.make.c: File removed.
14829
1c3b002b
MF
148302011-09-19 Mike Frysinger <vapier@gentoo.org>
14831
14832 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14833 * config.make.in (CPPFLAGS-config): New substituted variable.
14834
2840865d
UD
148352011-09-15 Ulrich Drepper <drepper@gmail.com>
14836
88738eb6
UD
14837 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14838
cbf645a6 14839 [BZ #13192]
2840865d
UD
14840 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14841 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14842
b402e91a
RM
148432011-09-15 Roland McGrath <roland@hack.frob.com>
14844
14845 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14846 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14847 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14848 (CALL_FAIL): Likewise.
14849 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14850 (CALL_FAIL): Macro removed.
14851 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14852
4c1a1f71
UD
148532011-09-15 Ulrich Drepper <drepper@gmail.com>
14854
14855 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14856 for __FINITE_MATH_ONLY__ == 1.
14857
edc121be
AS
148582011-09-15 Andreas Schwab <schwab@redhat.com>
14859
14860 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14861 __ieee754_sqrt instead of sqrt.
14862 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14863 __ieee754_sqrtf instead of sqrtf.
14864 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14865 __floorf instead of floorf.
14866 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14867 __floorf, __truncf instead of floorf, truncf.
14868
cd205654
UD
148692011-09-14 Ulrich Drepper <drepper@gmail.com>
14870
ee4d0315
UD
14871 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14872
cd205654
UD
14873 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14874 __extern_always_inline.
14875 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14876 32-bit.
14877
48b67d71
AS
148782011-09-14 Andreas Schwab <schwab@redhat.com>
14879
14880 * elf/rtld.c (dl_main): Also relocate in dependency order when
14881 doing symbol dependency testing.
14882
1ae12c75
AS
148832011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14884
14885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14886 Always define `refsym'.
14887
995a80df
AS
148882011-09-13 Andreas Schwab <schwab@redhat.com>
14889
e529793b
AS
14890 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14891 (__FD_ELT): Renamed from __FDELT.
14892 * misc/bits/select2.h (__FD_ELT): Likewise.
14893 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14894 __FD_MASK instead of __FDELT, __FDMASK.
14895 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14896 Likewise.
14897 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14898 Likewise.
14899
52d4fef8
AS
14900 * elf/Makefile (gen-ldd): Fix pattern.
14901
995a80df
AS
14902 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14903 (init_tls): Likewise.
14904
8682f8b0
UD
149052011-09-12 Ulrich Drepper <drepper@gmail.com>
14906
14907 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14908
de82006d
AS
149092011-09-12 Andreas Schwab <schwab@redhat.com>
14910
a7c8e6a1
AS
14911 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14912 `struct cmsghdr *' instead of `void *'.
14913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14914 Likewise.
14915
0f31fe77
AS
149162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14917
14918 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14919 if non-absolute.
14920 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14921 ldd_rewrite_script.
0f31fe77 14922
32b4c839
UD
149232011-09-11 Ulrich Drepper <drepper@gmail.com>
14924
83cd1420
UD
14925 * configure.in: Remove --with-tls option.
14926 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14927 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14928 out in case it is missing.
14929 * sysdeps/ia64/elf/configure.in: Likewise.
14930 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14931 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14932 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14933 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14934 * sysdeps/sh/elf/configure.in: Likewise.
14935 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14936 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14937 * sysdeps/x86_64/elf/configure.in: Likewise.
14938 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14939 * sysdeps/mach/hurd/tls.h: Likewise.
14940
633f745d
UD
14941 [BZ #13067]
14942 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14943
f318beb8
UD
14944 [BZ #13090]
14945 * configure.in: Fix use of AC_INIT.
14946
32b4c839
UD
14947 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14948
3ce1f295
UD
149492011-09-10 Ulrich Drepper <drepper@gmail.com>
14950
bb016596
UD
14951 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14952 __set_errno.
8e58439c
UD
14953 * malloc/hooks.c: Likewise.
14954
aebae053 14955 [BZ #11929]
02d46fc4
UD
14956 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14957 variables statically.
14958 (narenas): Initialize.
14959 (list_lock): Initialize.
bb016596
UD
14960 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14961 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14962 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14963 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14964 Add initializers to main_arena and mp_.
14965 (malloc_state): Remove pagesize member. Change all users to use
14966 GLRO(dl_pagesize).
14967
14968 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14969 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14970 is always initialized.
14971
22a89187
UD
14972 * malloc/malloc.c: Removed unused configurations and dead code.
14973 * malloc/arena.c: Likewise.
14974 * malloc/hooks.c: Likewise.
02d46fc4 14975 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14976
d063d164
UD
14977 * include/tls.h: Removed. USE___THREAD must always be defined.
14978 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14979 * elf/dl-libc.c: Likewise.
14980 * elf/dl-tsd.c: Likewise.
14981 * include/errno.h: Likewise.
14982 * include/netdb.h: Likewise.
14983 * include/resolv.h: Likewise.
14984 * inet/herrno-loc.c: Likewise.
14985 * inet/herrno.c: Likewise.
14986 * malloc/arena.c: Likewise.
14987 * malloc/hooks.c: Likewise.
14988 * malloc/malloc.c: Likewise.
14989 * resolv/res-state.c: Likewise.
14990 * resolv/res_libc.c: Likewise.
14991 * sysdeps/i386/dl-machine.h: Likewise.
14992 * sysdeps/ia64/dl-machine.h: Likewise.
14993 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14994 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14995 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14996 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14997 * sysdeps/sh/dl-machine.h: Likewise.
14998 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14999 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15000 * sysdeps/unix/i386/sysdep.S: Likewise.
15001 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15002 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15003 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15004 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15005 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15006 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15007 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15009 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15010 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15011 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15012 * sysdeps/x86_64/dl-machine.h: Likewise.
15013 * tls.make.c: Likewise.
15014
3ce1f295
UD
15015 * configure.in: Remove --with-__thread option. Make tests for
15016 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15017 tls_model attribute fail if no support is available. Remove
15018 USE_IN_LIBIO.
15019 * Makeconfig: Adjust for dropped configure option. All features are
15020 now mandatory.
15021 * Makerules: Likewise.
15022 * Versions.def: Likewise.
15023 * argp/argp-fmtstream.c: Likewise.
15024 * argp/argp-fmtstream.h: Likewise.
15025 * argp/argp-help.c: Likewise.
15026 * assert/assert.c: Likewise.
15027 * config.h.in: Likewise.
15028 * config.make.in: Likewise.
15029 * configure: Likewise.
15030 * configure.in: Likewise.
15031 * csu/Versions: Likewise.
15032 * csu/init.c: Likewise.
15033 * elf/tst-audit2.c: Likewise.
15034 * elf/tst-tls10.c: Likewise.
15035 * elf/tst-tls10.h: Likewise.
15036 * elf/tst-tls11.c: Likewise.
15037 * elf/tst-tls12.c: Likewise.
15038 * elf/tst-tls14.c: Likewise.
15039 * elf/tst-tlsmod11.c: Likewise.
15040 * elf/tst-tlsmod12.c: Likewise.
15041 * elf/tst-tlsmod13.c: Likewise.
15042 * elf/tst-tlsmod13a.c: Likewise.
15043 * elf/tst-tlsmod14a.c: Likewise.
15044 * elf/tst-tlsmod15b.c: Likewise.
15045 * elf/tst-tlsmod16a.c: Likewise.
15046 * elf/tst-tlsmod16b.c: Likewise.
15047 * elf/tst-tlsmod7.c: Likewise.
15048 * elf/tst-tlsmod8.c: Likewise.
15049 * elf/tst-tlsmod9.c: Likewise.
15050 * gmon/gmon.c: Likewise.
15051 * grp/fgetgrent_r.c: Likewise.
15052 * grp/putgrent.c: Likewise.
15053 * hurd/fopenport.c: Likewise.
15054 * include/libc-symbols.h: Likewise.
15055 * include/tls.h: Likewise.
15056 * intl/gettextP.h: Likewise.
15057 * intl/loadinfo.h: Likewise.
15058 * locale/global-locale.c: Likewise.
15059 * locale/localeinfo.h: Likewise.
15060 * mach/devstream.c: Likewise.
15061 * malloc/arena.c: Likewise.
15062 * malloc/set-freeres.c: Likewise.
15063 * misc/err.c: Likewise.
15064 * misc/getttyent.c: Likewise.
15065 * misc/mntent_r.c: Likewise.
15066 * posix/getopt.c: Likewise.
15067 * posix/wordexp.c: Likewise.
15068 * pwd/fgetpwent_r.c: Likewise.
15069 * resolv/Versions: Likewise.
15070 * resolv/res_hconf.c: Likewise.
15071 * shadow/fgetspent_r.c: Likewise.
15072 * shadow/putspent.c: Likewise.
15073 * stdio-common/printf_fphex.c: Likewise.
15074 * stdio-common/tmpfile.c: Likewise.
15075 * stdlib/abort.c: Likewise.
15076 * stdlib/fmtmsg.c: Likewise.
15077 * sunrpc/auth_unix.c: Likewise.
15078 * sunrpc/clnt_perr.c: Likewise.
15079 * sunrpc/clnt_tcp.c: Likewise.
15080 * sunrpc/clnt_udp.c: Likewise.
15081 * sunrpc/clnt_unix.c: Likewise.
15082 * sunrpc/openchild.c: Likewise.
15083 * sunrpc/svc_simple.c: Likewise.
15084 * sunrpc/svc_tcp.c: Likewise.
15085 * sunrpc/svc_udp.c: Likewise.
15086 * sunrpc/svc_unix.c: Likewise.
15087 * sunrpc/xdr.c: Likewise.
15088 * sunrpc/xdr_array.c: Likewise.
15089 * sunrpc/xdr_rec.c: Likewise.
15090 * sunrpc/xdr_ref.c: Likewise.
15091 * sunrpc/xdr_stdio.c: Likewise.
15092
1248c1c4
PB
150932011-09-09 Ulrich Drepper <drepper@gmail.com>
15094
15095 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15096
150972011-07-03 Andreas Jaeger <aj@suse.de>
15098
15099 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15100 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15101 regenerate with gen-libm-tests.pl.
15102
151032010-05-12 Petr Baudis <pasky@suse.cz>
15104
15105 [BZ #11589]
15106 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15107 around j0() zero points by switching to j1().
15108 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15109 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15110 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15111 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15112
f22e1074
UD
151132011-09-09 Ulrich Drepper <drepper@gmail.com>
15114
f19009c1
UD
15115 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15116 instead of 0.
15117 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15118 instead of 0. .
15119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15120 Patch in part by Pavel Roskin <proski@gnu.org>.
15121
3f8cc204
UD
15122 [BZ #13138]
15123 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15124 realloc.
15125 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15126 Free memory block if necessary.
15127
f22e1074
UD
15128 [BZ #12847]
15129 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15130 be NULL. Don't lock in this case.
15131
0a2349f9
RM
151322011-09-09 Roland McGrath <roland@hack.frob.com>
15133
15134 * elf/elf.h (ELFOSABI_GNU): New macro.
15135 (ELFOSABI_LINUX): Define to that.
15136
f3cdd467
DZ
151372011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15138
15139 * string/strncat.c (strncat): Undef the symbol in case it has been
15140 defined in bits/string.h.
15141
74718d13
UD
151422011-09-09 Ulrich Drepper <drepper@gmail.com>
15143
633e9e0f
UD
15144 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15145
0a2349f9 15146 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15147 link map.
15148
f9924780
AJ
151492011-08-17 Andreas Jaeger <aj@suse.de>
15150
15151 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15152
7f5517aa
PP
151532011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15154 Ian Lance Taylor <iant@google.com>
15155
15156 * math/libm-test.inc (lround_test): New testcase.
15157 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15158
762011fe
UD
151592011-09-08 Ulrich Drepper <drepper@gmail.com>
15160
92963737
UD
15161 * Makefile: Remove support for automatic cvs check-ins.
15162 * Makerules: Likewise.
15163 * config.make.in: Likewise.
15164 * configure.in: Likewise.
15165 * intl/Makefile: Likewise.
15166 * locale/Makefile: Likewise.
15167 * po/Makefile: Likewise.
15168 * posix/Makefile: Likewise.
15169 * sysdeps/gnu/Makefile: Likewise.
15170 * sysdeps/mach/hurd/Makefile: Likewise.
15171 * sysdeps/sparc/sparc32/Makefile: Likewise.
15172
b0727fd8
JS
15173 [BZ #13118]
15174 * posix/Makefile (bug-regex32-ENV): Define.
15175 Patch by John Stanley <jpsinthemix@verizon.net>.
15176
a0f33f99
UD
15177 * misc/Makefile (headers): Add bits/select2.h.
15178 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15179 * misc/bits/select2.h: New file.
15180 * include/bits/select2.h: New file.
15181 * debug/Makefile (routines): Add fdelt_chk.
15182 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
15183 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
15184 FD_ISSET.
15185 * debug/fdelt_chk.c: New file.
15186
762011fe
UD
15187 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
15188 * wcsmbs/test-wmemcmp.c: Likewise.
15189 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 15190 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
15191
151922011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15193
15194 * string/Makefile (strop-tests): Add memcmp.
15195 * string/test-wmemcmp.c: New file.
15196 * string/test-memcmp.c: Add wmemcmp support.
15197
7f513ec8
RM
151982011-09-08 Roland McGrath <roland@hack.frob.com>
15199
0442afb4
RM
15200 [BZ #13153]
15201 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
15202 2011-07-19 change.
15203
7f513ec8
RM
15204 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
15205 garbage value in a __mach_port_mod_refs call in the cases of the
15206 task-self and thread-self ports.
15207
a12b2239
ST
152082011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15209
15210 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
15211
610f9ab4
AS
152122011-09-08 Andreas Schwab <schwab@redhat.com>
15213
7f513ec8 15214 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15215
48882a1a
LD
152162011-09-07 Ulrich Drepper <drepper@gmail.com>
15217
b49865be
UD
15218 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15219
fdc86bc9
UD
15220 * elf/dl-libc.c (dlerror_run): Pass back error code from
15221 dl_catch_error.
15222
c966526a
UD
15223 [BZ #13123]
15224 * elf/dl-load.c (lose): Free l_origin if it is valid.
15225
48882a1a
LD
15226 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15227 names.
15228 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15229 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15230 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15231 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15232 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15233 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15234
77a2a8b4
AZ
152352011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15236
15237 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15238 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15239 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15240 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15241 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15242 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15243 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15244 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15245 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15246 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15247
24f579d8
AM
152482011-08-15 Alan Modra <amodra@gmail.com>
15249
15250 [BZ #13092]
15251 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15252 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15253 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15254 ppc_mcount to static-only-routines.
15255 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15256 __mcount_internal.
15257 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15258 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15259
3d4837df
UD
152602011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15261
15262 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15263 for finite and infinity parameters.
15264
22700377
WS
152652011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15266
15267 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15268 and add nop instructions for throughput optimization.
15269 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15270
5025581e
WS
152712011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15272
15273 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15274 aligned copy for power7 with vector-scalar instructions.
15275 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15276
08a300c9
L
152772011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15278
15279 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15280 AVX check.
15281
59178ef9
AS
152822011-09-07 Andreas Schwab <schwab@redhat.com>
15283
15284 [BZ #13144]
15285 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15286 last change.
15287
e38ba7ab
UD
152882011-09-07 Ulrich Drepper <drepper@gmail.com>
15289
15290 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15291 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15292 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15293 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15294 clock_gettime.
15295
d53a73ac
UD
152962011-09-06 Ulrich Drepper <drepper@gmail.com>
15297
fc8bffcc
UD
15298 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15299 Forgot to demangle the pointer.
15300
ceaa0c5d
UD
15301 * sysdeps/i386/sysdep.h: Define atom_text_section.
15302 * sysdeps/x86_64/sysdep.h: Likewise.
15303 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15304 section with atom_text_section.
15305 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15306 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15307 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15308 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15309 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15310
a77d3c17
UD
15311 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15312 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15313 already be defined. Change to take two parameters and don't assign
15314 result to variable. Adjust all users.
15315 Define INTERNAL_GETTIME if not already defined.
15316 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15317 call.
15318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15319 HAVE_CLOCK_GETTIME_VSYSCALL.
15320 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15321
d53a73ac
UD
15322 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15323 gettimeofday vsyscall, just use time.
15324
a8f84144
AS
153252011-09-06 Andreas Schwab <schwab@redhat.com>
15326
15327 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15328 <errno.h>.
15329
ef606249
UD
153302011-09-06 Ulrich Drepper <drepper@gmail.com>
15331
15332 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15333 syscall on x86-64.
15334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15335 syscall.
15336 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15337 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15338 syscall if possible.
15339
6585cb60
UD
153402011-09-05 Ulrich Drepper <drepper@gmail.com>
15341
15342 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15343 e_ident. Don't pass to find_mapsXX.
15344 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15345
a5f524e4
LD
153462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15347
15348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15349 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15350 * sysdeps/x86_64/multiarch/strchr.S: Update.
15351 Check bit_slow_BSF bit.
15352 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15353 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15354 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15355
554881ef
UD
153562011-09-05 Ulrich Drepper <drepper@gmail.com>
15357
d96de963
UD
15358 [BZ #13134]
15359 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15360 before glibc 2.15.
15361 (tryshell): Define.
15362 (__spawni): Change last parameter to be flag. Test
15363 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15364 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15365 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15366 * posix/spawni.c: Likewise.
15367 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15368 * posix/spawnp.c: Likewise. Change normal version to use
15369 SPAWN_XFLAGS_USE_PATH.
15370 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15371 SPAWN_XFLAGS_TRY_SHELL.
15372
d48e5868
UD
15373 [BZ #13150]
15374 * posix/glob.h: Remove gcc 1.x support.
15375
554881ef
UD
15376 [BZ #13068]
15377 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15378
693fb948
LD
153792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15380
15381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15382 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15383 strrchr-sse2-bsf
15384 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15385 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15386 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15387 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15388 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15389 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15390
1b48c537
UD
153912011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15392
49d42c37
UD
15393 * sysdeps/x86_64/wcscmp.S: New file.
15394
1b48c537
UD
15395 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15396 wcscmp-c wcscmp-sse2
15397 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15398 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15399 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15400 * wcsmbs/wcscmp.c: Allow renaming.
15401
15c95c5d
DM
154022011-09-05 David S. Miller <davem@davemloft.net>
15403
15404 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15405 stack slot, rather than the struct return pointer slot.
15406 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15407 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15409 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15410
2f0ad8f3
UD
154112011-09-05 Ulrich Drepper <drepper@gmail.com>
15412
d88ae418
UD
15413 * po/ja.po: Update from translation team.
15414
2f0ad8f3
UD
15415 [BZ #13144]
15416 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15417 kernel in 64-bit binaries.
15418
5f4318d1
DM
154192011-09-01 David S. Miller <davem@davemloft.net>
15420
15421 * elf/elf.h (HWCAP_SPARC_*): Move to..
15422 * sysdeps/sparc/sysdep.h: this new file and add new values.
15423 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15424 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15425 _DL_HWCAP_COUNT to 24.
15426 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15427 entries.
15428 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15429 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15430 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15431 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15432 instead of magic constants.
15433 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15434
3ba57516
DM
154352011-08-31 David S. Miller <davem@davemloft.net>
15436
15437 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15438 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15439 Reimplement to do errno handling inline.
15440 (SYSCALL_ERROR_HANDLER): New macro.
15441 (__SYSCALL_STRING): Do not do errno handling in asm.
15442 (__CLONE_SYSCALL_STRING): Delete.
15443 (__INTERNAL_SYSCALL_STRING): Delete.
15444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15445 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15446 (PSEUDO): Reimplement to do errno handling inline.
15447 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15448 (SYSCALL_ERROR_HANDLER): New macro.
15449 (__SYSCALL_STRING): Do not do errno handling in asm.
15450 (__CLONE_SYSCALL_STRING): Delete.
15451 (__INTERNAL_SYSCALL_STRING): Delete.
15452 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15453 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15454 i386.
15455 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15456 (inline_syscall*): Add 'err' argument.
15457 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15458 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15459 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15460 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15461
15462 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15463 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15464
2bc17433
AS
154652011-08-30 Andreas Schwab <schwab@redhat.com>
15466
15467 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15468
fbeb5f4d
JO
154692011-08-29 Jiri Olsa <jolsa@redhat.com>
15470
15471 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15472 directive.
15473
ad69cc26
DM
154742011-08-24 David S. Miller <davem@davemloft.net>
15475
15476 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15477
39dd69df
AS
154782011-08-24 Andreas Schwab <schwab@redhat.com>
15479
15480 * elf/Makefile: Add rules to build and run unload8 test.
15481 * elf/unload8.c: New file.
15482 * elf/unload8mod1.c: New file.
15483 * elf/unload8mod1x.c: New file.
15484 * elf/unload8mod2.c: New file.
15485 * elf/unload8mod3.c: New file.
15486
15487 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15488 it wasn't used.
15489
2c0b250a
DM
154902011-08-23 David S. Miller <davem@davemloft.net>
15491
15492 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15493 subtract stack bias.
15494 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15495 %sp not %fp in calculations.
15496 (_JMPBUF_UNWINDS_ADJ): Likewise.
15497
22044b48
DM
15498 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15499 (aio_suspend): Call it to force an exception region around the
15500 AIO_MISC_WAIT() invocation.
15501
2cae4995
AS
155022011-08-23 Andreas Schwab <schwab@redhat.com>
15503
15504 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15505 backslash.
15506
873a772e
AJ
155072011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15508
15509 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15510 protection macro.
15511 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15512 and <dl-machine.h>.
15513 (Elf64_FuncDesc): Remove.
15514
25ad0df1
DM
155152011-08-22 David S. Miller <davem@davemloft.net>
15516
15517 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15518 sigaltstack check, add missing cfi directives.
15519 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15520 missing cfi directives, and sigaltstack handling.
15521
e888bcbe
AS
155222011-08-16 Andreas Schwab <schwab@redhat.com>
15523
15524 [BZ #11724]
15525 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15526 object is seen twice.
15527 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15528
15529 * elf/Makefile (distribute): Add tst-initorder2.c.
15530 (tests): Add tst-initorder2.
15531 (modules-names): Add tst-initorder2a tst-initorder2b
15532 tst-initorder2c tst-initorder2d. Add rules to build them.
15533 ($(objpfx)tst-initorder2.out): New rule.
15534 * elf/tst-initorder2.c: New file.
15535 * elf/tst-initorder2.exp: New file.
15536
87162f46
AS
155372011-08-22 Andreas Schwab <schwab@redhat.com>
15538
70538b7f
AS
15539 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15540
f55ffe58
AS
15541 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15542 dependencies back to end of function.
15543
87162f46
AS
15544 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15545 $(elfobjdir)/ld.so.
15546
91b392a4
UD
155472011-08-21 Ulrich Drepper <drepper@gmail.com>
15548
15549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15550 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15551 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15552 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15553 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15554 of __vdso_gettimeofday.
15555 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15556 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15557 attribute_hidden.
15558 (_libc_vdso_platform_setup): Remove initialization of
15559 __vdso_gettimeofday and __vdso_time.
15560
5c43483f
UD
155612011-08-20 Ulrich Drepper <drepper@gmail.com>
15562
775a77e7
UD
15563 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15564 and fgetc_unlocked.
15565 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15566 getc_unlocked.
89f447ed 15567
49c74ba9
UD
15568 * elf/dl-open.c (add_to_global): Report additions to the global scope
15569 for LD_DEBUG=scopes.
15570 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15571 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15572
5c43483f
UD
15573 [BZ #13114]
15574 * stdio-common/Makefile (tests): Add bug24.
15575 * stdio-common/bug24.c: New file.
15576
a101b025
AJ
155772011-08-19 Andreas Jaeger <aj@suse.de>
15578
15579 [BZ #13114]
15580 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15581 non-existant file when using close-on-exec mode.
15582
c88f1766
UD
155832011-08-20 Ulrich Drepper <drepper@gmail.com>
15584
0276a718
UD
15585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15586 the very first instruction.
15587
c88f1766
UD
15588 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15589 the CFI state in the end.
15590 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15591 inclusion of dl-trampoline.h.
15592 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15593
51ccffa0
AS
155942011-08-19 Andreas Schwab <schwab@redhat.com>
15595
94d7165f
AS
15596 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15597 expectations for long double.
15598
51ccffa0
AS
15599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15600 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15601
fd708658 156022011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15603
15604 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15605 artificual limit depends upon the system page size.
15606
44f0a71e
UD
156072011-08-17 Ulrich Drepper <drepper@gmail.com>
15608
15609 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15610 * resolv/Makefile: Define CFLAGS-libresolv.
15611
8de79a24
AS
156122011-08-17 Andreas Schwab <schwab@redhat.com>
15613
15614 * nss/makedb.c (compute_tables): Make variables used in nested
15615 function static.
15616
27724598
UD
156172011-08-17 Ulrich Drepper <drepper@gmail.com>
15618
c5305d88
UD
15619 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15620 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15621 if buffer was too small.
15622
27724598
UD
15623 * elf/pldd.c (main): Attach to all threads in the process.
15624 Rewrite /proc handling to use *at functions.
15625
076fe015
UD
156262011-08-16 Ulrich Drepper <drepper@gmail.com>
15627
174baab3
UD
15628 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15629 specifies first scope to show.
15630 (dl_open_worker): Update callers. Move printing scope of new
15631 object to before the relocation.
44f0a71e 15632 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15633 * sysdeps/generic/ldsodefs.h: Update declaration.
15634
076fe015
UD
15635 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15636 string for the scope number.
15637
a60df2c3
UD
156382011-08-14 Ulrich Drepper <drepper@gmail.com>
15639
15640 * nscd/servicescache.c (cache_addserv): Make sure written is always
15641 initialized.
15642
5e4287d1
RM
156432011-08-14 Roland McGrath <roland@hack.frob.com>
15644
85ae0589
RM
15645 * sysdeps/i386/i486/bits/atomic.h
15646 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15647 statement expression, so as to suppress "set but not used" warning.
15648 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15649
69f63097
RM
15650 * string/strncat.c (STRNCAT): Use prototype definition.
15651
675456ef
RM
15652 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15653 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15654 -Iprograms here.
15655 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15656 (localedef-modules): Add localedef.
15657 (locale-modules): Add locale.
15658
5e4287d1
RM
15659 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15660 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15661 to avoid a warning.
15662
9c96ff23
DM
156632011-08-14 David S. Miller <davem@davemloft.net>
15664
15665 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15666 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15667
f9ddf089
UD
156682011-08-13 Ulrich Drepper <drepper@gmail.com>
15669
44f0a71e 15670 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15671 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15672 * elf/rtld.c (dl_main): Set l_name of vDSO.
15673 Call _dl_show_scope when DL_DEBUG_SCOPES.
15674 (process_dl_debug): Recognize scopes flag and also set it for all.
15675 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15676 Declare _dl_show_scope.
15677
1dc27704
UD
15678 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15679 (do_dlopen): Pass caller_dlopen to dl_open.
15680 (__libc_dlopen_mode): Initialize caller_dlopen.
15681
f9ddf089
UD
15682 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15683 of libc. Make tolower call locale-independent. Optimize a bit by
15684 using isdigit instead of isalnum.
15685 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15686
9ac533d3
UD
156872011-08-12 Ulrich Drepper <drepper@gmail.com>
15688
15689 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15690 was a dependency or dynamically loaded.
15691
89edf2e9
UD
156922011-08-11 Ulrich Drepper <drepper@gmail.com>
15693
8e999d29
UD
15694 * intl/l10nflist.c: Allow architecture-specific pop function.
15695 * sysdeps/x86_64/l10nflist.c: New file.
15696
89edf2e9
UD
15697 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15698 classification.
15699
14d96785
AS
157002011-08-10 Andreas Schwab <schwab@redhat.com>
15701
15702 * include/dirent.h: Add libc_hidden_proto for scandirat and
15703 scandirat64. Don't declare __scandirat64.
15704 * dirent/scandirat.c: Add libc_hidden_def.
15705 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15706 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15707
6761ac04
DM
157082011-08-10 David S. Miller <davem@davemloft.net>
15709
15710 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15711 enum.
15712 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15715
c55fbd1e
UD
157162011-08-09 Ulrich Drepper <drepper@gmail.com>
15717
15718 * Versions.def [libc]: Add GLIBC_2.15.
15719 * dirent/Makefile (routines): Add scandirat and scandirat64.
15720 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15721 GLIBC_2.15.
15722 * dirent/dirent.h: Declare scandirat and scandirat64.
15723 * dirent/scandirat.c: New file.
15724 * dirent/scandirat64.c: New file.
15725 * sysdeps/wordsize-64/scandirat.c: New file.
15726 * sysdeps/wordsize-64/scandirat64.c: New file.
15727 * dirent/opendir.c: Define opendirat.
15728 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15729 using scandirat.
15730 * dirent/scandir64.c: Adjust for scandir.c change.
15731 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15732 __scandirat64, and __scandir_cancel_handler.
15733 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15734 additional parameter and use openat instead of open (outside of ld.so).
15735 Add new __opendir as wrapper around __opendirat.
15736 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15737 here without requiring old scandirat implementation.
15738
879165f2
UD
157392011-08-08 Ulrich Drepper <drepper@gmail.com>
15740
15741 * dirent/scandir.c (cancel_handler): Renamed to
15742 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15743 defined. Adjust users.
15744 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15745 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15746
cb7e923b
UD
157472011-08-04 Ulrich Drepper <drepper@gmail.com>
15748
16292edd
UD
15749 * string/test-string.h (IMPL): Use __STRING to expand name and then
15750 stringify it.
15751
cb7e923b
UD
15752 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15753 of cleanups.
15754
cff82933
LD
157552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15756
15757 * string/Makefile: Update.
15758 (strop-tests): Append strncat.
15759 * string/test-wcscmp.c: New file.
15760 New comprehensive test for wcscmp.
15761 * string/test-strcmp.c: Update.
15762 (WIDE): New define.
15763
9be9bfcc
AS
157642011-07-22 Andreas Schwab <schwab@redhat.com>
15765
15766 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15767 line.
15768
2e96f1c7
AS
157692011-07-26 Andreas Schwab <schwab@redhat.com>
15770
15771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15772 encoding to ACE if AI_IDN.
15773
85188888
JJ
157742011-08-01 Jakub Jelinek <jakub@redhat.com>
15775
15776 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15777 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15778
5fa16e9b
LD
157792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15780
15781 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15782 Fix overflow bug in strncat.
15783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15784
15785 * string/test-strncat.c: Update.
15786 Add new tests for checking overflow bugs.
15787
157882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15789
15790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15791 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15792 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15793 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15794 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15795 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15796 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15797 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15798 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15799
15800 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15801 (USE_AS_STRCAT): Define.
15802 Add strcat and strncat support.
15803 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15804
8c1a459f
AS
158052011-07-25 Andreas Schwab <schwab@redhat.com>
15806
15807 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15808 __n bigger than INT_MAX+1.
15809 (__strncmp_g): Likewise.
15810
bba33c28
UD
158112011-07-23 Ulrich Drepper <drepper@gmail.com>
15812
798be72d
UD
15813 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15814 * libio/stido.h: Likewise.
15815
8accd4dc
UD
15816 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15817 (AF_NFC): Define.
15818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15819 (AF_NFC): Define.
15820
cbff0d96
UD
15821 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15822 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15823 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15824 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15825 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15826
9191c04a
UD
15827 [BZ #13021]
15828 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15829 installed.
15830
bba33c28
UD
15831 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15832 typo.
15833 (_dl_x86_64_save_sse): Likewise.
15834
90f139dd
UD
158352011-07-22 Ulrich Drepper <drepper@gmail.com>
15836
1aae088a
UD
15837 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15838 OSXSAVE.
15839 (_dl_x86_64_save_sse): Likewise.
15840
8e2045f5
UD
15841 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15842
90f139dd
UD
15843 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15844
1d002f25
AS
158452011-07-21 Andreas Schwab <schwab@redhat.com>
15846
15847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15848 change.
15849 (_dl_x86_64_save_sse): Use correct AVX check.
15850
21137f89
UD
158512011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15852
15853 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15854 bug in strncpy/strncat.
15855 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15856
a65c0b7a
UD
158572011-07-21 Ulrich Drepper <drepper@gmail.com>
15858
15859 * string/tester.c (test_strcat): Add tests for different alignments
15860 of source and destination.
15861 (test_strncat): Likewise.
15862
6986b98a
UD
158632011-07-20 Ulrich Drepper <drepper@gmail.com>
15864
90bb2039
UD
15865 [BZ #12852]
15866 * posix/glob.c (glob): Check passed in values before using them in
15867 expressions to avoid some overflows.
15868 (glob_in_dir): Likewise.
15869
5644ef54
UD
15870 [BZ #13007]
15871 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15872 check for AVX enablement so that we don't crash with old kernels and
15873 new hardware.
15874 * elf/tst-audit4.c: Add same checks here.
15875 * elf/tst-audit6.c: Likewise.
15876
15877 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15878
bfc9dc9b
AS
158792011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15880
15881 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15882
702e64bb
UD
158832011-07-20 Ulrich Drepper <drepper@gmail.com>
15884
15885 * po/cs.po: Update from translation team.
15886 * po/bg.po: Likewise.
15887
295e904f
MP
158882011-07-12 Marek Polacek <mpolacek@redhat.com>
15889
15890 * misc/sys/cdefs.h: Add support for const attribute.
15891 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15892 to gnu_dev_{major,minor,makedev} functions.
15893
3ff94596
MP
158942011-07-20 Marek Polacek <mpolacek@redhat.com>
15895
15896 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15897
28b59fca
AS
158982011-07-20 Andreas Schwab <schwab@redhat.com>
15899
15900 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15901 strlen results.
15902
19df733e
AK
159032011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15904
15905 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15906 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15907 register in order to avoid conflicts with the soft frame pointer
15908 being held in r11 when necessary.
15909 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15910 (INTERNAL_VSYSCALL_NCS): Likewise.
15911
c8835729
MP
159122011-07-14 Marek Polacek <mpolacek@redhat.com>
15913
15914 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15915 * elf/dl-fini.c (_dl_fini): Adjust caller.
15916 * elf/dl-close.c (_dl_close_worker): Likewise.
15917 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15918
b902330c
MP
159192011-07-15 Marek Polacek <mpolacek@redhat.com>
15920
8991e135
MP
15921 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15922 "aux_cache->nlibs < 0".
15923
b902330c
MP
15924 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15925 in the reload-count case.
15926
99710781
LD
159272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15928
15929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15930 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15931 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15932 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15933 * sysdeps/x86_64/multiarch/strcat.S: New file.
15934 * sysdeps/x86_64/multiarch/strncat.S: New file.
15935 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15936 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15937 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15938 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15939 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15940 (USE_AS_STRCAT): Define.
15941 Add strcat and strncat support.
15942 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15943 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15944 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15945 * string/strncat.c: Update.
15946 (USE_AS_STRNCAT): Define.
15947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15948 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15949 and i7.
15950 * sysdeps/x86_64/multiarch/init-arch.h
15951 (bit_Prefer_PMINUB_for_stringop): New.
15952 (index_Prefer_PMINUB_for_stringop): Likewise.
15953 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15954 bit_Prefer_PMINUB_for_stringop.
15955
7dc6bd90
UD
159562011-07-19 Ulrich Drepper <drepper@gmail.com>
15957
15958 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15959 buffer64.
15960 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15961 of casting of buffer.
15962 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15963 buffer32 and buffer64.
15964 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15965 writes instead of casting of buffer.
15966 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15967 buffer32.
15968 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15969 casting of buffer.
15970
e0e72284
AS
159712011-07-19 Andreas Schwab <schwab@redhat.com>
15972
15973 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15974
feb1eb0b
UD
159752011-07-19 Ulrich Drepper <drepper@gmail.com>
15976
15977 * nscd/nscd.c (termination_handler): Don't do anything for a database
15978 if it has not yet been initialized.
15979
298711ff
UD
159802011-07-18 Ulrich Drepper <drepper@gmail.com>
15981
15982 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15983
159842011-07-15 Marek Polacek <mpolacek@redhat.com>
15985
15986 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15987
f9d68389
UD
159882011-07-18 Ulrich Drepper <drepper@gmail.com>
15989
15990 * po/nl.po: Update from translation team.
15991 * po/sv.po: Likewise.
15992
db290cf5
RM
159932011-07-16 Roland McGrath <roland@hack.frob.com>
15994
15995 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15996 now disallowed by GCC.
5c550700 15997
fd5e21c7
RM
15998 * configure.in (use-default-link): Default to yes if a test -shared
15999 link meets our qualifications.
16000 * configure: Regenerated.
16001
5c550700
RM
16002 * config.make.in (output-format): New variable.
16003 * configure.in: Check for ld --print-output-format support.
16004 * configure: Regenerated.
16005 * Makerules ($(common-objpfx)format.lds)
16006 [$(output-format) != unknown]: Just use $(output-format),
16007 instead of the linker-script munging.
16008
9fa2c032
RM
160092011-07-14 Roland McGrath <roland@hack.frob.com>
16010
a6928d51
RM
16011 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16012 of $(common-objpfx)shlib.lds.
16013 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16014
661607b3
RM
16015 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16016 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16017
9fa2c032
RM
16018 * configure.in (-z relro check): Adjust test code to add a large
16019 writable data section after it.
16020 * configure: Regenerated.
16021
defe9061
RM
160222011-07-11 Roland McGrath <roland@hack.frob.com>
16023
16024 * configure.in (-z relro check): Fix test code to make the variable
16025 truly const.
16026 * configure: Regenerated.
16027
319b9ad4
UD
160282011-07-11 Ulrich Drepper <drepper@gmail.com>
16029
16030 * nscd/nscd.h (struct traced_file): Define.
16031 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16032 elements. Add traced_files.
16033 (inotify_fd): Declare.
16034 (register_traced_file): Declare.
16035 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16036 (inotify_fd): Export.
16037 (resolv_conf_descr): Remove.
16038 (nscd_init): Move inotify descriptor creation to main.
16039 Don't register files for notification here.
16040 (register_traced_file): New function.
16041 (invalidate_cache): Don't use reset_res to determine whether to call
16042 res_init, go through the list of registered files.
16043 (main_loop_poll): The inotify descriptors are now stored in the
16044 structures for the traced files.
16045 (main_loop_epoll): Likewise
16046 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16047 to __nss_disable_nscd.
16048 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16049 for a database anymore. Check the records for all the registered
16050 files instead.
16051 * nss/Makefile (libnss_files-routines): Add files-init.
16052 (libnss_db-routines): Add db-init.
16053 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16054 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16055 * nss/nss_db/db-init.c: New file.
16056 * nss/nss_files/files-init.c: New file.
16057 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16058 __nss_lookup_function.
16059 (__nss_lookup_function): Call nss_load_library.
16060 (nss_load_all_libraries): New function.
16061 (__nss_disable_nscd): Take parameter with callback function for files
16062 to register. Set is_nscd. Load all the DSOs for the NSS modules
16063 used for the cached services.
16064 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16065 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16066 options for features to all the files in nscd.
16067
16068 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16069
23bee3e8
RM
160702011-07-10 Roland McGrath <roland@hack.frob.com>
16071
16072 * csu/elf-init.c (__libc_csu_init): Comment typo.
16073
46a5b7f0
UD
160742011-07-09 Ulrich Drepper <drepper@gmail.com>
16075
16076 * po/pl.po: Update from translation team.
16077 * po/ja.po: Likewise.
16078 * po/ru.po: Likewise.
16079 * po/ko.po: Likewise.
16080 * po/fr.po: Likewise.
16081
d30cf5bb
RM
160822011-07-09 Roland McGrath <roland@hack.frob.com>
16083
113ddea4
RM
16084 * configure.in (.ctors/.dtors header and trailer check):
16085 Use an empirical test on a built program.
16086 * configure: Regenerated.
16087
574920b4
RM
16088 * configure.in (-z relro check): Use an empirical test on a built DSO.
16089 Detect, but do not require, on ia64.
16090 * configure: Regenerated.
16091
d30cf5bb
RM
16092 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16093 Update tests that use readelf to use $READELF instead.
16094 * configure: Regenerated.
16095
8538fdb3
UD
160962011-07-08 Ulrich Drepper <drepper@gmail.com>
16097
16098 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16099 if the result is not used.
16100
04d08991
AJ
161012011-07-05 Andreas Jaeger <aj@suse.de>
16102
16103 [BZ#9696]
16104 * stdlib/tst-strtod.c: Add testcase.
16105
de283087
AD
161062011-07-07 Ulrich Drepper <drepper@gmail.com>
16107
4e5f31c8 16108 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16109 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16110 The latter has a higher limit. Take additional parameter to pass to
16111 the new function.
16112 (__pathconf): Pass file to __statfs_link_max.
16113 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16114 __statfs_link_max.
16115 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16116 __statfs_link_max.
16117
de283087
AD
16118 [BZ #12868]
16119 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16120 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16121 Handle Lustre.
16122 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16123 (__statfs_filesize_max): Likewise.
16124 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16125
c75fa153
AJ
161262011-07-05 Andreas Jaeger <aj@suse.de>
16127
16128 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16129
1a544854
UD
161302011-07-06 Marek Polacek <mpolacek@redhat.com>
16131
16132 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16133 `status' variable.
16134 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16135 Likewise.
16136
6f0eec67
UD
161372011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16138
16139 * Makefile (strop-tests): Add strncat.
16140 * string/test-strncat.c: New file.
16141
aae30307
UD
161422011-06-30 Marek Polacek <mpolacek@redhat.com>
16143
16144 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16145
c0cfb5eb
UD
161462011-06-21 Andreas Jaeger <aj@suse.de>
16147
16148 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16149 Copy rule from iconvdata/Makefile.
16150
01636b21
UD
161512011-07-06 Ulrich Drepper <drepper@gmail.com>
16152
16153 [BZ #12922]
16154 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16155 but no long options are defined, just return 'W'.
16156
9895c8bc
UD
161572011-06-22 Marek Polacek <mpolacek@redhat.com>
16158
16159 [BZ #9696]
16160 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16161
5d4cf042
UD
161622011-07-06 Ulrich Drepper <drepper@gmail.com>
16163
16164 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16165 netgroups to read.
960e5535 16166 (innetgr): Likewise.
5d4cf042 16167
751eb97e
RM
161682011-07-05 Roland McGrath <roland@hack.frob.com>
16169
16170 * config.make.in (install_root): Default to $(DESTDIR).
16171
f15f1e45
UD
161722011-07-05 Ulrich Drepper <drepper@gmail.com>
16173
16174 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16175
4e34ac6a
RM
161762011-07-02 Roland McGrath <roland@hack.frob.com>
16177
5e9b6af4
RM
16178 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16179
84f9ea0f
RM
16180 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
16181 containing directory rather than embedding absolute directory names.
16182
ea5ee9f7
RM
16183 * scripts/check-local-headers.sh: Rewritten using awk.
16184 Match by word, not by line. Print error messages for matches.
16185 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
16186
1b74661a
RM
16187 * Makerules [shlib-lds-flags empty]:
16188 ($(common-objpfx)libc_pic.opts): New target.
16189 ($(common-objpfx)libc_pic.os.clean): New target.
16190 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
16191
16192 * config.make.in (OBJCOPY): New variable.
16193 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
16194 * configure: Regenerated.
16195
f781ef40
RM
16196 * config.make.in (use-default-link): New variable.
16197 * configure.in (use_default_link): Grok --with-default-link to set it.
16198 * configure: Regenerated.
16199 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
16200 (shlib-lds, shlib-lds-flags): Define to empty.
16201
2d4fa81e
RM
16202 * Makerules (shlib-lds): New variable.
16203 (shlib-lds-flags): New variable.
16204 (build-shlib, build-moduile, build-module-asneeded): Use it.
16205 ($(common-objpfx)libc.so): Use $(shlib-lds).
16206 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
16207 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
16208
31fffa6b
RM
16209 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
16210 DT_FLAGS/DT_FLAGS_1 with zero flags.
16211
4e34ac6a
RM
16212 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
16213 linker script munging.
16214
fcfc776b
UD
162152011-07-02 Ulrich Drepper <drepper@gmail.com>
16216
16217 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16218 as 128-bit value.
16219 * crypt/sha512.c (sha512_process_block): Perform total addition using
16220 128-bit if possible.
16221 (__sha512_finish_ctx): Likewise.
16222 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16223 as 64-bit value.
16224 * crypt/sha256.c (SWAP64): Define.
16225 (sha256_process_block): Perform total addition using 64-bit if
16226 possible.
16227 (__sha256_finish_ctx): Likewise.
16228
99231d9a
UD
162292011-07-01 Ulrich Drepper <drepper@gmail.com>
16230
16231 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16232 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16233 * nscd/hstcache.c (cache_addhst): Likewise.
16234 * nscd/grpcache.c (cache_addgr): Likewise.
16235 * nscd/aicache.c (addhstaiX): Likewise
16236 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16237
445b4a53
TK
162382011-07-01 Thorsten Kukuk <kukuk@suse.de>
16239
16240 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16241 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16242 * nscd/hstcache.c (cache_addhst): Likewise.
16243 * nscd/grpcache.c (cache_addgr): Likewise.
16244 * nscd/aicache.c (addhstaiX): Likewise
16245
6d4d8e8e
AS
162462011-07-01 Andreas Schwab <schwab@redhat.com>
16247
16248 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16249 domain only when needed.
16250
89f654c5
AS
162512011-06-30 Andreas Schwab <schwab@redhat.com>
16252
16253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16254 is always restored.
16255
cf3b23ff
UD
162562011-06-29 Ulrich Drepper <drepper@gmail.com>
16257
16258 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16259 are re-adding the entry.
16260 * nscd/servicescache.c (cache_addserv): Likewise.
16261
751626f9
AJ
162622011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16263
16264 * sysdeps/generic/dl-irel.h: fix protection against multiple
16265 inclusions.
16266 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16267
9113ea1f
UD
162682011-06-28 Ulrich Drepper <drepper@gmail.com>
16269
5c0b8d90
UD
16270 [BZ #12935]
16271 * malloc/memusage.sh: Fix quoting in message.
16272 * debug/xtrace.sh: Likewise.
16273
9113ea1f
UD
16274 * configure.in: Remove support for --experimental-malloc option, make
16275 it the default.
16276 * config.make.in: Likewise.
16277 * malloc/Makefile: Likewise.
16278
a4172181
AS
162792011-06-27 Andreas Schwab <schwab@redhat.com>
16280
16281 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16282 two-byte characters.
16283
78a7eee7
RM
162842011-06-27 Roland McGrath <roland@hack.frob.com>
16285
62bede13
RM
16286 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16287 AC_CACHE_CHECK invocation.
16288 * configure: Regenerated.
16289
78a7eee7
RM
16290 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16291
5ce33a62
UD
162922011-06-27 Ulrich Drepper <drepper@gmail.com>
16293
034807a9
UD
16294 [BZ #12350]
16295 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16296 bit from old_res_options.
16297
4902da17
UD
16298 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16299
5ce33a62
UD
16300 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16301 value type for setfct.
16302
c2344f56
L
163032011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16304
16305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16306 __gettimeofday instead of gettimeofday.
16307
68468076
UD
163082011-06-26 Ulrich Drepper <drepper@gmail.com>
16309
16310 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16311
acb0d739
L
163122011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16313
16314 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16315
16316 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16317 info.
16318
8912479f
L
163192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16320
16321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16322 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16323 strcpy-sse2-unaligned strncpy-sse2-unaligned
16324 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16325 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16326 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16327 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16328 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16329 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16330 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16331 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16332 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16333 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16334 (STRCPY): Support SSE2 and SSSE3 versions.
16335
d5495a11
UD
163362011-06-24 Ulrich Drepper <drepper@gmail.com>
16337
16338 [BZ #12874]
16339 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16340 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16341 kernels which artificially limit size of requests.
16342
0b1cbaae
L
163432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16344
16345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16346 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16347 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16348 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16349 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16350 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16351 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16352 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16353 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16354 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16355 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16356 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16357 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16358 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16359 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16361 Enable unaligned load optimization for Intel Core i3, i5 and i7
16362 processors.
16363 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16364 Define.
16365 (index_Fast_Unaligned_Load): Define.
16366 (HAS_FAST_UNALIGNED_LOAD): Define.
16367
07f494a0
MP
163682011-06-23 Marek Polacek <mpolacek@redhat.com>
16369
16370 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16371
fa3fc0fe
UD
163722011-06-22 Ulrich Drepper <drepper@gmail.com>
16373
16374 [BZ #12907]
16375 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16376 until it is clear that the information is realy needed.
16377 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16378
e12df166
AS
163792011-06-22 Andreas Schwab <schwab@redhat.com>
16380
16381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16382
852eb34d
UD
163832011-06-22 Ulrich Drepper <drepper@gmail.com>
16384
84e2a551
UD
16385 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16386 /sys/devices/system/cpu/online if it is usable.
16387
852eb34d
UD
16388 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16389 reading the information from the /proc filesystem to once a second.
16390
6e502e19
UD
163912011-06-21 Andreas Jaeger <aj@suse.de>
16392
16393 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16394 NULL after inclusion of kernel headers.
16395
75d39ff2
UD
163962011-06-21 Ulrich Drepper <drepper@gmail.com>
16397
51f9aa6a
UD
16398 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16399 calls to internal_setent.
16400
c0244a9d
UD
16401 [BZ #12885]
16402 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16403 addresses using gethostbyname4_r ignore IPv4 addresses.
16404
c5e3c2ae
UD
16405 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16406 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16407
75d39ff2
UD
16408 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16409
42675c6f
DM
164102011-06-20 David S. Miller <davem@davemloft.net>
16411
16412 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16413 inclusions.
16414 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16415
16416 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16417 (elf_irel): Use it.
16418 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16419 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16420 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16421 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16422 * sysdeps/x86_64/dl-irel.h: Likewise.
16423
16424 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16425 * elf/dl-sym.c: Likewise.
16426
57912a71
UD
164272011-06-15 Ulrich Drepper <drepper@gmail.com>
16428
16429 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16430 need to dereference resplen2.
16431
ee22793d
AS
164322011-06-14 Andreas Schwab <schwab@redhat.com>
16433
16434 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16435
a9e836b0
UD
164362011-06-15 Ulrich Drepper <drepper@gmail.com>
16437
77fb9117
UD
16438 * Makeconfig: Define vardbdir and inst_vardbdir.
16439 * nss/Makefile: Add rules to install db-Makefile.
16440
40c1b22c
UD
16441 * nss/nss_db/db-XXX.c: Cleanup.
16442
9f2da732
UD
16443 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16444 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16445 GLIBC_PRIVATE.
16446 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16447 * nss/makedb.c: Implement -g option to specify that value strings
16448 are generated and should not be added to table iterated over for
16449 get*ent calls.
16450 * nss/nss_db/db-initgroups.c: New file.
16451
82e9a1f7
UD
16452 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16453 interface.
16454
c41af17e
UD
16455 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16456 (internal_getgrouplist): Adjust to name change.
16457 Update use_initgroups_entry if this is not the first call.
16458 * nss/databases.def: Add initgroups entry.
16459
a9e836b0
UD
16460 * nss/makedb.c (compute_tables): Check result of multiple hash table
16461 sizes to minimize maximum chain length.
16462
2666d441
UD
164632011-06-14 Ulrich Drepper <drepper@gmail.com>
16464
16465 * Versions.def: Add entry for libnss_db.
16466 * shlib-versions: Likewise.
16467 * nss/Makefile: Add rules to build libnss_db.
16468 * nss/Versions: Add libnss_db information. Organize libnss_files
16469 entries better.
16470 * nss/db-Makefile: Add gshadow support. Change rules for the new
16471 makedb progra. Some minor improvements to generate smaller files.
16472 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16473 here from...
16474 * nss/makedb.c: ...here.
16475 Improve database format to be smaller and require less memory at
16476 runtime.
16477 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16478 db anymore.
16479 * nss/nss_db/db-netgrp.c: Likewise.
16480 * nss/nss_db/db-open.c: Likewise.
16481 * nss/nss_files/flies-XXX.x: Adjust comments.
16482 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16483 * nss/nss_files/files-grp.c: Likewise.
16484 * nss/nss_files/files-hosts.c: Likewise.
16485 * nss/nss_files/files-network.c: Likewise.
16486 * nss/nss_files/files-proto.c: Likewise.
16487 * nss/nss_files/files-pwd.c: Likewise.
16488 * nss/nss_files/files-rpc.c: Likewise.
16489 * nss/nss_files/files-service.c: Likewise.
16490 * nss/nss_files/files-sgrp.c: Likewise.
16491 * nss/nss_files/files-spwd.c: Likewise.
16492 * nss/nss_db/db-alias.c: Removed.
16493 * nss/nss_db/dummy-db.h: Removed.
16494
9ee76b5a
UD
164952011-06-02 Ulrich Drepper <drepper@gmail.com>
16496
16497 * nss/makedb.c: Rewritten to not use database library.
16498 * nss/Makefile: Update to build new makedb program.
16499
c71ca1f8
AJ
165002011-06-14 Andreas Jaeger <aj@suse.de>
16501
16502 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16503 memset declaration.
16504
3154bfb8
UD
165052011-06-10 Andreas Schwab <schwab@redhat.com>
16506
16507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16508 tmpbuf.
16509
b350afab
RM
165102011-06-10 Roland McGrath <roland@hack.frob.com>
16511
decd4e50
RM
16512 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16513 * elf/Makefile ($(objpfx)ld.so): Likewise.
16514
5615eaf2
RM
16515 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16516 Don't list ld.so twice in dependencies.
16517
16518 * posix/bug-regex31.c: Include <stdlib.h>.
16519
16520 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16521
16522 * nis/nss_compat/compat-spwd.c
16523 (getspent_next_nss_netgr): Remove unused variable.
16524 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16525
16526 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16527 nonmembers" output to use the right array.
16528
16529 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16530
16531 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16532
16533 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16534 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16535 * catgets/gencat.c (read_input_file): Likewise.
16536 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16537
16538 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16539 variable definition inside #if's controlling its use.
16540
16541 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16542
16543 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16544
16545 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16546
16547 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16548 unreachable code.
16549
16550 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16551
b68e08db
RM
16552 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16553 * configure: Regenerated.
16554
b350afab
RM
16555 * Makerules: Revert last change.
16556 * elf/Makefile: Likewise.
16557
28368601
RM
165582011-06-09 Roland McGrath <roland@hack.frob.com>
16559
16560 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16561 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16562 (reloc-link): Likewise.
16563
11988f8f
UD
165642011-06-09 Ulrich Drepper <drepper@gmail.com>
16565
16566 * elf/Makefile: Add rules to build pldd.
16567 * elf/pldd.c: New file.
16568 * elf/pldd-xx.c: New file.
16569
e80fab37
UD
165702011-06-07 Ulrich Drepper <drepper@gmail.com>
16571
16572 * version.h: Update for 2.15 development version.
16573
9b849836
DM
165742011-06-07 David S. Miller <davem@davemloft.net>
16575
16576 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16577 ifuncs.
16578 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16579 elf_machine_lazy_rel): Likewise.
16580 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16581 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16582 elf_machine_lazy_rel): Likewise.
16583 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16584 dl_hwcap via passed in argument.
16585 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16586 Likewise.
16587
5a31b283
AK
165882011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16589
16590 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16591
069e52f8
RM
165922011-06-06 Roland McGrath <roland@hack.frob.com>
16593
16594 [BZ #12849]
16595 * manual/fdl-1.1.texi: New file, verbatim from:
16596 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16597 * manual/lgpl-2.1.texi: New file, verbatim from:
16598 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16599 * manual/Makefile (licenses): New variable, list those new file names.
16600 (texis): Use it.
16601 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16602
16603 * manual/fdl.texi: File removed.
16604 * manual/lesser.texi: File removed.
16605 * manual/libc.texinfo (Copying, Documentation License):
16606 Use new @include file names, put @appendix directive before @include.
16607
f16846a5
JJ
166082011-06-04 Jakub Jelinek <jakub@redhat.com>
16609
16610 [BZ #12841]
16611 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16612 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16613 (mq_open): Add __NTH.
16614
3d29045b
L
166152011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16616
16617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16618 Assume Intel Core i3/i5/i7 processor if AVX is available.
16619
8c297311
UD
166202011-05-31 Ulrich Drepper <drepper@gmail.com>
16621
16622 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16623 typo.
16624
c8fc0c91
UD
166252011-05-31 Andreas Schwab <schwab@redhat.com>
16626
16627 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16628 memory. Use alloca_account. Fix memory leak when retrying.
16629
5b27a807
UD
166302011-05-31 Ulrich Drepper <drepper@gmail.com>
16631
356f8bc6
UD
16632 * version.h (RELEASE): Bump for 2.14 release.
16633 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16634
5b27a807
UD
16635 * config.make.in (RANLIB): Remove entry.
16636
01f16ab0
UD
166372011-05-30 Ulrich Drepper <drepper@gmail.com>
16638
41fce8bd
UD
16639 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16640 (libc.pot): Work around missing support for .ksh extension in xgettext.
16641
4769ae77
UD
16642 [BZ #12684]
16643 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16644 if both request failed.
16645 (send_dg): In case of server errors clear resplen or *resplen2.
16646
6b1e7d19
UD
16647 [BZ #12454]
16648 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16649 when there are multiple maps.
16650 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16651 (_dl_fini): Remove test here.
16652
01f16ab0
UD
16653 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16654
b1ebd700
UD
166552011-05-29 Ulrich Drepper <drepper@gmail.com>
16656
7ae22829
UD
16657 [BZ #12350]
16658 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16659 bit from old_res_options.
16660 (gaih_inet): Likewise.
16661
553149f6 16662 [BZ #11099]
18a84741 16663 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16664 as signed.
16665
652ffab1
UD
16666 * resolv/res_init.c (res_setoptions): Make the code more compact.
16667
16985fd0
UD
16668 [BZ #11558]
16669 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16670 set RES_USEVC.
16671
0464f746
UD
16672 [BZ #11634]
16673 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16674
7d17596c
UD
16675 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16676
cf6bbbd7
UD
16677 [BZ #11781]
16678 * malloc/malloc.h: Declare malloc hook variables as volatile.
16679
13f1ab36
UD
16680 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16681 in last patch.
16682
b1ebd700
UD
16683 [BZ #11799]
16684 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16685 raise in the comment.
80e2212d
UD
16686 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16687 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16688 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16689
ce67228d
UD
166902011-05-28 Ulrich Drepper <drepper@gmail.com>
16691
8887a920
UD
16692 [BZ #12811]
16693 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16694 grow the buffers more if it already has to be sufficient.
16695 (build_wcs_upper_buffer): Likewise.
16696 * posix/regexec.c (check_matching): Likewise.
16697 (clean_state_log_if_needed): Likewise.
16698 (extend_buffers): Don't enlarge buffers beyond size of the input
16699 buffer.
16700 Patches mostly by Emil Wojak <emil@wojak.eu>.
16701 * posix/bug-regex32.c: New file.
16702 * posix/Makefile (tests): Add bug-regex32.
16703
4f031072
UD
16704 * locale/findlocale.c (_nl_find_locale): Return right away if
16705 _nl_explode_name failed.
16706 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16707
d0478f0c
UD
16708 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16709
de81b246
UD
16710 * debug/xtrace.sh: Unify messages.
16711 * malloc/memusage.sh: Likewise.
16712
c738465a
UD
16713 [BZ #12813]
16714 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16715 time symbol from vDSO. Substitute with vsyscall if not available.
16716 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16717 __vdso_time.
16718
f1f929d7
UD
16719 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16720 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16721 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16722 Add sendmmsg and internal_sendmmsg.
16723 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16724 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16725 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16726
ce67228d
UD
16727 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16728 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16729 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16730
e57420c6
UD
167312011-05-27 Ulrich Drepper <drepper@gmail.com>
16732
a8509ca5
UD
16733 [BZ #12813]
16734 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16735 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16736 available.
16737 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16738 __vdso_getcpu.
16739
e57420c6
UD
16740 [BZ #12814]
16741 * iconvdata/Makefile (tests): Add bug-iconv9.
16742 * iconvdata/bug-iconv9.c: New file.
16743
4d07db15
AS
167442011-05-27 Andreas Schwab <schwab@redhat.com>
16745
16746 [BZ #12814]
16747 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16748
ea486f69
JJ
167492011-05-25 Jakub Jelinek <jakub@redhat.com>
16750
16751 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16752 (struct user_regs_struct): Change intcs field back to cs.
16753
6f038433
UD
167542011-05-25 Ulrich Drepper <drepper@gmail.com>
16755
16756 * po/ja.po: Update from translation team.
16757
67f86a25
UD
167582011-05-23 Ulrich Drepper <drepper@gmail.com>
16759
16760 [BZ #12795]
16761 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16762 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16763
def7fbd6
AS
167642011-05-20 Andreas Schwab <schwab@redhat.com>
16765
16766 * stdlib/longlong.h: Update from GCC.
16767
f50ef8f1
AS
167682011-05-23 Andreas Schwab <schwab@redhat.com>
16769
16770 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16771 parameter name.
16772 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16773 Add parameter name.
16774 (__sysconf): Pass it down.
16775
de7ce8f1
UD
167762011-05-22 Ulrich Drepper <drepper@gmail.com>
16777
f2962a71
UD
16778 [BZ #12671]
16779 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16780 some situations.
16781 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16782 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16783 add in in __libc_use_alloca calls. Adjust callers.
16784 (glob): Use malloc in some situations.
16785
de7ce8f1
UD
16786 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16787 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16788 pltexit.
16789
aec84f53
UD
167902011-05-21 Ulrich Drepper <drepper@gmail.com>
16791
05bb4a68
UD
16792 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16793 and CLOCK_BOOTTIME_ALARM.
16794
7ea72f99
UD
16795 [BZ #12782]
16796 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16797 is returned.
16798
7e4afad5
UD
16799 * string/_strerror.c (__strerror_r): Print negative errors as signed
16800 numbers.
16801
8e211fec
UD
16802 [BZ #12777]
16803 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16804 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16805 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16806
f7d82dc9
UD
16807 * configure.in: Fix typo in redirection and correct removal of test
16808 files in two cases.
16809
cc9e536d
UD
16810 [BZ #12788]
16811 * locale/setlocale.c (new_composite_name): Fix test to check for
16812 identical name of all categories.
16813
aec84f53
UD
16814 [BZ #12792]
16815 * libio/filedoalloc.c (local_isatty): New function.
16816 (_IO_file_doallocate): Use local_isatty.
16817 * stdio-common/perror.c (perror): In case a new stream is used
16818 forward the stream error.
16819 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16820 error flag.
16821
78e64fdc
RT
168222011-05-20 Ulrich Drepper <drepper@gmail.com>
16823
34a9094f
UD
16824 [BZ #11869]
16825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16826 alloca.
16827 * include/alloca.h (extend_alloca_account): Define.
16828
78e64fdc
RT
16829 [BZ #11857]
16830 * posix/regex.h: Fix comments with documentation of user-accessible
16831 fields after compilation and describe correct free'ing of pattern
16832 after re_compile_pattern.
16833 Patch by Reuben Thomas <rrt@sc3d.org>.
16834
457bddfc
RA
168352011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16836
16837 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16838 and -mno-altivec to prevent the compiler from using Altivec and/or
16839 VSX instructions when the corresponding registers are not available.
16840
a4527b51
AS
168412011-05-19 Andreas Schwab <schwab@redhat.com>
16842
16843 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16844
ed690b2f
UD
168452011-05-19 Ulrich Drepper <drepper@gmail.com>
16846
16847 * libio/freopen.c (freopen): Use __dup2, not dup2.
16848 * libio/freopen64.c (freopen64): Likewise.
16849
8db73634
L
168502011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16851
16852 [BZ #12775]
16853 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16854 * math/Makefile (tests): Add test-powl.
16855 (CFLAGS-test-powl.c): Define.
16856 * math/test-powl.c: New file.
16857
0a197a9d
L
168582011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16859
16860 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16861
ee30c380
UD
168622011-05-17 Ulrich Drepper <drepper@gmail.com>
16863
16864 [BZ #11837]
16865 * iconvdata/gb18030.c: Update to GB18020-2005.
16866
6ce75379
UD
168672011-05-16 Ulrich Drepper <drepper@gmail.com>
16868
a4b89fd8
AR
16869 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16870 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16871 Patch by Aharon Robbins <arnold@skeeve.com>.
16872
ea389b12
UD
16873 [BZ #11892]
16874 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16875 on the stack.
16876
68a3f91f
UD
16877 [BZ #11895]
16878 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16879 through underflows.
16880
15cc7dd1
UD
16881 [BZ #12766]
16882 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16883 point to strings before performing equality test for error_one_per_line
16884 mode.
16885
f3799213
UD
16886 [BZ #11697]
16887 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16888
d79a9c94
UD
16889 [BZ #11820]
16890 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16891 (struct user_fpregs_struct): Avoid __uint*_t types.
16892
56e5eb46
UD
16893 [BZ #6420]
16894 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16895 symbol info. Use it instead of calling _dl_addr locally.
16896 (lock_and_info): New function.
16897 (tr_freehook): Call lock_and_info and pass symbol info as additional
16898 parameter to tr_where.
16899 (tr_mallochook): Likewise.
16900 (tr_reallochook): Likewise.
16901 (tr_memalignhook): Likewise.
16902
6ce75379
UD
16903 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16904 used and couldn't be at all thread-safe.
16905
f8a3b5bf
UD
169062011-05-15 Ulrich Drepper <drepper@gmail.com>
16907
94b7cc37
UD
16908 * libio/freopen.c (freopen): Don't close old file descriptor
16909 before the new one is opened. Instead dup the new file descriptor
16910 to the old one after the new stream is created.
16911 * libio/freopen64.c (freopen64): Likewise.
16912 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16913 * libio/fileops.c (_IO_new_file_close_it): Handle new
16914 _IO_FLAGS2_NOCLOSE flag.
16915 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16916 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16917 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16918 _IO_FLAGS2_NOCLOSE flag.
16919 * include/unistd.h: Add hidden_proto for dup3.
16920 Define __have_dup3.
16921 * io/dup3.c: Define hidden symbol.
16922 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16923
bd25564e
UD
16924 [BZ #7101]
16925 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16926 when an incomplete long option is used.
16927 * posix/tst-getopt_long1.c: New file.
16928 * posix/Makefile (tests): Add tst-getopt_long1.
16929
c84cfef4
UD
16930 [BZ #10138]
16931 * scripts/config.guess: Update from autoconf-2.68.
16932 * scripts/config.sub: Likewise.
16933
3b85df27
UD
16934 [BZ #10157]
16935 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16936 tests into ...
16937 (has_cpuclock): ...this. New function.
16938 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16939 macro here based on has_cpuclock code.
16940
15a856b1
UD
16941 [BZ #10149]
16942 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16943 First byte (not low byte) is now always NUL.
16944 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16945
05f399e6
UD
16946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16947 Use non-cancelable interfaces.
16948
10a52685 16949 [BZ #9809]
94ecc67d
UD
16950 * locale/iso-639.def: Add entry for Sorani.
16951
f8a3b5bf
UD
16952 [BZ #11901]
16953 * include/stdlib.h: Move include protection to the right place.
16954 Define abort_msg_s. Declare __abort_msg with it.
16955 * stdlib/abort.c (__abort_msg): Adjust type.
16956 * assert/assert.c (__assert_fail_base): New function. Majority
16957 of code from __assert_fail. Allocate memory for __abort_msg with
16958 mmap.
16959 (__assert_fail): Now call __assert_fail_base.
16960 * assert/assert-perr.c: Remove bulk of implementation. Use
16961 __assert_fail_base.
16962 * include/assert.hL Declare __assert_fail_base.
16963 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16964 mmap.
16965 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16966
1af4e298
UD
169672011-05-14 Ulrich Drepper <drepper@gmail.com>
16968
f8a3b5bf 16969 [BZ #11952]
d26dfc60
MG
16970 [BZ #12453]
16971 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16972 until all modules are registered in the DTV.
16973 * elf/Makefile: Add rules to build and run tst-tls19.
16974 * elf/tst-tls19.c: New file.
16975 * elf/tst-tls19mod1.c: New file.
16976 * elf/tst-tls19mod2.c: New file.
16977 * elf/tst-tls19mod3.c: New file.
16978 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16979
2fc54d6f
UD
16980 [BZ #12083]
16981 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16982 correctly.
16983
98d76b46
UD
16984 [BZ #12601]
16985 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16986 two-byte sequence errors.
16987 * iconvdata/Makefile (tests): Add bug-iconv8.
16988 * iconvdata/bug-iconv8.c: New file.
16989
da3c19ef
UD
16990 [BZ #12626]
16991 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16992 buf2 definition.
16993
ca408c15
UD
16994 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16995
d6f67f7d
UD
16996 [BZ #12432]
16997 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16998 (dummy_getcfa): New function.
16999 (init): Get _Unwind_GetCFA address, use dummy if not found.
17000 (backtrace_helper): In recursion check, also check whether CFA changes.
17001 (__backtrace): Completely initialize arg.
17002
1af4e298 17003 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17004 storing incomplete byte sequence in state object. Avoid testing for
17005 guaranteed too small input if we know there is enough data available.
1af4e298 17006
da62f81b
AS
170072011-05-11 Andreas Schwab <schwab@redhat.com>
17008
17009 * Makeconfig (+link-pie): Indent.
17010 * Rules (binaries-pie): Define if $(have-fpie) and
17011 $(build-shared).
17012 (binaries-shared): Also filter out $(binaries-pie).
17013 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17014 * nscd/Makefile (others-pie): Add nscd.
17015 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17016 ($(objpfx)nscd): Remove command override.
17017 * login/Makefile (others-pie): Add pt_chown.
17018 ($(objpfx)pt_chown): Remove command override.
17019 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17020 remove command overrides.
17021
fcabc0f8
UD
170222011-05-13 Ulrich Drepper <drepper@gmail.com>
17023
20030ae6
UD
17024 * libio/tst_putwc.c: Fix error messages.
17025
fcabc0f8
UD
17026 [BZ #12724]
17027 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17028 currently writing and seek to current position when not.
17029 * libio/Makefile (tests): Add bug-fclose1.
17030 * libio/bug-fclose1.c: New file.
17031
320a5dc0
PB
170322011-05-12 Ulrich Drepper <drepper@gmail.com>
17033
17034 [BZ #12511]
17035 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17036 don't set DF_1_NODELETE here.
17037 (do_lookup_x): When entering new entry test for copy relocation
17038 and if necessary set DF_1_NODELETE flag.
17039 * elf/tst-unique4.cc: New file.
17040 * elf/tst-unique4.h: New file.
17041 * elf/tst-unique4lib.cc: New file.
17042 * elf/Makefile: Add rules to build and run tst-unique4.
17043 Patch by Piotr Bury <pbury@goahead.com>.
17044
22836f52
UD
170452011-05-11 Ulrich Drepper <drepper@gmail.com>
17046
f574184a
UD
17047 [BZ #12052]
17048 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17049
e1fb097f
UD
17050 [BZ #12625]
17051 * misc/mntent_r.c (addmntent): Flush the stream after the output
17052
22836f52
UD
17053 [BZ #12393]
17054 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17055 (is_trusted_path_normalize): Skip initial colon. Append slash
17056 to empty buffer. Duplicate is_trusted_path code but allow
17057 constructed patch to be prefix.
17058 (is_dst): Allow $ORIGIN followed by /.
17059 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17060 Correct testing of result of is_trusted_path_normalize
17061 (decompose_rpath): Fix warning.
17062
7b3b0b2a
UD
170632011-05-10 Ulrich Drepper <drepper@gmail.com>
17064
17065 [BZ #11257]
17066 * grp/initgroups.c (internal_getgrouplist): When we found the service
17067 list through the initgroups entry in nsswitch.conf do not always
17068 continue on a successful lookup. Don't always use the
eac80ce2 17069 __nss_group_database value if it is set.
7b3b0b2a
UD
17070 * nss/nsswitch.conf (initgroups): Change action for successful db
17071 lookup to continue for compatibility.
17072
2a81eaa5
UD
170732011-05-09 Ulrich Drepper <drepper@gmail.com>
17074
be97a69e
UD
17075 [BZ #11532]
17076 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17077 and CP774 modules.
17078 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17079 and CP774 modules.
17080 * iconvdata/tst-tables.sh: Likewise.
17081 * iconvdata/cp770.c: New file.
17082 * iconvdata/cp771.c: New file.
17083 * iconvdata/cp772.c: New file.
17084 * iconvdata/cp773.c: New file.
17085 * iconvdata/cp774.c: New file.
17086 * iconvdata/testdata/CP770: New file.
17087 * iconvdata/testdata/CP770..UTF8: New file.
17088 * iconvdata/testdata/CP771: New file.
17089 * iconvdata/testdata/CP771..UTF8: New file.
17090 * iconvdata/testdata/CP772: New file.
17091 * iconvdata/testdata/CP772..UTF8: New file.
17092 * iconvdata/testdata/CP773: New file.
17093 * iconvdata/testdata/CP773..UTF8: New file.
17094 * iconvdata/testdata/CP774: New file.
17095 * iconvdata/testdata/CP774..UTF8: New file.
17096
17097 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17098 END CHARMAP line.
17099 * iconvdata/gen-8bit-gap.sh: Likewise.
17100 * iconvdata/gen-8bit.sh: Likewise.
17101
c1e9e399
UD
17102 * locale/iso-639.def: Add ary entry.
17103
24c55fb3 17104 [BZ #11258]
96b4b1b0
UD
17105 * locale/C-translit.h.in: Add U20A1 transliteration.
17106
bdc2f971
KB
17107 [BZ #12178]
17108 * locale/iso-639.def: Add wae entry.
17109 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17110
2952b117
UD
17111 [BZ #12545]
17112 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17113 for n.
17114
2a81eaa5
UD
17115 [BZ #12711]
17116 * locale/C-translit.h.in: Add entry for U20B9.
17117 Patch by pravin.d.s@gmail.com.
17118
28377d1b
UD
171192011-05-08 Ulrich Drepper <drepper@gmail.com>
17120
7fb90fb8
UD
17121 [BZ #12713]
17122 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17123 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17124 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17125 in rtld. Use *stat64.
7fb90fb8 17126 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17127 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17128 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17129 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17130 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17131 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17132 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17133 __fstatat64 macros.
7fb90fb8
UD
17134 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17135 * dirent/rewinddir.c: Add libc_hidden_def.
17136 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17137 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17138
28377d1b
UD
17139 * include/dirent.h (__alloc_dir): Add flags parameter.
17140 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17141 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17142 __alloc_dir.
17143 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17144 from fdopendir if O_CLOEXEC is already set.
17145
66bdbaa4
AM
171462011-03-15 Alan Modra <amodra@gmail.com>
17147
17148 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17149 l_tls_firstbyte_offset non-zero. Save padding offset in
17150 l_tls_firstbyte_offset for later use.
17151 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17152 freeing static tls block.
17153
95721191
JN
171542011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17155
17156 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17157 where #ifdef was intended. The intent is to prevent ARG_MAX from
17158 being defined by the kernel headers.
17159
f87dfb1f
UD
171602011-05-07 Ulrich Drepper <drepper@gmail.com>
17161
17162 [BZ #12734]
17163 * resolv/resolv.h: Define RES_NOTLDQUERY.
17164 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17165 no-tld-query and set RES_NOTLDQUERY.
17166 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17167 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17168 modern BIND to search name as TLD unless forbidden.
17169
47c3cd7a
UD
171702011-05-07 Petr Baudis <pasky@suse.cz>
17171 Ulrich Drepper <drepper@gmail.com>
17172
17173 [BZ #12393]
17174 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17175 (is_trusted_path): ...to here.
c1e9ea35 17176 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17177 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17178 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17179
8a35c912
PP
171802011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17181
17182 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
17183 __BEGIN/__END_DECLS.
17184
acd41f47
UD
171852011-05-06 Ulrich Drepper <drepper@gmail.com>
17186
17187 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
17188 NSS_STATUS_NOTFOUND if no record was found.
17189
597df647
AS
171902011-05-05 Andreas Schwab <schwab@redhat.com>
17191
17192 * sunrpc/Makefile (headers): Add rpc/netdb.h.
17193 (headers-not-in-tirpc): Remove rpc/netdb.h
17194 * resolv/netdb.h: Revert last change.
17195
b9af1301
PP
171962011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17197
17198 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
17199 circular dependency between libgcc.a and libc.a.
17200
4e34d5f5
AS
172012011-05-05 Andreas Schwab <schwab@redhat.com>
17202
17203 * resolv/netdb.h: Don't include <rpc/netdb.h>.
17204 * nis/Makefile: Don't install rpcsvc/*.
17205 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
17206 instead of <rpc/types.h>.
17207 (MAXHOSTNAMELEN): Define.
17208
00ee369c
AS
172092011-05-03 Andreas Schwab <schwab@redhat.com>
17210
17211 * elf/ldconfig.c (add_dir): Don't crash on empty path.
17212
0b592a30
MB
172132011-04-28 Maciej Babinski <mbabinski@google.com>
17214
17215 [BZ #12714]
17216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17217 gethostbyname4_r when IPv6 results are possible.
17218
6e04cbbe
UD
172192011-05-02 Ulrich Drepper <drepper@gmail.com>
17220
17221 [BZ #12723]
17222 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17223 _PC_PIPE_BUF handling.
17224
e4ecafe0
BH
172252011-04-30 Bruno Haible <bruno@clisp.org>
17226
17227 [BZ #12717]
17228 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17229 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17230 to 'int'.
17231 * inet/getnameinfo.c (getnameinfo): Likewise.
17232
125ee683
UD
172332011-04-29 Ulrich Drepper <drepper@gmail.com>
17234
17235 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17236 to groups setting in database lookup.
17237 * nss/nsswitch.conf: Add initgroups entry.
17238
b722481a
EB
172392011-04-22 Ulrich Drepper <drepper@gmail.com>
17240
17241 [BZ #12685]
17242 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17243 mode string.
17244 Patch by Eric Blake <eblake@redhat.com>.
17245
4df46dbd
L
172462011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17247
17248 * sunrpc/Makefile (need-export-routines): Add svc_run.
17249 (routines): Remove svc_run.
17250 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17251 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17252 * sunrpc/svc_run.c (svc_run): Likewise.
17253 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17254
e84142d2
UD
172552011-04-21 Ulrich Drepper <drepper@gmail.com>
17256
17257 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17258 problem in reallocation in last patch.
17259
877175d8
UD
172602011-04-20 Ulrich Drepper <drepper@gmail.com>
17261
17262 * sunrpc/Makefile: Move inclusion of Rules.
17263
ab8eed78
UD
172642011-04-19 Ulrich Drepper <drepper@gmail.com>
17265
17266 * nss/nss_files/files-initgroups.c: New file.
17267 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17268 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17269 _nss_files_initgroups_dyn.
17270
e3d8f584
RS
172712011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17272
17273 * elf/elf.h (R_ARM_IRELATIVE): Define.
17274
af190f45
UD
172752011-04-19 Ulrich Drepper <drepper@gmail.com>
17276
17277 * po/ru.po: Update from translation team.
17278
53cf59ef
UD
172792011-04-17 Ulrich Drepper <drepper@gmail.com>
17280
17281 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17282 dependencies.
17283
4c559bcd
MF
172842011-02-06 Mike Frysinger <vapier@gentoo.org>
17285
17286 [BZ #12653]
17287 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17288 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17289 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17290 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17291 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17292
4420675c
AS
172932011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17294
17295 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17296 differing bytes.
17297 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17299 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17300
75ea32ab
UD
173012011-04-17 Ulrich Drepper <drepper@gmail.com>
17302
17303 [BZ #12420]
17304 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17305 storing it.
17306 * stdlib/bug-getcontext.c: New file.
17307 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17308
27390476
AK
173092011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17310
17311 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17312 instructions into .machine "z9-109".
17313 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17314 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17315
10442705
AK
173162011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17317
17318 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17319 between environment variables and auxiliary vector.
17320
7b57bfe5
UD
173212011-04-16 Ulrich Drepper <drepper@gmail.com>
17322
17323 * Makefile: Add rules to build linkobj/libc.so.
17324 * include/libc-symbols.h: Define libc_hidden_nolink.
17325 * include/rpc/auth.h: Mark functions which are to be hidden.
17326 * include/rpc/auth_des.h: Likewise.
17327 * include/rpc/auth_unix.h: Likewise.
17328 * include/rpc/clnt.h: Likewise.
17329 * include/rpc/des_crypt.h: Likewise.
17330 * include/rpc/key_prot.h: Likewise.
17331 * include/rpc/pmap_clnt.h: Likewise.
17332 * include/rpc/pmap_prot.h: Likewise.
17333 * include/rpc/pmap_rmt.h: Likewise.
17334 * include/rpc/rpc_msg.h: Likewise.
17335 * include/rpc/svc.h: Likewise.
17336 * include/rpc/svc_auth.h: Likewise.
17337 * include/rpc/xdr.h: Likewise.
17338 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17339 * nss/Makefile: Likewise.
17340 * sunrpc/Makefile: Don't install headers. Build library with normal
17341 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17342 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17343 for the compat linking library. Remove use of INTDEF/INTUSE.
17344 * sunrpc/auth_none.c: Likewise.
17345 * sunrpc/auth_unix.c: Likewise.
17346 * sunrpc/authdes_prot.c: Likewise.
17347 * sunrpc/authuxprot.c: Likewise.
17348 * sunrpc/clnt_gen.c: Likewise.
17349 * sunrpc/clnt_perr.c: Likewise.
17350 * sunrpc/clnt_raw.c: Likewise.
17351 * sunrpc/clnt_simp.c: Likewise.
17352 * sunrpc/clnt_tcp.c: Likewise.
17353 * sunrpc/clnt_udp.c: Likewise.
17354 * sunrpc/clnt_unix.c: Likewise.
17355 * sunrpc/des_crypt.c: Likewise.
17356 * sunrpc/des_soft.c: Likewise.
17357 * sunrpc/get_myaddr.c: Likewise.
17358 * sunrpc/key_call.c: Likewise.
17359 * sunrpc/key_prot.c: Likewise.
17360 * sunrpc/netname.c: Likewise.
17361 * sunrpc/pm_getmaps.c: Likewise.
17362 * sunrpc/pm_getport.c: Likewise.
17363 * sunrpc/pmap_clnt.c: Likewise.
17364 * sunrpc/pmap_prot.c: Likewise.
17365 * sunrpc/pmap_prot2.c: Likewise.
17366 * sunrpc/pmap_rmt.c: Likewise.
17367 * sunrpc/publickey.c: Likewise.
17368 * sunrpc/rpc_cmsg.c: Likewise.
17369 * sunrpc/rpc_common.c: Likewise.
17370 * sunrpc/rpc_dtable.c: Likewise.
17371 * sunrpc/rpc_prot.c: Likewise.
17372 * sunrpc/rpc_thread.c: Likewise.
17373 * sunrpc/rtime.c: Likewise.
17374 * sunrpc/svc.c: Likewise.
17375 * sunrpc/svc_auth.c: Likewise.
17376 * sunrpc/svc_authux.c: Likewise.
17377 * sunrpc/svc_raw.c: Likewise.
17378 * sunrpc/svc_run.c: Likewise.
17379 * sunrpc/svc_simple.c: Likewise.
17380 * sunrpc/svc_tcp.c: Likewise.
17381 * sunrpc/svc_udp.c: Likewise.
17382 * sunrpc/svc_unix.c: Likewise.
17383 * sunrpc/svcauth_des.c: Likewise.
17384 * sunrpc/xcrypt.c: Likewise.
17385 * sunrpc/xdr.c: Likewise.
17386 * sunrpc/xdr_array.c: Likewise.
17387 * sunrpc/xdr_float.c: Likewise.
17388 * sunrpc/xdr_intXX_t.c: Likewise.
17389 * sunrpc/xdr_mem.c: Likewise.
17390 * sunrpc/xdr_rec.c: Likewise.
17391 * sunrpc/xdr_ref.c: Likewise.
17392 * sunrpc/xdr_sizeof.c: Likewise.
17393 * sunrpc/xdr_stdio.c: Likewise.
17394
e6c61494
UD
173952011-04-10 Ulrich Drepper <drepper@gmail.com>
17396
17397 [BZ #12650]
17398 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17399 * sysdeps/ia64/dl-tls.h: Likewise.
17400 * sysdeps/powerpc/dl-tls.h: Likewise.
17401 * sysdeps/s390/dl-tls.h: Likewise.
17402 * sysdeps/sh/dl-tls.h: Likewise.
17403 * sysdeps/sparc/dl-tls.h: Likewise.
17404 * sysdeps/x86_64/dl-tls.h: Likewise.
17405 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17406
34fe483e
AS
174072011-03-14 Andreas Schwab <schwab@redhat.com>
17408
17409 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17410 rpath element also skip the following colon.
17411 (expand_dynamic_string_token): Add is_path parameter and pass
17412 down to DL_DST_REQUIRED and _dl_dst_substitute.
17413 (decompose_rpath): Call expand_dynamic_string_token with
17414 non-zero is_path. Ignore empty rpaths.
17415 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17416 with zero is_path.
17417
f12a32e6
AS
174182011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17419
17420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17421 Make cancelable.
17422
38a7d692
UD
174232011-04-09 Ulrich Drepper <drepper@gmail.com>
17424
17425 [BZ #12655]
17426 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17427 Patch by Filipe David Manana <fdmanana@apache.org>.
17428
e451d22b
AS
174292011-04-07 Andreas Schwab <schwab@redhat.com>
17430
17431 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17432 Maintain aligned stack.
17433 (CHECK_RSP): Remove unused macro.
17434
dedc7c7b
UD
174352011-04-03 Ulrich Drepper <drepper@gmail.com>
17436
17437 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17438 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17439
94521213
UD
174402011-04-02 Ulrich Drepper <drepper@gmail.com>
17441
17442 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17443
8cb700c0 17444 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17445
0354e355
L
174462011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17447
17448 [BZ #12518]
17449 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17450 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17451 * sysdeps/x86_64/memmove.c: New file.
17452 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17453 (memcpy): Renamed to ...
17454 (__new_memcpy): This.
17455 (memcpy): Provide GLIBC_2_14 memcpy.
17456 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17457 (memcpy): Provide GLIBC_2_2_5 memcpy.
17458
8593482f
UD
174592011-04-01 Ulrich Drepper <drepper@gmail.com>
17460
17461 [BZ #12631]
17462 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17463
81a5726b
AS
174642011-03-30 Andreas Schwab <schwab@redhat.com>
17465
17466 * misc/syncfs.c: New file.
17467 * misc/Makefile (routines): Add syncfs.
17468 * posix/unistd.h: Declare syncfs.
17469 * sysdeps/unix/syscalls.list: Add syncfs.
17470
00e5419f
AS
174712011-04-01 Andreas Schwab <schwab@redhat.com>
17472
17473 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17474 open_by_handle_at.
17475 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17476 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17478 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17480 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17481 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17482
748876bf
UD
174832011-04-01 Ulrich Drepper <drepper@gmail.com>
17484
658e451d
UD
17485 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17486 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17487 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17488 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17489 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17491 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17492
748876bf
UD
17493 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17494 sync_file_range.c with -fexceptions.
17495 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17496 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17497 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17498 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17499 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17500 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17501 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17502 sync_file_range as cancellation point
17503 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17504 now a wrapper around __call_sync_file_range with cancellation handling.
17505 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17506 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17507 function name to __call_sync_file_range.
17508 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17509 Add call_sync_file_range.
748876bf 17510
6e63d5e1
AS
175112011-04-01 Andreas Schwab <schwab@redhat.com>
17512
17513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17514 bits/timex.h.
6e63d5e1 17515
46998f74
UD
175162011-04-01 Ulrich Drepper <drepper@gmail.com>
17517
4c1423ed
UD
17518 * iconv/iconv.h: Fix typo in comment.
17519 * io/fcntl.h: Likewise.
17520 * libio/stdio.h: Likewise.
17521 * posix/spawn.h: Likewise.
17522 * posix/unistd.h: Likewise.
17523 * stdlib/stdlib.h: Likewise.
17524 * time/time.h: Likewise.
17525 * wcsmbs/wchar.h: Likewise.
17526
158648c0
UD
17527 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17528 open_by_handle): Add.
17529 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17530 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17531 Augment a few comments.
17532 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17533 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17534 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17535 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17536 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17537 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17538 open_by_handle.
17539
46998f74
UD
17540 * io/fcntl.h (AT_EMPTY_PATH): Define.
17541
83fe108b
UD
175422011-03-30 Ulrich Drepper <drepper@gmail.com>
17543
17544 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17545 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17546 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17547 to...
17548 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17549 * Versions.def: Add GLIBC_2.14.
17550 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17551 Export.
83fe108b 17552
bb242059
UD
175532011-03-22 Ulrich Drepper <drepper@gmail.com>
17554
17555 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17556 round counter.
17557 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17558
c97a1282
L
175592011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17560
17561 [BZ #12597]
17562 * string/test-strncmp.c (do_page_test): New function.
17563 (check2): Likewise.
17564 (test_main): Call check2.
17565 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17566
2a115601
UD
175672011-03-20 Ulrich Drepper <drepper@gmail.com>
17568
17569 [BZ #12587]
17570 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17571 Handle cache information in CPU leaf 4.
17572 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17573
8126d904
UD
175742011-03-18 Ulrich Drepper <drepper@gmail.com>
17575
042c49c6 17576 [BZ #12583]
8126d904
UD
17577 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17578 character representation.
17579 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17580
ccfe366e
RA
175812011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17582
17583 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17584 END(__isnan) to END(__isnanf) to match function entry point/label
17585 EALIGN(__isnanf,...).
17586
c6e13027
JJ
175872011-03-10 Jakub Jelinek <jakub@redhat.com>
17588
17589 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17590
33f85a3f
UD
175912011-03-10 Ulrich Drepper <drepper@gmail.com>
17592
028478fa
UD
17593 [BZ #12510]
17594 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17595 copy from the symbol referenced in the relocation to initialize the
17596 used variable.
17597 Patch by Piotr Bury <pbury@goahead.com>.
17598 * elf/Makefile: Add rules to build and tst-unique3.
17599 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17600 * elf/tst-unique3.cc: New file.
17601 * elf/tst-unique3.h: New file.
17602 * elf/tst-unique3lib.cc: New file.
17603 * elf/tst-unique3lib2.cc: New file.
17604
33f85a3f
UD
17605 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17606
03592fc7
MF
176072011-03-10 Mike Frysinger <vapier@gentoo.org>
17608
17609 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17610 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17611 to _start.
03592fc7 17612
6a5ee102
UD
176132011-03-06 Ulrich Drepper <drepper@gmail.com>
17614
17615 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17616 to-be-loaded object along a path to loader is ld.so.
17617
7e4ba49c
HJ
176182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17619 Ulrich Drepper <drepper@gmail.com>
17620
17621 * sysdeps/x86_64/memset.S: After aligning destination, code
17622 branches to different locations depending on the value of
17623 misalignment, when multiarch is enabled. Fix this.
17624
176252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17626
17627 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17628 Set _x86_64_preferred_memory_instruction for AMD processsors.
17629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17630 Set bit_Prefer_SSE_for_memop for AMD processors.
17631
13a804de
UD
176322011-03-04 Ulrich Drepper <drepper@gmail.com>
17633
17634 * libio/fmemopen.c (fmemopen): Optimize a bit.
17635
9d25c392
AS
176362011-03-03 Andreas Schwab <schwab@redhat.com>
17637
17638 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17639
a5543c6a
RM
176402011-03-03 Roland McGrath <roland@redhat.com>
17641
17642 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17643
012d35f7
DM
176442011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17645
7e4ba49c 17646 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17647 __bzero_ultra1 instead of __memset_ultra1.
17648
4bff6e01
AS
176492011-02-23 Andreas Schwab <schwab@redhat.com>
17650 Ulrich Drepper <drepper@gmail.com>
17651
17652 [BZ #12509]
17653 * include/link.h (struct link_map): Add l_orig_initfini.
17654 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17655 returning unsuccessfully.
17656 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17657 close of a file loaded at startup, restore the original l_initfini
17658 list.
17659 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17660 list, store the pointer.
17661 * elf/Makefile ($(objpfx)noload-mem): New rule.
17662 (noload-ENV): Define.
17663 (tests): Add $(objpfx)noload-mem.
17664 * elf/noload.c: Include <memcheck.h>.
17665 (main): Call mtrace. Close all opened handles.
17666
f2092faf
AS
176672011-02-17 Andreas Schwab <schwab@redhat.com>
17668
17669 [BZ #12454]
17670 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17671 dependencies are missing.
17672
6c8a2e88
ST
176732011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17674
f2092faf 17675 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17676 Hurd needs munmap.
17677 * sysdeps/mach/hurd/ifreq.h: New file.
17678
84a42118
PB
176792011-01-27 Petr Baudis <pasky@suse.cz>
17680 Ulrich Drepper <drepper@gmail.com>
17681
071f805e 17682 [BZ 12445]#
84a42118
PB
17683 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17684 to extend_alloca().
17685 * stdio-common/bug23.c: New file.
17686 * stdio-common/Makefile (tests): Add bug23.
17687
e23fe25b
AS
176882010-09-28 Andreas Schwab <schwab@redhat.com>
17689 Ulrich Drepper <drepper@gmail.com>
17690
17691 [BZ #12489]
17692 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17693 before performing relro protection. At old place add assertion
17694 to make sure nothing changed.
17695
d3f02e10
NS
176962011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17697 Glauber de Oliveira Costa <glommer@gmail.com>
17698
17699 * elf/elf.h: Add new ARM TLS relocs.
17700
d55fd7a5
RA
177012011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17702
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17704 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17705 cast from r3.
17706 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17707 'tests' variable.
17708 * sysdeps/wordsize-64/tst-writev.c: New file.
17709
2206397e
RA
177102011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17711
17712 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17713 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17714 insns in _dl_start to prevent a TOC reference before relocs are
17715 resolved.
17716
e9433893
UD
177172011-02-15 Ulrich Drepper <drepper@gmail.com>
17718
17719 [BZ #12469]
17720 * Makeconfig: Remove RANLIB definition.
17721 * Makerules: Don't use RANLIB.
17722 * aclocal.m4: Remove ranlib test.
17723 * configure.in: No need to check for ranlib.
17724 * elf/rtld-Rules: Don't use RANLIB.
17725
f75286c6
ST
177262011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17727
8e31c82d
ST
17728 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17729 protection macro.
17730 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17731 inclusion protection macro.
17732
f75286c6
ST
17733 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17734 SIGRTMIN and SIGRTMAX and print information in that case only when
17735 SIGRTMIN is defined.
17736
c1d0e639
JJ
177372011-02-11 Jakub Jelinek <jakub@redhat.com>
17738
17739 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17740 arginfo fn returning -1.
17741
17742 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17743 and thousands string is zero terminated.
17744
edf9294e
AS
177452011-02-03 Andreas Schwab <schwab@redhat.com>
17746
17747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17748 sysdeps/unix/sysv/linux/bits/socket.h.
17749
2b7e92df
ST
177502011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17751
edf9294e
AS
17752 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17753 (__CPU_COUNT): Remove old macros.
17754 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17755 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17756 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17757 (__sched_cpualloc, __sched_cpufree): Add declarations.
17758
a4c7ea7b
UD
177592011-02-05 Ulrich Drepper <drepper@gmail.com>
17760
17761 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17762 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17763 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17764 (readdhstai): Return value of addhstaiX call.
17765 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17766 (addgrbyX): Return value returned by cache_addgr.
17767 (readdgrbyname): Return value returned by addgrbyX.
17768 (readdgrbygid): Likewise.
17769 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17770 (addpwbyX): Return value returned by cache_addpw.
17771 (readdpwbyname): Return value returned by addhstbyX.
17772 (readdpwbyuid): Likewise.
17773 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17774 (addservbyX): Return value returned by cache_addserv.
17775 (readdservbyname): Return value returned by addservbyX:
17776 (readdservbyport): Likewise.
17777 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17778 (addhstbyX): Return value returned by cache_addhst.
17779 (readdhstbyname): Return value returned by addhstbyX.
17780 (readdhstbyaddr): Likewise.
17781 (readdhstbynamev6): Likewise.
17782 (readdhstbyaddrv6): Likewise.
17783 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17784 (readdinitgroups): Return value returned by addinitgroupsX.
17785 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17786 (prune_cache): Keep track of timeout value of re-added entries.
17787 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17788 * nscd/nscd.h: Adjust prototypes of readd* functions.
17789
a0bf67cc
RM
177902011-02-04 Roland McGrath <roland@redhat.com>
17791
17792 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17793 (nis_stats): Likewise.
17794 * nis/nis_modify.c (nis_modify): Likewise.
17795 * nis/nis_remove.c (nis_remove): Likewise.
17796 * nis/nis_add.c (nis_add): Likewise.
17797
17798 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17799
17800 * posix/fnmatch_loop.c: Add some consts.
17801
17802 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17803
435b95eb
L
178042011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17805
17806 [BZ #12460]
17807 * config.make.in (config-cflags-novzeroupper): Define.
17808 * configure.in: Substitute libc_cv_cc_novzeroupper.
17809 * elf/Makefile (AVX-CFLAGS): Define.
17810 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17811 (CFLAGS-tst-auditmod4a.c): Likewise.
17812 (CFLAGS-tst-auditmod4b.c): Likewise.
17813 (CFLAGS-tst-auditmod6b.c): Likewise.
17814 (CFLAGS-tst-auditmod6c.c): Likewise.
17815 (CFLAGS-tst-auditmod7b.c): Likewise.
17816 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17817
8517b15e
UD
178182011-02-02 Ulrich Drepper <drepper@gmail.com>
17819
17820 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17821 function to the callback.
17822 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17823
10a656fe
AS
178242011-02-02 Andreas Schwab <schwab@redhat.com>
17825
17826 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17827 of errno.
17828
968dad0a
UD
178292011-01-19 Ulrich Drepper <drepper@gmail.com>
17830
9f94d2ea 17831 [BZ #11724]
968dad0a
UD
17832 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17833 of constructors.
17834 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17835 of destructors.
17836 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17837
17838 [BZ #11724]
17839 * elf/Makefile: Add rules to build and run new test.
17840 * elf/tst-initorder.c: New file.
17841 * elf/tst-initorder.exp: New file.
17842 * elf/tst-initordera1.c: New file.
17843 * elf/tst-initordera2.c: New file.
17844 * elf/tst-initordera3.c: New file.
17845 * elf/tst-initordera4.c: New file.
17846 * elf/tst-initorderb1.c: New file.
17847 * elf/tst-initorderb2.c: New file.
17848 * elf/tst-order-a1.c: New file.
17849 * elf/tst-order-a2.c: New file.
17850 * elf/tst-order-a3.c: New file.
17851 * elf/tst-order-a4.c: New file.
17852 * elf/tst-order-b1.c: New file.
17853 * elf/tst-order-b2.c: New file.
17854 * elf/tst-order-main.c: New file.
17855 New test case by George Gensure <werkt0@gmail.com>.
17856
86e92359
UD
178572010-10-01 Andreas Schwab <schwab@redhat.com>
17858
17859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17860 decoding ACE if AI_CANONIDN.
17861
5d5732b0
UD
178622011-01-18 Ulrich Drepper <drepper@gmail.com>
17863
17864 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17865
a77e8cbc
UD
178662011-01-17 Ulrich Drepper <drepper@gmail.com>
17867
6392473f
UD
17868 * version.h (RELEASE): Bump for 2.13 release.
17869 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17870
620a0529
UD
17871 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17872
18ba70a5
UD
17873 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17874 MADV_NOHUGEPAGE.
32465c3e
UD
17875 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17876 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17877 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17878 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17879 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17880 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17881
c0dafcf1
UD
17882 * posix/getconf.c: Update copyright year.
17883 * catgets/gencat.c: Likewise.
17884 * csu/version.c: Likewise.
17885 * debug/catchsegv.sh: Likewise.
17886 * debug/xtrace.sh: Likewise.
17887 * elf/ldconfig.c: Likewise.
17888 * elf/ldd.bash.in: Likewise.
17889 * elf/sprof.c (print_version): Likewise.
17890 * iconv/iconv_prog.c: Likewise.
17891 * iconv/iconvconfig.c: Likewise.
17892 * locale/programs/locale.c: Likewise.
17893 * locale/programs/localedef.c: Likewise.
17894 * malloc/memusage.sh: Likewise.
17895 * malloc/mtrace.pl: Likewise.
17896 * nscd/nscd.c (print_version): Likewise.
17897 * nss/getent.c: Likewise.
17898
a77e8cbc
UD
17899 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17900 PF_CAIF, and PF_ALG.
17901 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17902
77e8bddf
AS
179032011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17904
1f20b93a
AS
17905 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17906 (modules-names): Use them.
17907 (ifunc-test-modules, ifunc-pie-tests): Define.
17908 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17909 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17910 (test-extras): Likewise.
17911 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17912 $(compile-command.c).
17913 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17914 (all-built-dso): Define.
17915 (check-textrel.out, check-execstack.out): Depend on it.
17916
77e8bddf
AS
17917 * configure.in: Don't override --enable-multi-arch.
17918
bc425b33
UD
179192011-01-15 Ulrich Drepper <drepper@gmail.com>
17920
17921 [BZ #6812]
17922 * nscd/hstcache.c (tryagain): Define.
17923 (cache_addhst): Return tryagain not notfound for temporary errors.
17924 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17925 failed.
17926
794c3ad3
UD
179272011-01-14 Ulrich Drepper <drepper@gmail.com>
17928
70181fdd
UD
17929 [BZ #10563]
17930 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17931 to make the syscall.
17932 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17933
794c3ad3
UD
17934 [BZ #12378]
17935 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17936 and fall back to matching as normal character if the string ends before
17937 the matching ']' is found. This is what POSIX requires.
17938 * posix/testfnm.c: Adjust test result.
17939 * posix/globtest.sh: Adjust test result. Add new test.
17940 * posix/tst-fnmatch.input: Likewise.
17941 * posix/tst-fnmatch2.c: Add new test.
17942
68dc9497
AS
179432010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17944
17945 * elf/Makefile (check-execstack): Revert last change. Depend on
17946 check-execstack.h.
17947 (check-execstack.h): New target.
17948 (generated): Add check-execstack.h.
17949 * elf/check-execstack.c: Include "check-execstack.h".
17950 (main): Revert last change.
17951 (handle_file): Return zero if GNU_STACK is absent and
17952 DEFAULT_STACK_PERMS doesn't include PF_X.
17953
451f001b
UD
179542011-01-13 Ulrich Drepper <drepper@gmail.com>
17955
cfa28e56
UD
17956 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17957 in child fails because the descriptor is already closed.
8cf8ce17
UD
17958 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17959 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17960 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17961
1086d70d
UD
17962 [BZ #12397]
17963 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17964 syscall.
17965
451f001b
UD
17966 [BZ #10484]
17967 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17968 temporary buffer used to handle multi lookups locally.
a85b5cb4 17969 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17970
08769175
UD
179712011-01-12 Ulrich Drepper <drepper@gmail.com>
17972
17973 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17974 loader is ld.so.
17975
5e49c52e
UD
179762011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17977
17978 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17979 alignment for SSE2.
17980
60522a5f
UD
179812011-01-12 Ulrich Drepper <drepper@gmail.com>
17982
17983 [BZ #12394]
17984 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17985 characters. When rounding increased number of integer digits recompute
17986 number of groups.
17987 * stdio-common/tst-grouping.c: New file.
17988 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17989
f257bbd7
UD
179902011-01-09 Ulrich Drepper <drepper@gmail.com>
17991
17992 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17993 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17994
17995 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17996 void.
17997 * bits/select.h: Likewise.
17998
fa9c15cb
UD
179992011-01-08 Ulrich Drepper <drepper@gmail.com>
18000
18001 * po/ja.po: Update from translation team.
18002
16c2895f
DM
180032011-01-04 David S. Miller <davem@sunset.davemloft.net>
18004
18005 [BZ #11155]
18006 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18007 implementation just like for lxstat, fxstatat, et al.
18008
2543fef2
JM
180092010-12-27 Jim Meyering <meyering@redhat.com>
18010
18011 [BZ #12348]
18012 * posix/regexec.c (build_trtable): Return failure indication upon
18013 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18014
98727dbe
UD
180152010-12-25 Ulrich Drepper <drepper@gmail.com>
18016
5bd6dc5c
UD
18017 [BZ #12201]
18018 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18019 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18020 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18021 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18022
97983464
UD
18023 [BZ #12207]
18024 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18025
98727dbe
UD
18026 [BZ #12204]
18027 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18028 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18029
4a531bb0
L
180302010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18031
18032 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18033 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18034 script has SORT_BY_INIT_PRIORITY.
18035 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18036 NO_CTORS_DTORS_SECTIONS is defined.
18037 * elf/soinit.c: Likewise.
18038 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18039 NO_CTORS_DTORS_SECTIONS is defined.
18040 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18041 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18042 * sysdeps/sh/init-first.c: Likewise.
18043 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18044
07eb4b71
UD
180452010-12-24 Ulrich Drepper <drepper@gmail.com>
18046
18047 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18048 always use the slow path.
18049
30950a5f
RA
180502010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18051
18052 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18053 similar rule which adds the sysdep directories to the header search in
18054 order to pick up the correct platform stackinfo.h.
18055 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18056 perform test if it is, otherwise return successfully without testing.
18057 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18058 DEFAULT_STACK_PERMS define in stackinfo.h.
18059 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18060 defined in stackinfo.h.
18061 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18062 DEFAULT_STACK_PERMS defined in stackinfo.h.
18063 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18064 * sysdeps/ia64/stackinfo.h: Likewise.
18065 * sysdeps/s390/stackinfo.h: Likewise.
18066 * sysdeps/sh/stackinfo.h: Likewise.
18067 * sysdeps/sparc/stackinfo.h: Likewise.
18068 * sysdeps/x86_64/stackinfo.h: Likewise.
18069 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18070 PF_X for powerpc64. Retain PF_X for powerpc32.
18071
db753e2c
UD
180722010-12-19 Ulrich Drepper <drepper@gmail.com>
18073
14b697f7
UD
18074 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18075 accurately.
db753e2c
UD
18076 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18077 GETDENTS_64BIT_ALIGNED.
18078
28300719
UD
180792010-12-14 Ulrich Drepper <dreper@gmail.com>
18080
14b697f7 18081 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18082
4f197237
AS
180832010-12-10 Andreas Schwab <schwab@redhat.com>
18084
dbb0472f
AS
18085 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18086 _GNU_SOURCE.
18087
4f197237
AS
18088 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18089 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18090 Remove __restrict.
18091 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18092 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18093
fb88ac72
UD
180942010-12-09 Ulrich Drepper <drepper@gmail.com>
18095
18096 [BZ #11655]
18097 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18098 are initialized.
18099
42acbb92
JJ
181002010-12-09 Jakub Jelinek <jakub@redhat.com>
18101
18102 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18103
c038d98d
UD
181042010-12-03 Ulrich Drepper <drepper@gmail.com>
18105
18106 * po/it.po: Update from translation team.
18107
3a4a2499
L
181082010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18109
18110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18111 unused codes.
18112
1e24cf6e
UD
181132010-11-30 Ulrich Drepper <drepper@gmail.com>
18114
18115 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18116
a7690819
AS
181172010-11-24 Andreas Schwab <schwab@redhat.com>
18118
18119 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18120 specially.
18121 (gaih_getanswer_slice): Likewise.
18122
3bf8d1b1
JJ
181232010-10-20 Jakub Jelinek <jakub@redhat.com>
18124
18125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18126
6db52fbb
PB
181272010-05-31 Petr Baudis <pasky@suse.cz>
18128
18129 [BZ #11149]
18130 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18131 silently even in the chroot mode.
18132
eaca7569
UD
181332010-11-22 Ulrich Drepper <drepper@gmail.com>
18134
18135 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18136 last patch a bit. Pretty printing
18137
3056dcdb
UD
181382010-05-31 Petr Baudis <pasky@suse.cz>
18139
18140 [BZ #10085]
18141 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18142 initialization of skip_initgroups_dyn.
18143
cf7c9078
UD
181442010-11-19 Ulrich Drepper <drepper@gmail.com>
18145
18146 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18147 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18148
a1fb5e3e
UD
181492010-11-16 Ulrich Drepper <drepper@gmail.com>
18150
18151 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18152
3540d66b
AS
181532010-11-11 Andreas Schwab <schwab@redhat.com>
18154
18155 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18156 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18157 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18158 ($(objpfx)tst-fnmatch-mem): New rule.
18159 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18160 * posix/tst-fnmatch.c (main): Call mtrace.
18161
13b69574
L
181622010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18163
18164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18165 Support Intel processor model 6 and model 0x2c.
18166
da93d214
LM
181672010-11-10 Luis Machado <luisgpm@br.ibm.com>
18168
18169 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18170 signed comparison.
18171
8ca52c6e
L
181722010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18173
18174 [BZ #12205]
18175 * string/test-strncasecmp.c (check_result): New function.
18176 (do_one_test): Use it.
18177 (check1): New function.
18178 (test_main): Use it.
18179 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
18180 Support strcasecmp and strncasecmp.
18181
69da074d
UD
181822010-11-08 Ulrich Drepper <drepper@gmail.com>
18183
18184 [BZ #12194]
18185 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
18186 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18187
ff02d528
L
181882010-11-07 H.J. Lu <hongjiu.lu@intel.com>
18189
18190 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
18191 IFUNC support.
18192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18193 memset-x86-64.
18194 * sysdeps/x86_64/multiarch/bzero.S: New file.
18195 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
18196 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
18197 * sysdeps/x86_64/multiarch/memset.S: New file.
18198 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
18199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18200 Set bit_Prefer_SSE_for_memop for Intel processors.
18201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
18202 Define.
18203 (index_Prefer_SSE_for_memop): Define.
18204 (HAS_PREFER_SSE_FOR_MEMOP): Define.
18205
344d0b54
LM
182062010-11-04 Luis Machado <luisgpm@br.ibm.com>
18207
18208 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
18209 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
18210
c0dde15b
UD
182112010-11-03 H.J. Lu <hongjiu.lu@intel.com>
18212
18213 [BZ #12191]
18214 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18215 (__x86_64_raw_data_cache_size_half): Likewise.
18216 (__x86_64_raw_shared_cache_size): Likewise.
18217 (__x86_64_raw_shared_cache_size_half): Likewise.
18218
18219 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18220 (__x86_64_raw_data_cache_size_half): Likewise.
18221 (__x86_64_raw_shared_cache_size): Likewise.
18222 (__x86_64_raw_shared_cache_size_half): Likewise.
18223 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18224 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18225 and __x86_64_raw_shared_cache_size_half. Round
18226 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18227 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18228 to multiple of 256 bytes.
18229
0e516e0e
MS
182302010-11-03 Ulrich Drepper <drepper@gmail.com>
18231
18232 [BZ #12167]
18233 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18234 of inacessible symlinks. Verify result of symlink before returning it.
18235 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18236 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18237
0e012e87
ER
182382010-10-28 Erich Ritz <erichritz@gmail.com>
18239
18240 * math/math.h (isinf): Fix typo in comment.
18241
de0ff7bc
UD
182422010-11-01 Ulrich Drepper <drepper@gmail.com>
18243
18244 * po/da.po: Update from translation team.
18245
fa41c84d
UD
182462010-10-26 Ulrich Drepper <drepper@gmail.com>
18247
18248 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18249 is added to the list.
18250
f0967738
AK
182512010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18252 Ulrich Drepper <drepper@gmail.com>
18253
18254 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18255 the global list here. Move code to...
18256 (_dl_add_to_namespace_list): ...here. New function.
18257 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18258 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18259 * elf/dl-load.c (lose): Don't remove the element from the list.
18260 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18261 (_dl_map_object): Likewise.
18262
182632010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18264
18265 [BZ #12159]
18266 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18267 into all bytes of SSE register.
18268 Patch by Richard Li <richardpku@gmail.com>.
18269
f0967738 182702010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18271
18272 [BZ #12140]
18273 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18274 perturbing.
18275
d0b9e94f
MB
182762010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18277
18278 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18279 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18280 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18281 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18283 submachine.
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18285
8e9f92e9
AS
182862010-10-22 Andreas Schwab <schwab@redhat.com>
18287
18288 * include/dlfcn.h (__RTLD_SECURE): Define.
18289 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18290 mode & __RTLD_SECURE instead.
18291 (open_path): Rename preloaded parameter to secure.
18292 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18293 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18294 * elf/dl-deps.c (openaux): Likewise.
18295 * elf/rtld.c (struct map_args): Remove is_preloaded.
18296 (map_doit): Don't use it.
18297 (dl_main): Likewise.
18298 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18299 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18300
bc96fbda
AS
183012010-09-09 Andreas Schwab <schwab@redhat.com>
18302
18303 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18304 (sysd-rules-targets): Remove duplicates.
18305 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18306 rtld-%.$o dependency.
18307
22cd1c9b
AS
183082010-10-18 Andreas Schwab <schwab@redhat.com>
18309
18310 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18311 _dl_map_object do it.
18312
18edac48
UD
183132010-10-19 Ulrich Drepper <drepper@gmail.com>
18314
18315 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18316 fast fma builtins, define the macros in the C99 standard.
18317 (FP_FAST_FMAF): Likewise.
18318 (FP_FAST_FMAL): Likewise.
18319 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18320
18321 * bits/mathdef.h: Update copyright year.
18322 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18323
d2050124
MM
183242010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18325
18326 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18327 builtins, define the macros in the C99 standard.
18328 (FP_FAST_FMAF): Likewise.
18329 (FP_FAST_FMAL): Likewise.
18330 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18331 multiply/add.
18332 (FP_FAST_FMAF): Likewise.
18333
475facd1
JJ
183342010-10-15 Jakub Jelinek <jakub@redhat.com>
18335
18336 [BZ #3268]
18337 * math/libm-test.inc (fma_test): Some new testcases.
18338 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18339 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18340 y and infinite z. Do multiplication by C already in long double.
18341 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18343 y and infinite z. Do bitwise or of inexact bit into u.d.
18344 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18345 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18346 * sysdeps/i386/fpu/s_fma.S: Removed.
18347 * sysdeps/i386/fpu/s_fmal.S: Removed.
18348
7c08a05c
JJ
183492010-10-16 Jakub Jelinek <jakub@redhat.com>
18350
18351 [BZ #3268]
18352 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18354 computation is not scheduled after fetestexcept. Fix value
18355 of minimum denormal long double.
18356
f3f7372d
JJ
183572010-10-14 Jakub Jelinek <jakub@redhat.com>
18358
18359 [BZ #3268]
18360 * math/libm-test.inc (fma_test): Add some more tests.
18361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18362 correctly.
18363
14d43591
AS
183642010-10-15 Andreas Schwab <schwab@redhat.com>
18365
18366 * scripts/data/localplt-s390-linux-gnu.data: New file.
18367 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18368
5e908464
JJ
183692010-10-13 Jakub Jelinek <jakub@redhat.com>
18370
18371 [BZ #3268]
18372 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18373 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18374 instead of dbl-64.
18375 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18376 inlines.
18377 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18378 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18379 if one of x and y is very large and the other is subnormal.
18380 * sysdeps/s390/fpu/s_fmaf.c: New file.
18381 * sysdeps/s390/fpu/s_fma.c: New file.
18382 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18383 * sysdeps/powerpc/fpu/s_fma.S: New file.
18384 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18385 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18386 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18387
183882010-10-12 Jakub Jelinek <jakub@redhat.com>
18389
18390 [BZ #3268]
18391 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18392 fma tests.
18393 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18394 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18395 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18396 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18397 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18398 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18399 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18400
b833d51f
UD
184012010-10-12 Ulrich Drepper <drepper@redhat.com>
18402
18403 [BZ #12078]
18404 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18405 * posix/bug-regex31.input: Add test case.
18406
1751705d
UD
184072010-10-11 Ulrich Drepper <drepper@gmail.com>
18408
e9b9cbf5
UD
18409 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18410 * posix/bug-regex31.input: New file.
18411
18412 [BZ #12078]
18413 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18414 (parse_sub_exp): Fix last change, use postorder.
18415
ef06edbe
UD
18416 * posix/bug-regex31.c: New file.
18417 * posix/Makefile: Add rules to build and run bug-regex31.
18418
a129c80d
UD
18419 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18420
18421 [BZ #12078]
18422 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18423
b76b818e
UD
18424 [BZ #12108]
18425 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18426 to have entries in sys_siglist.
18427
1751705d
UD
18428 [BZ #12093]
18429 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18430 be NULL.
18431
9ff8d36f
JJ
184322010-10-07 Jakub Jelinek <jakub@redhat.com>
18433
18434 [BZ #3268]
18435 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18436 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18437 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18438 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18439 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18440 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18441 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18442 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18443 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18444 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18445 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18446 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18447 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18448 * math/ftestexcept.c (fetestexcept): Likewise.
18449 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18450 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18451 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18452 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18453 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18454 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18455 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18456
af325969
UD
184572010-10-11 Ulrich Drepper <drepper@gmail.com>
18458
c579b202 18459 [BZ #12107]
af325969
UD
18460 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18461 newline.
18462
67a67b95
UD
184632010-10-06 Ulrich Drepper <drepper@gmail.com>
18464
18465 * string/bug-strstr1.c: New file.
18466 * string/Makefile: Add rules to build and run bug-strstr1.
18467
5fb308bc
EB
184682010-10-05 Eric Blake <eblake@redhat.com>
18469
18470 [BZ #12092]
18471 * string/str-two-way.h (two_way_long_needle): Always clear memory
18472 when skipping input due to the shift table.
18473
45db99c7
UD
184742010-10-03 Ulrich Drepper <drepper@gmail.com>
18475
3b111893
UD
18476 [BZ #12005]
18477 * malloc/mcheck.c: Handle large requests.
18478
45db99c7
UD
18479 [BZ #12077]
18480 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18481 for strncmp and strncasecmp.
18482 * string/stratcliff.c: Add tests for strcmp and strncmp.
18483 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18484
cf7a1eb8
NI
184852010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18486
18487 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18488 __set_fpscr.
18489
6484ba5e
AJ
184902010-09-30 Andreas Jaeger <aj@suse.de>
18491
18492 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18493 (CGROUP_SUPER_MAGIC): Define.
18494 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18495 Handle btrfs and cgroup file systems.
18496 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18497 Likewise.
18498
91c42559
LM
184992010-09-27 Luis Machado <luisgpm@br.ibm.com>
18500
18501 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18502 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18503
87a97932
AK
185042010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18505
18506 [BZ #12067]
18507 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18508 trying to locate the ELF header.
18509
c21cc9bc
AS
185102010-09-27 Andreas Schwab <schwab@redhat.com>
18511
18512 [BZ #11611]
18513 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18514 Mask out sign-bit copies when constructing f_fsid.
18515
315970f6
PB
185162010-09-24 Petr Baudis <pasky@suse.cz>
18517
18518 * debug/stack_chk_fail_local.c: Add missing licence exception.
18519 * debug/warning-nop.c: Likewise.
18520
1ac7a2c7
JM
185212010-09-15 Joseph Myers <joseph@codesourcery.com>
18522
18523 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18524 implementing getdents64 using getdents syscall, set d_type if
18525 __ASSUME_GETDENTS32_D_TYPE.
18526
56801c50
AS
185272010-09-16 Andreas Schwab <schwab@redhat.com>
18528
18529 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18530 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18531
dda51327
UD
185322010-09-21 Ulrich Drepper <drepper@redhat.com>
18533
18534 [BZ #12037]
18535 * posix/unistd.h: Undo change of feature selection for ftruncate from
18536 2010-01-11.
18537
8ffcee4a
UD
185382010-09-20 Ulrich Drepper <drepper@redhat.com>
18539
a545ecd9 18540 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18541 detection.
18542
e24f0a8b
AS
185432010-09-20 Andreas Schwab <schwab@redhat.com>
18544
18545 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18546 fanotify_mark.
18547 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18548
7291c56f
AS
185492010-09-14 Andreas Schwab <schwab@redhat.com>
18550
18551 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18552 variables after CHECK_SP call.
18553 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18554
bc5fb037
AS
185552010-09-13 Andreas Schwab <schwab@redhat.com>
18556 Ulrich Drepper <drepper@redhat.com>
18557
18558 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18559 re-relocationg ld.so.
18560 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18561 _dl_init_paths call.
18562 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18563 here anymore.
18564
e66e7419
UD
185652010-09-14 Ulrich Drepper <drepper@redhat.com>
18566
18567 * resolv/res_init.c (__res_vinit): Count the default server we added.
18568
c044aa75
CLT
185692010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18570 Ulrich Drepper <drepper@redhat.com>
18571
18572 [BZ #11968]
18573 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18574 (____longjmp_chk): Use %ebx for saving value across system call.
18575 Add unwind info.
18576
32cf4069
AS
185772010-09-06 Andreas Schwab <schwab@redhat.com>
18578
18579 * manual/Makefile: Don't mix pattern rules with normal rules.
18580
817328ee
AS
185812010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18582
18583 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18584 operation.
18585 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18586 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18587 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18588 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18589 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18590 Likewise.
18591
29fddf61
UD
185922010-09-04 Ulrich Drepper <drepper@redhat.com>
18593
18594 [BZ #11979]
18595 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18596 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18597
0959ffc9
UD
185982010-09-02 Ulrich Drepper <drepper@redhat.com>
18599
18600 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18601 * sysdeps/x86_64/addmul_1.S: Likewise.
18602 * sysdeps/x86_64/lshift.S: Likewise.
18603 * sysdeps/x86_64/mul_1.S: Likewise.
18604 * sysdeps/x86_64/rshift.S: Likewise.
18605 * sysdeps/x86_64/sub_n.S: Likewise.
18606 * sysdeps/x86_64/submul_1.S: Likewise.
18607
ece29840
ST
186082010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18609
0959ffc9
UD
18610 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18611 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18612 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18613 * bits/sched.h [__need_schedparam]
ece29840 18614 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18615 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18616 (__defined_schedparam): Define to 1.
ece29840
ST
18617 (__sched_param): New structure, identical to sched_param.
18618 (__need_schedparam): Undefine.
18619
e53a31fe
MF
186202010-08-31 Mike Frysinger <vapier@gentoo.org>
18621
fdc0c10d
MF
18622 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18623 (epoll_create1): Declare.
18624
e53a31fe
MF
18625 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18626
a726d796
AS
186272010-08-31 Andreas Schwab <schwab@redhat.com>
18628
18629 [BZ #7066]
18630 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18631 shifting retval into place.
18632
2f3e3dc7
UD
186332010-09-01 Ulrich Drepper <drepper@redhat.com>
18634
f2933da9
UD
18635 * nis/rpcsvc/nis.h: Update copyright notice.
18636 * nis/rpcsvc/nis.x: Likewise.
18637 * nis/rpcsvc/nis_callback.h: Likewise.
18638 * nis/rpcsvc/nis_callback.x: Likewise.
18639 * nis/rpcsvc/nis_object.x: Likewise.
18640 * nis/rpcsvc/nis_tags.h: Likewise.
18641 * nis/rpcsvc/yp.h: Likewise.
18642 * nis/rpcsvc/yp.x: Likewise.
18643 * nis/rpcsvc/ypupd.h: Likewise.
18644 * nis/yp_xdr.c: Likewise.
18645 * nis/ypupdate_xdr.c: Likewise.
18646
2f3e3dc7
UD
18647 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18648 mainly the body of pmap_getport. Add parameters to specify timeouts.
18649 (pmap_getport): Use __libc_rpc_getport.
18650 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18651 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18652 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18653
f3dcc2f9
AS
186542010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18655
18656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18657 fanotify_mark.
18658
6d34eb5b
RM
186592010-08-27 Roland McGrath <roland@redhat.com>
18660
18661 * sysdeps/i386/i686/multiarch/Makefile
18662 (CFLAGS-varshift.c): New variable.
18663
9ea3de11
UD
186642010-08-27 Ulrich Drepper <drepper@redhat.com>
18665
c96d23fc
UD
18666 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18667 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18668
9ea3de11
UD
18669 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18670
18671 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18672
623aac7f
L
186732010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18674
18675 * sysdeps/x86_64/strlen.S: Unroll the loop.
18676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18677 strlen-sse2 strlen-sse2-bsf.
18678 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18679 __strlen_no_bsf if bit_Slow_BSF is set.
18680 (__strlen_sse42): Removed.
18681 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18682 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18683
8b2b7715
RM
186842010-08-25 Roland McGrath <roland@redhat.com>
18685
18686 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18687 * sysdeps/x86_64/multiarch/varshift.c: New file.
18688 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18689 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18690 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18691 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18692
e73015f2
L
186932010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18694
18695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18696 strlen-sse2 strlen-sse2-bsf.
18697 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18698 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18699 (__strlen_sse2): Removed.
18700 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18701 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18703 bit_Slow_BSF for Atom.
18704 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18705 (index_Slow_BSF): Define.
18706 (HAS_SLOW_BSF): Define.
18707
df24a73e
UD
187082010-08-25 Ulrich Drepper <drepper@redhat.com>
18709
18710 [BZ #10851]
18711 * resolv/res_init.c (__res_vinit): When no server address at all
18712 is given default to loopback.
18713
f2ac4868
RM
187142010-08-24 Roland McGrath <roland@redhat.com>
18715
09055553
RM
18716 * configure.in: Remove config-name.h generation.
18717 * configure: Regenerated.
18718 * config-name.in: File removed.
18719 * scripts/config-uname.sh: New file.
18720 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18721 ($(objdir)config-name.h): New target.
18722
f2ac4868
RM
18723 * sunrpc/rpc_parse.h: Avoid nested comment.
18724
73f27d5e
RH
187252010-08-24 Richard Henderson <rth@redhat.com>
18726 Ulrich Drepper <drepper@redhat.com>
18727 H.J. Lu <hongjiu.lu@intel.com>
18728
18729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18730 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18731 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18732 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18733 _mm_alignr_epi8 with _mm_loadu_si128.
18734 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18735 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18736 (__m128i_shift_right): Removed.
18737 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18738 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18739 * sysdeps/x86_64/multiarch/varshift.h: New file.
18740 * sysdeps/x86_64/multiarch/varshift.S: New file.
18741
84b9230c
MF
187422010-08-21 Mike Frysinger <vapier@gentoo.org>
18743
18744 * configure.in: Move assembler checks to before sysdep dir checking.
18745
9bbd0ddc
PB
187462010-08-20 Petr Baudis <pasky@suse.cz>
18747
18748 * LICENSES: Sync the sunrpc license.
18749
9da4bb31
UD
187502010-08-19 Ulrich Drepper <drepper@redhat.com>
18751
a7ab6ec8
UD
18752 * sunrpc/auth_des.c: Update copyright notice once again.
18753 * sunrpc/auth_none.c: Likewise.
18754 * sunrpc/auth_unix.c: Likewise.
18755 * sunrpc/authdes_prot.c: Likewise.
18756 * sunrpc/authuxprot.c: Likewise.
18757 * sunrpc/bindrsvprt.c: Likewise.
18758 * sunrpc/clnt_gen.c: Likewise.
18759 * sunrpc/clnt_perr.c: Likewise.
18760 * sunrpc/clnt_raw.c: Likewise.
18761 * sunrpc/clnt_simp.c: Likewise.
18762 * sunrpc/clnt_tcp.c: Likewise.
18763 * sunrpc/clnt_udp.c: Likewise.
18764 * sunrpc/clnt_unix.c: Likewise.
18765 * sunrpc/des_crypt.c: Likewise.
18766 * sunrpc/des_soft.c: Likewise.
18767 * sunrpc/get_myaddr.c: Likewise.
18768 * sunrpc/getrpcport.c: Likewise.
18769 * sunrpc/key_call.c: Likewise.
18770 * sunrpc/key_prot.c: Likewise.
18771 * sunrpc/openchild.c: Likewise.
18772 * sunrpc/pm_getmaps.c: Likewise.
18773 * sunrpc/pm_getport.c: Likewise.
18774 * sunrpc/pmap_clnt.c: Likewise.
18775 * sunrpc/pmap_prot.c: Likewise.
18776 * sunrpc/pmap_prot2.c: Likewise.
18777 * sunrpc/pmap_rmt.c: Likewise.
18778 * sunrpc/rpc/auth.h: Likewise.
18779 * sunrpc/rpc/auth_unix.h: Likewise.
18780 * sunrpc/rpc/clnt.h: Likewise.
18781 * sunrpc/rpc/des_crypt.h: Likewise.
18782 * sunrpc/rpc/key_prot.h: Likewise.
18783 * sunrpc/rpc/netdb.h: Likewise.
18784 * sunrpc/rpc/pmap_clnt.h: Likewise.
18785 * sunrpc/rpc/pmap_prot.h: Likewise.
18786 * sunrpc/rpc/pmap_rmt.h: Likewise.
18787 * sunrpc/rpc/rpc.h: Likewise.
18788 * sunrpc/rpc/rpc_des.h: Likewise.
18789 * sunrpc/rpc/rpc_msg.h: Likewise.
18790 * sunrpc/rpc/svc.h: Likewise.
18791 * sunrpc/rpc/svc_auth.h: Likewise.
18792 * sunrpc/rpc/types.h: Likewise.
18793 * sunrpc/rpc/xdr.h: Likewise.
18794 * sunrpc/rpc_clntout.c: Likewise.
18795 * sunrpc/rpc_cmsg.c: Likewise.
18796 * sunrpc/rpc_common.c: Likewise.
18797 * sunrpc/rpc_cout.c: Likewise.
18798 * sunrpc/rpc_dtable.c: Likewise.
18799 * sunrpc/rpc_hout.c: Likewise.
18800 * sunrpc/rpc_main.c: Likewise.
18801 * sunrpc/rpc_parse.c: Likewise.
18802 * sunrpc/rpc_parse.h: Likewise.
18803 * sunrpc/rpc_prot.c: Likewise.
18804 * sunrpc/rpc_sample.c: Likewise.
18805 * sunrpc/rpc_scan.c: Likewise.
18806 * sunrpc/rpc_scan.h: Likewise.
18807 * sunrpc/rpc_svcout.c: Likewise.
18808 * sunrpc/rpc_tblout.c: Likewise.
18809 * sunrpc/rpc_util.c: Likewise.
18810 * sunrpc/rpc_util.h: Likewise.
18811 * sunrpc/rpcinfo.c: Likewise.
18812 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18813 * sunrpc/rpcsvc/key_prot.x: Likewise.
18814 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18815 * sunrpc/rpcsvc/mount.x: Likewise.
18816 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18817 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18818 * sunrpc/rpcsvc/rex.x: Likewise.
18819 * sunrpc/rpcsvc/rstat.x: Likewise.
18820 * sunrpc/rpcsvc/rusers.x: Likewise.
18821 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18822 * sunrpc/rpcsvc/spray.x: Likewise.
18823 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18824 * sunrpc/rtime.c: Likewise.
18825 * sunrpc/svc.c: Likewise.
18826 * sunrpc/svc_auth.c: Likewise.
18827 * sunrpc/svc_authux.c: Likewise.
18828 * sunrpc/svc_raw.c: Likewise.
18829 * sunrpc/svc_run.c: Likewise.
18830 * sunrpc/svc_simple.c: Likewise.
18831 * sunrpc/svc_tcp.c: Likewise.
18832 * sunrpc/svc_udp.c: Likewise.
18833 * sunrpc/svc_unix.c: Likewise.
18834 * sunrpc/svcauth_des.c: Likewise.
18835 * sunrpc/xcrypt.c: Likewise.
18836 * sunrpc/xdr.c: Likewise.
18837 * sunrpc/xdr_array.c: Likewise.
18838 * sunrpc/xdr_float.c: Likewise.
18839 * sunrpc/xdr_mem.c: Likewise.
18840 * sunrpc/xdr_rec.c: Likewise.
18841 * sunrpc/xdr_ref.c: Likewise.
18842 * sunrpc/xdr_sizeof.c: Likewise.
18843 * sunrpc/xdr_stdio.c: Likewise.
18844
9da4bb31
UD
18845 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18846 handling.
18847
bdaa77bc
AS
188482010-08-19 Andreas Schwab <schwab@redhat.com>
18849
18850 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18851
fe2f79db
LM
188522010-08-19 Luis Machado <luisgpm@br.ibm.com>
18853
18854 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18855 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18856 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18857 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18858 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18859 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18860 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18861 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18862 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18863 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18864 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18865 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18866 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18867 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18868
b9b42ee0
AB
188692010-07-26 Anton Blanchard <anton@samba.org>
18870
18871 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18872 * malloc/arena.c (heap_trim): Likewise.
18873
1c06ba31
UD
188742010-08-16 Ulrich Drepper <drepper@redhat.com>
18875
18876 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18877 here. Not...
18878 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18879 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18880
f8392f40
L
188812010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18882
18883 * sysdeps/i386/elf/Makefile: New file.
18884
3162f12e
AS
188852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18886
18887 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18888 from fanotify_init.
18889 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18890 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18891
28c90b2c
UD
188922010-08-15 Ulrich Drepper <drepper@redhat.com>
18893
18894 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18895 of strncasecmp_l.
1feccb6c 18896 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18897
ca6bb004
UD
188982010-08-14 Ulrich Drepper <drepper@redhat.com>
18899
e9f82e0d
UD
18900 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18901 strncase_l-nonascii.
18902 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18903 Add strncase_l-ssse3.
18904 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18905 * sysdeps/x86_64/strcmp.S: Likewise.
18906 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18907 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18908 * sysdeps/x86_64/strncase.S: New file.
18909 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18910 * sysdeps/x86_64/strncase_l.S: New file.
18911 * string/Makefile (strop-tests): Add strncasecmp.
18912 * string/test-strncasecmp.c: New file.
18913
18914 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18915 warning.
18916
ca6bb004
UD
18917 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18918 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18919
052fa7b3
AS
189202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18921
18922 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18923
962dba78
UD
189242010-08-12 Ulrich Drepper <drepper@redhat.com>
18925
18926 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18927 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18928 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18929
bebff237
AM
189302010-05-01 Alan Modra <amodra@gmail.com>
18931
18932 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18933 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18934 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18935 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18936 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18937 tidying. Don't tail-call __sigjmp_save for static lib.
18938 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18939 save location.
18940 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18941 (CALL_MCOUNT): Add eh info, and nop after bl.
18942 (TAIL_CALL_SYSCALL_ERROR): New macro.
18943 (PSEUDO_RET): Use it.
18944 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18945 Correct save location of integer regs and cr.
18946 (_dl_profile_resolve): Correct cr save location. Delete nops
18947 after bl when SHARED. Reduce cfi size a little by better
18948 placement of cfi directives.
18949 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18950 make a stack frame. Instead use parm save area as a temp.
18951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18952 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18954 Don't make a stack frame for parent, use parm save area.
18955 Increase child stack frame to 112 bytes. Don't save unused reg,
18956 and adjust reg usage. Set up cfi on error recovery and
18957 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18959 (__makecontext): Add dummy nop after jump to exit.
18960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18961 Use correct parm save area and cr save, reduce stack frame.
18962 Correct cfi for possible PSEUDO_RET frame setup.
18963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18964 Branch to local label emitted by PSEUDO_RET rather than
18965 __syscall_error.
18966
02637374
AS
189672010-08-12 Andreas Schwab <schwab@redhat.com>
18968
18969 [BZ #11904]
18970 * locale/programs/locale.c (print_assignment): New function.
18971 (show_locale_vars): Use it.
18972
c3e2f19b
UD
189732010-08-11 Ulrich Drepper <drepper@redhat.com>
18974
3cdaa6ad
UD
18975 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18976 field.
18977 (struct statfs64): Likewise.
18978 (_STATFS_F_FLAGS): Define.
18979 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18980 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18981 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18982 (ST_VALID): Define locally.
18983 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18984 __statvfs_getflags, use the provided value.
18985 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18986 __ASSUME_STATFS_F_FLAGS.
18987
754f7da3
UD
18988 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18989
10b3bedc
UD
18990 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18991 Add sys/fanotify.h.
18992 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18993 fanotify_mask for GLIBC_2.13.
18994 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18995 fanotify_init and fanotify_mark.
18996 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18997 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18998
c08fb0d7
UD
18999 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19000 Add prlimit.
19001 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19002 prlimit64 for GLIBC_2.13.
19003 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19004 prlimit64.
19005 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19006 syscall.
19007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19008 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19009 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19010 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19011 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19012 add prlimit alias.
19013 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19014
15bac72b
UD
19015 [BZ #11903]
19016 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19017 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19018
c3e2f19b
UD
19019 * nss/Makefile: Add rules to build and run tst-nss-test1.
19020 * shlib-versions: Add entry for libnss_test1.
19021 * nss/nss_test1.c: New file.
19022 * nss/tst-nss-test1.c: New file.
19023
19024 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19025 (__nss_configure_lookup): Set appropriate entry in
19026 __nss_configure_lookup to true.
19027 * nss/nsswitch.h: Define enum with indeces of databases in
19028 databases and __nss_database_custom arrays. Declare
19029 __nss_database_custom.
19030 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19031 to avoid using nscd when custom rules are installed.
19032 * nss/getXXbyYY_r.c: Likewise.
19033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19034
19035 * nss/nss_files/files-parse.c: Whitespace fixes.
19036
f15ce4d8
UD
190372010-08-09 Ulrich Drepper <drepper@redhat.com>
19038
19039 [BZ #11883]
19040 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19041 * posix/fnmatch_loop.c: Likewise.
19042
d22e4cc9
AK
190432010-07-17 Andi Kleen <ak@linux.intel.com>
19044
19045 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19046 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19047 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19048 * Versions.def [GLIBC_2.13]: Add.
19049
805bc17d
UD
190502010-08-06 Ulrich Drepper <drepper@redhat.com>
19051
19052 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19053 Also fail if tpwd after pwuid call is NULL.
19054
5a42321d
ST
190552010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19056
19057 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19058 when converting to ms.
19059
fd3ebeda
ST
190602010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19061
19062 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19063 EOPNOTSUPP errors with ENOTTY.
19064 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19065 EOPNOTSUPP errors with ENOTTY.
19066
73507d3a
UD
190672010-07-31 Ulrich Drepper <drepper@redhat.com>
19068
19069 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19070 Add strcasecmp_l-ssse3.
19071 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19072 strcasecmp.
19073 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19074 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19075 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19076
fe36dd02
UD
190772010-07-30 Ulrich Drepper <drepper@redhat.com>
19078
66f6765a
UD
19079 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19080
42e08a54
UD
19081 * string/Makefile (strop-tests): Add strcasecmp.
19082 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19083 strcasecmp_l-nonascii.
19084 (gen-as-const-headers): Add locale-defines.sym.
19085 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19086 * sysdeps/x86_64/strcasecmp.S: New file.
19087 * sysdeps/x86_64/strcasecmp_l.S: New file.
19088 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19089 * sysdeps/x86_64/locale-defines.sym: New file.
19090 * string/test-strcasecmp.c: New file.
19091
fe36dd02
UD
19092 * string/test-strcasestr.c: Test both ends of the range of characters.
19093 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19094
48cbc0d6
RM
190952010-07-29 Roland McGrath <roland@redhat.com>
19096
76e6d6bc 19097 [BZ #11856]
48cbc0d6
RM
19098 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19099
880113d9
UD
191002010-07-27 Ulrich Drepper <drepper@redhat.com>
19101
19102 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19103 for ld.so.
19104
deb9cabb
AS
191052010-07-27 Andreas Schwab <schwab@redhat.com>
19106
19107 * manual/memory.texi (Malloc Tunable Parameters): Document
19108 M_PERTURB.
19109
1c7570ff
RM
191102010-07-26 Roland McGrath <roland@redhat.com>
19111
19112 [BZ #11840]
19113 * configure.in (-fgnu89-inline check): Set and substitute
19114 gnu89_inline, not libc_cv_gnu89_inline.
19115 * configure: Regenerated.
19116 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19117
24fb0f88
UD
191182010-07-26 Ulrich Drepper <drepper@redhat.com>
19119
19120 * string/test-strnlen.c: New file.
19121 * string/Makefile (strop-tests): Add strnlen.
19122 * string/tester.c (test_strnlen): Add a few more test cases.
19123 * string/tst-strlen.c: Better error reporting.
19124
19125 * sysdeps/x86_64/strnlen.S: New file.
19126
8e96b93a
UD
191272010-07-24 Ulrich Drepper <drepper@redhat.com>
19128
19129 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19130 lower-latency instructions.
19131
dbc676d4
UD
191322010-07-23 Ulrich Drepper <drepper@redhat.com>
19133
19134 * string/test-strcasestr.c: New file.
19135 * string/test-strstr.c: New file.
19136 * string/Makefile (strop-tests): Add strstr and strcasestr.
19137 * string/str-two-way.h: Don't undefine MAX.
19138 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19139
f6a31e0e
AS
191402010-07-21 Andreas Schwab <schwab@redhat.com>
19141
19142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19143 strcasestr-nonascii.
19144 (CFLAGS-strcasestr-nonascii.c): Define.
19145 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19146 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19147 Remove unused attribute.
19148
5dbc3b6c
RM
191492010-07-20 Roland McGrath <roland@redhat.com>
19150
19151 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19152 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19153 ld.so.cache was broken. With it, there is no way to disable dsocaps
19154 like LD_HWCAP_MASK can disable hwcaps.
19155
23d101d8
EPM
191562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19157
19158 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19159
cc9f2e47
UD
191602010-07-16 Ulrich Drepper <drepper@redhat.com>
19161
19162 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19163 call in strcasestr.
19164 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19165 __strcasestr_sse42_nonascii.
19166 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19167 strcasestr-nonascii.c.
19168 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19169
77c1b069
LM
191702010-06-15 Luis Machado <luisgpm@br.ibm.com>
19171
19172 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19173 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19174 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19175 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19176
440566c3
UD
191772010-07-09 Ulrich Drepper <drepper@redhat.com>
19178
19179 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
19180 fcntl.
19181
5be9d05d
AS
191822010-07-06 Andreas Schwab <schwab@redhat.com>
19183
c30b7ee2 19184 [BZ #11577]
5be9d05d
AS
19185 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
19186 dl_signal_cerror.
19187
8a492a67
UD
191882010-07-06 Ulrich Drepper <drepper@redhat.com>
19189
19190 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
19191 _PC_PIPE_BUF using F_GETPIPE_SZ.
19192
713df3d5
RM
191932010-07-05 Roland McGrath <roland@redhat.com>
19194
19195 * manual/arith.texi (Rounding Functions): Fix rint description
19196 implicit in round description.
19197
702e8f14
UD
191982010-07-02 Ulrich Drepper <drepper@redhat.com>
19199
19200 * elf/Makefile: Fix linking for a few tests to make recent linker
19201 happy.
19202
52ed8be9
AS
192032010-06-30 Andreas Schwab <schwab@redhat.com>
19204
19205 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19206 $(common-objpfx)libc_nonshared.a.
19207
f47c9a11
LM
192082010-06-21 Luis Machado <luisgpm@br.ibm.com>
19209
19210 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
19211 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
19212 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19213 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19214 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19215 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19216 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19217 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19232 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19233 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19234 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19235 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19236 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19237 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19238 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19239 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19240 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19241 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19242 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19243 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19258
6fb8cbcb
L
192592010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19260
19261 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19262 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19263 * string/memmove.c (memmove): Renamed to ...
19264 (MEMMOVE): ...this. Default to memmove.
19265 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19266 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19267 (END_CHK): Define.
19268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19269 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19270 mempcpy-ssse3-back memmove-ssse3-back.
19271 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19272 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19273 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19274 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19275 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19276 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19277 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19278 * sysdeps/x86_64/multiarch/memmove.c: New file.
19279 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19280 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19281 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19282 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19283 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19284 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19285 Define.
19286 (index_Fast_Copy_Backward): Define.
19287 (HAS_ARCH_FEATURE): Define.
19288 (HAS_FAST_REP_STRING): Define.
19289 (HAS_FAST_COPY_BACKWARD): Define.
19290
4e733bac 192912010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19292
19293 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19294 Restore proper fallback handling.
19295
63c4ed22
UD
192962010-06-19 Ulrich Drepper <drepper@redhat.com>
19297
ac2b484c
UD
19298 [BZ #11701]
19299 * posix/group_member.c (__group_member): Correct checking loop.
19300
63c4ed22
UD
19301 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19302 OOM in getpwuid_r correctly. Return error number when the caller
19303 should return, otherwise -1.
19304 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19305 call returning > 0 value.
19306 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19307
765ade4b
AS
193082010-06-07 Andreas Schwab <schwab@redhat.com>
19309
19310 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19311 libc_nonshared.a from targets in modules-names.
19312
80da2e09
KS
193132010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19314
19315 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19316 requires it.
19317
158db122
LM
193182010-06-10 Luis Machado <luisgpm@br.ibm.com>
19319
19320 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19321 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19322 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19323 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19324
caa78cf8
AS
193252010-06-02 Andreas Schwab <schwab@redhat.com>
19326
19327 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19328
b2ef2c01
UD
193292010-06-14 Ulrich Drepper <drepper@redhat.com>
19330
19331 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19332 and F_GETPIPE_SZ.
19333 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19334 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19335 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19337 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19338 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19339
fbd643b6
RM
193402010-06-14 Roland McGrath <roland@redhat.com>
19341
19342 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19343
f32f2869
JJ
193442010-06-07 Jakub Jelinek <jakub@redhat.com>
19345
19346 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19347 __REDIRECT followed by __THROW.
19348 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19349 * posix/getopt.h (getopt): Likewise.
19350
2a50c078
EPM
193512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19352
19353 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19354 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19355 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19356 in AT_FLAGS.
19357 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19358 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19359
eb5ad2eb
LM
193602010-05-28 Luis Machado <luisgpm@br.ibm.com>
19361
19362 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19363
3c88fe1e
L
193642010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19365
19366 [BZ #11640]
19367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19368 Properly check family and model.
19369
d2f73151
TY
193702010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19371
19372 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19373
ebd2e13d
LM
193742010-05-24 Luis Machado <luisgpm@br.ibm.com>
19375
19376 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19377
b32b8b45
UD
193782010-05-21 Ulrich Drepper <drepper@redhat.com>
19379
19380 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19381 symbol reference.
19382
9acbe24d
AS
193832010-05-19 Andreas Schwab <schwab@redhat.com>
19384
19385 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19386 symbol reference.
19387
f0ccf6ea
AS
193882010-05-21 Andreas Schwab <schwab@redhat.com>
19389
3d04ff3a
AS
19390 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19391 and internal_recvmmsg.
19392 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19393 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19394 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19395 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19396
f0ccf6ea
AS
19397 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19398 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19399 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19400
5b08ac57
AS
194012010-05-20 Andreas Schwab <schwab@redhat.com>
19402
19403 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19404
4828935d
LM
194052010-05-17 Luis Machado <luisgpm@br.ibm.com>
19406
19407 POWER7 optimizations.
19408 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19409 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19410
373d545e
UD
194112010-05-19 Ulrich Drepper <drepper@redhat.com>
19412
19413 * version.h: Update for 2.13 development version.
19414
21a2b1ae
AS
194152010-05-12 Andrew Stubbs <ams@codesourcery.com>
19416
19417 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19418 exceptions. Return 0.
19419
3f7dcb2b
RM
194202010-05-07 Roland McGrath <roland@redhat.com>
19421
19422 * elf/ldconfig.c (main): Add a const.
19423
5f24d53a 194242010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19425
a160f8d8
UD
19426 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19427 (args_options): Add no-idn option.
19428 (ahosts_keys_int): Add idn_flags to ai_flags.
19429 (parse_option): Handle 'i' option to clear idn_flags.
19430
5f24d53a
UD
19431 * malloc/malloc.c (_int_free): Possible race in the most recently
19432 added check. Only act on the data if no current modification
19433 happened.
265bb1ce
UD
19434
19435See ChangeLog.17 for earlier changes.