Build rpcgen-generated files when cross compiling.
[platform/upstream/glibc.git] / ChangeLog
1 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
2             Joseph Myers  <joseph@codesourcery.com>
3             Paul Pluzhnikov  <ppluzhnikov@google.com>
4
5         [BZ #14012]
6         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7         requiring rpcgen.
8         [cross-compiling] (extra-libs): Likewise.
9         [cross-compiling] (extra-libs-others): Likewise.
10         [cross-compiling] (librpcsvc-routines): Likewise.
11         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12         [cross-compiling] (omit-deps): Likewise.
13         (sunrpc-CPPFLAGS): New variable.
14         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16         (cross-rpcgen-objs): New variable.
17         (extra-objs): Append $(cross-rpcgen-objs).
18         ($(cross-rpcgen-objs)): New rule.
19         ($(objpfx)cross-rpcgen): Likewise.
20         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21         comment.
22         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23         ($(objpfx)x%.stmp): Likewise.
24         * sunrpc/proto.h [IS_IN_build] (_): Define.
25         [IS_IN_build] (_libc_intl_domainname): Likewise.
26
27 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28
29         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31         and R_X86_64_TPOFF64.
32
33 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34
35         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36         sysdeps/unix/sysv/syscalls.list.
37         (stime): Likewise.
38         (utime): Likewise.
39         * sysdeps/unix/sysv/syscalls.list: Remove file.
40
41 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42
43         [BZ #3440]
44         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47         (__LC_IDENTIFICATION): Make these macros useful in #if
48         expressions, as required by C99.
49
50 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
51
52         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
54         after this.
55
56 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57
58         * stdlib/longlong.h: Updated from GCC.
59
60 2012-05-09  Andreas Jaeger  <aj@suse.de>
61
62         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63         default is first entry.
64         (run_mode): Set type.
65         (main): Remove informal message about syslog.
66         (options): Fix typo.
67
68         [BZ #14053]
69         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
70         to asm.
71         (lrint): Likewise.
72         (llrintf): Likewise.
73         (llrint): Likewise.
74         (rint): Likewise.
75         (rintf): Likewise.
76         (nearbyint): Likewise.
77         (nearbyintf): Likewise.
78
79 2012-05-09  Andreas Jaeger  <aj@suse.de>
80             Pedro Alves  <palves@redhat.com>
81
82         * nscd/nscd.c (run_mode): Use enum.
83         (main): Cleanup coding style issue.
84
85 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
86             Andreas Jaeger  <aj@suse.de>
87
88         * nscd/nscd.c (go_background): Replaced with...
89         (run_mode): ... this.
90         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
91         (options): Add -F --foreground.
92         (main): Implement it.
93         (parse_opt): Parse it.
94
95 2012-05-09  Andreas Jaeger  <aj@suse.de>
96
97         [BZ #14083]
98         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
99         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
100         -Wconversion warning.
101         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
102         Likewise.
103
104 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
105
106         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
107         == 0.
108         (LC_ALL): Use macro-int-constant.
109         (LC_COLLATE): Likewise.
110         (LC_CTYPE): Likewise.
111         (LC_MESSAGES): Likewise.
112         (LC_MONETARY): Likewise.
113         (LC_NUMERIC): Likewise.
114         (LC_TIME): Likewise.
115         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
116         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
117         [ISO || ISO99 || ISO11] (*_t): Do not allow.
118         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
119         Specify type.
120         [C99-based standards] (float_t): Expect type.
121         [C99-based standards] (double_t): Expect type.
122         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
123         type.
124         [C99-based standards] (HUGE_VALL): Likewise.
125         [C99-based standards] (INFINITY): Likewise.
126         [C99-based standards] (NAN): Likewise.
127         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
128         [C99-based standards] (FP_NAN): Likewise.
129         [C99-based standards] (FP_NORMAL): Likewise.
130         [C99-based standards] (FP_SUBNORMAL): Likewise.
131         [C99-based standards] (FP_ZERO): Likewise.
132         [C99-based standards] (FP_FAST_FMA): Use
133         optional-macro-int-constant.  Specify type.  Require == 1.
134         [C99-based standards] (FP_FAST_FMAF): Likewise.
135         [C99-based standards] (FP_FAST_FMAL): Likewise.
136         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
137         [C99-based standards] (FP_ILOGBNAN): Likewise.
138         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
139         Specify type.
140         [C99-based standards] (MATH_ERREXCEPT): Likewise.
141         [C99-based standards] (math_errhandling): Specify type.
142         [ISO99 || ISO11] (signgam): Do not allow.
143         [non-C99-based standards] (copysignf): Do not allow.
144         [non-C99-based standards] (exp2f): Likewise.
145         [non-C99-based standards] (log2f): Likewise.
146         [non-C99-based standards] (modff): Allow.
147         [non-C99-based standards] (erff): Do not allow.
148         [non-C99-based standards] (erfcf): Likewise.
149         [non-C99-based standards] (gammaf): Likewise.
150         [non-C99-based standards] (hypotf): Likewise.
151         [non-C99-based standards] (j0f): Likewise.
152         [non-C99-based standards] (j1f): Likewise.
153         [non-C99-based standards] (jnf): Likewise.
154         [non-C99-based standards] (lgammaf): Likewise.
155         [non-C99-based standards] (tgammaf): Likewise.
156         [non-C99-based standards] (y0f): Likewise.
157         [non-C99-based standards] (y1f): Likewise.
158         [non-C99-based standards] (ynf): Likewise.
159         [non-C99-based standards] (isnanf): Likewise.
160         [non-C99-based standards] (acoshf): Likewise.
161         [non-C99-based standards] (asinhf): Likewise.
162         [non-C99-based standards] (atanhf): Likewise.
163         [non-C99-based standards] (cbrtf): Likewise.
164         [non-C99-based standards] (expm1f): Likewise.
165         [non-C99-based standards] (ilogbf): Likewise.
166         [non-C99-based standards] (log1pf): Likewise.
167         [non-C99-based standards] (logbf): Likewise.
168         [non-C99-based standards] (nextafterf): Likewise.
169         [non-C99-based standards] (remainderf): Likewise.
170         [non-C99-based standards] (rintf): Likewise.
171         [non-C99-based standards] (scalbf): Likewise.
172         [non-C99-based standards] (copysignl): Likewise.
173         [non-C99-based standards] (exp2l): Likewise.
174         [non-C99-based standards] (log2l): Likewise.
175         [non-C99-based standards] (modfl): Allow.
176         [non-C99-based standards] (erfl): Do not allow.
177         [non-C99-based standards] (erfcl): Likewise.
178         [non-C99-based standards] (gammal): Likewise.
179         [non-C99-based standards] (hypotl): Likewise.
180         [non-C99-based standards] (j0l): Likewise.
181         [non-C99-based standards] (j1l): Likewise.
182         [non-C99-based standards] (jnl): Likewise.
183         [non-C99-based standards] (lgammal): Likewise.
184         [non-C99-based standards] (tgammal): Likewise.
185         [non-C99-based standards] (y0l): Likewise.
186         [non-C99-based standards] (y1l): Likewise.
187         [non-C99-based standards] (ynl): Likewise.
188         [non-C99-based standards] (isnanl): Likewise.
189         [non-C99-based standards] (acoshl): Likewise.
190         [non-C99-based standards] (asinhl): Likewise.
191         [non-C99-based standards] (atanhl): Likewise.
192         [non-C99-based standards] (cbrtl): Likewise.
193         [non-C99-based standards] (expm1l): Likewise.
194         [non-C99-based standards] (ilogbl): Likewise.
195         [non-C99-based standards] (log1pl): Likewise.
196         [non-C99-based standards] (logbl): Likewise.
197         [non-C99-based standards] (nextafterl): Likewise.
198         [non-C99-based standards] (remainderl): Likewise.
199         [non-C99-based standards] (rintl): Likewise.
200         [non-C99-based standards] (scalbl): Likewise.
201         [ISO || ISO99 || ISO11] (*_t): Do not allow.
202         [non-C99-based standards] (FP_*): Do not allow.
203         [C99-based standards] (FP_*): Change to
204         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
205         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
206         allow.
207         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
208         (SIG_ERR): Likewise.
209         [X/Open-based standards] (SIG_HOLD): Likewise.
210         (SIG_IGN): Likewise.
211         (SIGABRT): Use macro-int-constant.  Specify type.  Require
212         positive value.
213         (SIGFPE): Likewise.
214         (SIGILL): Likewise.
215         (SIGINT): Likewise.
216         (SIGSEGV): Likewise.
217         (SIGTER): Likewise.
218         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
219         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
220         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
221         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
222         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
223         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
224         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
225         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
226         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
227         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
228         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
229         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
230         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
231         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
232         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
233         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
234         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
235         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
236         [X/Open-based standards] (SIGTRAP): Likewise.
237         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
238         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
239         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
240         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
241         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
242         allow.
243
244 2012-05-08  Ian Wienand  <ianw@vmware.com>
245
246         [BZ #14080]
247         * time/tzset.c (__tzset_parse_tz): Update default rules for
248         daylight time changes in the Energy Policy Act of 2005.
249
250 2012-05-09  Andreas Jaeger  <aj@suse.de>
251
252         [BZ #13983]
253         * elf/ldconfig.c (parse_conf): Change string to make clear that
254         ldconfig only issued a warning if ld.so.conf does not exist.
255
256 2012-05-08  David S. Miller  <davem@davemloft.net>
257
258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
259         movxtod instead of popping the value on the stack.
260
261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
262
263 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
264
265         * config.h.in: Add HAVE_ARM_PCS_VFP.
266
267 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
268
269         [BZ #13979]
270         * include/features.h: Warn if user requests __FORTIFY_SOURCE
271         checking but the checks are disabled for any reason.
272
273 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
274
275         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
276         and ELF64_R_TYPE with ELFW(R_TYPE).
277
278 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
279
280         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
281         (ulimit): Likewise.
282
283         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
284         (settimeofday): Likewise.
285
286 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
287
288         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
289         a struct th_u2 inside the union, and move tu_block/tu_code into
290         a new th_u3 union of tu_block/tu_code inside of that.  Move
291         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
292         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
293         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
294         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
295         (th_stuff): Change to th_u1.tu_stuff.
296         (th_data): Define.
297         (th_msg): Change to th_u1.th_u2.tu_data.
298
299 2012-05-07  David S. Miller  <davem@davemloft.net>
300
301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
302
303         [BZ #14074]
304         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
305         (SETUP_PIC_REG): Use it.
306         (SETUP_PIC_REG_LEAF): Use it.
307
308 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
309
310         [BZ #13885]
311         [BZ #13923]
312         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
313         USE_AS_EXPM1L.
314         (EXPL_FINITE): Likewise.
315         (FLDLOG): Likewise.
316         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
317         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
318         e_expl.S.
319         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
320         USE_AS_EXPM1L.
321         (EXPL_FINITE): Likewise.
322         (FLDLOG): Likewise.
323         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
324         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
325         e_expl.S.
326         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
327         test of -max_value argument for long double.
328         * sysdeps/i386/fpu/libm-test-ulps: Update.
329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
330
331 2012-05-06  David S. Miller  <davem@davemloft.net>
332
333         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
334         quad soft-float symbols whose references which are compiler
335         generated.
336         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
337
338 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
339
340         [BZ #13884]
341         [BZ #13914]
342         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
343         USE_AS_EXP10L.
344         (EXPL_FINITE): Likewise.
345         (FLDLOG): Likewise.
346         (c0): Likewise.
347         (c1): Likewise.
348         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
349         Adjust comments for base varying.
350         (__expl_finite): Change alias to EXPL_FINITE.
351         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
352         e_expl.S.
353         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
354         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
355         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
356         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
357         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
358         USE_AS_EXP10L.
359         (EXPL_FINITE): Likewise.
360         (FLDLOG): Likewise.
361         (c0): Likewise.
362         (c1): Likewise.
363         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
364         Adjust comments for base varying.
365         (__expl_finite): Change alias to EXPL_FINITE.
366         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
367         tests for bugs.
368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
369
370         [BZ #14064]
371         * math/libm-test.inc (check_float_internal): Correct ulp
372         calculation for subnormal expected results.
373
374 2012-05-06  Andreas Jaeger  <aj@suse.de>
375
376         * Makeconfig (+math-flags): New, set to -frounding-math.
377         (+cflags): Add +math-flags so that all of glibc gets compiled with
378         it.
379
380         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
381
382 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
383
384         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
385         Disable one test.
386
387         [BZ #13787]
388         [BZ #13922]
389         [BZ #14036]
390         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
391         (__ieee754_expl): Allow for and saturate large arguments.
392         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
393         (u_threshold): Likewise.
394         (__exp): Call __ieee754_exp before checking for overflow and
395         underflow.
396         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
397         (u_threshold): Likewise.
398         (__expf): Call __ieee754_expf before checking for overflow and
399         underflow.
400         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
401         (u_threshold): Likewise.
402         (__expl): Call __ieee754_expl before checking for overflow and
403         underflow.
404         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
405         (__ieee754_expl): Allow for and saturate large arguments.
406         * math/libm-test.inc (exp_test): Add another test.  Do not allow
407         missing overflow exception on overflow.
408         (expm1_test): Do not allow missing overflow exception on overflow.
409
410         * sysdeps/i386/fpu/e_expl.c: Move to ...
411         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
412         rather than using inline asm.
413         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
414         * sysdeps/x86_64/fpu/e_expl.S: Copy from
415         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
416
417         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
418         (nice): Likewise.
419         (poll): Likewise.
420         (signal): Likewise.
421         (time): Likewise.
422         (times): Likewise.
423
424 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
425
426         * sysdeps/unix/syscalls.list (adjtime): Add entry from
427         sysdeps/unix/common/syscalls.list.
428         (fchmod): Likewise.
429         (fchown): Likewise.
430         (ftruncate): Likewise.
431         (getrusage): Likewise.
432         (gettimeofday): Likewise.
433         (setpgid): Likewise.
434         (setregid): Likewise.
435         (setreuid): Likewise.
436         (sigaction): Likewise.
437         (truncate): Likewise.
438         (vhangup): Likewise.
439         * sysdeps/unix/common/syscalls.list: Remove file.
440         * sysdeps/unix/bsd/Implies: Don't include unix/common.
441         * sysdeps/unix/sysv/linux/Implies: Likewise.
442
443 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
444
445         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
447         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
448         Moved to ...
449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
450         Here.
451         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
452         to ...
453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
454         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
455         to ...
456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
457         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
458         to ...
459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
460         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
461         to ...
462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
463         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
464         to ...
465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
466         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
467         to ...
468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
469         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
470         to ...
471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
472         Here.
473         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
474         to ...
475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
476         Here.
477         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
478         to ...
479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
480         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
481         Moved to ...
482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
483         Here.
484         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
485         to ...
486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
487
488 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
489
490         * sysdeps/unix/common/bits/dirent.h: Remove file.
491         * sysdeps/unix/common/bits/fcntl.h: Likewise.
492
493         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
494         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
495         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
496         * sysdeps/unix/bsd/isatty.c: Likewise.
497         * sysdeps/unix/bsd/tcdrain.c: Likewise.
498         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
499         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
500
501 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
502
503         [BZ #13563]
504         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
505         long double comparison inaccuracies.
506         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
508
509 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
510
511         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
512         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
513
514 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
515
516         [BZ #14049]
517         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
518         nonzero digits before rounding a hex value.
519         * stdlib/tst-strtod.c (tests): Add another test.
520
521 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
522
523         * sysdeps/s390/fpu/libm-test-ulps: Update.
524
525 2012-05-03  Andreas Jaeger  <aj@suse.de>
526
527         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
528         does not get optimized out.
529         (malloc_opt_barrier): New.
530
531 2012-05-03  Andreas Jaeger  <aj@suse.de>
532             Roland McGrath  <roland@hack.frob.com>
533
534         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
535         intermediate file deletion.
536         (generated): Add .symlist files.
537
538 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
539
540         [BZ #13775]
541         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
542         Redirect under this condition.
543         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
544         [__USE_GNU] (__dprintf_chk): Not under this condition.
545         [__USE_GNU] (__vdprintf_chk): Likewise.
546         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
547         under this condition.
548         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
549         [__USE_XOPEN2K8] (dprintf): Define under this condition.
550         [__USE_XOPEN2K8] (vdprintf): Likewise.
551         [__USE_GNU] (__dprintf_chk): Not under this condition.
552         [__USE_GNU] (__vdprintf_chk): Likewise.
553         [__USE_GNU] (dprintf): Likewise.
554         [__USE_GNU] (vdprintf): Likewise.
555
556 2012-05-03  Roland McGrath  <roland@hack.frob.com>
557
558         * elf/Makefile (common-generated): Set this instead of generated for
559         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
560         $(all-built-dso)-derived lists.
561
562 2012-05-03  Andreas Jaeger  <aj@suse.de>
563
564         * sysdeps/i386/fpu/libm-test-ulps: Update.
565
566         * FAQ: Removed.
567         * FAQ.in: Likewise.
568         * scripts/gen-FAQ.pl: Likewise.
569         * manual/install.texi (Installation): Point to online location of
570         FAQ.
571         * Makefile (files-for-dist): Remove FAQ.
572         (FAQ): Remove.
573
574 2012-05-02  Allan McRae  <allan@archlinux.org>
575
576         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
577         (LDFLAGS-reldepmod5.so): Likewise.
578         (LDFLAGS-reldep6mod1.so): Likewise.
579         (LDFLAGS-reldep6mod4.so): Likewise.
580         (LDFLAGS-reldep8mod3.so): Likewise.
581         (LDFLAGS-unload4mod1.so): Likewise.
582         (LDFLAGS-unload4mod2.so): Likewise.
583         (LDFLAGS-tst-initorder): Likewise.
584         (LDFLAGS-tst-initordera2.so): Likewise.
585         (LDFLAGS-tst-initordera3.so): Likewise.
586         (LDFLAGS-tst-initordera4.so): Likewise.
587         (LDFLAGS-tst-initorderb2.so): Likewise.
588         (LDFLAGS-noload): Likewise.
589         (LDFLAGS-next): Likewise.
590         (LDFLAGS-order2mod1.so): Likewise.
591         (LDFLAGS-order2mod2.so): Likewise.
592         (LDFLAGS-tst-initorder2): Likewise.
593         (LDFLAGS-tst-initorder2a.so): Likewise.
594         (LDFLAGS-tst-initorder2b.so): Likewise.
595         (LDFLAGS-tst-initorder2c.so): Likewise.
596         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
597
598 2012-05-02  David S. Miller  <davem@davemloft.net>
599
600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
601
602 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
603
604         [BZ #14055]
605         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
606
607 2012-05-02  Andreas Jaeger  <aj@suse.de>
608
609         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
610         since we manipulate rounding mode.
611         (CPPFLAGS-test-idouble.c): Likewise.
612         (CPPFLAGS-test-ifloat.c): Likewise.
613         (CFLAGS-test-ldouble.c): Likewise.
614         (CFLAGS-test-double.c): Likewise.
615         (CFLAGS-test-float.c): Likewise.
616         (CFLAGS-test-misc.c): Likewise.
617         (CFLAGS-test-test-fenv.c): Likewise.
618
619 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
620
621         [BZ #2550]
622         [BZ #2570]
623         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
624         comparisons to determine direction to adjust input.
625
626 2012-05-01  Roland McGrath  <roland@hack.frob.com>
627
628         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
629         output to the target.
630
631         * scripts/localplt.awk: New file.
632         * elf/Makefile ($(objpfx)check-localplt): Target removed.
633         (check-localplt-CFLAGS): Variable removed.
634         ($(all-built-dso:=.jmprel)): New static pattern rule.
635         (generated): Add those targets.
636         (localplt-built-dso): New variable.
637         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
638
639         * elf/check-localplt.c: File removed.
640
641         * scripts/check-execstack.awk: New file.
642         * elf/Makefile ($(objpfx)check-execstack): Target removed.
643         (check-execstack-CFLAGS): Variable removed.
644         ($(objpfx)check-execstack.h): Target removed.
645         ($(objpfx)execstack-default): New target.
646         (generated): Add that instead of check-execstack.h.
647         ($(all-built-dso:=.phdr)): New static pattern rule.
648         (generated): Add those targets.
649         * elf/check-execstack.c: File removed.
650
651         * scripts/check-textrel.awk: New file.
652         * elf/Makefile ($(objpfx)check-textrel): Target removed.
653         (check-textrel-CFLAGS): Variable removed.
654         (all-built-dso): Use := to define.o
655         ($(all-built-dso:=.dyn)): New static pattern rule.
656         (generated): Add those targets.
657         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
658         * config.make.in (READELF): New substituted variable.
659         * elf/check-textrel.c: File removed.
660
661 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
662
663         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
664         allow.
665         * conform/data/ctype.h-data [C99-based standards] (isblank):
666         Expect function.
667         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
668         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
669         [ISO || ISO99 || ISO11] (*_t): Do not allow.
670         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
671         Specify type.  Require positive value.
672         (EILSEQ): Likewise.
673         (ERANGE): Likewise.
674         [ISO || POSIX] (EILSEQ): Do not expect.
675         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
676         Specify type.  Require positive value.
677         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
678         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
679         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
680         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
681         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
682         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
683         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
684         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
685         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
686         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
687         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
688         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
689         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
690         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
691         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
692         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
693         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
694         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
695         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
696         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
697         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
698         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
699         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
700         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
701         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
702         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
703         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
704         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
705         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
706         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
707         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
708         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
709         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
710         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
711         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
712         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
713         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
714         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
715         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
716         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
717         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
718         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
719         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
720         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
721         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
722         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
723         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
724         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
725         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
726         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
727         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
728         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
729         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
730         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
731         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
732         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
733         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
734         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
735         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
736         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
737         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
738         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
739         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
740         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
741         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
742         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
743         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
744         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
745         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
746         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
747         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
748         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
749         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
750         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
751         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
752         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
753         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
754         Require >= 2.
755         (FLT_ROUNDS): Expect as macro, not constant.
756         (FLT_MANT_DIG): Use macro-int-constant.
757         (DBL_MANT_DIG): Likewise.
758         (LDBL_MANT_DIG): Likewise.
759         (FLT_DIG): Likewise.
760         (DBL_DIG): Likewise.
761         (LDBL_DIG): Likewise.
762         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
763         (DBL_MIN_EXP): Likewise.
764         (LDBL_MIN_EXP): Likewise.
765         (FLT_MAX_EXP): Use macro-int-constant.
766         (DBL_MAX_EXP): Likewise.
767         (LDBL_MAX_EXP): Likewise.
768         (FLT_MAX_10_EXP): Likewise.
769         (DBL_MAX_10_EXP): Likewise.
770         (LDBL_MAX_10_EXP): Likewise.
771         (FLT_MAX): Use macro-constant.
772         (DBL_MAX): Likewise.
773         (LDBL_MAX): Likewise.
774         (FLT_EPSILON): Use macro-constant.  Give upper bound.
775         (DBL_EPSILON): Likewise.
776         (LDBL_EPSILON): Likewise.
777         (FLT_MIN): Likewise.
778         (DBL_MIN): Likewise.
779         (LDBL_MIN): Likewise.
780         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
781         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
782         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
783         [ISO11] (FLT_HAS_SUBNORM): Likewise.
784         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
785         [ISO11] (DBL_DECIMAL_DIG): Likewise.
786         [ISO11] (FLT_DECIMAL_DIG): Likewise.
787         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
788         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
789         [ISO11] (FLT_TRUE_MIN): Likewise.
790         [ISO11] (LDBL_TRUE_MIN): Likewise.
791         [ISO || ISO99 || ISO11] (*_t): Do not allow.
792         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
793         (SCHAR_MIN): Use macro-int-constant.  Specify type.
794         (SCHAR_MAX): Likewise.
795         (UCHAR_MAX): Likewise.
796         (CHAR_MIN): Likewise.
797         (CHAR_MAX): Likewise.
798         (MB_LEN_MAX): Use macro-int-constant.
799         (SHRT_MIN): Use macro-int-constant.  Specify type.
800         (SHRT_MAX): Likewise.
801         (USHRT_MAX): Likewise.
802         (INT_MAX): Likewise.
803         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
804         bound negative.
805         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
806         bound with "U".
807         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
808         bound with "L".
809         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
810         bound negative.  Suffix upper bound with "L".
811         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
812         bound with "UL".
813         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
814         Specify type.
815         [C99-based standards] (LLONG_MAX): Likewise.
816         [C99-based standards] (ULLONG_MAX): Likewise.
817         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
818         == 0.
819         [ISO11] (max_align_t): Require type.
820         [ISO || ISO99 || ISO11] (*_t): Do not allow.
821
822         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
823         from $CFLAGS, without defining away __attribute__ calls.
824         (checknamespace): Use $CFLAGS_namespace.
825
826         * conform/conformtest.pl (@keywords): Only include C99 keywords
827         for standards based on C99 or C11.
828
829         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
830         Disable tests.
831         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
832         UNIX98]: Likewise.
833
834         * conform/conformtest.pl: Handle "macro-int-constant" and test for
835         usability of symbols in #if.
836
837         * conform/conformtest.pl: If macro or constant types start
838         "promoted:", expect the symbol to be of the following type
839         promoted by the integer promotions.
840
841         * conform/conformtest.pl: Parse all "constant" and "macro" lines
842         in one place.  Also handle "macro-constant".
843
844         * conform/conformtest.pl: Only accept expected macro values with
845         "==".  Parse all "macro" lines in one place.
846         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
847
848         * conform/conformtest.pl: Handle braced types on "constant" lines
849         instead of handling "typed-constant".
850         * conform/data/signal.h-data: Use "constant" instead of
851         "typed-constant".
852
853         * conform/conformtest.pl: Handle "optional-" at start of lines in
854         one place rather than duplicating several cases.  Handle each
855         format of "macro" line with initial "optional-".
856
857         * conform/conformtest.pl: Only accept expected constant or
858         optional-constant values with "==".  Parse all "constant" lines in
859         one place.  Parse all "optional-constant" lines in one place.
860         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
861         * conform/data/fmtmsg.h-data: Likewise.
862         * conform/data/netinet/in.h-data: Likewise.
863         * conform/data/tar.h-data: Likewise.
864         * conform/data/limits.h-data: Use "==" form on "constant" and
865         "optional-constant" lines.
866
867         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
868         Use -std=c99 for XOPEN2K.
869         (@knownproblems): Remove.
870         (newtoken): Don't check %isknown.
871
872         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
873         Do not expect macro.
874         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
875         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
876         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
877         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
878         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
879         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
880         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
881         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
882         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
883         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
884         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
885         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
886         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
887         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
888         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
889         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
890         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
891         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
892         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
893         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
894         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
895         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
896         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
897         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
898         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
899         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
900         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
901         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
902         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
903         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
904         [XPG3] (acosh): Likewise.
905         [XPG3] (asinh): Likewise.
906         [XPG3] (atanh): Likewise.
907         [XPG3] (cbrt): Likewise.
908         [XPG3] (expm1): Likewise.
909         [XPG3] (ilogb): Likewise.
910         [XPG3] (log1p): Likewise.
911         [XPG3] (logb): Likewise.
912         [XPG3] (nextafter): Likewise.
913         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
914         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
915         [XPG3] (remainder): Likewise.
916         [XPG3] (rint): Likewise.
917         [XPG3 || XPG4 || UNIX98] (round): Likewise.
918         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
919         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
920         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
921         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
922         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
923         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
924         [UNIX98 || XOPEN2K] (scalb): Expect.
925         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
926         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
927         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
928         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
929         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
930         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
931         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
932         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
933         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
934         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
935         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
936         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
937         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
938         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
939         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
940         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
941         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
942         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
943         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
944         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
945         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
946         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
947         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
948         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
949         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
950         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
951         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
952         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
953         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
954         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
955         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
956         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
957         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
958         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
959         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
960         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
961         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
962         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
963         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
964         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
965         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
966         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
967         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
968         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
969         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
970         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
971         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
972         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
973         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
974         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
975         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
976         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
977         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
978         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
979         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
980         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
981         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
982         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
983         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
984         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
985         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
986         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
987         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
988         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
989         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
990         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
991         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
992         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
993         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
994         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
995         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
996         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
997         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
998         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
999         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1000         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1001         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1002         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1003         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1004         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1005         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1006         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1007         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1008         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1009         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1010         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1011         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1012         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1013         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1014         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1015         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1016         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1017         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1018         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1019         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1020         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1021         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1022         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1023         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1024         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1025         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1026         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1027         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1028         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1029         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1030         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1031         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1032         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1033         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1034         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1035         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1036         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1037         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1038         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1039         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1040         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1041         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1042         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1043         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1044         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1045         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1046         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1047         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1048         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1049         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1050         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1051         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1052         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1053         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1054         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1055         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1056         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1057         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1058         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1059         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1060         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1061         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1062
1063         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1064         _XOPEN_SOURCE_EXTENDED for XPG4.
1065
1066         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1067
1068         * Makeconfig (localtime): Remove variable.
1069         (inst_localtime-file): Likewise.
1070
1071 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1072
1073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1074         Update.
1075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1076         Update.
1077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1078         Update.
1079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1080         Update.
1081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1082         Update.
1083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1084         Update.
1085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1086         Update.
1087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1088         Update.
1089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1090         Update.
1091
1092 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1093
1094         [BZ #2550]
1095         [BZ #2570]
1096         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1097         comparisons to determine direction to adjust input.
1098         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1099         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1100         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1101         Likewise.
1102         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1103         Likewise.
1104         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1105         Likewise.
1106         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1107         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1108         Likewise.
1109         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1110         Likewise.
1111         * math/libm-test.inc (nexttoward_test): Add more tests.
1112
1113 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1114
1115         [BZ #14040]
1116         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1117         in version GLIBC_2.1, not GLIBC_2.0.
1118         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1119         Likewise.
1120
1121 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
1122
1123         [BZ #13942]
1124         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1125         (1 - x) * (1 + x).
1126         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1127         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1128         * math/libm-test.inc (acos_test): Add more tests.
1129         (asin_test): Likewise.
1130         * sysdeps/i386/fpu/libm-test-ulps: Update.
1131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1132
1133         [BZ #14034]
1134         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1135         of square root.
1136         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1137         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1138         * math/libm-test.inc (acos_test_tonearest): New function.
1139         (acos_test_towardzero): Likewise.
1140         (acos_test_downward): Likewise.
1141         (acos_test_upward): Likewise.
1142         (asin_test_tonearest): Likewise.
1143         (asin_test_towardzero): Likewise.
1144         (asin_test_downward): Likewise.
1145         (asin_test_upward): Likewise.
1146         (main): Call the new functions.
1147         * sysdeps/i386/fpu/libm-test-ulps: Update.
1148         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1149
1150         [BZ #13884]
1151         [BZ #13924]
1152         * math/e_exp10.c: Include <float.h>.
1153         (__ieee754_exp10): Handle underflow here rather than multiplying
1154         large negative argument by M_LN10.
1155         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1156         of __ieee754_expf.
1157         * math/e_exp10l.c: Include <float.h>.
1158         (__ieee754_exp10l): Handle underflow here rather than multiplying
1159         large negative argument by M_LN10l.
1160         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
1161         spurious overflow exception on underflow.
1162
1163 2012-04-29  Marek Polacek  <polacek@redhat.com>
1164
1165         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1166         (__fortify_function): New macro.
1167         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1168         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1169         __extern_always_inline.
1170         * libio/bits/stdio2.h: Likewise.
1171         * libio/bits/stdio.h: Likewise.
1172         * string/string.h: Likewise.
1173         * string/bits/string3.h: Likewise.
1174         * include/stdio.h: Likewise.
1175         * stdlib/bits/stdlib.h: Likewise.
1176         * stdlib/stdlib.h: Likewise.
1177         * rt/bits/mqueue2.h: Likewise.
1178         * rt/mqueue.h: Likewise.
1179         * posix/bits/unistd.h: Likewise.
1180         * posix/unistd.h: Likewise.
1181         * io/bits/poll2.h: Likewise.
1182         * io/bits/fcntl2.h: Likewise.
1183         * io/fcntl.h: Likewise.
1184         * io/sys/poll.h: Likewise.
1185         * misc/bits/syslog.h: Likewise.
1186         * misc/bits/syslog-ldbl.h: Likewise.
1187         * misc/sys/syslog.h: Likewise.
1188         * socket/bits/socket2.h: Likewise.
1189         * socket/sys/socket.h: Likewise.
1190         * debug/tst-chk1.c: Likewise.
1191         * wcsmbs/bits/wchar2.h: Likewise.
1192         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1193         * wcsmbs/wchar.h: Likewise.
1194
1195 2012-04-29  Andreas Jaeger  <aj@suse.de>
1196
1197         * Makerules (tests): Remove enable-check-abi protection.
1198         (check-abi-warn): Remove.
1199         (check-abi-%): Remove check-abi-warn usage.
1200
1201         * configure.in: Remove check-abi configure option.
1202         * configure: Regenerated.
1203         * config.make.in (enable-check-abi): Remove.
1204
1205 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
1206
1207         [BZ #14033]
1208         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1209         double functions to double *_finite functions.
1210
1211         [BZ #13941]
1212         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1213         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1214         LDBL_MIN_EXP.
1215         * stdio-common/Makefile (tests): Add tst-sprintf3.
1216         * stdio-common/tst-sprintf3.c: New file.
1217
1218         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1219         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1220
1221 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1222
1223         * conform/conformtest.pl: Remove duplicate typed-constant
1224         handling.
1225
1226 2012-04-28  David S. Miller  <davem@davemloft.net>
1227
1228         * Makerules (%.abilist): Add vpath on sysdep_dirs.
1229         (check-abi-%): Remove AWK script prerequisite and explicit
1230         abilist directory.
1231         (check-abi): Rewrite to just diff the symlist with the abilist.
1232         (config-tls, config-abi-config): Delete, no longer used.
1233         (update-abi-%): Remove AWK script and explicit abilist directory.
1234         (update-abi): Rewrite to simply compare and conditionally copy the
1235         symlist and the sysdep abilist file.  Remove update-abi-config
1236         checks.
1237         * abilist/ld.abilist: Remove.
1238         * abilist/libBrokenLocale.abilist: Remove.
1239         * abilist/libanl.abilist: Remove.
1240         * abilist/libcrypt.abilist: Remove.
1241         * abilist/libdl.abilist: Remove.
1242         * abilist/librt.abilist: Remove.
1243         * abilist/libthread_db.abilist: Remove.
1244         * abilist/libutil.abilist: Remove.
1245         * scripts/extract-abilist.awk: Remove.
1246         * scripts/merge-abilist.awk: Remove.
1247         * sysdeps/generic/libcidn.abilist: New file.
1248         * sysdeps/generic/libnss_compat.abilist: New file.
1249         * sysdeps/generic/libnss_db.abilist: New file.
1250         * sysdeps/generic/libnss_dns.abilist: New file.
1251         * sysdeps/generic/libnss_files.abilist: New file.
1252         * sysdeps/generic/libnss_hesiod.abilist: New file.
1253         * sysdeps/generic/libnss_nis.abilist: New file.
1254         * sysdeps/generic/libnss_nisplus.abilist: New file.
1255         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1256         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1257         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1258         file.
1259         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1260         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1261         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1262         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1263         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1264         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1265         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1266         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1267         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1268         file.
1269         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1270         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1271         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1272         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1273         file.
1274         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1275         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1276         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1277         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1278         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1279         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1280         file.
1281         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1282         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1283         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1284         file.
1285         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1286         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1287         New file.
1288         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1289         New file.
1290         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1291         New file.
1292         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1293         New file.
1294         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1295         New file.
1296         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1297         New file.
1298         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1299         New file.
1300         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1301         New file.
1302         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1303         New file.
1304         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1305         New file.
1306         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1307         New file.
1308         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1309         New file.
1310         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1311         New file.
1312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1313         file.
1314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1315         New file.
1316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1317         New file.
1318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1319         file.
1320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1321         New file.
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1323         New file.
1324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1325         file.
1326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1327         New file.
1328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1329         New file.
1330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1331         New file.
1332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1333         New file.
1334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1335         New file.
1336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1337         New file.
1338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1340         file.
1341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1342         New file.
1343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1344         file.
1345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1346         file.
1347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1348         file.
1349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1350         file.
1351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1352         file.
1353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1354         New file.
1355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1356         file.
1357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1358         file.
1359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1360         New file.
1361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1362         file.
1363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1365         file.
1366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1367         New file.
1368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1369         file.
1370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1371         file.
1372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1373         file.
1374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1375         file.
1376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1377         file.
1378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1379         New file.
1380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1381         file.
1382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1383         file.
1384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1385         New file.
1386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1387         file.
1388         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1389         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1390         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1391         file.
1392         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1393         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1394         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1395         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1396         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1397         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1398         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1399         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1400         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1401         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1404         file.
1405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1406         New file.
1407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1408         file.
1409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1410         file.
1411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1412         file.
1413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1414         file.
1415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1416         file.
1417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1418         New file.
1419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1420         New file.
1421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1422         file.
1423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1424         New file.
1425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1426         file.
1427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1429         file.
1430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1431         New file.
1432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1433         file.
1434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1435         file.
1436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1437         file.
1438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1439         file.
1440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1441         file.
1442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1443         New file.
1444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1445         New file.
1446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1447         file.
1448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1449         New file.
1450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1451         file.
1452
1453 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1454
1455         * conform/conformtest.pl: Fix typo in handling typed-constant from
1456         allow-header.
1457
1458 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1459
1460         * README: Cut down references to pre-2.6 Linux kernels and
1461         Linuxthreads.  Update lists of configurations in libc and ports
1462         and sort alphabetically.  Say "or newer" with Linux kernel version
1463         requirements.
1464
1465         * config.h.in [IS_IN_build]: Allow compiling without optimization.
1466
1467 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1468
1469         [BZ #887]
1470         * math/libm-test.inc (logb_test_downward): New test to expose
1471         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1472         rounding mode.
1473
1474 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1475
1476         [BZ #14027]
1477         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1478         to be done.
1479         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1480         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1481
1482 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1483
1484         * sysdeps/unix/i386/brk.S: Remove file.
1485         * sysdeps/unix/i386/dl-brk.S: Likewise.
1486         * sysdeps/unix/i386/pipe.S: Likewise.
1487         * sysdeps/unix/i386/sigreturn.S: Likewise.
1488         * sysdeps/unix/i386/syscall.S: Likewise.
1489         * sysdeps/unix/i386/vfork.S: Likewise.
1490         * sysdeps/unix/i386/wait.S: Likewise.
1491
1492         * sysdeps/unix/common/tcsendbrk.c: Move to ...
1493         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1494
1495         * configure.in (arm*-none*): Do not allow without
1496         --enable-hacker-mode.
1497         (netbsd*): Remove case setting base_os.
1498         (386bsd*): Likewise.
1499         (freebsd*): Likewise.
1500         (bsdi*): Likewise.
1501         (osf*): Likewise.
1502         (sunos*): Likewise.
1503         (ultrix*): Likewise.
1504         (newsos*): Likewise.
1505         (dynix*): Likewise.
1506         (*bsd*): Likewise.
1507         (sysv*): Likewise.
1508         (isc*): Likewise.
1509         (esix*): Likewise.
1510         (sco*): Likewise.
1511         (minix*): Likewise.
1512         (irix4*): Likewise.
1513         (irix6*): Likewise.
1514         (solaris[2-9]*): Likewise.
1515         (none): Likewise.
1516         * configure: Regenerated.
1517
1518 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1519
1520         [BZ #11521]
1521         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1522         overflow or cancellation in calculating denominator.
1523         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1524         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1525         down expression to avoid unexpected rounding in newer GCCs.
1526         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1527
1528 2012-04-26  David S. Miller  <davem@davemloft.net>
1529
1530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1531         long-double compat symbols.
1532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1545
1546 2012-04-25  David S. Miller  <davem@davemloft.net>
1547
1548         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1549         HWCAP_* values only after the memory barriers have been defined.
1550         (atomic_full_barrier): Define.
1551         (atomic_read_barrier): Define.
1552         (atomic_write_barrier): Define.
1553
1554 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1555
1556         * shlib-versions: Add libgcc_s version information.
1557         * sysdeps/generic/libgcc_s.h: Remove.
1558         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1559         libgcc_s.h.
1560         * sysdeps/gnu/unwind-resume.c: Likewise.
1561         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1562
1563 2012-04-25  David S. Miller  <davem@davemloft.net>
1564
1565         * sysdeps/unix/sparc/brk.S: Delete.
1566         * sysdeps/unix/sparc/dl-brk.S: Delete.
1567         * sysdeps/unix/sparc/pipe.S: Delete.
1568         * sysdeps/unix/sparc/sysdep.S: Delete.
1569         * sysdeps/unix/sparc/sysdep.h: Delete.
1570         * sysdeps/unix/sparc/vfork.S: Delete.
1571         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1572         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1573         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1574         ret_ERRVAL, r0, r1, MOVE): Define.
1575         (JUMPTARGET): Remove.
1576         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1577         sysdeps/unix/sparc/sysdep.h
1578         (ENTRY, END): Remove.
1579         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1580
1581 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
1582
1583         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1584         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1585         -DIS_IN_build.
1586
1587         * timezone/README: Update upstream location and email address for
1588         tzcode and tzdata.
1589         * timezone/zdump.c: Update from tzcode 2012b.
1590         * timezone/zic.c: Likewise.
1591
1592         * configure.in (libc_cv_as_needed): Remove test.
1593         * configure: Regenerated.
1594         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1595         conditional definition.
1596         [$(have-as-needed) != yes] (no-as-needed): Likewise.
1597         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1598         * config.make.in (have-as-needed): Remove variable.
1599
1600 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1601             Paul Pluzhnikov  <ppluzhnikov@google.com>
1602
1603         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1604         strings correctly.
1605
1606 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1607
1608         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1609         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1610         * sysdeps/sh/strlen.S: Likewise.
1611
1612 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1613
1614         * sysdeps/unix/fork.S: Remove file.
1615         * sysdeps/unix/i386/fork.S: Likewise.
1616         * sysdeps/unix/sparc/fork.S: Likewise.
1617
1618         * sysdeps/unix/system.c: Remove file.
1619         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1620
1621         * sysdeps/unix/getegid.S: Remove file.
1622         * sysdeps/unix/geteuid.S: Likewise.
1623
1624 2012-04-24  Roland McGrath  <roland@hack.frob.com>
1625
1626         * scripts/check-localplt.awk: New file.
1627         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1628         of diff.
1629         * scripts/data/localplt-generic.data: Add a comment.
1630
1631         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1632         NODE when __dir_mkfile failed.
1633         * sysdeps/mach/hurd/symlinkat.c: Likewise.
1634         Reported by Ludovic Courtès <ludo@gnu.org>.
1635
1636 2012-04-24  Andreas Jaeger  <aj@suse.de>
1637
1638         * Makerules (common-clean): Also remove gen-as-const-headers
1639         files.
1640
1641 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1642
1643         * Makerules (native-compile): Do not change working directory for
1644         build.  Use $(OUTPUT_OPTION) in command.
1645         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1646
1647 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1648
1649         [BZ #13886]
1650         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1651         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1652         * math/libm-test.inc (floor_test): Add more tests.
1653         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1654
1655 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1656
1657         * sysdeps/unix/getdents.c: Remove file.
1658         * sysdeps/unix/sysv/getdents.c: Likewise.
1659         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1660
1661         * sysdeps/unix/syscalls.list (madvise): Add syscall from
1662         sysdeps/unix/mman/syscalls.list.
1663         (mmap): Likewise.
1664         (mprotect): Likewise.
1665         (msync): Likewise.
1666         (munmap): Likewise.
1667         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1668         * sysdeps/unix/mman/syscalls.list: Remove.
1669         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1670
1671         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1672         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1673         * configure: Regenerated.
1674         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1675         $(libgcc_s_suffix).
1676         * config.make.in (libgcc_s_suffix): Remove variable.
1677
1678 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
1679
1680         * sysdeps/unix/sysv/gethostname.c: Move to ...
1681         * sysdeps/posix/gethostname.c: ... here.
1682
1683         * sysdeps/unix/execve.S: Remove file.
1684
1685         * sysdeps/unix/_exit.S: Remove file.
1686
1687 2012-04-23  Andreas Jaeger  <aj@suse.de>
1688
1689         [BZ #13739]
1690         * manual/Makefile: Remove make dist support, there's no
1691         need for a stand-alone documentation tar ball.
1692         (TEXI2DVI): Define always, it's not in Makeconfig.
1693         (dist): Removed.
1694         (tar-it): Removed.
1695         (edition): Removed.
1696         (glibc-doc-$(edition).tar): Removed
1697         (%.Z): Removed.
1698         (%.gz): Removed.
1699         (%.uu): Removed.
1700         (ETAGS): Remove, it's in Makeconfig.
1701         (move-if-change): Remove, it's in Makeconfig.
1702
1703 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
1704
1705         [BZ #13970]
1706         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1707         (strtod, strtof, strtold, strtol, strtoul, strtoq)
1708         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1709         (strtod_l, strtof_l, strtold_l): Remove __wur.
1710         It is not necessarily an error to ignore strtol's return value.
1711         One can reliably look at the stored endptr to decide whether
1712         the number had valid syntax.
1713
1714 2012-04-21  Andreas Jaeger  <aj@suse.de>
1715
1716         [BZ #13739]
1717         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1718
1719 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
1720
1721         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1722         * sysdeps/unix/sysv/Versions: Remove file.
1723
1724 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
1725
1726         [BZ #13927]
1727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1728
1729 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
1730
1731         [BZ #7064]
1732         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1733         version from __vm86.
1734
1735 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
1736
1737         * sysdeps/unix/common/lxstat.c: Remove file.
1738         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1739
1740         * sysdeps/unix/sysv/Makefile: Remove file.
1741
1742         * sysdeps/unix/sysv/direct.h: Remove file.
1743
1744         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1745         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1746         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1747         * sysdeps/unix/sysv/bits/signum.h: Likewise.
1748         * sysdeps/unix/sysv/bits/stat.h: Likewise.
1749         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1750         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1751
1752         * sysdeps/unix/sysv/setrlimit.c: Remove file.
1753
1754         * sysdeps/unix/xmknod.c: Remove file.
1755         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1756
1757         * sysdeps/unix/sysv/settimeofday.c: Remove file.
1758
1759         * sysdeps/unix/sysv/i386/time.S: Remove file.
1760
1761         * sysdeps/unix/fxstat.c: Remove file.
1762         * sysdeps/unix/xstat.c: Likewise.
1763         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1764
1765         * sysdeps/unix/sysv/sigaction.c: Remove file.
1766
1767         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1768         (sysdep_headers): Remove variable.
1769         [termio.h not in sysdep_headers] (generated): Likewise.
1770         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1771         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1772         * sysdeps/unix/sysv/tcdrain.c: Likewise.
1773         * sysdeps/unix/sysv/tcflow.c: Likewise.
1774         * sysdeps/unix/sysv/tcflush.c: Likewise.
1775         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1776         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1777         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1778         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1779         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1780
1781         * sysdeps/unix/siglist.c: Remove file.
1782
1783         * sysdeps/unix/getppid.S: Remove file.
1784
1785         * sysdeps/unix/mkdir.c: Remove file.
1786         * sysdeps/unix/rmdir.c: Likewise.
1787
1788 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
1789
1790         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1791         ERR_MAX value.
1792         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1793         errlist-compat value.
1794
1795 2012-04-18  David S. Miller  <davem@davemloft.net>
1796
1797         * sysdeps/generic/memcopy.h (reg_char): Delete.
1798         * debug/strcat_chk.c: Use char, not reg_char.
1799         * debug/strcpy_chk.c: Likewise.
1800         * debug/strncat_chk.c: Likewise.
1801         * debug/strncpy_chk.c: Likewise.
1802         * string/memchr.c: Likewise.
1803         * string/memrchr.c: Likewise.
1804         * string/rawmemchr.c: Likewise.
1805         * string/strcat.c: Likewise.
1806         * string/strchr.c: Likewise.
1807         * string/strchrnul.c: Likewise.
1808         * string/strcmp.c: Likewise.
1809         * string/strcpy.c: Likewise.
1810         * string/strncat.c: Likewise.
1811         * string/strncmp.c: Likewise.
1812         * string/strncpy.c: Likewise.
1813
1814 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
1815
1816         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1817         __builtin_memcopy is called when src and dest ranges are known to not
1818         overlap.
1819
1820 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
1821
1822         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1823         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1824         fwd_align_merge macro call.
1825         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1826         bwd_align_merge macro call.
1827         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1828
1829 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
1830
1831         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1832         bwd_align_merge macros.
1833         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1834         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1835         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1836
1837 2012-04-18  David S. Miller  <davem@davemloft.net>
1838
1839         * sysdeps/sparc/sparc64/memcopy.h: Delete.
1840
1841 2012-04-18  Andreas Jaeger  <aj@suse.de>
1842
1843         [BZ# 6794]
1844         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1845         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1846         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1847
1848         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1849         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1850         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1851
1852         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1853         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1854         Adjust for changed ldbl-128 files.
1855
1856         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1857         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1858         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1859
1860 2012-04-17  David S. Miller  <davem@davemloft.net>
1861
1862         * sysdeps/sparc/sparc32/memcopy.h: Delete.
1863
1864 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
1865
1866         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1867         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1868         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1869         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1870         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1871         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1872
1873 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1874
1875         [BZ #6794]
1876         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1877         * math/libm-test.inc: Add ilogb errno and exception tests.
1878         * math/w_ilogb.c: New file: ilogb wrapper.
1879         * math/w_ilogbf.c: New file: ilogbf wrapper.
1880         * math/w_ilogbl.c: New file: ilogbl wrapper.
1881         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1882         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1883         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1884         exception being thrown with 0.0 as argument.
1885         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1886         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1887         exception being thrown with 0.0 as argument.
1888         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1889         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1890         exception being thrown with 0.0 as argument.
1891         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1892         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1893         exception being thrown with 0.0 as argument.
1894         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1895         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1896         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1897         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1898         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1899         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1900         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1901         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1902         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1903
1904 2012-04-17  Petr Baudis  <pasky@ucw.cz>
1905
1906         * include/sys/uio.h: Change __vector to __iovec to avoid clash
1907         with altivec.
1908
1909 2012-04-16  Marek Polacek  <polacek@redhat.com>
1910
1911         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1912
1913 2012-04-16  Marek Polacek  <polacek@redhat.com>
1914
1915         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1916         operands of fdivp instruction.
1917
1918 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1919
1920         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1921         * elf/tst-auditmod3b.c: Likewise.
1922         * elf/tst-auditmod4b.c: Likewise.
1923         * elf/tst-auditmod5b.c: Likewise.
1924         * elf/tst-auditmod6b.c: Likewise.
1925         * elf/tst-auditmod6c.c: Likewise.
1926         * elf/tst-auditmod7b.c: Likewise.
1927         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1928         * sysdeps/x86_64/preconfigure.in: Likewise.
1929         * sysdeps/x86_64/preconfigure: Regenerated.
1930
1931 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1932
1933         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1934         __ILP32__.
1935
1936 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
1937
1938         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1939         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1940
1941 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
1942
1943         [BZ #13973]
1944         * locale/iso-639.def: Fix gl language name. Spotted by
1945         Yaron Shahrabani.
1946
1947 2012-04-12  Roland McGrath  <roland@hack.frob.com>
1948
1949         [BZ #2074]
1950         * libio/libio.h (__io_write_fn): Update comment.
1951
1952 2012-04-12  Petr Baudis  <pasky@ucw.cz>
1953
1954         [BZ #2074]
1955         * stdio.texi (Hook Functions): The user provided writer function
1956         is not allowed to return -1.
1957
1958 2012-04-11  David S. Miller  <davem@davemloft.net>
1959
1960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1961
1962 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
1963
1964         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1965         Add a leading slash to rtkaio.
1966
1967 2012-04-11  Jim Meyering  <meyering@redhat.com>
1968
1969         [BZ #11959]
1970         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1971         It is not necessarily an error to ignore fwrite's return
1972         value.  One can reliably use ferror to test for errors after
1973         the fact.
1974
1975 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1976
1977         * bits/types.h (__snseconds_t): New type.
1978         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1979
1980         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1981         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1982         (__SNSECONDS_T_TYPE): Likewise.
1983         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1984         (__SNSECONDS_T_TYPE): Likewise.
1985         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1986         (__SNSECONDS_T_TYPE): Likewise.
1987
1988 2012-04-10  Andreas Jaeger  <aj@suse.de>
1989
1990         [BZ #2636]
1991         * manual/time.texi (Processor Time): Return type of times is
1992         elapsed real time since an arbitrary point in the past.
1993         (CPU Time): Move CLK_TCK from here...
1994         (Processor Time): ...to here.  Correct description.
1995         * manual/conf.texi (Constants for Sysconf): Correct description of
1996         _SC_CLK_TCK.
1997
1998 2012-04-10  David S. Miller  <davem@davemloft.net>
1999
2000         [BZ #13967]
2001         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2002         where the is a gap between DT_REL(A) and DT_JMPREL.
2003
2004 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2005
2006         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2007         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2008         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2009
2010 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2011
2012         * elf/dl-support.c (_dl_inhibit_cache): New variable.
2013         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2014         (dl_main): Handle --inhibit-cache.
2015         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2016         _dl_inhibit_cache.
2017         * elf/dl-load.c (_dl_map_object): Use it.
2018         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2019
2020 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
2021
2022         [BZ #13872]
2023         * sysdeps/i386/fpu/e_powl.S (p78): New object.
2024         (__ieee754_powl): Saturate large exponents rather than testing for
2025         overflow of y*log2(x).
2026         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2027         * math/libm-test.inc (pow_test): Do not permit spurious overflow
2028         exceptions.
2029
2030         [BZ #11521]
2031         * math/s_ctan.c: Include <float.h>.
2032         (__ctan): Avoid internal overflow or cancellation in calculating
2033         denominator.
2034         * math/s_ctanf.c: Likewise.
2035         * math/s_ctanl.c: Likewise.
2036         * math/s_ctanh.c: Likewise.
2037         * math/s_ctanhf.c: Likewise.
2038         * math/s_ctanhl.c: Likewise.
2039         * math/libm-test.inc (ctan_test): Add more tests.
2040         (ctanh_test): Likewise.
2041         * sysdeps/i386/fpu/libm-test-ulps: Update.
2042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2043
2044 2012-04-09  Andreas Jaeger  <aj@suse.de>
2045
2046         [BZ #6894]
2047         * manual/filesys.texi (Directory Entries): Mention that d_namlen
2048         is an optional BSD extension.
2049
2050         [BZ #10254]
2051         * manual/stdio.texi (Opening Streams): Document additional fopen
2052         parameters.
2053
2054 2012-04-09  Roland McGrath  <roland@hack.frob.com>
2055
2056         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2057         %eax without telling the compiler.
2058
2059 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
2060
2061         [BZ # 13963]
2062         * manual/install.texi: Use sourceware.org.
2063
2064 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
2065
2066         [BZ #13873]
2067         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2068         (__ieee754_pow): Generate overflow and underflow using huge*huge
2069         and tiny*tiny rather than just returning constant infinity or zero
2070         for large exponents.
2071         * math/libm-test.inc (pow_test): Require overflow exceptions for
2072         applicable cases of large exponents.
2073
2074         [BZ #706]
2075         * sysdeps/i386/fpu/e_pow.S (p10): New object.
2076         (__ieee754_pow): Use iterative multiplication algorithm only for
2077         integer exponents with absolute value below 1024.  Check for odd
2078         integer exponents when using algorithm for real exponents.
2079         * math/libm-test.inc (pow_test): Add more tests.
2080         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2081
2082 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
2083
2084         [BZ #13705]
2085         * math/libm-test.inc (exp_test): Do not allow overflow exception
2086         on underflow test.
2087
2088 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
2089
2090         [BZ #13705]
2091         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2092         instead of __kernel_standard_f.
2093
2094 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
2095
2096         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2097         * sysdeps/x86_64/memset_chk.S: Likewise.
2098
2099 2012-04-08  Andreas Jaeger  <aj@suse.de>
2100
2101         [BZ #10153]
2102         * manual/startup.texi (Environment Access): Describe return value
2103         for putenv and setenv.
2104
2105         [BZ #6895]
2106         * manual/filesys.texi (Directory Entries): Add description for
2107         DT_LNK.
2108
2109         [BZ #6890]
2110         * manual/filesys.texi (Directory Entries): Clarify that it's file
2111         system not operating system in the description of DT_UNKNOWN.
2112
2113         [BZ #6578]
2114         * manual/syslog.texi (closelog): Fix reference, it's openlog.
2115
2116 2012-04-08  Stephen Compall  <s11@member.fsf.org>
2117
2118         [BZ #6649]
2119         * manual/llio.texi (Opening and Closing Files): Add cross
2120         reference to explain mode argument.
2121
2122 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
2123
2124         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2125         * sysdeps/x86_64/memset_chk.S: Likewise.
2126
2127 2012-04-07  David S. Miller  <davem@davemloft.net>
2128
2129         * elf/elf.h (R_SPARC_WDISP10): Define.
2130         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2131         R_SPARC_SIZE32.
2132         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2133         R_SPARC_SIZE64 and R_SPARC_H34.
2134
2135 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
2136
2137         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2138         conditions and remove no longer applicable assertion.
2139
2140 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2141
2142         * bits/byteswap.h: Include <features.h>.
2143         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2144         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2145
2146 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2147
2148         * bits/byteswap.h (__bswap_16): Removed.
2149         Include <bits/byteswap-16.h> to get __bswap_16.
2150         * sysdeps/i386/bits/byteswap.h: Likewise.
2151         * sysdeps/s390/bits/byteswap.h: Likewise.
2152         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2153         * bits/byteswap-16.h: New file.
2154         * sysdeps/i386/bits/byteswap-16.h: Likewise.
2155         * sysdeps/s390/bits/byteswap-16.h: Likewise.
2156         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2157         * string/Makefile (headers): Add bits/byteswap-16.h.
2158
2159 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2160
2161         [BZ #13895]
2162         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2163         extra indirection.
2164         * nss/Makefile (tests-static, tests): Add tst-nss-static.
2165         * nss/tst-nss-static.c: New.
2166
2167 2012-04-06  Robert Millan  <rmh@gnu.org>
2168
2169         [BZ #6486]
2170         * manual/llio.texi (File Position Primitive): lseek
2171         refers to WHENCE when it really means OFFSET.
2172
2173 2012-04-06  Andreas Jaeger  <aj@suse.de>
2174
2175         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2176         strncmp declarations.
2177
2178         * abilist/libc.abilist: Add __poll and __ppoll.
2179
2180 2012-04-05  David S. Miller  <davem@davemloft.net>
2181
2182         * scripts/check-local-headers.sh: Accept a host triplet in the
2183         path matched by the exclude regexp.
2184
2185         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2186         definition.
2187         * sysdeps/powerpc/powerpc32/dl-machine.h
2188         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2189         * sysdeps/s390/s390-32/dl-machine.h
2190         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2191         * sysdeps/sparc/sparc32/dl-machine.h
2192         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2193         * sysdeps/sparc/sparc64/dl-machine.h
2194         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2195
2196         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2197         lazy binding.
2198         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2199         undefined symbol errors.
2200
2201         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2202         DT_NEEDED entries.
2203
2204 2012-04-05  Michael Matz  <matz@suse.de>
2205
2206         [BZ #13592]
2207         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2208
2209 2012-04-05  Andreas Jaeger  <aj@suse.de>
2210
2211         [BZ #13908]
2212         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2213         comment.
2214
2215 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2216
2217         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2218         which ROUND is no valid rounding mode.
2219
2220 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2221
2222         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2223         read again.
2224         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2225
2226 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2227
2228         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2229         an exception using FPU order intentionally.
2230
2231 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2232
2233         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2234         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2235         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2236         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2237
2238 2012-04-05  Simon Josefsson  <simon@josefsson.org>
2239
2240         [BZ #12340]
2241         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2242         EINVAL when BUFLEN is too smal.
2243
2244 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
2245
2246         [BZ #13553]
2247         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2248         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2249
2250 2012-04-03  Andreas Jaeger  <aj@suse.de>
2251
2252         [BZ #13938]
2253         * manual/setjmp.texi (System V contexts): Fix sentence.
2254
2255         [BZ #13926]
2256         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2257         New macro for this case.
2258         [!__GNUC__] (__bswap_64): New inline function for this case.
2259         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2260         * bits/byteswap.h: Likewise.
2261         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2262         ull, guard with __GLIBC_HAVE_LONG_LONG.
2263
2264         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2265         __GLIBC_HAVE_LONG_LONG.
2266
2267         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2268         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2269
2270 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2271
2272         [BZ #13691]
2273         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2274         inptr and inend, rather than using last_ch.
2275
2276 2012-04-02  David S. Miller  <davem@davemloft.net>
2277
2278         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2279         * stdio-common/printf-parse.h (read_int): Change return type to
2280         'int', return -1 on INT_MAX overflow.
2281         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2282         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
2283         overflows INT_MAX.  Check for overflow of in-format-string precision
2284         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
2285         SIZE_MAX not INT_MAX for integer overflow test.
2286         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2287         skip the construct in the format string but do not record anything.
2288         * stdio-common/bug22.c: Adjust to test both width/prevision
2289         INT_MAX overflow as well as total length INT_MAX overflow.  Check
2290         explicitly for proper errno values.
2291
2292 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
2293
2294         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2295         CHAR_MAX.
2296         * string/test-strcmp.c [! WIDE]: Likewise.
2297         * time/tst-mktime2.c: Likewise for INT_MAX.
2298         * string/test-string.h: #include <sys/param.h> for MIN.
2299
2300         * csu/init-first.c (__libc_init_first): Call __ctype_init.
2301         * sysdeps/i386/init-first.c (init): Likewise.
2302         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2303         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2304         * sysdeps/sh/init-first.c (init): Likewise.
2305
2306 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
2307
2308         * po/ru.po: Update from translation team.
2309         * po/vi.po: Likewise.
2310
2311 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2312
2313         * resolv/nss_dns/dns-host.c: Merge copyright years.
2314
2315 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2316
2317         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2318         Optimize memcpy with prefetch if
2319         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
2320         src, dst pointers have unequal 16 byte alignments.
2321
2322 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2323
2324         [BZ #13928]
2325         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2326         from a CNAME entry and return the minimum ttl for the query.
2327         (gaih_getanswer_slice): Likewise.
2328
2329 2012-03-30  Jeff Law  <law@redhat.com>
2330
2331         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2332         due to long keys.
2333         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2334         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2335
2336         * resolv/nss_dns/dns-host.c: Update copyright year.
2337
2338 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
2339
2340         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2341         requests to save a system call.  Fix check that all bytes are sent.
2342
2343         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2344         comments for sendmmsg.
2345
2346 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2347
2348         [BZ #13691]
2349         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2350         with only 1 character between 0x0041 and 0x01b0.
2351         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2352         * wcsmbs/tst-mbsnrtowcs.c: New file.
2353
2354 2012-03-29  David S. Miller  <davem@davemloft.net>
2355
2356         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2357         small copies by hand.
2358
2359 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2360
2361         [BZ #13761]
2362         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2363         _nss_compat_initgroups_dyn): Fall back to malloc/free
2364         for large group memberships.
2365
2366 2012-03-28  David S. Miller  <davem@davemloft.net>
2367
2368         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2369         that branches into memcpy.
2370         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2371         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2372         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2373         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2374         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2375         bits.
2376         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2377         implementation too.
2378         * sysdeps/sparc/mempcpy.S: New file.
2379
2380         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2381         the IFUNC routine in the libc case.
2382         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2383
2384         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2385         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2386         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2387         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2388         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2389         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2390         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2391         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2392
2393         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2394         loop to 256 bytes instead of 64 bytes and fix test signedness.
2395
2396         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2397         * sysdeps/sparc/sparc32/Makefile: rather than here...
2398         * sysdeps/sparc/sparc64/Makefile: and here.
2399
2400 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
2401
2402         * malloc/mallocbug.c: Avoid warnings about unused variables.
2403
2404 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2405
2406         [BZ #13760]
2407         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2408         in the right place. Discard and retry query if response is
2409         larger than input buffer size.
2410
2411 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
2412
2413         [BZ #369]
2414         [BZ #2678]
2415         [BZ #3866]
2416         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2417         x for large integer exponent.
2418         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2419         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
2420         sign of result as needed afterwards.
2421         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2422         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2423         result for underflowing pow the same as for overflow.
2424         (__kernel_standard_l): Handle powl overflow and underflow here
2425         rather than calling __kernel_standard.
2426         * math/libm-test.inc (pow_test): Add more tests.
2427
2428         [BZ #3868]
2429         [BZ #13879]
2430         [BZ #13910]
2431         [BZ #13911]
2432         [BZ #13912]
2433         [BZ #13913]
2434         [BZ #13915]
2435         [BZ #13916]
2436         [BZ #13917]
2437         [BZ #13918]
2438         [BZ #13919]
2439         [BZ #13920]
2440         [BZ #13921]
2441         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2442         * sysdeps/ieee754/k_standard.c: Include <float.h>.
2443         (__kernel_standard_l): New function.
2444         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2445         __kernel_standard.
2446         * math/w_acosl.c (__acosl): Likewise.
2447         * math/w_asinl.c (__asinl): Likewise.
2448         * math/w_atan2l.c (__atan2l): Likewise.
2449         * math/w_atanhl.c (__atanhl): Likewise.
2450         * math/w_coshl.c (__coshl): Likewise.
2451         * math/w_exp10l.c (__exp10l): Likewise.
2452         * math/w_exp2l.c (__exp2l): Likewise.
2453         * math/w_fmodl.c (__fmodl): Likewise.
2454         * math/w_hypotl.c (__hypotl): Likewise.
2455         * math/w_j0l.c (__j0l, __y0l): Likewise.
2456         * math/w_j1l.c (__j1l, __y1l): Likewise.
2457         * math/w_jnl.c (__jnl, __ynl): Likewise.
2458         * math/w_lgammal.c (__lgammal): Likewise.
2459         * math/w_log10l.c (__log10l): Likewise.
2460         * math/w_log2l.c (__log2l): Likewise.
2461         * math/w_logl.c (__logl): Likewise.
2462         * math/w_powl.c (__powl): Likewise.
2463         * math/w_remainderl.c (__remainderl): Likewise.
2464         * math/w_scalbl.c (sysv_scalbl): Likewise.
2465         * math/w_sinhl.c (__sinhl): Likewise.
2466         * math/w_sqrtl.c (__sqrtl): Likewise.
2467         * math/w_tgammal.c (__tgammal): Likewise.
2468         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2469         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2470         * math/libm-test.inc (acos_test): Add more tests.
2471         (acosh_test): Likewise.
2472         (asin_test): Likewise.
2473         (atanh_test): Likewise.
2474         (exp_test): Likewise.
2475         (exp10_test): Likewise.
2476         (exp2_test): Likewise.
2477         (expm1_test): Likewise.
2478         (lgamma_test): Likewise.
2479         (log_test): Likewise.
2480         (log10_test): Likewise.
2481         (log1p_test): Likewise.
2482         (log2_test): Likewise.
2483         (pow_test): Do not allow some spurious overflow exceptions.
2484         (sqrt_test): Add more tests.
2485         (tgamma_test): Likewise.
2486         (y0_test): Likewise.
2487         (y1_test): Likewise.
2488         (yn_test): Likewise.
2489
2490 2012-03-27  Anton Blanchard  <anton@samba.org>
2491
2492         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2493         MAP_HUGETLB.
2494         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2495         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2496         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2497
2498 2012-03-27  David S. Miller  <davem@davemloft.net>
2499
2500         * conform/Makefile: Run run-conformtest.sh using $(BASH).
2501
2502         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2503         have-as-vis3 check.
2504
2505 2012-03-27  Andreas Jaeger  <aj@suse.de>
2506
2507         * sysdeps/x86_64/elf/configure.in: Moved to ...
2508         * sysdeps/x86_64/configure.in: ... here.
2509         * sysdeps/x86_64/elf/start.S: Moved to ...
2510         * sysdeps/x86_64/start.S: ... here.
2511         * sysdeps/x86_64/elf/configure: Delete.
2512
2513         * sysdeps/x86_64/configure.in: Merge contents from
2514         sysdeps/i386/configure.in (without i686 check).
2515
2516         * sysdeps/i386/elf/Versions: Merge into ...
2517         * sysdeps/i386/Versions: ... this.
2518         * sysdeps/i386/elf/Versions: Delete file.
2519         * sysdeps/i386/elf/start.S: Moved to ...
2520         * sysdeps/i386/start.S: ...here.
2521         * sysdeps/i386/elf/configure.in: Merge into...
2522         * sysdeps/i386/configure.in: ...here.
2523         * sysdeps/i386/elf/configure.in: Delete file.
2524         * sysdeps/i386/elf/configure: Delete file.
2525
2526         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2527         * debug/backtracesyms.c: ... here.
2528         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2529         * debug/backtracesymsfd.c: ... here.
2530         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2531         * sysdeps/generic/ifunc-sel.h: ... here.
2532
2533         * sysdeps/unix/i386/start.c: Delete file.
2534         * sysdeps/unix/sparc/start.c: Delete file.
2535         * sysdeps/unix/start.c: Delete file.
2536
2537         * sysdeps/sh/elf/configure.in: Moved to ...
2538         * sysdeps/sh/configure.in: ... here.
2539         * sysdeps/sh/elf/start.S: Moved to ...
2540         * sysdeps/sh/start.S: ... here.
2541         * sysdeps/sh/elf/configure: Delete file.
2542
2543         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2544         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2545         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2546         * sysdeps/powerpc/powerpc64/entry.h: ... here.
2547         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2548         * sysdeps/powerpc/powerpc64/start.S: here.
2549         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2550         * sysdeps/powerpc/powerpc64/Makefile: ... this.
2551         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2552         * sysdeps/powerpc/powerpc64/configure.in: ... this.
2553         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2554
2555         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2556         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2557         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2558         * sysdeps/powerpc/powerpc32/start.S: ... here.
2559         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2560         * sysdeps/powerpc/powerpc32/configure.in: ... this.
2561         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2562
2563         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2564         * sysdeps/powerpc/ifunc-sel.h: ... here.
2565         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2566         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2567
2568         * sysdeps/sparc/elf/configure.in: Moved to ...
2569         * sysdeps/sparc/configure.in: ... here.
2570         * sysdeps/sparc/elf/configure: Delete file.
2571         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2572         * sysdeps/sparc/sparc32/start.S: ... here.
2573         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2574         * sysdeps/sparc/sparc64/start.S: ... here.
2575         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2576         * sysdeps/sparc/sparc32/Makefile: ... this.
2577         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2578         * sysdeps/sparc/sparc64/Makefile: ... this.
2579
2580         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2581         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2582         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2583         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2584         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2585         * sysdeps/s390/s390-32/setjmp.S: ... here.
2586         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2587         * sysdeps/s390/s390-32/configure.in: ... here.
2588         * sysdeps/s390/s390-32/elf/configure: Delete file.
2589         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2590         * sysdeps/s390/s390-32/start.S: ... here.
2591
2592         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2593         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2594         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2595         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2596         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2597         * sysdeps/s390/s390-64/setjmp.S: ... here.
2598         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2599         * sysdeps/s390/s390-64/configure.in: ... here
2600         * sysdeps/s390/s390-64/elf/configure: Delete file.
2601         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2602         * sysdeps/s390/s390-64/start.S: ... here.
2603         * sysdeps/s390/s390-64/elf/configure: Delete.
2604
2605         * configure.in: Remove support for elf directories in sysdeps.
2606
2607         * configure: Regenerated.
2608         * sysdeps/i386/configure: Regenerated.
2609         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2610         * sysdeps/powerpc/powerpc64/configure: Regenerated.
2611         * sysdeps/s390/s390-32/configure: Regenerated.
2612         * sysdeps/s390/s390-64/configure: Regenerated.
2613         * sysdeps/sh/configure: Regenerated.
2614         * sysdeps/sparc/configure: Regenerated.
2615         * sysdeps/x86_64/configure: Regenerated.
2616
2617 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
2618
2619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2620
2621         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2622         denormal result into account.
2623
2624 2012-03-25  Roland McGrath  <roland@hack.frob.com>
2625
2626         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2627         Reported by Allan McRae <allan@archlinux.org>.
2628
2629 2012-03-23  Jeff Law  <law@redhat.com>
2630
2631         * nss/getnssent.c (__nss_getent): Fix typo.
2632
2633 2012-03-23  David S. Miller  <davem@davemloft.net>
2634
2635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2636
2637 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
2638
2639         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2640         to pad to uint64_t for each field.
2641         (dl_tls_index): Replace unsigned long with uint64_t.
2642
2643 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
2644         Paul Pluzhnikov  <ppluzhnikov@google.com>
2645
2646         [BZ #6528]
2647         * grp/Makefile (otherlibs): Don't set it.
2648         * inet/Makefile (otherlibs): Likewise.
2649         * login/Makefile (otherlibs): Likewise.
2650         * nscd/Makefile (otherlibs): Likewise.
2651         * posix/Makefile (otherlibs): Likewise.
2652         * pwd/Makefile (otherlibs): Likewise.
2653         * rt/Makefile (otherlibs): Likewise.
2654         * sunrpc/Makefile (otherlibs): Likewise.
2655         * nss/Makefile (otherlibs): Likewise.
2656         Add libnss_files to routines and static-only-routines.
2657         ($(objpfx)getent): Remove rule.
2658         * resolv/Makefile: Add libnss_dns and libresolv to routines and
2659         static-only-routines.
2660
2661 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
2662
2663         [BZ #13892]
2664         * math/s_cexp.c: Include <float.h>.
2665         (__cexp): Handle exp result overflowing not necessarily
2666         overflowing both real and imaginary parts of result.
2667         * math/s_cexpf.c: Likewise.
2668         * math/s_cexpl.c: Likewise.
2669         * math/libm-test.inc (cexp_test): Add more tests.
2670         * sysdeps/i386/fpu/libm-test-ulps: Update.
2671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2672
2673 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2674
2675         * include/link.h (ELFW): New macro.
2676         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2677         Replace ELF64_R_TYPE with ELFW(R_TYPE).
2678
2679 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2680
2681         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2682         with uint64_t.
2683
2684 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2685
2686         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2687         declaration.
2688         (struct La_x32_retval): Likewise.
2689
2690 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2691
2692         * sysdeps/x86_64/preconfigure.in: New file.
2693         * sysdeps/x86_64/preconfigure: New generated file.
2694
2695 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
2696
2697         [BZ #13824]
2698         * math/e_exp2l.c: Include <float.h>.
2699         (__ieee754_exp2l): Handle overflow and underflow cases
2700         separately.  Only pass fractional part of argument to
2701         __ieee754_expl.
2702         * math/libm-test.inc (exp2_test): Add more tests.
2703
2704         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2705         negating x to take absolute value.
2706         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2707         Likewise.
2708         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2709         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2710         Likewise.
2711         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2712         computing low part if x was negated.
2713         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2714
2715 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2716
2717         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2718         la_x32_gnu_pltexit.
2719         (pltexit): Cast int_retval to ptrdiff_t.
2720         * elf/tst-auditmod3b.c: Likewise.
2721         * elf/tst-auditmod4b.c: Likewise.
2722         * elf/tst-auditmod5b.c: Likewise.
2723         * elf/tst-auditmod6b.c: Likewise.
2724         * elf/tst-auditmod6c.c: Likewise.
2725         * elf/tst-auditmod7b.c: Likewise.
2726
2727         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2728         and x32_gnu_pltexit.
2729
2730         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2731         __ELF_NATIVE_CLASS.
2732         (La_x32_regs): New macro.
2733         (La_x32_retval): Likewise.
2734         (la_x32_gnu_pltenter): New function prototype.
2735         (la_x32_gnu_pltexit): Likewise.
2736
2737 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
2738
2739         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2740         exponent.
2741
2742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2743
2744         * configure.in (libc_cv_cc_nofma): Check for option to disable
2745         generation of FMA instructions.
2746         * configure: Regenerate.
2747         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2748         * sysdeps/ieee754/dbl-64/Makefile: New file.
2749         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2750         Remove brandred-fma4.
2751         (CFLAGS-brandred-fma4.c): Remove.
2752         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2753         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2754         define.
2755         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2756         define.
2757
2758 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2759
2760         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2761         LLONG_MAX != LONG_MAX.
2762         (_itoa_word): Use _ITOA_WORD_TYPE on value.
2763         (_fitoa_word): Likewise.
2764         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2765         LLONG_MAX != LONG_MAX.
2766         * stdio-common/_itowa.h: Include <_itoa.h>.
2767         (_itowa_word): Use _ITOA_WORD_TYPE on value.
2768         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
2769         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
2770         only if not defined.
2771         (_ITOA_WORD_TYPE): Likewise.
2772         (_itoa_word): Use _ITOA_WORD_TYPE on value.
2773         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2774
2775 2012-03-21  David S. Miller  <davem@davemloft.net>
2776
2777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2778
2779 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2780
2781         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2782         of x86_64 when setting libc_cv_slibdir, libdir and
2783         libc_cv_localedir.
2784         * sysdeps/unix/sysv/linux/configure: Regenerated.
2785
2786 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
2787
2788         * manual/lang.texi (Old Varargs): Remove section.
2789         (How Variadic): Update menu.
2790         (va_start): Do not mention varargs.h.
2791
2792 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
2793             Joseph Myers  <joseph@codesourcery.com>
2794
2795         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2796         link test.
2797         * configure: Regenerated.
2798
2799 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
2800
2801         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2802         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2803         conformtest.pl
2804
2805 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
2806
2807         * NOTES: Remove.
2808         * Makefile (files-for-dist): Remove NOTES.
2809         (NOTES): Remove rule.
2810         * README: Don't refer to NOTES.
2811         * manual/creature.texi: Don't include macros.texi.
2812         * manual/intro.texi (creature.texi): Remove comment referring to
2813         NOTES.
2814
2815         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2816         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2817         * configure: Regenerated.
2818         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2819         LIBC_TRY_CC_OPTION.
2820         (libc_cv_as_i686): Likewise.
2821         (libc_cv_cc_avx): Likewise.
2822         (libc_cv_cc_sse2avx): Likewise.
2823         (libc_cv_cc_fma4): Likewise.
2824         (libc_cv_cc_novzeroupper): Likewise.
2825         * sysdeps/i386/configure: Regenerated.
2826
2827         [BZ #13883]
2828         * sysdeps/i386/fpu/s_cexp.S: Remove.
2829         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2830         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2831         * math/libm-test.inc (cexp_test): Add more tests.
2832         * sysdeps/i386/fpu/libm-test-ulps: Update.
2833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2834
2835 2012-03-21  Allan McRae  <allan@archlinux.org>
2836
2837         * timezone/Makefile: Do not install iso3166.tab and zone.tab
2838
2839 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
2840
2841         [BZ #13871]
2842         * math/w_exp2.c: Do not include <float.h>.
2843         (o_threshold, u_threshold): Remove.
2844         (__exp2): Calculate result before checking finiteness and calling
2845         __kernel_standard.
2846         * math/w_exp2f.c: Likewise.
2847         * math/w_exp2l.c: Likewise.
2848         * math/libm-test.inc (exp2_test): Require overflow exception for
2849         1e6 input.
2850
2851         [BZ #3866]
2852         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2853         range of signed 64-bit integers before using fistpll.  Remove
2854         checks for whether integers fit in mantissa bits.
2855         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2856         the range of signed 32-bit integers before using fistpl.  Remove
2857         checks for whether integers fit in mantissa bits.
2858         * sysdeps/i386/fpu/e_powl.S (p64): New object.
2859         (__ieee754_powl): Test for y outside the range of signed 64-bit
2860         integers before using fistpll.  Reduce 64-bit values to 63-bit
2861         ones as needed.
2862         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2863         divide-by-zero is raised for zero to large negative powers.
2864         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2865         (__ieee754_powl): Test for y outside the range of signed 64-bit
2866         integers before using fistpll.  Reduce 64-bit values to 63-bit
2867         ones as needed.
2868         * math/libm-test.inc (pow_test): Add more tests.
2869
2870 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2871
2872         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2873         <stdio-common/_itoa.h>.
2874         * debug/segfault.c: Likewise.
2875         * elf/dl-cache.c: Likewise.
2876         * elf/dl-minimal.c: Likewise.
2877         * elf/dl-misc.c: Likewise.
2878         * elf/dl-sysdep.c: Likewise.
2879         * elf/dl-version.c: Likewise.
2880         * elf/rtld.c: Likewise.
2881         * hurd/hurdsock.c: Likewise.
2882         * hurd/lookup-retry.c: Likewise.
2883         * malloc/malloc.c: Likewise.
2884         * malloc/mtrace.c: Likewise.
2885         * nscd/nscd_getgr_r.c: Likewise.
2886         * nscd/nscd_getpw_r.c: Likewise.
2887         * nscd/nscd_getserv_r.c: Likewise.
2888         * posix/getopt_init.c: Likewise.
2889         * posix/wordexp.c: Likewise.
2890         * stdio-common/_itoa.c: Likewise.
2891         * stdio-common/printf_fphex.c: Likewise.
2892         * stdio-common/vfprintf.c: Likewise.
2893         * string/_strerror.c: Likewise.
2894         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2895         * sysdeps/i386/i686/hp-timing.h: Likewise.
2896         * sysdeps/mach/_strerror.c: Likewise.
2897         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2898         * sysdeps/mach/hurd/sethostid.c: Likewise.
2899         * sysdeps/mach/hurd/xmknodat.c: Likewise.
2900         * sysdeps/mach/xpg-strerror.c: Likewise.
2901         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2902         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2903         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2904         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2905         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2906         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2907         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2908         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2909         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2910         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2911         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2912         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2913         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2914         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2915         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2916         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2917         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2918         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2919         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2920         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2921         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2922
2923         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2924
2925         * stdio-common/_itoa.h: Moved to ...
2926         * sysdeps/generic/_itoa.h: Here.
2927
2928         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2929
2930         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2931         instead of "_itoa.h" and "_itowa.h".
2932         * stdio-common/vfprintf.: Likewise.
2933
2934 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2935
2936         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2937         <bits/wordsize.h>.
2938         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2939         (__signbit): Likwise.
2940         (llrintf): Likwise.
2941         (llrint): Likwise.
2942
2943 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2944
2945         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2946         __WORDSIZE != 64.
2947
2948 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
2949
2950         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2951         OVERFLOW_EXCEPTION_OK.
2952         * math/libm-test.inc ("Philosophy"): Update comment about
2953         exception testing.
2954         (OVERFLOW_EXCEPTION): Define.
2955         (OVERFLOW_EXCEPTION_OK): Likewise.
2956         (INVALID_EXCEPTION_OK): Renumber.
2957         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2958         (IGNORE_ZERO_INF_SIGN): Likewise.
2959         (test_exceptions): Handle FE_OVERFLOW.
2960         (exp10_test): Expect overflow exceptions.
2961         (exp2_test): Likewise.
2962         (expm1_test): Likewise.
2963         (nextafter_test): Likewise.
2964         (pow_test): Likewise.
2965         (scalbn_test): Likewise.
2966         (scalbln_test): Likewise.
2967
2968 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2969
2970         * sysdeps/x86_64/bits/atomic.h
2971         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2972         64bit integer.
2973         (atomic_exchange_acq): Likewise.
2974         (__arch_exchange_and_add_body): Likewise.
2975         (__arch_add_body): Likewise.
2976         (atomic_add_negative): Likewise.
2977         (atomic_add_zero): Likewise.
2978
2979 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2980
2981         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2982         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2983
2984 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2985
2986         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2987         Check __x86_64__ instead of __WORDSIZE.
2988
2989 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2990
2991         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2992
2993 2012-03-19  David S. Miller  <davem@davemloft.net>
2994
2995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2996
2997         * sysdeps/sparc/fpu/fenv_private.h: New file.
2998         * sysdeps/sparc/fpu/math_private.h: Use it.
2999         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3000         Remove.
3001         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3002         (libc_feholdexcept_setroundl): Remove.
3003         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3004         Remove.
3005         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3006         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3007
3008 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3009
3010         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3011         int64_t instead of long int.
3012         (INSERT_WORDS64): Likwise.
3013
3014 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3015
3016         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3017         _Unwind_GetCFA return to _Unwind_Ptr first.
3018
3019 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
3020
3021         [BZ #13629]
3022         * math/s_clog.c: Include <float.h>.
3023         (__clog): Scale large or subnormal inputs.
3024         * math/s_clogf.c: Likewise.
3025         * math/s_clogl.c: Likewise.
3026         * math/s_clog10.c: Include <float.h>.
3027         (M_LOG10_2): Define.
3028         (__clog10): Scale large or subnormal inputs.
3029         * math/s_clog10f.c: Likewise.
3030         * math/s_clog10l.c: Likewise.
3031         * math/libm-test.inc (clog_test): Add more tests.
3032         (clog10_test): Likewise.
3033         * sysdeps/i386/fpu/libm-test-ulps: Update.
3034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3035
3036         [BZ #11451]
3037         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3038         x and y.
3039         * math/libm-test.inc (atan2_test): Add another test.
3040
3041         * Makerules (common-objdir-compile): Remove.
3042         * sysdeps/unix/Makefile (config-generated): Do not add
3043         $(unix-generated) to variable.
3044         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3045         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3046         Remove rule.
3047         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3048         Likewise.
3049         [generic bits/local_lim.h] (before-compile): Do not append to
3050         variable.
3051         [generic bits/local_lim.h] (common-generated): Likewise.
3052         [generic sys/param.h] (before-compile): Do not append to variable.
3053         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3054         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3055         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3056         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3057         include.
3058         [generic sys/param.h] (sys/param.h-includes): Remove variable.
3059         [generic sys/param.h] (sys/param.h-includes): Remove rule.
3060         [generic sys/param.h] ($(addprefix
3061         $(common-objpfx),$(sys/param.h-includes))): Likewise.
3062         [generic sys/param.h] (common-generated): Do not append to
3063         variable.
3064         [generic sys/param.h] (sysdep_headers): Likewise.
3065         [generic bits/errno.h] (before-compile): Do not append to
3066         variable.
3067         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3068         rule.
3069         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3070         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3071         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3072         [generic bits/errno.h] (common-generated): Do not append to
3073         variable.
3074         [generic bits/ioctls.h] (before-compile): Do not append to
3075         variable.
3076         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3077         rule.
3078         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3079         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3080         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3081         rule.
3082         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3083         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3084         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3085         [generic bits/ioctls.h] (common-generated): Do not append to
3086         variable.
3087         [generic sys/syscall.h] (syscall.h): Remove variable.
3088         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3089         rule.
3090         [generic sys/syscall.h] (before-compile): Do not append to
3091         variable.
3092         [generic sys/syscall.h] (common-generated): Likewise.
3093         * sysdeps/unix/errnos-tmpl.c: Remove file.
3094         * sysdeps/unix/errnos.awk: Likewise.
3095         * sysdeps/unix/ioctls-tmpl.c: Likewise.
3096         * sysdeps/unix/ioctls.awk: Likewise.
3097         * sysdeps/unix/mk-local_lim.c: Likewise.
3098         * sysdeps/unix/snarf-ioctls: Likewise.
3099
3100 2012-03-19  Richard Henderson  <rth@twiddle.net>
3101
3102         * sysdeps/i386/fpu/fenv_private.h: New file.
3103         * sysdeps/i386/fpu/math_private.h: Use it.
3104         (math_opt_barrier, math_force_eval): Remove.
3105         (libc_feholdexcept_setround_53bit): Remove.
3106         (libc_feupdateenv_53bit): Remove.
3107         * sysdeps/x86_64/fpu/math_private.h: Likewise.
3108         (math_opt_barrier, math_force_eval): Remove.
3109         (libc_feholdexcept): Remove.
3110         (libc_feholdexcept_setround): Remove.
3111         (libc_fetestexcept, libc_fesetenv): Remove.
3112         (libc_feupdateenv_test): Remove.
3113         (libc_feupdateenv, libc_feholdsetround): Remove.
3114         (libc_feresetround): Remove.
3115
3116         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3117         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3118
3119         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3120         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3121         (libc_feupdateenv_testl): New.
3122         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3123         (libc_feupdateenv_testf): New.
3124         (libc_feupdateenv): Use libc_feupdateenv_test.
3125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3126         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3127
3128         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3129         (libc_feholdsetroundf, libc_feholdsetroundl): New.
3130         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3131         (libc_feresetround_noex): New.
3132         (libc_feresetround_noexf): New.
3133         (libc_feresetround_noexl): New.
3134         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3135         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3136         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3137         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3138         SET_RESTORE_ROUND.
3139         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3140         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3141         (__cos): Likewise.
3142         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3143         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3144         SET_RESTORE_ROUND_NOEX.
3145         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3146         SET_RESTORE_ROUND_NOEXF.
3147         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3148         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3149         (libc_feholdsetroundf): New.
3150         (libc_feresetround, libc_feresetroundf): New.
3151
3152         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3153         (libc_feholdexcept_setround_53bit): Convert from macro to function.
3154         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
3155
3156         * sysdeps/generic/math_private.h: Include <fenv.h>.
3157         (default_libc_feholdexcept): New.
3158         (default_libc_feholdexcept_setround): New.
3159         (default_libc_fesetenv, default_libc_feupdateenv): New.
3160         (libc_feholdexcept): Only define if undefined.
3161         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3162         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3163         (libc_feholdexcept_setroundl): Likewise.
3164         (libc_feholdexcept_setround_53bit): Likewise.
3165         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3166         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3167         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3168         (libc_feupdateenv_53bit): Likewise.
3169         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3170         (libc_feholdexcept): Convert from macro to inline function.
3171         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3172         (libc_fesetenv, libc_feupdateenv): Likewise.
3173
3174         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3175         not previously defined.
3176         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3177         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3178         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3179         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3180         * sysdeps/ieee754/flt-32/math_private.h: New file.
3181         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3182         math_private.h below SET_FLOAT_WORD.
3183         (__isnan, __isinf_ns, __finite): Remove.
3184         (__isnanf, __isinf_nsf, __finitef): Remove.
3185
3186 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
3187
3188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3189
3190 2012-03-17  David S. Miller  <davem@davemloft.net>
3191
3192         [BZ #6471]
3193         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3194         for 2.16.
3195
3196 2012-03-16  David S. Miller  <davem@davemloft.net>
3197
3198         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3199         warnings.
3200
3201         [BZ #6471]
3202         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3203         properly.
3204         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3205         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3206         sysdep_routines when subdir is sysvipc.
3207         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3208         __getshmlba helper.
3209
3210         * sysdeps/sparc/fpu/libm-test/ulps: Update.
3211
3212 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3213
3214         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3215         [__LP64__].
3216
3217 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3218
3219         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3220         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3221         (__lround): Renamed to ...
3222         (__llround): This.  Replace long int with long long int.
3223         Define lround functions as aliases of llround functions.
3224         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3225
3226 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3227
3228         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3229         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
3230         adresses to uintptr_t.  Replace "long int" and "unsigned long
3231         int" with "greg_t" on va_arg.
3232
3233 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3234
3235         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3236         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3237
3238         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3239         Move e_machine check before EI_CLASS check.  Handle x32
3240         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3241         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3242         SKIP_EM_IA_64 and include
3243         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3244
3245         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3246         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3247         (add_system_dir): New macro.
3248
3249         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3250         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3251
3252 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
3253
3254         [BZ #2551]
3255         [BZ #2552]
3256         [BZ #2553]
3257         [BZ #2554]
3258         [BZ #2562]
3259         [BZ #2563]
3260         [BZ #2565]
3261         [BZ #2566]
3262         [BZ #2576]
3263         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3264         (y0): Likewise.
3265         * math/w_j0f.c (j0f): Likewise.
3266         (y0f): Likewise.
3267         * math/w_j0l.c (__j0l): Likewise.
3268         (__y0l): Likewise.
3269         * math/w_j1.c (j1): Likewise.
3270         (y1): Likewise.
3271         * math/w_j1f.c (j1f): Likewise.
3272         (y1f): Likewise.
3273         * math/w_j1l.c (__j1l): Likewise.
3274         (__y1l): Likewise.
3275         * math/w_jn.c (jn): Likewise.
3276         (yn): Likewise.
3277         * math/w_jnf.c (jnf): Likewise.
3278         (ynf): Likewise.
3279         * math/w_jnl.c (__jnl): Likewise.
3280         (__ynl): Likewise.
3281         * math/libm-test.inc (j0_test): Add more tests.
3282         (j1_test): Likewise.
3283         (jn_test): Likewise.  Add trailing semicolon to existing test.
3284         (y0_test): Likewise.
3285         (y1_test): Likewise.
3286         * sysdeps/i386/fpu/libm-test-ulps: Update.
3287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3288
3289         [BZ #13851]
3290         [BZ #13854]
3291         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3292         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3293         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3294         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3295         (__tanl): Set errno for infinite argument.
3296         * sysdeps/i386/fpu/mptan.c: Remove.
3297         * sysdeps/i386/fpu/s_tan.S: Likewise.
3298         * sysdeps/i386/fpu/s_tanl.S: Likewise.
3299         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3300         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3301         * math/libm-test.inc (tan_test): Add more tests and enable more
3302         tests for double and long double.
3303         * sysdeps/i386/fpu/libm-test-ulps: Update.
3304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3305
3306 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3307
3308         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3309         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3310
3311 2012-03-16  Roland McGrath  <roland@hack.frob.com>
3312
3313         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3314         * configure.in: Use it for both main tree and add-ons.
3315         * configure: Regenerated.
3316
3317 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3318
3319         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3320
3321 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
3322
3323         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3324         in comment.
3325
3326         [BZ #13851]
3327         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3328         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3329         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3330         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3331         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3332         infinite argument.
3333         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3334         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3335         != 0 for prec == 2.
3336         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3337         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3338         * sysdeps/i386/fpu/s_cosl.S: Likewise.
3339         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3340         * sysdeps/i386/fpu/s_sinl.S: Likewise.
3341         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3342         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3343         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3344         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3345         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3346         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3347         * math/libm-test.inc (cos_test): Add more tests and enable more
3348         tests for long double.
3349         (sin_test): Likewise.
3350         (sincos_test): Likewise.
3351         * sysdeps/i386/fpu/libm-test-ulps: Update.
3352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3353
3354 2012-03-16  David S. Miller  <davem@davemloft.net>
3355
3356         * sysdeps/sparc/fpu/math_private.h: New file.
3357
3358 2012-03-15  David S. Miller  <davem@davemloft.net>
3359
3360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3361         file.
3362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3364         file.
3365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3366         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3367         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3368         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3369         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3370         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3371         sysdep routines.
3372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3373
3374         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3375         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3376
3377         * sysdeps/sparc/sparc-ifunc.h: New file.
3378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3379         sparc-ifunc.h
3380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3382         Likewise.
3383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3384         Likewise.
3385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3389         Likewise.
3390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3395         Likewise.
3396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3397         Likewise.
3398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3403         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3404         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3405         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3406         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3407         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3409         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3410         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3411         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3412         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3413         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3414         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3415         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3416         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3417         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3418         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3419         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3420         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3421         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3422
3423 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
3424
3425         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3426         scaling.
3427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3428
3429 2012-03-15  Andreas Jaeger  <aj@suse.de>
3430
3431         [BZ #13852]
3432         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3433         ieee754/flt-32 implementation for sin, cos and sincos.
3434         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3435         * sysdeps/i386/fpu/s_cosf.S: Likewise.
3436         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3437         * sysdeps/i386/fpu/s_sinf.S: Likewise.
3438         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3439         ieee754/flt-32 implementation for tan.
3440
3441         * math/libm-test.inc (cos_test): Enable some large input tests for
3442         float as well
3443         (sin_test): Likewise.
3444         (sincos_test): Likewise.
3445         (tan_test): Add tests for large input.
3446
3447         * sysdeps/i386/fpu/libm-test-ulps: Update.
3448
3449 2012-03-15  Andreas Jaeger  <aj@suse.de>
3450
3451         [BZ #13658]
3452         * math/libm-test.inc (cos_test): Add more test cases.
3453         (sin_test): Likewise.
3454         (sincos_test): Likewise.
3455
3456 2012-03-15  Andreas Jaeger  <aj@suse.de>
3457
3458         [BZ #13837]
3459         * math/libm-test.inc (cos_test): Add a test case for large input
3460         value.
3461         (sin_test): Likewise.
3462         (sincos_test): Likewise.
3463
3464 2012-03-15  Andreas Jaeger  <aj@suse.de>,
3465         Joseph Myers  <joseph@codesourcery.com>
3466
3467         [BZ #13658]
3468         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3469         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3470         * sysdeps/i386/fpu/branred.c: Likewise.
3471         * sysdeps/i386/fpu/dosincos.c: Likewise.
3472         * sysdeps/i386/fpu/mpa.c: Likewise.
3473         * sysdeps/i386/fpu/s_cos.S: Likewise.
3474         * sysdeps/i386/fpu/s_sin.S: Likewise.
3475         * sysdeps/i386/fpu/s_sincos.S: Likewise.
3476         * sysdeps/i386/fpu/sincos32.c: Likewise.
3477
3478         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3479         Define.
3480         (libc_feupdateenv_53bit): Define.
3481         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3482         Define.
3483         (libc_feupdateenv_53bit): Define.
3484
3485         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3486         53 bit (without extend i386 double precision).
3487
3488         * math/libm-test.inc (sincos_test): Add tests for large input.
3489         (sin): Likewise.
3490         (cos): Likewise.
3491
3492         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3493
3494 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
3495
3496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3497
3498 2012-03-15  David S. Miller  <davem@davemloft.net>
3499
3500         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3501         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3502         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3503         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3508         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3509         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3510         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3511         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3512         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3513         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3514         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3516         file.
3517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3519         file.
3520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3522         file.
3523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3525         file.
3526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3527         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3528         fmin/fmax sysdep routines.
3529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3530
3531 2012-03-14  David S. Miller  <davem@davemloft.net>
3532
3533         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3534         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3535         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3536         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3537         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3538         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3539         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3540         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3541         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3542         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3543         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3544         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3545         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3546         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3547         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3548         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3549         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3552         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3553         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3554         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3555         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3556         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3557         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3558         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3559         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3560         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3561         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3562         routines.
3563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3564         file.
3565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3567         file.
3568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3570         file.
3571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3573         file.
3574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3576         file.
3577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3579         file.
3580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3581         file.
3582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3583         file.
3584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3585         file.
3586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3587         New file.
3588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3589         file.
3590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3591         file.
3592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3594         file.
3595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3597         file.
3598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3600         file.
3601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3603         VIS3 routines.
3604
3605         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3606         New file.
3607
3608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3609
3610         * sysdeps/sparc/configure.in: New file.
3611         * sysdeps/sparc/configure: Generate.
3612         * configure.in (libc_cv_sparc_as_vis3): Substitute.
3613         * configure: Regenerate.
3614         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3615         * config.make.in (have-as-vis3): New.
3616         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3617         available use -Av9d instead of -Av9a.
3618         * sysdeps/sparc/sparc64/Makefile: Likewise.
3619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3621         New file.
3622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3623         file.
3624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3625         New file.
3626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3627         file.
3628         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3629         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3630         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3631         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3632         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3633
3634         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3635         fzeros/fnegs to load 0x80000000 into a float register instead of
3636         using the stack.
3637         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3638
3639 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3640
3641         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3642         bits/syscall.h.
3643         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3644         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3645         ($(inst_includedir)/bits/syscall.h): Remove rule.
3646         ($(objpfx)bits/syscall.d): Include instead of
3647         $(objpfx)syscall-list.d.
3648         (generated): Change syscall-list.h and syscall-list.d to
3649         bits/syscall.h and bits/syscall.d.
3650
3651 2012-03-14  Roland McGrath  <roland@hack.frob.com>
3652
3653         [BZ #13846]
3654         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3655
3656 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3657
3658         [BZ #13841]
3659         * math/s_csqrt.c: Include <float.h>.
3660         (__csqrt): Scale large or subnormal inputs.
3661         * math/s_csqrtf.c: Likewise.
3662         * math/s_csqrtl.c: Likewise.
3663         * math/libm-test.inc (csqrt_test): Add more tests.
3664         * sysdeps/i386/fpu/libm-test-ulps: Update.
3665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3666
3667         [BZ #13840]
3668         * math/libm-test.inc (hypot_test): Add more tests.
3669
3670 2012-03-13  David S. Miller  <davem@davemloft.net>
3671
3672         [BZ #13840]
3673         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3674         double-precision for the calculation instead of scaling.
3675
3676 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
3677
3678         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3679         manipulate bits before adding and subtracting TWO52[sx].
3680         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3681         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3682         Likewise.
3683         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3684
3685 2012-03-13  David S. Miller  <davem@davemloft.net>
3686
3687         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3688         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3689         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3690         rtld-global-offsets.h
3691         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3692
3693         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3694         large parameters.
3695
3696         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3697
3698         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3699         'err' in the ifdef scope in which it is actually used.
3700
3701         * nss/nss_db/db-init.c: Include string.h
3702
3703 2012-03-12  David S. Miller  <davem@davemloft.net>
3704
3705         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3706         masking out of the most significant byte of random value used.
3707         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3708         Fix coding style in previous change.
3709
3710         * sysdeps/unix/sysv/linux/kernel-features.h
3711         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3712         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3713         expression.
3714         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3715         later.
3716
3717 2012-03-11  David S. Miller  <davem@davemloft.net>
3718
3719         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3720         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3721         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3722         for 'resultvar' otherwise things get truncated on 64-bit.
3723
3724         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3725         Fix masking out of the most significant byte of random value used.
3726
3727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3728
3729 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
3730
3731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3732
3733 2012-03-09  David S. Miller  <davem@davemloft.net>
3734
3735         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3736         variables with appropriate CPP guards.
3737         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3738         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
3739         on resulting framesize and the management of the outregs buffer for pltexit.
3740         Preserve floating point return values across _dl_call_pltexit call.
3741         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3742         framesize and the management of the outregs buffer for pltexit.
3743         Preserve floating point return values across _dl_call_pltexit
3744         call.
3745         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3746         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3747         (print_exit): Fix format string for return register value.
3748
3749 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
3750
3751         * sunrpc/Makefile (others): Add rpcgen.
3752         ($(objpfx)rpcgen): Remove special build rule and dependency on
3753         libc.
3754         * sunrpc/rpcgen.c: New file.
3755
3756 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
3757
3758         [BZ #13673]
3759         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3760         * stdio-common/bug-vfprintf-nargs.c: Likewise.
3761         * sysdeps/i386/crti.S: Likewise.
3762         * sysdeps/i386/crtn.S: Likewise.
3763         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3764         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3765         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3766         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3767         * sysdeps/sh/crti.S: Likewise.
3768         * sysdeps/sh/crtn.S: Likewise.
3769         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3770
3771         [BZ #13673]
3772         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3773         with URL.
3774         * locale/programs/locfile-kw.gperf: Likewise.
3775         * locale/programs/charmap-kw.h: Regenerated.
3776         * locale/programs/locfile-kw.h: Likewise.
3777
3778         [BZ #13673]
3779         * intl/plural.y: Replace FSF snail mail address with URL.
3780         * intl/plural.c: Regenerated.
3781
3782 2012-03-09  Richard Henderson  <rth@twiddle.net>
3783
3784         * include/math_private.h: Remove file.
3785         * math/math_private.h: Move file ...
3786         * sysdeps/generic/math_private.h: ... here.
3787
3788         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3789         * sysdeps/powerpc/fpu/math_private.h: Likewise.
3790         * sysdeps/x86_64/fpu/math_private.h: Likewise.
3791
3792         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3793         and <math_private.h>.
3794         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3795         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3796         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3797         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3798         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3799         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3800         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3801         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3802         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3803         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3804         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3805         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3806         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3807         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3808         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3809         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3810         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3811         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3812         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3813         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3814         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3815         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3816         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3817         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3818         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3819         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3820         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3821         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3822         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3823         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3824         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3825         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3826         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3827         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3828         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3829         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3830         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3831         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3832         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3833         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3834         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3835         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3836         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3837         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3838         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3839         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3840         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3841         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3842         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3843         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3844         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3845         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3846         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3847         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3848         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3849         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3850         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3851         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3852         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3853         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3854         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3855         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3856         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3857         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3858         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3859         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3860         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3861         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3862         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3863         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3864         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3865         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3866         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3867         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3868         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3869         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3870         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3871         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3872         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3873         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3874         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3875         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3876         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3877         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3878         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3879         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3880         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3881         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3882         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3883         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3884         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3885         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3886         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3887         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3888         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3889         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3890         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3891         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3892         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3893         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3894         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3895         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3896         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3897         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3898         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3899         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3900         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3901         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3902         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3903         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3904         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3905         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3906         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3907         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3908         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3909         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3910         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3911         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3912         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3913         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3914         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3915         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3916         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3917         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3918         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3919         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3920         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3921         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3922         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3923         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3924         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3925         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3926         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3927         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3928         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3929         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3930         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3931         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3932         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3933         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3934         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3935         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3936         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3937         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3938         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3939         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3940         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3941         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3942         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3943         * sysdeps/ieee754/k_standard.c: Likewise.
3944         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3945         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3946         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3947         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3948         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3949         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3950         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3951         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3952         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3953         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3954         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3955         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3956         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3957         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3958         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3959         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3960         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3961         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3962         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3963         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3964         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3965         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3966         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3967         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3968         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3969         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3970         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3971         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3972         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3973         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3974         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3975         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3976         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3977         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3978         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3979         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3980         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3981         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3982         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3983         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3984         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3985         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3986         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3987         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3988         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3989         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3990         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3991         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3992         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3993         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3994         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3995         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3996         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3997         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3998         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3999         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4000         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4001         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4002         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4003         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4004         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4005         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4006         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4007         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4008         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4009         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4010         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4011         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4012         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4013         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4014         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4016         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4017         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4018         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4019         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4020         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4021         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4022         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4023         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4024         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4025         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4026         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4027         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4028         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4029         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4030         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4031         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4032         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4033         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4034         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4035         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4036         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4037         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4038         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4039         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4040         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4041         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4042         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4043         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4044         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4045         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4046         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4047         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4048         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4049         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4050         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4051         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4052         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4053         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4054         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4055         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4056         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4057         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4058         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4059         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4060         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4061         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4062         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4063         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4064         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4065         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4066         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4067         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4068         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4069         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4070         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4071         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4072         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4073         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4074         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4075         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4076         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4077         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4078         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4079         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4080         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4081         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4082         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4083         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4084         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4085         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4086         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4087         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4088         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4089         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4090         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4091         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4092         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4093         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4094         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4095         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4096         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4097         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4098         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4099         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4100         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4101         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4102         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4103         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4104         * sysdeps/ieee754/s_lib_version.c: Likewise.
4105         * sysdeps/ieee754/s_matherr.c: Likewise.
4106         * sysdeps/ieee754/s_signgam.c: Likewise.
4107         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4108         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4109         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4110         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4111         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4112         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4113         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4114         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4115         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4116         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4117         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4118         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4119         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4120         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4121         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4122         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4123         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4124         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4125         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4126         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4127         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4128
4129 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4130
4131         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4132         * sunrpc/rpc_main.c: Likewise.
4133         * sunrpc/rpc_svcout.c: Likewise.
4134
4135 2012-03-09  David S. Miller  <davem@davemloft.net>
4136
4137         * include/math_private.h: New file.
4138
4139 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4140
4141         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4142         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4143         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4144         from <bits/socket_type.h>.
4145         (enum __socket_type): Don't define here.
4146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4147         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4148         bits/socket_type.h.
4149
4150         [BZ #13566]
4151         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4152         checking __USE_GNU.
4153
4154         * Makerules ($(inst_includedir)/%.h): New rule.
4155         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4156         (install-others): Remove variable setting.
4157         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4158
4159 2012-03-08  Richard Henderson  <rth@twiddle.net>
4160
4161         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4162         from macro to inline function; merge with the
4163         !__LIBC_INTERNAL_MATH_INLINES version.
4164         (__ieee754_sqrtf): Likewise.
4165
4166         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4167         to inline function.
4168         (__rintf, __floor, __floorf): Likewise.
4169
4170         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4171         macro to inline function.
4172         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4173
4174         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4175         not <math/math_private.h>.
4176
4177 2012-03-08  David S. Miller  <davem@davemloft.net>
4178
4179         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4180         copyright year.
4181         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4182
4183 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
4184
4185         * resolv/gai_misc.c (handle_requests): Fix struct timespec
4186         normalization.
4187         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4188         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4189
4190 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
4191
4192         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
4193         be defined individually, they must be defined as a block.  Define
4194         S for printing a string instead of hidint the different by using a
4195         macro for adding the 'l'.
4196         * stdio-common/tst-fphex-wide.c: Adjust.
4197
4198 2012-03-07  Marek Polacek  <polacek@redhat.com>
4199
4200         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4201
4202 2012-03-08  Marek Polacek  <polacek@redhat.com>
4203
4204         [BZ #13806]
4205         * stdio-common/Makefile (tests): Add tst-fphex-wide.
4206         * stdio-common/tst-fphex.c: Define a few macros to make the
4207         test reusable.  Use them.
4208         * stdio-common/tst-fphex-wide.c: New file.
4209
4210 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
4211
4212         [BZ #6911]
4213         * manual/macros.texi (gnusystems): New macro.
4214         (nongnusystems): Likewise.
4215         (gnulinuxhurdsystems): Likewise.
4216         (gnuhurdsystems): Likewise..
4217         (gnulinuxsystems): Likewise.
4218         * manual/charset.texi: Use new macros or @theglibc{} to refer to
4219         variants of the GNU system, not "GNU system".
4220         * manual/conf.texi: Likewise.
4221         * manual/errno.texi: Likewise.  Update example of errno macro
4222         expansion.
4223         * manual/filesys.texi: Likewise.
4224         (getumask): Document as specific to GNU/Hurd.
4225         * manual/install.texi: Likewise.  Reword some references to
4226         GNU/Linux.
4227         * manual/intro.texi: Likewise.
4228         * manual/io.texi: Likewise.
4229         (File Name Portability): Detail which constraints are inapplicable
4230         to all GNU systems and which are only inapplicable to GNU/Hurd.
4231         * manual/job.texi: Likewise.
4232         * manual/llio.texi: Likewise.
4233         (O_NOCTTY): Document as present on GNU/Linux.
4234         * manual/maint.texi: Likewise.
4235         * manual/memory.texi: Likewise.
4236         * manual/pattern.texi: Likewise.
4237         * manual/pipe.texi: Likewise.
4238         * manual/process.texi: Likewise.
4239         * manual/resource.texi: Likewise.
4240         (RUSAGE_CHILDREN): Remove statement about specifying a particular
4241         child on GNU/Hurd.
4242         * manual/setjmp.texi: Likewise.
4243         * manual/signal.texi: Likewise.
4244         * manual/startup.texi: Likewise.
4245         * manual/stdio.texi: Likewise.
4246         * manual/terminal.texi: Likewise.
4247         (ONLCR): Document as POSIX.
4248         (OXTABS): Document availability on GNU/Linux as XTABS.
4249         (ONOEOT): Document availability separately from other bits.
4250         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4251         * manual/time.texi: Likewise.
4252         * manual/users.texi: Likewise.
4253         * INSTALL: Regenerated.
4254         * sysdeps/gnu/errlist.c: Regenerated.
4255
4256         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4257         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4258         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
4259         puts.
4260         * configure: Regenerated.
4261
4262 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
4263
4264         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4265         default includes instead of AC_HEADER_CHECK.
4266         * sysdeps/i386/configure: Regenerated.
4267
4268         [BZ #10716]
4269         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4270         * math/s_cacoshf.c (__cacoshf): Likewise.
4271         * math/s_cacoshl.c (__cacoshl): Likewise.
4272         * math/s_casinh.c (__casinh): Set signs of result from argument.
4273         * math/s_casinhf.c (__casinhf): Likewise.
4274         * math/s_casinhl.c (__casinhl): Likewise.
4275         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4276         (casinh_test): Add more tests.
4277         * sysdeps/i386/fpu/libm-test-ulps: Update.
4278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4279
4280 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
4281
4282         * po/zh_TW.po: Update from translation team.
4283
4284         * login/Makefile (distribute): Remove variable.
4285         * catgets/Makefile: Likewise.
4286         * mach/Makefile: Likewise.
4287         * malloc/Makefile: Likewise.
4288         * misc/Makefile: Likewise.
4289         * iconv/Makefile: Likewise.
4290         * nscd/Makefile: Likewise.
4291         * hurd/Makefile: Likewise.
4292         * manual/Makefile: Likewise.
4293         * locale/Makefile: Likewise.
4294         * intl/Makefile: Likewise.
4295         * conform/Makefile: Likewise.
4296         * nss/Makefile: Likewise.
4297         * time/Makefile: Likewise.
4298         * soft-fp/Makefile: Likewise.
4299         * dirent/Makefile: Likewise.
4300         * gmon/Makefile: Likewise.
4301         * po/Makefile: Likewise.
4302         * rt/Makefile: Likewise.
4303         * socket/Makefile: Likewise.
4304         * math/Makefile: Likewise.
4305         * signal/Makefile: Likewise.
4306         * debug/Makefile: Likewise.
4307         * elf/Makefile: Likewise.
4308         * timezone/Makefile: Likewise.
4309         * stdlib/Makefile: Likewise.
4310         * iconvdata/Makefile: Likewise.
4311         * sunrpc/Makefile: Likewise.
4312         * io/Makefile: Likewise.
4313         * argp/Makefile: Likewise.
4314         * inet/Makefile: Likewise.
4315         * hesiod/Makefile: Likewise.
4316         * grp/Makefile: Likewise.
4317         * csu/Makefile: Likewise.
4318         * wctype/Makefile: Likewise.
4319         * crypt/Makefile: Likewise.
4320         * libio/Makefile: Likewise.
4321         * string/Makefile: Likewise.
4322         * nis/Makefile: Likewise.
4323         * resolv/Makefile: Likewise.
4324         * stdio-common/Makefile: Likewise.
4325         * wcsmbs/Makefile: Likewise.
4326         * dlfcn/Makefile: Likewise.
4327         * posix/Makefile: Likewise.
4328
4329         [BZ #6959]
4330         * timezone/Makefile: Don't install timezone files, just the programs
4331         and scripts.
4332
4333 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
4334
4335         * nss/databases.def: Add missing gshadow entry.
4336
4337         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
4338
4339 2012-03-06  Marek Polacek  <polacek@redhat.com>
4340
4341         [BZ #13726]
4342         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4343         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4344         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4345         * stdio-common/tst-long-dbl-fphex.c: New file.
4346
4347 2012-03-06  David S. Miller  <davem@davemloft.net>
4348
4349         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4350         (set_obp_int): New function.
4351         (get_obp_int): New function.
4352         (__get_clockfreq_via_dev_openprom): Likewise.
4353         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4354         Avoid unused variable warnings on 'val' and use builtin_expect.
4355         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4356         __builtin_expect.
4357         (INLINE_CLONE_SYSCALL): Likewise.
4358
4359 2012-03-05  David S. Miller  <davem@davemloft.net>
4360
4361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4362
4363 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
4364
4365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4366
4367         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4368         only for |x| >= 40.
4369         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4370
4371 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4372
4373         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4374         Replace gettimeofday with __vdso_gettimeofday.
4375
4376         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4377         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4378         __vdso_clock_gettime and __vdso_getcpu.
4379
4380         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4381         time with __vdso_time.
4382
4383 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
4384
4385         * manual/lang.texi (size_t): Note types to which size_t may be
4386         equivalent with the GNU C Library, but do not describe when
4387         differences between them are significant.
4388
4389 2012-03-05  Andreas Jaeger  <aj@suse.de>
4390
4391         * sysdeps/i386/fpu/libm-test-ulps: Update.
4392
4393 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
4394
4395         [BZ #3976]
4396         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4397         (__ieee754_pow): Save and restore rounding mode and use
4398         round-to-nearest for main computations.
4399         * math/libm-test.inc (pow_test_tonearest): New function.
4400         (pow_test_towardzero): Likewise.
4401         (pow_test_downward): Likewise.
4402         (pow_test_upward): Likewise.
4403         (main): Call the new functions.
4404         * sysdeps/i386/fpu/libm-test-ulps: Update.
4405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4406
4407         [BZ #3976]
4408         * math/libm-test.inc (cosh_test_tonearest): New function.
4409         (cosh_test_towardzero): Likewise.
4410         (cosh_test_downward): Likewise.
4411         (cosh_test_upward): Likewise.
4412         (sinh_test_tonearest): Likewise.
4413         (sinh_test_towardzero): Likewise.
4414         (sinh_test_downward): Likewise.
4415         (sinh_test_upward): Likewise.
4416         (main): Call the new functions.
4417         * sysdeps/i386/fpu/libm-test-ulps: Update.
4418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4419
4420 2012-03-05  Tom de Vries  <tom@codesourcery.com>
4421
4422         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4423         default stack guard is set in last bytes.
4424         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4425
4426 2012-03-05  Kees Cook  <keescook@chromium.org>
4427
4428         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4429
4430         [BZ #13656]
4431         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4432         possibly allocate from heap instead of stack.
4433         * stdio-common/bug-vfprintf-nargs.c: New file.
4434         * stdio-common/Makefile (tests): Add nargs overflow test.
4435
4436 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
4437
4438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4439
4440 2012-03-03  Marek Polacek  <polacek@redhat.com>
4441
4442         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4443         * math/math_private.h: Likewise.
4444         * stdlib/tst-strtod.c: Likewise.
4445         * sysdeps/i386/i486/bits/atomic.h: Likewise.
4446         * sysdeps/x86_64/bits/atomic.h: Likewise.
4447
4448 2012-03-02  David S. Miller  <davem@davemloft.net>
4449
4450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4454         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4455         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4456         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4457         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4458
4459 2012-03-02  Roland McGrath  <roland@hack.frob.com>
4460
4461         [BZ #13792]
4462         * manual/examples/README: New file, says the example source files
4463         can be used under GPL>=2.
4464         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4465         line containing just "*/".
4466         * manual/examples/add.c: Add copyright header (GPL>=2).
4467         * manual/examples/argp-ex1.c: Likewise.
4468         * manual/examples/argp-ex2.c: Likewise.
4469         * manual/examples/argp-ex3.c: Likewise.
4470         * manual/examples/argp-ex4.c: Likewise.
4471         * manual/examples/atexit.c: Likewise.
4472         * manual/examples/db.c: Likewise.
4473         * manual/examples/dir.c: Likewise.
4474         * manual/examples/dir2.c: Likewise.
4475         * manual/examples/execinfo.c: Likewise.
4476         * manual/examples/filecli.c: Likewise.
4477         * manual/examples/filesrv.c: Likewise.
4478         * manual/examples/fmtmsgexpl.c: Likewise.
4479         * manual/examples/genpass.c: Likewise.
4480         * manual/examples/inetcli.c: Likewise.
4481         * manual/examples/inetsrv.c: Likewise.
4482         * manual/examples/isockad.c: Likewise.
4483         * manual/examples/longopt.c: Likewise.
4484         * manual/examples/memopen.c: Likewise.
4485         * manual/examples/memstrm.c: Likewise.
4486         * manual/examples/mkfsock.c: Likewise.
4487         * manual/examples/mkisock.c: Likewise.
4488         * manual/examples/mygetpass.c: Likewise.
4489         * manual/examples/pipe.c: Likewise.
4490         * manual/examples/popen.c: Likewise.
4491         * manual/examples/rprintf.c: Likewise.
4492         * manual/examples/search.c: Likewise.
4493         * manual/examples/select.c: Likewise.
4494         * manual/examples/setjmp.c: Likewise.
4495         * manual/examples/sigh1.c: Likewise.
4496         * manual/examples/sigusr.c: Likewise.
4497         * manual/examples/stpcpy.c: Likewise.
4498         * manual/examples/strdupa.c: Likewise.
4499         * manual/examples/strftim.c: Likewise.
4500         * manual/examples/strncat.c: Likewise.
4501         * manual/examples/subopt.c: Likewise.
4502         * manual/examples/swapcontext.c: Likewise.
4503         * manual/examples/termios.c: Likewise.
4504         * manual/examples/testopt.c: Likewise.
4505         * manual/examples/testpass.c: Likewise.
4506         * manual/examples/timeval_subtract.c: Likewise.
4507
4508         [BZ #13792]
4509         * manual/time.texi (Elapsed Time): Move timeval_subtract example
4510         function to ...
4511         * manual/timeval_subtract.c.texi: ... here, new file.
4512
4513 2012-03-02  David S. Miller  <davem@davemloft.net>
4514
4515         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4516
4517 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
4518
4519         [BZ #3976]
4520         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4521         (__sin): Save and restore rounding mode and use round-to-nearest
4522         for all computations.
4523         (__cos): Save and restore rounding mode and use round-to-nearest
4524         for all computations.
4525         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4526         <fenv.h>.
4527         (tan): Save and restore rounding mode and use round-to-nearest for
4528         all computations.
4529         * math/libm-test.inc (cos_test_tonearest): New function.
4530         (cos_test_towardzero): Likewise.
4531         (cos_test_downward): Likewise.
4532         (cos_test_upward): Likewise.
4533         (sin_test_tonearest): Likewise.
4534         (sin_test_towardzero): Likewise.
4535         (sin_test_downward): Likewise.
4536         (sin_test_upward): Likewise.
4537         (tan_test_tonearest): Likewise.
4538         (tan_test_towardzero): Likewise.
4539         (tan_test_downward): Likewise.
4540         (tan_test_upward): Likewise.
4541         (main): Call the new functions.
4542         * sysdeps/i386/fpu/libm-test-ulps: Update.
4543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4544
4545         [BZ #10135]
4546         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4547         small n, then large n, before computing and testing k+n.
4548         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4549         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4550         Likewise.
4551         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4552         Likewise.
4553         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4554         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4555         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4556         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4557         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4558         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4559         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4560         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4561         * math/libm-test.inc (scalbn_test): Add more tests.
4562         (scalbln_test): Likewise.
4563
4564         * manual/filesys.texi (mode_t): Describe constraints on size and
4565         signedness, not exact equivalence to a particular type.
4566         (ino_t): Likewise.
4567         (ino64_t): Likewise.
4568         (dev_t): Likewise.
4569         (nlink_t): Likewise.
4570         (blkcnt_t): Likewise.
4571         (blkcnt64_t): Likewise.
4572         * manual/llio.texi (off_t): Likewise.
4573
4574         [BZ #3976]
4575         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4576         (__ieee754_exp): Save and restore rounding mode and use
4577         round-to-nearest for all computations.
4578         * math/libm-test.inc (exp_test_tonearest): New function.
4579         (exp_test_towardzero): Likewise.
4580         (exp_test_downward): Likewise.
4581         (exp_test_upward): Likewise.
4582         (main): Call the new functions.
4583         * sysdeps/i386/fpu/libm-test-ulps: Update.
4584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4585
4586 2012-03-01  Chris Demetriou  <cgd@google.com>
4587
4588         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4589         have predictable order.
4590
4591 2012-03-01  David S. Miller  <davem@davemloft.net>
4592
4593         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4594
4595         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4596         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4597         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4598         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4599
4600         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4601         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4602         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4604         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4605         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4606         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4607         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4608         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4609
4610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4611
4612         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4613         * sysdeps/sparc/fpu/libm-test-ulps: to here.
4614         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4615
4616         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4617         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4618         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4619         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4620         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4621         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4622         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4623         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4624         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4625         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4626         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4627         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4628         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4629         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4630         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4631         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4632         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4633         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4634         * sysdeps/sparc/elf/configure: Regenerated.
4635
4636 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
4637
4638         * configure.in (AS, LD): Require binutils 2.20 or later.
4639         * configure: Regenerated.
4640         * manual/install.texi (Tools for Compilation): Give binutils 2.20
4641         as required minimum version.
4642         * INSTALL: Regenerated.
4643
4644         [BZ #2541]
4645         [BZ #4108]
4646         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4647         before squaring exponent.
4648         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4649         bottom long double and 27 bits of top long double before squaring
4650         exponent.
4651         * math/libm-test.inc (erfc_test): Add more tests.
4652         * sysdeps/i386/fpu/libm-test-ulps: Update.
4653         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4655
4656 2012-03-01  Kai Tietz  <ktietz@redhat.com>
4657
4658         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4659         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4660         containing bit-fields.
4661         * soft-fp/extended.h (_FP_UNION_E): Likewise.
4662         * soft-fp/single.h (_FP_UNION_S): Likewise.
4663         * soft-fp/double.h (_FP_UNION_D): Likewise.
4664
4665 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
4666
4667         [BZ #13786]
4668         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4669         not include ../strcmp.S.
4670         [USE_AS_STRNCASECMP_L]: Likewise.
4671         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4672         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4673         * sysdeps/i386/i686/multiarch/strncase_l-c.c
4674         (__strncasecmp_l_ia32): Define as alias to
4675         __strncasecmp_l_nonascii.
4676
4677         [BZ #5794]
4678         * math/libm-test.inc (expm1_test): Add test for bug 5794.
4679         * sysdeps/i386/fpu/libm-test-ulps: Update.
4680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4681
4682         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4684
4685 2012-02-29  Jeff Law  <law@redhat.com>
4686
4687         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4688         out of bounds read.
4689
4690 2012-02-29  Marek Polacek  <polacek@redhat.com>
4691
4692         [BZ #13706]
4693         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4694         * elf/Makefile: Add rules to run tst-unused-dep.out.
4695
4696 2012-02-28  David S. Miller  <davem@davemloft.net>
4697
4698         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4699         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4700         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4701         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4702         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4703         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4704
4705 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
4706
4707         * math/libm-test.inc (llround_test): Move one test from
4708         lround_test.  Use TEST_f_L in moved test.
4709         (lround_test): Move misplaced test to llround_test.  Add testcase
4710         from bug 2561.
4711
4712 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
4713
4714         * sysdeps/x86_64/fpu/e_expf.S: New file.
4715         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4716
4717 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
4718
4719         [BZ #13637]
4720         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4721         of remain_len that may cause incomplete multi-byte character and
4722         false match.
4723         * posix/bug-regex33.c: New file.
4724         * posix/Makefile (tests): Add bug-regex33.
4725
4726 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
4727
4728         * manual/macros.texi: New file.
4729         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4730         * manual/libc.texinfo: Include macros.texi.
4731         * manual/creatute.texi: Likewise.
4732         * manual/install.texi: Likewise.
4733         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4734         @glibcadj{} in references to the GNU C Library.
4735         * manual/charset.texi: Likewise.
4736         * manual/conf.texi: Likewise.
4737         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
4738         when not using those macros.
4739         * manual/creature.texi: Likewise.
4740         * manual/crypt.texi: Likewise.
4741         * manual/errno.texi: Likewise.
4742         * manual/filesys.texi: Likewise.
4743         * manual/header.texi: Likewise.
4744         * manual/install.texi: Likewise.
4745         * manual/intro.texi: Likewise.
4746         * manual/io.texi: Likewise.
4747         * manual/job.texi: Likewise.
4748         * manual/lang.texi: Likewise.
4749         * manual/libc.texiinfo: Likewise.
4750         * manual/llio.texi: Likewise.
4751         * manual/locale.texi: Likewise.
4752         * manual/maint.texi: Likewise.
4753         * manual/math.texi: Likewise.
4754         * manual/memory.texi: Likewise.
4755         * manual/message.texi: Likewise.
4756         * manual/nss.texi: Likewise.
4757         * manual/pattern.texi: Likewise.
4758         * manual/process.texi: Likewise.
4759         * manual/resource.texi: Likewise.
4760         * manual/search.texi: Likewise.
4761         * manual/setjmp.texi: Likewise.
4762         * manual/signal.texi: Likewise.
4763         * manual/socket.texi: Likewise.
4764         * manual/startup.texi: Likewise.
4765         * manual/stdio.texi: Likewise.
4766         * manual/string.texi: Likewise.
4767         * manual/sysinfo.texi: Likewise.
4768         * manual/syslog.texi: Likewise.
4769         * manual/terminal.texi: Likewise.
4770         * manual/time.texi: Likewise.
4771         * manual/users.texi: Likewise.
4772         * INSTALL: Regenerated.
4773         * NOTES: Regenerated.
4774         * sysdeps/gnu/errlist.c: Regenerated.
4775
4776 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
4777
4778         * include/dirent.h: Include <dirstream.h> before
4779         <dirent/dirent.h>.
4780
4781 2012-02-28  David S. Miller  <davem@davemloft.net>
4782
4783         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4784         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4785         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4786         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4787
4788 2012-02-27  David S. Miller  <davem@davemloft.net>
4789
4790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4792         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4793         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4794
4795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4796         frame pointer instead of stack pointer relative arg slot.
4797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4798         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4799         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4800
4801 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
4802
4803         [BZ #3992]
4804         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4805
4806 2012-02-27  David S. Miller  <davem@davemloft.net>
4807
4808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4812         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4813         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4814         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4815         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4816
4817 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
4818
4819         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4820         later.  Allow versions 5-9.
4821         * configure: Regenerated.
4822         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4823         required minimum version and 4.6 as recommended version.  Do not
4824         mention bugs in GCC 2.7 and 2.8.
4825         * INSTALL: Regenerated.
4826
4827 2012-02-27  David S. Miller  <davem@davemloft.net>
4828
4829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4833         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4834         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4835         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4836         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4837
4838         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4839         manipulate bits before adding and subtracting TWO112[sx].
4840         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4841
4842 2012-02-27  Roland McGrath  <roland@hack.frob.com>
4843
4844         [BZ #13775]
4845         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4846         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4847         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4848         being in POSIX, because they are in 1003.1-2008.
4849
4850         * rt/tst-aio.c: Include <fcntl.h>.
4851         * rt/tst-aio7.c: Likewise.
4852         * rt/tst-aio64.c: Likewise.
4853
4854         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4855
4856 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
4857
4858         * manual/install.texi (--with-headers): Describe headers as
4859         interface headers, not private headers.
4860         (Specific advice for GNU/Linux systems): Describe use of headers
4861         from "make headers_install", not private headers from older
4862         kernels.
4863         * INSTALL: Regenerated.
4864         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4865         Change to 2.6.19.
4866         * sysdeps/unix/sysv/linux/configure: Regenerated.
4867
4868         * manual/llio.texi (fclean): Remove documentation.
4869
4870         * manual/Makefile (libc-texi-generated): New variable.  Include
4871         version.texi.
4872         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4873         $(libc-texi-generated), not duplicated list of files.
4874         (version.texi, stamp-version): New rules.
4875         (realclean): Remove $(libc-texi-generated), not individual files
4876         from that list.  Do not remove dir-add.texinfo.
4877         * manual/libc.texinfo: Comment out uses of edition numbers and
4878         references to printed manual.  Remove last-updated dates.
4879         (EDITION): Comment out.
4880         (ISBN): Likewise.
4881         (VERSION, UPDATED): Remove.
4882         (version.texi): Include.
4883
4884 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
4885
4886         * sysdeps/posix/spawni.c: Include <signal.h>.
4887         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4888         * sysdeps/pthread/aio_fsync.c: Likewise.
4889
4890 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
4891
4892         * conform/Makefile (tests): Run only when not cross-compiling and
4893         when fast-check is not defined.
4894
4895         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4896         * conform/data/limits.h-data: Fixes for POSIX2008.
4897         * conform/run-conformtest.sh: Run all tests.
4898         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4899         headers.
4900         * include/bits/dlfcn.h: Likewise.
4901         * include/langinfo.h: Likewise.
4902         * include/monetary.h: Likewise.
4903         * include/sys/poll.h: Likewise.
4904
4905         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4906         for __USE_GNU.
4907         * posix/spawn.h: Define __need_sigset_t.
4908         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4909         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4910         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
4911         to get sigevent_t only.
4912         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4913         only for __USE_GNU.
4914         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4915         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4916         process_vm_writev only for __USE_GNU.
4917         * termios/termios.h: Declare tcgetsid also for POSIX2008.
4918
4919         * conform/Makefile: For now ignore errors from run-conformtest.
4920         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
4921         POSIX to avoid namespace pollution.  Don't prepend headers.
4922         * conform/data/aio.h-data: Fixes for POSIX testing.
4923         * conform/data/fcntl.h-data: Likewise.
4924         * conform/data/glob.h-data: Likewise.
4925         * conform/data/grp.h-data: Likewise.
4926         * conform/data/pthread.h-data: Likewise.
4927         * conform/data/pwd.h-data: Likewise.
4928         * conform/data/signal.h-data: Likewise.
4929         * conform/data/spawn.h-data: Likewise.
4930         * conform/data/stdio.h-data: Likewise.
4931         * conform/data/stdlib.h-data: Likewise.
4932         * conform/data/stropts.h-data: Likewise.
4933         * conform/data/sys/mman.h-data: Likewise.
4934         * conform/data/sys/stat.h-data: Likewise.
4935         * conform/data/sys/types.h-data: Likewise.
4936         * conform/data/sys/wait.h-data: Likewise.
4937         * conform/data/time.h-data: Likewise.
4938         * conform/data/unistd.h-data: Likewise.
4939         * conform/data/utime.h-data: Likewise.
4940
4941         * io/sys/stat.h: fchmod was always in POSIX.
4942         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4943         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4944         * rt/aio.h: Define __need_timespec before including <time.h>.
4945         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4946         struct.  Add forward declaration of pthread_attr_t and use it in
4947         sigevent.
4948         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4949         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4950         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4951         always remove CLK_TCK definition.
4952
4953 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
4954
4955         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4956
4957 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
4958
4959         * conform/run-conformtest.sh: New file.
4960         * conform/Makefile: Run run-conformtest for tests.
4961         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
4962         support.
4963
4964         * conform/data/uchar.h-data: New file.
4965         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4966         * conform/data/arpa/inet.h-data: Likewise.
4967         * conform/data/assert.h-data: Likewise.
4968         * conform/data/complex.h-data: Likewise.
4969         * conform/data/cpio.h-data: Likewise.
4970         * conform/data/ctype.h-data: Likewise.
4971         * conform/data/dirent.h-data: Likewise.
4972         * conform/data/dlfcn.h-data: Likewise.
4973         * conform/data/errno.h-data: Likewise.
4974         * conform/data/fcntl.h-data: Likewise.
4975         * conform/data/float.h-data: Likewise.
4976         * conform/data/fmtmsg.h-data: Likewise.
4977         * conform/data/fnmatch.h-data: Likewise.
4978         * conform/data/ftw.h-data: Likewise.
4979         * conform/data/glob.h-data: Likewise.
4980         * conform/data/grp.h-data: Likewise.
4981         * conform/data/iconv.h-data: Likewise.
4982         * conform/data/inttypes.h-data: Likewise.
4983         * conform/data/langinfo.h-data: Likewise.
4984         * conform/data/libgen.h-data: Likewise.
4985         * conform/data/limits.h-data: Likewise.
4986         * conform/data/locale.h-data: Likewise.
4987         * conform/data/math.h-data: Likewise.
4988         * conform/data/monetary.h-data: Likewise.
4989         * conform/data/mqueue.h-data: Likewise.
4990         * conform/data/ndbm.h-data: Likewise.
4991         * conform/data/net/if.h-data: Likewise.
4992         * conform/data/netdb.h-data: Likewise.
4993         * conform/data/netinet/in.h-data: Likewise.
4994         * conform/data/nl_types.h-data: Likewise.
4995         * conform/data/poll.h-data: Likewise.
4996         * conform/data/pthread.h-data: Likewise.
4997         * conform/data/pwd.h-data: Likewise.
4998         * conform/data/regex.h-data: Likewise.
4999         * conform/data/sched.h-data: Likewise.
5000         * conform/data/search.h-data: Likewise.
5001         * conform/data/semaphore.h-data: Likewise.
5002         * conform/data/setjmp.h-data: Likewise.
5003         * conform/data/signal.h-data: Likewise.
5004         * conform/data/spawn.h-data: Likewise.
5005         * conform/data/stdarg.h-data: Likewise.
5006         * conform/data/stdio.h-data: Likewise.
5007         * conform/data/stdlib.h-data: Likewise.
5008         * conform/data/string.h-data: Likewise.
5009         * conform/data/strings.h-data: Likewise.
5010         * conform/data/stropts.h-data: Likewise.
5011         * conform/data/sys/ipc.h-data: Likewise.
5012         * conform/data/sys/mman.h-data: Likewise.
5013         * conform/data/sys/msg.h-data: Likewise.
5014         * conform/data/sys/resource.h-data: Likewise.
5015         * conform/data/sys/select.h-data: Likewise.
5016         * conform/data/sys/sem.h-data: Likewise.
5017         * conform/data/sys/shm.h-data: Likewise.
5018         * conform/data/sys/socket.h-data: Likewise.
5019         * conform/data/sys/stat.h-data: Likewise.
5020         * conform/data/sys/statvfs.h-data: Likewise.
5021         * conform/data/sys/time.h-data: Likewise.
5022         * conform/data/sys/timeb.h-data: Likewise.
5023         * conform/data/sys/times.h-data: Likewise.
5024         * conform/data/sys/types.h-data: Likewise.
5025         * conform/data/sys/uio.h-data: Likewise.
5026         * conform/data/sys/un.h-data: Likewise.
5027         * conform/data/sys/utsname.h-data: Likewise.
5028         * conform/data/sys/wait.h-data: Likewise.
5029         * conform/data/syslog.h-data: Likewise.
5030         * conform/data/tar.h-data: Likewise.
5031         * conform/data/termios.h-data: Likewise.
5032         * conform/data/utime.h-data: Likewise.
5033         * conform/data/utmpx.h-data: Likewise.
5034         * conform/data/varargs.h-data: Likewise.
5035         * conform/data/wchar.h-data: Likewise.
5036         * conform/data/wctype.h-data: Likewise.
5037         * conform/data/wordexp.h-data: Likewise.
5038
5039         * include/stropts.h: New file.
5040         * include/uchar.h: New file.
5041         * include/aio.h: Changes to allow conformtest.pl to use the headers.
5042         * include/assert.h: Likewise.
5043         * include/ctype.h: Likewise.
5044         * include/dirent.h: Likewise.
5045         * include/dlfcn.h: Likewise.
5046         * include/fcntl.h: Likewise.
5047         * include/fnmatch.h: Likewise.
5048         * include/glob.h: Likewise.
5049         * include/grp.h: Likewise.
5050         * include/libio.h: Likewise.
5051         * include/locale.h: Likewise.
5052         * include/math.h: Likewise.
5053         * include/net/if.h: Likewise.
5054         * include/netdb.h: Likewise.
5055         * include/netinet/in.h: Likewise.
5056         * include/pthread.h: Likewise.
5057         * include/pwd.h: Likewise.
5058         * include/regex.h: Likewise.
5059         * include/sched.h: Likewise.
5060         * include/search.h: Likewise.
5061         * include/setjmp.h: Likewise.
5062         * include/signal.h: Likewise.
5063         * include/stdio.h: Likewise.
5064         * include/stdlib.h: Likewise.
5065         * include/string.h: Likewise.
5066         * include/sys/cdefs.h: Likewise.
5067         * include/sys/mman.h: Likewise.
5068         * include/sys/msg.h: Likewise.
5069         * include/sys/resource.h: Likewise.
5070         * include/sys/select.h: Likewise.
5071         * include/sys/socket.h: Likewise.
5072         * include/sys/stat.h: Likewise.
5073         * include/sys/statvfs.h: Likewise.
5074         * include/sys/time.h: Likewise.
5075         * include/sys/times.h: Likewise.
5076         * include/sys/uio.h: Likewise.
5077         * include/sys/utsname.h: Likewise.
5078         * include/sys/wait.h: Likewise.
5079         * include/termios.h: Likewise.
5080         * include/time.h: Likewise.
5081         * include/ulimit.h: Likewise.
5082         * include/unistd.h: Likewise.
5083         * include/utime.h: Likewise.
5084         * include/wchar.h: Likewise.
5085         * include/wctype.h: Likewise.
5086         * include/wordexp.h: Likewise.
5087
5088         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5089
5090         * time/time.h: TIME_UTC must be a macro.
5091         Make timespec_get available for ISO C11 only as well.
5092
5093 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
5094
5095         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5096         Reported by Peng Haitao <penght@cn.fujitsu.com>.
5097
5098 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5099
5100         * configure.in: Use -o not -a in test for unsupported multi-arch.
5101
5102 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5103
5104         * manual/texinfo.tex: Update to version 2012-01-19.16.
5105
5106 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5107
5108         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5109
5110 2012-02-24  Roland McGrath  <roland@hack.frob.com>
5111
5112         [BZ #13738]
5113         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5114         * manual/fdl-1.3.texi: New file.
5115         * manual/fdl-1.1.texi: File removed.
5116
5117         [BZ #13738]
5118         * manual/libc.texinfo (FDL_VERSION): New @set.
5119         Use it for mention of FDL in cover text.
5120         (Documentation License): Use it in @include file name.
5121
5122 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5123             Roland McGrath  <roland@hack.frob.com>
5124
5125         [BZ #5461]
5126         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5127         not LONG_LONG_MAX and LONG_LONG_MIN.
5128         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5129         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
5130         name.
5131         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5132
5133 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5134
5135         [BZ #2547]
5136         [BZ #11365]
5137         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5138         manipulate bits before adding and subtracting TWO23[sx].
5139         * math/libm-test.inc (nearbyint_test): Add more tests.
5140
5141 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5142
5143         [BZ #2548]
5144         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5145         bits before adding and subtracting TWO23[sx].
5146         * math/libm-test.inc (rint_test): Add more tests.
5147         (rint_test_tonearest): Likewise.
5148         (rint_test_towardzero): Likewise.
5149         (rint_test_downward): Likewise.
5150         (rint_test_upward: Likewise.
5151
5152 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5153
5154         [BZ #10110]
5155         * include/stdc-predef.h: New file.  Extracted from features.h.
5156         * include/features.h: Include stdc-predef.h.
5157         * Makefile (headers): Add stdc-predef.h.
5158         * CONFORMANCE (Compiler limitations): Update.
5159
5160 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5161
5162         * manual/libc.texinfo (VERSION, UPDATED): Revert.
5163
5164 2012-02-21  David S. Miller  <davem@davemloft.net>
5165
5166         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5167         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5168
5169 2012-02-20  David S. Miller  <davem@davemloft.net>
5170
5171         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5172         using a normal save/restore sequence, rather than allocating a
5173         dummy stack frame just to store a frame pointer and restore.
5174         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5175
5176 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5177
5178         * manual/install.texi: Fix stray word in line-wrapped comment.
5179
5180 2012-02-20  David S. Miller  <davem@davemloft.net>
5181
5182         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5183         both binutils and gcc support GOTDATA.
5184
5185         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5186         "rd %pc" in the PIC register setup sequences.
5187
5188         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5189         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5190         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5191         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5192         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5193         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5194         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5195         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5196         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5197         (SYSCALL_ERROR_HANDLER): Likewise.
5198         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5199         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5200         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5201         (SYSCALL_ERROR_HANDLER): Likewise.
5202
5203         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5204         (HAVE_GCC_GOTDATA): New.
5205         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5206         relocation support in both binutils and gcc.
5207         * sysdeps/sparc/elf/configure: Regenerate.
5208
5209         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5210         * sysdeps/sparc/sparc32/elf/configure: Delete.
5211         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5212         * sysdeps/sparc/sparc64/elf/configure: Delete.
5213         * sysdeps/sparc/elf/configure.in: New file.
5214         * sysdeps/sparc/elf/configure: Generate.
5215
5216         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5217         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5218         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5219         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5220         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5221
5222 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5223
5224         * manual/install.texi: Do not mention specific glibc version
5225         numbers.
5226         * manual/libc.texinfo (VERSION, UPDATED): Update.
5227         (@copying): Use @copyright{} and range of years.
5228
5229 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5230
5231         [BZ #13695]
5232         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5233         [crti.S not in sysdirs] (generated): Do not append.
5234         [crti.S not in sysdirs] (omit-deps): Likewise.
5235         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5236         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5237         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5238         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5239         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5240         Likewise.
5241         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5242         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5243         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5244         * csu/defs.awk: Remove file.
5245         * sysdeps/generic/initfini.c: Likewise.
5246         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5247         variable.
5248         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5249         Likewise.
5250
5251 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5252
5253         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5254         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5255         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5256         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5257         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5258         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5259         <bits/epoll.h>.
5260         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5261         (__EPOLL_PACKED): Define to empty if not defined by
5262         <bits/epoll.h>.
5263         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5264         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5265         bits/epoll.h.
5266
5267 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5268
5269         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5270         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5271         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5272         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5273         <bits/timerfd.h>.
5274         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5275         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5276         bits/timerfd.h.
5277
5278 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5279
5280         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5281         in C locale.
5282         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5283         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5284         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5286
5287 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
5288
5289         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5290         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5291
5292 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
5293
5294         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5295         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5296         defined.
5297         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5298         Likewise.
5299         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5300         entry for 2.16.
5301
5302 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
5303
5304         * math/w_acos.c: Use non-signaling floating-point comparisons.
5305         * math/w_acosf.c: Likewise.
5306         * math/w_acosh.c: Likewise.
5307         * math/w_acoshf.c: Likewise.
5308         * math/w_acoshl.c: Likewise.
5309         * math/w_acosl.c: Likewise.
5310         * math/w_asin.c: Likewise.
5311         * math/w_asinf.c: Likewise.
5312         * math/w_asinl.c: Likewise.
5313         * math/w_atanh.c: Likewise.
5314         * math/w_atanhf.c: Likewise.
5315         * math/w_atanhl.c: Likewise.
5316         * math/w_exp2.c: Likewise.
5317         * math/w_exp2f.c: Likewise.
5318         * math/w_exp2l.c: Likewise.
5319         * math/w_j0.c: Likewise.
5320         * math/w_j0f.c: Likewise.
5321         * math/w_j0l.c: Likewise.
5322         * math/w_j1.c: Likewise.
5323         * math/w_j1f.c: Likewise.
5324         * math/w_j1l.c: Likewise.
5325         * math/w_jn.c: Likewise.
5326         * math/w_jnf.c: Likewise.
5327         * math/w_log.c: Likewise.
5328         * math/w_log10.c: Likewise.
5329         * math/w_log10f.c: Likewise.
5330         * math/w_log10l.c: Likewise.
5331         * math/w_log2.c: Likewise.
5332         * math/w_log2f.c: Likewise.
5333         * math/w_log2l.c: Likewise.
5334         * math/w_logf.c: Likewise.
5335         * math/w_logl.c: Likewise.
5336         * math/w_sqrt.c: Likewise.
5337         * math/w_sqrtf.c: Likewise.
5338         * math/w_sqrtl.c: Likewise.
5339         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5340         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5341         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5342         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5343         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5344
5345 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5346
5347         [BZ #9739]
5348         * manual/string.texi (strnlen): Use correct parameter name in
5349         equivalent expression.
5350
5351 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5352
5353         [BZ #11174]
5354         * manual/users.texi (seteuid): Consistently use neweuid for
5355         argument name.
5356
5357 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5358
5359         [BZ #13704]
5360         * manual/nss.texi (Services in the NSS configuration): Correct
5361         list of services in example configuration file.
5362
5363 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
5364
5365         [BZ #11322]
5366         * manual/arith.texi: Remove statements about negative zero
5367         behaving identically to zero.
5368
5369 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
5370
5371         [BZ #5993]
5372         * manual/install.texi: Do not document upgrading from libc5.
5373
5374 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
5375
5376         [BZ #4596]
5377         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5378
5379 2012-02-18  David S. Miller  <davem@davemloft.net>
5380
5381         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5382         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5383         %o7 across the call.
5384         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5385         instead.
5386         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5387         SETUP_PIC_REG_LEAF.
5388         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5389         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5390         * sysdeps/sparc/crtn.S: Likewise.
5391
5392 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
5393
5394         * aout/Makefile: Remove.
5395
5396 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
5397
5398         [BZ #13058]
5399         * manual/examples/argp-ex1.c (main): Format definition in GNU
5400         style.
5401         * manual/examples/argp-ex2.c (main): Likewise.
5402         * manual/examples/argp-ex3.c (main): Likewise.
5403         * manual/examples/argp-ex4.c (main): Likewise.
5404         * manual/examples/longopt.c (main): Use new-style prototype
5405         definition.
5406         * manual/examples/strncat.c (main): Specify return type and use
5407         (void) for arguments.
5408         * manual/examples/subopt.c (main): Use char **argv argument.
5409
5410 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5411
5412         [BZ #5077]
5413         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5414         rounding modes.
5415
5416 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
5417
5418         [BZ #6907]
5419         * manual/string.texi (strchr): Change when strchrnul is
5420         recommended.
5421
5422 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
5423
5424         [BZ #174]
5425         * manual/locale.texi (setlocale): Document LOCPATH.
5426
5427 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5428
5429         [BZ #10210]
5430         * manual/process.texi (execle): Move @dots{} before last argument.
5431
5432 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
5433
5434         [BZ #12047]
5435         * manual/charset.texi (Generic Charset Conversion): Fix typo
5436         (LC_TYPE -> LC_CTYPE).
5437
5438 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
5439
5440         [BZ #5805]
5441         * manual/arith.texi (scalbn): Use @var{} on parameter names.
5442         (scalbnf): Likewise.
5443         (scalbnl): Likewise.
5444         (scalbln): Likewise.
5445         (scalblnf): Likewise.
5446         (scalblnl): Likewise.
5447         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5448         (vwarnx): Likewise.
5449         (verr): Likewise.
5450         (verrx): Likewise.
5451         * manual/filesys.texi (telldir): Use braces around return type.
5452         * manual/llio.texi (mmap): Add space after comma.
5453         (mmap64): Likewise.
5454         * manual/math.texi (jn): Use @var{} on parameter names.
5455         (jnf): Likewise.
5456         (jnl): Likewise.
5457         (yn): Likewise.
5458         (ynf): Likewise.
5459         (ynl): Likewise.
5460         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5461         line.
5462         * manual/resource.texi (ulimit): Use @dots{} instead of literal
5463         "...".
5464         (sched_get_priority_min): Remove semicolon on @deftypefun line.
5465         (sched_get_priority_max): Likewise.
5466         * manual/signal.texi (sigvec): Add space after comma.
5467         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5468         names.
5469         (if_indextoname): Likewise.
5470         (if_freenameindex): Likewise.
5471         (sendto): Use ',' instead of '.' in prototype.
5472         * manual/startup.texi (syscall): Use @dots{} instead of literal
5473         "...".
5474         * manual/stdio.texi (__fpending): Separate initial words of
5475         paragraph from @deftypefun line.
5476         * manual/syslog.texi (syslog): Use @dots{} instead of literal
5477         "...".
5478         (vsyslog): Use @var{} on parameter names.
5479         * manual/terminal.texi (stty): Use @var{} on parameter names.
5480         * manual/users.texi (getutmp): Use @var{} on parameter names.
5481         (getutmpx): Likewise.
5482
5483 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5484
5485         [BZ #6884]
5486         * manual/stdio.texi (fopen): Fix typos in description of
5487         ",ccs=STRING".
5488
5489 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
5490
5491         [BZ #4026]
5492         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5493         get clock_id definition.
5494
5495 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
5496
5497         [BZ #4822]
5498         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5499         (madvise): Cast every argument to void on its own.
5500
5501 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5502
5503         [BZ #9902]
5504         * manual/startup.texi (Exit Status): Fix typo.
5505
5506 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5507
5508         [BZ #10140]
5509         * manual/examples/argp-ex1.c: Include <stdlib.h>.
5510         * manual/examples/argp-ex2.c: Likewise.
5511         * manual/examples/argp-ex3.c: Likewise.
5512
5513 2012-02-16  Richard Henderson  <rth@redhat.com>
5514
5515         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5516         * sysdeps/s390/s390-32/initfini.c: Remove.
5517         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5518         * sysdeps/s390/s390-64/initfini.c: Remove.
5519
5520 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5521
5522         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5523         compiler output for sysdeps/generic/initfini.c.
5524         * sysdeps/sh/elf/initfini.c: Remove file.
5525
5526 2012-02-16  David S. Miller  <davem@davemloft.net>
5527
5528         [BZ #11494]
5529         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5530
5531         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5532         * sysdeps/sparc/crti.S: New file.
5533         * sysdeps/sparc/crtn.S: New file.
5534         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5535         * sysdeps/sparc/sparc64/Makefile: Likewise.
5536
5537 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
5538
5539         [BZ #3335]
5540         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5541
5542 2012-02-15  Roland McGrath  <roland@hack.frob.com>
5543
5544         [BZ #4822]
5545         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5546
5547         * mach/devstream.c (cookie_io_functions_t): Macro removed.
5548         (write, read, close): Likewise.
5549         Patch by Aurelien Jarno <aurelien@aurel32.net>.
5550
5551 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
5552
5553         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5554         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5555         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5556         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5557         <bits/signalfd.h>.
5558         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5560         bits/signalfd.h.
5561
5562 2012-02-14  Marek Polacek  <polacek@redhat.com>
5563
5564         * sysdeps/x86_64/crti.S: New file.
5565         * sysdeps/x86_64/crtn.S: New file.
5566         * sysdeps/x86_64/elf/initfini.c: Remove file.
5567
5568 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5569
5570         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5571         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5572         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5573         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5574         <bits/inotify.h>.
5575         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5577         bits/inotify.h.
5578
5579 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5580
5581         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5582         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5583         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5584         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5585         <bits/eventfd.h>.
5586         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5588         bits/eventfd.h.
5589
5590 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
5591
5592         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5593         __feraiseexcept instead of feraiseexcept.
5594
5595         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5596         nanosleep invocations.
5597         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5598         strings, and add error checking for a nanosleep invocations.
5599
5600 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
5601
5602         Replace FSF snail mail address with URLs, as per GNU coding standards.
5603         Most of the snail mail addresses were wrong anyway, and omitting
5604         them makes the source code easier to maintain.  Almost all of the
5605         changes are to license notices and to locale LC_IDENTIFICATION
5606         addresses, except for this one:
5607         * manual/libc.texinfo: In "Published by", give the FSF's URL,
5608         not its snail mail address.
5609
5610 2012-02-09  Richard Henderson  <rth@twiddle.net>
5611
5612         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5613         of kernel-features.h.
5614
5615         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5616
5617 2012-02-08  Marek Polacek  <polacek@redhat.com>
5618
5619         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5620         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5621         * sysdeps/gnu/_G_config.h: Likewise.
5622         * sysdeps/generic/_G_config.h: Likewise.
5623
5624 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
5625
5626         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5627         tests.
5628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5629
5630         * sysdeps/powerpc/powerpc32/crti.S: New file.
5631         * sysdeps/powerpc/powerpc32/crtn.S: New file.
5632         * sysdeps/powerpc/powerpc64/crti.S: New file.
5633         * sysdeps/powerpc/powerpc64/crtn.S: New file.
5634
5635         * Makeconfig (have-initfini): Don't set.
5636         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5637         * configure.in (nopic_initfini): Don't substitute.
5638         * config.h.in (HAVE_INITFINI): Don't #undef.
5639         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5640         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5641
5642 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
5643
5644         Support crti.S and crtn.S provided directly by architectures.
5645         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5646         [crti.S in sysdirs] (omit-deps): Likewise.
5647         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5648         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5649         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5650         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5651         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5652         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5653         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5654         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5655         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5656         compiler output for sysdeps/generic/initfini.c.
5657         * sysdeps/i386/elf/Makefile: Remove file.
5658         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5659
5660 2012-02-07  Marek Polacek  <polacek@redhat.com>
5661
5662         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5663         * sysdeps/gnu/_G_config.h: Likewise.
5664         * sysdeps/mach/hurd/_G_config.h: Likewise.
5665
5666 2012-02-07  Marek Polacek  <polacek@redhat.com>
5667
5668         * math/Makefile (tests): Add tst-CMPLX2.
5669         * math/tst-CMPLX2.c: New file.
5670
5671 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
5672
5673         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5674
5675         * math/libm-test.inc (jn_test): Add missing L suffix.
5676
5677 2012-02-06  Marek Polacek  <polacek@redhat.com>
5678
5679         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5680         * sysdeps/i386/fpu/e_powf.S: Likewise.
5681         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5682         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5683         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5684         * sysdeps/i386/fpu/e_pow.S: Likewise.
5685         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5686         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5687         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5688         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5689         * sysdeps/i386/fpu/e_log2.S: Likewise.
5690         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5691         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5692         * sysdeps/i386/fpu/e_powl.S: Likewise.
5693         * sysdeps/i386/fpu/s_log1p.S: Likewise.
5694         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5695         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5696         * sysdeps/i386/fpu/e_logl.S: Likewise.
5697         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5698         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5699         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5700         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5701         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5702         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5703         * sysdeps/i386/fpu/e_log.S: Likewise.
5704         * sysdeps/i386/fpu/s_cexp.S: Likewise.
5705         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5706         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5707         * sysdeps/i386/fpu/e_logf.S: Likewise.
5708         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5709         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5710         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5711         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5712         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5713         * sysdeps/i386/fpu/e_log10.S: Likewise.
5714         * sysdeps/i386/fpu/s_frexp.S: Likewise.
5715         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5716         * sysdeps/i386/fpu/s_asinh.S: Likewise.
5717         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5718         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5719         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5720         * sysdeps/i386/asm-syntax.h: Likewise.
5721         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5722         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5723         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5724         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5725         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5726         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5727         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5728         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5729         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5730         * sysdeps/powerpc/sysdep.h: Likewise.
5731         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5732         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5733
5734 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
5735
5736         [BZ #411]
5737         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5738
5739 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
5740
5741         * sysdeps/i386/sysdep.h: Include <features.h>.
5742         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5743         version.
5744
5745 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
5746
5747         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5748         Define.
5749         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5750         LOAD_PIC_REG_STR.
5751
5752 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
5753
5754         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5755         (SETUP_PIC_REG): Use GET_PC_THUNK.
5756         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5757         macro.
5758
5759 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
5760
5761         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5762         for non-PIC compilation.
5763         (SETUP_PIC_REG): Add .p2align directive.
5764         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5765         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5766         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5767         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5768         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5769         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5770         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5771         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5772         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5773         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5774         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5775         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5776         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5777         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5778         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5779         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5780         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5781         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5782         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5783         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5784         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5785         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5786         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5787         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5788         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5789         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5790         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5791         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5792         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5793         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5794         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5795         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5796         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5797         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5798         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5799         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5800         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5801         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5802         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5803         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5804         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5805
5806 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
5807
5808         * math/tst-CMPLX.c: Include <stdio.h>.
5809
5810 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
5811
5812         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5813         float.
5814         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5815         * sysdeps/sparc/bits/mathdef.h: Likewise.
5816
5817 2012-01-31  Marek Polacek  <polacek@redhat.com>
5818
5819         * libio/libio.h: Don't define _PARAMS.
5820         * locale/programs/config.h: Don't define PARAMS.
5821         * stdlib/strtol_l.c: Likewise.
5822         (__strtol_l): Remove PARAMS from the prototype.
5823
5824 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
5825
5826         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
5827         names.  Just use the correct names.  Remove unnecessary wrapper
5828         functions.
5829         * malloc/arena.c: Likewise.
5830         * malloc/hooks.c: Likewise.
5831
5832         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5833         ARENA_TEST says not to.  Simplify test for creation of a new arena.
5834         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5835
5836 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
5837
5838         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5839         into tail calls.
5840         (update_get_addr): New function.
5841         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5842         GET_ADDR_MODULE parameter.
5843
5844 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
5845
5846         * crypt/cert.c: Remove __STDC__ conditionals.
5847         * crypt/crypt-entry.c: Likewise.
5848         * crypt/crypt_util.c: Likewise.
5849         * libio/filedoalloc.c: Likewise.
5850         * libio/fileops.c: Likewise.
5851         * libio/genops.c: Likewise.
5852         * libio/iofclose.c: Likewise.
5853         * libio/iofdopen.c: Likewise.
5854         * libio/iofopen.c: Likewise.
5855         * libio/iofopen64.c: Likewise.
5856         * libio/iogetdelim.c: Likewise.
5857         * libio/iopopen.c: Likewise.
5858         * libio/obprintf.c: Likewise.
5859         * libio/oldfileops.c: Likewise.
5860         * libio/oldiofclose.c: Likewise.
5861         * libio/oldiofdopen.c: Likewise.
5862         * libio/oldiofopen.c: Likewise.
5863         * libio/oldiopopen.c: Likewise.
5864         * libio/wfiledoalloc.c: Likewise.
5865         * libio/wgenops.c: Likewise.
5866         * locale/programs/xmalloc.c: Likewise.
5867         * misc/syslog.c: Likewise.
5868         * stdio-common/xbug.c: Likewise.
5869         * string/memchr.c: Likewise.
5870         * string/memcmp.c: Likewise.
5871         * string/memrchr.c: Likewise.
5872         * string/rawmemchr.c: Likewise.
5873         * sysdeps/posix/getcwd.c: Likewise.
5874         * time/strftime_l.c: Likewise.
5875
5876 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
5877
5878         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5879         * config.make.in (config-cflags-sse2avx): Define.
5880         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5881         Fix typo.
5882
5883 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
5884
5885         * scripts/config.guess: Update from upstream config git repository.
5886         * scripts/config.sub: Likewise.
5887
5888 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
5889
5890         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5891         (EM_NUM): Update.
5892         (R_TILEPRO_*, R_TILEGX_*): New macros.
5893
5894         * scripts/firstversions.awk: Fix bug in version range handling.
5895
5896         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5897
5898         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5899
5900         * include/sys/epoll.h: New file.
5901         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5902         libc_hidden_def.
5903
5904 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
5905
5906         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5907         Avoid unnecessary __WORDSIZE == 64 test.
5908         (fmaxf): Use VEX format if possible.
5909         (fmax): Likewise.
5910         (fminf): Likewise.
5911         (fmin): Likewise.
5912
5913         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5914         * math/math_private.h: Remove libc_fegetround* and
5915         libc_fesetround*.
5916         * sysdeps/i386/configure.in: Check for -msse2avx.
5917         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5918         also if SSE2AVX is defined.
5919         Remove libc_fegetround* and libc_fesetround*.
5920         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5921         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
5922         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5923         of HAS_YMM_USABLE.
5924         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5925         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5926         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5927         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5928         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5929
5930         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5931
5932 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5933
5934         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5935         size is not set.
5936         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5937
5938 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
5939
5940         [BZ #13618]
5941         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5942         relocation.
5943         * Makeconfig (libm): Define.
5944         * elf/Makefile: Add rules to build and run tst-relsort1.
5945         * elf/tst-relsort1.c: New file.
5946         * elf/tst-relsort1mod1.c: New file.
5947         * elf/tst-relsort1mod2.c: New file.
5948
5949 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
5950
5951         * math/s_ldexp.c: Remove __STDC__ conditionals.
5952         * math/s_ldexpf.c: Likewise.
5953         * math/s_ldexpl.c: Likewise.
5954         * math/s_nextafter.c: Likewise.
5955         * math/s_nexttowardf.c: Likewise.
5956         * math/s_significand.c: Likewise.
5957         * math/s_significandf.c: Likewise.
5958         * math/s_significandl.c: Likewise.
5959         * math/w_jnl.c: Likewise.
5960         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5961         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5962         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5963         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5964         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5965         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5966         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5967         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5968         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5969         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5970         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5971         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5972         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5973         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5974         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5975         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5976         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5977         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5978         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5979         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5980         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5981         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5982         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5983         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5984         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5985         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5986         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5987         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5988         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5989         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5990         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5991         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5992         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5993         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5994         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5995         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5996         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5997         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5998         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5999         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6000         * sysdeps/ieee754/k_standard.c: Likewise.
6001         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6002         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6003         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6004         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6005         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6006         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6007         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6008         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6009         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6010         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6011         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6012         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6013         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6014         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6015         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6016         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6017         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6018         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6019         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6020         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6021         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6022         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6023         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6024         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6025         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6026         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6027         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6028         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6029         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6030         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6031         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6032         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6033         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6034         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6035         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6036         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6037         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6038         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6039         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6040         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6041         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6042         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6043         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6044         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6045         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6046         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6047         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6048         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6049         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6050         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6051         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6052         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6053         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6054         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6055         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6056         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6057         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6058         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6059         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6060         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6061         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6062         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6063         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6064         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6065         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6066         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6067         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6068         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6069         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6070         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6071         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6072         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6073         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6074         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6075         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6076         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6077         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6078         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6079         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6080         * sysdeps/ieee754/s_matherr.c: Likewise.
6081         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6082         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6083         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6084         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6085
6086 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
6087
6088         * crypt/md5.h: Remove __STDC__ conditionals.
6089         * libio/libioP.h: Likewise.
6090         * locale/programs/config.h: Likewise.
6091         * sysdeps/generic/sysdep.h: Likewise.
6092         * sysdeps/i386/asm-syntax.h: Likewise.
6093         * sysdeps/s390/asm-syntax.h: Likewise.
6094         * sysdeps/unix/sysdep.h: Likewise.
6095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6097
6098 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
6099
6100         * libio/libio.h: Remove __STDC__ conditionals.
6101         * malloc/obstack.h: Likewise.
6102         * math/complex.h: Likewise.
6103         * math/math.h: Likewise.
6104         * sysdeps/generic/_G_config.h: Likewise.
6105         * sysdeps/gnu/_G_config.h: Likewise.
6106         * sysdeps/mach/hurd/_G_config.h: Likewise.
6107         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6108         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6109         * sysdeps/sparc/bits/mathdef.h: Likewise.
6110
6111 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
6112
6113         [BZ #13583]
6114         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6115         Clean up HAS_* macros.
6116         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6117         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6118         possible.
6119         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6120         HAS_AVX.
6121         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6122         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6123         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6124         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6125         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6126
6127 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
6128
6129         * elf/tst-unique3.cc (gets): Remove declaration.
6130         * elf/tst-unique3lib.cc (gets): Likewise.
6131         * elf/tst-unique3lib2.cc (gets): Likewise.
6132         * elf/tst-unique4.cc (gets): Likewise.
6133
6134 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
6135
6136         * include/stdio.h: Add C++ protection.  Add gets declarations and
6137         definitions.
6138         * debug/tst-chk1.c: Don't declare gets here.
6139         * stdio-common/tst-gets.c: Likewise.
6140
6141 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6142
6143         * posix/glob: Remove directory.
6144
6145 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6146
6147         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6148
6149 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
6150
6151         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6152         of the non-standard EPFNOSUPPORT.
6153
6154 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6155
6156         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6157         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6158         ANYWHERE set to 1 only on KERN_NO_SPACE error.
6159
6160 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
6161
6162         * wcsmbs/uchar.h: Test __STDC_VERSION__.
6163
6164 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
6165
6166         * nscd/aicache.c (addhstaiX): Do not cache negative results of
6167         transient errors.
6168         * nscd/grpcache.c (cache_addgr): Likewise.
6169         * nscd/hstcache.c (cache_addhst): Likewise.
6170         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6171         * nscd/pwdcache.c (cache_addpw): Likewise.
6172         * nscd/servicescache.c (cache_addserv): Likewise.
6173
6174 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
6175
6176         * malloc/malloc.c: Various cleanups.
6177         * malloc/hooks.c: Likewise.
6178
6179         * stdlib/Makefile (tests): Add bug-fmtmsg1.
6180         * stdlib/bug-fmtmsg1.c: New file.
6181
6182         * stdlib/fmtmsg.c (init): Add missing unlock.
6183         Patch by Peng Haitao <penght@cn.fujitsu.com>.
6184
6185 2012-01-12  Marek Polacek  <polacek@redhat.com>
6186
6187         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6188         and _GNU_SOURCE.
6189
6190 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
6191
6192         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6193         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6194         macro to ensure uniqueness of label name.
6195         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6196         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6197
6198 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
6199
6200         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6201
6202         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6203         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6204         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6205         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6206
6207 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
6208
6209         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6210
6211         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6212         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6213         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6214
6215         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6216
6217         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6218         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6219         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6220         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6221
6222         * math/bits/math-finite.h: Add ldexp support.
6223
6224 2012-01-10  Marek Polacek  <polacek@redhat.com>
6225
6226         * locale/programs/localedef.h (show_archive_content): Add noreturn
6227         attribute.
6228
6229 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
6230
6231         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6232
6233 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6234
6235         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6236
6237         * io/Makefile (headers): Add bits/poll2.h.
6238
6239 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
6240
6241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6242         typo #include statement.
6243
6244 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6245
6246         * include/sys/cdefs.h: Define __attribute_alloc_size.
6247         * catgets/gencat.c: Add alloc_size attribute and apply consistently
6248         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6249         * elf/pldd.c: Likewise.
6250         * iconv/iconv_charmap.c: Likewise.
6251         * iconv/iconvconfig.c: Likewise.
6252         * iconv/strtab.c: Likewise.
6253         * locale/programs/locale.c: Likewise.
6254         * locale/programs/localedef.h: Likewise.
6255         * locale/programs/simple-hash.c: Likewise.
6256         * nscd/nscd.h: Likewise.
6257         * nss/makedb.c: Likewise.
6258         * sysdeps/generic/ldconfig.h: Likewise.
6259         * locale/programs/localedef.c: Remove xmalloc prototype.
6260         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6261
6262 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6263
6264         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6265         appropriate.
6266
6267 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6268
6269         * math/Makefile (tests): Add tst-CMPLX.
6270         * math/tst-CMPLX.c: New file.
6271
6272         * math/complex.h (CMPLXL): Fix typo.
6273
6274         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6275         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6276         GLIBC_2.16.
6277         * debug/tst-chk1.c: Add poll and ppoll tests.
6278         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6279         * include/sys/poll.h: Add hidden proto for ppoll.
6280         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6281         * sysdeps/mach/hurd/ppoll.c: Likewise.
6282         * io/ppoll.c: Likewise.
6283         * debug/poll_chk.c: New file.
6284         * debug/ppoll_chk.c: New file.
6285         * include/bits/poll2.h: New file.
6286         * io/bits/poll2.h: New file.
6287
6288         [BZ #1350]
6289         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6290
6291         * configure.in: static is always set to yes.  Remove.
6292         * config.make.in: Don't set build-static.
6293         * Makeconfig: Remove use of build-static.
6294         * dlfcn/Makefile: Likewise.
6295         * elf/Makefile: Likewise.
6296         * math/Makefile: Likewise.
6297         * misc/Makefile: Likewise.
6298         * nptl/Makefile: Likewise.
6299         * sysdeps/mach/hurd/Makefile: Likewise.
6300
6301         * configure.in: PWD_P is not used anymore.
6302         * config.make.in: Remove PWD_P entry.
6303
6304         * configure.in: Remove last remnants of RANLIB.
6305         No need to check for signed size_t anymore.
6306         Don't set libc_commonpagesize and libc_relro_required here for Alpha
6307         and IA-64.
6308         Remove __builtin_expect test because we require at least gcc 3.4.
6309         * aclocal.m4: Likewise.
6310
6311         * wcsmbs/mbrtoc16.c: Implement using towc function.
6312         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6313         * wcsmbs/wcsmbsload.c: Likewise.
6314         * iconv/gconv_simple.c: Likewise.
6315         * iconv/gconv_int.h: Likewise.
6316         * iconv/gconv_builtin.h: Likewise.
6317         * iconv/iconv_prog.c: Remove CHAR16 handling.
6318
6319         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6320
6321         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6322
6323         * configure.in: Remove --with-elf and --enable-bounded options.
6324         Dont set base_machine for ia64.  More non-ELF conditions removed.
6325         Remove testing and setting of leading underscore information.
6326         * config.make.in (build-bounded): Set to no.
6327         * config.h.in: Remove NO_UNDERSCORES entry.
6328         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
6329         them.
6330         * csu/start.c: Remove !NO_UNDERSCORE code.
6331         * locale/localeinfo.h: Likewise.
6332         * sysdeps/generic/machine-gmon.h: Likewise.
6333         * sysdeps/generic/sysdep.h: Likewise.
6334         * sysdeps/i386/sysdep.h: Likewise.
6335         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6336         * sysdeps/mach/sysdep.h: Likewise.
6337         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6338         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6339         * sysdeps/sh/sysdep.h: Likewise.
6340         * sysdeps/sparc/sparc32/alloca.S: Likewise.
6341         * sysdeps/unix/i386/sysdep.S: Likewise.
6342         * sysdeps/unix/sparc/start.c: Likewise.
6343         * sysdeps/unix/sparc/sysdep.S: Likewise.
6344         * sysdeps/unix/sparc/sysdep.h: Likewise.
6345         * sysdeps/unix/start.c: Likewise.
6346         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6347         * sysdeps/x86_64/sysdep.h: Likewise.
6348
6349 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
6350
6351         [BZ #13553]
6352         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6353         for non-gcc.
6354         * argp/argp-fmtstream.h: Use const instead __const.
6355         * argp/argp.h: Likewise.
6356         * assert/assert.h: Likewise.
6357         * bits/fenv.h: Likewise.
6358         * bits/sched.h: Likewise.
6359         * bits/sigset.h: Likewise.
6360         * bits/sigthread.h: Likewise.
6361         * catgets/nl_types.h: Likewise.
6362         * conform/data/pthread.h-data: Likewise.
6363         * crypt/crypt-private.h: Likewise.
6364         * crypt/crypt.h: Likewise.
6365         * crypt/crypt_util.c: Likewise.
6366         * ctype/ctype.h: Likewise.
6367         * debug/execinfo.h: Likewise.
6368         * debug/mbsnrtowcs_chk.c: Likewise.
6369         * debug/mbsrtowcs_chk.c: Likewise.
6370         * debug/wcsnrtombs_chk.c: Likewise.
6371         * debug/wcsrtombs_chk.c: Likewise.
6372         * debug/wcstombs_chk.c: Likewise.
6373         * dirent/dirent.h: Likewise.
6374         * dlfcn/dlfcn.h: Likewise.
6375         * elf/neededtest4.c: Likewise.
6376         * grp/grp.h: Likewise.
6377         * gshadow/gshadow.h: Likewise.
6378         * iconv/gconv.h: Likewise.
6379         * iconv/gconv_int.h: Likewise.
6380         * iconv/gconv_simple.c: Likewise.
6381         * iconv/iconv.h: Likewise.
6382         * iconv/loop.c: Likewise.
6383         * iconv/skeleton.c: Likewise.
6384         * include/aio.h: Likewise.
6385         * include/aliases.h: Likewise.
6386         * include/argz.h: Likewise.
6387         * include/arpa/inet.h: Likewise.
6388         * include/assert.h: Likewise.
6389         * include/dirent.h: Likewise.
6390         * include/dlfcn.h: Likewise.
6391         * include/execinfo.h: Likewise.
6392         * include/fcntl.h: Likewise.
6393         * include/fenv.h: Likewise.
6394         * include/glob.h: Likewise.
6395         * include/grp.h: Likewise.
6396         * include/libintl.h: Likewise.
6397         * include/mntent.h: Likewise.
6398         * include/netdb.h: Likewise.
6399         * include/pwd.h: Likewise.
6400         * include/rpc/netdb.h: Likewise.
6401         * include/sched.h: Likewise.
6402         * include/search.h: Likewise.
6403         * include/shadow.h: Likewise.
6404         * include/signal.h: Likewise.
6405         * include/stdio.h: Likewise.
6406         * include/stdlib.h: Likewise.
6407         * include/string.h: Likewise.
6408         * include/sys/socket.h: Likewise.
6409         * include/sys/stat.h: Likewise.
6410         * include/sys/statfs.h: Likewise.
6411         * include/sys/statvfs.h: Likewise.
6412         * include/sys/syslog.h: Likewise.
6413         * include/sys/time.h: Likewise.
6414         * include/sys/uio.h: Likewise.
6415         * include/time.h: Likewise.
6416         * include/unistd.h: Likewise.
6417         * include/utmp.h: Likewise.
6418         * include/wchar.h: Likewise.
6419         * include/wctype.h: Likewise.
6420         * inet/aliases.h: Likewise.
6421         * inet/arpa/inet.h: Likewise.
6422         * inet/netinet/ether.h: Likewise.
6423         * inet/netinet/in.h: Likewise.
6424         * intl/libintl.h: Likewise.
6425         * io/bits/fcntl2.h: Likewise.
6426         * io/fcntl.h: Likewise.
6427         * io/ftw.h: Likewise.
6428         * io/sys/poll.h: Likewise.
6429         * io/sys/stat.h: Likewise.
6430         * io/sys/statfs.h: Likewise.
6431         * io/sys/statvfs.h: Likewise.
6432         * io/utime.h: Likewise.
6433         * libio/bits/stdio.h: Likewise.
6434         * libio/bits/stdio2.h: Likewise.
6435         * libio/libio.h: Likewise.
6436         * libio/libioP.h: Likewise.
6437         * libio/stdio.h: Likewise.
6438         * locale/lc-ctype.c: Likewise.
6439         * locale/locale.h: Likewise.
6440         * login/utmp.h: Likewise.
6441         * malloc/arena.c: Likewise.
6442         * malloc/malloc.c: Likewise.
6443         * malloc/malloc.h: Likewise.
6444         * malloc/mcheck.c: Likewise.
6445         * malloc/mtrace.c: Likewise.
6446         * math/bits/mathcalls.h: Likewise.
6447         * math/fenv.h: Likewise.
6448         * math/math_private.h: Likewise.
6449         * misc/bits/error.h: Likewise.
6450         * misc/bits/syslog.h: Likewise.
6451         * misc/err.h: Likewise.
6452         * misc/error.h: Likewise.
6453         * misc/fstab.h: Likewise.
6454         * misc/mntent.h: Likewise.
6455         * misc/regexp.h: Likewise.
6456         * misc/search.h: Likewise.
6457         * misc/sgtty.h: Likewise.
6458         * misc/sys/mman.h: Likewise.
6459         * misc/sys/syslog.h: Likewise.
6460         * misc/sys/uio.h: Likewise.
6461         * misc/sys/xattr.h: Likewise.
6462         * misc/ttyent.h: Likewise.
6463         * nis/rpcsvc/ypclnt.h: Likewise.
6464         * nss/nss.h: Likewise.
6465         * posix/bits/unistd.h: Likewise.
6466         * posix/fnmatch.h: Likewise.
6467         * posix/glob.h: Likewise.
6468         * posix/sched.h: Likewise.
6469         * posix/spawn.h: Likewise.
6470         * posix/sys/wait.h: Likewise.
6471         * posix/unistd.h: Likewise.
6472         * posix/wordexp.h: Likewise.
6473         * pwd/pwd.h: Likewise.
6474         * resolv/netdb.h: Likewise.
6475         * resource/sys/resource.h: Likewise.
6476         * rt/aio.h: Likewise.
6477         * rt/bits/mqueue2.h: Likewise.
6478         * rt/mqueue.h: Likewise.
6479         * shadow/shadow.h: Likewise.
6480         * signal/signal.h: Likewise.
6481         * socket/send.c: Likewise.
6482         * socket/sendto.c: Likewise.
6483         * socket/sys/socket.h: Likewise.
6484         * stdio-common/printf.h: Likewise.
6485         * stdlib/bits/stdlib.h: Likewise.
6486         * stdlib/fmtmsg.h: Likewise.
6487         * stdlib/monetary.h: Likewise.
6488         * stdlib/stdlib.h: Likewise.
6489         * stdlib/ucontext.h: Likewise.
6490         * streams/stropts.h: Likewise.
6491         * string/argz.h: Likewise.
6492         * string/bits/string2.h: Likewise.
6493         * string/string.h: Likewise.
6494         * string/strings.h: Likewise.
6495         * sunrpc/rpc/auth.h: Likewise.
6496         * sunrpc/rpc/auth_des.h: Likewise.
6497         * sunrpc/rpc/clnt.h: Likewise.
6498         * sunrpc/rpc/netdb.h: Likewise.
6499         * sunrpc/rpc/pmap_clnt.h: Likewise.
6500         * sunrpc/rpc/xdr.h: Likewise.
6501         * sysdeps/generic/inttypes.h: Likewise.
6502         * sysdeps/generic/net/if.h: Likewise.
6503         * sysdeps/generic/sys/swap.h: Likewise.
6504         * sysdeps/gnu/net/if.h: Likewise.
6505         * sysdeps/gnu/utmpx.h: Likewise.
6506         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6507         * sysdeps/i386/i486/bits/string.h: Likewise.
6508         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6509         * sysdeps/s390/bits/string.h: Likewise.
6510         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6511         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6512         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6513         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6514         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6515         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6516         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6517         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6518         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6519         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6520         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6521         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6522         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6523         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6524         * sysdeps/unix/sysv/linux/readv.c: Likewise.
6525         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6526         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6527         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6528         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6529         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6530         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6531         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6532         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6533         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6534         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6535         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6536         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6537         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6538         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6539         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6540         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6541         * sysvipc/sys/ipc.h: Likewise.
6542         * sysvipc/sys/msg.h: Likewise.
6543         * sysvipc/sys/sem.h: Likewise.
6544         * sysvipc/sys/shm.h: Likewise.
6545         * termios/termios.h: Likewise.
6546         * time/sys/time.h: Likewise.
6547         * time/time.h: Likewise.
6548         * wcsmbs/bits/wchar2.h: Likewise.
6549         * wcsmbs/uchar.h: Likewise.
6550         * wcsmbs/wchar.h: Likewise.
6551         * wctype/wctype.h: Likewise.
6552
6553         [BZ #13551]
6554         * Makeconfig: Remove all but ELF support including AIX support.
6555         * Makerules: Likewise.
6556         * config.h.in: Likewise.
6557         * config.make.in: Likewise.
6558         * configure: Likewise.
6559         * configure.in: Likewise.
6560         * csu/Makefile: Likewise.
6561         * csu/version.c: Likewise.
6562         * debug/Makefile: Likewise.
6563         * dlfcn/Makefile: Likewise.
6564         * elf/Makefile: Likewise.
6565         * extra-lib.mk: Likewise.
6566         * iconv/Makefile: Likewise.
6567         * include/libc-symbols.h: Likewise.
6568         * include/shlib-compat.h: Likewise.
6569         * resolv/Makefile: Likewise.
6570         * resolv/res_libc.c: Likewise.
6571         * rt/Makefile: Likewise.
6572         * sysdeps/i386/asm-syntax.h: Likewise.
6573         * sysdeps/i386/sysdep.h: Likewise.
6574         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6575         * sysdeps/mach/sysdep.h: Likewise.
6576         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6577         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6578         * sysdeps/s390/asm-syntax.h: Likewise.
6579         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6580         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6581         * sysdeps/sh/sysdep.h: Likewise.
6582         * sysdeps/unix/sparc/sysdep.h: Likewise.
6583         * sysdeps/wordsize-32/divdi3.c: Likewise.
6584         * sysdeps/x86_64/sysdep.h: Likewise.
6585
6586         * argp/Versions: Remove _argp_unlock_xxx.
6587
6588         [BZ #13559]
6589         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
6590         * abilist/libBrokenLocale.abilist: Likewise.
6591         * abilist/libanl.abilist: Likewise.
6592         * abilist/libc.abilist: Likewise.
6593         * abilist/libcrypt.abilist: Likewise.
6594         * abilist/libdl.abilist: Likewise.
6595         * abilist/libm.abilist: Likewise.
6596         * abilist/libnsl.abilist: Likewise.
6597         * abilist/libpthread.abilist: Likewise.
6598         * abilist/libresolv.abilist: Likewise.
6599         * abilist/librt.abilist: Likewise.
6600         * abilist/libthread_db.abilist: Likewise.
6601         * abilist/libutil.abilist: Likewise.
6602         * abilist/libnss_db.abilist: New file.
6603
6604         * scripts/abilist.awk: Add support for indirect functions.
6605
6606         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6607
6608         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6609
6610         * shlib-versions: Remove entries for ports architectures.
6611
6612         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
6613         files in ports.
6614         * elf/stackguard-macros.h: Remove support for IA-64.
6615         * elf/tst-auditmod1.c: Likewise.
6616         * sysdeps/generic/ldsodefs.h: Likewise.
6617
6618         * sysdeps/unix/sysv/linux/configure.in: Ports should define
6619         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6620         configure files.
6621
6622         [BZ #13552]
6623         * configure.in: Remove --enable-omitfp support.
6624         * FAQ.in: Adjust.
6625         * config.make.in: Likewise.
6626         * Makeconfig: Likewise.
6627         * manual/install.texi: Likewise.
6628
6629         In case anyone cares, the IA-64 architecture could move to ports.
6630         * sysdeps/ia64/*: Removed.
6631         * sysdeps/unix/sysv/linux/ia64/*: Removed.
6632         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6633
6634         [BZ #13555]
6635         * configure.in: Remove entries for unsupported architectures.
6636
6637         [BZ #13533]
6638         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6639         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
6640         routines.
6641         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6642         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6643         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
6644         fall back to using wcrtomb.
6645         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6646         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
6647         renaming.
6648         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6649         * wcsmbs/tst-c16c32-1.c: New file.
6650
6651         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6652         local variable.
6653
6654         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6655
6656         * elf/tst-unique3.cc: Add explicit declaration of gets.
6657         * elf/tst-unique3lib.cc: Likewise.
6658         * elf/tst-unique3lib2.cc: Likewise.
6659         * elf/tst-unique4.cc: Likewise.
6660
6661         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6662
6663 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
6664
6665         [BZ #13566]
6666         * assert/assert.h (static_assert): Don't define for C++.
6667         * libio/stdio.h (gets): Do declare for C++ <= C++11.
6668         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6669
6670 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
6671
6672         * iconv/loop.c (single loop): Fix assertion in storing of
6673         remaining bytes.
6674
6675         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6676
6677 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
6678
6679         * posix/getconf.c: Update copyright year.
6680         * nss/getent.c: Likewise.
6681         * nss/makedb.c: Likewise.
6682         * iconv/iconvconfig.c: Likewise.
6683         * iconv/iconv_prog.c: Likewise.
6684         * elf/ldconfig.c: Likewise.
6685         * elf/pldd.c: Likewise.
6686         * elf/sotruss.ksh: Likewise.
6687         * catgets/gencat.c: Likewise.
6688         * csu/version.c: Likewise.
6689         * elf/ldd.bash.in: Likewise.
6690         * elf/sprof.c (print_version): Likewise.
6691         * locale/programs/locale.c: Likewise.
6692         * locale/programs/localedef.c: Likewise.
6693         * login/programs/pt_chown.c: Likewise.
6694         * nscd/nscd.c (print_version): Likewise.
6695         * debug/xtrace.sh: Likewise.
6696         * malloc/memusage.sh: Likewise.
6697         * malloc/mtrace.pl: Likewise.
6698         * debug/catchsegv.sh: Likewise.
6699
6700 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
6701
6702         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6703         pure attribute.
6704
6705 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
6706
6707         [BZ #13533]
6708         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6709         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6710         transformations.
6711         * iconv/gconv_int.h: Likewise.
6712         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6713         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6714         from libc for GLIBC_2.16.
6715         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6716         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6717         * wcsmbs/uchar.h: Really define mbstate_t.
6718         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6719         * wcsmbs/c16rtomb.c: New file.
6720         * wcsmbs/mbrtoc16.c: New file.
6721         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6722         for C/POSIX locale.
6723         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6724         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6725
6726         * wcsmbs/wchar.h: Add missing __restrict.
6727
6728 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
6729
6730         [BZ #13532]
6731         * time/Makefile (routines): Add timespec_get.
6732         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6733         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
6734         timespec for ISO C11.
6735         * time/timespec_get.c: New file.
6736         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6737         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6738
6739         [BZ #13531]
6740         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6741         * stdlib/stdlib.h: Declare aligned_alloc.
6742         * Versions.def: Add GLIBC_2.16 for libc.
6743         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6744
6745         [BZ 13527]
6746         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6747         ISO C11.
6748
6749         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6750         code.
6751
6752         [BZ #13528]
6753         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6754
6755         [BZ #13529]
6756         * assert/assert.h (static_assert): Define.
6757
6758         * version.h: Update for 2.16 development version.
6759
6760         [BZ #13526]
6761         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6762         _ISOC11_SOURCE.
6763
6764         * version.h (RELEASE): Bump for 2.15 release.
6765         * include/features.h (__GLIBC_MINOR__): Bump to 15.
6766
6767         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6768         Patch by Marek Polacek <mpolacek@redhat.com>.
6769
6770         * bits/byteswap.h: Protect long long constants with __extension__.
6771         * sysdeps/i386/bits/byteswap.h: Likewise.
6772         * sysdeps/ia64/bits/byteswap.h: Likewise.
6773         * sysdeps/s390/bits/byteswap.h: Likewise.
6774         * sysdeps/x86_64/bits/byteswap.h: Likewise.
6775
6776 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6777
6778         [BZ #13540]
6779         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6780         destination buffer.
6781         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6782
6783 2011-12-23  Marek Polacek  <polacek@redhat.com>
6784
6785         * elf/dl-addr.c (determine_info): Add inline keyword.
6786         * elf/tst-auditmod4b.c (check_avx): Likewise.
6787         * elf/tst-auditmod6b.c (check_avx): Likewise.
6788         * elf/tst-auditmod6c.c (check_avx): Likewise.
6789         * elf/tst-auditmod7b.c (check_avx): Likewise.
6790
6791 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
6792
6793         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6794         !__SSE_MATH__.
6795
6796 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6797
6798         [BZ #13540]
6799         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6800         processing for last bytes.
6801
6802 2011-08-06  Bruno Haible  <bruno@clisp.org>
6803
6804         [BZ #13061]
6805         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6806         U+0385, not to U+1FEE.
6807
6808         [BZ #13062]
6809         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6810         entry for U+00A5 U+0301.
6811
6812 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
6813
6814         [BZ #13166]
6815         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6816         buffer for the output is too small.
6817
6818         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6819         optimization.
6820
6821         [BZ #13185]
6822         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6823         SSE flags if possible.
6824
6825 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6826
6827         [BZ #13540]
6828         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6829         processing for last bytes.
6830
6831 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
6832
6833         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6834         (syscall-list-default-options, syscall-list-default-condition)
6835         (syscall-list-includes): Define.
6836         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6837         list of ABIs and options and #if conditions for each ABI.  Do not
6838         handle common syscalls between ABIs specially.
6839         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6840         Remove.
6841         (syscall-list-variants, syscall-list-32bit-options)
6842         (syscall-list-32bit-condition, syscall-list-64bit-options)
6843         (syscall-list-64bit-condition): Define.
6844         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6845         (syscall-list-variants, syscall-list-32bit-options)
6846         (syscall-list-32bit-condition, syscall-list-64bit-options)
6847         (syscall-list-64bit-condition): Define.
6848         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6849         Remove.
6850         (syscall-list-variants, syscall-list-32bit-options)
6851         (syscall-list-32bit-condition, syscall-list-64bit-options)
6852         (syscall-list-64bit-condition): Define.
6853         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6854         Remove.
6855         (syscall-list-variants, syscall-list-32bit-options)
6856         (syscall-list-32bit-condition, syscall-list-64bit-options)
6857         (syscall-list-64bit-condition): Define.
6858
6859 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
6860
6861         * locale/iso-639.def: Add brx entry.
6862
6863         [BZ #13328]
6864         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6865         Proposed by Mariusz_Cukr <marcukr@op.pl>.
6866
6867         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6868         __feraiseexcept_renamed.
6869
6870 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
6871
6872         [BZ #13538]
6873         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6874         EPOLLET with unsigned values.
6875         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6876         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6877
6878         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6879         to large cancellation.
6880         * math/s_cacoshf.c: Likewise.
6881         * math/s_cacoshl.c: Likewise.
6882
6883 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
6884
6885         [BZ #13305]
6886         [BZ #12786]
6887         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6888         * math/s_cacoshf.c: Likewise.
6889         * math/s_cacoshl.c: Likewise.
6890
6891 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
6892
6893         [BZ #13439]
6894         * iconv/gconv.h: Define __GCONV_SWAP.
6895         * iconvdata/unicode.c: The swap bit must be stored in __flags.
6896         * iconvdata/utf-16.c: Likewise.
6897         * iconvdata/utf-32.c: Likewise.
6898
6899 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
6900
6901         [BZ #13524]
6902         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6903         numerator after shifting it by one limb.
6904
6905 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
6906
6907         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6908         under [__USE_EXTERN_INLINES].
6909
6910 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
6911
6912         [BZ #13446]
6913         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6914
6915 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6916
6917         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6918         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6919         optimized code.
6920         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6921         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6922         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6923         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6924         for strncasecmp/strncasecmp_l compilation.
6925         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6926         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6927
6928 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
6929
6930         [BZ #13484]
6931         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6932         of __asm__.
6933
6934 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
6935
6936         [BZ #13506]
6937         * time/tzfile.c (__tzfile_read): Check values from file header.
6938
6939 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
6940
6941         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6942         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6943         * powerpc/powerpc32/dl-start.S: Likewise.
6944         * powerpc/powerpc32/elf/start.S: Likewise.
6945         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6946         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6947         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6948         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6949         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6950         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6951         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6952         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6953         * powerpc/powerpc32/fpu/s_round.S: Likewise.
6954         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6955         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6956         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6957         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6958         * powerpc/powerpc32/memset.S: Likewise.
6959         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6960         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6961         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6962         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6963         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6964         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6965         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6966         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6967         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6968         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6969         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6970         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6971         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6972
6973 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6974
6975         * math/libm-test.inc: Added more nearbyint tests.
6976         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6977         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6978         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6979         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6980
6981 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
6982
6983         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6984         FD_CLOEXEC.
6985
6986 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6987
6988         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6989         Add wcscpy-ssse3 wcscpy-c.
6990         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6991         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6992         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6993         * sysdeps/x86_64/wcschr.S: New file.
6994         * sysdeps/x86_64/wcsrchr.S: New file.
6995         * string/test-strcmp.c: Remove checking of wcscmp function for
6996         wrong alignments.
6997         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6998         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6999         wcsrchr-sse2 wcsrchr-c.
7000         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7001         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7002         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7003         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7004         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7005         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7006         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7007         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7008         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7009         * wcsmbc/wcschr.c (WCSCHR): New macro.
7010
7011 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7012
7013         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7014         * wcsmbs/test-wcsrchr.c: New file.
7015         * string/test-strrchr.c: Add wcsrchr support.
7016         (WIDE): New macro.
7017         * wcsmbs/test-wcscpy.c: New file.
7018         * string/test-strcpy.c: Add wcscpy support.
7019         (WIDE): New macro.
7020
7021 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
7022
7023         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7024         the inner loop.
7025
7026 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
7027
7028         [BZ #13472]
7029         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7030
7031 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
7032
7033         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7034         Minor optimizations.
7035
7036         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7037         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7038         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7039
7040 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
7041
7042         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7043         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7044         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7045         for gcc to avoid warnings.
7046         * inet/Makefile (tests): Add tst-checks.
7047         * inet/tst-checks.c: New file.
7048
7049         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7050         warning.
7051
7052         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7053         __wmemcmp_sse2.
7054
7055         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7056         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7057
7058         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7059
7060 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
7061
7062         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7063         problem.
7064
7065         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7066
7067 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
7068
7069         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7070         conditional on GCC version.
7071         (__arch_compare_and_exchange_val_8_acq)
7072         (__arch_compare_and_exchange_val_16_acq)
7073         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7074         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7075         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7076
7077 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
7078
7079         * sysdeps/sh/backtrace.c: New file.
7080
7081 2011-12-02  Andreas Schwab  <schwab@redhat.com>
7082
7083         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
7084         parenthesis.
7085
7086 2011-12-01  Andreas Schwab  <schwab@redhat.com>
7087
7088         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7089         falling back to utime.
7090
7091 2011-11-30  Andreas Schwab  <schwab@redhat.com>
7092
7093         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7094         expectations for float.
7095
7096 2011-11-29  Andreas Schwab  <schwab@redhat.com>
7097
7098         * locale/weight.h (findidx): Add parameter len.
7099         * locale/weightwc.h (findidx): Likewise.
7100         * posix/fnmatch_loop.c (FCT): Adjust caller.
7101         * posix/regcomp.c (build_equiv_class): Likewise.
7102         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7103         * posix/regexec.c (check_node_accept_bytes): Likewise.
7104         * string/strcoll_l.c (STRCOLL): Likewise.
7105         * string/strxfrm_l.c (STRXFRM): Likewise.
7106
7107 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
7108
7109         * Makefile.in: Remove CVSOPT handling.
7110         * configure.in: Remove use of AC_REVISION.
7111         * iconvdata/Makefile (distribute): No need to filter out CVS.
7112         * scripts/list-sources.sh: Remove CVS, subversion and monotone
7113         handling.
7114
7115 2011-11-16  Andreas Schwab  <schwab@redhat.com>
7116
7117         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7118         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7119         [USE_AS_STRNCASECMP_L]: Likewise.
7120         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7121         NO_TLS_DIRECT_SEG_REFS.
7122         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7123         Fix argument offsets for non-PIC.
7124         [USE_AS_STRNCASECMP_L]: Likewise.
7125         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7126         NO_TLS_DIRECT_SEG_REFS.
7127
7128 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7129
7130         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7131         O_CLOEXEC.
7132         * locale/loadlocale.c (_nl_load_locale): Likewise.
7133
7134 2011-11-15  Andreas Schwab  <schwab@redhat.com>
7135
7136         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7137         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7138         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7139         (SYSCALL_GETTIME): Set errno on error.
7140
7141         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7142         count references to noai6ai_cached.
7143
7144 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7145
7146         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7147
7148         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7149         FD_CLOEXEC for /proc/self/maps.
7150
7151         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7152         FD_CLOEXEC for /proc/meminfo.
7153
7154         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7155         gai.conf.
7156
7157         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
7158         FD_CLOEXEC for given file.
7159
7160         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7161
7162         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7163         FD_CLOEXEC for /etc/hosts.
7164         (_gethtent): Likewise.
7165
7166         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7167
7168         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7169         cancellation and set FD_CLOEXEC for /etc/netgroup.
7170
7171         * nss/nss_files/files-key.c (search): Don't allow cancellation when
7172         reading /etc/publickey.
7173
7174         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7175         allow cancellation when reading /etc/group.
7176
7177         * nss/nss_files/files-alias.c (internal_setent): Don't allow
7178         cancellation.
7179         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
7180
7181         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7182         when using data file.
7183
7184         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7185
7186         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7187         (write_nis_obj): Use "c" and "e" in fopen.
7188
7189         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7190
7191         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7192
7193         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7194
7195         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7196
7197         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7198         locale.alias.
7199
7200         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7201
7202         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7203
7204         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7205
7206         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7207         file parsing and set FD_CLOEXEC.
7208
7209 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
7210
7211         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7212
7213 2011-11-14  Andreas Schwab  <schwab@redhat.com>
7214
7215         * malloc/arena.c (arena_get2): Don't call reused_arena when
7216         _int_new_arena failed.
7217
7218 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
7219
7220         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7221         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7222         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7223         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7224         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7225         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7226         to compile strcasecmp and strncasecmp.
7227         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7228         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7229
7230         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7231
7232 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
7233
7234         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7235         locale-defines.sym to gen-as-const-headers.
7236         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7237         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7238         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7239         to compile strcasecmp and strncasecmp.
7240         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7241         strcasecmp_l and strncasecmp_l.
7242         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7243         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7244         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7245         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7246         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7247         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7248         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7249         * sysdeps/i386/i686/multiarch/strncase.S: New file.
7250         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7251         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7252         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7253
7254 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
7255
7256         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7257         result of SYSDEP_GETTIME_CPU to retval.
7258         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7259         parameter list to macro.  Remove trailing semicolon.  Adjust users.
7260
7261         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7262         variable.
7263
7264         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7265         mantissa words.
7266         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7267
7268         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7269         from unused variable.
7270
7271         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7272         DWARF definitions.
7273         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7274         for assembling.
7275
7276         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7277         over namespaces.
7278
7279         * sunrpc/rpc_prot.c (rejected): Fix case value.
7280
7281         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7282         unsigned long long int to avoid warnings in shift.
7283
7284         * posix/regex_internal.c (re_string_reconstruct): Actually use result
7285         of use of trans.
7286         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7287         variable tmp.
7288
7289         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7290         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7291         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7292
7293         * nis/nis_table.c (nis_list): Use variable of correct type for
7294         result of __follow_path call.
7295
7296 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7297
7298         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7299         of math functions ceil, trunc, floor, round, and sqrt, when
7300         avaliable on the platform.
7301         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7302         name clash.
7303         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7304         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7305         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7306
7307 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
7308
7309         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7310         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7311
7312 2011-11-11  Roland McGrath  <roland@hack.frob.com>
7313
7314         * include/unistd.h: Fix __readlink return type.
7315         Reported by Chris Metcalf <cmetcalf@tilera.com>.
7316
7317 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
7318
7319         * stdlib/ucontext.h: Undo last change for makecontext.
7320
7321 2011-11-11  Andreas Schwab  <schwab@redhat.com>
7322
7323         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7324
7325         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7326         * setjmp/setjmp.h: Mark functions as non-leaf.
7327         * setjmp/bits/setjmp2.h: Likewise.
7328         * stdlib/ucontext.h: Likewise.
7329
7330 2011-11-10  Andreas Schwab  <schwab@redhat.com>
7331
7332         * malloc/arena.c (_int_new_arena): Don't increment narenas.
7333         (reused_arena): Don't check arena limit.
7334         (arena_get2): Atomically check arena limit.
7335
7336 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
7337
7338         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7339         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7340
7341         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7342         instructions.
7343
7344 2011-11-07  Andreas Schwab  <schwab@redhat.com>
7345
7346         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7347         handler when locking.
7348
7349         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7350         Fix size of allocated buffer.
7351
7352 2011-11-04  Andreas Schwab  <schwab@redhat.com>
7353
7354         [BZ #10103]
7355         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7356         declarations for long double functions.
7357         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7358
7359         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7360
7361 2011-11-03  Andreas Schwab  <schwab@redhat.com>
7362
7363         * nscd/nscd.c (main): Don't start AVC thread until credentials are
7364         installed.
7365
7366         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7367         is disabled.
7368
7369 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7370
7371         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7372
7373 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7374
7375         * include/alloca.h (stackinfo_alloca_round): Define.
7376         (extend_alloca): Use it.
7377         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7378         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7379         here.
7380
7381         * scripts/check-local-headers.sh: Ignore libaudit.h.
7382
7383         * nscd/Makefile (extra-objs): Make recursively expanded.
7384
7385 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
7386
7387         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7388         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7389
7390         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7391         * posix/tst-rfc3484-2.c: Likewise.
7392         * posix/tst-rfc3484-3.c: Likewise.
7393
7394         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7395         process_vm_writev.
7396         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7397         process_vm_writev.
7398         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7399         process_vm_writev from libc using GLIBC_2.15 version.
7400
7401         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7402
7403 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
7404
7405         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7406         stack usage.
7407
7408 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
7409
7410         [BZ #13367]
7411         * nss/getent.c (initgroups_keys): Show error message in case no group
7412         names are given.
7413
7414         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7415         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7416         __bump_nl_timestamp.
7417         * nscd/connections (nscd_init): When host database is served open
7418         netlink socket and request notification about configuration changes.
7419         (main_loop_poll): Track netlink file descriptor and bump timestamp
7420         in case data becomes available.
7421         (main_loop_epoll): Likewise.
7422         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7423         (database_pers_head): Add extra_data fileds.
7424         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7425         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7426         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7427         Adjust caller.
7428         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7429         in6ai data, call __free_in6ai.
7430         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7431         Add -DHAVE_NETLINK.
7432         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
7433         interface information.  Reuse previous data if netlink timestamp
7434         is not changed.
7435         (__bump_nl_timestamp): New function.
7436         (__free_in6ai): New function.
7437
7438 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
7439
7440         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7441         close_not_cancel_no_status here.
7442         (__check_pf): Reorganize code a bit to not call close twice if OOM.
7443
7444 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
7445
7446         [BZ #13276]
7447         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7448         return value.
7449
7450         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7451         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7452         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7453
7454 2011-07-03  Andreas Jaeger  <aj@suse.de>
7455
7456         [BZ #10709]
7457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7458         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7459         * math/libm-test.inc (sin_test): Add test case.
7460
7461 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
7462
7463         [BZ #13337]
7464         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7465         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7466
7467         * elf/chroot_canon.c (chroot_canon): Cleanups.
7468
7469         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7470
7471         [BZ #13335]
7472         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7473         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7474
7475         * string/test-strchr.c: Make usable for strchrnul testing.
7476         * string/test-strchrnul.c: New file.
7477         * string/Makefile (strop-tests): Add strchrnul.
7478
7479         * po/it.po: Update from translation team.
7480         * po/es.po: Likewise.
7481
7482 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
7483
7484         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7485         the three constants needed as parameters.  Drop the others.
7486         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7487         __m128i_strloadu_tolower.
7488         Create and initialize variable zero and use it in all the places
7489         where _mm_setzero_si128 was used.
7490
7491         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7492         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7493         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7494         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7495         anymore.
7496         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7497         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7498         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7499         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7500         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7501         __mpranred, __mptan.
7502         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7503         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7504         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7505         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7506         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7507         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7508         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7509         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7510         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7511
7512 2011-10-28  Andreas Schwab  <schwab@redhat.com>
7513
7514         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7515         redefine if SHARED.
7516         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7517
7518         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7519         wide char related routines to wcsmbs subdir.
7520
7521 2011-10-27  Andreas Schwab  <schwab@redhat.com>
7522
7523         [BZ #13344]
7524         * misc/sys/cdefs.h (__THROWNL): Define.
7525         * posix/unistd.h: Use __THREADNL instead of __THREAD
7526         for memory synchronization functions.
7527
7528 2011-10-26  Roland McGrath  <roland@hack.frob.com>
7529
7530         [BZ #13349]
7531         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7532         doesn't exist.
7533         * manual/stdio.texi (Obstack Streams): Node removed.
7534
7535 2011-10-26  Andreas Schwab  <schwab@redhat.com>
7536
7537         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7538         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7539         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7540
7541         * math/math_private.h (math_force_eval): Allow non-addressable
7542         arguments.
7543         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7544
7545 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7546
7547         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7548         file is not needed.
7549
7550         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7551         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7552         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7553         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7554         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7555         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7556         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7557         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7558         Add AVX variants.
7559         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7560         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7561         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7562         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7563         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7564         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7565         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7566         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7567         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7568         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7569         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7570         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7571         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7572         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7573         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7574         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7575         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7576         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7577         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7578
7579         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7580         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
7581
7582         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7583         place.  Use VEX encoding when compiling for AVX.
7584
7585 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7586
7587         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7588         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7589
7590         * string/test-strchr.c (do_test): Don't generate NUL bytes.
7591
7592 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7593
7594         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7595         useless if() expression.
7596         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7597         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7598         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7599         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7600         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7601         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7602         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7603         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7604         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7605         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7606         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7607         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7608         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7609         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7610         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7611         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7612         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7613         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7614         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7615
7616         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7617
7618 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7619
7620         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7621         condition.
7622         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7623
7624 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7625
7626         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7627         .text section.  Avoid duplicate constants.
7628         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7629         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7630         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7631         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7632         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7633         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7634         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7635         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7636         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7637         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7638         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7639         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7640         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7641         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7642         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7643         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7644         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7645         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7646         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7647         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7648         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7649         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7650         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7651         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7652         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7653         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7654         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7655         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7656         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7657         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7658         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7659         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7660         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7661         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7662         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7663         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7664         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7665         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7666         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7667         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7668         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7669         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7670         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7671         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7672         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7673
7674 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
7675
7676         * sysdeps/x86_64/dla.h: Move to ...
7677         * sysdeps/x86_64/fpu/dla.h: ...here.
7678         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7679         situations.  Use __builtin_fma only for gcc 4.6 and up.
7680
7681         * config.make.in: Add have-mfma4 entry.
7682         * configure.in: Substitute libc_cv_cc_fma4.
7683         * math/Makefile (dbl-only-routines): Add sincostab.
7684         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7685         Use __sincostab not sincos.
7686         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7687         name is a macro.
7688         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7689         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7690         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7691         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
7692         using __copysign.
7693         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
7694         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
7695         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7696         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7697         and __inv.
7698         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7699         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7700         __copysign.
7701         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
7702         define aliases when function name is a macro.
7703         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7704         sysdeps/ieee754/dbl-64/sincos.tbl.
7705         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7706         fma4-enabled routines.
7707         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7708         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7709         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7710         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7711         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7712         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7713         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7714         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7715         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7716         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7717         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7718         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7719         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7720         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7721         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7722         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7723         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7724         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7725         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7726         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7727         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7728         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7729         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7730         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7731         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7732         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7733         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7734         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7735         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7736         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7737
7738         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7739         rename.
7740         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7741         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7742         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7743         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7744         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7745         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7746         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7747         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7748
7749 2011-10-24  Andreas Schwab  <schwab@redhat.com>
7750
7751         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7752
7753 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
7754
7755         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7756
7757         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7758         prediction.
7759         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7760
7761         * string/strnlen.c: Don't define STRNLEN, reverse logic.
7762         Remove unused variable magic_bits.
7763         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7764
7765         * string/strnlen.c: Define and use STRNLEN macro.
7766         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7767         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7768         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7769         * wcsmbs/wcslen.c: Define and use WCSLEN.
7770         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7771         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7772         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7773         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7774         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7775         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7776         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7777
7778 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7779
7780         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7781         strnlen-sse2-no-bsf.
7782         Rename strlen-no-bsf to strlen-sse2-no-bsf.
7783         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7784         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7785         Add strnlen support.
7786         (USE_AS_STRNLEN): New macro.
7787         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7788         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7789         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7790         * sysdeps/x86_64/wcslen.S: New file.
7791
7792 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
7793
7794         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7795         XMM-moves are used for copying on small sizes.
7796
7797 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7798
7799         * wcsmbs/Makefile (strop-tests): Add wcschr.
7800         * wcsmbs/test-wcschr.c: New file.
7801         * string/test-strchr.c: Update.
7802         Add wcschr support.
7803         (WIDE): New macro.
7804
7805 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7806
7807         * wcsmbs/Makefile (strop-tests): Add wcslen.
7808         * wcsmbs/test-wcslen.c: New file.
7809         * string/test-strlen.c: Update.
7810         Add wcslen support.
7811         (WIDE): New macro.
7812
7813 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
7814
7815         * po/it.po: Update from translation team.
7816
7817 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7818
7819         * sysdeps/x86_64/wcscmp.S: Update.
7820         Fix wrong comparison semantics.
7821         wcscmp shall use signed comparison not unsigned.
7822         Don't use substraction to avoid overflow bug.
7823         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7824         * wcsmbc/wcscmp.c: Likewise.
7825         * string/test-strcmp.c: Likewise.
7826         Add new tests to check cases with negative values.
7827
7828 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
7829
7830         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7831         * sysdeps/x86_64/dla.h: ...here.  New file.
7832         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7833         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7835         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7836         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7837         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7838         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7839         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7840         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7841
7842 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
7843
7844         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7845         __ynl_finite aliases.
7846
7847 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
7848
7849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7850
7851         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7852         define DLA_FMA.
7853         [DLA_FMA] (EMULV): Use DLA_FMA.
7854         [DLA_FMA] (MUL12): Use EMULV.
7855         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7856         that are not needed.
7857         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7858         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7859         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7860         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7861         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7862         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7863         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7864
7865 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
7866
7867         * math/s_nan.c: Undef __nan.
7868         * math/s_nanf.c: Undef __nanf.
7869         * math/s_nanl.c: Undef __nanl.
7870         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7871         "math_private.h".
7872
7873 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
7874
7875         * math/s_catan.c: Add branch predictions.
7876         * math/s_catanf.c: Likewise.
7877         * math/s_catanh.c: Likewise.
7878         * math/s_catanhf.c: Likewise.
7879         * math/s_catanhl.c: Likewise.
7880         * math/s_catanl.c: Likewise.
7881         * math/s_cexp.c: Likewise.
7882         * math/s_cexpf.c: Likewise.
7883         * math/s_cexpl.c: Likewise.
7884         * math/s_clog.c: Likewise.
7885         * math/s_clog10.c: Likewise.
7886         * math/s_clog10f.c: Likewise.
7887         * math/s_clog10l.c: Likewise.
7888         * math/s_clogf.c: Likewise.
7889         * math/s_clogl.c: Likewise.
7890         * math/s_csqrt.c: Likewise.
7891         * math/s_csqrtf.c: Likewise.
7892         * math/s_csqrtl.c: Likewise.
7893         * math/s_ctanf.c: Likewise.
7894         * math/s_ctanh.c: Likewise.
7895         * math/s_ctanhf.c: Likewise.
7896         * math/s_ctanhl.c: Likewise.
7897         * math/s_ctanl.c: Likewise.
7898
7899         * math/math_private.h: Define __nan, __nanf, __nanl.
7900         * math/s_cacosh.c: Include <math_private.h>.
7901         * math/s_cacoshl.c: Likewise.
7902         * math/s_casinh.c: Likewise.
7903         * math/s_casinhf.c: Likewise.
7904         * math/s_casinhl.c: Likewise.
7905         * math/s_ccos.c: Rely entire on ccosh.
7906         * math/s_ccosf.c: Rely entire on ccoshf.
7907         * math/s_ccosl.c: Rely entirely on ccoshl.
7908         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
7909         Remove tests for FE_INVALID.
7910         * math/s_ccoshf.c: Likewise.
7911         * math/s_ccoshl.c: Likewise.
7912         * math/s_csin.c: Likewise.
7913         * math/s_csinf.c: Likewise.
7914         * math/s_csinh.c Likewise.
7915         * math/s_csinhf.c: Likewise.
7916         * math/s_csinhl.c: Likewise.
7917         * math/s_csinl.c: Likewise.
7918         * math/s_ctan.c: Likewise.
7919         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7920         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7921         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7922
7923 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
7924
7925         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7926         compilation problems.
7927
7928         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7929         __builtin_expect.
7930
7931 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
7932
7933         * sysdeps/i386/configure.in: Test for -mfma4 option.
7934         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7935         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7936         COMMON_CPUID_INDEX_80000001.
7937         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7938         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7939         use it if FMA3 is not supported.
7940         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7941
7942         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7943         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7944
7945 2011-10-20  Andreas Schwab  <schwab@redhat.com>
7946
7947         [BZ #12892]
7948         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7949         it would create a cycle with a link time dependency.
7950
7951 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
7952
7953         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7954         instruction.
7955         * string/Makefile (strop-tests): Add rawmemchr.
7956         * string/test-rawmemchr.c: New file.
7957
7958         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7959         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
7960         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
7961         when compiling str{,n}casecmp and when AVX is available.  Hook up
7962         new optimized code in initializers.
7963
7964 2011-10-19  Andreas Schwab  <schwab@redhat.com>
7965
7966         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7967         __feraiseexcept instead of feraiseexcept.
7968
7969 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
7970
7971         * math/math_private.h: Define defaults for libc_fetestexcept and
7972         libc_feupdateenv.
7973         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7974         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7975         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7976         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7977         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7978         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7979         libc_fetestexcept and libc_feupdateenv.
7980
7981         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7982         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7983         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7984         * sysdeps/x86_64/fpu/math_private.h: Define special version of
7985         libc_feholdexcept_setround.
7986
7987         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7988         Add s_nearbyint-c and s_nearbyintf-c.
7989         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7990         nearbyintf inlines.
7991         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7992         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7993         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7994         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7995
7996         * math/math_private.h: Define defaults for libc_fegetround,
7997         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7998         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7999         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8000         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8001         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8002         standard functions.
8003         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8004         Remove comments and hacks for old compiler versions.
8005         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8006         libc_fegetround, libc_fesetround, libc_feholdexcept, and
8007         libc_feholdexceptl.
8008
8009 2011-10-18  Andreas Schwab  <schwab@redhat.com>
8010
8011         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8012         (__feraiseexcept_renamed): Add __NTH.
8013         (feraiseexcept): Add __NTH.  Rename local variables to fix
8014         namespace violations.
8015
8016 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
8017
8018         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8019
8020         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8021
8022         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8023         recently added interfaces.
8024         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8025
8026         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8027         about macro parameter expansion.
8028
8029         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8030         __NO_MATH_INLINES is defined.  Cleanups.
8031
8032         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8033         and __floorf is target has SSE4.1.
8034         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8035         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8036         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8037         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8038
8039         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8040         name.
8041         (floorf): Likewise.
8042
8043         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8044
8045 2011-10-17  Andreas Schwab  <schwab@redhat.com>
8046
8047         * misc/sys/cdefs.h: Fix last change.
8048
8049         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8050         database lookup.
8051
8052 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
8053
8054         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8055
8056         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8057         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8058         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8059         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8060         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8061         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8062         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8063         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8064         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8065         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8066         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8067         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8068         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8069         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8070         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8071         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8072         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8073         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8074         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8075         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8076         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8077         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8078
8079         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8080         ceil, ceilf, floor, floorf.
8081
8082         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8083         Perform IRELATIVE relocations last.
8084
8085         * elf/do-rel.h: Add another parameter nrelative, replacing the
8086         local variable with the same name.  Change name of the function
8087         to end in Rel or Rela (uppercase).
8088         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8089         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
8090         elf_dynamic_do_##reloc function.
8091
8092 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
8093
8094         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8095         is sufficient, at least on modern CPUs.
8096
8097         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8098
8099         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8100         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8101
8102         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8103         __expl_finite.
8104         * math/bits/math-finite.h: Add entries for exp.
8105         * math/e_expl.c: Add __*_finite alias.
8106         * sysdeps/i386/fpu/e_exp.S: Likewise.
8107         * sysdeps/i386/fpu/e_expf.S: Likewise.
8108         * sysdeps/i386/fpu/e_expl.c: Likewise.
8109         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8110         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8111         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8112         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8113         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8114         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8115         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8116
8117         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8118         is sufficient, at least on modern CPUs.
8119
8120         * ctype/ctype-info.c (__ctype_init): Define.
8121         * include/ctype.h (__ctype_init): Declare.
8122         (__ctype_b_loc): The variable is always initialized.
8123         (__ctype_toupper_loc): Likewise.
8124         (__ctype_tolower_loc): Likewise.
8125         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8126         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8127
8128 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
8129
8130         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8131
8132         * configure.in: Also look in $cxxmachine/include for C++ system
8133         headers.
8134
8135 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8136
8137         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8138         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8139         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8140         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
8141         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8142         (USE_AS_WMEMCMP): New macro.
8143         Fixing indents.
8144         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8145         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8146         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8147         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8148         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8149         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8150         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8151         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8152         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8153         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8154         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8155         (USE_AS_WMEMCMP): New macro.
8156         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8157         * sysdeps/string/test-memcmp.c: Update.
8158         Fix simple_wmemcmp.
8159         Add new tests.
8160         * wcsmbs/wmemcmp.c: Update.
8161         (WMEMCMP): New macro.
8162         Fix overflow bug.
8163
8164 2011-10-12  Andreas Jaeger  <aj@suse.de>
8165
8166         [BZ #13268]
8167         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8168
8169 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
8170
8171         * libio/iofwide.c (do_length): Avoid warning.
8172
8173         * ctype/ctype.h (__isctype_f): Add missing __THROW.
8174
8175 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
8176
8177         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8178
8179         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8180         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8181         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8182         * sysdeps/i386/i686/fpu/e_log.S: New file.
8183         * sysdeps/i386/i686/fpu/e_logf.S: New file.
8184         * sysdeps/i386/i686/fpu/e_logl.S: New file.
8185
8186         * ctype/ctype.h: Add support for inlined isXXX functions when
8187         compiling C++ code.
8188
8189 2011-10-14  Andreas Schwab  <schwab@redhat.com>
8190
8191         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8192
8193         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8194
8195 2011-10-13  Roland McGrath  <roland@hack.frob.com>
8196
8197         [BZ #13291]
8198         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8199
8200 2011-10-13  Andreas Schwab  <schwab@redhat.com>
8201
8202         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8203         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8204         feraiseexcept.
8205
8206         * sysdeps/x86_64/memrchr.S: Check for zero size.
8207
8208         * string/stratcliff.c: Add memrchr tests.
8209
8210 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8211
8212         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8213         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8214         rawmemchr-sse2 rawmemchr-sse2-bsf.
8215         * sysdeps/i386/i686/multiarch/memchr.S: New file.
8216         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8217         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8218         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8219         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8220         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8221         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8222         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8223         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8224         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8225         * string/memrchr.c (MEMRCHR): New macro.
8226
8227 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
8228
8229         Add integration with gcc's -ffinite-math-only and optimize wrapper
8230         functions in libm.
8231         * Versions.def: Define GLIBC_2.15 version for libm.
8232         * math/Makefile (headers): Add bits/math-finite.h.
8233         * math/bits/math-finite.h: New file.
8234         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8235         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8236         * math/e_acoshl.c: Add __*_finite alias.
8237         * math/e_acosl.c: Likewise.
8238         * math/e_asinl.c: Likewise.
8239         * math/e_atan2l.c: Likewise.
8240         * math/e_atanhl.c: Likewise.
8241         * math/e_coshl.c: Likewise.
8242         * math/e_exp10.c: Likewise.
8243         * math/e_exp10f.c: Likewise.
8244         * math/e_exp10l.c: Likewise.
8245         * math/e_exp2l.c: Likewise.
8246         * math/e_fmodl.c: Likewise.
8247         * math/e_gammal_r.c: Likewise.
8248         * math/e_hypotl.c: Likewise.
8249         * math/e_j0l.c: Likewise.
8250         * math/e_j1l.c: Likewise.
8251         * math/e_jnl.c: Likewise.
8252         * math/e_lgammal_r.c: Likewise.
8253         * math/e_log10l.c: Likewise.
8254         * math/e_log2l.c: Likewise.
8255         * math/e_logl.c: Likewise.
8256         * math/e_powl.c: Likewise.
8257         * math/e_sinhl.c: Likewise.
8258         * math/e_sqrtl.c: Likewise.
8259         * math/e_scalb.c: Completely rewritten and optimized.
8260         * math/e_scalbf.c: Likewise.
8261         * math/e_scalbl.c: Likewise.
8262         * math/w_acos.c: Likewise.
8263         * math/w_acosf.c: Likewise.
8264         * math/w_acosl.c: Likewise.
8265         * math/w_acosh.c: Likewise.
8266         * math/w_acoshf.c: Likewise.
8267         * math/w_acoshl.c: Likewise.
8268         * math/w_asin.c: Likewise.
8269         * math/w_asinf.c: Likewise.
8270         * math/w_asinl.c: Likewise.
8271         * math/w_atan2.c: Likewise.
8272         * math/w_atan2f.c: Likewise.
8273         * math/w_atan2l.c: Likewise.
8274         * math/w_atanh.c: Likewise.
8275         * math/w_atanhf.c: Likewise.
8276         * math/w_atanhl.c: Likewise.
8277         * math/w_exp10.c: Likewise.
8278         * math/w_exp10f.c: Likewise.
8279         * math/w_exp10l.c: Likewise.
8280         * math/w_fmod.c: Likewise.
8281         * math/w_fmodf.c: Likewise.
8282         * math/w_fmodl.c: Likewise.
8283         * math/w_j0.c: Likewise.
8284         * math/w_j0f.c: Likewise.
8285         * math/w_j0l.c: Likewise.
8286         * math/w_j1.c: Likewise.
8287         * math/w_j1f.c: Likewise.
8288         * math/w_j1l.c: Likewise.
8289         * math/w_jn.c: Likewise.
8290         * math/w_jnf.c: Likewise.
8291         * math/w_log.c: Likewise.
8292         * math/w_logf.c: Likewise.
8293         * math/w_logl.c: Likewise.
8294         * math/w_log10.c: Likewise.
8295         * math/w_log10f.c: Likewise.
8296         * math/w_log10l.c: Likewise.
8297         * math/w_log2.c: Likewise.
8298         * math/w_log2f.c: Likewise.
8299         * math/w_log2l.c: Likewise.
8300         * math/w_pow.c: Likewise.
8301         * math/w_powf.c: Likewise.
8302         * math/w_powl.c: Likewise.
8303         * math/w_remainder.c: Likewise.
8304         * math/w_remainderf.c: Likewise.
8305         * math/w_remainderl.c: Likewise.
8306         * math/w_scalb.c: Likewise.
8307         * math/w_scalbf.c: Likewise.
8308         * math/w_scalbl.c: Likewise.
8309         * math/w_sqrt.c: Likewise.
8310         * math/w_sqrtf.c: Likewise.
8311         * math/w_sqrtl.c: Likewise.
8312         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8313         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
8314         used.
8315         * math/math_private.h: Declare __kernel_standard_f.
8316         * math/w_cosh.c: Remove cruft and optimize a bit.
8317         * math/w_coshf.c: Likewise.
8318         * math/w_coshl.c: Likewise.
8319         * math/w_exp2.c: Likewise.
8320         * math/w_exp2f.c: Likewise.
8321         * math/w_exp2l.c: Likewise.
8322         * math/w_hypot.c: Likewise.
8323         * math/w_hypotf.c: Likewise.
8324         * math/w_hypotl.c: Likewise.
8325         * math/w_lgamma.c: Likewise.
8326         * math/w_lgamma_r.c: Likewise.
8327         * math/w_lgammaf.c: Likewise.
8328         * math/w_lgammaf_r.c: Likewise.
8329         * math/w_lgammal.c: Likewise.
8330         * math/w_lgammal_r.c: Likewise.
8331         * math/w_sinh.c: Likewise.
8332         * math/w_sinhf.c: Likewise.
8333         * math/w_sinhl.c: Likewise.
8334         * math/w_tgamma.c: Likewise.
8335         * math/w_tgammaf.c: Likewise.
8336         * math/w_tgammal.c: Likewise.
8337         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8338         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8339         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8340         Minor optimizations.  Pretty printing.  Remove cruft.
8341         * sysdeps/i386/fpu/e_acosf.S: Likewise.
8342         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8343         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8344         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8345         * sysdeps/i386/fpu/e_acosl.c: Likewise.
8346         * sysdeps/i386/fpu/e_asin.S: Likewise.
8347         * sysdeps/i386/fpu/e_asinf.S: Likewise.
8348         * sysdeps/i386/fpu/e_atan2.S: Likewise.
8349         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8350         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8351         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8352         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8353         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8354         * sysdeps/i386/fpu/e_exp10.S: Likewise.
8355         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8356         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8357         * sysdeps/i386/fpu/e_exp2.S: Likewise.
8358         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8359         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8360         * sysdeps/i386/fpu/e_fmod.S: Likewise.
8361         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8362         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8363         * sysdeps/i386/fpu/e_hypot.S: Likewise.
8364         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8365         * sysdeps/i386/fpu/e_log.S: Likewise.
8366         * sysdeps/i386/fpu/e_log10.S: Likewise.
8367         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8368         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8369         * sysdeps/i386/fpu/e_log2.S: Likewise.
8370         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8371         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8372         * sysdeps/i386/fpu/e_logf.S: Likewise.
8373         * sysdeps/i386/fpu/e_logl.S: Likewise.
8374         * sysdeps/i386/fpu/e_pow.S: Likewise.
8375         * sysdeps/i386/fpu/e_powf.S: Likewise.
8376         * sysdeps/i386/fpu/e_powl.S: Likewise.
8377         * sysdeps/i386/fpu/e_remainder.S: Likewise.
8378         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8379         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8380         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8381         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8382         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8383         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8384         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8385         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8386         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8387         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8388         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8389         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8390         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8391         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8392         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8393         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8394         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8395         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8396         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8397         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8398         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8399         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8400         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8401         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8402         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8403         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8404         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8405         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8406         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8407         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8408         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8409         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8410         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8411         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8412         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8413         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8414         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8415         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8416         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8417         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8418         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8419         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8420         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8421         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8422         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8423         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8424         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8425         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8426         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8427         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8428         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8429         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8430         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8431         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8432         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8433         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8434         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8435         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8436         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8437         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8438         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8439         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8440         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8441         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8442         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8443         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8444         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8445         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8446         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8447         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8448         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8449         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8450         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8451         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8452         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8453         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8454         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8455         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8456         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8457         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8458         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8459         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8460         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8461         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8462         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8463         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8464         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8465         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8466         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8467         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8468         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8469         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8470         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8471         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8472         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8473         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8474         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8475         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8476         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8477         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8478         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8479         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8480         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8481         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8482         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8483         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8484         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8485         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8486         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8487         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8488         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8489         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8490         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8491         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8492         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8493         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8494         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8495         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8496         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
8497         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8498         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8499         (__isnanf): Likewise.
8500         (__isinf_ns): Likewise.
8501         (__isinf_nsf): Likewise.
8502         (__finite): Likewise.
8503         (__finitef): Likewise.
8504         (__ieee754_sqrt): Define as macro.
8505         (__ieee754_sqrtf): Define as macro.
8506         (__ieee754_sqrtl): Define as macro.
8507         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8508         inlined copy.
8509         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8510         __FINITE_MATH_ONLY__ consistent.
8511         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8512
8513 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
8514
8515         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8516         of rawmemchr.
8517
8518         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8519
8520 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
8521
8522         * po/ja.po: Update from translation team.
8523
8524 2011-10-08  Roland McGrath  <roland@hack.frob.com>
8525
8526         * locale/programs/locarchive.c (prepare_address_space): New function.
8527         (create_archive, enlarge_archive, open_archive): Use it.
8528
8529         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8530         inside [SHARED], where it is used.
8531
8532         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8533
8534         * nss/getent.c (netgroup_keys): Remove unused variable.
8535         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8536
8537 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
8538
8539         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8540         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8541         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8542         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8543         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8544         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8545         * math/Makefile (libm-calls): Add s_isinf_ns.
8546         * math/divtc3.c: Use __isinf_nsl instead of isinf.
8547         * math/multc3.c: Likewise.
8548         * math/s_casin.c: Likewise.
8549         * math/s_casinf.c: Likewise.
8550         * math/s_casinl.c: Likewise.
8551         * math/s_ccos.c: Likewise.
8552         * math/s_ccosf.c: Likewise.
8553         * math/s_ccosl.c: Likewise.
8554         * math/s_ctan.c: Likewise.
8555         * math/s_ctanf.c: Likewise.
8556         * math/s_ctanh.c: Likewise.
8557         * math/s_ctanhf.c: Likewise.
8558         * math/s_ctanhl.c: Likewise.
8559         * math/s_ctanl.c: Likewise.
8560         * math/w_fmod.c: Likewise.
8561         * math/w_fmodf.c: Likewise.
8562         * math/w_fmodl.c: Likewise.
8563         * math/w_remainder.c: Likewise.
8564         * math/w_remainderf.c: Likewise.
8565         * math/w_remainderl.c: Likewise.
8566         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8567         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8568         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8569         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8570         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8571         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8572         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8573         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8574
8575         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8576         of the number.
8577         * stdio-common/printf_fphex.c: Likewise.
8578         * stdio-common/printf_size.c: Likewise.
8579
8580         * math/e_exp10.c: Include math_private.h using <...> not "...".
8581         * math/e_exp10f.c: Likewise.
8582         * math/e_exp10l.c: Likewise.
8583         * math/e_exp2l.c: Likewise.
8584         * math/e_j0l.c: Likewise.
8585         * math/e_j1l.c: Likewise.
8586         * math/e_jnl.c: Likewise.
8587         * math/e_lgammal_r.c: Likewise.
8588         * math/e_rem_pio2l.c: Likewise.
8589         * math/e_scalb.c: Likewise.
8590         * math/e_scalbf.c: Likewise.
8591         * math/e_scalbl.c: Likewise.
8592         * math/k_cosl.c: Likewise.
8593         * math/k_sinl.c: Likewise.
8594         * math/k_tanl.c: Likewise.
8595         * math/s_cacoshf.c: Likewise.
8596         * math/s_catan.c: Likewise.
8597         * math/s_catanf.c: Likewise.
8598         * math/s_catanh.c: Likewise.
8599         * math/s_catanhf.c: Likewise.
8600         * math/s_catanhl.c: Likewise.
8601         * math/s_catanl.c: Likewise.
8602         * math/s_ccosh.c: Likewise.
8603         * math/s_ccoshf.c: Likewise.
8604         * math/s_ccoshl.c: Likewise.
8605         * math/s_cexp.c: Likewise.
8606         * math/s_cexpf.c: Likewise.
8607         * math/s_cexpl.c: Likewise.
8608         * math/s_clog.c: Likewise.
8609         * math/s_clog10.c: Likewise.
8610         * math/s_clog10f.c: Likewise.
8611         * math/s_clog10l.c: Likewise.
8612         * math/s_clogf.c: Likewise.
8613         * math/s_clogl.c: Likewise.
8614         * math/s_csin.c: Likewise.
8615         * math/s_csinf.c: Likewise.
8616         * math/s_csinh.c: Likewise.
8617         * math/s_csinhf.c: Likewise.
8618         * math/s_csinhl.c: Likewise.
8619         * math/s_csinl.c: Likewise.
8620         * math/s_csqrt.c: Likewise.
8621         * math/s_csqrtf.c: Likewise.
8622         * math/s_csqrtl.c: Likewise.
8623         * math/s_ctan.c: Likewise.
8624         * math/s_ctanf.c: Likewise.
8625         * math/s_ctanh.c: Likewise.
8626         * math/s_ctanhf.c: Likewise.
8627         * math/s_ctanhl.c: Likewise.
8628         * math/s_ctanl.c: Likewise.
8629         * math/s_ldexp.c: Likewise.
8630         * math/s_ldexpf.c: Likewise.
8631         * math/s_ldexpl.c: Likewise.
8632         * math/s_significand.c: Likewise.
8633         * math/s_significandf.c: Likewise.
8634         * math/s_significandl.c: Likewise.
8635         * math/w_acos.c: Likewise.
8636         * math/w_acosf.c: Likewise.
8637         * math/w_acosh.c: Likewise.
8638         * math/w_acoshf.c: Likewise.
8639         * math/w_acoshl.c: Likewise.
8640         * math/w_acosl.c: Likewise.
8641         * math/w_asin.c: Likewise.
8642         * math/w_asinf.c: Likewise.
8643         * math/w_asinl.c: Likewise.
8644         * math/w_atan2.c: Likewise.
8645         * math/w_atan2f.c: Likewise.
8646         * math/w_atan2l.c: Likewise.
8647         * math/w_atanh.c: Likewise.
8648         * math/w_atanhf.c: Likewise.
8649         * math/w_atanhl.c: Likewise.
8650         * math/w_cosh.c: Likewise.
8651         * math/w_coshf.c: Likewise.
8652         * math/w_coshl.c: Likewise.
8653         * math/w_dremf.c: Likewise.
8654         * math/w_exp10.c: Likewise.
8655         * math/w_exp10f.c: Likewise.
8656         * math/w_exp10l.c: Likewise.
8657         * math/w_exp2.c: Likewise.
8658         * math/w_exp2f.c: Likewise.
8659         * math/w_fmod.c: Likewise.
8660         * math/w_fmodf.c: Likewise.
8661         * math/w_fmodl.c: Likewise.
8662         * math/w_hypot.c: Likewise.
8663         * math/w_hypotf.c: Likewise.
8664         * math/w_hypotl.c: Likewise.
8665         * math/w_j0.c: Likewise.
8666         * math/w_j0f.c: Likewise.
8667         * math/w_j0l.c: Likewise.
8668         * math/w_j1.c: Likewise.
8669         * math/w_j1f.c: Likewise.
8670         * math/w_j1l.c: Likewise.
8671         * math/w_jn.c: Likewise.
8672         * math/w_jnf.c: Likewise.
8673         * math/w_jnl.c: Likewise.
8674         * math/w_lgamma.c: Likewise.
8675         * math/w_lgamma_r.c: Likewise.
8676         * math/w_lgammaf.c: Likewise.
8677         * math/w_lgammaf_r.c: Likewise.
8678         * math/w_lgammal.c: Likewise.
8679         * math/w_lgammal_r.c: Likewise.
8680         * math/w_log.c: Likewise.
8681         * math/w_log10.c: Likewise.
8682         * math/w_log10f.c: Likewise.
8683         * math/w_log10l.c: Likewise.
8684         * math/w_log2.c: Likewise.
8685         * math/w_log2f.c: Likewise.
8686         * math/w_log2l.c: Likewise.
8687         * math/w_logf.c: Likewise.
8688         * math/w_logl.c: Likewise.
8689         * math/w_pow.c: Likewise.
8690         * math/w_powf.c: Likewise.
8691         * math/w_powl.c: Likewise.
8692         * math/w_remainder.c: Likewise.
8693         * math/w_remainderf.c: Likewise.
8694         * math/w_remainderl.c: Likewise.
8695         * math/w_scalb.c: Likewise.
8696         * math/w_scalbf.c: Likewise.
8697         * math/w_scalbl.c: Likewise.
8698         * math/w_sinh.c: Likewise.
8699         * math/w_sinhf.c: Likewise.
8700         * math/w_sinhl.c: Likewise.
8701         * math/w_sqrt.c: Likewise.
8702         * math/w_sqrtf.c: Likewise.
8703         * math/w_sqrtl.c: Likewise.
8704         * math/w_tgamma.c: Likewise.
8705         * math/w_tgammaf.c: Likewise.
8706         * math/w_tgammal.c: Likewise.
8707
8708         * po/ja.po: Update from translation team.
8709
8710 2011-09-29  Andreas Jaeger  <aj@suse.de>
8711
8712         [BZ #13179]
8713         * sunrpc/netname.c (netname2host): Fix logic.
8714
8715         [BZ #6779]
8716         [BZ #6783]
8717         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8718         correctly.
8719         * math/w_remainder.c (__remainder): Likewise.
8720         * math/w_remainderf.c (__remainderf): Likewise.
8721         * math/libm-test.inc (remainder_test): Add test cases.
8722
8723 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8724
8725         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
8726         sdiv_qrnnd.
8727
8728 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
8729
8730         * string/test-memcmp.c: Avoid unncessary #defines.
8731         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8732
8733 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8734
8735         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8736         Use new sse2 version for core i3 - i7 as it's faster
8737         than sse42 version.
8738         (bit_Prefer_PMINUB_for_stringop): New.
8739         * sysdeps/x86_64/rawmemchr.S: Update.
8740         Replace with faster SSE2 version.
8741         * sysdeps/x86_64/memrchr.S: New file.
8742         * sysdeps/x86_64/memchr.S: Update.
8743         Replace with faster SSE2 version.
8744
8745 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
8746
8747         * elf/dl-load.c (lose): Add cast to avoid warning.
8748
8749 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
8750
8751         * po/ca.po: Update from translation team.
8752
8753         * inet/getnetgrent_r.c: Hook up nscd.
8754         * nscd/Makefile (routines): Add nscd_netgroup.
8755         (nscd-modules): Add netgroupcache.
8756         (CFLAGS-netgroupcache.c): Define.
8757         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8758         (cache_search): Add const to second parameter.
8759         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8760         INNETGR.
8761         (dbs): Add netgrdb entry.
8762         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8763         (verify_persistent_db): Handle netgrdb.
8764         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8765         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8766         GETFDNETGR.
8767         (netgroup_response_header): Define.
8768         (innetgroup_response_header): Define.
8769         (datahead): Add netgroup_response_header and innetgroup_response_header
8770         elements.
8771         * nscd/nscd.conf: Add entries for netgroup cache.
8772         * nscd/nscd.h (dbtype): Add netgrdb.
8773         (_PATH_NSCD_NETGROUP_DB): Define.
8774         (netgroup_iov_disabled): Declare.
8775         (xmalloc, xcalloc, xrealloc): Move declarations here.
8776         (cache_search): Adjust prototype.
8777         Add netgroup-related prototypes.
8778         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8779         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8780         (__nscd_innetgr): Declare.
8781         * nscd/selinux.c (perms): Use access_vector_t as element type and
8782         add netgroup-related initializers.
8783         * nscd/netgroupcache.c: New file.
8784         * nscd/nscd_netgroup.c: New file.
8785         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8786         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8787         For four parameters use innetgr.
8788         * nss/nss_files/files-init.c: Add definition and callback for netgr.
8789         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8790         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8791         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8792
8793         * nscd/connections.c (register_traced_file): Don't register file
8794         for disabled databases.
8795
8796 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
8797
8798         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8799
8800         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8801         from tree and freeing node.
8802
8803 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
8804
8805         * nss/nsswitch.c (__nss_database_lookup): Handle
8806         nss_parse_service_list out of memory case.
8807
8808 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
8809
8810         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8811         out of memory case.
8812
8813 2011-10-04  Andreas Schwab  <schwab@redhat.com>
8814
8815         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8816         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8817         pass it down.
8818         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8819         elf_machine_rela, elf_machine_lazy_rel.
8820         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8821         (ELF_DYNAMIC_DO_REL): Likewise.
8822         (ELF_DYNAMIC_DO_RELA): Likewise.
8823         (ELF_DYNAMIC_RELOCATE): Likewise.
8824         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8825         to ELF_DYNAMIC_DO_REL.
8826         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8827         (dl_main): In trace mode always set __RTLD_NOIFUNC.
8828         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8829         elf_machine_rela.
8830         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8831         skip_ifunc, don't call ifunc function if non-zero.
8832         (elf_machine_rela): Likewise.
8833         (elf_machine_lazy_rel): Likewise.
8834         (elf_machine_lazy_rela): Likewise.
8835         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8836         (elf_machine_lazy_rel): Likewise.
8837         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8838         Likewise.
8839         (elf_machine_lazy_rel): Likewise.
8840         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8841         Likewise.
8842         (elf_machine_lazy_rel): Likewise.
8843         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8844         (elf_machine_lazy_rel): Likewise.
8845         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8846         (elf_machine_lazy_rel): Likewise.
8847         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8848         (elf_machine_lazy_rel): Likewise.
8849         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8850         (elf_machine_lazy_rel): Likewise.
8851         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8852         (elf_machine_lazy_rel): Likewise.
8853         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8854         (elf_machine_lazy_rel): Likewise.
8855
8856 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
8857
8858         * nss/nss_files/files-init.c (_nss_files_init): Use static
8859         initialization for all the *_traced_file variables.
8860
8861 2011-09-28  Andreas Schwab  <schwab@redhat.com>
8862
8863         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8864
8865 2011-09-27  Roland McGrath  <roland@hack.frob.com>
8866
8867         [BZ #13226]
8868         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8869
8870 2011-09-27  Andreas Schwab  <schwab@redhat.com>
8871
8872         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8873         Reread the line before reparsing it.
8874
8875 2011-09-26  Andreas Schwab  <schwab@redhat.com>
8876
8877         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8878
8879 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
8880             Maxim Kuvyrkov  <maxim@codesourcery.com>
8881             Joseph Myers  <joseph@codesourcery.com>
8882
8883         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8884         if needed for __stack_chk_guard.
8885
8886 2011-09-19  Roland McGrath  <roland@hack.frob.com>
8887
8888         * sysdeps/posix/spawni.c (script_execute): Always define it.
8889         It will be optimized away if unused.
8890         (maybe_script_execute): New function.
8891         (__spawni): Call it.
8892
8893         * Makerules: Don't include tls.make.
8894         (config-tls): Always set to thread.
8895         * tls.make.c: File removed.
8896
8897 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
8898
8899         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8900         * config.make.in (CPPFLAGS-config): New substituted variable.
8901
8902 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
8903
8904         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8905
8906         [BZ #13192]
8907         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8908         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8909
8910 2011-09-15  Roland McGrath  <roland@hack.frob.com>
8911
8912         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8913         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8914         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8915         (CALL_FAIL): Likewise.
8916         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8917         (CALL_FAIL): Macro removed.
8918         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8919
8920 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
8921
8922         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8923         for __FINITE_MATH_ONLY__ == 1.
8924
8925 2011-09-15  Andreas Schwab  <schwab@redhat.com>
8926
8927         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8928         __ieee754_sqrt instead of sqrt.
8929         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8930         __ieee754_sqrtf instead of sqrtf.
8931         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8932         __floorf instead of floorf.
8933         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8934         __floorf, __truncf instead of floorf, truncf.
8935
8936 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
8937
8938         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8939
8940         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8941         __extern_always_inline.
8942         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8943         32-bit.
8944
8945 2011-09-14  Andreas Schwab  <schwab@redhat.com>
8946
8947         * elf/rtld.c (dl_main): Also relocate in dependency order when
8948         doing symbol dependency testing.
8949
8950 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
8951
8952         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8953         Always define `refsym'.
8954
8955 2011-09-13  Andreas Schwab  <schwab@redhat.com>
8956
8957         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8958         (__FD_ELT): Renamed from __FDELT.
8959         * misc/bits/select2.h (__FD_ELT): Likewise.
8960         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8961         __FD_MASK instead of __FDELT, __FDMASK.
8962         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8963         Likewise.
8964         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8965         Likewise.
8966
8967         * elf/Makefile (gen-ldd): Fix pattern.
8968
8969         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8970         (init_tls): Likewise.
8971
8972 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
8973
8974         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8975
8976 2011-09-12  Andreas Schwab  <schwab@redhat.com>
8977
8978         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8979         `struct cmsghdr *' instead of `void *'.
8980         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8981         Likewise.
8982
8983 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
8984
8985         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8986         if non-absolute.
8987         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8988         ldd_rewrite_script.
8989
8990 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
8991
8992         * configure.in: Remove --with-tls option.
8993         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8994         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8995         out in case it is missing.
8996         * sysdeps/ia64/elf/configure.in: Likewise.
8997         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8998         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8999         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9000         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9001         * sysdeps/sh/elf/configure.in: Likewise.
9002         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9003         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9004         * sysdeps/x86_64/elf/configure.in: Likewise.
9005         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9006         * sysdeps/mach/hurd/tls.h: Likewise.
9007
9008         [BZ #13067]
9009         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9010
9011         [BZ #13090]
9012         * configure.in: Fix use of AC_INIT.
9013
9014         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9015
9016 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
9017
9018         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9019         __set_errno.
9020         * malloc/hooks.c: Likewise.
9021
9022         [BZ #11929]
9023         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
9024         variables statically.
9025         (narenas): Initialize.
9026         (list_lock): Initialize.
9027         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
9028         initializtion of main_arena and list_lock.  Small cleanups.
9029         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9030         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
9031         Add initializers to main_arena and mp_.
9032         (malloc_state): Remove pagesize member.  Change all users to use
9033         GLRO(dl_pagesize).
9034
9035         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9036         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
9037         is always initialized.
9038
9039         * malloc/malloc.c: Removed unused configurations and dead code.
9040         * malloc/arena.c: Likewise.
9041         * malloc/hooks.c: Likewise.
9042         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9043
9044         * include/tls.h: Removed.  USE___THREAD must always be defined.
9045         * bits/libc-tsd.h: Don't handle !USE___THREAD.
9046         * elf/dl-libc.c: Likewise.
9047         * elf/dl-tsd.c: Likewise.
9048         * include/errno.h: Likewise.
9049         * include/netdb.h: Likewise.
9050         * include/resolv.h: Likewise.
9051         * inet/herrno-loc.c: Likewise.
9052         * inet/herrno.c: Likewise.
9053         * malloc/arena.c: Likewise.
9054         * malloc/hooks.c: Likewise.
9055         * malloc/malloc.c: Likewise.
9056         * resolv/res-state.c: Likewise.
9057         * resolv/res_libc.c: Likewise.
9058         * sysdeps/i386/dl-machine.h: Likewise.
9059         * sysdeps/ia64/dl-machine.h: Likewise.
9060         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9061         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9062         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9063         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9064         * sysdeps/sh/dl-machine.h: Likewise.
9065         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9066         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9067         * sysdeps/unix/i386/sysdep.S: Likewise.
9068         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9069         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9070         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9071         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9072         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9073         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9074         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9075         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9076         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9077         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9078         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9079         * sysdeps/x86_64/dl-machine.h: Likewise.
9080         * tls.make.c: Likewise.
9081
9082         * configure.in: Remove --with-__thread option.  Make tests for
9083         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9084         tls_model attribute fail if no support is available.  Remove
9085         USE_IN_LIBIO.
9086         * Makeconfig: Adjust for dropped configure option.  All features are
9087         now mandatory.
9088         * Makerules: Likewise.
9089         * Versions.def: Likewise.
9090         * argp/argp-fmtstream.c: Likewise.
9091         * argp/argp-fmtstream.h: Likewise.
9092         * argp/argp-help.c: Likewise.
9093         * assert/assert.c: Likewise.
9094         * config.h.in: Likewise.
9095         * config.make.in: Likewise.
9096         * configure: Likewise.
9097         * configure.in: Likewise.
9098         * csu/Versions: Likewise.
9099         * csu/init.c: Likewise.
9100         * elf/tst-audit2.c: Likewise.
9101         * elf/tst-tls10.c: Likewise.
9102         * elf/tst-tls10.h: Likewise.
9103         * elf/tst-tls11.c: Likewise.
9104         * elf/tst-tls12.c: Likewise.
9105         * elf/tst-tls14.c: Likewise.
9106         * elf/tst-tlsmod11.c: Likewise.
9107         * elf/tst-tlsmod12.c: Likewise.
9108         * elf/tst-tlsmod13.c: Likewise.
9109         * elf/tst-tlsmod13a.c: Likewise.
9110         * elf/tst-tlsmod14a.c: Likewise.
9111         * elf/tst-tlsmod15b.c: Likewise.
9112         * elf/tst-tlsmod16a.c: Likewise.
9113         * elf/tst-tlsmod16b.c: Likewise.
9114         * elf/tst-tlsmod7.c: Likewise.
9115         * elf/tst-tlsmod8.c: Likewise.
9116         * elf/tst-tlsmod9.c: Likewise.
9117         * gmon/gmon.c: Likewise.
9118         * grp/fgetgrent_r.c: Likewise.
9119         * grp/putgrent.c: Likewise.
9120         * hurd/fopenport.c: Likewise.
9121         * include/libc-symbols.h: Likewise.
9122         * include/tls.h: Likewise.
9123         * intl/gettextP.h: Likewise.
9124         * intl/loadinfo.h: Likewise.
9125         * locale/global-locale.c: Likewise.
9126         * locale/localeinfo.h: Likewise.
9127         * mach/devstream.c: Likewise.
9128         * malloc/arena.c: Likewise.
9129         * malloc/set-freeres.c: Likewise.
9130         * misc/err.c: Likewise.
9131         * misc/getttyent.c: Likewise.
9132         * misc/mntent_r.c: Likewise.
9133         * posix/getopt.c: Likewise.
9134         * posix/wordexp.c: Likewise.
9135         * pwd/fgetpwent_r.c: Likewise.
9136         * resolv/Versions: Likewise.
9137         * resolv/res_hconf.c: Likewise.
9138         * shadow/fgetspent_r.c: Likewise.
9139         * shadow/putspent.c: Likewise.
9140         * stdio-common/printf_fphex.c: Likewise.
9141         * stdio-common/tmpfile.c: Likewise.
9142         * stdlib/abort.c: Likewise.
9143         * stdlib/fmtmsg.c: Likewise.
9144         * sunrpc/auth_unix.c: Likewise.
9145         * sunrpc/clnt_perr.c: Likewise.
9146         * sunrpc/clnt_tcp.c: Likewise.
9147         * sunrpc/clnt_udp.c: Likewise.
9148         * sunrpc/clnt_unix.c: Likewise.
9149         * sunrpc/openchild.c: Likewise.
9150         * sunrpc/svc_simple.c: Likewise.
9151         * sunrpc/svc_tcp.c: Likewise.
9152         * sunrpc/svc_udp.c: Likewise.
9153         * sunrpc/svc_unix.c: Likewise.
9154         * sunrpc/xdr.c: Likewise.
9155         * sunrpc/xdr_array.c: Likewise.
9156         * sunrpc/xdr_rec.c: Likewise.
9157         * sunrpc/xdr_ref.c: Likewise.
9158         * sunrpc/xdr_stdio.c: Likewise.
9159
9160 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9161
9162         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9163
9164 2011-07-03  Andreas Jaeger  <aj@suse.de>
9165
9166         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9167         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9168         regenerate with gen-libm-tests.pl.
9169
9170 2010-05-12  Petr Baudis  <pasky@suse.cz>
9171
9172         [BZ #11589]
9173         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9174         around j0() zero points by switching to j1().
9175         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9176         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9177         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9178         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9179
9180 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9181
9182         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9183         instead of 0.
9184         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9185         instead of 0.                              .
9186         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9187         Patch in part by Pavel Roskin <proski@gnu.org>.
9188
9189         [BZ #13138]
9190         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9191         realloc.
9192         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
9193         Free memory block if necessary.
9194
9195         [BZ #12847]
9196         * libio/genops.c (INTDEF): For string streams the _lock pointer can
9197         be NULL.  Don't lock in this case.
9198
9199 2011-09-09  Roland McGrath  <roland@hack.frob.com>
9200
9201         * elf/elf.h (ELFOSABI_GNU): New macro.
9202         (ELFOSABI_LINUX): Define to that.
9203
9204 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
9205
9206         * string/strncat.c (strncat): Undef the symbol in case it has been
9207         defined in bits/string.h.
9208
9209 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9210
9211         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9212
9213         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9214         link map.
9215
9216 2011-08-17  Andreas Jaeger  <aj@suse.de>
9217
9218         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9219
9220 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9221             Ian Lance Taylor  <iant@google.com>
9222
9223         * math/libm-test.inc (lround_test): New testcase.
9224         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9225
9226 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
9227
9228         * Makefile: Remove support for automatic cvs check-ins.
9229         * Makerules: Likewise.
9230         * config.make.in: Likewise.
9231         * configure.in: Likewise.
9232         * intl/Makefile: Likewise.
9233         * locale/Makefile: Likewise.
9234         * po/Makefile: Likewise.
9235         * posix/Makefile: Likewise.
9236         * sysdeps/gnu/Makefile: Likewise.
9237         * sysdeps/mach/hurd/Makefile: Likewise.
9238         * sysdeps/sparc/sparc32/Makefile: Likewise.
9239
9240         [BZ #13118]
9241         * posix/Makefile (bug-regex32-ENV): Define.
9242         Patch by John Stanley <jpsinthemix@verizon.net>.
9243
9244         * misc/Makefile (headers): Add bits/select2.h.
9245         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9246         * misc/bits/select2.h: New file.
9247         * include/bits/select2.h: New file.
9248         * debug/Makefile (routines): Add fdelt_chk.
9249         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9250         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9251         FD_ISSET.
9252         * debug/fdelt_chk.c: New file.
9253
9254         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
9255         * wcsmbs/test-wmemcmp.c: Likewise.
9256         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9257         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9258
9259 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9260
9261         * string/Makefile (strop-tests): Add memcmp.
9262         * string/test-wmemcmp.c: New file.
9263         * string/test-memcmp.c: Add wmemcmp support.
9264
9265 2011-09-08  Roland McGrath  <roland@hack.frob.com>
9266
9267         [BZ #13153]
9268         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9269         2011-07-19 change.
9270
9271         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9272         garbage value in a __mach_port_mod_refs call in the cases of the
9273         task-self and thread-self ports.
9274
9275 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9276
9277         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9278
9279 2011-09-08  Andreas Schwab  <schwab@redhat.com>
9280
9281         * elf/dl-load.c (lose): Check for non-null L.
9282
9283 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
9284
9285         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9286
9287         * elf/dl-libc.c (dlerror_run): Pass back error code from
9288         dl_catch_error.
9289
9290         [BZ #13123]
9291         * elf/dl-load.c (lose): Free l_origin if it is valid.
9292
9293         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9294         names.
9295         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9296         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9297         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9298         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9299         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9300         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9301
9302 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9303
9304         * sysdeps/powerpc/fpu/e_hypot.c: New file.
9305         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9306         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9307         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9308         * sysdeps/powerpc/fpu/k_cosf.c: New file.
9309         * sysdeps/powerpc/fpu/k_sinf.c: New file.
9310         * sysdeps/powerpc/fpu/s_cosf.c: New file.
9311         * sysdeps/powerpc/fpu/s_sinf.c: New file.
9312         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9313         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9314
9315 2011-08-15  Alan Modra  <amodra@gmail.com>
9316
9317         [BZ #13092]
9318         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9319         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9320         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
9321         ppc_mcount to static-only-routines.
9322         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9323         __mcount_internal.
9324         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9325         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
9326
9327 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
9328
9329         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9330         for finite and infinity parameters.
9331
9332 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
9333
9334         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9335         and add nop instructions for throughput optimization.
9336         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9337
9338 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
9339
9340         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9341         aligned copy for power7 with vector-scalar instructions.
9342         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9343
9344 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
9345
9346         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9347         AVX check.
9348
9349 2011-09-07  Andreas Schwab  <schwab@redhat.com>
9350
9351         [BZ #13144]
9352         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9353         last change.
9354
9355 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
9356
9357         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9358         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9359         syscall wrapper around clock_gettime in __vdso_clock_gettime.
9360         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9361         clock_gettime.
9362
9363 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
9364
9365         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9366         Forgot to demangle the pointer.
9367
9368         * sysdeps/i386/sysdep.h: Define atom_text_section.
9369         * sysdeps/x86_64/sysdep.h: Likewise.
9370         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9371         section with atom_text_section.
9372         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9373         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9374         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9375         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9376         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9377
9378         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9379         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9380         already be defined.  Change to take two parameters and don't assign
9381         result to variable.  Adjust all users.
9382         Define INTERNAL_GETTIME if not already defined.
9383         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9384         call.
9385         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9386         HAVE_CLOCK_GETTIME_VSYSCALL.
9387         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9388
9389         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9390         gettimeofday vsyscall, just use time.
9391
9392 2011-09-06  Andreas Schwab  <schwab@redhat.com>
9393
9394         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9395         <errno.h>.
9396
9397 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
9398
9399         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9400         syscall on x86-64.
9401         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9402         syscall.
9403         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9404         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9405         syscall if possible.
9406
9407 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9408
9409         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9410         e_ident.  Don't pass to find_mapsXX.
9411         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9412
9413 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9414
9415         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9416         strchr-sse2-no-bsf strrchr-sse2-no-bsf
9417         * sysdeps/x86_64/multiarch/strchr.S: Update.
9418         Check bit_slow_BSF bit.
9419         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9420         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9421         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9422
9423 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9424
9425         [BZ #13134]
9426         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9427         before glibc 2.15.
9428         (tryshell): Define.
9429         (__spawni): Change last parameter to be flag.  Test
9430         SPAWN_XFLAGS_USE_PATH flag to use path or not.
9431         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9432         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9433         * posix/spawni.c: Likewise.
9434         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9435         * posix/spawnp.c: Likewise.  Change normal version to use
9436         SPAWN_XFLAGS_USE_PATH.
9437         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9438         SPAWN_XFLAGS_TRY_SHELL.
9439
9440         [BZ #13150]
9441         * posix/glob.h: Remove gcc 1.x support.
9442
9443         [BZ #13068]
9444         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9445
9446 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9447
9448         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9449         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9450         strrchr-sse2-bsf
9451         * sysdeps/i386/i686/multiarch/strchr.S: New file.
9452         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9453         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9454         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9455         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9456         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9457
9458 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9459
9460         * sysdeps/x86_64/wcscmp.S: New file.
9461
9462         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9463         wcscmp-c wcscmp-sse2
9464         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9465         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9466         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9467         * wcsmbs/wcscmp.c: Allow renaming.
9468
9469 2011-09-05  David S. Miller  <davem@davemloft.net>
9470
9471         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9472         stack slot, rather than the struct return pointer slot.
9473         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9474         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9476         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9477
9478 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9479
9480         * po/ja.po: Update from translation team.
9481
9482         [BZ #13144]
9483         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9484         kernel in 64-bit binaries.
9485
9486 2011-09-01  David S. Miller  <davem@davemloft.net>
9487
9488         * elf/elf.h (HWCAP_SPARC_*): Move to..
9489         * sysdeps/sparc/sysdep.h: this new file and add new values.
9490         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9491         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9492         _DL_HWCAP_COUNT to 24.
9493         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9494         entries.
9495         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9496         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9497         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9498         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9499         instead of magic constants.
9500         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9501
9502 2011-08-31  David S. Miller  <davem@davemloft.net>
9503
9504         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9505         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9506         Reimplement to do errno handling inline.
9507         (SYSCALL_ERROR_HANDLER): New macro.
9508         (__SYSCALL_STRING): Do not do errno handling in asm.
9509         (__CLONE_SYSCALL_STRING): Delete.
9510         (__INTERNAL_SYSCALL_STRING): Delete.
9511         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9512         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9513         (PSEUDO): Reimplement to do errno handling inline.
9514         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9515         (SYSCALL_ERROR_HANDLER): New macro.
9516         (__SYSCALL_STRING): Do not do errno handling in asm.
9517         (__CLONE_SYSCALL_STRING): Delete.
9518         (__INTERNAL_SYSCALL_STRING): Delete.
9519         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9520         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9521         i386.
9522         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9523         (inline_syscall*): Add 'err' argument.
9524         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9525         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9526         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9527         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9528
9529         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9530         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9531
9532 2011-08-30  Andreas Schwab  <schwab@redhat.com>
9533
9534         * elf/rtld.c (dl_main): Relocate objects in dependency order.
9535
9536 2011-08-29  Jiri Olsa <jolsa@redhat.com>
9537
9538         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9539         directive.
9540
9541 2011-08-24  David S. Miller  <davem@davemloft.net>
9542
9543         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9544
9545 2011-08-24  Andreas Schwab  <schwab@redhat.com>
9546
9547         * elf/Makefile: Add rules to build and run unload8 test.
9548         * elf/unload8.c: New file.
9549         * elf/unload8mod1.c: New file.
9550         * elf/unload8mod1x.c: New file.
9551         * elf/unload8mod2.c: New file.
9552         * elf/unload8mod3.c: New file.
9553
9554         * elf/dl-close.c (_dl_close_worker): Reset private search list if
9555         it wasn't used.
9556
9557 2011-08-23  David S. Miller  <davem@davemloft.net>
9558
9559         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9560         subtract stack bias.
9561         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9562         %sp not %fp in calculations.
9563         (_JMPBUF_UNWINDS_ADJ): Likewise.
9564
9565         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9566         (aio_suspend): Call it to force an exception region around the
9567         AIO_MISC_WAIT() invocation.
9568
9569 2011-08-23  Andreas Schwab  <schwab@redhat.com>
9570
9571         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9572         backslash.
9573
9574 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
9575
9576         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9577         protection macro.
9578         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9579         and <dl-machine.h>.
9580         (Elf64_FuncDesc): Remove.
9581
9582 2011-08-22  David S. Miller  <davem@davemloft.net>
9583
9584         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9585         sigaltstack check, add missing cfi directives.
9586         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9587         missing cfi directives, and sigaltstack handling.
9588
9589 2011-08-16  Andreas Schwab  <schwab@redhat.com>
9590
9591         [BZ #11724]
9592         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9593         object is seen twice.
9594         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9595
9596         * elf/Makefile (distribute): Add tst-initorder2.c.
9597         (tests): Add tst-initorder2.
9598         (modules-names): Add tst-initorder2a tst-initorder2b
9599         tst-initorder2c tst-initorder2d.  Add rules to build them.
9600         ($(objpfx)tst-initorder2.out): New rule.
9601         * elf/tst-initorder2.c: New file.
9602         * elf/tst-initorder2.exp: New file.
9603
9604 2011-08-22  Andreas Schwab  <schwab@redhat.com>
9605
9606         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9607
9608         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9609         dependencies back to end of function.
9610
9611         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9612         $(elfobjdir)/ld.so.
9613
9614 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
9615
9616         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9617         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9618         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9619         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9620         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9621         of __vdso_gettimeofday.
9622         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9623         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
9624         attribute_hidden.
9625         (_libc_vdso_platform_setup): Remove initialization of
9626         __vdso_gettimeofday and __vdso_time.
9627
9628 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9629
9630         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9631         and fgetc_unlocked.
9632         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9633         getc_unlocked.
9634
9635         * elf/dl-open.c (add_to_global): Report additions to the global scope
9636         for LD_DEBUG=scopes.
9637         (dl_open_worker): Also print scope of newly loaded dependencies.
9638         (_dl_show_scope): Indicate if there is no scope.
9639
9640         [BZ #13114]
9641         * stdio-common/Makefile (tests): Add bug24.
9642         * stdio-common/bug24.c: New file.
9643
9644 2011-08-19  Andreas Jaeger  <aj@suse.de>
9645
9646         [BZ #13114]
9647         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9648         non-existant file when using close-on-exec mode.
9649
9650 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9651
9652         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9653         the very first instruction.
9654
9655         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9656         the CFI state in the end.
9657         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9658         inclusion of dl-trampoline.h.
9659         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9660
9661 2011-08-19  Andreas Schwab  <schwab@redhat.com>
9662
9663         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9664         expectations for long double.
9665
9666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9667         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9668
9669 2011-08-14  David S. Miller  <davem@davemloft.net>
9670
9671         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9672         artificual limit depends upon the system page size.
9673
9674 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
9675
9676         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9677         * resolv/Makefile: Define CFLAGS-libresolv.
9678
9679 2011-08-17  Andreas Schwab  <schwab@redhat.com>
9680
9681         * nss/makedb.c (compute_tables): Make variables used in nested
9682         function static.
9683
9684 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
9685
9686         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9687         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9688         if buffer was too small.
9689
9690         * elf/pldd.c (main): Attach to all threads in the process.
9691         Rewrite /proc handling to use *at functions.
9692
9693 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
9694
9695         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9696         specifies first scope to show.
9697         (dl_open_worker): Update callers.  Move printing scope of new
9698         object to before the relocation.
9699         * elf/rtld.c (dl_main): Update _dl_show_scope call.
9700         * sysdeps/generic/ldsodefs.h: Update declaration.
9701
9702         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9703         string for the scope number.
9704
9705 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
9706
9707         * nscd/servicescache.c (cache_addserv): Make sure written is always
9708         initialized.
9709
9710 2011-08-14  Roland McGrath  <roland@hack.frob.com>
9711
9712         * sysdeps/i386/i486/bits/atomic.h
9713         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9714         statement expression, so as to suppress "set but not used" warning.
9715         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9716
9717         * string/strncat.c (STRNCAT): Use prototype definition.
9718
9719         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9720         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9721         -Iprograms here.
9722         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9723         (localedef-modules): Add localedef.
9724         (locale-modules): Add locale.
9725
9726         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9727         * elf/rtld.c (dl_main): Invert order of assignment in last change,
9728         to avoid a warning.
9729
9730 2011-08-14  David S. Miller  <davem@davemloft.net>
9731
9732         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9733         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9734
9735 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
9736
9737         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9738         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9739         * elf/rtld.c (dl_main): Set l_name of vDSO.
9740         Call _dl_show_scope when DL_DEBUG_SCOPES.
9741         (process_dl_debug): Recognize scopes flag and also set it for all.
9742         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9743         Declare _dl_show_scope.
9744
9745         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9746         (do_dlopen): Pass caller_dlopen to dl_open.
9747         (__libc_dlopen_mode): Initialize caller_dlopen.
9748
9749         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9750         of libc.  Make tolower call locale-independent.  Optimize a bit by
9751         using isdigit instead of isalnum.
9752         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9753
9754 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
9755
9756         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9757         was a dependency or dynamically loaded.
9758
9759 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
9760
9761         * intl/l10nflist.c: Allow architecture-specific pop function.
9762         * sysdeps/x86_64/l10nflist.c: New file.
9763
9764         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9765         classification.
9766
9767 2011-08-10  Andreas Schwab  <schwab@redhat.com>
9768
9769         * include/dirent.h: Add libc_hidden_proto for scandirat and
9770         scandirat64.  Don't declare __scandirat64.
9771         * dirent/scandirat.c: Add libc_hidden_def.
9772         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9773         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9774
9775 2011-08-10  David S. Miller  <davem@davemloft.net>
9776
9777         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9778         enum.
9779         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9780         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9781         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9782
9783 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
9784
9785         * Versions.def [libc]: Add GLIBC_2.15.
9786         * dirent/Makefile (routines): Add scandirat and scandirat64.
9787         * dirent/Versions [libc]: Export scandirat and scandirat64 for
9788         GLIBC_2.15.
9789         * dirent/dirent.h: Declare scandirat and scandirat64.
9790         * dirent/scandirat.c: New file.
9791         * dirent/scandirat64.c: New file.
9792         * sysdeps/wordsize-64/scandirat.c: New file.
9793         * sysdeps/wordsize-64/scandirat64.c: New file.
9794         * dirent/opendir.c: Define opendirat.
9795         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
9796         using scandirat.
9797         * dirent/scandir64.c: Adjust for scandir.c change.
9798         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
9799         __scandirat64, and __scandir_cancel_handler.
9800         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
9801         additional parameter and use openat instead of open (outside of ld.so).
9802         Add new __opendir as wrapper around __opendirat.
9803         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9804         here without requiring old scandirat implementation.
9805
9806 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
9807
9808         * dirent/scandir.c (cancel_handler): Renamed to
9809         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
9810         defined.  Adjust users.
9811         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9812         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9813
9814 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
9815
9816         * string/test-string.h (IMPL): Use __STRING to expand name and then
9817         stringify it.
9818
9819         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
9820         of cleanups.
9821
9822 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9823
9824         * string/Makefile: Update.
9825         (strop-tests): Append strncat.
9826         * string/test-wcscmp.c: New file.
9827         New comprehensive test for wcscmp.
9828         * string/test-strcmp.c: Update.
9829         (WIDE): New define.
9830
9831 2011-07-22  Andreas Schwab  <schwab@redhat.com>
9832
9833         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9834         line.
9835
9836 2011-07-26  Andreas Schwab  <schwab@redhat.com>
9837
9838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9839         encoding to ACE if AI_IDN.
9840
9841 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
9842
9843         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9844         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9845
9846 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9847
9848         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9849         Fix overflow bug in strncat.
9850         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9851
9852         * string/test-strncat.c: Update.
9853         Add new tests for checking overflow bugs.
9854
9855 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9856
9857         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9858         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9859         * sysdeps/i386/i686/multiarch/strcat.S: New file.
9860         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9861         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9862         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9863         * sysdeps/i386/i686/multiarch/strncat.S: New file.
9864         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9865         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9866
9867         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9868         (USE_AS_STRCAT): Define.
9869         Add strcat and strncat support.
9870         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9871
9872 2011-07-25  Andreas Schwab  <schwab@redhat.com>
9873
9874         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9875         __n bigger than INT_MAX+1.
9876         (__strncmp_g): Likewise.
9877
9878 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
9879
9880         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9881         * libio/stido.h: Likewise.
9882
9883         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9884         (AF_NFC): Define.
9885         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9886         (AF_NFC): Define.
9887
9888         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9889         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9890         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9891         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9892         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9893
9894         [BZ #13021]
9895         * scripts/test-installation.pl: Don't expect libnss_test1 to be
9896         installed.
9897
9898         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9899         typo.
9900         (_dl_x86_64_save_sse): Likewise.
9901
9902 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
9903
9904         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9905         OSXSAVE.
9906         (_dl_x86_64_save_sse): Likewise.
9907
9908         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9909
9910         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9911
9912 2011-07-21  Andreas Schwab  <schwab@redhat.com>
9913
9914         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9915         change.
9916         (_dl_x86_64_save_sse): Use correct AVX check.
9917
9918 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9919
9920         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9921         bug in strncpy/strncat.
9922         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9923
9924 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
9925
9926         * string/tester.c (test_strcat): Add tests for different alignments
9927         of source and destination.
9928         (test_strncat): Likewise.
9929
9930 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
9931
9932         [BZ #12852]
9933         * posix/glob.c (glob): Check passed in values before using them in
9934         expressions to avoid some overflows.
9935         (glob_in_dir): Likewise.
9936
9937         [BZ #13007]
9938         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9939         check for AVX enablement so that we don't crash with old kernels and
9940         new hardware.
9941         * elf/tst-audit4.c: Add same checks here.
9942         * elf/tst-audit6.c: Likewise.
9943
9944         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9945
9946 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
9947
9948         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9949
9950 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
9951
9952         * po/cs.po: Update from translation team.
9953         * po/bg.po: Likewise.
9954
9955 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
9956
9957         * misc/sys/cdefs.h: Add support for const attribute.
9958         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9959         to gnu_dev_{major,minor,makedev} functions.
9960
9961 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
9962
9963         * intl/dcigettext.c (get_output_charset): Add missing bracket.
9964
9965 2011-07-20  Andreas Schwab  <schwab@redhat.com>
9966
9967         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9968         strlen results.
9969
9970 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9971
9972         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9973         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9974         register in order to avoid conflicts with the soft frame pointer
9975         being held in r11 when necessary.
9976         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9977         (INTERNAL_VSYSCALL_NCS): Likewise.
9978
9979 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
9980
9981         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9982         * elf/dl-fini.c (_dl_fini): Adjust caller.
9983         * elf/dl-close.c (_dl_close_worker): Likewise.
9984         * sysdeps/generic/ldsodefs.h: Adjust declaration.
9985
9986 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
9987
9988         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9989         "aux_cache->nlibs < 0".
9990
9991         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9992         in the reload-count case.
9993
9994 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9995
9996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9997         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9998         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9999         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10000         * sysdeps/x86_64/multiarch/strcat.S: New file.
10001         * sysdeps/x86_64/multiarch/strncat.S: New file.
10002         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10003         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10004         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10005         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10006         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10007         (USE_AS_STRCAT): Define.
10008         Add strcat and strncat support.
10009         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10010         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10011         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10012         * string/strncat.c: Update.
10013         (USE_AS_STRNCAT): Define.
10014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10015         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10016         and i7.
10017         * sysdeps/x86_64/multiarch/init-arch.h
10018         (bit_Prefer_PMINUB_for_stringop): New.
10019         (index_Prefer_PMINUB_for_stringop): Likewise.
10020         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10021         bit_Prefer_PMINUB_for_stringop.
10022
10023 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
10024
10025         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10026         buffer64.
10027         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10028         of casting of buffer.
10029         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10030         buffer32 and buffer64.
10031         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10032         writes instead of casting of buffer.
10033         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10034         buffer32.
10035         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10036         casting of buffer.
10037
10038 2011-07-19  Andreas Schwab  <schwab@redhat.com>
10039
10040         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10041
10042 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
10043
10044         * nscd/nscd.c (termination_handler): Don't do anything for a database
10045         if it has not yet been initialized.
10046
10047 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
10048
10049         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10050
10051 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
10052
10053         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10054
10055 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
10056
10057         * po/nl.po: Update from translation team.
10058         * po/sv.po: Likewise.
10059
10060 2011-07-16  Roland McGrath  <roland@hack.frob.com>
10061
10062         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10063         now disallowed by GCC.
10064
10065         * configure.in (use-default-link): Default to yes if a test -shared
10066         link meets our qualifications.
10067         * configure: Regenerated.
10068
10069         * config.make.in (output-format): New variable.
10070         * configure.in: Check for ld --print-output-format support.
10071         * configure: Regenerated.
10072         * Makerules ($(common-objpfx)format.lds)
10073         [$(output-format) != unknown]: Just use $(output-format),
10074         instead of the linker-script munging.
10075
10076 2011-07-14  Roland McGrath  <roland@hack.frob.com>
10077
10078         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10079         of $(common-objpfx)shlib.lds.
10080         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10081
10082         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10083         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10084
10085         * configure.in (-z relro check): Adjust test code to add a large
10086         writable data section after it.
10087         * configure: Regenerated.
10088
10089 2011-07-11  Roland McGrath  <roland@hack.frob.com>
10090
10091         * configure.in (-z relro check): Fix test code to make the variable
10092         truly const.
10093         * configure: Regenerated.
10094
10095 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
10096
10097         * nscd/nscd.h (struct traced_file): Define.
10098         (struct database_dyn): Remove inotify_descr, reset_res, and filename
10099         elements.  Add traced_files.
10100         (inotify_fd): Declare.
10101         (register_traced_file): Declare.
10102         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10103         (inotify_fd): Export.
10104         (resolv_conf_descr): Remove.
10105         (nscd_init): Move inotify descriptor creation to main.
10106         Don't register files for notification here.
10107         (register_traced_file): New function.
10108         (invalidate_cache): Don't use reset_res to determine whether to call
10109         res_init, go through the list of registered files.
10110         (main_loop_poll): The inotify descriptors are now stored in the
10111         structures for the traced files.
10112         (main_loop_epoll): Likewise
10113         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
10114         to __nss_disable_nscd.
10115         * nscd/cache.c (prune_cache): There is no single inotify descriptor
10116         for a database anymore.  Check the records for all the registered
10117         files instead.
10118         * nss/Makefile (libnss_files-routines): Add files-init.
10119         (libnss_db-routines): Add db-init.
10120         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10121         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10122         * nss/nss_db/db-init.c: New file.
10123         * nss/nss_files/files-init.c: New file.
10124         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
10125         __nss_lookup_function.
10126         (__nss_lookup_function): Call nss_load_library.
10127         (nss_load_all_libraries): New function.
10128         (__nss_disable_nscd): Take parameter with callback function for files
10129         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
10130         used for the cached services.
10131         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10132         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10133         options for features to all the files in nscd.
10134
10135         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10136
10137 2011-07-10  Roland McGrath  <roland@hack.frob.com>
10138
10139         * csu/elf-init.c (__libc_csu_init): Comment typo.
10140
10141 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
10142
10143         * po/pl.po: Update from translation team.
10144         * po/ja.po: Likewise.
10145         * po/ru.po: Likewise.
10146         * po/ko.po: Likewise.
10147         * po/fr.po: Likewise.
10148
10149 2011-07-09  Roland McGrath  <roland@hack.frob.com>
10150
10151         * configure.in (.ctors/.dtors header and trailer check):
10152         Use an empirical test on a built program.
10153         * configure: Regenerated.
10154
10155         * configure.in (-z relro check): Use an empirical test on a built DSO.
10156         Detect, but do not require, on ia64.
10157         * configure: Regenerated.
10158
10159         * configure.in (READELF): Find it with AC_CHECK_TOOL.
10160         Update tests that use readelf to use $READELF instead.
10161         * configure: Regenerated.
10162
10163 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
10164
10165         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10166         if the result is not used.
10167
10168 2011-07-05  Andreas Jaeger  <aj@suse.de>
10169
10170         [BZ#9696]
10171         * stdlib/tst-strtod.c: Add testcase.
10172
10173 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
10174
10175         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10176         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10177         The latter has a higher limit.  Take additional parameter to pass to
10178         the new function.
10179         (__pathconf): Pass file to __statfs_link_max.
10180         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10181         __statfs_link_max.
10182         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10183         __statfs_link_max.
10184
10185         [BZ #12868]
10186         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10187         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10188         Handle Lustre.
10189         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10190         (__statfs_filesize_max): Likewise.
10191         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10192
10193 2011-07-05  Andreas Jaeger  <aj@suse.de>
10194
10195         * resolv/res_comp.c (dn_skipname): Remove unused variable.
10196
10197 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
10198
10199         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10200         `status' variable.
10201         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10202         Likewise.
10203
10204 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
10205
10206         * Makefile (strop-tests): Add strncat.
10207         * string/test-strncat.c: New file.
10208
10209 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
10210
10211         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10212
10213 2011-06-21  Andreas Jaeger  <aj@suse.de>
10214
10215         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10216         Copy rule from iconvdata/Makefile.
10217
10218 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
10219
10220         [BZ #12922]
10221         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10222         but no long options are defined, just return 'W'.
10223
10224 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
10225
10226         [BZ #9696]
10227         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10228
10229 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
10230
10231         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10232         netgroups to read.
10233         (innetgr): Likewise.
10234
10235 2011-07-05  Roland McGrath  <roland@hack.frob.com>
10236
10237         * config.make.in (install_root): Default to $(DESTDIR).
10238
10239 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
10240
10241         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10242
10243 2011-07-02  Roland McGrath  <roland@hack.frob.com>
10244
10245         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10246
10247         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10248         containing directory rather than embedding absolute directory names.
10249
10250         * scripts/check-local-headers.sh: Rewritten using awk.
10251         Match by word, not by line.  Print error messages for matches.
10252         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10253
10254         * Makerules [shlib-lds-flags empty]:
10255         ($(common-objpfx)libc_pic.opts): New target.
10256         ($(common-objpfx)libc_pic.os.clean): New target.
10257         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10258
10259         * config.make.in (OBJCOPY): New variable.
10260         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10261         * configure: Regenerated.
10262
10263         * config.make.in (use-default-link): New variable.
10264         * configure.in (use_default_link): Grok --with-default-link to set it.
10265         * configure: Regenerated.
10266         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10267         (shlib-lds, shlib-lds-flags): Define to empty.
10268
10269         * Makerules (shlib-lds): New variable.
10270         (shlib-lds-flags): New variable.
10271         (build-shlib, build-moduile, build-module-asneeded): Use it.
10272         ($(common-objpfx)libc.so): Use $(shlib-lds).
10273         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10274         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10275
10276         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10277         DT_FLAGS/DT_FLAGS_1 with zero flags.
10278
10279         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10280         linker script munging.
10281
10282 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
10283
10284         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10285         as 128-bit value.
10286         * crypt/sha512.c (sha512_process_block): Perform total addition using
10287         128-bit if possible.
10288         (__sha512_finish_ctx): Likewise.
10289         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10290         as 64-bit value.
10291         * crypt/sha256.c (SWAP64): Define.
10292         (sha256_process_block): Perform total addition using 64-bit if
10293         possible.
10294         (__sha256_finish_ctx): Likewise.
10295
10296 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
10297
10298         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
10299         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10300         * nscd/hstcache.c (cache_addhst): Likewise.
10301         * nscd/grpcache.c (cache_addgr): Likewise.
10302         * nscd/aicache.c (addhstaiX): Likewise
10303         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10304
10305 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
10306
10307         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10308         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10309         * nscd/hstcache.c (cache_addhst): Likewise.
10310         * nscd/grpcache.c (cache_addgr): Likewise.
10311         * nscd/aicache.c (addhstaiX): Likewise
10312
10313 2011-07-01  Andreas Schwab  <schwab@redhat.com>
10314
10315         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10316         domain only when needed.
10317
10318 2011-06-30  Andreas Schwab  <schwab@redhat.com>
10319
10320         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10321         is always restored.
10322
10323 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
10324
10325         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10326         are re-adding the entry.
10327         * nscd/servicescache.c (cache_addserv): Likewise.
10328
10329 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10330
10331         * sysdeps/generic/dl-irel.h: fix protection against multiple
10332         inclusions.
10333         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10334
10335 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
10336
10337         [BZ #12935]
10338         * malloc/memusage.sh: Fix quoting in message.
10339         * debug/xtrace.sh: Likewise.
10340
10341         * configure.in: Remove support for --experimental-malloc option, make
10342         it the default.
10343         * config.make.in: Likewise.
10344         * malloc/Makefile: Likewise.
10345
10346 2011-06-27  Andreas Schwab  <schwab@redhat.com>
10347
10348         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10349         two-byte characters.
10350
10351 2011-06-27  Roland McGrath  <roland@hack.frob.com>
10352
10353         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10354         AC_CACHE_CHECK invocation.
10355         * configure: Regenerated.
10356
10357         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10358
10359 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
10360
10361         [BZ #12350]
10362         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
10363         bit from old_res_options.
10364
10365         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10366
10367         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10368         value type for setfct.
10369
10370 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
10371
10372         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10373         __gettimeofday instead of gettimeofday.
10374
10375 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
10376
10377         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10378
10379 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10380
10381         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10382
10383         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10384         info.
10385
10386 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
10387
10388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10389         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10390         strcpy-sse2-unaligned strncpy-sse2-unaligned
10391         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10392         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10393         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10394         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10395         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10396         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10397         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10398         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10399         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10400         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10401         (STRCPY): Support SSE2 and SSSE3 versions.
10402
10403 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
10404
10405         [BZ #12874]
10406         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10407         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10408         kernels which artificially limit size of requests.
10409
10410 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
10411
10412         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10413         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10414         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10415         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10416         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10417         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10418         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10419         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10420         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10421         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10422         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10423         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10424         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10425         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10426         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10428         Enable unaligned load optimization for Intel Core i3, i5 and i7
10429         processors.
10430         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10431         Define.
10432         (index_Fast_Unaligned_Load): Define.
10433         (HAS_FAST_UNALIGNED_LOAD): Define.
10434
10435 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
10436
10437         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10438
10439 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
10440
10441         [BZ #12907]
10442         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10443         until it is clear that the information is realy needed.
10444         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10445
10446 2011-06-22  Andreas Schwab  <schwab@redhat.com>
10447
10448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10449
10450 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
10451
10452         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10453         /sys/devices/system/cpu/online if it is usable.
10454
10455         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10456         reading the information from the /proc filesystem to once a second.
10457
10458 2011-06-21  Andreas Jaeger  <aj@suse.de>
10459
10460         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10461         NULL after inclusion of kernel headers.
10462
10463 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
10464
10465         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10466         calls to internal_setent.
10467
10468         [BZ #12885]
10469         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10470         addresses using gethostbyname4_r ignore IPv4 addresses.
10471
10472         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10473         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
10474
10475         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10476
10477 2011-06-20  David S. Miller  <davem@davemloft.net>
10478
10479         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10480         inclusions.
10481         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10482
10483         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10484         (elf_irel): Use it.
10485         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10486         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10487         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10488         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10489         * sysdeps/x86_64/dl-irel.h: Likewise.
10490
10491         * elf/dl-runtime.c: Use elf_ifunc_invoke.
10492         * elf/dl-sym.c: Likewise.
10493
10494 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
10495
10496         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
10497         need to dereference resplen2.
10498
10499 2011-06-14  Andreas Schwab  <schwab@redhat.com>
10500
10501         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10502
10503 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
10504
10505         * Makeconfig: Define vardbdir and inst_vardbdir.
10506         * nss/Makefile: Add rules to install db-Makefile.
10507
10508         * nss/nss_db/db-XXX.c: Cleanup.
10509
10510         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10511         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10512         GLIBC_PRIVATE.
10513         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10514         * nss/makedb.c: Implement -g option to specify that value strings
10515         are generated and should not be added to table iterated over for
10516         get*ent calls.
10517         * nss/nss_db/db-initgroups.c: New file.
10518
10519         * nss/getent.c: Add support for initgroups lookups through getgrouplist
10520         interface.
10521
10522         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10523         (internal_getgrouplist): Adjust to name change.
10524         Update use_initgroups_entry if this is not the first call.
10525         * nss/databases.def: Add initgroups entry.
10526
10527         * nss/makedb.c (compute_tables): Check result of multiple hash table
10528         sizes to minimize maximum chain length.
10529
10530 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
10531
10532         * Versions.def: Add entry for libnss_db.
10533         * shlib-versions: Likewise.
10534         * nss/Makefile: Add rules to build libnss_db.
10535         * nss/Versions: Add libnss_db information.  Organize libnss_files
10536         entries better.
10537         * nss/db-Makefile: Add gshadow support.  Change rules for the new
10538         makedb progra.  Some minor improvements to generate smaller files.
10539         * nss/nss_db/nss_db.h: Move NSS database header data structures to
10540         here from...
10541         * nss/makedb.c: ...here.
10542         Improve database format to be smaller and require less memory at
10543         runtime.
10544         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
10545         db anymore.
10546         * nss/nss_db/db-netgrp.c: Likewise.
10547         * nss/nss_db/db-open.c: Likewise.
10548         * nss/nss_files/flies-XXX.x: Adjust comments.
10549         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10550         * nss/nss_files/files-grp.c: Likewise.
10551         * nss/nss_files/files-hosts.c: Likewise.
10552         * nss/nss_files/files-network.c: Likewise.
10553         * nss/nss_files/files-proto.c: Likewise.
10554         * nss/nss_files/files-pwd.c: Likewise.
10555         * nss/nss_files/files-rpc.c: Likewise.
10556         * nss/nss_files/files-service.c: Likewise.
10557         * nss/nss_files/files-sgrp.c: Likewise.
10558         * nss/nss_files/files-spwd.c: Likewise.
10559         * nss/nss_db/db-alias.c: Removed.
10560         * nss/nss_db/dummy-db.h: Removed.
10561
10562 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
10563
10564         * nss/makedb.c: Rewritten to not use database library.
10565         * nss/Makefile: Update to build new makedb program.
10566
10567 2011-06-14  Andreas Jaeger  <aj@suse.de>
10568
10569         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10570         memset declaration.
10571
10572 2011-06-10  Andreas Schwab  <schwab@redhat.com>
10573
10574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10575         tmpbuf.
10576
10577 2011-06-10  Roland McGrath  <roland@hack.frob.com>
10578
10579         * Makerules (shlib.lds): Fail if the linker script comes out empty.
10580         * elf/Makefile ($(objpfx)ld.so): Likewise.
10581
10582         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10583         Don't list ld.so twice in dependencies.
10584
10585         * posix/bug-regex31.c: Include <stdlib.h>.
10586
10587         * nscd/hstcache.c (cache_addhst): Remove unused variable.
10588
10589         * nis/nss_compat/compat-spwd.c
10590         (getspent_next_nss_netgr): Remove unused variable.
10591         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10592
10593         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10594         nonmembers" output to use the right array.
10595
10596         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10597
10598         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10599
10600         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10601         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10602         * catgets/gencat.c (read_input_file): Likewise.
10603         * locale/programs/locarchive.c (enlarge_archive): Likewise.
10604
10605         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10606         variable definition inside #if's controlling its use.
10607
10608         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10609
10610         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10611
10612         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10613
10614         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10615         unreachable code.
10616
10617         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10618
10619         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10620         * configure: Regenerated.
10621
10622         * Makerules: Revert last change.
10623         * elf/Makefile: Likewise.
10624
10625 2011-06-09  Roland McGrath  <roland@hack.frob.com>
10626
10627         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10628         * elf/Makefile ($(objpfx)librtld.os): Likewise.
10629         (reloc-link): Likewise.
10630
10631 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
10632
10633         * elf/Makefile: Add rules to build pldd.
10634         * elf/pldd.c: New file.
10635         * elf/pldd-xx.c: New file.
10636
10637 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
10638
10639         * version.h: Update for 2.15 development version.
10640
10641 2011-06-07  David S. Miller  <davem@davemloft.net>
10642
10643         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10644         ifuncs.
10645         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10646         elf_machine_lazy_rel): Likewise.
10647         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10648         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10649         elf_machine_lazy_rel): Likewise.
10650         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10651         dl_hwcap via passed in argument.
10652         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10653         Likewise.
10654
10655 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10656
10657         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
10658
10659 2011-06-06  Roland McGrath  <roland@hack.frob.com>
10660
10661         [BZ #12849]
10662         * manual/fdl-1.1.texi: New file, verbatim from:
10663         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10664         * manual/lgpl-2.1.texi: New file, verbatim from:
10665         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10666         * manual/Makefile (licenses): New variable, list those new file names.
10667         (texis): Use it.
10668         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10669
10670         * manual/fdl.texi: File removed.
10671         * manual/lesser.texi: File removed.
10672         * manual/libc.texinfo (Copying, Documentation License):
10673         Use new @include file names, put @appendix directive before @include.
10674
10675 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
10676
10677         [BZ #12841]
10678         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10679         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10680         (mq_open): Add __NTH.
10681
10682 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
10683
10684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10685         Assume Intel Core i3/i5/i7 processor if AVX is available.
10686
10687 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
10688
10689         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10690         typo.
10691
10692 2011-05-31  Andreas Schwab  <schwab@redhat.com>
10693
10694         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10695         memory.  Use alloca_account.  Fix memory leak when retrying.
10696
10697 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
10698
10699         * version.h (RELEASE): Bump for 2.14 release.
10700         * include/features.h (__GLIBC_MINOR__): Bump to 14.
10701
10702         * config.make.in (RANLIB): Remove entry.
10703
10704 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
10705
10706         * po/Makefile (po-sed-cmd): Add ksh to extensions.
10707         (libc.pot): Work around missing support for .ksh extension in xgettext.
10708
10709         [BZ #12684]
10710         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10711         if both request failed.
10712         (send_dg): In case of server errors clear resplen or *resplen2.
10713
10714         [BZ #12454]
10715         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10716         when there are multiple maps.
10717         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10718         (_dl_fini): Remove test here.
10719
10720         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10721
10722 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
10723
10724         [BZ #12350]
10725         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10726         bit from old_res_options.
10727         (gaih_inet): Likewise.
10728
10729         [BZ #11099]
10730         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10731         as signed.
10732
10733         * resolv/res_init.c (res_setoptions): Make the code more compact.
10734
10735         [BZ #11558]
10736         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10737         set RES_USEVC.
10738
10739         [BZ #11634]
10740         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10741
10742         * malloc/malloc.h: Mark malloc hook variables as deprecated.
10743
10744         [BZ #11781]
10745         * malloc/malloc.h: Declare malloc hook variables as volatile.
10746
10747         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10748         in last patch.
10749
10750         [BZ #11799]
10751         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10752         raise in the comment.
10753         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10754         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10755         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10756
10757 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
10758
10759         [BZ #12811]
10760         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10761         grow the buffers more if it already has to be sufficient.
10762         (build_wcs_upper_buffer): Likewise.
10763         * posix/regexec.c (check_matching): Likewise.
10764         (clean_state_log_if_needed): Likewise.
10765         (extend_buffers): Don't enlarge buffers beyond size of the input
10766         buffer.
10767         Patches mostly by Emil Wojak <emil@wojak.eu>.
10768         * posix/bug-regex32.c: New file.
10769         * posix/Makefile (tests): Add bug-regex32.
10770
10771         * locale/findlocale.c (_nl_find_locale): Return right away if
10772         _nl_explode_name failed.
10773         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10774
10775         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10776
10777         * debug/xtrace.sh: Unify messages.
10778         * malloc/memusage.sh: Likewise.
10779
10780         [BZ #12813]
10781         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10782         time symbol from vDSO.  Substitute with vsyscall if not available.
10783         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10784         __vdso_time.
10785
10786         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10787         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10788         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10789         Add sendmmsg and internal_sendmmsg.
10790         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10791         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10792         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10793
10794         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10795         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10796         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10797
10798 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
10799
10800         [BZ #12813]
10801         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10802         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
10803         available.
10804         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10805         __vdso_getcpu.
10806
10807         [BZ #12814]
10808         * iconvdata/Makefile (tests): Add bug-iconv9.
10809         * iconvdata/bug-iconv9.c: New file.
10810
10811 2011-05-27  Andreas Schwab  <schwab@redhat.com>
10812
10813         [BZ #12814]
10814         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10815
10816 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
10817
10818         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10819         (struct user_regs_struct): Change intcs field back to cs.
10820
10821 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
10822
10823         * po/ja.po: Update from translation team.
10824
10825 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
10826
10827         [BZ #12795]
10828         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10829         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10830
10831 2011-05-20  Andreas Schwab  <schwab@redhat.com>
10832
10833         * stdlib/longlong.h: Update from GCC.
10834
10835 2011-05-23  Andreas Schwab  <schwab@redhat.com>
10836
10837         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10838         parameter name.
10839         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10840         Add parameter name.
10841         (__sysconf): Pass it down.
10842
10843 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
10844
10845         [BZ #12671]
10846         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10847         some situations.
10848         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10849         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10850         add in in __libc_use_alloca calls.  Adjust callers.
10851         (glob): Use malloc in some situations.
10852
10853         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10854         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10855         pltexit.
10856
10857 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
10858
10859         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10860         and CLOCK_BOOTTIME_ALARM.
10861
10862         [BZ #12782]
10863         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10864         is returned.
10865
10866         * string/_strerror.c (__strerror_r): Print negative errors as signed
10867         numbers.
10868
10869         [BZ #12777]
10870         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10871         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10872         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10873
10874         * configure.in: Fix typo in redirection and correct removal of test
10875         files in two cases.
10876
10877         [BZ #12788]
10878         * locale/setlocale.c (new_composite_name): Fix test to check for
10879         identical name of all categories.
10880
10881         [BZ #12792]
10882         * libio/filedoalloc.c (local_isatty): New function.
10883         (_IO_file_doallocate): Use local_isatty.
10884         * stdio-common/perror.c (perror): In case a new stream is used
10885         forward the stream error.
10886         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10887         error flag.
10888
10889 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
10890
10891         [BZ #11869]
10892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10893         alloca.
10894         * include/alloca.h (extend_alloca_account): Define.
10895
10896         [BZ #11857]
10897         * posix/regex.h: Fix comments with documentation of user-accessible
10898         fields after compilation and describe correct free'ing of pattern
10899         after re_compile_pattern.
10900         Patch by Reuben Thomas <rrt@sc3d.org>.
10901
10902 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
10903
10904         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10905         and -mno-altivec to prevent the compiler from using Altivec and/or
10906         VSX instructions when the corresponding registers are not available.
10907
10908 2011-05-19  Andreas Schwab  <schwab@redhat.com>
10909
10910         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10911
10912 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
10913
10914         * libio/freopen.c (freopen): Use __dup2, not dup2.
10915         * libio/freopen64.c (freopen64): Likewise.
10916
10917 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
10918
10919         [BZ #12775]
10920         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10921         * math/Makefile (tests): Add test-powl.
10922         (CFLAGS-test-powl.c): Define.
10923         * math/test-powl.c: New file.
10924
10925 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
10926
10927         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10928
10929 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
10930
10931         [BZ #11837]
10932         * iconvdata/gb18030.c: Update to GB18020-2005.
10933
10934 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
10935
10936         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10937         RE_SYNTAX_POSIX_AWK): Update to match recent development.
10938         Patch by Aharon Robbins <arnold@skeeve.com>.
10939
10940         [BZ #11892]
10941         * stdlib/putenv.c (putenv): Don't always create copy of the variable
10942         on the stack.
10943
10944         [BZ #11895]
10945         * misc/pselect.c (__pselect): Handle timeout value errors hidden
10946         through underflows.
10947
10948         [BZ #12766]
10949         * misc/error.c (error_at_line): Ensure file_name and old_file_name
10950         point to strings before performing equality test for error_one_per_line
10951         mode.
10952
10953         [BZ #11697]
10954         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10955
10956         [BZ #11820]
10957         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10958         (struct user_fpregs_struct): Avoid __uint*_t types.
10959
10960         [BZ #6420]
10961         * malloc/mtrace.c (tr_where): Add additional parameter to point to
10962         symbol info.  Use it instead of calling _dl_addr locally.
10963         (lock_and_info): New function.
10964         (tr_freehook): Call lock_and_info and pass symbol info as additional
10965         parameter to tr_where.
10966         (tr_mallochook): Likewise.
10967         (tr_reallochook): Likewise.
10968         (tr_memalignhook): Likewise.
10969
10970         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
10971         used and couldn't be at all thread-safe.
10972
10973 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
10974
10975         * libio/freopen.c (freopen): Don't close old file descriptor
10976         before the new one is opened.  Instead dup the new file descriptor
10977         to the old one after the new stream is created.
10978         * libio/freopen64.c (freopen64): Likewise.
10979         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10980         * libio/fileops.c (_IO_new_file_close_it): Handle new
10981         _IO_FLAGS2_NOCLOSE flag.
10982         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10983         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10984         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10985         _IO_FLAGS2_NOCLOSE flag.
10986         * include/unistd.h: Add hidden_proto for dup3.
10987         Define __have_dup3.
10988         * io/dup3.c: Define hidden symbol.
10989         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10990
10991         [BZ #7101]
10992         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10993         when an incomplete long option is used.
10994         * posix/tst-getopt_long1.c: New file.
10995         * posix/Makefile (tests): Add tst-getopt_long1.
10996
10997         [BZ #10138]
10998         * scripts/config.guess: Update from autoconf-2.68.
10999         * scripts/config.sub: Likewise.
11000
11001         [BZ #10157]
11002         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11003         tests into ...
11004         (has_cpuclock): ...this.  New function.
11005         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11006         macro here based on has_cpuclock code.
11007
11008         [BZ #10149]
11009         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11010         First byte (not low byte) is now always NUL.
11011         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11012
11013         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11014         Use non-cancelable interfaces.
11015
11016         [BZ #9809]
11017         * locale/iso-639.def: Add entry for Sorani.
11018
11019         [BZ #11901]
11020         * include/stdlib.h: Move include protection to the right place.
11021         Define abort_msg_s.  Declare __abort_msg with it.
11022         * stdlib/abort.c (__abort_msg): Adjust type.
11023         * assert/assert.c (__assert_fail_base): New function.  Majority
11024         of code from __assert_fail.  Allocate memory for __abort_msg with
11025         mmap.
11026         (__assert_fail): Now call __assert_fail_base.
11027         * assert/assert-perr.c: Remove bulk of implementation.  Use
11028         __assert_fail_base.
11029         * include/assert.hL Declare __assert_fail_base.
11030         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11031         mmap.
11032         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11033
11034 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
11035
11036         [BZ #11952]
11037         [BZ #12453]
11038         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11039         until all modules are registered in the DTV.
11040         * elf/Makefile: Add rules to build and run tst-tls19.
11041         * elf/tst-tls19.c: New file.
11042         * elf/tst-tls19mod1.c: New file.
11043         * elf/tst-tls19mod2.c: New file.
11044         * elf/tst-tls19mod3.c: New file.
11045         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11046
11047         [BZ #12083]
11048         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11049         correctly.
11050
11051         [BZ #12601]
11052         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11053         two-byte sequence errors.
11054         * iconvdata/Makefile (tests): Add bug-iconv8.
11055         * iconvdata/bug-iconv8.c: New file.
11056
11057         [BZ #12626]
11058         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11059         buf2 definition.
11060
11061         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11062
11063         [BZ #12432]
11064         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11065         (dummy_getcfa): New function.
11066         (init): Get _Unwind_GetCFA address, use dummy if not found.
11067         (backtrace_helper): In recursion check, also check whether CFA changes.
11068         (__backtrace): Completely initialize arg.
11069
11070         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11071         storing incomplete byte sequence in state object.  Avoid testing for
11072         guaranteed too small input if we know there is enough data available.
11073
11074 2011-05-11  Andreas Schwab  <schwab@redhat.com>
11075
11076         * Makeconfig (+link-pie): Indent.
11077         * Rules (binaries-pie): Define if $(have-fpie) and
11078         $(build-shared).
11079         (binaries-shared): Also filter out $(binaries-pie).
11080         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11081         * nscd/Makefile (others-pie): Add nscd.
11082         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11083         ($(objpfx)nscd): Remove command override.
11084         * login/Makefile (others-pie): Add pt_chown.
11085         ($(objpfx)pt_chown): Remove command override.
11086         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11087         remove command overrides.
11088
11089 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
11090
11091         * libio/tst_putwc.c: Fix error messages.
11092
11093         [BZ #12724]
11094         * libio/fileops.c (_IO_new_file_close_it): Always flush when
11095         currently writing and seek to current position when not.
11096         * libio/Makefile (tests): Add bug-fclose1.
11097         * libio/bug-fclose1.c: New file.
11098
11099 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
11100
11101         [BZ #12511]
11102         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11103         don't set DF_1_NODELETE here.
11104         (do_lookup_x): When entering new entry test for copy relocation
11105         and if necessary set DF_1_NODELETE flag.
11106         * elf/tst-unique4.cc: New file.
11107         * elf/tst-unique4.h: New file.
11108         * elf/tst-unique4lib.cc: New file.
11109         * elf/Makefile: Add rules to build and run tst-unique4.
11110         Patch by Piotr Bury <pbury@goahead.com>.
11111
11112 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
11113
11114         [BZ #12052]
11115         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11116
11117         [BZ #12625]
11118         * misc/mntent_r.c (addmntent): Flush the stream after the output
11119
11120         [BZ #12393]
11121         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11122         (is_trusted_path_normalize): Skip initial colon.  Append slash
11123         to empty buffer.  Duplicate is_trusted_path code but allow
11124         constructed patch to be prefix.
11125         (is_dst): Allow $ORIGIN followed by /.
11126         (_dl_dst_substitute): Correct clearing of check_for_trusted.
11127         Correct testing of result of is_trusted_path_normalize
11128         (decompose_rpath): Fix warning.
11129
11130 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
11131
11132         [BZ #11257]
11133         * grp/initgroups.c (internal_getgrouplist): When we found the service
11134         list through the initgroups entry in nsswitch.conf do not always
11135         continue on a successful lookup.  Don't always use the
11136         __nss_group_database value if it is set.
11137         * nss/nsswitch.conf (initgroups): Change action for successful db
11138         lookup to continue for compatibility.
11139
11140 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
11141
11142         [BZ #11532]
11143         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11144         and CP774 modules.
11145         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11146         and CP774 modules.
11147         * iconvdata/tst-tables.sh: Likewise.
11148         * iconvdata/cp770.c: New file.
11149         * iconvdata/cp771.c: New file.
11150         * iconvdata/cp772.c: New file.
11151         * iconvdata/cp773.c: New file.
11152         * iconvdata/cp774.c: New file.
11153         * iconvdata/testdata/CP770: New file.
11154         * iconvdata/testdata/CP770..UTF8: New file.
11155         * iconvdata/testdata/CP771: New file.
11156         * iconvdata/testdata/CP771..UTF8: New file.
11157         * iconvdata/testdata/CP772: New file.
11158         * iconvdata/testdata/CP772..UTF8: New file.
11159         * iconvdata/testdata/CP773: New file.
11160         * iconvdata/testdata/CP773..UTF8: New file.
11161         * iconvdata/testdata/CP774: New file.
11162         * iconvdata/testdata/CP774..UTF8: New file.
11163
11164         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11165         END CHARMAP line.
11166         * iconvdata/gen-8bit-gap.sh: Likewise.
11167         * iconvdata/gen-8bit.sh: Likewise.
11168
11169         * locale/iso-639.def: Add ary entry.
11170
11171         [BZ #11258]
11172         * locale/C-translit.h.in: Add U20A1 transliteration.
11173
11174         [BZ #12178]
11175         * locale/iso-639.def: Add wae entry.
11176         Patch by Kevin Bortis <bortis@translate-wae.ch>.
11177
11178         [BZ #12545]
11179         * locale/programs/localedef.c (construct_output_path): Use ssize_t
11180         for n.
11181
11182         [BZ #12711]
11183         * locale/C-translit.h.in: Add entry for U20B9.
11184         Patch by pravin.d.s@gmail.com.
11185
11186 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
11187
11188         [BZ #12713]
11189         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11190         ENAMETOOLONG use generic getcwd.
11191         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
11192         in rtld.  Use *stat64.
11193         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11194         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11195         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11196         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11197         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11198         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11199         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11200         __fstatat64 macros.
11201         * include/dirent.h: Add libc_hidden_proto for rewinddir.
11202         * dirent/rewinddir.c: Add libc_hidden_def.
11203         * sysdeps/mach/hurd/rewinddir.c: Likewise.
11204         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
11205
11206         * include/dirent.h (__alloc_dir): Add flags parameter.
11207         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11208         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11209         __alloc_dir.
11210         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
11211         from fdopendir if O_CLOEXEC is already set.
11212
11213 2011-03-15  Alan Modra  <amodra@gmail.com>
11214
11215         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11216         l_tls_firstbyte_offset non-zero.  Save padding offset in
11217         l_tls_firstbyte_offset for later use.
11218         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11219         freeing static tls block.
11220
11221 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
11222
11223         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11224         where #ifdef was intended.  The intent is to prevent ARG_MAX from
11225         being defined by the kernel headers.
11226
11227 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
11228
11229         [BZ #12734]
11230         * resolv/resolv.h: Define RES_NOTLDQUERY.
11231         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11232         no-tld-query and set RES_NOTLDQUERY.
11233         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11234         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11235         modern BIND to search name as TLD unless forbidden.
11236
11237 2011-05-07  Petr Baudis  <pasky@suse.cz>
11238             Ulrich Drepper  <drepper@gmail.com>
11239
11240         [BZ #12393]
11241         * elf/dl-load.c (fillin_rpath): Move trusted path check...
11242         (is_trusted_path): ...to here.
11243         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11244         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11245         using is_trusted_path_normalize() in setuid scripts.
11246
11247 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11248
11249         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11250         __BEGIN/__END_DECLS.
11251
11252 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
11253
11254         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11255         NSS_STATUS_NOTFOUND if no record was found.
11256
11257 2011-05-05  Andreas Schwab  <schwab@redhat.com>
11258
11259         * sunrpc/Makefile (headers): Add rpc/netdb.h.
11260         (headers-not-in-tirpc): Remove rpc/netdb.h
11261         * resolv/netdb.h: Revert last change.
11262
11263 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11264
11265         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11266         circular dependency between libgcc.a and libc.a.
11267
11268 2011-05-05  Andreas Schwab  <schwab@redhat.com>
11269
11270         * resolv/netdb.h: Don't include <rpc/netdb.h>.
11271         * nis/Makefile: Don't install rpcsvc/*.
11272         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11273         instead of <rpc/types.h>.
11274         (MAXHOSTNAMELEN): Define.
11275
11276 2011-05-03  Andreas Schwab  <schwab@redhat.com>
11277
11278         * elf/ldconfig.c (add_dir): Don't crash on empty path.
11279
11280 2011-04-28  Maciej Babinski  <mbabinski@google.com>
11281
11282         [BZ #12714]
11283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11284         gethostbyname4_r when IPv6 results are possible.
11285
11286 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
11287
11288         [BZ #12723]
11289         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11290         _PC_PIPE_BUF handling.
11291
11292 2011-04-30  Bruno Haible  <bruno@clisp.org>
11293
11294         [BZ #12717]
11295         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11296         * resolv/netdb.h (getnameinfo): Change type of flags parameter
11297         to 'int'.
11298         * inet/getnameinfo.c (getnameinfo): Likewise.
11299
11300 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
11301
11302         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11303         to groups setting in database lookup.
11304         * nss/nsswitch.conf: Add initgroups entry.
11305
11306 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
11307
11308         [BZ #12685]
11309         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11310         mode string.
11311         Patch by Eric Blake <eblake@redhat.com>.
11312
11313 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
11314
11315         * sunrpc/Makefile (need-export-routines): Add svc_run.
11316         (routines): Remove svc_run.
11317         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11318         * sunrpc/clnt_perr.c (clnt_perrno): Export.
11319         * sunrpc/svc_run.c (svc_run): Likewise.
11320         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11321
11322 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
11323
11324         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11325         problem in reallocation in last patch.
11326
11327 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
11328
11329         * sunrpc/Makefile: Move inclusion of Rules.
11330
11331 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
11332
11333         * nss/nss_files/files-initgroups.c: New file.
11334         * nss/Makefile (libnss_files-routines): Add files-initgroups.
11335         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11336         _nss_files_initgroups_dyn.
11337
11338 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
11339
11340         * elf/elf.h (R_ARM_IRELATIVE): Define.
11341
11342 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
11343
11344         * po/ru.po: Update from translation team.
11345
11346 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
11347
11348         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11349         dependencies.
11350
11351 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
11352
11353         [BZ #12653]
11354         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11355         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11356         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11357         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11358         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11359
11360 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
11361
11362         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11363         differing bytes.
11364         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11365         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11366         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11367
11368 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
11369
11370         [BZ #12420]
11371         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11372         storing it.
11373         * stdlib/bug-getcontext.c: New file.
11374         * stdlib/Makefile: Add rules to build and run bug-getcontext.
11375
11376 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11377
11378         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11379         instructions into .machine "z9-109".
11380         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11381         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11382
11383 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11384
11385         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11386         between environment variables and auxiliary vector.
11387
11388 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
11389
11390         * Makefile: Add rules to build linkobj/libc.so.
11391         * include/libc-symbols.h: Define libc_hidden_nolink.
11392         * include/rpc/auth.h: Mark functions which are to be hidden.
11393         * include/rpc/auth_des.h: Likewise.
11394         * include/rpc/auth_unix.h: Likewise.
11395         * include/rpc/clnt.h: Likewise.
11396         * include/rpc/des_crypt.h: Likewise.
11397         * include/rpc/key_prot.h: Likewise.
11398         * include/rpc/pmap_clnt.h: Likewise.
11399         * include/rpc/pmap_prot.h: Likewise.
11400         * include/rpc/pmap_rmt.h: Likewise.
11401         * include/rpc/rpc_msg.h: Likewise.
11402         * include/rpc/svc.h: Likewise.
11403         * include/rpc/svc_auth.h: Likewise.
11404         * include/rpc/xdr.h: Likewise.
11405         * nis/Makefile: Link all DSOs against linkobj/libc.so.
11406         * nss/Makefile: Likewise.
11407         * sunrpc/Makefile: Don't install headers.  Build library with normal
11408         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
11409         * sunrpc/auth_des.c: Hide exported symbols by default, export some
11410         for the compat linking library.  Remove use of INTDEF/INTUSE.
11411         * sunrpc/auth_none.c: Likewise.
11412         * sunrpc/auth_unix.c: Likewise.
11413         * sunrpc/authdes_prot.c: Likewise.
11414         * sunrpc/authuxprot.c: Likewise.
11415         * sunrpc/clnt_gen.c: Likewise.
11416         * sunrpc/clnt_perr.c: Likewise.
11417         * sunrpc/clnt_raw.c: Likewise.
11418         * sunrpc/clnt_simp.c: Likewise.
11419         * sunrpc/clnt_tcp.c: Likewise.
11420         * sunrpc/clnt_udp.c: Likewise.
11421         * sunrpc/clnt_unix.c: Likewise.
11422         * sunrpc/des_crypt.c: Likewise.
11423         * sunrpc/des_soft.c: Likewise.
11424         * sunrpc/get_myaddr.c: Likewise.
11425         * sunrpc/key_call.c: Likewise.
11426         * sunrpc/key_prot.c: Likewise.
11427         * sunrpc/netname.c: Likewise.
11428         * sunrpc/pm_getmaps.c: Likewise.
11429         * sunrpc/pm_getport.c: Likewise.
11430         * sunrpc/pmap_clnt.c: Likewise.
11431         * sunrpc/pmap_prot.c: Likewise.
11432         * sunrpc/pmap_prot2.c: Likewise.
11433         * sunrpc/pmap_rmt.c: Likewise.
11434         * sunrpc/publickey.c: Likewise.
11435         * sunrpc/rpc_cmsg.c: Likewise.
11436         * sunrpc/rpc_common.c: Likewise.
11437         * sunrpc/rpc_dtable.c: Likewise.
11438         * sunrpc/rpc_prot.c: Likewise.
11439         * sunrpc/rpc_thread.c: Likewise.
11440         * sunrpc/rtime.c: Likewise.
11441         * sunrpc/svc.c: Likewise.
11442         * sunrpc/svc_auth.c: Likewise.
11443         * sunrpc/svc_authux.c: Likewise.
11444         * sunrpc/svc_raw.c: Likewise.
11445         * sunrpc/svc_run.c: Likewise.
11446         * sunrpc/svc_simple.c: Likewise.
11447         * sunrpc/svc_tcp.c: Likewise.
11448         * sunrpc/svc_udp.c: Likewise.
11449         * sunrpc/svc_unix.c: Likewise.
11450         * sunrpc/svcauth_des.c: Likewise.
11451         * sunrpc/xcrypt.c: Likewise.
11452         * sunrpc/xdr.c: Likewise.
11453         * sunrpc/xdr_array.c: Likewise.
11454         * sunrpc/xdr_float.c: Likewise.
11455         * sunrpc/xdr_intXX_t.c: Likewise.
11456         * sunrpc/xdr_mem.c: Likewise.
11457         * sunrpc/xdr_rec.c: Likewise.
11458         * sunrpc/xdr_ref.c: Likewise.
11459         * sunrpc/xdr_sizeof.c: Likewise.
11460         * sunrpc/xdr_stdio.c: Likewise.
11461
11462 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
11463
11464         [BZ #12650]
11465         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11466         * sysdeps/ia64/dl-tls.h: Likewise.
11467         * sysdeps/powerpc/dl-tls.h: Likewise.
11468         * sysdeps/s390/dl-tls.h: Likewise.
11469         * sysdeps/sh/dl-tls.h: Likewise.
11470         * sysdeps/sparc/dl-tls.h: Likewise.
11471         * sysdeps/x86_64/dl-tls.h: Likewise.
11472         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11473
11474 2011-03-14  Andreas Schwab  <schwab@redhat.com>
11475
11476         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11477         rpath element also skip the following colon.
11478         (expand_dynamic_string_token): Add is_path parameter and pass
11479         down to DL_DST_REQUIRED and _dl_dst_substitute.
11480         (decompose_rpath): Call expand_dynamic_string_token with
11481         non-zero is_path.  Ignore empty rpaths.
11482         (_dl_map_object_from_fd): Call expand_dynamic_string_token
11483         with zero is_path.
11484
11485 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
11486
11487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11488         Make cancelable.
11489
11490 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
11491
11492         [BZ #12655]
11493         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11494         Patch by Filipe David Manana <fdmanana@apache.org>.
11495
11496 2011-04-07  Andreas Schwab  <schwab@redhat.com>
11497
11498         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11499         Maintain aligned stack.
11500         (CHECK_RSP): Remove unused macro.
11501
11502 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
11503
11504         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11505         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11506
11507 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
11508
11509         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11510
11511         * include/features.h: Mention __USE_XOPEN2K8 in comment.
11512
11513 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
11514
11515         [BZ #12518]
11516         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11517         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11518         * sysdeps/x86_64/memmove.c: New file.
11519         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11520         (memcpy): Renamed to ...
11521         (__new_memcpy): This.
11522         (memcpy): Provide GLIBC_2_14 memcpy.
11523         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11524         (memcpy): Provide GLIBC_2_2_5 memcpy.
11525
11526 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11527
11528         [BZ #12631]
11529         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11530
11531 2011-03-30  Andreas Schwab  <schwab@redhat.com>
11532
11533         * misc/syncfs.c: New file.
11534         * misc/Makefile (routines): Add syncfs.
11535         * posix/unistd.h: Declare syncfs.
11536         * sysdeps/unix/syscalls.list: Add syncfs.
11537
11538 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11539
11540         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11541         open_by_handle_at.
11542         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11543         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11544         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11545         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11546         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11547         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11548         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11549
11550 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11551
11552         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11553         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11554         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11555         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11556         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11557         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11558         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11559
11560         * io/Makefile: Compile fallocate.c, fallocate64.c, and
11561         sync_file_range.c with -fexceptions.
11562         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11563         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11564         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11565         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11566         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11567         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11568         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11569         sync_file_range as cancellation point
11570         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
11571         now a wrapper around __call_sync_file_range with cancellation handling.
11572         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11573         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
11574         function name to __call_sync_file_range.
11575         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11576         Add call_sync_file_range.
11577
11578 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11579
11580         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11581         bits/timex.h.
11582
11583 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11584
11585         * iconv/iconv.h: Fix typo in comment.
11586         * io/fcntl.h: Likewise.
11587         * libio/stdio.h: Likewise.
11588         * posix/spawn.h: Likewise.
11589         * posix/unistd.h: Likewise.
11590         * stdlib/stdlib.h: Likewise.
11591         * time/time.h: Likewise.
11592         * wcsmbs/wchar.h: Likewise.
11593
11594         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11595         open_by_handle): Add.
11596         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11597         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
11598         Augment a few comments.
11599         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11600         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11601         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11602         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11603         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11604         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11605         open_by_handle.
11606
11607         * io/fcntl.h (AT_EMPTY_PATH): Define.
11608
11609 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
11610
11611         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11612         * sysdeps/unix/sysv/linux/bits/time.h: New file.
11613         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11614         to...
11615         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
11616         * Versions.def: Add GLIBC_2.14.
11617         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11618         Export.
11619
11620 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
11621
11622         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11623         round counter.
11624         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11625
11626 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11627
11628         [BZ #12597]
11629         * string/test-strncmp.c (do_page_test): New function.
11630         (check2): Likewise.
11631         (test_main): Call check2.
11632         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11633
11634 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
11635
11636         [BZ #12587]
11637         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11638         Handle cache information in CPU leaf 4.
11639         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11640
11641 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
11642
11643         [BZ #12583]
11644         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11645         character representation.
11646         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11647
11648 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
11649
11650         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11651         END(__isnan) to END(__isnanf) to match function entry point/label
11652         EALIGN(__isnanf,...).
11653
11654 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
11655
11656         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11657
11658 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
11659
11660         [BZ #12510]
11661         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11662         copy from the symbol referenced in the relocation to initialize the
11663         used variable.
11664         Patch by Piotr Bury <pbury@goahead.com>.
11665         * elf/Makefile: Add rules to build and tst-unique3.
11666         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11667         * elf/tst-unique3.cc: New file.
11668         * elf/tst-unique3.h: New file.
11669         * elf/tst-unique3lib.cc: New file.
11670         * elf/tst-unique3lib2.cc: New file.
11671
11672         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11673
11674 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
11675
11676         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11677         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
11678         to _start.
11679
11680 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
11681
11682         * elf/dl-load.c (_dl_map_object): If we are looking for the first
11683         to-be-loaded object along a path to loader is ld.so.
11684
11685 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
11686             Ulrich Drepper  <drepper@gmail.com>
11687
11688         * sysdeps/x86_64/memset.S: After aligning destination, code
11689         branches to different locations depending on the value of
11690         misalignment, when multiarch is enabled. Fix this.
11691
11692 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
11693
11694         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11695         Set _x86_64_preferred_memory_instruction for AMD processsors.
11696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11697         Set bit_Prefer_SSE_for_memop for AMD processors.
11698
11699 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
11700
11701         * libio/fmemopen.c (fmemopen): Optimize a bit.
11702
11703 2011-03-03  Andreas Schwab  <schwab@redhat.com>
11704
11705         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11706
11707 2011-03-03  Roland McGrath  <roland@redhat.com>
11708
11709         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11710
11711 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
11712
11713         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11714         __bzero_ultra1 instead of __memset_ultra1.
11715
11716 2011-02-23  Andreas Schwab  <schwab@redhat.com>
11717             Ulrich Drepper  <drepper@gmail.com>
11718
11719         [BZ #12509]
11720         * include/link.h (struct link_map): Add l_orig_initfini.
11721         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11722         returning unsuccessfully.
11723         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11724         close of a file loaded at startup, restore the original l_initfini
11725         list.
11726         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11727         list, store the pointer.
11728         * elf/Makefile ($(objpfx)noload-mem): New rule.
11729         (noload-ENV): Define.
11730         (tests): Add $(objpfx)noload-mem.
11731         * elf/noload.c: Include <memcheck.h>.
11732         (main): Call mtrace.  Close all opened handles.
11733
11734 2011-02-17  Andreas Schwab  <schwab@redhat.com>
11735
11736         [BZ #12454]
11737         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11738         dependencies are missing.
11739
11740 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11741
11742         Fix __if_freereq crash: Unlike the generic version which uses free,
11743         Hurd needs munmap.
11744         * sysdeps/mach/hurd/ifreq.h: New file.
11745
11746 2011-01-27  Petr Baudis  <pasky@suse.cz>
11747             Ulrich Drepper  <drepper@gmail.com>
11748
11749         [BZ 12445]#
11750         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11751         to extend_alloca().
11752         * stdio-common/bug23.c: New file.
11753         * stdio-common/Makefile (tests): Add bug23.
11754
11755 2010-09-28  Andreas Schwab  <schwab@redhat.com>
11756             Ulrich Drepper  <drepper@gmail.com>
11757
11758         [BZ #12489]
11759         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11760         before performing relro protection.  At old place add assertion
11761         to make sure nothing changed.
11762
11763 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
11764             Glauber de Oliveira Costa  <glommer@gmail.com>
11765
11766         * elf/elf.h: Add new ARM TLS relocs.
11767
11768 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
11769
11770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11771         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11772         cast from r3.
11773         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
11774         'tests' variable.
11775         * sysdeps/wordsize-64/tst-writev.c: New file.
11776
11777 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
11778
11779         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11780         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11781         insns in _dl_start to prevent a TOC reference before relocs are
11782         resolved.
11783
11784 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
11785
11786         [BZ #12469]
11787         * Makeconfig: Remove RANLIB definition.
11788         * Makerules: Don't use RANLIB.
11789         * aclocal.m4: Remove ranlib test.
11790         * configure.in: No need to check for ranlib.
11791         * elf/rtld-Rules: Don't use RANLIB.
11792
11793 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11794
11795         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11796         protection macro.
11797         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11798         inclusion protection macro.
11799
11800         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11801         SIGRTMIN and SIGRTMAX and print information in that case only when
11802         SIGRTMIN is defined.
11803
11804 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
11805
11806         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11807         arginfo fn returning -1.
11808
11809         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11810         and thousands string is zero terminated.
11811
11812 2011-02-03  Andreas Schwab  <schwab@redhat.com>
11813
11814         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11815         sysdeps/unix/sysv/linux/bits/socket.h.
11816
11817 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11818
11819         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11820         (__CPU_COUNT): Remove old macros.
11821         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11822         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11823         (__CPU_ALLOC, __CPU_FREE): Add macros.
11824         (__sched_cpualloc, __sched_cpufree): Add declarations.
11825
11826 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
11827
11828         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11829         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11830         * nscd/aicache.c (addhstaiX): Return timeout of added value.
11831         (readdhstai): Return value of addhstaiX call.
11832         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11833         (addgrbyX): Return value returned by cache_addgr.
11834         (readdgrbyname): Return value returned by addgrbyX.
11835         (readdgrbygid): Likewise.
11836         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11837         (addpwbyX): Return value returned by cache_addpw.
11838         (readdpwbyname): Return value returned by addhstbyX.
11839         (readdpwbyuid): Likewise.
11840         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11841         (addservbyX): Return value returned by cache_addserv.
11842         (readdservbyname): Return value returned by addservbyX:
11843         (readdservbyport): Likewise.
11844         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11845         (addhstbyX): Return value returned by cache_addhst.
11846         (readdhstbyname): Return value returned by addhstbyX.
11847         (readdhstbyaddr): Likewise.
11848         (readdhstbynamev6): Likewise.
11849         (readdhstbyaddrv6): Likewise.
11850         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11851         (readdinitgroups): Return value returned by addinitgroupsX.
11852         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11853         (prune_cache): Keep track of timeout value of re-added entries.
11854         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11855         * nscd/nscd.h: Adjust prototypes of readd* functions.
11856
11857 2011-02-04  Roland McGrath  <roland@redhat.com>
11858
11859         * nis/nis_server.c (nis_servstate): Use the right name for 0.
11860         (nis_stats): Likewise.
11861         * nis/nis_modify.c (nis_modify): Likewise.
11862         * nis/nis_remove.c (nis_remove): Likewise.
11863         * nis/nis_add.c (nis_add): Likewise.
11864
11865         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11866
11867         * posix/fnmatch_loop.c: Add some consts.
11868
11869         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11870
11871 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
11872
11873         [BZ #12460]
11874         * config.make.in (config-cflags-novzeroupper): Define.
11875         * configure.in: Substitute libc_cv_cc_novzeroupper.
11876         * elf/Makefile (AVX-CFLAGS): Define.
11877         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11878         (CFLAGS-tst-auditmod4a.c): Likewise.
11879         (CFLAGS-tst-auditmod4b.c): Likewise.
11880         (CFLAGS-tst-auditmod6b.c): Likewise.
11881         (CFLAGS-tst-auditmod6c.c): Likewise.
11882         (CFLAGS-tst-auditmod7b.c): Likewise.
11883         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11884
11885 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
11886
11887         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11888         function to the callback.
11889         Patch partly by Jiri Olsa <jolsa@redhat.com>.
11890
11891 2011-02-02  Andreas Schwab  <schwab@redhat.com>
11892
11893         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11894         of errno.
11895
11896 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
11897
11898         [BZ #11724]
11899         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11900         of constructors.
11901         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11902         of destructors.
11903         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11904
11905         [BZ #11724]
11906         * elf/Makefile: Add rules to build and run new test.
11907         * elf/tst-initorder.c: New file.
11908         * elf/tst-initorder.exp: New file.
11909         * elf/tst-initordera1.c: New file.
11910         * elf/tst-initordera2.c: New file.
11911         * elf/tst-initordera3.c: New file.
11912         * elf/tst-initordera4.c: New file.
11913         * elf/tst-initorderb1.c: New file.
11914         * elf/tst-initorderb2.c: New file.
11915         * elf/tst-order-a1.c: New file.
11916         * elf/tst-order-a2.c: New file.
11917         * elf/tst-order-a3.c: New file.
11918         * elf/tst-order-a4.c: New file.
11919         * elf/tst-order-b1.c: New file.
11920         * elf/tst-order-b2.c: New file.
11921         * elf/tst-order-main.c: New file.
11922         New test case by George Gensure <werkt0@gmail.com>.
11923
11924 2010-10-01  Andreas Schwab  <schwab@redhat.com>
11925
11926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11927         decoding ACE if AI_CANONIDN.
11928
11929 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
11930
11931         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11932
11933 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
11934
11935         * version.h (RELEASE): Bump for 2.13 release.
11936         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11937
11938         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11939
11940         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11941         MADV_NOHUGEPAGE.
11942         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11943         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11944         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11945         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11946         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11947         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11948
11949         * posix/getconf.c: Update copyright year.
11950         * catgets/gencat.c: Likewise.
11951         * csu/version.c: Likewise.
11952         * debug/catchsegv.sh: Likewise.
11953         * debug/xtrace.sh: Likewise.
11954         * elf/ldconfig.c: Likewise.
11955         * elf/ldd.bash.in: Likewise.
11956         * elf/sprof.c (print_version): Likewise.
11957         * iconv/iconv_prog.c: Likewise.
11958         * iconv/iconvconfig.c: Likewise.
11959         * locale/programs/locale.c: Likewise.
11960         * locale/programs/localedef.c: Likewise.
11961         * malloc/memusage.sh: Likewise.
11962         * malloc/mtrace.pl: Likewise.
11963         * nscd/nscd.c (print_version): Likewise.
11964         * nss/getent.c: Likewise.
11965
11966         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11967         PF_CAIF, and PF_ALG.
11968         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11969
11970 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
11971
11972         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11973         (modules-names): Use them.
11974         (ifunc-test-modules, ifunc-pie-tests): Define.
11975         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11976         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11977         (test-extras): Likewise.
11978         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11979         $(compile-command.c).
11980         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11981         (all-built-dso): Define.
11982         (check-textrel.out, check-execstack.out): Depend on it.
11983
11984         * configure.in: Don't override --enable-multi-arch.
11985
11986 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
11987
11988         [BZ #6812]
11989         * nscd/hstcache.c (tryagain): Define.
11990         (cache_addhst): Return tryagain not notfound for temporary errors.
11991         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11992         failed.
11993
11994 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
11995
11996         [BZ #10563]
11997         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11998         to make the syscall.
11999         * sysdeps/unix/sysv/linux/setgroups.c: New file.
12000
12001         [BZ #12378]
12002         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12003         and fall back to matching as normal character if the string ends before
12004         the matching ']' is found.  This is what POSIX requires.
12005         * posix/testfnm.c: Adjust test result.
12006         * posix/globtest.sh: Adjust test result.  Add new test.
12007         * posix/tst-fnmatch.input: Likewise.
12008         * posix/tst-fnmatch2.c: Add new test.
12009
12010 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
12011
12012         * elf/Makefile (check-execstack): Revert last change.  Depend on
12013         check-execstack.h.
12014         (check-execstack.h): New target.
12015         (generated): Add check-execstack.h.
12016         * elf/check-execstack.c: Include "check-execstack.h".
12017         (main): Revert last change.
12018         (handle_file): Return zero if GNU_STACK is absent and
12019         DEFAULT_STACK_PERMS doesn't include PF_X.
12020
12021 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
12022
12023         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12024         in child fails because the descriptor is already closed.
12025         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12026         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12027         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12028
12029         [BZ #12397]
12030         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12031         syscall.
12032
12033         [BZ #10484]
12034         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12035         temporary buffer used to handle multi lookups locally.
12036         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12037
12038 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
12039
12040         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12041         loader is ld.so.
12042
12043 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
12044
12045         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12046         alignment for SSE2.
12047
12048 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
12049
12050         [BZ #12394]
12051         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12052         characters.  When rounding increased number of integer digits recompute
12053         number of groups.
12054         * stdio-common/tst-grouping.c: New file.
12055         * stdio-common/Makefile: Add rules to build and run tst-grouping.
12056
12057 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
12058
12059         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12060         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
12061
12062         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12063         void.
12064         * bits/select.h: Likewise.
12065
12066 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
12067
12068         * po/ja.po: Update from translation team.
12069
12070 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
12071
12072         [BZ #11155]
12073         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12074         implementation just like for lxstat, fxstatat, et al.
12075
12076 2010-12-27  Jim Meyering  <meyering@redhat.com>
12077
12078         [BZ #12348]
12079         * posix/regexec.c (build_trtable): Return failure indication upon
12080         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
12081
12082 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
12083
12084         [BZ #12201]
12085         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12086         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12087         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12088         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12089
12090         [BZ #12207]
12091         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12092
12093         [BZ #12204]
12094         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12095         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12096
12097 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12098
12099         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12100         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12101         script has SORT_BY_INIT_PRIORITY.
12102         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12103         NO_CTORS_DTORS_SECTIONS is defined.
12104         * elf/soinit.c: Likewise.
12105         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12106         NO_CTORS_DTORS_SECTIONS is defined.
12107         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12108         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12109         * sysdeps/sh/init-first.c: Likewise.
12110         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12111
12112 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
12113
12114         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12115         always use the slow path.
12116
12117 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
12118
12119         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12120         similar rule which adds the sysdep directories to the header search in
12121         order to pick up the correct platform stackinfo.h.
12122         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12123         perform test if it is, otherwise return successfully without testing.
12124         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12125         DEFAULT_STACK_PERMS define in stackinfo.h.
12126         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12127         defined in stackinfo.h.
12128         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12129         DEFAULT_STACK_PERMS defined in stackinfo.h.
12130         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12131         * sysdeps/ia64/stackinfo.h: Likewise.
12132         * sysdeps/s390/stackinfo.h: Likewise.
12133         * sysdeps/sh/stackinfo.h: Likewise.
12134         * sysdeps/sparc/stackinfo.h: Likewise.
12135         * sysdeps/x86_64/stackinfo.h: Likewise.
12136         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12137         PF_X for powerpc64.  Retain PF_X for powerpc32.
12138
12139 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
12140
12141         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12142         accurately.
12143         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12144         GETDENTS_64BIT_ALIGNED.
12145
12146 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
12147
12148         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12149
12150 2010-12-10  Andreas Schwab  <schwab@redhat.com>
12151
12152         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12153         _GNU_SOURCE.
12154
12155         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12156         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12157         Remove __restrict.
12158         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12159         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12160
12161 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
12162
12163         [BZ #11655]
12164         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12165         are initialized.
12166
12167 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
12168
12169         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12170
12171 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
12172
12173         * po/it.po: Update from translation team.
12174
12175 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12176
12177         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12178         unused codes.
12179
12180 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
12181
12182         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12183
12184 2010-11-24  Andreas Schwab  <schwab@redhat.com>
12185
12186         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12187         specially.
12188         (gaih_getanswer_slice): Likewise.
12189
12190 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
12191
12192         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12193
12194 2010-05-31  Petr Baudis  <pasky@suse.cz>
12195
12196         [BZ #11149]
12197         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12198         silently even in the chroot mode.
12199
12200 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
12201
12202         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12203         last patch a bit.  Pretty printing
12204
12205 2010-05-31  Petr Baudis <pasky@suse.cz>
12206
12207         [BZ #10085]
12208         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12209         initialization of skip_initgroups_dyn.
12210
12211 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
12212
12213         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12214         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12215
12216 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
12217
12218         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12219
12220 2010-11-11  Andreas Schwab  <schwab@redhat.com>
12221
12222         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12223         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12224         (tst-fnmatch-ENV): Set MALLOC_TRACE.
12225         ($(objpfx)tst-fnmatch-mem): New rule.
12226         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12227         * posix/tst-fnmatch.c (main): Call mtrace.
12228
12229 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
12230
12231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12232         Support Intel processor model 6 and model 0x2c.
12233
12234 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
12235
12236         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12237           signed comparison.
12238
12239 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
12240
12241         [BZ #12205]
12242         * string/test-strncasecmp.c (check_result): New function.
12243         (do_one_test): Use it.
12244         (check1): New function.
12245         (test_main): Use it.
12246         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12247         Support strcasecmp and strncasecmp.
12248
12249 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
12250
12251         [BZ #12194]
12252         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12253         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12254
12255 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12256
12257         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12258         IFUNC support.
12259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12260         memset-x86-64.
12261         * sysdeps/x86_64/multiarch/bzero.S: New file.
12262         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12263         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12264         * sysdeps/x86_64/multiarch/memset.S: New file.
12265         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12266         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12267         Set bit_Prefer_SSE_for_memop for Intel processors.
12268         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12269         Define.
12270         (index_Prefer_SSE_for_memop): Define.
12271         (HAS_PREFER_SSE_FOR_MEMOP): Define.
12272
12273 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
12274
12275         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12276         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12277
12278 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
12279
12280         [BZ #12191]
12281         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12282         (__x86_64_raw_data_cache_size_half): Likewise.
12283         (__x86_64_raw_shared_cache_size): Likewise.
12284         (__x86_64_raw_shared_cache_size_half): Likewise.
12285
12286         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12287         (__x86_64_raw_data_cache_size_half): Likewise.
12288         (__x86_64_raw_shared_cache_size): Likewise.
12289         (__x86_64_raw_shared_cache_size_half): Likewise.
12290         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12291         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12292         and __x86_64_raw_shared_cache_size_half.  Round
12293         __x86_64_data_cache_size_half, __x86_64_data_cache_size
12294         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12295         to multiple of 256 bytes.
12296
12297 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
12298
12299         [BZ #12167]
12300         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12301         of inacessible symlinks.  Verify result of symlink before returning it.
12302         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12303         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12304
12305 2010-10-28  Erich Ritz  <erichritz@gmail.com>
12306
12307         * math/math.h (isinf): Fix typo in comment.
12308
12309 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
12310
12311         * po/da.po: Update from translation team.
12312
12313 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
12314
12315         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12316         is added to the list.
12317
12318 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12319             Ulrich Drepper  <drepper@gmail.com>
12320
12321         * elf/dl-object.c (_dl_new_object): Don't append the new object to
12322         the global list here.  Move code to...
12323         (_dl_add_to_namespace_list): ...here.  New function.
12324         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12325         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12326         * elf/dl-load.c (lose): Don't remove the element from the list.
12327         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12328         (_dl_map_object): Likewise.
12329
12330 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
12331
12332         [BZ #12159]
12333         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12334         into all bytes of SSE register.
12335         Patch by Richard Li <richardpku@gmail.com>.
12336
12337 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
12338
12339         [BZ #12140]
12340         * malloc/malloc.c (_int_free): Fill correct number of bytes when
12341         perturbing.
12342
12343 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
12344
12345         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12346         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12347         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12348         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12350         submachine.
12351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12352
12353 2010-10-22  Andreas Schwab  <schwab@redhat.com>
12354
12355         * include/dlfcn.h (__RTLD_SECURE): Define.
12356         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
12357         mode & __RTLD_SECURE instead.
12358         (open_path): Rename preloaded parameter to secure.
12359         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12360         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12361         * elf/dl-deps.c (openaux): Likewise.
12362         * elf/rtld.c (struct map_args): Remove is_preloaded.
12363         (map_doit): Don't use it.
12364         (dl_main): Likewise.
12365         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12366         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12367
12368 2010-09-09  Andreas Schwab  <schwab@redhat.com>
12369
12370         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12371         (sysd-rules-targets): Remove duplicates.
12372         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12373         rtld-%.$o dependency.
12374
12375 2010-10-18  Andreas Schwab  <schwab@redhat.com>
12376
12377         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12378         _dl_map_object do it.
12379
12380 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
12381
12382         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12383         fast fma builtins, define the macros in the C99 standard.
12384         (FP_FAST_FMAF): Likewise.
12385         (FP_FAST_FMAL): Likewise.
12386         * sysdeps/x86_64/bits/mathdef.h: Likewise.
12387
12388         * bits/mathdef.h: Update copyright year.
12389         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12390
12391 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
12392
12393         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12394         builtins, define the macros in the C99 standard.
12395         (FP_FAST_FMAF): Likewise.
12396         (FP_FAST_FMAL): Likewise.
12397         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12398         multiply/add.
12399         (FP_FAST_FMAF): Likewise.
12400
12401 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
12402
12403         [BZ #3268]
12404         * math/libm-test.inc (fma_test): Some new testcases.
12405         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12406         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12407         y and infinite z.  Do multiplication by C already in long double.
12408         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12410         y and infinite z.  Do bitwise or of inexact bit into u.d.
12411         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12412         * sysdeps/i386/fpu/s_fmaf.S: Removed.
12413         * sysdeps/i386/fpu/s_fma.S: Removed.
12414         * sysdeps/i386/fpu/s_fmal.S: Removed.
12415
12416 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
12417
12418         [BZ #3268]
12419         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12420         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12421         computation is not scheduled after fetestexcept.  Fix value
12422         of minimum denormal long double.
12423
12424 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
12425
12426         [BZ #3268]
12427         * math/libm-test.inc (fma_test): Add some more tests.
12428         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12429         correctly.
12430
12431 2010-10-15  Andreas Schwab  <schwab@redhat.com>
12432
12433         * scripts/data/localplt-s390-linux-gnu.data: New file.
12434         * scripts/data/localplt-s390x-linux-gnu.data: New file.
12435
12436 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
12437
12438         [BZ #3268]
12439         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12440         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12441         instead of dbl-64.
12442         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12443         inlines.
12444         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12446         if one of x and y is very large and the other is subnormal.
12447         * sysdeps/s390/fpu/s_fmaf.c: New file.
12448         * sysdeps/s390/fpu/s_fma.c: New file.
12449         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12450         * sysdeps/powerpc/fpu/s_fma.S: New file.
12451         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12452         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12453         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12454
12455 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
12456
12457         [BZ #3268]
12458         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12459         fma tests.
12460         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12461         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12462         * sysdeps/i386/i686/multiarch/s_fma.c: Include
12463         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12464         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12465         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12466         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12467
12468 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
12469
12470         [BZ #12078]
12471         * posix/regcomp.c (parse_branch): One more memory leak plugged.
12472         * posix/bug-regex31.input: Add test case.
12473
12474 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
12475
12476         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12477         * posix/bug-regex31.input: New file.
12478
12479         [BZ #12078]
12480         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12481         (parse_sub_exp): Fix last change, use postorder.
12482
12483         * posix/bug-regex31.c: New file.
12484         * posix/Makefile: Add rules to build and run bug-regex31.
12485
12486         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12487
12488         [BZ #12078]
12489         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12490
12491         [BZ #12108]
12492         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12493         to have entries in sys_siglist.
12494
12495         [BZ #12093]
12496         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12497         be NULL.
12498
12499 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
12500
12501         [BZ #3268]
12502         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12503         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12504         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12505         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12506         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12507         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12508         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12509         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12510         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12511         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12512         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12513         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12514         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12515         * math/ftestexcept.c (fetestexcept): Likewise.
12516         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12517         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12518         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12519         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12520         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12521         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12522         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12523
12524 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
12525
12526         [BZ #12107]
12527         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12528         newline.
12529
12530 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
12531
12532         * string/bug-strstr1.c: New file.
12533         * string/Makefile: Add rules to build and run bug-strstr1.
12534
12535 2010-10-05  Eric Blake  <eblake@redhat.com>
12536
12537         [BZ #12092]
12538         * string/str-two-way.h (two_way_long_needle): Always clear memory
12539         when skipping input due to the shift table.
12540
12541 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
12542
12543         [BZ #12005]
12544         * malloc/mcheck.c: Handle large requests.
12545
12546         [BZ #12077]
12547         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12548         for strncmp and strncasecmp.
12549         * string/stratcliff.c: Add tests for strcmp and strncmp.
12550         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12551
12552 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12553
12554         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12555         __set_fpscr.
12556
12557 2010-09-30  Andreas Jaeger  <aj@suse.de>
12558
12559         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12560         (CGROUP_SUPER_MAGIC): Define.
12561         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12562         Handle btrfs and cgroup file systems.
12563         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12564         Likewise.
12565
12566 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
12567
12568         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12569         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12570
12571 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12572
12573         [BZ #12067]
12574         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12575         trying to locate the ELF header.
12576
12577 2010-09-27  Andreas Schwab  <schwab@redhat.com>
12578
12579         [BZ #11611]
12580         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12581         Mask out sign-bit copies when constructing f_fsid.
12582
12583 2010-09-24  Petr Baudis <pasky@suse.cz>
12584
12585         * debug/stack_chk_fail_local.c: Add missing licence exception.
12586         * debug/warning-nop.c: Likewise.
12587
12588 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
12589
12590         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12591         implementing getdents64 using getdents syscall, set d_type if
12592         __ASSUME_GETDENTS32_D_TYPE.
12593
12594 2010-09-16  Andreas Schwab  <schwab@redhat.com>
12595
12596         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12597         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12598
12599 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
12600
12601         [BZ #12037]
12602         * posix/unistd.h: Undo change of feature selection for ftruncate from
12603         2010-01-11.
12604
12605 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
12606
12607         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12608         detection.
12609
12610 2010-09-20  Andreas Schwab  <schwab@redhat.com>
12611
12612         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12613         fanotify_mark.
12614         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12615
12616 2010-09-14  Andreas Schwab  <schwab@redhat.com>
12617
12618         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12619         variables after CHECK_SP call.
12620         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12621
12622 2010-09-13  Andreas Schwab  <schwab@redhat.com>
12623             Ulrich Drepper  <drepper@redhat.com>
12624
12625         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12626         re-relocationg ld.so.
12627         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12628         _dl_init_paths call.
12629         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
12630         here anymore.
12631
12632 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
12633
12634         * resolv/res_init.c (__res_vinit): Count the default server we added.
12635
12636 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
12637             Ulrich Drepper  <drepper@redhat.com>
12638
12639         [BZ #11968]
12640         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12641         (____longjmp_chk): Use %ebx for saving value across system call.
12642         Add unwind info.
12643
12644 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12645
12646         * manual/Makefile: Don't mix pattern rules with normal rules.
12647
12648 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12649
12650         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12651         operation.
12652         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12653         * libio/iofopncook.c (_IO_cookie_init): Likewise.
12654         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12655         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12656         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12657         Likewise.
12658
12659 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
12660
12661         [BZ #11979]
12662         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12663         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12664
12665 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
12666
12667         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12668         * sysdeps/x86_64/addmul_1.S: Likewise.
12669         * sysdeps/x86_64/lshift.S: Likewise.
12670         * sysdeps/x86_64/mul_1.S: Likewise.
12671         * sysdeps/x86_64/rshift.S: Likewise.
12672         * sysdeps/x86_64/sub_n.S: Likewise.
12673         * sysdeps/x86_64/submul_1.S: Likewise.
12674
12675 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12676
12677         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12678         Define __sched_param instead of SCHED_* and sched_param when
12679         <bits/sched.h> is included with __need_schedparam defined.
12680         * bits/sched.h [__need_schedparam]
12681         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12682         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12683         (__defined_schedparam): Define to 1.
12684         (__sched_param): New structure, identical to sched_param.
12685         (__need_schedparam): Undefine.
12686
12687 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
12688
12689         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12690         (epoll_create1): Declare.
12691
12692         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12693
12694 2010-08-31  Andreas Schwab  <schwab@redhat.com>
12695
12696         [BZ #7066]
12697         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12698         shifting retval into place.
12699
12700 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
12701
12702         * nis/rpcsvc/nis.h: Update copyright notice.
12703         * nis/rpcsvc/nis.x: Likewise.
12704         * nis/rpcsvc/nis_callback.h: Likewise.
12705         * nis/rpcsvc/nis_callback.x: Likewise.
12706         * nis/rpcsvc/nis_object.x: Likewise.
12707         * nis/rpcsvc/nis_tags.h: Likewise.
12708         * nis/rpcsvc/yp.h: Likewise.
12709         * nis/rpcsvc/yp.x: Likewise.
12710         * nis/rpcsvc/ypupd.h: Likewise.
12711         * nis/yp_xdr.c: Likewise.
12712         * nis/ypupdate_xdr.c: Likewise.
12713
12714         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
12715         mainly the body of pmap_getport.  Add parameters to specify timeouts.
12716         (pmap_getport): Use __libc_rpc_getport.
12717         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12718         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12719         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12720
12721 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
12722
12723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12724         fanotify_mark.
12725
12726 2010-08-27  Roland McGrath  <roland@redhat.com>
12727
12728         * sysdeps/i386/i686/multiarch/Makefile
12729         (CFLAGS-varshift.c): New variable.
12730
12731 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
12732
12733         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12734         * sysdeps/i386/i686/multiarch/varshift.c: New file.
12735
12736         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12737
12738         * sysdeps/x86_64/strlen.S: Minimal code improvement.
12739
12740 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12741
12742         * sysdeps/x86_64/strlen.S: Unroll the loop.
12743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12744         strlen-sse2 strlen-sse2-bsf.
12745         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12746         __strlen_no_bsf if bit_Slow_BSF is set.
12747         (__strlen_sse42): Removed.
12748         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12749         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12750
12751 2010-08-25  Roland McGrath  <roland@redhat.com>
12752
12753         * sysdeps/x86_64/multiarch/varshift.S: File removed.
12754         * sysdeps/x86_64/multiarch/varshift.c: New file.
12755         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12756         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12757         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12758         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12759
12760 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12761
12762         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12763         strlen-sse2 strlen-sse2-bsf.
12764         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12765         __strlen_sse2_bsf if bit_Slow_BSF is unset.
12766         (__strlen_sse2): Removed.
12767         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12768         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12770         bit_Slow_BSF for Atom.
12771         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12772         (index_Slow_BSF): Define.
12773         (HAS_SLOW_BSF): Define.
12774
12775 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
12776
12777         [BZ #10851]
12778         * resolv/res_init.c (__res_vinit): When no server address at all
12779         is given default to loopback.
12780
12781 2010-08-24  Roland McGrath  <roland@redhat.com>
12782
12783         * configure.in: Remove config-name.h generation.
12784         * configure: Regenerated.
12785         * config-name.in: File removed.
12786         * scripts/config-uname.sh: New file.
12787         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12788         ($(objdir)config-name.h): New target.
12789
12790         * sunrpc/rpc_parse.h: Avoid nested comment.
12791
12792 2010-08-24  Richard Henderson  <rth@redhat.com>
12793             Ulrich Drepper  <drepper@redhat.com>
12794             H.J. Lu  <hongjiu.lu@intel.com>
12795
12796         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12797         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12798         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12799         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
12800         _mm_alignr_epi8 with _mm_loadu_si128.
12801         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12802         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12803         (__m128i_shift_right): Removed.
12804         * sysdeps/i386/i686/multiarch/varshift.h: New file.
12805         * sysdeps/i386/i686/multiarch/varshift.S: New file.
12806         * sysdeps/x86_64/multiarch/varshift.h: New file.
12807         * sysdeps/x86_64/multiarch/varshift.S: New file.
12808
12809 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
12810
12811         * configure.in: Move assembler checks to before sysdep dir checking.
12812
12813 2010-08-20  Petr Baudis  <pasky@suse.cz>
12814
12815         * LICENSES: Sync the sunrpc license.
12816
12817 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
12818
12819         * sunrpc/auth_des.c: Update copyright notice once again.
12820         * sunrpc/auth_none.c: Likewise.
12821         * sunrpc/auth_unix.c: Likewise.
12822         * sunrpc/authdes_prot.c: Likewise.
12823         * sunrpc/authuxprot.c: Likewise.
12824         * sunrpc/bindrsvprt.c: Likewise.
12825         * sunrpc/clnt_gen.c: Likewise.
12826         * sunrpc/clnt_perr.c: Likewise.
12827         * sunrpc/clnt_raw.c: Likewise.
12828         * sunrpc/clnt_simp.c: Likewise.
12829         * sunrpc/clnt_tcp.c: Likewise.
12830         * sunrpc/clnt_udp.c: Likewise.
12831         * sunrpc/clnt_unix.c: Likewise.
12832         * sunrpc/des_crypt.c: Likewise.
12833         * sunrpc/des_soft.c: Likewise.
12834         * sunrpc/get_myaddr.c: Likewise.
12835         * sunrpc/getrpcport.c: Likewise.
12836         * sunrpc/key_call.c: Likewise.
12837         * sunrpc/key_prot.c: Likewise.
12838         * sunrpc/openchild.c: Likewise.
12839         * sunrpc/pm_getmaps.c: Likewise.
12840         * sunrpc/pm_getport.c: Likewise.
12841         * sunrpc/pmap_clnt.c: Likewise.
12842         * sunrpc/pmap_prot.c: Likewise.
12843         * sunrpc/pmap_prot2.c: Likewise.
12844         * sunrpc/pmap_rmt.c: Likewise.
12845         * sunrpc/rpc/auth.h: Likewise.
12846         * sunrpc/rpc/auth_unix.h: Likewise.
12847         * sunrpc/rpc/clnt.h: Likewise.
12848         * sunrpc/rpc/des_crypt.h: Likewise.
12849         * sunrpc/rpc/key_prot.h: Likewise.
12850         * sunrpc/rpc/netdb.h: Likewise.
12851         * sunrpc/rpc/pmap_clnt.h: Likewise.
12852         * sunrpc/rpc/pmap_prot.h: Likewise.
12853         * sunrpc/rpc/pmap_rmt.h: Likewise.
12854         * sunrpc/rpc/rpc.h: Likewise.
12855         * sunrpc/rpc/rpc_des.h: Likewise.
12856         * sunrpc/rpc/rpc_msg.h: Likewise.
12857         * sunrpc/rpc/svc.h: Likewise.
12858         * sunrpc/rpc/svc_auth.h: Likewise.
12859         * sunrpc/rpc/types.h: Likewise.
12860         * sunrpc/rpc/xdr.h: Likewise.
12861         * sunrpc/rpc_clntout.c: Likewise.
12862         * sunrpc/rpc_cmsg.c: Likewise.
12863         * sunrpc/rpc_common.c: Likewise.
12864         * sunrpc/rpc_cout.c: Likewise.
12865         * sunrpc/rpc_dtable.c: Likewise.
12866         * sunrpc/rpc_hout.c: Likewise.
12867         * sunrpc/rpc_main.c: Likewise.
12868         * sunrpc/rpc_parse.c: Likewise.
12869         * sunrpc/rpc_parse.h: Likewise.
12870         * sunrpc/rpc_prot.c: Likewise.
12871         * sunrpc/rpc_sample.c: Likewise.
12872         * sunrpc/rpc_scan.c: Likewise.
12873         * sunrpc/rpc_scan.h: Likewise.
12874         * sunrpc/rpc_svcout.c: Likewise.
12875         * sunrpc/rpc_tblout.c: Likewise.
12876         * sunrpc/rpc_util.c: Likewise.
12877         * sunrpc/rpc_util.h: Likewise.
12878         * sunrpc/rpcinfo.c: Likewise.
12879         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12880         * sunrpc/rpcsvc/key_prot.x: Likewise.
12881         * sunrpc/rpcsvc/klm_prot.x: Likewise.
12882         * sunrpc/rpcsvc/mount.x: Likewise.
12883         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12884         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12885         * sunrpc/rpcsvc/rex.x: Likewise.
12886         * sunrpc/rpcsvc/rstat.x: Likewise.
12887         * sunrpc/rpcsvc/rusers.x: Likewise.
12888         * sunrpc/rpcsvc/sm_inter.x: Likewise.
12889         * sunrpc/rpcsvc/spray.x: Likewise.
12890         * sunrpc/rpcsvc/yppasswd.x: Likewise.
12891         * sunrpc/rtime.c: Likewise.
12892         * sunrpc/svc.c: Likewise.
12893         * sunrpc/svc_auth.c: Likewise.
12894         * sunrpc/svc_authux.c: Likewise.
12895         * sunrpc/svc_raw.c: Likewise.
12896         * sunrpc/svc_run.c: Likewise.
12897         * sunrpc/svc_simple.c: Likewise.
12898         * sunrpc/svc_tcp.c: Likewise.
12899         * sunrpc/svc_udp.c: Likewise.
12900         * sunrpc/svc_unix.c: Likewise.
12901         * sunrpc/svcauth_des.c: Likewise.
12902         * sunrpc/xcrypt.c: Likewise.
12903         * sunrpc/xdr.c: Likewise.
12904         * sunrpc/xdr_array.c: Likewise.
12905         * sunrpc/xdr_float.c: Likewise.
12906         * sunrpc/xdr_mem.c: Likewise.
12907         * sunrpc/xdr_rec.c: Likewise.
12908         * sunrpc/xdr_ref.c: Likewise.
12909         * sunrpc/xdr_sizeof.c: Likewise.
12910         * sunrpc/xdr_stdio.c: Likewise.
12911
12912         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12913         handling.
12914
12915 2010-08-19  Andreas Schwab  <schwab@redhat.com>
12916
12917         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12918
12919 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
12920
12921         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12922         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12923         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12924         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12925         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12926         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12927         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12928         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12929         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12930         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12931         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12932         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12933         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12934         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12935
12936 2010-07-26  Anton Blanchard  <anton@samba.org>
12937
12938         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12939         * malloc/arena.c (heap_trim): Likewise.
12940
12941 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
12942
12943         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12944         here.  Not...
12945         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12946         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12947
12948 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12949
12950         * sysdeps/i386/elf/Makefile: New file.
12951
12952 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
12953
12954         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12955         from fanotify_init.
12956         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12957         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12958
12959 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
12960
12961         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12962         of strncasecmp_l.
12963         * sysdeps/multiarch/strcmp.S: Likewise.
12964
12965 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
12966
12967         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12968         strncase_l-nonascii.
12969         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12970         Add strncase_l-ssse3.
12971         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12972         * sysdeps/x86_64/strcmp.S: Likewise.
12973         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12974         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12975         * sysdeps/x86_64/strncase.S: New file.
12976         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12977         * sysdeps/x86_64/strncase_l.S: New file.
12978         * string/Makefile (strop-tests): Add strncasecmp.
12979         * string/test-strncasecmp.c: New file.
12980
12981         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12982         warning.
12983
12984         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12985         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12986
12987 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
12988
12989         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12990
12991 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
12992
12993         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12994         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12995         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12996
12997 2010-05-01  Alan Modra  <amodra@gmail.com>
12998
12999         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13000         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13001         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13002         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13003         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13004         tidying.  Don't tail-call __sigjmp_save for static lib.
13005         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13006         save location.
13007         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13008         (CALL_MCOUNT): Add eh info, and nop after bl.
13009         (TAIL_CALL_SYSCALL_ERROR): New macro.
13010         (PSEUDO_RET): Use it.
13011         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13012         Correct save location of integer regs and cr.
13013         (_dl_profile_resolve): Correct cr save location.  Delete nops
13014         after bl when SHARED.  Reduce cfi size a little by better
13015         placement of cfi directives.
13016         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13017         make a stack frame.  Instead use parm save area as a temp.
13018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13019         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
13020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13021         Don't make a stack frame for parent, use parm save area.
13022         Increase child stack frame to 112 bytes.  Don't save unused reg,
13023         and adjust reg usage.  Set up cfi on error recovery and
13024         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13026         (__makecontext): Add dummy nop after jump to exit.
13027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13028         Use correct parm save area and cr save, reduce stack frame.
13029         Correct cfi for possible PSEUDO_RET frame setup.
13030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13031         Branch to local label emitted by PSEUDO_RET rather than
13032         __syscall_error.
13033
13034 2010-08-12  Andreas Schwab  <schwab@redhat.com>
13035
13036         [BZ #11904]
13037         * locale/programs/locale.c (print_assignment): New function.
13038         (show_locale_vars): Use it.
13039
13040 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
13041
13042         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13043         field.
13044         (struct statfs64): Likewise.
13045         (_STATFS_F_FLAGS): Define.
13046         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13047         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13048         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13049         (ST_VALID): Define locally.
13050         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13051         __statvfs_getflags, use the provided value.
13052         * sysdeps/unix/sysv/linux/kernel-features.h: Define
13053         __ASSUME_STATFS_F_FLAGS.
13054
13055         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13056
13057         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13058         Add sys/fanotify.h.
13059         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13060         fanotify_mask for GLIBC_2.13.
13061         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13062         fanotify_init and fanotify_mark.
13063         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13064         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13065
13066         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13067         Add prlimit.
13068         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13069         prlimit64 for GLIBC_2.13.
13070         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13071         prlimit64.
13072         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13073         syscall.
13074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13075         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13076         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13077         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13078         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
13079         add prlimit alias.
13080         * sysdeps/unix/sysv/linux/prlimit.c: New file.
13081
13082         [BZ #11903]
13083         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13084         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13085
13086         * nss/Makefile: Add rules to build and run tst-nss-test1.
13087         * shlib-versions: Add entry for libnss_test1.
13088         * nss/nss_test1.c: New file.
13089         * nss/tst-nss-test1.c: New file.
13090
13091         * nss/nsswitch.c (__nss_database_custom): Define new variable.
13092         (__nss_configure_lookup): Set appropriate entry in
13093         __nss_configure_lookup to true.
13094         * nss/nsswitch.h: Define enum with indeces of databases in
13095         databases and __nss_database_custom arrays.  Declare
13096         __nss_database_custom.
13097         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13098         to avoid using nscd when custom rules are installed.
13099         * nss/getXXbyYY_r.c: Likewise.
13100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13101
13102         * nss/nss_files/files-parse.c: Whitespace fixes.
13103
13104 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
13105
13106         [BZ #11883]
13107         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13108         * posix/fnmatch_loop.c: Likewise.
13109
13110 2010-07-17  Andi Kleen  <ak@linux.intel.com>
13111
13112         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13113         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13114         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13115         * Versions.def [GLIBC_2.13]: Add.
13116
13117 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
13118
13119         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13120         Also fail if tpwd after pwuid call is NULL.
13121
13122 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13123
13124         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13125         when converting to ms.
13126
13127 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13128
13129         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13130         EOPNOTSUPP errors with ENOTTY.
13131         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13132         EOPNOTSUPP errors with ENOTTY.
13133
13134 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
13135
13136         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13137         Add strcasecmp_l-ssse3.
13138         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13139         strcasecmp.
13140         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13141         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13142         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13143
13144 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
13145
13146         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13147
13148         * string/Makefile (strop-tests): Add strcasecmp.
13149         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13150         strcasecmp_l-nonascii.
13151         (gen-as-const-headers): Add locale-defines.sym.
13152         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13153         * sysdeps/x86_64/strcasecmp.S: New file.
13154         * sysdeps/x86_64/strcasecmp_l.S: New file.
13155         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13156         * sysdeps/x86_64/locale-defines.sym: New file.
13157         * string/test-strcasecmp.c: New file.
13158
13159         * string/test-strcasestr.c: Test both ends of the range of characters.
13160         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13161
13162 2010-07-29  Roland McGrath  <roland@redhat.com>
13163
13164         [BZ #11856]
13165         * manual/locale.texi (Yes-or-No Questions): Fix example code.
13166
13167 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
13168
13169         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13170         for ld.so.
13171
13172 2010-07-27  Andreas Schwab  <schwab@redhat.com>
13173
13174         * manual/memory.texi (Malloc Tunable Parameters): Document
13175         M_PERTURB.
13176
13177 2010-07-26  Roland McGrath  <roland@redhat.com>
13178
13179         [BZ #11840]
13180         * configure.in (-fgnu89-inline check): Set and substitute
13181         gnu89_inline, not libc_cv_gnu89_inline.
13182         * configure: Regenerated.
13183         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13184
13185 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
13186
13187         * string/test-strnlen.c: New file.
13188         * string/Makefile (strop-tests): Add strnlen.
13189         * string/tester.c (test_strnlen): Add a few more test cases.
13190         * string/tst-strlen.c: Better error reporting.
13191
13192         * sysdeps/x86_64/strnlen.S: New file.
13193
13194 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
13195
13196         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13197         lower-latency instructions.
13198
13199 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
13200
13201         * string/test-strcasestr.c: New file.
13202         * string/test-strstr.c: New file.
13203         * string/Makefile (strop-tests): Add strstr and strcasestr.
13204         * string/str-two-way.h: Don't undefine MAX.
13205         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13206
13207 2010-07-21  Andreas Schwab  <schwab@redhat.com>
13208
13209         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13210         strcasestr-nonascii.
13211         (CFLAGS-strcasestr-nonascii.c): Define.
13212         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13213         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13214         Remove unused attribute.
13215
13216 2010-07-20  Roland McGrath  <roland@redhat.com>
13217
13218         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13219         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
13220         ld.so.cache was broken.  With it, there is no way to disable dsocaps
13221         like LD_HWCAP_MASK can disable hwcaps.
13222
13223 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
13224
13225         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13226
13227 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
13228
13229         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13230         call in strcasestr.
13231         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13232         __strcasestr_sse42_nonascii.
13233         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13234         strcasestr-nonascii.c.
13235         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13236
13237 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
13238
13239         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13240         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13241         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13242         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13243
13244 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
13245
13246         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13247         fcntl.
13248
13249 2010-07-06  Andreas Schwab  <schwab@redhat.com>
13250
13251         [BZ #11577]
13252         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13253         dl_signal_cerror.
13254
13255 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
13256
13257         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13258         _PC_PIPE_BUF using F_GETPIPE_SZ.
13259
13260 2010-07-05  Roland McGrath  <roland@redhat.com>
13261
13262         * manual/arith.texi (Rounding Functions): Fix rint description
13263         implicit in round description.
13264
13265 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
13266
13267         * elf/Makefile: Fix linking for a few tests to make recent linker
13268         happy.
13269
13270 2010-06-30  Andreas Schwab  <schwab@redhat.com>
13271
13272         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13273         $(common-objpfx)libc_nonshared.a.
13274
13275 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
13276
13277         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13278         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13279         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13280         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13281         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13282         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13283         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13284         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13299         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13300         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13301         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13302         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13303         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13304         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13305         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13306         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13307         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13308         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13309         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13310         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13325
13326 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13327
13328         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13329         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
13330         * string/memmove.c (memmove): Renamed to ...
13331         (MEMMOVE): ...this.  Default to memmove.
13332         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13333         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13334         (END_CHK): Define.
13335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13336         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13337         mempcpy-ssse3-back memmove-ssse3-back.
13338         * sysdeps/x86_64/multiarch/bcopy.S: New file .
13339         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13340         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13341         * sysdeps/x86_64/multiarch/memcpy.S: New file.
13342         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13343         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13344         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13345         * sysdeps/x86_64/multiarch/memmove.c: New file.
13346         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13347         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13348         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13349         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13350         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13351         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13352         Define.
13353         (index_Fast_Copy_Backward): Define.
13354         (HAS_ARCH_FEATURE): Define.
13355         (HAS_FAST_REP_STRING): Define.
13356         (HAS_FAST_COPY_BACKWARD): Define.
13357
13358 2010-06-21  Andreas Schwab  <schwab@redhat.com>
13359
13360         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13361         Restore proper fallback handling.
13362
13363 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
13364
13365         [BZ #11701]
13366         * posix/group_member.c (__group_member): Correct checking loop.
13367
13368         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13369         OOM in getpwuid_r correctly.  Return error number when the caller
13370         should return, otherwise -1.
13371         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13372         call returning > 0 value.
13373         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13374
13375 2010-06-07  Andreas Schwab  <schwab@redhat.com>
13376
13377         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13378         libc_nonshared.a from targets in modules-names.
13379
13380 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
13381
13382         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13383         requires it.
13384
13385 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
13386
13387         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13388         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13389         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13390         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13391
13392 2010-06-02  Andreas Schwab  <schwab@redhat.com>
13393
13394         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13395
13396 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
13397
13398         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13399         and F_GETPIPE_SZ.
13400         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13401         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13402         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13403         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13404         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13405         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13406
13407 2010-06-14  Roland McGrath  <roland@redhat.com>
13408
13409         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13410
13411 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
13412
13413         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13414         __REDIRECT followed by __THROW.
13415         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13416         * posix/getopt.h (getopt): Likewise.
13417
13418 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
13419
13420         * hurd/lookup-at.c (__file_name_lookup_at): Accept
13421         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
13422         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13423         in AT_FLAGS.
13424         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13425         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13426
13427 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
13428
13429         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13430
13431 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
13432
13433         [BZ #11640]
13434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13435         Properly check family and model.
13436
13437 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
13438
13439         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13440
13441 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
13442
13443         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13444
13445 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
13446
13447         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13448         symbol reference.
13449
13450 2010-05-19  Andreas Schwab  <schwab@redhat.com>
13451
13452         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13453         symbol reference.
13454
13455 2010-05-21  Andreas Schwab  <schwab@redhat.com>
13456
13457         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13458         and internal_recvmmsg.
13459         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13460         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13461         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13462         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13463
13464         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13465         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13466         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13467
13468 2010-05-20  Andreas Schwab  <schwab@redhat.com>
13469
13470         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13471
13472 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
13473
13474         POWER7 optimizations.
13475         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13476         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13477
13478 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
13479
13480         * version.h: Update for 2.13 development version.
13481
13482 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
13483
13484         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13485         exceptions.  Return 0.
13486
13487 2010-05-07  Roland McGrath  <roland@redhat.com>
13488
13489         * elf/ldconfig.c (main): Add a const.
13490
13491 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
13492
13493         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13494         (args_options): Add no-idn option.
13495         (ahosts_keys_int): Add idn_flags to ai_flags.
13496         (parse_option): Handle 'i' option to clear idn_flags.
13497
13498         * malloc/malloc.c (_int_free): Possible race in the most recently
13499         added check.  Only act on the data if no current modification
13500         happened.
13501
13502 See ChangeLog.17 for earlier changes.