conformtest: Update expectations for more ISO C headers.
[platform/upstream/glibc.git] / ChangeLog
1 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
2
3         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
4         == 0.
5         (LC_ALL): Use macro-int-constant.
6         (LC_COLLATE): Likewise.
7         (LC_CTYPE): Likewise.
8         (LC_MESSAGES): Likewise.
9         (LC_MONETARY): Likewise.
10         (LC_NUMERIC): Likewise.
11         (LC_TIME): Likewise.
12         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
16         Specify type.
17         [C99-based standards] (float_t): Expect type.
18         [C99-based standards] (double_t): Expect type.
19         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
20         type.
21         [C99-based standards] (HUGE_VALL): Likewise.
22         [C99-based standards] (INFINITY): Likewise.
23         [C99-based standards] (NAN): Likewise.
24         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25         [C99-based standards] (FP_NAN): Likewise.
26         [C99-based standards] (FP_NORMAL): Likewise.
27         [C99-based standards] (FP_SUBNORMAL): Likewise.
28         [C99-based standards] (FP_ZERO): Likewise.
29         [C99-based standards] (FP_FAST_FMA): Use
30         optional-macro-int-constant.  Specify type.  Require == 1.
31         [C99-based standards] (FP_FAST_FMAF): Likewise.
32         [C99-based standards] (FP_FAST_FMAL): Likewise.
33         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34         [C99-based standards] (FP_ILOGBNAN): Likewise.
35         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36         Specify type.
37         [C99-based standards] (MATH_ERREXCEPT): Likewise.
38         [C99-based standards] (math_errhandling): Specify type.
39         [ISO99 || ISO11] (signgam): Do not allow.
40         [non-C99-based standards] (copysignf): Do not allow.
41         [non-C99-based standards] (exp2f): Likewise.
42         [non-C99-based standards] (log2f): Likewise.
43         [non-C99-based standards] (modff): Allow.
44         [non-C99-based standards] (erff): Do not allow.
45         [non-C99-based standards] (erfcf): Likewise.
46         [non-C99-based standards] (gammaf): Likewise.
47         [non-C99-based standards] (hypotf): Likewise.
48         [non-C99-based standards] (j0f): Likewise.
49         [non-C99-based standards] (j1f): Likewise.
50         [non-C99-based standards] (jnf): Likewise.
51         [non-C99-based standards] (lgammaf): Likewise.
52         [non-C99-based standards] (tgammaf): Likewise.
53         [non-C99-based standards] (y0f): Likewise.
54         [non-C99-based standards] (y1f): Likewise.
55         [non-C99-based standards] (ynf): Likewise.
56         [non-C99-based standards] (isnanf): Likewise.
57         [non-C99-based standards] (acoshf): Likewise.
58         [non-C99-based standards] (asinhf): Likewise.
59         [non-C99-based standards] (atanhf): Likewise.
60         [non-C99-based standards] (cbrtf): Likewise.
61         [non-C99-based standards] (expm1f): Likewise.
62         [non-C99-based standards] (ilogbf): Likewise.
63         [non-C99-based standards] (log1pf): Likewise.
64         [non-C99-based standards] (logbf): Likewise.
65         [non-C99-based standards] (nextafterf): Likewise.
66         [non-C99-based standards] (remainderf): Likewise.
67         [non-C99-based standards] (rintf): Likewise.
68         [non-C99-based standards] (scalbf): Likewise.
69         [non-C99-based standards] (copysignl): Likewise.
70         [non-C99-based standards] (exp2l): Likewise.
71         [non-C99-based standards] (log2l): Likewise.
72         [non-C99-based standards] (modfl): Allow.
73         [non-C99-based standards] (erfl): Do not allow.
74         [non-C99-based standards] (erfcl): Likewise.
75         [non-C99-based standards] (gammal): Likewise.
76         [non-C99-based standards] (hypotl): Likewise.
77         [non-C99-based standards] (j0l): Likewise.
78         [non-C99-based standards] (j1l): Likewise.
79         [non-C99-based standards] (jnl): Likewise.
80         [non-C99-based standards] (lgammal): Likewise.
81         [non-C99-based standards] (tgammal): Likewise.
82         [non-C99-based standards] (y0l): Likewise.
83         [non-C99-based standards] (y1l): Likewise.
84         [non-C99-based standards] (ynl): Likewise.
85         [non-C99-based standards] (isnanl): Likewise.
86         [non-C99-based standards] (acoshl): Likewise.
87         [non-C99-based standards] (asinhl): Likewise.
88         [non-C99-based standards] (atanhl): Likewise.
89         [non-C99-based standards] (cbrtl): Likewise.
90         [non-C99-based standards] (expm1l): Likewise.
91         [non-C99-based standards] (ilogbl): Likewise.
92         [non-C99-based standards] (log1pl): Likewise.
93         [non-C99-based standards] (logbl): Likewise.
94         [non-C99-based standards] (nextafterl): Likewise.
95         [non-C99-based standards] (remainderl): Likewise.
96         [non-C99-based standards] (rintl): Likewise.
97         [non-C99-based standards] (scalbl): Likewise.
98         [ISO || ISO99 || ISO11] (*_t): Do not allow.
99         [non-C99-based standards] (FP_*): Do not allow.
100         [C99-based standards] (FP_*): Change to
101         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
102         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
103         allow.
104         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
105         (SIG_ERR): Likewise.
106         [X/Open-based standards] (SIG_HOLD): Likewise.
107         (SIG_IGN): Likewise.
108         (SIGABRT): Use macro-int-constant.  Specify type.  Require
109         positive value.
110         (SIGFPE): Likewise.
111         (SIGILL): Likewise.
112         (SIGINT): Likewise.
113         (SIGSEGV): Likewise.
114         (SIGTER): Likewise.
115         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
116         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
117         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
118         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
119         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
120         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
121         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
122         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
123         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
124         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
125         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
126         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
127         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
128         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
129         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
130         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
131         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
132         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
133         [X/Open-based standards] (SIGTRAP): Likewise.
134         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
135         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
136         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
137         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
138         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
139         allow.
140
141 2012-05-08  Ian Wienand  <ianw@vmware.com>
142
143         [BZ #14080]
144         * time/tzset.c (__tzset_parse_tz): Update default rules for
145         daylight time changes in the Energy Policy Act of 2005.
146
147 2012-05-09  Andreas Jaeger  <aj@suse.de>
148
149         [BZ #13983]
150         * elf/ldconfig.c (parse_conf): Change string to make clear that
151         ldconfig only issued a warning if ld.so.conf does not exist.
152
153 2012-05-08  David S. Miller  <davem@davemloft.net>
154
155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
156         movxtod instead of popping the value on the stack.
157
158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
159
160 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
161
162         * config.h.in: Add HAVE_ARM_PCS_VFP.
163
164 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
165
166         [BZ #13979]
167         * include/features.h: Warn if user requests __FORTIFY_SOURCE
168         checking but the checks are disabled for any reason.
169
170 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
171
172         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
173         and ELF64_R_TYPE with ELFW(R_TYPE).
174
175 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
176
177         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
178         (ulimit): Likewise.
179
180         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
181         (settimeofday): Likewise.
182
183 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
184
185         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
186         a struct th_u2 inside the union, and move tu_block/tu_code into
187         a new th_u3 union of tu_block/tu_code inside of that.  Move
188         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
189         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
190         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
191         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
192         (th_stuff): Change to th_u1.tu_stuff.
193         (th_data): Define.
194         (th_msg): Change to th_u1.th_u2.tu_data.
195
196 2012-05-07  David S. Miller  <davem@davemloft.net>
197
198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
199
200         [BZ #14074]
201         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
202         (SETUP_PIC_REG): Use it.
203         (SETUP_PIC_REG_LEAF): Use it.
204
205 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
206
207         [BZ #13885]
208         [BZ #13923]
209         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
210         USE_AS_EXPM1L.
211         (EXPL_FINITE): Likewise.
212         (FLDLOG): Likewise.
213         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
214         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
215         e_expl.S.
216         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
217         USE_AS_EXPM1L.
218         (EXPL_FINITE): Likewise.
219         (FLDLOG): Likewise.
220         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
221         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
222         e_expl.S.
223         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
224         test of -max_value argument for long double.
225         * sysdeps/i386/fpu/libm-test-ulps: Update.
226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
227
228 2012-05-06  David S. Miller  <davem@davemloft.net>
229
230         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
231         quad soft-float symbols whose references which are compiler
232         generated.
233         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
234
235 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
236
237         [BZ #13884]
238         [BZ #13914]
239         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
240         USE_AS_EXP10L.
241         (EXPL_FINITE): Likewise.
242         (FLDLOG): Likewise.
243         (c0): Likewise.
244         (c1): Likewise.
245         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
246         Adjust comments for base varying.
247         (__expl_finite): Change alias to EXPL_FINITE.
248         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
249         e_expl.S.
250         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
251         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
252         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
253         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
254         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
255         USE_AS_EXP10L.
256         (EXPL_FINITE): Likewise.
257         (FLDLOG): Likewise.
258         (c0): Likewise.
259         (c1): Likewise.
260         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
261         Adjust comments for base varying.
262         (__expl_finite): Change alias to EXPL_FINITE.
263         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
264         tests for bugs.
265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
266
267         [BZ #14064]
268         * math/libm-test.inc (check_float_internal): Correct ulp
269         calculation for subnormal expected results.
270
271 2012-05-06  Andreas Jaeger  <aj@suse.de>
272
273         * Makeconfig (+math-flags): New, set to -frounding-math.
274         (+cflags): Add +math-flags so that all of glibc gets compiled with
275         it.
276
277         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
278
279 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
280
281         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
282         Disable one test.
283
284         [BZ #13787]
285         [BZ #13922]
286         [BZ #14036]
287         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
288         (__ieee754_expl): Allow for and saturate large arguments.
289         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
290         (u_threshold): Likewise.
291         (__exp): Call __ieee754_exp before checking for overflow and
292         underflow.
293         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
294         (u_threshold): Likewise.
295         (__expf): Call __ieee754_expf before checking for overflow and
296         underflow.
297         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
298         (u_threshold): Likewise.
299         (__expl): Call __ieee754_expl before checking for overflow and
300         underflow.
301         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
302         (__ieee754_expl): Allow for and saturate large arguments.
303         * math/libm-test.inc (exp_test): Add another test.  Do not allow
304         missing overflow exception on overflow.
305         (expm1_test): Do not allow missing overflow exception on overflow.
306
307         * sysdeps/i386/fpu/e_expl.c: Move to ...
308         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
309         rather than using inline asm.
310         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
311         * sysdeps/x86_64/fpu/e_expl.S: Copy from
312         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
313
314         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
315         (nice): Likewise.
316         (poll): Likewise.
317         (signal): Likewise.
318         (time): Likewise.
319         (times): Likewise.
320
321 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
322
323         * sysdeps/unix/syscalls.list (adjtime): Add entry from
324         sysdeps/unix/common/syscalls.list.
325         (fchmod): Likewise.
326         (fchown): Likewise.
327         (ftruncate): Likewise.
328         (getrusage): Likewise.
329         (gettimeofday): Likewise.
330         (setpgid): Likewise.
331         (setregid): Likewise.
332         (setreuid): Likewise.
333         (sigaction): Likewise.
334         (truncate): Likewise.
335         (vhangup): Likewise.
336         * sysdeps/unix/common/syscalls.list: Remove file.
337         * sysdeps/unix/bsd/Implies: Don't include unix/common.
338         * sysdeps/unix/sysv/linux/Implies: Likewise.
339
340 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
341
342         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
344         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
345         Moved to ...
346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
347         Here.
348         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
349         to ...
350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
351         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
352         to ...
353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
354         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
355         to ...
356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
357         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
358         to ...
359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
360         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
361         to ...
362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
363         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
364         to ...
365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
366         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
367         to ...
368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
369         Here.
370         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
371         to ...
372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
373         Here.
374         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
375         to ...
376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
377         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
378         Moved to ...
379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
380         Here.
381         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
382         to ...
383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
384
385 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
386
387         * sysdeps/unix/common/bits/dirent.h: Remove file.
388         * sysdeps/unix/common/bits/fcntl.h: Likewise.
389
390         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
391         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
392         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
393         * sysdeps/unix/bsd/isatty.c: Likewise.
394         * sysdeps/unix/bsd/tcdrain.c: Likewise.
395         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
396         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
397
398 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
399
400         [BZ #13563]
401         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
402         long double comparison inaccuracies.
403         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
405
406 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
407
408         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
409         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
410
411 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
412
413         [BZ #14049]
414         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
415         nonzero digits before rounding a hex value.
416         * stdlib/tst-strtod.c (tests): Add another test.
417
418 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
419
420         * sysdeps/s390/fpu/libm-test-ulps: Update.
421
422 2012-05-03  Andreas Jaeger  <aj@suse.de>
423
424         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
425         does not get optimized out.
426         (malloc_opt_barrier): New.
427
428 2012-05-03  Andreas Jaeger  <aj@suse.de>
429             Roland McGrath  <roland@hack.frob.com>
430
431         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
432         intermediate file deletion.
433         (generated): Add .symlist files.
434
435 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
436
437         [BZ #13775]
438         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
439         Redirect under this condition.
440         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
441         [__USE_GNU] (__dprintf_chk): Not under this condition.
442         [__USE_GNU] (__vdprintf_chk): Likewise.
443         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
444         under this condition.
445         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
446         [__USE_XOPEN2K8] (dprintf): Define under this condition.
447         [__USE_XOPEN2K8] (vdprintf): Likewise.
448         [__USE_GNU] (__dprintf_chk): Not under this condition.
449         [__USE_GNU] (__vdprintf_chk): Likewise.
450         [__USE_GNU] (dprintf): Likewise.
451         [__USE_GNU] (vdprintf): Likewise.
452
453 2012-05-03  Roland McGrath  <roland@hack.frob.com>
454
455         * elf/Makefile (common-generated): Set this instead of generated for
456         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
457         $(all-built-dso)-derived lists.
458
459 2012-05-03  Andreas Jaeger  <aj@suse.de>
460
461         * sysdeps/i386/fpu/libm-test-ulps: Update.
462
463         * FAQ: Removed.
464         * FAQ.in: Likewise.
465         * scripts/gen-FAQ.pl: Likewise.
466         * manual/install.texi (Installation): Point to online location of
467         FAQ.
468         * Makefile (files-for-dist): Remove FAQ.
469         (FAQ): Remove.
470
471 2012-05-02  Allan McRae  <allan@archlinux.org>
472
473         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
474         (LDFLAGS-reldepmod5.so): Likewise.
475         (LDFLAGS-reldep6mod1.so): Likewise.
476         (LDFLAGS-reldep6mod4.so): Likewise.
477         (LDFLAGS-reldep8mod3.so): Likewise.
478         (LDFLAGS-unload4mod1.so): Likewise.
479         (LDFLAGS-unload4mod2.so): Likewise.
480         (LDFLAGS-tst-initorder): Likewise.
481         (LDFLAGS-tst-initordera2.so): Likewise.
482         (LDFLAGS-tst-initordera3.so): Likewise.
483         (LDFLAGS-tst-initordera4.so): Likewise.
484         (LDFLAGS-tst-initorderb2.so): Likewise.
485         (LDFLAGS-noload): Likewise.
486         (LDFLAGS-next): Likewise.
487         (LDFLAGS-order2mod1.so): Likewise.
488         (LDFLAGS-order2mod2.so): Likewise.
489         (LDFLAGS-tst-initorder2): Likewise.
490         (LDFLAGS-tst-initorder2a.so): Likewise.
491         (LDFLAGS-tst-initorder2b.so): Likewise.
492         (LDFLAGS-tst-initorder2c.so): Likewise.
493         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
494
495 2012-05-02  David S. Miller  <davem@davemloft.net>
496
497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
498
499 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
500
501         [BZ #14055]
502         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
503
504 2012-05-02  Andreas Jaeger  <aj@suse.de>
505
506         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
507         since we manipulate rounding mode.
508         (CPPFLAGS-test-idouble.c): Likewise.
509         (CPPFLAGS-test-ifloat.c): Likewise.
510         (CFLAGS-test-ldouble.c): Likewise.
511         (CFLAGS-test-double.c): Likewise.
512         (CFLAGS-test-float.c): Likewise.
513         (CFLAGS-test-misc.c): Likewise.
514         (CFLAGS-test-test-fenv.c): Likewise.
515
516 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
517
518         [BZ #2550]
519         [BZ #2570]
520         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
521         comparisons to determine direction to adjust input.
522
523 2012-05-01  Roland McGrath  <roland@hack.frob.com>
524
525         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
526         output to the target.
527
528         * scripts/localplt.awk: New file.
529         * elf/Makefile ($(objpfx)check-localplt): Target removed.
530         (check-localplt-CFLAGS): Variable removed.
531         ($(all-built-dso:=.jmprel)): New static pattern rule.
532         (generated): Add those targets.
533         (localplt-built-dso): New variable.
534         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
535
536         * elf/check-localplt.c: File removed.
537
538         * scripts/check-execstack.awk: New file.
539         * elf/Makefile ($(objpfx)check-execstack): Target removed.
540         (check-execstack-CFLAGS): Variable removed.
541         ($(objpfx)check-execstack.h): Target removed.
542         ($(objpfx)execstack-default): New target.
543         (generated): Add that instead of check-execstack.h.
544         ($(all-built-dso:=.phdr)): New static pattern rule.
545         (generated): Add those targets.
546         * elf/check-execstack.c: File removed.
547
548         * scripts/check-textrel.awk: New file.
549         * elf/Makefile ($(objpfx)check-textrel): Target removed.
550         (check-textrel-CFLAGS): Variable removed.
551         (all-built-dso): Use := to define.o
552         ($(all-built-dso:=.dyn)): New static pattern rule.
553         (generated): Add those targets.
554         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
555         * config.make.in (READELF): New substituted variable.
556         * elf/check-textrel.c: File removed.
557
558 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
559
560         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
561         allow.
562         * conform/data/ctype.h-data [C99-based standards] (isblank):
563         Expect function.
564         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
565         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
566         [ISO || ISO99 || ISO11] (*_t): Do not allow.
567         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
568         Specify type.  Require positive value.
569         (EILSEQ): Likewise.
570         (ERANGE): Likewise.
571         [ISO || POSIX] (EILSEQ): Do not expect.
572         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
573         Specify type.  Require positive value.
574         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
575         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
576         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
577         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
578         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
579         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
580         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
581         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
582         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
583         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
584         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
585         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
586         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
587         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
588         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
589         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
590         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
591         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
592         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
593         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
594         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
595         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
596         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
597         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
598         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
599         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
600         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
601         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
602         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
603         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
604         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
605         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
606         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
607         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
608         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
609         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
610         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
611         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
612         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
613         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
614         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
615         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
616         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
617         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
618         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
619         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
620         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
621         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
622         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
623         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
624         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
625         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
626         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
627         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
628         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
629         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
630         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
631         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
632         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
633         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
634         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
635         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
636         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
637         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
638         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
639         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
640         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
641         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
642         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
643         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
644         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
645         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
646         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
647         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
648         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
649         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
650         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
651         Require >= 2.
652         (FLT_ROUNDS): Expect as macro, not constant.
653         (FLT_MANT_DIG): Use macro-int-constant.
654         (DBL_MANT_DIG): Likewise.
655         (LDBL_MANT_DIG): Likewise.
656         (FLT_DIG): Likewise.
657         (DBL_DIG): Likewise.
658         (LDBL_DIG): Likewise.
659         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
660         (DBL_MIN_EXP): Likewise.
661         (LDBL_MIN_EXP): Likewise.
662         (FLT_MAX_EXP): Use macro-int-constant.
663         (DBL_MAX_EXP): Likewise.
664         (LDBL_MAX_EXP): Likewise.
665         (FLT_MAX_10_EXP): Likewise.
666         (DBL_MAX_10_EXP): Likewise.
667         (LDBL_MAX_10_EXP): Likewise.
668         (FLT_MAX): Use macro-constant.
669         (DBL_MAX): Likewise.
670         (LDBL_MAX): Likewise.
671         (FLT_EPSILON): Use macro-constant.  Give upper bound.
672         (DBL_EPSILON): Likewise.
673         (LDBL_EPSILON): Likewise.
674         (FLT_MIN): Likewise.
675         (DBL_MIN): Likewise.
676         (LDBL_MIN): Likewise.
677         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
678         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
679         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
680         [ISO11] (FLT_HAS_SUBNORM): Likewise.
681         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
682         [ISO11] (DBL_DECIMAL_DIG): Likewise.
683         [ISO11] (FLT_DECIMAL_DIG): Likewise.
684         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
685         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
686         [ISO11] (FLT_TRUE_MIN): Likewise.
687         [ISO11] (LDBL_TRUE_MIN): Likewise.
688         [ISO || ISO99 || ISO11] (*_t): Do not allow.
689         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
690         (SCHAR_MIN): Use macro-int-constant.  Specify type.
691         (SCHAR_MAX): Likewise.
692         (UCHAR_MAX): Likewise.
693         (CHAR_MIN): Likewise.
694         (CHAR_MAX): Likewise.
695         (MB_LEN_MAX): Use macro-int-constant.
696         (SHRT_MIN): Use macro-int-constant.  Specify type.
697         (SHRT_MAX): Likewise.
698         (USHRT_MAX): Likewise.
699         (INT_MAX): Likewise.
700         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
701         bound negative.
702         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
703         bound with "U".
704         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
705         bound with "L".
706         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
707         bound negative.  Suffix upper bound with "L".
708         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
709         bound with "UL".
710         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
711         Specify type.
712         [C99-based standards] (LLONG_MAX): Likewise.
713         [C99-based standards] (ULLONG_MAX): Likewise.
714         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
715         == 0.
716         [ISO11] (max_align_t): Require type.
717         [ISO || ISO99 || ISO11] (*_t): Do not allow.
718
719         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
720         from $CFLAGS, without defining away __attribute__ calls.
721         (checknamespace): Use $CFLAGS_namespace.
722
723         * conform/conformtest.pl (@keywords): Only include C99 keywords
724         for standards based on C99 or C11.
725
726         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
727         Disable tests.
728         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
729         UNIX98]: Likewise.
730
731         * conform/conformtest.pl: Handle "macro-int-constant" and test for
732         usability of symbols in #if.
733
734         * conform/conformtest.pl: If macro or constant types start
735         "promoted:", expect the symbol to be of the following type
736         promoted by the integer promotions.
737
738         * conform/conformtest.pl: Parse all "constant" and "macro" lines
739         in one place.  Also handle "macro-constant".
740
741         * conform/conformtest.pl: Only accept expected macro values with
742         "==".  Parse all "macro" lines in one place.
743         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
744
745         * conform/conformtest.pl: Handle braced types on "constant" lines
746         instead of handling "typed-constant".
747         * conform/data/signal.h-data: Use "constant" instead of
748         "typed-constant".
749
750         * conform/conformtest.pl: Handle "optional-" at start of lines in
751         one place rather than duplicating several cases.  Handle each
752         format of "macro" line with initial "optional-".
753
754         * conform/conformtest.pl: Only accept expected constant or
755         optional-constant values with "==".  Parse all "constant" lines in
756         one place.  Parse all "optional-constant" lines in one place.
757         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
758         * conform/data/fmtmsg.h-data: Likewise.
759         * conform/data/netinet/in.h-data: Likewise.
760         * conform/data/tar.h-data: Likewise.
761         * conform/data/limits.h-data: Use "==" form on "constant" and
762         "optional-constant" lines.
763
764         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
765         Use -std=c99 for XOPEN2K.
766         (@knownproblems): Remove.
767         (newtoken): Don't check %isknown.
768
769         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
770         Do not expect macro.
771         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
772         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
773         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
774         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
775         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
776         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
777         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
778         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
779         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
780         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
781         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
782         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
783         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
784         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
785         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
786         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
787         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
788         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
789         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
790         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
791         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
792         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
793         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
794         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
795         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
796         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
797         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
798         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
799         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
800         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
801         [XPG3] (acosh): Likewise.
802         [XPG3] (asinh): Likewise.
803         [XPG3] (atanh): Likewise.
804         [XPG3] (cbrt): Likewise.
805         [XPG3] (expm1): Likewise.
806         [XPG3] (ilogb): Likewise.
807         [XPG3] (log1p): Likewise.
808         [XPG3] (logb): Likewise.
809         [XPG3] (nextafter): Likewise.
810         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
811         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
812         [XPG3] (remainder): Likewise.
813         [XPG3] (rint): Likewise.
814         [XPG3 || XPG4 || UNIX98] (round): Likewise.
815         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
816         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
817         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
818         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
819         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
820         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
821         [UNIX98 || XOPEN2K] (scalb): Expect.
822         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
823         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
824         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
825         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
826         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
827         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
828         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
829         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
830         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
831         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
832         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
833         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
834         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
835         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
836         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
837         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
838         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
839         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
840         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
841         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
842         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
843         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
844         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
845         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
846         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
847         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
848         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
849         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
850         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
851         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
852         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
853         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
854         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
855         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
856         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
857         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
858         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
859         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
860         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
861         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
862         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
863         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
864         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
865         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
866         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
867         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
868         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
869         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
870         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
871         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
872         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
873         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
874         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
875         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
876         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
877         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
878         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
879         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
880         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
881         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
882         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
883         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
884         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
885         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
886         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
887         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
888         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
889         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
890         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
891         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
892         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
893         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
894         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
895         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
896         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
897         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
898         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
899         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
900         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
901         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
902         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
903         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
904         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
905         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
906         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
907         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
908         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
909         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
910         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
911         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
912         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
913         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
914         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
915         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
916         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
917         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
918         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
919         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
920         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
921         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
922         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
923         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
924         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
925         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
926         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
927         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
928         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
929         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
930         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
931         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
932         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
933         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
934         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
935         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
936         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
937         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
938         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
939         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
940         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
941         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
942         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
943         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
944         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
945         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
946         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
947         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
948         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
949         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
950         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
951         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
952         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
953         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
954         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
955         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
956         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
957         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
958         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
959
960         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
961         _XOPEN_SOURCE_EXTENDED for XPG4.
962
963         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
964
965         * Makeconfig (localtime): Remove variable.
966         (inst_localtime-file): Likewise.
967
968 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
969
970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
971         Update.
972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
973         Update.
974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
975         Update.
976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
977         Update.
978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
979         Update.
980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
981         Update.
982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
983         Update.
984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
985         Update.
986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
987         Update.
988
989 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
990
991         [BZ #2550]
992         [BZ #2570]
993         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
994         comparisons to determine direction to adjust input.
995         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
996         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
997         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
998         Likewise.
999         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1000         Likewise.
1001         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1002         Likewise.
1003         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1004         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1005         Likewise.
1006         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1007         Likewise.
1008         * math/libm-test.inc (nexttoward_test): Add more tests.
1009
1010 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1011
1012         [BZ #14040]
1013         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1014         in version GLIBC_2.1, not GLIBC_2.0.
1015         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1016         Likewise.
1017
1018 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
1019
1020         [BZ #13942]
1021         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1022         (1 - x) * (1 + x).
1023         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1024         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1025         * math/libm-test.inc (acos_test): Add more tests.
1026         (asin_test): Likewise.
1027         * sysdeps/i386/fpu/libm-test-ulps: Update.
1028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1029
1030         [BZ #14034]
1031         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1032         of square root.
1033         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1034         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1035         * math/libm-test.inc (acos_test_tonearest): New function.
1036         (acos_test_towardzero): Likewise.
1037         (acos_test_downward): Likewise.
1038         (acos_test_upward): Likewise.
1039         (asin_test_tonearest): Likewise.
1040         (asin_test_towardzero): Likewise.
1041         (asin_test_downward): Likewise.
1042         (asin_test_upward): Likewise.
1043         (main): Call the new functions.
1044         * sysdeps/i386/fpu/libm-test-ulps: Update.
1045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1046
1047         [BZ #13884]
1048         [BZ #13924]
1049         * math/e_exp10.c: Include <float.h>.
1050         (__ieee754_exp10): Handle underflow here rather than multiplying
1051         large negative argument by M_LN10.
1052         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1053         of __ieee754_expf.
1054         * math/e_exp10l.c: Include <float.h>.
1055         (__ieee754_exp10l): Handle underflow here rather than multiplying
1056         large negative argument by M_LN10l.
1057         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
1058         spurious overflow exception on underflow.
1059
1060 2012-04-29  Marek Polacek  <polacek@redhat.com>
1061
1062         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1063         (__fortify_function): New macro.
1064         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1065         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1066         __extern_always_inline.
1067         * libio/bits/stdio2.h: Likewise.
1068         * libio/bits/stdio.h: Likewise.
1069         * string/string.h: Likewise.
1070         * string/bits/string3.h: Likewise.
1071         * include/stdio.h: Likewise.
1072         * stdlib/bits/stdlib.h: Likewise.
1073         * stdlib/stdlib.h: Likewise.
1074         * rt/bits/mqueue2.h: Likewise.
1075         * rt/mqueue.h: Likewise.
1076         * posix/bits/unistd.h: Likewise.
1077         * posix/unistd.h: Likewise.
1078         * io/bits/poll2.h: Likewise.
1079         * io/bits/fcntl2.h: Likewise.
1080         * io/fcntl.h: Likewise.
1081         * io/sys/poll.h: Likewise.
1082         * misc/bits/syslog.h: Likewise.
1083         * misc/bits/syslog-ldbl.h: Likewise.
1084         * misc/sys/syslog.h: Likewise.
1085         * socket/bits/socket2.h: Likewise.
1086         * socket/sys/socket.h: Likewise.
1087         * debug/tst-chk1.c: Likewise.
1088         * wcsmbs/bits/wchar2.h: Likewise.
1089         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1090         * wcsmbs/wchar.h: Likewise.
1091
1092 2012-04-29  Andreas Jaeger  <aj@suse.de>
1093
1094         * Makerules (tests): Remove enable-check-abi protection.
1095         (check-abi-warn): Remove.
1096         (check-abi-%): Remove check-abi-warn usage.
1097
1098         * configure.in: Remove check-abi configure option.
1099         * configure: Regenerated.
1100         * config.make.in (enable-check-abi): Remove.
1101
1102 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
1103
1104         [BZ #14033]
1105         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1106         double functions to double *_finite functions.
1107
1108         [BZ #13941]
1109         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1110         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1111         LDBL_MIN_EXP.
1112         * stdio-common/Makefile (tests): Add tst-sprintf3.
1113         * stdio-common/tst-sprintf3.c: New file.
1114
1115         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1116         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1117
1118 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1119
1120         * conform/conformtest.pl: Remove duplicate typed-constant
1121         handling.
1122
1123 2012-04-28  David S. Miller  <davem@davemloft.net>
1124
1125         * Makerules (%.abilist): Add vpath on sysdep_dirs.
1126         (check-abi-%): Remove AWK script prerequisite and explicit
1127         abilist directory.
1128         (check-abi): Rewrite to just diff the symlist with the abilist.
1129         (config-tls, config-abi-config): Delete, no longer used.
1130         (update-abi-%): Remove AWK script and explicit abilist directory.
1131         (update-abi): Rewrite to simply compare and conditionally copy the
1132         symlist and the sysdep abilist file.  Remove update-abi-config
1133         checks.
1134         * abilist/ld.abilist: Remove.
1135         * abilist/libBrokenLocale.abilist: Remove.
1136         * abilist/libanl.abilist: Remove.
1137         * abilist/libcrypt.abilist: Remove.
1138         * abilist/libdl.abilist: Remove.
1139         * abilist/librt.abilist: Remove.
1140         * abilist/libthread_db.abilist: Remove.
1141         * abilist/libutil.abilist: Remove.
1142         * scripts/extract-abilist.awk: Remove.
1143         * scripts/merge-abilist.awk: Remove.
1144         * sysdeps/generic/libcidn.abilist: New file.
1145         * sysdeps/generic/libnss_compat.abilist: New file.
1146         * sysdeps/generic/libnss_db.abilist: New file.
1147         * sysdeps/generic/libnss_dns.abilist: New file.
1148         * sysdeps/generic/libnss_files.abilist: New file.
1149         * sysdeps/generic/libnss_hesiod.abilist: New file.
1150         * sysdeps/generic/libnss_nis.abilist: New file.
1151         * sysdeps/generic/libnss_nisplus.abilist: New file.
1152         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1153         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1154         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1155         file.
1156         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1157         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1158         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1159         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1160         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1161         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1162         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1163         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1164         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1165         file.
1166         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1167         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1168         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1169         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1170         file.
1171         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1172         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1173         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1174         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1175         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1176         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1177         file.
1178         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1179         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1180         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1181         file.
1182         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1183         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1184         New file.
1185         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1186         New file.
1187         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1188         New file.
1189         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1190         New file.
1191         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1192         New file.
1193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1194         New file.
1195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1196         New file.
1197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1198         New file.
1199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1200         New file.
1201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1202         New file.
1203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1204         New file.
1205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1206         New file.
1207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1208         New file.
1209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1210         file.
1211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1212         New file.
1213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1214         New file.
1215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1216         file.
1217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1218         New file.
1219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1220         New file.
1221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1222         file.
1223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1224         New file.
1225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1226         New file.
1227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1228         New file.
1229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1230         New file.
1231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1232         New file.
1233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1234         New file.
1235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1237         file.
1238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1239         New file.
1240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1241         file.
1242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1243         file.
1244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1245         file.
1246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1247         file.
1248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1249         file.
1250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1251         New file.
1252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1253         file.
1254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1255         file.
1256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1257         New file.
1258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1259         file.
1260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1262         file.
1263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1264         New file.
1265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1266         file.
1267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1268         file.
1269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1270         file.
1271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1272         file.
1273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1274         file.
1275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1276         New file.
1277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1278         file.
1279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1280         file.
1281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1282         New file.
1283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1284         file.
1285         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1286         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1287         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1288         file.
1289         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1290         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1291         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1292         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1293         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1294         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1295         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1296         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1297         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1298         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1301         file.
1302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1303         New file.
1304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1305         file.
1306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1307         file.
1308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1309         file.
1310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1311         file.
1312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1313         file.
1314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1315         New file.
1316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1317         New file.
1318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1319         file.
1320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1321         New file.
1322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1323         file.
1324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1326         file.
1327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1328         New file.
1329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1330         file.
1331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1332         file.
1333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1334         file.
1335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1336         file.
1337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1338         file.
1339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1340         New file.
1341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1342         New file.
1343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1344         file.
1345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1346         New file.
1347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1348         file.
1349
1350 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1351
1352         * conform/conformtest.pl: Fix typo in handling typed-constant from
1353         allow-header.
1354
1355 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1356
1357         * README: Cut down references to pre-2.6 Linux kernels and
1358         Linuxthreads.  Update lists of configurations in libc and ports
1359         and sort alphabetically.  Say "or newer" with Linux kernel version
1360         requirements.
1361
1362         * config.h.in [IS_IN_build]: Allow compiling without optimization.
1363
1364 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1365
1366         [BZ #887]
1367         * math/libm-test.inc (logb_test_downward): New test to expose
1368         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1369         rounding mode.
1370
1371 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1372
1373         [BZ #14027]
1374         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1375         to be done.
1376         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1377         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1378
1379 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1380
1381         * sysdeps/unix/i386/brk.S: Remove file.
1382         * sysdeps/unix/i386/dl-brk.S: Likewise.
1383         * sysdeps/unix/i386/pipe.S: Likewise.
1384         * sysdeps/unix/i386/sigreturn.S: Likewise.
1385         * sysdeps/unix/i386/syscall.S: Likewise.
1386         * sysdeps/unix/i386/vfork.S: Likewise.
1387         * sysdeps/unix/i386/wait.S: Likewise.
1388
1389         * sysdeps/unix/common/tcsendbrk.c: Move to ...
1390         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1391
1392         * configure.in (arm*-none*): Do not allow without
1393         --enable-hacker-mode.
1394         (netbsd*): Remove case setting base_os.
1395         (386bsd*): Likewise.
1396         (freebsd*): Likewise.
1397         (bsdi*): Likewise.
1398         (osf*): Likewise.
1399         (sunos*): Likewise.
1400         (ultrix*): Likewise.
1401         (newsos*): Likewise.
1402         (dynix*): Likewise.
1403         (*bsd*): Likewise.
1404         (sysv*): Likewise.
1405         (isc*): Likewise.
1406         (esix*): Likewise.
1407         (sco*): Likewise.
1408         (minix*): Likewise.
1409         (irix4*): Likewise.
1410         (irix6*): Likewise.
1411         (solaris[2-9]*): Likewise.
1412         (none): Likewise.
1413         * configure: Regenerated.
1414
1415 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1416
1417         [BZ #11521]
1418         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1419         overflow or cancellation in calculating denominator.
1420         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1421         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1422         down expression to avoid unexpected rounding in newer GCCs.
1423         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1424
1425 2012-04-26  David S. Miller  <davem@davemloft.net>
1426
1427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1428         long-double compat symbols.
1429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1442
1443 2012-04-25  David S. Miller  <davem@davemloft.net>
1444
1445         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1446         HWCAP_* values only after the memory barriers have been defined.
1447         (atomic_full_barrier): Define.
1448         (atomic_read_barrier): Define.
1449         (atomic_write_barrier): Define.
1450
1451 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1452
1453         * shlib-versions: Add libgcc_s version information.
1454         * sysdeps/generic/libgcc_s.h: Remove.
1455         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1456         libgcc_s.h.
1457         * sysdeps/gnu/unwind-resume.c: Likewise.
1458         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1459
1460 2012-04-25  David S. Miller  <davem@davemloft.net>
1461
1462         * sysdeps/unix/sparc/brk.S: Delete.
1463         * sysdeps/unix/sparc/dl-brk.S: Delete.
1464         * sysdeps/unix/sparc/pipe.S: Delete.
1465         * sysdeps/unix/sparc/sysdep.S: Delete.
1466         * sysdeps/unix/sparc/sysdep.h: Delete.
1467         * sysdeps/unix/sparc/vfork.S: Delete.
1468         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1469         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1470         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1471         ret_ERRVAL, r0, r1, MOVE): Define.
1472         (JUMPTARGET): Remove.
1473         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1474         sysdeps/unix/sparc/sysdep.h
1475         (ENTRY, END): Remove.
1476         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1477
1478 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
1479
1480         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1481         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1482         -DIS_IN_build.
1483
1484         * timezone/README: Update upstream location and email address for
1485         tzcode and tzdata.
1486         * timezone/zdump.c: Update from tzcode 2012b.
1487         * timezone/zic.c: Likewise.
1488
1489         * configure.in (libc_cv_as_needed): Remove test.
1490         * configure: Regenerated.
1491         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1492         conditional definition.
1493         [$(have-as-needed) != yes] (no-as-needed): Likewise.
1494         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1495         * config.make.in (have-as-needed): Remove variable.
1496
1497 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1498             Paul Pluzhnikov  <ppluzhnikov@google.com>
1499
1500         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1501         strings correctly.
1502
1503 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1504
1505         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1506         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1507         * sysdeps/sh/strlen.S: Likewise.
1508
1509 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1510
1511         * sysdeps/unix/fork.S: Remove file.
1512         * sysdeps/unix/i386/fork.S: Likewise.
1513         * sysdeps/unix/sparc/fork.S: Likewise.
1514
1515         * sysdeps/unix/system.c: Remove file.
1516         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1517
1518         * sysdeps/unix/getegid.S: Remove file.
1519         * sysdeps/unix/geteuid.S: Likewise.
1520
1521 2012-04-24  Roland McGrath  <roland@hack.frob.com>
1522
1523         * scripts/check-localplt.awk: New file.
1524         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1525         of diff.
1526         * scripts/data/localplt-generic.data: Add a comment.
1527
1528         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1529         NODE when __dir_mkfile failed.
1530         * sysdeps/mach/hurd/symlinkat.c: Likewise.
1531         Reported by Ludovic Courtès <ludo@gnu.org>.
1532
1533 2012-04-24  Andreas Jaeger  <aj@suse.de>
1534
1535         * Makerules (common-clean): Also remove gen-as-const-headers
1536         files.
1537
1538 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1539
1540         * Makerules (native-compile): Do not change working directory for
1541         build.  Use $(OUTPUT_OPTION) in command.
1542         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1543
1544 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1545
1546         [BZ #13886]
1547         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1548         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1549         * math/libm-test.inc (floor_test): Add more tests.
1550         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1551
1552 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1553
1554         * sysdeps/unix/getdents.c: Remove file.
1555         * sysdeps/unix/sysv/getdents.c: Likewise.
1556         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1557
1558         * sysdeps/unix/syscalls.list (madvise): Add syscall from
1559         sysdeps/unix/mman/syscalls.list.
1560         (mmap): Likewise.
1561         (mprotect): Likewise.
1562         (msync): Likewise.
1563         (munmap): Likewise.
1564         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1565         * sysdeps/unix/mman/syscalls.list: Remove.
1566         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1567
1568         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1569         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1570         * configure: Regenerated.
1571         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1572         $(libgcc_s_suffix).
1573         * config.make.in (libgcc_s_suffix): Remove variable.
1574
1575 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
1576
1577         * sysdeps/unix/sysv/gethostname.c: Move to ...
1578         * sysdeps/posix/gethostname.c: ... here.
1579
1580         * sysdeps/unix/execve.S: Remove file.
1581
1582         * sysdeps/unix/_exit.S: Remove file.
1583
1584 2012-04-23  Andreas Jaeger  <aj@suse.de>
1585
1586         [BZ #13739]
1587         * manual/Makefile: Remove make dist support, there's no
1588         need for a stand-alone documentation tar ball.
1589         (TEXI2DVI): Define always, it's not in Makeconfig.
1590         (dist): Removed.
1591         (tar-it): Removed.
1592         (edition): Removed.
1593         (glibc-doc-$(edition).tar): Removed
1594         (%.Z): Removed.
1595         (%.gz): Removed.
1596         (%.uu): Removed.
1597         (ETAGS): Remove, it's in Makeconfig.
1598         (move-if-change): Remove, it's in Makeconfig.
1599
1600 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
1601
1602         [BZ #13970]
1603         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1604         (strtod, strtof, strtold, strtol, strtoul, strtoq)
1605         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1606         (strtod_l, strtof_l, strtold_l): Remove __wur.
1607         It is not necessarily an error to ignore strtol's return value.
1608         One can reliably look at the stored endptr to decide whether
1609         the number had valid syntax.
1610
1611 2012-04-21  Andreas Jaeger  <aj@suse.de>
1612
1613         [BZ #13739]
1614         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1615
1616 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
1617
1618         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1619         * sysdeps/unix/sysv/Versions: Remove file.
1620
1621 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
1622
1623         [BZ #13927]
1624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1625
1626 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
1627
1628         [BZ #7064]
1629         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1630         version from __vm86.
1631
1632 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
1633
1634         * sysdeps/unix/common/lxstat.c: Remove file.
1635         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1636
1637         * sysdeps/unix/sysv/Makefile: Remove file.
1638
1639         * sysdeps/unix/sysv/direct.h: Remove file.
1640
1641         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1642         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1643         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1644         * sysdeps/unix/sysv/bits/signum.h: Likewise.
1645         * sysdeps/unix/sysv/bits/stat.h: Likewise.
1646         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1647         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1648
1649         * sysdeps/unix/sysv/setrlimit.c: Remove file.
1650
1651         * sysdeps/unix/xmknod.c: Remove file.
1652         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1653
1654         * sysdeps/unix/sysv/settimeofday.c: Remove file.
1655
1656         * sysdeps/unix/sysv/i386/time.S: Remove file.
1657
1658         * sysdeps/unix/fxstat.c: Remove file.
1659         * sysdeps/unix/xstat.c: Likewise.
1660         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1661
1662         * sysdeps/unix/sysv/sigaction.c: Remove file.
1663
1664         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1665         (sysdep_headers): Remove variable.
1666         [termio.h not in sysdep_headers] (generated): Likewise.
1667         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1668         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1669         * sysdeps/unix/sysv/tcdrain.c: Likewise.
1670         * sysdeps/unix/sysv/tcflow.c: Likewise.
1671         * sysdeps/unix/sysv/tcflush.c: Likewise.
1672         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1673         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1674         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1675         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1676         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1677
1678         * sysdeps/unix/siglist.c: Remove file.
1679
1680         * sysdeps/unix/getppid.S: Remove file.
1681
1682         * sysdeps/unix/mkdir.c: Remove file.
1683         * sysdeps/unix/rmdir.c: Likewise.
1684
1685 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
1686
1687         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1688         ERR_MAX value.
1689         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1690         errlist-compat value.
1691
1692 2012-04-18  David S. Miller  <davem@davemloft.net>
1693
1694         * sysdeps/generic/memcopy.h (reg_char): Delete.
1695         * debug/strcat_chk.c: Use char, not reg_char.
1696         * debug/strcpy_chk.c: Likewise.
1697         * debug/strncat_chk.c: Likewise.
1698         * debug/strncpy_chk.c: Likewise.
1699         * string/memchr.c: Likewise.
1700         * string/memrchr.c: Likewise.
1701         * string/rawmemchr.c: Likewise.
1702         * string/strcat.c: Likewise.
1703         * string/strchr.c: Likewise.
1704         * string/strchrnul.c: Likewise.
1705         * string/strcmp.c: Likewise.
1706         * string/strcpy.c: Likewise.
1707         * string/strncat.c: Likewise.
1708         * string/strncmp.c: Likewise.
1709         * string/strncpy.c: Likewise.
1710
1711 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
1712
1713         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1714         __builtin_memcopy is called when src and dest ranges are known to not
1715         overlap.
1716
1717 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
1718
1719         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1720         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1721         fwd_align_merge macro call.
1722         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1723         bwd_align_merge macro call.
1724         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1725
1726 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
1727
1728         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1729         bwd_align_merge macros.
1730         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1731         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1732         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1733
1734 2012-04-18  David S. Miller  <davem@davemloft.net>
1735
1736         * sysdeps/sparc/sparc64/memcopy.h: Delete.
1737
1738 2012-04-18  Andreas Jaeger  <aj@suse.de>
1739
1740         [BZ# 6794]
1741         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1742         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1743         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1744
1745         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1746         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1747         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1748
1749         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1750         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1751         Adjust for changed ldbl-128 files.
1752
1753         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1754         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1755         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1756
1757 2012-04-17  David S. Miller  <davem@davemloft.net>
1758
1759         * sysdeps/sparc/sparc32/memcopy.h: Delete.
1760
1761 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
1762
1763         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1764         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1765         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1766         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1767         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1768         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1769
1770 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1771
1772         [BZ #6794]
1773         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1774         * math/libm-test.inc: Add ilogb errno and exception tests.
1775         * math/w_ilogb.c: New file: ilogb wrapper.
1776         * math/w_ilogbf.c: New file: ilogbf wrapper.
1777         * math/w_ilogbl.c: New file: ilogbl wrapper.
1778         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1779         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1780         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1781         exception being thrown with 0.0 as argument.
1782         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1783         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1784         exception being thrown with 0.0 as argument.
1785         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1786         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1787         exception being thrown with 0.0 as argument.
1788         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1789         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1790         exception being thrown with 0.0 as argument.
1791         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1792         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1793         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1794         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1795         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1796         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1797         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1798         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1799         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1800
1801 2012-04-17  Petr Baudis  <pasky@ucw.cz>
1802
1803         * include/sys/uio.h: Change __vector to __iovec to avoid clash
1804         with altivec.
1805
1806 2012-04-16  Marek Polacek  <polacek@redhat.com>
1807
1808         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1809
1810 2012-04-16  Marek Polacek  <polacek@redhat.com>
1811
1812         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1813         operands of fdivp instruction.
1814
1815 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1816
1817         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1818         * elf/tst-auditmod3b.c: Likewise.
1819         * elf/tst-auditmod4b.c: Likewise.
1820         * elf/tst-auditmod5b.c: Likewise.
1821         * elf/tst-auditmod6b.c: Likewise.
1822         * elf/tst-auditmod6c.c: Likewise.
1823         * elf/tst-auditmod7b.c: Likewise.
1824         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1825         * sysdeps/x86_64/preconfigure.in: Likewise.
1826         * sysdeps/x86_64/preconfigure: Regenerated.
1827
1828 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1829
1830         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1831         __ILP32__.
1832
1833 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
1834
1835         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1836         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1837
1838 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
1839
1840         [BZ #13973]
1841         * locale/iso-639.def: Fix gl language name. Spotted by
1842         Yaron Shahrabani.
1843
1844 2012-04-12  Roland McGrath  <roland@hack.frob.com>
1845
1846         [BZ #2074]
1847         * libio/libio.h (__io_write_fn): Update comment.
1848
1849 2012-04-12  Petr Baudis  <pasky@ucw.cz>
1850
1851         [BZ #2074]
1852         * stdio.texi (Hook Functions): The user provided writer function
1853         is not allowed to return -1.
1854
1855 2012-04-11  David S. Miller  <davem@davemloft.net>
1856
1857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1858
1859 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
1860
1861         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1862         Add a leading slash to rtkaio.
1863
1864 2012-04-11  Jim Meyering  <meyering@redhat.com>
1865
1866         [BZ #11959]
1867         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1868         It is not necessarily an error to ignore fwrite's return
1869         value.  One can reliably use ferror to test for errors after
1870         the fact.
1871
1872 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1873
1874         * bits/types.h (__snseconds_t): New type.
1875         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1876
1877         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1878         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1879         (__SNSECONDS_T_TYPE): Likewise.
1880         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1881         (__SNSECONDS_T_TYPE): Likewise.
1882         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1883         (__SNSECONDS_T_TYPE): Likewise.
1884
1885 2012-04-10  Andreas Jaeger  <aj@suse.de>
1886
1887         [BZ #2636]
1888         * manual/time.texi (Processor Time): Return type of times is
1889         elapsed real time since an arbitrary point in the past.
1890         (CPU Time): Move CLK_TCK from here...
1891         (Processor Time): ...to here.  Correct description.
1892         * manual/conf.texi (Constants for Sysconf): Correct description of
1893         _SC_CLK_TCK.
1894
1895 2012-04-10  David S. Miller  <davem@davemloft.net>
1896
1897         [BZ #13967]
1898         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1899         where the is a gap between DT_REL(A) and DT_JMPREL.
1900
1901 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1902
1903         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1904         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1905         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1906
1907 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1908
1909         * elf/dl-support.c (_dl_inhibit_cache): New variable.
1910         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1911         (dl_main): Handle --inhibit-cache.
1912         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1913         _dl_inhibit_cache.
1914         * elf/dl-load.c (_dl_map_object): Use it.
1915         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1916
1917 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
1918
1919         [BZ #13872]
1920         * sysdeps/i386/fpu/e_powl.S (p78): New object.
1921         (__ieee754_powl): Saturate large exponents rather than testing for
1922         overflow of y*log2(x).
1923         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1924         * math/libm-test.inc (pow_test): Do not permit spurious overflow
1925         exceptions.
1926
1927         [BZ #11521]
1928         * math/s_ctan.c: Include <float.h>.
1929         (__ctan): Avoid internal overflow or cancellation in calculating
1930         denominator.
1931         * math/s_ctanf.c: Likewise.
1932         * math/s_ctanl.c: Likewise.
1933         * math/s_ctanh.c: Likewise.
1934         * math/s_ctanhf.c: Likewise.
1935         * math/s_ctanhl.c: Likewise.
1936         * math/libm-test.inc (ctan_test): Add more tests.
1937         (ctanh_test): Likewise.
1938         * sysdeps/i386/fpu/libm-test-ulps: Update.
1939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1940
1941 2012-04-09  Andreas Jaeger  <aj@suse.de>
1942
1943         [BZ #6894]
1944         * manual/filesys.texi (Directory Entries): Mention that d_namlen
1945         is an optional BSD extension.
1946
1947         [BZ #10254]
1948         * manual/stdio.texi (Opening Streams): Document additional fopen
1949         parameters.
1950
1951 2012-04-09  Roland McGrath  <roland@hack.frob.com>
1952
1953         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1954         %eax without telling the compiler.
1955
1956 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
1957
1958         [BZ # 13963]
1959         * manual/install.texi: Use sourceware.org.
1960
1961 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
1962
1963         [BZ #13873]
1964         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1965         (__ieee754_pow): Generate overflow and underflow using huge*huge
1966         and tiny*tiny rather than just returning constant infinity or zero
1967         for large exponents.
1968         * math/libm-test.inc (pow_test): Require overflow exceptions for
1969         applicable cases of large exponents.
1970
1971         [BZ #706]
1972         * sysdeps/i386/fpu/e_pow.S (p10): New object.
1973         (__ieee754_pow): Use iterative multiplication algorithm only for
1974         integer exponents with absolute value below 1024.  Check for odd
1975         integer exponents when using algorithm for real exponents.
1976         * math/libm-test.inc (pow_test): Add more tests.
1977         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1978
1979 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
1980
1981         [BZ #13705]
1982         * math/libm-test.inc (exp_test): Do not allow overflow exception
1983         on underflow test.
1984
1985 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
1986
1987         [BZ #13705]
1988         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1989         instead of __kernel_standard_f.
1990
1991 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
1992
1993         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1994         * sysdeps/x86_64/memset_chk.S: Likewise.
1995
1996 2012-04-08  Andreas Jaeger  <aj@suse.de>
1997
1998         [BZ #10153]
1999         * manual/startup.texi (Environment Access): Describe return value
2000         for putenv and setenv.
2001
2002         [BZ #6895]
2003         * manual/filesys.texi (Directory Entries): Add description for
2004         DT_LNK.
2005
2006         [BZ #6890]
2007         * manual/filesys.texi (Directory Entries): Clarify that it's file
2008         system not operating system in the description of DT_UNKNOWN.
2009
2010         [BZ #6578]
2011         * manual/syslog.texi (closelog): Fix reference, it's openlog.
2012
2013 2012-04-08  Stephen Compall  <s11@member.fsf.org>
2014
2015         [BZ #6649]
2016         * manual/llio.texi (Opening and Closing Files): Add cross
2017         reference to explain mode argument.
2018
2019 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
2020
2021         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2022         * sysdeps/x86_64/memset_chk.S: Likewise.
2023
2024 2012-04-07  David S. Miller  <davem@davemloft.net>
2025
2026         * elf/elf.h (R_SPARC_WDISP10): Define.
2027         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2028         R_SPARC_SIZE32.
2029         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2030         R_SPARC_SIZE64 and R_SPARC_H34.
2031
2032 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
2033
2034         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2035         conditions and remove no longer applicable assertion.
2036
2037 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2038
2039         * bits/byteswap.h: Include <features.h>.
2040         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2041         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2042
2043 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2044
2045         * bits/byteswap.h (__bswap_16): Removed.
2046         Include <bits/byteswap-16.h> to get __bswap_16.
2047         * sysdeps/i386/bits/byteswap.h: Likewise.
2048         * sysdeps/s390/bits/byteswap.h: Likewise.
2049         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2050         * bits/byteswap-16.h: New file.
2051         * sysdeps/i386/bits/byteswap-16.h: Likewise.
2052         * sysdeps/s390/bits/byteswap-16.h: Likewise.
2053         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2054         * string/Makefile (headers): Add bits/byteswap-16.h.
2055
2056 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2057
2058         [BZ #13895]
2059         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2060         extra indirection.
2061         * nss/Makefile (tests-static, tests): Add tst-nss-static.
2062         * nss/tst-nss-static.c: New.
2063
2064 2012-04-06  Robert Millan  <rmh@gnu.org>
2065
2066         [BZ #6486]
2067         * manual/llio.texi (File Position Primitive): lseek
2068         refers to WHENCE when it really means OFFSET.
2069
2070 2012-04-06  Andreas Jaeger  <aj@suse.de>
2071
2072         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2073         strncmp declarations.
2074
2075         * abilist/libc.abilist: Add __poll and __ppoll.
2076
2077 2012-04-05  David S. Miller  <davem@davemloft.net>
2078
2079         * scripts/check-local-headers.sh: Accept a host triplet in the
2080         path matched by the exclude regexp.
2081
2082         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2083         definition.
2084         * sysdeps/powerpc/powerpc32/dl-machine.h
2085         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2086         * sysdeps/s390/s390-32/dl-machine.h
2087         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2088         * sysdeps/sparc/sparc32/dl-machine.h
2089         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2090         * sysdeps/sparc/sparc64/dl-machine.h
2091         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2092
2093         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2094         lazy binding.
2095         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2096         undefined symbol errors.
2097
2098         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2099         DT_NEEDED entries.
2100
2101 2012-04-05  Michael Matz  <matz@suse.de>
2102
2103         [BZ #13592]
2104         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2105
2106 2012-04-05  Andreas Jaeger  <aj@suse.de>
2107
2108         [BZ #13908]
2109         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2110         comment.
2111
2112 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2113
2114         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2115         which ROUND is no valid rounding mode.
2116
2117 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2118
2119         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2120         read again.
2121         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2122
2123 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2124
2125         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2126         an exception using FPU order intentionally.
2127
2128 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2129
2130         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2131         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2132         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2133         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2134
2135 2012-04-05  Simon Josefsson  <simon@josefsson.org>
2136
2137         [BZ #12340]
2138         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2139         EINVAL when BUFLEN is too smal.
2140
2141 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
2142
2143         [BZ #13553]
2144         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2145         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2146
2147 2012-04-03  Andreas Jaeger  <aj@suse.de>
2148
2149         [BZ #13938]
2150         * manual/setjmp.texi (System V contexts): Fix sentence.
2151
2152         [BZ #13926]
2153         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2154         New macro for this case.
2155         [!__GNUC__] (__bswap_64): New inline function for this case.
2156         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2157         * bits/byteswap.h: Likewise.
2158         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2159         ull, guard with __GLIBC_HAVE_LONG_LONG.
2160
2161         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2162         __GLIBC_HAVE_LONG_LONG.
2163
2164         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2165         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2166
2167 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2168
2169         [BZ #13691]
2170         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2171         inptr and inend, rather than using last_ch.
2172
2173 2012-04-02  David S. Miller  <davem@davemloft.net>
2174
2175         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2176         * stdio-common/printf-parse.h (read_int): Change return type to
2177         'int', return -1 on INT_MAX overflow.
2178         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2179         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
2180         overflows INT_MAX.  Check for overflow of in-format-string precision
2181         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
2182         SIZE_MAX not INT_MAX for integer overflow test.
2183         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2184         skip the construct in the format string but do not record anything.
2185         * stdio-common/bug22.c: Adjust to test both width/prevision
2186         INT_MAX overflow as well as total length INT_MAX overflow.  Check
2187         explicitly for proper errno values.
2188
2189 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
2190
2191         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2192         CHAR_MAX.
2193         * string/test-strcmp.c [! WIDE]: Likewise.
2194         * time/tst-mktime2.c: Likewise for INT_MAX.
2195         * string/test-string.h: #include <sys/param.h> for MIN.
2196
2197         * csu/init-first.c (__libc_init_first): Call __ctype_init.
2198         * sysdeps/i386/init-first.c (init): Likewise.
2199         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2200         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2201         * sysdeps/sh/init-first.c (init): Likewise.
2202
2203 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
2204
2205         * po/ru.po: Update from translation team.
2206         * po/vi.po: Likewise.
2207
2208 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2209
2210         * resolv/nss_dns/dns-host.c: Merge copyright years.
2211
2212 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2213
2214         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2215         Optimize memcpy with prefetch if
2216         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
2217         src, dst pointers have unequal 16 byte alignments.
2218
2219 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2220
2221         [BZ #13928]
2222         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2223         from a CNAME entry and return the minimum ttl for the query.
2224         (gaih_getanswer_slice): Likewise.
2225
2226 2012-03-30  Jeff Law  <law@redhat.com>
2227
2228         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2229         due to long keys.
2230         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2231         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2232
2233         * resolv/nss_dns/dns-host.c: Update copyright year.
2234
2235 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
2236
2237         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2238         requests to save a system call.  Fix check that all bytes are sent.
2239
2240         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2241         comments for sendmmsg.
2242
2243 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2244
2245         [BZ #13691]
2246         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2247         with only 1 character between 0x0041 and 0x01b0.
2248         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2249         * wcsmbs/tst-mbsnrtowcs.c: New file.
2250
2251 2012-03-29  David S. Miller  <davem@davemloft.net>
2252
2253         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2254         small copies by hand.
2255
2256 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2257
2258         [BZ #13761]
2259         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2260         _nss_compat_initgroups_dyn): Fall back to malloc/free
2261         for large group memberships.
2262
2263 2012-03-28  David S. Miller  <davem@davemloft.net>
2264
2265         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2266         that branches into memcpy.
2267         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2268         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2269         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2270         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2271         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2272         bits.
2273         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2274         implementation too.
2275         * sysdeps/sparc/mempcpy.S: New file.
2276
2277         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2278         the IFUNC routine in the libc case.
2279         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2280
2281         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2282         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2283         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2284         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2285         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2286         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2287         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2288         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2289
2290         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2291         loop to 256 bytes instead of 64 bytes and fix test signedness.
2292
2293         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2294         * sysdeps/sparc/sparc32/Makefile: rather than here...
2295         * sysdeps/sparc/sparc64/Makefile: and here.
2296
2297 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
2298
2299         * malloc/mallocbug.c: Avoid warnings about unused variables.
2300
2301 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2302
2303         [BZ #13760]
2304         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2305         in the right place. Discard and retry query if response is
2306         larger than input buffer size.
2307
2308 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
2309
2310         [BZ #369]
2311         [BZ #2678]
2312         [BZ #3866]
2313         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2314         x for large integer exponent.
2315         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2316         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
2317         sign of result as needed afterwards.
2318         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2319         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2320         result for underflowing pow the same as for overflow.
2321         (__kernel_standard_l): Handle powl overflow and underflow here
2322         rather than calling __kernel_standard.
2323         * math/libm-test.inc (pow_test): Add more tests.
2324
2325         [BZ #3868]
2326         [BZ #13879]
2327         [BZ #13910]
2328         [BZ #13911]
2329         [BZ #13912]
2330         [BZ #13913]
2331         [BZ #13915]
2332         [BZ #13916]
2333         [BZ #13917]
2334         [BZ #13918]
2335         [BZ #13919]
2336         [BZ #13920]
2337         [BZ #13921]
2338         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2339         * sysdeps/ieee754/k_standard.c: Include <float.h>.
2340         (__kernel_standard_l): New function.
2341         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2342         __kernel_standard.
2343         * math/w_acosl.c (__acosl): Likewise.
2344         * math/w_asinl.c (__asinl): Likewise.
2345         * math/w_atan2l.c (__atan2l): Likewise.
2346         * math/w_atanhl.c (__atanhl): Likewise.
2347         * math/w_coshl.c (__coshl): Likewise.
2348         * math/w_exp10l.c (__exp10l): Likewise.
2349         * math/w_exp2l.c (__exp2l): Likewise.
2350         * math/w_fmodl.c (__fmodl): Likewise.
2351         * math/w_hypotl.c (__hypotl): Likewise.
2352         * math/w_j0l.c (__j0l, __y0l): Likewise.
2353         * math/w_j1l.c (__j1l, __y1l): Likewise.
2354         * math/w_jnl.c (__jnl, __ynl): Likewise.
2355         * math/w_lgammal.c (__lgammal): Likewise.
2356         * math/w_log10l.c (__log10l): Likewise.
2357         * math/w_log2l.c (__log2l): Likewise.
2358         * math/w_logl.c (__logl): Likewise.
2359         * math/w_powl.c (__powl): Likewise.
2360         * math/w_remainderl.c (__remainderl): Likewise.
2361         * math/w_scalbl.c (sysv_scalbl): Likewise.
2362         * math/w_sinhl.c (__sinhl): Likewise.
2363         * math/w_sqrtl.c (__sqrtl): Likewise.
2364         * math/w_tgammal.c (__tgammal): Likewise.
2365         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2366         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2367         * math/libm-test.inc (acos_test): Add more tests.
2368         (acosh_test): Likewise.
2369         (asin_test): Likewise.
2370         (atanh_test): Likewise.
2371         (exp_test): Likewise.
2372         (exp10_test): Likewise.
2373         (exp2_test): Likewise.
2374         (expm1_test): Likewise.
2375         (lgamma_test): Likewise.
2376         (log_test): Likewise.
2377         (log10_test): Likewise.
2378         (log1p_test): Likewise.
2379         (log2_test): Likewise.
2380         (pow_test): Do not allow some spurious overflow exceptions.
2381         (sqrt_test): Add more tests.
2382         (tgamma_test): Likewise.
2383         (y0_test): Likewise.
2384         (y1_test): Likewise.
2385         (yn_test): Likewise.
2386
2387 2012-03-27  Anton Blanchard  <anton@samba.org>
2388
2389         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2390         MAP_HUGETLB.
2391         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2392         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2393         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2394
2395 2012-03-27  David S. Miller  <davem@davemloft.net>
2396
2397         * conform/Makefile: Run run-conformtest.sh using $(BASH).
2398
2399         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2400         have-as-vis3 check.
2401
2402 2012-03-27  Andreas Jaeger  <aj@suse.de>
2403
2404         * sysdeps/x86_64/elf/configure.in: Moved to ...
2405         * sysdeps/x86_64/configure.in: ... here.
2406         * sysdeps/x86_64/elf/start.S: Moved to ...
2407         * sysdeps/x86_64/start.S: ... here.
2408         * sysdeps/x86_64/elf/configure: Delete.
2409
2410         * sysdeps/x86_64/configure.in: Merge contents from
2411         sysdeps/i386/configure.in (without i686 check).
2412
2413         * sysdeps/i386/elf/Versions: Merge into ...
2414         * sysdeps/i386/Versions: ... this.
2415         * sysdeps/i386/elf/Versions: Delete file.
2416         * sysdeps/i386/elf/start.S: Moved to ...
2417         * sysdeps/i386/start.S: ...here.
2418         * sysdeps/i386/elf/configure.in: Merge into...
2419         * sysdeps/i386/configure.in: ...here.
2420         * sysdeps/i386/elf/configure.in: Delete file.
2421         * sysdeps/i386/elf/configure: Delete file.
2422
2423         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2424         * debug/backtracesyms.c: ... here.
2425         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2426         * debug/backtracesymsfd.c: ... here.
2427         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2428         * sysdeps/generic/ifunc-sel.h: ... here.
2429
2430         * sysdeps/unix/i386/start.c: Delete file.
2431         * sysdeps/unix/sparc/start.c: Delete file.
2432         * sysdeps/unix/start.c: Delete file.
2433
2434         * sysdeps/sh/elf/configure.in: Moved to ...
2435         * sysdeps/sh/configure.in: ... here.
2436         * sysdeps/sh/elf/start.S: Moved to ...
2437         * sysdeps/sh/start.S: ... here.
2438         * sysdeps/sh/elf/configure: Delete file.
2439
2440         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2441         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2442         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2443         * sysdeps/powerpc/powerpc64/entry.h: ... here.
2444         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2445         * sysdeps/powerpc/powerpc64/start.S: here.
2446         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2447         * sysdeps/powerpc/powerpc64/Makefile: ... this.
2448         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2449         * sysdeps/powerpc/powerpc64/configure.in: ... this.
2450         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2451
2452         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2453         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2454         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2455         * sysdeps/powerpc/powerpc32/start.S: ... here.
2456         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2457         * sysdeps/powerpc/powerpc32/configure.in: ... this.
2458         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2459
2460         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2461         * sysdeps/powerpc/ifunc-sel.h: ... here.
2462         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2463         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2464
2465         * sysdeps/sparc/elf/configure.in: Moved to ...
2466         * sysdeps/sparc/configure.in: ... here.
2467         * sysdeps/sparc/elf/configure: Delete file.
2468         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2469         * sysdeps/sparc/sparc32/start.S: ... here.
2470         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2471         * sysdeps/sparc/sparc64/start.S: ... here.
2472         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2473         * sysdeps/sparc/sparc32/Makefile: ... this.
2474         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2475         * sysdeps/sparc/sparc64/Makefile: ... this.
2476
2477         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2478         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2479         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2480         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2481         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2482         * sysdeps/s390/s390-32/setjmp.S: ... here.
2483         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2484         * sysdeps/s390/s390-32/configure.in: ... here.
2485         * sysdeps/s390/s390-32/elf/configure: Delete file.
2486         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2487         * sysdeps/s390/s390-32/start.S: ... here.
2488
2489         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2490         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2491         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2492         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2493         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2494         * sysdeps/s390/s390-64/setjmp.S: ... here.
2495         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2496         * sysdeps/s390/s390-64/configure.in: ... here
2497         * sysdeps/s390/s390-64/elf/configure: Delete file.
2498         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2499         * sysdeps/s390/s390-64/start.S: ... here.
2500         * sysdeps/s390/s390-64/elf/configure: Delete.
2501
2502         * configure.in: Remove support for elf directories in sysdeps.
2503
2504         * configure: Regenerated.
2505         * sysdeps/i386/configure: Regenerated.
2506         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2507         * sysdeps/powerpc/powerpc64/configure: Regenerated.
2508         * sysdeps/s390/s390-32/configure: Regenerated.
2509         * sysdeps/s390/s390-64/configure: Regenerated.
2510         * sysdeps/sh/configure: Regenerated.
2511         * sysdeps/sparc/configure: Regenerated.
2512         * sysdeps/x86_64/configure: Regenerated.
2513
2514 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
2515
2516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2517
2518         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2519         denormal result into account.
2520
2521 2012-03-25  Roland McGrath  <roland@hack.frob.com>
2522
2523         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2524         Reported by Allan McRae <allan@archlinux.org>.
2525
2526 2012-03-23  Jeff Law  <law@redhat.com>
2527
2528         * nss/getnssent.c (__nss_getent): Fix typo.
2529
2530 2012-03-23  David S. Miller  <davem@davemloft.net>
2531
2532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2533
2534 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
2535
2536         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2537         to pad to uint64_t for each field.
2538         (dl_tls_index): Replace unsigned long with uint64_t.
2539
2540 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
2541         Paul Pluzhnikov  <ppluzhnikov@google.com>
2542
2543         [BZ #6528]
2544         * grp/Makefile (otherlibs): Don't set it.
2545         * inet/Makefile (otherlibs): Likewise.
2546         * login/Makefile (otherlibs): Likewise.
2547         * nscd/Makefile (otherlibs): Likewise.
2548         * posix/Makefile (otherlibs): Likewise.
2549         * pwd/Makefile (otherlibs): Likewise.
2550         * rt/Makefile (otherlibs): Likewise.
2551         * sunrpc/Makefile (otherlibs): Likewise.
2552         * nss/Makefile (otherlibs): Likewise.
2553         Add libnss_files to routines and static-only-routines.
2554         ($(objpfx)getent): Remove rule.
2555         * resolv/Makefile: Add libnss_dns and libresolv to routines and
2556         static-only-routines.
2557
2558 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
2559
2560         [BZ #13892]
2561         * math/s_cexp.c: Include <float.h>.
2562         (__cexp): Handle exp result overflowing not necessarily
2563         overflowing both real and imaginary parts of result.
2564         * math/s_cexpf.c: Likewise.
2565         * math/s_cexpl.c: Likewise.
2566         * math/libm-test.inc (cexp_test): Add more tests.
2567         * sysdeps/i386/fpu/libm-test-ulps: Update.
2568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569
2570 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2571
2572         * include/link.h (ELFW): New macro.
2573         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2574         Replace ELF64_R_TYPE with ELFW(R_TYPE).
2575
2576 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2577
2578         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2579         with uint64_t.
2580
2581 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2582
2583         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2584         declaration.
2585         (struct La_x32_retval): Likewise.
2586
2587 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2588
2589         * sysdeps/x86_64/preconfigure.in: New file.
2590         * sysdeps/x86_64/preconfigure: New generated file.
2591
2592 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
2593
2594         [BZ #13824]
2595         * math/e_exp2l.c: Include <float.h>.
2596         (__ieee754_exp2l): Handle overflow and underflow cases
2597         separately.  Only pass fractional part of argument to
2598         __ieee754_expl.
2599         * math/libm-test.inc (exp2_test): Add more tests.
2600
2601         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2602         negating x to take absolute value.
2603         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2604         Likewise.
2605         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2606         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2607         Likewise.
2608         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2609         computing low part if x was negated.
2610         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2611
2612 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2613
2614         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2615         la_x32_gnu_pltexit.
2616         (pltexit): Cast int_retval to ptrdiff_t.
2617         * elf/tst-auditmod3b.c: Likewise.
2618         * elf/tst-auditmod4b.c: Likewise.
2619         * elf/tst-auditmod5b.c: Likewise.
2620         * elf/tst-auditmod6b.c: Likewise.
2621         * elf/tst-auditmod6c.c: Likewise.
2622         * elf/tst-auditmod7b.c: Likewise.
2623
2624         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2625         and x32_gnu_pltexit.
2626
2627         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2628         __ELF_NATIVE_CLASS.
2629         (La_x32_regs): New macro.
2630         (La_x32_retval): Likewise.
2631         (la_x32_gnu_pltenter): New function prototype.
2632         (la_x32_gnu_pltexit): Likewise.
2633
2634 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
2635
2636         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2637         exponent.
2638
2639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2640
2641         * configure.in (libc_cv_cc_nofma): Check for option to disable
2642         generation of FMA instructions.
2643         * configure: Regenerate.
2644         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2645         * sysdeps/ieee754/dbl-64/Makefile: New file.
2646         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2647         Remove brandred-fma4.
2648         (CFLAGS-brandred-fma4.c): Remove.
2649         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2650         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2651         define.
2652         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2653         define.
2654
2655 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2656
2657         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2658         LLONG_MAX != LONG_MAX.
2659         (_itoa_word): Use _ITOA_WORD_TYPE on value.
2660         (_fitoa_word): Likewise.
2661         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2662         LLONG_MAX != LONG_MAX.
2663         * stdio-common/_itowa.h: Include <_itoa.h>.
2664         (_itowa_word): Use _ITOA_WORD_TYPE on value.
2665         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
2666         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
2667         only if not defined.
2668         (_ITOA_WORD_TYPE): Likewise.
2669         (_itoa_word): Use _ITOA_WORD_TYPE on value.
2670         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2671
2672 2012-03-21  David S. Miller  <davem@davemloft.net>
2673
2674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2675
2676 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2677
2678         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2679         of x86_64 when setting libc_cv_slibdir, libdir and
2680         libc_cv_localedir.
2681         * sysdeps/unix/sysv/linux/configure: Regenerated.
2682
2683 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
2684
2685         * manual/lang.texi (Old Varargs): Remove section.
2686         (How Variadic): Update menu.
2687         (va_start): Do not mention varargs.h.
2688
2689 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
2690             Joseph Myers  <joseph@codesourcery.com>
2691
2692         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2693         link test.
2694         * configure: Regenerated.
2695
2696 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
2697
2698         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2699         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2700         conformtest.pl
2701
2702 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
2703
2704         * NOTES: Remove.
2705         * Makefile (files-for-dist): Remove NOTES.
2706         (NOTES): Remove rule.
2707         * README: Don't refer to NOTES.
2708         * manual/creature.texi: Don't include macros.texi.
2709         * manual/intro.texi (creature.texi): Remove comment referring to
2710         NOTES.
2711
2712         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2713         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2714         * configure: Regenerated.
2715         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2716         LIBC_TRY_CC_OPTION.
2717         (libc_cv_as_i686): Likewise.
2718         (libc_cv_cc_avx): Likewise.
2719         (libc_cv_cc_sse2avx): Likewise.
2720         (libc_cv_cc_fma4): Likewise.
2721         (libc_cv_cc_novzeroupper): Likewise.
2722         * sysdeps/i386/configure: Regenerated.
2723
2724         [BZ #13883]
2725         * sysdeps/i386/fpu/s_cexp.S: Remove.
2726         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2727         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2728         * math/libm-test.inc (cexp_test): Add more tests.
2729         * sysdeps/i386/fpu/libm-test-ulps: Update.
2730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2731
2732 2012-03-21  Allan McRae  <allan@archlinux.org>
2733
2734         * timezone/Makefile: Do not install iso3166.tab and zone.tab
2735
2736 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
2737
2738         [BZ #13871]
2739         * math/w_exp2.c: Do not include <float.h>.
2740         (o_threshold, u_threshold): Remove.
2741         (__exp2): Calculate result before checking finiteness and calling
2742         __kernel_standard.
2743         * math/w_exp2f.c: Likewise.
2744         * math/w_exp2l.c: Likewise.
2745         * math/libm-test.inc (exp2_test): Require overflow exception for
2746         1e6 input.
2747
2748         [BZ #3866]
2749         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2750         range of signed 64-bit integers before using fistpll.  Remove
2751         checks for whether integers fit in mantissa bits.
2752         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2753         the range of signed 32-bit integers before using fistpl.  Remove
2754         checks for whether integers fit in mantissa bits.
2755         * sysdeps/i386/fpu/e_powl.S (p64): New object.
2756         (__ieee754_powl): Test for y outside the range of signed 64-bit
2757         integers before using fistpll.  Reduce 64-bit values to 63-bit
2758         ones as needed.
2759         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2760         divide-by-zero is raised for zero to large negative powers.
2761         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2762         (__ieee754_powl): Test for y outside the range of signed 64-bit
2763         integers before using fistpll.  Reduce 64-bit values to 63-bit
2764         ones as needed.
2765         * math/libm-test.inc (pow_test): Add more tests.
2766
2767 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2768
2769         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2770         <stdio-common/_itoa.h>.
2771         * debug/segfault.c: Likewise.
2772         * elf/dl-cache.c: Likewise.
2773         * elf/dl-minimal.c: Likewise.
2774         * elf/dl-misc.c: Likewise.
2775         * elf/dl-sysdep.c: Likewise.
2776         * elf/dl-version.c: Likewise.
2777         * elf/rtld.c: Likewise.
2778         * hurd/hurdsock.c: Likewise.
2779         * hurd/lookup-retry.c: Likewise.
2780         * malloc/malloc.c: Likewise.
2781         * malloc/mtrace.c: Likewise.
2782         * nscd/nscd_getgr_r.c: Likewise.
2783         * nscd/nscd_getpw_r.c: Likewise.
2784         * nscd/nscd_getserv_r.c: Likewise.
2785         * posix/getopt_init.c: Likewise.
2786         * posix/wordexp.c: Likewise.
2787         * stdio-common/_itoa.c: Likewise.
2788         * stdio-common/printf_fphex.c: Likewise.
2789         * stdio-common/vfprintf.c: Likewise.
2790         * string/_strerror.c: Likewise.
2791         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2792         * sysdeps/i386/i686/hp-timing.h: Likewise.
2793         * sysdeps/mach/_strerror.c: Likewise.
2794         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2795         * sysdeps/mach/hurd/sethostid.c: Likewise.
2796         * sysdeps/mach/hurd/xmknodat.c: Likewise.
2797         * sysdeps/mach/xpg-strerror.c: Likewise.
2798         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2799         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2800         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2801         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2802         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2803         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2804         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2805         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2806         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2807         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2808         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2809         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2810         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2811         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2812         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2813         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2814         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2815         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2816         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2817         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2818         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2819
2820         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2821
2822         * stdio-common/_itoa.h: Moved to ...
2823         * sysdeps/generic/_itoa.h: Here.
2824
2825         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2826
2827         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2828         instead of "_itoa.h" and "_itowa.h".
2829         * stdio-common/vfprintf.: Likewise.
2830
2831 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2832
2833         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2834         <bits/wordsize.h>.
2835         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2836         (__signbit): Likwise.
2837         (llrintf): Likwise.
2838         (llrint): Likwise.
2839
2840 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2841
2842         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2843         __WORDSIZE != 64.
2844
2845 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
2846
2847         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2848         OVERFLOW_EXCEPTION_OK.
2849         * math/libm-test.inc ("Philosophy"): Update comment about
2850         exception testing.
2851         (OVERFLOW_EXCEPTION): Define.
2852         (OVERFLOW_EXCEPTION_OK): Likewise.
2853         (INVALID_EXCEPTION_OK): Renumber.
2854         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2855         (IGNORE_ZERO_INF_SIGN): Likewise.
2856         (test_exceptions): Handle FE_OVERFLOW.
2857         (exp10_test): Expect overflow exceptions.
2858         (exp2_test): Likewise.
2859         (expm1_test): Likewise.
2860         (nextafter_test): Likewise.
2861         (pow_test): Likewise.
2862         (scalbn_test): Likewise.
2863         (scalbln_test): Likewise.
2864
2865 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2866
2867         * sysdeps/x86_64/bits/atomic.h
2868         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2869         64bit integer.
2870         (atomic_exchange_acq): Likewise.
2871         (__arch_exchange_and_add_body): Likewise.
2872         (__arch_add_body): Likewise.
2873         (atomic_add_negative): Likewise.
2874         (atomic_add_zero): Likewise.
2875
2876 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2877
2878         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2879         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2880
2881 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2882
2883         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2884         Check __x86_64__ instead of __WORDSIZE.
2885
2886 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2887
2888         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2889
2890 2012-03-19  David S. Miller  <davem@davemloft.net>
2891
2892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2893
2894         * sysdeps/sparc/fpu/fenv_private.h: New file.
2895         * sysdeps/sparc/fpu/math_private.h: Use it.
2896         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2897         Remove.
2898         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2899         (libc_feholdexcept_setroundl): Remove.
2900         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2901         Remove.
2902         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2903         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2904
2905 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2906
2907         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2908         int64_t instead of long int.
2909         (INSERT_WORDS64): Likwise.
2910
2911 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2912
2913         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2914         _Unwind_GetCFA return to _Unwind_Ptr first.
2915
2916 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
2917
2918         [BZ #13629]
2919         * math/s_clog.c: Include <float.h>.
2920         (__clog): Scale large or subnormal inputs.
2921         * math/s_clogf.c: Likewise.
2922         * math/s_clogl.c: Likewise.
2923         * math/s_clog10.c: Include <float.h>.
2924         (M_LOG10_2): Define.
2925         (__clog10): Scale large or subnormal inputs.
2926         * math/s_clog10f.c: Likewise.
2927         * math/s_clog10l.c: Likewise.
2928         * math/libm-test.inc (clog_test): Add more tests.
2929         (clog10_test): Likewise.
2930         * sysdeps/i386/fpu/libm-test-ulps: Update.
2931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2932
2933         [BZ #11451]
2934         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2935         x and y.
2936         * math/libm-test.inc (atan2_test): Add another test.
2937
2938         * Makerules (common-objdir-compile): Remove.
2939         * sysdeps/unix/Makefile (config-generated): Do not add
2940         $(unix-generated) to variable.
2941         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2942         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2943         Remove rule.
2944         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2945         Likewise.
2946         [generic bits/local_lim.h] (before-compile): Do not append to
2947         variable.
2948         [generic bits/local_lim.h] (common-generated): Likewise.
2949         [generic sys/param.h] (before-compile): Do not append to variable.
2950         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2951         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2952         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2953         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2954         include.
2955         [generic sys/param.h] (sys/param.h-includes): Remove variable.
2956         [generic sys/param.h] (sys/param.h-includes): Remove rule.
2957         [generic sys/param.h] ($(addprefix
2958         $(common-objpfx),$(sys/param.h-includes))): Likewise.
2959         [generic sys/param.h] (common-generated): Do not append to
2960         variable.
2961         [generic sys/param.h] (sysdep_headers): Likewise.
2962         [generic bits/errno.h] (before-compile): Do not append to
2963         variable.
2964         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2965         rule.
2966         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2967         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2968         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2969         [generic bits/errno.h] (common-generated): Do not append to
2970         variable.
2971         [generic bits/ioctls.h] (before-compile): Do not append to
2972         variable.
2973         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2974         rule.
2975         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2976         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2977         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2978         rule.
2979         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2980         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2981         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2982         [generic bits/ioctls.h] (common-generated): Do not append to
2983         variable.
2984         [generic sys/syscall.h] (syscall.h): Remove variable.
2985         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2986         rule.
2987         [generic sys/syscall.h] (before-compile): Do not append to
2988         variable.
2989         [generic sys/syscall.h] (common-generated): Likewise.
2990         * sysdeps/unix/errnos-tmpl.c: Remove file.
2991         * sysdeps/unix/errnos.awk: Likewise.
2992         * sysdeps/unix/ioctls-tmpl.c: Likewise.
2993         * sysdeps/unix/ioctls.awk: Likewise.
2994         * sysdeps/unix/mk-local_lim.c: Likewise.
2995         * sysdeps/unix/snarf-ioctls: Likewise.
2996
2997 2012-03-19  Richard Henderson  <rth@twiddle.net>
2998
2999         * sysdeps/i386/fpu/fenv_private.h: New file.
3000         * sysdeps/i386/fpu/math_private.h: Use it.
3001         (math_opt_barrier, math_force_eval): Remove.
3002         (libc_feholdexcept_setround_53bit): Remove.
3003         (libc_feupdateenv_53bit): Remove.
3004         * sysdeps/x86_64/fpu/math_private.h: Likewise.
3005         (math_opt_barrier, math_force_eval): Remove.
3006         (libc_feholdexcept): Remove.
3007         (libc_feholdexcept_setround): Remove.
3008         (libc_fetestexcept, libc_fesetenv): Remove.
3009         (libc_feupdateenv_test): Remove.
3010         (libc_feupdateenv, libc_feholdsetround): Remove.
3011         (libc_feresetround): Remove.
3012
3013         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3014         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3015
3016         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3017         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3018         (libc_feupdateenv_testl): New.
3019         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3020         (libc_feupdateenv_testf): New.
3021         (libc_feupdateenv): Use libc_feupdateenv_test.
3022         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3023         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3024
3025         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3026         (libc_feholdsetroundf, libc_feholdsetroundl): New.
3027         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3028         (libc_feresetround_noex): New.
3029         (libc_feresetround_noexf): New.
3030         (libc_feresetround_noexl): New.
3031         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3032         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3033         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3034         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3035         SET_RESTORE_ROUND.
3036         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3037         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3038         (__cos): Likewise.
3039         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3040         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3041         SET_RESTORE_ROUND_NOEX.
3042         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3043         SET_RESTORE_ROUND_NOEXF.
3044         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3045         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3046         (libc_feholdsetroundf): New.
3047         (libc_feresetround, libc_feresetroundf): New.
3048
3049         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3050         (libc_feholdexcept_setround_53bit): Convert from macro to function.
3051         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
3052
3053         * sysdeps/generic/math_private.h: Include <fenv.h>.
3054         (default_libc_feholdexcept): New.
3055         (default_libc_feholdexcept_setround): New.
3056         (default_libc_fesetenv, default_libc_feupdateenv): New.
3057         (libc_feholdexcept): Only define if undefined.
3058         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3059         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3060         (libc_feholdexcept_setroundl): Likewise.
3061         (libc_feholdexcept_setround_53bit): Likewise.
3062         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3063         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3064         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3065         (libc_feupdateenv_53bit): Likewise.
3066         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3067         (libc_feholdexcept): Convert from macro to inline function.
3068         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3069         (libc_fesetenv, libc_feupdateenv): Likewise.
3070
3071         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3072         not previously defined.
3073         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3074         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3075         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3076         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3077         * sysdeps/ieee754/flt-32/math_private.h: New file.
3078         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3079         math_private.h below SET_FLOAT_WORD.
3080         (__isnan, __isinf_ns, __finite): Remove.
3081         (__isnanf, __isinf_nsf, __finitef): Remove.
3082
3083 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
3084
3085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3086
3087 2012-03-17  David S. Miller  <davem@davemloft.net>
3088
3089         [BZ #6471]
3090         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3091         for 2.16.
3092
3093 2012-03-16  David S. Miller  <davem@davemloft.net>
3094
3095         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3096         warnings.
3097
3098         [BZ #6471]
3099         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3100         properly.
3101         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3102         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3103         sysdep_routines when subdir is sysvipc.
3104         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3105         __getshmlba helper.
3106
3107         * sysdeps/sparc/fpu/libm-test/ulps: Update.
3108
3109 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3110
3111         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3112         [__LP64__].
3113
3114 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3115
3116         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3117         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3118         (__lround): Renamed to ...
3119         (__llround): This.  Replace long int with long long int.
3120         Define lround functions as aliases of llround functions.
3121         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3122
3123 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3124
3125         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3126         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
3127         adresses to uintptr_t.  Replace "long int" and "unsigned long
3128         int" with "greg_t" on va_arg.
3129
3130 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3131
3132         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3133         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3134
3135         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3136         Move e_machine check before EI_CLASS check.  Handle x32
3137         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3138         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3139         SKIP_EM_IA_64 and include
3140         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3141
3142         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3143         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3144         (add_system_dir): New macro.
3145
3146         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3147         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3148
3149 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
3150
3151         [BZ #2551]
3152         [BZ #2552]
3153         [BZ #2553]
3154         [BZ #2554]
3155         [BZ #2562]
3156         [BZ #2563]
3157         [BZ #2565]
3158         [BZ #2566]
3159         [BZ #2576]
3160         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3161         (y0): Likewise.
3162         * math/w_j0f.c (j0f): Likewise.
3163         (y0f): Likewise.
3164         * math/w_j0l.c (__j0l): Likewise.
3165         (__y0l): Likewise.
3166         * math/w_j1.c (j1): Likewise.
3167         (y1): Likewise.
3168         * math/w_j1f.c (j1f): Likewise.
3169         (y1f): Likewise.
3170         * math/w_j1l.c (__j1l): Likewise.
3171         (__y1l): Likewise.
3172         * math/w_jn.c (jn): Likewise.
3173         (yn): Likewise.
3174         * math/w_jnf.c (jnf): Likewise.
3175         (ynf): Likewise.
3176         * math/w_jnl.c (__jnl): Likewise.
3177         (__ynl): Likewise.
3178         * math/libm-test.inc (j0_test): Add more tests.
3179         (j1_test): Likewise.
3180         (jn_test): Likewise.  Add trailing semicolon to existing test.
3181         (y0_test): Likewise.
3182         (y1_test): Likewise.
3183         * sysdeps/i386/fpu/libm-test-ulps: Update.
3184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3185
3186         [BZ #13851]
3187         [BZ #13854]
3188         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3189         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3190         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3191         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3192         (__tanl): Set errno for infinite argument.
3193         * sysdeps/i386/fpu/mptan.c: Remove.
3194         * sysdeps/i386/fpu/s_tan.S: Likewise.
3195         * sysdeps/i386/fpu/s_tanl.S: Likewise.
3196         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3197         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3198         * math/libm-test.inc (tan_test): Add more tests and enable more
3199         tests for double and long double.
3200         * sysdeps/i386/fpu/libm-test-ulps: Update.
3201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3202
3203 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3204
3205         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3206         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3207
3208 2012-03-16  Roland McGrath  <roland@hack.frob.com>
3209
3210         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3211         * configure.in: Use it for both main tree and add-ons.
3212         * configure: Regenerated.
3213
3214 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3215
3216         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3217
3218 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
3219
3220         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3221         in comment.
3222
3223         [BZ #13851]
3224         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3225         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3226         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3227         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3228         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3229         infinite argument.
3230         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3231         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3232         != 0 for prec == 2.
3233         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3234         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3235         * sysdeps/i386/fpu/s_cosl.S: Likewise.
3236         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3237         * sysdeps/i386/fpu/s_sinl.S: Likewise.
3238         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3239         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3240         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3241         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3242         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3243         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3244         * math/libm-test.inc (cos_test): Add more tests and enable more
3245         tests for long double.
3246         (sin_test): Likewise.
3247         (sincos_test): Likewise.
3248         * sysdeps/i386/fpu/libm-test-ulps: Update.
3249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3250
3251 2012-03-16  David S. Miller  <davem@davemloft.net>
3252
3253         * sysdeps/sparc/fpu/math_private.h: New file.
3254
3255 2012-03-15  David S. Miller  <davem@davemloft.net>
3256
3257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3258         file.
3259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3261         file.
3262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3263         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3264         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3265         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3266         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3267         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3268         sysdep routines.
3269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3270
3271         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3272         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3273
3274         * sysdeps/sparc/sparc-ifunc.h: New file.
3275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3276         sparc-ifunc.h
3277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3279         Likewise.
3280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3281         Likewise.
3282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3286         Likewise.
3287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3292         Likewise.
3293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3294         Likewise.
3295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3299         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3300         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3301         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3302         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3308         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3312         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3313         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3314         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3315         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3316         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3317         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3318         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3319
3320 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
3321
3322         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3323         scaling.
3324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3325
3326 2012-03-15  Andreas Jaeger  <aj@suse.de>
3327
3328         [BZ #13852]
3329         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3330         ieee754/flt-32 implementation for sin, cos and sincos.
3331         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3332         * sysdeps/i386/fpu/s_cosf.S: Likewise.
3333         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3334         * sysdeps/i386/fpu/s_sinf.S: Likewise.
3335         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3336         ieee754/flt-32 implementation for tan.
3337
3338         * math/libm-test.inc (cos_test): Enable some large input tests for
3339         float as well
3340         (sin_test): Likewise.
3341         (sincos_test): Likewise.
3342         (tan_test): Add tests for large input.
3343
3344         * sysdeps/i386/fpu/libm-test-ulps: Update.
3345
3346 2012-03-15  Andreas Jaeger  <aj@suse.de>
3347
3348         [BZ #13658]
3349         * math/libm-test.inc (cos_test): Add more test cases.
3350         (sin_test): Likewise.
3351         (sincos_test): Likewise.
3352
3353 2012-03-15  Andreas Jaeger  <aj@suse.de>
3354
3355         [BZ #13837]
3356         * math/libm-test.inc (cos_test): Add a test case for large input
3357         value.
3358         (sin_test): Likewise.
3359         (sincos_test): Likewise.
3360
3361 2012-03-15  Andreas Jaeger  <aj@suse.de>,
3362         Joseph Myers  <joseph@codesourcery.com>
3363
3364         [BZ #13658]
3365         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3366         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3367         * sysdeps/i386/fpu/branred.c: Likewise.
3368         * sysdeps/i386/fpu/dosincos.c: Likewise.
3369         * sysdeps/i386/fpu/mpa.c: Likewise.
3370         * sysdeps/i386/fpu/s_cos.S: Likewise.
3371         * sysdeps/i386/fpu/s_sin.S: Likewise.
3372         * sysdeps/i386/fpu/s_sincos.S: Likewise.
3373         * sysdeps/i386/fpu/sincos32.c: Likewise.
3374
3375         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3376         Define.
3377         (libc_feupdateenv_53bit): Define.
3378         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3379         Define.
3380         (libc_feupdateenv_53bit): Define.
3381
3382         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3383         53 bit (without extend i386 double precision).
3384
3385         * math/libm-test.inc (sincos_test): Add tests for large input.
3386         (sin): Likewise.
3387         (cos): Likewise.
3388
3389         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3390
3391 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
3392
3393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3394
3395 2012-03-15  David S. Miller  <davem@davemloft.net>
3396
3397         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3398         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3399         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3400         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3409         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3410         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3411         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3413         file.
3414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3416         file.
3417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3419         file.
3420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3422         file.
3423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3424         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3425         fmin/fmax sysdep routines.
3426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3427
3428 2012-03-14  David S. Miller  <davem@davemloft.net>
3429
3430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3432         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3433         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3434         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3435         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3436         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3437         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3440         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3442         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3443         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3444         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3445         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3446         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3447         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3448         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3449         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3450         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3451         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3452         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3453         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3454         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3455         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3456         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3457         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3458         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3459         routines.
3460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3461         file.
3462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3464         file.
3465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3467         file.
3468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3470         file.
3471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3473         file.
3474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3476         file.
3477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3478         file.
3479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3480         file.
3481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3482         file.
3483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3484         New file.
3485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3486         file.
3487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3488         file.
3489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3491         file.
3492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3494         file.
3495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3497         file.
3498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3500         VIS3 routines.
3501
3502         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3503         New file.
3504
3505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3506
3507         * sysdeps/sparc/configure.in: New file.
3508         * sysdeps/sparc/configure: Generate.
3509         * configure.in (libc_cv_sparc_as_vis3): Substitute.
3510         * configure: Regenerate.
3511         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3512         * config.make.in (have-as-vis3): New.
3513         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3514         available use -Av9d instead of -Av9a.
3515         * sysdeps/sparc/sparc64/Makefile: Likewise.
3516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3518         New file.
3519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3520         file.
3521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3522         New file.
3523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3524         file.
3525         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3526         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3527         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3528         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3529         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3530
3531         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3532         fzeros/fnegs to load 0x80000000 into a float register instead of
3533         using the stack.
3534         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3535
3536 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3537
3538         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3539         bits/syscall.h.
3540         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3541         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3542         ($(inst_includedir)/bits/syscall.h): Remove rule.
3543         ($(objpfx)bits/syscall.d): Include instead of
3544         $(objpfx)syscall-list.d.
3545         (generated): Change syscall-list.h and syscall-list.d to
3546         bits/syscall.h and bits/syscall.d.
3547
3548 2012-03-14  Roland McGrath  <roland@hack.frob.com>
3549
3550         [BZ #13846]
3551         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3552
3553 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3554
3555         [BZ #13841]
3556         * math/s_csqrt.c: Include <float.h>.
3557         (__csqrt): Scale large or subnormal inputs.
3558         * math/s_csqrtf.c: Likewise.
3559         * math/s_csqrtl.c: Likewise.
3560         * math/libm-test.inc (csqrt_test): Add more tests.
3561         * sysdeps/i386/fpu/libm-test-ulps: Update.
3562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3563
3564         [BZ #13840]
3565         * math/libm-test.inc (hypot_test): Add more tests.
3566
3567 2012-03-13  David S. Miller  <davem@davemloft.net>
3568
3569         [BZ #13840]
3570         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3571         double-precision for the calculation instead of scaling.
3572
3573 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
3574
3575         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3576         manipulate bits before adding and subtracting TWO52[sx].
3577         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3578         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3579         Likewise.
3580         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3581
3582 2012-03-13  David S. Miller  <davem@davemloft.net>
3583
3584         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3585         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3586         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3587         rtld-global-offsets.h
3588         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3589
3590         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3591         large parameters.
3592
3593         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3594
3595         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3596         'err' in the ifdef scope in which it is actually used.
3597
3598         * nss/nss_db/db-init.c: Include string.h
3599
3600 2012-03-12  David S. Miller  <davem@davemloft.net>
3601
3602         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3603         masking out of the most significant byte of random value used.
3604         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3605         Fix coding style in previous change.
3606
3607         * sysdeps/unix/sysv/linux/kernel-features.h
3608         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3609         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3610         expression.
3611         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3612         later.
3613
3614 2012-03-11  David S. Miller  <davem@davemloft.net>
3615
3616         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3617         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3618         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3619         for 'resultvar' otherwise things get truncated on 64-bit.
3620
3621         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3622         Fix masking out of the most significant byte of random value used.
3623
3624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3625
3626 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
3627
3628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3629
3630 2012-03-09  David S. Miller  <davem@davemloft.net>
3631
3632         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3633         variables with appropriate CPP guards.
3634         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3635         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
3636         on resulting framesize and the management of the outregs buffer for pltexit.
3637         Preserve floating point return values across _dl_call_pltexit call.
3638         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3639         framesize and the management of the outregs buffer for pltexit.
3640         Preserve floating point return values across _dl_call_pltexit
3641         call.
3642         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3643         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3644         (print_exit): Fix format string for return register value.
3645
3646 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
3647
3648         * sunrpc/Makefile (others): Add rpcgen.
3649         ($(objpfx)rpcgen): Remove special build rule and dependency on
3650         libc.
3651         * sunrpc/rpcgen.c: New file.
3652
3653 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
3654
3655         [BZ #13673]
3656         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3657         * stdio-common/bug-vfprintf-nargs.c: Likewise.
3658         * sysdeps/i386/crti.S: Likewise.
3659         * sysdeps/i386/crtn.S: Likewise.
3660         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3661         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3662         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3663         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3664         * sysdeps/sh/crti.S: Likewise.
3665         * sysdeps/sh/crtn.S: Likewise.
3666         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3667
3668         [BZ #13673]
3669         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3670         with URL.
3671         * locale/programs/locfile-kw.gperf: Likewise.
3672         * locale/programs/charmap-kw.h: Regenerated.
3673         * locale/programs/locfile-kw.h: Likewise.
3674
3675         [BZ #13673]
3676         * intl/plural.y: Replace FSF snail mail address with URL.
3677         * intl/plural.c: Regenerated.
3678
3679 2012-03-09  Richard Henderson  <rth@twiddle.net>
3680
3681         * include/math_private.h: Remove file.
3682         * math/math_private.h: Move file ...
3683         * sysdeps/generic/math_private.h: ... here.
3684
3685         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3686         * sysdeps/powerpc/fpu/math_private.h: Likewise.
3687         * sysdeps/x86_64/fpu/math_private.h: Likewise.
3688
3689         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3690         and <math_private.h>.
3691         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3692         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3693         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3694         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3695         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3696         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3697         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3698         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3699         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3700         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3701         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3702         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3703         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3704         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3705         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3706         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3707         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3708         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3709         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3710         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3711         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3712         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3713         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3714         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3715         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3716         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3717         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3718         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3719         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3720         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3721         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3722         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3723         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3724         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3725         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3726         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3727         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3728         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3729         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3730         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3731         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3732         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3733         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3734         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3735         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3736         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3737         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3738         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3739         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3740         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3741         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3742         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3743         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3744         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3745         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3746         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3747         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3748         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3749         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3750         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3751         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3752         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3753         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3754         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3755         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3756         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3757         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3758         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3759         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3760         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3761         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3762         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3763         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3764         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3765         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3766         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3767         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3768         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3769         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3770         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3771         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3772         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3773         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3774         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3775         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3776         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3777         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3778         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3779         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3780         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3781         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3782         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3783         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3784         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3785         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3786         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3787         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3788         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3789         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3790         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3791         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3792         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3793         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3794         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3795         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3796         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3797         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3798         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3799         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3800         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3801         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3802         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3803         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3804         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3805         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3806         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3807         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3808         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3809         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3810         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3811         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3812         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3813         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3814         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3815         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3816         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3817         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3818         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3819         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3820         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3821         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3822         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3823         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3824         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3825         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3826         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3827         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3828         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3829         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3830         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3831         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3832         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3833         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3834         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3835         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3836         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3837         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3838         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3839         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3840         * sysdeps/ieee754/k_standard.c: Likewise.
3841         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3842         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3843         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3844         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3845         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3846         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3847         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3848         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3849         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3850         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3851         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3852         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3853         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3854         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3855         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3856         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3857         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3858         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3859         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3860         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3861         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3862         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3863         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3864         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3865         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3866         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3867         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3868         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3869         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3870         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3871         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3872         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3873         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3874         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3875         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3876         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3877         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3878         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3879         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3880         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3881         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3882         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3883         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3884         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3885         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3886         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3887         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3888         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3889         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3890         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3891         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3892         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3893         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3894         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3895         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3896         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3897         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3898         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3899         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3900         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3901         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3902         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3903         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3904         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3905         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3906         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3907         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3908         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3909         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3910         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3911         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3912         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3913         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3914         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3915         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3916         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3917         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3918         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3919         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3920         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3921         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3922         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3923         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3924         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3925         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3926         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3927         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3928         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3929         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3930         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3931         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3932         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3933         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3934         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3935         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3936         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3937         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3938         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3939         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3940         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3941         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3942         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3943         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3944         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3945         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3946         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3947         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3948         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3949         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3950         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3951         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3952         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3953         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3954         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3955         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3956         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3957         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3958         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3959         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3960         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3961         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3962         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3963         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3964         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3965         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3966         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3967         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3968         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3969         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3970         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3971         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3972         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3973         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3974         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3975         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3976         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3977         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3978         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3979         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3980         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3981         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3982         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3983         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3984         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3985         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3986         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3987         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3988         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3989         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3990         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3991         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3992         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3993         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3994         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3995         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3996         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3997         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3998         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3999         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4000         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4001         * sysdeps/ieee754/s_lib_version.c: Likewise.
4002         * sysdeps/ieee754/s_matherr.c: Likewise.
4003         * sysdeps/ieee754/s_signgam.c: Likewise.
4004         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4005         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4006         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4007         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4008         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4009         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4010         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4011         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4012         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4013         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4014         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4015         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4016         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4017         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4018         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4019         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4020         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4021         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4022         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4023         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4024         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4025
4026 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4027
4028         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4029         * sunrpc/rpc_main.c: Likewise.
4030         * sunrpc/rpc_svcout.c: Likewise.
4031
4032 2012-03-09  David S. Miller  <davem@davemloft.net>
4033
4034         * include/math_private.h: New file.
4035
4036 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4037
4038         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4039         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4040         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4041         from <bits/socket_type.h>.
4042         (enum __socket_type): Don't define here.
4043         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4044         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4045         bits/socket_type.h.
4046
4047         [BZ #13566]
4048         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4049         checking __USE_GNU.
4050
4051         * Makerules ($(inst_includedir)/%.h): New rule.
4052         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4053         (install-others): Remove variable setting.
4054         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4055
4056 2012-03-08  Richard Henderson  <rth@twiddle.net>
4057
4058         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4059         from macro to inline function; merge with the
4060         !__LIBC_INTERNAL_MATH_INLINES version.
4061         (__ieee754_sqrtf): Likewise.
4062
4063         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4064         to inline function.
4065         (__rintf, __floor, __floorf): Likewise.
4066
4067         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4068         macro to inline function.
4069         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4070
4071         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4072         not <math/math_private.h>.
4073
4074 2012-03-08  David S. Miller  <davem@davemloft.net>
4075
4076         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4077         copyright year.
4078         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4079
4080 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
4081
4082         * resolv/gai_misc.c (handle_requests): Fix struct timespec
4083         normalization.
4084         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4085         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4086
4087 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
4088
4089         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
4090         be defined individually, they must be defined as a block.  Define
4091         S for printing a string instead of hidint the different by using a
4092         macro for adding the 'l'.
4093         * stdio-common/tst-fphex-wide.c: Adjust.
4094
4095 2012-03-07  Marek Polacek  <polacek@redhat.com>
4096
4097         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4098
4099 2012-03-08  Marek Polacek  <polacek@redhat.com>
4100
4101         [BZ #13806]
4102         * stdio-common/Makefile (tests): Add tst-fphex-wide.
4103         * stdio-common/tst-fphex.c: Define a few macros to make the
4104         test reusable.  Use them.
4105         * stdio-common/tst-fphex-wide.c: New file.
4106
4107 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
4108
4109         [BZ #6911]
4110         * manual/macros.texi (gnusystems): New macro.
4111         (nongnusystems): Likewise.
4112         (gnulinuxhurdsystems): Likewise.
4113         (gnuhurdsystems): Likewise..
4114         (gnulinuxsystems): Likewise.
4115         * manual/charset.texi: Use new macros or @theglibc{} to refer to
4116         variants of the GNU system, not "GNU system".
4117         * manual/conf.texi: Likewise.
4118         * manual/errno.texi: Likewise.  Update example of errno macro
4119         expansion.
4120         * manual/filesys.texi: Likewise.
4121         (getumask): Document as specific to GNU/Hurd.
4122         * manual/install.texi: Likewise.  Reword some references to
4123         GNU/Linux.
4124         * manual/intro.texi: Likewise.
4125         * manual/io.texi: Likewise.
4126         (File Name Portability): Detail which constraints are inapplicable
4127         to all GNU systems and which are only inapplicable to GNU/Hurd.
4128         * manual/job.texi: Likewise.
4129         * manual/llio.texi: Likewise.
4130         (O_NOCTTY): Document as present on GNU/Linux.
4131         * manual/maint.texi: Likewise.
4132         * manual/memory.texi: Likewise.
4133         * manual/pattern.texi: Likewise.
4134         * manual/pipe.texi: Likewise.
4135         * manual/process.texi: Likewise.
4136         * manual/resource.texi: Likewise.
4137         (RUSAGE_CHILDREN): Remove statement about specifying a particular
4138         child on GNU/Hurd.
4139         * manual/setjmp.texi: Likewise.
4140         * manual/signal.texi: Likewise.
4141         * manual/startup.texi: Likewise.
4142         * manual/stdio.texi: Likewise.
4143         * manual/terminal.texi: Likewise.
4144         (ONLCR): Document as POSIX.
4145         (OXTABS): Document availability on GNU/Linux as XTABS.
4146         (ONOEOT): Document availability separately from other bits.
4147         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4148         * manual/time.texi: Likewise.
4149         * manual/users.texi: Likewise.
4150         * INSTALL: Regenerated.
4151         * sysdeps/gnu/errlist.c: Regenerated.
4152
4153         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4154         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4155         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
4156         puts.
4157         * configure: Regenerated.
4158
4159 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
4160
4161         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4162         default includes instead of AC_HEADER_CHECK.
4163         * sysdeps/i386/configure: Regenerated.
4164
4165         [BZ #10716]
4166         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4167         * math/s_cacoshf.c (__cacoshf): Likewise.
4168         * math/s_cacoshl.c (__cacoshl): Likewise.
4169         * math/s_casinh.c (__casinh): Set signs of result from argument.
4170         * math/s_casinhf.c (__casinhf): Likewise.
4171         * math/s_casinhl.c (__casinhl): Likewise.
4172         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4173         (casinh_test): Add more tests.
4174         * sysdeps/i386/fpu/libm-test-ulps: Update.
4175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4176
4177 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
4178
4179         * po/zh_TW.po: Update from translation team.
4180
4181         * login/Makefile (distribute): Remove variable.
4182         * catgets/Makefile: Likewise.
4183         * mach/Makefile: Likewise.
4184         * malloc/Makefile: Likewise.
4185         * misc/Makefile: Likewise.
4186         * iconv/Makefile: Likewise.
4187         * nscd/Makefile: Likewise.
4188         * hurd/Makefile: Likewise.
4189         * manual/Makefile: Likewise.
4190         * locale/Makefile: Likewise.
4191         * intl/Makefile: Likewise.
4192         * conform/Makefile: Likewise.
4193         * nss/Makefile: Likewise.
4194         * time/Makefile: Likewise.
4195         * soft-fp/Makefile: Likewise.
4196         * dirent/Makefile: Likewise.
4197         * gmon/Makefile: Likewise.
4198         * po/Makefile: Likewise.
4199         * rt/Makefile: Likewise.
4200         * socket/Makefile: Likewise.
4201         * math/Makefile: Likewise.
4202         * signal/Makefile: Likewise.
4203         * debug/Makefile: Likewise.
4204         * elf/Makefile: Likewise.
4205         * timezone/Makefile: Likewise.
4206         * stdlib/Makefile: Likewise.
4207         * iconvdata/Makefile: Likewise.
4208         * sunrpc/Makefile: Likewise.
4209         * io/Makefile: Likewise.
4210         * argp/Makefile: Likewise.
4211         * inet/Makefile: Likewise.
4212         * hesiod/Makefile: Likewise.
4213         * grp/Makefile: Likewise.
4214         * csu/Makefile: Likewise.
4215         * wctype/Makefile: Likewise.
4216         * crypt/Makefile: Likewise.
4217         * libio/Makefile: Likewise.
4218         * string/Makefile: Likewise.
4219         * nis/Makefile: Likewise.
4220         * resolv/Makefile: Likewise.
4221         * stdio-common/Makefile: Likewise.
4222         * wcsmbs/Makefile: Likewise.
4223         * dlfcn/Makefile: Likewise.
4224         * posix/Makefile: Likewise.
4225
4226         [BZ #6959]
4227         * timezone/Makefile: Don't install timezone files, just the programs
4228         and scripts.
4229
4230 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
4231
4232         * nss/databases.def: Add missing gshadow entry.
4233
4234         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
4235
4236 2012-03-06  Marek Polacek  <polacek@redhat.com>
4237
4238         [BZ #13726]
4239         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4240         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4241         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4242         * stdio-common/tst-long-dbl-fphex.c: New file.
4243
4244 2012-03-06  David S. Miller  <davem@davemloft.net>
4245
4246         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4247         (set_obp_int): New function.
4248         (get_obp_int): New function.
4249         (__get_clockfreq_via_dev_openprom): Likewise.
4250         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4251         Avoid unused variable warnings on 'val' and use builtin_expect.
4252         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4253         __builtin_expect.
4254         (INLINE_CLONE_SYSCALL): Likewise.
4255
4256 2012-03-05  David S. Miller  <davem@davemloft.net>
4257
4258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4259
4260 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
4261
4262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4263
4264         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4265         only for |x| >= 40.
4266         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4267
4268 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4269
4270         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4271         Replace gettimeofday with __vdso_gettimeofday.
4272
4273         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4274         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4275         __vdso_clock_gettime and __vdso_getcpu.
4276
4277         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4278         time with __vdso_time.
4279
4280 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
4281
4282         * manual/lang.texi (size_t): Note types to which size_t may be
4283         equivalent with the GNU C Library, but do not describe when
4284         differences between them are significant.
4285
4286 2012-03-05  Andreas Jaeger  <aj@suse.de>
4287
4288         * sysdeps/i386/fpu/libm-test-ulps: Update.
4289
4290 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
4291
4292         [BZ #3976]
4293         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4294         (__ieee754_pow): Save and restore rounding mode and use
4295         round-to-nearest for main computations.
4296         * math/libm-test.inc (pow_test_tonearest): New function.
4297         (pow_test_towardzero): Likewise.
4298         (pow_test_downward): Likewise.
4299         (pow_test_upward): Likewise.
4300         (main): Call the new functions.
4301         * sysdeps/i386/fpu/libm-test-ulps: Update.
4302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4303
4304         [BZ #3976]
4305         * math/libm-test.inc (cosh_test_tonearest): New function.
4306         (cosh_test_towardzero): Likewise.
4307         (cosh_test_downward): Likewise.
4308         (cosh_test_upward): Likewise.
4309         (sinh_test_tonearest): Likewise.
4310         (sinh_test_towardzero): Likewise.
4311         (sinh_test_downward): Likewise.
4312         (sinh_test_upward): Likewise.
4313         (main): Call the new functions.
4314         * sysdeps/i386/fpu/libm-test-ulps: Update.
4315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4316
4317 2012-03-05  Tom de Vries  <tom@codesourcery.com>
4318
4319         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4320         default stack guard is set in last bytes.
4321         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4322
4323 2012-03-05  Kees Cook  <keescook@chromium.org>
4324
4325         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4326
4327         [BZ #13656]
4328         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4329         possibly allocate from heap instead of stack.
4330         * stdio-common/bug-vfprintf-nargs.c: New file.
4331         * stdio-common/Makefile (tests): Add nargs overflow test.
4332
4333 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
4334
4335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4336
4337 2012-03-03  Marek Polacek  <polacek@redhat.com>
4338
4339         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4340         * math/math_private.h: Likewise.
4341         * stdlib/tst-strtod.c: Likewise.
4342         * sysdeps/i386/i486/bits/atomic.h: Likewise.
4343         * sysdeps/x86_64/bits/atomic.h: Likewise.
4344
4345 2012-03-02  David S. Miller  <davem@davemloft.net>
4346
4347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4351         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4352         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4353         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4354         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4355
4356 2012-03-02  Roland McGrath  <roland@hack.frob.com>
4357
4358         [BZ #13792]
4359         * manual/examples/README: New file, says the example source files
4360         can be used under GPL>=2.
4361         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4362         line containing just "*/".
4363         * manual/examples/add.c: Add copyright header (GPL>=2).
4364         * manual/examples/argp-ex1.c: Likewise.
4365         * manual/examples/argp-ex2.c: Likewise.
4366         * manual/examples/argp-ex3.c: Likewise.
4367         * manual/examples/argp-ex4.c: Likewise.
4368         * manual/examples/atexit.c: Likewise.
4369         * manual/examples/db.c: Likewise.
4370         * manual/examples/dir.c: Likewise.
4371         * manual/examples/dir2.c: Likewise.
4372         * manual/examples/execinfo.c: Likewise.
4373         * manual/examples/filecli.c: Likewise.
4374         * manual/examples/filesrv.c: Likewise.
4375         * manual/examples/fmtmsgexpl.c: Likewise.
4376         * manual/examples/genpass.c: Likewise.
4377         * manual/examples/inetcli.c: Likewise.
4378         * manual/examples/inetsrv.c: Likewise.
4379         * manual/examples/isockad.c: Likewise.
4380         * manual/examples/longopt.c: Likewise.
4381         * manual/examples/memopen.c: Likewise.
4382         * manual/examples/memstrm.c: Likewise.
4383         * manual/examples/mkfsock.c: Likewise.
4384         * manual/examples/mkisock.c: Likewise.
4385         * manual/examples/mygetpass.c: Likewise.
4386         * manual/examples/pipe.c: Likewise.
4387         * manual/examples/popen.c: Likewise.
4388         * manual/examples/rprintf.c: Likewise.
4389         * manual/examples/search.c: Likewise.
4390         * manual/examples/select.c: Likewise.
4391         * manual/examples/setjmp.c: Likewise.
4392         * manual/examples/sigh1.c: Likewise.
4393         * manual/examples/sigusr.c: Likewise.
4394         * manual/examples/stpcpy.c: Likewise.
4395         * manual/examples/strdupa.c: Likewise.
4396         * manual/examples/strftim.c: Likewise.
4397         * manual/examples/strncat.c: Likewise.
4398         * manual/examples/subopt.c: Likewise.
4399         * manual/examples/swapcontext.c: Likewise.
4400         * manual/examples/termios.c: Likewise.
4401         * manual/examples/testopt.c: Likewise.
4402         * manual/examples/testpass.c: Likewise.
4403         * manual/examples/timeval_subtract.c: Likewise.
4404
4405         [BZ #13792]
4406         * manual/time.texi (Elapsed Time): Move timeval_subtract example
4407         function to ...
4408         * manual/timeval_subtract.c.texi: ... here, new file.
4409
4410 2012-03-02  David S. Miller  <davem@davemloft.net>
4411
4412         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4413
4414 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
4415
4416         [BZ #3976]
4417         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4418         (__sin): Save and restore rounding mode and use round-to-nearest
4419         for all computations.
4420         (__cos): Save and restore rounding mode and use round-to-nearest
4421         for all computations.
4422         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4423         <fenv.h>.
4424         (tan): Save and restore rounding mode and use round-to-nearest for
4425         all computations.
4426         * math/libm-test.inc (cos_test_tonearest): New function.
4427         (cos_test_towardzero): Likewise.
4428         (cos_test_downward): Likewise.
4429         (cos_test_upward): Likewise.
4430         (sin_test_tonearest): Likewise.
4431         (sin_test_towardzero): Likewise.
4432         (sin_test_downward): Likewise.
4433         (sin_test_upward): Likewise.
4434         (tan_test_tonearest): Likewise.
4435         (tan_test_towardzero): Likewise.
4436         (tan_test_downward): Likewise.
4437         (tan_test_upward): Likewise.
4438         (main): Call the new functions.
4439         * sysdeps/i386/fpu/libm-test-ulps: Update.
4440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4441
4442         [BZ #10135]
4443         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4444         small n, then large n, before computing and testing k+n.
4445         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4446         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4447         Likewise.
4448         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4449         Likewise.
4450         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4451         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4452         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4453         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4454         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4455         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4456         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4457         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4458         * math/libm-test.inc (scalbn_test): Add more tests.
4459         (scalbln_test): Likewise.
4460
4461         * manual/filesys.texi (mode_t): Describe constraints on size and
4462         signedness, not exact equivalence to a particular type.
4463         (ino_t): Likewise.
4464         (ino64_t): Likewise.
4465         (dev_t): Likewise.
4466         (nlink_t): Likewise.
4467         (blkcnt_t): Likewise.
4468         (blkcnt64_t): Likewise.
4469         * manual/llio.texi (off_t): Likewise.
4470
4471         [BZ #3976]
4472         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4473         (__ieee754_exp): Save and restore rounding mode and use
4474         round-to-nearest for all computations.
4475         * math/libm-test.inc (exp_test_tonearest): New function.
4476         (exp_test_towardzero): Likewise.
4477         (exp_test_downward): Likewise.
4478         (exp_test_upward): Likewise.
4479         (main): Call the new functions.
4480         * sysdeps/i386/fpu/libm-test-ulps: Update.
4481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4482
4483 2012-03-01  Chris Demetriou  <cgd@google.com>
4484
4485         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4486         have predictable order.
4487
4488 2012-03-01  David S. Miller  <davem@davemloft.net>
4489
4490         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4491
4492         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4493         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4494         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4495         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4496
4497         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4498         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4499         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4501         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4502         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4503         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4504         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4505         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4506
4507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4508
4509         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4510         * sysdeps/sparc/fpu/libm-test-ulps: to here.
4511         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4512
4513         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4514         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4515         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4516         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4517         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4518         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4519         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4520         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4521         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4522         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4523         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4524         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4525         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4526         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4527         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4528         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4529         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4530         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4531         * sysdeps/sparc/elf/configure: Regenerated.
4532
4533 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
4534
4535         * configure.in (AS, LD): Require binutils 2.20 or later.
4536         * configure: Regenerated.
4537         * manual/install.texi (Tools for Compilation): Give binutils 2.20
4538         as required minimum version.
4539         * INSTALL: Regenerated.
4540
4541         [BZ #2541]
4542         [BZ #4108]
4543         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4544         before squaring exponent.
4545         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4546         bottom long double and 27 bits of top long double before squaring
4547         exponent.
4548         * math/libm-test.inc (erfc_test): Add more tests.
4549         * sysdeps/i386/fpu/libm-test-ulps: Update.
4550         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4552
4553 2012-03-01  Kai Tietz  <ktietz@redhat.com>
4554
4555         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4556         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4557         containing bit-fields.
4558         * soft-fp/extended.h (_FP_UNION_E): Likewise.
4559         * soft-fp/single.h (_FP_UNION_S): Likewise.
4560         * soft-fp/double.h (_FP_UNION_D): Likewise.
4561
4562 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
4563
4564         [BZ #13786]
4565         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4566         not include ../strcmp.S.
4567         [USE_AS_STRNCASECMP_L]: Likewise.
4568         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4569         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4570         * sysdeps/i386/i686/multiarch/strncase_l-c.c
4571         (__strncasecmp_l_ia32): Define as alias to
4572         __strncasecmp_l_nonascii.
4573
4574         [BZ #5794]
4575         * math/libm-test.inc (expm1_test): Add test for bug 5794.
4576         * sysdeps/i386/fpu/libm-test-ulps: Update.
4577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4578
4579         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4581
4582 2012-02-29  Jeff Law  <law@redhat.com>
4583
4584         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4585         out of bounds read.
4586
4587 2012-02-29  Marek Polacek  <polacek@redhat.com>
4588
4589         [BZ #13706]
4590         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4591         * elf/Makefile: Add rules to run tst-unused-dep.out.
4592
4593 2012-02-28  David S. Miller  <davem@davemloft.net>
4594
4595         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4596         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4597         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4598         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4599         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4600         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4601
4602 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
4603
4604         * math/libm-test.inc (llround_test): Move one test from
4605         lround_test.  Use TEST_f_L in moved test.
4606         (lround_test): Move misplaced test to llround_test.  Add testcase
4607         from bug 2561.
4608
4609 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
4610
4611         * sysdeps/x86_64/fpu/e_expf.S: New file.
4612         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4613
4614 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
4615
4616         [BZ #13637]
4617         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4618         of remain_len that may cause incomplete multi-byte character and
4619         false match.
4620         * posix/bug-regex33.c: New file.
4621         * posix/Makefile (tests): Add bug-regex33.
4622
4623 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
4624
4625         * manual/macros.texi: New file.
4626         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4627         * manual/libc.texinfo: Include macros.texi.
4628         * manual/creatute.texi: Likewise.
4629         * manual/install.texi: Likewise.
4630         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4631         @glibcadj{} in references to the GNU C Library.
4632         * manual/charset.texi: Likewise.
4633         * manual/conf.texi: Likewise.
4634         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
4635         when not using those macros.
4636         * manual/creature.texi: Likewise.
4637         * manual/crypt.texi: Likewise.
4638         * manual/errno.texi: Likewise.
4639         * manual/filesys.texi: Likewise.
4640         * manual/header.texi: Likewise.
4641         * manual/install.texi: Likewise.
4642         * manual/intro.texi: Likewise.
4643         * manual/io.texi: Likewise.
4644         * manual/job.texi: Likewise.
4645         * manual/lang.texi: Likewise.
4646         * manual/libc.texiinfo: Likewise.
4647         * manual/llio.texi: Likewise.
4648         * manual/locale.texi: Likewise.
4649         * manual/maint.texi: Likewise.
4650         * manual/math.texi: Likewise.
4651         * manual/memory.texi: Likewise.
4652         * manual/message.texi: Likewise.
4653         * manual/nss.texi: Likewise.
4654         * manual/pattern.texi: Likewise.
4655         * manual/process.texi: Likewise.
4656         * manual/resource.texi: Likewise.
4657         * manual/search.texi: Likewise.
4658         * manual/setjmp.texi: Likewise.
4659         * manual/signal.texi: Likewise.
4660         * manual/socket.texi: Likewise.
4661         * manual/startup.texi: Likewise.
4662         * manual/stdio.texi: Likewise.
4663         * manual/string.texi: Likewise.
4664         * manual/sysinfo.texi: Likewise.
4665         * manual/syslog.texi: Likewise.
4666         * manual/terminal.texi: Likewise.
4667         * manual/time.texi: Likewise.
4668         * manual/users.texi: Likewise.
4669         * INSTALL: Regenerated.
4670         * NOTES: Regenerated.
4671         * sysdeps/gnu/errlist.c: Regenerated.
4672
4673 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
4674
4675         * include/dirent.h: Include <dirstream.h> before
4676         <dirent/dirent.h>.
4677
4678 2012-02-28  David S. Miller  <davem@davemloft.net>
4679
4680         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4681         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4682         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4683         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4684
4685 2012-02-27  David S. Miller  <davem@davemloft.net>
4686
4687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4689         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4690         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4691
4692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4693         frame pointer instead of stack pointer relative arg slot.
4694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4695         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4696         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4697
4698 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
4699
4700         [BZ #3992]
4701         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4702
4703 2012-02-27  David S. Miller  <davem@davemloft.net>
4704
4705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4709         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4710         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4711         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4712         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4713
4714 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
4715
4716         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4717         later.  Allow versions 5-9.
4718         * configure: Regenerated.
4719         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4720         required minimum version and 4.6 as recommended version.  Do not
4721         mention bugs in GCC 2.7 and 2.8.
4722         * INSTALL: Regenerated.
4723
4724 2012-02-27  David S. Miller  <davem@davemloft.net>
4725
4726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4730         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4731         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4732         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4733         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4734
4735         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4736         manipulate bits before adding and subtracting TWO112[sx].
4737         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4738
4739 2012-02-27  Roland McGrath  <roland@hack.frob.com>
4740
4741         [BZ #13775]
4742         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4743         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4744         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4745         being in POSIX, because they are in 1003.1-2008.
4746
4747         * rt/tst-aio.c: Include <fcntl.h>.
4748         * rt/tst-aio7.c: Likewise.
4749         * rt/tst-aio64.c: Likewise.
4750
4751         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4752
4753 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
4754
4755         * manual/install.texi (--with-headers): Describe headers as
4756         interface headers, not private headers.
4757         (Specific advice for GNU/Linux systems): Describe use of headers
4758         from "make headers_install", not private headers from older
4759         kernels.
4760         * INSTALL: Regenerated.
4761         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4762         Change to 2.6.19.
4763         * sysdeps/unix/sysv/linux/configure: Regenerated.
4764
4765         * manual/llio.texi (fclean): Remove documentation.
4766
4767         * manual/Makefile (libc-texi-generated): New variable.  Include
4768         version.texi.
4769         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4770         $(libc-texi-generated), not duplicated list of files.
4771         (version.texi, stamp-version): New rules.
4772         (realclean): Remove $(libc-texi-generated), not individual files
4773         from that list.  Do not remove dir-add.texinfo.
4774         * manual/libc.texinfo: Comment out uses of edition numbers and
4775         references to printed manual.  Remove last-updated dates.
4776         (EDITION): Comment out.
4777         (ISBN): Likewise.
4778         (VERSION, UPDATED): Remove.
4779         (version.texi): Include.
4780
4781 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
4782
4783         * sysdeps/posix/spawni.c: Include <signal.h>.
4784         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4785         * sysdeps/pthread/aio_fsync.c: Likewise.
4786
4787 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
4788
4789         * conform/Makefile (tests): Run only when not cross-compiling and
4790         when fast-check is not defined.
4791
4792         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4793         * conform/data/limits.h-data: Fixes for POSIX2008.
4794         * conform/run-conformtest.sh: Run all tests.
4795         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4796         headers.
4797         * include/bits/dlfcn.h: Likewise.
4798         * include/langinfo.h: Likewise.
4799         * include/monetary.h: Likewise.
4800         * include/sys/poll.h: Likewise.
4801
4802         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4803         for __USE_GNU.
4804         * posix/spawn.h: Define __need_sigset_t.
4805         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4806         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4807         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
4808         to get sigevent_t only.
4809         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4810         only for __USE_GNU.
4811         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4812         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4813         process_vm_writev only for __USE_GNU.
4814         * termios/termios.h: Declare tcgetsid also for POSIX2008.
4815
4816         * conform/Makefile: For now ignore errors from run-conformtest.
4817         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
4818         POSIX to avoid namespace pollution.  Don't prepend headers.
4819         * conform/data/aio.h-data: Fixes for POSIX testing.
4820         * conform/data/fcntl.h-data: Likewise.
4821         * conform/data/glob.h-data: Likewise.
4822         * conform/data/grp.h-data: Likewise.
4823         * conform/data/pthread.h-data: Likewise.
4824         * conform/data/pwd.h-data: Likewise.
4825         * conform/data/signal.h-data: Likewise.
4826         * conform/data/spawn.h-data: Likewise.
4827         * conform/data/stdio.h-data: Likewise.
4828         * conform/data/stdlib.h-data: Likewise.
4829         * conform/data/stropts.h-data: Likewise.
4830         * conform/data/sys/mman.h-data: Likewise.
4831         * conform/data/sys/stat.h-data: Likewise.
4832         * conform/data/sys/types.h-data: Likewise.
4833         * conform/data/sys/wait.h-data: Likewise.
4834         * conform/data/time.h-data: Likewise.
4835         * conform/data/unistd.h-data: Likewise.
4836         * conform/data/utime.h-data: Likewise.
4837
4838         * io/sys/stat.h: fchmod was always in POSIX.
4839         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4840         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4841         * rt/aio.h: Define __need_timespec before including <time.h>.
4842         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4843         struct.  Add forward declaration of pthread_attr_t and use it in
4844         sigevent.
4845         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4846         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4847         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4848         always remove CLK_TCK definition.
4849
4850 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
4851
4852         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4853
4854 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
4855
4856         * conform/run-conformtest.sh: New file.
4857         * conform/Makefile: Run run-conformtest for tests.
4858         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
4859         support.
4860
4861         * conform/data/uchar.h-data: New file.
4862         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4863         * conform/data/arpa/inet.h-data: Likewise.
4864         * conform/data/assert.h-data: Likewise.
4865         * conform/data/complex.h-data: Likewise.
4866         * conform/data/cpio.h-data: Likewise.
4867         * conform/data/ctype.h-data: Likewise.
4868         * conform/data/dirent.h-data: Likewise.
4869         * conform/data/dlfcn.h-data: Likewise.
4870         * conform/data/errno.h-data: Likewise.
4871         * conform/data/fcntl.h-data: Likewise.
4872         * conform/data/float.h-data: Likewise.
4873         * conform/data/fmtmsg.h-data: Likewise.
4874         * conform/data/fnmatch.h-data: Likewise.
4875         * conform/data/ftw.h-data: Likewise.
4876         * conform/data/glob.h-data: Likewise.
4877         * conform/data/grp.h-data: Likewise.
4878         * conform/data/iconv.h-data: Likewise.
4879         * conform/data/inttypes.h-data: Likewise.
4880         * conform/data/langinfo.h-data: Likewise.
4881         * conform/data/libgen.h-data: Likewise.
4882         * conform/data/limits.h-data: Likewise.
4883         * conform/data/locale.h-data: Likewise.
4884         * conform/data/math.h-data: Likewise.
4885         * conform/data/monetary.h-data: Likewise.
4886         * conform/data/mqueue.h-data: Likewise.
4887         * conform/data/ndbm.h-data: Likewise.
4888         * conform/data/net/if.h-data: Likewise.
4889         * conform/data/netdb.h-data: Likewise.
4890         * conform/data/netinet/in.h-data: Likewise.
4891         * conform/data/nl_types.h-data: Likewise.
4892         * conform/data/poll.h-data: Likewise.
4893         * conform/data/pthread.h-data: Likewise.
4894         * conform/data/pwd.h-data: Likewise.
4895         * conform/data/regex.h-data: Likewise.
4896         * conform/data/sched.h-data: Likewise.
4897         * conform/data/search.h-data: Likewise.
4898         * conform/data/semaphore.h-data: Likewise.
4899         * conform/data/setjmp.h-data: Likewise.
4900         * conform/data/signal.h-data: Likewise.
4901         * conform/data/spawn.h-data: Likewise.
4902         * conform/data/stdarg.h-data: Likewise.
4903         * conform/data/stdio.h-data: Likewise.
4904         * conform/data/stdlib.h-data: Likewise.
4905         * conform/data/string.h-data: Likewise.
4906         * conform/data/strings.h-data: Likewise.
4907         * conform/data/stropts.h-data: Likewise.
4908         * conform/data/sys/ipc.h-data: Likewise.
4909         * conform/data/sys/mman.h-data: Likewise.
4910         * conform/data/sys/msg.h-data: Likewise.
4911         * conform/data/sys/resource.h-data: Likewise.
4912         * conform/data/sys/select.h-data: Likewise.
4913         * conform/data/sys/sem.h-data: Likewise.
4914         * conform/data/sys/shm.h-data: Likewise.
4915         * conform/data/sys/socket.h-data: Likewise.
4916         * conform/data/sys/stat.h-data: Likewise.
4917         * conform/data/sys/statvfs.h-data: Likewise.
4918         * conform/data/sys/time.h-data: Likewise.
4919         * conform/data/sys/timeb.h-data: Likewise.
4920         * conform/data/sys/times.h-data: Likewise.
4921         * conform/data/sys/types.h-data: Likewise.
4922         * conform/data/sys/uio.h-data: Likewise.
4923         * conform/data/sys/un.h-data: Likewise.
4924         * conform/data/sys/utsname.h-data: Likewise.
4925         * conform/data/sys/wait.h-data: Likewise.
4926         * conform/data/syslog.h-data: Likewise.
4927         * conform/data/tar.h-data: Likewise.
4928         * conform/data/termios.h-data: Likewise.
4929         * conform/data/utime.h-data: Likewise.
4930         * conform/data/utmpx.h-data: Likewise.
4931         * conform/data/varargs.h-data: Likewise.
4932         * conform/data/wchar.h-data: Likewise.
4933         * conform/data/wctype.h-data: Likewise.
4934         * conform/data/wordexp.h-data: Likewise.
4935
4936         * include/stropts.h: New file.
4937         * include/uchar.h: New file.
4938         * include/aio.h: Changes to allow conformtest.pl to use the headers.
4939         * include/assert.h: Likewise.
4940         * include/ctype.h: Likewise.
4941         * include/dirent.h: Likewise.
4942         * include/dlfcn.h: Likewise.
4943         * include/fcntl.h: Likewise.
4944         * include/fnmatch.h: Likewise.
4945         * include/glob.h: Likewise.
4946         * include/grp.h: Likewise.
4947         * include/libio.h: Likewise.
4948         * include/locale.h: Likewise.
4949         * include/math.h: Likewise.
4950         * include/net/if.h: Likewise.
4951         * include/netdb.h: Likewise.
4952         * include/netinet/in.h: Likewise.
4953         * include/pthread.h: Likewise.
4954         * include/pwd.h: Likewise.
4955         * include/regex.h: Likewise.
4956         * include/sched.h: Likewise.
4957         * include/search.h: Likewise.
4958         * include/setjmp.h: Likewise.
4959         * include/signal.h: Likewise.
4960         * include/stdio.h: Likewise.
4961         * include/stdlib.h: Likewise.
4962         * include/string.h: Likewise.
4963         * include/sys/cdefs.h: Likewise.
4964         * include/sys/mman.h: Likewise.
4965         * include/sys/msg.h: Likewise.
4966         * include/sys/resource.h: Likewise.
4967         * include/sys/select.h: Likewise.
4968         * include/sys/socket.h: Likewise.
4969         * include/sys/stat.h: Likewise.
4970         * include/sys/statvfs.h: Likewise.
4971         * include/sys/time.h: Likewise.
4972         * include/sys/times.h: Likewise.
4973         * include/sys/uio.h: Likewise.
4974         * include/sys/utsname.h: Likewise.
4975         * include/sys/wait.h: Likewise.
4976         * include/termios.h: Likewise.
4977         * include/time.h: Likewise.
4978         * include/ulimit.h: Likewise.
4979         * include/unistd.h: Likewise.
4980         * include/utime.h: Likewise.
4981         * include/wchar.h: Likewise.
4982         * include/wctype.h: Likewise.
4983         * include/wordexp.h: Likewise.
4984
4985         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4986
4987         * time/time.h: TIME_UTC must be a macro.
4988         Make timespec_get available for ISO C11 only as well.
4989
4990 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
4991
4992         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4993         Reported by Peng Haitao <penght@cn.fujitsu.com>.
4994
4995 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4996
4997         * configure.in: Use -o not -a in test for unsupported multi-arch.
4998
4999 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5000
5001         * manual/texinfo.tex: Update to version 2012-01-19.16.
5002
5003 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5004
5005         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5006
5007 2012-02-24  Roland McGrath  <roland@hack.frob.com>
5008
5009         [BZ #13738]
5010         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5011         * manual/fdl-1.3.texi: New file.
5012         * manual/fdl-1.1.texi: File removed.
5013
5014         [BZ #13738]
5015         * manual/libc.texinfo (FDL_VERSION): New @set.
5016         Use it for mention of FDL in cover text.
5017         (Documentation License): Use it in @include file name.
5018
5019 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5020             Roland McGrath  <roland@hack.frob.com>
5021
5022         [BZ #5461]
5023         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5024         not LONG_LONG_MAX and LONG_LONG_MIN.
5025         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5026         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
5027         name.
5028         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5029
5030 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5031
5032         [BZ #2547]
5033         [BZ #11365]
5034         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5035         manipulate bits before adding and subtracting TWO23[sx].
5036         * math/libm-test.inc (nearbyint_test): Add more tests.
5037
5038 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5039
5040         [BZ #2548]
5041         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5042         bits before adding and subtracting TWO23[sx].
5043         * math/libm-test.inc (rint_test): Add more tests.
5044         (rint_test_tonearest): Likewise.
5045         (rint_test_towardzero): Likewise.
5046         (rint_test_downward): Likewise.
5047         (rint_test_upward: Likewise.
5048
5049 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5050
5051         [BZ #10110]
5052         * include/stdc-predef.h: New file.  Extracted from features.h.
5053         * include/features.h: Include stdc-predef.h.
5054         * Makefile (headers): Add stdc-predef.h.
5055         * CONFORMANCE (Compiler limitations): Update.
5056
5057 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5058
5059         * manual/libc.texinfo (VERSION, UPDATED): Revert.
5060
5061 2012-02-21  David S. Miller  <davem@davemloft.net>
5062
5063         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5064         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5065
5066 2012-02-20  David S. Miller  <davem@davemloft.net>
5067
5068         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5069         using a normal save/restore sequence, rather than allocating a
5070         dummy stack frame just to store a frame pointer and restore.
5071         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5072
5073 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5074
5075         * manual/install.texi: Fix stray word in line-wrapped comment.
5076
5077 2012-02-20  David S. Miller  <davem@davemloft.net>
5078
5079         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5080         both binutils and gcc support GOTDATA.
5081
5082         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5083         "rd %pc" in the PIC register setup sequences.
5084
5085         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5086         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5087         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5088         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5089         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5090         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5091         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5092         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5093         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5094         (SYSCALL_ERROR_HANDLER): Likewise.
5095         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5096         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5097         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5098         (SYSCALL_ERROR_HANDLER): Likewise.
5099
5100         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5101         (HAVE_GCC_GOTDATA): New.
5102         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5103         relocation support in both binutils and gcc.
5104         * sysdeps/sparc/elf/configure: Regenerate.
5105
5106         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5107         * sysdeps/sparc/sparc32/elf/configure: Delete.
5108         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5109         * sysdeps/sparc/sparc64/elf/configure: Delete.
5110         * sysdeps/sparc/elf/configure.in: New file.
5111         * sysdeps/sparc/elf/configure: Generate.
5112
5113         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5114         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5115         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5116         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5117         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5118
5119 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5120
5121         * manual/install.texi: Do not mention specific glibc version
5122         numbers.
5123         * manual/libc.texinfo (VERSION, UPDATED): Update.
5124         (@copying): Use @copyright{} and range of years.
5125
5126 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5127
5128         [BZ #13695]
5129         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5130         [crti.S not in sysdirs] (generated): Do not append.
5131         [crti.S not in sysdirs] (omit-deps): Likewise.
5132         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5133         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5134         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5135         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5136         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5137         Likewise.
5138         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5139         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5140         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5141         * csu/defs.awk: Remove file.
5142         * sysdeps/generic/initfini.c: Likewise.
5143         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5144         variable.
5145         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5146         Likewise.
5147
5148 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5149
5150         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5151         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5152         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5153         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5154         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5155         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5156         <bits/epoll.h>.
5157         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5158         (__EPOLL_PACKED): Define to empty if not defined by
5159         <bits/epoll.h>.
5160         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5162         bits/epoll.h.
5163
5164 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5165
5166         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5167         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5168         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5169         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5170         <bits/timerfd.h>.
5171         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5172         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5173         bits/timerfd.h.
5174
5175 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5176
5177         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5178         in C locale.
5179         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5180         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5181         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5183
5184 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
5185
5186         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5187         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5188
5189 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
5190
5191         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5192         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5193         defined.
5194         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5195         Likewise.
5196         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5197         entry for 2.16.
5198
5199 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
5200
5201         * math/w_acos.c: Use non-signaling floating-point comparisons.
5202         * math/w_acosf.c: Likewise.
5203         * math/w_acosh.c: Likewise.
5204         * math/w_acoshf.c: Likewise.
5205         * math/w_acoshl.c: Likewise.
5206         * math/w_acosl.c: Likewise.
5207         * math/w_asin.c: Likewise.
5208         * math/w_asinf.c: Likewise.
5209         * math/w_asinl.c: Likewise.
5210         * math/w_atanh.c: Likewise.
5211         * math/w_atanhf.c: Likewise.
5212         * math/w_atanhl.c: Likewise.
5213         * math/w_exp2.c: Likewise.
5214         * math/w_exp2f.c: Likewise.
5215         * math/w_exp2l.c: Likewise.
5216         * math/w_j0.c: Likewise.
5217         * math/w_j0f.c: Likewise.
5218         * math/w_j0l.c: Likewise.
5219         * math/w_j1.c: Likewise.
5220         * math/w_j1f.c: Likewise.
5221         * math/w_j1l.c: Likewise.
5222         * math/w_jn.c: Likewise.
5223         * math/w_jnf.c: Likewise.
5224         * math/w_log.c: Likewise.
5225         * math/w_log10.c: Likewise.
5226         * math/w_log10f.c: Likewise.
5227         * math/w_log10l.c: Likewise.
5228         * math/w_log2.c: Likewise.
5229         * math/w_log2f.c: Likewise.
5230         * math/w_log2l.c: Likewise.
5231         * math/w_logf.c: Likewise.
5232         * math/w_logl.c: Likewise.
5233         * math/w_sqrt.c: Likewise.
5234         * math/w_sqrtf.c: Likewise.
5235         * math/w_sqrtl.c: Likewise.
5236         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5237         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5238         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5239         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5240         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5241
5242 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5243
5244         [BZ #9739]
5245         * manual/string.texi (strnlen): Use correct parameter name in
5246         equivalent expression.
5247
5248 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5249
5250         [BZ #11174]
5251         * manual/users.texi (seteuid): Consistently use neweuid for
5252         argument name.
5253
5254 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5255
5256         [BZ #13704]
5257         * manual/nss.texi (Services in the NSS configuration): Correct
5258         list of services in example configuration file.
5259
5260 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
5261
5262         [BZ #11322]
5263         * manual/arith.texi: Remove statements about negative zero
5264         behaving identically to zero.
5265
5266 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
5267
5268         [BZ #5993]
5269         * manual/install.texi: Do not document upgrading from libc5.
5270
5271 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
5272
5273         [BZ #4596]
5274         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5275
5276 2012-02-18  David S. Miller  <davem@davemloft.net>
5277
5278         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5279         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5280         %o7 across the call.
5281         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5282         instead.
5283         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5284         SETUP_PIC_REG_LEAF.
5285         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5286         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5287         * sysdeps/sparc/crtn.S: Likewise.
5288
5289 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
5290
5291         * aout/Makefile: Remove.
5292
5293 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
5294
5295         [BZ #13058]
5296         * manual/examples/argp-ex1.c (main): Format definition in GNU
5297         style.
5298         * manual/examples/argp-ex2.c (main): Likewise.
5299         * manual/examples/argp-ex3.c (main): Likewise.
5300         * manual/examples/argp-ex4.c (main): Likewise.
5301         * manual/examples/longopt.c (main): Use new-style prototype
5302         definition.
5303         * manual/examples/strncat.c (main): Specify return type and use
5304         (void) for arguments.
5305         * manual/examples/subopt.c (main): Use char **argv argument.
5306
5307 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5308
5309         [BZ #5077]
5310         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5311         rounding modes.
5312
5313 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
5314
5315         [BZ #6907]
5316         * manual/string.texi (strchr): Change when strchrnul is
5317         recommended.
5318
5319 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
5320
5321         [BZ #174]
5322         * manual/locale.texi (setlocale): Document LOCPATH.
5323
5324 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5325
5326         [BZ #10210]
5327         * manual/process.texi (execle): Move @dots{} before last argument.
5328
5329 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
5330
5331         [BZ #12047]
5332         * manual/charset.texi (Generic Charset Conversion): Fix typo
5333         (LC_TYPE -> LC_CTYPE).
5334
5335 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
5336
5337         [BZ #5805]
5338         * manual/arith.texi (scalbn): Use @var{} on parameter names.
5339         (scalbnf): Likewise.
5340         (scalbnl): Likewise.
5341         (scalbln): Likewise.
5342         (scalblnf): Likewise.
5343         (scalblnl): Likewise.
5344         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5345         (vwarnx): Likewise.
5346         (verr): Likewise.
5347         (verrx): Likewise.
5348         * manual/filesys.texi (telldir): Use braces around return type.
5349         * manual/llio.texi (mmap): Add space after comma.
5350         (mmap64): Likewise.
5351         * manual/math.texi (jn): Use @var{} on parameter names.
5352         (jnf): Likewise.
5353         (jnl): Likewise.
5354         (yn): Likewise.
5355         (ynf): Likewise.
5356         (ynl): Likewise.
5357         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5358         line.
5359         * manual/resource.texi (ulimit): Use @dots{} instead of literal
5360         "...".
5361         (sched_get_priority_min): Remove semicolon on @deftypefun line.
5362         (sched_get_priority_max): Likewise.
5363         * manual/signal.texi (sigvec): Add space after comma.
5364         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5365         names.
5366         (if_indextoname): Likewise.
5367         (if_freenameindex): Likewise.
5368         (sendto): Use ',' instead of '.' in prototype.
5369         * manual/startup.texi (syscall): Use @dots{} instead of literal
5370         "...".
5371         * manual/stdio.texi (__fpending): Separate initial words of
5372         paragraph from @deftypefun line.
5373         * manual/syslog.texi (syslog): Use @dots{} instead of literal
5374         "...".
5375         (vsyslog): Use @var{} on parameter names.
5376         * manual/terminal.texi (stty): Use @var{} on parameter names.
5377         * manual/users.texi (getutmp): Use @var{} on parameter names.
5378         (getutmpx): Likewise.
5379
5380 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5381
5382         [BZ #6884]
5383         * manual/stdio.texi (fopen): Fix typos in description of
5384         ",ccs=STRING".
5385
5386 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
5387
5388         [BZ #4026]
5389         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5390         get clock_id definition.
5391
5392 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
5393
5394         [BZ #4822]
5395         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5396         (madvise): Cast every argument to void on its own.
5397
5398 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5399
5400         [BZ #9902]
5401         * manual/startup.texi (Exit Status): Fix typo.
5402
5403 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5404
5405         [BZ #10140]
5406         * manual/examples/argp-ex1.c: Include <stdlib.h>.
5407         * manual/examples/argp-ex2.c: Likewise.
5408         * manual/examples/argp-ex3.c: Likewise.
5409
5410 2012-02-16  Richard Henderson  <rth@redhat.com>
5411
5412         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5413         * sysdeps/s390/s390-32/initfini.c: Remove.
5414         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5415         * sysdeps/s390/s390-64/initfini.c: Remove.
5416
5417 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5418
5419         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5420         compiler output for sysdeps/generic/initfini.c.
5421         * sysdeps/sh/elf/initfini.c: Remove file.
5422
5423 2012-02-16  David S. Miller  <davem@davemloft.net>
5424
5425         [BZ #11494]
5426         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5427
5428         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5429         * sysdeps/sparc/crti.S: New file.
5430         * sysdeps/sparc/crtn.S: New file.
5431         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5432         * sysdeps/sparc/sparc64/Makefile: Likewise.
5433
5434 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
5435
5436         [BZ #3335]
5437         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5438
5439 2012-02-15  Roland McGrath  <roland@hack.frob.com>
5440
5441         [BZ #4822]
5442         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5443
5444         * mach/devstream.c (cookie_io_functions_t): Macro removed.
5445         (write, read, close): Likewise.
5446         Patch by Aurelien Jarno <aurelien@aurel32.net>.
5447
5448 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
5449
5450         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5451         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5452         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5453         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5454         <bits/signalfd.h>.
5455         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5457         bits/signalfd.h.
5458
5459 2012-02-14  Marek Polacek  <polacek@redhat.com>
5460
5461         * sysdeps/x86_64/crti.S: New file.
5462         * sysdeps/x86_64/crtn.S: New file.
5463         * sysdeps/x86_64/elf/initfini.c: Remove file.
5464
5465 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5466
5467         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5468         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5469         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5470         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5471         <bits/inotify.h>.
5472         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5474         bits/inotify.h.
5475
5476 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5477
5478         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5479         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5480         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5481         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5482         <bits/eventfd.h>.
5483         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5484         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5485         bits/eventfd.h.
5486
5487 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
5488
5489         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5490         __feraiseexcept instead of feraiseexcept.
5491
5492         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5493         nanosleep invocations.
5494         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5495         strings, and add error checking for a nanosleep invocations.
5496
5497 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
5498
5499         Replace FSF snail mail address with URLs, as per GNU coding standards.
5500         Most of the snail mail addresses were wrong anyway, and omitting
5501         them makes the source code easier to maintain.  Almost all of the
5502         changes are to license notices and to locale LC_IDENTIFICATION
5503         addresses, except for this one:
5504         * manual/libc.texinfo: In "Published by", give the FSF's URL,
5505         not its snail mail address.
5506
5507 2012-02-09  Richard Henderson  <rth@twiddle.net>
5508
5509         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5510         of kernel-features.h.
5511
5512         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5513
5514 2012-02-08  Marek Polacek  <polacek@redhat.com>
5515
5516         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5517         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5518         * sysdeps/gnu/_G_config.h: Likewise.
5519         * sysdeps/generic/_G_config.h: Likewise.
5520
5521 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
5522
5523         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5524         tests.
5525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5526
5527         * sysdeps/powerpc/powerpc32/crti.S: New file.
5528         * sysdeps/powerpc/powerpc32/crtn.S: New file.
5529         * sysdeps/powerpc/powerpc64/crti.S: New file.
5530         * sysdeps/powerpc/powerpc64/crtn.S: New file.
5531
5532         * Makeconfig (have-initfini): Don't set.
5533         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5534         * configure.in (nopic_initfini): Don't substitute.
5535         * config.h.in (HAVE_INITFINI): Don't #undef.
5536         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5537         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5538
5539 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
5540
5541         Support crti.S and crtn.S provided directly by architectures.
5542         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5543         [crti.S in sysdirs] (omit-deps): Likewise.
5544         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5545         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5546         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5547         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5548         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5549         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5550         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5551         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5552         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5553         compiler output for sysdeps/generic/initfini.c.
5554         * sysdeps/i386/elf/Makefile: Remove file.
5555         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5556
5557 2012-02-07  Marek Polacek  <polacek@redhat.com>
5558
5559         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5560         * sysdeps/gnu/_G_config.h: Likewise.
5561         * sysdeps/mach/hurd/_G_config.h: Likewise.
5562
5563 2012-02-07  Marek Polacek  <polacek@redhat.com>
5564
5565         * math/Makefile (tests): Add tst-CMPLX2.
5566         * math/tst-CMPLX2.c: New file.
5567
5568 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
5569
5570         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5571
5572         * math/libm-test.inc (jn_test): Add missing L suffix.
5573
5574 2012-02-06  Marek Polacek  <polacek@redhat.com>
5575
5576         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5577         * sysdeps/i386/fpu/e_powf.S: Likewise.
5578         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5579         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5580         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5581         * sysdeps/i386/fpu/e_pow.S: Likewise.
5582         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5583         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5584         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5585         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5586         * sysdeps/i386/fpu/e_log2.S: Likewise.
5587         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5588         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5589         * sysdeps/i386/fpu/e_powl.S: Likewise.
5590         * sysdeps/i386/fpu/s_log1p.S: Likewise.
5591         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5592         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5593         * sysdeps/i386/fpu/e_logl.S: Likewise.
5594         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5595         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5596         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5597         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5598         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5599         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5600         * sysdeps/i386/fpu/e_log.S: Likewise.
5601         * sysdeps/i386/fpu/s_cexp.S: Likewise.
5602         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5603         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5604         * sysdeps/i386/fpu/e_logf.S: Likewise.
5605         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5606         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5607         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5608         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5609         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5610         * sysdeps/i386/fpu/e_log10.S: Likewise.
5611         * sysdeps/i386/fpu/s_frexp.S: Likewise.
5612         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5613         * sysdeps/i386/fpu/s_asinh.S: Likewise.
5614         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5615         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5616         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5617         * sysdeps/i386/asm-syntax.h: Likewise.
5618         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5619         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5620         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5621         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5622         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5623         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5624         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5625         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5626         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5627         * sysdeps/powerpc/sysdep.h: Likewise.
5628         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5629         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5630
5631 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
5632
5633         [BZ #411]
5634         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5635
5636 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
5637
5638         * sysdeps/i386/sysdep.h: Include <features.h>.
5639         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5640         version.
5641
5642 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
5643
5644         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5645         Define.
5646         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5647         LOAD_PIC_REG_STR.
5648
5649 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
5650
5651         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5652         (SETUP_PIC_REG): Use GET_PC_THUNK.
5653         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5654         macro.
5655
5656 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
5657
5658         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5659         for non-PIC compilation.
5660         (SETUP_PIC_REG): Add .p2align directive.
5661         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5662         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5663         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5664         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5665         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5666         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5667         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5668         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5669         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5670         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5671         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5672         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5673         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5674         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5675         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5676         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5677         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5678         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5679         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5680         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5681         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5682         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5683         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5684         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5685         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5686         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5687         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5688         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5689         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5690         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5691         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5692         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5693         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5694         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5695         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5696         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5697         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5698         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5699         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5700         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5701         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5702
5703 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
5704
5705         * math/tst-CMPLX.c: Include <stdio.h>.
5706
5707 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
5708
5709         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5710         float.
5711         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5712         * sysdeps/sparc/bits/mathdef.h: Likewise.
5713
5714 2012-01-31  Marek Polacek  <polacek@redhat.com>
5715
5716         * libio/libio.h: Don't define _PARAMS.
5717         * locale/programs/config.h: Don't define PARAMS.
5718         * stdlib/strtol_l.c: Likewise.
5719         (__strtol_l): Remove PARAMS from the prototype.
5720
5721 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
5722
5723         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
5724         names.  Just use the correct names.  Remove unnecessary wrapper
5725         functions.
5726         * malloc/arena.c: Likewise.
5727         * malloc/hooks.c: Likewise.
5728
5729         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5730         ARENA_TEST says not to.  Simplify test for creation of a new arena.
5731         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5732
5733 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
5734
5735         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5736         into tail calls.
5737         (update_get_addr): New function.
5738         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5739         GET_ADDR_MODULE parameter.
5740
5741 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
5742
5743         * crypt/cert.c: Remove __STDC__ conditionals.
5744         * crypt/crypt-entry.c: Likewise.
5745         * crypt/crypt_util.c: Likewise.
5746         * libio/filedoalloc.c: Likewise.
5747         * libio/fileops.c: Likewise.
5748         * libio/genops.c: Likewise.
5749         * libio/iofclose.c: Likewise.
5750         * libio/iofdopen.c: Likewise.
5751         * libio/iofopen.c: Likewise.
5752         * libio/iofopen64.c: Likewise.
5753         * libio/iogetdelim.c: Likewise.
5754         * libio/iopopen.c: Likewise.
5755         * libio/obprintf.c: Likewise.
5756         * libio/oldfileops.c: Likewise.
5757         * libio/oldiofclose.c: Likewise.
5758         * libio/oldiofdopen.c: Likewise.
5759         * libio/oldiofopen.c: Likewise.
5760         * libio/oldiopopen.c: Likewise.
5761         * libio/wfiledoalloc.c: Likewise.
5762         * libio/wgenops.c: Likewise.
5763         * locale/programs/xmalloc.c: Likewise.
5764         * misc/syslog.c: Likewise.
5765         * stdio-common/xbug.c: Likewise.
5766         * string/memchr.c: Likewise.
5767         * string/memcmp.c: Likewise.
5768         * string/memrchr.c: Likewise.
5769         * string/rawmemchr.c: Likewise.
5770         * sysdeps/posix/getcwd.c: Likewise.
5771         * time/strftime_l.c: Likewise.
5772
5773 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
5774
5775         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5776         * config.make.in (config-cflags-sse2avx): Define.
5777         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5778         Fix typo.
5779
5780 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
5781
5782         * scripts/config.guess: Update from upstream config git repository.
5783         * scripts/config.sub: Likewise.
5784
5785 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
5786
5787         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5788         (EM_NUM): Update.
5789         (R_TILEPRO_*, R_TILEGX_*): New macros.
5790
5791         * scripts/firstversions.awk: Fix bug in version range handling.
5792
5793         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5794
5795         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5796
5797         * include/sys/epoll.h: New file.
5798         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5799         libc_hidden_def.
5800
5801 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
5802
5803         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5804         Avoid unnecessary __WORDSIZE == 64 test.
5805         (fmaxf): Use VEX format if possible.
5806         (fmax): Likewise.
5807         (fminf): Likewise.
5808         (fmin): Likewise.
5809
5810         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5811         * math/math_private.h: Remove libc_fegetround* and
5812         libc_fesetround*.
5813         * sysdeps/i386/configure.in: Check for -msse2avx.
5814         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5815         also if SSE2AVX is defined.
5816         Remove libc_fegetround* and libc_fesetround*.
5817         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5818         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
5819         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5820         of HAS_YMM_USABLE.
5821         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5822         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5823         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5824         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5825         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5826
5827         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5828
5829 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5830
5831         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5832         size is not set.
5833         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5834
5835 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
5836
5837         [BZ #13618]
5838         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5839         relocation.
5840         * Makeconfig (libm): Define.
5841         * elf/Makefile: Add rules to build and run tst-relsort1.
5842         * elf/tst-relsort1.c: New file.
5843         * elf/tst-relsort1mod1.c: New file.
5844         * elf/tst-relsort1mod2.c: New file.
5845
5846 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
5847
5848         * math/s_ldexp.c: Remove __STDC__ conditionals.
5849         * math/s_ldexpf.c: Likewise.
5850         * math/s_ldexpl.c: Likewise.
5851         * math/s_nextafter.c: Likewise.
5852         * math/s_nexttowardf.c: Likewise.
5853         * math/s_significand.c: Likewise.
5854         * math/s_significandf.c: Likewise.
5855         * math/s_significandl.c: Likewise.
5856         * math/w_jnl.c: Likewise.
5857         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5858         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5859         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5860         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5861         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5862         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5863         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5864         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5865         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5866         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5867         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5868         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5869         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5870         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5871         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5872         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5873         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5874         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5875         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5876         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5877         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5878         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5879         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5880         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5881         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5882         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5883         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5884         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5885         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5886         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5887         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5888         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5889         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5890         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5891         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5892         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5893         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5894         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5895         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5896         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5897         * sysdeps/ieee754/k_standard.c: Likewise.
5898         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5899         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5900         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5901         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5902         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5903         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5904         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5905         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5906         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5907         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5908         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5909         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5910         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5911         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5912         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5913         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5914         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5915         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5916         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5917         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5918         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5919         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5920         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5921         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5922         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5923         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5924         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5925         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5926         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5927         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5928         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5929         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5930         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5931         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5932         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5933         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5934         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5935         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5936         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5937         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5938         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5939         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5940         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5941         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5942         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5943         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5944         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5945         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5946         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5947         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5948         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5949         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5950         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5951         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5952         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5953         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5954         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5955         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5956         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5957         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5958         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5959         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5960         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5961         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5962         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5963         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5964         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5965         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5966         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5967         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5968         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5969         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5970         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5971         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5972         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5973         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5974         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5975         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5976         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5977         * sysdeps/ieee754/s_matherr.c: Likewise.
5978         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5979         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5980         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5981         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5982
5983 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
5984
5985         * crypt/md5.h: Remove __STDC__ conditionals.
5986         * libio/libioP.h: Likewise.
5987         * locale/programs/config.h: Likewise.
5988         * sysdeps/generic/sysdep.h: Likewise.
5989         * sysdeps/i386/asm-syntax.h: Likewise.
5990         * sysdeps/s390/asm-syntax.h: Likewise.
5991         * sysdeps/unix/sysdep.h: Likewise.
5992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5994
5995 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
5996
5997         * libio/libio.h: Remove __STDC__ conditionals.
5998         * malloc/obstack.h: Likewise.
5999         * math/complex.h: Likewise.
6000         * math/math.h: Likewise.
6001         * sysdeps/generic/_G_config.h: Likewise.
6002         * sysdeps/gnu/_G_config.h: Likewise.
6003         * sysdeps/mach/hurd/_G_config.h: Likewise.
6004         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6005         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6006         * sysdeps/sparc/bits/mathdef.h: Likewise.
6007
6008 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
6009
6010         [BZ #13583]
6011         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6012         Clean up HAS_* macros.
6013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6014         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6015         possible.
6016         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6017         HAS_AVX.
6018         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6019         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6020         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6021         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6022         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6023
6024 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
6025
6026         * elf/tst-unique3.cc (gets): Remove declaration.
6027         * elf/tst-unique3lib.cc (gets): Likewise.
6028         * elf/tst-unique3lib2.cc (gets): Likewise.
6029         * elf/tst-unique4.cc (gets): Likewise.
6030
6031 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
6032
6033         * include/stdio.h: Add C++ protection.  Add gets declarations and
6034         definitions.
6035         * debug/tst-chk1.c: Don't declare gets here.
6036         * stdio-common/tst-gets.c: Likewise.
6037
6038 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6039
6040         * posix/glob: Remove directory.
6041
6042 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6043
6044         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6045
6046 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
6047
6048         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6049         of the non-standard EPFNOSUPPORT.
6050
6051 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6052
6053         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6054         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6055         ANYWHERE set to 1 only on KERN_NO_SPACE error.
6056
6057 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
6058
6059         * wcsmbs/uchar.h: Test __STDC_VERSION__.
6060
6061 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
6062
6063         * nscd/aicache.c (addhstaiX): Do not cache negative results of
6064         transient errors.
6065         * nscd/grpcache.c (cache_addgr): Likewise.
6066         * nscd/hstcache.c (cache_addhst): Likewise.
6067         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6068         * nscd/pwdcache.c (cache_addpw): Likewise.
6069         * nscd/servicescache.c (cache_addserv): Likewise.
6070
6071 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
6072
6073         * malloc/malloc.c: Various cleanups.
6074         * malloc/hooks.c: Likewise.
6075
6076         * stdlib/Makefile (tests): Add bug-fmtmsg1.
6077         * stdlib/bug-fmtmsg1.c: New file.
6078
6079         * stdlib/fmtmsg.c (init): Add missing unlock.
6080         Patch by Peng Haitao <penght@cn.fujitsu.com>.
6081
6082 2012-01-12  Marek Polacek  <polacek@redhat.com>
6083
6084         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6085         and _GNU_SOURCE.
6086
6087 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
6088
6089         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6090         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6091         macro to ensure uniqueness of label name.
6092         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6093         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6094
6095 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
6096
6097         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6098
6099         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6100         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6101         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6102         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6103
6104 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
6105
6106         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6107
6108         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6109         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6110         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6111
6112         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6113
6114         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6115         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6116         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6117         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6118
6119         * math/bits/math-finite.h: Add ldexp support.
6120
6121 2012-01-10  Marek Polacek  <polacek@redhat.com>
6122
6123         * locale/programs/localedef.h (show_archive_content): Add noreturn
6124         attribute.
6125
6126 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
6127
6128         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6129
6130 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6131
6132         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6133
6134         * io/Makefile (headers): Add bits/poll2.h.
6135
6136 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
6137
6138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6139         typo #include statement.
6140
6141 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6142
6143         * include/sys/cdefs.h: Define __attribute_alloc_size.
6144         * catgets/gencat.c: Add alloc_size attribute and apply consistently
6145         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6146         * elf/pldd.c: Likewise.
6147         * iconv/iconv_charmap.c: Likewise.
6148         * iconv/iconvconfig.c: Likewise.
6149         * iconv/strtab.c: Likewise.
6150         * locale/programs/locale.c: Likewise.
6151         * locale/programs/localedef.h: Likewise.
6152         * locale/programs/simple-hash.c: Likewise.
6153         * nscd/nscd.h: Likewise.
6154         * nss/makedb.c: Likewise.
6155         * sysdeps/generic/ldconfig.h: Likewise.
6156         * locale/programs/localedef.c: Remove xmalloc prototype.
6157         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6158
6159 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6160
6161         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6162         appropriate.
6163
6164 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6165
6166         * math/Makefile (tests): Add tst-CMPLX.
6167         * math/tst-CMPLX.c: New file.
6168
6169         * math/complex.h (CMPLXL): Fix typo.
6170
6171         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6172         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6173         GLIBC_2.16.
6174         * debug/tst-chk1.c: Add poll and ppoll tests.
6175         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6176         * include/sys/poll.h: Add hidden proto for ppoll.
6177         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6178         * sysdeps/mach/hurd/ppoll.c: Likewise.
6179         * io/ppoll.c: Likewise.
6180         * debug/poll_chk.c: New file.
6181         * debug/ppoll_chk.c: New file.
6182         * include/bits/poll2.h: New file.
6183         * io/bits/poll2.h: New file.
6184
6185         [BZ #1350]
6186         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6187
6188         * configure.in: static is always set to yes.  Remove.
6189         * config.make.in: Don't set build-static.
6190         * Makeconfig: Remove use of build-static.
6191         * dlfcn/Makefile: Likewise.
6192         * elf/Makefile: Likewise.
6193         * math/Makefile: Likewise.
6194         * misc/Makefile: Likewise.
6195         * nptl/Makefile: Likewise.
6196         * sysdeps/mach/hurd/Makefile: Likewise.
6197
6198         * configure.in: PWD_P is not used anymore.
6199         * config.make.in: Remove PWD_P entry.
6200
6201         * configure.in: Remove last remnants of RANLIB.
6202         No need to check for signed size_t anymore.
6203         Don't set libc_commonpagesize and libc_relro_required here for Alpha
6204         and IA-64.
6205         Remove __builtin_expect test because we require at least gcc 3.4.
6206         * aclocal.m4: Likewise.
6207
6208         * wcsmbs/mbrtoc16.c: Implement using towc function.
6209         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6210         * wcsmbs/wcsmbsload.c: Likewise.
6211         * iconv/gconv_simple.c: Likewise.
6212         * iconv/gconv_int.h: Likewise.
6213         * iconv/gconv_builtin.h: Likewise.
6214         * iconv/iconv_prog.c: Remove CHAR16 handling.
6215
6216         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6217
6218         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6219
6220         * configure.in: Remove --with-elf and --enable-bounded options.
6221         Dont set base_machine for ia64.  More non-ELF conditions removed.
6222         Remove testing and setting of leading underscore information.
6223         * config.make.in (build-bounded): Set to no.
6224         * config.h.in: Remove NO_UNDERSCORES entry.
6225         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
6226         them.
6227         * csu/start.c: Remove !NO_UNDERSCORE code.
6228         * locale/localeinfo.h: Likewise.
6229         * sysdeps/generic/machine-gmon.h: Likewise.
6230         * sysdeps/generic/sysdep.h: Likewise.
6231         * sysdeps/i386/sysdep.h: Likewise.
6232         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6233         * sysdeps/mach/sysdep.h: Likewise.
6234         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6235         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6236         * sysdeps/sh/sysdep.h: Likewise.
6237         * sysdeps/sparc/sparc32/alloca.S: Likewise.
6238         * sysdeps/unix/i386/sysdep.S: Likewise.
6239         * sysdeps/unix/sparc/start.c: Likewise.
6240         * sysdeps/unix/sparc/sysdep.S: Likewise.
6241         * sysdeps/unix/sparc/sysdep.h: Likewise.
6242         * sysdeps/unix/start.c: Likewise.
6243         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6244         * sysdeps/x86_64/sysdep.h: Likewise.
6245
6246 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
6247
6248         [BZ #13553]
6249         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6250         for non-gcc.
6251         * argp/argp-fmtstream.h: Use const instead __const.
6252         * argp/argp.h: Likewise.
6253         * assert/assert.h: Likewise.
6254         * bits/fenv.h: Likewise.
6255         * bits/sched.h: Likewise.
6256         * bits/sigset.h: Likewise.
6257         * bits/sigthread.h: Likewise.
6258         * catgets/nl_types.h: Likewise.
6259         * conform/data/pthread.h-data: Likewise.
6260         * crypt/crypt-private.h: Likewise.
6261         * crypt/crypt.h: Likewise.
6262         * crypt/crypt_util.c: Likewise.
6263         * ctype/ctype.h: Likewise.
6264         * debug/execinfo.h: Likewise.
6265         * debug/mbsnrtowcs_chk.c: Likewise.
6266         * debug/mbsrtowcs_chk.c: Likewise.
6267         * debug/wcsnrtombs_chk.c: Likewise.
6268         * debug/wcsrtombs_chk.c: Likewise.
6269         * debug/wcstombs_chk.c: Likewise.
6270         * dirent/dirent.h: Likewise.
6271         * dlfcn/dlfcn.h: Likewise.
6272         * elf/neededtest4.c: Likewise.
6273         * grp/grp.h: Likewise.
6274         * gshadow/gshadow.h: Likewise.
6275         * iconv/gconv.h: Likewise.
6276         * iconv/gconv_int.h: Likewise.
6277         * iconv/gconv_simple.c: Likewise.
6278         * iconv/iconv.h: Likewise.
6279         * iconv/loop.c: Likewise.
6280         * iconv/skeleton.c: Likewise.
6281         * include/aio.h: Likewise.
6282         * include/aliases.h: Likewise.
6283         * include/argz.h: Likewise.
6284         * include/arpa/inet.h: Likewise.
6285         * include/assert.h: Likewise.
6286         * include/dirent.h: Likewise.
6287         * include/dlfcn.h: Likewise.
6288         * include/execinfo.h: Likewise.
6289         * include/fcntl.h: Likewise.
6290         * include/fenv.h: Likewise.
6291         * include/glob.h: Likewise.
6292         * include/grp.h: Likewise.
6293         * include/libintl.h: Likewise.
6294         * include/mntent.h: Likewise.
6295         * include/netdb.h: Likewise.
6296         * include/pwd.h: Likewise.
6297         * include/rpc/netdb.h: Likewise.
6298         * include/sched.h: Likewise.
6299         * include/search.h: Likewise.
6300         * include/shadow.h: Likewise.
6301         * include/signal.h: Likewise.
6302         * include/stdio.h: Likewise.
6303         * include/stdlib.h: Likewise.
6304         * include/string.h: Likewise.
6305         * include/sys/socket.h: Likewise.
6306         * include/sys/stat.h: Likewise.
6307         * include/sys/statfs.h: Likewise.
6308         * include/sys/statvfs.h: Likewise.
6309         * include/sys/syslog.h: Likewise.
6310         * include/sys/time.h: Likewise.
6311         * include/sys/uio.h: Likewise.
6312         * include/time.h: Likewise.
6313         * include/unistd.h: Likewise.
6314         * include/utmp.h: Likewise.
6315         * include/wchar.h: Likewise.
6316         * include/wctype.h: Likewise.
6317         * inet/aliases.h: Likewise.
6318         * inet/arpa/inet.h: Likewise.
6319         * inet/netinet/ether.h: Likewise.
6320         * inet/netinet/in.h: Likewise.
6321         * intl/libintl.h: Likewise.
6322         * io/bits/fcntl2.h: Likewise.
6323         * io/fcntl.h: Likewise.
6324         * io/ftw.h: Likewise.
6325         * io/sys/poll.h: Likewise.
6326         * io/sys/stat.h: Likewise.
6327         * io/sys/statfs.h: Likewise.
6328         * io/sys/statvfs.h: Likewise.
6329         * io/utime.h: Likewise.
6330         * libio/bits/stdio.h: Likewise.
6331         * libio/bits/stdio2.h: Likewise.
6332         * libio/libio.h: Likewise.
6333         * libio/libioP.h: Likewise.
6334         * libio/stdio.h: Likewise.
6335         * locale/lc-ctype.c: Likewise.
6336         * locale/locale.h: Likewise.
6337         * login/utmp.h: Likewise.
6338         * malloc/arena.c: Likewise.
6339         * malloc/malloc.c: Likewise.
6340         * malloc/malloc.h: Likewise.
6341         * malloc/mcheck.c: Likewise.
6342         * malloc/mtrace.c: Likewise.
6343         * math/bits/mathcalls.h: Likewise.
6344         * math/fenv.h: Likewise.
6345         * math/math_private.h: Likewise.
6346         * misc/bits/error.h: Likewise.
6347         * misc/bits/syslog.h: Likewise.
6348         * misc/err.h: Likewise.
6349         * misc/error.h: Likewise.
6350         * misc/fstab.h: Likewise.
6351         * misc/mntent.h: Likewise.
6352         * misc/regexp.h: Likewise.
6353         * misc/search.h: Likewise.
6354         * misc/sgtty.h: Likewise.
6355         * misc/sys/mman.h: Likewise.
6356         * misc/sys/syslog.h: Likewise.
6357         * misc/sys/uio.h: Likewise.
6358         * misc/sys/xattr.h: Likewise.
6359         * misc/ttyent.h: Likewise.
6360         * nis/rpcsvc/ypclnt.h: Likewise.
6361         * nss/nss.h: Likewise.
6362         * posix/bits/unistd.h: Likewise.
6363         * posix/fnmatch.h: Likewise.
6364         * posix/glob.h: Likewise.
6365         * posix/sched.h: Likewise.
6366         * posix/spawn.h: Likewise.
6367         * posix/sys/wait.h: Likewise.
6368         * posix/unistd.h: Likewise.
6369         * posix/wordexp.h: Likewise.
6370         * pwd/pwd.h: Likewise.
6371         * resolv/netdb.h: Likewise.
6372         * resource/sys/resource.h: Likewise.
6373         * rt/aio.h: Likewise.
6374         * rt/bits/mqueue2.h: Likewise.
6375         * rt/mqueue.h: Likewise.
6376         * shadow/shadow.h: Likewise.
6377         * signal/signal.h: Likewise.
6378         * socket/send.c: Likewise.
6379         * socket/sendto.c: Likewise.
6380         * socket/sys/socket.h: Likewise.
6381         * stdio-common/printf.h: Likewise.
6382         * stdlib/bits/stdlib.h: Likewise.
6383         * stdlib/fmtmsg.h: Likewise.
6384         * stdlib/monetary.h: Likewise.
6385         * stdlib/stdlib.h: Likewise.
6386         * stdlib/ucontext.h: Likewise.
6387         * streams/stropts.h: Likewise.
6388         * string/argz.h: Likewise.
6389         * string/bits/string2.h: Likewise.
6390         * string/string.h: Likewise.
6391         * string/strings.h: Likewise.
6392         * sunrpc/rpc/auth.h: Likewise.
6393         * sunrpc/rpc/auth_des.h: Likewise.
6394         * sunrpc/rpc/clnt.h: Likewise.
6395         * sunrpc/rpc/netdb.h: Likewise.
6396         * sunrpc/rpc/pmap_clnt.h: Likewise.
6397         * sunrpc/rpc/xdr.h: Likewise.
6398         * sysdeps/generic/inttypes.h: Likewise.
6399         * sysdeps/generic/net/if.h: Likewise.
6400         * sysdeps/generic/sys/swap.h: Likewise.
6401         * sysdeps/gnu/net/if.h: Likewise.
6402         * sysdeps/gnu/utmpx.h: Likewise.
6403         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6404         * sysdeps/i386/i486/bits/string.h: Likewise.
6405         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6406         * sysdeps/s390/bits/string.h: Likewise.
6407         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6408         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6409         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6410         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6411         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6412         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6413         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6414         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6415         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6416         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6417         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6418         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6419         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6420         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6421         * sysdeps/unix/sysv/linux/readv.c: Likewise.
6422         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6423         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6424         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6425         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6426         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6427         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6428         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6429         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6430         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6431         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6432         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6433         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6434         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6435         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6436         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6437         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6438         * sysvipc/sys/ipc.h: Likewise.
6439         * sysvipc/sys/msg.h: Likewise.
6440         * sysvipc/sys/sem.h: Likewise.
6441         * sysvipc/sys/shm.h: Likewise.
6442         * termios/termios.h: Likewise.
6443         * time/sys/time.h: Likewise.
6444         * time/time.h: Likewise.
6445         * wcsmbs/bits/wchar2.h: Likewise.
6446         * wcsmbs/uchar.h: Likewise.
6447         * wcsmbs/wchar.h: Likewise.
6448         * wctype/wctype.h: Likewise.
6449
6450         [BZ #13551]
6451         * Makeconfig: Remove all but ELF support including AIX support.
6452         * Makerules: Likewise.
6453         * config.h.in: Likewise.
6454         * config.make.in: Likewise.
6455         * configure: Likewise.
6456         * configure.in: Likewise.
6457         * csu/Makefile: Likewise.
6458         * csu/version.c: Likewise.
6459         * debug/Makefile: Likewise.
6460         * dlfcn/Makefile: Likewise.
6461         * elf/Makefile: Likewise.
6462         * extra-lib.mk: Likewise.
6463         * iconv/Makefile: Likewise.
6464         * include/libc-symbols.h: Likewise.
6465         * include/shlib-compat.h: Likewise.
6466         * resolv/Makefile: Likewise.
6467         * resolv/res_libc.c: Likewise.
6468         * rt/Makefile: Likewise.
6469         * sysdeps/i386/asm-syntax.h: Likewise.
6470         * sysdeps/i386/sysdep.h: Likewise.
6471         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6472         * sysdeps/mach/sysdep.h: Likewise.
6473         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6474         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6475         * sysdeps/s390/asm-syntax.h: Likewise.
6476         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6477         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6478         * sysdeps/sh/sysdep.h: Likewise.
6479         * sysdeps/unix/sparc/sysdep.h: Likewise.
6480         * sysdeps/wordsize-32/divdi3.c: Likewise.
6481         * sysdeps/x86_64/sysdep.h: Likewise.
6482
6483         * argp/Versions: Remove _argp_unlock_xxx.
6484
6485         [BZ #13559]
6486         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
6487         * abilist/libBrokenLocale.abilist: Likewise.
6488         * abilist/libanl.abilist: Likewise.
6489         * abilist/libc.abilist: Likewise.
6490         * abilist/libcrypt.abilist: Likewise.
6491         * abilist/libdl.abilist: Likewise.
6492         * abilist/libm.abilist: Likewise.
6493         * abilist/libnsl.abilist: Likewise.
6494         * abilist/libpthread.abilist: Likewise.
6495         * abilist/libresolv.abilist: Likewise.
6496         * abilist/librt.abilist: Likewise.
6497         * abilist/libthread_db.abilist: Likewise.
6498         * abilist/libutil.abilist: Likewise.
6499         * abilist/libnss_db.abilist: New file.
6500
6501         * scripts/abilist.awk: Add support for indirect functions.
6502
6503         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6504
6505         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6506
6507         * shlib-versions: Remove entries for ports architectures.
6508
6509         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
6510         files in ports.
6511         * elf/stackguard-macros.h: Remove support for IA-64.
6512         * elf/tst-auditmod1.c: Likewise.
6513         * sysdeps/generic/ldsodefs.h: Likewise.
6514
6515         * sysdeps/unix/sysv/linux/configure.in: Ports should define
6516         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6517         configure files.
6518
6519         [BZ #13552]
6520         * configure.in: Remove --enable-omitfp support.
6521         * FAQ.in: Adjust.
6522         * config.make.in: Likewise.
6523         * Makeconfig: Likewise.
6524         * manual/install.texi: Likewise.
6525
6526         In case anyone cares, the IA-64 architecture could move to ports.
6527         * sysdeps/ia64/*: Removed.
6528         * sysdeps/unix/sysv/linux/ia64/*: Removed.
6529         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6530
6531         [BZ #13555]
6532         * configure.in: Remove entries for unsupported architectures.
6533
6534         [BZ #13533]
6535         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6536         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
6537         routines.
6538         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6539         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6540         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
6541         fall back to using wcrtomb.
6542         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6543         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
6544         renaming.
6545         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6546         * wcsmbs/tst-c16c32-1.c: New file.
6547
6548         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6549         local variable.
6550
6551         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6552
6553         * elf/tst-unique3.cc: Add explicit declaration of gets.
6554         * elf/tst-unique3lib.cc: Likewise.
6555         * elf/tst-unique3lib2.cc: Likewise.
6556         * elf/tst-unique4.cc: Likewise.
6557
6558         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6559
6560 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
6561
6562         [BZ #13566]
6563         * assert/assert.h (static_assert): Don't define for C++.
6564         * libio/stdio.h (gets): Do declare for C++ <= C++11.
6565         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6566
6567 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
6568
6569         * iconv/loop.c (single loop): Fix assertion in storing of
6570         remaining bytes.
6571
6572         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6573
6574 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
6575
6576         * posix/getconf.c: Update copyright year.
6577         * nss/getent.c: Likewise.
6578         * nss/makedb.c: Likewise.
6579         * iconv/iconvconfig.c: Likewise.
6580         * iconv/iconv_prog.c: Likewise.
6581         * elf/ldconfig.c: Likewise.
6582         * elf/pldd.c: Likewise.
6583         * elf/sotruss.ksh: Likewise.
6584         * catgets/gencat.c: Likewise.
6585         * csu/version.c: Likewise.
6586         * elf/ldd.bash.in: Likewise.
6587         * elf/sprof.c (print_version): Likewise.
6588         * locale/programs/locale.c: Likewise.
6589         * locale/programs/localedef.c: Likewise.
6590         * login/programs/pt_chown.c: Likewise.
6591         * nscd/nscd.c (print_version): Likewise.
6592         * debug/xtrace.sh: Likewise.
6593         * malloc/memusage.sh: Likewise.
6594         * malloc/mtrace.pl: Likewise.
6595         * debug/catchsegv.sh: Likewise.
6596
6597 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
6598
6599         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6600         pure attribute.
6601
6602 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
6603
6604         [BZ #13533]
6605         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6606         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6607         transformations.
6608         * iconv/gconv_int.h: Likewise.
6609         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6610         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6611         from libc for GLIBC_2.16.
6612         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6613         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6614         * wcsmbs/uchar.h: Really define mbstate_t.
6615         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6616         * wcsmbs/c16rtomb.c: New file.
6617         * wcsmbs/mbrtoc16.c: New file.
6618         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6619         for C/POSIX locale.
6620         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6621         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6622
6623         * wcsmbs/wchar.h: Add missing __restrict.
6624
6625 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
6626
6627         [BZ #13532]
6628         * time/Makefile (routines): Add timespec_get.
6629         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6630         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
6631         timespec for ISO C11.
6632         * time/timespec_get.c: New file.
6633         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6634         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6635
6636         [BZ #13531]
6637         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6638         * stdlib/stdlib.h: Declare aligned_alloc.
6639         * Versions.def: Add GLIBC_2.16 for libc.
6640         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6641
6642         [BZ 13527]
6643         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6644         ISO C11.
6645
6646         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6647         code.
6648
6649         [BZ #13528]
6650         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6651
6652         [BZ #13529]
6653         * assert/assert.h (static_assert): Define.
6654
6655         * version.h: Update for 2.16 development version.
6656
6657         [BZ #13526]
6658         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6659         _ISOC11_SOURCE.
6660
6661         * version.h (RELEASE): Bump for 2.15 release.
6662         * include/features.h (__GLIBC_MINOR__): Bump to 15.
6663
6664         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6665         Patch by Marek Polacek <mpolacek@redhat.com>.
6666
6667         * bits/byteswap.h: Protect long long constants with __extension__.
6668         * sysdeps/i386/bits/byteswap.h: Likewise.
6669         * sysdeps/ia64/bits/byteswap.h: Likewise.
6670         * sysdeps/s390/bits/byteswap.h: Likewise.
6671         * sysdeps/x86_64/bits/byteswap.h: Likewise.
6672
6673 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6674
6675         [BZ #13540]
6676         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6677         destination buffer.
6678         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6679
6680 2011-12-23  Marek Polacek  <polacek@redhat.com>
6681
6682         * elf/dl-addr.c (determine_info): Add inline keyword.
6683         * elf/tst-auditmod4b.c (check_avx): Likewise.
6684         * elf/tst-auditmod6b.c (check_avx): Likewise.
6685         * elf/tst-auditmod6c.c (check_avx): Likewise.
6686         * elf/tst-auditmod7b.c (check_avx): Likewise.
6687
6688 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
6689
6690         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6691         !__SSE_MATH__.
6692
6693 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6694
6695         [BZ #13540]
6696         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6697         processing for last bytes.
6698
6699 2011-08-06  Bruno Haible  <bruno@clisp.org>
6700
6701         [BZ #13061]
6702         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6703         U+0385, not to U+1FEE.
6704
6705         [BZ #13062]
6706         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6707         entry for U+00A5 U+0301.
6708
6709 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
6710
6711         [BZ #13166]
6712         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6713         buffer for the output is too small.
6714
6715         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6716         optimization.
6717
6718         [BZ #13185]
6719         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6720         SSE flags if possible.
6721
6722 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6723
6724         [BZ #13540]
6725         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6726         processing for last bytes.
6727
6728 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
6729
6730         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6731         (syscall-list-default-options, syscall-list-default-condition)
6732         (syscall-list-includes): Define.
6733         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6734         list of ABIs and options and #if conditions for each ABI.  Do not
6735         handle common syscalls between ABIs specially.
6736         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6737         Remove.
6738         (syscall-list-variants, syscall-list-32bit-options)
6739         (syscall-list-32bit-condition, syscall-list-64bit-options)
6740         (syscall-list-64bit-condition): Define.
6741         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6742         (syscall-list-variants, syscall-list-32bit-options)
6743         (syscall-list-32bit-condition, syscall-list-64bit-options)
6744         (syscall-list-64bit-condition): Define.
6745         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6746         Remove.
6747         (syscall-list-variants, syscall-list-32bit-options)
6748         (syscall-list-32bit-condition, syscall-list-64bit-options)
6749         (syscall-list-64bit-condition): Define.
6750         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6751         Remove.
6752         (syscall-list-variants, syscall-list-32bit-options)
6753         (syscall-list-32bit-condition, syscall-list-64bit-options)
6754         (syscall-list-64bit-condition): Define.
6755
6756 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
6757
6758         * locale/iso-639.def: Add brx entry.
6759
6760         [BZ #13328]
6761         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6762         Proposed by Mariusz_Cukr <marcukr@op.pl>.
6763
6764         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6765         __feraiseexcept_renamed.
6766
6767 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
6768
6769         [BZ #13538]
6770         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6771         EPOLLET with unsigned values.
6772         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6773         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6774
6775         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6776         to large cancellation.
6777         * math/s_cacoshf.c: Likewise.
6778         * math/s_cacoshl.c: Likewise.
6779
6780 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
6781
6782         [BZ #13305]
6783         [BZ #12786]
6784         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6785         * math/s_cacoshf.c: Likewise.
6786         * math/s_cacoshl.c: Likewise.
6787
6788 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
6789
6790         [BZ #13439]
6791         * iconv/gconv.h: Define __GCONV_SWAP.
6792         * iconvdata/unicode.c: The swap bit must be stored in __flags.
6793         * iconvdata/utf-16.c: Likewise.
6794         * iconvdata/utf-32.c: Likewise.
6795
6796 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
6797
6798         [BZ #13524]
6799         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6800         numerator after shifting it by one limb.
6801
6802 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
6803
6804         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6805         under [__USE_EXTERN_INLINES].
6806
6807 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
6808
6809         [BZ #13446]
6810         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6811
6812 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6813
6814         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6815         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6816         optimized code.
6817         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6818         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6819         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6820         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6821         for strncasecmp/strncasecmp_l compilation.
6822         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6823         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6824
6825 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
6826
6827         [BZ #13484]
6828         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6829         of __asm__.
6830
6831 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
6832
6833         [BZ #13506]
6834         * time/tzfile.c (__tzfile_read): Check values from file header.
6835
6836 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
6837
6838         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6839         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6840         * powerpc/powerpc32/dl-start.S: Likewise.
6841         * powerpc/powerpc32/elf/start.S: Likewise.
6842         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6843         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6844         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6845         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6846         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6847         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6848         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6849         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6850         * powerpc/powerpc32/fpu/s_round.S: Likewise.
6851         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6852         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6853         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6854         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6855         * powerpc/powerpc32/memset.S: Likewise.
6856         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6857         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6858         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6859         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6860         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6861         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6862         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6863         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6864         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6865         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6866         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6867         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6868         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6869
6870 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6871
6872         * math/libm-test.inc: Added more nearbyint tests.
6873         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6874         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6875         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6876         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6877
6878 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
6879
6880         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6881         FD_CLOEXEC.
6882
6883 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6884
6885         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6886         Add wcscpy-ssse3 wcscpy-c.
6887         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6888         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6889         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6890         * sysdeps/x86_64/wcschr.S: New file.
6891         * sysdeps/x86_64/wcsrchr.S: New file.
6892         * string/test-strcmp.c: Remove checking of wcscmp function for
6893         wrong alignments.
6894         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6895         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6896         wcsrchr-sse2 wcsrchr-c.
6897         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6898         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6899         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6900         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6901         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6902         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6903         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6904         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6905         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6906         * wcsmbc/wcschr.c (WCSCHR): New macro.
6907
6908 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6909
6910         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6911         * wcsmbs/test-wcsrchr.c: New file.
6912         * string/test-strrchr.c: Add wcsrchr support.
6913         (WIDE): New macro.
6914         * wcsmbs/test-wcscpy.c: New file.
6915         * string/test-strcpy.c: Add wcscpy support.
6916         (WIDE): New macro.
6917
6918 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
6919
6920         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6921         the inner loop.
6922
6923 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
6924
6925         [BZ #13472]
6926         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6927
6928 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
6929
6930         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6931         Minor optimizations.
6932
6933         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6934         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6935         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6936
6937 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
6938
6939         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6940         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6941         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6942         for gcc to avoid warnings.
6943         * inet/Makefile (tests): Add tst-checks.
6944         * inet/tst-checks.c: New file.
6945
6946         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6947         warning.
6948
6949         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6950         __wmemcmp_sse2.
6951
6952         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6953         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6954
6955         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6956
6957 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
6958
6959         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6960         problem.
6961
6962         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6963
6964 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
6965
6966         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6967         conditional on GCC version.
6968         (__arch_compare_and_exchange_val_8_acq)
6969         (__arch_compare_and_exchange_val_16_acq)
6970         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6971         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6972         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6973
6974 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
6975
6976         * sysdeps/sh/backtrace.c: New file.
6977
6978 2011-12-02  Andreas Schwab  <schwab@redhat.com>
6979
6980         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
6981         parenthesis.
6982
6983 2011-12-01  Andreas Schwab  <schwab@redhat.com>
6984
6985         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6986         falling back to utime.
6987
6988 2011-11-30  Andreas Schwab  <schwab@redhat.com>
6989
6990         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6991         expectations for float.
6992
6993 2011-11-29  Andreas Schwab  <schwab@redhat.com>
6994
6995         * locale/weight.h (findidx): Add parameter len.
6996         * locale/weightwc.h (findidx): Likewise.
6997         * posix/fnmatch_loop.c (FCT): Adjust caller.
6998         * posix/regcomp.c (build_equiv_class): Likewise.
6999         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7000         * posix/regexec.c (check_node_accept_bytes): Likewise.
7001         * string/strcoll_l.c (STRCOLL): Likewise.
7002         * string/strxfrm_l.c (STRXFRM): Likewise.
7003
7004 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
7005
7006         * Makefile.in: Remove CVSOPT handling.
7007         * configure.in: Remove use of AC_REVISION.
7008         * iconvdata/Makefile (distribute): No need to filter out CVS.
7009         * scripts/list-sources.sh: Remove CVS, subversion and monotone
7010         handling.
7011
7012 2011-11-16  Andreas Schwab  <schwab@redhat.com>
7013
7014         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7015         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7016         [USE_AS_STRNCASECMP_L]: Likewise.
7017         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7018         NO_TLS_DIRECT_SEG_REFS.
7019         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7020         Fix argument offsets for non-PIC.
7021         [USE_AS_STRNCASECMP_L]: Likewise.
7022         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7023         NO_TLS_DIRECT_SEG_REFS.
7024
7025 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7026
7027         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7028         O_CLOEXEC.
7029         * locale/loadlocale.c (_nl_load_locale): Likewise.
7030
7031 2011-11-15  Andreas Schwab  <schwab@redhat.com>
7032
7033         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7034         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7035         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7036         (SYSCALL_GETTIME): Set errno on error.
7037
7038         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7039         count references to noai6ai_cached.
7040
7041 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7042
7043         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7044
7045         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7046         FD_CLOEXEC for /proc/self/maps.
7047
7048         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7049         FD_CLOEXEC for /proc/meminfo.
7050
7051         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7052         gai.conf.
7053
7054         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
7055         FD_CLOEXEC for given file.
7056
7057         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7058
7059         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7060         FD_CLOEXEC for /etc/hosts.
7061         (_gethtent): Likewise.
7062
7063         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7064
7065         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7066         cancellation and set FD_CLOEXEC for /etc/netgroup.
7067
7068         * nss/nss_files/files-key.c (search): Don't allow cancellation when
7069         reading /etc/publickey.
7070
7071         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7072         allow cancellation when reading /etc/group.
7073
7074         * nss/nss_files/files-alias.c (internal_setent): Don't allow
7075         cancellation.
7076         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
7077
7078         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7079         when using data file.
7080
7081         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7082
7083         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7084         (write_nis_obj): Use "c" and "e" in fopen.
7085
7086         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7087
7088         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7089
7090         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7091
7092         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7093
7094         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7095         locale.alias.
7096
7097         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7098
7099         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7100
7101         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7102
7103         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7104         file parsing and set FD_CLOEXEC.
7105
7106 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
7107
7108         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7109
7110 2011-11-14  Andreas Schwab  <schwab@redhat.com>
7111
7112         * malloc/arena.c (arena_get2): Don't call reused_arena when
7113         _int_new_arena failed.
7114
7115 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
7116
7117         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7118         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7119         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7120         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7121         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7122         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7123         to compile strcasecmp and strncasecmp.
7124         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7125         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7126
7127         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7128
7129 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
7130
7131         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7132         locale-defines.sym to gen-as-const-headers.
7133         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7134         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7135         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7136         to compile strcasecmp and strncasecmp.
7137         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7138         strcasecmp_l and strncasecmp_l.
7139         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7140         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7141         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7142         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7143         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7144         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7145         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7146         * sysdeps/i386/i686/multiarch/strncase.S: New file.
7147         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7148         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7149         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7150
7151 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
7152
7153         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7154         result of SYSDEP_GETTIME_CPU to retval.
7155         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7156         parameter list to macro.  Remove trailing semicolon.  Adjust users.
7157
7158         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7159         variable.
7160
7161         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7162         mantissa words.
7163         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7164
7165         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7166         from unused variable.
7167
7168         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7169         DWARF definitions.
7170         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7171         for assembling.
7172
7173         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7174         over namespaces.
7175
7176         * sunrpc/rpc_prot.c (rejected): Fix case value.
7177
7178         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7179         unsigned long long int to avoid warnings in shift.
7180
7181         * posix/regex_internal.c (re_string_reconstruct): Actually use result
7182         of use of trans.
7183         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7184         variable tmp.
7185
7186         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7187         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7188         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7189
7190         * nis/nis_table.c (nis_list): Use variable of correct type for
7191         result of __follow_path call.
7192
7193 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7194
7195         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7196         of math functions ceil, trunc, floor, round, and sqrt, when
7197         avaliable on the platform.
7198         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7199         name clash.
7200         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7201         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7202         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7203
7204 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
7205
7206         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7207         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7208
7209 2011-11-11  Roland McGrath  <roland@hack.frob.com>
7210
7211         * include/unistd.h: Fix __readlink return type.
7212         Reported by Chris Metcalf <cmetcalf@tilera.com>.
7213
7214 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
7215
7216         * stdlib/ucontext.h: Undo last change for makecontext.
7217
7218 2011-11-11  Andreas Schwab  <schwab@redhat.com>
7219
7220         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7221
7222         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7223         * setjmp/setjmp.h: Mark functions as non-leaf.
7224         * setjmp/bits/setjmp2.h: Likewise.
7225         * stdlib/ucontext.h: Likewise.
7226
7227 2011-11-10  Andreas Schwab  <schwab@redhat.com>
7228
7229         * malloc/arena.c (_int_new_arena): Don't increment narenas.
7230         (reused_arena): Don't check arena limit.
7231         (arena_get2): Atomically check arena limit.
7232
7233 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
7234
7235         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7236         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7237
7238         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7239         instructions.
7240
7241 2011-11-07  Andreas Schwab  <schwab@redhat.com>
7242
7243         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7244         handler when locking.
7245
7246         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7247         Fix size of allocated buffer.
7248
7249 2011-11-04  Andreas Schwab  <schwab@redhat.com>
7250
7251         [BZ #10103]
7252         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7253         declarations for long double functions.
7254         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7255
7256         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7257
7258 2011-11-03  Andreas Schwab  <schwab@redhat.com>
7259
7260         * nscd/nscd.c (main): Don't start AVC thread until credentials are
7261         installed.
7262
7263         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7264         is disabled.
7265
7266 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7267
7268         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7269
7270 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7271
7272         * include/alloca.h (stackinfo_alloca_round): Define.
7273         (extend_alloca): Use it.
7274         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7275         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7276         here.
7277
7278         * scripts/check-local-headers.sh: Ignore libaudit.h.
7279
7280         * nscd/Makefile (extra-objs): Make recursively expanded.
7281
7282 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
7283
7284         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7285         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7286
7287         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7288         * posix/tst-rfc3484-2.c: Likewise.
7289         * posix/tst-rfc3484-3.c: Likewise.
7290
7291         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7292         process_vm_writev.
7293         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7294         process_vm_writev.
7295         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7296         process_vm_writev from libc using GLIBC_2.15 version.
7297
7298         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7299
7300 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
7301
7302         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7303         stack usage.
7304
7305 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
7306
7307         [BZ #13367]
7308         * nss/getent.c (initgroups_keys): Show error message in case no group
7309         names are given.
7310
7311         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7312         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7313         __bump_nl_timestamp.
7314         * nscd/connections (nscd_init): When host database is served open
7315         netlink socket and request notification about configuration changes.
7316         (main_loop_poll): Track netlink file descriptor and bump timestamp
7317         in case data becomes available.
7318         (main_loop_epoll): Likewise.
7319         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7320         (database_pers_head): Add extra_data fileds.
7321         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7322         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7323         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7324         Adjust caller.
7325         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7326         in6ai data, call __free_in6ai.
7327         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7328         Add -DHAVE_NETLINK.
7329         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
7330         interface information.  Reuse previous data if netlink timestamp
7331         is not changed.
7332         (__bump_nl_timestamp): New function.
7333         (__free_in6ai): New function.
7334
7335 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
7336
7337         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7338         close_not_cancel_no_status here.
7339         (__check_pf): Reorganize code a bit to not call close twice if OOM.
7340
7341 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
7342
7343         [BZ #13276]
7344         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7345         return value.
7346
7347         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7348         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7349         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7350
7351 2011-07-03  Andreas Jaeger  <aj@suse.de>
7352
7353         [BZ #10709]
7354         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7355         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7356         * math/libm-test.inc (sin_test): Add test case.
7357
7358 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
7359
7360         [BZ #13337]
7361         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7362         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7363
7364         * elf/chroot_canon.c (chroot_canon): Cleanups.
7365
7366         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7367
7368         [BZ #13335]
7369         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7370         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7371
7372         * string/test-strchr.c: Make usable for strchrnul testing.
7373         * string/test-strchrnul.c: New file.
7374         * string/Makefile (strop-tests): Add strchrnul.
7375
7376         * po/it.po: Update from translation team.
7377         * po/es.po: Likewise.
7378
7379 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
7380
7381         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7382         the three constants needed as parameters.  Drop the others.
7383         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7384         __m128i_strloadu_tolower.
7385         Create and initialize variable zero and use it in all the places
7386         where _mm_setzero_si128 was used.
7387
7388         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7389         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7390         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7391         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7392         anymore.
7393         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7394         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7395         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7396         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7397         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7398         __mpranred, __mptan.
7399         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7400         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7401         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7402         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7403         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7404         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7405         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7406         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7407         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7408
7409 2011-10-28  Andreas Schwab  <schwab@redhat.com>
7410
7411         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7412         redefine if SHARED.
7413         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7414
7415         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7416         wide char related routines to wcsmbs subdir.
7417
7418 2011-10-27  Andreas Schwab  <schwab@redhat.com>
7419
7420         [BZ #13344]
7421         * misc/sys/cdefs.h (__THROWNL): Define.
7422         * posix/unistd.h: Use __THREADNL instead of __THREAD
7423         for memory synchronization functions.
7424
7425 2011-10-26  Roland McGrath  <roland@hack.frob.com>
7426
7427         [BZ #13349]
7428         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7429         doesn't exist.
7430         * manual/stdio.texi (Obstack Streams): Node removed.
7431
7432 2011-10-26  Andreas Schwab  <schwab@redhat.com>
7433
7434         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7435         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7436         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7437
7438         * math/math_private.h (math_force_eval): Allow non-addressable
7439         arguments.
7440         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7441
7442 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7443
7444         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7445         file is not needed.
7446
7447         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7448         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7449         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7450         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7451         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7452         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7453         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7454         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7455         Add AVX variants.
7456         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7457         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7458         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7459         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7460         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7461         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7462         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7463         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7464         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7465         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7466         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7467         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7468         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7469         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7470         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7471         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7472         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7473         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7474         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7475
7476         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7477         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
7478
7479         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7480         place.  Use VEX encoding when compiling for AVX.
7481
7482 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7483
7484         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7485         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7486
7487         * string/test-strchr.c (do_test): Don't generate NUL bytes.
7488
7489 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7490
7491         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7492         useless if() expression.
7493         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7494         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7495         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7496         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7497         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7498         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7499         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7500         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7501         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7502         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7503         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7504         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7505         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7506         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7507         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7508         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7509         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7510         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7511         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7512
7513         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7514
7515 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7516
7517         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7518         condition.
7519         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7520
7521 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7522
7523         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7524         .text section.  Avoid duplicate constants.
7525         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7526         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7527         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7528         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7529         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7530         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7531         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7532         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7533         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7534         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7535         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7536         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7537         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7538         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7539         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7540         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7541         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7542         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7543         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7544         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7545         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7546         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7547         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7548         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7549         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7550         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7551         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7552         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7553         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7554         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7555         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7556         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7557         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7558         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7559         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7560         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7561         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7562         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7563         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7564         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7565         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7566         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7567         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7568         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7569         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7570
7571 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
7572
7573         * sysdeps/x86_64/dla.h: Move to ...
7574         * sysdeps/x86_64/fpu/dla.h: ...here.
7575         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7576         situations.  Use __builtin_fma only for gcc 4.6 and up.
7577
7578         * config.make.in: Add have-mfma4 entry.
7579         * configure.in: Substitute libc_cv_cc_fma4.
7580         * math/Makefile (dbl-only-routines): Add sincostab.
7581         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7582         Use __sincostab not sincos.
7583         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7584         name is a macro.
7585         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7586         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7587         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7588         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
7589         using __copysign.
7590         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
7591         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
7592         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7593         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7594         and __inv.
7595         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7596         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7597         __copysign.
7598         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
7599         define aliases when function name is a macro.
7600         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7601         sysdeps/ieee754/dbl-64/sincos.tbl.
7602         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7603         fma4-enabled routines.
7604         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7605         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7606         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7607         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7608         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7609         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7610         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7611         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7612         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7613         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7614         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7615         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7616         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7617         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7618         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7619         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7620         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7621         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7622         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7623         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7624         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7625         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7626         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7627         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7628         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7629         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7630         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7631         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7632         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7633         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7634
7635         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7636         rename.
7637         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7638         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7639         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7640         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7641         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7642         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7643         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7644         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7645
7646 2011-10-24  Andreas Schwab  <schwab@redhat.com>
7647
7648         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7649
7650 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
7651
7652         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7653
7654         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7655         prediction.
7656         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7657
7658         * string/strnlen.c: Don't define STRNLEN, reverse logic.
7659         Remove unused variable magic_bits.
7660         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7661
7662         * string/strnlen.c: Define and use STRNLEN macro.
7663         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7664         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7665         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7666         * wcsmbs/wcslen.c: Define and use WCSLEN.
7667         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7668         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7669         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7670         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7671         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7672         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7673         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7674
7675 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7676
7677         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7678         strnlen-sse2-no-bsf.
7679         Rename strlen-no-bsf to strlen-sse2-no-bsf.
7680         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7681         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7682         Add strnlen support.
7683         (USE_AS_STRNLEN): New macro.
7684         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7685         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7686         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7687         * sysdeps/x86_64/wcslen.S: New file.
7688
7689 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
7690
7691         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7692         XMM-moves are used for copying on small sizes.
7693
7694 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7695
7696         * wcsmbs/Makefile (strop-tests): Add wcschr.
7697         * wcsmbs/test-wcschr.c: New file.
7698         * string/test-strchr.c: Update.
7699         Add wcschr support.
7700         (WIDE): New macro.
7701
7702 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7703
7704         * wcsmbs/Makefile (strop-tests): Add wcslen.
7705         * wcsmbs/test-wcslen.c: New file.
7706         * string/test-strlen.c: Update.
7707         Add wcslen support.
7708         (WIDE): New macro.
7709
7710 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
7711
7712         * po/it.po: Update from translation team.
7713
7714 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7715
7716         * sysdeps/x86_64/wcscmp.S: Update.
7717         Fix wrong comparison semantics.
7718         wcscmp shall use signed comparison not unsigned.
7719         Don't use substraction to avoid overflow bug.
7720         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7721         * wcsmbc/wcscmp.c: Likewise.
7722         * string/test-strcmp.c: Likewise.
7723         Add new tests to check cases with negative values.
7724
7725 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
7726
7727         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7728         * sysdeps/x86_64/dla.h: ...here.  New file.
7729         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7730         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7731         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7732         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7733         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7734         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7735         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7736         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7737         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7738
7739 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
7740
7741         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7742         __ynl_finite aliases.
7743
7744 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
7745
7746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7747
7748         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7749         define DLA_FMA.
7750         [DLA_FMA] (EMULV): Use DLA_FMA.
7751         [DLA_FMA] (MUL12): Use EMULV.
7752         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7753         that are not needed.
7754         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7755         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7756         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7757         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7758         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7759         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7760         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7761
7762 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
7763
7764         * math/s_nan.c: Undef __nan.
7765         * math/s_nanf.c: Undef __nanf.
7766         * math/s_nanl.c: Undef __nanl.
7767         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7768         "math_private.h".
7769
7770 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
7771
7772         * math/s_catan.c: Add branch predictions.
7773         * math/s_catanf.c: Likewise.
7774         * math/s_catanh.c: Likewise.
7775         * math/s_catanhf.c: Likewise.
7776         * math/s_catanhl.c: Likewise.
7777         * math/s_catanl.c: Likewise.
7778         * math/s_cexp.c: Likewise.
7779         * math/s_cexpf.c: Likewise.
7780         * math/s_cexpl.c: Likewise.
7781         * math/s_clog.c: Likewise.
7782         * math/s_clog10.c: Likewise.
7783         * math/s_clog10f.c: Likewise.
7784         * math/s_clog10l.c: Likewise.
7785         * math/s_clogf.c: Likewise.
7786         * math/s_clogl.c: Likewise.
7787         * math/s_csqrt.c: Likewise.
7788         * math/s_csqrtf.c: Likewise.
7789         * math/s_csqrtl.c: Likewise.
7790         * math/s_ctanf.c: Likewise.
7791         * math/s_ctanh.c: Likewise.
7792         * math/s_ctanhf.c: Likewise.
7793         * math/s_ctanhl.c: Likewise.
7794         * math/s_ctanl.c: Likewise.
7795
7796         * math/math_private.h: Define __nan, __nanf, __nanl.
7797         * math/s_cacosh.c: Include <math_private.h>.
7798         * math/s_cacoshl.c: Likewise.
7799         * math/s_casinh.c: Likewise.
7800         * math/s_casinhf.c: Likewise.
7801         * math/s_casinhl.c: Likewise.
7802         * math/s_ccos.c: Rely entire on ccosh.
7803         * math/s_ccosf.c: Rely entire on ccoshf.
7804         * math/s_ccosl.c: Rely entirely on ccoshl.
7805         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
7806         Remove tests for FE_INVALID.
7807         * math/s_ccoshf.c: Likewise.
7808         * math/s_ccoshl.c: Likewise.
7809         * math/s_csin.c: Likewise.
7810         * math/s_csinf.c: Likewise.
7811         * math/s_csinh.c Likewise.
7812         * math/s_csinhf.c: Likewise.
7813         * math/s_csinhl.c: Likewise.
7814         * math/s_csinl.c: Likewise.
7815         * math/s_ctan.c: Likewise.
7816         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7817         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7818         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7819
7820 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
7821
7822         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7823         compilation problems.
7824
7825         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7826         __builtin_expect.
7827
7828 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
7829
7830         * sysdeps/i386/configure.in: Test for -mfma4 option.
7831         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7832         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7833         COMMON_CPUID_INDEX_80000001.
7834         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7835         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7836         use it if FMA3 is not supported.
7837         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7838
7839         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7840         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7841
7842 2011-10-20  Andreas Schwab  <schwab@redhat.com>
7843
7844         [BZ #12892]
7845         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7846         it would create a cycle with a link time dependency.
7847
7848 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
7849
7850         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7851         instruction.
7852         * string/Makefile (strop-tests): Add rawmemchr.
7853         * string/test-rawmemchr.c: New file.
7854
7855         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7856         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
7857         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
7858         when compiling str{,n}casecmp and when AVX is available.  Hook up
7859         new optimized code in initializers.
7860
7861 2011-10-19  Andreas Schwab  <schwab@redhat.com>
7862
7863         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7864         __feraiseexcept instead of feraiseexcept.
7865
7866 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
7867
7868         * math/math_private.h: Define defaults for libc_fetestexcept and
7869         libc_feupdateenv.
7870         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7871         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7872         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7873         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7874         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7875         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7876         libc_fetestexcept and libc_feupdateenv.
7877
7878         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7879         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7880         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7881         * sysdeps/x86_64/fpu/math_private.h: Define special version of
7882         libc_feholdexcept_setround.
7883
7884         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7885         Add s_nearbyint-c and s_nearbyintf-c.
7886         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7887         nearbyintf inlines.
7888         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7889         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7890         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7891         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7892
7893         * math/math_private.h: Define defaults for libc_fegetround,
7894         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7895         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7896         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7897         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7898         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7899         standard functions.
7900         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7901         Remove comments and hacks for old compiler versions.
7902         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7903         libc_fegetround, libc_fesetround, libc_feholdexcept, and
7904         libc_feholdexceptl.
7905
7906 2011-10-18  Andreas Schwab  <schwab@redhat.com>
7907
7908         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7909         (__feraiseexcept_renamed): Add __NTH.
7910         (feraiseexcept): Add __NTH.  Rename local variables to fix
7911         namespace violations.
7912
7913 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
7914
7915         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7916
7917         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7918
7919         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7920         recently added interfaces.
7921         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7922
7923         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7924         about macro parameter expansion.
7925
7926         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7927         __NO_MATH_INLINES is defined.  Cleanups.
7928
7929         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7930         and __floorf is target has SSE4.1.
7931         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7932         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7933         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7934         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7935
7936         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7937         name.
7938         (floorf): Likewise.
7939
7940         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7941
7942 2011-10-17  Andreas Schwab  <schwab@redhat.com>
7943
7944         * misc/sys/cdefs.h: Fix last change.
7945
7946         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7947         database lookup.
7948
7949 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
7950
7951         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7952
7953         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7954         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7955         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7956         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7957         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7958         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7959         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7960         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7961         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7962         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7963         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7964         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7965         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7966         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7967         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7968         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7969         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7970         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7971         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7972         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7973         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7974         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7975
7976         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7977         ceil, ceilf, floor, floorf.
7978
7979         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7980         Perform IRELATIVE relocations last.
7981
7982         * elf/do-rel.h: Add another parameter nrelative, replacing the
7983         local variable with the same name.  Change name of the function
7984         to end in Rel or Rela (uppercase).
7985         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7986         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
7987         elf_dynamic_do_##reloc function.
7988
7989 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
7990
7991         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7992         is sufficient, at least on modern CPUs.
7993
7994         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7995
7996         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7997         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7998
7999         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8000         __expl_finite.
8001         * math/bits/math-finite.h: Add entries for exp.
8002         * math/e_expl.c: Add __*_finite alias.
8003         * sysdeps/i386/fpu/e_exp.S: Likewise.
8004         * sysdeps/i386/fpu/e_expf.S: Likewise.
8005         * sysdeps/i386/fpu/e_expl.c: Likewise.
8006         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8007         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8008         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8009         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8010         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8011         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8012         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8013
8014         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8015         is sufficient, at least on modern CPUs.
8016
8017         * ctype/ctype-info.c (__ctype_init): Define.
8018         * include/ctype.h (__ctype_init): Declare.
8019         (__ctype_b_loc): The variable is always initialized.
8020         (__ctype_toupper_loc): Likewise.
8021         (__ctype_tolower_loc): Likewise.
8022         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8023         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8024
8025 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
8026
8027         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8028
8029         * configure.in: Also look in $cxxmachine/include for C++ system
8030         headers.
8031
8032 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8033
8034         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8035         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8036         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8037         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
8038         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8039         (USE_AS_WMEMCMP): New macro.
8040         Fixing indents.
8041         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8042         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8043         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8044         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8045         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8046         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8047         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8048         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8049         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8050         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8051         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8052         (USE_AS_WMEMCMP): New macro.
8053         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8054         * sysdeps/string/test-memcmp.c: Update.
8055         Fix simple_wmemcmp.
8056         Add new tests.
8057         * wcsmbs/wmemcmp.c: Update.
8058         (WMEMCMP): New macro.
8059         Fix overflow bug.
8060
8061 2011-10-12  Andreas Jaeger  <aj@suse.de>
8062
8063         [BZ #13268]
8064         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8065
8066 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
8067
8068         * libio/iofwide.c (do_length): Avoid warning.
8069
8070         * ctype/ctype.h (__isctype_f): Add missing __THROW.
8071
8072 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
8073
8074         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8075
8076         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8077         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8078         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8079         * sysdeps/i386/i686/fpu/e_log.S: New file.
8080         * sysdeps/i386/i686/fpu/e_logf.S: New file.
8081         * sysdeps/i386/i686/fpu/e_logl.S: New file.
8082
8083         * ctype/ctype.h: Add support for inlined isXXX functions when
8084         compiling C++ code.
8085
8086 2011-10-14  Andreas Schwab  <schwab@redhat.com>
8087
8088         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8089
8090         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8091
8092 2011-10-13  Roland McGrath  <roland@hack.frob.com>
8093
8094         [BZ #13291]
8095         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8096
8097 2011-10-13  Andreas Schwab  <schwab@redhat.com>
8098
8099         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8100         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8101         feraiseexcept.
8102
8103         * sysdeps/x86_64/memrchr.S: Check for zero size.
8104
8105         * string/stratcliff.c: Add memrchr tests.
8106
8107 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8108
8109         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8110         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8111         rawmemchr-sse2 rawmemchr-sse2-bsf.
8112         * sysdeps/i386/i686/multiarch/memchr.S: New file.
8113         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8114         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8115         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8116         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8117         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8118         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8119         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8120         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8121         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8122         * string/memrchr.c (MEMRCHR): New macro.
8123
8124 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
8125
8126         Add integration with gcc's -ffinite-math-only and optimize wrapper
8127         functions in libm.
8128         * Versions.def: Define GLIBC_2.15 version for libm.
8129         * math/Makefile (headers): Add bits/math-finite.h.
8130         * math/bits/math-finite.h: New file.
8131         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8132         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8133         * math/e_acoshl.c: Add __*_finite alias.
8134         * math/e_acosl.c: Likewise.
8135         * math/e_asinl.c: Likewise.
8136         * math/e_atan2l.c: Likewise.
8137         * math/e_atanhl.c: Likewise.
8138         * math/e_coshl.c: Likewise.
8139         * math/e_exp10.c: Likewise.
8140         * math/e_exp10f.c: Likewise.
8141         * math/e_exp10l.c: Likewise.
8142         * math/e_exp2l.c: Likewise.
8143         * math/e_fmodl.c: Likewise.
8144         * math/e_gammal_r.c: Likewise.
8145         * math/e_hypotl.c: Likewise.
8146         * math/e_j0l.c: Likewise.
8147         * math/e_j1l.c: Likewise.
8148         * math/e_jnl.c: Likewise.
8149         * math/e_lgammal_r.c: Likewise.
8150         * math/e_log10l.c: Likewise.
8151         * math/e_log2l.c: Likewise.
8152         * math/e_logl.c: Likewise.
8153         * math/e_powl.c: Likewise.
8154         * math/e_sinhl.c: Likewise.
8155         * math/e_sqrtl.c: Likewise.
8156         * math/e_scalb.c: Completely rewritten and optimized.
8157         * math/e_scalbf.c: Likewise.
8158         * math/e_scalbl.c: Likewise.
8159         * math/w_acos.c: Likewise.
8160         * math/w_acosf.c: Likewise.
8161         * math/w_acosl.c: Likewise.
8162         * math/w_acosh.c: Likewise.
8163         * math/w_acoshf.c: Likewise.
8164         * math/w_acoshl.c: Likewise.
8165         * math/w_asin.c: Likewise.
8166         * math/w_asinf.c: Likewise.
8167         * math/w_asinl.c: Likewise.
8168         * math/w_atan2.c: Likewise.
8169         * math/w_atan2f.c: Likewise.
8170         * math/w_atan2l.c: Likewise.
8171         * math/w_atanh.c: Likewise.
8172         * math/w_atanhf.c: Likewise.
8173         * math/w_atanhl.c: Likewise.
8174         * math/w_exp10.c: Likewise.
8175         * math/w_exp10f.c: Likewise.
8176         * math/w_exp10l.c: Likewise.
8177         * math/w_fmod.c: Likewise.
8178         * math/w_fmodf.c: Likewise.
8179         * math/w_fmodl.c: Likewise.
8180         * math/w_j0.c: Likewise.
8181         * math/w_j0f.c: Likewise.
8182         * math/w_j0l.c: Likewise.
8183         * math/w_j1.c: Likewise.
8184         * math/w_j1f.c: Likewise.
8185         * math/w_j1l.c: Likewise.
8186         * math/w_jn.c: Likewise.
8187         * math/w_jnf.c: Likewise.
8188         * math/w_log.c: Likewise.
8189         * math/w_logf.c: Likewise.
8190         * math/w_logl.c: Likewise.
8191         * math/w_log10.c: Likewise.
8192         * math/w_log10f.c: Likewise.
8193         * math/w_log10l.c: Likewise.
8194         * math/w_log2.c: Likewise.
8195         * math/w_log2f.c: Likewise.
8196         * math/w_log2l.c: Likewise.
8197         * math/w_pow.c: Likewise.
8198         * math/w_powf.c: Likewise.
8199         * math/w_powl.c: Likewise.
8200         * math/w_remainder.c: Likewise.
8201         * math/w_remainderf.c: Likewise.
8202         * math/w_remainderl.c: Likewise.
8203         * math/w_scalb.c: Likewise.
8204         * math/w_scalbf.c: Likewise.
8205         * math/w_scalbl.c: Likewise.
8206         * math/w_sqrt.c: Likewise.
8207         * math/w_sqrtf.c: Likewise.
8208         * math/w_sqrtl.c: Likewise.
8209         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8210         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
8211         used.
8212         * math/math_private.h: Declare __kernel_standard_f.
8213         * math/w_cosh.c: Remove cruft and optimize a bit.
8214         * math/w_coshf.c: Likewise.
8215         * math/w_coshl.c: Likewise.
8216         * math/w_exp2.c: Likewise.
8217         * math/w_exp2f.c: Likewise.
8218         * math/w_exp2l.c: Likewise.
8219         * math/w_hypot.c: Likewise.
8220         * math/w_hypotf.c: Likewise.
8221         * math/w_hypotl.c: Likewise.
8222         * math/w_lgamma.c: Likewise.
8223         * math/w_lgamma_r.c: Likewise.
8224         * math/w_lgammaf.c: Likewise.
8225         * math/w_lgammaf_r.c: Likewise.
8226         * math/w_lgammal.c: Likewise.
8227         * math/w_lgammal_r.c: Likewise.
8228         * math/w_sinh.c: Likewise.
8229         * math/w_sinhf.c: Likewise.
8230         * math/w_sinhl.c: Likewise.
8231         * math/w_tgamma.c: Likewise.
8232         * math/w_tgammaf.c: Likewise.
8233         * math/w_tgammal.c: Likewise.
8234         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8235         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8236         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8237         Minor optimizations.  Pretty printing.  Remove cruft.
8238         * sysdeps/i386/fpu/e_acosf.S: Likewise.
8239         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8240         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8241         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8242         * sysdeps/i386/fpu/e_acosl.c: Likewise.
8243         * sysdeps/i386/fpu/e_asin.S: Likewise.
8244         * sysdeps/i386/fpu/e_asinf.S: Likewise.
8245         * sysdeps/i386/fpu/e_atan2.S: Likewise.
8246         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8247         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8248         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8249         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8250         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8251         * sysdeps/i386/fpu/e_exp10.S: Likewise.
8252         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8253         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8254         * sysdeps/i386/fpu/e_exp2.S: Likewise.
8255         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8256         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8257         * sysdeps/i386/fpu/e_fmod.S: Likewise.
8258         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8259         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8260         * sysdeps/i386/fpu/e_hypot.S: Likewise.
8261         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8262         * sysdeps/i386/fpu/e_log.S: Likewise.
8263         * sysdeps/i386/fpu/e_log10.S: Likewise.
8264         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8265         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8266         * sysdeps/i386/fpu/e_log2.S: Likewise.
8267         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8268         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8269         * sysdeps/i386/fpu/e_logf.S: Likewise.
8270         * sysdeps/i386/fpu/e_logl.S: Likewise.
8271         * sysdeps/i386/fpu/e_pow.S: Likewise.
8272         * sysdeps/i386/fpu/e_powf.S: Likewise.
8273         * sysdeps/i386/fpu/e_powl.S: Likewise.
8274         * sysdeps/i386/fpu/e_remainder.S: Likewise.
8275         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8276         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8277         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8278         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8279         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8280         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8281         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8282         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8283         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8284         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8285         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8286         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8287         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8288         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8289         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8290         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8291         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8292         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8293         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8294         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8295         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8296         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8297         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8298         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8299         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8300         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8301         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8302         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8303         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8304         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8305         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8306         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8307         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8308         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8309         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8310         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8311         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8312         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8313         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8314         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8315         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8316         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8317         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8318         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8319         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8320         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8321         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8322         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8323         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8324         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8325         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8326         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8327         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8328         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8329         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8330         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8331         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8332         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8333         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8334         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8335         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8336         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8337         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8338         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8339         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8340         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8341         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8342         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8343         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8344         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8345         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8346         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8347         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8348         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8349         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8350         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8351         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8352         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8353         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8354         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8355         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8356         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8357         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8358         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8359         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8360         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8361         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8362         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8363         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8364         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8365         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8366         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8367         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8368         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8369         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8370         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8371         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8372         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8373         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8374         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8375         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8376         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8377         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8378         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8379         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8380         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8381         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8382         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8383         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8384         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8385         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8386         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8387         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8388         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8389         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8390         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8391         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8392         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8393         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
8394         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8395         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8396         (__isnanf): Likewise.
8397         (__isinf_ns): Likewise.
8398         (__isinf_nsf): Likewise.
8399         (__finite): Likewise.
8400         (__finitef): Likewise.
8401         (__ieee754_sqrt): Define as macro.
8402         (__ieee754_sqrtf): Define as macro.
8403         (__ieee754_sqrtl): Define as macro.
8404         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8405         inlined copy.
8406         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8407         __FINITE_MATH_ONLY__ consistent.
8408         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8409
8410 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
8411
8412         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8413         of rawmemchr.
8414
8415         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8416
8417 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
8418
8419         * po/ja.po: Update from translation team.
8420
8421 2011-10-08  Roland McGrath  <roland@hack.frob.com>
8422
8423         * locale/programs/locarchive.c (prepare_address_space): New function.
8424         (create_archive, enlarge_archive, open_archive): Use it.
8425
8426         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8427         inside [SHARED], where it is used.
8428
8429         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8430
8431         * nss/getent.c (netgroup_keys): Remove unused variable.
8432         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8433
8434 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
8435
8436         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8437         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8438         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8439         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8440         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8441         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8442         * math/Makefile (libm-calls): Add s_isinf_ns.
8443         * math/divtc3.c: Use __isinf_nsl instead of isinf.
8444         * math/multc3.c: Likewise.
8445         * math/s_casin.c: Likewise.
8446         * math/s_casinf.c: Likewise.
8447         * math/s_casinl.c: Likewise.
8448         * math/s_ccos.c: Likewise.
8449         * math/s_ccosf.c: Likewise.
8450         * math/s_ccosl.c: Likewise.
8451         * math/s_ctan.c: Likewise.
8452         * math/s_ctanf.c: Likewise.
8453         * math/s_ctanh.c: Likewise.
8454         * math/s_ctanhf.c: Likewise.
8455         * math/s_ctanhl.c: Likewise.
8456         * math/s_ctanl.c: Likewise.
8457         * math/w_fmod.c: Likewise.
8458         * math/w_fmodf.c: Likewise.
8459         * math/w_fmodl.c: Likewise.
8460         * math/w_remainder.c: Likewise.
8461         * math/w_remainderf.c: Likewise.
8462         * math/w_remainderl.c: Likewise.
8463         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8464         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8465         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8466         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8467         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8468         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8469         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8470         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8471
8472         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8473         of the number.
8474         * stdio-common/printf_fphex.c: Likewise.
8475         * stdio-common/printf_size.c: Likewise.
8476
8477         * math/e_exp10.c: Include math_private.h using <...> not "...".
8478         * math/e_exp10f.c: Likewise.
8479         * math/e_exp10l.c: Likewise.
8480         * math/e_exp2l.c: Likewise.
8481         * math/e_j0l.c: Likewise.
8482         * math/e_j1l.c: Likewise.
8483         * math/e_jnl.c: Likewise.
8484         * math/e_lgammal_r.c: Likewise.
8485         * math/e_rem_pio2l.c: Likewise.
8486         * math/e_scalb.c: Likewise.
8487         * math/e_scalbf.c: Likewise.
8488         * math/e_scalbl.c: Likewise.
8489         * math/k_cosl.c: Likewise.
8490         * math/k_sinl.c: Likewise.
8491         * math/k_tanl.c: Likewise.
8492         * math/s_cacoshf.c: Likewise.
8493         * math/s_catan.c: Likewise.
8494         * math/s_catanf.c: Likewise.
8495         * math/s_catanh.c: Likewise.
8496         * math/s_catanhf.c: Likewise.
8497         * math/s_catanhl.c: Likewise.
8498         * math/s_catanl.c: Likewise.
8499         * math/s_ccosh.c: Likewise.
8500         * math/s_ccoshf.c: Likewise.
8501         * math/s_ccoshl.c: Likewise.
8502         * math/s_cexp.c: Likewise.
8503         * math/s_cexpf.c: Likewise.
8504         * math/s_cexpl.c: Likewise.
8505         * math/s_clog.c: Likewise.
8506         * math/s_clog10.c: Likewise.
8507         * math/s_clog10f.c: Likewise.
8508         * math/s_clog10l.c: Likewise.
8509         * math/s_clogf.c: Likewise.
8510         * math/s_clogl.c: Likewise.
8511         * math/s_csin.c: Likewise.
8512         * math/s_csinf.c: Likewise.
8513         * math/s_csinh.c: Likewise.
8514         * math/s_csinhf.c: Likewise.
8515         * math/s_csinhl.c: Likewise.
8516         * math/s_csinl.c: Likewise.
8517         * math/s_csqrt.c: Likewise.
8518         * math/s_csqrtf.c: Likewise.
8519         * math/s_csqrtl.c: Likewise.
8520         * math/s_ctan.c: Likewise.
8521         * math/s_ctanf.c: Likewise.
8522         * math/s_ctanh.c: Likewise.
8523         * math/s_ctanhf.c: Likewise.
8524         * math/s_ctanhl.c: Likewise.
8525         * math/s_ctanl.c: Likewise.
8526         * math/s_ldexp.c: Likewise.
8527         * math/s_ldexpf.c: Likewise.
8528         * math/s_ldexpl.c: Likewise.
8529         * math/s_significand.c: Likewise.
8530         * math/s_significandf.c: Likewise.
8531         * math/s_significandl.c: Likewise.
8532         * math/w_acos.c: Likewise.
8533         * math/w_acosf.c: Likewise.
8534         * math/w_acosh.c: Likewise.
8535         * math/w_acoshf.c: Likewise.
8536         * math/w_acoshl.c: Likewise.
8537         * math/w_acosl.c: Likewise.
8538         * math/w_asin.c: Likewise.
8539         * math/w_asinf.c: Likewise.
8540         * math/w_asinl.c: Likewise.
8541         * math/w_atan2.c: Likewise.
8542         * math/w_atan2f.c: Likewise.
8543         * math/w_atan2l.c: Likewise.
8544         * math/w_atanh.c: Likewise.
8545         * math/w_atanhf.c: Likewise.
8546         * math/w_atanhl.c: Likewise.
8547         * math/w_cosh.c: Likewise.
8548         * math/w_coshf.c: Likewise.
8549         * math/w_coshl.c: Likewise.
8550         * math/w_dremf.c: Likewise.
8551         * math/w_exp10.c: Likewise.
8552         * math/w_exp10f.c: Likewise.
8553         * math/w_exp10l.c: Likewise.
8554         * math/w_exp2.c: Likewise.
8555         * math/w_exp2f.c: Likewise.
8556         * math/w_fmod.c: Likewise.
8557         * math/w_fmodf.c: Likewise.
8558         * math/w_fmodl.c: Likewise.
8559         * math/w_hypot.c: Likewise.
8560         * math/w_hypotf.c: Likewise.
8561         * math/w_hypotl.c: Likewise.
8562         * math/w_j0.c: Likewise.
8563         * math/w_j0f.c: Likewise.
8564         * math/w_j0l.c: Likewise.
8565         * math/w_j1.c: Likewise.
8566         * math/w_j1f.c: Likewise.
8567         * math/w_j1l.c: Likewise.
8568         * math/w_jn.c: Likewise.
8569         * math/w_jnf.c: Likewise.
8570         * math/w_jnl.c: Likewise.
8571         * math/w_lgamma.c: Likewise.
8572         * math/w_lgamma_r.c: Likewise.
8573         * math/w_lgammaf.c: Likewise.
8574         * math/w_lgammaf_r.c: Likewise.
8575         * math/w_lgammal.c: Likewise.
8576         * math/w_lgammal_r.c: Likewise.
8577         * math/w_log.c: Likewise.
8578         * math/w_log10.c: Likewise.
8579         * math/w_log10f.c: Likewise.
8580         * math/w_log10l.c: Likewise.
8581         * math/w_log2.c: Likewise.
8582         * math/w_log2f.c: Likewise.
8583         * math/w_log2l.c: Likewise.
8584         * math/w_logf.c: Likewise.
8585         * math/w_logl.c: Likewise.
8586         * math/w_pow.c: Likewise.
8587         * math/w_powf.c: Likewise.
8588         * math/w_powl.c: Likewise.
8589         * math/w_remainder.c: Likewise.
8590         * math/w_remainderf.c: Likewise.
8591         * math/w_remainderl.c: Likewise.
8592         * math/w_scalb.c: Likewise.
8593         * math/w_scalbf.c: Likewise.
8594         * math/w_scalbl.c: Likewise.
8595         * math/w_sinh.c: Likewise.
8596         * math/w_sinhf.c: Likewise.
8597         * math/w_sinhl.c: Likewise.
8598         * math/w_sqrt.c: Likewise.
8599         * math/w_sqrtf.c: Likewise.
8600         * math/w_sqrtl.c: Likewise.
8601         * math/w_tgamma.c: Likewise.
8602         * math/w_tgammaf.c: Likewise.
8603         * math/w_tgammal.c: Likewise.
8604
8605         * po/ja.po: Update from translation team.
8606
8607 2011-09-29  Andreas Jaeger  <aj@suse.de>
8608
8609         [BZ #13179]
8610         * sunrpc/netname.c (netname2host): Fix logic.
8611
8612         [BZ #6779]
8613         [BZ #6783]
8614         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8615         correctly.
8616         * math/w_remainder.c (__remainder): Likewise.
8617         * math/w_remainderf.c (__remainderf): Likewise.
8618         * math/libm-test.inc (remainder_test): Add test cases.
8619
8620 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8621
8622         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
8623         sdiv_qrnnd.
8624
8625 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
8626
8627         * string/test-memcmp.c: Avoid unncessary #defines.
8628         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8629
8630 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8631
8632         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8633         Use new sse2 version for core i3 - i7 as it's faster
8634         than sse42 version.
8635         (bit_Prefer_PMINUB_for_stringop): New.
8636         * sysdeps/x86_64/rawmemchr.S: Update.
8637         Replace with faster SSE2 version.
8638         * sysdeps/x86_64/memrchr.S: New file.
8639         * sysdeps/x86_64/memchr.S: Update.
8640         Replace with faster SSE2 version.
8641
8642 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
8643
8644         * elf/dl-load.c (lose): Add cast to avoid warning.
8645
8646 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
8647
8648         * po/ca.po: Update from translation team.
8649
8650         * inet/getnetgrent_r.c: Hook up nscd.
8651         * nscd/Makefile (routines): Add nscd_netgroup.
8652         (nscd-modules): Add netgroupcache.
8653         (CFLAGS-netgroupcache.c): Define.
8654         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8655         (cache_search): Add const to second parameter.
8656         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8657         INNETGR.
8658         (dbs): Add netgrdb entry.
8659         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8660         (verify_persistent_db): Handle netgrdb.
8661         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8662         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8663         GETFDNETGR.
8664         (netgroup_response_header): Define.
8665         (innetgroup_response_header): Define.
8666         (datahead): Add netgroup_response_header and innetgroup_response_header
8667         elements.
8668         * nscd/nscd.conf: Add entries for netgroup cache.
8669         * nscd/nscd.h (dbtype): Add netgrdb.
8670         (_PATH_NSCD_NETGROUP_DB): Define.
8671         (netgroup_iov_disabled): Declare.
8672         (xmalloc, xcalloc, xrealloc): Move declarations here.
8673         (cache_search): Adjust prototype.
8674         Add netgroup-related prototypes.
8675         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8676         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8677         (__nscd_innetgr): Declare.
8678         * nscd/selinux.c (perms): Use access_vector_t as element type and
8679         add netgroup-related initializers.
8680         * nscd/netgroupcache.c: New file.
8681         * nscd/nscd_netgroup.c: New file.
8682         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8683         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8684         For four parameters use innetgr.
8685         * nss/nss_files/files-init.c: Add definition and callback for netgr.
8686         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8687         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8688         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8689
8690         * nscd/connections.c (register_traced_file): Don't register file
8691         for disabled databases.
8692
8693 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
8694
8695         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8696
8697         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8698         from tree and freeing node.
8699
8700 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
8701
8702         * nss/nsswitch.c (__nss_database_lookup): Handle
8703         nss_parse_service_list out of memory case.
8704
8705 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
8706
8707         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8708         out of memory case.
8709
8710 2011-10-04  Andreas Schwab  <schwab@redhat.com>
8711
8712         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8713         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8714         pass it down.
8715         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8716         elf_machine_rela, elf_machine_lazy_rel.
8717         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8718         (ELF_DYNAMIC_DO_REL): Likewise.
8719         (ELF_DYNAMIC_DO_RELA): Likewise.
8720         (ELF_DYNAMIC_RELOCATE): Likewise.
8721         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8722         to ELF_DYNAMIC_DO_REL.
8723         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8724         (dl_main): In trace mode always set __RTLD_NOIFUNC.
8725         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8726         elf_machine_rela.
8727         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8728         skip_ifunc, don't call ifunc function if non-zero.
8729         (elf_machine_rela): Likewise.
8730         (elf_machine_lazy_rel): Likewise.
8731         (elf_machine_lazy_rela): Likewise.
8732         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8733         (elf_machine_lazy_rel): Likewise.
8734         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8735         Likewise.
8736         (elf_machine_lazy_rel): Likewise.
8737         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8738         Likewise.
8739         (elf_machine_lazy_rel): Likewise.
8740         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8741         (elf_machine_lazy_rel): Likewise.
8742         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8743         (elf_machine_lazy_rel): Likewise.
8744         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8745         (elf_machine_lazy_rel): Likewise.
8746         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8747         (elf_machine_lazy_rel): Likewise.
8748         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8749         (elf_machine_lazy_rel): Likewise.
8750         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8751         (elf_machine_lazy_rel): Likewise.
8752
8753 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
8754
8755         * nss/nss_files/files-init.c (_nss_files_init): Use static
8756         initialization for all the *_traced_file variables.
8757
8758 2011-09-28  Andreas Schwab  <schwab@redhat.com>
8759
8760         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8761
8762 2011-09-27  Roland McGrath  <roland@hack.frob.com>
8763
8764         [BZ #13226]
8765         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8766
8767 2011-09-27  Andreas Schwab  <schwab@redhat.com>
8768
8769         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8770         Reread the line before reparsing it.
8771
8772 2011-09-26  Andreas Schwab  <schwab@redhat.com>
8773
8774         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8775
8776 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
8777             Maxim Kuvyrkov  <maxim@codesourcery.com>
8778             Joseph Myers  <joseph@codesourcery.com>
8779
8780         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8781         if needed for __stack_chk_guard.
8782
8783 2011-09-19  Roland McGrath  <roland@hack.frob.com>
8784
8785         * sysdeps/posix/spawni.c (script_execute): Always define it.
8786         It will be optimized away if unused.
8787         (maybe_script_execute): New function.
8788         (__spawni): Call it.
8789
8790         * Makerules: Don't include tls.make.
8791         (config-tls): Always set to thread.
8792         * tls.make.c: File removed.
8793
8794 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
8795
8796         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8797         * config.make.in (CPPFLAGS-config): New substituted variable.
8798
8799 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
8800
8801         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8802
8803         [BZ #13192]
8804         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8805         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8806
8807 2011-09-15  Roland McGrath  <roland@hack.frob.com>
8808
8809         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8810         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8811         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8812         (CALL_FAIL): Likewise.
8813         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8814         (CALL_FAIL): Macro removed.
8815         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8816
8817 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
8818
8819         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8820         for __FINITE_MATH_ONLY__ == 1.
8821
8822 2011-09-15  Andreas Schwab  <schwab@redhat.com>
8823
8824         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8825         __ieee754_sqrt instead of sqrt.
8826         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8827         __ieee754_sqrtf instead of sqrtf.
8828         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8829         __floorf instead of floorf.
8830         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8831         __floorf, __truncf instead of floorf, truncf.
8832
8833 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
8834
8835         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8836
8837         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8838         __extern_always_inline.
8839         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8840         32-bit.
8841
8842 2011-09-14  Andreas Schwab  <schwab@redhat.com>
8843
8844         * elf/rtld.c (dl_main): Also relocate in dependency order when
8845         doing symbol dependency testing.
8846
8847 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
8848
8849         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8850         Always define `refsym'.
8851
8852 2011-09-13  Andreas Schwab  <schwab@redhat.com>
8853
8854         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8855         (__FD_ELT): Renamed from __FDELT.
8856         * misc/bits/select2.h (__FD_ELT): Likewise.
8857         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8858         __FD_MASK instead of __FDELT, __FDMASK.
8859         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8860         Likewise.
8861         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8862         Likewise.
8863
8864         * elf/Makefile (gen-ldd): Fix pattern.
8865
8866         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8867         (init_tls): Likewise.
8868
8869 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
8870
8871         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8872
8873 2011-09-12  Andreas Schwab  <schwab@redhat.com>
8874
8875         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8876         `struct cmsghdr *' instead of `void *'.
8877         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8878         Likewise.
8879
8880 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
8881
8882         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8883         if non-absolute.
8884         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8885         ldd_rewrite_script.
8886
8887 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
8888
8889         * configure.in: Remove --with-tls option.
8890         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8891         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8892         out in case it is missing.
8893         * sysdeps/ia64/elf/configure.in: Likewise.
8894         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8895         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8896         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8897         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8898         * sysdeps/sh/elf/configure.in: Likewise.
8899         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8900         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8901         * sysdeps/x86_64/elf/configure.in: Likewise.
8902         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8903         * sysdeps/mach/hurd/tls.h: Likewise.
8904
8905         [BZ #13067]
8906         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8907
8908         [BZ #13090]
8909         * configure.in: Fix use of AC_INIT.
8910
8911         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8912
8913 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
8914
8915         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8916         __set_errno.
8917         * malloc/hooks.c: Likewise.
8918
8919         [BZ #11929]
8920         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
8921         variables statically.
8922         (narenas): Initialize.
8923         (list_lock): Initialize.
8924         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
8925         initializtion of main_arena and list_lock.  Small cleanups.
8926         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8927         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
8928         Add initializers to main_arena and mp_.
8929         (malloc_state): Remove pagesize member.  Change all users to use
8930         GLRO(dl_pagesize).
8931
8932         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8933         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
8934         is always initialized.
8935
8936         * malloc/malloc.c: Removed unused configurations and dead code.
8937         * malloc/arena.c: Likewise.
8938         * malloc/hooks.c: Likewise.
8939         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8940
8941         * include/tls.h: Removed.  USE___THREAD must always be defined.
8942         * bits/libc-tsd.h: Don't handle !USE___THREAD.
8943         * elf/dl-libc.c: Likewise.
8944         * elf/dl-tsd.c: Likewise.
8945         * include/errno.h: Likewise.
8946         * include/netdb.h: Likewise.
8947         * include/resolv.h: Likewise.
8948         * inet/herrno-loc.c: Likewise.
8949         * inet/herrno.c: Likewise.
8950         * malloc/arena.c: Likewise.
8951         * malloc/hooks.c: Likewise.
8952         * malloc/malloc.c: Likewise.
8953         * resolv/res-state.c: Likewise.
8954         * resolv/res_libc.c: Likewise.
8955         * sysdeps/i386/dl-machine.h: Likewise.
8956         * sysdeps/ia64/dl-machine.h: Likewise.
8957         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8958         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8959         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8960         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8961         * sysdeps/sh/dl-machine.h: Likewise.
8962         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8963         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8964         * sysdeps/unix/i386/sysdep.S: Likewise.
8965         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8966         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8967         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8968         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8969         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8970         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8971         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8972         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8973         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8974         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8975         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8976         * sysdeps/x86_64/dl-machine.h: Likewise.
8977         * tls.make.c: Likewise.
8978
8979         * configure.in: Remove --with-__thread option.  Make tests for
8980         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8981         tls_model attribute fail if no support is available.  Remove
8982         USE_IN_LIBIO.
8983         * Makeconfig: Adjust for dropped configure option.  All features are
8984         now mandatory.
8985         * Makerules: Likewise.
8986         * Versions.def: Likewise.
8987         * argp/argp-fmtstream.c: Likewise.
8988         * argp/argp-fmtstream.h: Likewise.
8989         * argp/argp-help.c: Likewise.
8990         * assert/assert.c: Likewise.
8991         * config.h.in: Likewise.
8992         * config.make.in: Likewise.
8993         * configure: Likewise.
8994         * configure.in: Likewise.
8995         * csu/Versions: Likewise.
8996         * csu/init.c: Likewise.
8997         * elf/tst-audit2.c: Likewise.
8998         * elf/tst-tls10.c: Likewise.
8999         * elf/tst-tls10.h: Likewise.
9000         * elf/tst-tls11.c: Likewise.
9001         * elf/tst-tls12.c: Likewise.
9002         * elf/tst-tls14.c: Likewise.
9003         * elf/tst-tlsmod11.c: Likewise.
9004         * elf/tst-tlsmod12.c: Likewise.
9005         * elf/tst-tlsmod13.c: Likewise.
9006         * elf/tst-tlsmod13a.c: Likewise.
9007         * elf/tst-tlsmod14a.c: Likewise.
9008         * elf/tst-tlsmod15b.c: Likewise.
9009         * elf/tst-tlsmod16a.c: Likewise.
9010         * elf/tst-tlsmod16b.c: Likewise.
9011         * elf/tst-tlsmod7.c: Likewise.
9012         * elf/tst-tlsmod8.c: Likewise.
9013         * elf/tst-tlsmod9.c: Likewise.
9014         * gmon/gmon.c: Likewise.
9015         * grp/fgetgrent_r.c: Likewise.
9016         * grp/putgrent.c: Likewise.
9017         * hurd/fopenport.c: Likewise.
9018         * include/libc-symbols.h: Likewise.
9019         * include/tls.h: Likewise.
9020         * intl/gettextP.h: Likewise.
9021         * intl/loadinfo.h: Likewise.
9022         * locale/global-locale.c: Likewise.
9023         * locale/localeinfo.h: Likewise.
9024         * mach/devstream.c: Likewise.
9025         * malloc/arena.c: Likewise.
9026         * malloc/set-freeres.c: Likewise.
9027         * misc/err.c: Likewise.
9028         * misc/getttyent.c: Likewise.
9029         * misc/mntent_r.c: Likewise.
9030         * posix/getopt.c: Likewise.
9031         * posix/wordexp.c: Likewise.
9032         * pwd/fgetpwent_r.c: Likewise.
9033         * resolv/Versions: Likewise.
9034         * resolv/res_hconf.c: Likewise.
9035         * shadow/fgetspent_r.c: Likewise.
9036         * shadow/putspent.c: Likewise.
9037         * stdio-common/printf_fphex.c: Likewise.
9038         * stdio-common/tmpfile.c: Likewise.
9039         * stdlib/abort.c: Likewise.
9040         * stdlib/fmtmsg.c: Likewise.
9041         * sunrpc/auth_unix.c: Likewise.
9042         * sunrpc/clnt_perr.c: Likewise.
9043         * sunrpc/clnt_tcp.c: Likewise.
9044         * sunrpc/clnt_udp.c: Likewise.
9045         * sunrpc/clnt_unix.c: Likewise.
9046         * sunrpc/openchild.c: Likewise.
9047         * sunrpc/svc_simple.c: Likewise.
9048         * sunrpc/svc_tcp.c: Likewise.
9049         * sunrpc/svc_udp.c: Likewise.
9050         * sunrpc/svc_unix.c: Likewise.
9051         * sunrpc/xdr.c: Likewise.
9052         * sunrpc/xdr_array.c: Likewise.
9053         * sunrpc/xdr_rec.c: Likewise.
9054         * sunrpc/xdr_ref.c: Likewise.
9055         * sunrpc/xdr_stdio.c: Likewise.
9056
9057 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9058
9059         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9060
9061 2011-07-03  Andreas Jaeger  <aj@suse.de>
9062
9063         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9064         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9065         regenerate with gen-libm-tests.pl.
9066
9067 2010-05-12  Petr Baudis  <pasky@suse.cz>
9068
9069         [BZ #11589]
9070         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9071         around j0() zero points by switching to j1().
9072         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9073         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9075         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9076
9077 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9078
9079         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9080         instead of 0.
9081         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9082         instead of 0.                              .
9083         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9084         Patch in part by Pavel Roskin <proski@gnu.org>.
9085
9086         [BZ #13138]
9087         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9088         realloc.
9089         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
9090         Free memory block if necessary.
9091
9092         [BZ #12847]
9093         * libio/genops.c (INTDEF): For string streams the _lock pointer can
9094         be NULL.  Don't lock in this case.
9095
9096 2011-09-09  Roland McGrath  <roland@hack.frob.com>
9097
9098         * elf/elf.h (ELFOSABI_GNU): New macro.
9099         (ELFOSABI_LINUX): Define to that.
9100
9101 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
9102
9103         * string/strncat.c (strncat): Undef the symbol in case it has been
9104         defined in bits/string.h.
9105
9106 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9107
9108         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9109
9110         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9111         link map.
9112
9113 2011-08-17  Andreas Jaeger  <aj@suse.de>
9114
9115         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9116
9117 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9118             Ian Lance Taylor  <iant@google.com>
9119
9120         * math/libm-test.inc (lround_test): New testcase.
9121         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9122
9123 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
9124
9125         * Makefile: Remove support for automatic cvs check-ins.
9126         * Makerules: Likewise.
9127         * config.make.in: Likewise.
9128         * configure.in: Likewise.
9129         * intl/Makefile: Likewise.
9130         * locale/Makefile: Likewise.
9131         * po/Makefile: Likewise.
9132         * posix/Makefile: Likewise.
9133         * sysdeps/gnu/Makefile: Likewise.
9134         * sysdeps/mach/hurd/Makefile: Likewise.
9135         * sysdeps/sparc/sparc32/Makefile: Likewise.
9136
9137         [BZ #13118]
9138         * posix/Makefile (bug-regex32-ENV): Define.
9139         Patch by John Stanley <jpsinthemix@verizon.net>.
9140
9141         * misc/Makefile (headers): Add bits/select2.h.
9142         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9143         * misc/bits/select2.h: New file.
9144         * include/bits/select2.h: New file.
9145         * debug/Makefile (routines): Add fdelt_chk.
9146         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9147         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9148         FD_ISSET.
9149         * debug/fdelt_chk.c: New file.
9150
9151         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
9152         * wcsmbs/test-wmemcmp.c: Likewise.
9153         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9154         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9155
9156 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9157
9158         * string/Makefile (strop-tests): Add memcmp.
9159         * string/test-wmemcmp.c: New file.
9160         * string/test-memcmp.c: Add wmemcmp support.
9161
9162 2011-09-08  Roland McGrath  <roland@hack.frob.com>
9163
9164         [BZ #13153]
9165         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9166         2011-07-19 change.
9167
9168         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9169         garbage value in a __mach_port_mod_refs call in the cases of the
9170         task-self and thread-self ports.
9171
9172 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9173
9174         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9175
9176 2011-09-08  Andreas Schwab  <schwab@redhat.com>
9177
9178         * elf/dl-load.c (lose): Check for non-null L.
9179
9180 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
9181
9182         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9183
9184         * elf/dl-libc.c (dlerror_run): Pass back error code from
9185         dl_catch_error.
9186
9187         [BZ #13123]
9188         * elf/dl-load.c (lose): Free l_origin if it is valid.
9189
9190         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9191         names.
9192         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9193         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9194         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9195         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9196         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9197         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9198
9199 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9200
9201         * sysdeps/powerpc/fpu/e_hypot.c: New file.
9202         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9203         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9204         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9205         * sysdeps/powerpc/fpu/k_cosf.c: New file.
9206         * sysdeps/powerpc/fpu/k_sinf.c: New file.
9207         * sysdeps/powerpc/fpu/s_cosf.c: New file.
9208         * sysdeps/powerpc/fpu/s_sinf.c: New file.
9209         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9210         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9211
9212 2011-08-15  Alan Modra  <amodra@gmail.com>
9213
9214         [BZ #13092]
9215         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9216         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9217         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
9218         ppc_mcount to static-only-routines.
9219         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9220         __mcount_internal.
9221         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9222         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
9223
9224 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
9225
9226         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9227         for finite and infinity parameters.
9228
9229 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
9230
9231         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9232         and add nop instructions for throughput optimization.
9233         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9234
9235 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
9236
9237         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9238         aligned copy for power7 with vector-scalar instructions.
9239         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9240
9241 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
9242
9243         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9244         AVX check.
9245
9246 2011-09-07  Andreas Schwab  <schwab@redhat.com>
9247
9248         [BZ #13144]
9249         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9250         last change.
9251
9252 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
9253
9254         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9255         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9256         syscall wrapper around clock_gettime in __vdso_clock_gettime.
9257         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9258         clock_gettime.
9259
9260 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
9261
9262         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9263         Forgot to demangle the pointer.
9264
9265         * sysdeps/i386/sysdep.h: Define atom_text_section.
9266         * sysdeps/x86_64/sysdep.h: Likewise.
9267         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9268         section with atom_text_section.
9269         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9270         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9271         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9272         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9273         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9274
9275         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9276         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9277         already be defined.  Change to take two parameters and don't assign
9278         result to variable.  Adjust all users.
9279         Define INTERNAL_GETTIME if not already defined.
9280         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9281         call.
9282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9283         HAVE_CLOCK_GETTIME_VSYSCALL.
9284         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9285
9286         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9287         gettimeofday vsyscall, just use time.
9288
9289 2011-09-06  Andreas Schwab  <schwab@redhat.com>
9290
9291         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9292         <errno.h>.
9293
9294 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
9295
9296         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9297         syscall on x86-64.
9298         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9299         syscall.
9300         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9301         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9302         syscall if possible.
9303
9304 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9305
9306         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9307         e_ident.  Don't pass to find_mapsXX.
9308         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9309
9310 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9311
9312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9313         strchr-sse2-no-bsf strrchr-sse2-no-bsf
9314         * sysdeps/x86_64/multiarch/strchr.S: Update.
9315         Check bit_slow_BSF bit.
9316         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9317         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9318         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9319
9320 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9321
9322         [BZ #13134]
9323         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9324         before glibc 2.15.
9325         (tryshell): Define.
9326         (__spawni): Change last parameter to be flag.  Test
9327         SPAWN_XFLAGS_USE_PATH flag to use path or not.
9328         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9329         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9330         * posix/spawni.c: Likewise.
9331         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9332         * posix/spawnp.c: Likewise.  Change normal version to use
9333         SPAWN_XFLAGS_USE_PATH.
9334         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9335         SPAWN_XFLAGS_TRY_SHELL.
9336
9337         [BZ #13150]
9338         * posix/glob.h: Remove gcc 1.x support.
9339
9340         [BZ #13068]
9341         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9342
9343 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9344
9345         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9346         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9347         strrchr-sse2-bsf
9348         * sysdeps/i386/i686/multiarch/strchr.S: New file.
9349         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9350         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9351         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9352         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9353         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9354
9355 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9356
9357         * sysdeps/x86_64/wcscmp.S: New file.
9358
9359         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9360         wcscmp-c wcscmp-sse2
9361         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9362         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9363         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9364         * wcsmbs/wcscmp.c: Allow renaming.
9365
9366 2011-09-05  David S. Miller  <davem@davemloft.net>
9367
9368         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9369         stack slot, rather than the struct return pointer slot.
9370         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9371         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9373         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9374
9375 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9376
9377         * po/ja.po: Update from translation team.
9378
9379         [BZ #13144]
9380         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9381         kernel in 64-bit binaries.
9382
9383 2011-09-01  David S. Miller  <davem@davemloft.net>
9384
9385         * elf/elf.h (HWCAP_SPARC_*): Move to..
9386         * sysdeps/sparc/sysdep.h: this new file and add new values.
9387         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9388         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9389         _DL_HWCAP_COUNT to 24.
9390         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9391         entries.
9392         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9393         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9394         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9395         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9396         instead of magic constants.
9397         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9398
9399 2011-08-31  David S. Miller  <davem@davemloft.net>
9400
9401         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9402         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9403         Reimplement to do errno handling inline.
9404         (SYSCALL_ERROR_HANDLER): New macro.
9405         (__SYSCALL_STRING): Do not do errno handling in asm.
9406         (__CLONE_SYSCALL_STRING): Delete.
9407         (__INTERNAL_SYSCALL_STRING): Delete.
9408         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9409         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9410         (PSEUDO): Reimplement to do errno handling inline.
9411         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9412         (SYSCALL_ERROR_HANDLER): New macro.
9413         (__SYSCALL_STRING): Do not do errno handling in asm.
9414         (__CLONE_SYSCALL_STRING): Delete.
9415         (__INTERNAL_SYSCALL_STRING): Delete.
9416         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9417         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9418         i386.
9419         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9420         (inline_syscall*): Add 'err' argument.
9421         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9422         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9423         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9424         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9425
9426         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9427         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9428
9429 2011-08-30  Andreas Schwab  <schwab@redhat.com>
9430
9431         * elf/rtld.c (dl_main): Relocate objects in dependency order.
9432
9433 2011-08-29  Jiri Olsa <jolsa@redhat.com>
9434
9435         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9436         directive.
9437
9438 2011-08-24  David S. Miller  <davem@davemloft.net>
9439
9440         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9441
9442 2011-08-24  Andreas Schwab  <schwab@redhat.com>
9443
9444         * elf/Makefile: Add rules to build and run unload8 test.
9445         * elf/unload8.c: New file.
9446         * elf/unload8mod1.c: New file.
9447         * elf/unload8mod1x.c: New file.
9448         * elf/unload8mod2.c: New file.
9449         * elf/unload8mod3.c: New file.
9450
9451         * elf/dl-close.c (_dl_close_worker): Reset private search list if
9452         it wasn't used.
9453
9454 2011-08-23  David S. Miller  <davem@davemloft.net>
9455
9456         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9457         subtract stack bias.
9458         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9459         %sp not %fp in calculations.
9460         (_JMPBUF_UNWINDS_ADJ): Likewise.
9461
9462         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9463         (aio_suspend): Call it to force an exception region around the
9464         AIO_MISC_WAIT() invocation.
9465
9466 2011-08-23  Andreas Schwab  <schwab@redhat.com>
9467
9468         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9469         backslash.
9470
9471 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
9472
9473         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9474         protection macro.
9475         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9476         and <dl-machine.h>.
9477         (Elf64_FuncDesc): Remove.
9478
9479 2011-08-22  David S. Miller  <davem@davemloft.net>
9480
9481         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9482         sigaltstack check, add missing cfi directives.
9483         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9484         missing cfi directives, and sigaltstack handling.
9485
9486 2011-08-16  Andreas Schwab  <schwab@redhat.com>
9487
9488         [BZ #11724]
9489         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9490         object is seen twice.
9491         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9492
9493         * elf/Makefile (distribute): Add tst-initorder2.c.
9494         (tests): Add tst-initorder2.
9495         (modules-names): Add tst-initorder2a tst-initorder2b
9496         tst-initorder2c tst-initorder2d.  Add rules to build them.
9497         ($(objpfx)tst-initorder2.out): New rule.
9498         * elf/tst-initorder2.c: New file.
9499         * elf/tst-initorder2.exp: New file.
9500
9501 2011-08-22  Andreas Schwab  <schwab@redhat.com>
9502
9503         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9504
9505         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9506         dependencies back to end of function.
9507
9508         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9509         $(elfobjdir)/ld.so.
9510
9511 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
9512
9513         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9514         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9515         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9516         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9517         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9518         of __vdso_gettimeofday.
9519         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9520         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
9521         attribute_hidden.
9522         (_libc_vdso_platform_setup): Remove initialization of
9523         __vdso_gettimeofday and __vdso_time.
9524
9525 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9526
9527         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9528         and fgetc_unlocked.
9529         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9530         getc_unlocked.
9531
9532         * elf/dl-open.c (add_to_global): Report additions to the global scope
9533         for LD_DEBUG=scopes.
9534         (dl_open_worker): Also print scope of newly loaded dependencies.
9535         (_dl_show_scope): Indicate if there is no scope.
9536
9537         [BZ #13114]
9538         * stdio-common/Makefile (tests): Add bug24.
9539         * stdio-common/bug24.c: New file.
9540
9541 2011-08-19  Andreas Jaeger  <aj@suse.de>
9542
9543         [BZ #13114]
9544         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9545         non-existant file when using close-on-exec mode.
9546
9547 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9548
9549         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9550         the very first instruction.
9551
9552         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9553         the CFI state in the end.
9554         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9555         inclusion of dl-trampoline.h.
9556         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9557
9558 2011-08-19  Andreas Schwab  <schwab@redhat.com>
9559
9560         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9561         expectations for long double.
9562
9563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9564         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9565
9566 2011-08-14  David S. Miller  <davem@davemloft.net>
9567
9568         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9569         artificual limit depends upon the system page size.
9570
9571 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
9572
9573         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9574         * resolv/Makefile: Define CFLAGS-libresolv.
9575
9576 2011-08-17  Andreas Schwab  <schwab@redhat.com>
9577
9578         * nss/makedb.c (compute_tables): Make variables used in nested
9579         function static.
9580
9581 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
9582
9583         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9584         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9585         if buffer was too small.
9586
9587         * elf/pldd.c (main): Attach to all threads in the process.
9588         Rewrite /proc handling to use *at functions.
9589
9590 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
9591
9592         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9593         specifies first scope to show.
9594         (dl_open_worker): Update callers.  Move printing scope of new
9595         object to before the relocation.
9596         * elf/rtld.c (dl_main): Update _dl_show_scope call.
9597         * sysdeps/generic/ldsodefs.h: Update declaration.
9598
9599         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9600         string for the scope number.
9601
9602 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
9603
9604         * nscd/servicescache.c (cache_addserv): Make sure written is always
9605         initialized.
9606
9607 2011-08-14  Roland McGrath  <roland@hack.frob.com>
9608
9609         * sysdeps/i386/i486/bits/atomic.h
9610         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9611         statement expression, so as to suppress "set but not used" warning.
9612         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9613
9614         * string/strncat.c (STRNCAT): Use prototype definition.
9615
9616         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9617         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9618         -Iprograms here.
9619         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9620         (localedef-modules): Add localedef.
9621         (locale-modules): Add locale.
9622
9623         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9624         * elf/rtld.c (dl_main): Invert order of assignment in last change,
9625         to avoid a warning.
9626
9627 2011-08-14  David S. Miller  <davem@davemloft.net>
9628
9629         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9630         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9631
9632 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
9633
9634         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9635         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9636         * elf/rtld.c (dl_main): Set l_name of vDSO.
9637         Call _dl_show_scope when DL_DEBUG_SCOPES.
9638         (process_dl_debug): Recognize scopes flag and also set it for all.
9639         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9640         Declare _dl_show_scope.
9641
9642         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9643         (do_dlopen): Pass caller_dlopen to dl_open.
9644         (__libc_dlopen_mode): Initialize caller_dlopen.
9645
9646         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9647         of libc.  Make tolower call locale-independent.  Optimize a bit by
9648         using isdigit instead of isalnum.
9649         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9650
9651 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
9652
9653         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9654         was a dependency or dynamically loaded.
9655
9656 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
9657
9658         * intl/l10nflist.c: Allow architecture-specific pop function.
9659         * sysdeps/x86_64/l10nflist.c: New file.
9660
9661         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9662         classification.
9663
9664 2011-08-10  Andreas Schwab  <schwab@redhat.com>
9665
9666         * include/dirent.h: Add libc_hidden_proto for scandirat and
9667         scandirat64.  Don't declare __scandirat64.
9668         * dirent/scandirat.c: Add libc_hidden_def.
9669         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9670         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9671
9672 2011-08-10  David S. Miller  <davem@davemloft.net>
9673
9674         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9675         enum.
9676         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9677         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9678         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9679
9680 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
9681
9682         * Versions.def [libc]: Add GLIBC_2.15.
9683         * dirent/Makefile (routines): Add scandirat and scandirat64.
9684         * dirent/Versions [libc]: Export scandirat and scandirat64 for
9685         GLIBC_2.15.
9686         * dirent/dirent.h: Declare scandirat and scandirat64.
9687         * dirent/scandirat.c: New file.
9688         * dirent/scandirat64.c: New file.
9689         * sysdeps/wordsize-64/scandirat.c: New file.
9690         * sysdeps/wordsize-64/scandirat64.c: New file.
9691         * dirent/opendir.c: Define opendirat.
9692         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
9693         using scandirat.
9694         * dirent/scandir64.c: Adjust for scandir.c change.
9695         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
9696         __scandirat64, and __scandir_cancel_handler.
9697         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
9698         additional parameter and use openat instead of open (outside of ld.so).
9699         Add new __opendir as wrapper around __opendirat.
9700         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9701         here without requiring old scandirat implementation.
9702
9703 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
9704
9705         * dirent/scandir.c (cancel_handler): Renamed to
9706         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
9707         defined.  Adjust users.
9708         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9709         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9710
9711 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
9712
9713         * string/test-string.h (IMPL): Use __STRING to expand name and then
9714         stringify it.
9715
9716         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
9717         of cleanups.
9718
9719 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9720
9721         * string/Makefile: Update.
9722         (strop-tests): Append strncat.
9723         * string/test-wcscmp.c: New file.
9724         New comprehensive test for wcscmp.
9725         * string/test-strcmp.c: Update.
9726         (WIDE): New define.
9727
9728 2011-07-22  Andreas Schwab  <schwab@redhat.com>
9729
9730         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9731         line.
9732
9733 2011-07-26  Andreas Schwab  <schwab@redhat.com>
9734
9735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9736         encoding to ACE if AI_IDN.
9737
9738 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
9739
9740         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9741         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9742
9743 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9744
9745         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9746         Fix overflow bug in strncat.
9747         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9748
9749         * string/test-strncat.c: Update.
9750         Add new tests for checking overflow bugs.
9751
9752 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9753
9754         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9755         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9756         * sysdeps/i386/i686/multiarch/strcat.S: New file.
9757         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9758         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9759         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9760         * sysdeps/i386/i686/multiarch/strncat.S: New file.
9761         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9762         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9763
9764         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9765         (USE_AS_STRCAT): Define.
9766         Add strcat and strncat support.
9767         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9768
9769 2011-07-25  Andreas Schwab  <schwab@redhat.com>
9770
9771         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9772         __n bigger than INT_MAX+1.
9773         (__strncmp_g): Likewise.
9774
9775 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
9776
9777         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9778         * libio/stido.h: Likewise.
9779
9780         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9781         (AF_NFC): Define.
9782         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9783         (AF_NFC): Define.
9784
9785         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9786         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9787         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9788         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9789         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9790
9791         [BZ #13021]
9792         * scripts/test-installation.pl: Don't expect libnss_test1 to be
9793         installed.
9794
9795         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9796         typo.
9797         (_dl_x86_64_save_sse): Likewise.
9798
9799 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
9800
9801         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9802         OSXSAVE.
9803         (_dl_x86_64_save_sse): Likewise.
9804
9805         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9806
9807         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9808
9809 2011-07-21  Andreas Schwab  <schwab@redhat.com>
9810
9811         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9812         change.
9813         (_dl_x86_64_save_sse): Use correct AVX check.
9814
9815 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9816
9817         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9818         bug in strncpy/strncat.
9819         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9820
9821 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
9822
9823         * string/tester.c (test_strcat): Add tests for different alignments
9824         of source and destination.
9825         (test_strncat): Likewise.
9826
9827 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
9828
9829         [BZ #12852]
9830         * posix/glob.c (glob): Check passed in values before using them in
9831         expressions to avoid some overflows.
9832         (glob_in_dir): Likewise.
9833
9834         [BZ #13007]
9835         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9836         check for AVX enablement so that we don't crash with old kernels and
9837         new hardware.
9838         * elf/tst-audit4.c: Add same checks here.
9839         * elf/tst-audit6.c: Likewise.
9840
9841         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9842
9843 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
9844
9845         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9846
9847 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
9848
9849         * po/cs.po: Update from translation team.
9850         * po/bg.po: Likewise.
9851
9852 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
9853
9854         * misc/sys/cdefs.h: Add support for const attribute.
9855         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9856         to gnu_dev_{major,minor,makedev} functions.
9857
9858 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
9859
9860         * intl/dcigettext.c (get_output_charset): Add missing bracket.
9861
9862 2011-07-20  Andreas Schwab  <schwab@redhat.com>
9863
9864         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9865         strlen results.
9866
9867 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9868
9869         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9870         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9871         register in order to avoid conflicts with the soft frame pointer
9872         being held in r11 when necessary.
9873         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9874         (INTERNAL_VSYSCALL_NCS): Likewise.
9875
9876 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
9877
9878         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9879         * elf/dl-fini.c (_dl_fini): Adjust caller.
9880         * elf/dl-close.c (_dl_close_worker): Likewise.
9881         * sysdeps/generic/ldsodefs.h: Adjust declaration.
9882
9883 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
9884
9885         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9886         "aux_cache->nlibs < 0".
9887
9888         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9889         in the reload-count case.
9890
9891 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9892
9893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9894         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9895         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9896         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9897         * sysdeps/x86_64/multiarch/strcat.S: New file.
9898         * sysdeps/x86_64/multiarch/strncat.S: New file.
9899         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9900         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9901         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9902         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9903         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9904         (USE_AS_STRCAT): Define.
9905         Add strcat and strncat support.
9906         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9907         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9908         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9909         * string/strncat.c: Update.
9910         (USE_AS_STRNCAT): Define.
9911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9912         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9913         and i7.
9914         * sysdeps/x86_64/multiarch/init-arch.h
9915         (bit_Prefer_PMINUB_for_stringop): New.
9916         (index_Prefer_PMINUB_for_stringop): Likewise.
9917         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9918         bit_Prefer_PMINUB_for_stringop.
9919
9920 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
9921
9922         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9923         buffer64.
9924         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9925         of casting of buffer.
9926         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9927         buffer32 and buffer64.
9928         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9929         writes instead of casting of buffer.
9930         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9931         buffer32.
9932         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9933         casting of buffer.
9934
9935 2011-07-19  Andreas Schwab  <schwab@redhat.com>
9936
9937         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9938
9939 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
9940
9941         * nscd/nscd.c (termination_handler): Don't do anything for a database
9942         if it has not yet been initialized.
9943
9944 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
9945
9946         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9947
9948 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
9949
9950         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9951
9952 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
9953
9954         * po/nl.po: Update from translation team.
9955         * po/sv.po: Likewise.
9956
9957 2011-07-16  Roland McGrath  <roland@hack.frob.com>
9958
9959         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9960         now disallowed by GCC.
9961
9962         * configure.in (use-default-link): Default to yes if a test -shared
9963         link meets our qualifications.
9964         * configure: Regenerated.
9965
9966         * config.make.in (output-format): New variable.
9967         * configure.in: Check for ld --print-output-format support.
9968         * configure: Regenerated.
9969         * Makerules ($(common-objpfx)format.lds)
9970         [$(output-format) != unknown]: Just use $(output-format),
9971         instead of the linker-script munging.
9972
9973 2011-07-14  Roland McGrath  <roland@hack.frob.com>
9974
9975         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9976         of $(common-objpfx)shlib.lds.
9977         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9978
9979         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9980         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9981
9982         * configure.in (-z relro check): Adjust test code to add a large
9983         writable data section after it.
9984         * configure: Regenerated.
9985
9986 2011-07-11  Roland McGrath  <roland@hack.frob.com>
9987
9988         * configure.in (-z relro check): Fix test code to make the variable
9989         truly const.
9990         * configure: Regenerated.
9991
9992 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
9993
9994         * nscd/nscd.h (struct traced_file): Define.
9995         (struct database_dyn): Remove inotify_descr, reset_res, and filename
9996         elements.  Add traced_files.
9997         (inotify_fd): Declare.
9998         (register_traced_file): Declare.
9999         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10000         (inotify_fd): Export.
10001         (resolv_conf_descr): Remove.
10002         (nscd_init): Move inotify descriptor creation to main.
10003         Don't register files for notification here.
10004         (register_traced_file): New function.
10005         (invalidate_cache): Don't use reset_res to determine whether to call
10006         res_init, go through the list of registered files.
10007         (main_loop_poll): The inotify descriptors are now stored in the
10008         structures for the traced files.
10009         (main_loop_epoll): Likewise
10010         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
10011         to __nss_disable_nscd.
10012         * nscd/cache.c (prune_cache): There is no single inotify descriptor
10013         for a database anymore.  Check the records for all the registered
10014         files instead.
10015         * nss/Makefile (libnss_files-routines): Add files-init.
10016         (libnss_db-routines): Add db-init.
10017         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10018         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10019         * nss/nss_db/db-init.c: New file.
10020         * nss/nss_files/files-init.c: New file.
10021         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
10022         __nss_lookup_function.
10023         (__nss_lookup_function): Call nss_load_library.
10024         (nss_load_all_libraries): New function.
10025         (__nss_disable_nscd): Take parameter with callback function for files
10026         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
10027         used for the cached services.
10028         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10029         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10030         options for features to all the files in nscd.
10031
10032         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10033
10034 2011-07-10  Roland McGrath  <roland@hack.frob.com>
10035
10036         * csu/elf-init.c (__libc_csu_init): Comment typo.
10037
10038 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
10039
10040         * po/pl.po: Update from translation team.
10041         * po/ja.po: Likewise.
10042         * po/ru.po: Likewise.
10043         * po/ko.po: Likewise.
10044         * po/fr.po: Likewise.
10045
10046 2011-07-09  Roland McGrath  <roland@hack.frob.com>
10047
10048         * configure.in (.ctors/.dtors header and trailer check):
10049         Use an empirical test on a built program.
10050         * configure: Regenerated.
10051
10052         * configure.in (-z relro check): Use an empirical test on a built DSO.
10053         Detect, but do not require, on ia64.
10054         * configure: Regenerated.
10055
10056         * configure.in (READELF): Find it with AC_CHECK_TOOL.
10057         Update tests that use readelf to use $READELF instead.
10058         * configure: Regenerated.
10059
10060 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
10061
10062         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10063         if the result is not used.
10064
10065 2011-07-05  Andreas Jaeger  <aj@suse.de>
10066
10067         [BZ#9696]
10068         * stdlib/tst-strtod.c: Add testcase.
10069
10070 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
10071
10072         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10073         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10074         The latter has a higher limit.  Take additional parameter to pass to
10075         the new function.
10076         (__pathconf): Pass file to __statfs_link_max.
10077         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10078         __statfs_link_max.
10079         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10080         __statfs_link_max.
10081
10082         [BZ #12868]
10083         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10084         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10085         Handle Lustre.
10086         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10087         (__statfs_filesize_max): Likewise.
10088         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10089
10090 2011-07-05  Andreas Jaeger  <aj@suse.de>
10091
10092         * resolv/res_comp.c (dn_skipname): Remove unused variable.
10093
10094 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
10095
10096         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10097         `status' variable.
10098         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10099         Likewise.
10100
10101 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
10102
10103         * Makefile (strop-tests): Add strncat.
10104         * string/test-strncat.c: New file.
10105
10106 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
10107
10108         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10109
10110 2011-06-21  Andreas Jaeger  <aj@suse.de>
10111
10112         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10113         Copy rule from iconvdata/Makefile.
10114
10115 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
10116
10117         [BZ #12922]
10118         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10119         but no long options are defined, just return 'W'.
10120
10121 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
10122
10123         [BZ #9696]
10124         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10125
10126 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
10127
10128         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10129         netgroups to read.
10130         (innetgr): Likewise.
10131
10132 2011-07-05  Roland McGrath  <roland@hack.frob.com>
10133
10134         * config.make.in (install_root): Default to $(DESTDIR).
10135
10136 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
10137
10138         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10139
10140 2011-07-02  Roland McGrath  <roland@hack.frob.com>
10141
10142         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10143
10144         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10145         containing directory rather than embedding absolute directory names.
10146
10147         * scripts/check-local-headers.sh: Rewritten using awk.
10148         Match by word, not by line.  Print error messages for matches.
10149         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10150
10151         * Makerules [shlib-lds-flags empty]:
10152         ($(common-objpfx)libc_pic.opts): New target.
10153         ($(common-objpfx)libc_pic.os.clean): New target.
10154         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10155
10156         * config.make.in (OBJCOPY): New variable.
10157         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10158         * configure: Regenerated.
10159
10160         * config.make.in (use-default-link): New variable.
10161         * configure.in (use_default_link): Grok --with-default-link to set it.
10162         * configure: Regenerated.
10163         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10164         (shlib-lds, shlib-lds-flags): Define to empty.
10165
10166         * Makerules (shlib-lds): New variable.
10167         (shlib-lds-flags): New variable.
10168         (build-shlib, build-moduile, build-module-asneeded): Use it.
10169         ($(common-objpfx)libc.so): Use $(shlib-lds).
10170         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10171         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10172
10173         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10174         DT_FLAGS/DT_FLAGS_1 with zero flags.
10175
10176         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10177         linker script munging.
10178
10179 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
10180
10181         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10182         as 128-bit value.
10183         * crypt/sha512.c (sha512_process_block): Perform total addition using
10184         128-bit if possible.
10185         (__sha512_finish_ctx): Likewise.
10186         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10187         as 64-bit value.
10188         * crypt/sha256.c (SWAP64): Define.
10189         (sha256_process_block): Perform total addition using 64-bit if
10190         possible.
10191         (__sha256_finish_ctx): Likewise.
10192
10193 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
10194
10195         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
10196         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10197         * nscd/hstcache.c (cache_addhst): Likewise.
10198         * nscd/grpcache.c (cache_addgr): Likewise.
10199         * nscd/aicache.c (addhstaiX): Likewise
10200         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10201
10202 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
10203
10204         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10205         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10206         * nscd/hstcache.c (cache_addhst): Likewise.
10207         * nscd/grpcache.c (cache_addgr): Likewise.
10208         * nscd/aicache.c (addhstaiX): Likewise
10209
10210 2011-07-01  Andreas Schwab  <schwab@redhat.com>
10211
10212         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10213         domain only when needed.
10214
10215 2011-06-30  Andreas Schwab  <schwab@redhat.com>
10216
10217         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10218         is always restored.
10219
10220 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
10221
10222         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10223         are re-adding the entry.
10224         * nscd/servicescache.c (cache_addserv): Likewise.
10225
10226 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10227
10228         * sysdeps/generic/dl-irel.h: fix protection against multiple
10229         inclusions.
10230         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10231
10232 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
10233
10234         [BZ #12935]
10235         * malloc/memusage.sh: Fix quoting in message.
10236         * debug/xtrace.sh: Likewise.
10237
10238         * configure.in: Remove support for --experimental-malloc option, make
10239         it the default.
10240         * config.make.in: Likewise.
10241         * malloc/Makefile: Likewise.
10242
10243 2011-06-27  Andreas Schwab  <schwab@redhat.com>
10244
10245         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10246         two-byte characters.
10247
10248 2011-06-27  Roland McGrath  <roland@hack.frob.com>
10249
10250         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10251         AC_CACHE_CHECK invocation.
10252         * configure: Regenerated.
10253
10254         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10255
10256 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
10257
10258         [BZ #12350]
10259         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
10260         bit from old_res_options.
10261
10262         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10263
10264         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10265         value type for setfct.
10266
10267 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
10268
10269         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10270         __gettimeofday instead of gettimeofday.
10271
10272 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
10273
10274         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10275
10276 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10277
10278         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10279
10280         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10281         info.
10282
10283 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
10284
10285         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10286         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10287         strcpy-sse2-unaligned strncpy-sse2-unaligned
10288         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10289         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10290         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10291         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10292         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10293         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10294         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10295         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10296         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10297         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10298         (STRCPY): Support SSE2 and SSSE3 versions.
10299
10300 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
10301
10302         [BZ #12874]
10303         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10304         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10305         kernels which artificially limit size of requests.
10306
10307 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
10308
10309         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10310         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10311         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10312         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10313         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10314         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10315         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10316         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10317         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10318         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10319         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10320         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10321         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10322         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10323         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10324         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10325         Enable unaligned load optimization for Intel Core i3, i5 and i7
10326         processors.
10327         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10328         Define.
10329         (index_Fast_Unaligned_Load): Define.
10330         (HAS_FAST_UNALIGNED_LOAD): Define.
10331
10332 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
10333
10334         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10335
10336 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
10337
10338         [BZ #12907]
10339         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10340         until it is clear that the information is realy needed.
10341         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10342
10343 2011-06-22  Andreas Schwab  <schwab@redhat.com>
10344
10345         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10346
10347 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
10348
10349         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10350         /sys/devices/system/cpu/online if it is usable.
10351
10352         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10353         reading the information from the /proc filesystem to once a second.
10354
10355 2011-06-21  Andreas Jaeger  <aj@suse.de>
10356
10357         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10358         NULL after inclusion of kernel headers.
10359
10360 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
10361
10362         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10363         calls to internal_setent.
10364
10365         [BZ #12885]
10366         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10367         addresses using gethostbyname4_r ignore IPv4 addresses.
10368
10369         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10370         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
10371
10372         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10373
10374 2011-06-20  David S. Miller  <davem@davemloft.net>
10375
10376         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10377         inclusions.
10378         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10379
10380         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10381         (elf_irel): Use it.
10382         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10383         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10384         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10385         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10386         * sysdeps/x86_64/dl-irel.h: Likewise.
10387
10388         * elf/dl-runtime.c: Use elf_ifunc_invoke.
10389         * elf/dl-sym.c: Likewise.
10390
10391 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
10392
10393         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
10394         need to dereference resplen2.
10395
10396 2011-06-14  Andreas Schwab  <schwab@redhat.com>
10397
10398         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10399
10400 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
10401
10402         * Makeconfig: Define vardbdir and inst_vardbdir.
10403         * nss/Makefile: Add rules to install db-Makefile.
10404
10405         * nss/nss_db/db-XXX.c: Cleanup.
10406
10407         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10408         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10409         GLIBC_PRIVATE.
10410         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10411         * nss/makedb.c: Implement -g option to specify that value strings
10412         are generated and should not be added to table iterated over for
10413         get*ent calls.
10414         * nss/nss_db/db-initgroups.c: New file.
10415
10416         * nss/getent.c: Add support for initgroups lookups through getgrouplist
10417         interface.
10418
10419         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10420         (internal_getgrouplist): Adjust to name change.
10421         Update use_initgroups_entry if this is not the first call.
10422         * nss/databases.def: Add initgroups entry.
10423
10424         * nss/makedb.c (compute_tables): Check result of multiple hash table
10425         sizes to minimize maximum chain length.
10426
10427 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
10428
10429         * Versions.def: Add entry for libnss_db.
10430         * shlib-versions: Likewise.
10431         * nss/Makefile: Add rules to build libnss_db.
10432         * nss/Versions: Add libnss_db information.  Organize libnss_files
10433         entries better.
10434         * nss/db-Makefile: Add gshadow support.  Change rules for the new
10435         makedb progra.  Some minor improvements to generate smaller files.
10436         * nss/nss_db/nss_db.h: Move NSS database header data structures to
10437         here from...
10438         * nss/makedb.c: ...here.
10439         Improve database format to be smaller and require less memory at
10440         runtime.
10441         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
10442         db anymore.
10443         * nss/nss_db/db-netgrp.c: Likewise.
10444         * nss/nss_db/db-open.c: Likewise.
10445         * nss/nss_files/flies-XXX.x: Adjust comments.
10446         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10447         * nss/nss_files/files-grp.c: Likewise.
10448         * nss/nss_files/files-hosts.c: Likewise.
10449         * nss/nss_files/files-network.c: Likewise.
10450         * nss/nss_files/files-proto.c: Likewise.
10451         * nss/nss_files/files-pwd.c: Likewise.
10452         * nss/nss_files/files-rpc.c: Likewise.
10453         * nss/nss_files/files-service.c: Likewise.
10454         * nss/nss_files/files-sgrp.c: Likewise.
10455         * nss/nss_files/files-spwd.c: Likewise.
10456         * nss/nss_db/db-alias.c: Removed.
10457         * nss/nss_db/dummy-db.h: Removed.
10458
10459 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
10460
10461         * nss/makedb.c: Rewritten to not use database library.
10462         * nss/Makefile: Update to build new makedb program.
10463
10464 2011-06-14  Andreas Jaeger  <aj@suse.de>
10465
10466         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10467         memset declaration.
10468
10469 2011-06-10  Andreas Schwab  <schwab@redhat.com>
10470
10471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10472         tmpbuf.
10473
10474 2011-06-10  Roland McGrath  <roland@hack.frob.com>
10475
10476         * Makerules (shlib.lds): Fail if the linker script comes out empty.
10477         * elf/Makefile ($(objpfx)ld.so): Likewise.
10478
10479         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10480         Don't list ld.so twice in dependencies.
10481
10482         * posix/bug-regex31.c: Include <stdlib.h>.
10483
10484         * nscd/hstcache.c (cache_addhst): Remove unused variable.
10485
10486         * nis/nss_compat/compat-spwd.c
10487         (getspent_next_nss_netgr): Remove unused variable.
10488         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10489
10490         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10491         nonmembers" output to use the right array.
10492
10493         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10494
10495         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10496
10497         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10498         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10499         * catgets/gencat.c (read_input_file): Likewise.
10500         * locale/programs/locarchive.c (enlarge_archive): Likewise.
10501
10502         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10503         variable definition inside #if's controlling its use.
10504
10505         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10506
10507         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10508
10509         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10510
10511         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10512         unreachable code.
10513
10514         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10515
10516         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10517         * configure: Regenerated.
10518
10519         * Makerules: Revert last change.
10520         * elf/Makefile: Likewise.
10521
10522 2011-06-09  Roland McGrath  <roland@hack.frob.com>
10523
10524         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10525         * elf/Makefile ($(objpfx)librtld.os): Likewise.
10526         (reloc-link): Likewise.
10527
10528 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
10529
10530         * elf/Makefile: Add rules to build pldd.
10531         * elf/pldd.c: New file.
10532         * elf/pldd-xx.c: New file.
10533
10534 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
10535
10536         * version.h: Update for 2.15 development version.
10537
10538 2011-06-07  David S. Miller  <davem@davemloft.net>
10539
10540         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10541         ifuncs.
10542         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10543         elf_machine_lazy_rel): Likewise.
10544         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10545         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10546         elf_machine_lazy_rel): Likewise.
10547         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10548         dl_hwcap via passed in argument.
10549         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10550         Likewise.
10551
10552 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10553
10554         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
10555
10556 2011-06-06  Roland McGrath  <roland@hack.frob.com>
10557
10558         [BZ #12849]
10559         * manual/fdl-1.1.texi: New file, verbatim from:
10560         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10561         * manual/lgpl-2.1.texi: New file, verbatim from:
10562         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10563         * manual/Makefile (licenses): New variable, list those new file names.
10564         (texis): Use it.
10565         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10566
10567         * manual/fdl.texi: File removed.
10568         * manual/lesser.texi: File removed.
10569         * manual/libc.texinfo (Copying, Documentation License):
10570         Use new @include file names, put @appendix directive before @include.
10571
10572 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
10573
10574         [BZ #12841]
10575         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10576         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10577         (mq_open): Add __NTH.
10578
10579 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
10580
10581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10582         Assume Intel Core i3/i5/i7 processor if AVX is available.
10583
10584 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
10585
10586         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10587         typo.
10588
10589 2011-05-31  Andreas Schwab  <schwab@redhat.com>
10590
10591         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10592         memory.  Use alloca_account.  Fix memory leak when retrying.
10593
10594 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
10595
10596         * version.h (RELEASE): Bump for 2.14 release.
10597         * include/features.h (__GLIBC_MINOR__): Bump to 14.
10598
10599         * config.make.in (RANLIB): Remove entry.
10600
10601 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
10602
10603         * po/Makefile (po-sed-cmd): Add ksh to extensions.
10604         (libc.pot): Work around missing support for .ksh extension in xgettext.
10605
10606         [BZ #12684]
10607         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10608         if both request failed.
10609         (send_dg): In case of server errors clear resplen or *resplen2.
10610
10611         [BZ #12454]
10612         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10613         when there are multiple maps.
10614         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10615         (_dl_fini): Remove test here.
10616
10617         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10618
10619 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
10620
10621         [BZ #12350]
10622         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10623         bit from old_res_options.
10624         (gaih_inet): Likewise.
10625
10626         [BZ #11099]
10627         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10628         as signed.
10629
10630         * resolv/res_init.c (res_setoptions): Make the code more compact.
10631
10632         [BZ #11558]
10633         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10634         set RES_USEVC.
10635
10636         [BZ #11634]
10637         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10638
10639         * malloc/malloc.h: Mark malloc hook variables as deprecated.
10640
10641         [BZ #11781]
10642         * malloc/malloc.h: Declare malloc hook variables as volatile.
10643
10644         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10645         in last patch.
10646
10647         [BZ #11799]
10648         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10649         raise in the comment.
10650         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10651         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10652         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10653
10654 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
10655
10656         [BZ #12811]
10657         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10658         grow the buffers more if it already has to be sufficient.
10659         (build_wcs_upper_buffer): Likewise.
10660         * posix/regexec.c (check_matching): Likewise.
10661         (clean_state_log_if_needed): Likewise.
10662         (extend_buffers): Don't enlarge buffers beyond size of the input
10663         buffer.
10664         Patches mostly by Emil Wojak <emil@wojak.eu>.
10665         * posix/bug-regex32.c: New file.
10666         * posix/Makefile (tests): Add bug-regex32.
10667
10668         * locale/findlocale.c (_nl_find_locale): Return right away if
10669         _nl_explode_name failed.
10670         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10671
10672         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10673
10674         * debug/xtrace.sh: Unify messages.
10675         * malloc/memusage.sh: Likewise.
10676
10677         [BZ #12813]
10678         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10679         time symbol from vDSO.  Substitute with vsyscall if not available.
10680         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10681         __vdso_time.
10682
10683         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10684         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10685         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10686         Add sendmmsg and internal_sendmmsg.
10687         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10688         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10689         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10690
10691         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10692         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10693         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10694
10695 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
10696
10697         [BZ #12813]
10698         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10699         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
10700         available.
10701         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10702         __vdso_getcpu.
10703
10704         [BZ #12814]
10705         * iconvdata/Makefile (tests): Add bug-iconv9.
10706         * iconvdata/bug-iconv9.c: New file.
10707
10708 2011-05-27  Andreas Schwab  <schwab@redhat.com>
10709
10710         [BZ #12814]
10711         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10712
10713 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
10714
10715         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10716         (struct user_regs_struct): Change intcs field back to cs.
10717
10718 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
10719
10720         * po/ja.po: Update from translation team.
10721
10722 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
10723
10724         [BZ #12795]
10725         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10726         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10727
10728 2011-05-20  Andreas Schwab  <schwab@redhat.com>
10729
10730         * stdlib/longlong.h: Update from GCC.
10731
10732 2011-05-23  Andreas Schwab  <schwab@redhat.com>
10733
10734         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10735         parameter name.
10736         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10737         Add parameter name.
10738         (__sysconf): Pass it down.
10739
10740 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
10741
10742         [BZ #12671]
10743         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10744         some situations.
10745         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10746         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10747         add in in __libc_use_alloca calls.  Adjust callers.
10748         (glob): Use malloc in some situations.
10749
10750         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10751         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10752         pltexit.
10753
10754 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
10755
10756         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10757         and CLOCK_BOOTTIME_ALARM.
10758
10759         [BZ #12782]
10760         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10761         is returned.
10762
10763         * string/_strerror.c (__strerror_r): Print negative errors as signed
10764         numbers.
10765
10766         [BZ #12777]
10767         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10768         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10769         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10770
10771         * configure.in: Fix typo in redirection and correct removal of test
10772         files in two cases.
10773
10774         [BZ #12788]
10775         * locale/setlocale.c (new_composite_name): Fix test to check for
10776         identical name of all categories.
10777
10778         [BZ #12792]
10779         * libio/filedoalloc.c (local_isatty): New function.
10780         (_IO_file_doallocate): Use local_isatty.
10781         * stdio-common/perror.c (perror): In case a new stream is used
10782         forward the stream error.
10783         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10784         error flag.
10785
10786 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
10787
10788         [BZ #11869]
10789         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10790         alloca.
10791         * include/alloca.h (extend_alloca_account): Define.
10792
10793         [BZ #11857]
10794         * posix/regex.h: Fix comments with documentation of user-accessible
10795         fields after compilation and describe correct free'ing of pattern
10796         after re_compile_pattern.
10797         Patch by Reuben Thomas <rrt@sc3d.org>.
10798
10799 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
10800
10801         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10802         and -mno-altivec to prevent the compiler from using Altivec and/or
10803         VSX instructions when the corresponding registers are not available.
10804
10805 2011-05-19  Andreas Schwab  <schwab@redhat.com>
10806
10807         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10808
10809 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
10810
10811         * libio/freopen.c (freopen): Use __dup2, not dup2.
10812         * libio/freopen64.c (freopen64): Likewise.
10813
10814 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
10815
10816         [BZ #12775]
10817         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10818         * math/Makefile (tests): Add test-powl.
10819         (CFLAGS-test-powl.c): Define.
10820         * math/test-powl.c: New file.
10821
10822 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
10823
10824         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10825
10826 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
10827
10828         [BZ #11837]
10829         * iconvdata/gb18030.c: Update to GB18020-2005.
10830
10831 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
10832
10833         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10834         RE_SYNTAX_POSIX_AWK): Update to match recent development.
10835         Patch by Aharon Robbins <arnold@skeeve.com>.
10836
10837         [BZ #11892]
10838         * stdlib/putenv.c (putenv): Don't always create copy of the variable
10839         on the stack.
10840
10841         [BZ #11895]
10842         * misc/pselect.c (__pselect): Handle timeout value errors hidden
10843         through underflows.
10844
10845         [BZ #12766]
10846         * misc/error.c (error_at_line): Ensure file_name and old_file_name
10847         point to strings before performing equality test for error_one_per_line
10848         mode.
10849
10850         [BZ #11697]
10851         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10852
10853         [BZ #11820]
10854         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10855         (struct user_fpregs_struct): Avoid __uint*_t types.
10856
10857         [BZ #6420]
10858         * malloc/mtrace.c (tr_where): Add additional parameter to point to
10859         symbol info.  Use it instead of calling _dl_addr locally.
10860         (lock_and_info): New function.
10861         (tr_freehook): Call lock_and_info and pass symbol info as additional
10862         parameter to tr_where.
10863         (tr_mallochook): Likewise.
10864         (tr_reallochook): Likewise.
10865         (tr_memalignhook): Likewise.
10866
10867         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
10868         used and couldn't be at all thread-safe.
10869
10870 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
10871
10872         * libio/freopen.c (freopen): Don't close old file descriptor
10873         before the new one is opened.  Instead dup the new file descriptor
10874         to the old one after the new stream is created.
10875         * libio/freopen64.c (freopen64): Likewise.
10876         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10877         * libio/fileops.c (_IO_new_file_close_it): Handle new
10878         _IO_FLAGS2_NOCLOSE flag.
10879         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10880         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10881         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10882         _IO_FLAGS2_NOCLOSE flag.
10883         * include/unistd.h: Add hidden_proto for dup3.
10884         Define __have_dup3.
10885         * io/dup3.c: Define hidden symbol.
10886         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10887
10888         [BZ #7101]
10889         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10890         when an incomplete long option is used.
10891         * posix/tst-getopt_long1.c: New file.
10892         * posix/Makefile (tests): Add tst-getopt_long1.
10893
10894         [BZ #10138]
10895         * scripts/config.guess: Update from autoconf-2.68.
10896         * scripts/config.sub: Likewise.
10897
10898         [BZ #10157]
10899         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10900         tests into ...
10901         (has_cpuclock): ...this.  New function.
10902         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10903         macro here based on has_cpuclock code.
10904
10905         [BZ #10149]
10906         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10907         First byte (not low byte) is now always NUL.
10908         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10909
10910         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10911         Use non-cancelable interfaces.
10912
10913         [BZ #9809]
10914         * locale/iso-639.def: Add entry for Sorani.
10915
10916         [BZ #11901]
10917         * include/stdlib.h: Move include protection to the right place.
10918         Define abort_msg_s.  Declare __abort_msg with it.
10919         * stdlib/abort.c (__abort_msg): Adjust type.
10920         * assert/assert.c (__assert_fail_base): New function.  Majority
10921         of code from __assert_fail.  Allocate memory for __abort_msg with
10922         mmap.
10923         (__assert_fail): Now call __assert_fail_base.
10924         * assert/assert-perr.c: Remove bulk of implementation.  Use
10925         __assert_fail_base.
10926         * include/assert.hL Declare __assert_fail_base.
10927         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10928         mmap.
10929         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10930
10931 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
10932
10933         [BZ #11952]
10934         [BZ #12453]
10935         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10936         until all modules are registered in the DTV.
10937         * elf/Makefile: Add rules to build and run tst-tls19.
10938         * elf/tst-tls19.c: New file.
10939         * elf/tst-tls19mod1.c: New file.
10940         * elf/tst-tls19mod2.c: New file.
10941         * elf/tst-tls19mod3.c: New file.
10942         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10943
10944         [BZ #12083]
10945         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10946         correctly.
10947
10948         [BZ #12601]
10949         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10950         two-byte sequence errors.
10951         * iconvdata/Makefile (tests): Add bug-iconv8.
10952         * iconvdata/bug-iconv8.c: New file.
10953
10954         [BZ #12626]
10955         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10956         buf2 definition.
10957
10958         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10959
10960         [BZ #12432]
10961         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10962         (dummy_getcfa): New function.
10963         (init): Get _Unwind_GetCFA address, use dummy if not found.
10964         (backtrace_helper): In recursion check, also check whether CFA changes.
10965         (__backtrace): Completely initialize arg.
10966
10967         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10968         storing incomplete byte sequence in state object.  Avoid testing for
10969         guaranteed too small input if we know there is enough data available.
10970
10971 2011-05-11  Andreas Schwab  <schwab@redhat.com>
10972
10973         * Makeconfig (+link-pie): Indent.
10974         * Rules (binaries-pie): Define if $(have-fpie) and
10975         $(build-shared).
10976         (binaries-shared): Also filter out $(binaries-pie).
10977         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10978         * nscd/Makefile (others-pie): Add nscd.
10979         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10980         ($(objpfx)nscd): Remove command override.
10981         * login/Makefile (others-pie): Add pt_chown.
10982         ($(objpfx)pt_chown): Remove command override.
10983         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10984         remove command overrides.
10985
10986 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
10987
10988         * libio/tst_putwc.c: Fix error messages.
10989
10990         [BZ #12724]
10991         * libio/fileops.c (_IO_new_file_close_it): Always flush when
10992         currently writing and seek to current position when not.
10993         * libio/Makefile (tests): Add bug-fclose1.
10994         * libio/bug-fclose1.c: New file.
10995
10996 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
10997
10998         [BZ #12511]
10999         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11000         don't set DF_1_NODELETE here.
11001         (do_lookup_x): When entering new entry test for copy relocation
11002         and if necessary set DF_1_NODELETE flag.
11003         * elf/tst-unique4.cc: New file.
11004         * elf/tst-unique4.h: New file.
11005         * elf/tst-unique4lib.cc: New file.
11006         * elf/Makefile: Add rules to build and run tst-unique4.
11007         Patch by Piotr Bury <pbury@goahead.com>.
11008
11009 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
11010
11011         [BZ #12052]
11012         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11013
11014         [BZ #12625]
11015         * misc/mntent_r.c (addmntent): Flush the stream after the output
11016
11017         [BZ #12393]
11018         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11019         (is_trusted_path_normalize): Skip initial colon.  Append slash
11020         to empty buffer.  Duplicate is_trusted_path code but allow
11021         constructed patch to be prefix.
11022         (is_dst): Allow $ORIGIN followed by /.
11023         (_dl_dst_substitute): Correct clearing of check_for_trusted.
11024         Correct testing of result of is_trusted_path_normalize
11025         (decompose_rpath): Fix warning.
11026
11027 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
11028
11029         [BZ #11257]
11030         * grp/initgroups.c (internal_getgrouplist): When we found the service
11031         list through the initgroups entry in nsswitch.conf do not always
11032         continue on a successful lookup.  Don't always use the
11033         __nss_group_database value if it is set.
11034         * nss/nsswitch.conf (initgroups): Change action for successful db
11035         lookup to continue for compatibility.
11036
11037 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
11038
11039         [BZ #11532]
11040         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11041         and CP774 modules.
11042         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11043         and CP774 modules.
11044         * iconvdata/tst-tables.sh: Likewise.
11045         * iconvdata/cp770.c: New file.
11046         * iconvdata/cp771.c: New file.
11047         * iconvdata/cp772.c: New file.
11048         * iconvdata/cp773.c: New file.
11049         * iconvdata/cp774.c: New file.
11050         * iconvdata/testdata/CP770: New file.
11051         * iconvdata/testdata/CP770..UTF8: New file.
11052         * iconvdata/testdata/CP771: New file.
11053         * iconvdata/testdata/CP771..UTF8: New file.
11054         * iconvdata/testdata/CP772: New file.
11055         * iconvdata/testdata/CP772..UTF8: New file.
11056         * iconvdata/testdata/CP773: New file.
11057         * iconvdata/testdata/CP773..UTF8: New file.
11058         * iconvdata/testdata/CP774: New file.
11059         * iconvdata/testdata/CP774..UTF8: New file.
11060
11061         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11062         END CHARMAP line.
11063         * iconvdata/gen-8bit-gap.sh: Likewise.
11064         * iconvdata/gen-8bit.sh: Likewise.
11065
11066         * locale/iso-639.def: Add ary entry.
11067
11068         [BZ #11258]
11069         * locale/C-translit.h.in: Add U20A1 transliteration.
11070
11071         [BZ #12178]
11072         * locale/iso-639.def: Add wae entry.
11073         Patch by Kevin Bortis <bortis@translate-wae.ch>.
11074
11075         [BZ #12545]
11076         * locale/programs/localedef.c (construct_output_path): Use ssize_t
11077         for n.
11078
11079         [BZ #12711]
11080         * locale/C-translit.h.in: Add entry for U20B9.
11081         Patch by pravin.d.s@gmail.com.
11082
11083 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
11084
11085         [BZ #12713]
11086         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11087         ENAMETOOLONG use generic getcwd.
11088         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
11089         in rtld.  Use *stat64.
11090         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11091         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11092         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11093         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11094         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11095         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11096         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11097         __fstatat64 macros.
11098         * include/dirent.h: Add libc_hidden_proto for rewinddir.
11099         * dirent/rewinddir.c: Add libc_hidden_def.
11100         * sysdeps/mach/hurd/rewinddir.c: Likewise.
11101         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
11102
11103         * include/dirent.h (__alloc_dir): Add flags parameter.
11104         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11105         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11106         __alloc_dir.
11107         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
11108         from fdopendir if O_CLOEXEC is already set.
11109
11110 2011-03-15  Alan Modra  <amodra@gmail.com>
11111
11112         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11113         l_tls_firstbyte_offset non-zero.  Save padding offset in
11114         l_tls_firstbyte_offset for later use.
11115         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11116         freeing static tls block.
11117
11118 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
11119
11120         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11121         where #ifdef was intended.  The intent is to prevent ARG_MAX from
11122         being defined by the kernel headers.
11123
11124 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
11125
11126         [BZ #12734]
11127         * resolv/resolv.h: Define RES_NOTLDQUERY.
11128         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11129         no-tld-query and set RES_NOTLDQUERY.
11130         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11131         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11132         modern BIND to search name as TLD unless forbidden.
11133
11134 2011-05-07  Petr Baudis  <pasky@suse.cz>
11135             Ulrich Drepper  <drepper@gmail.com>
11136
11137         [BZ #12393]
11138         * elf/dl-load.c (fillin_rpath): Move trusted path check...
11139         (is_trusted_path): ...to here.
11140         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11141         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11142         using is_trusted_path_normalize() in setuid scripts.
11143
11144 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11145
11146         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11147         __BEGIN/__END_DECLS.
11148
11149 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
11150
11151         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11152         NSS_STATUS_NOTFOUND if no record was found.
11153
11154 2011-05-05  Andreas Schwab  <schwab@redhat.com>
11155
11156         * sunrpc/Makefile (headers): Add rpc/netdb.h.
11157         (headers-not-in-tirpc): Remove rpc/netdb.h
11158         * resolv/netdb.h: Revert last change.
11159
11160 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11161
11162         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11163         circular dependency between libgcc.a and libc.a.
11164
11165 2011-05-05  Andreas Schwab  <schwab@redhat.com>
11166
11167         * resolv/netdb.h: Don't include <rpc/netdb.h>.
11168         * nis/Makefile: Don't install rpcsvc/*.
11169         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11170         instead of <rpc/types.h>.
11171         (MAXHOSTNAMELEN): Define.
11172
11173 2011-05-03  Andreas Schwab  <schwab@redhat.com>
11174
11175         * elf/ldconfig.c (add_dir): Don't crash on empty path.
11176
11177 2011-04-28  Maciej Babinski  <mbabinski@google.com>
11178
11179         [BZ #12714]
11180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11181         gethostbyname4_r when IPv6 results are possible.
11182
11183 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
11184
11185         [BZ #12723]
11186         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11187         _PC_PIPE_BUF handling.
11188
11189 2011-04-30  Bruno Haible  <bruno@clisp.org>
11190
11191         [BZ #12717]
11192         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11193         * resolv/netdb.h (getnameinfo): Change type of flags parameter
11194         to 'int'.
11195         * inet/getnameinfo.c (getnameinfo): Likewise.
11196
11197 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
11198
11199         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11200         to groups setting in database lookup.
11201         * nss/nsswitch.conf: Add initgroups entry.
11202
11203 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
11204
11205         [BZ #12685]
11206         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11207         mode string.
11208         Patch by Eric Blake <eblake@redhat.com>.
11209
11210 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
11211
11212         * sunrpc/Makefile (need-export-routines): Add svc_run.
11213         (routines): Remove svc_run.
11214         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11215         * sunrpc/clnt_perr.c (clnt_perrno): Export.
11216         * sunrpc/svc_run.c (svc_run): Likewise.
11217         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11218
11219 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
11220
11221         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11222         problem in reallocation in last patch.
11223
11224 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
11225
11226         * sunrpc/Makefile: Move inclusion of Rules.
11227
11228 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
11229
11230         * nss/nss_files/files-initgroups.c: New file.
11231         * nss/Makefile (libnss_files-routines): Add files-initgroups.
11232         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11233         _nss_files_initgroups_dyn.
11234
11235 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
11236
11237         * elf/elf.h (R_ARM_IRELATIVE): Define.
11238
11239 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
11240
11241         * po/ru.po: Update from translation team.
11242
11243 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
11244
11245         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11246         dependencies.
11247
11248 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
11249
11250         [BZ #12653]
11251         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11252         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11253         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11254         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11255         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11256
11257 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
11258
11259         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11260         differing bytes.
11261         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11262         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11263         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11264
11265 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
11266
11267         [BZ #12420]
11268         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11269         storing it.
11270         * stdlib/bug-getcontext.c: New file.
11271         * stdlib/Makefile: Add rules to build and run bug-getcontext.
11272
11273 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11274
11275         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11276         instructions into .machine "z9-109".
11277         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11278         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11279
11280 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11281
11282         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11283         between environment variables and auxiliary vector.
11284
11285 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
11286
11287         * Makefile: Add rules to build linkobj/libc.so.
11288         * include/libc-symbols.h: Define libc_hidden_nolink.
11289         * include/rpc/auth.h: Mark functions which are to be hidden.
11290         * include/rpc/auth_des.h: Likewise.
11291         * include/rpc/auth_unix.h: Likewise.
11292         * include/rpc/clnt.h: Likewise.
11293         * include/rpc/des_crypt.h: Likewise.
11294         * include/rpc/key_prot.h: Likewise.
11295         * include/rpc/pmap_clnt.h: Likewise.
11296         * include/rpc/pmap_prot.h: Likewise.
11297         * include/rpc/pmap_rmt.h: Likewise.
11298         * include/rpc/rpc_msg.h: Likewise.
11299         * include/rpc/svc.h: Likewise.
11300         * include/rpc/svc_auth.h: Likewise.
11301         * include/rpc/xdr.h: Likewise.
11302         * nis/Makefile: Link all DSOs against linkobj/libc.so.
11303         * nss/Makefile: Likewise.
11304         * sunrpc/Makefile: Don't install headers.  Build library with normal
11305         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
11306         * sunrpc/auth_des.c: Hide exported symbols by default, export some
11307         for the compat linking library.  Remove use of INTDEF/INTUSE.
11308         * sunrpc/auth_none.c: Likewise.
11309         * sunrpc/auth_unix.c: Likewise.
11310         * sunrpc/authdes_prot.c: Likewise.
11311         * sunrpc/authuxprot.c: Likewise.
11312         * sunrpc/clnt_gen.c: Likewise.
11313         * sunrpc/clnt_perr.c: Likewise.
11314         * sunrpc/clnt_raw.c: Likewise.
11315         * sunrpc/clnt_simp.c: Likewise.
11316         * sunrpc/clnt_tcp.c: Likewise.
11317         * sunrpc/clnt_udp.c: Likewise.
11318         * sunrpc/clnt_unix.c: Likewise.
11319         * sunrpc/des_crypt.c: Likewise.
11320         * sunrpc/des_soft.c: Likewise.
11321         * sunrpc/get_myaddr.c: Likewise.
11322         * sunrpc/key_call.c: Likewise.
11323         * sunrpc/key_prot.c: Likewise.
11324         * sunrpc/netname.c: Likewise.
11325         * sunrpc/pm_getmaps.c: Likewise.
11326         * sunrpc/pm_getport.c: Likewise.
11327         * sunrpc/pmap_clnt.c: Likewise.
11328         * sunrpc/pmap_prot.c: Likewise.
11329         * sunrpc/pmap_prot2.c: Likewise.
11330         * sunrpc/pmap_rmt.c: Likewise.
11331         * sunrpc/publickey.c: Likewise.
11332         * sunrpc/rpc_cmsg.c: Likewise.
11333         * sunrpc/rpc_common.c: Likewise.
11334         * sunrpc/rpc_dtable.c: Likewise.
11335         * sunrpc/rpc_prot.c: Likewise.
11336         * sunrpc/rpc_thread.c: Likewise.
11337         * sunrpc/rtime.c: Likewise.
11338         * sunrpc/svc.c: Likewise.
11339         * sunrpc/svc_auth.c: Likewise.
11340         * sunrpc/svc_authux.c: Likewise.
11341         * sunrpc/svc_raw.c: Likewise.
11342         * sunrpc/svc_run.c: Likewise.
11343         * sunrpc/svc_simple.c: Likewise.
11344         * sunrpc/svc_tcp.c: Likewise.
11345         * sunrpc/svc_udp.c: Likewise.
11346         * sunrpc/svc_unix.c: Likewise.
11347         * sunrpc/svcauth_des.c: Likewise.
11348         * sunrpc/xcrypt.c: Likewise.
11349         * sunrpc/xdr.c: Likewise.
11350         * sunrpc/xdr_array.c: Likewise.
11351         * sunrpc/xdr_float.c: Likewise.
11352         * sunrpc/xdr_intXX_t.c: Likewise.
11353         * sunrpc/xdr_mem.c: Likewise.
11354         * sunrpc/xdr_rec.c: Likewise.
11355         * sunrpc/xdr_ref.c: Likewise.
11356         * sunrpc/xdr_sizeof.c: Likewise.
11357         * sunrpc/xdr_stdio.c: Likewise.
11358
11359 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
11360
11361         [BZ #12650]
11362         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11363         * sysdeps/ia64/dl-tls.h: Likewise.
11364         * sysdeps/powerpc/dl-tls.h: Likewise.
11365         * sysdeps/s390/dl-tls.h: Likewise.
11366         * sysdeps/sh/dl-tls.h: Likewise.
11367         * sysdeps/sparc/dl-tls.h: Likewise.
11368         * sysdeps/x86_64/dl-tls.h: Likewise.
11369         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11370
11371 2011-03-14  Andreas Schwab  <schwab@redhat.com>
11372
11373         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11374         rpath element also skip the following colon.
11375         (expand_dynamic_string_token): Add is_path parameter and pass
11376         down to DL_DST_REQUIRED and _dl_dst_substitute.
11377         (decompose_rpath): Call expand_dynamic_string_token with
11378         non-zero is_path.  Ignore empty rpaths.
11379         (_dl_map_object_from_fd): Call expand_dynamic_string_token
11380         with zero is_path.
11381
11382 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
11383
11384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11385         Make cancelable.
11386
11387 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
11388
11389         [BZ #12655]
11390         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11391         Patch by Filipe David Manana <fdmanana@apache.org>.
11392
11393 2011-04-07  Andreas Schwab  <schwab@redhat.com>
11394
11395         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11396         Maintain aligned stack.
11397         (CHECK_RSP): Remove unused macro.
11398
11399 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
11400
11401         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11402         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11403
11404 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
11405
11406         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11407
11408         * include/features.h: Mention __USE_XOPEN2K8 in comment.
11409
11410 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
11411
11412         [BZ #12518]
11413         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11414         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11415         * sysdeps/x86_64/memmove.c: New file.
11416         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11417         (memcpy): Renamed to ...
11418         (__new_memcpy): This.
11419         (memcpy): Provide GLIBC_2_14 memcpy.
11420         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11421         (memcpy): Provide GLIBC_2_2_5 memcpy.
11422
11423 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11424
11425         [BZ #12631]
11426         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11427
11428 2011-03-30  Andreas Schwab  <schwab@redhat.com>
11429
11430         * misc/syncfs.c: New file.
11431         * misc/Makefile (routines): Add syncfs.
11432         * posix/unistd.h: Declare syncfs.
11433         * sysdeps/unix/syscalls.list: Add syncfs.
11434
11435 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11436
11437         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11438         open_by_handle_at.
11439         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11440         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11441         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11442         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11443         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11444         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11445         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11446
11447 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11448
11449         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11450         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11451         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11452         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11453         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11454         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11455         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11456
11457         * io/Makefile: Compile fallocate.c, fallocate64.c, and
11458         sync_file_range.c with -fexceptions.
11459         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11460         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11461         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11462         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11463         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11464         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11465         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11466         sync_file_range as cancellation point
11467         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
11468         now a wrapper around __call_sync_file_range with cancellation handling.
11469         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11470         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
11471         function name to __call_sync_file_range.
11472         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11473         Add call_sync_file_range.
11474
11475 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11476
11477         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11478         bits/timex.h.
11479
11480 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11481
11482         * iconv/iconv.h: Fix typo in comment.
11483         * io/fcntl.h: Likewise.
11484         * libio/stdio.h: Likewise.
11485         * posix/spawn.h: Likewise.
11486         * posix/unistd.h: Likewise.
11487         * stdlib/stdlib.h: Likewise.
11488         * time/time.h: Likewise.
11489         * wcsmbs/wchar.h: Likewise.
11490
11491         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11492         open_by_handle): Add.
11493         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11494         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
11495         Augment a few comments.
11496         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11497         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11498         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11499         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11500         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11501         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11502         open_by_handle.
11503
11504         * io/fcntl.h (AT_EMPTY_PATH): Define.
11505
11506 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
11507
11508         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11509         * sysdeps/unix/sysv/linux/bits/time.h: New file.
11510         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11511         to...
11512         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
11513         * Versions.def: Add GLIBC_2.14.
11514         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11515         Export.
11516
11517 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
11518
11519         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11520         round counter.
11521         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11522
11523 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11524
11525         [BZ #12597]
11526         * string/test-strncmp.c (do_page_test): New function.
11527         (check2): Likewise.
11528         (test_main): Call check2.
11529         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11530
11531 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
11532
11533         [BZ #12587]
11534         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11535         Handle cache information in CPU leaf 4.
11536         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11537
11538 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
11539
11540         [BZ #12583]
11541         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11542         character representation.
11543         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11544
11545 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
11546
11547         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11548         END(__isnan) to END(__isnanf) to match function entry point/label
11549         EALIGN(__isnanf,...).
11550
11551 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
11552
11553         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11554
11555 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
11556
11557         [BZ #12510]
11558         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11559         copy from the symbol referenced in the relocation to initialize the
11560         used variable.
11561         Patch by Piotr Bury <pbury@goahead.com>.
11562         * elf/Makefile: Add rules to build and tst-unique3.
11563         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11564         * elf/tst-unique3.cc: New file.
11565         * elf/tst-unique3.h: New file.
11566         * elf/tst-unique3lib.cc: New file.
11567         * elf/tst-unique3lib2.cc: New file.
11568
11569         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11570
11571 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
11572
11573         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11574         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
11575         to _start.
11576
11577 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
11578
11579         * elf/dl-load.c (_dl_map_object): If we are looking for the first
11580         to-be-loaded object along a path to loader is ld.so.
11581
11582 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
11583             Ulrich Drepper  <drepper@gmail.com>
11584
11585         * sysdeps/x86_64/memset.S: After aligning destination, code
11586         branches to different locations depending on the value of
11587         misalignment, when multiarch is enabled. Fix this.
11588
11589 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
11590
11591         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11592         Set _x86_64_preferred_memory_instruction for AMD processsors.
11593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11594         Set bit_Prefer_SSE_for_memop for AMD processors.
11595
11596 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
11597
11598         * libio/fmemopen.c (fmemopen): Optimize a bit.
11599
11600 2011-03-03  Andreas Schwab  <schwab@redhat.com>
11601
11602         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11603
11604 2011-03-03  Roland McGrath  <roland@redhat.com>
11605
11606         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11607
11608 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
11609
11610         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11611         __bzero_ultra1 instead of __memset_ultra1.
11612
11613 2011-02-23  Andreas Schwab  <schwab@redhat.com>
11614             Ulrich Drepper  <drepper@gmail.com>
11615
11616         [BZ #12509]
11617         * include/link.h (struct link_map): Add l_orig_initfini.
11618         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11619         returning unsuccessfully.
11620         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11621         close of a file loaded at startup, restore the original l_initfini
11622         list.
11623         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11624         list, store the pointer.
11625         * elf/Makefile ($(objpfx)noload-mem): New rule.
11626         (noload-ENV): Define.
11627         (tests): Add $(objpfx)noload-mem.
11628         * elf/noload.c: Include <memcheck.h>.
11629         (main): Call mtrace.  Close all opened handles.
11630
11631 2011-02-17  Andreas Schwab  <schwab@redhat.com>
11632
11633         [BZ #12454]
11634         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11635         dependencies are missing.
11636
11637 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11638
11639         Fix __if_freereq crash: Unlike the generic version which uses free,
11640         Hurd needs munmap.
11641         * sysdeps/mach/hurd/ifreq.h: New file.
11642
11643 2011-01-27  Petr Baudis  <pasky@suse.cz>
11644             Ulrich Drepper  <drepper@gmail.com>
11645
11646         [BZ 12445]#
11647         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11648         to extend_alloca().
11649         * stdio-common/bug23.c: New file.
11650         * stdio-common/Makefile (tests): Add bug23.
11651
11652 2010-09-28  Andreas Schwab  <schwab@redhat.com>
11653             Ulrich Drepper  <drepper@gmail.com>
11654
11655         [BZ #12489]
11656         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11657         before performing relro protection.  At old place add assertion
11658         to make sure nothing changed.
11659
11660 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
11661             Glauber de Oliveira Costa  <glommer@gmail.com>
11662
11663         * elf/elf.h: Add new ARM TLS relocs.
11664
11665 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
11666
11667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11668         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11669         cast from r3.
11670         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
11671         'tests' variable.
11672         * sysdeps/wordsize-64/tst-writev.c: New file.
11673
11674 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
11675
11676         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11677         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11678         insns in _dl_start to prevent a TOC reference before relocs are
11679         resolved.
11680
11681 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
11682
11683         [BZ #12469]
11684         * Makeconfig: Remove RANLIB definition.
11685         * Makerules: Don't use RANLIB.
11686         * aclocal.m4: Remove ranlib test.
11687         * configure.in: No need to check for ranlib.
11688         * elf/rtld-Rules: Don't use RANLIB.
11689
11690 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11691
11692         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11693         protection macro.
11694         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11695         inclusion protection macro.
11696
11697         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11698         SIGRTMIN and SIGRTMAX and print information in that case only when
11699         SIGRTMIN is defined.
11700
11701 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
11702
11703         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11704         arginfo fn returning -1.
11705
11706         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11707         and thousands string is zero terminated.
11708
11709 2011-02-03  Andreas Schwab  <schwab@redhat.com>
11710
11711         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11712         sysdeps/unix/sysv/linux/bits/socket.h.
11713
11714 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11715
11716         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11717         (__CPU_COUNT): Remove old macros.
11718         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11719         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11720         (__CPU_ALLOC, __CPU_FREE): Add macros.
11721         (__sched_cpualloc, __sched_cpufree): Add declarations.
11722
11723 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
11724
11725         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11726         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11727         * nscd/aicache.c (addhstaiX): Return timeout of added value.
11728         (readdhstai): Return value of addhstaiX call.
11729         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11730         (addgrbyX): Return value returned by cache_addgr.
11731         (readdgrbyname): Return value returned by addgrbyX.
11732         (readdgrbygid): Likewise.
11733         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11734         (addpwbyX): Return value returned by cache_addpw.
11735         (readdpwbyname): Return value returned by addhstbyX.
11736         (readdpwbyuid): Likewise.
11737         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11738         (addservbyX): Return value returned by cache_addserv.
11739         (readdservbyname): Return value returned by addservbyX:
11740         (readdservbyport): Likewise.
11741         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11742         (addhstbyX): Return value returned by cache_addhst.
11743         (readdhstbyname): Return value returned by addhstbyX.
11744         (readdhstbyaddr): Likewise.
11745         (readdhstbynamev6): Likewise.
11746         (readdhstbyaddrv6): Likewise.
11747         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11748         (readdinitgroups): Return value returned by addinitgroupsX.
11749         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11750         (prune_cache): Keep track of timeout value of re-added entries.
11751         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11752         * nscd/nscd.h: Adjust prototypes of readd* functions.
11753
11754 2011-02-04  Roland McGrath  <roland@redhat.com>
11755
11756         * nis/nis_server.c (nis_servstate): Use the right name for 0.
11757         (nis_stats): Likewise.
11758         * nis/nis_modify.c (nis_modify): Likewise.
11759         * nis/nis_remove.c (nis_remove): Likewise.
11760         * nis/nis_add.c (nis_add): Likewise.
11761
11762         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11763
11764         * posix/fnmatch_loop.c: Add some consts.
11765
11766         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11767
11768 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
11769
11770         [BZ #12460]
11771         * config.make.in (config-cflags-novzeroupper): Define.
11772         * configure.in: Substitute libc_cv_cc_novzeroupper.
11773         * elf/Makefile (AVX-CFLAGS): Define.
11774         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11775         (CFLAGS-tst-auditmod4a.c): Likewise.
11776         (CFLAGS-tst-auditmod4b.c): Likewise.
11777         (CFLAGS-tst-auditmod6b.c): Likewise.
11778         (CFLAGS-tst-auditmod6c.c): Likewise.
11779         (CFLAGS-tst-auditmod7b.c): Likewise.
11780         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11781
11782 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
11783
11784         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11785         function to the callback.
11786         Patch partly by Jiri Olsa <jolsa@redhat.com>.
11787
11788 2011-02-02  Andreas Schwab  <schwab@redhat.com>
11789
11790         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11791         of errno.
11792
11793 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
11794
11795         [BZ #11724]
11796         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11797         of constructors.
11798         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11799         of destructors.
11800         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11801
11802         [BZ #11724]
11803         * elf/Makefile: Add rules to build and run new test.
11804         * elf/tst-initorder.c: New file.
11805         * elf/tst-initorder.exp: New file.
11806         * elf/tst-initordera1.c: New file.
11807         * elf/tst-initordera2.c: New file.
11808         * elf/tst-initordera3.c: New file.
11809         * elf/tst-initordera4.c: New file.
11810         * elf/tst-initorderb1.c: New file.
11811         * elf/tst-initorderb2.c: New file.
11812         * elf/tst-order-a1.c: New file.
11813         * elf/tst-order-a2.c: New file.
11814         * elf/tst-order-a3.c: New file.
11815         * elf/tst-order-a4.c: New file.
11816         * elf/tst-order-b1.c: New file.
11817         * elf/tst-order-b2.c: New file.
11818         * elf/tst-order-main.c: New file.
11819         New test case by George Gensure <werkt0@gmail.com>.
11820
11821 2010-10-01  Andreas Schwab  <schwab@redhat.com>
11822
11823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11824         decoding ACE if AI_CANONIDN.
11825
11826 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
11827
11828         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11829
11830 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
11831
11832         * version.h (RELEASE): Bump for 2.13 release.
11833         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11834
11835         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11836
11837         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11838         MADV_NOHUGEPAGE.
11839         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11840         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11841         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11842         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11843         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11844         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11845
11846         * posix/getconf.c: Update copyright year.
11847         * catgets/gencat.c: Likewise.
11848         * csu/version.c: Likewise.
11849         * debug/catchsegv.sh: Likewise.
11850         * debug/xtrace.sh: Likewise.
11851         * elf/ldconfig.c: Likewise.
11852         * elf/ldd.bash.in: Likewise.
11853         * elf/sprof.c (print_version): Likewise.
11854         * iconv/iconv_prog.c: Likewise.
11855         * iconv/iconvconfig.c: Likewise.
11856         * locale/programs/locale.c: Likewise.
11857         * locale/programs/localedef.c: Likewise.
11858         * malloc/memusage.sh: Likewise.
11859         * malloc/mtrace.pl: Likewise.
11860         * nscd/nscd.c (print_version): Likewise.
11861         * nss/getent.c: Likewise.
11862
11863         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11864         PF_CAIF, and PF_ALG.
11865         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11866
11867 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
11868
11869         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11870         (modules-names): Use them.
11871         (ifunc-test-modules, ifunc-pie-tests): Define.
11872         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11873         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11874         (test-extras): Likewise.
11875         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11876         $(compile-command.c).
11877         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11878         (all-built-dso): Define.
11879         (check-textrel.out, check-execstack.out): Depend on it.
11880
11881         * configure.in: Don't override --enable-multi-arch.
11882
11883 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
11884
11885         [BZ #6812]
11886         * nscd/hstcache.c (tryagain): Define.
11887         (cache_addhst): Return tryagain not notfound for temporary errors.
11888         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11889         failed.
11890
11891 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
11892
11893         [BZ #10563]
11894         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11895         to make the syscall.
11896         * sysdeps/unix/sysv/linux/setgroups.c: New file.
11897
11898         [BZ #12378]
11899         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11900         and fall back to matching as normal character if the string ends before
11901         the matching ']' is found.  This is what POSIX requires.
11902         * posix/testfnm.c: Adjust test result.
11903         * posix/globtest.sh: Adjust test result.  Add new test.
11904         * posix/tst-fnmatch.input: Likewise.
11905         * posix/tst-fnmatch2.c: Add new test.
11906
11907 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
11908
11909         * elf/Makefile (check-execstack): Revert last change.  Depend on
11910         check-execstack.h.
11911         (check-execstack.h): New target.
11912         (generated): Add check-execstack.h.
11913         * elf/check-execstack.c: Include "check-execstack.h".
11914         (main): Revert last change.
11915         (handle_file): Return zero if GNU_STACK is absent and
11916         DEFAULT_STACK_PERMS doesn't include PF_X.
11917
11918 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
11919
11920         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11921         in child fails because the descriptor is already closed.
11922         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11923         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11924         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11925
11926         [BZ #12397]
11927         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11928         syscall.
11929
11930         [BZ #10484]
11931         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11932         temporary buffer used to handle multi lookups locally.
11933         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11934
11935 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
11936
11937         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11938         loader is ld.so.
11939
11940 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
11941
11942         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11943         alignment for SSE2.
11944
11945 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
11946
11947         [BZ #12394]
11948         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11949         characters.  When rounding increased number of integer digits recompute
11950         number of groups.
11951         * stdio-common/tst-grouping.c: New file.
11952         * stdio-common/Makefile: Add rules to build and run tst-grouping.
11953
11954 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
11955
11956         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11957         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
11958
11959         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11960         void.
11961         * bits/select.h: Likewise.
11962
11963 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
11964
11965         * po/ja.po: Update from translation team.
11966
11967 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
11968
11969         [BZ #11155]
11970         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11971         implementation just like for lxstat, fxstatat, et al.
11972
11973 2010-12-27  Jim Meyering  <meyering@redhat.com>
11974
11975         [BZ #12348]
11976         * posix/regexec.c (build_trtable): Return failure indication upon
11977         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
11978
11979 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
11980
11981         [BZ #12201]
11982         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11983         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11984         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11985         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11986
11987         [BZ #12207]
11988         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11989
11990         [BZ #12204]
11991         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11992         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11993
11994 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11995
11996         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11997         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11998         script has SORT_BY_INIT_PRIORITY.
11999         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12000         NO_CTORS_DTORS_SECTIONS is defined.
12001         * elf/soinit.c: Likewise.
12002         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12003         NO_CTORS_DTORS_SECTIONS is defined.
12004         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12005         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12006         * sysdeps/sh/init-first.c: Likewise.
12007         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12008
12009 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
12010
12011         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12012         always use the slow path.
12013
12014 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
12015
12016         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12017         similar rule which adds the sysdep directories to the header search in
12018         order to pick up the correct platform stackinfo.h.
12019         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12020         perform test if it is, otherwise return successfully without testing.
12021         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12022         DEFAULT_STACK_PERMS define in stackinfo.h.
12023         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12024         defined in stackinfo.h.
12025         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12026         DEFAULT_STACK_PERMS defined in stackinfo.h.
12027         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12028         * sysdeps/ia64/stackinfo.h: Likewise.
12029         * sysdeps/s390/stackinfo.h: Likewise.
12030         * sysdeps/sh/stackinfo.h: Likewise.
12031         * sysdeps/sparc/stackinfo.h: Likewise.
12032         * sysdeps/x86_64/stackinfo.h: Likewise.
12033         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12034         PF_X for powerpc64.  Retain PF_X for powerpc32.
12035
12036 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
12037
12038         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12039         accurately.
12040         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12041         GETDENTS_64BIT_ALIGNED.
12042
12043 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
12044
12045         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12046
12047 2010-12-10  Andreas Schwab  <schwab@redhat.com>
12048
12049         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12050         _GNU_SOURCE.
12051
12052         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12053         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12054         Remove __restrict.
12055         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12056         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12057
12058 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
12059
12060         [BZ #11655]
12061         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12062         are initialized.
12063
12064 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
12065
12066         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12067
12068 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
12069
12070         * po/it.po: Update from translation team.
12071
12072 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12073
12074         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12075         unused codes.
12076
12077 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
12078
12079         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12080
12081 2010-11-24  Andreas Schwab  <schwab@redhat.com>
12082
12083         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12084         specially.
12085         (gaih_getanswer_slice): Likewise.
12086
12087 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
12088
12089         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12090
12091 2010-05-31  Petr Baudis  <pasky@suse.cz>
12092
12093         [BZ #11149]
12094         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12095         silently even in the chroot mode.
12096
12097 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
12098
12099         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12100         last patch a bit.  Pretty printing
12101
12102 2010-05-31  Petr Baudis <pasky@suse.cz>
12103
12104         [BZ #10085]
12105         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12106         initialization of skip_initgroups_dyn.
12107
12108 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
12109
12110         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12111         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12112
12113 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
12114
12115         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12116
12117 2010-11-11  Andreas Schwab  <schwab@redhat.com>
12118
12119         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12120         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12121         (tst-fnmatch-ENV): Set MALLOC_TRACE.
12122         ($(objpfx)tst-fnmatch-mem): New rule.
12123         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12124         * posix/tst-fnmatch.c (main): Call mtrace.
12125
12126 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
12127
12128         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12129         Support Intel processor model 6 and model 0x2c.
12130
12131 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
12132
12133         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12134           signed comparison.
12135
12136 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
12137
12138         [BZ #12205]
12139         * string/test-strncasecmp.c (check_result): New function.
12140         (do_one_test): Use it.
12141         (check1): New function.
12142         (test_main): Use it.
12143         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12144         Support strcasecmp and strncasecmp.
12145
12146 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
12147
12148         [BZ #12194]
12149         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12150         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12151
12152 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12153
12154         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12155         IFUNC support.
12156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12157         memset-x86-64.
12158         * sysdeps/x86_64/multiarch/bzero.S: New file.
12159         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12160         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12161         * sysdeps/x86_64/multiarch/memset.S: New file.
12162         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12164         Set bit_Prefer_SSE_for_memop for Intel processors.
12165         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12166         Define.
12167         (index_Prefer_SSE_for_memop): Define.
12168         (HAS_PREFER_SSE_FOR_MEMOP): Define.
12169
12170 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
12171
12172         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12173         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12174
12175 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
12176
12177         [BZ #12191]
12178         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12179         (__x86_64_raw_data_cache_size_half): Likewise.
12180         (__x86_64_raw_shared_cache_size): Likewise.
12181         (__x86_64_raw_shared_cache_size_half): Likewise.
12182
12183         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12184         (__x86_64_raw_data_cache_size_half): Likewise.
12185         (__x86_64_raw_shared_cache_size): Likewise.
12186         (__x86_64_raw_shared_cache_size_half): Likewise.
12187         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12188         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12189         and __x86_64_raw_shared_cache_size_half.  Round
12190         __x86_64_data_cache_size_half, __x86_64_data_cache_size
12191         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12192         to multiple of 256 bytes.
12193
12194 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
12195
12196         [BZ #12167]
12197         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12198         of inacessible symlinks.  Verify result of symlink before returning it.
12199         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12200         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12201
12202 2010-10-28  Erich Ritz  <erichritz@gmail.com>
12203
12204         * math/math.h (isinf): Fix typo in comment.
12205
12206 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
12207
12208         * po/da.po: Update from translation team.
12209
12210 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
12211
12212         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12213         is added to the list.
12214
12215 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12216             Ulrich Drepper  <drepper@gmail.com>
12217
12218         * elf/dl-object.c (_dl_new_object): Don't append the new object to
12219         the global list here.  Move code to...
12220         (_dl_add_to_namespace_list): ...here.  New function.
12221         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12222         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12223         * elf/dl-load.c (lose): Don't remove the element from the list.
12224         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12225         (_dl_map_object): Likewise.
12226
12227 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
12228
12229         [BZ #12159]
12230         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12231         into all bytes of SSE register.
12232         Patch by Richard Li <richardpku@gmail.com>.
12233
12234 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
12235
12236         [BZ #12140]
12237         * malloc/malloc.c (_int_free): Fill correct number of bytes when
12238         perturbing.
12239
12240 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
12241
12242         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12243         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12244         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12245         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12247         submachine.
12248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12249
12250 2010-10-22  Andreas Schwab  <schwab@redhat.com>
12251
12252         * include/dlfcn.h (__RTLD_SECURE): Define.
12253         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
12254         mode & __RTLD_SECURE instead.
12255         (open_path): Rename preloaded parameter to secure.
12256         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12257         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12258         * elf/dl-deps.c (openaux): Likewise.
12259         * elf/rtld.c (struct map_args): Remove is_preloaded.
12260         (map_doit): Don't use it.
12261         (dl_main): Likewise.
12262         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12263         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12264
12265 2010-09-09  Andreas Schwab  <schwab@redhat.com>
12266
12267         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12268         (sysd-rules-targets): Remove duplicates.
12269         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12270         rtld-%.$o dependency.
12271
12272 2010-10-18  Andreas Schwab  <schwab@redhat.com>
12273
12274         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12275         _dl_map_object do it.
12276
12277 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
12278
12279         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12280         fast fma builtins, define the macros in the C99 standard.
12281         (FP_FAST_FMAF): Likewise.
12282         (FP_FAST_FMAL): Likewise.
12283         * sysdeps/x86_64/bits/mathdef.h: Likewise.
12284
12285         * bits/mathdef.h: Update copyright year.
12286         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12287
12288 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
12289
12290         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12291         builtins, define the macros in the C99 standard.
12292         (FP_FAST_FMAF): Likewise.
12293         (FP_FAST_FMAL): Likewise.
12294         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12295         multiply/add.
12296         (FP_FAST_FMAF): Likewise.
12297
12298 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
12299
12300         [BZ #3268]
12301         * math/libm-test.inc (fma_test): Some new testcases.
12302         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12303         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12304         y and infinite z.  Do multiplication by C already in long double.
12305         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12306         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12307         y and infinite z.  Do bitwise or of inexact bit into u.d.
12308         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12309         * sysdeps/i386/fpu/s_fmaf.S: Removed.
12310         * sysdeps/i386/fpu/s_fma.S: Removed.
12311         * sysdeps/i386/fpu/s_fmal.S: Removed.
12312
12313 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
12314
12315         [BZ #3268]
12316         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12317         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12318         computation is not scheduled after fetestexcept.  Fix value
12319         of minimum denormal long double.
12320
12321 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
12322
12323         [BZ #3268]
12324         * math/libm-test.inc (fma_test): Add some more tests.
12325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12326         correctly.
12327
12328 2010-10-15  Andreas Schwab  <schwab@redhat.com>
12329
12330         * scripts/data/localplt-s390-linux-gnu.data: New file.
12331         * scripts/data/localplt-s390x-linux-gnu.data: New file.
12332
12333 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
12334
12335         [BZ #3268]
12336         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12337         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12338         instead of dbl-64.
12339         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12340         inlines.
12341         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12342         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12343         if one of x and y is very large and the other is subnormal.
12344         * sysdeps/s390/fpu/s_fmaf.c: New file.
12345         * sysdeps/s390/fpu/s_fma.c: New file.
12346         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12347         * sysdeps/powerpc/fpu/s_fma.S: New file.
12348         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12349         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12350         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12351
12352 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
12353
12354         [BZ #3268]
12355         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12356         fma tests.
12357         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12358         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12359         * sysdeps/i386/i686/multiarch/s_fma.c: Include
12360         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12361         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12362         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12363         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12364
12365 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
12366
12367         [BZ #12078]
12368         * posix/regcomp.c (parse_branch): One more memory leak plugged.
12369         * posix/bug-regex31.input: Add test case.
12370
12371 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
12372
12373         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12374         * posix/bug-regex31.input: New file.
12375
12376         [BZ #12078]
12377         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12378         (parse_sub_exp): Fix last change, use postorder.
12379
12380         * posix/bug-regex31.c: New file.
12381         * posix/Makefile: Add rules to build and run bug-regex31.
12382
12383         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12384
12385         [BZ #12078]
12386         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12387
12388         [BZ #12108]
12389         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12390         to have entries in sys_siglist.
12391
12392         [BZ #12093]
12393         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12394         be NULL.
12395
12396 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
12397
12398         [BZ #3268]
12399         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12400         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12401         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12402         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12403         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12404         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12405         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12406         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12407         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12408         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12409         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12410         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12411         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12412         * math/ftestexcept.c (fetestexcept): Likewise.
12413         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12414         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12415         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12416         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12417         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12418         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12419         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12420
12421 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
12422
12423         [BZ #12107]
12424         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12425         newline.
12426
12427 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
12428
12429         * string/bug-strstr1.c: New file.
12430         * string/Makefile: Add rules to build and run bug-strstr1.
12431
12432 2010-10-05  Eric Blake  <eblake@redhat.com>
12433
12434         [BZ #12092]
12435         * string/str-two-way.h (two_way_long_needle): Always clear memory
12436         when skipping input due to the shift table.
12437
12438 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
12439
12440         [BZ #12005]
12441         * malloc/mcheck.c: Handle large requests.
12442
12443         [BZ #12077]
12444         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12445         for strncmp and strncasecmp.
12446         * string/stratcliff.c: Add tests for strcmp and strncmp.
12447         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12448
12449 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12450
12451         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12452         __set_fpscr.
12453
12454 2010-09-30  Andreas Jaeger  <aj@suse.de>
12455
12456         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12457         (CGROUP_SUPER_MAGIC): Define.
12458         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12459         Handle btrfs and cgroup file systems.
12460         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12461         Likewise.
12462
12463 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
12464
12465         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12466         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12467
12468 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12469
12470         [BZ #12067]
12471         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12472         trying to locate the ELF header.
12473
12474 2010-09-27  Andreas Schwab  <schwab@redhat.com>
12475
12476         [BZ #11611]
12477         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12478         Mask out sign-bit copies when constructing f_fsid.
12479
12480 2010-09-24  Petr Baudis <pasky@suse.cz>
12481
12482         * debug/stack_chk_fail_local.c: Add missing licence exception.
12483         * debug/warning-nop.c: Likewise.
12484
12485 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
12486
12487         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12488         implementing getdents64 using getdents syscall, set d_type if
12489         __ASSUME_GETDENTS32_D_TYPE.
12490
12491 2010-09-16  Andreas Schwab  <schwab@redhat.com>
12492
12493         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12494         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12495
12496 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
12497
12498         [BZ #12037]
12499         * posix/unistd.h: Undo change of feature selection for ftruncate from
12500         2010-01-11.
12501
12502 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
12503
12504         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12505         detection.
12506
12507 2010-09-20  Andreas Schwab  <schwab@redhat.com>
12508
12509         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12510         fanotify_mark.
12511         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12512
12513 2010-09-14  Andreas Schwab  <schwab@redhat.com>
12514
12515         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12516         variables after CHECK_SP call.
12517         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12518
12519 2010-09-13  Andreas Schwab  <schwab@redhat.com>
12520             Ulrich Drepper  <drepper@redhat.com>
12521
12522         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12523         re-relocationg ld.so.
12524         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12525         _dl_init_paths call.
12526         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
12527         here anymore.
12528
12529 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
12530
12531         * resolv/res_init.c (__res_vinit): Count the default server we added.
12532
12533 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
12534             Ulrich Drepper  <drepper@redhat.com>
12535
12536         [BZ #11968]
12537         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12538         (____longjmp_chk): Use %ebx for saving value across system call.
12539         Add unwind info.
12540
12541 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12542
12543         * manual/Makefile: Don't mix pattern rules with normal rules.
12544
12545 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12546
12547         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12548         operation.
12549         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12550         * libio/iofopncook.c (_IO_cookie_init): Likewise.
12551         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12552         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12553         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12554         Likewise.
12555
12556 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
12557
12558         [BZ #11979]
12559         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12560         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12561
12562 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
12563
12564         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12565         * sysdeps/x86_64/addmul_1.S: Likewise.
12566         * sysdeps/x86_64/lshift.S: Likewise.
12567         * sysdeps/x86_64/mul_1.S: Likewise.
12568         * sysdeps/x86_64/rshift.S: Likewise.
12569         * sysdeps/x86_64/sub_n.S: Likewise.
12570         * sysdeps/x86_64/submul_1.S: Likewise.
12571
12572 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12573
12574         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12575         Define __sched_param instead of SCHED_* and sched_param when
12576         <bits/sched.h> is included with __need_schedparam defined.
12577         * bits/sched.h [__need_schedparam]
12578         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12579         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12580         (__defined_schedparam): Define to 1.
12581         (__sched_param): New structure, identical to sched_param.
12582         (__need_schedparam): Undefine.
12583
12584 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
12585
12586         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12587         (epoll_create1): Declare.
12588
12589         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12590
12591 2010-08-31  Andreas Schwab  <schwab@redhat.com>
12592
12593         [BZ #7066]
12594         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12595         shifting retval into place.
12596
12597 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
12598
12599         * nis/rpcsvc/nis.h: Update copyright notice.
12600         * nis/rpcsvc/nis.x: Likewise.
12601         * nis/rpcsvc/nis_callback.h: Likewise.
12602         * nis/rpcsvc/nis_callback.x: Likewise.
12603         * nis/rpcsvc/nis_object.x: Likewise.
12604         * nis/rpcsvc/nis_tags.h: Likewise.
12605         * nis/rpcsvc/yp.h: Likewise.
12606         * nis/rpcsvc/yp.x: Likewise.
12607         * nis/rpcsvc/ypupd.h: Likewise.
12608         * nis/yp_xdr.c: Likewise.
12609         * nis/ypupdate_xdr.c: Likewise.
12610
12611         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
12612         mainly the body of pmap_getport.  Add parameters to specify timeouts.
12613         (pmap_getport): Use __libc_rpc_getport.
12614         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12615         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12616         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12617
12618 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
12619
12620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12621         fanotify_mark.
12622
12623 2010-08-27  Roland McGrath  <roland@redhat.com>
12624
12625         * sysdeps/i386/i686/multiarch/Makefile
12626         (CFLAGS-varshift.c): New variable.
12627
12628 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
12629
12630         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12631         * sysdeps/i386/i686/multiarch/varshift.c: New file.
12632
12633         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12634
12635         * sysdeps/x86_64/strlen.S: Minimal code improvement.
12636
12637 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12638
12639         * sysdeps/x86_64/strlen.S: Unroll the loop.
12640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12641         strlen-sse2 strlen-sse2-bsf.
12642         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12643         __strlen_no_bsf if bit_Slow_BSF is set.
12644         (__strlen_sse42): Removed.
12645         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12646         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12647
12648 2010-08-25  Roland McGrath  <roland@redhat.com>
12649
12650         * sysdeps/x86_64/multiarch/varshift.S: File removed.
12651         * sysdeps/x86_64/multiarch/varshift.c: New file.
12652         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12653         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12654         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12655         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12656
12657 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12658
12659         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12660         strlen-sse2 strlen-sse2-bsf.
12661         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12662         __strlen_sse2_bsf if bit_Slow_BSF is unset.
12663         (__strlen_sse2): Removed.
12664         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12665         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12667         bit_Slow_BSF for Atom.
12668         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12669         (index_Slow_BSF): Define.
12670         (HAS_SLOW_BSF): Define.
12671
12672 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
12673
12674         [BZ #10851]
12675         * resolv/res_init.c (__res_vinit): When no server address at all
12676         is given default to loopback.
12677
12678 2010-08-24  Roland McGrath  <roland@redhat.com>
12679
12680         * configure.in: Remove config-name.h generation.
12681         * configure: Regenerated.
12682         * config-name.in: File removed.
12683         * scripts/config-uname.sh: New file.
12684         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12685         ($(objdir)config-name.h): New target.
12686
12687         * sunrpc/rpc_parse.h: Avoid nested comment.
12688
12689 2010-08-24  Richard Henderson  <rth@redhat.com>
12690             Ulrich Drepper  <drepper@redhat.com>
12691             H.J. Lu  <hongjiu.lu@intel.com>
12692
12693         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12695         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12696         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
12697         _mm_alignr_epi8 with _mm_loadu_si128.
12698         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12699         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12700         (__m128i_shift_right): Removed.
12701         * sysdeps/i386/i686/multiarch/varshift.h: New file.
12702         * sysdeps/i386/i686/multiarch/varshift.S: New file.
12703         * sysdeps/x86_64/multiarch/varshift.h: New file.
12704         * sysdeps/x86_64/multiarch/varshift.S: New file.
12705
12706 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
12707
12708         * configure.in: Move assembler checks to before sysdep dir checking.
12709
12710 2010-08-20  Petr Baudis  <pasky@suse.cz>
12711
12712         * LICENSES: Sync the sunrpc license.
12713
12714 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
12715
12716         * sunrpc/auth_des.c: Update copyright notice once again.
12717         * sunrpc/auth_none.c: Likewise.
12718         * sunrpc/auth_unix.c: Likewise.
12719         * sunrpc/authdes_prot.c: Likewise.
12720         * sunrpc/authuxprot.c: Likewise.
12721         * sunrpc/bindrsvprt.c: Likewise.
12722         * sunrpc/clnt_gen.c: Likewise.
12723         * sunrpc/clnt_perr.c: Likewise.
12724         * sunrpc/clnt_raw.c: Likewise.
12725         * sunrpc/clnt_simp.c: Likewise.
12726         * sunrpc/clnt_tcp.c: Likewise.
12727         * sunrpc/clnt_udp.c: Likewise.
12728         * sunrpc/clnt_unix.c: Likewise.
12729         * sunrpc/des_crypt.c: Likewise.
12730         * sunrpc/des_soft.c: Likewise.
12731         * sunrpc/get_myaddr.c: Likewise.
12732         * sunrpc/getrpcport.c: Likewise.
12733         * sunrpc/key_call.c: Likewise.
12734         * sunrpc/key_prot.c: Likewise.
12735         * sunrpc/openchild.c: Likewise.
12736         * sunrpc/pm_getmaps.c: Likewise.
12737         * sunrpc/pm_getport.c: Likewise.
12738         * sunrpc/pmap_clnt.c: Likewise.
12739         * sunrpc/pmap_prot.c: Likewise.
12740         * sunrpc/pmap_prot2.c: Likewise.
12741         * sunrpc/pmap_rmt.c: Likewise.
12742         * sunrpc/rpc/auth.h: Likewise.
12743         * sunrpc/rpc/auth_unix.h: Likewise.
12744         * sunrpc/rpc/clnt.h: Likewise.
12745         * sunrpc/rpc/des_crypt.h: Likewise.
12746         * sunrpc/rpc/key_prot.h: Likewise.
12747         * sunrpc/rpc/netdb.h: Likewise.
12748         * sunrpc/rpc/pmap_clnt.h: Likewise.
12749         * sunrpc/rpc/pmap_prot.h: Likewise.
12750         * sunrpc/rpc/pmap_rmt.h: Likewise.
12751         * sunrpc/rpc/rpc.h: Likewise.
12752         * sunrpc/rpc/rpc_des.h: Likewise.
12753         * sunrpc/rpc/rpc_msg.h: Likewise.
12754         * sunrpc/rpc/svc.h: Likewise.
12755         * sunrpc/rpc/svc_auth.h: Likewise.
12756         * sunrpc/rpc/types.h: Likewise.
12757         * sunrpc/rpc/xdr.h: Likewise.
12758         * sunrpc/rpc_clntout.c: Likewise.
12759         * sunrpc/rpc_cmsg.c: Likewise.
12760         * sunrpc/rpc_common.c: Likewise.
12761         * sunrpc/rpc_cout.c: Likewise.
12762         * sunrpc/rpc_dtable.c: Likewise.
12763         * sunrpc/rpc_hout.c: Likewise.
12764         * sunrpc/rpc_main.c: Likewise.
12765         * sunrpc/rpc_parse.c: Likewise.
12766         * sunrpc/rpc_parse.h: Likewise.
12767         * sunrpc/rpc_prot.c: Likewise.
12768         * sunrpc/rpc_sample.c: Likewise.
12769         * sunrpc/rpc_scan.c: Likewise.
12770         * sunrpc/rpc_scan.h: Likewise.
12771         * sunrpc/rpc_svcout.c: Likewise.
12772         * sunrpc/rpc_tblout.c: Likewise.
12773         * sunrpc/rpc_util.c: Likewise.
12774         * sunrpc/rpc_util.h: Likewise.
12775         * sunrpc/rpcinfo.c: Likewise.
12776         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12777         * sunrpc/rpcsvc/key_prot.x: Likewise.
12778         * sunrpc/rpcsvc/klm_prot.x: Likewise.
12779         * sunrpc/rpcsvc/mount.x: Likewise.
12780         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12781         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12782         * sunrpc/rpcsvc/rex.x: Likewise.
12783         * sunrpc/rpcsvc/rstat.x: Likewise.
12784         * sunrpc/rpcsvc/rusers.x: Likewise.
12785         * sunrpc/rpcsvc/sm_inter.x: Likewise.
12786         * sunrpc/rpcsvc/spray.x: Likewise.
12787         * sunrpc/rpcsvc/yppasswd.x: Likewise.
12788         * sunrpc/rtime.c: Likewise.
12789         * sunrpc/svc.c: Likewise.
12790         * sunrpc/svc_auth.c: Likewise.
12791         * sunrpc/svc_authux.c: Likewise.
12792         * sunrpc/svc_raw.c: Likewise.
12793         * sunrpc/svc_run.c: Likewise.
12794         * sunrpc/svc_simple.c: Likewise.
12795         * sunrpc/svc_tcp.c: Likewise.
12796         * sunrpc/svc_udp.c: Likewise.
12797         * sunrpc/svc_unix.c: Likewise.
12798         * sunrpc/svcauth_des.c: Likewise.
12799         * sunrpc/xcrypt.c: Likewise.
12800         * sunrpc/xdr.c: Likewise.
12801         * sunrpc/xdr_array.c: Likewise.
12802         * sunrpc/xdr_float.c: Likewise.
12803         * sunrpc/xdr_mem.c: Likewise.
12804         * sunrpc/xdr_rec.c: Likewise.
12805         * sunrpc/xdr_ref.c: Likewise.
12806         * sunrpc/xdr_sizeof.c: Likewise.
12807         * sunrpc/xdr_stdio.c: Likewise.
12808
12809         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12810         handling.
12811
12812 2010-08-19  Andreas Schwab  <schwab@redhat.com>
12813
12814         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12815
12816 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
12817
12818         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12819         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12820         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12821         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12822         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12823         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12824         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12825         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12826         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12827         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12828         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12829         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12830         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12831         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12832
12833 2010-07-26  Anton Blanchard  <anton@samba.org>
12834
12835         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12836         * malloc/arena.c (heap_trim): Likewise.
12837
12838 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
12839
12840         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12841         here.  Not...
12842         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12843         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12844
12845 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12846
12847         * sysdeps/i386/elf/Makefile: New file.
12848
12849 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
12850
12851         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12852         from fanotify_init.
12853         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12855
12856 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
12857
12858         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12859         of strncasecmp_l.
12860         * sysdeps/multiarch/strcmp.S: Likewise.
12861
12862 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
12863
12864         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12865         strncase_l-nonascii.
12866         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12867         Add strncase_l-ssse3.
12868         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12869         * sysdeps/x86_64/strcmp.S: Likewise.
12870         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12871         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12872         * sysdeps/x86_64/strncase.S: New file.
12873         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12874         * sysdeps/x86_64/strncase_l.S: New file.
12875         * string/Makefile (strop-tests): Add strncasecmp.
12876         * string/test-strncasecmp.c: New file.
12877
12878         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12879         warning.
12880
12881         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12882         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12883
12884 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
12885
12886         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12887
12888 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
12889
12890         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12891         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12892         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12893
12894 2010-05-01  Alan Modra  <amodra@gmail.com>
12895
12896         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12897         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12898         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12899         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12900         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12901         tidying.  Don't tail-call __sigjmp_save for static lib.
12902         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12903         save location.
12904         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12905         (CALL_MCOUNT): Add eh info, and nop after bl.
12906         (TAIL_CALL_SYSCALL_ERROR): New macro.
12907         (PSEUDO_RET): Use it.
12908         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12909         Correct save location of integer regs and cr.
12910         (_dl_profile_resolve): Correct cr save location.  Delete nops
12911         after bl when SHARED.  Reduce cfi size a little by better
12912         placement of cfi directives.
12913         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12914         make a stack frame.  Instead use parm save area as a temp.
12915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12916         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
12917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12918         Don't make a stack frame for parent, use parm save area.
12919         Increase child stack frame to 112 bytes.  Don't save unused reg,
12920         and adjust reg usage.  Set up cfi on error recovery and
12921         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12923         (__makecontext): Add dummy nop after jump to exit.
12924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12925         Use correct parm save area and cr save, reduce stack frame.
12926         Correct cfi for possible PSEUDO_RET frame setup.
12927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12928         Branch to local label emitted by PSEUDO_RET rather than
12929         __syscall_error.
12930
12931 2010-08-12  Andreas Schwab  <schwab@redhat.com>
12932
12933         [BZ #11904]
12934         * locale/programs/locale.c (print_assignment): New function.
12935         (show_locale_vars): Use it.
12936
12937 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
12938
12939         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12940         field.
12941         (struct statfs64): Likewise.
12942         (_STATFS_F_FLAGS): Define.
12943         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12944         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12945         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12946         (ST_VALID): Define locally.
12947         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12948         __statvfs_getflags, use the provided value.
12949         * sysdeps/unix/sysv/linux/kernel-features.h: Define
12950         __ASSUME_STATFS_F_FLAGS.
12951
12952         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12953
12954         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12955         Add sys/fanotify.h.
12956         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12957         fanotify_mask for GLIBC_2.13.
12958         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12959         fanotify_init and fanotify_mark.
12960         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12961         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12962
12963         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12964         Add prlimit.
12965         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12966         prlimit64 for GLIBC_2.13.
12967         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12968         prlimit64.
12969         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12970         syscall.
12971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12972         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12973         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12974         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12975         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
12976         add prlimit alias.
12977         * sysdeps/unix/sysv/linux/prlimit.c: New file.
12978
12979         [BZ #11903]
12980         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12981         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12982
12983         * nss/Makefile: Add rules to build and run tst-nss-test1.
12984         * shlib-versions: Add entry for libnss_test1.
12985         * nss/nss_test1.c: New file.
12986         * nss/tst-nss-test1.c: New file.
12987
12988         * nss/nsswitch.c (__nss_database_custom): Define new variable.
12989         (__nss_configure_lookup): Set appropriate entry in
12990         __nss_configure_lookup to true.
12991         * nss/nsswitch.h: Define enum with indeces of databases in
12992         databases and __nss_database_custom arrays.  Declare
12993         __nss_database_custom.
12994         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12995         to avoid using nscd when custom rules are installed.
12996         * nss/getXXbyYY_r.c: Likewise.
12997         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12998
12999         * nss/nss_files/files-parse.c: Whitespace fixes.
13000
13001 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
13002
13003         [BZ #11883]
13004         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13005         * posix/fnmatch_loop.c: Likewise.
13006
13007 2010-07-17  Andi Kleen  <ak@linux.intel.com>
13008
13009         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13010         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13011         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13012         * Versions.def [GLIBC_2.13]: Add.
13013
13014 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
13015
13016         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13017         Also fail if tpwd after pwuid call is NULL.
13018
13019 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13020
13021         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13022         when converting to ms.
13023
13024 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13025
13026         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13027         EOPNOTSUPP errors with ENOTTY.
13028         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13029         EOPNOTSUPP errors with ENOTTY.
13030
13031 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
13032
13033         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13034         Add strcasecmp_l-ssse3.
13035         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13036         strcasecmp.
13037         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13038         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13039         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13040
13041 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
13042
13043         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13044
13045         * string/Makefile (strop-tests): Add strcasecmp.
13046         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13047         strcasecmp_l-nonascii.
13048         (gen-as-const-headers): Add locale-defines.sym.
13049         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13050         * sysdeps/x86_64/strcasecmp.S: New file.
13051         * sysdeps/x86_64/strcasecmp_l.S: New file.
13052         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13053         * sysdeps/x86_64/locale-defines.sym: New file.
13054         * string/test-strcasecmp.c: New file.
13055
13056         * string/test-strcasestr.c: Test both ends of the range of characters.
13057         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13058
13059 2010-07-29  Roland McGrath  <roland@redhat.com>
13060
13061         [BZ #11856]
13062         * manual/locale.texi (Yes-or-No Questions): Fix example code.
13063
13064 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
13065
13066         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13067         for ld.so.
13068
13069 2010-07-27  Andreas Schwab  <schwab@redhat.com>
13070
13071         * manual/memory.texi (Malloc Tunable Parameters): Document
13072         M_PERTURB.
13073
13074 2010-07-26  Roland McGrath  <roland@redhat.com>
13075
13076         [BZ #11840]
13077         * configure.in (-fgnu89-inline check): Set and substitute
13078         gnu89_inline, not libc_cv_gnu89_inline.
13079         * configure: Regenerated.
13080         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13081
13082 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
13083
13084         * string/test-strnlen.c: New file.
13085         * string/Makefile (strop-tests): Add strnlen.
13086         * string/tester.c (test_strnlen): Add a few more test cases.
13087         * string/tst-strlen.c: Better error reporting.
13088
13089         * sysdeps/x86_64/strnlen.S: New file.
13090
13091 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
13092
13093         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13094         lower-latency instructions.
13095
13096 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
13097
13098         * string/test-strcasestr.c: New file.
13099         * string/test-strstr.c: New file.
13100         * string/Makefile (strop-tests): Add strstr and strcasestr.
13101         * string/str-two-way.h: Don't undefine MAX.
13102         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13103
13104 2010-07-21  Andreas Schwab  <schwab@redhat.com>
13105
13106         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13107         strcasestr-nonascii.
13108         (CFLAGS-strcasestr-nonascii.c): Define.
13109         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13110         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13111         Remove unused attribute.
13112
13113 2010-07-20  Roland McGrath  <roland@redhat.com>
13114
13115         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13116         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
13117         ld.so.cache was broken.  With it, there is no way to disable dsocaps
13118         like LD_HWCAP_MASK can disable hwcaps.
13119
13120 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
13121
13122         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13123
13124 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
13125
13126         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13127         call in strcasestr.
13128         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13129         __strcasestr_sse42_nonascii.
13130         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13131         strcasestr-nonascii.c.
13132         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13133
13134 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
13135
13136         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13137         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13138         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13139         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13140
13141 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
13142
13143         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13144         fcntl.
13145
13146 2010-07-06  Andreas Schwab  <schwab@redhat.com>
13147
13148         [BZ #11577]
13149         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13150         dl_signal_cerror.
13151
13152 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
13153
13154         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13155         _PC_PIPE_BUF using F_GETPIPE_SZ.
13156
13157 2010-07-05  Roland McGrath  <roland@redhat.com>
13158
13159         * manual/arith.texi (Rounding Functions): Fix rint description
13160         implicit in round description.
13161
13162 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
13163
13164         * elf/Makefile: Fix linking for a few tests to make recent linker
13165         happy.
13166
13167 2010-06-30  Andreas Schwab  <schwab@redhat.com>
13168
13169         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13170         $(common-objpfx)libc_nonshared.a.
13171
13172 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
13173
13174         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13175         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13176         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13177         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13178         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13179         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13180         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13181         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13196         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13197         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13198         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13199         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13200         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13201         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13202         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13203         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13204         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13205         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13206         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13207         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13222
13223 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13224
13225         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13226         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
13227         * string/memmove.c (memmove): Renamed to ...
13228         (MEMMOVE): ...this.  Default to memmove.
13229         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13230         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13231         (END_CHK): Define.
13232         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13233         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13234         mempcpy-ssse3-back memmove-ssse3-back.
13235         * sysdeps/x86_64/multiarch/bcopy.S: New file .
13236         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13237         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13238         * sysdeps/x86_64/multiarch/memcpy.S: New file.
13239         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13240         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13241         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13242         * sysdeps/x86_64/multiarch/memmove.c: New file.
13243         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13244         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13245         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13246         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13247         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13248         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13249         Define.
13250         (index_Fast_Copy_Backward): Define.
13251         (HAS_ARCH_FEATURE): Define.
13252         (HAS_FAST_REP_STRING): Define.
13253         (HAS_FAST_COPY_BACKWARD): Define.
13254
13255 2010-06-21  Andreas Schwab  <schwab@redhat.com>
13256
13257         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13258         Restore proper fallback handling.
13259
13260 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
13261
13262         [BZ #11701]
13263         * posix/group_member.c (__group_member): Correct checking loop.
13264
13265         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13266         OOM in getpwuid_r correctly.  Return error number when the caller
13267         should return, otherwise -1.
13268         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13269         call returning > 0 value.
13270         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13271
13272 2010-06-07  Andreas Schwab  <schwab@redhat.com>
13273
13274         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13275         libc_nonshared.a from targets in modules-names.
13276
13277 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
13278
13279         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13280         requires it.
13281
13282 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
13283
13284         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13285         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13286         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13287         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13288
13289 2010-06-02  Andreas Schwab  <schwab@redhat.com>
13290
13291         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13292
13293 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
13294
13295         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13296         and F_GETPIPE_SZ.
13297         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13298         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13299         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13300         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13301         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13302         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13303
13304 2010-06-14  Roland McGrath  <roland@redhat.com>
13305
13306         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13307
13308 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
13309
13310         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13311         __REDIRECT followed by __THROW.
13312         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13313         * posix/getopt.h (getopt): Likewise.
13314
13315 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
13316
13317         * hurd/lookup-at.c (__file_name_lookup_at): Accept
13318         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
13319         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13320         in AT_FLAGS.
13321         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13322         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13323
13324 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
13325
13326         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13327
13328 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
13329
13330         [BZ #11640]
13331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13332         Properly check family and model.
13333
13334 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
13335
13336         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13337
13338 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
13339
13340         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13341
13342 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
13343
13344         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13345         symbol reference.
13346
13347 2010-05-19  Andreas Schwab  <schwab@redhat.com>
13348
13349         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13350         symbol reference.
13351
13352 2010-05-21  Andreas Schwab  <schwab@redhat.com>
13353
13354         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13355         and internal_recvmmsg.
13356         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13357         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13358         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13359         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13360
13361         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13362         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13363         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13364
13365 2010-05-20  Andreas Schwab  <schwab@redhat.com>
13366
13367         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13368
13369 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
13370
13371         POWER7 optimizations.
13372         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13373         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13374
13375 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
13376
13377         * version.h: Update for 2.13 development version.
13378
13379 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
13380
13381         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13382         exceptions.  Return 0.
13383
13384 2010-05-07  Roland McGrath  <roland@redhat.com>
13385
13386         * elf/ldconfig.c (main): Add a const.
13387
13388 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
13389
13390         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13391         (args_options): Add no-idn option.
13392         (ahosts_keys_int): Add idn_flags to ai_flags.
13393         (parse_option): Handle 'i' option to clear idn_flags.
13394
13395         * malloc/malloc.c (_int_free): Possible race in the most recently
13396         added check.  Only act on the data if no current modification
13397         happened.
13398
13399 See ChangeLog.17 for earlier changes.