]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
syscalls.list support for vDSO IFUNCs, use it for x32 gettimeofday and time.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d6c33fda
RM
12012-05-24 Roland McGrath <roland@hack.frob.com>
2
c1487492
RM
3 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4
5 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
6 in the third column, to generate for the shared library an IFUNC
7 that uses _dl_vdso_vsym.
8 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9 * Makeconfig (object-suffixes-noshared): New variable.
10
11 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
14 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15
d6c33fda
RM
16 [BZ #14132]
17 * include/sys/time.h (__gettimeofday): Remove macro.
18 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20 Remove INTDEF.
21 (__gettimeofday): Add libc_hidden_def.
22 (gettimeofday): Add libc_hidden_weak.
23 * sysdeps/mach/gettimeofday.c: Likewise.
24 * sysdeps/posix/gettimeofday.c: Likewise.
25 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28 (__gettimeofday_internal): Remove strong_alias.
29 (__gettimeofday): Add libc_hidden_def.
30 (gettimeofday): Add libc_hidden_weak.
31 * sysdeps/unix/syscalls.list (gettimeofday):
32 Remove __gettimeofday_internal alias.
33
b5a2bbe6
L
342012-05-24 Daniel Jacobowitz <drow@false.org>
35 H.J. Lu <hongjiu.lu@intel.com>
36
37 [BZ #12495]
38 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40 (largebin_index_32_big): New.
41 (largebin_index): Use it for 16-byte alignment.
42 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
43 correction with front_misalign.
44
cfba4fda
L
452012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46
7f907421
L
47 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49 Likewise.
50 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51 Likewise.
52 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53 Likewise.
54 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55 Likewise.
56 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
57 Likewise.
58 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
59 Likewise.
60 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61 Likewise.
62 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63 Likewise.
64 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65 Likewise.
66 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
67 Likewise.
68 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69 Likewise.
70 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
71 Likewise.
72
cfba4fda
L
73 * scripts/data/c++-types-x32-linux-gnu.data: New file.
74 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75
80bad0cc
JM
762012-05-24 Joseph Myers <joseph@codesourcery.com>
77
7a25eb06
JM
78 [BZ #10846]
79 [BZ #14036]
80 * math/libm-test.inc (exp_test): Add test from bug 14036.
81 (pow_test): Add test from bug 10846.
82
795405f9
JM
83 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
84 and other flags.
85 (special_function): Do not include flags in test name.
86 (parse_args): Likewise.
87 * sysdeps/i386/fpu/libm-test-ulps: Update.
88 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
89 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
90 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
91 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92
80bad0cc
JM
93 * math/gen-libm-test.pl (%beautify): Add entries for underflow
94 exceptions.
95 * math/libm-test.inc ("Philosophy"): Update comment about
96 exception testing.
97 (UNDERFLOW_EXCEPTION): New macro.
98 (UNDERFLOW_EXCEPTION_OK): Likewise.
99 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
100 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
101 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
102 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
103 (INVALID_EXCEPTION_OK): Update value.
104 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
105 (OVERFLOW_EXCEPTION_OK): Likewise.
106 (IGNORE_ZERO_INF_SIGN): Likewise.
107 (test_exceptions): Handle underflow exceptions.
108 (acos_test): Update for underflow exception expectations.
109 (cexp_test): Likewise.
110 (clog_test): Likewise.
111 (clog10_test): Likewise.
112 (csqrt_test): Likewise.
113 (ctan_test): Likewise.
114 (ctanh_test): Likewise.
115 (exp_test): Likewise.
116 (exp10_test): Likewise.
117 (exp2_test): Likewise.
118 (expm1_test): Likewise.
119 (fma_test): Likewise.
120 (j0_test): Likewise.
121 (jn_test): Likewise.
122 (nexttoward_test): Likewise.
123 (pow_test): Likewise.
124 (scalbn_test): Likewise.
125 (scalbln_test): Likewise.
126 (tan_test): Likewise.
127 (y1_test): Likewise.
128 * sysdeps/i386/fpu/libm-test-ulps: Update.
129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
130
9e0e3d0b
DM
1312012-05-23 David S. Miller <davem@davemloft.net>
132
133 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
134 (__libc_sigaction): Remove unused local variables.
135
ccd0a08f
L
1362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
137
138 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
139
62bdf9a6
PE
1402012-05-23 Paul Eggert <eggert@cs.ucla.edu>
141
f8591f80
PE
142 mktime: avoid signed integer overflow
143 * time/mktime.c (__mktime_internal): Do not mishandle the case
144 where diff == INT_MIN.
145
94c7d826
PE
146 mktime: simplify computation of average
147 * time/mktime.c (ranged_convert): Use new time_t_avg function
148 instead of rolling our own (probably-slower) code.
149
ce73d683
PE
150 mktime: do not assume signed right shift propagates sign bit
151 * time/mktime.c (isdst_differ): New static function.
152 (__mktime_internal): No need to normalize tm_isdst now.
153 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
154 tm_isdst values.
155
72a22e59
PE
156 mktime: merge another wrapv change from gnulib
157 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
158 from some compilers.
159
68605433
PE
160 mktime: remove incorrect attempt at unusual arithmetics
161 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
162 The code didn't really work on such machines anyway.
163 (TYPE_MINIMUM): Assume two's complement.
164 (twos_complement_arithmetic): Verify that long_int and time_t
165 are two's complement (or unsigned, in the latter case).
166
03cf7fe3
PE
167 mktime: check signed shifts on long_int and time_t, too
168 * time/mktime.c (SHR): Check that shifts work as desired
169 on the types long_int and time_t too, as SHR is used on
170 such types.
171
f04dfbc2
PE
172 mktime: do not assume 'long' is wide enough
173 * time/mktime.c (verify): Move decl up.
174 (long_int): New type.
175 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
176 to remove assumption in the code that 'long' is wide enough to
177 store year values. This assumption is not true on x32 and on
178 some non-glibc platforms.
179
62bdf9a6
PE
180 mktime: merge wrapv change from gnulib
181 * time/mktime.c (WRAPV): New macro.
182 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
183 (guess_time_tm, __mktime_internal): Do not assume that signed
184 integer overflow wraps around; modern compilers generate code
185 where this assumption is no longer valid.
186
5e292e4f
L
1872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
188
189 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
190 Replace "jmp L(pseudo_end)" with "ret".
191 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
192 Likewise.
193
8caf8c87
AJ
1942012-05-23 Andreas Jaeger <aj@suse.de>
195
196 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
197 * sysdeps/unix/sysv/linux/poll.c: Remove file.
198
1a09dc56
AJ
1992012-05-23 Andreas Jaeger <aj@suse.de>
200 Maximilian Attems <max@stro.at>
201
202 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
203 New macros.
204
1c87aba0
L
2052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
206
207 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
208 code so that pseudo_end is just ret and the stack pointer is
209 correct also for static library in error case.
210
40e45bd5
JM
2112012-05-23 Joseph Myers <joseph@codesourcery.com>
212
c2670533
JM
213 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
214 move to syscalls.list.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
219
40e45bd5
JM
220 * manual/install.texi (Running make install): Do not mention Linux
221 kernel version for which pt_chown is not needed.
222 (Linux): Do not mention problems with nscd with 2.0 kernels.
223 * INSTALL: Regenerated.
224
be08eda5
AJ
2252012-05-23 Andreas Jaeger <aj@suse.de>
226
227 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
228 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
229 macro.
230 * sysdeps/unix/sysv/linux/s390/bits/mman.h
231 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
232 * sysdeps/unix/sysv/linux/sh/bits/mman.h
233 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
234 * sysdeps/unix/sysv/linux/i386/bits/mman.h
235 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
236 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
237 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
238 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
239 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
240 * sysdeps/unix/sysv/linux/bits/in.h
241 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
242
a6a056bb
RM
2432012-05-22 Roland McGrath <roland@hack.frob.com>
244
245 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
246 (PREPARE_VERSION): Just use assert instead, it will be elided
247 under [NDEBUG] anyway.
248
c9009328
L
2492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
250
251 * sysdeps/unix/sysv/linux/Makefile: Include
252 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 253 (sysdep_routines): Remove sysctl.
c9009328
L
254 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
255 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
256 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
257 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
258 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
259
73338355
AJ
2602012-05-22 Andreas Jaeger <aj@suse.de>
261
262 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
263 that pseudo_end is just ret and the stack pointer is correct also
264 for static library in error case.
265
d44638b0
PP
2662012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
267
268 [BZ #14122]
269 * nss/nsswitch.c (defconfig_entries): New variable.
270 (__nss_database_lookup): Don't leak defconfig entries.
271 (nss_parse_service_list): Don't leak on error paths.
272 (free_database_entries): New function.
273 (free_defconfig): New function.
274 (free_mem): Move common code to free_database_entries.
275
31a39bd8
L
2762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
277
da0331a8
L
278 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
279 Add arch_prctl.
280 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
281
31a39bd8
L
282 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
283 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
284 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
285 New macro.
286 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
287 (INTERNAL_SYSCALL_TYPES): Likewise.
288 (LOAD_ARGS_TYPES_[1-6]): Likewise.
289 (LOAD_REGS_TYPES_[1-6]): Likewise.
290 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
291 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
292
45470df3
AZ
2932012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
294
295 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
296 copysignl for GLIBC_2_0.
297 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
298 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
299 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
300 logbl for GLIBC_2_0.
301 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
302 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
303
98a61bcb
L
3042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
305
a4f6e481
L
306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
307 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
308
f63d5db6
L
309 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
310 Use "neg %eax".
311
98a61bcb
L
312 * time/mktime.c: Update copyright years.
313
95770f14
PE
3142012-05-22 Paul Eggert <eggert@cs.ucla.edu>
315
6226efbd
PE
316 mktime: merge comment-quoting-style change from gnulib
317 * time/mktime.c: Quote 'like this' in comments.
318 The GNU coding standards suggest that we no longer quote `like this',
319 as "`" and "'" are typically rendered asymmetrically nowadays.
320 The typical gnulib style is to quote 'like this' when quoting
321 code, and "like this" when quoting English.
322
b99e4f78
PE
323 * time/mktime.c (compile-command): Add "-I.".
324
643e01e6
PE
325 mktime: merge mktime-internal.h change from gnulib
326 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
327
2554247d
PE
328 mktime: merge time_r change from gnulib
329 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
330
826dd0ab
PE
331 mktime: merge DEBUG change from gnulib
332 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
333 case system <time.h> has a #define.
334
bd83aabe
PE
335 mktime: merge <sys/types.h> change from gnulib
336 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
337 since <time.t> is now guaranteed to define time_t.
338
95770f14
PE
339 mktime: merge HAVE_CONFIG_H change from gnulib
340 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
341
5e1a27a9
L
3422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
343
0e44a77e
L
344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
345 Use "neg %eax".
346
5e1a27a9
L
347 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
348 __rlim_t cast.
349 (struct rusage): Use anonymous union to pad each field to
350 __syscall_slong_t.
351
46259bec
DM
3522012-05-21 David S. Miller <davem@davemloft.net>
353
354 * Makefules (o-iterator): Remove .s cases.
355 (compile-command.s): Delete.
356 (COMPILE.s): Delete.
357 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
358
59f0c22e
JM
3592012-05-21 Joseph Myers <joseph@codesourcery.com>
360
361 * configure.in (libc_cv_predef_stack_protector): Only consider
362 "foobar" and "__stack_chk_fail" lines in libc_undefs.
363 * configure: Regenerated.
364
20c07380
L
3652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
366
bbb3154b
L
367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
368 New macro. Use R*LP on int and pointer.
369 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
370 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
371 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
372 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
373
20c07380
L
374 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
375 [__WORDSIZE_TIME64_COMPAT32] instead of
376 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
377 (struct utmp): Likewise.
378 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
379 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
380 Renamed to ...
381 (__WORDSIZE_TIME64_COMPAT32): This.
382 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
383 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
384 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
385 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
386 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
387 (__WORDSIZE_TIME64_COMPAT32): New macro.
388
d8d1017e
AJ
3892012-05-21 Andreas Jaeger <aj@suse.de>
390
391 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
392 only if [SHARED]. Add prototype for __wcschr_ia32.
393
6c7fb145
RM
3942012-05-21 Roland McGrath <roland@hack.frob.com>
395
396 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
397 of %rbp unmolested in the jmp_buf while mangling the low bits.
398 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
399 unmolested high bits of %rbp while demangling the low bits.
400 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
401
66274218
AJ
4022012-05-21 Andreas Jaeger <aj@suse.de>
403
07c58f8f
AJ
404 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
405 * sunrpc/svc_simple.c: Use it for registerrpc.
406 * sunrpc/xcrypt.c: Use it for passwd2des.
407
66274218
AJ
408 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
409
61f65140
L
4102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
411
412 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
413 Don't define if [__SYSCALL_WORDSIZE != 32].
414 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
415 New macro.
416
5fefb436
AJ
4172012-05-21 Bruno Haible <bruno@clisp.org>
418 Andreas Jaeger <aj@suse.de>
419
420 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
421 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
422 inptr and inend for must_buffer_ch.
423 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
424 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
425 * stdio-common/Makefile (tests): Remove bug15.
426 (bug15-ENV): Remove macro.
427 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
428 anymore.
429
d8e272ab
AJ
4302012-05-19 Andreas Jaeger <aj@suse.de>
431 Roland McGrath <roland@hack.frob.com>
432
433 * manual/contrib.texi: Completely rewritten. It contains now an
434 alphabetical list of contributors and their contributions.
435
4a56a162
RH
4362012-05-21 Richard Henderson <rth@twiddle.net>
437
438 * misc/getauxval.c (__getauxval): Use unsigned long int.
439 * misc/sys/auxv.h: Include <sys/cdefs.h>.
440 (getauxval): Use unsigned long int.
441
d024d23c
L
4422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
443
444 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
445
cbc00a03
RM
4462012-05-21 Roland McGrath <roland@hack.frob.com>
447
448 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
449 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
450 __alignof__ (long double).
451
478143fa
AZ
4522012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
453
454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
455
c7683a6d
RH
4562012-05-20 Richard Henderson <rth@twiddle.net>
457
458 * misc/getauxval.c: New file.
459 * misc/sys/auxv.h: New file.
460 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
461 (routines): Add getauxval.
462 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
463 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
464 * elf/dl-sysdep.c (_dl_auxv): Remove.
465 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
466 * elf/dl-support.c (_dl_auxv): New variable.
467 (_dl_aux_init): Initialize it.
468 * manual/startup.texi (Auxiliary Vector): New node.
469 * sysdeps/generic/bits/hwcap.h: New file.
470 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
471 * sysdeps/powerpc/sysdep.h: ... here. Include it.
472 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
473 * sysdeps/sparc/sysdep.h: ... here. Include it.
474 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
475 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
477 Update.
c7683a6d
RH
478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
481 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
486
a6f1845d
AZ
4872012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
488
489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
490
cbcbe830
DM
4912012-05-19 David S. Miller <davem@davemloft.net>
492
493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
494
e0b16cc2
JM
4952012-05-19 Joseph Myers <joseph@codesourcery.com>
496
497 [BZ #14123]
498 * math/s_ccosh.c: Include <float.h>
499 (__ccosh): Avoid internal overflow calculating sinh and cosh
500 values before multiplying by sin and cos values.
501 * math/s_ccoshf.c: Likewise.
502 * math/s_ccoshl.c: Likewise.
503 * math/s_csin.c: Likewise.
504 * math/s_csinf.c: Likewise.
505 * math/s_csinl.c: Likewise.
506 * math/s_csinh.c: Likewise.
507 * math/s_csinhf.c: Likewise.
508 * math/s_csinhl.c: Likewise.
509 * math/libm-test.inc (ccos_test): Add more tests.
510 (ccosh_test): Likewise.
511 (csin_test): Likewise.
512 (csinh_test): Likewise.
513 * sysdeps/i386/fpu/libm-test-ulps: Update.
514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
515
6ad13e08
L
5162012-05-19 H.J. Lu <hongjiu.lu@intel.com>
517
f66f0ce8
L
518 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
519 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
520
6ad13e08
L
521 * sysdeps/x86_64/x32/_itoa.h: Add comment.
522
b1d072a7
JM
5232012-05-19 Joseph Myers <joseph@codesourcery.com>
524
525 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
526 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
527 * sysdeps/powerpc/soft-fp/Versions: Likewise.
528 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
529 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
530 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
531 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
532 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
533 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
534 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
535 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
536 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
537 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
538 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
539 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
540 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
541 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
542 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
543 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
544 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
545 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
546 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
547 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
548 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
549 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
550 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
551 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
552 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
553 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
554 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
555 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
556
9eae47cb
AJ
5572012-05-18 Andreas Jaeger <aj@suse.de>
558
559 * csu/.gitignore: Delete.
560
bb07f69f
L
5612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
562
563 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
564 (timex): Use __syscall_slong_t.
565
e6bdb741
AJ
5662012-05-18 Andreas Jaeger <aj@suse.de>
567 Carlos O'Donell <carlos_odonell@mentor.com>
568
569 * manual/install.texi (Configuring and compiling): Update
570 description about files modified in the source directory.
d6c33fda 571 * INSTALL: Regenerated.
e6bdb741 572
1b74487e
L
5732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
574
575 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
576 value. Use "or" to set return value to -1.
577 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
578 negate return value.
579
a88b64b9
TMQMF
5802012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
581
582 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
583 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
584 failure if the compiler has Graphite support disabled.
585 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
586 Likewise.
587 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
588 CFLAGS-memmove.c): Likewise.
589 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
590 Likewise.
591
3707636e
L
5922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
593
610b8622
L
594 * sysdeps/x86_64/x32/_itoa.h: New file.
595
7cd195df
L
596 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
597 getdents system call only if kernel and user dirents have the
598 same d_ino and d_off.
599
94b07d20
L
600 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
601 LLONG_MAX != LONG_MAX.
602 (_itoa_word): Use _ITOA_WORD_TYPE on value.
603 (_fitoa_word): Likewise.
604
18298070
L
605 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
606 years.
607 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
608 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
609 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
610
553c7ea4
L
611 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
612 include <bits/wordsize.h>. Check __x86_64__ instead of
613 __WORDSIZE.
614 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
615 if __x86_64__ is defined. Use anonymous union on fpstate.
616
3707636e
L
617 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
618 anonymous union.
619
b53ef01a
AS
6202012-05-18 Andreas Schwab <schwab@linux-m68k.org>
621
37fb1dc0
AS
622 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
623 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
624 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
625 Refer to _rtld_local_ro instead of _rtld_global_ro.
626 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
627 Likewise.
628 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
629 Likewise.
630 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
631 Likewise.
632 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
633 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
634 of _rtld_global, and rtld_progname instead of _dl_argv[0].
635
b53ef01a
AS
636 * sysdeps/powerpc/powerpc32/dl-machine.c
637 (__elf_machine_runtime_setup) [PROF]: Don't reference
638 _dl_prof_resolve.
639
7a185db2
AJ
6402012-05-18 Andreas Jaeger <aj@suse.de>
641
642 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
643 function only available for GCCs before 3.4 since GCC 3.4
644 introduced a builtin.
645 (lrint): Likewise.
646 (llrintf): Likewise.
647 (llrint): Likewise.
648 (fmaxf): Likewise.
649 (fmax): Likewise.
650 (fminf): Likewise.
651 (fmin): Likewise.
652 (rint): Likewise.
653 (rintf): Likewise.
654 (nearbyint): Likewise.
655 (nearbyintf): Likewise.
656 (ceil): Likewise.
657 (ceilf): Likewise.
658 (floor): Likewise.
659 (floorf): Likewise.
660
3e5aef87
L
6612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
662
428bd707
L
663 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
664 on both fields and cast pointer to __syscall_ulong_t.
665
3e5aef87
L
666 * bits/types.h (__fsword_t): New type.
667 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
668 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
669 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
670 (__FSWORD_T_TYPE): Likewise.
671 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
672 (__FSWORD_T_TYPE): Likewise.
673 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
674 (__FSWORD_T_TYPE): Likewise.
675 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
676 (__FSWORD_T_TYPE): Likewise.
677 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
678 __SWORD_TYPE with __fsword_t.
679 (statfs64): Likewise.
680
1ba7c3dc
DM
6812012-05-17 David S. Miller <davem@davemloft.net>
682
683 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
684
59910343
AJ
6852012-05-17 Andreas Jaeger <aj@suse.de>
686
687 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
688 warning.
689
2e4c1e9e
L
6902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
691
692 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
693
de7f5ce7
AJ
6942012-05-17 Andreas Jaeger <aj@suse.de>
695
696 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
697 when it is used.
698
286abc3d
CM
6992012-05-17 Chris Metcalf <cmetcalf@tilera.com>
700
701 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
702
477cc68e
L
7032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
704
705 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
706 * sysdeps/x86_64/tst-mallocalign1.c: New file.
707
1a0994f5
CD
7082012-05-17 Andreas Jaeger <aj@suse.de>
709 Carlos O'Donell <carlos_odonell@mentor.com>
710
711 [BZ #14059]
712 * sysdeps/x86_64/multiarch/init-arch.h
713 (bit_YMM_Usable): Rename to...
714 (bit_AVX_Usable): ... this.
715 (bit_FMA4_Usable): New macro.
716 (bit_XMM_state): New macro.
717 (bit_YMM_state): New macro.
718 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
719 [__ASSEMBLER__] (index_AVX_Usable): ... this.
720 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
721 (CPUID_OSXSAVE): New macro.
722 (CPUID_AVX): New macro.
723 (CPUID_FMA4): New macro.
724 (index_YMM_Usable): Rename to...
725 (index_AVX_Usable): ... this.
726 (HAS_AVX): Use HAS_ARCH_FEATURE.
727 (HAS_FMA4): Likewise.
728 (HAS_YMM_USABLE): Remove.
729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
730 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
731 are present.
732 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
733 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
734 * sysdeps/x86_64/multiarch/Makefile: Likewise.
735 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
736 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
737
0af797de
CM
7382012-05-17 Chris Metcalf <cmetcalf@tilera.com>
739
740 * math/libm-test.c: Support platforms without multiple rounding modes.
741 * math/bug-nextafter.c: Support platforms without FP exceptions.
742 * math/bug-nexttoward.c: Likewise.
743 * math/test-fenv.c: Likewise.
744 * math/test-misc.c: Likewise.
745 * stdlib/bug-getcontext.c: Likewise.
746
e39745ff
AJ
7472012-05-17 Andreas Jaeger <aj@suse.de>
748
749 * manual/examples/search.c (critter_cmp): Change signature to
750 avoid warnings.
751 * manual/string.texi (Collation Functions): Likewise.
752
48970aba
L
7532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
754
755 * bits/types.h: Fold copyright years.
756 * bits/typesizes.h: Likewise.
757 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
759 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
761 * time/time.h: Likewise.
762
bedee953
PP
7632012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
764
765 [BZ #208]
766 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
767 in instead of returning them. Return void.
768 (__libc_mallinfo): Accumulate over all arenas.
769 (__malloc_stats): Adjust for change in int_mallinfo interface.
770
61653dfb
RM
7712012-05-16 Roland McGrath <roland@hack.frob.com>
772
30b99d79
RM
773 [BZ #10375]
774 * configure.in (NM): Add AC_CHECK_TOOL for it.
775 (libc_extra_cflags): New substituted variable.
776 Check for -fstack-protector being used implicitly.
777 * configure: Regenerated.
778 * config.make.in (config-extra-cflags): New variable,
779 gets @libc_extra_cflags@.
780 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
781
61653dfb
RM
782 [BZ #10375]
783 * configure.in: Check for _FORTIFY_SOURCE being predefined.
784 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
785 * configure: Regenerated.
786 * config.make.in (CPPUNDEFS): New substituted variable.
787 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
788 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
789 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
790
661768bb
L
7912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
792
793 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
794 (mq_attr): Use __syscall_slong_t.
795
d4261567
L
7962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
797
798 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
799 Check __x86_64__ instead of __WORDSIZE.
800 (_STAT_VER_LINUX): Likewise.
801 (stat): Check __x86_64__ instead of __WORDSIZE. Use
802 __syscall_ulong_t and __syscall_slong_t.
803 (stat64): Likewise.
804
cf3ff365
L
8052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
806
807 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
808
76cf3e4d
L
8092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
810
811 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
812
a637753a
L
8132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
814
815 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
816 __syscall_ulong_t.
817
d5e05119
L
818 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
819 include <bits/wordsize.h>. Check __x86_64__ instead of
820 __WORDSIZE.
821 (greg_t): Use "__extension__ long long int" if __x86_64__ is
822 defined.
823 (mcontext_t): Replace "unsigned long" with "unsigned long long".
824
f62ee380
L
825 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
826 include <bits/wordsize.h>. Check __x86_64__ instead of
827 __WORDSIZE.
828 (user_regs_struct): Use "__extension__ unsigned long long"
829 instead of "unsigned long" if __x86_64__ is defined.
830 (user): Likewise. Pad after pointer field if __ILP32__ is
831 defined.
832
4e124ced
JM
8332012-05-16 Joseph Myers <joseph@codesourcery.com>
834
6a3951a0
JM
835 * configure.in (makeinfo): Require version 4.5 or later. Allow
836 versions 5 to 9.
837 * configure: Regenerated.
838 * manual/install.texi (texinfo): Increase version requirement to
839 4.5 or later.
840 * INSTALL: Regenerated.
841
4e124ced
JM
842 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
843
953ca31a
L
8442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
845
846 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
847
617aca05
L
848 * sysdeps/x86_64/x32/ffs.c: New file.
849
5762f7ae
L
850 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
851 __syscall_ulong_t.
852 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
853 defined. Use __syscall_ulong_t.
854 (shminfo): Use __syscall_ulong_t.
855 (shm_info): Likewise.
856
a26b6856
L
857 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
858 __syscall_ulong_t.
859
cb2b9ef7
L
860 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
861 <bits/wordsize.h>.
862 (msgqnum_t): Use __syscall_ulong_t.
863 (msglen_t): Likewise.
864 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
865 __syscall_ulong_t.
866
34683bb0
L
867 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
868 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
869
84a68786
L
870 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
871
48baa5f1
L
872 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
873 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
874
180be88b
L
875 * sysvipc/sys/msg.h (msgbuf): Replace long int with
876 __syscall_slong_t.
877
5e90c8ad
L
878 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
879 include <bits/wordsize.h>. Check __x86_64__ instead of
880 __WORDSIZE.
881
23dfb58b
L
882 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
883 "unsigned long long int" if __x86_64__ is defined.
884 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
885
ce5d54b0
L
886 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
887 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
888 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
889
13dc9eac
L
890 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
891 <stdint.h>.
892 (GET_PC): Cast to uintptr_t first.
893 (GET_FRAME): Likewise.
894 (GET_STACK): Likewise.
895
a7895d15
L
896 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
897 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
898 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
899 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
900 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
901 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
902 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
903 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
904 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
905 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
906 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
907 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
908 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
909 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
910 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
911 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
912 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
913 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
914 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
915 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
916 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
917 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
918 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
919 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
920 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
921 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
922 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
923 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
924 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
925
656416c9
AS
9262012-05-16 Andreas Schwab <schwab@linux-m68k.org>
927
5bd66283
AS
928 * Makerules (+depfiles): Also collect depfiles from .oS in
929 $(extra-objs).
930 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
931 .oS, $(libnldbl-routines)).
932
656416c9
AS
933 * Makerules (native-compile-mkdep-flags): Define.
934 * sunrpc/Makefile (extra-objs): Add $(addprefix
935 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
936 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
937 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
938 calling $(make-target-directory).
939
a46f2169
L
9402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
941
942 * bits/types.h (__snseconds_t): Removed.
943 * time/time.h (struct timespec): Replace __snseconds_t with
944 __syscall_slong_t.
945 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
946 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
947 Likewise.
948 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
949 (__SNSECONDS_T_TYPE): Likewise.
950 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
951 (__SNSECONDS_T_TYPE): Likewise.
952 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
953 (__SNSECONDS_T_TYPE): Likewise.
954
6af6528b
L
9552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
956
957 * sysdeps/mach/hurd/bits/typesizes.h
958 (__SYSCALL_SLONG_TYPE): New macro.
959 (__SYSCALL_ULONG_TYPE): Likewise.
960
de986b56
L
9612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
962
963 * bits/types.h (__syscall_slong_t): New type.
964 (__syscall_ulong_t): Likewise.
965
966 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
967 (__SYSCALL_ULONG_TYPE): Likewise.
968 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
969 (__SYSCALL_SLONG_TYPE): Likewise.
970 (__SYSCALL_ULONG_TYPE): Likewise.
971 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
972 (__SYSCALL_SLONG_TYPE): Likewise.
973 (__SYSCALL_ULONG_TYPE): Likewise.
974 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
975 (__SYSCALL_SLONG_TYPE): Likewise.
976 (__SYSCALL_ULONG_TYPE): Likewise.
977
85736dc7
L
9782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
979
980 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
981 Add sigaltstack-offsets.sym.
982 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
983 <sigaltstack-offsets.h>.
984 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
985 longjmp_msg pointer.
986 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
987 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
988 signal stack.
989 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
990
cc03b296
JM
9912012-05-15 Joseph Myers <joseph@codesourcery.com>
992
a9538892
JM
993 * elf/stackguard-macros.h: Remove file.
994 * sysdeps/generic/stackguard-macros.h: New file.
995 * sysdeps/i386/stackguard-macros.h: Likewise.
996 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
997 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
998 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
999 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1000 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1001 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1002 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1003 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1004 <elf/stackguard-macros.h>.
1005
cc03b296
JM
1006 [BZ #14109]
1007 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1008 __aligned__ in attribute.
1009 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1010 (gregset_t): Likewise.
1011
93171016
L
10122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1013
1014 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1015 * sysdeps/x86_64/64/Implies-after: Here. New file.
1016 * sysdeps/x86_64/x32/Implies-after: New file.
1017
d86813a0
L
10182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1019
1020 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1021 and access return value for _dl_profile_fixup. Use R10_LP to
1022 load frame size.
1023
2953ec75
L
10242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1025
1026 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1027
3b550e9e
L
10282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1029
1030 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1031 * sysdeps/x86_64/x32/sysdep.h: New file.
1032
eda41706
L
10332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1034
1035 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1036 * sysdeps/x86_64/setjmp.S: Likewise.
1037
9ea01d93
AZ
10382012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1039
1040 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1041 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1042 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1043 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1044 remove unused global constant.
1045
02a91938
CM
10462012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1047
1048 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1049 include of <not-cancel.h>.
1050
6540185f
RM
10512012-05-15 Roland McGrath <roland@hack.frob.com>
1052
1053 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1054
509072a0
AJ
10552012-05-15 Jeff Law <law@redhat.com>
1056 Andreas Jaeger <aj@suse.de>
1057
1058 [BZ #13594]
1059 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1060 out from...
1061 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1062 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1063 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1064 code changing __hst_map_handle.map.
1065
ba75122d
RM
10662012-05-15 Roland McGrath <roland@hack.frob.com>
1067
1068 * configure.in (sysnames): Look for Implies-before and Implies-after
1069 files.
1070 * configure: Regenerated.
1071
890d8bd8
L
10722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1073
1074 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1075 8-byte data alignment with LP_SIZE alignment.
1076
f6ee6623
L
10772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1080 into R10_LP.
1081
ea2626f6
L
10822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1085
085f715e
L
10862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1087
1088 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1089 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1090 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1091 Likewise.
1092 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1093
be8498fc
L
10942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1095
1096 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1097 (stackinfo_sub_sp): Likewise.
1098
70bc83b9
L
10992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1100
1101 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1102 RAX_LP.
1103
9bc0b730
L
11042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1105
1106 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1107 into R*_LP.
1108
6d2850e7
L
11092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1110
1111 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1112 sizes into R*_LP.
1113
3cb84561
L
11142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1115
1116 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1117
54e2ed81
L
11182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1119
1120 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1121 into R11_LP and load __x86_64_shared_cache_size_half into
1122 R8_LP.
1123
8a17f349
L
11242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1127 R8_LP.
1128
777b1eea
AZ
11292012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1130
1131 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1132 logb for POWER7.
1133 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1134 logbf for POWER7.
1135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1136 logbl for POWER7.
1137 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1138 powerpc32/power7/fpu/s_logb.c via #include.
1139 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1140 powerpc32/power7/fpu/s_logbf.c via #include.
1141 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1142 powerpc32/power7/fpu/s_logbl.c via #include.
1143
d20d4ac2
JM
11442012-05-15 Joseph Myers <joseph@codesourcery.com>
1145
1146 * README.libm: Remove file.
1147
6cdef1ab
L
11482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1149
1150 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1151 count for x32. Use R*_LP and omit operand-size suffix.
1152
0b254d8f
L
11532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1154
1155 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1156 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1157 * sysdeps/x86_64/x32/shlib-versions: New file.
1158
ceb809dc
RM
11592012-05-14 Roland McGrath <roland@hack.frob.com>
1160
1161 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1162 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1163 Use _dl_fatal_printf instead.
1164
37f1abd4
JM
11652012-05-14 Joseph Myers <joseph@codesourcery.com>
1166
1167 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1168 set if not set by the user. Do not allow for being unset.
1169 * sysdeps/unix/sysv/linux/configure: Regenerated.
1170
11de3a33
L
11712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1172
1173 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1174 the `q' suffix from lea and replace .quad with ASM_ADDR.
1175
e02f153a
L
11762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1177
1178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1179 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1180 instead of $17.
1181 (PTR_DEMANGLE): Likewise.
1182
520ae0fd
L
11832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1184
1185 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1186 (LP_OP): Likewise.
1187 (ASM_ADDR): Likewise.
1188 (RAX_LP): Likewise.
1189 (RBP_LP): Likewise.
1190 (RBX_LP): Likewise.
1191 (RCX_LP): Likewise.
1192 (RDI_LP): Likewise.
1193 (RSI_LP): Likewise.
1194 (RSP_LP): Likewise.
1195 (R8_LP): Likewise.
1196 (R9_LP): Likewise.
1197 (R10_LP): Likewise.
1198 (R10_LP): Likewise.
1199 (R11_LP): Likewise.
1200 (R12_LP): Likewise.
1201 (R13_LP): Likewise.
1202 (R14_LP): Likewise.
1203 (R15_LP): Likewise.
1204
b985be81
L
12052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1206
1207 * sysdeps/x86_64/x32/dl-machine.h: New file.
1208
6a4888ff
AJ
12092012-05-14 Andreas Jaeger <aj@suse.de>
1210
1211 * manual/Makefile (subdir): Remove export of subdir.
1212 (all): Remove target.
1213 (.PHONY): Remove all from list.
1214 (mkinstalldirs): Remove.
1215 (.PHONY): Remove installdirs from list.
1216 ($(inst_infodir)/libc.info): Use make-target-directory.
1217 (installdirs): Remove.
1218 (subdir_%): Remove.
1219 (glibc-targets): Remove.
1220 (lib): Remove.
1221 (stubs): Remove.
1222 ($(objpfx)stubs ../po/manual.pot): Remove.
1223 ($(objpfx)stamp%): Remove.
1224 (make-target-directory): Remove.
1225 (subdir_install): Remove.
1226 (routines): Remove.
1227 (aux): Remove.
1228 (sources): Remove.
1229 (objects): Remove.
1230 (headers): Remove.
1231
1232 [BZ #13750]
1233 * manual/.gitignore: Remove, it's not needed anymore.
1234 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1235 all files in it.
1236 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1237 directory.
1238 (texis): Renamed to $(objpfx)texis.
1239 (texis-path): New, contains path to generated files.
1240 (chapters.%): Use texis-path for complete path, add extra argument
1241 libc-texinfo.sh.
1242 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1243 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1244 (summary,texi, stamp-summary): Use complete path of
1245 files. Generate files in build dir.
1246 (dir-add.texi): Build in build dir.
1247 (libm-err.texi,stamp-libm-err): Likewise.
1248 (version.texi, stamp-version): Likewise.
1249 (.%c.texi): Likewise.
1250 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1251 (mostlyclean): Remove target.
1252 (realclean): Remove target.
1253 (generated): Add new variable with contents from mostlyclean and
1254 realclean, remove entries duplicated in common-mostlyclean, add
1255 stamp-libm-err and stamp-version.
1256 (generated-dirs): Add libc directory.
1257 ($(inst_infodir)/libc.info): Install files from build dir.
1258
1259 * manual/install.texi (Configuring and compiling): Adjust since
1260 the info files are not part of the tar ball anymore.
1261
7ac77294
AJ
12622012-05-14 Andreas Jaeger <aj@suse.de>
1263
1264 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1265 variable.
1266
ffb7875d
JM
12672012-05-14 Joseph Myers <joseph@codesourcery.com>
1268
1269 [BZ #13717]
1270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1271 to 2.2.0 where earlier.
1272 * sysdeps/unix/sysv/linux/configure: Regenerated.
1273 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1274 Remove conditional code.
1275 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1276 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1277 Remove conditional code.
1278 [!__NR_lchown]: Likewise.
1279 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1280 [__NR_lchown]: Likewise.
1281 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1282 comment referencing __ASSUME_LCHOWN_SYSCALL.
1283 * sysdeps/unix/sysv/linux/i386/sigaction.c
1284 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1285 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1286 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1287 Remove conditional code.
1288 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1289 (__protocol_available): Remove #if 0 code.
1290 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1291 conditional code.
1292 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1293 * sysdeps/unix/sysv/linux/kernel-features.h
1294 (__ASSUME_GETCWD_SYSCALL): Don't define.
1295 (__ASSUME_REALTIME_SIGNALS): Likewise.
1296 (__ASSUME_PREAD_SYSCALL): Likewise.
1297 (__ASSUME_PWRITE_SYSCALL): Likewise.
1298 (__ASSUME_POLL_SYSCALL): Likewise.
1299 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1300 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1301 non-SPARC.
1302 (__ASSUME_SIOCGIFNAME): Don't define.
1303 (__ASSUME_MSG_NOSIGNAL): Likewise.
1304 (__ASSUME_SENDFILE): Define unconditionally.
1305 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1306 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1307 conditional code.
1308 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1309 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1310 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1311 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1312 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1313 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1314 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1316 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1319 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1322 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1325 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1328 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1331 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1334 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1335 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1337 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1339 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1340 Remove conditional code.
1341 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1342 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1343 Remove conditional code.
1344 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1345 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1346 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1347 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1348 Remove conditional code.
1349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1350 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1351 Remove conditional code.
1352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1353 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1354 Remove conditional code.
1355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1356 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1357 Remove conditional code.
1358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1359 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1360 Remove conditional code.
1361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1362 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1363 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1365 * sysdeps/unix/sysv/linux/sigaction.c
1366 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1367 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1368 * sysdeps/unix/sysv/linux/sigpending.c
1369 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1370 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1371 * sysdeps/unix/sysv/linux/sigprocmask.c
1372 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1373 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1374 * sysdeps/unix/sysv/linux/sigsuspend.c
1375 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1376 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1377 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1378 (__libc_missing_rt_sigs): Remove.
1379 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1380 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1381 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1382 Remove conditional code.
1383 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1384 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1385 return 1.
1386 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1387 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1388 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1389 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1390
1bfb7291
AJ
13912012-05-14 Andreas Jaeger <aj@suse.de>
1392
caae5a81
AJ
1393 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1394 it's not used in glibc.
1395 (__coshm1): Likewise.
1396 (__acosh1p): Likewise.
1397 (__sgn): Likewise.
1398
1bfb7291
AJ
1399 * manual/string.texi (Copying and Concatenation): Add missing
1400 variable in concat example.
1401 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1402
c044d724
L
14032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1404
144c5467 1405 [BZ #14103]
c044d724
L
1406 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1407 __builtin_clzl with __builtin_clzll.
1408
2523c62b
L
14092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1410
1411 [BZ #14104]
1412 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1413 libc_freeres_ptr.
1414
d7bb4c42
LD
14152012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1416
1417 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1418 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1419 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1420 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1421
9dc4e1fb
MF
14222012-05-14 Mike Frysinger <vapier@gentoo.org>
1423
1424 * NEWS: Update ia64 info.
1425
c7df0112
AS
14262012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1427
1428 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1429 used as bcopy.
1430
dc70356c
TS
14312012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1432
1433 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1434 * sysdeps/unix/syscalls.list (dup3): Likewise.
1435 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1436 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1437
9fb1a21f
L
14382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1439
1440 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1441 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1442
4822a2a5
L
14432012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1444
1445 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1446 thread pointer.
1447 (TLS_IE): Use mov/add instead of movq/addq to load thread
1448 pointer.
1449 (TLS_GD_PREFIX): New.
1450 (TLS_GD): Use it.
1451
842b81d6
DM
14522012-05-11 David S. Miller <davem@davemloft.net>
1453
1454 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1455 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1456 (_FPU_SETCW): Likewise.
1457
1cf463cd
L
14582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1459
1460 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1461 is 32-byte aligned.
1462
60cc4a18
AS
14632012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1464
1465 [BZ #11837]
1466 * iconvdata/gb18030.c: Update tables.
1467 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1468 characters specially.
1469 (BODY for TO_LOOP): Add encoding of missing ranges.
1470
febb44a4
TS
14712012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1472
1473 [BZ #13673]
1474 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1475 * sysdeps/mach/hurd/dup3.c: Likewise.
1476 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1477 * sysdeps/powerpc/memmove.c:: Likewise.
1478
0a10fb9e
L
14792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1480
1481 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1482 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1483
df8a552f
L
14842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 * elf/elf.h (R_X86_64_RELATIVE64): New.
1487 (R_X86_64_NUM): Updated.
1488 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1489 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1490 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1491 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1492 tst-quad1pie tst-quad2pie
1493 (modules-names): Add tst-quadmod1 tst-quadmod2.
1494 ($(objpfx)tst-quad1): New dependency.
1495 ($(objpfx)tst-quad2): Likewise.
1496 ($(objpfx)tst-quad1pie): Likewise.
1497 ($(objpfx)tst-quad2pie): Likewise.
1498 * sysdeps/x86_64/tst-quad1.c: New file.
1499 * sysdeps/x86_64/tst-quad1pie.c: New file.
1500 * sysdeps/x86_64/tst-quad2.c: Likewise.
1501 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1502 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1503 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1504 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1505 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1506
f34d6f84
ST
15072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1508
f42d41d1
ST
1509 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1510 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1511 * streams/stropts.h (t_scalar_t): Define type.
1512
3c3571fc
ST
1513 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1514 (_PATH_PRESERVE): Set to "/var/lib".
1515 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1516
61f06bd3
ST
1517 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1518 instead of int.
1519
918d4d71
ST
1520 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1521 if __dir_mkfile succeeded.
1522
f34d6f84
ST
1523 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1524 checking for _hurd_dtablesize. Unlock it right after having
1525 finished _hurd_dtable allocation.
1526
10589b4a
TS
15272012-05-10 Thomas Schwinge <thomas@schwinge.name>
1528
674cdbc7
TS
1529 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1530 * sysdeps/mach/hurd/configure: Regenerated.
1531 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1532 special-casing to...
1533 * sysdeps/gnu/configure.in: ... this new file.
1534 * sysdeps/unix/sysv/linux/configure: Regenerated.
1535 * sysdeps/gnu/configure: New generated file.
1536
8e41b99f
TS
1537 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1538 for Linux: use nsec instead of usec, as well as:
1539 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1540 members of type struct timespec.
1541 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1542 New macros.
1543 (struct stat64): Likewise.
1544 (_STATBUF_ST_NSEC): New macro.
1545 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1546
10589b4a
TS
1547 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1548 __strtoul_internal rather than strtoul.
1549
63643c85
PT
15502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1551
1552 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1553 and reject them.
1554
3faebe6a
ST
15552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1556
1557 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1558 which preserves existing values.
1559 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1560
c6474b07
PT
15612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1562
1563 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1564 TIMEOUT values. Return EINVAL for NFDS values either negative or
1565 greater than FD_SETSIZE.
1566
1043890b
ST
15672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1568
1569 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1570 allocated, call __vm_protect to finish enabling the existing space, and
1571 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1572 allocate the remainder.
1573
37ed8b9b
PT
15742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1575
1576 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1577 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1578
db653660
ST
15792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1580
37ed8b9b
PT
1581 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1582 sysdeps/mach/hurd/readlink.c.
b29d4053 1583
db653660
ST
1584 * posix/tst-sysconf.c (posix_options): Only use
1585 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1586 _POSIX_SYNCHRONIZED_IO when they are defined
1587 * sysdeps/mach/hurd/bits/posix_opt.h:
1588 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1589 (_XOPEN_REALTIME): Undefine macro.
1590 (_XOPEN_REALTIME_THREADS): Undefine macro.
1591 (_XOPEN_SHM): Undefine macro.
1592 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1593 macro to -1.
1594 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1595 macro to -1.
1596 (_POSIX_ASYNC_IO): Undefine macro.
1597 (_POSIX_PRIORITIZED_IO): Undefine macro.
1598 (_POSIX_SPIN_LOCKS): Define macro to -1.
1599
ee16e894
ST
1600 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1601 SA_NODEFER, SA_RESETHAND.
1602 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1603 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1604 F_DUPFD_CLOEXEC.
1605
6103ae3b
TS
16062012-05-10 Thomas Schwinge <thomas@schwinge.name>
1607
1608 * elf/Makefile (pldd-modules): Define unconditionally.
1609
80b4e5f3
TS
16102012-05-10 Thomas Schwinge <thomas@schwinge.name>
1611
1612 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1613
edadcbd6
ST
16142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1615
1616 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1617 Return ENOENT when name is empty.
1618 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1619
80694780
TS
16202012-05-10 Thomas Schwinge <thomas@schwinge.name>
1621
1792c087
TS
1622 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1623
80694780
TS
1624 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1625
6b645f0d
ST
16262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1627
80694780
TS
1628 Fix mlock in all cases except non-readable pages.
1629 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1630 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1631
6b645f0d
ST
1632 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1633 (__mkdir): When path is `/', just fail with EEXIST.
1634 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1635
e468f8a3
TS
16362012-05-10 Thomas Schwinge <thomas@schwinge.name>
1637
1638 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1639 <sys/uio.h> (for writev).
1640 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1641 and <sys/param.h> (for MIN).
1642
a4186cff
PT
16432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1644
1645 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1646 REQUESTED_TIME. Properly set the remaining time and return EINTR
1647 if interrupted.
1648
510bbf14
TS
16492012-05-10 Thomas Schwinge <thomas@schwinge.name>
1650
1651 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1652 Depend on against $(link-rpcuserlibs).
1653
5d5722e8
ST
16542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1655
a4186cff
PT
1656 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1657 (__libc_stack_end): Do not use attribute_relro.
1658 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1659 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1660 to libthread-provided value.
a4186cff
PT
1661 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1662 attribute_relro.
5d5722e8 1663
37233df9
TS
16642012-05-10 Thomas Schwinge <thomas@schwinge.name>
1665
be971a2b
TS
1666 [BZ #3748]
1667 * bits/libc-lock.h (__libc_once_get): New macro.
1668 * sysdeps/mach/bits/libc-lock.h: Likewise.
1669 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1670 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1671 instead of using implementation details.
1672
37233df9
TS
1673 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1674 * libio/freopen.c: Likewise.
1675 * libio/freopen64.c: Likewise.
1676 * misc/syslog.c: Likewise.
1677 * nscd/connections.c: Likewise.
1678 * nscd/netgroupcache.c: Likewise.
1679 * sysdeps/posix/getcwd.c: Likewise.
1680
38de94a5
RM
16812012-05-10 Roland McGrath <roland@hack.frob.com>
1682
1683 * math/w_ilogbf.c: Add #include <limits.h>.
1684
67530489
ST
16852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1686
a4186cff 1687 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1688 path instead of returning without unlocking.
1689
67530489
ST
1690 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1691 immediate-write ioctls.
1692 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1693
5aa3a74a
TS
16942012-05-10 Thomas Schwinge <thomas@schwinge.name>
1695
18bad2ae
TS
1696 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1697 __builtin_frame_address instead of making assumptions about the
1698 location of the return address relative to DATA. Force early load of
1699 the return address.
1700 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1701 __builtin_frame_address.
1702
5aa3a74a
TS
1703 dup3 for GNU Hurd.
1704 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1705 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1706 implement dup3 and do some further code clean-ups.
1707 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1708 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1709
ecd0de9a
ST
17102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1711
cd9fa985
ST
1712 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1713
a4186cff
PT
1714 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1715 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1716 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1717 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1718 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1719 d->port.lock.
802ca5a5 1720
a4186cff
PT
1721 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1722 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1723 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1724
bcf55240
TS
17252012-05-10 Thomas Schwinge <thomas@schwinge.name>
1726
6960eb42
TS
1727 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1728 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1729 definitions.
1730
eb43375f
TS
1731 accept4 for GNU Hurd.
1732 * include/sys/socket.h (__libc_accept4): New prototype.
1733 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1734 to implement __libc_accept4.
1735 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1736 __libc_accept4.
1737 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1738
bcf55240
TS
1739 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1740 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1741 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1742 signal-defines.sym.
1743
6178c55b
ST
17442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1745
a4186cff 1746 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1747
6f080c2f
TS
17482012-05-10 Thomas Schwinge <thomas@schwinge.name>
1749
1750 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1751 assertion on O_CLOEXEC flag.
1752 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1753 * hurd/intern-fd.c: Likewise.
1754 * hurd/port2fd.c: Likewise.
1755
bcfe3a54
ST
17562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1757
1758 [BZ #3906]
1759 * bits/in.h (IPV6_PKTINFO): Define new macro.
1760 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1761
89c9aa49
AZ
17622012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1763
1764 [BZ #13954]
1765 [BZ #13955]
1766 [BZ #13956]
1767 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1768 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1769 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1770 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1771 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1772 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1773 * math/libm-test.inc (logb_test) : Additional logb tests.
1774
021db4be
AJ
17752012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1776 Andreas Jaeger <aj@suse.de>
1777
1778 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1779 * configure: Regenerated.
1780 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1781 * config.make.in (link-obsolete-rpc): New substituted variable.
1782 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1783 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1784 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1785 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1786 so that libc.a contains the symbols.
1787 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1788 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1789 * sunrpc/auth_none.c: Likewise.
1790 * sunrpc/auth_unix.c: Likewise.
1791 * sunrpc/authdes_prot.c: Likewise.
1792 * sunrpc/authuxprot.c: Likewise.
1793 * sunrpc/clnt_gen.c: Likewise.
1794 * sunrpc/clnt_perr.c: Likewise.
1795 * sunrpc/clnt_raw.c: Likewise.
1796 * sunrpc/clnt_simp.c: Likewise.
1797 * sunrpc/clnt_tcp.c: Likewise.
1798 * sunrpc/clnt_udp.c: Likewise.
1799 * sunrpc/clnt_unix.c: Likewise.
1800 * sunrpc/des_crypt.c: Likewise.
1801 * sunrpc/des_soft.c: Likewise.
1802 * sunrpc/get_myaddr.c: Likewise.
1803 * sunrpc/key_call.c: Likewise.
1804 * sunrpc/key_prot.c: Likewise.
1805 * sunrpc/netname.c: Likewise.
1806 * sunrpc/pm_getmaps.c: Likewise.
1807 * sunrpc/pm_getport.c: Likewise.
1808 * sunrpc/pmap_clnt.c: Likewise.
1809 * sunrpc/pmap_prot.c: Likewise.
1810 * sunrpc/pmap_prot2.c: Likewise.
1811 * sunrpc/pmap_rmt.c: Likewise.
1812 * sunrpc/publickey.c: Likewise.
1813 * sunrpc/rpc_cmsg.c: Likewise.
1814 * sunrpc/rpc_common.c: Likewise.
1815 * sunrpc/rpc_dtable.c: Likewise.
1816 * sunrpc/rpc_prot.c: Likewise.
1817 * sunrpc/rpc_thread.c: Likewise.
1818 * sunrpc/rtime.c: Likewise.
1819 * sunrpc/svc.c: Likewise.
1820 * sunrpc/svc_auth.c: Likewise.
1821 * sunrpc/svc_raw.c: Likewise.
1822 * sunrpc/svc_run.c: Likewise.
1823 * sunrpc/svc_tcp.c: Likewise.
1824 * sunrpc/svc_udp.c: Likewise.
1825 * sunrpc/svc_unix.c: Likewise.
1826 * sunrpc/svcauth_des.c: Likewise.
1827 * sunrpc/xcrypt.c: Likewise.
1828 * sunrpc/xdr.c: Likewise.
1829 * sunrpc/xdr_array.c: Likewise.
1830 * sunrpc/xdr_float.c: Likewise.
1831 * sunrpc/xdr_intXX_t.c: Likewise.
1832 * sunrpc/xdr_mem.c: Likewise.
1833 * sunrpc/xdr_rec.c: Likewise.
1834 * sunrpc/xdr_ref.c: Likewise.
1835 * sunrpc/xdr_sizeof.c: Likewise.
1836 * sunrpc/xdr_stdio.c: Likewise.
1837
b5c086a2
RM
18382012-05-10 Roland McGrath <roland@hack.frob.com>
1839
1840 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1841 change. Update copyright years.
1842
6d74dd09
JM
18432012-05-10 Joseph Myers <joseph@codesourcery.com>
1844
1845 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1846
28e72501
MK
18472012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1848 Joseph Myers <joseph@codesourcery.com>
1849 Paul Pluzhnikov <ppluzhnikov@google.com>
1850
1851 [BZ #14012]
1852 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1853 requiring rpcgen.
1854 [cross-compiling] (extra-libs): Likewise.
1855 [cross-compiling] (extra-libs-others): Likewise.
1856 [cross-compiling] (librpcsvc-routines): Likewise.
1857 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1858 [cross-compiling] (omit-deps): Likewise.
1859 (sunrpc-CPPFLAGS): New variable.
1860 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1861 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1862 (cross-rpcgen-objs): New variable.
1863 (extra-objs): Append $(cross-rpcgen-objs).
1864 ($(cross-rpcgen-objs)): New rule.
1865 ($(objpfx)cross-rpcgen): Likewise.
1866 (rpcgen-cmd): Define to use $(built-program-file). Expand
1867 comment.
1868 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1869 ($(objpfx)x%.stmp): Likewise.
1870 * sunrpc/proto.h [IS_IN_build] (_): Define.
1871 [IS_IN_build] (_libc_intl_domainname): Likewise.
1872
c8c59454
L
18732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1874
1875 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1876 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1877 and R_X86_64_TPOFF64.
1878
6f27cd16
JM
18792012-05-10 Joseph Myers <joseph@codesourcery.com>
1880
1881 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1882 sysdeps/unix/sysv/syscalls.list.
1883 (stime): Likewise.
1884 (utime): Likewise.
1885 * sysdeps/unix/sysv/syscalls.list: Remove file.
1886
02467e1c
PE
18872012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1888
1889 [BZ #3440]
1890 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1891 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1892 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1893 (__LC_IDENTIFICATION): Make these macros useful in #if
1894 expressions, as required by C99.
1895
da392631
AS
18962012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1897
1898 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1899 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1900 after this.
1901
8115f29b
L
19022012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 * stdlib/longlong.h: Updated from GCC.
1905
bdd74070
AJ
19062012-05-09 Andreas Jaeger <aj@suse.de>
1907
edfe0dbe
AJ
1908 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1909 default is first entry.
1910 (run_mode): Set type.
1911 (main): Remove informal message about syslog.
1912 (options): Fix typo.
1913
bcfe3a54
ST
1914 [BZ #14053]
1915 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1916 to asm.
bcfe3a54
ST
1917 (lrint): Likewise.
1918 (llrintf): Likewise.
1919 (llrint): Likewise.
1920 (rint): Likewise.
1921 (rintf): Likewise.
1922 (nearbyint): Likewise.
1923 (nearbyintf): Likewise.
bdd74070 1924
91d8d69e
AJ
19252012-05-09 Andreas Jaeger <aj@suse.de>
1926 Pedro Alves <palves@redhat.com>
1927
1928 * nscd/nscd.c (run_mode): Use enum.
1929 (main): Cleanup coding style issue.
1930
bb90b80b
AJ
19312012-05-09 Alexandre Oliva <aoliva@redhat.com>
1932 Andreas Jaeger <aj@suse.de>
1933
bcfe3a54
ST
1934 * nscd/nscd.c (go_background): Replaced with...
1935 (run_mode): ... this.
bb90b80b 1936 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1937 (options): Add -F --foreground.
1938 (main): Implement it.
1939 (parse_opt): Parse it.
bb90b80b 1940
1a4b75a1
AJ
19412012-05-09 Andreas Jaeger <aj@suse.de>
1942
1943 [BZ #14083]
1944 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1945 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1946 -Wconversion warning.
1947 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1948 Likewise.
1949
b1cc2472
JM
19502012-05-09 Joseph Myers <joseph@codesourcery.com>
1951
1952 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1953 == 0.
1954 (LC_ALL): Use macro-int-constant.
1955 (LC_COLLATE): Likewise.
1956 (LC_CTYPE): Likewise.
1957 (LC_MESSAGES): Likewise.
1958 (LC_MONETARY): Likewise.
1959 (LC_NUMERIC): Likewise.
1960 (LC_TIME): Likewise.
1961 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1962 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1963 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1964 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1965 Specify type.
1966 [C99-based standards] (float_t): Expect type.
1967 [C99-based standards] (double_t): Expect type.
1968 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1969 type.
1970 [C99-based standards] (HUGE_VALL): Likewise.
1971 [C99-based standards] (INFINITY): Likewise.
1972 [C99-based standards] (NAN): Likewise.
1973 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1974 [C99-based standards] (FP_NAN): Likewise.
1975 [C99-based standards] (FP_NORMAL): Likewise.
1976 [C99-based standards] (FP_SUBNORMAL): Likewise.
1977 [C99-based standards] (FP_ZERO): Likewise.
1978 [C99-based standards] (FP_FAST_FMA): Use
1979 optional-macro-int-constant. Specify type. Require == 1.
1980 [C99-based standards] (FP_FAST_FMAF): Likewise.
1981 [C99-based standards] (FP_FAST_FMAL): Likewise.
1982 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1983 [C99-based standards] (FP_ILOGBNAN): Likewise.
1984 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1985 Specify type.
1986 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1987 [C99-based standards] (math_errhandling): Specify type.
1988 [ISO99 || ISO11] (signgam): Do not allow.
1989 [non-C99-based standards] (copysignf): Do not allow.
1990 [non-C99-based standards] (exp2f): Likewise.
1991 [non-C99-based standards] (log2f): Likewise.
1992 [non-C99-based standards] (modff): Allow.
1993 [non-C99-based standards] (erff): Do not allow.
1994 [non-C99-based standards] (erfcf): Likewise.
1995 [non-C99-based standards] (gammaf): Likewise.
1996 [non-C99-based standards] (hypotf): Likewise.
1997 [non-C99-based standards] (j0f): Likewise.
1998 [non-C99-based standards] (j1f): Likewise.
1999 [non-C99-based standards] (jnf): Likewise.
2000 [non-C99-based standards] (lgammaf): Likewise.
2001 [non-C99-based standards] (tgammaf): Likewise.
2002 [non-C99-based standards] (y0f): Likewise.
2003 [non-C99-based standards] (y1f): Likewise.
2004 [non-C99-based standards] (ynf): Likewise.
2005 [non-C99-based standards] (isnanf): Likewise.
2006 [non-C99-based standards] (acoshf): Likewise.
2007 [non-C99-based standards] (asinhf): Likewise.
2008 [non-C99-based standards] (atanhf): Likewise.
2009 [non-C99-based standards] (cbrtf): Likewise.
2010 [non-C99-based standards] (expm1f): Likewise.
2011 [non-C99-based standards] (ilogbf): Likewise.
2012 [non-C99-based standards] (log1pf): Likewise.
2013 [non-C99-based standards] (logbf): Likewise.
2014 [non-C99-based standards] (nextafterf): Likewise.
2015 [non-C99-based standards] (remainderf): Likewise.
2016 [non-C99-based standards] (rintf): Likewise.
2017 [non-C99-based standards] (scalbf): Likewise.
2018 [non-C99-based standards] (copysignl): Likewise.
2019 [non-C99-based standards] (exp2l): Likewise.
2020 [non-C99-based standards] (log2l): Likewise.
2021 [non-C99-based standards] (modfl): Allow.
2022 [non-C99-based standards] (erfl): Do not allow.
2023 [non-C99-based standards] (erfcl): Likewise.
2024 [non-C99-based standards] (gammal): Likewise.
2025 [non-C99-based standards] (hypotl): Likewise.
2026 [non-C99-based standards] (j0l): Likewise.
2027 [non-C99-based standards] (j1l): Likewise.
2028 [non-C99-based standards] (jnl): Likewise.
2029 [non-C99-based standards] (lgammal): Likewise.
2030 [non-C99-based standards] (tgammal): Likewise.
2031 [non-C99-based standards] (y0l): Likewise.
2032 [non-C99-based standards] (y1l): Likewise.
2033 [non-C99-based standards] (ynl): Likewise.
2034 [non-C99-based standards] (isnanl): Likewise.
2035 [non-C99-based standards] (acoshl): Likewise.
2036 [non-C99-based standards] (asinhl): Likewise.
2037 [non-C99-based standards] (atanhl): Likewise.
2038 [non-C99-based standards] (cbrtl): Likewise.
2039 [non-C99-based standards] (expm1l): Likewise.
2040 [non-C99-based standards] (ilogbl): Likewise.
2041 [non-C99-based standards] (log1pl): Likewise.
2042 [non-C99-based standards] (logbl): Likewise.
2043 [non-C99-based standards] (nextafterl): Likewise.
2044 [non-C99-based standards] (remainderl): Likewise.
2045 [non-C99-based standards] (rintl): Likewise.
2046 [non-C99-based standards] (scalbl): Likewise.
2047 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2048 [non-C99-based standards] (FP_*): Do not allow.
2049 [C99-based standards] (FP_*): Change to
2050 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2051 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2052 allow.
2053 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2054 (SIG_ERR): Likewise.
2055 [X/Open-based standards] (SIG_HOLD): Likewise.
2056 (SIG_IGN): Likewise.
2057 (SIGABRT): Use macro-int-constant. Specify type. Require
2058 positive value.
2059 (SIGFPE): Likewise.
2060 (SIGILL): Likewise.
2061 (SIGINT): Likewise.
2062 (SIGSEGV): Likewise.
2063 (SIGTER): Likewise.
2064 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2065 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2066 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2067 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2068 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2069 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2070 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2071 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2072 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2073 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2074 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2075 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2076 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2077 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2078 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2079 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2080 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2081 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2082 [X/Open-based standards] (SIGTRAP): Likewise.
2083 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2084 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2085 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2086 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2087 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2088 allow.
2089
b9f1922d
IW
20902012-05-08 Ian Wienand <ianw@vmware.com>
2091
2092 [BZ #14080]
2093 * time/tzset.c (__tzset_parse_tz): Update default rules for
2094 daylight time changes in the Energy Policy Act of 2005.
2095
1db86e88
AJ
20962012-05-09 Andreas Jaeger <aj@suse.de>
2097
2098 [BZ #13983]
2099 * elf/ldconfig.c (parse_conf): Change string to make clear that
2100 ldconfig only issued a warning if ld.so.conf does not exist.
2101
dee4a4e3
DM
21022012-05-08 David S. Miller <davem@davemloft.net>
2103
ee0db190
DM
2104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2105 movxtod instead of popping the value on the stack.
2106
dee4a4e3
DM
2107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2108
6a43ec98
CD
21092012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2110
2111 * config.h.in: Add HAVE_ARM_PCS_VFP.
2112
05c2c961
RMG
21132012-05-08 Roland Mc Grath <roland@hack.frob.com>
2114
bcfe3a54
ST
2115 [BZ #13979]
2116 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2117 checking but the checks are disabled for any reason.
05c2c961 2118
4b30f61a
L
21192012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2120
2121 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2122 and ELF64_R_TYPE with ELFW(R_TYPE).
2123
eee2bc67
JM
21242012-05-08 Joseph Myers <joseph@codesourcery.com>
2125
7ea5391a
JM
2126 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2127 (ulimit): Likewise.
2128
eee2bc67
JM
2129 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2130 (settimeofday): Likewise.
2131
abb66a67
MF
21322012-05-08 Mike Frysinger <vapier@gentoo.org>
2133
2134 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2135 a struct th_u2 inside the union, and move tu_block/tu_code into
2136 a new th_u3 union of tu_block/tu_code inside of that. Move
2137 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2138 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2139 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2140 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2141 (th_stuff): Change to th_u1.tu_stuff.
2142 (th_data): Define.
2143 (th_msg): Change to th_u1.th_u2.tu_data.
2144
7f18b530
DM
21452012-05-07 David S. Miller <davem@davemloft.net>
2146
05760585
DM
2147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2148
7f18b530
DM
2149 [BZ #14074]
2150 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2151 (SETUP_PIC_REG): Use it.
2152 (SETUP_PIC_REG_LEAF): Use it.
2153
495fd99f
JM
21542012-05-07 Joseph Myers <joseph@codesourcery.com>
2155
2156 [BZ #13885]
2157 [BZ #13923]
2158 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2159 USE_AS_EXPM1L.
2160 (EXPL_FINITE): Likewise.
2161 (FLDLOG): Likewise.
2162 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2163 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2164 e_expl.S.
2165 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2166 USE_AS_EXPM1L.
2167 (EXPL_FINITE): Likewise.
2168 (FLDLOG): Likewise.
2169 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2170 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2171 e_expl.S.
2172 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2173 test of -max_value argument for long double.
2174 * sysdeps/i386/fpu/libm-test-ulps: Update.
2175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2176
6693d694
DM
21772012-05-06 David S. Miller <davem@davemloft.net>
2178
2179 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2180 quad soft-float symbols whose references which are compiler
2181 generated.
2182 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2183
6c23e11c
JM
21842012-05-06 Joseph Myers <joseph@codesourcery.com>
2185
d8b82cad
JM
2186 [BZ #13884]
2187 [BZ #13914]
2188 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2189 USE_AS_EXP10L.
2190 (EXPL_FINITE): Likewise.
2191 (FLDLOG): Likewise.
2192 (c0): Likewise.
2193 (c1): Likewise.
2194 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2195 Adjust comments for base varying.
2196 (__expl_finite): Change alias to EXPL_FINITE.
2197 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2198 e_expl.S.
2199 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2200 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2201 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2202 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2203 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2204 USE_AS_EXP10L.
2205 (EXPL_FINITE): Likewise.
2206 (FLDLOG): Likewise.
2207 (c0): Likewise.
2208 (c1): Likewise.
2209 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2210 Adjust comments for base varying.
2211 (__expl_finite): Change alias to EXPL_FINITE.
2212 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2213 tests for bugs.
2214 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2215
6c23e11c
JM
2216 [BZ #14064]
2217 * math/libm-test.inc (check_float_internal): Correct ulp
2218 calculation for subnormal expected results.
2219
29ba805c
AJ
22202012-05-06 Andreas Jaeger <aj@suse.de>
2221
2222 * Makeconfig (+math-flags): New, set to -frounding-math.
2223 (+cflags): Add +math-flags so that all of glibc gets compiled with
2224 it.
2225
2226 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2227
7b17aeda
JM
22282012-05-05 Joseph Myers <joseph@codesourcery.com>
2229
5779f134
JM
2230 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2231 Disable one test.
2232
41498f4d
JM
2233 [BZ #13787]
2234 [BZ #13922]
2235 [BZ #14036]
2236 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2237 (__ieee754_expl): Allow for and saturate large arguments.
2238 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2239 (u_threshold): Likewise.
2240 (__exp): Call __ieee754_exp before checking for overflow and
2241 underflow.
2242 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2243 (u_threshold): Likewise.
2244 (__expf): Call __ieee754_expf before checking for overflow and
2245 underflow.
2246 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2247 (u_threshold): Likewise.
2248 (__expl): Call __ieee754_expl before checking for overflow and
2249 underflow.
2250 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2251 (__ieee754_expl): Allow for and saturate large arguments.
2252 * math/libm-test.inc (exp_test): Add another test. Do not allow
2253 missing overflow exception on overflow.
2254 (expm1_test): Do not allow missing overflow exception on overflow.
2255
6698b8bf
JM
2256 * sysdeps/i386/fpu/e_expl.c: Move to ...
2257 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2258 rather than using inline asm.
2259 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2260 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2261 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2262
7b17aeda
JM
2263 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2264 (nice): Likewise.
2265 (poll): Likewise.
2266 (signal): Likewise.
2267 (time): Likewise.
2268 (times): Likewise.
2269
f7c85819
JM
22702012-05-04 Joseph Myers <joseph@codesourcery.com>
2271
2272 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2273 sysdeps/unix/common/syscalls.list.
2274 (fchmod): Likewise.
2275 (fchown): Likewise.
2276 (ftruncate): Likewise.
2277 (getrusage): Likewise.
2278 (gettimeofday): Likewise.
2279 (setpgid): Likewise.
2280 (setregid): Likewise.
2281 (setreuid): Likewise.
2282 (sigaction): Likewise.
2283 (truncate): Likewise.
2284 (vhangup): Likewise.
2285 * sysdeps/unix/common/syscalls.list: Remove file.
2286 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2287 * sysdeps/unix/sysv/linux/Implies: Likewise.
2288
336270d0
L
22892012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2290
2291 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2293 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2294 Moved to ...
2295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2296 Here.
2297 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2298 to ...
2299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2300 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2301 to ...
2302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2303 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2304 to ...
2305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2306 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2307 to ...
2308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2309 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2310 to ...
2311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2312 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2313 to ...
2314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2315 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2316 to ...
2317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2318 Here.
2319 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2320 to ...
2321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2322 Here.
2323 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2324 to ...
2325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2326 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2327 Moved to ...
2328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2329 Here.
2330 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2331 to ...
2332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2333
d128e450
JM
23342012-05-04 Joseph Myers <joseph@codesourcery.com>
2335
fa8ee516
JM
2336 * sysdeps/unix/common/bits/dirent.h: Remove file.
2337 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2338
d128e450
JM
2339 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2340 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2341 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2342 * sysdeps/unix/bsd/isatty.c: Likewise.
2343 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2344 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2345 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2346
ff8faaf0 23472012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2348
62881be4 2349 [BZ #13563]
31dc8730
AZ
2350 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2351 long double comparison inaccuracies.
2352 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2354
6fef930c
AS
23552012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2356
2357 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2358 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2359
8f203e6c
JM
23602012-05-04 Joseph Myers <joseph@codesourcery.com>
2361
2362 [BZ #14049]
2363 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2364 nonzero digits before rounding a hex value.
2365 * stdlib/tst-strtod.c (tests): Add another test.
2366
5197d9c2
AK
23672012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2368
2369 * sysdeps/s390/fpu/libm-test-ulps: Update.
2370
f0c1dedf
AJ
23712012-05-03 Andreas Jaeger <aj@suse.de>
2372
2373 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2374 does not get optimized out.
2375 (malloc_opt_barrier): New.
2376
a65ef2ae 23772012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 2378 Roland McGrath <roland@hack.frob.com>
a65ef2ae 2379
2b942cb7 2380 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 2381 intermediate file deletion.
2b942cb7 2382 (generated): Add .symlist files.
a65ef2ae 2383
54b71e02
JM
23842012-05-03 Joseph Myers <joseph@codesourcery.com>
2385
2386 [BZ #13775]
2387 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2388 Redirect under this condition.
2389 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2390 [__USE_GNU] (__dprintf_chk): Not under this condition.
2391 [__USE_GNU] (__vdprintf_chk): Likewise.
2392 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2393 under this condition.
2394 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2395 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2396 [__USE_XOPEN2K8] (vdprintf): Likewise.
2397 [__USE_GNU] (__dprintf_chk): Not under this condition.
2398 [__USE_GNU] (__vdprintf_chk): Likewise.
2399 [__USE_GNU] (dprintf): Likewise.
2400 [__USE_GNU] (vdprintf): Likewise.
2401
d3dfcc41
RM
24022012-05-03 Roland McGrath <roland@hack.frob.com>
2403
2404 * elf/Makefile (common-generated): Set this instead of generated for
2405 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2406 $(all-built-dso)-derived lists.
2407
7ac30cc5
AJ
24082012-05-03 Andreas Jaeger <aj@suse.de>
2409
0c51e550
AJ
2410 * sysdeps/i386/fpu/libm-test-ulps: Update.
2411
7ac30cc5
AJ
2412 * FAQ: Removed.
2413 * FAQ.in: Likewise.
2414 * scripts/gen-FAQ.pl: Likewise.
2415 * manual/install.texi (Installation): Point to online location of
2416 FAQ.
2417 * Makefile (files-for-dist): Remove FAQ.
2418 (FAQ): Remove.
2419
d4c2917f
AM
24202012-05-02 Allan McRae <allan@archlinux.org>
2421
2422 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2423 (LDFLAGS-reldepmod5.so): Likewise.
2424 (LDFLAGS-reldep6mod1.so): Likewise.
2425 (LDFLAGS-reldep6mod4.so): Likewise.
2426 (LDFLAGS-reldep8mod3.so): Likewise.
2427 (LDFLAGS-unload4mod1.so): Likewise.
2428 (LDFLAGS-unload4mod2.so): Likewise.
2429 (LDFLAGS-tst-initorder): Likewise.
2430 (LDFLAGS-tst-initordera2.so): Likewise.
2431 (LDFLAGS-tst-initordera3.so): Likewise.
2432 (LDFLAGS-tst-initordera4.so): Likewise.
2433 (LDFLAGS-tst-initorderb2.so): Likewise.
2434 (LDFLAGS-noload): Likewise.
2435 (LDFLAGS-next): Likewise.
2436 (LDFLAGS-order2mod1.so): Likewise.
2437 (LDFLAGS-order2mod2.so): Likewise.
2438 (LDFLAGS-tst-initorder2): Likewise.
2439 (LDFLAGS-tst-initorder2a.so): Likewise.
2440 (LDFLAGS-tst-initorder2b.so): Likewise.
2441 (LDFLAGS-tst-initorder2c.so): Likewise.
2442 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2443
d77f993f
DM
24442012-05-02 David S. Miller <davem@davemloft.net>
2445
2446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2447
171a70b4
PP
24482012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2449
2450 [BZ #14055]
2451 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2452
0be196ad
AJ
24532012-05-02 Andreas Jaeger <aj@suse.de>
2454
2455 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2456 since we manipulate rounding mode.
2457 (CPPFLAGS-test-idouble.c): Likewise.
2458 (CPPFLAGS-test-ifloat.c): Likewise.
2459 (CFLAGS-test-ldouble.c): Likewise.
2460 (CFLAGS-test-double.c): Likewise.
2461 (CFLAGS-test-float.c): Likewise.
2462 (CFLAGS-test-misc.c): Likewise.
2463 (CFLAGS-test-test-fenv.c): Likewise.
2464
4f9d04aa
AZ
24652012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2466
2b942cb7
RM
2467 [BZ #2550]
2468 [BZ #2570]
2469 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2470 comparisons to determine direction to adjust input.
4f9d04aa 2471
82a79e7d
RM
24722012-05-01 Roland McGrath <roland@hack.frob.com>
2473
f5a01ca9
RM
2474 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2475 output to the target.
2476
90fe4186
RM
2477 * scripts/localplt.awk: New file.
2478 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2479 (check-localplt-CFLAGS): Variable removed.
2480 ($(all-built-dso:=.jmprel)): New static pattern rule.
2481 (generated): Add those targets.
2482 (localplt-built-dso): New variable.
2483 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2484
2485 * elf/check-localplt.c: File removed.
2486
82397ed6
RM
2487 * scripts/check-execstack.awk: New file.
2488 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2489 (check-execstack-CFLAGS): Variable removed.
2490 ($(objpfx)check-execstack.h): Target removed.
2491 ($(objpfx)execstack-default): New target.
2492 (generated): Add that instead of check-execstack.h.
2493 ($(all-built-dso:=.phdr)): New static pattern rule.
2494 (generated): Add those targets.
2495 * elf/check-execstack.c: File removed.
2496
82a79e7d
RM
2497 * scripts/check-textrel.awk: New file.
2498 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2499 (check-textrel-CFLAGS): Variable removed.
2500 (all-built-dso): Use := to define.o
2501 ($(all-built-dso:=.dyn)): New static pattern rule.
2502 (generated): Add those targets.
2503 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2504 * config.make.in (READELF): New substituted variable.
2505 * elf/check-textrel.c: File removed.
2506
62fde54f 25072012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2508
615605c9
JM
2509 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2510 allow.
2511 * conform/data/ctype.h-data [C99-based standards] (isblank):
2512 Expect function.
2513 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2514 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2515 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2516 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2517 Specify type. Require positive value.
2518 (EILSEQ): Likewise.
2519 (ERANGE): Likewise.
2520 [ISO || POSIX] (EILSEQ): Do not expect.
2521 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2522 Specify type. Require positive value.
2523 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2524 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2525 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2526 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2527 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2528 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2529 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2530 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2531 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2532 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2533 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2534 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2535 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2536 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2537 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2538 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2539 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2540 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2541 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2542 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2543 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2544 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2545 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2546 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2547 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2548 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2549 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2550 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2551 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2552 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2553 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2554 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2555 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2556 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2557 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2558 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2559 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2560 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2561 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2562 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2563 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2564 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2565 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2566 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2567 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2568 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2569 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2570 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2571 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2572 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2573 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2574 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2575 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2576 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2577 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2578 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2579 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2580 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2581 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2582 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2583 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2584 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2585 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2586 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2587 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2588 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2589 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2590 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2591 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2592 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2593 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2594 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2595 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2596 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2597 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2598 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2599 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2600 Require >= 2.
2601 (FLT_ROUNDS): Expect as macro, not constant.
2602 (FLT_MANT_DIG): Use macro-int-constant.
2603 (DBL_MANT_DIG): Likewise.
2604 (LDBL_MANT_DIG): Likewise.
2605 (FLT_DIG): Likewise.
2606 (DBL_DIG): Likewise.
2607 (LDBL_DIG): Likewise.
2608 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2609 (DBL_MIN_EXP): Likewise.
2610 (LDBL_MIN_EXP): Likewise.
2611 (FLT_MAX_EXP): Use macro-int-constant.
2612 (DBL_MAX_EXP): Likewise.
2613 (LDBL_MAX_EXP): Likewise.
2614 (FLT_MAX_10_EXP): Likewise.
2615 (DBL_MAX_10_EXP): Likewise.
2616 (LDBL_MAX_10_EXP): Likewise.
2617 (FLT_MAX): Use macro-constant.
2618 (DBL_MAX): Likewise.
2619 (LDBL_MAX): Likewise.
2620 (FLT_EPSILON): Use macro-constant. Give upper bound.
2621 (DBL_EPSILON): Likewise.
2622 (LDBL_EPSILON): Likewise.
2623 (FLT_MIN): Likewise.
2624 (DBL_MIN): Likewise.
2625 (LDBL_MIN): Likewise.
2626 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2627 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2628 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2629 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2630 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2631 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2632 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2633 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2634 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2635 [ISO11] (FLT_TRUE_MIN): Likewise.
2636 [ISO11] (LDBL_TRUE_MIN): Likewise.
2637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2638 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2639 (SCHAR_MIN): Use macro-int-constant. Specify type.
2640 (SCHAR_MAX): Likewise.
2641 (UCHAR_MAX): Likewise.
2642 (CHAR_MIN): Likewise.
2643 (CHAR_MAX): Likewise.
2644 (MB_LEN_MAX): Use macro-int-constant.
2645 (SHRT_MIN): Use macro-int-constant. Specify type.
2646 (SHRT_MAX): Likewise.
2647 (USHRT_MAX): Likewise.
2648 (INT_MAX): Likewise.
2649 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2650 bound negative.
2651 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2652 bound with "U".
2653 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2654 bound with "L".
2655 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2656 bound negative. Suffix upper bound with "L".
2657 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2658 bound with "UL".
2659 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2660 Specify type.
2661 [C99-based standards] (LLONG_MAX): Likewise.
2662 [C99-based standards] (ULLONG_MAX): Likewise.
2663 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2664 == 0.
2665 [ISO11] (max_align_t): Require type.
2666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2667
c9140a62
JM
2668 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2669 from $CFLAGS, without defining away __attribute__ calls.
2670 (checknamespace): Use $CFLAGS_namespace.
2671
9af0bf29
JM
2672 * conform/conformtest.pl (@keywords): Only include C99 keywords
2673 for standards based on C99 or C11.
2674
343222a2
JM
2675 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2676 Disable tests.
2677 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2678 UNIX98]: Likewise.
2679
661f8cf0
JM
2680 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2681 usability of symbols in #if.
2682
ee74b9cb
JM
2683 * conform/conformtest.pl: If macro or constant types start
2684 "promoted:", expect the symbol to be of the following type
2685 promoted by the integer promotions.
62fde54f 2686
aafc49b3
JM
2687 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2688 in one place. Also handle "macro-constant".
2689
fefdf574
JM
2690 * conform/conformtest.pl: Only accept expected macro values with
2691 "==". Parse all "macro" lines in one place.
2692 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2693
f2d922fe
JM
2694 * conform/conformtest.pl: Handle braced types on "constant" lines
2695 instead of handling "typed-constant".
2696 * conform/data/signal.h-data: Use "constant" instead of
2697 "typed-constant".
2698
d22956c9
JM
2699 * conform/conformtest.pl: Handle "optional-" at start of lines in
2700 one place rather than duplicating several cases. Handle each
2701 format of "macro" line with initial "optional-".
2702
028e2e38
JM
2703 * conform/conformtest.pl: Only accept expected constant or
2704 optional-constant values with "==". Parse all "constant" lines in
2705 one place. Parse all "optional-constant" lines in one place.
2706 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2707 * conform/data/fmtmsg.h-data: Likewise.
2708 * conform/data/netinet/in.h-data: Likewise.
2709 * conform/data/tar.h-data: Likewise.
2710 * conform/data/limits.h-data: Use "==" form on "constant" and
2711 "optional-constant" lines.
2712
1b8f2850
JM
2713 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2714 Use -std=c99 for XOPEN2K.
2715 (@knownproblems): Remove.
2716 (newtoken): Don't check %isknown.
2717
a05a144b
JM
2718 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2719 Do not expect macro.
2720 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2721 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2722 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2723 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2724 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2725 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2726 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2727 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2728 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2729 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2730 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2731 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2732 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2733 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2734 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2735 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2736 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2737 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2738 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2739 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2740 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2741 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2742 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2743 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2744 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2745 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2746 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2747 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2748 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2749 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2750 [XPG3] (acosh): Likewise.
2751 [XPG3] (asinh): Likewise.
2752 [XPG3] (atanh): Likewise.
2753 [XPG3] (cbrt): Likewise.
2754 [XPG3] (expm1): Likewise.
2755 [XPG3] (ilogb): Likewise.
2756 [XPG3] (log1p): Likewise.
2757 [XPG3] (logb): Likewise.
2758 [XPG3] (nextafter): Likewise.
2759 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2760 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2761 [XPG3] (remainder): Likewise.
2762 [XPG3] (rint): Likewise.
2763 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2764 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2765 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2766 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2767 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2768 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2769 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2770 [UNIX98 || XOPEN2K] (scalb): Expect.
2771 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2772 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2773 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2774 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2775 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2776 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2777 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2778 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2779 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2780 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2781 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2782 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2783 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2784 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2785 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2786 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2787 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2788 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2789 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2790 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2791 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2792 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2793 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2794 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2795 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2796 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2797 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2798 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2799 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2800 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2801 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2802 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2803 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2804 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2805 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2806 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2807 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2808 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2809 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2810 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2811 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2812 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2813 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2814 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2815 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2816 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2817 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2818 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2819 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2820 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2821 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2822 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2823 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2824 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2825 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2826 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2827 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2828 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2829 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2830 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2831 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2832 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2833 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2834 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2835 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2836 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2837 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2838 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2839 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2840 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2841 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2842 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2843 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2844 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2845 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2846 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2847 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2848 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2849 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2850 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2851 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2852 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2853 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2854 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2855 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2856 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2857 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2858 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2859 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2860 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2861 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2862 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2863 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2864 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2865 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2866 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2867 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2868 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2869 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2870 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2871 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2872 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2873 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2874 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2875 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2876 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2877 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2878 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2879 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2880 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2881 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2882 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2883 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2884 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2885 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2886 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2887 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2888 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2889 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2890 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2891 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2892 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2893 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2894 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2895 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2896 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2897 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2898 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2899 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2900 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2901 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2902 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2903 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2904 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2905 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2906 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2907 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2908
73c5ebe3
JM
2909 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2910 _XOPEN_SOURCE_EXTENDED for XPG4.
2911
39c33b6c
JM
2912 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2913
62fde54f
JM
2914 * Makeconfig (localtime): Remove variable.
2915 (inst_localtime-file): Likewise.
2916
0741d64c
AS
29172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2918
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2920 Update.
2921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2922 Update.
2923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2924 Update.
2925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2926 Update.
2927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2928 Update.
2929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2930 Update.
2931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2932 Update.
2933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2934 Update.
2935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2936 Update.
2937
7cb029ee
JM
29382012-05-01 Joseph Myers <joseph@codesourcery.com>
2939
2940 [BZ #2550]
2941 [BZ #2570]
2942 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2943 comparisons to determine direction to adjust input.
2944 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2945 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2946 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2947 Likewise.
2948 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2949 Likewise.
2950 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2951 Likewise.
2952 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2953 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2954 Likewise.
2955 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2956 Likewise.
2957 * math/libm-test.inc (nexttoward_test): Add more tests.
2958
412bd966
AS
29592012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2960
2961 [BZ #14040]
2962 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2963 in version GLIBC_2.1, not GLIBC_2.0.
2964 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2965 Likewise.
2966
9568c0c2
JM
29672012-04-30 Joseph Myers <joseph@codesourcery.com>
2968
adfbc8ac
JM
2969 [BZ #13942]
2970 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2971 (1 - x) * (1 + x).
2972 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2973 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2974 * math/libm-test.inc (acos_test): Add more tests.
2975 (asin_test): Likewise.
2976 * sysdeps/i386/fpu/libm-test-ulps: Update.
2977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2978
5ba3cc69
JM
2979 [BZ #14034]
2980 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2981 of square root.
2982 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2983 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2984 * math/libm-test.inc (acos_test_tonearest): New function.
2985 (acos_test_towardzero): Likewise.
2986 (acos_test_downward): Likewise.
2987 (acos_test_upward): Likewise.
2988 (asin_test_tonearest): Likewise.
2989 (asin_test_towardzero): Likewise.
2990 (asin_test_downward): Likewise.
2991 (asin_test_upward): Likewise.
2992 (main): Call the new functions.
2993 * sysdeps/i386/fpu/libm-test-ulps: Update.
2994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2995
9568c0c2
JM
2996 [BZ #13884]
2997 [BZ #13924]
2998 * math/e_exp10.c: Include <float.h>.
2999 (__ieee754_exp10): Handle underflow here rather than multiplying
3000 large negative argument by M_LN10.
3001 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3002 of __ieee754_expf.
3003 * math/e_exp10l.c: Include <float.h>.
3004 (__ieee754_exp10l): Handle underflow here rather than multiplying
3005 large negative argument by M_LN10l.
3006 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3007 spurious overflow exception on underflow.
3008
5ac3ea17
MP
30092012-04-29 Marek Polacek <polacek@redhat.com>
3010
3011 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3012 (__fortify_function): New macro.
3013 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3014 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3015 __extern_always_inline.
3016 * libio/bits/stdio2.h: Likewise.
3017 * libio/bits/stdio.h: Likewise.
3018 * string/string.h: Likewise.
3019 * string/bits/string3.h: Likewise.
3020 * include/stdio.h: Likewise.
3021 * stdlib/bits/stdlib.h: Likewise.
3022 * stdlib/stdlib.h: Likewise.
3023 * rt/bits/mqueue2.h: Likewise.
3024 * rt/mqueue.h: Likewise.
3025 * posix/bits/unistd.h: Likewise.
3026 * posix/unistd.h: Likewise.
3027 * io/bits/poll2.h: Likewise.
3028 * io/bits/fcntl2.h: Likewise.
3029 * io/fcntl.h: Likewise.
3030 * io/sys/poll.h: Likewise.
3031 * misc/bits/syslog.h: Likewise.
3032 * misc/bits/syslog-ldbl.h: Likewise.
3033 * misc/sys/syslog.h: Likewise.
3034 * socket/bits/socket2.h: Likewise.
3035 * socket/sys/socket.h: Likewise.
3036 * debug/tst-chk1.c: Likewise.
3037 * wcsmbs/bits/wchar2.h: Likewise.
3038 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3039 * wcsmbs/wchar.h: Likewise.
3040
ecf0ebfb
AJ
30412012-04-29 Andreas Jaeger <aj@suse.de>
3042
3043 * Makerules (tests): Remove enable-check-abi protection.
3044 (check-abi-warn): Remove.
3045 (check-abi-%): Remove check-abi-warn usage.
3046
3047 * configure.in: Remove check-abi configure option.
3048 * configure: Regenerated.
3049 * config.make.in (enable-check-abi): Remove.
3050
6d5c57fa
AS
30512012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3052
24c5d07e 3053 [BZ #14033]
ded5180a
AS
3054 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3055 double functions to double *_finite functions.
3056
7e0d315d
AS
3057 [BZ #13941]
3058 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3059 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3060 LDBL_MIN_EXP.
3061 * stdio-common/Makefile (tests): Add tst-sprintf3.
3062 * stdio-common/tst-sprintf3.c: New file.
3063
6d5c57fa
AS
3064 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3065 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3066
0749ff8b
JM
30672012-04-28 Joseph Myers <joseph@codesourcery.com>
3068
3069 * conform/conformtest.pl: Remove duplicate typed-constant
3070 handling.
3071
8dbd5d7b
DM
30722012-04-28 David S. Miller <davem@davemloft.net>
3073
3074 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3075 (check-abi-%): Remove AWK script prerequisite and explicit
3076 abilist directory.
3077 (check-abi): Rewrite to just diff the symlist with the abilist.
3078 (config-tls, config-abi-config): Delete, no longer used.
3079 (update-abi-%): Remove AWK script and explicit abilist directory.
3080 (update-abi): Rewrite to simply compare and conditionally copy the
3081 symlist and the sysdep abilist file. Remove update-abi-config
3082 checks.
3083 * abilist/ld.abilist: Remove.
3084 * abilist/libBrokenLocale.abilist: Remove.
3085 * abilist/libanl.abilist: Remove.
3086 * abilist/libcrypt.abilist: Remove.
3087 * abilist/libdl.abilist: Remove.
3088 * abilist/librt.abilist: Remove.
3089 * abilist/libthread_db.abilist: Remove.
3090 * abilist/libutil.abilist: Remove.
3091 * scripts/extract-abilist.awk: Remove.
3092 * scripts/merge-abilist.awk: Remove.
3093 * sysdeps/generic/libcidn.abilist: New file.
3094 * sysdeps/generic/libnss_compat.abilist: New file.
3095 * sysdeps/generic/libnss_db.abilist: New file.
3096 * sysdeps/generic/libnss_dns.abilist: New file.
3097 * sysdeps/generic/libnss_files.abilist: New file.
3098 * sysdeps/generic/libnss_hesiod.abilist: New file.
3099 * sysdeps/generic/libnss_nis.abilist: New file.
3100 * sysdeps/generic/libnss_nisplus.abilist: New file.
3101 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3102 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3103 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3104 file.
3105 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3106 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3107 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3108 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3109 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3110 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3111 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3112 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3113 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3114 file.
3115 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3116 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3117 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3118 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3119 file.
3120 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3121 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3122 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3123 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3124 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3125 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3126 file.
3127 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3128 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3129 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3130 file.
3131 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3133 New file.
3134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3135 New file.
3136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3137 New file.
3138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3139 New file.
3140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3141 New file.
3142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3143 New file.
3144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3145 New file.
3146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3147 New file.
3148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3149 New file.
3150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3151 New file.
3152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3153 New file.
3154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3155 New file.
3156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3157 New file.
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3159 file.
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3161 New file.
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3163 New file.
3164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3165 file.
3166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3167 New file.
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3169 New file.
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3171 file.
3172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3173 New file.
3174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3175 New file.
3176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3177 New file.
3178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3179 New file.
3180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3181 New file.
3182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3183 New file.
3184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3186 file.
3187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3188 New file.
3189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3190 file.
3191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3192 file.
3193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3194 file.
3195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3196 file.
3197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3198 file.
3199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3200 New file.
3201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3202 file.
3203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3204 file.
3205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3206 New file.
3207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3208 file.
3209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3211 file.
3212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3213 New file.
3214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3215 file.
3216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3217 file.
3218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3219 file.
3220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3221 file.
3222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3223 file.
3224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3225 New file.
3226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3227 file.
3228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3229 file.
3230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3231 New file.
3232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3233 file.
3234 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3235 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3236 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3237 file.
3238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3239 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3240 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3241 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3242 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3243 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3244 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3245 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3246 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3247 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3250 file.
3251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3252 New file.
3253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3254 file.
3255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3256 file.
3257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3258 file.
3259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3260 file.
3261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3262 file.
3263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3264 New file.
3265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3266 New file.
3267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3268 file.
3269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3270 New file.
3271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3272 file.
3273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3275 file.
3276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3277 New file.
3278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3279 file.
3280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3281 file.
3282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3283 file.
3284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3285 file.
3286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3287 file.
3288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3289 New file.
3290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3291 New file.
3292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3293 file.
3294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3295 New file.
3296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3297 file.
3298
41d73a1b
JM
32992012-04-28 Joseph Myers <joseph@codesourcery.com>
3300
3301 * conform/conformtest.pl: Fix typo in handling typed-constant from
3302 allow-header.
3303
28aeeda4
JM
33042012-04-27 Joseph Myers <joseph@codesourcery.com>
3305
adae8f5e
JM
3306 * README: Cut down references to pre-2.6 Linux kernels and
3307 Linuxthreads. Update lists of configurations in libc and ports
3308 and sort alphabetically. Say "or newer" with Linux kernel version
3309 requirements.
3310
28aeeda4
JM
3311 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3312
a462cb63
RA
33132012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3314
3315 [BZ #887]
3316 * math/libm-test.inc (logb_test_downward): New test to expose
3317 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3318 rounding mode.
3319
6ad3493e
JM
33202012-04-27 Joseph Myers <joseph@codesourcery.com>
3321
3322 [BZ #14027]
3323 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3324 to be done.
3325 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3326 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3327
2ce4f015
JM
33282012-04-26 Joseph Myers <joseph@codesourcery.com>
3329
5aeb141a
JM
3330 * sysdeps/unix/i386/brk.S: Remove file.
3331 * sysdeps/unix/i386/dl-brk.S: Likewise.
3332 * sysdeps/unix/i386/pipe.S: Likewise.
3333 * sysdeps/unix/i386/sigreturn.S: Likewise.
3334 * sysdeps/unix/i386/syscall.S: Likewise.
3335 * sysdeps/unix/i386/vfork.S: Likewise.
3336 * sysdeps/unix/i386/wait.S: Likewise.
3337
7143acae
JM
3338 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3339 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3340
2ce4f015
JM
3341 * configure.in (arm*-none*): Do not allow without
3342 --enable-hacker-mode.
3343 (netbsd*): Remove case setting base_os.
3344 (386bsd*): Likewise.
3345 (freebsd*): Likewise.
3346 (bsdi*): Likewise.
3347 (osf*): Likewise.
3348 (sunos*): Likewise.
3349 (ultrix*): Likewise.
3350 (newsos*): Likewise.
3351 (dynix*): Likewise.
3352 (*bsd*): Likewise.
3353 (sysv*): Likewise.
3354 (isc*): Likewise.
3355 (esix*): Likewise.
3356 (sco*): Likewise.
3357 (minix*): Likewise.
3358 (irix4*): Likewise.
3359 (irix6*): Likewise.
3360 (solaris[2-9]*): Likewise.
3361 (none): Likewise.
3362 * configure: Regenerated.
3363
0ac229c8
AZ
33642012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3365
3366 [BZ #11521]
3367 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3368 overflow or cancellation in calculating denominator.
3369 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3370 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3371 down expression to avoid unexpected rounding in newer GCCs.
3372 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3373
33f244f4
DM
33742012-04-26 David S. Miller <davem@davemloft.net>
3375
3376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3377 long-double compat symbols.
3378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3391
cfa1f3e8
DM
33922012-04-25 David S. Miller <davem@davemloft.net>
3393
3394 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3395 HWCAP_* values only after the memory barriers have been defined.
3396 (atomic_full_barrier): Define.
3397 (atomic_read_barrier): Define.
3398 (atomic_write_barrier): Define.
3399
6e236b92
SP
34002012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3401
3402 * shlib-versions: Add libgcc_s version information.
3403 * sysdeps/generic/libgcc_s.h: Remove.
3404 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3405 libgcc_s.h.
3406 * sysdeps/gnu/unwind-resume.c: Likewise.
3407 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3408
aab39a09
DM
34092012-04-25 David S. Miller <davem@davemloft.net>
3410
3411 * sysdeps/unix/sparc/brk.S: Delete.
3412 * sysdeps/unix/sparc/dl-brk.S: Delete.
3413 * sysdeps/unix/sparc/pipe.S: Delete.
3414 * sysdeps/unix/sparc/sysdep.S: Delete.
3415 * sysdeps/unix/sparc/sysdep.h: Delete.
3416 * sysdeps/unix/sparc/vfork.S: Delete.
3417 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3418 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3419 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3420 ret_ERRVAL, r0, r1, MOVE): Define.
3421 (JUMPTARGET): Remove.
3422 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3423 sysdeps/unix/sparc/sysdep.h
3424 (ENTRY, END): Remove.
3425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3426
a3cc4f48
JM
34272012-04-25 Joseph Myers <joseph@codesourcery.com>
3428
2ed8cda2
JM
3429 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3430 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3431 -DIS_IN_build.
3432
35d76d59
JM
3433 * timezone/README: Update upstream location and email address for
3434 tzcode and tzdata.
3435 * timezone/zdump.c: Update from tzcode 2012b.
3436 * timezone/zic.c: Likewise.
3437
a3cc4f48
JM
3438 * configure.in (libc_cv_as_needed): Remove test.
3439 * configure: Regenerated.
3440 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3441 conditional definition.
3442 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3443 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3444 * config.make.in (have-as-needed): Remove variable.
3445
ceab42c3
SP
34462012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3447 Paul Pluzhnikov <ppluzhnikov@google.com>
3448
3449 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3450 strings correctly.
3451
3ce2865f
CLT
34522012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3453
3454 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3455 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3456 * sysdeps/sh/strlen.S: Likewise.
3457
f37e0d68
JM
34582012-04-24 Joseph Myers <joseph@codesourcery.com>
3459
ae186e9a
JM
3460 * sysdeps/unix/fork.S: Remove file.
3461 * sysdeps/unix/i386/fork.S: Likewise.
3462 * sysdeps/unix/sparc/fork.S: Likewise.
3463
b96914af
JM
3464 * sysdeps/unix/system.c: Remove file.
3465 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3466
f37e0d68
JM
3467 * sysdeps/unix/getegid.S: Remove file.
3468 * sysdeps/unix/geteuid.S: Likewise.
3469
87ef29ca
RM
34702012-04-24 Roland McGrath <roland@hack.frob.com>
3471
83bcd236
RM
3472 * scripts/check-localplt.awk: New file.
3473 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3474 of diff.
3475 * scripts/data/localplt-generic.data: Add a comment.
3476
87ef29ca
RM
3477 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3478 NODE when __dir_mkfile failed.
3479 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3480 Reported by Ludovic Courtès <ludo@gnu.org>.
3481
e5a6e567
AJ
34822012-04-24 Andreas Jaeger <aj@suse.de>
3483
3484 * Makerules (common-clean): Also remove gen-as-const-headers
3485 files.
3486
c1820385
JM
34872012-04-24 Joseph Myers <joseph@codesourcery.com>
3488
3489 * Makerules (native-compile): Do not change working directory for
3490 build. Use $(OUTPUT_OPTION) in command.
3491 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3492
94e02fc4
AZ
34932012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3494
3495 [BZ #13886]
3496 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3497 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3498 * math/libm-test.inc (floor_test): Add more tests.
3499 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3500
3a533ca3
JM
35012012-04-24 Joseph Myers <joseph@codesourcery.com>
3502
940ab4b3
JM
3503 * sysdeps/unix/getdents.c: Remove file.
3504 * sysdeps/unix/sysv/getdents.c: Likewise.
3505 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3506
90e037bd
JM
3507 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3508 sysdeps/unix/mman/syscalls.list.
3509 (mmap): Likewise.
3510 (mprotect): Likewise.
3511 (msync): Likewise.
3512 (munmap): Likewise.
3513 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3514 * sysdeps/unix/mman/syscalls.list: Remove.
3515 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3516
3a533ca3
JM
3517 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3518 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3519 * configure: Regenerated.
3520 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3521 $(libgcc_s_suffix).
3522 * config.make.in (libgcc_s_suffix): Remove variable.
3523
1ad743de
JM
35242012-04-23 Joseph Myers <joseph@codesourcery.com>
3525
4ad451e2
JM
3526 * sysdeps/unix/sysv/gethostname.c: Move to ...
3527 * sysdeps/posix/gethostname.c: ... here.
3528
5e37ce39
JM
3529 * sysdeps/unix/execve.S: Remove file.
3530
1ad743de
JM
3531 * sysdeps/unix/_exit.S: Remove file.
3532
4e681b5b
AJ
35332012-04-23 Andreas Jaeger <aj@suse.de>
3534
3535 [BZ #13739]
3536 * manual/Makefile: Remove make dist support, there's no
3537 need for a stand-alone documentation tar ball.
3538 (TEXI2DVI): Define always, it's not in Makeconfig.
3539 (dist): Removed.
3540 (tar-it): Removed.
3541 (edition): Removed.
3542 (glibc-doc-$(edition).tar): Removed
3543 (%.Z): Removed.
3544 (%.gz): Removed.
3545 (%.uu): Removed.
3546 (ETAGS): Remove, it's in Makeconfig.
3547 (move-if-change): Remove, it's in Makeconfig.
3548
c0baea34
PE
35492013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3550
3551 [BZ #13970]
3552 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3553 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3554 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3555 (strtod_l, strtof_l, strtold_l): Remove __wur.
3556 It is not necessarily an error to ignore strtol's return value.
3557 One can reliably look at the stored endptr to decide whether
3558 the number had valid syntax.
3559
7c0616fa
AJ
35602012-04-21 Andreas Jaeger <aj@suse.de>
3561
803cb6b7 3562 [BZ #13739]
7c0616fa
AJ
3563 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3564
b0fe253f
JM
35652012-04-21 Joseph Myers <joseph@codesourcery.com>
3566
3567 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3568 * sysdeps/unix/sysv/Versions: Remove file.
3569
8280f22d
MT
35702012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3571
3572 [BZ #13927]
3573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3574
75ce411f 35752012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3576
3577 [BZ #7064]
3578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3579 version from __vm86.
3580
097d59fa
JM
35812012-04-20 Joseph Myers <joseph@codesourcery.com>
3582
a90f3bcb
JM
3583 * sysdeps/unix/common/lxstat.c: Remove file.
3584 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3585
edc7ea78
JM
3586 * sysdeps/unix/sysv/Makefile: Remove file.
3587
cb78c221
JM
3588 * sysdeps/unix/sysv/direct.h: Remove file.
3589
efa6a45f
JM
3590 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3591 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3592 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3593 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3594 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3595 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3596 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3597
9c9f2d0c
JM
3598 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3599
4541c83b
JM
3600 * sysdeps/unix/xmknod.c: Remove file.
3601 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3602
f5d153a0
JM
3603 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3604
aa746595
JM
3605 * sysdeps/unix/sysv/i386/time.S: Remove file.
3606
cce5905e
JM
3607 * sysdeps/unix/fxstat.c: Remove file.
3608 * sysdeps/unix/xstat.c: Likewise.
3609 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3610
37fa3841
JM
3611 * sysdeps/unix/sysv/sigaction.c: Remove file.
3612
ff1962a3
JM
3613 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3614 (sysdep_headers): Remove variable.
3615 [termio.h not in sysdep_headers] (generated): Likewise.
3616 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3617 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3618 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3619 * sysdeps/unix/sysv/tcflow.c: Likewise.
3620 * sysdeps/unix/sysv/tcflush.c: Likewise.
3621 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3622 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3623 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3624 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3625 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3626
e7740d31
JM
3627 * sysdeps/unix/siglist.c: Remove file.
3628
ee06f18b
JM
3629 * sysdeps/unix/getppid.S: Remove file.
3630
097d59fa
JM
3631 * sysdeps/unix/mkdir.c: Remove file.
3632 * sysdeps/unix/rmdir.c: Likewise.
3633
ff3d51ec
AS
36342012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3635
3636 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3637 ERR_MAX value.
3638 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3639 errlist-compat value.
3640
50f81fd7
DM
36412012-04-18 David S. Miller <davem@davemloft.net>
3642
3643 * sysdeps/generic/memcopy.h (reg_char): Delete.
3644 * debug/strcat_chk.c: Use char, not reg_char.
3645 * debug/strcpy_chk.c: Likewise.
3646 * debug/strncat_chk.c: Likewise.
3647 * debug/strncpy_chk.c: Likewise.
3648 * string/memchr.c: Likewise.
3649 * string/memrchr.c: Likewise.
3650 * string/rawmemchr.c: Likewise.
3651 * string/strcat.c: Likewise.
3652 * string/strchr.c: Likewise.
3653 * string/strchrnul.c: Likewise.
3654 * string/strcmp.c: Likewise.
3655 * string/strcpy.c: Likewise.
3656 * string/strncat.c: Likewise.
3657 * string/strncmp.c: Likewise.
3658 * string/strncpy.c: Likewise.
3659
8ff41c46
WS
36602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3661
3662 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3663 __builtin_memcopy is called when src and dest ranges are known to not
3664 overlap.
3665
6b652f46
WS
36662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3667
3668 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3669 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3670 fwd_align_merge macro call.
3671 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3672 bwd_align_merge macro call.
3673 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3674
b282631e
WS
36752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3676
3677 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3678 bwd_align_merge macros.
3679 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3680 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3681 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3682
95aa737c
DM
36832012-04-18 David S. Miller <davem@davemloft.net>
3684
3685 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3686
7a99a614
AJ
36872012-04-18 Andreas Jaeger <aj@suse.de>
3688
3689 [BZ# 6794]
3690 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3691 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3692 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3693
3694 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3695 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3696 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3697
3698 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3699 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3700 Adjust for changed ldbl-128 files.
3701
3702 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3703 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3704 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3705
e5270c23
DM
37062012-04-17 David S. Miller <davem@davemloft.net>
3707
3708 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3709
fb5e92c9
AS
37102012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3711
3712 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3713 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3714 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3715 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3716 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3717 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3718
76da7265
AZ
37192012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3720
3721 [BZ #6794]
3722 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3723 * math/libm-test.inc: Add ilogb errno and exception tests.
3724 * math/w_ilogb.c: New file: ilogb wrapper.
3725 * math/w_ilogbf.c: New file: ilogbf wrapper.
3726 * math/w_ilogbl.c: New file: ilogbl wrapper.
3727 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3728 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3729 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3730 exception being thrown with 0.0 as argument.
3731 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3732 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3733 exception being thrown with 0.0 as argument.
3734 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3735 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3736 exception being thrown with 0.0 as argument.
3737 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3738 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3739 exception being thrown with 0.0 as argument.
3740 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3741 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3742 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3743 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3744 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3745 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3746 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3747 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3748 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3749
0396e69d
PB
37502012-04-17 Petr Baudis <pasky@ucw.cz>
3751
3752 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3753 with altivec.
3754
750b5926
MP
37552012-04-16 Marek Polacek <polacek@redhat.com>
3756
3757 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3758
751728a1
MP
37592012-04-16 Marek Polacek <polacek@redhat.com>
3760
3761 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3762 operands of fdivp instruction.
3763
34a27407
L
37642012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3765
3766 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3767 * elf/tst-auditmod3b.c: Likewise.
3768 * elf/tst-auditmod4b.c: Likewise.
3769 * elf/tst-auditmod5b.c: Likewise.
3770 * elf/tst-auditmod6b.c: Likewise.
3771 * elf/tst-auditmod6c.c: Likewise.
3772 * elf/tst-auditmod7b.c: Likewise.
3773 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3774 * sysdeps/x86_64/preconfigure.in: Likewise.
3775 * sysdeps/x86_64/preconfigure: Regenerated.
3776
7e73e17d
L
37772012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3778
3779 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3780 __ILP32__.
3781
c7a6ab72
AB
37822012-04-13 Antoine Balestrat <merkil33@gmail.com>
3783
3784 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3785 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3786
a9e8e0e0
CL
37872012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3788
3789 [BZ #13973]
3790 * locale/iso-639.def: Fix gl language name. Spotted by
3791 Yaron Shahrabani.
3792
ec98af7d
RM
37932012-04-12 Roland McGrath <roland@hack.frob.com>
3794
3795 [BZ #2074]
3796 * libio/libio.h (__io_write_fn): Update comment.
3797
247c3ede
PB
37982012-04-12 Petr Baudis <pasky@ucw.cz>
3799
3800 [BZ #2074]
3801 * stdio.texi (Hook Functions): The user provided writer function
3802 is not allowed to return -1.
3803
55939d6d
DM
38042012-04-11 David S. Miller <davem@davemloft.net>
3805
3806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3807
90020f5a
MF
38082012-04-11 Mike Frysinger <vapier@gentoo.org>
3809
3810 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3811 Add a leading slash to rtkaio.
3812
288f9098
JM
38132012-04-11 Jim Meyering <meyering@redhat.com>
3814
90020f5a
MF
3815 [BZ #11959]
3816 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3817 It is not necessarily an error to ignore fwrite's return
3818 value. One can reliably use ferror to test for errors after
3819 the fact.
288f9098 3820
4be2b570
L
38212012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3822
3823 * bits/types.h (__snseconds_t): New type.
3824 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3825
3826 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3827 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3828 (__SNSECONDS_T_TYPE): Likewise.
3829 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3830 (__SNSECONDS_T_TYPE): Likewise.
3831 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3832 (__SNSECONDS_T_TYPE): Likewise.
3833
288f9098 38342012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3835
3836 [BZ #2636]
3837 * manual/time.texi (Processor Time): Return type of times is
3838 elapsed real time since an arbitrary point in the past.
3839 (CPU Time): Move CLK_TCK from here...
3840 (Processor Time): ...to here. Correct description.
3841 * manual/conf.texi (Constants for Sysconf): Correct description of
3842 _SC_CLK_TCK.
3843
d7dd4413
DM
38442012-04-10 David S. Miller <davem@davemloft.net>
3845
3846 [BZ #13967]
3847 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3848 where the is a gap between DT_REL(A) and DT_JMPREL.
3849
b46068fc
L
38502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3851
3852 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3853 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3854 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3855
73d65cc3
SP
38562012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3857
3858 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3859 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3860 (dl_main): Handle --inhibit-cache.
3861 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3862 _dl_inhibit_cache.
3863 * elf/dl-load.c (_dl_map_object): Use it.
3864 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3865
bcc8d661
JM
38662012-04-09 Joseph Myers <joseph@codesourcery.com>
3867
8f9a2fae
JM
3868 [BZ #13872]
3869 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3870 (__ieee754_powl): Saturate large exponents rather than testing for
3871 overflow of y*log2(x).
3872 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3873 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3874 exceptions.
3875
bcc8d661
JM
3876 [BZ #11521]
3877 * math/s_ctan.c: Include <float.h>.
3878 (__ctan): Avoid internal overflow or cancellation in calculating
3879 denominator.
3880 * math/s_ctanf.c: Likewise.
3881 * math/s_ctanl.c: Likewise.
3882 * math/s_ctanh.c: Likewise.
3883 * math/s_ctanhf.c: Likewise.
3884 * math/s_ctanhl.c: Likewise.
3885 * math/libm-test.inc (ctan_test): Add more tests.
3886 (ctanh_test): Likewise.
3887 * sysdeps/i386/fpu/libm-test-ulps: Update.
3888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3889
823fbbb4
AJ
38902012-04-09 Andreas Jaeger <aj@suse.de>
3891
03879793
AJ
3892 [BZ #6894]
3893 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3894 is an optional BSD extension.
3895
823fbbb4
AJ
3896 [BZ #10254]
3897 * manual/stdio.texi (Opening Streams): Document additional fopen
3898 parameters.
3899
8de131cb
RM
39002012-04-09 Roland McGrath <roland@hack.frob.com>
3901
3902 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3903 %eax without telling the compiler.
3904
c0ed9d7d
CD
39052012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3906
3907 [BZ # 13963]
3908 * manual/install.texi: Use sourceware.org.
3909
c483f6b4
JM
39102012-04-09 Joseph Myers <joseph@codesourcery.com>
3911
d7dd9453
JM
3912 [BZ #13873]
3913 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3914 (__ieee754_pow): Generate overflow and underflow using huge*huge
3915 and tiny*tiny rather than just returning constant infinity or zero
3916 for large exponents.
3917 * math/libm-test.inc (pow_test): Require overflow exceptions for
3918 applicable cases of large exponents.
3919
c483f6b4
JM
3920 [BZ #706]
3921 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3922 (__ieee754_pow): Use iterative multiplication algorithm only for
3923 integer exponents with absolute value below 1024. Check for odd
3924 integer exponents when using algorithm for real exponents.
3925 * math/libm-test.inc (pow_test): Add more tests.
3926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3927
d2de7579
JM
39282012-04-08 Joseph Myers <joseph@codesourcery.com>
3929
3930 [BZ #13705]
3931 * math/libm-test.inc (exp_test): Do not allow overflow exception
3932 on underflow test.
3933
f77f1232
AJ
39342012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3935
3936 [BZ #13705]
3937 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3938 instead of __kernel_standard_f.
3939
3884932b
MF
39402012-04-08 Mike Frysinger <vapier@gentoo.org>
3941
3942 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3943 * sysdeps/x86_64/memset_chk.S: Likewise.
3944
54472e9c
AJ
39452012-04-08 Andreas Jaeger <aj@suse.de>
3946
6ab0fbfc
AJ
3947 [BZ #10153]
3948 * manual/startup.texi (Environment Access): Describe return value
3949 for putenv and setenv.
3950
61efba8c
AJ
3951 [BZ #6895]
3952 * manual/filesys.texi (Directory Entries): Add description for
3953 DT_LNK.
3954
95c3f29a
AJ
3955 [BZ #6890]
3956 * manual/filesys.texi (Directory Entries): Clarify that it's file
3957 system not operating system in the description of DT_UNKNOWN.
3958
54472e9c
AJ
3959 [BZ #6578]
3960 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3961
624254b1
SC
39622012-04-08 Stephen Compall <s11@member.fsf.org>
3963
3964 [BZ #6649]
3965 * manual/llio.texi (Opening and Closing Files): Add cross
3966 reference to explain mode argument.
3967
1e4920e0
MF
39682012-04-07 Mike Frysinger <vapier@gentoo.org>
3969
3970 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3971 * sysdeps/x86_64/memset_chk.S: Likewise.
3972
5ed848f3
DM
39732012-04-07 David S. Miller <davem@davemloft.net>
3974
3975 * elf/elf.h (R_SPARC_WDISP10): Define.
3976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3977 R_SPARC_SIZE32.
3978 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3979 R_SPARC_SIZE64 and R_SPARC_H34.
3980
96154cd8
CD
39812012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3982
3983 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3984 conditions and remove no longer applicable assertion.
3985
9904dc47
L
39862012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3987
3988 * bits/byteswap.h: Include <features.h>.
3989 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3990 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3991
f8887d0a
L
39922012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3993
3994 * bits/byteswap.h (__bswap_16): Removed.
3995 Include <bits/byteswap-16.h> to get __bswap_16.
3996 * sysdeps/i386/bits/byteswap.h: Likewise.
3997 * sysdeps/s390/bits/byteswap.h: Likewise.
3998 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3999 * bits/byteswap-16.h: New file.
4000 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4001 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4002 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4003 * string/Makefile (headers): Add bits/byteswap-16.h.
4004
62470f60
PP
40052012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4006
4007 [BZ #13895]
4008 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4009 extra indirection.
4010 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4011 * nss/tst-nss-static.c: New.
4012
4dad7bab
RM
40132012-04-06 Robert Millan <rmh@gnu.org>
4014
4015 [BZ #6486]
4016 * manual/llio.texi (File Position Primitive): lseek
4017 refers to WHENCE when it really means OFFSET.
4018
e9142a17
AJ
40192012-04-06 Andreas Jaeger <aj@suse.de>
4020
2c040eff
AJ
4021 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4022 strncmp declarations.
4023
e9142a17
AJ
4024 * abilist/libc.abilist: Add __poll and __ppoll.
4025
ff9f1c5f
DM
40262012-04-05 David S. Miller <davem@davemloft.net>
4027
dcd2ae90
DM
4028 * scripts/check-local-headers.sh: Accept a host triplet in the
4029 path matched by the exclude regexp.
4030
993eb054
DM
4031 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4032 definition.
4033 * sysdeps/powerpc/powerpc32/dl-machine.h
4034 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4035 * sysdeps/s390/s390-32/dl-machine.h
4036 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4037 * sysdeps/sparc/sparc32/dl-machine.h
4038 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4039 * sysdeps/sparc/sparc64/dl-machine.h
4040 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4041
ff9f1c5f
DM
4042 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4043 lazy binding.
48e2e132 4044 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4045 undefined symbol errors.
4046
48e2e132 4047 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4048 DT_NEEDED entries.
4049
e80d6f94
MM
40502012-04-05 Michael Matz <matz@suse.de>
4051
4052 [BZ #13592]
4053 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4054
349fa79f
AJ
40552012-04-05 Andreas Jaeger <aj@suse.de>
4056
4057 [BZ #13908]
4058 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4059 comment.
4060
f402708f
KK
40612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4062
4063 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4064 which ROUND is no valid rounding mode.
4065
2ecccfc9
KK
40662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4067
4068 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4069 read again.
4070 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4071
8a53f50f
KK
40722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4073
4074 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4075 an exception using FPU order intentionally.
4076
40772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4078
4079 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4080 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4081 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4082 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4083
d653abb7
SJ
40842012-04-05 Simon Josefsson <simon@josefsson.org>
4085
4086 [BZ #12340]
4087 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4088 EINVAL when BUFLEN is too smal.
4089
c3b1bf7d
TS
40902012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4091
4092 [BZ #13553]
4093 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4094 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4095
b1aa60f3
AJ
40962012-04-03 Andreas Jaeger <aj@suse.de>
4097
c3b1bf7d 4098 [BZ #13938]
67f60a26
AJ
4099 * manual/setjmp.texi (System V contexts): Fix sentence.
4100
b1aa60f3
AJ
4101 [BZ #13926]
4102 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4103 New macro for this case.
4104 [!__GNUC__] (__bswap_64): New inline function for this case.
4105 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4106 * bits/byteswap.h: Likewise.
4107 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4108 ull, guard with __GLIBC_HAVE_LONG_LONG.
4109
4110 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4111 __GLIBC_HAVE_LONG_LONG.
4112
4113 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4114 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4115
39c59c35
TMQMF
41162012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4117
4118 [BZ #13691]
4119 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4120 inptr and inend, rather than using last_ch.
4121
135ffda8
DM
41222012-04-02 David S. Miller <davem@davemloft.net>
4123
4124 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4125 * stdio-common/printf-parse.h (read_int): Change return type to
4126 'int', return -1 on INT_MAX overflow.
4127 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4128 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4129 overflows INT_MAX. Check for overflow of in-format-string precision
4130 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4131 SIZE_MAX not INT_MAX for integer overflow test.
4132 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4133 skip the construct in the format string but do not record anything.
4134 * stdio-common/bug22.c: Adjust to test both width/prevision
4135 INT_MAX overflow as well as total length INT_MAX overflow. Check
4136 explicitly for proper errno values.
4137
228c019e
TS
41382012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4139
302cadd3
TS
4140 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4141 CHAR_MAX.
4142 * string/test-strcmp.c [! WIDE]: Likewise.
4143 * time/tst-mktime2.c: Likewise for INT_MAX.
4144 * string/test-string.h: #include <sys/param.h> for MIN.
4145
228c019e
TS
4146 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4147 * sysdeps/i386/init-first.c (init): Likewise.
4148 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4149 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4150 * sysdeps/sh/init-first.c (init): Likewise.
4151
cfa633f5
UD
41522012-04-01 Ulrich Drepper <drepper@gmail.com>
4153
4154 * po/ru.po: Update from translation team.
d1635ef8 4155 * po/vi.po: Likewise.
cfa633f5 4156
6cd0a5ea
SP
41572012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4158
4159 * resolv/nss_dns/dns-host.c: Merge copyright years.
4160
4b43400f
LD
41612012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4162
4163 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4164 Optimize memcpy with prefetch if
4165 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4166 src, dst pointers have unequal 16 byte alignments.
4167
48c41d04
SP
41682012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4169
4170 [BZ #13928]
4171 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4172 from a CNAME entry and return the minimum ttl for the query.
4173 (gaih_getanswer_slice): Likewise.
4174
b8dc394d
JL
41752012-03-30 Jeff Law <law@redhat.com>
4176
4177 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4178 due to long keys.
4179 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4180 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4181
2f5a5ed0
JL
4182 * resolv/nss_dns/dns-host.c: Update copyright year.
4183
1d39e359
UD
41842012-03-30 Ulrich Drepper <drepper@gmail.com>
4185
c030f70c 4186 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4187 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4188
1d39e359
UD
4189 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4190 comments for sendmmsg.
4191
41922012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4193
4194 [BZ #13691]
4195 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4196 with only 1 character between 0x0041 and 0x01b0.
4197 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4198 * wcsmbs/tst-mbsnrtowcs.c: New file.
4199
20fde227
DM
42002012-03-29 David S. Miller <davem@davemloft.net>
4201
4202 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4203 small copies by hand.
4204
984a4237
JL
42052012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4206
4207 [BZ #13761]
4208 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4209 _nss_compat_initgroups_dyn): Fall back to malloc/free
4210 for large group memberships.
4211
18c9d62b
DM
42122012-03-28 David S. Miller <davem@davemloft.net>
4213
88d85d4f
DM
4214 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4215 that branches into memcpy.
4216 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4217 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4218 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4219 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4220 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4221 bits.
4222 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4223 implementation too.
4224 * sysdeps/sparc/mempcpy.S: New file.
4225
e5aa83e1
DM
4226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4227 the IFUNC routine in the libc case.
4228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4229
88570753
DM
4230 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4231 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4232 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4233 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4234 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4235 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4236 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4237 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4238
249d7567
DM
4239 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4240 loop to 256 bytes instead of 64 bytes and fix test signedness.
4241
18c9d62b
DM
4242 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4243 * sysdeps/sparc/sparc32/Makefile: rather than here...
4244 * sysdeps/sparc/sparc64/Makefile: and here.
4245
05f3d1f6
UD
42462012-03-28 Ulrich Drepper <drepper@gmail.com>
4247
4248 * malloc/mallocbug.c: Avoid warnings about unused variables.
4249
86ae07a8
JL
42502012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4251
4252 [BZ #13760]
4253 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4254 in the right place. Discard and retry query if response is
4255 larger than input buffer size.
4256
41bf21a1
JM
42572012-03-28 Joseph Myers <joseph@codesourcery.com>
4258
d6270972
JM
4259 [BZ #369]
4260 [BZ #2678]
4261 [BZ #3866]
4262 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4263 x for large integer exponent.
4264 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4265 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4266 sign of result as needed afterwards.
4267 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4268 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4269 result for underflowing pow the same as for overflow.
4270 (__kernel_standard_l): Handle powl overflow and underflow here
4271 rather than calling __kernel_standard.
4272 * math/libm-test.inc (pow_test): Add more tests.
4273
414fca03 4274 [BZ #3868]
41bf21a1
JM
4275 [BZ #13879]
4276 [BZ #13910]
4277 [BZ #13911]
4278 [BZ #13912]
4279 [BZ #13913]
4280 [BZ #13915]
4281 [BZ #13916]
4282 [BZ #13917]
4283 [BZ #13918]
4284 [BZ #13919]
4285 [BZ #13920]
4286 [BZ #13921]
4287 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4288 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4289 (__kernel_standard_l): New function.
4290 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4291 __kernel_standard.
4292 * math/w_acosl.c (__acosl): Likewise.
4293 * math/w_asinl.c (__asinl): Likewise.
4294 * math/w_atan2l.c (__atan2l): Likewise.
4295 * math/w_atanhl.c (__atanhl): Likewise.
4296 * math/w_coshl.c (__coshl): Likewise.
4297 * math/w_exp10l.c (__exp10l): Likewise.
4298 * math/w_exp2l.c (__exp2l): Likewise.
4299 * math/w_fmodl.c (__fmodl): Likewise.
4300 * math/w_hypotl.c (__hypotl): Likewise.
4301 * math/w_j0l.c (__j0l, __y0l): Likewise.
4302 * math/w_j1l.c (__j1l, __y1l): Likewise.
4303 * math/w_jnl.c (__jnl, __ynl): Likewise.
4304 * math/w_lgammal.c (__lgammal): Likewise.
4305 * math/w_log10l.c (__log10l): Likewise.
4306 * math/w_log2l.c (__log2l): Likewise.
4307 * math/w_logl.c (__logl): Likewise.
4308 * math/w_powl.c (__powl): Likewise.
4309 * math/w_remainderl.c (__remainderl): Likewise.
4310 * math/w_scalbl.c (sysv_scalbl): Likewise.
4311 * math/w_sinhl.c (__sinhl): Likewise.
4312 * math/w_sqrtl.c (__sqrtl): Likewise.
4313 * math/w_tgammal.c (__tgammal): Likewise.
4314 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4315 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4316 * math/libm-test.inc (acos_test): Add more tests.
4317 (acosh_test): Likewise.
4318 (asin_test): Likewise.
4319 (atanh_test): Likewise.
4320 (exp_test): Likewise.
4321 (exp10_test): Likewise.
4322 (exp2_test): Likewise.
4323 (expm1_test): Likewise.
4324 (lgamma_test): Likewise.
4325 (log_test): Likewise.
4326 (log10_test): Likewise.
4327 (log1p_test): Likewise.
4328 (log2_test): Likewise.
4329 (pow_test): Do not allow some spurious overflow exceptions.
4330 (sqrt_test): Add more tests.
4331 (tgamma_test): Likewise.
4332 (y0_test): Likewise.
4333 (y1_test): Likewise.
4334 (yn_test): Likewise.
4335
dd62fda6
AB
43362012-03-27 Anton Blanchard <anton@samba.org>
4337
4338 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4339 MAP_HUGETLB.
4340 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4341 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4342 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4343
1e3cdfda
AJ
43442012-03-27 David S. Miller <davem@davemloft.net>
4345
b855ab85
DM
4346 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4347
1e3cdfda
AJ
4348 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4349 have-as-vis3 check.
4350
43512012-03-27 Andreas Jaeger <aj@suse.de>
4352
4353 * sysdeps/x86_64/elf/configure.in: Moved to ...
4354 * sysdeps/x86_64/configure.in: ... here.
4355 * sysdeps/x86_64/elf/start.S: Moved to ...
4356 * sysdeps/x86_64/start.S: ... here.
4357 * sysdeps/x86_64/elf/configure: Delete.
4358
4359 * sysdeps/x86_64/configure.in: Merge contents from
4360 sysdeps/i386/configure.in (without i686 check).
4361
4362 * sysdeps/i386/elf/Versions: Merge into ...
4363 * sysdeps/i386/Versions: ... this.
4364 * sysdeps/i386/elf/Versions: Delete file.
4365 * sysdeps/i386/elf/start.S: Moved to ...
4366 * sysdeps/i386/start.S: ...here.
4367 * sysdeps/i386/elf/configure.in: Merge into...
4368 * sysdeps/i386/configure.in: ...here.
4369 * sysdeps/i386/elf/configure.in: Delete file.
4370 * sysdeps/i386/elf/configure: Delete file.
4371
4372 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4373 * debug/backtracesyms.c: ... here.
4374 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4375 * debug/backtracesymsfd.c: ... here.
4376 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4377 * sysdeps/generic/ifunc-sel.h: ... here.
4378
4379 * sysdeps/unix/i386/start.c: Delete file.
4380 * sysdeps/unix/sparc/start.c: Delete file.
4381 * sysdeps/unix/start.c: Delete file.
4382
4383 * sysdeps/sh/elf/configure.in: Moved to ...
4384 * sysdeps/sh/configure.in: ... here.
4385 * sysdeps/sh/elf/start.S: Moved to ...
4386 * sysdeps/sh/start.S: ... here.
4387 * sysdeps/sh/elf/configure: Delete file.
4388
4389 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4390 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4391 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4392 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4393 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4394 * sysdeps/powerpc/powerpc64/start.S: here.
4395 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4396 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4397 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4398 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4399 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4400
4401 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4402 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4403 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4404 * sysdeps/powerpc/powerpc32/start.S: ... here.
4405 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4406 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4407 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4408
4409 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4410 * sysdeps/powerpc/ifunc-sel.h: ... here.
4411 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4412 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4413
4414 * sysdeps/sparc/elf/configure.in: Moved to ...
4415 * sysdeps/sparc/configure.in: ... here.
4416 * sysdeps/sparc/elf/configure: Delete file.
4417 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4418 * sysdeps/sparc/sparc32/start.S: ... here.
4419 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4420 * sysdeps/sparc/sparc64/start.S: ... here.
4421 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4422 * sysdeps/sparc/sparc32/Makefile: ... this.
4423 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4424 * sysdeps/sparc/sparc64/Makefile: ... this.
4425
4426 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4427 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4428 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4429 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4430 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4431 * sysdeps/s390/s390-32/setjmp.S: ... here.
4432 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4433 * sysdeps/s390/s390-32/configure.in: ... here.
4434 * sysdeps/s390/s390-32/elf/configure: Delete file.
4435 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4436 * sysdeps/s390/s390-32/start.S: ... here.
4437
4438 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4439 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4440 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4441 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4442 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4443 * sysdeps/s390/s390-64/setjmp.S: ... here.
4444 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4445 * sysdeps/s390/s390-64/configure.in: ... here
4446 * sysdeps/s390/s390-64/elf/configure: Delete file.
4447 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4448 * sysdeps/s390/s390-64/start.S: ... here.
4449 * sysdeps/s390/s390-64/elf/configure: Delete.
4450
4451 * configure.in: Remove support for elf directories in sysdeps.
4452
4453 * configure: Regenerated.
4454 * sysdeps/i386/configure: Regenerated.
4455 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4456 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4457 * sysdeps/s390/s390-32/configure: Regenerated.
4458 * sysdeps/s390/s390-64/configure: Regenerated.
4459 * sysdeps/sh/configure: Regenerated.
4460 * sysdeps/sparc/configure: Regenerated.
4461 * sysdeps/x86_64/configure: Regenerated.
4462
a3f61311
AS
44632012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4464
c876e002
AS
4465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4466
a3f61311
AS
4467 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4468 denormal result into account.
4469
ac4c54f0
RM
44702012-03-25 Roland McGrath <roland@hack.frob.com>
4471
4472 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4473 Reported by Allan McRae <allan@archlinux.org>.
4474
6a9b9c02
JL
44752012-03-23 Jeff Law <law@redhat.com>
4476
4477 * nss/getnssent.c (__nss_getent): Fix typo.
4478
4c42a0c1
DM
44792012-03-23 David S. Miller <davem@davemloft.net>
4480
4481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4482
1532c7ac
L
44832012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4484
4485 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4486 to pad to uint64_t for each field.
4487 (dl_tls_index): Replace unsigned long with uint64_t.
4488
3ff42526
PP
44892012-03-23 Daniel Jacobowitz <dmj@google.com>
4490 Paul Pluzhnikov <ppluzhnikov@google.com>
4491
4492 [BZ #6528]
4493 * grp/Makefile (otherlibs): Don't set it.
4494 * inet/Makefile (otherlibs): Likewise.
4495 * login/Makefile (otherlibs): Likewise.
4496 * nscd/Makefile (otherlibs): Likewise.
4497 * posix/Makefile (otherlibs): Likewise.
4498 * pwd/Makefile (otherlibs): Likewise.
4499 * rt/Makefile (otherlibs): Likewise.
4500 * sunrpc/Makefile (otherlibs): Likewise.
4501 * nss/Makefile (otherlibs): Likewise.
4502 Add libnss_files to routines and static-only-routines.
4503 ($(objpfx)getent): Remove rule.
4504 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4505 static-only-routines.
4506
7c69cd14
JM
45072012-03-22 Joseph Myers <joseph@codesourcery.com>
4508
4509 [BZ #13892]
4510 * math/s_cexp.c: Include <float.h>.
4511 (__cexp): Handle exp result overflowing not necessarily
4512 overflowing both real and imaginary parts of result.
4513 * math/s_cexpf.c: Likewise.
4514 * math/s_cexpl.c: Likewise.
4515 * math/libm-test.inc (cexp_test): Add more tests.
4516 * sysdeps/i386/fpu/libm-test-ulps: Update.
4517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4518
81b035fe
L
45192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4520
4521 * include/link.h (ELFW): New macro.
4522 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4523 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4524
1da7940c
L
45252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4526
4527 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4528 with uint64_t.
4529
b749dbb9
L
45302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4531
4532 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4533 declaration.
4534 (struct La_x32_retval): Likewise.
4535
2ff87f3f
L
45362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4537
4538 * sysdeps/x86_64/preconfigure.in: New file.
4539 * sysdeps/x86_64/preconfigure: New generated file.
4540
c0df8e69
JM
45412012-03-22 Joseph Myers <joseph@codesourcery.com>
4542
48e44791
JM
4543 [BZ #13824]
4544 * math/e_exp2l.c: Include <float.h>.
4545 (__ieee754_exp2l): Handle overflow and underflow cases
4546 separately. Only pass fractional part of argument to
4547 __ieee754_expl.
4548 * math/libm-test.inc (exp2_test): Add more tests.
4549
c0df8e69
JM
4550 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4551 negating x to take absolute value.
4552 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4553 Likewise.
4554 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4555 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4556 Likewise.
4557 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4558 computing low part if x was negated.
4559 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4560
c8e43ba7
L
45612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4562
4563 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4564 la_x32_gnu_pltexit.
4565 (pltexit): Cast int_retval to ptrdiff_t.
4566 * elf/tst-auditmod3b.c: Likewise.
4567 * elf/tst-auditmod4b.c: Likewise.
4568 * elf/tst-auditmod5b.c: Likewise.
4569 * elf/tst-auditmod6b.c: Likewise.
4570 * elf/tst-auditmod6c.c: Likewise.
4571 * elf/tst-auditmod7b.c: Likewise.
4572
4573 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4574 and x32_gnu_pltexit.
4575
4576 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4577 __ELF_NATIVE_CLASS.
4578 (La_x32_regs): New macro.
4579 (La_x32_retval): Likewise.
4580 (la_x32_gnu_pltenter): New function prototype.
4581 (la_x32_gnu_pltexit): Likewise.
4582
7998fa78
AS
45832012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4584
dcb33988
AS
4585 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4586 exponent.
4587
233fc563
AS
4588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4589
7998fa78
AS
4590 * configure.in (libc_cv_cc_nofma): Check for option to disable
4591 generation of FMA instructions.
4592 * configure: Regenerate.
4593 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4594 * sysdeps/ieee754/dbl-64/Makefile: New file.
4595 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4596 Remove brandred-fma4.
4597 (CFLAGS-brandred-fma4.c): Remove.
4598 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4599 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4600 define.
4601 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4602 define.
4603
8e95c99a
L
46042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4605
4606 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4607 LLONG_MAX != LONG_MAX.
4608 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4609 (_fitoa_word): Likewise.
4610 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4611 LLONG_MAX != LONG_MAX.
4612 * stdio-common/_itowa.h: Include <_itoa.h>.
4613 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4614 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4615 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4616 only if not defined.
4617 (_ITOA_WORD_TYPE): Likewise.
4618 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4619 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4620
6f4db457
DM
46212012-03-21 David S. Miller <davem@davemloft.net>
4622
4623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4624
7785fe5a
L
46252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4626
4627 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4628 of x86_64 when setting libc_cv_slibdir, libdir and
4629 libc_cv_localedir.
4630 * sysdeps/unix/sysv/linux/configure: Regenerated.
4631
4535cd55
JM
46322012-03-21 Joseph Myers <joseph@codesourcery.com>
4633
4634 * manual/lang.texi (Old Varargs): Remove section.
4635 (How Variadic): Update menu.
4636 (va_start): Do not mention varargs.h.
4637
17228132
TS
46382012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4639 Joseph Myers <joseph@codesourcery.com>
4640
4641 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4642 link test.
4643 * configure: Regenerated.
4644
8149f976
TS
46452012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4646
05f3d1f6
UD
4647 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4648 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4649 conformtest.pl
8149f976 4650
1a4ac776
JM
46512012-03-21 Joseph Myers <joseph@codesourcery.com>
4652
be22ce65
JM
4653 * NOTES: Remove.
4654 * Makefile (files-for-dist): Remove NOTES.
4655 (NOTES): Remove rule.
4656 * README: Don't refer to NOTES.
4657 * manual/creature.texi: Don't include macros.texi.
4658 * manual/intro.texi (creature.texi): Remove comment referring to
4659 NOTES.
4660
40b601fb
JM
4661 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4662 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4663 * configure: Regenerated.
4664 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4665 LIBC_TRY_CC_OPTION.
4666 (libc_cv_as_i686): Likewise.
4667 (libc_cv_cc_avx): Likewise.
4668 (libc_cv_cc_sse2avx): Likewise.
4669 (libc_cv_cc_fma4): Likewise.
4670 (libc_cv_cc_novzeroupper): Likewise.
4671 * sysdeps/i386/configure: Regenerated.
4672
1a4ac776
JM
4673 [BZ #13883]
4674 * sysdeps/i386/fpu/s_cexp.S: Remove.
4675 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4676 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4677 * math/libm-test.inc (cexp_test): Add more tests.
4678 * sysdeps/i386/fpu/libm-test-ulps: Update.
4679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4680
a458e7fe
AM
46812012-03-21 Allan McRae <allan@archlinux.org>
4682
4683 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4684
0cb7efc5
JM
46852012-03-21 Joseph Myers <joseph@codesourcery.com>
4686
4687 [BZ #13871]
4688 * math/w_exp2.c: Do not include <float.h>.
4689 (o_threshold, u_threshold): Remove.
4690 (__exp2): Calculate result before checking finiteness and calling
4691 __kernel_standard.
4692 * math/w_exp2f.c: Likewise.
4693 * math/w_exp2l.c: Likewise.
4694 * math/libm-test.inc (exp2_test): Require overflow exception for
4695 1e6 input.
2460d3aa
JM
4696
4697 [BZ #3866]
4698 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4699 range of signed 64-bit integers before using fistpll. Remove
4700 checks for whether integers fit in mantissa bits.
4701 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4702 the range of signed 32-bit integers before using fistpl. Remove
4703 checks for whether integers fit in mantissa bits.
4704 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4705 (__ieee754_powl): Test for y outside the range of signed 64-bit
4706 integers before using fistpll. Reduce 64-bit values to 63-bit
4707 ones as needed.
4708 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4709 divide-by-zero is raised for zero to large negative powers.
4710 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4711 (__ieee754_powl): Test for y outside the range of signed 64-bit
4712 integers before using fistpll. Reduce 64-bit values to 63-bit
4713 ones as needed.
4714 * math/libm-test.inc (pow_test): Add more tests.
4715
eb96ffb0
L
47162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4717
4718 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4719 <stdio-common/_itoa.h>.
4720 * debug/segfault.c: Likewise.
4721 * elf/dl-cache.c: Likewise.
4722 * elf/dl-minimal.c: Likewise.
4723 * elf/dl-misc.c: Likewise.
4724 * elf/dl-sysdep.c: Likewise.
4725 * elf/dl-version.c: Likewise.
4726 * elf/rtld.c: Likewise.
4727 * hurd/hurdsock.c: Likewise.
4728 * hurd/lookup-retry.c: Likewise.
4729 * malloc/malloc.c: Likewise.
4730 * malloc/mtrace.c: Likewise.
4731 * nscd/nscd_getgr_r.c: Likewise.
4732 * nscd/nscd_getpw_r.c: Likewise.
4733 * nscd/nscd_getserv_r.c: Likewise.
4734 * posix/getopt_init.c: Likewise.
4735 * posix/wordexp.c: Likewise.
4736 * stdio-common/_itoa.c: Likewise.
4737 * stdio-common/printf_fphex.c: Likewise.
4738 * stdio-common/vfprintf.c: Likewise.
4739 * string/_strerror.c: Likewise.
4740 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4741 * sysdeps/i386/i686/hp-timing.h: Likewise.
4742 * sysdeps/mach/_strerror.c: Likewise.
4743 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4744 * sysdeps/mach/hurd/sethostid.c: Likewise.
4745 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4746 * sysdeps/mach/xpg-strerror.c: Likewise.
4747 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4748 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4749 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4750 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4751 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4752 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4753 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4754 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4755 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4756 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4757 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4758 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4759 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4760 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4761 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4762 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4763 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4764 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4765 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4766 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4767 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4768
4769 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4770
4771 * stdio-common/_itoa.h: Moved to ...
4772 * sysdeps/generic/_itoa.h: Here.
4773
4774 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4775
4776 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4777 instead of "_itoa.h" and "_itowa.h".
4778 * stdio-common/vfprintf.: Likewise.
4779
d1af992d
L
47802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4781
4782 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4783 <bits/wordsize.h>.
4784 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4785 (__signbit): Likwise.
4786 (llrintf): Likwise.
4787 (llrint): Likwise.
4788
114883e0
L
47892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4790
4791 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4792 __WORDSIZE != 64.
4793
c135cc1b
JM
47942012-03-20 Joseph Myers <joseph@codesourcery.com>
4795
4796 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4797 OVERFLOW_EXCEPTION_OK.
4798 * math/libm-test.inc ("Philosophy"): Update comment about
4799 exception testing.
4800 (OVERFLOW_EXCEPTION): Define.
4801 (OVERFLOW_EXCEPTION_OK): Likewise.
4802 (INVALID_EXCEPTION_OK): Renumber.
4803 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4804 (IGNORE_ZERO_INF_SIGN): Likewise.
4805 (test_exceptions): Handle FE_OVERFLOW.
4806 (exp10_test): Expect overflow exceptions.
4807 (exp2_test): Likewise.
4808 (expm1_test): Likewise.
4809 (nextafter_test): Likewise.
4810 (pow_test): Likewise.
4811 (scalbn_test): Likewise.
4812 (scalbln_test): Likewise.
4813
95443d88
L
48142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4815
4816 * sysdeps/x86_64/bits/atomic.h
4817 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4818 64bit integer.
4819 (atomic_exchange_acq): Likewise.
4820 (__arch_exchange_and_add_body): Likewise.
4821 (__arch_add_body): Likewise.
4822 (atomic_add_negative): Likewise.
4823 (atomic_add_zero): Likewise.
4824
490df6c4
L
48252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4826
c2722551 4827 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4828 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4829
5e52b189
L
48302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4831
4832 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4833 Check __x86_64__ instead of __WORDSIZE.
4834
a9879d4c
L
48352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4836
4837 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4838
5df98260
DM
48392012-03-19 David S. Miller <davem@davemloft.net>
4840
e1497744
DM
4841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4842
5df98260
DM
4843 * sysdeps/sparc/fpu/fenv_private.h: New file.
4844 * sysdeps/sparc/fpu/math_private.h: Use it.
4845 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4846 Remove.
4847 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4848 (libc_feholdexcept_setroundl): Remove.
4849 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4850 Remove.
4851 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4852 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4853
b4c35121
L
48542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4855
4856 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4857 int64_t instead of long int.
4858 (INSERT_WORDS64): Likwise.
4859
56965fd7
L
48602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4861
4862 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4863 _Unwind_GetCFA return to _Unwind_Ptr first.
4864
83d1aec8
JM
48652012-03-19 Joseph Myers <joseph@codesourcery.com>
4866
1897ad44
JM
4867 [BZ #13629]
4868 * math/s_clog.c: Include <float.h>.
4869 (__clog): Scale large or subnormal inputs.
4870 * math/s_clogf.c: Likewise.
4871 * math/s_clogl.c: Likewise.
4872 * math/s_clog10.c: Include <float.h>.
4873 (M_LOG10_2): Define.
4874 (__clog10): Scale large or subnormal inputs.
4875 * math/s_clog10f.c: Likewise.
4876 * math/s_clog10l.c: Likewise.
4877 * math/libm-test.inc (clog_test): Add more tests.
4878 (clog10_test): Likewise.
4879 * sysdeps/i386/fpu/libm-test-ulps: Update.
4880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4881
7726d6a9
JM
4882 [BZ #11451]
4883 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4884 x and y.
4885 * math/libm-test.inc (atan2_test): Add another test.
4886
83d1aec8
JM
4887 * Makerules (common-objdir-compile): Remove.
4888 * sysdeps/unix/Makefile (config-generated): Do not add
4889 $(unix-generated) to variable.
4890 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4891 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4892 Remove rule.
4893 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4894 Likewise.
4895 [generic bits/local_lim.h] (before-compile): Do not append to
4896 variable.
4897 [generic bits/local_lim.h] (common-generated): Likewise.
4898 [generic sys/param.h] (before-compile): Do not append to variable.
4899 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4900 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4901 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4902 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4903 include.
4904 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4905 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4906 [generic sys/param.h] ($(addprefix
4907 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4908 [generic sys/param.h] (common-generated): Do not append to
4909 variable.
4910 [generic sys/param.h] (sysdep_headers): Likewise.
4911 [generic bits/errno.h] (before-compile): Do not append to
4912 variable.
4913 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4914 rule.
4915 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4916 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4917 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4918 [generic bits/errno.h] (common-generated): Do not append to
4919 variable.
4920 [generic bits/ioctls.h] (before-compile): Do not append to
4921 variable.
4922 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4923 rule.
4924 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4925 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4926 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4927 rule.
4928 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4929 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4930 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4931 [generic bits/ioctls.h] (common-generated): Do not append to
4932 variable.
4933 [generic sys/syscall.h] (syscall.h): Remove variable.
4934 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4935 rule.
4936 [generic sys/syscall.h] (before-compile): Do not append to
4937 variable.
4938 [generic sys/syscall.h] (common-generated): Likewise.
4939 * sysdeps/unix/errnos-tmpl.c: Remove file.
4940 * sysdeps/unix/errnos.awk: Likewise.
4941 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4942 * sysdeps/unix/ioctls.awk: Likewise.
4943 * sysdeps/unix/mk-local_lim.c: Likewise.
4944 * sysdeps/unix/snarf-ioctls: Likewise.
4945
4851a949
RH
49462012-03-19 Richard Henderson <rth@twiddle.net>
4947
bd37f2ee
RH
4948 * sysdeps/i386/fpu/fenv_private.h: New file.
4949 * sysdeps/i386/fpu/math_private.h: Use it.
4950 (math_opt_barrier, math_force_eval): Remove.
4951 (libc_feholdexcept_setround_53bit): Remove.
4952 (libc_feupdateenv_53bit): Remove.
4953 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4954 (math_opt_barrier, math_force_eval): Remove.
4955 (libc_feholdexcept): Remove.
4956 (libc_feholdexcept_setround): Remove.
4957 (libc_fetestexcept, libc_fesetenv): Remove.
4958 (libc_feupdateenv_test): Remove.
4959 (libc_feupdateenv, libc_feholdsetround): Remove.
4960 (libc_feresetround): Remove.
4961
d0adc922
RH
4962 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4963 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4964
0fe0f1f8
RH
4965 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4966 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4967 (libc_feupdateenv_testl): New.
4968 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4969 (libc_feupdateenv_testf): New.
4970 (libc_feupdateenv): Use libc_feupdateenv_test.
4971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4972 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4973
eb92c487
RH
4974 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4975 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4976 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4977 (libc_feresetround_noex): New.
4978 (libc_feresetround_noexf): New.
4979 (libc_feresetround_noexl): New.
4980 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4981 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4982 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4983 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4984 SET_RESTORE_ROUND.
4985 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4987 (__cos): Likewise.
4988 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4989 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4990 SET_RESTORE_ROUND_NOEX.
4991 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4992 SET_RESTORE_ROUND_NOEXF.
4993 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4994 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4995 (libc_feholdsetroundf): New.
4996 (libc_feresetround, libc_feresetroundf): New.
4997
7d2e8012
RH
4998 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4999 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5000 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5001
b4dabbb4
RH
5002 * sysdeps/generic/math_private.h: Include <fenv.h>.
5003 (default_libc_feholdexcept): New.
5004 (default_libc_feholdexcept_setround): New.
5005 (default_libc_fesetenv, default_libc_feupdateenv): New.
5006 (libc_feholdexcept): Only define if undefined.
5007 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5008 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5009 (libc_feholdexcept_setroundl): Likewise.
5010 (libc_feholdexcept_setround_53bit): Likewise.
5011 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5012 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5013 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5014 (libc_feupdateenv_53bit): Likewise.
5015 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5016 (libc_feholdexcept): Convert from macro to inline function.
5017 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5018 (libc_fesetenv, libc_feupdateenv): Likewise.
5019
4851a949
RH
5020 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5021 not previously defined.
5022 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5023 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5024 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5025 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5026 * sysdeps/ieee754/flt-32/math_private.h: New file.
5027 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5028 math_private.h below SET_FLOAT_WORD.
5029 (__isnan, __isinf_ns, __finite): Remove.
5030 (__isnanf, __isinf_nsf, __finitef): Remove.
5031
e79d442e
AS
50322012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5033
5034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5035
90b80344
DM
50362012-03-17 David S. Miller <davem@davemloft.net>
5037
5038 [BZ #6471]
5039 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5040 for 2.16.
5041
edc21804
DM
50422012-03-16 David S. Miller <davem@davemloft.net>
5043
77e927af
DM
5044 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5045 warnings.
5046
374976dd
DM
5047 [BZ #6471]
5048 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5049 properly.
5050 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5051 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5052 sysdep_routines when subdir is sysvipc.
5053 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5054 __getshmlba helper.
5055
edc21804
DM
5056 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5057
473c3ef3
L
50582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5059
5060 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5061 [__LP64__].
5062
eb0f39b6
L
50632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5064
5065 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5066 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5067 (__lround): Renamed to ...
5068 (__llround): This. Replace long int with long long int.
5069 Define lround functions as aliases of llround functions.
5070 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5071
6b6cd74b
L
50722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5073
5074 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5075 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5076 adresses to uintptr_t. Replace "long int" and "unsigned long
5077 int" with "greg_t" on va_arg.
5078
f1a77b01
L
50792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5080
5081 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5082 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5083
5084 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5085 Move e_machine check before EI_CLASS check. Handle x32
5086 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5087 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5088 SKIP_EM_IA_64 and include
5089 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5090
5091 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5092 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5093 (add_system_dir): New macro.
5094
5095 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5096 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5097
11b90b9f
JM
50982012-03-16 Joseph Myers <joseph@codesourcery.com>
5099
c36e1d23
JM
5100 [BZ #2551]
5101 [BZ #2552]
5102 [BZ #2553]
5103 [BZ #2554]
5104 [BZ #2562]
5105 [BZ #2563]
5106 [BZ #2565]
5107 [BZ #2566]
5108 [BZ #2576]
5109 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5110 (y0): Likewise.
5111 * math/w_j0f.c (j0f): Likewise.
5112 (y0f): Likewise.
5113 * math/w_j0l.c (__j0l): Likewise.
5114 (__y0l): Likewise.
5115 * math/w_j1.c (j1): Likewise.
5116 (y1): Likewise.
5117 * math/w_j1f.c (j1f): Likewise.
5118 (y1f): Likewise.
5119 * math/w_j1l.c (__j1l): Likewise.
5120 (__y1l): Likewise.
5121 * math/w_jn.c (jn): Likewise.
5122 (yn): Likewise.
5123 * math/w_jnf.c (jnf): Likewise.
5124 (ynf): Likewise.
5125 * math/w_jnl.c (__jnl): Likewise.
5126 (__ynl): Likewise.
5127 * math/libm-test.inc (j0_test): Add more tests.
5128 (j1_test): Likewise.
5129 (jn_test): Likewise. Add trailing semicolon to existing test.
5130 (y0_test): Likewise.
5131 (y1_test): Likewise.
5132 * sysdeps/i386/fpu/libm-test-ulps: Update.
5133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5134
11b90b9f
JM
5135 [BZ #13851]
5136 [BZ #13854]
5137 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5138 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5139 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5140 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5141 (__tanl): Set errno for infinite argument.
5142 * sysdeps/i386/fpu/mptan.c: Remove.
5143 * sysdeps/i386/fpu/s_tan.S: Likewise.
5144 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5145 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5146 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5147 * math/libm-test.inc (tan_test): Add more tests and enable more
5148 tests for double and long double.
5149 * sysdeps/i386/fpu/libm-test-ulps: Update.
5150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5151
6a1bd2a1
JK
51522012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5153
5154 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5155 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5156
10a803e0
RM
51572012-03-16 Roland McGrath <roland@hack.frob.com>
5158
5159 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5160 * configure.in: Use it for both main tree and add-ons.
5161 * configure: Regenerated.
5162
f196c7f7
L
51632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5164
5165 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5166
8848d99d
JM
51672012-03-16 Joseph Myers <joseph@codesourcery.com>
5168
96cbe7f4
JM
5169 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5170 in comment.
5171
8848d99d
JM
5172 [BZ #13851]
5173 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5174 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5175 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5176 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5177 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5178 infinite argument.
5179 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5180 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5181 != 0 for prec == 2.
5182 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5183 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5184 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5185 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5186 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5187 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5188 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5189 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5190 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5191 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5192 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5193 * math/libm-test.inc (cos_test): Add more tests and enable more
5194 tests for long double.
5195 (sin_test): Likewise.
5196 (sincos_test): Likewise.
5197 * sysdeps/i386/fpu/libm-test-ulps: Update.
5198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5199
dd7f4703
DM
52002012-03-16 David S. Miller <davem@davemloft.net>
5201
5202 * sysdeps/sparc/fpu/math_private.h: New file.
5203
006f1daa
DM
52042012-03-15 David S. Miller <davem@davemloft.net>
5205
c0c83bc8
DM
5206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5207 file.
e6a62e18 5208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5210 file.
e6a62e18
DM
5211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5217 sysdep routines.
5218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5219
88cb87d9
DM
5220 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5221 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5222
006f1daa 5223 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5225 sparc-ifunc.h
006f1daa 5226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5228 Likewise.
5229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5230 Likewise.
006f1daa
DM
5231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5235 Likewise.
006f1daa
DM
5236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5241 Likewise.
5242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5243 Likewise.
006f1daa
DM
5244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5248 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5250 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5251 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5265 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5266 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5267 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5268
11e0098e
AS
52692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5270
5271 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5272 scaling.
5273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5274
e85b09d0
AJ
52752012-03-15 Andreas Jaeger <aj@suse.de>
5276
5277 [BZ #13852]
5278 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5279 ieee754/flt-32 implementation for sin, cos and sincos.
5280 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5281 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5282 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5283 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5284 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5285 ieee754/flt-32 implementation for tan.
5286
5287 * math/libm-test.inc (cos_test): Enable some large input tests for
5288 float as well
5289 (sin_test): Likewise.
5290 (sincos_test): Likewise.
5291 (tan_test): Add tests for large input.
5292
5293 * sysdeps/i386/fpu/libm-test-ulps: Update.
5294
81c64153
AJ
52952012-03-15 Andreas Jaeger <aj@suse.de>
5296
5297 [BZ #13658]
5298 * math/libm-test.inc (cos_test): Add more test cases.
5299 (sin_test): Likewise.
5300 (sincos_test): Likewise.
5301
7bbfa5c6
AJ
53022012-03-15 Andreas Jaeger <aj@suse.de>
5303
5304 [BZ #13837]
5305 * math/libm-test.inc (cos_test): Add a test case for large input
5306 value.
5307 (sin_test): Likewise.
5308 (sincos_test): Likewise.
5309
53102012-03-15 Andreas Jaeger <aj@suse.de>,
5311 Joseph Myers <joseph@codesourcery.com>
5312
5313 [BZ #13658]
0671f479 5314 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
5315 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5316 * sysdeps/i386/fpu/branred.c: Likewise.
5317 * sysdeps/i386/fpu/dosincos.c: Likewise.
5318 * sysdeps/i386/fpu/mpa.c: Likewise.
5319 * sysdeps/i386/fpu/s_cos.S: Likewise.
5320 * sysdeps/i386/fpu/s_sin.S: Likewise.
5321 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5322 * sysdeps/i386/fpu/sincos32.c: Likewise.
5323
5324 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5325 Define.
5326 (libc_feupdateenv_53bit): Define.
5327 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5328 Define.
5329 (libc_feupdateenv_53bit): Define.
5330
5331 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5332 53 bit (without extend i386 double precision).
5333
5334 * math/libm-test.inc (sincos_test): Add tests for large input.
5335 (sin): Likewise.
5336 (cos): Likewise.
5337
5338 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5339
9cad04ea
AS
53402012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5341
5342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5343
f7062b9a
DM
53442012-03-15 David S. Miller <davem@davemloft.net>
5345
5346 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5347 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5348 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5349 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5362 file.
f7062b9a 5363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
5364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5365 file.
f7062b9a 5366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
5367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5368 file.
f7062b9a 5369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
5370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5371 file.
f7062b9a
DM
5372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5374 fmin/fmax sysdep routines.
5375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5376
7bd951ff
DM
53772012-03-14 David S. Miller <davem@davemloft.net>
5378
559398ab
DM
5379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5383 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5384 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5385 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5386 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5399 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5400 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5401 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5402 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5403 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5404 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5405 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5407 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5408 routines.
5409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5410 file.
559398ab 5411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5413 file.
559398ab 5414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5416 file.
559398ab 5417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5419 file.
559398ab 5420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5422 file.
559398ab 5423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5425 file.
5426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5427 file.
5428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5429 file.
5430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5431 file.
5432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5433 New file.
5434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5435 file.
5436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5437 file.
559398ab 5438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5440 file.
559398ab 5441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5443 file.
559398ab 5444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5446 file.
559398ab 5447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5449 VIS3 routines.
559398ab
DM
5450
5451 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5452 New file.
5453
5a1c1e32
DM
5454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5455
eae47a36
DM
5456 * sysdeps/sparc/configure.in: New file.
5457 * sysdeps/sparc/configure: Generate.
5458 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5459 * configure: Regenerate.
5460 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5461 * config.make.in (have-as-vis3): New.
5462 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5463 available use -Av9d instead of -Av9a.
5464 * sysdeps/sparc/sparc64/Makefile: Likewise.
5465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5467 New file.
5468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5469 file.
5470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5471 New file.
5472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5473 file.
eae47a36
DM
5474 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5475 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5476 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5478 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5479
c0c83bc8
DM
5480 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5481 fzeros/fnegs to load 0x80000000 into a float register instead of
5482 using the stack.
7bd951ff
DM
5483 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5484
bd951ccb
JM
54852012-03-14 Joseph Myers <joseph@codesourcery.com>
5486
5487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5488 bits/syscall.h.
5489 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5490 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5491 ($(inst_includedir)/bits/syscall.h): Remove rule.
5492 ($(objpfx)bits/syscall.d): Include instead of
5493 $(objpfx)syscall-list.d.
5494 (generated): Change syscall-list.h and syscall-list.d to
5495 bits/syscall.h and bits/syscall.d.
5496
bb4e6db2
RM
54972012-03-14 Roland McGrath <roland@hack.frob.com>
5498
5499 [BZ #13846]
5500 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5501
aa4a2ae1
JM
55022012-03-14 Joseph Myers <joseph@codesourcery.com>
5503
e456826d
JM
5504 [BZ #13841]
5505 * math/s_csqrt.c: Include <float.h>.
5506 (__csqrt): Scale large or subnormal inputs.
5507 * math/s_csqrtf.c: Likewise.
5508 * math/s_csqrtl.c: Likewise.
5509 * math/libm-test.inc (csqrt_test): Add more tests.
5510 * sysdeps/i386/fpu/libm-test-ulps: Update.
5511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5512
aa4a2ae1
JM
5513 [BZ #13840]
5514 * math/libm-test.inc (hypot_test): Add more tests.
5515
7c10fd35
DM
55162012-03-13 David S. Miller <davem@davemloft.net>
5517
5518 [BZ #13840]
5519 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5520 double-precision for the calculation instead of scaling.
5521
f453b98b
JM
55222012-03-13 Joseph Myers <joseph@codesourcery.com>
5523
5524 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5525 manipulate bits before adding and subtracting TWO52[sx].
5526 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5527 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5528 Likewise.
5529 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5530
09a3453f
DM
55312012-03-13 David S. Miller <davem@davemloft.net>
5532
8e59da90
DM
5533 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5534 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5535 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5536 rtld-global-offsets.h
5537 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5538
2a8ab7f2
DM
5539 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5540 large parameters.
5541
10f62770
DM
5542 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5543
5f0bdb18
DM
5544 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5545 'err' in the ifdef scope in which it is actually used.
5546
09a3453f
DM
5547 * nss/nss_db/db-init.c: Include string.h
5548
b4b2eb5e
DM
55492012-03-12 David S. Miller <davem@davemloft.net>
5550
98bb2f1c
DM
5551 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5552 masking out of the most significant byte of random value used.
5553 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5554 Fix coding style in previous change.
5555
b4b2eb5e
DM
5556 * sysdeps/unix/sysv/linux/kernel-features.h
5557 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5558 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5559 expression.
5560 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5561 later.
5562
6e226b09
DM
55632012-03-11 David S. Miller <davem@davemloft.net>
5564
a1bcbd40
DM
5565 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5566 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5567 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5568 for 'resultvar' otherwise things get truncated on 64-bit.
5569
cb9d6174
DM
5570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5571 Fix masking out of the most significant byte of random value used.
5572
6e226b09
DM
5573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5574
058c132d
AS
55752012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5576
5577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5578
2d2cd515
DM
55792012-03-09 David S. Miller <davem@davemloft.net>
5580
5581 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5582 variables with appropriate CPP guards.
5583 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5584 frame pointer, not the stack pointer. Correct layout comments. Fix test
5585 on resulting framesize and the management of the outregs buffer for pltexit.
5586 Preserve floating point return values across _dl_call_pltexit call.
5587 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5588 framesize and the management of the outregs buffer for pltexit.
5589 Preserve floating point return values across _dl_call_pltexit
5590 call.
5591 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5592 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5593 (print_exit): Fix format string for return register value.
5594
9a07f9d0
JM
55952012-03-10 Joseph Myers <joseph@codesourcery.com>
5596
5597 * sunrpc/Makefile (others): Add rpcgen.
5598 ($(objpfx)rpcgen): Remove special build rule and dependency on
5599 libc.
5600 * sunrpc/rpcgen.c: New file.
5601
547b5e30
PE
56022012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5603
c524201a
PE
5604 [BZ #13673]
5605 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5606 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5607 * sysdeps/i386/crti.S: Likewise.
5608 * sysdeps/i386/crtn.S: Likewise.
5609 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5610 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5611 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5612 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5613 * sysdeps/sh/crti.S: Likewise.
5614 * sysdeps/sh/crtn.S: Likewise.
5615 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5616
7b6235f2
PE
5617 [BZ #13673]
5618 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5619 with URL.
5620 * locale/programs/locfile-kw.gperf: Likewise.
5621 * locale/programs/charmap-kw.h: Regenerated.
5622 * locale/programs/locfile-kw.h: Likewise.
5623
547b5e30
PE
5624 [BZ #13673]
5625 * intl/plural.y: Replace FSF snail mail address with URL.
5626 * intl/plural.c: Regenerated.
5627
5f0a5dae
RH
56282012-03-09 Richard Henderson <rth@twiddle.net>
5629
5630 * include/math_private.h: Remove file.
5631 * math/math_private.h: Move file ...
5632 * sysdeps/generic/math_private.h: ... here.
5633
b8c03620
RH
5634 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5635 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5636 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5637
4e234f5d 5638 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5639 and <math_private.h>.
5640 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5641 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5642 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5643 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5644 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5645 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5647 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5648 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5649 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5651 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5652 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5653 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5654 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5655 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5656 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5657 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5658 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5659 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5661 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5662 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5664 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5665 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5666 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5667 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5669 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5670 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5671 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5672 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5673 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5674 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5675 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5676 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5677 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5678 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5679 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5680 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5687 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5688 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5689 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5690 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5691 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5692 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5693 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5694 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5695 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5696 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5697 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5698 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5699 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5700 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5701 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5702 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5703 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5704 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5705 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5706 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5707 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5708 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5709 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5710 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5722 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5725 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5727 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5728 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5729 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5730 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5731 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5732 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5733 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5734 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5735 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5736 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5737 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5738 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5739 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5740 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5741 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5742 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5743 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5744 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5745 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5746 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5747 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5748 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5749 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5750 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5751 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5752 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5753 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5754 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5755 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5756 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5757 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5758 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5759 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5760 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5761 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5762 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5763 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5764 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5765 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5766 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5767 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5768 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5769 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5770 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5771 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5772 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5773 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5774 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5775 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5776 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5777 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5778 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5779 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5780 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5781 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5782 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5783 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5784 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5785 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5786 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5787 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5788 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5789 * sysdeps/ieee754/k_standard.c: Likewise.
5790 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5791 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5792 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5793 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5794 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5795 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5796 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5798 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5799 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5800 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5801 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5802 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5803 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5804 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5807 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5808 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5809 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5810 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5811 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5812 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5813 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5814 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5816 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5817 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5818 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5819 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5820 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5821 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5822 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5823 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5824 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5825 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5826 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5827 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5828 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5829 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5830 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5831 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5832 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5833 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5834 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5835 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5836 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5837 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5838 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5839 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5840 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5841 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5842 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5843 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5844 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5845 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5846 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5847 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5848 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5849 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5850 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5851 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5852 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5853 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5854 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5855 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5856 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5857 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5858 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5859 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5860 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5861 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5862 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5863 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5864 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5865 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5866 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5867 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5868 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5869 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5870 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5871 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5872 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5873 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5874 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5875 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5876 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5877 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5878 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5879 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5880 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5881 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5882 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5883 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5884 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5885 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5886 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5887 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5888 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5889 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5890 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5891 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5892 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5893 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5894 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5895 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5896 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5897 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5898 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5899 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5900 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5901 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5902 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5903 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5904 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5905 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5906 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5907 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5908 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5909 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5910 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5911 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5912 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5913 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5915 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5916 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5917 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5918 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5919 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5920 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5921 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5922 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5923 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5924 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5925 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5926 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5927 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5928 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5929 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5930 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5931 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5932 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5933 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5934 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5935 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5936 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5937 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5938 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5939 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5940 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5941 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5942 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5943 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5944 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5945 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5946 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5947 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5948 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5949 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5950 * sysdeps/ieee754/s_lib_version.c: Likewise.
5951 * sysdeps/ieee754/s_matherr.c: Likewise.
5952 * sysdeps/ieee754/s_signgam.c: Likewise.
5953 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5954 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5955 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5956 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5957 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5958 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5959 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5960 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5961 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5962 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5963 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5964 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5965 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5966 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5967 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5968 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5969 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5970 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5971 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5972 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5973 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5974
1991fa03
JM
59752012-03-09 Joseph Myers <joseph@codesourcery.com>
5976
5977 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5978 * sunrpc/rpc_main.c: Likewise.
5979 * sunrpc/rpc_svcout.c: Likewise.
5980
60d6f5a6
DM
59812012-03-09 David S. Miller <davem@davemloft.net>
5982
5983 * include/math_private.h: New file.
5984
4962050e
JM
59852012-03-09 Joseph Myers <joseph@codesourcery.com>
5986
02a6f887
JM
5987 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5988 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5989 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5990 from <bits/socket_type.h>.
5991 (enum __socket_type): Don't define here.
5992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5994 bits/socket_type.h.
5995
c6e013c1
JM
5996 [BZ #13566]
5997 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5998 checking __USE_GNU.
5999
4962050e
JM
6000 * Makerules ($(inst_includedir)/%.h): New rule.
6001 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6002 (install-others): Remove variable setting.
6003 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6004
38842f45
RH
60052012-03-08 Richard Henderson <rth@twiddle.net>
6006
67bb6da6
RH
6007 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6008 from macro to inline function; merge with the
6009 !__LIBC_INTERNAL_MATH_INLINES version.
6010 (__ieee754_sqrtf): Likewise.
6011
15194b4b
RH
6012 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6013 to inline function.
6014 (__rintf, __floor, __floorf): Likewise.
6015
64e21ede
RH
6016 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6017 macro to inline function.
6018 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6019
38842f45
RH
6020 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6021 not <math/math_private.h>.
6022
c64bf5fe
DM
60232012-03-08 David S. Miller <davem@davemloft.net>
6024
6025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6026 copyright year.
6027 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6028
82d86f28
TS
60292012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6030
6031 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6032 normalization.
6033 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6034 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6035
aea5d727
UD
60362012-03-08 Ulrich Drepper <drepper@gmail.com>
6037
6038 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6039 be defined individually, they must be defined as a block. Define
6040 S for printing a string instead of hidint the different by using a
6041 macro for adding the 'l'.
6042 * stdio-common/tst-fphex-wide.c: Adjust.
6043
70bca0a3
MP
60442012-03-07 Marek Polacek <polacek@redhat.com>
6045
6046 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6047
65b81130
MP
60482012-03-08 Marek Polacek <polacek@redhat.com>
6049
6050 [BZ #13806]
6051 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6052 * stdio-common/tst-fphex.c: Define a few macros to make the
6053 test reusable. Use them.
6054 * stdio-common/tst-fphex-wide.c: New file.
6055
07037eeb
JM
60562012-03-08 Joseph Myers <joseph@codesourcery.com>
6057
a7a93d50
JM
6058 [BZ #6911]
6059 * manual/macros.texi (gnusystems): New macro.
6060 (nongnusystems): Likewise.
6061 (gnulinuxhurdsystems): Likewise.
6062 (gnuhurdsystems): Likewise..
6063 (gnulinuxsystems): Likewise.
6064 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6065 variants of the GNU system, not "GNU system".
6066 * manual/conf.texi: Likewise.
6067 * manual/errno.texi: Likewise. Update example of errno macro
6068 expansion.
6069 * manual/filesys.texi: Likewise.
6070 (getumask): Document as specific to GNU/Hurd.
6071 * manual/install.texi: Likewise. Reword some references to
6072 GNU/Linux.
6073 * manual/intro.texi: Likewise.
6074 * manual/io.texi: Likewise.
6075 (File Name Portability): Detail which constraints are inapplicable
6076 to all GNU systems and which are only inapplicable to GNU/Hurd.
6077 * manual/job.texi: Likewise.
6078 * manual/llio.texi: Likewise.
6079 (O_NOCTTY): Document as present on GNU/Linux.
6080 * manual/maint.texi: Likewise.
6081 * manual/memory.texi: Likewise.
6082 * manual/pattern.texi: Likewise.
6083 * manual/pipe.texi: Likewise.
6084 * manual/process.texi: Likewise.
6085 * manual/resource.texi: Likewise.
6086 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6087 child on GNU/Hurd.
6088 * manual/setjmp.texi: Likewise.
6089 * manual/signal.texi: Likewise.
6090 * manual/startup.texi: Likewise.
6091 * manual/stdio.texi: Likewise.
6092 * manual/terminal.texi: Likewise.
6093 (ONLCR): Document as POSIX.
6094 (OXTABS): Document availability on GNU/Linux as XTABS.
6095 (ONOEOT): Document availability separately from other bits.
6096 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6097 * manual/time.texi: Likewise.
6098 * manual/users.texi: Likewise.
6099 * INSTALL: Regenerated.
6100 * sysdeps/gnu/errlist.c: Regenerated.
6101
07037eeb
JM
6102 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6103 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6104 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6105 puts.
6106 * configure: Regenerated.
6107
d1d3431a
JM
61082012-03-07 Joseph Myers <joseph@codesourcery.com>
6109
af6a1e37
JM
6110 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6111 default includes instead of AC_HEADER_CHECK.
6112 * sysdeps/i386/configure: Regenerated.
6113
d1d3431a
JM
6114 [BZ #10716]
6115 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6116 * math/s_cacoshf.c (__cacoshf): Likewise.
6117 * math/s_cacoshl.c (__cacoshl): Likewise.
6118 * math/s_casinh.c (__casinh): Set signs of result from argument.
6119 * math/s_casinhf.c (__casinhf): Likewise.
6120 * math/s_casinhl.c (__casinhl): Likewise.
6121 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6122 (casinh_test): Add more tests.
6123 * sysdeps/i386/fpu/libm-test-ulps: Update.
6124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6125
482ff4da
UD
61262012-03-07 Ulrich Drepper <drepper@gmail.com>
6127
872fda05
UD
6128 * po/zh_TW.po: Update from translation team.
6129
a4300c7a
UD
6130 * login/Makefile (distribute): Remove variable.
6131 * catgets/Makefile: Likewise.
6132 * mach/Makefile: Likewise.
6133 * malloc/Makefile: Likewise.
6134 * misc/Makefile: Likewise.
6135 * iconv/Makefile: Likewise.
6136 * nscd/Makefile: Likewise.
6137 * hurd/Makefile: Likewise.
6138 * manual/Makefile: Likewise.
6139 * locale/Makefile: Likewise.
6140 * intl/Makefile: Likewise.
6141 * conform/Makefile: Likewise.
6142 * nss/Makefile: Likewise.
6143 * time/Makefile: Likewise.
6144 * soft-fp/Makefile: Likewise.
6145 * dirent/Makefile: Likewise.
6146 * gmon/Makefile: Likewise.
6147 * po/Makefile: Likewise.
6148 * rt/Makefile: Likewise.
6149 * socket/Makefile: Likewise.
6150 * math/Makefile: Likewise.
6151 * signal/Makefile: Likewise.
6152 * debug/Makefile: Likewise.
6153 * elf/Makefile: Likewise.
6154 * timezone/Makefile: Likewise.
6155 * stdlib/Makefile: Likewise.
6156 * iconvdata/Makefile: Likewise.
6157 * sunrpc/Makefile: Likewise.
6158 * io/Makefile: Likewise.
6159 * argp/Makefile: Likewise.
6160 * inet/Makefile: Likewise.
6161 * hesiod/Makefile: Likewise.
6162 * grp/Makefile: Likewise.
6163 * csu/Makefile: Likewise.
6164 * wctype/Makefile: Likewise.
6165 * crypt/Makefile: Likewise.
6166 * libio/Makefile: Likewise.
6167 * string/Makefile: Likewise.
6168 * nis/Makefile: Likewise.
6169 * resolv/Makefile: Likewise.
6170 * stdio-common/Makefile: Likewise.
6171 * wcsmbs/Makefile: Likewise.
6172 * dlfcn/Makefile: Likewise.
6173 * posix/Makefile: Likewise.
6174
3b7c4e74 6175 [BZ #6959]
482ff4da
UD
6176 * timezone/Makefile: Don't install timezone files, just the programs
6177 and scripts.
6178
f72ed77d
UD
61792012-03-06 Ulrich Drepper <drepper@gmail.com>
6180
a000466f
UD
6181 * nss/databases.def: Add missing gshadow entry.
6182
f72ed77d
UD
6183 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6184
a53b7a4e
MP
61852012-03-06 Marek Polacek <polacek@redhat.com>
6186
6187 [BZ #13726]
6188 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6189 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6190 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6191 * stdio-common/tst-long-dbl-fphex.c: New file.
6192
e9258400
DM
61932012-03-06 David S. Miller <davem@davemloft.net>
6194
6195 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6196 (set_obp_int): New function.
6197 (get_obp_int): New function.
6198 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6199 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6200 Avoid unused variable warnings on 'val' and use builtin_expect.
6201 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6202 __builtin_expect.
e9258400
DM
6203 (INLINE_CLONE_SYSCALL): Likewise.
6204
3bd2c723
DM
62052012-03-05 David S. Miller <davem@davemloft.net>
6206
6207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6208
bbb78d03
AS
62092012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6210
884c5db4
AS
6211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6212
bbb78d03
AS
6213 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6214 only for |x| >= 40.
6215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6216
1c9f702a 62172012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6218
6219 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6220 Replace gettimeofday with __vdso_gettimeofday.
6221
7be16f82
RM
6222 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6223 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6224 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6225
6226 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6227 time with __vdso_time.
6228
ed58a00f
JM
62292012-03-05 Joseph Myers <joseph@codesourcery.com>
6230
6231 * manual/lang.texi (size_t): Note types to which size_t may be
6232 equivalent with the GNU C Library, but do not describe when
6233 differences between them are significant.
6234
30ee4ced
AJ
62352012-03-05 Andreas Jaeger <aj@suse.de>
6236
6237 * sysdeps/i386/fpu/libm-test-ulps: Update.
6238
b7cd39e8
JM
62392012-03-05 Joseph Myers <joseph@codesourcery.com>
6240
6241 [BZ #3976]
6242 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6243 (__ieee754_pow): Save and restore rounding mode and use
6244 round-to-nearest for main computations.
6245 * math/libm-test.inc (pow_test_tonearest): New function.
6246 (pow_test_towardzero): Likewise.
6247 (pow_test_downward): Likewise.
6248 (pow_test_upward): Likewise.
6249 (main): Call the new functions.
6250 * sysdeps/i386/fpu/libm-test-ulps: Update.
6251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6252
6253 [BZ #3976]
6254 * math/libm-test.inc (cosh_test_tonearest): New function.
6255 (cosh_test_towardzero): Likewise.
6256 (cosh_test_downward): Likewise.
6257 (cosh_test_upward): Likewise.
6258 (sinh_test_tonearest): Likewise.
6259 (sinh_test_towardzero): Likewise.
6260 (sinh_test_downward): Likewise.
6261 (sinh_test_upward): Likewise.
6262 (main): Call the new functions.
6263 * sysdeps/i386/fpu/libm-test-ulps: Update.
6264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6265
6c6a98c9
TV
62662012-03-05 Tom de Vries <tom@codesourcery.com>
6267
6268 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6269 default stack guard is set in last bytes.
6270 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6271
21bb2d2e 62722012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6273
21bb2d2e 6274 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6275
21bb2d2e
AJ
6276 [BZ #13656]
6277 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6278 possibly allocate from heap instead of stack.
6279 * stdio-common/bug-vfprintf-nargs.c: New file.
6280 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6281
c6922934
AS
62822012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6283
6284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6285
bc957d53
MP
62862012-03-03 Marek Polacek <polacek@redhat.com>
6287
6288 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6289 * math/math_private.h: Likewise.
6290 * stdlib/tst-strtod.c: Likewise.
6291 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6292 * sysdeps/x86_64/bits/atomic.h: Likewise.
6293
6358490d
DM
62942012-03-02 David S. Miller <davem@davemloft.net>
6295
6296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6300 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6301 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6302 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6303 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6304
01ae168d
RM
63052012-03-02 Roland McGrath <roland@hack.frob.com>
6306
d9a17c07
RM
6307 [BZ #13792]
6308 * manual/examples/README: New file, says the example source files
6309 can be used under GPL>=2.
6310 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6311 line containing just "*/".
6312 * manual/examples/add.c: Add copyright header (GPL>=2).
6313 * manual/examples/argp-ex1.c: Likewise.
6314 * manual/examples/argp-ex2.c: Likewise.
6315 * manual/examples/argp-ex3.c: Likewise.
6316 * manual/examples/argp-ex4.c: Likewise.
6317 * manual/examples/atexit.c: Likewise.
6318 * manual/examples/db.c: Likewise.
6319 * manual/examples/dir.c: Likewise.
6320 * manual/examples/dir2.c: Likewise.
6321 * manual/examples/execinfo.c: Likewise.
6322 * manual/examples/filecli.c: Likewise.
6323 * manual/examples/filesrv.c: Likewise.
6324 * manual/examples/fmtmsgexpl.c: Likewise.
6325 * manual/examples/genpass.c: Likewise.
6326 * manual/examples/inetcli.c: Likewise.
6327 * manual/examples/inetsrv.c: Likewise.
6328 * manual/examples/isockad.c: Likewise.
6329 * manual/examples/longopt.c: Likewise.
6330 * manual/examples/memopen.c: Likewise.
6331 * manual/examples/memstrm.c: Likewise.
6332 * manual/examples/mkfsock.c: Likewise.
6333 * manual/examples/mkisock.c: Likewise.
6334 * manual/examples/mygetpass.c: Likewise.
6335 * manual/examples/pipe.c: Likewise.
6336 * manual/examples/popen.c: Likewise.
6337 * manual/examples/rprintf.c: Likewise.
6338 * manual/examples/search.c: Likewise.
6339 * manual/examples/select.c: Likewise.
6340 * manual/examples/setjmp.c: Likewise.
6341 * manual/examples/sigh1.c: Likewise.
6342 * manual/examples/sigusr.c: Likewise.
6343 * manual/examples/stpcpy.c: Likewise.
6344 * manual/examples/strdupa.c: Likewise.
6345 * manual/examples/strftim.c: Likewise.
6346 * manual/examples/strncat.c: Likewise.
6347 * manual/examples/subopt.c: Likewise.
6348 * manual/examples/swapcontext.c: Likewise.
6349 * manual/examples/termios.c: Likewise.
6350 * manual/examples/testopt.c: Likewise.
6351 * manual/examples/testpass.c: Likewise.
6352 * manual/examples/timeval_subtract.c: Likewise.
6353
01ae168d
RM
6354 [BZ #13792]
6355 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6356 function to ...
6357 * manual/timeval_subtract.c.texi: ... here, new file.
6358
49efa33d
DM
63592012-03-02 David S. Miller <davem@davemloft.net>
6360
6361 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6362
28afd92d
JM
63632012-03-02 Joseph Myers <joseph@codesourcery.com>
6364
804360ed
JM
6365 [BZ #3976]
6366 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6367 (__sin): Save and restore rounding mode and use round-to-nearest
6368 for all computations.
6369 (__cos): Save and restore rounding mode and use round-to-nearest
6370 for all computations.
6371 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6372 <fenv.h>.
6373 (tan): Save and restore rounding mode and use round-to-nearest for
6374 all computations.
6375 * math/libm-test.inc (cos_test_tonearest): New function.
6376 (cos_test_towardzero): Likewise.
6377 (cos_test_downward): Likewise.
6378 (cos_test_upward): Likewise.
6379 (sin_test_tonearest): Likewise.
6380 (sin_test_towardzero): Likewise.
6381 (sin_test_downward): Likewise.
6382 (sin_test_upward): Likewise.
6383 (tan_test_tonearest): Likewise.
6384 (tan_test_towardzero): Likewise.
6385 (tan_test_downward): Likewise.
6386 (tan_test_upward): Likewise.
6387 (main): Call the new functions.
6388 * sysdeps/i386/fpu/libm-test-ulps: Update.
6389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6390
a6d06d7b
JM
6391 [BZ #10135]
6392 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6393 small n, then large n, before computing and testing k+n.
6394 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6395 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6396 Likewise.
6397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6398 Likewise.
6399 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6400 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6401 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6402 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6403 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6404 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6405 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6406 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6407 * math/libm-test.inc (scalbn_test): Add more tests.
6408 (scalbln_test): Likewise.
6409
07e12bb3
JM
6410 * manual/filesys.texi (mode_t): Describe constraints on size and
6411 signedness, not exact equivalence to a particular type.
6412 (ino_t): Likewise.
6413 (ino64_t): Likewise.
6414 (dev_t): Likewise.
6415 (nlink_t): Likewise.
6416 (blkcnt_t): Likewise.
6417 (blkcnt64_t): Likewise.
6418 * manual/llio.texi (off_t): Likewise.
6419
28afd92d
JM
6420 [BZ #3976]
6421 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6422 (__ieee754_exp): Save and restore rounding mode and use
6423 round-to-nearest for all computations.
6424 * math/libm-test.inc (exp_test_tonearest): New function.
6425 (exp_test_towardzero): Likewise.
6426 (exp_test_downward): Likewise.
6427 (exp_test_upward): Likewise.
6428 (main): Call the new functions.
6429 * sysdeps/i386/fpu/libm-test-ulps: Update.
6430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6431
b1eeb65d
CD
64322012-03-01 Chris Demetriou <cgd@google.com>
6433
6434 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6435 have predictable order.
6436
53362a4b
DM
64372012-03-01 David S. Miller <davem@davemloft.net>
6438
3c969083
DM
6439 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6440
759707de
DM
6441 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6442 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6443 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6444 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6445
dfdb8ff2
DM
6446 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6447 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6448 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6450 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6451 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6452 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6453 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6454 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6455
ead89f96
DM
6456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6457
7f66bd07
DM
6458 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6459 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6460 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6461
53362a4b
DM
6462 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6463 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6464 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6465 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6466 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6467 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6468 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6469 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6470 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6471 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6472 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6473 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6474 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6475 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6476 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6477 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6478 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6479 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6480 * sysdeps/sparc/elf/configure: Regenerated.
6481
7b1902cb
JM
64822012-03-01 Joseph Myers <joseph@codesourcery.com>
6483
bec039bc
JM
6484 * configure.in (AS, LD): Require binutils 2.20 or later.
6485 * configure: Regenerated.
6486 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6487 as required minimum version.
6488 * INSTALL: Regenerated.
6489
7b1902cb
JM
6490 [BZ #2541]
6491 [BZ #4108]
6492 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6493 before squaring exponent.
6494 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6495 bottom long double and 27 bits of top long double before squaring
6496 exponent.
6497 * math/libm-test.inc (erfc_test): Add more tests.
6498 * sysdeps/i386/fpu/libm-test-ulps: Update.
6499 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6501
f775c276
KT
65022012-03-01 Kai Tietz <ktietz@redhat.com>
6503
6504 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6505 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6506 containing bit-fields.
6507 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6508 * soft-fp/single.h (_FP_UNION_S): Likewise.
6509 * soft-fp/double.h (_FP_UNION_D): Likewise.
6510
5b8a4d4a
JM
65112012-02-29 Joseph Myers <joseph@codesourcery.com>
6512
0bab47b6
JM
6513 [BZ #13786]
6514 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6515 not include ../strcmp.S.
6516 [USE_AS_STRNCASECMP_L]: Likewise.
6517 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6518 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6519 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6520 (__strncasecmp_l_ia32): Define as alias to
6521 __strncasecmp_l_nonascii.
6522
0fcad3e2
JM
6523 [BZ #5794]
6524 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6525 * sysdeps/i386/fpu/libm-test-ulps: Update.
6526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6527
5b8a4d4a
JM
6528 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6530
8fdceb2e
JL
65312012-02-29 Jeff Law <law@redhat.com>
6532
6533 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6534 out of bounds read.
6535
1f393a11
MP
65362012-02-29 Marek Polacek <polacek@redhat.com>
6537
6538 [BZ #13706]
6539 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6540 * elf/Makefile: Add rules to run tst-unused-dep.out.
6541
8847f037
DM
65422012-02-28 David S. Miller <davem@davemloft.net>
6543
6544 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6545 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6546 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6547 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6548 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6549 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6550
169d7f11
JM
65512012-02-29 Joseph Myers <joseph@codesourcery.com>
6552
6553 * math/libm-test.inc (llround_test): Move one test from
6554 lround_test. Use TEST_f_L in moved test.
6555 (lround_test): Move misplaced test to llround_test. Add testcase
6556 from bug 2561.
6557
39adf059
UD
65582012-02-28 Ulrich Drepper <drepper@gmail.com>
6559
6560 * sysdeps/x86_64/fpu/e_expf.S: New file.
6561 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6562
71b5d1c5
SB
65632012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6564
6565 [BZ #13637]
6566 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6567 of remain_len that may cause incomplete multi-byte character and
6568 false match.
6569 * posix/bug-regex33.c: New file.
6570 * posix/Makefile (tests): Add bug-regex33.
6571
1f77f049
JM
65722012-02-28 Joseph Myers <joseph@codesourcery.com>
6573
6574 * manual/macros.texi: New file.
6575 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6576 * manual/libc.texinfo: Include macros.texi.
6577 * manual/creatute.texi: Likewise.
6578 * manual/install.texi: Likewise.
6579 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6580 @glibcadj{} in references to the GNU C Library.
6581 * manual/charset.texi: Likewise.
6582 * manual/conf.texi: Likewise.
6583 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6584 when not using those macros.
6585 * manual/creature.texi: Likewise.
6586 * manual/crypt.texi: Likewise.
6587 * manual/errno.texi: Likewise.
6588 * manual/filesys.texi: Likewise.
6589 * manual/header.texi: Likewise.
6590 * manual/install.texi: Likewise.
6591 * manual/intro.texi: Likewise.
6592 * manual/io.texi: Likewise.
6593 * manual/job.texi: Likewise.
6594 * manual/lang.texi: Likewise.
6595 * manual/libc.texiinfo: Likewise.
6596 * manual/llio.texi: Likewise.
6597 * manual/locale.texi: Likewise.
6598 * manual/maint.texi: Likewise.
6599 * manual/math.texi: Likewise.
6600 * manual/memory.texi: Likewise.
6601 * manual/message.texi: Likewise.
6602 * manual/nss.texi: Likewise.
6603 * manual/pattern.texi: Likewise.
6604 * manual/process.texi: Likewise.
6605 * manual/resource.texi: Likewise.
6606 * manual/search.texi: Likewise.
6607 * manual/setjmp.texi: Likewise.
6608 * manual/signal.texi: Likewise.
6609 * manual/socket.texi: Likewise.
6610 * manual/startup.texi: Likewise.
6611 * manual/stdio.texi: Likewise.
6612 * manual/string.texi: Likewise.
6613 * manual/sysinfo.texi: Likewise.
6614 * manual/syslog.texi: Likewise.
6615 * manual/terminal.texi: Likewise.
6616 * manual/time.texi: Likewise.
6617 * manual/users.texi: Likewise.
6618 * INSTALL: Regenerated.
6619 * NOTES: Regenerated.
d40c5d54 6620 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6621
450bf206
AS
66222012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6623
6624 * include/dirent.h: Include <dirstream.h> before
6625 <dirent/dirent.h>.
6626
741a235b
DM
66272012-02-28 David S. Miller <davem@davemloft.net>
6628
6629 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6630 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6631 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6632 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6633
d6b5aa58
DM
66342012-02-27 David S. Miller <davem@davemloft.net>
6635
1aff59a3
DM
6636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6638 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6639 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6640
d6b5aa58
DM
6641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6642 frame pointer instead of stack pointer relative arg slot.
6643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6644 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6645 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6646
433f48bf
CD
66472012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6648
6649 [BZ #3992]
6650 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6651
d674b76d
DM
66522012-02-27 David S. Miller <davem@davemloft.net>
6653
6654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6658 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6659 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6660 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6661 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6662
0e7727f7
JM
66632012-02-27 Joseph Myers <joseph@codesourcery.com>
6664
6665 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6666 later. Allow versions 5-9.
43be4ca2 6667 * configure: Regenerated.
0e7727f7
JM
6668 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6669 required minimum version and 4.6 as recommended version. Do not
6670 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6671 * INSTALL: Regenerated.
0e7727f7 6672
a78bc654
DM
66732012-02-27 David S. Miller <davem@davemloft.net>
6674
428d5830
DM
6675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6679 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6680 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6681 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6682 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6683
a78bc654
DM
6684 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6685 manipulate bits before adding and subtracting TWO112[sx].
6686 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6687
4579f81c
RM
66882012-02-27 Roland McGrath <roland@hack.frob.com>
6689
36c8acb4
RM
6690 [BZ #13775]
6691 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6692 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6693 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6694 being in POSIX, because they are in 1003.1-2008.
6695
84ad622b
RM
6696 * rt/tst-aio.c: Include <fcntl.h>.
6697 * rt/tst-aio7.c: Likewise.
6698 * rt/tst-aio64.c: Likewise.
6699
4579f81c
RM
6700 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6701
abd923db
JM
67022012-02-27 Joseph Myers <joseph@codesourcery.com>
6703
6704 * manual/install.texi (--with-headers): Describe headers as
6705 interface headers, not private headers.
6706 (Specific advice for GNU/Linux systems): Describe use of headers
6707 from "make headers_install", not private headers from older
6708 kernels.
43be4ca2 6709 * INSTALL: Regenerated.
abd923db
JM
6710 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6711 Change to 2.6.19.
6712 * sysdeps/unix/sysv/linux/configure: Regenerated.
6713
6664049b
JM
6714 * manual/llio.texi (fclean): Remove documentation.
6715
bb8b6697
JM
6716 * manual/Makefile (libc-texi-generated): New variable. Include
6717 version.texi.
6718 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6719 $(libc-texi-generated), not duplicated list of files.
6720 (version.texi, stamp-version): New rules.
6721 (realclean): Remove $(libc-texi-generated), not individual files
6722 from that list. Do not remove dir-add.texinfo.
6723 * manual/libc.texinfo: Comment out uses of edition numbers and
6724 references to printed manual. Remove last-updated dates.
6725 (EDITION): Comment out.
6726 (ISBN): Likewise.
6727 (VERSION, UPDATED): Remove.
6728 (version.texi): Include.
6729
12e5c3b9
AS
67302012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6731
6732 * sysdeps/posix/spawni.c: Include <signal.h>.
6733 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6734 * sysdeps/pthread/aio_fsync.c: Likewise.
6735
4efeffc1 67362012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6737
ba63ba08
UD
6738 * conform/Makefile (tests): Run only when not cross-compiling and
6739 when fast-check is not defined.
6740
d94a4670
UD
6741 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6742 * conform/data/limits.h-data: Fixes for POSIX2008.
6743 * conform/run-conformtest.sh: Run all tests.
6744 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6745 headers.
6746 * include/bits/dlfcn.h: Likewise.
6747 * include/langinfo.h: Likewise.
6748 * include/monetary.h: Likewise.
6749 * include/sys/poll.h: Likewise.
6750
6751 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6752 for __USE_GNU.
6753 * posix/spawn.h: Define __need_sigset_t.
6754 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6755 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6756 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6757 to get sigevent_t only.
6758 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6759 only for __USE_GNU.
6760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6761 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6762 process_vm_writev only for __USE_GNU.
6763 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6764
6765 * conform/Makefile: For now ignore errors from run-conformtest.
6766 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6767 POSIX to avoid namespace pollution. Don't prepend headers.
6768 * conform/data/aio.h-data: Fixes for POSIX testing.
6769 * conform/data/fcntl.h-data: Likewise.
6770 * conform/data/glob.h-data: Likewise.
6771 * conform/data/grp.h-data: Likewise.
6772 * conform/data/pthread.h-data: Likewise.
6773 * conform/data/pwd.h-data: Likewise.
6774 * conform/data/signal.h-data: Likewise.
6775 * conform/data/spawn.h-data: Likewise.
6776 * conform/data/stdio.h-data: Likewise.
6777 * conform/data/stdlib.h-data: Likewise.
6778 * conform/data/stropts.h-data: Likewise.
6779 * conform/data/sys/mman.h-data: Likewise.
6780 * conform/data/sys/stat.h-data: Likewise.
6781 * conform/data/sys/types.h-data: Likewise.
6782 * conform/data/sys/wait.h-data: Likewise.
6783 * conform/data/time.h-data: Likewise.
6784 * conform/data/unistd.h-data: Likewise.
6785 * conform/data/utime.h-data: Likewise.
6786
6787 * io/sys/stat.h: fchmod was always in POSIX.
6788 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6789 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6790 * rt/aio.h: Define __need_timespec before including <time.h>.
6791 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6792 struct. Add forward declaration of pthread_attr_t and use it in
6793 sigevent.
6794 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6795 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6796 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6797 always remove CLK_TCK definition.
6798
c20105c3
AS
67992012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6800
6801 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6802
7a270350
UD
68032012-02-25 Ulrich Drepper <drepper@gmail.com>
6804
31341567
UD
6805 * conform/run-conformtest.sh: New file.
6806 * conform/Makefile: Run run-conformtest for tests.
6807 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6808 support.
6809
6810 * conform/data/uchar.h-data: New file.
6811 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6812 * conform/data/arpa/inet.h-data: Likewise.
6813 * conform/data/assert.h-data: Likewise.
6814 * conform/data/complex.h-data: Likewise.
6815 * conform/data/cpio.h-data: Likewise.
6816 * conform/data/ctype.h-data: Likewise.
6817 * conform/data/dirent.h-data: Likewise.
6818 * conform/data/dlfcn.h-data: Likewise.
6819 * conform/data/errno.h-data: Likewise.
6820 * conform/data/fcntl.h-data: Likewise.
6821 * conform/data/float.h-data: Likewise.
6822 * conform/data/fmtmsg.h-data: Likewise.
6823 * conform/data/fnmatch.h-data: Likewise.
6824 * conform/data/ftw.h-data: Likewise.
6825 * conform/data/glob.h-data: Likewise.
6826 * conform/data/grp.h-data: Likewise.
6827 * conform/data/iconv.h-data: Likewise.
6828 * conform/data/inttypes.h-data: Likewise.
6829 * conform/data/langinfo.h-data: Likewise.
6830 * conform/data/libgen.h-data: Likewise.
6831 * conform/data/limits.h-data: Likewise.
6832 * conform/data/locale.h-data: Likewise.
6833 * conform/data/math.h-data: Likewise.
6834 * conform/data/monetary.h-data: Likewise.
6835 * conform/data/mqueue.h-data: Likewise.
6836 * conform/data/ndbm.h-data: Likewise.
6837 * conform/data/net/if.h-data: Likewise.
6838 * conform/data/netdb.h-data: Likewise.
6839 * conform/data/netinet/in.h-data: Likewise.
6840 * conform/data/nl_types.h-data: Likewise.
6841 * conform/data/poll.h-data: Likewise.
6842 * conform/data/pthread.h-data: Likewise.
6843 * conform/data/pwd.h-data: Likewise.
6844 * conform/data/regex.h-data: Likewise.
6845 * conform/data/sched.h-data: Likewise.
6846 * conform/data/search.h-data: Likewise.
6847 * conform/data/semaphore.h-data: Likewise.
6848 * conform/data/setjmp.h-data: Likewise.
6849 * conform/data/signal.h-data: Likewise.
6850 * conform/data/spawn.h-data: Likewise.
6851 * conform/data/stdarg.h-data: Likewise.
6852 * conform/data/stdio.h-data: Likewise.
6853 * conform/data/stdlib.h-data: Likewise.
6854 * conform/data/string.h-data: Likewise.
6855 * conform/data/strings.h-data: Likewise.
6856 * conform/data/stropts.h-data: Likewise.
6857 * conform/data/sys/ipc.h-data: Likewise.
6858 * conform/data/sys/mman.h-data: Likewise.
6859 * conform/data/sys/msg.h-data: Likewise.
6860 * conform/data/sys/resource.h-data: Likewise.
6861 * conform/data/sys/select.h-data: Likewise.
6862 * conform/data/sys/sem.h-data: Likewise.
6863 * conform/data/sys/shm.h-data: Likewise.
6864 * conform/data/sys/socket.h-data: Likewise.
6865 * conform/data/sys/stat.h-data: Likewise.
6866 * conform/data/sys/statvfs.h-data: Likewise.
6867 * conform/data/sys/time.h-data: Likewise.
6868 * conform/data/sys/timeb.h-data: Likewise.
6869 * conform/data/sys/times.h-data: Likewise.
6870 * conform/data/sys/types.h-data: Likewise.
6871 * conform/data/sys/uio.h-data: Likewise.
6872 * conform/data/sys/un.h-data: Likewise.
6873 * conform/data/sys/utsname.h-data: Likewise.
6874 * conform/data/sys/wait.h-data: Likewise.
6875 * conform/data/syslog.h-data: Likewise.
6876 * conform/data/tar.h-data: Likewise.
6877 * conform/data/termios.h-data: Likewise.
6878 * conform/data/utime.h-data: Likewise.
6879 * conform/data/utmpx.h-data: Likewise.
6880 * conform/data/varargs.h-data: Likewise.
6881 * conform/data/wchar.h-data: Likewise.
6882 * conform/data/wctype.h-data: Likewise.
6883 * conform/data/wordexp.h-data: Likewise.
6884
6885 * include/stropts.h: New file.
6886 * include/uchar.h: New file.
6887 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6888 * include/assert.h: Likewise.
6889 * include/ctype.h: Likewise.
6890 * include/dirent.h: Likewise.
6891 * include/dlfcn.h: Likewise.
6892 * include/fcntl.h: Likewise.
6893 * include/fnmatch.h: Likewise.
6894 * include/glob.h: Likewise.
6895 * include/grp.h: Likewise.
6896 * include/libio.h: Likewise.
6897 * include/locale.h: Likewise.
6898 * include/math.h: Likewise.
6899 * include/net/if.h: Likewise.
6900 * include/netdb.h: Likewise.
6901 * include/netinet/in.h: Likewise.
6902 * include/pthread.h: Likewise.
6903 * include/pwd.h: Likewise.
6904 * include/regex.h: Likewise.
6905 * include/sched.h: Likewise.
6906 * include/search.h: Likewise.
6907 * include/setjmp.h: Likewise.
6908 * include/signal.h: Likewise.
6909 * include/stdio.h: Likewise.
6910 * include/stdlib.h: Likewise.
6911 * include/string.h: Likewise.
6912 * include/sys/cdefs.h: Likewise.
6913 * include/sys/mman.h: Likewise.
6914 * include/sys/msg.h: Likewise.
6915 * include/sys/resource.h: Likewise.
6916 * include/sys/select.h: Likewise.
6917 * include/sys/socket.h: Likewise.
6918 * include/sys/stat.h: Likewise.
6919 * include/sys/statvfs.h: Likewise.
6920 * include/sys/time.h: Likewise.
6921 * include/sys/times.h: Likewise.
6922 * include/sys/uio.h: Likewise.
6923 * include/sys/utsname.h: Likewise.
6924 * include/sys/wait.h: Likewise.
6925 * include/termios.h: Likewise.
6926 * include/time.h: Likewise.
6927 * include/ulimit.h: Likewise.
6928 * include/unistd.h: Likewise.
6929 * include/utime.h: Likewise.
6930 * include/wchar.h: Likewise.
6931 * include/wctype.h: Likewise.
6932 * include/wordexp.h: Likewise.
6933
6934 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6935
7a270350
UD
6936 * time/time.h: TIME_UTC must be a macro.
6937 Make timespec_get available for ISO C11 only as well.
6938
7724defc
UD
69392012-02-24 Ulrich Drepper <drepper@gmail.com>
6940
6941 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6942 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6943
6b1d1d46
JM
69442012-02-24 Joseph Myers <joseph@codesourcery.com>
6945
6946 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6947
0f8bbd69
JM
69482012-02-24 Joseph Myers <joseph@codesourcery.com>
6949
6950 * manual/texinfo.tex: Update to version 2012-01-19.16.
6951
66ab80bc
JM
69522012-02-24 Joseph Myers <joseph@codesourcery.com>
6953
6954 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6955
74981cc5
RM
69562012-02-24 Roland McGrath <roland@hack.frob.com>
6957
ee968201
RM
6958 [BZ #13738]
6959 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6960 * manual/fdl-1.3.texi: New file.
6961 * manual/fdl-1.1.texi: File removed.
6962
74981cc5
RM
6963 [BZ #13738]
6964 * manual/libc.texinfo (FDL_VERSION): New @set.
6965 Use it for mention of FDL in cover text.
6966 (Documentation License): Use it in @include file name.
6967
7bb764bc
JM
69682012-02-22 Joseph Myers <joseph@codesourcery.com>
6969 Roland McGrath <roland@hack.frob.com>
6970
6971 [BZ #5461]
6972 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6973 not LONG_LONG_MAX and LONG_LONG_MIN.
6974 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6975 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6976 name.
6977 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6978
6cbeae47
JM
69792012-02-22 Joseph Myers <joseph@codesourcery.com>
6980
6981 [BZ #2547]
6982 [BZ #11365]
6983 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6984 manipulate bits before adding and subtracting TWO23[sx].
6985 * math/libm-test.inc (nearbyint_test): Add more tests.
6986
fe45ce09
JM
69872012-02-22 Joseph Myers <joseph@codesourcery.com>
6988
6989 [BZ #2548]
6990 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6991 bits before adding and subtracting TWO23[sx].
6992 * math/libm-test.inc (rint_test): Add more tests.
6993 (rint_test_tonearest): Likewise.
6994 (rint_test_towardzero): Likewise.
6995 (rint_test_downward): Likewise.
6996 (rint_test_upward: Likewise.
6997
ff3b3d82
JM
69982012-02-22 Joseph Myers <joseph@codesourcery.com>
6999
7000 [BZ #10110]
7001 * include/stdc-predef.h: New file. Extracted from features.h.
7002 * include/features.h: Include stdc-predef.h.
7003 * Makefile (headers): Add stdc-predef.h.
7004 * CONFORMANCE (Compiler limitations): Update.
7005
ef0aab35
JM
70062012-02-22 Joseph Myers <joseph@codesourcery.com>
7007
7008 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7009
58639409
DM
70102012-02-21 David S. Miller <davem@davemloft.net>
7011
7012 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7013 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7014
c0e70b25
DM
70152012-02-20 David S. Miller <davem@davemloft.net>
7016
7017 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7018 using a normal save/restore sequence, rather than allocating a
7019 dummy stack frame just to store a frame pointer and restore.
7020 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7021
fb06851d
JM
70222012-02-21 Joseph Myers <joseph@codesourcery.com>
7023
7024 * manual/install.texi: Fix stray word in line-wrapped comment.
7025
7a8b71c3
DM
70262012-02-20 David S. Miller <davem@davemloft.net>
7027
d510c123
DM
7028 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7029 both binutils and gcc support GOTDATA.
7030
0722d7c2
DM
7031 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7032 "rd %pc" in the PIC register setup sequences.
7033
3d2b3019
DM
7034 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7035 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7036 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7037 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7038 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7039 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7040 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7041 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7042 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7043 (SYSCALL_ERROR_HANDLER): Likewise.
7044 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7045 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7046 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7047 (SYSCALL_ERROR_HANDLER): Likewise.
7048
c80098a9
DM
7049 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7050 (HAVE_GCC_GOTDATA): New.
7051 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7052 relocation support in both binutils and gcc.
7053 * sysdeps/sparc/elf/configure: Regenerate.
7054
3a2545a0
DM
7055 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7056 * sysdeps/sparc/sparc32/elf/configure: Delete.
7057 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7058 * sysdeps/sparc/sparc64/elf/configure: Delete.
7059 * sysdeps/sparc/elf/configure.in: New file.
7060 * sysdeps/sparc/elf/configure: Generate.
7061
7a8b71c3
DM
7062 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7063 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7064 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7065 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7066 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7067
f1e86fca
JM
70682012-02-21 Joseph Myers <joseph@codesourcery.com>
7069
7070 * manual/install.texi: Do not mention specific glibc version
7071 numbers.
7072 * manual/libc.texinfo (VERSION, UPDATED): Update.
7073 (@copying): Use @copyright{} and range of years.
7074
0e7dfaef
JM
70752012-02-21 Joseph Myers <joseph@codesourcery.com>
7076
7077 [BZ #13695]
7078 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7079 [crti.S not in sysdirs] (generated): Do not append.
7080 [crti.S not in sysdirs] (omit-deps): Likewise.
7081 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7082 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7083 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7084 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7085 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7086 Likewise.
7087 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7088 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7089 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7090 * csu/defs.awk: Remove file.
7091 * sysdeps/generic/initfini.c: Likewise.
7092 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7093 variable.
7094 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7095 Likewise.
7096
599af3ca
JM
70972012-02-20 Joseph Myers <joseph@codesourcery.com>
7098
7099 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7100 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7101 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7102 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7103 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7104 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7105 <bits/epoll.h>.
7106 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7107 (__EPOLL_PACKED): Define to empty if not defined by
7108 <bits/epoll.h>.
7109 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7111 bits/epoll.h.
7112
0e499750
JM
71132012-02-20 Joseph Myers <joseph@codesourcery.com>
7114
7115 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7116 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7117 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7118 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7119 <bits/timerfd.h>.
7120 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7122 bits/timerfd.h.
7123
5ad91f6e
JM
71242012-02-20 Joseph Myers <joseph@codesourcery.com>
7125
7126 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7127 in C locale.
7128 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7129 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7130 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7132
06b99b02
AJ
71332012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7134
7135 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7136 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7137
7638c0fd
AS
71382012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7139
7140 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7141 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7142 defined.
7143 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7144 Likewise.
7145 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7146 entry for 2.16.
7147
92221550
AJ
71482012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7149
7150 * math/w_acos.c: Use non-signaling floating-point comparisons.
7151 * math/w_acosf.c: Likewise.
7152 * math/w_acosh.c: Likewise.
7153 * math/w_acoshf.c: Likewise.
7154 * math/w_acoshl.c: Likewise.
7155 * math/w_acosl.c: Likewise.
7156 * math/w_asin.c: Likewise.
7157 * math/w_asinf.c: Likewise.
7158 * math/w_asinl.c: Likewise.
7159 * math/w_atanh.c: Likewise.
7160 * math/w_atanhf.c: Likewise.
7161 * math/w_atanhl.c: Likewise.
7162 * math/w_exp2.c: Likewise.
7163 * math/w_exp2f.c: Likewise.
7164 * math/w_exp2l.c: Likewise.
7165 * math/w_j0.c: Likewise.
7166 * math/w_j0f.c: Likewise.
7167 * math/w_j0l.c: Likewise.
7168 * math/w_j1.c: Likewise.
7169 * math/w_j1f.c: Likewise.
7170 * math/w_j1l.c: Likewise.
7171 * math/w_jn.c: Likewise.
7172 * math/w_jnf.c: Likewise.
7173 * math/w_log.c: Likewise.
7174 * math/w_log10.c: Likewise.
7175 * math/w_log10f.c: Likewise.
7176 * math/w_log10l.c: Likewise.
7177 * math/w_log2.c: Likewise.
7178 * math/w_log2f.c: Likewise.
7179 * math/w_log2l.c: Likewise.
7180 * math/w_logf.c: Likewise.
7181 * math/w_logl.c: Likewise.
7182 * math/w_sqrt.c: Likewise.
7183 * math/w_sqrtf.c: Likewise.
7184 * math/w_sqrtl.c: Likewise.
7185 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7186 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7187 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7188 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7189 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7190
ebaf36eb
JM
71912012-02-19 Joseph Myers <joseph@codesourcery.com>
7192
7193 [BZ #9739]
7194 * manual/string.texi (strnlen): Use correct parameter name in
7195 equivalent expression.
7196
71c254a6
JM
71972012-02-19 Joseph Myers <joseph@codesourcery.com>
7198
7199 [BZ #11174]
7200 * manual/users.texi (seteuid): Consistently use neweuid for
7201 argument name.
7202
16d2c631
JM
72032012-02-19 Joseph Myers <joseph@codesourcery.com>
7204
7205 [BZ #13704]
7206 * manual/nss.texi (Services in the NSS configuration): Correct
7207 list of services in example configuration file.
7208
cd837b09
NB
72092012-02-19 Nick Bowler <nbowler@draconx.ca>
7210
7211 [BZ #11322]
7212 * manual/arith.texi: Remove statements about negative zero
7213 behaving identically to zero.
7214
02c4bbad
JM
72152012-02-18 Joseph Myers <joseph@codesourcery.com>
7216
7217 [BZ #5993]
7218 * manual/install.texi: Do not document upgrading from libc5.
7219
366842e7
JM
72202012-02-18 Joseph Myers <joseph@codesourcery.com>
7221
7222 [BZ #4596]
7223 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7224
dd54084d
DM
72252012-02-18 David S. Miller <davem@davemloft.net>
7226
7227 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7228 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7229 %o7 across the call.
7230 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7231 instead.
7232 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7233 SETUP_PIC_REG_LEAF.
7234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7235 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7236 * sysdeps/sparc/crtn.S: Likewise.
7237
2bcc53a3
UD
72382012-02-17 Ulrich Drepper <drepper@gmail.com>
7239
7240 * aout/Makefile: Remove.
7241
09c093b5
RK
72422012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7243
7244 [BZ #13058]
7245 * manual/examples/argp-ex1.c (main): Format definition in GNU
7246 style.
7247 * manual/examples/argp-ex2.c (main): Likewise.
7248 * manual/examples/argp-ex3.c (main): Likewise.
7249 * manual/examples/argp-ex4.c (main): Likewise.
7250 * manual/examples/longopt.c (main): Use new-style prototype
7251 definition.
7252 * manual/examples/strncat.c (main): Specify return type and use
7253 (void) for arguments.
7254 * manual/examples/subopt.c (main): Use char **argv argument.
7255
2ee633a2
JM
72562012-02-17 Joseph Myers <joseph@codesourcery.com>
7257
7258 [BZ #5077]
7259 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7260 rounding modes.
7261
0520adde
FB
72622012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7263
7264 [BZ #6907]
7265 * manual/string.texi (strchr): Change when strchrnul is
7266 recommended.
7267
3f4081cd
DGM
72682012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7269
7270 [BZ #174]
7271 * manual/locale.texi (setlocale): Document LOCPATH.
7272
d1b10e78
JM
72732012-02-17 Joseph Myers <joseph@codesourcery.com>
7274
7275 [BZ #10210]
7276 * manual/process.texi (execle): Move @dots{} before last argument.
7277
79c6869c
PB
72782012-02-17 Paul Bolle <pebolle@tiscali.nl>
7279
7280 [BZ #12047]
7281 * manual/charset.texi (Generic Charset Conversion): Fix typo
7282 (LC_TYPE -> LC_CTYPE).
7283
cc6e48bc
NB
72842012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7285
7286 [BZ #5805]
7287 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7288 (scalbnf): Likewise.
7289 (scalbnl): Likewise.
7290 (scalbln): Likewise.
7291 (scalblnf): Likewise.
7292 (scalblnl): Likewise.
7293 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7294 (vwarnx): Likewise.
7295 (verr): Likewise.
7296 (verrx): Likewise.
7297 * manual/filesys.texi (telldir): Use braces around return type.
7298 * manual/llio.texi (mmap): Add space after comma.
7299 (mmap64): Likewise.
7300 * manual/math.texi (jn): Use @var{} on parameter names.
7301 (jnf): Likewise.
7302 (jnl): Likewise.
7303 (yn): Likewise.
7304 (ynf): Likewise.
7305 (ynl): Likewise.
7306 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7307 line.
7308 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7309 "...".
7310 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7311 (sched_get_priority_max): Likewise.
7312 * manual/signal.texi (sigvec): Add space after comma.
7313 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7314 names.
7315 (if_indextoname): Likewise.
7316 (if_freenameindex): Likewise.
7317 (sendto): Use ',' instead of '.' in prototype.
7318 * manual/startup.texi (syscall): Use @dots{} instead of literal
7319 "...".
7320 * manual/stdio.texi (__fpending): Separate initial words of
7321 paragraph from @deftypefun line.
7322 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7323 "...".
7324 (vsyslog): Use @var{} on parameter names.
7325 * manual/terminal.texi (stty): Use @var{} on parameter names.
7326 * manual/users.texi (getutmp): Use @var{} on parameter names.
7327 (getutmpx): Likewise.
7328
5b23062f
JM
73292012-02-17 Joseph Myers <joseph@codesourcery.com>
7330
7331 [BZ #6884]
7332 * manual/stdio.texi (fopen): Fix typos in description of
7333 ",ccs=STRING".
7334
8dee4833
AJ
73352012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7336
7337 [BZ #4026]
7338 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7339 get clock_id definition.
7340
9078ce93
TS
73412012-02-17 Thomas Schwinge <thomas@schwinge.name>
7342
7343 [BZ #4822]
7344 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7345 (madvise): Cast every argument to void on its own.
7346
3835c55f
JM
73472012-02-17 Joseph Myers <joseph@codesourcery.com>
7348
7349 [BZ #9902]
7350 * manual/startup.texi (Exit Status): Fix typo.
7351
35c47e37
JM
73522012-02-17 Joseph Myers <joseph@codesourcery.com>
7353
7354 [BZ #10140]
7355 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7356 * manual/examples/argp-ex2.c: Likewise.
7357 * manual/examples/argp-ex3.c: Likewise.
7358
e3b69ca7
RH
73592012-02-16 Richard Henderson <rth@redhat.com>
7360
7361 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7362 * sysdeps/s390/s390-32/initfini.c: Remove.
7363 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7364 * sysdeps/s390/s390-64/initfini.c: Remove.
7365
df83af67
KK
73662012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7367
7368 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7369 compiler output for sysdeps/generic/initfini.c.
7370 * sysdeps/sh/elf/initfini.c: Remove file.
7371
f63f3380
DM
73722012-02-16 David S. Miller <davem@davemloft.net>
7373
fb59b3a4
DM
7374 [BZ #11494]
7375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7376
f63f3380
DM
7377 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7378 * sysdeps/sparc/crti.S: New file.
7379 * sysdeps/sparc/crtn.S: New file.
7380 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7381 * sysdeps/sparc/sparc64/Makefile: Likewise.
7382
df6a4a4a
MF
73832012-02-15 Mike Frysinger <vapier@gentoo.org>
7384
6dd8f3dc 7385 [BZ #3335]
df6a4a4a
MF
7386 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7387
1cac7236
RM
73882012-02-15 Roland McGrath <roland@hack.frob.com>
7389
d2c736f8
RM
7390 [BZ #4822]
7391 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7392
1cac7236
RM
7393 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7394 (write, read, close): Likewise.
7395 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7396
8e475601
JM
73972012-02-15 Joseph Myers <joseph@codesourcery.com>
7398
7399 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7400 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7401 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7402 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7403 <bits/signalfd.h>.
7404 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7406 bits/signalfd.h.
7407
ed656b40
MP
74082012-02-14 Marek Polacek <polacek@redhat.com>
7409
7410 * sysdeps/x86_64/crti.S: New file.
7411 * sysdeps/x86_64/crtn.S: New file.
7412 * sysdeps/x86_64/elf/initfini.c: Remove file.
7413
2a979d3a
JM
74142012-02-13 Joseph Myers <joseph@codesourcery.com>
7415
7416 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7417 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7418 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7419 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7420 <bits/inotify.h>.
7421 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7423 bits/inotify.h.
7424
2a418ac3
JM
74252012-02-13 Joseph Myers <joseph@codesourcery.com>
7426
7427 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7428 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7429 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7430 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7431 <bits/eventfd.h>.
7432 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7434 bits/eventfd.h.
7435
fb779be7
TS
74362012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7437
e19e83c5
RM
7438 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7439 __feraiseexcept instead of feraiseexcept.
7c35ffed 7440
fb779be7
TS
7441 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7442 nanosleep invocations.
7443 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7444 strings, and add error checking for a nanosleep invocations.
7445
59ba27a6
PE
74462012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7447
7448 Replace FSF snail mail address with URLs, as per GNU coding standards.
7449 Most of the snail mail addresses were wrong anyway, and omitting
7450 them makes the source code easier to maintain. Almost all of the
7451 changes are to license notices and to locale LC_IDENTIFICATION
7452 addresses, except for this one:
7453 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7454 not its snail mail address.
7455
57b957eb
RH
74562012-02-09 Richard Henderson <rth@twiddle.net>
7457
af850b1c
RH
7458 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7459 of kernel-features.h.
7460
57b957eb
RH
7461 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7462
6b73181a
MP
74632012-02-08 Marek Polacek <polacek@redhat.com>
7464
7465 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7466 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7467 * sysdeps/gnu/_G_config.h: Likewise.
7468 * sysdeps/generic/_G_config.h: Likewise.
7469
26ecc33a
AS
74702012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7471
6c6dbc63
AS
7472 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7473 tests.
7474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7475
e216c012
AS
7476 * sysdeps/powerpc/powerpc32/crti.S: New file.
7477 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7478 * sysdeps/powerpc/powerpc64/crti.S: New file.
7479 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7480
26ecc33a
AS
7481 * Makeconfig (have-initfini): Don't set.
7482 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7483 * configure.in (nopic_initfini): Don't substitute.
7484 * config.h.in (HAVE_INITFINI): Don't #undef.
7485 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7486 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7487
3add8e13
JM
74882012-02-08 Joseph Myers <joseph@codesourcery.com>
7489
7490 Support crti.S and crtn.S provided directly by architectures.
7491 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7492 [crti.S in sysdirs] (omit-deps): Likewise.
7493 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7494 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7495 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7496 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7497 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7498 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7499 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7500 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7501 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7502 compiler output for sysdeps/generic/initfini.c.
7503 * sysdeps/i386/elf/Makefile: Remove file.
7504 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7505
a22f12b4
MP
75062012-02-07 Marek Polacek <polacek@redhat.com>
7507
7508 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7509 * sysdeps/gnu/_G_config.h: Likewise.
7510 * sysdeps/mach/hurd/_G_config.h: Likewise.
7511
148cf100
MP
75122012-02-07 Marek Polacek <polacek@redhat.com>
7513
7514 * math/Makefile (tests): Add tst-CMPLX2.
7515 * math/tst-CMPLX2.c: New file.
7516
cfdc0dd7
AS
75172012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7518
84ba42c4
AS
7519 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7520
cfdc0dd7
AS
7521 * math/libm-test.inc (jn_test): Add missing L suffix.
7522
622c86f4
MP
75232012-02-06 Marek Polacek <polacek@redhat.com>
7524
7525 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7526 * sysdeps/i386/fpu/e_powf.S: Likewise.
7527 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7528 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7529 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7530 * sysdeps/i386/fpu/e_pow.S: Likewise.
7531 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7532 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7533 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7534 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7535 * sysdeps/i386/fpu/e_log2.S: Likewise.
7536 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7537 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7538 * sysdeps/i386/fpu/e_powl.S: Likewise.
7539 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7540 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7541 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7542 * sysdeps/i386/fpu/e_logl.S: Likewise.
7543 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7544 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7545 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7546 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7547 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7548 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7549 * sysdeps/i386/fpu/e_log.S: Likewise.
7550 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7551 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7552 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7553 * sysdeps/i386/fpu/e_logf.S: Likewise.
7554 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7555 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7556 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7557 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7558 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7559 * sysdeps/i386/fpu/e_log10.S: Likewise.
7560 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7561 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7562 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7563 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7564 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7565 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7566 * sysdeps/i386/asm-syntax.h: Likewise.
7567 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7568 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7569 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7570 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7571 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7572 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7573 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7574 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7575 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7576 * sysdeps/powerpc/sysdep.h: Likewise.
7577 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7578 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7579
d4a54ac6
JM
75802012-02-06 Joseph Myers <joseph@codesourcery.com>
7581
7582 [BZ #411]
7583 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7584
314054ea
JM
75852012-02-06 Joseph Myers <joseph@codesourcery.com>
7586
7587 * sysdeps/i386/sysdep.h: Include <features.h>.
7588 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7589 version.
7590
d8e0ca50
JM
75912012-02-05 Joseph Myers <joseph@codesourcery.com>
7592
7593 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7594 Define.
7595 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7596 LOAD_PIC_REG_STR.
7597
b1da7dd9
JM
75982012-02-03 Joseph Myers <joseph@codesourcery.com>
7599
7600 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7601 (SETUP_PIC_REG): Use GET_PC_THUNK.
7602 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7603 macro.
7604
9a1d9254
JM
76052012-02-03 Joseph Myers <joseph@codesourcery.com>
7606
7607 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7608 for non-PIC compilation.
7609 (SETUP_PIC_REG): Add .p2align directive.
7610 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7611 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7612 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7613 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7614 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7615 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7616 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7618 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7619 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7620 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7621 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7622 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7623 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7624 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7625 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7626 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7627 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7628 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7629 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7630 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7631 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7632 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7633 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7634 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7635 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7636 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7637 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7638 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7639 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7640 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7641 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7642 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7643 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7644 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7645 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7646 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7647 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7648 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7649 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7650 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7651
65dc3b75
JM
76522012-02-03 Joseph Myers <joseph@codesourcery.com>
7653
7654 * math/tst-CMPLX.c: Include <stdio.h>.
7655
d55bf177
JM
76562012-01-31 Joseph Myers <joseph@codesourcery.com>
7657
7658 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7659 float.
7660 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7661 * sysdeps/sparc/bits/mathdef.h: Likewise.
7662
69db4f8f
MP
76632012-01-31 Marek Polacek <polacek@redhat.com>
7664
7665 * libio/libio.h: Don't define _PARAMS.
7666 * locale/programs/config.h: Don't define PARAMS.
7667 * stdlib/strtol_l.c: Likewise.
7668 (__strtol_l): Remove PARAMS from the prototype.
7669
41b81892
UD
76702012-01-31 Ulrich Drepper <drepper@gmail.com>
7671
3b49edc0
UD
7672 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7673 names. Just use the correct names. Remove unnecessary wrapper
7674 functions.
7675 * malloc/arena.c: Likewise.
7676 * malloc/hooks.c: Likewise.
7677
41b81892
UD
7678 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7679 ARENA_TEST says not to. Simplify test for creation of a new arena.
7680 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7681
27a25b6e
UD
76822012-01-30 Ulrich Drepper <drepper@gmail.com>
7683
7684 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7685 into tail calls.
7686 (update_get_addr): New function.
7687 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7688 GET_ADDR_MODULE parameter.
7689
c8a89e7d
JM
76902012-01-30 Joseph Myers <joseph@codesourcery.com>
7691
7692 * crypt/cert.c: Remove __STDC__ conditionals.
7693 * crypt/crypt-entry.c: Likewise.
7694 * crypt/crypt_util.c: Likewise.
7695 * libio/filedoalloc.c: Likewise.
7696 * libio/fileops.c: Likewise.
7697 * libio/genops.c: Likewise.
7698 * libio/iofclose.c: Likewise.
7699 * libio/iofdopen.c: Likewise.
7700 * libio/iofopen.c: Likewise.
7701 * libio/iofopen64.c: Likewise.
7702 * libio/iogetdelim.c: Likewise.
7703 * libio/iopopen.c: Likewise.
7704 * libio/obprintf.c: Likewise.
7705 * libio/oldfileops.c: Likewise.
7706 * libio/oldiofclose.c: Likewise.
7707 * libio/oldiofdopen.c: Likewise.
7708 * libio/oldiofopen.c: Likewise.
7709 * libio/oldiopopen.c: Likewise.
7710 * libio/wfiledoalloc.c: Likewise.
7711 * libio/wgenops.c: Likewise.
7712 * locale/programs/xmalloc.c: Likewise.
7713 * misc/syslog.c: Likewise.
7714 * stdio-common/xbug.c: Likewise.
7715 * string/memchr.c: Likewise.
7716 * string/memcmp.c: Likewise.
7717 * string/memrchr.c: Likewise.
7718 * string/rawmemchr.c: Likewise.
7719 * sysdeps/posix/getcwd.c: Likewise.
7720 * time/strftime_l.c: Likewise.
7721
3b100462
JM
77222012-01-30 Joseph Myers <joseph@codesourcery.com>
7723
7724 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7725 * config.make.in (config-cflags-sse2avx): Define.
7726 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7727 Fix typo.
7728
607998af
CM
77292012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7730
7731 * scripts/config.guess: Update from upstream config git repository.
7732 * scripts/config.sub: Likewise.
7733
3601428f
CM
77342012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7735
3ac8b282
CM
7736 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7737 (EM_NUM): Update.
7738 (R_TILEPRO_*, R_TILEGX_*): New macros.
7739
e034841e
CM
7740 * scripts/firstversions.awk: Fix bug in version range handling.
7741
540d7568
CM
7742 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7743
3601428f
CM
7744 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7745
463de862
CM
7746 * include/sys/epoll.h: New file.
7747 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7748 libc_hidden_def.
7749
73139a76
UD
77502012-01-28 Ulrich Drepper <drepper@gmail.com>
7751
96bc5b45
UD
7752 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7753 Avoid unnecessary __WORDSIZE == 64 test.
7754 (fmaxf): Use VEX format if possible.
7755 (fmax): Likewise.
7756 (fminf): Likewise.
7757 (fmin): Likewise.
7758
56f6f6a2
UD
7759 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7760 * math/math_private.h: Remove libc_fegetround* and
7761 libc_fesetround*.
7762 * sysdeps/i386/configure.in: Check for -msse2avx.
7763 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7764 also if SSE2AVX is defined.
7765 Remove libc_fegetround* and libc_fesetround*.
7766 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7767 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7768 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7769 of HAS_YMM_USABLE.
7770 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7771 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7772 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7773 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7774 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7775
73139a76
UD
7776 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7777
d73f93a4
AZ
77782012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7779
7780 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7781 size is not set.
7782 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7783
6ee65ed6
UD
77842012-01-27 Ulrich Drepper <drepper@gmail.com>
7785
7786 [BZ #13618]
7787 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7788 relocation.
7789 * Makeconfig (libm): Define.
7790 * elf/Makefile: Add rules to build and run tst-relsort1.
7791 * elf/tst-relsort1.c: New file.
7792 * elf/tst-relsort1mod1.c: New file.
7793 * elf/tst-relsort1mod2.c: New file.
7794
8db21882
JM
77952012-01-27 Joseph Myers <joseph@codesourcery.com>
7796
7797 * math/s_ldexp.c: Remove __STDC__ conditionals.
7798 * math/s_ldexpf.c: Likewise.
7799 * math/s_ldexpl.c: Likewise.
7800 * math/s_nextafter.c: Likewise.
7801 * math/s_nexttowardf.c: Likewise.
7802 * math/s_significand.c: Likewise.
7803 * math/s_significandf.c: Likewise.
7804 * math/s_significandl.c: Likewise.
7805 * math/w_jnl.c: Likewise.
7806 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7807 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7808 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7809 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7810 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7811 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7812 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7813 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7814 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7815 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7816 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7817 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7818 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7819 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7820 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7821 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7822 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7823 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7824 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7825 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7826 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7827 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7828 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7829 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7830 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7831 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7832 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7833 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7834 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7835 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7836 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7837 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7838 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7839 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7840 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7841 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7842 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7843 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7844 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7845 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7846 * sysdeps/ieee754/k_standard.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7853 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7854 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7859 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7860 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7861 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7863 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7864 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7865 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7866 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7867 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7868 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7869 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7870 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7871 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7872 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7883 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7888 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7890 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7895 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7896 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7897 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7898 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7903 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7913 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7916 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7917 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7919 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7920 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7921 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7922 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7923 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7924 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7925 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7926 * sysdeps/ieee754/s_matherr.c: Likewise.
7927 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7928 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7929 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7930 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7931
965a54a4
JM
79322012-01-26 Joseph Myers <joseph@codesourcery.com>
7933
7934 * crypt/md5.h: Remove __STDC__ conditionals.
7935 * libio/libioP.h: Likewise.
7936 * locale/programs/config.h: Likewise.
7937 * sysdeps/generic/sysdep.h: Likewise.
7938 * sysdeps/i386/asm-syntax.h: Likewise.
7939 * sysdeps/s390/asm-syntax.h: Likewise.
7940 * sysdeps/unix/sysdep.h: Likewise.
7941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7943
7071ad79
JM
79442012-01-26 Joseph Myers <joseph@codesourcery.com>
7945
7946 * libio/libio.h: Remove __STDC__ conditionals.
7947 * malloc/obstack.h: Likewise.
7948 * math/complex.h: Likewise.
7949 * math/math.h: Likewise.
7950 * sysdeps/generic/_G_config.h: Likewise.
7951 * sysdeps/gnu/_G_config.h: Likewise.
7952 * sysdeps/mach/hurd/_G_config.h: Likewise.
7953 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7954 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7955 * sysdeps/sparc/bits/mathdef.h: Likewise.
7956
afc5ed09
UD
79572012-01-26 Ulrich Drepper <drepper@gmail.com>
7958
7959 [BZ #13583]
7960 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7961 Clean up HAS_* macros.
afc5ed09 7962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7963 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7964 possible.
7965 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7966 HAS_AVX.
7967 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7968 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7969 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7970 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7971 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7972
bdb6de1d
JM
79732012-01-25 Joseph Myers <joseph@codesourcery.com>
7974
7975 * elf/tst-unique3.cc (gets): Remove declaration.
7976 * elf/tst-unique3lib.cc (gets): Likewise.
7977 * elf/tst-unique3lib2.cc (gets): Likewise.
7978 * elf/tst-unique4.cc (gets): Likewise.
7979
b15549e6
UD
79802012-01-24 Ulrich Drepper <drepper@gmail.com>
7981
7982 * include/stdio.h: Add C++ protection. Add gets declarations and
7983 definitions.
7984 * debug/tst-chk1.c: Don't declare gets here.
7985 * stdio-common/tst-gets.c: Likewise.
7986
a037381f
JM
79872012-01-24 Joseph Myers <joseph@codesourcery.com>
7988
7989 * posix/glob: Remove directory.
7990
f1d4aa75
JM
79912012-01-24 Joseph Myers <joseph@codesourcery.com>
7992
7993 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7994
81c0c964
PT
79952012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7996
7997 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7998 of the non-standard EPFNOSUPPORT.
7999
0ea698ae
ST
80002011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8001
8002 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8003 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8004 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8005
d220b117
UD
80062012-01-21 Ulrich Drepper <drepper@gmail.com>
8007
8008 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8009
3e1aa84e
UD
80102012-01-20 Ulrich Drepper <drepper@gmail.com>
8011
8012 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8013 transient errors.
8014 * nscd/grpcache.c (cache_addgr): Likewise.
8015 * nscd/hstcache.c (cache_addhst): Likewise.
8016 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8017 * nscd/pwdcache.c (cache_addpw): Likewise.
8018 * nscd/servicescache.c (cache_addserv): Likewise.
8019
400aa020
UD
80202012-01-16 Ulrich Drepper <drepper@gmail.com>
8021
d77e7869
UD
8022 * malloc/malloc.c: Various cleanups.
8023 * malloc/hooks.c: Likewise.
8024
400aa020
UD
8025 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8026 * stdlib/bug-fmtmsg1.c: New file.
8027
8028 * stdlib/fmtmsg.c (init): Add missing unlock.
8029 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8030
e0a309cf
MP
80312012-01-12 Marek Polacek <polacek@redhat.com>
8032
8033 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8034 and _GNU_SOURCE.
8035
929d11c7
WS
80362012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8037
8038 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8039 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8040 macro to ensure uniqueness of label name.
8041 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8042 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8043
41d0e869
UD
80442012-01-11 Ulrich Drepper <drepper@gmail.com>
8045
0cc5ed3b
UD
8046 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8047
41d0e869
UD
8048 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8049 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8050 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8052
a47a831a
UD
80532012-01-10 Ulrich Drepper <drepper@gmail.com>
8054
daa891c0
UD
8055 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8056
8057 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8058 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8059 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8060
e58ef0f2
UD
8061 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8062
a47a831a 8063 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8064 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8065 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8066 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8067
8068 * math/bits/math-finite.h: Add ldexp support.
8069
a0bfc9c7
MP
80702012-01-10 Marek Polacek <polacek@redhat.com>
8071
8072 * locale/programs/localedef.h (show_archive_content): Add noreturn
8073 attribute.
8074
d6e97a1d
UD
80752012-01-09 Ulrich Drepper <drepper@gmail.com>
8076
8077 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8078
d5835c26
UD
80792012-01-08 Ulrich Drepper <drepper@gmail.com>
8080
e5f484c6
UD
8081 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8082
d5835c26
UD
8083 * io/Makefile (headers): Add bits/poll2.h.
8084
d1f741e9
WS
80852011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8086
8087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8088 typo #include statement.
8089
ec09c1c4
UD
80902012-01-08 Ulrich Drepper <drepper@gmail.com>
8091
8092 * include/sys/cdefs.h: Define __attribute_alloc_size.
8093 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8094 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8095 * elf/pldd.c: Likewise.
8096 * iconv/iconv_charmap.c: Likewise.
8097 * iconv/iconvconfig.c: Likewise.
8098 * iconv/strtab.c: Likewise.
8099 * locale/programs/locale.c: Likewise.
8100 * locale/programs/localedef.h: Likewise.
8101 * locale/programs/simple-hash.c: Likewise.
8102 * nscd/nscd.h: Likewise.
8103 * nss/makedb.c: Likewise.
8104 * sysdeps/generic/ldconfig.h: Likewise.
8105 * locale/programs/localedef.c: Remove xmalloc prototype.
8106 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8107
20b38e03
PP
81082012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8109
8110 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8111 appropriate.
8112
a0da5fe1
UD
81132012-01-08 Ulrich Drepper <drepper@gmail.com>
8114
1d5a644a 8115 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8116 * math/tst-CMPLX.c: New file.
1d5a644a 8117
8784a6db
UD
8118 * math/complex.h (CMPLXL): Fix typo.
8119
d9a216c0
UD
8120 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8121 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8122 GLIBC_2.16.
8123 * debug/tst-chk1.c: Add poll and ppoll tests.
8124 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8125 * include/sys/poll.h: Add hidden proto for ppoll.
8126 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8127 * sysdeps/mach/hurd/ppoll.c: Likewise.
8128 * io/ppoll.c: Likewise.
8129 * debug/poll_chk.c: New file.
8130 * debug/ppoll_chk.c: New file.
8131 * include/bits/poll2.h: New file.
8132 * io/bits/poll2.h: New file.
8133
ac097f5c
UD
8134 [BZ #1350]
8135 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8136
2119dcfa
UD
8137 * configure.in: static is always set to yes. Remove.
8138 * config.make.in: Don't set build-static.
8139 * Makeconfig: Remove use of build-static.
8140 * dlfcn/Makefile: Likewise.
8141 * elf/Makefile: Likewise.
8142 * math/Makefile: Likewise.
8143 * misc/Makefile: Likewise.
8144 * nptl/Makefile: Likewise.
8145 * sysdeps/mach/hurd/Makefile: Likewise.
8146
121766a9
UD
8147 * configure.in: PWD_P is not used anymore.
8148 * config.make.in: Remove PWD_P entry.
8149
51a1d39c 8150 * configure.in: Remove last remnants of RANLIB.
8720d066 8151 No need to check for signed size_t anymore.
215f4bdc
UD
8152 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8153 and IA-64.
3857022a 8154 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8155 * aclocal.m4: Likewise.
8156
d3ed7225
UD
8157 * wcsmbs/mbrtoc16.c: Implement using towc function.
8158 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8159 * wcsmbs/wcsmbsload.c: Likewise.
8160 * iconv/gconv_simple.c: Likewise.
8161 * iconv/gconv_int.h: Likewise.
8162 * iconv/gconv_builtin.h: Likewise.
8163 * iconv/iconv_prog.c: Remove CHAR16 handling.
8164
8165 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8166
8167 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8168
a0da5fe1
UD
8169 * configure.in: Remove --with-elf and --enable-bounded options.
8170 Dont set base_machine for ia64. More non-ELF conditions removed.
8171 Remove testing and setting of leading underscore information.
8172 * config.make.in (build-bounded): Set to no.
8173 * config.h.in: Remove NO_UNDERSCORES entry.
8174 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8175 them.
8176 * csu/start.c: Remove !NO_UNDERSCORE code.
8177 * locale/localeinfo.h: Likewise.
8178 * sysdeps/generic/machine-gmon.h: Likewise.
8179 * sysdeps/generic/sysdep.h: Likewise.
8180 * sysdeps/i386/sysdep.h: Likewise.
8181 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8182 * sysdeps/mach/sysdep.h: Likewise.
8183 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8184 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8185 * sysdeps/sh/sysdep.h: Likewise.
8186 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8187 * sysdeps/unix/i386/sysdep.S: Likewise.
8188 * sysdeps/unix/sparc/start.c: Likewise.
8189 * sysdeps/unix/sparc/sysdep.S: Likewise.
8190 * sysdeps/unix/sparc/sysdep.h: Likewise.
8191 * sysdeps/unix/start.c: Likewise.
8192 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8193 * sysdeps/x86_64/sysdep.h: Likewise.
8194
df78418a
UD
81952012-01-07 Ulrich Drepper <drepper@gmail.com>
8196
a784e502
UD
8197 [BZ #13553]
8198 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8199 for non-gcc.
8200 * argp/argp-fmtstream.h: Use const instead __const.
8201 * argp/argp.h: Likewise.
8202 * assert/assert.h: Likewise.
8203 * bits/fenv.h: Likewise.
8204 * bits/sched.h: Likewise.
8205 * bits/sigset.h: Likewise.
8206 * bits/sigthread.h: Likewise.
8207 * catgets/nl_types.h: Likewise.
8208 * conform/data/pthread.h-data: Likewise.
8209 * crypt/crypt-private.h: Likewise.
8210 * crypt/crypt.h: Likewise.
8211 * crypt/crypt_util.c: Likewise.
8212 * ctype/ctype.h: Likewise.
8213 * debug/execinfo.h: Likewise.
8214 * debug/mbsnrtowcs_chk.c: Likewise.
8215 * debug/mbsrtowcs_chk.c: Likewise.
8216 * debug/wcsnrtombs_chk.c: Likewise.
8217 * debug/wcsrtombs_chk.c: Likewise.
8218 * debug/wcstombs_chk.c: Likewise.
8219 * dirent/dirent.h: Likewise.
8220 * dlfcn/dlfcn.h: Likewise.
8221 * elf/neededtest4.c: Likewise.
8222 * grp/grp.h: Likewise.
8223 * gshadow/gshadow.h: Likewise.
8224 * iconv/gconv.h: Likewise.
8225 * iconv/gconv_int.h: Likewise.
8226 * iconv/gconv_simple.c: Likewise.
8227 * iconv/iconv.h: Likewise.
8228 * iconv/loop.c: Likewise.
8229 * iconv/skeleton.c: Likewise.
8230 * include/aio.h: Likewise.
8231 * include/aliases.h: Likewise.
8232 * include/argz.h: Likewise.
8233 * include/arpa/inet.h: Likewise.
8234 * include/assert.h: Likewise.
8235 * include/dirent.h: Likewise.
8236 * include/dlfcn.h: Likewise.
8237 * include/execinfo.h: Likewise.
8238 * include/fcntl.h: Likewise.
8239 * include/fenv.h: Likewise.
8240 * include/glob.h: Likewise.
8241 * include/grp.h: Likewise.
8242 * include/libintl.h: Likewise.
8243 * include/mntent.h: Likewise.
8244 * include/netdb.h: Likewise.
8245 * include/pwd.h: Likewise.
8246 * include/rpc/netdb.h: Likewise.
8247 * include/sched.h: Likewise.
8248 * include/search.h: Likewise.
8249 * include/shadow.h: Likewise.
8250 * include/signal.h: Likewise.
8251 * include/stdio.h: Likewise.
8252 * include/stdlib.h: Likewise.
8253 * include/string.h: Likewise.
8254 * include/sys/socket.h: Likewise.
8255 * include/sys/stat.h: Likewise.
8256 * include/sys/statfs.h: Likewise.
8257 * include/sys/statvfs.h: Likewise.
8258 * include/sys/syslog.h: Likewise.
8259 * include/sys/time.h: Likewise.
8260 * include/sys/uio.h: Likewise.
8261 * include/time.h: Likewise.
8262 * include/unistd.h: Likewise.
8263 * include/utmp.h: Likewise.
8264 * include/wchar.h: Likewise.
8265 * include/wctype.h: Likewise.
8266 * inet/aliases.h: Likewise.
8267 * inet/arpa/inet.h: Likewise.
8268 * inet/netinet/ether.h: Likewise.
8269 * inet/netinet/in.h: Likewise.
8270 * intl/libintl.h: Likewise.
8271 * io/bits/fcntl2.h: Likewise.
8272 * io/fcntl.h: Likewise.
8273 * io/ftw.h: Likewise.
8274 * io/sys/poll.h: Likewise.
8275 * io/sys/stat.h: Likewise.
8276 * io/sys/statfs.h: Likewise.
8277 * io/sys/statvfs.h: Likewise.
8278 * io/utime.h: Likewise.
8279 * libio/bits/stdio.h: Likewise.
8280 * libio/bits/stdio2.h: Likewise.
8281 * libio/libio.h: Likewise.
8282 * libio/libioP.h: Likewise.
8283 * libio/stdio.h: Likewise.
8284 * locale/lc-ctype.c: Likewise.
8285 * locale/locale.h: Likewise.
8286 * login/utmp.h: Likewise.
8287 * malloc/arena.c: Likewise.
8288 * malloc/malloc.c: Likewise.
8289 * malloc/malloc.h: Likewise.
8290 * malloc/mcheck.c: Likewise.
8291 * malloc/mtrace.c: Likewise.
8292 * math/bits/mathcalls.h: Likewise.
8293 * math/fenv.h: Likewise.
8294 * math/math_private.h: Likewise.
8295 * misc/bits/error.h: Likewise.
8296 * misc/bits/syslog.h: Likewise.
8297 * misc/err.h: Likewise.
8298 * misc/error.h: Likewise.
8299 * misc/fstab.h: Likewise.
8300 * misc/mntent.h: Likewise.
8301 * misc/regexp.h: Likewise.
8302 * misc/search.h: Likewise.
8303 * misc/sgtty.h: Likewise.
8304 * misc/sys/mman.h: Likewise.
8305 * misc/sys/syslog.h: Likewise.
8306 * misc/sys/uio.h: Likewise.
8307 * misc/sys/xattr.h: Likewise.
8308 * misc/ttyent.h: Likewise.
8309 * nis/rpcsvc/ypclnt.h: Likewise.
8310 * nss/nss.h: Likewise.
8311 * posix/bits/unistd.h: Likewise.
8312 * posix/fnmatch.h: Likewise.
8313 * posix/glob.h: Likewise.
8314 * posix/sched.h: Likewise.
8315 * posix/spawn.h: Likewise.
8316 * posix/sys/wait.h: Likewise.
8317 * posix/unistd.h: Likewise.
8318 * posix/wordexp.h: Likewise.
8319 * pwd/pwd.h: Likewise.
8320 * resolv/netdb.h: Likewise.
8321 * resource/sys/resource.h: Likewise.
8322 * rt/aio.h: Likewise.
8323 * rt/bits/mqueue2.h: Likewise.
8324 * rt/mqueue.h: Likewise.
8325 * shadow/shadow.h: Likewise.
8326 * signal/signal.h: Likewise.
8327 * socket/send.c: Likewise.
8328 * socket/sendto.c: Likewise.
8329 * socket/sys/socket.h: Likewise.
8330 * stdio-common/printf.h: Likewise.
8331 * stdlib/bits/stdlib.h: Likewise.
8332 * stdlib/fmtmsg.h: Likewise.
8333 * stdlib/monetary.h: Likewise.
8334 * stdlib/stdlib.h: Likewise.
8335 * stdlib/ucontext.h: Likewise.
8336 * streams/stropts.h: Likewise.
8337 * string/argz.h: Likewise.
8338 * string/bits/string2.h: Likewise.
8339 * string/string.h: Likewise.
8340 * string/strings.h: Likewise.
8341 * sunrpc/rpc/auth.h: Likewise.
8342 * sunrpc/rpc/auth_des.h: Likewise.
8343 * sunrpc/rpc/clnt.h: Likewise.
8344 * sunrpc/rpc/netdb.h: Likewise.
8345 * sunrpc/rpc/pmap_clnt.h: Likewise.
8346 * sunrpc/rpc/xdr.h: Likewise.
8347 * sysdeps/generic/inttypes.h: Likewise.
8348 * sysdeps/generic/net/if.h: Likewise.
8349 * sysdeps/generic/sys/swap.h: Likewise.
8350 * sysdeps/gnu/net/if.h: Likewise.
8351 * sysdeps/gnu/utmpx.h: Likewise.
8352 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8353 * sysdeps/i386/i486/bits/string.h: Likewise.
8354 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8355 * sysdeps/s390/bits/string.h: Likewise.
8356 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8357 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8358 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8359 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8360 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8361 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8362 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8363 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8364 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8365 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8366 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8367 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8368 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8369 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8370 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8371 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8372 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8374 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8375 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8376 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8377 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8378 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8379 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8380 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8381 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8382 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8383 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8384 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8385 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8386 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8387 * sysvipc/sys/ipc.h: Likewise.
8388 * sysvipc/sys/msg.h: Likewise.
8389 * sysvipc/sys/sem.h: Likewise.
8390 * sysvipc/sys/shm.h: Likewise.
8391 * termios/termios.h: Likewise.
8392 * time/sys/time.h: Likewise.
8393 * time/time.h: Likewise.
8394 * wcsmbs/bits/wchar2.h: Likewise.
8395 * wcsmbs/uchar.h: Likewise.
8396 * wcsmbs/wchar.h: Likewise.
8397 * wctype/wctype.h: Likewise.
8398
0269750c
UD
8399 [BZ #13551]
8400 * Makeconfig: Remove all but ELF support including AIX support.
8401 * Makerules: Likewise.
8402 * config.h.in: Likewise.
8403 * config.make.in: Likewise.
8404 * configure: Likewise.
8405 * configure.in: Likewise.
8406 * csu/Makefile: Likewise.
8407 * csu/version.c: Likewise.
8408 * debug/Makefile: Likewise.
8409 * dlfcn/Makefile: Likewise.
8410 * elf/Makefile: Likewise.
8411 * extra-lib.mk: Likewise.
8412 * iconv/Makefile: Likewise.
8413 * include/libc-symbols.h: Likewise.
8414 * include/shlib-compat.h: Likewise.
8415 * resolv/Makefile: Likewise.
8416 * resolv/res_libc.c: Likewise.
8417 * rt/Makefile: Likewise.
8418 * sysdeps/i386/asm-syntax.h: Likewise.
8419 * sysdeps/i386/sysdep.h: Likewise.
8420 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8421 * sysdeps/mach/sysdep.h: Likewise.
8422 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8423 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8424 * sysdeps/s390/asm-syntax.h: Likewise.
8425 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8426 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8427 * sysdeps/sh/sysdep.h: Likewise.
8428 * sysdeps/unix/sparc/sysdep.h: Likewise.
8429 * sysdeps/wordsize-32/divdi3.c: Likewise.
8430 * sysdeps/x86_64/sysdep.h: Likewise.
8431
00bbd29b
UD
8432 * argp/Versions: Remove _argp_unlock_xxx.
8433
8434 [BZ #13559]
8435 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8436 * abilist/libBrokenLocale.abilist: Likewise.
8437 * abilist/libanl.abilist: Likewise.
8438 * abilist/libc.abilist: Likewise.
8439 * abilist/libcrypt.abilist: Likewise.
8440 * abilist/libdl.abilist: Likewise.
8441 * abilist/libm.abilist: Likewise.
8442 * abilist/libnsl.abilist: Likewise.
8443 * abilist/libpthread.abilist: Likewise.
8444 * abilist/libresolv.abilist: Likewise.
8445 * abilist/librt.abilist: Likewise.
8446 * abilist/libthread_db.abilist: Likewise.
8447 * abilist/libutil.abilist: Likewise.
8448 * abilist/libnss_db.abilist: New file.
8449
8450 * scripts/abilist.awk: Add support for indirect functions.
8451
a2693a0e
UD
8452 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8453
3f05895f
UD
8454 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8455
ecb6fb48
UD
8456 * shlib-versions: Remove entries for ports architectures.
8457
664f8cb9
UD
8458 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8459 files in ports.
8460 * elf/stackguard-macros.h: Remove support for IA-64.
8461 * elf/tst-auditmod1.c: Likewise.
8462 * sysdeps/generic/ldsodefs.h: Likewise.
8463
7ae81d88
UD
8464 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8465 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8466 configure files.
8467
bdeba135
UD
8468 [BZ #13552]
8469 * configure.in: Remove --enable-omitfp support.
8470 * FAQ.in: Adjust.
8471 * config.make.in: Likewise.
8472 * Makeconfig: Likewise.
8473 * manual/install.texi: Likewise.
8474
d75a0a62
UD
8475 In case anyone cares, the IA-64 architecture could move to ports.
8476 * sysdeps/ia64/*: Removed.
8477 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8478 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8479
dcc9756b
UD
8480 [BZ #13555]
8481 * configure.in: Remove entries for unsupported architectures.
8482
d3761ebc 8483 [BZ #13533]
9954432e
UD
8484 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8485 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8486 routines.
8487 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8488 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8489 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8490 fall back to using wcrtomb.
8491 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8492 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8493 renaming.
8494 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8495 * wcsmbs/tst-c16c32-1.c: New file.
8496
8497 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8498 local variable.
8499
c3a87236
UD
8500 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8501
28926a1b
UD
8502 * elf/tst-unique3.cc: Add explicit declaration of gets.
8503 * elf/tst-unique3lib.cc: Likewise.
8504 * elf/tst-unique3lib2.cc: Likewise.
8505 * elf/tst-unique4.cc: Likewise.
8506
df78418a
UD
8507 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8508
8ecd6b2a
JM
85092012-01-06 Joseph Myers <joseph@codesourcery.com>
8510
8511 [BZ #13566]
8512 * assert/assert.h (static_assert): Don't define for C++.
8513 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8514 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8515
9f115170
UD
85162012-01-03 Ulrich Drepper <drepper@gmail.com>
8517
5e0d0300
UD
8518 * iconv/loop.c (single loop): Fix assertion in storing of
8519 remaining bytes.
8520
9f115170
UD
8521 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8522
81fb02b0
UD
85232012-01-01 Ulrich Drepper <drepper@gmail.com>
8524
8525 * posix/getconf.c: Update copyright year.
8526 * nss/getent.c: Likewise.
a316c1f6 8527 * nss/makedb.c: Likewise.
81fb02b0
UD
8528 * iconv/iconvconfig.c: Likewise.
8529 * iconv/iconv_prog.c: Likewise.
8530 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8531 * elf/pldd.c: Likewise.
8532 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8533 * catgets/gencat.c: Likewise.
8534 * csu/version.c: Likewise.
8535 * elf/ldd.bash.in: Likewise.
8536 * elf/sprof.c (print_version): Likewise.
8537 * locale/programs/locale.c: Likewise.
8538 * locale/programs/localedef.c: Likewise.
a316c1f6 8539 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8540 * nscd/nscd.c (print_version): Likewise.
8541 * debug/xtrace.sh: Likewise.
8542 * malloc/memusage.sh: Likewise.
8543 * malloc/mtrace.pl: Likewise.
8544 * debug/catchsegv.sh: Likewise.
8545
2ba92745
JJ
85462011-12-30 Jakub Jelinek <jakub@redhat.com>
8547
8548 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8549 pure attribute.
8550
dadebdae
UD
85512011-12-24 Ulrich Drepper <drepper@gmail.com>
8552
d3761ebc 8553 [BZ #13533]
db6af3eb
UD
8554 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8555 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8556 transformations.
8557 * iconv/gconv_int.h: Likewise.
8558 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8559 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8560 from libc for GLIBC_2.16.
8561 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8562 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8563 * wcsmbs/uchar.h: Really define mbstate_t.
8564 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8565 * wcsmbs/c16rtomb.c: New file.
8566 * wcsmbs/mbrtoc16.c: New file.
8567 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8568 for C/POSIX locale.
8569 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8570 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8571
dadebdae
UD
8572 * wcsmbs/wchar.h: Add missing __restrict.
8573
67371b56
UD
85742011-12-23 Ulrich Drepper <drepper@gmail.com>
8575
74033a25
UD
8576 [BZ #13532]
8577 * time/Makefile (routines): Add timespec_get.
8578 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8579 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8580 timespec for ISO C11.
8581 * time/timespec_get.c: New file.
8582 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8583 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8584
380d7e87
UD
8585 [BZ #13531]
8586 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8587 * stdlib/stdlib.h: Declare aligned_alloc.
8588 * Versions.def: Add GLIBC_2.16 for libc.
8589 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8590
4e9e7a35
UD
8591 [BZ 13527]
8592 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8593 ISO C11.
8594
380d7e87 8595 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8596 code.
8597
03a71829
UD
8598 [BZ #13528]
8599 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8600
839e283e
UD
8601 [BZ #13529]
8602 * assert/assert.h (static_assert): Define.
8603
ce5294e2 8604 * version.h: Update for 2.16 development version.
90fa7312 8605
8d44e150 8606 [BZ #13526]
d7809905
UD
8607 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8608 _ISOC11_SOURCE.
8609
c0da14cd
UD
8610 * version.h (RELEASE): Bump for 2.15 release.
8611 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8612
530a3249
MP
8613 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8614 Patch by Marek Polacek <mpolacek@redhat.com>.
8615
67371b56
UD
8616 * bits/byteswap.h: Protect long long constants with __extension__.
8617 * sysdeps/i386/bits/byteswap.h: Likewise.
8618 * sysdeps/ia64/bits/byteswap.h: Likewise.
8619 * sysdeps/s390/bits/byteswap.h: Likewise.
8620 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8621
15db4de1
LD
86222011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8623
8624 [BZ #13540]
bbe315ea
LD
8625 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8626 destination buffer.
15db4de1
LD
8627 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8628
2b2596b1
MP
86292011-12-23 Marek Polacek <polacek@redhat.com>
8630
8631 * elf/dl-addr.c (determine_info): Add inline keyword.
8632 * elf/tst-auditmod4b.c (check_avx): Likewise.
8633 * elf/tst-auditmod6b.c (check_avx): Likewise.
8634 * elf/tst-auditmod6c.c (check_avx): Likewise.
8635 * elf/tst-auditmod7b.c (check_avx): Likewise.
8636
70c6c246
UD
86372011-12-23 Ulrich Drepper <drepper@gmail.com>
8638
8639 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8640 !__SSE_MATH__.
8641
c044cf14
LD
86422011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8643
15db4de1 8644 [BZ #13540]
c044cf14
LD
8645 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8646 processing for last bytes.
8647
6b13d9d9
BH
86482011-08-06 Bruno Haible <bruno@clisp.org>
8649
d455f537
BH
8650 [BZ #13061]
8651 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8652 U+0385, not to U+1FEE.
8653
6b13d9d9
BH
8654 [BZ #13062]
8655 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8656 entry for U+00A5 U+0301.
8657
db910efd
UD
86582011-12-22 Ulrich Drepper <drepper@gmail.com>
8659
27deeafc
UD
8660 [BZ #13166]
8661 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8662 buffer for the output is too small.
8663
aed9d171
UD
8664 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8665 optimization.
8666
db910efd
UD
8667 [BZ #13185]
8668 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8669 SSE flags if possible.
8670
2bd779ae
LD
86712011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8672
e7f9dac3 8673 [BZ #13540]
2bd779ae
LD
8674 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8675 processing for last bytes.
8676
154bfc16
JM
86772011-12-22 Joseph Myers <joseph@codesourcery.com>
8678
8679 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8680 (syscall-list-default-options, syscall-list-default-condition)
8681 (syscall-list-includes): Define.
8682 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8683 list of ABIs and options and #if conditions for each ABI. Do not
8684 handle common syscalls between ABIs specially.
8685 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8686 Remove.
8687 (syscall-list-variants, syscall-list-32bit-options)
8688 (syscall-list-32bit-condition, syscall-list-64bit-options)
8689 (syscall-list-64bit-condition): Define.
8690 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8691 (syscall-list-variants, syscall-list-32bit-options)
8692 (syscall-list-32bit-condition, syscall-list-64bit-options)
8693 (syscall-list-64bit-condition): Define.
8694 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8695 Remove.
8696 (syscall-list-variants, syscall-list-32bit-options)
8697 (syscall-list-32bit-condition, syscall-list-64bit-options)
8698 (syscall-list-64bit-condition): Define.
8699 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8700 Remove.
8701 (syscall-list-variants, syscall-list-32bit-options)
8702 (syscall-list-32bit-condition, syscall-list-64bit-options)
8703 (syscall-list-64bit-condition): Define.
8704
21eaf3a5
UD
87052011-12-22 Ulrich Drepper <drepper@gmail.com>
8706
16c6f992
UD
8707 * locale/iso-639.def: Add brx entry.
8708
41043168
UD
8709 [BZ #13328]
8710 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8711 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8712
21eaf3a5
UD
8713 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8714 __feraiseexcept_renamed.
8715
e3a851a2
UD
87162011-12-21 Ulrich Drepper <drepper@gmail.com>
8717
4920765e
UD
8718 [BZ #13538]
8719 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8720 EPOLLET with unsigned values.
8721 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8723
e3a851a2
UD
8724 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8725 to large cancellation.
8726 * math/s_cacoshf.c: Likewise.
8727 * math/s_cacoshl.c: Likewise.
8728
b27e24b8
RK
87292011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8730
8731 [BZ #13305]
aebefeee 8732 [BZ #12786]
b27e24b8
RK
8733 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8734 * math/s_cacoshf.c: Likewise.
8735 * math/s_cacoshl.c: Likewise.
8736
ee190f67
UD
87372011-12-21 Ulrich Drepper <drepper@gmail.com>
8738
8739 [BZ #13439]
8740 * iconv/gconv.h: Define __GCONV_SWAP.
8741 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8742 * iconvdata/utf-16.c: Likewise.
8743 * iconvdata/utf-32.c: Likewise.
8744
707f25df
AS
87452011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8746
8747 [BZ #13524]
8748 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8749 numerator after shifting it by one limb.
8750
d2daaa1e
RÁE
87512011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8752
8753 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8754 under [__USE_EXTERN_INLINES].
8755
a4647e72
UD
87562011-12-17 Ulrich Drepper <drepper@gmail.com>
8757
8758 [BZ #13446]
8759 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8760
f0b264f1
AZ
87612011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8762
8763 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8764 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8765 optimized code.
8766 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8767 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8768 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8769 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8770 for strncasecmp/strncasecmp_l compilation.
8771 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8772 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8773
8ef4f244
MP
87742011-12-08 Marek Polacek <mpolacek@redhat.com>
8775
8776 [BZ #13484]
8777 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8778 of __asm__.
8779
97ac2654
UD
87802011-12-17 Ulrich Drepper <drepper@gmail.com>
8781
8782 [BZ #13506]
8783 * time/tzfile.c (__tzfile_read): Check values from file header.
8784
91d2a845
WS
87852011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8786
8787 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8788 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8789 * powerpc/powerpc32/dl-start.S: Likewise.
8790 * powerpc/powerpc32/elf/start.S: Likewise.
8791 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8792 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8793 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8794 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8795 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8796 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8797 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8798 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8799 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8800 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8801 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8802 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8803 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8804 * powerpc/powerpc32/memset.S: Likewise.
8805 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8806 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8807 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8808 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8809 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8810 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8811 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8812 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8813 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8814 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8815 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8816 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8817 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8818
a1267ba1
AZ
88192011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8820
8821 * math/libm-test.inc: Added more nearbyint tests.
8822 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8823 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8824 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8825 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8826
ad8ac1bd
RL
88272011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8828
8829 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8830 FD_CLOEXEC.
8831
1d3e4b61
UD
88322011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8833
8834 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8835 Add wcscpy-ssse3 wcscpy-c.
8836 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8837 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8838 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8839 * sysdeps/x86_64/wcschr.S: New file.
8840 * sysdeps/x86_64/wcsrchr.S: New file.
8841 * string/test-strcmp.c: Remove checking of wcscmp function for
8842 wrong alignments.
8843 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8844 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8845 wcsrchr-sse2 wcsrchr-c.
8846 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8847 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8848 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8849 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8850 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8851 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8852 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8853 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8854 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8855 * wcsmbc/wcschr.c (WCSCHR): New macro.
8856
5b330a2d
UD
88572011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8858
8859 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8860 * wcsmbs/test-wcsrchr.c: New file.
8861 * string/test-strrchr.c: Add wcsrchr support.
8862 (WIDE): New macro.
8863 * wcsmbs/test-wcscpy.c: New file.
8864 * string/test-strcpy.c: Add wcscpy support.
8865 (WIDE): New macro.
26428b7c 8866
f039c043
UD
88672011-12-10 Ulrich Drepper <drepper@gmail.com>
8868
8869 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8870 the inner loop.
8871
850fb039
AS
88722011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8873
8874 [BZ #13472]
8875 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8876
4efbd5cb
UD
88772011-12-04 Ulrich Drepper <drepper@gmail.com>
8878
52ff5dd0 8879 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8880 Minor optimizations.
52ff5dd0 8881
4efbd5cb
UD
8882 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8883 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8884 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8885
8a426e12
UD
88862011-12-03 Ulrich Drepper <drepper@gmail.com>
8887
aff2453d
UD
8888 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8889 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8890 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8891 for gcc to avoid warnings.
8892 * inet/Makefile (tests): Add tst-checks.
8893 * inet/tst-checks.c: New file.
8894
8895 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8896 warning.
8897
8898 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8899 __wmemcmp_sse2.
8900
8901 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8902 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8903
8a426e12
UD
8904 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8905
9bea3473
UD
89062011-12-02 Ulrich Drepper <drepper@gmail.com>
8907
3a965496
UD
8908 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8909 problem.
8910
9bea3473
UD
8911 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8912
f101631b
UD
89132011-11-29 Joseph Myers <joseph@codesourcery.com>
8914
8915 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8916 conditional on GCC version.
8917 (__arch_compare_and_exchange_val_8_acq)
8918 (__arch_compare_and_exchange_val_16_acq)
8919 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8920 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8921 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8922
a98275aa
UD
89232011-12-02 Joseph Myers <joseph@codesourcery.com>
8924
8925 * sysdeps/sh/backtrace.c: New file.
8926
d4cc29a2
AS
89272011-12-02 Andreas Schwab <schwab@redhat.com>
8928
8929 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8930 parenthesis.
8931
6257af2d
AS
89322011-12-01 Andreas Schwab <schwab@redhat.com>
8933
8934 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8935 falling back to utime.
8936
b5f44c1a
AS
89372011-11-30 Andreas Schwab <schwab@redhat.com>
8938
8939 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8940 expectations for float.
8941
f3a6cc0a
AS
89422011-11-29 Andreas Schwab <schwab@redhat.com>
8943
8944 * locale/weight.h (findidx): Add parameter len.
8945 * locale/weightwc.h (findidx): Likewise.
8946 * posix/fnmatch_loop.c (FCT): Adjust caller.
8947 * posix/regcomp.c (build_equiv_class): Likewise.
8948 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8949 * posix/regexec.c (check_node_accept_bytes): Likewise.
8950 * string/strcoll_l.c (STRCOLL): Likewise.
8951 * string/strxfrm_l.c (STRXFRM): Likewise.
8952
9d65ea3a
UD
89532011-11-17 Ulrich Drepper <drepper@gmail.com>
8954
8955 * Makefile.in: Remove CVSOPT handling.
8956 * configure.in: Remove use of AC_REVISION.
8957 * iconvdata/Makefile (distribute): No need to filter out CVS.
8958 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8959 handling.
8960
5583a086
AS
89612011-11-16 Andreas Schwab <schwab@redhat.com>
8962
8963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8964 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8965 [USE_AS_STRNCASECMP_L]: Likewise.
8966 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8967 NO_TLS_DIRECT_SEG_REFS.
8968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8969 Fix argument offsets for non-PIC.
8970 [USE_AS_STRNCASECMP_L]: Likewise.
8971 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8972 NO_TLS_DIRECT_SEG_REFS.
8973
d62a8200
UD
89742011-11-15 Ulrich Drepper <drepper@gmail.com>
8975
9d65ea3a 8976 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8977 O_CLOEXEC.
8978 * locale/loadlocale.c (_nl_load_locale): Likewise.
8979
09f93bd3
AS
89802011-11-15 Andreas Schwab <schwab@redhat.com>
8981
446514f9
AS
8982 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8983 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8984 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8985 (SYSCALL_GETTIME): Set errno on error.
8986
09f93bd3
AS
8987 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8988 count references to noai6ai_cached.
8989
312be3f9
UD
89902011-11-15 Ulrich Drepper <drepper@gmail.com>
8991
8992 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8993
8994 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8995 FD_CLOEXEC for /proc/self/maps.
8996
8997 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8998 FD_CLOEXEC for /proc/meminfo.
8999
9000 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9001 gai.conf.
9002
9003 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9004 FD_CLOEXEC for given file.
9005
9006 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9007
9008 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9009 FD_CLOEXEC for /etc/hosts.
9010 (_gethtent): Likewise.
9011
9012 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9013
9014 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9015 cancellation and set FD_CLOEXEC for /etc/netgroup.
9016
9017 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9018 reading /etc/publickey.
9019
9020 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9021 allow cancellation when reading /etc/group.
9022
9023 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9024 cancellation.
9025 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9026
9027 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9028 when using data file.
9029
9030 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9031
9032 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9033 (write_nis_obj): Use "c" and "e" in fopen.
9034
9035 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9036
9037 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9038
9039 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9040
9041 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9042
9043 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9044 locale.alias.
9045
9046 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9047
9048 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9049
9050 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9051
9052 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9053 file parsing and set FD_CLOEXEC.
9054
82af0fa8
UD
90552011-11-14 Ulrich Drepper <drepper@gmail.com>
9056
9057 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9058
a5fb313c
AS
90592011-11-14 Andreas Schwab <schwab@redhat.com>
9060
9061 * malloc/arena.c (arena_get2): Don't call reused_arena when
9062 _int_new_arena failed.
9063
6abf3465
UD
90642011-11-14 Ulrich Drepper <drepper@gmail.com>
9065
9066 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9067 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9068 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9069 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9070 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9071 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9072 to compile strcasecmp and strncasecmp.
9073 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9074 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9075
9076 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9077
76e3966e
UD
90782011-11-13 Ulrich Drepper <drepper@gmail.com>
9079
9080 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9081 locale-defines.sym to gen-as-const-headers.
9082 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9083 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9085 to compile strcasecmp and strncasecmp.
9086 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9087 strcasecmp_l and strncasecmp_l.
9088 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9089 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9090 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9091 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9092 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9093 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9094 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9095 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9096 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9097 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9098 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9099
ab26144e
UD
91002011-11-12 Ulrich Drepper <drepper@gmail.com>
9101
7edb22ef
UD
9102 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9103 result of SYSDEP_GETTIME_CPU to retval.
9104 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9105 parameter list to macro. Remove trailing semicolon. Adjust users.
9106
9694fc44
UD
9107 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9108 variable.
9109
8ad89ef8
UD
9110 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9111 mantissa words.
9112 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9113
0c822ef9
UD
9114 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9115 from unused variable.
9116
874e0564
UD
9117 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9118 DWARF definitions.
9119 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9120 for assembling.
9121
3a2edc79
UD
9122 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9123 over namespaces.
9124
f3c2577f
UD
9125 * sunrpc/rpc_prot.c (rejected): Fix case value.
9126
294ce126
UD
9127 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9128 unsigned long long int to avoid warnings in shift.
9129
5e2b63c6
UD
9130 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9131 of use of trans.
9132 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9133 variable tmp.
9134
e7f4b08e
UD
9135 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9136 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9137 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9138
ab26144e
UD
9139 * nis/nis_table.c (nis_list): Use variable of correct type for
9140 result of __follow_path call.
9141
8a6d5255
AZ
91422011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9143
9144 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9145 of math functions ceil, trunc, floor, round, and sqrt, when
9146 avaliable on the platform.
9147 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9148 name clash.
9149 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9150 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9151 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9152
aaddc98c
MP
91532011-10-30 Marek Polacek <mpolacek@redhat.com>
9154
9155 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9156 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9157
95b7042b
RM
91582011-11-11 Roland McGrath <roland@hack.frob.com>
9159
9160 * include/unistd.h: Fix __readlink return type.
9161 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9162
57769839
UD
91632011-11-11 Ulrich Drepper <drepper@gmail.com>
9164
9165 * stdlib/ucontext.h: Undo last change for makecontext.
9166
edc5984d
AS
91672011-11-11 Andreas Schwab <schwab@redhat.com>
9168
98591e58
AS
9169 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9170
edc5984d
AS
9171 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9172 * setjmp/setjmp.h: Mark functions as non-leaf.
9173 * setjmp/bits/setjmp2.h: Likewise.
9174 * stdlib/ucontext.h: Likewise.
9175
77cdc054
AS
91762011-11-10 Andreas Schwab <schwab@redhat.com>
9177
9178 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9179 (reused_arena): Don't check arena limit.
9180 (arena_get2): Atomically check arena limit.
9181
fe72eebd
UD
91822011-11-08 Ulrich Drepper <drepper@gmail.com>
9183
5f078c32
UD
9184 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9185 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9186
fe72eebd
UD
9187 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9188 instructions.
9189
ae1bc2fa
AS
91902011-11-07 Andreas Schwab <schwab@redhat.com>
9191
7583a88d
AS
9192 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9193 handler when locking.
9194
ae1bc2fa
AS
9195 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9196 Fix size of allocated buffer.
9197
10fb0bfa
AS
91982011-11-04 Andreas Schwab <schwab@redhat.com>
9199
998832a4
AS
9200 [BZ #10103]
9201 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9202 declarations for long double functions.
9203 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9204
10fb0bfa
AS
9205 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9206
3d7ba52b
AS
92072011-11-03 Andreas Schwab <schwab@redhat.com>
9208
a9ae54a1
AS
9209 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9210 installed.
9211
3d7ba52b
AS
9212 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9213 is disabled.
9214
bc8db248
ST
92152011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9216
9217 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9218
45b96dd6
AS
92192011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9220
647776f6
AS
9221 * include/alloca.h (stackinfo_alloca_round): Define.
9222 (extend_alloca): Use it.
9223 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9224 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9225 here.
9226
d91a8b93
AS
9227 * scripts/check-local-headers.sh: Ignore libaudit.h.
9228
45b96dd6
AS
9229 * nscd/Makefile (extra-objs): Make recursively expanded.
9230
432d41ce
UD
92312011-11-01 Ulrich Drepper <drepper@gmail.com>
9232
34372fc6
UD
9233 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9234 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9235
fadb59f8
UD
9236 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9237 * posix/tst-rfc3484-2.c: Likewise.
9238 * posix/tst-rfc3484-3.c: Likewise.
9239
78239589
UD
9240 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9241 process_vm_writev.
9242 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9243 process_vm_writev.
9244 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9245 process_vm_writev from libc using GLIBC_2.15 version.
9246
432d41ce
UD
9247 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9248
02f9c6cf
PP
92492011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9250
9251 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9252 stack usage.
9253
3a2c0242
UD
92542011-10-31 Ulrich Drepper <drepper@gmail.com>
9255
f4ec4833
UD
9256 [BZ #13367]
9257 * nss/getent.c (initgroups_keys): Show error message in case no group
9258 names are given.
9259
3a2c0242
UD
9260 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9261 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9262 __bump_nl_timestamp.
9263 * nscd/connections (nscd_init): When host database is served open
9264 netlink socket and request notification about configuration changes.
9265 (main_loop_poll): Track netlink file descriptor and bump timestamp
9266 in case data becomes available.
9267 (main_loop_epoll): Likewise.
9268 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9269 (database_pers_head): Add extra_data fileds.
9270 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9271 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9272 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9273 Adjust caller.
9274 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9275 in6ai data, call __free_in6ai.
9276 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9277 Add -DHAVE_NETLINK.
9278 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9279 interface information. Reuse previous data if netlink timestamp
9280 is not changed.
9281 (__bump_nl_timestamp): New function.
9282 (__free_in6ai): New function.
9283
636064eb
UD
92842011-10-30 Ulrich Drepper <drepper@gmail.com>
9285
9286 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9287 close_not_cancel_no_status here.
9288 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9289
9beb2334
UD
92902011-10-29 Ulrich Drepper <drepper@gmail.com>
9291
6ef76f3b
UD
9292 [BZ #13276]
9293 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9294 return value.
9295
0ffc4f3e 9296 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
9297 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9298 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9299
cb95113e
UD
93002011-07-03 Andreas Jaeger <aj@suse.de>
9301
9302 [BZ #10709]
9303 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9304 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9305 * math/libm-test.inc (sin_test): Add test case.
9306
a1b560ff
UD
93072011-10-29 Ulrich Drepper <drepper@gmail.com>
9308
c9aaface
UD
9309 [BZ #13337]
9310 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9311 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9312
d272e7f1
UD
9313 * elf/chroot_canon.c (chroot_canon): Cleanups.
9314
1bc33071
UD
9315 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9316
1760874d
TJ
9317 [BZ #13335]
9318 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9319 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9320
51d91b18
UD
9321 * string/test-strchr.c: Make usable for strchrnul testing.
9322 * string/test-strchrnul.c: New file.
9323 * string/Makefile (strop-tests): Add strchrnul.
9324
a1b560ff 9325 * po/it.po: Update from translation team.
b611fb81 9326 * po/es.po: Likewise.
a1b560ff 9327
a5b81e1f
UD
93282011-10-28 Ulrich Drepper <drepper@gmail.com>
9329
fd52bc6d
UD
9330 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9331 the three constants needed as parameters. Drop the others.
9332 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9333 __m128i_strloadu_tolower.
52e4b9eb
UD
9334 Create and initialize variable zero and use it in all the places
9335 where _mm_setzero_si128 was used.
fd52bc6d 9336
a5b81e1f
UD
9337 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9338 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9339 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9340 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9341 anymore.
9342 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9343 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9344 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9345 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9346 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9347 __mpranred, __mptan.
9348 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9349 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9350 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9351 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9352 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9353 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9354 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9355 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9356 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9357
b4343346
AS
93582011-10-28 Andreas Schwab <schwab@redhat.com>
9359
0c92d8a8
AS
9360 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9361 redefine if SHARED.
9362 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9363
b4343346
AS
9364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9365 wide char related routines to wcsmbs subdir.
9366
3871f58f
AS
93672011-10-27 Andreas Schwab <schwab@redhat.com>
9368
9369 [BZ #13344]
9370 * misc/sys/cdefs.h (__THROWNL): Define.
9371 * posix/unistd.h: Use __THREADNL instead of __THREAD
9372 for memory synchronization functions.
9373
94d44d9f
RM
93742011-10-26 Roland McGrath <roland@hack.frob.com>
9375
21b64b15 9376 [BZ #13349]
94d44d9f
RM
9377 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9378 doesn't exist.
9379 * manual/stdio.texi (Obstack Streams): Node removed.
9380
f6ce9294
AS
93812011-10-26 Andreas Schwab <schwab@redhat.com>
9382
80479147
AS
9383 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9384 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9385 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9386
f6ce9294
AS
9387 * math/math_private.h (math_force_eval): Allow non-addressable
9388 arguments.
9389 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9390
618280a1
UD
93912011-10-25 Ulrich Drepper <drepper@gmail.com>
9392
e0016b11
UD
9393 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9394 file is not needed.
9395
9396 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9397 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9398 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9399 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9400 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9401 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9402 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9403 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9404 Add AVX variants.
9405 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9406 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9407 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9408 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9409 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9410 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9411 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9412 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9413 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9414 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9415 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9416 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9418 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9419 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9420 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9421 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9422 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9423 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9424
9425 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9426 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9427
618280a1
UD
9428 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9429 place. Use VEX encoding when compiling for AVX.
9430
37822576
AS
94312011-10-25 Andreas Schwab <schwab@redhat.com>
9432
1f1e1947
AS
9433 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9434 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9435
37822576
AS
9436 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9437
31ea014d
UD
94382011-10-25 Ulrich Drepper <drepper@gmail.com>
9439
d7826aa1 9440 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9441 useless if() expression.
d7826aa1
UD
9442 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9443 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9444 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9445 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9446 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9447 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9448 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9449 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9450 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9451 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9452 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9453 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9454 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9455 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9456 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9457 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9458 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9460 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9461
31ea014d
UD
9462 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9463
16437fec
AS
94642011-10-25 Andreas Schwab <schwab@redhat.com>
9465
9466 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9467 condition.
9468 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9469
31d3cc00
UD
94702011-10-25 Ulrich Drepper <drepper@gmail.com>
9471
9472 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9473 .text section. Avoid duplicate constants.
9474 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9484 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9486 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9487 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9489 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9491 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9492 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9493 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9494 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9495 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9496 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9497 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9498 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9499 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9500 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9501 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9502 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9503 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9504 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9505 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9506 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9507 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9508 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9509 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9510 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9511 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9512 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9513 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9514 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9515 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9516 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9517 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9518 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9519
58985aa9
UD
95202011-10-24 Ulrich Drepper <drepper@gmail.com>
9521
202c9deb
UD
9522 * sysdeps/x86_64/dla.h: Move to ...
9523 * sysdeps/x86_64/fpu/dla.h: ...here.
9524 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9525 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9526
af968f62
UD
9527 * config.make.in: Add have-mfma4 entry.
9528 * configure.in: Substitute libc_cv_cc_fma4.
9529 * math/Makefile (dbl-only-routines): Add sincostab.
9530 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9531 Use __sincostab not sincos.
9532 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9533 name is a macro.
9534 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9538 using __copysign.
9539 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9540 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9541 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9542 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9543 and __inv.
9544 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9545 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9546 __copysign.
9547 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9548 define aliases when function name is a macro.
9549 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9550 sysdeps/ieee754/dbl-64/sincos.tbl.
9551 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9552 fma4-enabled routines.
9553 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9554 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9555 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9556 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9557 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9558 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9559 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9560 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9561 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9562 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9563 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9564 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9565 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9566 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9567 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9568 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9569 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9570 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9571 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9572 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9573 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9574 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9575 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9576 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9577 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9579 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9580 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9581 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9582 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9583
58985aa9
UD
9584 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9585 rename.
9586 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9594
a201fbcf
AS
95952011-10-24 Andreas Schwab <schwab@redhat.com>
9596
9597 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9598
fc2ee42a
LD
95992011-10-23 Ulrich Drepper <drepper@gmail.com>
9600
bb3129bd
UD
9601 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9602
0275fff8
UD
9603 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9604 prediction.
9605 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9606
2fa2ae85
UD
9607 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9608 Remove unused variable magic_bits.
9609 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9610
fc2ee42a
LD
9611 * string/strnlen.c: Define and use STRNLEN macro.
9612 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9613 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9614 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9615 * wcsmbs/wcslen.c: Define and use WCSLEN.
9616 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9617 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9618 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9619 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9620 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9621 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9622 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9623
ce7dd29f
LD
96242011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9625
9626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9627 strnlen-sse2-no-bsf.
9628 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9629 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9630 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9631 Add strnlen support.
9632 (USE_AS_STRNLEN): New macro.
9633 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9634 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9635 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9636 * sysdeps/x86_64/wcslen.S: New file.
9637
979c70a3
MZ
96382011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9639
9640 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9641 XMM-moves are used for copying on small sizes.
9642
2d09f82f
LD
96432011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9644
9645 * wcsmbs/Makefile (strop-tests): Add wcschr.
9646 * wcsmbs/test-wcschr.c: New file.
9647 * string/test-strchr.c: Update.
9648 Add wcschr support.
9649 (WIDE): New macro.
9650
619fccca
LD
96512011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9652
2d09f82f 9653 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9654 * wcsmbs/test-wcslen.c: New file.
9655 * string/test-strlen.c: Update.
9656 Add wcslen support.
9657 (WIDE): New macro.
9658
09f699ea
UD
96592011-10-23 Ulrich Drepper <drepper@gmail.com>
9660
9661 * po/it.po: Update from translation team.
9662
95584d3b
LD
96632011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9664
9665 * sysdeps/x86_64/wcscmp.S: Update.
9666 Fix wrong comparison semantics.
9667 wcscmp shall use signed comparison not unsigned.
9668 Don't use substraction to avoid overflow bug.
9669 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9670 * wcsmbc/wcscmp.c: Likewise.
9671 * string/test-strcmp.c: Likewise.
9672 Add new tests to check cases with negative values.
9673
c8b3296b
UD
96742011-10-23 Ulrich Drepper <drepper@gmail.com>
9675
9676 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9677 * sysdeps/x86_64/dla.h: ...here. New file.
9678 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9679 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9680 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9681 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9682 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9683 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9684 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9685 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9687
246ad57a
AS
96882011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9689
9690 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9691 __ynl_finite aliases.
9692
a1a87169
UD
96932011-10-22 Ulrich Drepper <drepper@gmail.com>
9694
0d355eb7
UD
9695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9696
a1a87169
UD
9697 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9698 define DLA_FMA.
9699 [DLA_FMA] (EMULV): Use DLA_FMA.
9700 [DLA_FMA] (MUL12): Use EMULV.
9701 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9702 that are not needed.
9703 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9708 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9710
ee2aafe0
AS
97112011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9712
9713 * math/s_nan.c: Undef __nan.
9714 * math/s_nanf.c: Undef __nanf.
9715 * math/s_nanl.c: Undef __nanl.
9716 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9717 "math_private.h".
9718
bc62c2fb
UD
97192011-10-22 Ulrich Drepper <drepper@gmail.com>
9720
77425c63
UD
9721 * math/s_catan.c: Add branch predictions.
9722 * math/s_catanf.c: Likewise.
9723 * math/s_catanh.c: Likewise.
9724 * math/s_catanhf.c: Likewise.
9725 * math/s_catanhl.c: Likewise.
9726 * math/s_catanl.c: Likewise.
9727 * math/s_cexp.c: Likewise.
9728 * math/s_cexpf.c: Likewise.
9729 * math/s_cexpl.c: Likewise.
9730 * math/s_clog.c: Likewise.
9731 * math/s_clog10.c: Likewise.
9732 * math/s_clog10f.c: Likewise.
9733 * math/s_clog10l.c: Likewise.
9734 * math/s_clogf.c: Likewise.
9735 * math/s_clogl.c: Likewise.
9736 * math/s_csqrt.c: Likewise.
9737 * math/s_csqrtf.c: Likewise.
9738 * math/s_csqrtl.c: Likewise.
9739 * math/s_ctanf.c: Likewise.
9740 * math/s_ctanh.c: Likewise.
9741 * math/s_ctanhf.c: Likewise.
9742 * math/s_ctanhl.c: Likewise.
9743 * math/s_ctanl.c: Likewise.
9744
bc62c2fb
UD
9745 * math/math_private.h: Define __nan, __nanf, __nanl.
9746 * math/s_cacosh.c: Include <math_private.h>.
9747 * math/s_cacoshl.c: Likewise.
9748 * math/s_casinh.c: Likewise.
9749 * math/s_casinhf.c: Likewise.
9750 * math/s_casinhl.c: Likewise.
9751 * math/s_ccos.c: Rely entire on ccosh.
9752 * math/s_ccosf.c: Rely entire on ccoshf.
9753 * math/s_ccosl.c: Rely entirely on ccoshl.
9754 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9755 Remove tests for FE_INVALID.
9756 * math/s_ccoshf.c: Likewise.
9757 * math/s_ccoshl.c: Likewise.
9758 * math/s_csin.c: Likewise.
9759 * math/s_csinf.c: Likewise.
9760 * math/s_csinh.c Likewise.
9761 * math/s_csinhf.c: Likewise.
9762 * math/s_csinhl.c: Likewise.
9763 * math/s_csinl.c: Likewise.
9764 * math/s_ctan.c: Likewise.
9765 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9766 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9767 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9768
8ec250a4
UD
97692011-10-21 Ulrich Drepper <drepper@gmail.com>
9770
c196fed8
UD
9771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9772 compilation problems.
9773
8ec250a4
UD
9774 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9775 __builtin_expect.
9776
8d4f46c6
UD
97772011-10-20 Ulrich Drepper <drepper@gmail.com>
9778
ed72b654
UD
9779 * sysdeps/i386/configure.in: Test for -mfma4 option.
9780 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9781 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9782 COMMON_CPUID_INDEX_80000001.
9783 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9784 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9785 use it if FMA3 is not supported.
9786 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9787
8d4f46c6
UD
9788 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9789 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9790
d45c60c2
AS
97912011-10-20 Andreas Schwab <schwab@redhat.com>
9792
9793 [BZ #12892]
9794 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9795 it would create a cycle with a link time dependency.
9796
d9a4d2ab
UD
97972011-10-19 Ulrich Drepper <drepper@gmail.com>
9798
855d1560
UD
9799 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9800 instruction.
9801 * string/Makefile (strop-tests): Add rawmemchr.
9802 * string/test-rawmemchr.c: New file.
9803
d9a4d2ab
UD
9804 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9805 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9806 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9807 when compiling str{,n}casecmp and when AVX is available. Hook up
9808 new optimized code in initializers.
9809
8f3b1ffe
AS
98102011-10-19 Andreas Schwab <schwab@redhat.com>
9811
9812 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9813 __feraiseexcept instead of feraiseexcept.
9814
d38f1dba
UD
98152011-10-18 Ulrich Drepper <drepper@gmail.com>
9816
d9a8d0ab
UD
9817 * math/math_private.h: Define defaults for libc_fetestexcept and
9818 libc_feupdateenv.
9819 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9820 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9821 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9822 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9823 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9824 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9825 libc_fetestexcept and libc_feupdateenv.
9826
4855e3dd
UD
9827 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9828 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9829 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9830 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9831 libc_feholdexcept_setround.
9832
581d30e3
UD
9833 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9834 Add s_nearbyint-c and s_nearbyintf-c.
9835 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9836 nearbyintf inlines.
9837 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9838 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9839 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9840 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9841
d38f1dba
UD
9842 * math/math_private.h: Define defaults for libc_fegetround,
9843 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9844 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9845 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9846 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9847 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9848 standard functions.
9849 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9850 Remove comments and hacks for old compiler versions.
9851 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9852 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9853 libc_feholdexceptl.
9854
caa6c9d8
AS
98552011-10-18 Andreas Schwab <schwab@redhat.com>
9856
9857 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9858 (__feraiseexcept_renamed): Add __NTH.
9859 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9860 namespace violations.
9861
97c066e6
UD
98622011-10-17 Ulrich Drepper <drepper@gmail.com>
9863
99ce7b04
UD
9864 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9865
1004d182
UD
9866 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9867
228a984d
UD
9868 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9869 recently added interfaces.
9870 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9871
c8553a6a
UD
9872 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9873 about macro parameter expansion.
9874
ed22dcf6
UD
9875 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9876 __NO_MATH_INLINES is defined. Cleanups.
9877
9878 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9879 and __floorf is target has SSE4.1.
9880 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9881 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9882 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9883 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9884
b171c137
UD
9885 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9886 name.
9887 (floorf): Likewise.
9888
97c066e6
UD
9889 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9890
629f62ef
AS
98912011-10-17 Andreas Schwab <schwab@redhat.com>
9892
49a43d80
AS
9893 * misc/sys/cdefs.h: Fix last change.
9894
629f62ef
AS
9895 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9896 database lookup.
9897
e453f6cd
UD
98982011-10-16 Ulrich Drepper <drepper@gmail.com>
9899
aa78043a
UD
9900 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9901
ad0f5cad
UD
9902 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9903 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9904 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9905 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9906 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9907 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9908 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9909 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9910 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9911 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9912 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9913 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9914 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9915 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9916 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9917 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9918 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9919 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9920 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9921 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9922 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9923 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9924
9925 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9926 ceil, ceilf, floor, floorf.
9927
9928 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9929 Perform IRELATIVE relocations last.
9930
e453f6cd
UD
9931 * elf/do-rel.h: Add another parameter nrelative, replacing the
9932 local variable with the same name. Change name of the function
9933 to end in Rel or Rela (uppercase).
9934 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9935 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9936 elf_dynamic_do_##reloc function.
9937
fd5bdc09
UD
99382011-10-15 Ulrich Drepper <drepper@gmail.com>
9939
79b195b5
UD
9940 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9941 is sufficient, at least on modern CPUs.
9942
d4a28569
UD
9943 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9944
b61099b5
UD
9945 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9946 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9947
bcf01e6d
UD
9948 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9949 __expl_finite.
9950 * math/bits/math-finite.h: Add entries for exp.
9951 * math/e_expl.c: Add __*_finite alias.
9952 * sysdeps/i386/fpu/e_exp.S: Likewise.
9953 * sysdeps/i386/fpu/e_expf.S: Likewise.
9954 * sysdeps/i386/fpu/e_expl.c: Likewise.
9955 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9956 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9959 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9960 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9961 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9962
ba1a0d59
UD
9963 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9964 is sufficient, at least on modern CPUs.
9965
fd5bdc09
UD
9966 * ctype/ctype-info.c (__ctype_init): Define.
9967 * include/ctype.h (__ctype_init): Declare.
9968 (__ctype_b_loc): The variable is always initialized.
9969 (__ctype_toupper_loc): Likewise.
9970 (__ctype_tolower_loc): Likewise.
9971 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9972 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9973
7872cfb0
AS
99742011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9975
b468825a
AS
9976 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9977
7872cfb0
AS
9978 * configure.in: Also look in $cxxmachine/include for C++ system
9979 headers.
9980
be13f7bf
LD
99812011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9982
9983 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9984 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9985 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9986 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9987 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9988 (USE_AS_WMEMCMP): New macro.
9989 Fixing indents.
9990 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9991 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9992 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9993 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9995 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9996 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9997 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9998 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9999 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10000 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10001 (USE_AS_WMEMCMP): New macro.
10002 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10003 * sysdeps/string/test-memcmp.c: Update.
10004 Fix simple_wmemcmp.
10005 Add new tests.
10006 * wcsmbs/wmemcmp.c: Update.
10007 (WMEMCMP): New macro.
10008 Fix overflow bug.
10009
556a2007
AJ
100102011-10-12 Andreas Jaeger <aj@suse.de>
10011
10012 [BZ #13268]
10013 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10014
538faaa7
UD
100152011-10-15 Ulrich Drepper <drepper@gmail.com>
10016
ab6737ff
UD
10017 * libio/iofwide.c (do_length): Avoid warning.
10018
538faaa7
UD
10019 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10020
396a21b1
UD
100212011-10-14 Ulrich Drepper <drepper@gmail.com>
10022
cdf2901f
UD
10023 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10024
38ad40ce
UD
10025 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10026 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10027 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10028 * sysdeps/i386/i686/fpu/e_log.S: New file.
10029 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10030 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10031
396a21b1
UD
10032 * ctype/ctype.h: Add support for inlined isXXX functions when
10033 compiling C++ code.
10034
6b1f68c9
AS
100352011-10-14 Andreas Schwab <schwab@redhat.com>
10036
349290c0
AS
10037 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10038
6b1f68c9
AS
10039 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10040
f2282d42
RM
100412011-10-13 Roland McGrath <roland@hack.frob.com>
10042
10043 [BZ #13291]
10044 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10045
5298ffa8
AS
100462011-10-13 Andreas Schwab <schwab@redhat.com>
10047
714fad23
AS
10048 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10049 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10050 feraiseexcept.
10051
81dcc7fb
AS
10052 * sysdeps/x86_64/memrchr.S: Check for zero size.
10053
5298ffa8
AS
10054 * string/stratcliff.c: Add memrchr tests.
10055
951fbcec
LD
100562011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10057
10058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10059 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10060 rawmemchr-sse2 rawmemchr-sse2-bsf.
10061 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10062 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10063 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10064 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10065 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10066 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10067 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10068 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10069 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10070 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10071 * string/memrchr.c (MEMRCHR): New macro.
10072
0ac5ae23
UD
100732011-10-12 Ulrich Drepper <drepper@gmail.com>
10074
10075 Add integration with gcc's -ffinite-math-only and optimize wrapper
10076 functions in libm.
10077 * Versions.def: Define GLIBC_2.15 version for libm.
10078 * math/Makefile (headers): Add bits/math-finite.h.
10079 * math/bits/math-finite.h: New file.
10080 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10081 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10082 * math/e_acoshl.c: Add __*_finite alias.
10083 * math/e_acosl.c: Likewise.
10084 * math/e_asinl.c: Likewise.
10085 * math/e_atan2l.c: Likewise.
10086 * math/e_atanhl.c: Likewise.
10087 * math/e_coshl.c: Likewise.
10088 * math/e_exp10.c: Likewise.
10089 * math/e_exp10f.c: Likewise.
10090 * math/e_exp10l.c: Likewise.
10091 * math/e_exp2l.c: Likewise.
10092 * math/e_fmodl.c: Likewise.
10093 * math/e_gammal_r.c: Likewise.
10094 * math/e_hypotl.c: Likewise.
10095 * math/e_j0l.c: Likewise.
10096 * math/e_j1l.c: Likewise.
10097 * math/e_jnl.c: Likewise.
10098 * math/e_lgammal_r.c: Likewise.
10099 * math/e_log10l.c: Likewise.
10100 * math/e_log2l.c: Likewise.
10101 * math/e_logl.c: Likewise.
10102 * math/e_powl.c: Likewise.
10103 * math/e_sinhl.c: Likewise.
10104 * math/e_sqrtl.c: Likewise.
10105 * math/e_scalb.c: Completely rewritten and optimized.
10106 * math/e_scalbf.c: Likewise.
10107 * math/e_scalbl.c: Likewise.
10108 * math/w_acos.c: Likewise.
10109 * math/w_acosf.c: Likewise.
10110 * math/w_acosl.c: Likewise.
10111 * math/w_acosh.c: Likewise.
10112 * math/w_acoshf.c: Likewise.
10113 * math/w_acoshl.c: Likewise.
10114 * math/w_asin.c: Likewise.
10115 * math/w_asinf.c: Likewise.
10116 * math/w_asinl.c: Likewise.
10117 * math/w_atan2.c: Likewise.
10118 * math/w_atan2f.c: Likewise.
10119 * math/w_atan2l.c: Likewise.
10120 * math/w_atanh.c: Likewise.
10121 * math/w_atanhf.c: Likewise.
10122 * math/w_atanhl.c: Likewise.
10123 * math/w_exp10.c: Likewise.
10124 * math/w_exp10f.c: Likewise.
10125 * math/w_exp10l.c: Likewise.
10126 * math/w_fmod.c: Likewise.
10127 * math/w_fmodf.c: Likewise.
10128 * math/w_fmodl.c: Likewise.
10129 * math/w_j0.c: Likewise.
10130 * math/w_j0f.c: Likewise.
10131 * math/w_j0l.c: Likewise.
10132 * math/w_j1.c: Likewise.
10133 * math/w_j1f.c: Likewise.
10134 * math/w_j1l.c: Likewise.
10135 * math/w_jn.c: Likewise.
10136 * math/w_jnf.c: Likewise.
10137 * math/w_log.c: Likewise.
10138 * math/w_logf.c: Likewise.
10139 * math/w_logl.c: Likewise.
10140 * math/w_log10.c: Likewise.
10141 * math/w_log10f.c: Likewise.
10142 * math/w_log10l.c: Likewise.
10143 * math/w_log2.c: Likewise.
10144 * math/w_log2f.c: Likewise.
10145 * math/w_log2l.c: Likewise.
10146 * math/w_pow.c: Likewise.
10147 * math/w_powf.c: Likewise.
10148 * math/w_powl.c: Likewise.
10149 * math/w_remainder.c: Likewise.
10150 * math/w_remainderf.c: Likewise.
10151 * math/w_remainderl.c: Likewise.
10152 * math/w_scalb.c: Likewise.
10153 * math/w_scalbf.c: Likewise.
10154 * math/w_scalbl.c: Likewise.
10155 * math/w_sqrt.c: Likewise.
10156 * math/w_sqrtf.c: Likewise.
10157 * math/w_sqrtl.c: Likewise.
10158 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10159 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10160 used.
10161 * math/math_private.h: Declare __kernel_standard_f.
10162 * math/w_cosh.c: Remove cruft and optimize a bit.
10163 * math/w_coshf.c: Likewise.
10164 * math/w_coshl.c: Likewise.
10165 * math/w_exp2.c: Likewise.
10166 * math/w_exp2f.c: Likewise.
10167 * math/w_exp2l.c: Likewise.
10168 * math/w_hypot.c: Likewise.
10169 * math/w_hypotf.c: Likewise.
10170 * math/w_hypotl.c: Likewise.
10171 * math/w_lgamma.c: Likewise.
10172 * math/w_lgamma_r.c: Likewise.
10173 * math/w_lgammaf.c: Likewise.
10174 * math/w_lgammaf_r.c: Likewise.
10175 * math/w_lgammal.c: Likewise.
10176 * math/w_lgammal_r.c: Likewise.
10177 * math/w_sinh.c: Likewise.
10178 * math/w_sinhf.c: Likewise.
10179 * math/w_sinhl.c: Likewise.
10180 * math/w_tgamma.c: Likewise.
10181 * math/w_tgammaf.c: Likewise.
10182 * math/w_tgammal.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10184 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10185 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10186 Minor optimizations. Pretty printing. Remove cruft.
10187 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10188 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10189 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10190 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10191 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10192 * sysdeps/i386/fpu/e_asin.S: Likewise.
10193 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10194 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10195 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10196 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10197 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10198 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10199 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10200 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10201 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10202 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10203 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10204 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10205 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10206 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10207 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10208 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10209 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10210 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10211 * sysdeps/i386/fpu/e_log.S: Likewise.
10212 * sysdeps/i386/fpu/e_log10.S: Likewise.
10213 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10214 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10215 * sysdeps/i386/fpu/e_log2.S: Likewise.
10216 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10217 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10218 * sysdeps/i386/fpu/e_logf.S: Likewise.
10219 * sysdeps/i386/fpu/e_logl.S: Likewise.
10220 * sysdeps/i386/fpu/e_pow.S: Likewise.
10221 * sysdeps/i386/fpu/e_powf.S: Likewise.
10222 * sysdeps/i386/fpu/e_powl.S: Likewise.
10223 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10224 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10225 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10226 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10227 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10228 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10229 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10230 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10231 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10235 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10236 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10239 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10241 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10242 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10243 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10244 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10245 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10246 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10248 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10249 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10250 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10252 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10253 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10254 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10255 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10256 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10257 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10258 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10259 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10260 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10261 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10262 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10263 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10264 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10265 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10266 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10267 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10268 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10269 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10270 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10271 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10272 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10273 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10282 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10312 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10315 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10317 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10318 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10320 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10323 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10324 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10325 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10326 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10327 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10328 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10329 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10330 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10331 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10332 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10333 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10334 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10335 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10336 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10337 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10338 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10339 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10340 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10341 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10342 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10343 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10344 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10345 (__isnanf): Likewise.
10346 (__isinf_ns): Likewise.
10347 (__isinf_nsf): Likewise.
10348 (__finite): Likewise.
10349 (__finitef): Likewise.
10350 (__ieee754_sqrt): Define as macro.
10351 (__ieee754_sqrtf): Define as macro.
10352 (__ieee754_sqrtl): Define as macro.
10353 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10354 inlined copy.
10355 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10356 __FINITE_MATH_ONLY__ consistent.
10357 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10358
12cc2fcd
AS
103592011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10360
a843a204
AS
10361 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10362 of rawmemchr.
10363
12cc2fcd
AS
10364 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10365
c853acd5
UD
103662011-10-09 Ulrich Drepper <drepper@gmail.com>
10367
10368 * po/ja.po: Update from translation team.
10369
c658d255
RM
103702011-10-08 Roland McGrath <roland@hack.frob.com>
10371
110946e4
RM
10372 * locale/programs/locarchive.c (prepare_address_space): New function.
10373 (create_archive, enlarge_archive, open_archive): Use it.
10374
50604220
RM
10375 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10376 inside [SHARED], where it is used.
10377
c658d255
RM
10378 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10379
10380 * nss/getent.c (netgroup_keys): Remove unused variable.
10381 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10382
6a621eb7
UD
103832011-10-08 Ulrich Drepper <drepper@gmail.com>
10384
7edb55ce
UD
10385 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10386 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10388 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10389 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10390 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10391 * math/Makefile (libm-calls): Add s_isinf_ns.
10392 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10393 * math/multc3.c: Likewise.
10394 * math/s_casin.c: Likewise.
10395 * math/s_casinf.c: Likewise.
10396 * math/s_casinl.c: Likewise.
10397 * math/s_ccos.c: Likewise.
10398 * math/s_ccosf.c: Likewise.
10399 * math/s_ccosl.c: Likewise.
10400 * math/s_ctan.c: Likewise.
10401 * math/s_ctanf.c: Likewise.
10402 * math/s_ctanh.c: Likewise.
10403 * math/s_ctanhf.c: Likewise.
10404 * math/s_ctanhl.c: Likewise.
10405 * math/s_ctanl.c: Likewise.
10406 * math/w_fmod.c: Likewise.
10407 * math/w_fmodf.c: Likewise.
10408 * math/w_fmodl.c: Likewise.
10409 * math/w_remainder.c: Likewise.
10410 * math/w_remainderf.c: Likewise.
10411 * math/w_remainderl.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10413 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10414 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10415 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10416 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10417 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10418 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10419 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10420
187da0ae
UD
10421 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10422 of the number.
10423 * stdio-common/printf_fphex.c: Likewise.
10424 * stdio-common/printf_size.c: Likewise.
10425
9277c064
UD
10426 * math/e_exp10.c: Include math_private.h using <...> not "...".
10427 * math/e_exp10f.c: Likewise.
10428 * math/e_exp10l.c: Likewise.
10429 * math/e_exp2l.c: Likewise.
10430 * math/e_j0l.c: Likewise.
10431 * math/e_j1l.c: Likewise.
10432 * math/e_jnl.c: Likewise.
10433 * math/e_lgammal_r.c: Likewise.
10434 * math/e_rem_pio2l.c: Likewise.
10435 * math/e_scalb.c: Likewise.
10436 * math/e_scalbf.c: Likewise.
10437 * math/e_scalbl.c: Likewise.
10438 * math/k_cosl.c: Likewise.
10439 * math/k_sinl.c: Likewise.
10440 * math/k_tanl.c: Likewise.
10441 * math/s_cacoshf.c: Likewise.
10442 * math/s_catan.c: Likewise.
10443 * math/s_catanf.c: Likewise.
10444 * math/s_catanh.c: Likewise.
10445 * math/s_catanhf.c: Likewise.
10446 * math/s_catanhl.c: Likewise.
10447 * math/s_catanl.c: Likewise.
10448 * math/s_ccosh.c: Likewise.
10449 * math/s_ccoshf.c: Likewise.
10450 * math/s_ccoshl.c: Likewise.
10451 * math/s_cexp.c: Likewise.
10452 * math/s_cexpf.c: Likewise.
10453 * math/s_cexpl.c: Likewise.
10454 * math/s_clog.c: Likewise.
10455 * math/s_clog10.c: Likewise.
10456 * math/s_clog10f.c: Likewise.
10457 * math/s_clog10l.c: Likewise.
10458 * math/s_clogf.c: Likewise.
10459 * math/s_clogl.c: Likewise.
10460 * math/s_csin.c: Likewise.
10461 * math/s_csinf.c: Likewise.
10462 * math/s_csinh.c: Likewise.
10463 * math/s_csinhf.c: Likewise.
10464 * math/s_csinhl.c: Likewise.
10465 * math/s_csinl.c: Likewise.
10466 * math/s_csqrt.c: Likewise.
10467 * math/s_csqrtf.c: Likewise.
10468 * math/s_csqrtl.c: Likewise.
10469 * math/s_ctan.c: Likewise.
10470 * math/s_ctanf.c: Likewise.
10471 * math/s_ctanh.c: Likewise.
10472 * math/s_ctanhf.c: Likewise.
10473 * math/s_ctanhl.c: Likewise.
10474 * math/s_ctanl.c: Likewise.
10475 * math/s_ldexp.c: Likewise.
10476 * math/s_ldexpf.c: Likewise.
10477 * math/s_ldexpl.c: Likewise.
10478 * math/s_significand.c: Likewise.
10479 * math/s_significandf.c: Likewise.
10480 * math/s_significandl.c: Likewise.
10481 * math/w_acos.c: Likewise.
10482 * math/w_acosf.c: Likewise.
10483 * math/w_acosh.c: Likewise.
10484 * math/w_acoshf.c: Likewise.
10485 * math/w_acoshl.c: Likewise.
10486 * math/w_acosl.c: Likewise.
10487 * math/w_asin.c: Likewise.
10488 * math/w_asinf.c: Likewise.
10489 * math/w_asinl.c: Likewise.
10490 * math/w_atan2.c: Likewise.
10491 * math/w_atan2f.c: Likewise.
10492 * math/w_atan2l.c: Likewise.
10493 * math/w_atanh.c: Likewise.
10494 * math/w_atanhf.c: Likewise.
10495 * math/w_atanhl.c: Likewise.
10496 * math/w_cosh.c: Likewise.
10497 * math/w_coshf.c: Likewise.
10498 * math/w_coshl.c: Likewise.
10499 * math/w_dremf.c: Likewise.
10500 * math/w_exp10.c: Likewise.
10501 * math/w_exp10f.c: Likewise.
10502 * math/w_exp10l.c: Likewise.
10503 * math/w_exp2.c: Likewise.
10504 * math/w_exp2f.c: Likewise.
10505 * math/w_fmod.c: Likewise.
10506 * math/w_fmodf.c: Likewise.
10507 * math/w_fmodl.c: Likewise.
10508 * math/w_hypot.c: Likewise.
10509 * math/w_hypotf.c: Likewise.
10510 * math/w_hypotl.c: Likewise.
10511 * math/w_j0.c: Likewise.
10512 * math/w_j0f.c: Likewise.
10513 * math/w_j0l.c: Likewise.
10514 * math/w_j1.c: Likewise.
10515 * math/w_j1f.c: Likewise.
10516 * math/w_j1l.c: Likewise.
10517 * math/w_jn.c: Likewise.
10518 * math/w_jnf.c: Likewise.
10519 * math/w_jnl.c: Likewise.
10520 * math/w_lgamma.c: Likewise.
10521 * math/w_lgamma_r.c: Likewise.
10522 * math/w_lgammaf.c: Likewise.
10523 * math/w_lgammaf_r.c: Likewise.
10524 * math/w_lgammal.c: Likewise.
10525 * math/w_lgammal_r.c: Likewise.
10526 * math/w_log.c: Likewise.
10527 * math/w_log10.c: Likewise.
10528 * math/w_log10f.c: Likewise.
10529 * math/w_log10l.c: Likewise.
10530 * math/w_log2.c: Likewise.
10531 * math/w_log2f.c: Likewise.
10532 * math/w_log2l.c: Likewise.
10533 * math/w_logf.c: Likewise.
10534 * math/w_logl.c: Likewise.
10535 * math/w_pow.c: Likewise.
10536 * math/w_powf.c: Likewise.
10537 * math/w_powl.c: Likewise.
10538 * math/w_remainder.c: Likewise.
10539 * math/w_remainderf.c: Likewise.
10540 * math/w_remainderl.c: Likewise.
10541 * math/w_scalb.c: Likewise.
10542 * math/w_scalbf.c: Likewise.
10543 * math/w_scalbl.c: Likewise.
10544 * math/w_sinh.c: Likewise.
10545 * math/w_sinhf.c: Likewise.
10546 * math/w_sinhl.c: Likewise.
10547 * math/w_sqrt.c: Likewise.
10548 * math/w_sqrtf.c: Likewise.
10549 * math/w_sqrtl.c: Likewise.
10550 * math/w_tgamma.c: Likewise.
10551 * math/w_tgammaf.c: Likewise.
10552 * math/w_tgammal.c: Likewise.
10553
6a621eb7
UD
10554 * po/ja.po: Update from translation team.
10555
bf582445
AJ
105562011-09-29 Andreas Jaeger <aj@suse.de>
10557
f9efbf3a
AJ
10558 [BZ #13179]
10559 * sunrpc/netname.c (netname2host): Fix logic.
10560
bf582445
AJ
10561 [BZ #6779]
10562 [BZ #6783]
10563 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10564 correctly.
10565 * math/w_remainder.c (__remainder): Likewise.
10566 * math/w_remainderf.c (__remainderf): Likewise.
10567 * math/libm-test.inc (remainder_test): Add test cases.
10568
48693bea
AK
105692011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10570
10571 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10572 sdiv_qrnnd.
10573
42622229
LD
105742011-10-07 Ulrich Drepper <drepper@gmail.com>
10575
10576 * string/test-memcmp.c: Avoid unncessary #defines.
10577 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10578
093ecf92
LD
105792011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10580
10581 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10582 Use new sse2 version for core i3 - i7 as it's faster
10583 than sse42 version.
10584 (bit_Prefer_PMINUB_for_stringop): New.
10585 * sysdeps/x86_64/rawmemchr.S: Update.
10586 Replace with faster SSE2 version.
10587 * sysdeps/x86_64/memrchr.S: New file.
10588 * sysdeps/x86_64/memchr.S: Update.
10589 Replace with faster SSE2 version.
10590
fde56e5c
MP
105912011-09-12 Marek Polacek <mpolacek@redhat.com>
10592
10593 * elf/dl-load.c (lose): Add cast to avoid warning.
10594
21fd49a9
UD
105952011-10-07 Ulrich Drepper <drepper@gmail.com>
10596
5a06e643
UD
10597 * po/ca.po: Update from translation team.
10598
684ae515
UD
10599 * inet/getnetgrent_r.c: Hook up nscd.
10600 * nscd/Makefile (routines): Add nscd_netgroup.
10601 (nscd-modules): Add netgroupcache.
10602 (CFLAGS-netgroupcache.c): Define.
10603 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10604 (cache_search): Add const to second parameter.
10605 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10606 INNETGR.
10607 (dbs): Add netgrdb entry.
10608 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10609 (verify_persistent_db): Handle netgrdb.
10610 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10611 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10612 GETFDNETGR.
10613 (netgroup_response_header): Define.
10614 (innetgroup_response_header): Define.
10615 (datahead): Add netgroup_response_header and innetgroup_response_header
10616 elements.
10617 * nscd/nscd.conf: Add entries for netgroup cache.
10618 * nscd/nscd.h (dbtype): Add netgrdb.
10619 (_PATH_NSCD_NETGROUP_DB): Define.
10620 (netgroup_iov_disabled): Declare.
10621 (xmalloc, xcalloc, xrealloc): Move declarations here.
10622 (cache_search): Adjust prototype.
10623 Add netgroup-related prototypes.
10624 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10625 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10626 (__nscd_innetgr): Declare.
10627 * nscd/selinux.c (perms): Use access_vector_t as element type and
10628 add netgroup-related initializers.
10629 * nscd/netgroupcache.c: New file.
10630 * nscd/nscd_netgroup.c: New file.
10631 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10632 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10633 For four parameters use innetgr.
10634 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10635 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10636 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10637 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10638
21fd49a9
UD
10639 * nscd/connections.c (register_traced_file): Don't register file
10640 for disabled databases.
10641
054c0457
UD
106422011-10-06 Ulrich Drepper <drepper@gmail.com>
10643
32b63198
UD
10644 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10645
054c0457
UD
10646 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10647 from tree and freeing node.
10648
64031225
JO
106492011-09-25 Jiri Olsa <jolsa@redhat.com>
10650
10651 * nss/nsswitch.c (__nss_database_lookup): Handle
10652 nss_parse_service_list out of memory case.
10653
0490345c
JO
106542011-09-15 Jiri Olsa <jolsa@redhat.com>
10655
10656 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10657 out of memory case.
10658
3a62d00d
AS
106592011-10-04 Andreas Schwab <schwab@redhat.com>
10660
10661 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10662 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10663 pass it down.
10664 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10665 elf_machine_rela, elf_machine_lazy_rel.
10666 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10667 (ELF_DYNAMIC_DO_REL): Likewise.
10668 (ELF_DYNAMIC_DO_RELA): Likewise.
10669 (ELF_DYNAMIC_RELOCATE): Likewise.
10670 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10671 to ELF_DYNAMIC_DO_REL.
10672 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10673 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10674 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10675 elf_machine_rela.
10676 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10677 skip_ifunc, don't call ifunc function if non-zero.
10678 (elf_machine_rela): Likewise.
10679 (elf_machine_lazy_rel): Likewise.
10680 (elf_machine_lazy_rela): Likewise.
10681 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10682 (elf_machine_lazy_rel): Likewise.
10683 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10684 Likewise.
10685 (elf_machine_lazy_rel): Likewise.
10686 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10687 Likewise.
10688 (elf_machine_lazy_rel): Likewise.
10689 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10690 (elf_machine_lazy_rel): Likewise.
10691 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10692 (elf_machine_lazy_rel): Likewise.
10693 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10694 (elf_machine_lazy_rel): Likewise.
10695 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10696 (elf_machine_lazy_rel): Likewise.
10697 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10698 (elf_machine_lazy_rel): Likewise.
10699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10700 (elf_machine_lazy_rel): Likewise.
10701
68577918
UD
107022011-09-28 Ulrich Drepper <drepper@gmail.com>
10703
10704 * nss/nss_files/files-init.c (_nss_files_init): Use static
10705 initialization for all the *_traced_file variables.
10706
68822d74
AS
107072011-09-28 Andreas Schwab <schwab@redhat.com>
10708
10709 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10710
2056100b
RM
107112011-09-27 Roland McGrath <roland@hack.frob.com>
10712
10713 [BZ #13226]
10714 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10715
32c76b63
AS
107162011-09-27 Andreas Schwab <schwab@redhat.com>
10717
10718 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10719 Reread the line before reparsing it.
10720
bf972c9d
AS
107212011-09-26 Andreas Schwab <schwab@redhat.com>
10722
10723 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10724
e057a1b5
JM
107252011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10726 Maxim Kuvyrkov <maxim@codesourcery.com>
10727 Joseph Myers <joseph@codesourcery.com>
10728
10729 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10730 if needed for __stack_chk_guard.
10731
bc7e1c36
RM
107322011-09-19 Roland McGrath <roland@hack.frob.com>
10733
ecb1482f
RM
10734 * sysdeps/posix/spawni.c (script_execute): Always define it.
10735 It will be optimized away if unused.
10736 (maybe_script_execute): New function.
10737 (__spawni): Call it.
10738
bc7e1c36
RM
10739 * Makerules: Don't include tls.make.
10740 (config-tls): Always set to thread.
10741 * tls.make.c: File removed.
10742
1c3b002b
MF
107432011-09-19 Mike Frysinger <vapier@gentoo.org>
10744
10745 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10746 * config.make.in (CPPFLAGS-config): New substituted variable.
10747
2840865d
UD
107482011-09-15 Ulrich Drepper <drepper@gmail.com>
10749
88738eb6
UD
10750 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10751
cbf645a6 10752 [BZ #13192]
2840865d
UD
10753 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10754 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10755
b402e91a
RM
107562011-09-15 Roland McGrath <roland@hack.frob.com>
10757
10758 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10759 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10760 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10761 (CALL_FAIL): Likewise.
10762 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10763 (CALL_FAIL): Macro removed.
10764 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10765
4c1a1f71
UD
107662011-09-15 Ulrich Drepper <drepper@gmail.com>
10767
10768 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10769 for __FINITE_MATH_ONLY__ == 1.
10770
edc121be
AS
107712011-09-15 Andreas Schwab <schwab@redhat.com>
10772
10773 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10774 __ieee754_sqrt instead of sqrt.
10775 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10776 __ieee754_sqrtf instead of sqrtf.
10777 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10778 __floorf instead of floorf.
10779 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10780 __floorf, __truncf instead of floorf, truncf.
10781
cd205654
UD
107822011-09-14 Ulrich Drepper <drepper@gmail.com>
10783
ee4d0315
UD
10784 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10785
cd205654
UD
10786 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10787 __extern_always_inline.
10788 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10789 32-bit.
10790
48b67d71
AS
107912011-09-14 Andreas Schwab <schwab@redhat.com>
10792
10793 * elf/rtld.c (dl_main): Also relocate in dependency order when
10794 doing symbol dependency testing.
10795
1ae12c75
AS
107962011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10797
10798 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10799 Always define `refsym'.
10800
995a80df
AS
108012011-09-13 Andreas Schwab <schwab@redhat.com>
10802
e529793b
AS
10803 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10804 (__FD_ELT): Renamed from __FDELT.
10805 * misc/bits/select2.h (__FD_ELT): Likewise.
10806 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10807 __FD_MASK instead of __FDELT, __FDMASK.
10808 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10809 Likewise.
10810 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10811 Likewise.
10812
52d4fef8
AS
10813 * elf/Makefile (gen-ldd): Fix pattern.
10814
995a80df
AS
10815 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10816 (init_tls): Likewise.
10817
8682f8b0
UD
108182011-09-12 Ulrich Drepper <drepper@gmail.com>
10819
10820 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10821
de82006d
AS
108222011-09-12 Andreas Schwab <schwab@redhat.com>
10823
a7c8e6a1
AS
10824 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10825 `struct cmsghdr *' instead of `void *'.
10826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10827 Likewise.
10828
0f31fe77
AS
108292011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10830
10831 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10832 if non-absolute.
10833 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10834 ldd_rewrite_script.
0f31fe77 10835
32b4c839
UD
108362011-09-11 Ulrich Drepper <drepper@gmail.com>
10837
83cd1420
UD
10838 * configure.in: Remove --with-tls option.
10839 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10840 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10841 out in case it is missing.
10842 * sysdeps/ia64/elf/configure.in: Likewise.
10843 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10844 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10845 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10846 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10847 * sysdeps/sh/elf/configure.in: Likewise.
10848 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10849 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10850 * sysdeps/x86_64/elf/configure.in: Likewise.
10851 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10852 * sysdeps/mach/hurd/tls.h: Likewise.
10853
633f745d
UD
10854 [BZ #13067]
10855 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10856
f318beb8
UD
10857 [BZ #13090]
10858 * configure.in: Fix use of AC_INIT.
10859
32b4c839
UD
10860 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10861
3ce1f295
UD
108622011-09-10 Ulrich Drepper <drepper@gmail.com>
10863
bb016596
UD
10864 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10865 __set_errno.
8e58439c
UD
10866 * malloc/hooks.c: Likewise.
10867
aebae053 10868 [BZ #11929]
02d46fc4
UD
10869 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10870 variables statically.
10871 (narenas): Initialize.
10872 (list_lock): Initialize.
bb016596
UD
10873 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10874 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10875 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10876 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10877 Add initializers to main_arena and mp_.
10878 (malloc_state): Remove pagesize member. Change all users to use
10879 GLRO(dl_pagesize).
10880
10881 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10882 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10883 is always initialized.
10884
22a89187
UD
10885 * malloc/malloc.c: Removed unused configurations and dead code.
10886 * malloc/arena.c: Likewise.
10887 * malloc/hooks.c: Likewise.
02d46fc4 10888 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10889
d063d164
UD
10890 * include/tls.h: Removed. USE___THREAD must always be defined.
10891 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10892 * elf/dl-libc.c: Likewise.
10893 * elf/dl-tsd.c: Likewise.
10894 * include/errno.h: Likewise.
10895 * include/netdb.h: Likewise.
10896 * include/resolv.h: Likewise.
10897 * inet/herrno-loc.c: Likewise.
10898 * inet/herrno.c: Likewise.
10899 * malloc/arena.c: Likewise.
10900 * malloc/hooks.c: Likewise.
10901 * malloc/malloc.c: Likewise.
10902 * resolv/res-state.c: Likewise.
10903 * resolv/res_libc.c: Likewise.
10904 * sysdeps/i386/dl-machine.h: Likewise.
10905 * sysdeps/ia64/dl-machine.h: Likewise.
10906 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10907 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10908 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10909 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10910 * sysdeps/sh/dl-machine.h: Likewise.
10911 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10912 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10913 * sysdeps/unix/i386/sysdep.S: Likewise.
10914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10915 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10916 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10917 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10918 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10919 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10920 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10921 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10922 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10923 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10924 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10925 * sysdeps/x86_64/dl-machine.h: Likewise.
10926 * tls.make.c: Likewise.
10927
3ce1f295
UD
10928 * configure.in: Remove --with-__thread option. Make tests for
10929 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10930 tls_model attribute fail if no support is available. Remove
10931 USE_IN_LIBIO.
10932 * Makeconfig: Adjust for dropped configure option. All features are
10933 now mandatory.
10934 * Makerules: Likewise.
10935 * Versions.def: Likewise.
10936 * argp/argp-fmtstream.c: Likewise.
10937 * argp/argp-fmtstream.h: Likewise.
10938 * argp/argp-help.c: Likewise.
10939 * assert/assert.c: Likewise.
10940 * config.h.in: Likewise.
10941 * config.make.in: Likewise.
10942 * configure: Likewise.
10943 * configure.in: Likewise.
10944 * csu/Versions: Likewise.
10945 * csu/init.c: Likewise.
10946 * elf/tst-audit2.c: Likewise.
10947 * elf/tst-tls10.c: Likewise.
10948 * elf/tst-tls10.h: Likewise.
10949 * elf/tst-tls11.c: Likewise.
10950 * elf/tst-tls12.c: Likewise.
10951 * elf/tst-tls14.c: Likewise.
10952 * elf/tst-tlsmod11.c: Likewise.
10953 * elf/tst-tlsmod12.c: Likewise.
10954 * elf/tst-tlsmod13.c: Likewise.
10955 * elf/tst-tlsmod13a.c: Likewise.
10956 * elf/tst-tlsmod14a.c: Likewise.
10957 * elf/tst-tlsmod15b.c: Likewise.
10958 * elf/tst-tlsmod16a.c: Likewise.
10959 * elf/tst-tlsmod16b.c: Likewise.
10960 * elf/tst-tlsmod7.c: Likewise.
10961 * elf/tst-tlsmod8.c: Likewise.
10962 * elf/tst-tlsmod9.c: Likewise.
10963 * gmon/gmon.c: Likewise.
10964 * grp/fgetgrent_r.c: Likewise.
10965 * grp/putgrent.c: Likewise.
10966 * hurd/fopenport.c: Likewise.
10967 * include/libc-symbols.h: Likewise.
10968 * include/tls.h: Likewise.
10969 * intl/gettextP.h: Likewise.
10970 * intl/loadinfo.h: Likewise.
10971 * locale/global-locale.c: Likewise.
10972 * locale/localeinfo.h: Likewise.
10973 * mach/devstream.c: Likewise.
10974 * malloc/arena.c: Likewise.
10975 * malloc/set-freeres.c: Likewise.
10976 * misc/err.c: Likewise.
10977 * misc/getttyent.c: Likewise.
10978 * misc/mntent_r.c: Likewise.
10979 * posix/getopt.c: Likewise.
10980 * posix/wordexp.c: Likewise.
10981 * pwd/fgetpwent_r.c: Likewise.
10982 * resolv/Versions: Likewise.
10983 * resolv/res_hconf.c: Likewise.
10984 * shadow/fgetspent_r.c: Likewise.
10985 * shadow/putspent.c: Likewise.
10986 * stdio-common/printf_fphex.c: Likewise.
10987 * stdio-common/tmpfile.c: Likewise.
10988 * stdlib/abort.c: Likewise.
10989 * stdlib/fmtmsg.c: Likewise.
10990 * sunrpc/auth_unix.c: Likewise.
10991 * sunrpc/clnt_perr.c: Likewise.
10992 * sunrpc/clnt_tcp.c: Likewise.
10993 * sunrpc/clnt_udp.c: Likewise.
10994 * sunrpc/clnt_unix.c: Likewise.
10995 * sunrpc/openchild.c: Likewise.
10996 * sunrpc/svc_simple.c: Likewise.
10997 * sunrpc/svc_tcp.c: Likewise.
10998 * sunrpc/svc_udp.c: Likewise.
10999 * sunrpc/svc_unix.c: Likewise.
11000 * sunrpc/xdr.c: Likewise.
11001 * sunrpc/xdr_array.c: Likewise.
11002 * sunrpc/xdr_rec.c: Likewise.
11003 * sunrpc/xdr_ref.c: Likewise.
11004 * sunrpc/xdr_stdio.c: Likewise.
11005
1248c1c4
PB
110062011-09-09 Ulrich Drepper <drepper@gmail.com>
11007
11008 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11009
110102011-07-03 Andreas Jaeger <aj@suse.de>
11011
11012 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11013 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11014 regenerate with gen-libm-tests.pl.
11015
110162010-05-12 Petr Baudis <pasky@suse.cz>
11017
11018 [BZ #11589]
11019 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11020 around j0() zero points by switching to j1().
11021 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11022 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11023 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11024 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11025
f22e1074
UD
110262011-09-09 Ulrich Drepper <drepper@gmail.com>
11027
f19009c1
UD
11028 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11029 instead of 0.
11030 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11031 instead of 0. .
11032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11033 Patch in part by Pavel Roskin <proski@gnu.org>.
11034
3f8cc204
UD
11035 [BZ #13138]
11036 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11037 realloc.
11038 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11039 Free memory block if necessary.
11040
f22e1074
UD
11041 [BZ #12847]
11042 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11043 be NULL. Don't lock in this case.
11044
0a2349f9
RM
110452011-09-09 Roland McGrath <roland@hack.frob.com>
11046
11047 * elf/elf.h (ELFOSABI_GNU): New macro.
11048 (ELFOSABI_LINUX): Define to that.
11049
f3cdd467
DZ
110502011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11051
11052 * string/strncat.c (strncat): Undef the symbol in case it has been
11053 defined in bits/string.h.
11054
74718d13
UD
110552011-09-09 Ulrich Drepper <drepper@gmail.com>
11056
633e9e0f
UD
11057 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11058
0a2349f9 11059 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11060 link map.
11061
f9924780
AJ
110622011-08-17 Andreas Jaeger <aj@suse.de>
11063
11064 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11065
7f5517aa
PP
110662011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11067 Ian Lance Taylor <iant@google.com>
11068
11069 * math/libm-test.inc (lround_test): New testcase.
11070 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11071
762011fe
UD
110722011-09-08 Ulrich Drepper <drepper@gmail.com>
11073
92963737
UD
11074 * Makefile: Remove support for automatic cvs check-ins.
11075 * Makerules: Likewise.
11076 * config.make.in: Likewise.
11077 * configure.in: Likewise.
11078 * intl/Makefile: Likewise.
11079 * locale/Makefile: Likewise.
11080 * po/Makefile: Likewise.
11081 * posix/Makefile: Likewise.
11082 * sysdeps/gnu/Makefile: Likewise.
11083 * sysdeps/mach/hurd/Makefile: Likewise.
11084 * sysdeps/sparc/sparc32/Makefile: Likewise.
11085
b0727fd8
JS
11086 [BZ #13118]
11087 * posix/Makefile (bug-regex32-ENV): Define.
11088 Patch by John Stanley <jpsinthemix@verizon.net>.
11089
a0f33f99
UD
11090 * misc/Makefile (headers): Add bits/select2.h.
11091 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11092 * misc/bits/select2.h: New file.
11093 * include/bits/select2.h: New file.
11094 * debug/Makefile (routines): Add fdelt_chk.
11095 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11096 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11097 FD_ISSET.
11098 * debug/fdelt_chk.c: New file.
11099
762011fe
UD
11100 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11101 * wcsmbs/test-wmemcmp.c: Likewise.
11102 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11103 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11104
111052011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11106
11107 * string/Makefile (strop-tests): Add memcmp.
11108 * string/test-wmemcmp.c: New file.
11109 * string/test-memcmp.c: Add wmemcmp support.
11110
7f513ec8
RM
111112011-09-08 Roland McGrath <roland@hack.frob.com>
11112
0442afb4
RM
11113 [BZ #13153]
11114 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11115 2011-07-19 change.
11116
7f513ec8
RM
11117 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11118 garbage value in a __mach_port_mod_refs call in the cases of the
11119 task-self and thread-self ports.
11120
a12b2239
ST
111212011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11122
11123 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11124
610f9ab4
AS
111252011-09-08 Andreas Schwab <schwab@redhat.com>
11126
7f513ec8 11127 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11128
48882a1a
LD
111292011-09-07 Ulrich Drepper <drepper@gmail.com>
11130
b49865be
UD
11131 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11132
fdc86bc9
UD
11133 * elf/dl-libc.c (dlerror_run): Pass back error code from
11134 dl_catch_error.
11135
c966526a
UD
11136 [BZ #13123]
11137 * elf/dl-load.c (lose): Free l_origin if it is valid.
11138
48882a1a
LD
11139 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11140 names.
11141 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11142 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11143 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11144 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11145 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11146 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11147
77a2a8b4
AZ
111482011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11149
11150 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11151 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11152 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11153 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11154 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11155 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11156 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11157 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11158 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11159 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11160
24f579d8
AM
111612011-08-15 Alan Modra <amodra@gmail.com>
11162
11163 [BZ #13092]
11164 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11165 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11166 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11167 ppc_mcount to static-only-routines.
11168 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11169 __mcount_internal.
11170 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11171 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11172
3d4837df
UD
111732011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11174
11175 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11176 for finite and infinity parameters.
11177
22700377
WS
111782011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11179
11180 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11181 and add nop instructions for throughput optimization.
11182 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11183
5025581e
WS
111842011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11185
11186 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11187 aligned copy for power7 with vector-scalar instructions.
11188 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11189
08a300c9
L
111902011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11191
11192 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11193 AVX check.
11194
59178ef9
AS
111952011-09-07 Andreas Schwab <schwab@redhat.com>
11196
11197 [BZ #13144]
11198 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11199 last change.
11200
e38ba7ab
UD
112012011-09-07 Ulrich Drepper <drepper@gmail.com>
11202
11203 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11204 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11205 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11206 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11207 clock_gettime.
11208
d53a73ac
UD
112092011-09-06 Ulrich Drepper <drepper@gmail.com>
11210
fc8bffcc
UD
11211 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11212 Forgot to demangle the pointer.
11213
ceaa0c5d
UD
11214 * sysdeps/i386/sysdep.h: Define atom_text_section.
11215 * sysdeps/x86_64/sysdep.h: Likewise.
11216 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11217 section with atom_text_section.
11218 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11219 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11220 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11221 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11222 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11223
a77d3c17
UD
11224 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11225 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11226 already be defined. Change to take two parameters and don't assign
11227 result to variable. Adjust all users.
11228 Define INTERNAL_GETTIME if not already defined.
11229 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11230 call.
11231 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11232 HAVE_CLOCK_GETTIME_VSYSCALL.
11233 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11234
d53a73ac
UD
11235 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11236 gettimeofday vsyscall, just use time.
11237
a8f84144
AS
112382011-09-06 Andreas Schwab <schwab@redhat.com>
11239
11240 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11241 <errno.h>.
11242
ef606249
UD
112432011-09-06 Ulrich Drepper <drepper@gmail.com>
11244
11245 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11246 syscall on x86-64.
11247 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11248 syscall.
11249 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11250 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11251 syscall if possible.
11252
6585cb60
UD
112532011-09-05 Ulrich Drepper <drepper@gmail.com>
11254
11255 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11256 e_ident. Don't pass to find_mapsXX.
11257 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11258
a5f524e4
LD
112592011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11260
11261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11262 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11263 * sysdeps/x86_64/multiarch/strchr.S: Update.
11264 Check bit_slow_BSF bit.
11265 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11266 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11267 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11268
554881ef
UD
112692011-09-05 Ulrich Drepper <drepper@gmail.com>
11270
d96de963
UD
11271 [BZ #13134]
11272 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11273 before glibc 2.15.
11274 (tryshell): Define.
11275 (__spawni): Change last parameter to be flag. Test
11276 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11277 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11278 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11279 * posix/spawni.c: Likewise.
11280 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11281 * posix/spawnp.c: Likewise. Change normal version to use
11282 SPAWN_XFLAGS_USE_PATH.
11283 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11284 SPAWN_XFLAGS_TRY_SHELL.
11285
d48e5868
UD
11286 [BZ #13150]
11287 * posix/glob.h: Remove gcc 1.x support.
11288
554881ef
UD
11289 [BZ #13068]
11290 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11291
693fb948
LD
112922011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11293
11294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11295 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11296 strrchr-sse2-bsf
11297 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11298 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11299 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11300 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11301 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11302 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11303
1b48c537
UD
113042011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11305
49d42c37
UD
11306 * sysdeps/x86_64/wcscmp.S: New file.
11307
1b48c537
UD
11308 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11309 wcscmp-c wcscmp-sse2
11310 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11311 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11312 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11313 * wcsmbs/wcscmp.c: Allow renaming.
11314
15c95c5d
DM
113152011-09-05 David S. Miller <davem@davemloft.net>
11316
11317 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11318 stack slot, rather than the struct return pointer slot.
11319 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11320 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11322 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11323
2f0ad8f3
UD
113242011-09-05 Ulrich Drepper <drepper@gmail.com>
11325
d88ae418
UD
11326 * po/ja.po: Update from translation team.
11327
2f0ad8f3
UD
11328 [BZ #13144]
11329 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11330 kernel in 64-bit binaries.
11331
5f4318d1
DM
113322011-09-01 David S. Miller <davem@davemloft.net>
11333
11334 * elf/elf.h (HWCAP_SPARC_*): Move to..
11335 * sysdeps/sparc/sysdep.h: this new file and add new values.
11336 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11337 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11338 _DL_HWCAP_COUNT to 24.
11339 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11340 entries.
11341 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11342 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11343 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11345 instead of magic constants.
11346 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11347
3ba57516
DM
113482011-08-31 David S. Miller <davem@davemloft.net>
11349
11350 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11352 Reimplement to do errno handling inline.
11353 (SYSCALL_ERROR_HANDLER): New macro.
11354 (__SYSCALL_STRING): Do not do errno handling in asm.
11355 (__CLONE_SYSCALL_STRING): Delete.
11356 (__INTERNAL_SYSCALL_STRING): Delete.
11357 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11358 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11359 (PSEUDO): Reimplement to do errno handling inline.
11360 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11361 (SYSCALL_ERROR_HANDLER): New macro.
11362 (__SYSCALL_STRING): Do not do errno handling in asm.
11363 (__CLONE_SYSCALL_STRING): Delete.
11364 (__INTERNAL_SYSCALL_STRING): Delete.
11365 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11366 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11367 i386.
11368 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11369 (inline_syscall*): Add 'err' argument.
11370 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11371 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11372 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11373 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11374
11375 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11376 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11377
2bc17433
AS
113782011-08-30 Andreas Schwab <schwab@redhat.com>
11379
11380 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11381
fbeb5f4d
JO
113822011-08-29 Jiri Olsa <jolsa@redhat.com>
11383
11384 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11385 directive.
11386
ad69cc26
DM
113872011-08-24 David S. Miller <davem@davemloft.net>
11388
11389 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11390
39dd69df
AS
113912011-08-24 Andreas Schwab <schwab@redhat.com>
11392
11393 * elf/Makefile: Add rules to build and run unload8 test.
11394 * elf/unload8.c: New file.
11395 * elf/unload8mod1.c: New file.
11396 * elf/unload8mod1x.c: New file.
11397 * elf/unload8mod2.c: New file.
11398 * elf/unload8mod3.c: New file.
11399
11400 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11401 it wasn't used.
11402
2c0b250a
DM
114032011-08-23 David S. Miller <davem@davemloft.net>
11404
11405 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11406 subtract stack bias.
11407 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11408 %sp not %fp in calculations.
11409 (_JMPBUF_UNWINDS_ADJ): Likewise.
11410
22044b48
DM
11411 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11412 (aio_suspend): Call it to force an exception region around the
11413 AIO_MISC_WAIT() invocation.
11414
2cae4995
AS
114152011-08-23 Andreas Schwab <schwab@redhat.com>
11416
11417 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11418 backslash.
11419
873a772e
AJ
114202011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11421
11422 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11423 protection macro.
11424 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11425 and <dl-machine.h>.
11426 (Elf64_FuncDesc): Remove.
11427
25ad0df1
DM
114282011-08-22 David S. Miller <davem@davemloft.net>
11429
11430 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11431 sigaltstack check, add missing cfi directives.
11432 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11433 missing cfi directives, and sigaltstack handling.
11434
e888bcbe
AS
114352011-08-16 Andreas Schwab <schwab@redhat.com>
11436
11437 [BZ #11724]
11438 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11439 object is seen twice.
11440 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11441
11442 * elf/Makefile (distribute): Add tst-initorder2.c.
11443 (tests): Add tst-initorder2.
11444 (modules-names): Add tst-initorder2a tst-initorder2b
11445 tst-initorder2c tst-initorder2d. Add rules to build them.
11446 ($(objpfx)tst-initorder2.out): New rule.
11447 * elf/tst-initorder2.c: New file.
11448 * elf/tst-initorder2.exp: New file.
11449
87162f46
AS
114502011-08-22 Andreas Schwab <schwab@redhat.com>
11451
70538b7f
AS
11452 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11453
f55ffe58
AS
11454 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11455 dependencies back to end of function.
11456
87162f46
AS
11457 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11458 $(elfobjdir)/ld.so.
11459
91b392a4
UD
114602011-08-21 Ulrich Drepper <drepper@gmail.com>
11461
11462 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11463 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11465 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11466 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11467 of __vdso_gettimeofday.
11468 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11469 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11470 attribute_hidden.
11471 (_libc_vdso_platform_setup): Remove initialization of
11472 __vdso_gettimeofday and __vdso_time.
11473
5c43483f
UD
114742011-08-20 Ulrich Drepper <drepper@gmail.com>
11475
775a77e7
UD
11476 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11477 and fgetc_unlocked.
11478 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11479 getc_unlocked.
89f447ed 11480
49c74ba9
UD
11481 * elf/dl-open.c (add_to_global): Report additions to the global scope
11482 for LD_DEBUG=scopes.
11483 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11484 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11485
5c43483f
UD
11486 [BZ #13114]
11487 * stdio-common/Makefile (tests): Add bug24.
11488 * stdio-common/bug24.c: New file.
11489
a101b025
AJ
114902011-08-19 Andreas Jaeger <aj@suse.de>
11491
11492 [BZ #13114]
11493 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11494 non-existant file when using close-on-exec mode.
11495
c88f1766
UD
114962011-08-20 Ulrich Drepper <drepper@gmail.com>
11497
0276a718
UD
11498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11499 the very first instruction.
11500
c88f1766
UD
11501 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11502 the CFI state in the end.
11503 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11504 inclusion of dl-trampoline.h.
11505 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11506
51ccffa0
AS
115072011-08-19 Andreas Schwab <schwab@redhat.com>
11508
94d7165f
AS
11509 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11510 expectations for long double.
11511
51ccffa0
AS
11512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11513 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11514
fd708658 115152011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11516
11517 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11518 artificual limit depends upon the system page size.
11519
44f0a71e
UD
115202011-08-17 Ulrich Drepper <drepper@gmail.com>
11521
11522 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11523 * resolv/Makefile: Define CFLAGS-libresolv.
11524
8de79a24
AS
115252011-08-17 Andreas Schwab <schwab@redhat.com>
11526
11527 * nss/makedb.c (compute_tables): Make variables used in nested
11528 function static.
11529
27724598
UD
115302011-08-17 Ulrich Drepper <drepper@gmail.com>
11531
c5305d88
UD
11532 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11533 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11534 if buffer was too small.
11535
27724598
UD
11536 * elf/pldd.c (main): Attach to all threads in the process.
11537 Rewrite /proc handling to use *at functions.
11538
076fe015
UD
115392011-08-16 Ulrich Drepper <drepper@gmail.com>
11540
174baab3
UD
11541 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11542 specifies first scope to show.
11543 (dl_open_worker): Update callers. Move printing scope of new
11544 object to before the relocation.
44f0a71e 11545 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11546 * sysdeps/generic/ldsodefs.h: Update declaration.
11547
076fe015
UD
11548 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11549 string for the scope number.
11550
a60df2c3
UD
115512011-08-14 Ulrich Drepper <drepper@gmail.com>
11552
11553 * nscd/servicescache.c (cache_addserv): Make sure written is always
11554 initialized.
11555
5e4287d1
RM
115562011-08-14 Roland McGrath <roland@hack.frob.com>
11557
85ae0589
RM
11558 * sysdeps/i386/i486/bits/atomic.h
11559 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11560 statement expression, so as to suppress "set but not used" warning.
11561 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11562
69f63097
RM
11563 * string/strncat.c (STRNCAT): Use prototype definition.
11564
675456ef
RM
11565 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11566 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11567 -Iprograms here.
11568 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11569 (localedef-modules): Add localedef.
11570 (locale-modules): Add locale.
11571
5e4287d1
RM
11572 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11573 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11574 to avoid a warning.
11575
9c96ff23
DM
115762011-08-14 David S. Miller <davem@davemloft.net>
11577
11578 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11579 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11580
f9ddf089
UD
115812011-08-13 Ulrich Drepper <drepper@gmail.com>
11582
44f0a71e 11583 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11584 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11585 * elf/rtld.c (dl_main): Set l_name of vDSO.
11586 Call _dl_show_scope when DL_DEBUG_SCOPES.
11587 (process_dl_debug): Recognize scopes flag and also set it for all.
11588 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11589 Declare _dl_show_scope.
11590
1dc27704
UD
11591 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11592 (do_dlopen): Pass caller_dlopen to dl_open.
11593 (__libc_dlopen_mode): Initialize caller_dlopen.
11594
f9ddf089
UD
11595 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11596 of libc. Make tolower call locale-independent. Optimize a bit by
11597 using isdigit instead of isalnum.
11598 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11599
9ac533d3
UD
116002011-08-12 Ulrich Drepper <drepper@gmail.com>
11601
11602 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11603 was a dependency or dynamically loaded.
11604
89edf2e9
UD
116052011-08-11 Ulrich Drepper <drepper@gmail.com>
11606
8e999d29
UD
11607 * intl/l10nflist.c: Allow architecture-specific pop function.
11608 * sysdeps/x86_64/l10nflist.c: New file.
11609
89edf2e9
UD
11610 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11611 classification.
11612
14d96785
AS
116132011-08-10 Andreas Schwab <schwab@redhat.com>
11614
11615 * include/dirent.h: Add libc_hidden_proto for scandirat and
11616 scandirat64. Don't declare __scandirat64.
11617 * dirent/scandirat.c: Add libc_hidden_def.
11618 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11619 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11620
6761ac04
DM
116212011-08-10 David S. Miller <davem@davemloft.net>
11622
11623 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11624 enum.
11625 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11626 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11627 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11628
c55fbd1e
UD
116292011-08-09 Ulrich Drepper <drepper@gmail.com>
11630
11631 * Versions.def [libc]: Add GLIBC_2.15.
11632 * dirent/Makefile (routines): Add scandirat and scandirat64.
11633 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11634 GLIBC_2.15.
11635 * dirent/dirent.h: Declare scandirat and scandirat64.
11636 * dirent/scandirat.c: New file.
11637 * dirent/scandirat64.c: New file.
11638 * sysdeps/wordsize-64/scandirat.c: New file.
11639 * sysdeps/wordsize-64/scandirat64.c: New file.
11640 * dirent/opendir.c: Define opendirat.
11641 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11642 using scandirat.
11643 * dirent/scandir64.c: Adjust for scandir.c change.
11644 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11645 __scandirat64, and __scandir_cancel_handler.
11646 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11647 additional parameter and use openat instead of open (outside of ld.so).
11648 Add new __opendir as wrapper around __opendirat.
11649 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11650 here without requiring old scandirat implementation.
11651
879165f2
UD
116522011-08-08 Ulrich Drepper <drepper@gmail.com>
11653
11654 * dirent/scandir.c (cancel_handler): Renamed to
11655 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11656 defined. Adjust users.
11657 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11658 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11659
cb7e923b
UD
116602011-08-04 Ulrich Drepper <drepper@gmail.com>
11661
16292edd
UD
11662 * string/test-string.h (IMPL): Use __STRING to expand name and then
11663 stringify it.
11664
cb7e923b
UD
11665 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11666 of cleanups.
11667
cff82933
LD
116682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11669
11670 * string/Makefile: Update.
11671 (strop-tests): Append strncat.
11672 * string/test-wcscmp.c: New file.
11673 New comprehensive test for wcscmp.
11674 * string/test-strcmp.c: Update.
11675 (WIDE): New define.
11676
9be9bfcc
AS
116772011-07-22 Andreas Schwab <schwab@redhat.com>
11678
11679 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11680 line.
11681
2e96f1c7
AS
116822011-07-26 Andreas Schwab <schwab@redhat.com>
11683
11684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11685 encoding to ACE if AI_IDN.
11686
85188888
JJ
116872011-08-01 Jakub Jelinek <jakub@redhat.com>
11688
11689 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11690 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11691
5fa16e9b
LD
116922011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11693
11694 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11695 Fix overflow bug in strncat.
11696 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11697
11698 * string/test-strncat.c: Update.
11699 Add new tests for checking overflow bugs.
11700
117012011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11702
11703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11704 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11705 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11706 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11707 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11708 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11709 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11710 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11711 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11712
11713 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11714 (USE_AS_STRCAT): Define.
11715 Add strcat and strncat support.
11716 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11717
8c1a459f
AS
117182011-07-25 Andreas Schwab <schwab@redhat.com>
11719
11720 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11721 __n bigger than INT_MAX+1.
11722 (__strncmp_g): Likewise.
11723
bba33c28
UD
117242011-07-23 Ulrich Drepper <drepper@gmail.com>
11725
798be72d
UD
11726 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11727 * libio/stido.h: Likewise.
11728
8accd4dc
UD
11729 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11730 (AF_NFC): Define.
11731 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11732 (AF_NFC): Define.
11733
cbff0d96
UD
11734 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11735 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11736 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11737 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11738 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11739
9191c04a
UD
11740 [BZ #13021]
11741 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11742 installed.
11743
bba33c28
UD
11744 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11745 typo.
11746 (_dl_x86_64_save_sse): Likewise.
11747
90f139dd
UD
117482011-07-22 Ulrich Drepper <drepper@gmail.com>
11749
1aae088a
UD
11750 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11751 OSXSAVE.
11752 (_dl_x86_64_save_sse): Likewise.
11753
8e2045f5
UD
11754 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11755
90f139dd
UD
11756 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11757
1d002f25
AS
117582011-07-21 Andreas Schwab <schwab@redhat.com>
11759
11760 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11761 change.
11762 (_dl_x86_64_save_sse): Use correct AVX check.
11763
21137f89
UD
117642011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11765
11766 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11767 bug in strncpy/strncat.
11768 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11769
a65c0b7a
UD
117702011-07-21 Ulrich Drepper <drepper@gmail.com>
11771
11772 * string/tester.c (test_strcat): Add tests for different alignments
11773 of source and destination.
11774 (test_strncat): Likewise.
11775
6986b98a
UD
117762011-07-20 Ulrich Drepper <drepper@gmail.com>
11777
90bb2039
UD
11778 [BZ #12852]
11779 * posix/glob.c (glob): Check passed in values before using them in
11780 expressions to avoid some overflows.
11781 (glob_in_dir): Likewise.
11782
5644ef54
UD
11783 [BZ #13007]
11784 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11785 check for AVX enablement so that we don't crash with old kernels and
11786 new hardware.
11787 * elf/tst-audit4.c: Add same checks here.
11788 * elf/tst-audit6.c: Likewise.
11789
11790 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11791
bfc9dc9b
AS
117922011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11793
11794 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11795
702e64bb
UD
117962011-07-20 Ulrich Drepper <drepper@gmail.com>
11797
11798 * po/cs.po: Update from translation team.
11799 * po/bg.po: Likewise.
11800
295e904f
MP
118012011-07-12 Marek Polacek <mpolacek@redhat.com>
11802
11803 * misc/sys/cdefs.h: Add support for const attribute.
11804 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11805 to gnu_dev_{major,minor,makedev} functions.
11806
3ff94596
MP
118072011-07-20 Marek Polacek <mpolacek@redhat.com>
11808
11809 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11810
28b59fca
AS
118112011-07-20 Andreas Schwab <schwab@redhat.com>
11812
11813 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11814 strlen results.
11815
19df733e
AK
118162011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11817
11818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11819 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11820 register in order to avoid conflicts with the soft frame pointer
11821 being held in r11 when necessary.
11822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11823 (INTERNAL_VSYSCALL_NCS): Likewise.
11824
c8835729
MP
118252011-07-14 Marek Polacek <mpolacek@redhat.com>
11826
11827 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11828 * elf/dl-fini.c (_dl_fini): Adjust caller.
11829 * elf/dl-close.c (_dl_close_worker): Likewise.
11830 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11831
b902330c
MP
118322011-07-15 Marek Polacek <mpolacek@redhat.com>
11833
8991e135
MP
11834 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11835 "aux_cache->nlibs < 0".
11836
b902330c
MP
11837 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11838 in the reload-count case.
11839
99710781
LD
118402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11841
11842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11843 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11844 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11845 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11846 * sysdeps/x86_64/multiarch/strcat.S: New file.
11847 * sysdeps/x86_64/multiarch/strncat.S: New file.
11848 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11849 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11850 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11851 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11852 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11853 (USE_AS_STRCAT): Define.
11854 Add strcat and strncat support.
11855 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11856 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11857 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11858 * string/strncat.c: Update.
11859 (USE_AS_STRNCAT): Define.
11860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11861 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11862 and i7.
11863 * sysdeps/x86_64/multiarch/init-arch.h
11864 (bit_Prefer_PMINUB_for_stringop): New.
11865 (index_Prefer_PMINUB_for_stringop): Likewise.
11866 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11867 bit_Prefer_PMINUB_for_stringop.
11868
7dc6bd90
UD
118692011-07-19 Ulrich Drepper <drepper@gmail.com>
11870
11871 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11872 buffer64.
11873 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11874 of casting of buffer.
11875 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11876 buffer32 and buffer64.
11877 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11878 writes instead of casting of buffer.
11879 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11880 buffer32.
11881 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11882 casting of buffer.
11883
e0e72284
AS
118842011-07-19 Andreas Schwab <schwab@redhat.com>
11885
11886 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11887
feb1eb0b
UD
118882011-07-19 Ulrich Drepper <drepper@gmail.com>
11889
11890 * nscd/nscd.c (termination_handler): Don't do anything for a database
11891 if it has not yet been initialized.
11892
298711ff
UD
118932011-07-18 Ulrich Drepper <drepper@gmail.com>
11894
11895 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11896
118972011-07-15 Marek Polacek <mpolacek@redhat.com>
11898
11899 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11900
f9d68389
UD
119012011-07-18 Ulrich Drepper <drepper@gmail.com>
11902
11903 * po/nl.po: Update from translation team.
11904 * po/sv.po: Likewise.
11905
db290cf5
RM
119062011-07-16 Roland McGrath <roland@hack.frob.com>
11907
11908 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11909 now disallowed by GCC.
5c550700 11910
fd5e21c7
RM
11911 * configure.in (use-default-link): Default to yes if a test -shared
11912 link meets our qualifications.
11913 * configure: Regenerated.
11914
5c550700
RM
11915 * config.make.in (output-format): New variable.
11916 * configure.in: Check for ld --print-output-format support.
11917 * configure: Regenerated.
11918 * Makerules ($(common-objpfx)format.lds)
11919 [$(output-format) != unknown]: Just use $(output-format),
11920 instead of the linker-script munging.
11921
9fa2c032
RM
119222011-07-14 Roland McGrath <roland@hack.frob.com>
11923
a6928d51
RM
11924 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11925 of $(common-objpfx)shlib.lds.
11926 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11927
661607b3
RM
11928 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11929 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11930
9fa2c032
RM
11931 * configure.in (-z relro check): Adjust test code to add a large
11932 writable data section after it.
11933 * configure: Regenerated.
11934
defe9061
RM
119352011-07-11 Roland McGrath <roland@hack.frob.com>
11936
11937 * configure.in (-z relro check): Fix test code to make the variable
11938 truly const.
11939 * configure: Regenerated.
11940
319b9ad4
UD
119412011-07-11 Ulrich Drepper <drepper@gmail.com>
11942
11943 * nscd/nscd.h (struct traced_file): Define.
11944 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11945 elements. Add traced_files.
11946 (inotify_fd): Declare.
11947 (register_traced_file): Declare.
11948 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11949 (inotify_fd): Export.
11950 (resolv_conf_descr): Remove.
11951 (nscd_init): Move inotify descriptor creation to main.
11952 Don't register files for notification here.
11953 (register_traced_file): New function.
11954 (invalidate_cache): Don't use reset_res to determine whether to call
11955 res_init, go through the list of registered files.
11956 (main_loop_poll): The inotify descriptors are now stored in the
11957 structures for the traced files.
11958 (main_loop_epoll): Likewise
11959 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11960 to __nss_disable_nscd.
11961 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11962 for a database anymore. Check the records for all the registered
11963 files instead.
11964 * nss/Makefile (libnss_files-routines): Add files-init.
11965 (libnss_db-routines): Add db-init.
11966 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11967 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11968 * nss/nss_db/db-init.c: New file.
11969 * nss/nss_files/files-init.c: New file.
11970 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11971 __nss_lookup_function.
11972 (__nss_lookup_function): Call nss_load_library.
11973 (nss_load_all_libraries): New function.
11974 (__nss_disable_nscd): Take parameter with callback function for files
11975 to register. Set is_nscd. Load all the DSOs for the NSS modules
11976 used for the cached services.
11977 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11978 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11979 options for features to all the files in nscd.
11980
11981 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11982
23bee3e8
RM
119832011-07-10 Roland McGrath <roland@hack.frob.com>
11984
11985 * csu/elf-init.c (__libc_csu_init): Comment typo.
11986
46a5b7f0
UD
119872011-07-09 Ulrich Drepper <drepper@gmail.com>
11988
11989 * po/pl.po: Update from translation team.
11990 * po/ja.po: Likewise.
11991 * po/ru.po: Likewise.
11992 * po/ko.po: Likewise.
11993 * po/fr.po: Likewise.
11994
d30cf5bb
RM
119952011-07-09 Roland McGrath <roland@hack.frob.com>
11996
113ddea4
RM
11997 * configure.in (.ctors/.dtors header and trailer check):
11998 Use an empirical test on a built program.
11999 * configure: Regenerated.
12000
574920b4
RM
12001 * configure.in (-z relro check): Use an empirical test on a built DSO.
12002 Detect, but do not require, on ia64.
12003 * configure: Regenerated.
12004
d30cf5bb
RM
12005 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12006 Update tests that use readelf to use $READELF instead.
12007 * configure: Regenerated.
12008
8538fdb3
UD
120092011-07-08 Ulrich Drepper <drepper@gmail.com>
12010
12011 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12012 if the result is not used.
12013
04d08991
AJ
120142011-07-05 Andreas Jaeger <aj@suse.de>
12015
12016 [BZ#9696]
12017 * stdlib/tst-strtod.c: Add testcase.
12018
de283087
AD
120192011-07-07 Ulrich Drepper <drepper@gmail.com>
12020
4e5f31c8 12021 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12022 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12023 The latter has a higher limit. Take additional parameter to pass to
12024 the new function.
12025 (__pathconf): Pass file to __statfs_link_max.
12026 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12027 __statfs_link_max.
12028 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12029 __statfs_link_max.
12030
de283087
AD
12031 [BZ #12868]
12032 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12033 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12034 Handle Lustre.
12035 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12036 (__statfs_filesize_max): Likewise.
12037 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12038
c75fa153
AJ
120392011-07-05 Andreas Jaeger <aj@suse.de>
12040
12041 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12042
1a544854
UD
120432011-07-06 Marek Polacek <mpolacek@redhat.com>
12044
12045 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12046 `status' variable.
12047 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12048 Likewise.
12049
6f0eec67
UD
120502011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12051
12052 * Makefile (strop-tests): Add strncat.
12053 * string/test-strncat.c: New file.
12054
aae30307
UD
120552011-06-30 Marek Polacek <mpolacek@redhat.com>
12056
12057 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12058
c0cfb5eb
UD
120592011-06-21 Andreas Jaeger <aj@suse.de>
12060
12061 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12062 Copy rule from iconvdata/Makefile.
12063
01636b21
UD
120642011-07-06 Ulrich Drepper <drepper@gmail.com>
12065
12066 [BZ #12922]
12067 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12068 but no long options are defined, just return 'W'.
12069
9895c8bc
UD
120702011-06-22 Marek Polacek <mpolacek@redhat.com>
12071
12072 [BZ #9696]
12073 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12074
5d4cf042
UD
120752011-07-06 Ulrich Drepper <drepper@gmail.com>
12076
12077 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12078 netgroups to read.
960e5535 12079 (innetgr): Likewise.
5d4cf042 12080
751eb97e
RM
120812011-07-05 Roland McGrath <roland@hack.frob.com>
12082
12083 * config.make.in (install_root): Default to $(DESTDIR).
12084
f15f1e45
UD
120852011-07-05 Ulrich Drepper <drepper@gmail.com>
12086
12087 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12088
4e34ac6a
RM
120892011-07-02 Roland McGrath <roland@hack.frob.com>
12090
5e9b6af4
RM
12091 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12092
84f9ea0f
RM
12093 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12094 containing directory rather than embedding absolute directory names.
12095
ea5ee9f7
RM
12096 * scripts/check-local-headers.sh: Rewritten using awk.
12097 Match by word, not by line. Print error messages for matches.
12098 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12099
1b74661a
RM
12100 * Makerules [shlib-lds-flags empty]:
12101 ($(common-objpfx)libc_pic.opts): New target.
12102 ($(common-objpfx)libc_pic.os.clean): New target.
12103 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12104
12105 * config.make.in (OBJCOPY): New variable.
12106 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12107 * configure: Regenerated.
12108
f781ef40
RM
12109 * config.make.in (use-default-link): New variable.
12110 * configure.in (use_default_link): Grok --with-default-link to set it.
12111 * configure: Regenerated.
12112 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12113 (shlib-lds, shlib-lds-flags): Define to empty.
12114
2d4fa81e
RM
12115 * Makerules (shlib-lds): New variable.
12116 (shlib-lds-flags): New variable.
12117 (build-shlib, build-moduile, build-module-asneeded): Use it.
12118 ($(common-objpfx)libc.so): Use $(shlib-lds).
12119 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12120 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12121
31fffa6b
RM
12122 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12123 DT_FLAGS/DT_FLAGS_1 with zero flags.
12124
4e34ac6a
RM
12125 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12126 linker script munging.
12127
fcfc776b
UD
121282011-07-02 Ulrich Drepper <drepper@gmail.com>
12129
12130 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12131 as 128-bit value.
12132 * crypt/sha512.c (sha512_process_block): Perform total addition using
12133 128-bit if possible.
12134 (__sha512_finish_ctx): Likewise.
12135 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12136 as 64-bit value.
12137 * crypt/sha256.c (SWAP64): Define.
12138 (sha256_process_block): Perform total addition using 64-bit if
12139 possible.
12140 (__sha256_finish_ctx): Likewise.
12141
99231d9a
UD
121422011-07-01 Ulrich Drepper <drepper@gmail.com>
12143
12144 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12145 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12146 * nscd/hstcache.c (cache_addhst): Likewise.
12147 * nscd/grpcache.c (cache_addgr): Likewise.
12148 * nscd/aicache.c (addhstaiX): Likewise
12149 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12150
445b4a53
TK
121512011-07-01 Thorsten Kukuk <kukuk@suse.de>
12152
12153 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12154 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12155 * nscd/hstcache.c (cache_addhst): Likewise.
12156 * nscd/grpcache.c (cache_addgr): Likewise.
12157 * nscd/aicache.c (addhstaiX): Likewise
12158
6d4d8e8e
AS
121592011-07-01 Andreas Schwab <schwab@redhat.com>
12160
12161 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12162 domain only when needed.
12163
89f654c5
AS
121642011-06-30 Andreas Schwab <schwab@redhat.com>
12165
12166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12167 is always restored.
12168
cf3b23ff
UD
121692011-06-29 Ulrich Drepper <drepper@gmail.com>
12170
12171 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12172 are re-adding the entry.
12173 * nscd/servicescache.c (cache_addserv): Likewise.
12174
751626f9
AJ
121752011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12176
12177 * sysdeps/generic/dl-irel.h: fix protection against multiple
12178 inclusions.
12179 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12180
9113ea1f
UD
121812011-06-28 Ulrich Drepper <drepper@gmail.com>
12182
5c0b8d90
UD
12183 [BZ #12935]
12184 * malloc/memusage.sh: Fix quoting in message.
12185 * debug/xtrace.sh: Likewise.
12186
9113ea1f
UD
12187 * configure.in: Remove support for --experimental-malloc option, make
12188 it the default.
12189 * config.make.in: Likewise.
12190 * malloc/Makefile: Likewise.
12191
a4172181
AS
121922011-06-27 Andreas Schwab <schwab@redhat.com>
12193
12194 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12195 two-byte characters.
12196
78a7eee7
RM
121972011-06-27 Roland McGrath <roland@hack.frob.com>
12198
62bede13
RM
12199 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12200 AC_CACHE_CHECK invocation.
12201 * configure: Regenerated.
12202
78a7eee7
RM
12203 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12204
5ce33a62
UD
122052011-06-27 Ulrich Drepper <drepper@gmail.com>
12206
034807a9
UD
12207 [BZ #12350]
12208 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12209 bit from old_res_options.
12210
4902da17
UD
12211 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12212
5ce33a62
UD
12213 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12214 value type for setfct.
12215
c2344f56
L
122162011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12217
12218 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12219 __gettimeofday instead of gettimeofday.
12220
68468076
UD
122212011-06-26 Ulrich Drepper <drepper@gmail.com>
12222
12223 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12224
acb0d739
L
122252011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12226
12227 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12228
12229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12230 info.
12231
8912479f
L
122322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12233
12234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12235 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12236 strcpy-sse2-unaligned strncpy-sse2-unaligned
12237 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12238 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12239 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12240 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12241 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12242 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12243 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12244 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12245 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12246 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12247 (STRCPY): Support SSE2 and SSSE3 versions.
12248
d5495a11
UD
122492011-06-24 Ulrich Drepper <drepper@gmail.com>
12250
12251 [BZ #12874]
12252 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12253 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12254 kernels which artificially limit size of requests.
12255
0b1cbaae
L
122562011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12257
12258 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12259 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12260 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12261 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12262 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12263 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12264 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12265 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12266 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12267 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12268 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12269 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12270 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12271 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12272 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12274 Enable unaligned load optimization for Intel Core i3, i5 and i7
12275 processors.
12276 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12277 Define.
12278 (index_Fast_Unaligned_Load): Define.
12279 (HAS_FAST_UNALIGNED_LOAD): Define.
12280
07f494a0
MP
122812011-06-23 Marek Polacek <mpolacek@redhat.com>
12282
12283 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12284
fa3fc0fe
UD
122852011-06-22 Ulrich Drepper <drepper@gmail.com>
12286
12287 [BZ #12907]
12288 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12289 until it is clear that the information is realy needed.
12290 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12291
e12df166
AS
122922011-06-22 Andreas Schwab <schwab@redhat.com>
12293
12294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12295
852eb34d
UD
122962011-06-22 Ulrich Drepper <drepper@gmail.com>
12297
84e2a551
UD
12298 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12299 /sys/devices/system/cpu/online if it is usable.
12300
852eb34d
UD
12301 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12302 reading the information from the /proc filesystem to once a second.
12303
6e502e19
UD
123042011-06-21 Andreas Jaeger <aj@suse.de>
12305
12306 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12307 NULL after inclusion of kernel headers.
12308
75d39ff2
UD
123092011-06-21 Ulrich Drepper <drepper@gmail.com>
12310
51f9aa6a
UD
12311 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12312 calls to internal_setent.
12313
c0244a9d
UD
12314 [BZ #12885]
12315 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12316 addresses using gethostbyname4_r ignore IPv4 addresses.
12317
c5e3c2ae
UD
12318 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12319 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12320
75d39ff2
UD
12321 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12322
42675c6f
DM
123232011-06-20 David S. Miller <davem@davemloft.net>
12324
12325 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12326 inclusions.
12327 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12328
12329 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12330 (elf_irel): Use it.
12331 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12332 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12333 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12334 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12335 * sysdeps/x86_64/dl-irel.h: Likewise.
12336
12337 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12338 * elf/dl-sym.c: Likewise.
12339
57912a71
UD
123402011-06-15 Ulrich Drepper <drepper@gmail.com>
12341
12342 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12343 need to dereference resplen2.
12344
ee22793d
AS
123452011-06-14 Andreas Schwab <schwab@redhat.com>
12346
12347 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12348
a9e836b0
UD
123492011-06-15 Ulrich Drepper <drepper@gmail.com>
12350
77fb9117
UD
12351 * Makeconfig: Define vardbdir and inst_vardbdir.
12352 * nss/Makefile: Add rules to install db-Makefile.
12353
40c1b22c
UD
12354 * nss/nss_db/db-XXX.c: Cleanup.
12355
9f2da732
UD
12356 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12357 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12358 GLIBC_PRIVATE.
12359 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12360 * nss/makedb.c: Implement -g option to specify that value strings
12361 are generated and should not be added to table iterated over for
12362 get*ent calls.
12363 * nss/nss_db/db-initgroups.c: New file.
12364
82e9a1f7
UD
12365 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12366 interface.
12367
c41af17e
UD
12368 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12369 (internal_getgrouplist): Adjust to name change.
12370 Update use_initgroups_entry if this is not the first call.
12371 * nss/databases.def: Add initgroups entry.
12372
a9e836b0
UD
12373 * nss/makedb.c (compute_tables): Check result of multiple hash table
12374 sizes to minimize maximum chain length.
12375
2666d441
UD
123762011-06-14 Ulrich Drepper <drepper@gmail.com>
12377
12378 * Versions.def: Add entry for libnss_db.
12379 * shlib-versions: Likewise.
12380 * nss/Makefile: Add rules to build libnss_db.
12381 * nss/Versions: Add libnss_db information. Organize libnss_files
12382 entries better.
12383 * nss/db-Makefile: Add gshadow support. Change rules for the new
12384 makedb progra. Some minor improvements to generate smaller files.
12385 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12386 here from...
12387 * nss/makedb.c: ...here.
12388 Improve database format to be smaller and require less memory at
12389 runtime.
12390 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12391 db anymore.
12392 * nss/nss_db/db-netgrp.c: Likewise.
12393 * nss/nss_db/db-open.c: Likewise.
12394 * nss/nss_files/flies-XXX.x: Adjust comments.
12395 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12396 * nss/nss_files/files-grp.c: Likewise.
12397 * nss/nss_files/files-hosts.c: Likewise.
12398 * nss/nss_files/files-network.c: Likewise.
12399 * nss/nss_files/files-proto.c: Likewise.
12400 * nss/nss_files/files-pwd.c: Likewise.
12401 * nss/nss_files/files-rpc.c: Likewise.
12402 * nss/nss_files/files-service.c: Likewise.
12403 * nss/nss_files/files-sgrp.c: Likewise.
12404 * nss/nss_files/files-spwd.c: Likewise.
12405 * nss/nss_db/db-alias.c: Removed.
12406 * nss/nss_db/dummy-db.h: Removed.
12407
9ee76b5a
UD
124082011-06-02 Ulrich Drepper <drepper@gmail.com>
12409
12410 * nss/makedb.c: Rewritten to not use database library.
12411 * nss/Makefile: Update to build new makedb program.
12412
c71ca1f8
AJ
124132011-06-14 Andreas Jaeger <aj@suse.de>
12414
12415 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12416 memset declaration.
12417
3154bfb8
UD
124182011-06-10 Andreas Schwab <schwab@redhat.com>
12419
12420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12421 tmpbuf.
12422
b350afab
RM
124232011-06-10 Roland McGrath <roland@hack.frob.com>
12424
decd4e50
RM
12425 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12426 * elf/Makefile ($(objpfx)ld.so): Likewise.
12427
5615eaf2
RM
12428 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12429 Don't list ld.so twice in dependencies.
12430
12431 * posix/bug-regex31.c: Include <stdlib.h>.
12432
12433 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12434
12435 * nis/nss_compat/compat-spwd.c
12436 (getspent_next_nss_netgr): Remove unused variable.
12437 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12438
12439 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12440 nonmembers" output to use the right array.
12441
12442 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12443
12444 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12445
12446 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12447 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12448 * catgets/gencat.c (read_input_file): Likewise.
12449 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12450
12451 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12452 variable definition inside #if's controlling its use.
12453
12454 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12455
12456 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12457
12458 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12459
12460 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12461 unreachable code.
12462
12463 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12464
b68e08db
RM
12465 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12466 * configure: Regenerated.
12467
b350afab
RM
12468 * Makerules: Revert last change.
12469 * elf/Makefile: Likewise.
12470
28368601
RM
124712011-06-09 Roland McGrath <roland@hack.frob.com>
12472
12473 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12474 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12475 (reloc-link): Likewise.
12476
11988f8f
UD
124772011-06-09 Ulrich Drepper <drepper@gmail.com>
12478
12479 * elf/Makefile: Add rules to build pldd.
12480 * elf/pldd.c: New file.
12481 * elf/pldd-xx.c: New file.
12482
e80fab37
UD
124832011-06-07 Ulrich Drepper <drepper@gmail.com>
12484
12485 * version.h: Update for 2.15 development version.
12486
9b849836
DM
124872011-06-07 David S. Miller <davem@davemloft.net>
12488
12489 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12490 ifuncs.
12491 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12492 elf_machine_lazy_rel): Likewise.
12493 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12495 elf_machine_lazy_rel): Likewise.
12496 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12497 dl_hwcap via passed in argument.
12498 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12499 Likewise.
12500
5a31b283
AK
125012011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12502
12503 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12504
069e52f8
RM
125052011-06-06 Roland McGrath <roland@hack.frob.com>
12506
12507 [BZ #12849]
12508 * manual/fdl-1.1.texi: New file, verbatim from:
12509 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12510 * manual/lgpl-2.1.texi: New file, verbatim from:
12511 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12512 * manual/Makefile (licenses): New variable, list those new file names.
12513 (texis): Use it.
12514 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12515
12516 * manual/fdl.texi: File removed.
12517 * manual/lesser.texi: File removed.
12518 * manual/libc.texinfo (Copying, Documentation License):
12519 Use new @include file names, put @appendix directive before @include.
12520
f16846a5
JJ
125212011-06-04 Jakub Jelinek <jakub@redhat.com>
12522
12523 [BZ #12841]
12524 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12525 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12526 (mq_open): Add __NTH.
12527
3d29045b
L
125282011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12529
12530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12531 Assume Intel Core i3/i5/i7 processor if AVX is available.
12532
8c297311
UD
125332011-05-31 Ulrich Drepper <drepper@gmail.com>
12534
12535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12536 typo.
12537
c8fc0c91
UD
125382011-05-31 Andreas Schwab <schwab@redhat.com>
12539
12540 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12541 memory. Use alloca_account. Fix memory leak when retrying.
12542
5b27a807
UD
125432011-05-31 Ulrich Drepper <drepper@gmail.com>
12544
356f8bc6
UD
12545 * version.h (RELEASE): Bump for 2.14 release.
12546 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12547
5b27a807
UD
12548 * config.make.in (RANLIB): Remove entry.
12549
01f16ab0
UD
125502011-05-30 Ulrich Drepper <drepper@gmail.com>
12551
41fce8bd
UD
12552 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12553 (libc.pot): Work around missing support for .ksh extension in xgettext.
12554
4769ae77
UD
12555 [BZ #12684]
12556 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12557 if both request failed.
12558 (send_dg): In case of server errors clear resplen or *resplen2.
12559
6b1e7d19
UD
12560 [BZ #12454]
12561 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12562 when there are multiple maps.
12563 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12564 (_dl_fini): Remove test here.
12565
01f16ab0
UD
12566 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12567
b1ebd700
UD
125682011-05-29 Ulrich Drepper <drepper@gmail.com>
12569
7ae22829
UD
12570 [BZ #12350]
12571 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12572 bit from old_res_options.
12573 (gaih_inet): Likewise.
12574
553149f6 12575 [BZ #11099]
18a84741 12576 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12577 as signed.
12578
652ffab1
UD
12579 * resolv/res_init.c (res_setoptions): Make the code more compact.
12580
16985fd0
UD
12581 [BZ #11558]
12582 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12583 set RES_USEVC.
12584
0464f746
UD
12585 [BZ #11634]
12586 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12587
7d17596c
UD
12588 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12589
cf6bbbd7
UD
12590 [BZ #11781]
12591 * malloc/malloc.h: Declare malloc hook variables as volatile.
12592
13f1ab36
UD
12593 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12594 in last patch.
12595
b1ebd700
UD
12596 [BZ #11799]
12597 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12598 raise in the comment.
80e2212d
UD
12599 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12600 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12601 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12602
ce67228d
UD
126032011-05-28 Ulrich Drepper <drepper@gmail.com>
12604
8887a920
UD
12605 [BZ #12811]
12606 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12607 grow the buffers more if it already has to be sufficient.
12608 (build_wcs_upper_buffer): Likewise.
12609 * posix/regexec.c (check_matching): Likewise.
12610 (clean_state_log_if_needed): Likewise.
12611 (extend_buffers): Don't enlarge buffers beyond size of the input
12612 buffer.
12613 Patches mostly by Emil Wojak <emil@wojak.eu>.
12614 * posix/bug-regex32.c: New file.
12615 * posix/Makefile (tests): Add bug-regex32.
12616
4f031072
UD
12617 * locale/findlocale.c (_nl_find_locale): Return right away if
12618 _nl_explode_name failed.
12619 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12620
d0478f0c
UD
12621 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12622
de81b246
UD
12623 * debug/xtrace.sh: Unify messages.
12624 * malloc/memusage.sh: Likewise.
12625
c738465a
UD
12626 [BZ #12813]
12627 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12628 time symbol from vDSO. Substitute with vsyscall if not available.
12629 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12630 __vdso_time.
12631
f1f929d7
UD
12632 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12633 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12634 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12635 Add sendmmsg and internal_sendmmsg.
12636 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12637 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12638 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12639
ce67228d
UD
12640 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12641 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12642 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12643
e57420c6
UD
126442011-05-27 Ulrich Drepper <drepper@gmail.com>
12645
a8509ca5
UD
12646 [BZ #12813]
12647 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12648 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12649 available.
12650 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12651 __vdso_getcpu.
12652
e57420c6
UD
12653 [BZ #12814]
12654 * iconvdata/Makefile (tests): Add bug-iconv9.
12655 * iconvdata/bug-iconv9.c: New file.
12656
4d07db15
AS
126572011-05-27 Andreas Schwab <schwab@redhat.com>
12658
12659 [BZ #12814]
12660 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12661
ea486f69
JJ
126622011-05-25 Jakub Jelinek <jakub@redhat.com>
12663
12664 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12665 (struct user_regs_struct): Change intcs field back to cs.
12666
6f038433
UD
126672011-05-25 Ulrich Drepper <drepper@gmail.com>
12668
12669 * po/ja.po: Update from translation team.
12670
67f86a25
UD
126712011-05-23 Ulrich Drepper <drepper@gmail.com>
12672
12673 [BZ #12795]
12674 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12675 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12676
def7fbd6
AS
126772011-05-20 Andreas Schwab <schwab@redhat.com>
12678
12679 * stdlib/longlong.h: Update from GCC.
12680
f50ef8f1
AS
126812011-05-23 Andreas Schwab <schwab@redhat.com>
12682
12683 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12684 parameter name.
12685 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12686 Add parameter name.
12687 (__sysconf): Pass it down.
12688
de7ce8f1
UD
126892011-05-22 Ulrich Drepper <drepper@gmail.com>
12690
f2962a71
UD
12691 [BZ #12671]
12692 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12693 some situations.
12694 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12695 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12696 add in in __libc_use_alloca calls. Adjust callers.
12697 (glob): Use malloc in some situations.
12698
de7ce8f1
UD
12699 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12700 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12701 pltexit.
12702
aec84f53
UD
127032011-05-21 Ulrich Drepper <drepper@gmail.com>
12704
05bb4a68
UD
12705 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12706 and CLOCK_BOOTTIME_ALARM.
12707
7ea72f99
UD
12708 [BZ #12782]
12709 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12710 is returned.
12711
7e4afad5
UD
12712 * string/_strerror.c (__strerror_r): Print negative errors as signed
12713 numbers.
12714
8e211fec
UD
12715 [BZ #12777]
12716 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12717 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12718 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12719
f7d82dc9
UD
12720 * configure.in: Fix typo in redirection and correct removal of test
12721 files in two cases.
12722
cc9e536d
UD
12723 [BZ #12788]
12724 * locale/setlocale.c (new_composite_name): Fix test to check for
12725 identical name of all categories.
12726
aec84f53
UD
12727 [BZ #12792]
12728 * libio/filedoalloc.c (local_isatty): New function.
12729 (_IO_file_doallocate): Use local_isatty.
12730 * stdio-common/perror.c (perror): In case a new stream is used
12731 forward the stream error.
12732 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12733 error flag.
12734
78e64fdc
RT
127352011-05-20 Ulrich Drepper <drepper@gmail.com>
12736
34a9094f
UD
12737 [BZ #11869]
12738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12739 alloca.
12740 * include/alloca.h (extend_alloca_account): Define.
12741
78e64fdc
RT
12742 [BZ #11857]
12743 * posix/regex.h: Fix comments with documentation of user-accessible
12744 fields after compilation and describe correct free'ing of pattern
12745 after re_compile_pattern.
12746 Patch by Reuben Thomas <rrt@sc3d.org>.
12747
457bddfc
RA
127482011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12749
12750 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12751 and -mno-altivec to prevent the compiler from using Altivec and/or
12752 VSX instructions when the corresponding registers are not available.
12753
a4527b51
AS
127542011-05-19 Andreas Schwab <schwab@redhat.com>
12755
12756 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12757
ed690b2f
UD
127582011-05-19 Ulrich Drepper <drepper@gmail.com>
12759
12760 * libio/freopen.c (freopen): Use __dup2, not dup2.
12761 * libio/freopen64.c (freopen64): Likewise.
12762
8db73634
L
127632011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12764
12765 [BZ #12775]
12766 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12767 * math/Makefile (tests): Add test-powl.
12768 (CFLAGS-test-powl.c): Define.
12769 * math/test-powl.c: New file.
12770
0a197a9d
L
127712011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12772
12773 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12774
ee30c380
UD
127752011-05-17 Ulrich Drepper <drepper@gmail.com>
12776
12777 [BZ #11837]
12778 * iconvdata/gb18030.c: Update to GB18020-2005.
12779
6ce75379
UD
127802011-05-16 Ulrich Drepper <drepper@gmail.com>
12781
a4b89fd8
AR
12782 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12783 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12784 Patch by Aharon Robbins <arnold@skeeve.com>.
12785
ea389b12
UD
12786 [BZ #11892]
12787 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12788 on the stack.
12789
68a3f91f
UD
12790 [BZ #11895]
12791 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12792 through underflows.
12793
15cc7dd1
UD
12794 [BZ #12766]
12795 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12796 point to strings before performing equality test for error_one_per_line
12797 mode.
12798
f3799213
UD
12799 [BZ #11697]
12800 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12801
d79a9c94
UD
12802 [BZ #11820]
12803 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12804 (struct user_fpregs_struct): Avoid __uint*_t types.
12805
56e5eb46
UD
12806 [BZ #6420]
12807 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12808 symbol info. Use it instead of calling _dl_addr locally.
12809 (lock_and_info): New function.
12810 (tr_freehook): Call lock_and_info and pass symbol info as additional
12811 parameter to tr_where.
12812 (tr_mallochook): Likewise.
12813 (tr_reallochook): Likewise.
12814 (tr_memalignhook): Likewise.
12815
6ce75379
UD
12816 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12817 used and couldn't be at all thread-safe.
12818
f8a3b5bf
UD
128192011-05-15 Ulrich Drepper <drepper@gmail.com>
12820
94b7cc37
UD
12821 * libio/freopen.c (freopen): Don't close old file descriptor
12822 before the new one is opened. Instead dup the new file descriptor
12823 to the old one after the new stream is created.
12824 * libio/freopen64.c (freopen64): Likewise.
12825 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12826 * libio/fileops.c (_IO_new_file_close_it): Handle new
12827 _IO_FLAGS2_NOCLOSE flag.
12828 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12829 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12830 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12831 _IO_FLAGS2_NOCLOSE flag.
12832 * include/unistd.h: Add hidden_proto for dup3.
12833 Define __have_dup3.
12834 * io/dup3.c: Define hidden symbol.
12835 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12836
bd25564e
UD
12837 [BZ #7101]
12838 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12839 when an incomplete long option is used.
12840 * posix/tst-getopt_long1.c: New file.
12841 * posix/Makefile (tests): Add tst-getopt_long1.
12842
c84cfef4
UD
12843 [BZ #10138]
12844 * scripts/config.guess: Update from autoconf-2.68.
12845 * scripts/config.sub: Likewise.
12846
3b85df27
UD
12847 [BZ #10157]
12848 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12849 tests into ...
12850 (has_cpuclock): ...this. New function.
12851 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12852 macro here based on has_cpuclock code.
12853
15a856b1
UD
12854 [BZ #10149]
12855 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12856 First byte (not low byte) is now always NUL.
12857 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12858
05f399e6
UD
12859 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12860 Use non-cancelable interfaces.
12861
10a52685 12862 [BZ #9809]
94ecc67d
UD
12863 * locale/iso-639.def: Add entry for Sorani.
12864
f8a3b5bf
UD
12865 [BZ #11901]
12866 * include/stdlib.h: Move include protection to the right place.
12867 Define abort_msg_s. Declare __abort_msg with it.
12868 * stdlib/abort.c (__abort_msg): Adjust type.
12869 * assert/assert.c (__assert_fail_base): New function. Majority
12870 of code from __assert_fail. Allocate memory for __abort_msg with
12871 mmap.
12872 (__assert_fail): Now call __assert_fail_base.
12873 * assert/assert-perr.c: Remove bulk of implementation. Use
12874 __assert_fail_base.
12875 * include/assert.hL Declare __assert_fail_base.
12876 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12877 mmap.
12878 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12879
1af4e298
UD
128802011-05-14 Ulrich Drepper <drepper@gmail.com>
12881
f8a3b5bf 12882 [BZ #11952]
d26dfc60
MG
12883 [BZ #12453]
12884 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12885 until all modules are registered in the DTV.
12886 * elf/Makefile: Add rules to build and run tst-tls19.
12887 * elf/tst-tls19.c: New file.
12888 * elf/tst-tls19mod1.c: New file.
12889 * elf/tst-tls19mod2.c: New file.
12890 * elf/tst-tls19mod3.c: New file.
12891 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12892
2fc54d6f
UD
12893 [BZ #12083]
12894 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12895 correctly.
12896
98d76b46
UD
12897 [BZ #12601]
12898 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12899 two-byte sequence errors.
12900 * iconvdata/Makefile (tests): Add bug-iconv8.
12901 * iconvdata/bug-iconv8.c: New file.
12902
da3c19ef
UD
12903 [BZ #12626]
12904 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12905 buf2 definition.
12906
ca408c15
UD
12907 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12908
d6f67f7d
UD
12909 [BZ #12432]
12910 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12911 (dummy_getcfa): New function.
12912 (init): Get _Unwind_GetCFA address, use dummy if not found.
12913 (backtrace_helper): In recursion check, also check whether CFA changes.
12914 (__backtrace): Completely initialize arg.
12915
1af4e298 12916 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12917 storing incomplete byte sequence in state object. Avoid testing for
12918 guaranteed too small input if we know there is enough data available.
1af4e298 12919
da62f81b
AS
129202011-05-11 Andreas Schwab <schwab@redhat.com>
12921
12922 * Makeconfig (+link-pie): Indent.
12923 * Rules (binaries-pie): Define if $(have-fpie) and
12924 $(build-shared).
12925 (binaries-shared): Also filter out $(binaries-pie).
12926 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12927 * nscd/Makefile (others-pie): Add nscd.
12928 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12929 ($(objpfx)nscd): Remove command override.
12930 * login/Makefile (others-pie): Add pt_chown.
12931 ($(objpfx)pt_chown): Remove command override.
12932 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12933 remove command overrides.
12934
fcabc0f8
UD
129352011-05-13 Ulrich Drepper <drepper@gmail.com>
12936
20030ae6
UD
12937 * libio/tst_putwc.c: Fix error messages.
12938
fcabc0f8
UD
12939 [BZ #12724]
12940 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12941 currently writing and seek to current position when not.
12942 * libio/Makefile (tests): Add bug-fclose1.
12943 * libio/bug-fclose1.c: New file.
12944
320a5dc0
PB
129452011-05-12 Ulrich Drepper <drepper@gmail.com>
12946
12947 [BZ #12511]
12948 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12949 don't set DF_1_NODELETE here.
12950 (do_lookup_x): When entering new entry test for copy relocation
12951 and if necessary set DF_1_NODELETE flag.
12952 * elf/tst-unique4.cc: New file.
12953 * elf/tst-unique4.h: New file.
12954 * elf/tst-unique4lib.cc: New file.
12955 * elf/Makefile: Add rules to build and run tst-unique4.
12956 Patch by Piotr Bury <pbury@goahead.com>.
12957
22836f52
UD
129582011-05-11 Ulrich Drepper <drepper@gmail.com>
12959
f574184a
UD
12960 [BZ #12052]
12961 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12962
e1fb097f
UD
12963 [BZ #12625]
12964 * misc/mntent_r.c (addmntent): Flush the stream after the output
12965
22836f52
UD
12966 [BZ #12393]
12967 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12968 (is_trusted_path_normalize): Skip initial colon. Append slash
12969 to empty buffer. Duplicate is_trusted_path code but allow
12970 constructed patch to be prefix.
12971 (is_dst): Allow $ORIGIN followed by /.
12972 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12973 Correct testing of result of is_trusted_path_normalize
12974 (decompose_rpath): Fix warning.
12975
7b3b0b2a
UD
129762011-05-10 Ulrich Drepper <drepper@gmail.com>
12977
12978 [BZ #11257]
12979 * grp/initgroups.c (internal_getgrouplist): When we found the service
12980 list through the initgroups entry in nsswitch.conf do not always
12981 continue on a successful lookup. Don't always use the
eac80ce2 12982 __nss_group_database value if it is set.
7b3b0b2a
UD
12983 * nss/nsswitch.conf (initgroups): Change action for successful db
12984 lookup to continue for compatibility.
12985
2a81eaa5
UD
129862011-05-09 Ulrich Drepper <drepper@gmail.com>
12987
be97a69e
UD
12988 [BZ #11532]
12989 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12990 and CP774 modules.
12991 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12992 and CP774 modules.
12993 * iconvdata/tst-tables.sh: Likewise.
12994 * iconvdata/cp770.c: New file.
12995 * iconvdata/cp771.c: New file.
12996 * iconvdata/cp772.c: New file.
12997 * iconvdata/cp773.c: New file.
12998 * iconvdata/cp774.c: New file.
12999 * iconvdata/testdata/CP770: New file.
13000 * iconvdata/testdata/CP770..UTF8: New file.
13001 * iconvdata/testdata/CP771: New file.
13002 * iconvdata/testdata/CP771..UTF8: New file.
13003 * iconvdata/testdata/CP772: New file.
13004 * iconvdata/testdata/CP772..UTF8: New file.
13005 * iconvdata/testdata/CP773: New file.
13006 * iconvdata/testdata/CP773..UTF8: New file.
13007 * iconvdata/testdata/CP774: New file.
13008 * iconvdata/testdata/CP774..UTF8: New file.
13009
13010 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13011 END CHARMAP line.
13012 * iconvdata/gen-8bit-gap.sh: Likewise.
13013 * iconvdata/gen-8bit.sh: Likewise.
13014
c1e9e399
UD
13015 * locale/iso-639.def: Add ary entry.
13016
24c55fb3 13017 [BZ #11258]
96b4b1b0
UD
13018 * locale/C-translit.h.in: Add U20A1 transliteration.
13019
bdc2f971
KB
13020 [BZ #12178]
13021 * locale/iso-639.def: Add wae entry.
13022 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13023
2952b117
UD
13024 [BZ #12545]
13025 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13026 for n.
13027
2a81eaa5
UD
13028 [BZ #12711]
13029 * locale/C-translit.h.in: Add entry for U20B9.
13030 Patch by pravin.d.s@gmail.com.
13031
28377d1b
UD
130322011-05-08 Ulrich Drepper <drepper@gmail.com>
13033
7fb90fb8
UD
13034 [BZ #12713]
13035 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13036 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13037 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13038 in rtld. Use *stat64.
7fb90fb8 13039 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13040 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13041 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13042 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13043 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13044 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13045 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13046 __fstatat64 macros.
7fb90fb8
UD
13047 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13048 * dirent/rewinddir.c: Add libc_hidden_def.
13049 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13050 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13051
28377d1b
UD
13052 * include/dirent.h (__alloc_dir): Add flags parameter.
13053 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13054 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13055 __alloc_dir.
13056 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13057 from fdopendir if O_CLOEXEC is already set.
13058
66bdbaa4
AM
130592011-03-15 Alan Modra <amodra@gmail.com>
13060
13061 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13062 l_tls_firstbyte_offset non-zero. Save padding offset in
13063 l_tls_firstbyte_offset for later use.
13064 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13065 freeing static tls block.
13066
95721191
JN
130672011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13068
13069 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13070 where #ifdef was intended. The intent is to prevent ARG_MAX from
13071 being defined by the kernel headers.
13072
f87dfb1f
UD
130732011-05-07 Ulrich Drepper <drepper@gmail.com>
13074
13075 [BZ #12734]
13076 * resolv/resolv.h: Define RES_NOTLDQUERY.
13077 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13078 no-tld-query and set RES_NOTLDQUERY.
13079 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13080 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13081 modern BIND to search name as TLD unless forbidden.
13082
47c3cd7a
UD
130832011-05-07 Petr Baudis <pasky@suse.cz>
13084 Ulrich Drepper <drepper@gmail.com>
13085
13086 [BZ #12393]
13087 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13088 (is_trusted_path): ...to here.
c1e9ea35 13089 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13090 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13091 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13092
8a35c912
PP
130932011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13094
13095 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13096 __BEGIN/__END_DECLS.
13097
acd41f47
UD
130982011-05-06 Ulrich Drepper <drepper@gmail.com>
13099
13100 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13101 NSS_STATUS_NOTFOUND if no record was found.
13102
597df647
AS
131032011-05-05 Andreas Schwab <schwab@redhat.com>
13104
13105 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13106 (headers-not-in-tirpc): Remove rpc/netdb.h
13107 * resolv/netdb.h: Revert last change.
13108
b9af1301
PP
131092011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13110
13111 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13112 circular dependency between libgcc.a and libc.a.
13113
4e34d5f5
AS
131142011-05-05 Andreas Schwab <schwab@redhat.com>
13115
13116 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13117 * nis/Makefile: Don't install rpcsvc/*.
13118 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13119 instead of <rpc/types.h>.
13120 (MAXHOSTNAMELEN): Define.
13121
00ee369c
AS
131222011-05-03 Andreas Schwab <schwab@redhat.com>
13123
13124 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13125
0b592a30
MB
131262011-04-28 Maciej Babinski <mbabinski@google.com>
13127
13128 [BZ #12714]
13129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13130 gethostbyname4_r when IPv6 results are possible.
13131
6e04cbbe
UD
131322011-05-02 Ulrich Drepper <drepper@gmail.com>
13133
13134 [BZ #12723]
13135 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13136 _PC_PIPE_BUF handling.
13137
e4ecafe0
BH
131382011-04-30 Bruno Haible <bruno@clisp.org>
13139
13140 [BZ #12717]
13141 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13142 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13143 to 'int'.
13144 * inet/getnameinfo.c (getnameinfo): Likewise.
13145
125ee683
UD
131462011-04-29 Ulrich Drepper <drepper@gmail.com>
13147
13148 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13149 to groups setting in database lookup.
13150 * nss/nsswitch.conf: Add initgroups entry.
13151
b722481a
EB
131522011-04-22 Ulrich Drepper <drepper@gmail.com>
13153
13154 [BZ #12685]
13155 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13156 mode string.
13157 Patch by Eric Blake <eblake@redhat.com>.
13158
4df46dbd
L
131592011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13160
13161 * sunrpc/Makefile (need-export-routines): Add svc_run.
13162 (routines): Remove svc_run.
13163 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13164 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13165 * sunrpc/svc_run.c (svc_run): Likewise.
13166 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13167
e84142d2
UD
131682011-04-21 Ulrich Drepper <drepper@gmail.com>
13169
13170 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13171 problem in reallocation in last patch.
13172
877175d8
UD
131732011-04-20 Ulrich Drepper <drepper@gmail.com>
13174
13175 * sunrpc/Makefile: Move inclusion of Rules.
13176
ab8eed78
UD
131772011-04-19 Ulrich Drepper <drepper@gmail.com>
13178
13179 * nss/nss_files/files-initgroups.c: New file.
13180 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13181 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13182 _nss_files_initgroups_dyn.
13183
e3d8f584
RS
131842011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13185
13186 * elf/elf.h (R_ARM_IRELATIVE): Define.
13187
af190f45
UD
131882011-04-19 Ulrich Drepper <drepper@gmail.com>
13189
13190 * po/ru.po: Update from translation team.
13191
53cf59ef
UD
131922011-04-17 Ulrich Drepper <drepper@gmail.com>
13193
13194 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13195 dependencies.
13196
4c559bcd
MF
131972011-02-06 Mike Frysinger <vapier@gentoo.org>
13198
13199 [BZ #12653]
13200 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13201 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13202 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13203 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13204 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13205
4420675c
AS
132062011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13207
13208 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13209 differing bytes.
13210 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13211 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13212 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13213
75ea32ab
UD
132142011-04-17 Ulrich Drepper <drepper@gmail.com>
13215
13216 [BZ #12420]
13217 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13218 storing it.
13219 * stdlib/bug-getcontext.c: New file.
13220 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13221
27390476
AK
132222011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13223
13224 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13225 instructions into .machine "z9-109".
13226 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13227 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13228
10442705
AK
132292011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13230
13231 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13232 between environment variables and auxiliary vector.
13233
7b57bfe5
UD
132342011-04-16 Ulrich Drepper <drepper@gmail.com>
13235
13236 * Makefile: Add rules to build linkobj/libc.so.
13237 * include/libc-symbols.h: Define libc_hidden_nolink.
13238 * include/rpc/auth.h: Mark functions which are to be hidden.
13239 * include/rpc/auth_des.h: Likewise.
13240 * include/rpc/auth_unix.h: Likewise.
13241 * include/rpc/clnt.h: Likewise.
13242 * include/rpc/des_crypt.h: Likewise.
13243 * include/rpc/key_prot.h: Likewise.
13244 * include/rpc/pmap_clnt.h: Likewise.
13245 * include/rpc/pmap_prot.h: Likewise.
13246 * include/rpc/pmap_rmt.h: Likewise.
13247 * include/rpc/rpc_msg.h: Likewise.
13248 * include/rpc/svc.h: Likewise.
13249 * include/rpc/svc_auth.h: Likewise.
13250 * include/rpc/xdr.h: Likewise.
13251 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13252 * nss/Makefile: Likewise.
13253 * sunrpc/Makefile: Don't install headers. Build library with normal
13254 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13255 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13256 for the compat linking library. Remove use of INTDEF/INTUSE.
13257 * sunrpc/auth_none.c: Likewise.
13258 * sunrpc/auth_unix.c: Likewise.
13259 * sunrpc/authdes_prot.c: Likewise.
13260 * sunrpc/authuxprot.c: Likewise.
13261 * sunrpc/clnt_gen.c: Likewise.
13262 * sunrpc/clnt_perr.c: Likewise.
13263 * sunrpc/clnt_raw.c: Likewise.
13264 * sunrpc/clnt_simp.c: Likewise.
13265 * sunrpc/clnt_tcp.c: Likewise.
13266 * sunrpc/clnt_udp.c: Likewise.
13267 * sunrpc/clnt_unix.c: Likewise.
13268 * sunrpc/des_crypt.c: Likewise.
13269 * sunrpc/des_soft.c: Likewise.
13270 * sunrpc/get_myaddr.c: Likewise.
13271 * sunrpc/key_call.c: Likewise.
13272 * sunrpc/key_prot.c: Likewise.
13273 * sunrpc/netname.c: Likewise.
13274 * sunrpc/pm_getmaps.c: Likewise.
13275 * sunrpc/pm_getport.c: Likewise.
13276 * sunrpc/pmap_clnt.c: Likewise.
13277 * sunrpc/pmap_prot.c: Likewise.
13278 * sunrpc/pmap_prot2.c: Likewise.
13279 * sunrpc/pmap_rmt.c: Likewise.
13280 * sunrpc/publickey.c: Likewise.
13281 * sunrpc/rpc_cmsg.c: Likewise.
13282 * sunrpc/rpc_common.c: Likewise.
13283 * sunrpc/rpc_dtable.c: Likewise.
13284 * sunrpc/rpc_prot.c: Likewise.
13285 * sunrpc/rpc_thread.c: Likewise.
13286 * sunrpc/rtime.c: Likewise.
13287 * sunrpc/svc.c: Likewise.
13288 * sunrpc/svc_auth.c: Likewise.
13289 * sunrpc/svc_authux.c: Likewise.
13290 * sunrpc/svc_raw.c: Likewise.
13291 * sunrpc/svc_run.c: Likewise.
13292 * sunrpc/svc_simple.c: Likewise.
13293 * sunrpc/svc_tcp.c: Likewise.
13294 * sunrpc/svc_udp.c: Likewise.
13295 * sunrpc/svc_unix.c: Likewise.
13296 * sunrpc/svcauth_des.c: Likewise.
13297 * sunrpc/xcrypt.c: Likewise.
13298 * sunrpc/xdr.c: Likewise.
13299 * sunrpc/xdr_array.c: Likewise.
13300 * sunrpc/xdr_float.c: Likewise.
13301 * sunrpc/xdr_intXX_t.c: Likewise.
13302 * sunrpc/xdr_mem.c: Likewise.
13303 * sunrpc/xdr_rec.c: Likewise.
13304 * sunrpc/xdr_ref.c: Likewise.
13305 * sunrpc/xdr_sizeof.c: Likewise.
13306 * sunrpc/xdr_stdio.c: Likewise.
13307
e6c61494
UD
133082011-04-10 Ulrich Drepper <drepper@gmail.com>
13309
13310 [BZ #12650]
13311 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13312 * sysdeps/ia64/dl-tls.h: Likewise.
13313 * sysdeps/powerpc/dl-tls.h: Likewise.
13314 * sysdeps/s390/dl-tls.h: Likewise.
13315 * sysdeps/sh/dl-tls.h: Likewise.
13316 * sysdeps/sparc/dl-tls.h: Likewise.
13317 * sysdeps/x86_64/dl-tls.h: Likewise.
13318 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13319
34fe483e
AS
133202011-03-14 Andreas Schwab <schwab@redhat.com>
13321
13322 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13323 rpath element also skip the following colon.
13324 (expand_dynamic_string_token): Add is_path parameter and pass
13325 down to DL_DST_REQUIRED and _dl_dst_substitute.
13326 (decompose_rpath): Call expand_dynamic_string_token with
13327 non-zero is_path. Ignore empty rpaths.
13328 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13329 with zero is_path.
13330
f12a32e6
AS
133312011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13332
13333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13334 Make cancelable.
13335
38a7d692
UD
133362011-04-09 Ulrich Drepper <drepper@gmail.com>
13337
13338 [BZ #12655]
13339 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13340 Patch by Filipe David Manana <fdmanana@apache.org>.
13341
e451d22b
AS
133422011-04-07 Andreas Schwab <schwab@redhat.com>
13343
13344 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13345 Maintain aligned stack.
13346 (CHECK_RSP): Remove unused macro.
13347
dedc7c7b
UD
133482011-04-03 Ulrich Drepper <drepper@gmail.com>
13349
13350 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13351 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13352
94521213
UD
133532011-04-02 Ulrich Drepper <drepper@gmail.com>
13354
13355 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13356
8cb700c0 13357 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13358
0354e355
L
133592011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13360
13361 [BZ #12518]
13362 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13363 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13364 * sysdeps/x86_64/memmove.c: New file.
13365 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13366 (memcpy): Renamed to ...
13367 (__new_memcpy): This.
13368 (memcpy): Provide GLIBC_2_14 memcpy.
13369 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13370 (memcpy): Provide GLIBC_2_2_5 memcpy.
13371
8593482f
UD
133722011-04-01 Ulrich Drepper <drepper@gmail.com>
13373
13374 [BZ #12631]
13375 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13376
81a5726b
AS
133772011-03-30 Andreas Schwab <schwab@redhat.com>
13378
13379 * misc/syncfs.c: New file.
13380 * misc/Makefile (routines): Add syncfs.
13381 * posix/unistd.h: Declare syncfs.
13382 * sysdeps/unix/syscalls.list: Add syncfs.
13383
00e5419f
AS
133842011-04-01 Andreas Schwab <schwab@redhat.com>
13385
13386 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13387 open_by_handle_at.
13388 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13389 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13391 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13393 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13394 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13395
748876bf
UD
133962011-04-01 Ulrich Drepper <drepper@gmail.com>
13397
658e451d
UD
13398 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13399 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13400 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13402 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13404 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13405
748876bf
UD
13406 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13407 sync_file_range.c with -fexceptions.
13408 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13409 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13410 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13411 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13412 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13413 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13414 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13415 sync_file_range as cancellation point
13416 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13417 now a wrapper around __call_sync_file_range with cancellation handling.
13418 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13419 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13420 function name to __call_sync_file_range.
13421 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13422 Add call_sync_file_range.
748876bf 13423
6e63d5e1
AS
134242011-04-01 Andreas Schwab <schwab@redhat.com>
13425
13426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13427 bits/timex.h.
6e63d5e1 13428
46998f74
UD
134292011-04-01 Ulrich Drepper <drepper@gmail.com>
13430
4c1423ed
UD
13431 * iconv/iconv.h: Fix typo in comment.
13432 * io/fcntl.h: Likewise.
13433 * libio/stdio.h: Likewise.
13434 * posix/spawn.h: Likewise.
13435 * posix/unistd.h: Likewise.
13436 * stdlib/stdlib.h: Likewise.
13437 * time/time.h: Likewise.
13438 * wcsmbs/wchar.h: Likewise.
13439
158648c0
UD
13440 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13441 open_by_handle): Add.
13442 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13443 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13444 Augment a few comments.
13445 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13447 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13449 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13450 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13451 open_by_handle.
13452
46998f74
UD
13453 * io/fcntl.h (AT_EMPTY_PATH): Define.
13454
83fe108b
UD
134552011-03-30 Ulrich Drepper <drepper@gmail.com>
13456
13457 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13458 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13459 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13460 to...
13461 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13462 * Versions.def: Add GLIBC_2.14.
13463 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13464 Export.
83fe108b 13465
bb242059
UD
134662011-03-22 Ulrich Drepper <drepper@gmail.com>
13467
13468 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13469 round counter.
13470 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13471
c97a1282
L
134722011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13473
13474 [BZ #12597]
13475 * string/test-strncmp.c (do_page_test): New function.
13476 (check2): Likewise.
13477 (test_main): Call check2.
13478 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13479
2a115601
UD
134802011-03-20 Ulrich Drepper <drepper@gmail.com>
13481
13482 [BZ #12587]
13483 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13484 Handle cache information in CPU leaf 4.
13485 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13486
8126d904
UD
134872011-03-18 Ulrich Drepper <drepper@gmail.com>
13488
042c49c6 13489 [BZ #12583]
8126d904
UD
13490 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13491 character representation.
13492 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13493
ccfe366e
RA
134942011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13495
13496 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13497 END(__isnan) to END(__isnanf) to match function entry point/label
13498 EALIGN(__isnanf,...).
13499
c6e13027
JJ
135002011-03-10 Jakub Jelinek <jakub@redhat.com>
13501
13502 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13503
33f85a3f
UD
135042011-03-10 Ulrich Drepper <drepper@gmail.com>
13505
028478fa
UD
13506 [BZ #12510]
13507 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13508 copy from the symbol referenced in the relocation to initialize the
13509 used variable.
13510 Patch by Piotr Bury <pbury@goahead.com>.
13511 * elf/Makefile: Add rules to build and tst-unique3.
13512 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13513 * elf/tst-unique3.cc: New file.
13514 * elf/tst-unique3.h: New file.
13515 * elf/tst-unique3lib.cc: New file.
13516 * elf/tst-unique3lib2.cc: New file.
13517
33f85a3f
UD
13518 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13519
03592fc7
MF
135202011-03-10 Mike Frysinger <vapier@gentoo.org>
13521
13522 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13523 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13524 to _start.
03592fc7 13525
6a5ee102
UD
135262011-03-06 Ulrich Drepper <drepper@gmail.com>
13527
13528 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13529 to-be-loaded object along a path to loader is ld.so.
13530
7e4ba49c
HJ
135312011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13532 Ulrich Drepper <drepper@gmail.com>
13533
13534 * sysdeps/x86_64/memset.S: After aligning destination, code
13535 branches to different locations depending on the value of
13536 misalignment, when multiarch is enabled. Fix this.
13537
135382011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13539
13540 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13541 Set _x86_64_preferred_memory_instruction for AMD processsors.
13542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13543 Set bit_Prefer_SSE_for_memop for AMD processors.
13544
13a804de
UD
135452011-03-04 Ulrich Drepper <drepper@gmail.com>
13546
13547 * libio/fmemopen.c (fmemopen): Optimize a bit.
13548
9d25c392
AS
135492011-03-03 Andreas Schwab <schwab@redhat.com>
13550
13551 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13552
a5543c6a
RM
135532011-03-03 Roland McGrath <roland@redhat.com>
13554
13555 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13556
012d35f7
DM
135572011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13558
7e4ba49c 13559 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13560 __bzero_ultra1 instead of __memset_ultra1.
13561
4bff6e01
AS
135622011-02-23 Andreas Schwab <schwab@redhat.com>
13563 Ulrich Drepper <drepper@gmail.com>
13564
13565 [BZ #12509]
13566 * include/link.h (struct link_map): Add l_orig_initfini.
13567 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13568 returning unsuccessfully.
13569 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13570 close of a file loaded at startup, restore the original l_initfini
13571 list.
13572 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13573 list, store the pointer.
13574 * elf/Makefile ($(objpfx)noload-mem): New rule.
13575 (noload-ENV): Define.
13576 (tests): Add $(objpfx)noload-mem.
13577 * elf/noload.c: Include <memcheck.h>.
13578 (main): Call mtrace. Close all opened handles.
13579
f2092faf
AS
135802011-02-17 Andreas Schwab <schwab@redhat.com>
13581
13582 [BZ #12454]
13583 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13584 dependencies are missing.
13585
6c8a2e88
ST
135862011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13587
f2092faf 13588 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13589 Hurd needs munmap.
13590 * sysdeps/mach/hurd/ifreq.h: New file.
13591
84a42118
PB
135922011-01-27 Petr Baudis <pasky@suse.cz>
13593 Ulrich Drepper <drepper@gmail.com>
13594
071f805e 13595 [BZ 12445]#
84a42118
PB
13596 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13597 to extend_alloca().
13598 * stdio-common/bug23.c: New file.
13599 * stdio-common/Makefile (tests): Add bug23.
13600
e23fe25b
AS
136012010-09-28 Andreas Schwab <schwab@redhat.com>
13602 Ulrich Drepper <drepper@gmail.com>
13603
13604 [BZ #12489]
13605 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13606 before performing relro protection. At old place add assertion
13607 to make sure nothing changed.
13608
d3f02e10
NS
136092011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13610 Glauber de Oliveira Costa <glommer@gmail.com>
13611
13612 * elf/elf.h: Add new ARM TLS relocs.
13613
d55fd7a5
RA
136142011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13615
13616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13617 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13618 cast from r3.
13619 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13620 'tests' variable.
13621 * sysdeps/wordsize-64/tst-writev.c: New file.
13622
2206397e
RA
136232011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13624
13625 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13626 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13627 insns in _dl_start to prevent a TOC reference before relocs are
13628 resolved.
13629
e9433893
UD
136302011-02-15 Ulrich Drepper <drepper@gmail.com>
13631
13632 [BZ #12469]
13633 * Makeconfig: Remove RANLIB definition.
13634 * Makerules: Don't use RANLIB.
13635 * aclocal.m4: Remove ranlib test.
13636 * configure.in: No need to check for ranlib.
13637 * elf/rtld-Rules: Don't use RANLIB.
13638
f75286c6
ST
136392011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13640
8e31c82d
ST
13641 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13642 protection macro.
13643 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13644 inclusion protection macro.
13645
f75286c6
ST
13646 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13647 SIGRTMIN and SIGRTMAX and print information in that case only when
13648 SIGRTMIN is defined.
13649
c1d0e639
JJ
136502011-02-11 Jakub Jelinek <jakub@redhat.com>
13651
13652 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13653 arginfo fn returning -1.
13654
13655 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13656 and thousands string is zero terminated.
13657
edf9294e
AS
136582011-02-03 Andreas Schwab <schwab@redhat.com>
13659
13660 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13661 sysdeps/unix/sysv/linux/bits/socket.h.
13662
2b7e92df
ST
136632011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13664
edf9294e
AS
13665 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13666 (__CPU_COUNT): Remove old macros.
13667 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13668 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13669 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13670 (__sched_cpualloc, __sched_cpufree): Add declarations.
13671
a4c7ea7b
UD
136722011-02-05 Ulrich Drepper <drepper@gmail.com>
13673
13674 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13675 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13676 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13677 (readdhstai): Return value of addhstaiX call.
13678 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13679 (addgrbyX): Return value returned by cache_addgr.
13680 (readdgrbyname): Return value returned by addgrbyX.
13681 (readdgrbygid): Likewise.
13682 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13683 (addpwbyX): Return value returned by cache_addpw.
13684 (readdpwbyname): Return value returned by addhstbyX.
13685 (readdpwbyuid): Likewise.
13686 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13687 (addservbyX): Return value returned by cache_addserv.
13688 (readdservbyname): Return value returned by addservbyX:
13689 (readdservbyport): Likewise.
13690 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13691 (addhstbyX): Return value returned by cache_addhst.
13692 (readdhstbyname): Return value returned by addhstbyX.
13693 (readdhstbyaddr): Likewise.
13694 (readdhstbynamev6): Likewise.
13695 (readdhstbyaddrv6): Likewise.
13696 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13697 (readdinitgroups): Return value returned by addinitgroupsX.
13698 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13699 (prune_cache): Keep track of timeout value of re-added entries.
13700 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13701 * nscd/nscd.h: Adjust prototypes of readd* functions.
13702
a0bf67cc
RM
137032011-02-04 Roland McGrath <roland@redhat.com>
13704
13705 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13706 (nis_stats): Likewise.
13707 * nis/nis_modify.c (nis_modify): Likewise.
13708 * nis/nis_remove.c (nis_remove): Likewise.
13709 * nis/nis_add.c (nis_add): Likewise.
13710
13711 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13712
13713 * posix/fnmatch_loop.c: Add some consts.
13714
13715 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13716
435b95eb
L
137172011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13718
13719 [BZ #12460]
13720 * config.make.in (config-cflags-novzeroupper): Define.
13721 * configure.in: Substitute libc_cv_cc_novzeroupper.
13722 * elf/Makefile (AVX-CFLAGS): Define.
13723 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13724 (CFLAGS-tst-auditmod4a.c): Likewise.
13725 (CFLAGS-tst-auditmod4b.c): Likewise.
13726 (CFLAGS-tst-auditmod6b.c): Likewise.
13727 (CFLAGS-tst-auditmod6c.c): Likewise.
13728 (CFLAGS-tst-auditmod7b.c): Likewise.
13729 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13730
8517b15e
UD
137312011-02-02 Ulrich Drepper <drepper@gmail.com>
13732
13733 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13734 function to the callback.
13735 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13736
10a656fe
AS
137372011-02-02 Andreas Schwab <schwab@redhat.com>
13738
13739 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13740 of errno.
13741
968dad0a
UD
137422011-01-19 Ulrich Drepper <drepper@gmail.com>
13743
9f94d2ea 13744 [BZ #11724]
968dad0a
UD
13745 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13746 of constructors.
13747 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13748 of destructors.
13749 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13750
13751 [BZ #11724]
13752 * elf/Makefile: Add rules to build and run new test.
13753 * elf/tst-initorder.c: New file.
13754 * elf/tst-initorder.exp: New file.
13755 * elf/tst-initordera1.c: New file.
13756 * elf/tst-initordera2.c: New file.
13757 * elf/tst-initordera3.c: New file.
13758 * elf/tst-initordera4.c: New file.
13759 * elf/tst-initorderb1.c: New file.
13760 * elf/tst-initorderb2.c: New file.
13761 * elf/tst-order-a1.c: New file.
13762 * elf/tst-order-a2.c: New file.
13763 * elf/tst-order-a3.c: New file.
13764 * elf/tst-order-a4.c: New file.
13765 * elf/tst-order-b1.c: New file.
13766 * elf/tst-order-b2.c: New file.
13767 * elf/tst-order-main.c: New file.
13768 New test case by George Gensure <werkt0@gmail.com>.
13769
86e92359
UD
137702010-10-01 Andreas Schwab <schwab@redhat.com>
13771
13772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13773 decoding ACE if AI_CANONIDN.
13774
5d5732b0
UD
137752011-01-18 Ulrich Drepper <drepper@gmail.com>
13776
13777 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13778
a77e8cbc
UD
137792011-01-17 Ulrich Drepper <drepper@gmail.com>
13780
6392473f
UD
13781 * version.h (RELEASE): Bump for 2.13 release.
13782 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13783
620a0529
UD
13784 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13785
18ba70a5
UD
13786 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13787 MADV_NOHUGEPAGE.
32465c3e
UD
13788 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13789 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13790 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13791 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13792 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13793 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13794
c0dafcf1
UD
13795 * posix/getconf.c: Update copyright year.
13796 * catgets/gencat.c: Likewise.
13797 * csu/version.c: Likewise.
13798 * debug/catchsegv.sh: Likewise.
13799 * debug/xtrace.sh: Likewise.
13800 * elf/ldconfig.c: Likewise.
13801 * elf/ldd.bash.in: Likewise.
13802 * elf/sprof.c (print_version): Likewise.
13803 * iconv/iconv_prog.c: Likewise.
13804 * iconv/iconvconfig.c: Likewise.
13805 * locale/programs/locale.c: Likewise.
13806 * locale/programs/localedef.c: Likewise.
13807 * malloc/memusage.sh: Likewise.
13808 * malloc/mtrace.pl: Likewise.
13809 * nscd/nscd.c (print_version): Likewise.
13810 * nss/getent.c: Likewise.
13811
a77e8cbc
UD
13812 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13813 PF_CAIF, and PF_ALG.
13814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13815
77e8bddf
AS
138162011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13817
1f20b93a
AS
13818 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13819 (modules-names): Use them.
13820 (ifunc-test-modules, ifunc-pie-tests): Define.
13821 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13822 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13823 (test-extras): Likewise.
13824 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13825 $(compile-command.c).
13826 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13827 (all-built-dso): Define.
13828 (check-textrel.out, check-execstack.out): Depend on it.
13829
77e8bddf
AS
13830 * configure.in: Don't override --enable-multi-arch.
13831
bc425b33
UD
138322011-01-15 Ulrich Drepper <drepper@gmail.com>
13833
13834 [BZ #6812]
13835 * nscd/hstcache.c (tryagain): Define.
13836 (cache_addhst): Return tryagain not notfound for temporary errors.
13837 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13838 failed.
13839
794c3ad3
UD
138402011-01-14 Ulrich Drepper <drepper@gmail.com>
13841
70181fdd
UD
13842 [BZ #10563]
13843 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13844 to make the syscall.
13845 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13846
794c3ad3
UD
13847 [BZ #12378]
13848 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13849 and fall back to matching as normal character if the string ends before
13850 the matching ']' is found. This is what POSIX requires.
13851 * posix/testfnm.c: Adjust test result.
13852 * posix/globtest.sh: Adjust test result. Add new test.
13853 * posix/tst-fnmatch.input: Likewise.
13854 * posix/tst-fnmatch2.c: Add new test.
13855
68dc9497
AS
138562010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13857
13858 * elf/Makefile (check-execstack): Revert last change. Depend on
13859 check-execstack.h.
13860 (check-execstack.h): New target.
13861 (generated): Add check-execstack.h.
13862 * elf/check-execstack.c: Include "check-execstack.h".
13863 (main): Revert last change.
13864 (handle_file): Return zero if GNU_STACK is absent and
13865 DEFAULT_STACK_PERMS doesn't include PF_X.
13866
451f001b
UD
138672011-01-13 Ulrich Drepper <drepper@gmail.com>
13868
cfa28e56
UD
13869 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13870 in child fails because the descriptor is already closed.
8cf8ce17
UD
13871 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13872 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13873 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13874
1086d70d
UD
13875 [BZ #12397]
13876 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13877 syscall.
13878
451f001b
UD
13879 [BZ #10484]
13880 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13881 temporary buffer used to handle multi lookups locally.
a85b5cb4 13882 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13883
08769175
UD
138842011-01-12 Ulrich Drepper <drepper@gmail.com>
13885
13886 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13887 loader is ld.so.
13888
5e49c52e
UD
138892011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13890
13891 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13892 alignment for SSE2.
13893
60522a5f
UD
138942011-01-12 Ulrich Drepper <drepper@gmail.com>
13895
13896 [BZ #12394]
13897 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13898 characters. When rounding increased number of integer digits recompute
13899 number of groups.
13900 * stdio-common/tst-grouping.c: New file.
13901 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13902
f257bbd7
UD
139032011-01-09 Ulrich Drepper <drepper@gmail.com>
13904
13905 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13906 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13907
13908 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13909 void.
13910 * bits/select.h: Likewise.
13911
fa9c15cb
UD
139122011-01-08 Ulrich Drepper <drepper@gmail.com>
13913
13914 * po/ja.po: Update from translation team.
13915
16c2895f
DM
139162011-01-04 David S. Miller <davem@sunset.davemloft.net>
13917
13918 [BZ #11155]
13919 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13920 implementation just like for lxstat, fxstatat, et al.
13921
2543fef2
JM
139222010-12-27 Jim Meyering <meyering@redhat.com>
13923
13924 [BZ #12348]
13925 * posix/regexec.c (build_trtable): Return failure indication upon
13926 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13927
98727dbe
UD
139282010-12-25 Ulrich Drepper <drepper@gmail.com>
13929
5bd6dc5c
UD
13930 [BZ #12201]
13931 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13932 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13933 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13934 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13935
97983464
UD
13936 [BZ #12207]
13937 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13938
98727dbe
UD
13939 [BZ #12204]
13940 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13941 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13942
4a531bb0
L
139432010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13944
13945 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13946 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13947 script has SORT_BY_INIT_PRIORITY.
13948 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13949 NO_CTORS_DTORS_SECTIONS is defined.
13950 * elf/soinit.c: Likewise.
13951 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13952 NO_CTORS_DTORS_SECTIONS is defined.
13953 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13954 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13955 * sysdeps/sh/init-first.c: Likewise.
13956 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13957
07eb4b71
UD
139582010-12-24 Ulrich Drepper <drepper@gmail.com>
13959
13960 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13961 always use the slow path.
13962
30950a5f
RA
139632010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13964
13965 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13966 similar rule which adds the sysdep directories to the header search in
13967 order to pick up the correct platform stackinfo.h.
13968 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13969 perform test if it is, otherwise return successfully without testing.
13970 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13971 DEFAULT_STACK_PERMS define in stackinfo.h.
13972 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13973 defined in stackinfo.h.
13974 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13975 DEFAULT_STACK_PERMS defined in stackinfo.h.
13976 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13977 * sysdeps/ia64/stackinfo.h: Likewise.
13978 * sysdeps/s390/stackinfo.h: Likewise.
13979 * sysdeps/sh/stackinfo.h: Likewise.
13980 * sysdeps/sparc/stackinfo.h: Likewise.
13981 * sysdeps/x86_64/stackinfo.h: Likewise.
13982 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13983 PF_X for powerpc64. Retain PF_X for powerpc32.
13984
db753e2c
UD
139852010-12-19 Ulrich Drepper <drepper@gmail.com>
13986
14b697f7
UD
13987 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13988 accurately.
db753e2c
UD
13989 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13990 GETDENTS_64BIT_ALIGNED.
13991
28300719
UD
139922010-12-14 Ulrich Drepper <dreper@gmail.com>
13993
14b697f7 13994 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13995
4f197237
AS
139962010-12-10 Andreas Schwab <schwab@redhat.com>
13997
dbb0472f
AS
13998 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13999 _GNU_SOURCE.
14000
4f197237
AS
14001 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14002 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14003 Remove __restrict.
14004 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14005 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14006
fb88ac72
UD
140072010-12-09 Ulrich Drepper <drepper@gmail.com>
14008
14009 [BZ #11655]
14010 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14011 are initialized.
14012
42acbb92
JJ
140132010-12-09 Jakub Jelinek <jakub@redhat.com>
14014
14015 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14016
c038d98d
UD
140172010-12-03 Ulrich Drepper <drepper@gmail.com>
14018
14019 * po/it.po: Update from translation team.
14020
3a4a2499
L
140212010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14022
14023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14024 unused codes.
14025
1e24cf6e
UD
140262010-11-30 Ulrich Drepper <drepper@gmail.com>
14027
14028 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14029
a7690819
AS
140302010-11-24 Andreas Schwab <schwab@redhat.com>
14031
14032 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14033 specially.
14034 (gaih_getanswer_slice): Likewise.
14035
3bf8d1b1
JJ
140362010-10-20 Jakub Jelinek <jakub@redhat.com>
14037
14038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14039
6db52fbb
PB
140402010-05-31 Petr Baudis <pasky@suse.cz>
14041
14042 [BZ #11149]
14043 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14044 silently even in the chroot mode.
14045
eaca7569
UD
140462010-11-22 Ulrich Drepper <drepper@gmail.com>
14047
14048 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14049 last patch a bit. Pretty printing
14050
3056dcdb
UD
140512010-05-31 Petr Baudis <pasky@suse.cz>
14052
14053 [BZ #10085]
14054 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14055 initialization of skip_initgroups_dyn.
14056
cf7c9078
UD
140572010-11-19 Ulrich Drepper <drepper@gmail.com>
14058
14059 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14060 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14061
a1fb5e3e
UD
140622010-11-16 Ulrich Drepper <drepper@gmail.com>
14063
14064 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14065
3540d66b
AS
140662010-11-11 Andreas Schwab <schwab@redhat.com>
14067
14068 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14069 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14070 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14071 ($(objpfx)tst-fnmatch-mem): New rule.
14072 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14073 * posix/tst-fnmatch.c (main): Call mtrace.
14074
13b69574
L
140752010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14076
14077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14078 Support Intel processor model 6 and model 0x2c.
14079
da93d214
LM
140802010-11-10 Luis Machado <luisgpm@br.ibm.com>
14081
14082 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14083 signed comparison.
14084
8ca52c6e
L
140852010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14086
14087 [BZ #12205]
14088 * string/test-strncasecmp.c (check_result): New function.
14089 (do_one_test): Use it.
14090 (check1): New function.
14091 (test_main): Use it.
14092 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14093 Support strcasecmp and strncasecmp.
14094
69da074d
UD
140952010-11-08 Ulrich Drepper <drepper@gmail.com>
14096
14097 [BZ #12194]
14098 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14099 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14100
ff02d528
L
141012010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14102
14103 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14104 IFUNC support.
14105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14106 memset-x86-64.
14107 * sysdeps/x86_64/multiarch/bzero.S: New file.
14108 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14109 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14110 * sysdeps/x86_64/multiarch/memset.S: New file.
14111 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14113 Set bit_Prefer_SSE_for_memop for Intel processors.
14114 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14115 Define.
14116 (index_Prefer_SSE_for_memop): Define.
14117 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14118
344d0b54
LM
141192010-11-04 Luis Machado <luisgpm@br.ibm.com>
14120
14121 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14122 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14123
c0dde15b
UD
141242010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14125
14126 [BZ #12191]
14127 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14128 (__x86_64_raw_data_cache_size_half): Likewise.
14129 (__x86_64_raw_shared_cache_size): Likewise.
14130 (__x86_64_raw_shared_cache_size_half): Likewise.
14131
14132 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14133 (__x86_64_raw_data_cache_size_half): Likewise.
14134 (__x86_64_raw_shared_cache_size): Likewise.
14135 (__x86_64_raw_shared_cache_size_half): Likewise.
14136 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14137 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14138 and __x86_64_raw_shared_cache_size_half. Round
14139 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14140 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14141 to multiple of 256 bytes.
14142
0e516e0e
MS
141432010-11-03 Ulrich Drepper <drepper@gmail.com>
14144
14145 [BZ #12167]
14146 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14147 of inacessible symlinks. Verify result of symlink before returning it.
14148 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14149 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14150
0e012e87
ER
141512010-10-28 Erich Ritz <erichritz@gmail.com>
14152
14153 * math/math.h (isinf): Fix typo in comment.
14154
de0ff7bc
UD
141552010-11-01 Ulrich Drepper <drepper@gmail.com>
14156
14157 * po/da.po: Update from translation team.
14158
fa41c84d
UD
141592010-10-26 Ulrich Drepper <drepper@gmail.com>
14160
14161 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14162 is added to the list.
14163
f0967738
AK
141642010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14165 Ulrich Drepper <drepper@gmail.com>
14166
14167 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14168 the global list here. Move code to...
14169 (_dl_add_to_namespace_list): ...here. New function.
14170 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14171 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14172 * elf/dl-load.c (lose): Don't remove the element from the list.
14173 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14174 (_dl_map_object): Likewise.
14175
141762010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14177
14178 [BZ #12159]
14179 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14180 into all bytes of SSE register.
14181 Patch by Richard Li <richardpku@gmail.com>.
14182
f0967738 141832010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14184
14185 [BZ #12140]
14186 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14187 perturbing.
14188
d0b9e94f
MB
141892010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14190
14191 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14192 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14193 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14194 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14196 submachine.
14197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14198
8e9f92e9
AS
141992010-10-22 Andreas Schwab <schwab@redhat.com>
14200
14201 * include/dlfcn.h (__RTLD_SECURE): Define.
14202 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14203 mode & __RTLD_SECURE instead.
14204 (open_path): Rename preloaded parameter to secure.
14205 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14206 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14207 * elf/dl-deps.c (openaux): Likewise.
14208 * elf/rtld.c (struct map_args): Remove is_preloaded.
14209 (map_doit): Don't use it.
14210 (dl_main): Likewise.
14211 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14212 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14213
bc96fbda
AS
142142010-09-09 Andreas Schwab <schwab@redhat.com>
14215
14216 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14217 (sysd-rules-targets): Remove duplicates.
14218 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14219 rtld-%.$o dependency.
14220
22cd1c9b
AS
142212010-10-18 Andreas Schwab <schwab@redhat.com>
14222
14223 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14224 _dl_map_object do it.
14225
18edac48
UD
142262010-10-19 Ulrich Drepper <drepper@gmail.com>
14227
14228 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14229 fast fma builtins, define the macros in the C99 standard.
14230 (FP_FAST_FMAF): Likewise.
14231 (FP_FAST_FMAL): Likewise.
14232 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14233
14234 * bits/mathdef.h: Update copyright year.
14235 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14236
d2050124
MM
142372010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14238
14239 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14240 builtins, define the macros in the C99 standard.
14241 (FP_FAST_FMAF): Likewise.
14242 (FP_FAST_FMAL): Likewise.
14243 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14244 multiply/add.
14245 (FP_FAST_FMAF): Likewise.
14246
475facd1
JJ
142472010-10-15 Jakub Jelinek <jakub@redhat.com>
14248
14249 [BZ #3268]
14250 * math/libm-test.inc (fma_test): Some new testcases.
14251 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14252 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14253 y and infinite z. Do multiplication by C already in long double.
14254 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14256 y and infinite z. Do bitwise or of inexact bit into u.d.
14257 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14258 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14259 * sysdeps/i386/fpu/s_fma.S: Removed.
14260 * sysdeps/i386/fpu/s_fmal.S: Removed.
14261
7c08a05c
JJ
142622010-10-16 Jakub Jelinek <jakub@redhat.com>
14263
14264 [BZ #3268]
14265 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14266 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14267 computation is not scheduled after fetestexcept. Fix value
14268 of minimum denormal long double.
14269
f3f7372d
JJ
142702010-10-14 Jakub Jelinek <jakub@redhat.com>
14271
14272 [BZ #3268]
14273 * math/libm-test.inc (fma_test): Add some more tests.
14274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14275 correctly.
14276
14d43591
AS
142772010-10-15 Andreas Schwab <schwab@redhat.com>
14278
14279 * scripts/data/localplt-s390-linux-gnu.data: New file.
14280 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14281
5e908464
JJ
142822010-10-13 Jakub Jelinek <jakub@redhat.com>
14283
14284 [BZ #3268]
14285 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14286 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14287 instead of dbl-64.
14288 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14289 inlines.
14290 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14292 if one of x and y is very large and the other is subnormal.
14293 * sysdeps/s390/fpu/s_fmaf.c: New file.
14294 * sysdeps/s390/fpu/s_fma.c: New file.
14295 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14296 * sysdeps/powerpc/fpu/s_fma.S: New file.
14297 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14298 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14299 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14300
143012010-10-12 Jakub Jelinek <jakub@redhat.com>
14302
14303 [BZ #3268]
14304 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14305 fma tests.
14306 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14307 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14308 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14309 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14310 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14311 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14312 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14313
b833d51f
UD
143142010-10-12 Ulrich Drepper <drepper@redhat.com>
14315
14316 [BZ #12078]
14317 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14318 * posix/bug-regex31.input: Add test case.
14319
1751705d
UD
143202010-10-11 Ulrich Drepper <drepper@gmail.com>
14321
e9b9cbf5
UD
14322 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14323 * posix/bug-regex31.input: New file.
14324
14325 [BZ #12078]
14326 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14327 (parse_sub_exp): Fix last change, use postorder.
14328
ef06edbe
UD
14329 * posix/bug-regex31.c: New file.
14330 * posix/Makefile: Add rules to build and run bug-regex31.
14331
a129c80d
UD
14332 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14333
14334 [BZ #12078]
14335 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14336
b76b818e
UD
14337 [BZ #12108]
14338 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14339 to have entries in sys_siglist.
14340
1751705d
UD
14341 [BZ #12093]
14342 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14343 be NULL.
14344
9ff8d36f
JJ
143452010-10-07 Jakub Jelinek <jakub@redhat.com>
14346
14347 [BZ #3268]
14348 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14349 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14350 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14351 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14352 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14353 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14354 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14355 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14356 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14357 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14358 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14359 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14360 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14361 * math/ftestexcept.c (fetestexcept): Likewise.
14362 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14363 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14364 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14365 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14366 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14367 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14368 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14369
af325969
UD
143702010-10-11 Ulrich Drepper <drepper@gmail.com>
14371
c579b202 14372 [BZ #12107]
af325969
UD
14373 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14374 newline.
14375
67a67b95
UD
143762010-10-06 Ulrich Drepper <drepper@gmail.com>
14377
14378 * string/bug-strstr1.c: New file.
14379 * string/Makefile: Add rules to build and run bug-strstr1.
14380
5fb308bc
EB
143812010-10-05 Eric Blake <eblake@redhat.com>
14382
14383 [BZ #12092]
14384 * string/str-two-way.h (two_way_long_needle): Always clear memory
14385 when skipping input due to the shift table.
14386
45db99c7
UD
143872010-10-03 Ulrich Drepper <drepper@gmail.com>
14388
3b111893
UD
14389 [BZ #12005]
14390 * malloc/mcheck.c: Handle large requests.
14391
45db99c7
UD
14392 [BZ #12077]
14393 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14394 for strncmp and strncasecmp.
14395 * string/stratcliff.c: Add tests for strcmp and strncmp.
14396 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14397
cf7a1eb8
NI
143982010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14399
14400 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14401 __set_fpscr.
14402
6484ba5e
AJ
144032010-09-30 Andreas Jaeger <aj@suse.de>
14404
14405 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14406 (CGROUP_SUPER_MAGIC): Define.
14407 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14408 Handle btrfs and cgroup file systems.
14409 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14410 Likewise.
14411
91c42559
LM
144122010-09-27 Luis Machado <luisgpm@br.ibm.com>
14413
14414 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14415 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14416
87a97932
AK
144172010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14418
14419 [BZ #12067]
14420 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14421 trying to locate the ELF header.
14422
c21cc9bc
AS
144232010-09-27 Andreas Schwab <schwab@redhat.com>
14424
14425 [BZ #11611]
14426 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14427 Mask out sign-bit copies when constructing f_fsid.
14428
315970f6
PB
144292010-09-24 Petr Baudis <pasky@suse.cz>
14430
14431 * debug/stack_chk_fail_local.c: Add missing licence exception.
14432 * debug/warning-nop.c: Likewise.
14433
1ac7a2c7
JM
144342010-09-15 Joseph Myers <joseph@codesourcery.com>
14435
14436 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14437 implementing getdents64 using getdents syscall, set d_type if
14438 __ASSUME_GETDENTS32_D_TYPE.
14439
56801c50
AS
144402010-09-16 Andreas Schwab <schwab@redhat.com>
14441
14442 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14443 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14444
dda51327
UD
144452010-09-21 Ulrich Drepper <drepper@redhat.com>
14446
14447 [BZ #12037]
14448 * posix/unistd.h: Undo change of feature selection for ftruncate from
14449 2010-01-11.
14450
8ffcee4a
UD
144512010-09-20 Ulrich Drepper <drepper@redhat.com>
14452
a545ecd9 14453 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14454 detection.
14455
e24f0a8b
AS
144562010-09-20 Andreas Schwab <schwab@redhat.com>
14457
14458 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14459 fanotify_mark.
14460 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14461
7291c56f
AS
144622010-09-14 Andreas Schwab <schwab@redhat.com>
14463
14464 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14465 variables after CHECK_SP call.
14466 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14467
bc5fb037
AS
144682010-09-13 Andreas Schwab <schwab@redhat.com>
14469 Ulrich Drepper <drepper@redhat.com>
14470
14471 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14472 re-relocationg ld.so.
14473 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14474 _dl_init_paths call.
14475 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14476 here anymore.
14477
e66e7419
UD
144782010-09-14 Ulrich Drepper <drepper@redhat.com>
14479
14480 * resolv/res_init.c (__res_vinit): Count the default server we added.
14481
c044aa75
CLT
144822010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14483 Ulrich Drepper <drepper@redhat.com>
14484
14485 [BZ #11968]
14486 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14487 (____longjmp_chk): Use %ebx for saving value across system call.
14488 Add unwind info.
14489
32cf4069
AS
144902010-09-06 Andreas Schwab <schwab@redhat.com>
14491
14492 * manual/Makefile: Don't mix pattern rules with normal rules.
14493
817328ee
AS
144942010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14495
14496 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14497 operation.
14498 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14499 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14500 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14501 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14502 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14503 Likewise.
14504
29fddf61
UD
145052010-09-04 Ulrich Drepper <drepper@redhat.com>
14506
14507 [BZ #11979]
14508 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14509 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14510
0959ffc9
UD
145112010-09-02 Ulrich Drepper <drepper@redhat.com>
14512
14513 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14514 * sysdeps/x86_64/addmul_1.S: Likewise.
14515 * sysdeps/x86_64/lshift.S: Likewise.
14516 * sysdeps/x86_64/mul_1.S: Likewise.
14517 * sysdeps/x86_64/rshift.S: Likewise.
14518 * sysdeps/x86_64/sub_n.S: Likewise.
14519 * sysdeps/x86_64/submul_1.S: Likewise.
14520
ece29840
ST
145212010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14522
0959ffc9
UD
14523 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14524 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14525 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14526 * bits/sched.h [__need_schedparam]
ece29840 14527 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14528 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14529 (__defined_schedparam): Define to 1.
ece29840
ST
14530 (__sched_param): New structure, identical to sched_param.
14531 (__need_schedparam): Undefine.
14532
e53a31fe
MF
145332010-08-31 Mike Frysinger <vapier@gentoo.org>
14534
fdc0c10d
MF
14535 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14536 (epoll_create1): Declare.
14537
e53a31fe
MF
14538 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14539
a726d796
AS
145402010-08-31 Andreas Schwab <schwab@redhat.com>
14541
14542 [BZ #7066]
14543 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14544 shifting retval into place.
14545
2f3e3dc7
UD
145462010-09-01 Ulrich Drepper <drepper@redhat.com>
14547
f2933da9
UD
14548 * nis/rpcsvc/nis.h: Update copyright notice.
14549 * nis/rpcsvc/nis.x: Likewise.
14550 * nis/rpcsvc/nis_callback.h: Likewise.
14551 * nis/rpcsvc/nis_callback.x: Likewise.
14552 * nis/rpcsvc/nis_object.x: Likewise.
14553 * nis/rpcsvc/nis_tags.h: Likewise.
14554 * nis/rpcsvc/yp.h: Likewise.
14555 * nis/rpcsvc/yp.x: Likewise.
14556 * nis/rpcsvc/ypupd.h: Likewise.
14557 * nis/yp_xdr.c: Likewise.
14558 * nis/ypupdate_xdr.c: Likewise.
14559
2f3e3dc7
UD
14560 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14561 mainly the body of pmap_getport. Add parameters to specify timeouts.
14562 (pmap_getport): Use __libc_rpc_getport.
14563 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14564 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14565 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14566
f3dcc2f9
AS
145672010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14568
14569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14570 fanotify_mark.
14571
6d34eb5b
RM
145722010-08-27 Roland McGrath <roland@redhat.com>
14573
14574 * sysdeps/i386/i686/multiarch/Makefile
14575 (CFLAGS-varshift.c): New variable.
14576
9ea3de11
UD
145772010-08-27 Ulrich Drepper <drepper@redhat.com>
14578
c96d23fc
UD
14579 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14580 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14581
9ea3de11
UD
14582 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14583
14584 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14585
623aac7f
L
145862010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14587
14588 * sysdeps/x86_64/strlen.S: Unroll the loop.
14589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14590 strlen-sse2 strlen-sse2-bsf.
14591 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14592 __strlen_no_bsf if bit_Slow_BSF is set.
14593 (__strlen_sse42): Removed.
14594 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14595 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14596
8b2b7715
RM
145972010-08-25 Roland McGrath <roland@redhat.com>
14598
14599 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14600 * sysdeps/x86_64/multiarch/varshift.c: New file.
14601 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14602 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14603 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14604 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14605
e73015f2
L
146062010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14607
14608 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14609 strlen-sse2 strlen-sse2-bsf.
14610 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14611 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14612 (__strlen_sse2): Removed.
14613 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14614 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14616 bit_Slow_BSF for Atom.
14617 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14618 (index_Slow_BSF): Define.
14619 (HAS_SLOW_BSF): Define.
14620
df24a73e
UD
146212010-08-25 Ulrich Drepper <drepper@redhat.com>
14622
14623 [BZ #10851]
14624 * resolv/res_init.c (__res_vinit): When no server address at all
14625 is given default to loopback.
14626
f2ac4868
RM
146272010-08-24 Roland McGrath <roland@redhat.com>
14628
09055553
RM
14629 * configure.in: Remove config-name.h generation.
14630 * configure: Regenerated.
14631 * config-name.in: File removed.
14632 * scripts/config-uname.sh: New file.
14633 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14634 ($(objdir)config-name.h): New target.
14635
f2ac4868
RM
14636 * sunrpc/rpc_parse.h: Avoid nested comment.
14637
73f27d5e
RH
146382010-08-24 Richard Henderson <rth@redhat.com>
14639 Ulrich Drepper <drepper@redhat.com>
14640 H.J. Lu <hongjiu.lu@intel.com>
14641
14642 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14644 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14645 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14646 _mm_alignr_epi8 with _mm_loadu_si128.
14647 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14648 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14649 (__m128i_shift_right): Removed.
14650 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14651 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14652 * sysdeps/x86_64/multiarch/varshift.h: New file.
14653 * sysdeps/x86_64/multiarch/varshift.S: New file.
14654
84b9230c
MF
146552010-08-21 Mike Frysinger <vapier@gentoo.org>
14656
14657 * configure.in: Move assembler checks to before sysdep dir checking.
14658
9bbd0ddc
PB
146592010-08-20 Petr Baudis <pasky@suse.cz>
14660
14661 * LICENSES: Sync the sunrpc license.
14662
9da4bb31
UD
146632010-08-19 Ulrich Drepper <drepper@redhat.com>
14664
a7ab6ec8
UD
14665 * sunrpc/auth_des.c: Update copyright notice once again.
14666 * sunrpc/auth_none.c: Likewise.
14667 * sunrpc/auth_unix.c: Likewise.
14668 * sunrpc/authdes_prot.c: Likewise.
14669 * sunrpc/authuxprot.c: Likewise.
14670 * sunrpc/bindrsvprt.c: Likewise.
14671 * sunrpc/clnt_gen.c: Likewise.
14672 * sunrpc/clnt_perr.c: Likewise.
14673 * sunrpc/clnt_raw.c: Likewise.
14674 * sunrpc/clnt_simp.c: Likewise.
14675 * sunrpc/clnt_tcp.c: Likewise.
14676 * sunrpc/clnt_udp.c: Likewise.
14677 * sunrpc/clnt_unix.c: Likewise.
14678 * sunrpc/des_crypt.c: Likewise.
14679 * sunrpc/des_soft.c: Likewise.
14680 * sunrpc/get_myaddr.c: Likewise.
14681 * sunrpc/getrpcport.c: Likewise.
14682 * sunrpc/key_call.c: Likewise.
14683 * sunrpc/key_prot.c: Likewise.
14684 * sunrpc/openchild.c: Likewise.
14685 * sunrpc/pm_getmaps.c: Likewise.
14686 * sunrpc/pm_getport.c: Likewise.
14687 * sunrpc/pmap_clnt.c: Likewise.
14688 * sunrpc/pmap_prot.c: Likewise.
14689 * sunrpc/pmap_prot2.c: Likewise.
14690 * sunrpc/pmap_rmt.c: Likewise.
14691 * sunrpc/rpc/auth.h: Likewise.
14692 * sunrpc/rpc/auth_unix.h: Likewise.
14693 * sunrpc/rpc/clnt.h: Likewise.
14694 * sunrpc/rpc/des_crypt.h: Likewise.
14695 * sunrpc/rpc/key_prot.h: Likewise.
14696 * sunrpc/rpc/netdb.h: Likewise.
14697 * sunrpc/rpc/pmap_clnt.h: Likewise.
14698 * sunrpc/rpc/pmap_prot.h: Likewise.
14699 * sunrpc/rpc/pmap_rmt.h: Likewise.
14700 * sunrpc/rpc/rpc.h: Likewise.
14701 * sunrpc/rpc/rpc_des.h: Likewise.
14702 * sunrpc/rpc/rpc_msg.h: Likewise.
14703 * sunrpc/rpc/svc.h: Likewise.
14704 * sunrpc/rpc/svc_auth.h: Likewise.
14705 * sunrpc/rpc/types.h: Likewise.
14706 * sunrpc/rpc/xdr.h: Likewise.
14707 * sunrpc/rpc_clntout.c: Likewise.
14708 * sunrpc/rpc_cmsg.c: Likewise.
14709 * sunrpc/rpc_common.c: Likewise.
14710 * sunrpc/rpc_cout.c: Likewise.
14711 * sunrpc/rpc_dtable.c: Likewise.
14712 * sunrpc/rpc_hout.c: Likewise.
14713 * sunrpc/rpc_main.c: Likewise.
14714 * sunrpc/rpc_parse.c: Likewise.
14715 * sunrpc/rpc_parse.h: Likewise.
14716 * sunrpc/rpc_prot.c: Likewise.
14717 * sunrpc/rpc_sample.c: Likewise.
14718 * sunrpc/rpc_scan.c: Likewise.
14719 * sunrpc/rpc_scan.h: Likewise.
14720 * sunrpc/rpc_svcout.c: Likewise.
14721 * sunrpc/rpc_tblout.c: Likewise.
14722 * sunrpc/rpc_util.c: Likewise.
14723 * sunrpc/rpc_util.h: Likewise.
14724 * sunrpc/rpcinfo.c: Likewise.
14725 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14726 * sunrpc/rpcsvc/key_prot.x: Likewise.
14727 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14728 * sunrpc/rpcsvc/mount.x: Likewise.
14729 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14730 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14731 * sunrpc/rpcsvc/rex.x: Likewise.
14732 * sunrpc/rpcsvc/rstat.x: Likewise.
14733 * sunrpc/rpcsvc/rusers.x: Likewise.
14734 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14735 * sunrpc/rpcsvc/spray.x: Likewise.
14736 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14737 * sunrpc/rtime.c: Likewise.
14738 * sunrpc/svc.c: Likewise.
14739 * sunrpc/svc_auth.c: Likewise.
14740 * sunrpc/svc_authux.c: Likewise.
14741 * sunrpc/svc_raw.c: Likewise.
14742 * sunrpc/svc_run.c: Likewise.
14743 * sunrpc/svc_simple.c: Likewise.
14744 * sunrpc/svc_tcp.c: Likewise.
14745 * sunrpc/svc_udp.c: Likewise.
14746 * sunrpc/svc_unix.c: Likewise.
14747 * sunrpc/svcauth_des.c: Likewise.
14748 * sunrpc/xcrypt.c: Likewise.
14749 * sunrpc/xdr.c: Likewise.
14750 * sunrpc/xdr_array.c: Likewise.
14751 * sunrpc/xdr_float.c: Likewise.
14752 * sunrpc/xdr_mem.c: Likewise.
14753 * sunrpc/xdr_rec.c: Likewise.
14754 * sunrpc/xdr_ref.c: Likewise.
14755 * sunrpc/xdr_sizeof.c: Likewise.
14756 * sunrpc/xdr_stdio.c: Likewise.
14757
9da4bb31
UD
14758 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14759 handling.
14760
bdaa77bc
AS
147612010-08-19 Andreas Schwab <schwab@redhat.com>
14762
14763 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14764
fe2f79db
LM
147652010-08-19 Luis Machado <luisgpm@br.ibm.com>
14766
14767 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14768 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14769 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14770 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14771 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14772 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14773 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14774 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14775 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14776 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14777 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14778 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14779 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14780 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14781
b9b42ee0
AB
147822010-07-26 Anton Blanchard <anton@samba.org>
14783
14784 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14785 * malloc/arena.c (heap_trim): Likewise.
14786
1c06ba31
UD
147872010-08-16 Ulrich Drepper <drepper@redhat.com>
14788
14789 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14790 here. Not...
14791 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14792 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14793
f8392f40
L
147942010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14795
14796 * sysdeps/i386/elf/Makefile: New file.
14797
3162f12e
AS
147982010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14799
14800 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14801 from fanotify_init.
14802 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14803 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14804
28c90b2c
UD
148052010-08-15 Ulrich Drepper <drepper@redhat.com>
14806
14807 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14808 of strncasecmp_l.
1feccb6c 14809 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14810
ca6bb004
UD
148112010-08-14 Ulrich Drepper <drepper@redhat.com>
14812
e9f82e0d
UD
14813 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14814 strncase_l-nonascii.
14815 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14816 Add strncase_l-ssse3.
14817 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14818 * sysdeps/x86_64/strcmp.S: Likewise.
14819 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14820 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14821 * sysdeps/x86_64/strncase.S: New file.
14822 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14823 * sysdeps/x86_64/strncase_l.S: New file.
14824 * string/Makefile (strop-tests): Add strncasecmp.
14825 * string/test-strncasecmp.c: New file.
14826
14827 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14828 warning.
14829
ca6bb004
UD
14830 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14831 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14832
052fa7b3
AS
148332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14834
14835 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14836
962dba78
UD
148372010-08-12 Ulrich Drepper <drepper@redhat.com>
14838
14839 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14840 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14841 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14842
bebff237
AM
148432010-05-01 Alan Modra <amodra@gmail.com>
14844
14845 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14846 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14847 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14848 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14849 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14850 tidying. Don't tail-call __sigjmp_save for static lib.
14851 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14852 save location.
14853 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14854 (CALL_MCOUNT): Add eh info, and nop after bl.
14855 (TAIL_CALL_SYSCALL_ERROR): New macro.
14856 (PSEUDO_RET): Use it.
14857 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14858 Correct save location of integer regs and cr.
14859 (_dl_profile_resolve): Correct cr save location. Delete nops
14860 after bl when SHARED. Reduce cfi size a little by better
14861 placement of cfi directives.
14862 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14863 make a stack frame. Instead use parm save area as a temp.
14864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14865 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14867 Don't make a stack frame for parent, use parm save area.
14868 Increase child stack frame to 112 bytes. Don't save unused reg,
14869 and adjust reg usage. Set up cfi on error recovery and
14870 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14872 (__makecontext): Add dummy nop after jump to exit.
14873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14874 Use correct parm save area and cr save, reduce stack frame.
14875 Correct cfi for possible PSEUDO_RET frame setup.
14876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14877 Branch to local label emitted by PSEUDO_RET rather than
14878 __syscall_error.
14879
02637374
AS
148802010-08-12 Andreas Schwab <schwab@redhat.com>
14881
14882 [BZ #11904]
14883 * locale/programs/locale.c (print_assignment): New function.
14884 (show_locale_vars): Use it.
14885
c3e2f19b
UD
148862010-08-11 Ulrich Drepper <drepper@redhat.com>
14887
3cdaa6ad
UD
14888 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14889 field.
14890 (struct statfs64): Likewise.
14891 (_STATFS_F_FLAGS): Define.
14892 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14893 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14894 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14895 (ST_VALID): Define locally.
14896 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14897 __statvfs_getflags, use the provided value.
14898 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14899 __ASSUME_STATFS_F_FLAGS.
14900
754f7da3
UD
14901 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14902
10b3bedc
UD
14903 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14904 Add sys/fanotify.h.
14905 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14906 fanotify_mask for GLIBC_2.13.
14907 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14908 fanotify_init and fanotify_mark.
14909 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14910 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14911
c08fb0d7
UD
14912 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14913 Add prlimit.
14914 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14915 prlimit64 for GLIBC_2.13.
14916 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14917 prlimit64.
14918 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14919 syscall.
14920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14921 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14922 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14923 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14924 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14925 add prlimit alias.
14926 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14927
15bac72b
UD
14928 [BZ #11903]
14929 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14930 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14931
c3e2f19b
UD
14932 * nss/Makefile: Add rules to build and run tst-nss-test1.
14933 * shlib-versions: Add entry for libnss_test1.
14934 * nss/nss_test1.c: New file.
14935 * nss/tst-nss-test1.c: New file.
14936
14937 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14938 (__nss_configure_lookup): Set appropriate entry in
14939 __nss_configure_lookup to true.
14940 * nss/nsswitch.h: Define enum with indeces of databases in
14941 databases and __nss_database_custom arrays. Declare
14942 __nss_database_custom.
14943 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14944 to avoid using nscd when custom rules are installed.
14945 * nss/getXXbyYY_r.c: Likewise.
14946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14947
14948 * nss/nss_files/files-parse.c: Whitespace fixes.
14949
f15ce4d8
UD
149502010-08-09 Ulrich Drepper <drepper@redhat.com>
14951
14952 [BZ #11883]
14953 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14954 * posix/fnmatch_loop.c: Likewise.
14955
d22e4cc9
AK
149562010-07-17 Andi Kleen <ak@linux.intel.com>
14957
14958 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14959 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14960 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14961 * Versions.def [GLIBC_2.13]: Add.
14962
805bc17d
UD
149632010-08-06 Ulrich Drepper <drepper@redhat.com>
14964
14965 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14966 Also fail if tpwd after pwuid call is NULL.
14967
5a42321d
ST
149682010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14969
14970 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14971 when converting to ms.
14972
fd3ebeda
ST
149732010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14974
14975 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14976 EOPNOTSUPP errors with ENOTTY.
14977 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14978 EOPNOTSUPP errors with ENOTTY.
14979
73507d3a
UD
149802010-07-31 Ulrich Drepper <drepper@redhat.com>
14981
14982 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14983 Add strcasecmp_l-ssse3.
14984 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14985 strcasecmp.
14986 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14987 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14988 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14989
fe36dd02
UD
149902010-07-30 Ulrich Drepper <drepper@redhat.com>
14991
66f6765a
UD
14992 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14993
42e08a54
UD
14994 * string/Makefile (strop-tests): Add strcasecmp.
14995 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14996 strcasecmp_l-nonascii.
14997 (gen-as-const-headers): Add locale-defines.sym.
14998 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14999 * sysdeps/x86_64/strcasecmp.S: New file.
15000 * sysdeps/x86_64/strcasecmp_l.S: New file.
15001 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15002 * sysdeps/x86_64/locale-defines.sym: New file.
15003 * string/test-strcasecmp.c: New file.
15004
fe36dd02
UD
15005 * string/test-strcasestr.c: Test both ends of the range of characters.
15006 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15007
48cbc0d6
RM
150082010-07-29 Roland McGrath <roland@redhat.com>
15009
76e6d6bc 15010 [BZ #11856]
48cbc0d6
RM
15011 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15012
880113d9
UD
150132010-07-27 Ulrich Drepper <drepper@redhat.com>
15014
15015 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15016 for ld.so.
15017
deb9cabb
AS
150182010-07-27 Andreas Schwab <schwab@redhat.com>
15019
15020 * manual/memory.texi (Malloc Tunable Parameters): Document
15021 M_PERTURB.
15022
1c7570ff
RM
150232010-07-26 Roland McGrath <roland@redhat.com>
15024
15025 [BZ #11840]
15026 * configure.in (-fgnu89-inline check): Set and substitute
15027 gnu89_inline, not libc_cv_gnu89_inline.
15028 * configure: Regenerated.
15029 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15030
24fb0f88
UD
150312010-07-26 Ulrich Drepper <drepper@redhat.com>
15032
15033 * string/test-strnlen.c: New file.
15034 * string/Makefile (strop-tests): Add strnlen.
15035 * string/tester.c (test_strnlen): Add a few more test cases.
15036 * string/tst-strlen.c: Better error reporting.
15037
15038 * sysdeps/x86_64/strnlen.S: New file.
15039
8e96b93a
UD
150402010-07-24 Ulrich Drepper <drepper@redhat.com>
15041
15042 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15043 lower-latency instructions.
15044
dbc676d4
UD
150452010-07-23 Ulrich Drepper <drepper@redhat.com>
15046
15047 * string/test-strcasestr.c: New file.
15048 * string/test-strstr.c: New file.
15049 * string/Makefile (strop-tests): Add strstr and strcasestr.
15050 * string/str-two-way.h: Don't undefine MAX.
15051 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15052
f6a31e0e
AS
150532010-07-21 Andreas Schwab <schwab@redhat.com>
15054
15055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15056 strcasestr-nonascii.
15057 (CFLAGS-strcasestr-nonascii.c): Define.
15058 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15059 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15060 Remove unused attribute.
15061
5dbc3b6c
RM
150622010-07-20 Roland McGrath <roland@redhat.com>
15063
15064 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15065 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15066 ld.so.cache was broken. With it, there is no way to disable dsocaps
15067 like LD_HWCAP_MASK can disable hwcaps.
15068
23d101d8
EPM
150692010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15070
15071 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15072
cc9f2e47
UD
150732010-07-16 Ulrich Drepper <drepper@redhat.com>
15074
15075 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15076 call in strcasestr.
15077 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15078 __strcasestr_sse42_nonascii.
15079 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15080 strcasestr-nonascii.c.
15081 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15082
77c1b069
LM
150832010-06-15 Luis Machado <luisgpm@br.ibm.com>
15084
15085 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15086 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15087 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15088 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15089
440566c3
UD
150902010-07-09 Ulrich Drepper <drepper@redhat.com>
15091
15092 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15093 fcntl.
15094
5be9d05d
AS
150952010-07-06 Andreas Schwab <schwab@redhat.com>
15096
c30b7ee2 15097 [BZ #11577]
5be9d05d
AS
15098 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15099 dl_signal_cerror.
15100
8a492a67
UD
151012010-07-06 Ulrich Drepper <drepper@redhat.com>
15102
15103 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15104 _PC_PIPE_BUF using F_GETPIPE_SZ.
15105
713df3d5
RM
151062010-07-05 Roland McGrath <roland@redhat.com>
15107
15108 * manual/arith.texi (Rounding Functions): Fix rint description
15109 implicit in round description.
15110
702e8f14
UD
151112010-07-02 Ulrich Drepper <drepper@redhat.com>
15112
15113 * elf/Makefile: Fix linking for a few tests to make recent linker
15114 happy.
15115
52ed8be9
AS
151162010-06-30 Andreas Schwab <schwab@redhat.com>
15117
15118 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15119 $(common-objpfx)libc_nonshared.a.
15120
f47c9a11
LM
151212010-06-21 Luis Machado <luisgpm@br.ibm.com>
15122
15123 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15124 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15125 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15126 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15127 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15128 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15129 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15130 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15145 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15146 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15147 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15148 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15149 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15150 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15151 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15152 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15153 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15154 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15155 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15156 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15171
6fb8cbcb
L
151722010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15173
15174 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15175 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15176 * string/memmove.c (memmove): Renamed to ...
15177 (MEMMOVE): ...this. Default to memmove.
15178 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15179 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15180 (END_CHK): Define.
15181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15182 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15183 mempcpy-ssse3-back memmove-ssse3-back.
15184 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15185 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15186 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15187 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15188 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15189 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15190 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15191 * sysdeps/x86_64/multiarch/memmove.c: New file.
15192 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15193 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15194 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15195 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15196 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15197 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15198 Define.
15199 (index_Fast_Copy_Backward): Define.
15200 (HAS_ARCH_FEATURE): Define.
15201 (HAS_FAST_REP_STRING): Define.
15202 (HAS_FAST_COPY_BACKWARD): Define.
15203
4e733bac 152042010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15205
15206 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15207 Restore proper fallback handling.
15208
63c4ed22
UD
152092010-06-19 Ulrich Drepper <drepper@redhat.com>
15210
ac2b484c
UD
15211 [BZ #11701]
15212 * posix/group_member.c (__group_member): Correct checking loop.
15213
63c4ed22
UD
15214 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15215 OOM in getpwuid_r correctly. Return error number when the caller
15216 should return, otherwise -1.
15217 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15218 call returning > 0 value.
15219 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15220
765ade4b
AS
152212010-06-07 Andreas Schwab <schwab@redhat.com>
15222
15223 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15224 libc_nonshared.a from targets in modules-names.
15225
80da2e09
KS
152262010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15227
15228 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15229 requires it.
15230
158db122
LM
152312010-06-10 Luis Machado <luisgpm@br.ibm.com>
15232
15233 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15234 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15235 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15236 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15237
caa78cf8
AS
152382010-06-02 Andreas Schwab <schwab@redhat.com>
15239
15240 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15241
b2ef2c01
UD
152422010-06-14 Ulrich Drepper <drepper@redhat.com>
15243
15244 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15245 and F_GETPIPE_SZ.
15246 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15247 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15248 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15250 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15251 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15252
fbd643b6
RM
152532010-06-14 Roland McGrath <roland@redhat.com>
15254
15255 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15256
f32f2869
JJ
152572010-06-07 Jakub Jelinek <jakub@redhat.com>
15258
15259 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15260 __REDIRECT followed by __THROW.
15261 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15262 * posix/getopt.h (getopt): Likewise.
15263
2a50c078
EPM
152642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15265
15266 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15267 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15268 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15269 in AT_FLAGS.
15270 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15271 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15272
eb5ad2eb
LM
152732010-05-28 Luis Machado <luisgpm@br.ibm.com>
15274
15275 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15276
3c88fe1e
L
152772010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15278
15279 [BZ #11640]
15280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15281 Properly check family and model.
15282
d2f73151
TY
152832010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15284
15285 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15286
ebd2e13d
LM
152872010-05-24 Luis Machado <luisgpm@br.ibm.com>
15288
15289 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15290
b32b8b45
UD
152912010-05-21 Ulrich Drepper <drepper@redhat.com>
15292
15293 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15294 symbol reference.
15295
9acbe24d
AS
152962010-05-19 Andreas Schwab <schwab@redhat.com>
15297
15298 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15299 symbol reference.
15300
f0ccf6ea
AS
153012010-05-21 Andreas Schwab <schwab@redhat.com>
15302
3d04ff3a
AS
15303 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15304 and internal_recvmmsg.
15305 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15306 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15307 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15308 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15309
f0ccf6ea
AS
15310 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15311 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15312 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15313
5b08ac57
AS
153142010-05-20 Andreas Schwab <schwab@redhat.com>
15315
15316 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15317
4828935d
LM
153182010-05-17 Luis Machado <luisgpm@br.ibm.com>
15319
15320 POWER7 optimizations.
15321 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15322 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15323
373d545e
UD
153242010-05-19 Ulrich Drepper <drepper@redhat.com>
15325
15326 * version.h: Update for 2.13 development version.
15327
21a2b1ae
AS
153282010-05-12 Andrew Stubbs <ams@codesourcery.com>
15329
15330 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15331 exceptions. Return 0.
15332
3f7dcb2b
RM
153332010-05-07 Roland McGrath <roland@redhat.com>
15334
15335 * elf/ldconfig.c (main): Add a const.
15336
5f24d53a 153372010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15338
a160f8d8
UD
15339 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15340 (args_options): Add no-idn option.
15341 (ahosts_keys_int): Add idn_flags to ai_flags.
15342 (parse_option): Handle 'i' option to clear idn_flags.
15343
5f24d53a
UD
15344 * malloc/malloc.c (_int_free): Possible race in the most recently
15345 added check. Only act on the data if no current modification
15346 happened.
265bb1ce
UD
15347
15348See ChangeLog.17 for earlier changes.