]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix strspn warning with -Wconversion
[thirdparty/glibc.git] / ChangeLog
1 2012-05-09 Andreas Jaeger <aj@suse.de>
2
3 [BZ #14083]
4 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6 -Wconversion warning.
7 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8 Likewise.
9
10 2012-05-09 Joseph Myers <joseph@codesourcery.com>
11
12 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13 == 0.
14 (LC_ALL): Use macro-int-constant.
15 (LC_COLLATE): Likewise.
16 (LC_CTYPE): Likewise.
17 (LC_MESSAGES): Likewise.
18 (LC_MONETARY): Likewise.
19 (LC_NUMERIC): Likewise.
20 (LC_TIME): Likewise.
21 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25 Specify type.
26 [C99-based standards] (float_t): Expect type.
27 [C99-based standards] (double_t): Expect type.
28 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29 type.
30 [C99-based standards] (HUGE_VALL): Likewise.
31 [C99-based standards] (INFINITY): Likewise.
32 [C99-based standards] (NAN): Likewise.
33 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34 [C99-based standards] (FP_NAN): Likewise.
35 [C99-based standards] (FP_NORMAL): Likewise.
36 [C99-based standards] (FP_SUBNORMAL): Likewise.
37 [C99-based standards] (FP_ZERO): Likewise.
38 [C99-based standards] (FP_FAST_FMA): Use
39 optional-macro-int-constant. Specify type. Require == 1.
40 [C99-based standards] (FP_FAST_FMAF): Likewise.
41 [C99-based standards] (FP_FAST_FMAL): Likewise.
42 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43 [C99-based standards] (FP_ILOGBNAN): Likewise.
44 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45 Specify type.
46 [C99-based standards] (MATH_ERREXCEPT): Likewise.
47 [C99-based standards] (math_errhandling): Specify type.
48 [ISO99 || ISO11] (signgam): Do not allow.
49 [non-C99-based standards] (copysignf): Do not allow.
50 [non-C99-based standards] (exp2f): Likewise.
51 [non-C99-based standards] (log2f): Likewise.
52 [non-C99-based standards] (modff): Allow.
53 [non-C99-based standards] (erff): Do not allow.
54 [non-C99-based standards] (erfcf): Likewise.
55 [non-C99-based standards] (gammaf): Likewise.
56 [non-C99-based standards] (hypotf): Likewise.
57 [non-C99-based standards] (j0f): Likewise.
58 [non-C99-based standards] (j1f): Likewise.
59 [non-C99-based standards] (jnf): Likewise.
60 [non-C99-based standards] (lgammaf): Likewise.
61 [non-C99-based standards] (tgammaf): Likewise.
62 [non-C99-based standards] (y0f): Likewise.
63 [non-C99-based standards] (y1f): Likewise.
64 [non-C99-based standards] (ynf): Likewise.
65 [non-C99-based standards] (isnanf): Likewise.
66 [non-C99-based standards] (acoshf): Likewise.
67 [non-C99-based standards] (asinhf): Likewise.
68 [non-C99-based standards] (atanhf): Likewise.
69 [non-C99-based standards] (cbrtf): Likewise.
70 [non-C99-based standards] (expm1f): Likewise.
71 [non-C99-based standards] (ilogbf): Likewise.
72 [non-C99-based standards] (log1pf): Likewise.
73 [non-C99-based standards] (logbf): Likewise.
74 [non-C99-based standards] (nextafterf): Likewise.
75 [non-C99-based standards] (remainderf): Likewise.
76 [non-C99-based standards] (rintf): Likewise.
77 [non-C99-based standards] (scalbf): Likewise.
78 [non-C99-based standards] (copysignl): Likewise.
79 [non-C99-based standards] (exp2l): Likewise.
80 [non-C99-based standards] (log2l): Likewise.
81 [non-C99-based standards] (modfl): Allow.
82 [non-C99-based standards] (erfl): Do not allow.
83 [non-C99-based standards] (erfcl): Likewise.
84 [non-C99-based standards] (gammal): Likewise.
85 [non-C99-based standards] (hypotl): Likewise.
86 [non-C99-based standards] (j0l): Likewise.
87 [non-C99-based standards] (j1l): Likewise.
88 [non-C99-based standards] (jnl): Likewise.
89 [non-C99-based standards] (lgammal): Likewise.
90 [non-C99-based standards] (tgammal): Likewise.
91 [non-C99-based standards] (y0l): Likewise.
92 [non-C99-based standards] (y1l): Likewise.
93 [non-C99-based standards] (ynl): Likewise.
94 [non-C99-based standards] (isnanl): Likewise.
95 [non-C99-based standards] (acoshl): Likewise.
96 [non-C99-based standards] (asinhl): Likewise.
97 [non-C99-based standards] (atanhl): Likewise.
98 [non-C99-based standards] (cbrtl): Likewise.
99 [non-C99-based standards] (expm1l): Likewise.
100 [non-C99-based standards] (ilogbl): Likewise.
101 [non-C99-based standards] (log1pl): Likewise.
102 [non-C99-based standards] (logbl): Likewise.
103 [non-C99-based standards] (nextafterl): Likewise.
104 [non-C99-based standards] (remainderl): Likewise.
105 [non-C99-based standards] (rintl): Likewise.
106 [non-C99-based standards] (scalbl): Likewise.
107 [ISO || ISO99 || ISO11] (*_t): Do not allow.
108 [non-C99-based standards] (FP_*): Do not allow.
109 [C99-based standards] (FP_*): Change to
110 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
111 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
112 allow.
113 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
114 (SIG_ERR): Likewise.
115 [X/Open-based standards] (SIG_HOLD): Likewise.
116 (SIG_IGN): Likewise.
117 (SIGABRT): Use macro-int-constant. Specify type. Require
118 positive value.
119 (SIGFPE): Likewise.
120 (SIGILL): Likewise.
121 (SIGINT): Likewise.
122 (SIGSEGV): Likewise.
123 (SIGTER): Likewise.
124 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
125 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
126 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
127 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
128 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
129 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
130 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
131 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
132 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
133 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
134 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
135 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
136 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
137 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
138 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
139 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
140 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
141 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
142 [X/Open-based standards] (SIGTRAP): Likewise.
143 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
144 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
145 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
146 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
147 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
148 allow.
149
150 2012-05-08 Ian Wienand <ianw@vmware.com>
151
152 [BZ #14080]
153 * time/tzset.c (__tzset_parse_tz): Update default rules for
154 daylight time changes in the Energy Policy Act of 2005.
155
156 2012-05-09 Andreas Jaeger <aj@suse.de>
157
158 [BZ #13983]
159 * elf/ldconfig.c (parse_conf): Change string to make clear that
160 ldconfig only issued a warning if ld.so.conf does not exist.
161
162 2012-05-08 David S. Miller <davem@davemloft.net>
163
164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
165 movxtod instead of popping the value on the stack.
166
167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
168
169 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
170
171 * config.h.in: Add HAVE_ARM_PCS_VFP.
172
173 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
174
175 [BZ #13979]
176 * include/features.h: Warn if user requests __FORTIFY_SOURCE
177 checking but the checks are disabled for any reason.
178
179 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
180
181 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
182 and ELF64_R_TYPE with ELFW(R_TYPE).
183
184 2012-05-08 Joseph Myers <joseph@codesourcery.com>
185
186 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
187 (ulimit): Likewise.
188
189 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
190 (settimeofday): Likewise.
191
192 2012-05-08 Mike Frysinger <vapier@gentoo.org>
193
194 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
195 a struct th_u2 inside the union, and move tu_block/tu_code into
196 a new th_u3 union of tu_block/tu_code inside of that. Move
197 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
198 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
199 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
200 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
201 (th_stuff): Change to th_u1.tu_stuff.
202 (th_data): Define.
203 (th_msg): Change to th_u1.th_u2.tu_data.
204
205 2012-05-07 David S. Miller <davem@davemloft.net>
206
207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
208
209 [BZ #14074]
210 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
211 (SETUP_PIC_REG): Use it.
212 (SETUP_PIC_REG_LEAF): Use it.
213
214 2012-05-07 Joseph Myers <joseph@codesourcery.com>
215
216 [BZ #13885]
217 [BZ #13923]
218 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
219 USE_AS_EXPM1L.
220 (EXPL_FINITE): Likewise.
221 (FLDLOG): Likewise.
222 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
223 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
224 e_expl.S.
225 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
226 USE_AS_EXPM1L.
227 (EXPL_FINITE): Likewise.
228 (FLDLOG): Likewise.
229 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
230 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
231 e_expl.S.
232 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
233 test of -max_value argument for long double.
234 * sysdeps/i386/fpu/libm-test-ulps: Update.
235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
236
237 2012-05-06 David S. Miller <davem@davemloft.net>
238
239 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
240 quad soft-float symbols whose references which are compiler
241 generated.
242 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
243
244 2012-05-06 Joseph Myers <joseph@codesourcery.com>
245
246 [BZ #13884]
247 [BZ #13914]
248 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
249 USE_AS_EXP10L.
250 (EXPL_FINITE): Likewise.
251 (FLDLOG): Likewise.
252 (c0): Likewise.
253 (c1): Likewise.
254 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
255 Adjust comments for base varying.
256 (__expl_finite): Change alias to EXPL_FINITE.
257 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
258 e_expl.S.
259 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
260 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
261 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
262 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
263 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
264 USE_AS_EXP10L.
265 (EXPL_FINITE): Likewise.
266 (FLDLOG): Likewise.
267 (c0): Likewise.
268 (c1): Likewise.
269 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
270 Adjust comments for base varying.
271 (__expl_finite): Change alias to EXPL_FINITE.
272 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
273 tests for bugs.
274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
275
276 [BZ #14064]
277 * math/libm-test.inc (check_float_internal): Correct ulp
278 calculation for subnormal expected results.
279
280 2012-05-06 Andreas Jaeger <aj@suse.de>
281
282 * Makeconfig (+math-flags): New, set to -frounding-math.
283 (+cflags): Add +math-flags so that all of glibc gets compiled with
284 it.
285
286 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
287
288 2012-05-05 Joseph Myers <joseph@codesourcery.com>
289
290 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
291 Disable one test.
292
293 [BZ #13787]
294 [BZ #13922]
295 [BZ #14036]
296 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
297 (__ieee754_expl): Allow for and saturate large arguments.
298 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
299 (u_threshold): Likewise.
300 (__exp): Call __ieee754_exp before checking for overflow and
301 underflow.
302 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
303 (u_threshold): Likewise.
304 (__expf): Call __ieee754_expf before checking for overflow and
305 underflow.
306 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
307 (u_threshold): Likewise.
308 (__expl): Call __ieee754_expl before checking for overflow and
309 underflow.
310 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
311 (__ieee754_expl): Allow for and saturate large arguments.
312 * math/libm-test.inc (exp_test): Add another test. Do not allow
313 missing overflow exception on overflow.
314 (expm1_test): Do not allow missing overflow exception on overflow.
315
316 * sysdeps/i386/fpu/e_expl.c: Move to ...
317 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
318 rather than using inline asm.
319 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
320 * sysdeps/x86_64/fpu/e_expl.S: Copy from
321 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
322
323 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
324 (nice): Likewise.
325 (poll): Likewise.
326 (signal): Likewise.
327 (time): Likewise.
328 (times): Likewise.
329
330 2012-05-04 Joseph Myers <joseph@codesourcery.com>
331
332 * sysdeps/unix/syscalls.list (adjtime): Add entry from
333 sysdeps/unix/common/syscalls.list.
334 (fchmod): Likewise.
335 (fchown): Likewise.
336 (ftruncate): Likewise.
337 (getrusage): Likewise.
338 (gettimeofday): Likewise.
339 (setpgid): Likewise.
340 (setregid): Likewise.
341 (setreuid): Likewise.
342 (sigaction): Likewise.
343 (truncate): Likewise.
344 (vhangup): Likewise.
345 * sysdeps/unix/common/syscalls.list: Remove file.
346 * sysdeps/unix/bsd/Implies: Don't include unix/common.
347 * sysdeps/unix/sysv/linux/Implies: Likewise.
348
349 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
350
351 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
353 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
354 Moved to ...
355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
356 Here.
357 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
358 to ...
359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
360 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
361 to ...
362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
363 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
364 to ...
365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
366 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
367 to ...
368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
369 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
370 to ...
371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
372 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
373 to ...
374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
375 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
376 to ...
377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
378 Here.
379 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
380 to ...
381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
382 Here.
383 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
384 to ...
385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
386 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
387 Moved to ...
388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
389 Here.
390 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
391 to ...
392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
393
394 2012-05-04 Joseph Myers <joseph@codesourcery.com>
395
396 * sysdeps/unix/common/bits/dirent.h: Remove file.
397 * sysdeps/unix/common/bits/fcntl.h: Likewise.
398
399 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
400 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
401 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
402 * sysdeps/unix/bsd/isatty.c: Likewise.
403 * sysdeps/unix/bsd/tcdrain.c: Likewise.
404 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
405 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
406
407 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
408
409 [BZ #13563]
410 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
411 long double comparison inaccuracies.
412 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
414
415 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
416
417 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
418 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
419
420 2012-05-04 Joseph Myers <joseph@codesourcery.com>
421
422 [BZ #14049]
423 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
424 nonzero digits before rounding a hex value.
425 * stdlib/tst-strtod.c (tests): Add another test.
426
427 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
428
429 * sysdeps/s390/fpu/libm-test-ulps: Update.
430
431 2012-05-03 Andreas Jaeger <aj@suse.de>
432
433 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
434 does not get optimized out.
435 (malloc_opt_barrier): New.
436
437 2012-05-03 Andreas Jaeger <aj@suse.de>
438 Roland McGrath <roland@hack.frob.com>
439
440 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
441 intermediate file deletion.
442 (generated): Add .symlist files.
443
444 2012-05-03 Joseph Myers <joseph@codesourcery.com>
445
446 [BZ #13775]
447 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
448 Redirect under this condition.
449 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
450 [__USE_GNU] (__dprintf_chk): Not under this condition.
451 [__USE_GNU] (__vdprintf_chk): Likewise.
452 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
453 under this condition.
454 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
455 [__USE_XOPEN2K8] (dprintf): Define under this condition.
456 [__USE_XOPEN2K8] (vdprintf): Likewise.
457 [__USE_GNU] (__dprintf_chk): Not under this condition.
458 [__USE_GNU] (__vdprintf_chk): Likewise.
459 [__USE_GNU] (dprintf): Likewise.
460 [__USE_GNU] (vdprintf): Likewise.
461
462 2012-05-03 Roland McGrath <roland@hack.frob.com>
463
464 * elf/Makefile (common-generated): Set this instead of generated for
465 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
466 $(all-built-dso)-derived lists.
467
468 2012-05-03 Andreas Jaeger <aj@suse.de>
469
470 * sysdeps/i386/fpu/libm-test-ulps: Update.
471
472 * FAQ: Removed.
473 * FAQ.in: Likewise.
474 * scripts/gen-FAQ.pl: Likewise.
475 * manual/install.texi (Installation): Point to online location of
476 FAQ.
477 * Makefile (files-for-dist): Remove FAQ.
478 (FAQ): Remove.
479
480 2012-05-02 Allan McRae <allan@archlinux.org>
481
482 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
483 (LDFLAGS-reldepmod5.so): Likewise.
484 (LDFLAGS-reldep6mod1.so): Likewise.
485 (LDFLAGS-reldep6mod4.so): Likewise.
486 (LDFLAGS-reldep8mod3.so): Likewise.
487 (LDFLAGS-unload4mod1.so): Likewise.
488 (LDFLAGS-unload4mod2.so): Likewise.
489 (LDFLAGS-tst-initorder): Likewise.
490 (LDFLAGS-tst-initordera2.so): Likewise.
491 (LDFLAGS-tst-initordera3.so): Likewise.
492 (LDFLAGS-tst-initordera4.so): Likewise.
493 (LDFLAGS-tst-initorderb2.so): Likewise.
494 (LDFLAGS-noload): Likewise.
495 (LDFLAGS-next): Likewise.
496 (LDFLAGS-order2mod1.so): Likewise.
497 (LDFLAGS-order2mod2.so): Likewise.
498 (LDFLAGS-tst-initorder2): Likewise.
499 (LDFLAGS-tst-initorder2a.so): Likewise.
500 (LDFLAGS-tst-initorder2b.so): Likewise.
501 (LDFLAGS-tst-initorder2c.so): Likewise.
502 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
503
504 2012-05-02 David S. Miller <davem@davemloft.net>
505
506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
507
508 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
509
510 [BZ #14055]
511 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
512
513 2012-05-02 Andreas Jaeger <aj@suse.de>
514
515 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
516 since we manipulate rounding mode.
517 (CPPFLAGS-test-idouble.c): Likewise.
518 (CPPFLAGS-test-ifloat.c): Likewise.
519 (CFLAGS-test-ldouble.c): Likewise.
520 (CFLAGS-test-double.c): Likewise.
521 (CFLAGS-test-float.c): Likewise.
522 (CFLAGS-test-misc.c): Likewise.
523 (CFLAGS-test-test-fenv.c): Likewise.
524
525 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
526
527 [BZ #2550]
528 [BZ #2570]
529 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
530 comparisons to determine direction to adjust input.
531
532 2012-05-01 Roland McGrath <roland@hack.frob.com>
533
534 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
535 output to the target.
536
537 * scripts/localplt.awk: New file.
538 * elf/Makefile ($(objpfx)check-localplt): Target removed.
539 (check-localplt-CFLAGS): Variable removed.
540 ($(all-built-dso:=.jmprel)): New static pattern rule.
541 (generated): Add those targets.
542 (localplt-built-dso): New variable.
543 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
544
545 * elf/check-localplt.c: File removed.
546
547 * scripts/check-execstack.awk: New file.
548 * elf/Makefile ($(objpfx)check-execstack): Target removed.
549 (check-execstack-CFLAGS): Variable removed.
550 ($(objpfx)check-execstack.h): Target removed.
551 ($(objpfx)execstack-default): New target.
552 (generated): Add that instead of check-execstack.h.
553 ($(all-built-dso:=.phdr)): New static pattern rule.
554 (generated): Add those targets.
555 * elf/check-execstack.c: File removed.
556
557 * scripts/check-textrel.awk: New file.
558 * elf/Makefile ($(objpfx)check-textrel): Target removed.
559 (check-textrel-CFLAGS): Variable removed.
560 (all-built-dso): Use := to define.o
561 ($(all-built-dso:=.dyn)): New static pattern rule.
562 (generated): Add those targets.
563 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
564 * config.make.in (READELF): New substituted variable.
565 * elf/check-textrel.c: File removed.
566
567 2012-05-01 Joseph Myers <joseph@codesourcery.com>
568
569 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
570 allow.
571 * conform/data/ctype.h-data [C99-based standards] (isblank):
572 Expect function.
573 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
574 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
575 [ISO || ISO99 || ISO11] (*_t): Do not allow.
576 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
577 Specify type. Require positive value.
578 (EILSEQ): Likewise.
579 (ERANGE): Likewise.
580 [ISO || POSIX] (EILSEQ): Do not expect.
581 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
582 Specify type. Require positive value.
583 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
584 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
585 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
586 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
587 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
588 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
589 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
590 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
591 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
592 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
593 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
594 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
595 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
596 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
597 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
598 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
599 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
600 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
601 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
602 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
603 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
604 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
605 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
606 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
607 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
608 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
609 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
610 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
611 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
612 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
613 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
614 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
615 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
616 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
617 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
618 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
619 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
620 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
621 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
622 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
623 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
624 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
625 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
626 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
627 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
628 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
629 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
630 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
631 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
632 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
633 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
634 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
635 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
636 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
637 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
638 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
639 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
640 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
641 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
642 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
643 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
644 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
645 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
646 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
647 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
648 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
649 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
650 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
651 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
652 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
653 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
654 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
655 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
656 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
657 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
658 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
659 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
660 Require >= 2.
661 (FLT_ROUNDS): Expect as macro, not constant.
662 (FLT_MANT_DIG): Use macro-int-constant.
663 (DBL_MANT_DIG): Likewise.
664 (LDBL_MANT_DIG): Likewise.
665 (FLT_DIG): Likewise.
666 (DBL_DIG): Likewise.
667 (LDBL_DIG): Likewise.
668 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
669 (DBL_MIN_EXP): Likewise.
670 (LDBL_MIN_EXP): Likewise.
671 (FLT_MAX_EXP): Use macro-int-constant.
672 (DBL_MAX_EXP): Likewise.
673 (LDBL_MAX_EXP): Likewise.
674 (FLT_MAX_10_EXP): Likewise.
675 (DBL_MAX_10_EXP): Likewise.
676 (LDBL_MAX_10_EXP): Likewise.
677 (FLT_MAX): Use macro-constant.
678 (DBL_MAX): Likewise.
679 (LDBL_MAX): Likewise.
680 (FLT_EPSILON): Use macro-constant. Give upper bound.
681 (DBL_EPSILON): Likewise.
682 (LDBL_EPSILON): Likewise.
683 (FLT_MIN): Likewise.
684 (DBL_MIN): Likewise.
685 (LDBL_MIN): Likewise.
686 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
687 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
688 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
689 [ISO11] (FLT_HAS_SUBNORM): Likewise.
690 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
691 [ISO11] (DBL_DECIMAL_DIG): Likewise.
692 [ISO11] (FLT_DECIMAL_DIG): Likewise.
693 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
694 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
695 [ISO11] (FLT_TRUE_MIN): Likewise.
696 [ISO11] (LDBL_TRUE_MIN): Likewise.
697 [ISO || ISO99 || ISO11] (*_t): Do not allow.
698 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
699 (SCHAR_MIN): Use macro-int-constant. Specify type.
700 (SCHAR_MAX): Likewise.
701 (UCHAR_MAX): Likewise.
702 (CHAR_MIN): Likewise.
703 (CHAR_MAX): Likewise.
704 (MB_LEN_MAX): Use macro-int-constant.
705 (SHRT_MIN): Use macro-int-constant. Specify type.
706 (SHRT_MAX): Likewise.
707 (USHRT_MAX): Likewise.
708 (INT_MAX): Likewise.
709 (INT_MIN): Use macro-int-constant. Specify type. Make upper
710 bound negative.
711 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
712 bound with "U".
713 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
714 bound with "L".
715 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
716 bound negative. Suffix upper bound with "L".
717 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
718 bound with "UL".
719 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
720 Specify type.
721 [C99-based standards] (LLONG_MAX): Likewise.
722 [C99-based standards] (ULLONG_MAX): Likewise.
723 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
724 == 0.
725 [ISO11] (max_align_t): Require type.
726 [ISO || ISO99 || ISO11] (*_t): Do not allow.
727
728 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
729 from $CFLAGS, without defining away __attribute__ calls.
730 (checknamespace): Use $CFLAGS_namespace.
731
732 * conform/conformtest.pl (@keywords): Only include C99 keywords
733 for standards based on C99 or C11.
734
735 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
736 Disable tests.
737 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
738 UNIX98]: Likewise.
739
740 * conform/conformtest.pl: Handle "macro-int-constant" and test for
741 usability of symbols in #if.
742
743 * conform/conformtest.pl: If macro or constant types start
744 "promoted:", expect the symbol to be of the following type
745 promoted by the integer promotions.
746
747 * conform/conformtest.pl: Parse all "constant" and "macro" lines
748 in one place. Also handle "macro-constant".
749
750 * conform/conformtest.pl: Only accept expected macro values with
751 "==". Parse all "macro" lines in one place.
752 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
753
754 * conform/conformtest.pl: Handle braced types on "constant" lines
755 instead of handling "typed-constant".
756 * conform/data/signal.h-data: Use "constant" instead of
757 "typed-constant".
758
759 * conform/conformtest.pl: Handle "optional-" at start of lines in
760 one place rather than duplicating several cases. Handle each
761 format of "macro" line with initial "optional-".
762
763 * conform/conformtest.pl: Only accept expected constant or
764 optional-constant values with "==". Parse all "constant" lines in
765 one place. Parse all "optional-constant" lines in one place.
766 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
767 * conform/data/fmtmsg.h-data: Likewise.
768 * conform/data/netinet/in.h-data: Likewise.
769 * conform/data/tar.h-data: Likewise.
770 * conform/data/limits.h-data: Use "==" form on "constant" and
771 "optional-constant" lines.
772
773 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
774 Use -std=c99 for XOPEN2K.
775 (@knownproblems): Remove.
776 (newtoken): Don't check %isknown.
777
778 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
779 Do not expect macro.
780 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
781 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
782 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
783 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
784 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
785 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
786 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
787 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
788 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
789 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
790 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
791 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
792 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
793 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
794 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
795 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
796 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
797 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
798 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
799 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
800 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
801 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
802 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
803 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
804 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
805 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
806 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
807 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
808 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
809 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
810 [XPG3] (acosh): Likewise.
811 [XPG3] (asinh): Likewise.
812 [XPG3] (atanh): Likewise.
813 [XPG3] (cbrt): Likewise.
814 [XPG3] (expm1): Likewise.
815 [XPG3] (ilogb): Likewise.
816 [XPG3] (log1p): Likewise.
817 [XPG3] (logb): Likewise.
818 [XPG3] (nextafter): Likewise.
819 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
820 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
821 [XPG3] (remainder): Likewise.
822 [XPG3] (rint): Likewise.
823 [XPG3 || XPG4 || UNIX98] (round): Likewise.
824 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
825 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
826 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
827 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
828 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
829 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
830 [UNIX98 || XOPEN2K] (scalb): Expect.
831 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
832 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
833 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
834 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
835 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
836 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
837 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
838 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
839 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
840 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
841 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
842 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
843 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
844 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
845 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
846 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
847 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
848 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
849 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
850 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
851 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
852 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
853 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
854 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
855 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
856 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
857 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
858 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
859 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
860 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
861 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
862 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
863 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
864 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
865 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
866 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
867 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
868 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
869 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
870 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
871 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
872 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
873 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
874 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
875 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
876 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
877 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
878 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
879 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
880 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
881 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
882 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
883 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
884 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
885 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
886 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
887 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
888 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
889 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
890 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
891 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
892 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
893 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
894 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
895 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
896 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
897 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
898 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
899 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
900 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
901 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
902 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
903 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
904 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
905 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
906 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
907 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
908 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
909 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
910 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
911 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
912 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
913 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
914 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
915 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
916 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
917 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
918 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
919 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
920 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
921 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
922 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
923 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
924 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
925 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
926 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
927 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
928 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
929 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
930 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
931 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
932 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
933 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
934 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
935 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
936 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
937 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
938 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
939 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
940 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
941 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
942 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
943 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
944 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
945 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
946 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
947 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
948 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
949 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
950 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
951 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
952 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
953 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
954 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
955 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
956 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
957 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
958 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
959 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
960 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
961 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
962 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
963 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
964 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
965 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
966 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
967 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
968
969 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
970 _XOPEN_SOURCE_EXTENDED for XPG4.
971
972 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
973
974 * Makeconfig (localtime): Remove variable.
975 (inst_localtime-file): Likewise.
976
977 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
978
979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
980 Update.
981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
982 Update.
983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
984 Update.
985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
986 Update.
987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
988 Update.
989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
990 Update.
991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
992 Update.
993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
994 Update.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
996 Update.
997
998 2012-05-01 Joseph Myers <joseph@codesourcery.com>
999
1000 [BZ #2550]
1001 [BZ #2570]
1002 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1003 comparisons to determine direction to adjust input.
1004 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1005 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1006 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1007 Likewise.
1008 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1009 Likewise.
1010 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1011 Likewise.
1012 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1013 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1014 Likewise.
1015 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1016 Likewise.
1017 * math/libm-test.inc (nexttoward_test): Add more tests.
1018
1019 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1020
1021 [BZ #14040]
1022 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1023 in version GLIBC_2.1, not GLIBC_2.0.
1024 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1025 Likewise.
1026
1027 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1028
1029 [BZ #13942]
1030 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1031 (1 - x) * (1 + x).
1032 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1033 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1034 * math/libm-test.inc (acos_test): Add more tests.
1035 (asin_test): Likewise.
1036 * sysdeps/i386/fpu/libm-test-ulps: Update.
1037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1038
1039 [BZ #14034]
1040 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1041 of square root.
1042 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1043 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1044 * math/libm-test.inc (acos_test_tonearest): New function.
1045 (acos_test_towardzero): Likewise.
1046 (acos_test_downward): Likewise.
1047 (acos_test_upward): Likewise.
1048 (asin_test_tonearest): Likewise.
1049 (asin_test_towardzero): Likewise.
1050 (asin_test_downward): Likewise.
1051 (asin_test_upward): Likewise.
1052 (main): Call the new functions.
1053 * sysdeps/i386/fpu/libm-test-ulps: Update.
1054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1055
1056 [BZ #13884]
1057 [BZ #13924]
1058 * math/e_exp10.c: Include <float.h>.
1059 (__ieee754_exp10): Handle underflow here rather than multiplying
1060 large negative argument by M_LN10.
1061 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1062 of __ieee754_expf.
1063 * math/e_exp10l.c: Include <float.h>.
1064 (__ieee754_exp10l): Handle underflow here rather than multiplying
1065 large negative argument by M_LN10l.
1066 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1067 spurious overflow exception on underflow.
1068
1069 2012-04-29 Marek Polacek <polacek@redhat.com>
1070
1071 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1072 (__fortify_function): New macro.
1073 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1074 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1075 __extern_always_inline.
1076 * libio/bits/stdio2.h: Likewise.
1077 * libio/bits/stdio.h: Likewise.
1078 * string/string.h: Likewise.
1079 * string/bits/string3.h: Likewise.
1080 * include/stdio.h: Likewise.
1081 * stdlib/bits/stdlib.h: Likewise.
1082 * stdlib/stdlib.h: Likewise.
1083 * rt/bits/mqueue2.h: Likewise.
1084 * rt/mqueue.h: Likewise.
1085 * posix/bits/unistd.h: Likewise.
1086 * posix/unistd.h: Likewise.
1087 * io/bits/poll2.h: Likewise.
1088 * io/bits/fcntl2.h: Likewise.
1089 * io/fcntl.h: Likewise.
1090 * io/sys/poll.h: Likewise.
1091 * misc/bits/syslog.h: Likewise.
1092 * misc/bits/syslog-ldbl.h: Likewise.
1093 * misc/sys/syslog.h: Likewise.
1094 * socket/bits/socket2.h: Likewise.
1095 * socket/sys/socket.h: Likewise.
1096 * debug/tst-chk1.c: Likewise.
1097 * wcsmbs/bits/wchar2.h: Likewise.
1098 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1099 * wcsmbs/wchar.h: Likewise.
1100
1101 2012-04-29 Andreas Jaeger <aj@suse.de>
1102
1103 * Makerules (tests): Remove enable-check-abi protection.
1104 (check-abi-warn): Remove.
1105 (check-abi-%): Remove check-abi-warn usage.
1106
1107 * configure.in: Remove check-abi configure option.
1108 * configure: Regenerated.
1109 * config.make.in (enable-check-abi): Remove.
1110
1111 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1112
1113 [BZ #14033]
1114 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1115 double functions to double *_finite functions.
1116
1117 [BZ #13941]
1118 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1119 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1120 LDBL_MIN_EXP.
1121 * stdio-common/Makefile (tests): Add tst-sprintf3.
1122 * stdio-common/tst-sprintf3.c: New file.
1123
1124 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1125 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1126
1127 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1128
1129 * conform/conformtest.pl: Remove duplicate typed-constant
1130 handling.
1131
1132 2012-04-28 David S. Miller <davem@davemloft.net>
1133
1134 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1135 (check-abi-%): Remove AWK script prerequisite and explicit
1136 abilist directory.
1137 (check-abi): Rewrite to just diff the symlist with the abilist.
1138 (config-tls, config-abi-config): Delete, no longer used.
1139 (update-abi-%): Remove AWK script and explicit abilist directory.
1140 (update-abi): Rewrite to simply compare and conditionally copy the
1141 symlist and the sysdep abilist file. Remove update-abi-config
1142 checks.
1143 * abilist/ld.abilist: Remove.
1144 * abilist/libBrokenLocale.abilist: Remove.
1145 * abilist/libanl.abilist: Remove.
1146 * abilist/libcrypt.abilist: Remove.
1147 * abilist/libdl.abilist: Remove.
1148 * abilist/librt.abilist: Remove.
1149 * abilist/libthread_db.abilist: Remove.
1150 * abilist/libutil.abilist: Remove.
1151 * scripts/extract-abilist.awk: Remove.
1152 * scripts/merge-abilist.awk: Remove.
1153 * sysdeps/generic/libcidn.abilist: New file.
1154 * sysdeps/generic/libnss_compat.abilist: New file.
1155 * sysdeps/generic/libnss_db.abilist: New file.
1156 * sysdeps/generic/libnss_dns.abilist: New file.
1157 * sysdeps/generic/libnss_files.abilist: New file.
1158 * sysdeps/generic/libnss_hesiod.abilist: New file.
1159 * sysdeps/generic/libnss_nis.abilist: New file.
1160 * sysdeps/generic/libnss_nisplus.abilist: New file.
1161 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1162 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1163 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1164 file.
1165 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1166 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1167 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1168 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1169 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1170 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1171 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1172 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1173 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1174 file.
1175 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1176 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1177 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1178 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1179 file.
1180 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1181 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1182 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1183 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1184 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1185 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1186 file.
1187 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1188 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1189 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1190 file.
1191 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1193 New file.
1194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1195 New file.
1196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1197 New file.
1198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1199 New file.
1200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1201 New file.
1202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1203 New file.
1204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1205 New file.
1206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1207 New file.
1208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1209 New file.
1210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1211 New file.
1212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1213 New file.
1214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1215 New file.
1216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1217 New file.
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1219 file.
1220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1221 New file.
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1223 New file.
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1225 file.
1226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1227 New file.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1229 New file.
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1231 file.
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1233 New file.
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1235 New file.
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1237 New file.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1239 New file.
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1241 New file.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1243 New file.
1244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1246 file.
1247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1248 New file.
1249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1250 file.
1251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1252 file.
1253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1254 file.
1255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1256 file.
1257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1258 file.
1259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1260 New file.
1261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1262 file.
1263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1264 file.
1265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1266 New file.
1267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1268 file.
1269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1271 file.
1272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1273 New file.
1274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1275 file.
1276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1277 file.
1278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1279 file.
1280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1281 file.
1282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1283 file.
1284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1285 New file.
1286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1287 file.
1288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1289 file.
1290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1291 New file.
1292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1293 file.
1294 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1295 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1296 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1297 file.
1298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1299 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1300 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1301 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1302 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1303 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1304 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1305 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1306 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1307 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1310 file.
1311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1312 New file.
1313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1314 file.
1315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1316 file.
1317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1318 file.
1319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1320 file.
1321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1322 file.
1323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1324 New file.
1325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1326 New file.
1327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1328 file.
1329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1330 New file.
1331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1332 file.
1333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1335 file.
1336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1337 New file.
1338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1339 file.
1340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1341 file.
1342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1343 file.
1344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1345 file.
1346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1347 file.
1348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1349 New file.
1350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1351 New file.
1352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1353 file.
1354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1355 New file.
1356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1357 file.
1358
1359 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1360
1361 * conform/conformtest.pl: Fix typo in handling typed-constant from
1362 allow-header.
1363
1364 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1365
1366 * README: Cut down references to pre-2.6 Linux kernels and
1367 Linuxthreads. Update lists of configurations in libc and ports
1368 and sort alphabetically. Say "or newer" with Linux kernel version
1369 requirements.
1370
1371 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1372
1373 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1374
1375 [BZ #887]
1376 * math/libm-test.inc (logb_test_downward): New test to expose
1377 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1378 rounding mode.
1379
1380 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1381
1382 [BZ #14027]
1383 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1384 to be done.
1385 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1386 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1387
1388 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1389
1390 * sysdeps/unix/i386/brk.S: Remove file.
1391 * sysdeps/unix/i386/dl-brk.S: Likewise.
1392 * sysdeps/unix/i386/pipe.S: Likewise.
1393 * sysdeps/unix/i386/sigreturn.S: Likewise.
1394 * sysdeps/unix/i386/syscall.S: Likewise.
1395 * sysdeps/unix/i386/vfork.S: Likewise.
1396 * sysdeps/unix/i386/wait.S: Likewise.
1397
1398 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1399 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1400
1401 * configure.in (arm*-none*): Do not allow without
1402 --enable-hacker-mode.
1403 (netbsd*): Remove case setting base_os.
1404 (386bsd*): Likewise.
1405 (freebsd*): Likewise.
1406 (bsdi*): Likewise.
1407 (osf*): Likewise.
1408 (sunos*): Likewise.
1409 (ultrix*): Likewise.
1410 (newsos*): Likewise.
1411 (dynix*): Likewise.
1412 (*bsd*): Likewise.
1413 (sysv*): Likewise.
1414 (isc*): Likewise.
1415 (esix*): Likewise.
1416 (sco*): Likewise.
1417 (minix*): Likewise.
1418 (irix4*): Likewise.
1419 (irix6*): Likewise.
1420 (solaris[2-9]*): Likewise.
1421 (none): Likewise.
1422 * configure: Regenerated.
1423
1424 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1425
1426 [BZ #11521]
1427 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1428 overflow or cancellation in calculating denominator.
1429 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1430 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1431 down expression to avoid unexpected rounding in newer GCCs.
1432 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1433
1434 2012-04-26 David S. Miller <davem@davemloft.net>
1435
1436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1437 long-double compat symbols.
1438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1451
1452 2012-04-25 David S. Miller <davem@davemloft.net>
1453
1454 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1455 HWCAP_* values only after the memory barriers have been defined.
1456 (atomic_full_barrier): Define.
1457 (atomic_read_barrier): Define.
1458 (atomic_write_barrier): Define.
1459
1460 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1461
1462 * shlib-versions: Add libgcc_s version information.
1463 * sysdeps/generic/libgcc_s.h: Remove.
1464 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1465 libgcc_s.h.
1466 * sysdeps/gnu/unwind-resume.c: Likewise.
1467 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1468
1469 2012-04-25 David S. Miller <davem@davemloft.net>
1470
1471 * sysdeps/unix/sparc/brk.S: Delete.
1472 * sysdeps/unix/sparc/dl-brk.S: Delete.
1473 * sysdeps/unix/sparc/pipe.S: Delete.
1474 * sysdeps/unix/sparc/sysdep.S: Delete.
1475 * sysdeps/unix/sparc/sysdep.h: Delete.
1476 * sysdeps/unix/sparc/vfork.S: Delete.
1477 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1478 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1479 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1480 ret_ERRVAL, r0, r1, MOVE): Define.
1481 (JUMPTARGET): Remove.
1482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1483 sysdeps/unix/sparc/sysdep.h
1484 (ENTRY, END): Remove.
1485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1486
1487 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1488
1489 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1490 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1491 -DIS_IN_build.
1492
1493 * timezone/README: Update upstream location and email address for
1494 tzcode and tzdata.
1495 * timezone/zdump.c: Update from tzcode 2012b.
1496 * timezone/zic.c: Likewise.
1497
1498 * configure.in (libc_cv_as_needed): Remove test.
1499 * configure: Regenerated.
1500 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1501 conditional definition.
1502 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1503 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1504 * config.make.in (have-as-needed): Remove variable.
1505
1506 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1507 Paul Pluzhnikov <ppluzhnikov@google.com>
1508
1509 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1510 strings correctly.
1511
1512 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1513
1514 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1515 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1516 * sysdeps/sh/strlen.S: Likewise.
1517
1518 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1519
1520 * sysdeps/unix/fork.S: Remove file.
1521 * sysdeps/unix/i386/fork.S: Likewise.
1522 * sysdeps/unix/sparc/fork.S: Likewise.
1523
1524 * sysdeps/unix/system.c: Remove file.
1525 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1526
1527 * sysdeps/unix/getegid.S: Remove file.
1528 * sysdeps/unix/geteuid.S: Likewise.
1529
1530 2012-04-24 Roland McGrath <roland@hack.frob.com>
1531
1532 * scripts/check-localplt.awk: New file.
1533 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1534 of diff.
1535 * scripts/data/localplt-generic.data: Add a comment.
1536
1537 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1538 NODE when __dir_mkfile failed.
1539 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1540 Reported by Ludovic Courtès <ludo@gnu.org>.
1541
1542 2012-04-24 Andreas Jaeger <aj@suse.de>
1543
1544 * Makerules (common-clean): Also remove gen-as-const-headers
1545 files.
1546
1547 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1548
1549 * Makerules (native-compile): Do not change working directory for
1550 build. Use $(OUTPUT_OPTION) in command.
1551 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1552
1553 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1554
1555 [BZ #13886]
1556 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1557 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1558 * math/libm-test.inc (floor_test): Add more tests.
1559 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1560
1561 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1562
1563 * sysdeps/unix/getdents.c: Remove file.
1564 * sysdeps/unix/sysv/getdents.c: Likewise.
1565 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1566
1567 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1568 sysdeps/unix/mman/syscalls.list.
1569 (mmap): Likewise.
1570 (mprotect): Likewise.
1571 (msync): Likewise.
1572 (munmap): Likewise.
1573 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1574 * sysdeps/unix/mman/syscalls.list: Remove.
1575 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1576
1577 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1578 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1579 * configure: Regenerated.
1580 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1581 $(libgcc_s_suffix).
1582 * config.make.in (libgcc_s_suffix): Remove variable.
1583
1584 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1585
1586 * sysdeps/unix/sysv/gethostname.c: Move to ...
1587 * sysdeps/posix/gethostname.c: ... here.
1588
1589 * sysdeps/unix/execve.S: Remove file.
1590
1591 * sysdeps/unix/_exit.S: Remove file.
1592
1593 2012-04-23 Andreas Jaeger <aj@suse.de>
1594
1595 [BZ #13739]
1596 * manual/Makefile: Remove make dist support, there's no
1597 need for a stand-alone documentation tar ball.
1598 (TEXI2DVI): Define always, it's not in Makeconfig.
1599 (dist): Removed.
1600 (tar-it): Removed.
1601 (edition): Removed.
1602 (glibc-doc-$(edition).tar): Removed
1603 (%.Z): Removed.
1604 (%.gz): Removed.
1605 (%.uu): Removed.
1606 (ETAGS): Remove, it's in Makeconfig.
1607 (move-if-change): Remove, it's in Makeconfig.
1608
1609 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1610
1611 [BZ #13970]
1612 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1613 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1614 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1615 (strtod_l, strtof_l, strtold_l): Remove __wur.
1616 It is not necessarily an error to ignore strtol's return value.
1617 One can reliably look at the stored endptr to decide whether
1618 the number had valid syntax.
1619
1620 2012-04-21 Andreas Jaeger <aj@suse.de>
1621
1622 [BZ #13739]
1623 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1624
1625 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1626
1627 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1628 * sysdeps/unix/sysv/Versions: Remove file.
1629
1630 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1631
1632 [BZ #13927]
1633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1634
1635 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1636
1637 [BZ #7064]
1638 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1639 version from __vm86.
1640
1641 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1642
1643 * sysdeps/unix/common/lxstat.c: Remove file.
1644 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1645
1646 * sysdeps/unix/sysv/Makefile: Remove file.
1647
1648 * sysdeps/unix/sysv/direct.h: Remove file.
1649
1650 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1651 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1652 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1653 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1654 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1655 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1656 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1657
1658 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1659
1660 * sysdeps/unix/xmknod.c: Remove file.
1661 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1662
1663 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1664
1665 * sysdeps/unix/sysv/i386/time.S: Remove file.
1666
1667 * sysdeps/unix/fxstat.c: Remove file.
1668 * sysdeps/unix/xstat.c: Likewise.
1669 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1670
1671 * sysdeps/unix/sysv/sigaction.c: Remove file.
1672
1673 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1674 (sysdep_headers): Remove variable.
1675 [termio.h not in sysdep_headers] (generated): Likewise.
1676 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1677 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1678 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1679 * sysdeps/unix/sysv/tcflow.c: Likewise.
1680 * sysdeps/unix/sysv/tcflush.c: Likewise.
1681 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1682 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1683 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1684 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1685 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1686
1687 * sysdeps/unix/siglist.c: Remove file.
1688
1689 * sysdeps/unix/getppid.S: Remove file.
1690
1691 * sysdeps/unix/mkdir.c: Remove file.
1692 * sysdeps/unix/rmdir.c: Likewise.
1693
1694 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1695
1696 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1697 ERR_MAX value.
1698 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1699 errlist-compat value.
1700
1701 2012-04-18 David S. Miller <davem@davemloft.net>
1702
1703 * sysdeps/generic/memcopy.h (reg_char): Delete.
1704 * debug/strcat_chk.c: Use char, not reg_char.
1705 * debug/strcpy_chk.c: Likewise.
1706 * debug/strncat_chk.c: Likewise.
1707 * debug/strncpy_chk.c: Likewise.
1708 * string/memchr.c: Likewise.
1709 * string/memrchr.c: Likewise.
1710 * string/rawmemchr.c: Likewise.
1711 * string/strcat.c: Likewise.
1712 * string/strchr.c: Likewise.
1713 * string/strchrnul.c: Likewise.
1714 * string/strcmp.c: Likewise.
1715 * string/strcpy.c: Likewise.
1716 * string/strncat.c: Likewise.
1717 * string/strncmp.c: Likewise.
1718 * string/strncpy.c: Likewise.
1719
1720 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1721
1722 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1723 __builtin_memcopy is called when src and dest ranges are known to not
1724 overlap.
1725
1726 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1727
1728 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1729 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1730 fwd_align_merge macro call.
1731 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1732 bwd_align_merge macro call.
1733 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1734
1735 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1736
1737 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1738 bwd_align_merge macros.
1739 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1740 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1741 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1742
1743 2012-04-18 David S. Miller <davem@davemloft.net>
1744
1745 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1746
1747 2012-04-18 Andreas Jaeger <aj@suse.de>
1748
1749 [BZ# 6794]
1750 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1751 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1752 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1753
1754 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1755 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1756 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1757
1758 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1759 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1760 Adjust for changed ldbl-128 files.
1761
1762 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1763 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1764 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1765
1766 2012-04-17 David S. Miller <davem@davemloft.net>
1767
1768 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1769
1770 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1771
1772 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1773 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1774 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1775 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1776 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1777 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1778
1779 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1780
1781 [BZ #6794]
1782 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1783 * math/libm-test.inc: Add ilogb errno and exception tests.
1784 * math/w_ilogb.c: New file: ilogb wrapper.
1785 * math/w_ilogbf.c: New file: ilogbf wrapper.
1786 * math/w_ilogbl.c: New file: ilogbl wrapper.
1787 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1788 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1789 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1790 exception being thrown with 0.0 as argument.
1791 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1792 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1793 exception being thrown with 0.0 as argument.
1794 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1795 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1796 exception being thrown with 0.0 as argument.
1797 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1798 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1799 exception being thrown with 0.0 as argument.
1800 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1801 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1802 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1803 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1804 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1805 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1806 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1807 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1808 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1809
1810 2012-04-17 Petr Baudis <pasky@ucw.cz>
1811
1812 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1813 with altivec.
1814
1815 2012-04-16 Marek Polacek <polacek@redhat.com>
1816
1817 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1818
1819 2012-04-16 Marek Polacek <polacek@redhat.com>
1820
1821 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1822 operands of fdivp instruction.
1823
1824 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1825
1826 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1827 * elf/tst-auditmod3b.c: Likewise.
1828 * elf/tst-auditmod4b.c: Likewise.
1829 * elf/tst-auditmod5b.c: Likewise.
1830 * elf/tst-auditmod6b.c: Likewise.
1831 * elf/tst-auditmod6c.c: Likewise.
1832 * elf/tst-auditmod7b.c: Likewise.
1833 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1834 * sysdeps/x86_64/preconfigure.in: Likewise.
1835 * sysdeps/x86_64/preconfigure: Regenerated.
1836
1837 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1838
1839 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1840 __ILP32__.
1841
1842 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1843
1844 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1845 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1846
1847 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1848
1849 [BZ #13973]
1850 * locale/iso-639.def: Fix gl language name. Spotted by
1851 Yaron Shahrabani.
1852
1853 2012-04-12 Roland McGrath <roland@hack.frob.com>
1854
1855 [BZ #2074]
1856 * libio/libio.h (__io_write_fn): Update comment.
1857
1858 2012-04-12 Petr Baudis <pasky@ucw.cz>
1859
1860 [BZ #2074]
1861 * stdio.texi (Hook Functions): The user provided writer function
1862 is not allowed to return -1.
1863
1864 2012-04-11 David S. Miller <davem@davemloft.net>
1865
1866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1867
1868 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1869
1870 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1871 Add a leading slash to rtkaio.
1872
1873 2012-04-11 Jim Meyering <meyering@redhat.com>
1874
1875 [BZ #11959]
1876 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1877 It is not necessarily an error to ignore fwrite's return
1878 value. One can reliably use ferror to test for errors after
1879 the fact.
1880
1881 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1882
1883 * bits/types.h (__snseconds_t): New type.
1884 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1885
1886 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1888 (__SNSECONDS_T_TYPE): Likewise.
1889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1890 (__SNSECONDS_T_TYPE): Likewise.
1891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1892 (__SNSECONDS_T_TYPE): Likewise.
1893
1894 2012-04-10 Andreas Jaeger <aj@suse.de>
1895
1896 [BZ #2636]
1897 * manual/time.texi (Processor Time): Return type of times is
1898 elapsed real time since an arbitrary point in the past.
1899 (CPU Time): Move CLK_TCK from here...
1900 (Processor Time): ...to here. Correct description.
1901 * manual/conf.texi (Constants for Sysconf): Correct description of
1902 _SC_CLK_TCK.
1903
1904 2012-04-10 David S. Miller <davem@davemloft.net>
1905
1906 [BZ #13967]
1907 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1908 where the is a gap between DT_REL(A) and DT_JMPREL.
1909
1910 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1911
1912 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1913 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1914 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1915
1916 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1917
1918 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1919 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1920 (dl_main): Handle --inhibit-cache.
1921 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1922 _dl_inhibit_cache.
1923 * elf/dl-load.c (_dl_map_object): Use it.
1924 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1925
1926 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1927
1928 [BZ #13872]
1929 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1930 (__ieee754_powl): Saturate large exponents rather than testing for
1931 overflow of y*log2(x).
1932 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1933 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1934 exceptions.
1935
1936 [BZ #11521]
1937 * math/s_ctan.c: Include <float.h>.
1938 (__ctan): Avoid internal overflow or cancellation in calculating
1939 denominator.
1940 * math/s_ctanf.c: Likewise.
1941 * math/s_ctanl.c: Likewise.
1942 * math/s_ctanh.c: Likewise.
1943 * math/s_ctanhf.c: Likewise.
1944 * math/s_ctanhl.c: Likewise.
1945 * math/libm-test.inc (ctan_test): Add more tests.
1946 (ctanh_test): Likewise.
1947 * sysdeps/i386/fpu/libm-test-ulps: Update.
1948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1949
1950 2012-04-09 Andreas Jaeger <aj@suse.de>
1951
1952 [BZ #6894]
1953 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1954 is an optional BSD extension.
1955
1956 [BZ #10254]
1957 * manual/stdio.texi (Opening Streams): Document additional fopen
1958 parameters.
1959
1960 2012-04-09 Roland McGrath <roland@hack.frob.com>
1961
1962 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1963 %eax without telling the compiler.
1964
1965 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1966
1967 [BZ # 13963]
1968 * manual/install.texi: Use sourceware.org.
1969
1970 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1971
1972 [BZ #13873]
1973 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1974 (__ieee754_pow): Generate overflow and underflow using huge*huge
1975 and tiny*tiny rather than just returning constant infinity or zero
1976 for large exponents.
1977 * math/libm-test.inc (pow_test): Require overflow exceptions for
1978 applicable cases of large exponents.
1979
1980 [BZ #706]
1981 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1982 (__ieee754_pow): Use iterative multiplication algorithm only for
1983 integer exponents with absolute value below 1024. Check for odd
1984 integer exponents when using algorithm for real exponents.
1985 * math/libm-test.inc (pow_test): Add more tests.
1986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1987
1988 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1989
1990 [BZ #13705]
1991 * math/libm-test.inc (exp_test): Do not allow overflow exception
1992 on underflow test.
1993
1994 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1995
1996 [BZ #13705]
1997 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1998 instead of __kernel_standard_f.
1999
2000 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2001
2002 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2003 * sysdeps/x86_64/memset_chk.S: Likewise.
2004
2005 2012-04-08 Andreas Jaeger <aj@suse.de>
2006
2007 [BZ #10153]
2008 * manual/startup.texi (Environment Access): Describe return value
2009 for putenv and setenv.
2010
2011 [BZ #6895]
2012 * manual/filesys.texi (Directory Entries): Add description for
2013 DT_LNK.
2014
2015 [BZ #6890]
2016 * manual/filesys.texi (Directory Entries): Clarify that it's file
2017 system not operating system in the description of DT_UNKNOWN.
2018
2019 [BZ #6578]
2020 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2021
2022 2012-04-08 Stephen Compall <s11@member.fsf.org>
2023
2024 [BZ #6649]
2025 * manual/llio.texi (Opening and Closing Files): Add cross
2026 reference to explain mode argument.
2027
2028 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2029
2030 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2031 * sysdeps/x86_64/memset_chk.S: Likewise.
2032
2033 2012-04-07 David S. Miller <davem@davemloft.net>
2034
2035 * elf/elf.h (R_SPARC_WDISP10): Define.
2036 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2037 R_SPARC_SIZE32.
2038 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2039 R_SPARC_SIZE64 and R_SPARC_H34.
2040
2041 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2042
2043 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2044 conditions and remove no longer applicable assertion.
2045
2046 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2047
2048 * bits/byteswap.h: Include <features.h>.
2049 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2050 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2051
2052 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2053
2054 * bits/byteswap.h (__bswap_16): Removed.
2055 Include <bits/byteswap-16.h> to get __bswap_16.
2056 * sysdeps/i386/bits/byteswap.h: Likewise.
2057 * sysdeps/s390/bits/byteswap.h: Likewise.
2058 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2059 * bits/byteswap-16.h: New file.
2060 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2061 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2062 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2063 * string/Makefile (headers): Add bits/byteswap-16.h.
2064
2065 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2066
2067 [BZ #13895]
2068 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2069 extra indirection.
2070 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2071 * nss/tst-nss-static.c: New.
2072
2073 2012-04-06 Robert Millan <rmh@gnu.org>
2074
2075 [BZ #6486]
2076 * manual/llio.texi (File Position Primitive): lseek
2077 refers to WHENCE when it really means OFFSET.
2078
2079 2012-04-06 Andreas Jaeger <aj@suse.de>
2080
2081 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2082 strncmp declarations.
2083
2084 * abilist/libc.abilist: Add __poll and __ppoll.
2085
2086 2012-04-05 David S. Miller <davem@davemloft.net>
2087
2088 * scripts/check-local-headers.sh: Accept a host triplet in the
2089 path matched by the exclude regexp.
2090
2091 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2092 definition.
2093 * sysdeps/powerpc/powerpc32/dl-machine.h
2094 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2095 * sysdeps/s390/s390-32/dl-machine.h
2096 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2097 * sysdeps/sparc/sparc32/dl-machine.h
2098 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2099 * sysdeps/sparc/sparc64/dl-machine.h
2100 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2101
2102 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2103 lazy binding.
2104 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2105 undefined symbol errors.
2106
2107 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2108 DT_NEEDED entries.
2109
2110 2012-04-05 Michael Matz <matz@suse.de>
2111
2112 [BZ #13592]
2113 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2114
2115 2012-04-05 Andreas Jaeger <aj@suse.de>
2116
2117 [BZ #13908]
2118 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2119 comment.
2120
2121 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2122
2123 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2124 which ROUND is no valid rounding mode.
2125
2126 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2127
2128 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2129 read again.
2130 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2131
2132 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2133
2134 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2135 an exception using FPU order intentionally.
2136
2137 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2138
2139 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2140 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2141 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2142 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2143
2144 2012-04-05 Simon Josefsson <simon@josefsson.org>
2145
2146 [BZ #12340]
2147 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2148 EINVAL when BUFLEN is too smal.
2149
2150 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2151
2152 [BZ #13553]
2153 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2154 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2155
2156 2012-04-03 Andreas Jaeger <aj@suse.de>
2157
2158 [BZ #13938]
2159 * manual/setjmp.texi (System V contexts): Fix sentence.
2160
2161 [BZ #13926]
2162 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2163 New macro for this case.
2164 [!__GNUC__] (__bswap_64): New inline function for this case.
2165 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2166 * bits/byteswap.h: Likewise.
2167 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2168 ull, guard with __GLIBC_HAVE_LONG_LONG.
2169
2170 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2171 __GLIBC_HAVE_LONG_LONG.
2172
2173 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2174 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2175
2176 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2177
2178 [BZ #13691]
2179 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2180 inptr and inend, rather than using last_ch.
2181
2182 2012-04-02 David S. Miller <davem@davemloft.net>
2183
2184 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2185 * stdio-common/printf-parse.h (read_int): Change return type to
2186 'int', return -1 on INT_MAX overflow.
2187 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2188 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2189 overflows INT_MAX. Check for overflow of in-format-string precision
2190 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2191 SIZE_MAX not INT_MAX for integer overflow test.
2192 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2193 skip the construct in the format string but do not record anything.
2194 * stdio-common/bug22.c: Adjust to test both width/prevision
2195 INT_MAX overflow as well as total length INT_MAX overflow. Check
2196 explicitly for proper errno values.
2197
2198 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2199
2200 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2201 CHAR_MAX.
2202 * string/test-strcmp.c [! WIDE]: Likewise.
2203 * time/tst-mktime2.c: Likewise for INT_MAX.
2204 * string/test-string.h: #include <sys/param.h> for MIN.
2205
2206 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2207 * sysdeps/i386/init-first.c (init): Likewise.
2208 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2209 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2210 * sysdeps/sh/init-first.c (init): Likewise.
2211
2212 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2213
2214 * po/ru.po: Update from translation team.
2215 * po/vi.po: Likewise.
2216
2217 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2218
2219 * resolv/nss_dns/dns-host.c: Merge copyright years.
2220
2221 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2222
2223 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2224 Optimize memcpy with prefetch if
2225 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2226 src, dst pointers have unequal 16 byte alignments.
2227
2228 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2229
2230 [BZ #13928]
2231 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2232 from a CNAME entry and return the minimum ttl for the query.
2233 (gaih_getanswer_slice): Likewise.
2234
2235 2012-03-30 Jeff Law <law@redhat.com>
2236
2237 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2238 due to long keys.
2239 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2240 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2241
2242 * resolv/nss_dns/dns-host.c: Update copyright year.
2243
2244 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2245
2246 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2247 requests to save a system call. Fix check that all bytes are sent.
2248
2249 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2250 comments for sendmmsg.
2251
2252 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2253
2254 [BZ #13691]
2255 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2256 with only 1 character between 0x0041 and 0x01b0.
2257 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2258 * wcsmbs/tst-mbsnrtowcs.c: New file.
2259
2260 2012-03-29 David S. Miller <davem@davemloft.net>
2261
2262 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2263 small copies by hand.
2264
2265 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2266
2267 [BZ #13761]
2268 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2269 _nss_compat_initgroups_dyn): Fall back to malloc/free
2270 for large group memberships.
2271
2272 2012-03-28 David S. Miller <davem@davemloft.net>
2273
2274 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2275 that branches into memcpy.
2276 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2277 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2278 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2279 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2281 bits.
2282 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2283 implementation too.
2284 * sysdeps/sparc/mempcpy.S: New file.
2285
2286 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2287 the IFUNC routine in the libc case.
2288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2289
2290 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2291 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2292 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2293 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2294 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2295 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2296 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2297 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2298
2299 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2300 loop to 256 bytes instead of 64 bytes and fix test signedness.
2301
2302 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2303 * sysdeps/sparc/sparc32/Makefile: rather than here...
2304 * sysdeps/sparc/sparc64/Makefile: and here.
2305
2306 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2307
2308 * malloc/mallocbug.c: Avoid warnings about unused variables.
2309
2310 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2311
2312 [BZ #13760]
2313 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2314 in the right place. Discard and retry query if response is
2315 larger than input buffer size.
2316
2317 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2318
2319 [BZ #369]
2320 [BZ #2678]
2321 [BZ #3866]
2322 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2323 x for large integer exponent.
2324 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2325 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2326 sign of result as needed afterwards.
2327 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2328 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2329 result for underflowing pow the same as for overflow.
2330 (__kernel_standard_l): Handle powl overflow and underflow here
2331 rather than calling __kernel_standard.
2332 * math/libm-test.inc (pow_test): Add more tests.
2333
2334 [BZ #3868]
2335 [BZ #13879]
2336 [BZ #13910]
2337 [BZ #13911]
2338 [BZ #13912]
2339 [BZ #13913]
2340 [BZ #13915]
2341 [BZ #13916]
2342 [BZ #13917]
2343 [BZ #13918]
2344 [BZ #13919]
2345 [BZ #13920]
2346 [BZ #13921]
2347 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2348 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2349 (__kernel_standard_l): New function.
2350 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2351 __kernel_standard.
2352 * math/w_acosl.c (__acosl): Likewise.
2353 * math/w_asinl.c (__asinl): Likewise.
2354 * math/w_atan2l.c (__atan2l): Likewise.
2355 * math/w_atanhl.c (__atanhl): Likewise.
2356 * math/w_coshl.c (__coshl): Likewise.
2357 * math/w_exp10l.c (__exp10l): Likewise.
2358 * math/w_exp2l.c (__exp2l): Likewise.
2359 * math/w_fmodl.c (__fmodl): Likewise.
2360 * math/w_hypotl.c (__hypotl): Likewise.
2361 * math/w_j0l.c (__j0l, __y0l): Likewise.
2362 * math/w_j1l.c (__j1l, __y1l): Likewise.
2363 * math/w_jnl.c (__jnl, __ynl): Likewise.
2364 * math/w_lgammal.c (__lgammal): Likewise.
2365 * math/w_log10l.c (__log10l): Likewise.
2366 * math/w_log2l.c (__log2l): Likewise.
2367 * math/w_logl.c (__logl): Likewise.
2368 * math/w_powl.c (__powl): Likewise.
2369 * math/w_remainderl.c (__remainderl): Likewise.
2370 * math/w_scalbl.c (sysv_scalbl): Likewise.
2371 * math/w_sinhl.c (__sinhl): Likewise.
2372 * math/w_sqrtl.c (__sqrtl): Likewise.
2373 * math/w_tgammal.c (__tgammal): Likewise.
2374 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2375 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2376 * math/libm-test.inc (acos_test): Add more tests.
2377 (acosh_test): Likewise.
2378 (asin_test): Likewise.
2379 (atanh_test): Likewise.
2380 (exp_test): Likewise.
2381 (exp10_test): Likewise.
2382 (exp2_test): Likewise.
2383 (expm1_test): Likewise.
2384 (lgamma_test): Likewise.
2385 (log_test): Likewise.
2386 (log10_test): Likewise.
2387 (log1p_test): Likewise.
2388 (log2_test): Likewise.
2389 (pow_test): Do not allow some spurious overflow exceptions.
2390 (sqrt_test): Add more tests.
2391 (tgamma_test): Likewise.
2392 (y0_test): Likewise.
2393 (y1_test): Likewise.
2394 (yn_test): Likewise.
2395
2396 2012-03-27 Anton Blanchard <anton@samba.org>
2397
2398 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2399 MAP_HUGETLB.
2400 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2401 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2402 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2403
2404 2012-03-27 David S. Miller <davem@davemloft.net>
2405
2406 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2407
2408 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2409 have-as-vis3 check.
2410
2411 2012-03-27 Andreas Jaeger <aj@suse.de>
2412
2413 * sysdeps/x86_64/elf/configure.in: Moved to ...
2414 * sysdeps/x86_64/configure.in: ... here.
2415 * sysdeps/x86_64/elf/start.S: Moved to ...
2416 * sysdeps/x86_64/start.S: ... here.
2417 * sysdeps/x86_64/elf/configure: Delete.
2418
2419 * sysdeps/x86_64/configure.in: Merge contents from
2420 sysdeps/i386/configure.in (without i686 check).
2421
2422 * sysdeps/i386/elf/Versions: Merge into ...
2423 * sysdeps/i386/Versions: ... this.
2424 * sysdeps/i386/elf/Versions: Delete file.
2425 * sysdeps/i386/elf/start.S: Moved to ...
2426 * sysdeps/i386/start.S: ...here.
2427 * sysdeps/i386/elf/configure.in: Merge into...
2428 * sysdeps/i386/configure.in: ...here.
2429 * sysdeps/i386/elf/configure.in: Delete file.
2430 * sysdeps/i386/elf/configure: Delete file.
2431
2432 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2433 * debug/backtracesyms.c: ... here.
2434 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2435 * debug/backtracesymsfd.c: ... here.
2436 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2437 * sysdeps/generic/ifunc-sel.h: ... here.
2438
2439 * sysdeps/unix/i386/start.c: Delete file.
2440 * sysdeps/unix/sparc/start.c: Delete file.
2441 * sysdeps/unix/start.c: Delete file.
2442
2443 * sysdeps/sh/elf/configure.in: Moved to ...
2444 * sysdeps/sh/configure.in: ... here.
2445 * sysdeps/sh/elf/start.S: Moved to ...
2446 * sysdeps/sh/start.S: ... here.
2447 * sysdeps/sh/elf/configure: Delete file.
2448
2449 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2450 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2451 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2452 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2453 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2454 * sysdeps/powerpc/powerpc64/start.S: here.
2455 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2456 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2457 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2458 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2459 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2460
2461 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2462 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2463 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2464 * sysdeps/powerpc/powerpc32/start.S: ... here.
2465 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2466 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2467 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2468
2469 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2470 * sysdeps/powerpc/ifunc-sel.h: ... here.
2471 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2472 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2473
2474 * sysdeps/sparc/elf/configure.in: Moved to ...
2475 * sysdeps/sparc/configure.in: ... here.
2476 * sysdeps/sparc/elf/configure: Delete file.
2477 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2478 * sysdeps/sparc/sparc32/start.S: ... here.
2479 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2480 * sysdeps/sparc/sparc64/start.S: ... here.
2481 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2482 * sysdeps/sparc/sparc32/Makefile: ... this.
2483 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2484 * sysdeps/sparc/sparc64/Makefile: ... this.
2485
2486 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2487 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2488 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2489 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2490 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2491 * sysdeps/s390/s390-32/setjmp.S: ... here.
2492 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2493 * sysdeps/s390/s390-32/configure.in: ... here.
2494 * sysdeps/s390/s390-32/elf/configure: Delete file.
2495 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2496 * sysdeps/s390/s390-32/start.S: ... here.
2497
2498 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2499 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2500 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2501 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2502 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2503 * sysdeps/s390/s390-64/setjmp.S: ... here.
2504 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2505 * sysdeps/s390/s390-64/configure.in: ... here
2506 * sysdeps/s390/s390-64/elf/configure: Delete file.
2507 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2508 * sysdeps/s390/s390-64/start.S: ... here.
2509 * sysdeps/s390/s390-64/elf/configure: Delete.
2510
2511 * configure.in: Remove support for elf directories in sysdeps.
2512
2513 * configure: Regenerated.
2514 * sysdeps/i386/configure: Regenerated.
2515 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2516 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2517 * sysdeps/s390/s390-32/configure: Regenerated.
2518 * sysdeps/s390/s390-64/configure: Regenerated.
2519 * sysdeps/sh/configure: Regenerated.
2520 * sysdeps/sparc/configure: Regenerated.
2521 * sysdeps/x86_64/configure: Regenerated.
2522
2523 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2524
2525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2526
2527 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2528 denormal result into account.
2529
2530 2012-03-25 Roland McGrath <roland@hack.frob.com>
2531
2532 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2533 Reported by Allan McRae <allan@archlinux.org>.
2534
2535 2012-03-23 Jeff Law <law@redhat.com>
2536
2537 * nss/getnssent.c (__nss_getent): Fix typo.
2538
2539 2012-03-23 David S. Miller <davem@davemloft.net>
2540
2541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2542
2543 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2544
2545 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2546 to pad to uint64_t for each field.
2547 (dl_tls_index): Replace unsigned long with uint64_t.
2548
2549 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2550 Paul Pluzhnikov <ppluzhnikov@google.com>
2551
2552 [BZ #6528]
2553 * grp/Makefile (otherlibs): Don't set it.
2554 * inet/Makefile (otherlibs): Likewise.
2555 * login/Makefile (otherlibs): Likewise.
2556 * nscd/Makefile (otherlibs): Likewise.
2557 * posix/Makefile (otherlibs): Likewise.
2558 * pwd/Makefile (otherlibs): Likewise.
2559 * rt/Makefile (otherlibs): Likewise.
2560 * sunrpc/Makefile (otherlibs): Likewise.
2561 * nss/Makefile (otherlibs): Likewise.
2562 Add libnss_files to routines and static-only-routines.
2563 ($(objpfx)getent): Remove rule.
2564 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2565 static-only-routines.
2566
2567 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2568
2569 [BZ #13892]
2570 * math/s_cexp.c: Include <float.h>.
2571 (__cexp): Handle exp result overflowing not necessarily
2572 overflowing both real and imaginary parts of result.
2573 * math/s_cexpf.c: Likewise.
2574 * math/s_cexpl.c: Likewise.
2575 * math/libm-test.inc (cexp_test): Add more tests.
2576 * sysdeps/i386/fpu/libm-test-ulps: Update.
2577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2578
2579 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2580
2581 * include/link.h (ELFW): New macro.
2582 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2583 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2584
2585 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2588 with uint64_t.
2589
2590 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2591
2592 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2593 declaration.
2594 (struct La_x32_retval): Likewise.
2595
2596 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2597
2598 * sysdeps/x86_64/preconfigure.in: New file.
2599 * sysdeps/x86_64/preconfigure: New generated file.
2600
2601 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2602
2603 [BZ #13824]
2604 * math/e_exp2l.c: Include <float.h>.
2605 (__ieee754_exp2l): Handle overflow and underflow cases
2606 separately. Only pass fractional part of argument to
2607 __ieee754_expl.
2608 * math/libm-test.inc (exp2_test): Add more tests.
2609
2610 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2611 negating x to take absolute value.
2612 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2613 Likewise.
2614 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2615 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2616 Likewise.
2617 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2618 computing low part if x was negated.
2619 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2620
2621 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2622
2623 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2624 la_x32_gnu_pltexit.
2625 (pltexit): Cast int_retval to ptrdiff_t.
2626 * elf/tst-auditmod3b.c: Likewise.
2627 * elf/tst-auditmod4b.c: Likewise.
2628 * elf/tst-auditmod5b.c: Likewise.
2629 * elf/tst-auditmod6b.c: Likewise.
2630 * elf/tst-auditmod6c.c: Likewise.
2631 * elf/tst-auditmod7b.c: Likewise.
2632
2633 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2634 and x32_gnu_pltexit.
2635
2636 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2637 __ELF_NATIVE_CLASS.
2638 (La_x32_regs): New macro.
2639 (La_x32_retval): Likewise.
2640 (la_x32_gnu_pltenter): New function prototype.
2641 (la_x32_gnu_pltexit): Likewise.
2642
2643 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2644
2645 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2646 exponent.
2647
2648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2649
2650 * configure.in (libc_cv_cc_nofma): Check for option to disable
2651 generation of FMA instructions.
2652 * configure: Regenerate.
2653 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2654 * sysdeps/ieee754/dbl-64/Makefile: New file.
2655 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2656 Remove brandred-fma4.
2657 (CFLAGS-brandred-fma4.c): Remove.
2658 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2659 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2660 define.
2661 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2662 define.
2663
2664 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2665
2666 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2667 LLONG_MAX != LONG_MAX.
2668 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2669 (_fitoa_word): Likewise.
2670 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2671 LLONG_MAX != LONG_MAX.
2672 * stdio-common/_itowa.h: Include <_itoa.h>.
2673 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2674 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2675 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2676 only if not defined.
2677 (_ITOA_WORD_TYPE): Likewise.
2678 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2679 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2680
2681 2012-03-21 David S. Miller <davem@davemloft.net>
2682
2683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2684
2685 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2686
2687 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2688 of x86_64 when setting libc_cv_slibdir, libdir and
2689 libc_cv_localedir.
2690 * sysdeps/unix/sysv/linux/configure: Regenerated.
2691
2692 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2693
2694 * manual/lang.texi (Old Varargs): Remove section.
2695 (How Variadic): Update menu.
2696 (va_start): Do not mention varargs.h.
2697
2698 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2699 Joseph Myers <joseph@codesourcery.com>
2700
2701 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2702 link test.
2703 * configure: Regenerated.
2704
2705 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2706
2707 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2708 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2709 conformtest.pl
2710
2711 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2712
2713 * NOTES: Remove.
2714 * Makefile (files-for-dist): Remove NOTES.
2715 (NOTES): Remove rule.
2716 * README: Don't refer to NOTES.
2717 * manual/creature.texi: Don't include macros.texi.
2718 * manual/intro.texi (creature.texi): Remove comment referring to
2719 NOTES.
2720
2721 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2722 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2723 * configure: Regenerated.
2724 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2725 LIBC_TRY_CC_OPTION.
2726 (libc_cv_as_i686): Likewise.
2727 (libc_cv_cc_avx): Likewise.
2728 (libc_cv_cc_sse2avx): Likewise.
2729 (libc_cv_cc_fma4): Likewise.
2730 (libc_cv_cc_novzeroupper): Likewise.
2731 * sysdeps/i386/configure: Regenerated.
2732
2733 [BZ #13883]
2734 * sysdeps/i386/fpu/s_cexp.S: Remove.
2735 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2736 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2737 * math/libm-test.inc (cexp_test): Add more tests.
2738 * sysdeps/i386/fpu/libm-test-ulps: Update.
2739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2740
2741 2012-03-21 Allan McRae <allan@archlinux.org>
2742
2743 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2744
2745 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2746
2747 [BZ #13871]
2748 * math/w_exp2.c: Do not include <float.h>.
2749 (o_threshold, u_threshold): Remove.
2750 (__exp2): Calculate result before checking finiteness and calling
2751 __kernel_standard.
2752 * math/w_exp2f.c: Likewise.
2753 * math/w_exp2l.c: Likewise.
2754 * math/libm-test.inc (exp2_test): Require overflow exception for
2755 1e6 input.
2756
2757 [BZ #3866]
2758 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2759 range of signed 64-bit integers before using fistpll. Remove
2760 checks for whether integers fit in mantissa bits.
2761 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2762 the range of signed 32-bit integers before using fistpl. Remove
2763 checks for whether integers fit in mantissa bits.
2764 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2765 (__ieee754_powl): Test for y outside the range of signed 64-bit
2766 integers before using fistpll. Reduce 64-bit values to 63-bit
2767 ones as needed.
2768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2769 divide-by-zero is raised for zero to large negative powers.
2770 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2771 (__ieee754_powl): Test for y outside the range of signed 64-bit
2772 integers before using fistpll. Reduce 64-bit values to 63-bit
2773 ones as needed.
2774 * math/libm-test.inc (pow_test): Add more tests.
2775
2776 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2777
2778 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2779 <stdio-common/_itoa.h>.
2780 * debug/segfault.c: Likewise.
2781 * elf/dl-cache.c: Likewise.
2782 * elf/dl-minimal.c: Likewise.
2783 * elf/dl-misc.c: Likewise.
2784 * elf/dl-sysdep.c: Likewise.
2785 * elf/dl-version.c: Likewise.
2786 * elf/rtld.c: Likewise.
2787 * hurd/hurdsock.c: Likewise.
2788 * hurd/lookup-retry.c: Likewise.
2789 * malloc/malloc.c: Likewise.
2790 * malloc/mtrace.c: Likewise.
2791 * nscd/nscd_getgr_r.c: Likewise.
2792 * nscd/nscd_getpw_r.c: Likewise.
2793 * nscd/nscd_getserv_r.c: Likewise.
2794 * posix/getopt_init.c: Likewise.
2795 * posix/wordexp.c: Likewise.
2796 * stdio-common/_itoa.c: Likewise.
2797 * stdio-common/printf_fphex.c: Likewise.
2798 * stdio-common/vfprintf.c: Likewise.
2799 * string/_strerror.c: Likewise.
2800 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2801 * sysdeps/i386/i686/hp-timing.h: Likewise.
2802 * sysdeps/mach/_strerror.c: Likewise.
2803 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2804 * sysdeps/mach/hurd/sethostid.c: Likewise.
2805 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2806 * sysdeps/mach/xpg-strerror.c: Likewise.
2807 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2808 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2809 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2810 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2811 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2812 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2813 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2814 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2815 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2816 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2817 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2818 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2819 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2820 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2821 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2822 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2823 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2824 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2825 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2826 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2827 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2828
2829 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2830
2831 * stdio-common/_itoa.h: Moved to ...
2832 * sysdeps/generic/_itoa.h: Here.
2833
2834 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2835
2836 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2837 instead of "_itoa.h" and "_itowa.h".
2838 * stdio-common/vfprintf.: Likewise.
2839
2840 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2841
2842 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2843 <bits/wordsize.h>.
2844 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2845 (__signbit): Likwise.
2846 (llrintf): Likwise.
2847 (llrint): Likwise.
2848
2849 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2850
2851 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2852 __WORDSIZE != 64.
2853
2854 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2855
2856 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2857 OVERFLOW_EXCEPTION_OK.
2858 * math/libm-test.inc ("Philosophy"): Update comment about
2859 exception testing.
2860 (OVERFLOW_EXCEPTION): Define.
2861 (OVERFLOW_EXCEPTION_OK): Likewise.
2862 (INVALID_EXCEPTION_OK): Renumber.
2863 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2864 (IGNORE_ZERO_INF_SIGN): Likewise.
2865 (test_exceptions): Handle FE_OVERFLOW.
2866 (exp10_test): Expect overflow exceptions.
2867 (exp2_test): Likewise.
2868 (expm1_test): Likewise.
2869 (nextafter_test): Likewise.
2870 (pow_test): Likewise.
2871 (scalbn_test): Likewise.
2872 (scalbln_test): Likewise.
2873
2874 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2875
2876 * sysdeps/x86_64/bits/atomic.h
2877 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2878 64bit integer.
2879 (atomic_exchange_acq): Likewise.
2880 (__arch_exchange_and_add_body): Likewise.
2881 (__arch_add_body): Likewise.
2882 (atomic_add_negative): Likewise.
2883 (atomic_add_zero): Likewise.
2884
2885 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2886
2887 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2888 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2889
2890 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2893 Check __x86_64__ instead of __WORDSIZE.
2894
2895 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2896
2897 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2898
2899 2012-03-19 David S. Miller <davem@davemloft.net>
2900
2901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2902
2903 * sysdeps/sparc/fpu/fenv_private.h: New file.
2904 * sysdeps/sparc/fpu/math_private.h: Use it.
2905 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2906 Remove.
2907 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2908 (libc_feholdexcept_setroundl): Remove.
2909 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2910 Remove.
2911 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2912 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2913
2914 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2915
2916 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2917 int64_t instead of long int.
2918 (INSERT_WORDS64): Likwise.
2919
2920 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2921
2922 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2923 _Unwind_GetCFA return to _Unwind_Ptr first.
2924
2925 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2926
2927 [BZ #13629]
2928 * math/s_clog.c: Include <float.h>.
2929 (__clog): Scale large or subnormal inputs.
2930 * math/s_clogf.c: Likewise.
2931 * math/s_clogl.c: Likewise.
2932 * math/s_clog10.c: Include <float.h>.
2933 (M_LOG10_2): Define.
2934 (__clog10): Scale large or subnormal inputs.
2935 * math/s_clog10f.c: Likewise.
2936 * math/s_clog10l.c: Likewise.
2937 * math/libm-test.inc (clog_test): Add more tests.
2938 (clog10_test): Likewise.
2939 * sysdeps/i386/fpu/libm-test-ulps: Update.
2940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2941
2942 [BZ #11451]
2943 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2944 x and y.
2945 * math/libm-test.inc (atan2_test): Add another test.
2946
2947 * Makerules (common-objdir-compile): Remove.
2948 * sysdeps/unix/Makefile (config-generated): Do not add
2949 $(unix-generated) to variable.
2950 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2951 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2952 Remove rule.
2953 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2954 Likewise.
2955 [generic bits/local_lim.h] (before-compile): Do not append to
2956 variable.
2957 [generic bits/local_lim.h] (common-generated): Likewise.
2958 [generic sys/param.h] (before-compile): Do not append to variable.
2959 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2960 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2961 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2962 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2963 include.
2964 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2965 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2966 [generic sys/param.h] ($(addprefix
2967 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2968 [generic sys/param.h] (common-generated): Do not append to
2969 variable.
2970 [generic sys/param.h] (sysdep_headers): Likewise.
2971 [generic bits/errno.h] (before-compile): Do not append to
2972 variable.
2973 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2974 rule.
2975 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2976 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2977 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2978 [generic bits/errno.h] (common-generated): Do not append to
2979 variable.
2980 [generic bits/ioctls.h] (before-compile): Do not append to
2981 variable.
2982 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2983 rule.
2984 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2985 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2986 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2987 rule.
2988 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2989 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2990 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2991 [generic bits/ioctls.h] (common-generated): Do not append to
2992 variable.
2993 [generic sys/syscall.h] (syscall.h): Remove variable.
2994 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2995 rule.
2996 [generic sys/syscall.h] (before-compile): Do not append to
2997 variable.
2998 [generic sys/syscall.h] (common-generated): Likewise.
2999 * sysdeps/unix/errnos-tmpl.c: Remove file.
3000 * sysdeps/unix/errnos.awk: Likewise.
3001 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3002 * sysdeps/unix/ioctls.awk: Likewise.
3003 * sysdeps/unix/mk-local_lim.c: Likewise.
3004 * sysdeps/unix/snarf-ioctls: Likewise.
3005
3006 2012-03-19 Richard Henderson <rth@twiddle.net>
3007
3008 * sysdeps/i386/fpu/fenv_private.h: New file.
3009 * sysdeps/i386/fpu/math_private.h: Use it.
3010 (math_opt_barrier, math_force_eval): Remove.
3011 (libc_feholdexcept_setround_53bit): Remove.
3012 (libc_feupdateenv_53bit): Remove.
3013 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3014 (math_opt_barrier, math_force_eval): Remove.
3015 (libc_feholdexcept): Remove.
3016 (libc_feholdexcept_setround): Remove.
3017 (libc_fetestexcept, libc_fesetenv): Remove.
3018 (libc_feupdateenv_test): Remove.
3019 (libc_feupdateenv, libc_feholdsetround): Remove.
3020 (libc_feresetround): Remove.
3021
3022 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3023 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3024
3025 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3026 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3027 (libc_feupdateenv_testl): New.
3028 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3029 (libc_feupdateenv_testf): New.
3030 (libc_feupdateenv): Use libc_feupdateenv_test.
3031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3032 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3033
3034 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3035 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3036 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3037 (libc_feresetround_noex): New.
3038 (libc_feresetround_noexf): New.
3039 (libc_feresetround_noexl): New.
3040 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3041 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3042 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3043 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3044 SET_RESTORE_ROUND.
3045 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3046 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3047 (__cos): Likewise.
3048 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3049 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3050 SET_RESTORE_ROUND_NOEX.
3051 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3052 SET_RESTORE_ROUND_NOEXF.
3053 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3054 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3055 (libc_feholdsetroundf): New.
3056 (libc_feresetround, libc_feresetroundf): New.
3057
3058 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3059 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3060 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3061
3062 * sysdeps/generic/math_private.h: Include <fenv.h>.
3063 (default_libc_feholdexcept): New.
3064 (default_libc_feholdexcept_setround): New.
3065 (default_libc_fesetenv, default_libc_feupdateenv): New.
3066 (libc_feholdexcept): Only define if undefined.
3067 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3068 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3069 (libc_feholdexcept_setroundl): Likewise.
3070 (libc_feholdexcept_setround_53bit): Likewise.
3071 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3072 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3073 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3074 (libc_feupdateenv_53bit): Likewise.
3075 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3076 (libc_feholdexcept): Convert from macro to inline function.
3077 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3078 (libc_fesetenv, libc_feupdateenv): Likewise.
3079
3080 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3081 not previously defined.
3082 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3083 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3084 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3085 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3086 * sysdeps/ieee754/flt-32/math_private.h: New file.
3087 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3088 math_private.h below SET_FLOAT_WORD.
3089 (__isnan, __isinf_ns, __finite): Remove.
3090 (__isnanf, __isinf_nsf, __finitef): Remove.
3091
3092 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3093
3094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3095
3096 2012-03-17 David S. Miller <davem@davemloft.net>
3097
3098 [BZ #6471]
3099 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3100 for 2.16.
3101
3102 2012-03-16 David S. Miller <davem@davemloft.net>
3103
3104 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3105 warnings.
3106
3107 [BZ #6471]
3108 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3109 properly.
3110 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3111 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3112 sysdep_routines when subdir is sysvipc.
3113 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3114 __getshmlba helper.
3115
3116 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3117
3118 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3119
3120 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3121 [__LP64__].
3122
3123 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3124
3125 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3126 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3127 (__lround): Renamed to ...
3128 (__llround): This. Replace long int with long long int.
3129 Define lround functions as aliases of llround functions.
3130 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3131
3132 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3133
3134 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3135 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3136 adresses to uintptr_t. Replace "long int" and "unsigned long
3137 int" with "greg_t" on va_arg.
3138
3139 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3140
3141 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3142 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3143
3144 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3145 Move e_machine check before EI_CLASS check. Handle x32
3146 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3147 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3148 SKIP_EM_IA_64 and include
3149 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3150
3151 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3152 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3153 (add_system_dir): New macro.
3154
3155 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3156 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3157
3158 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3159
3160 [BZ #2551]
3161 [BZ #2552]
3162 [BZ #2553]
3163 [BZ #2554]
3164 [BZ #2562]
3165 [BZ #2563]
3166 [BZ #2565]
3167 [BZ #2566]
3168 [BZ #2576]
3169 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3170 (y0): Likewise.
3171 * math/w_j0f.c (j0f): Likewise.
3172 (y0f): Likewise.
3173 * math/w_j0l.c (__j0l): Likewise.
3174 (__y0l): Likewise.
3175 * math/w_j1.c (j1): Likewise.
3176 (y1): Likewise.
3177 * math/w_j1f.c (j1f): Likewise.
3178 (y1f): Likewise.
3179 * math/w_j1l.c (__j1l): Likewise.
3180 (__y1l): Likewise.
3181 * math/w_jn.c (jn): Likewise.
3182 (yn): Likewise.
3183 * math/w_jnf.c (jnf): Likewise.
3184 (ynf): Likewise.
3185 * math/w_jnl.c (__jnl): Likewise.
3186 (__ynl): Likewise.
3187 * math/libm-test.inc (j0_test): Add more tests.
3188 (j1_test): Likewise.
3189 (jn_test): Likewise. Add trailing semicolon to existing test.
3190 (y0_test): Likewise.
3191 (y1_test): Likewise.
3192 * sysdeps/i386/fpu/libm-test-ulps: Update.
3193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3194
3195 [BZ #13851]
3196 [BZ #13854]
3197 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3198 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3199 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3200 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3201 (__tanl): Set errno for infinite argument.
3202 * sysdeps/i386/fpu/mptan.c: Remove.
3203 * sysdeps/i386/fpu/s_tan.S: Likewise.
3204 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3205 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3206 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3207 * math/libm-test.inc (tan_test): Add more tests and enable more
3208 tests for double and long double.
3209 * sysdeps/i386/fpu/libm-test-ulps: Update.
3210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3211
3212 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3213
3214 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3215 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3216
3217 2012-03-16 Roland McGrath <roland@hack.frob.com>
3218
3219 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3220 * configure.in: Use it for both main tree and add-ons.
3221 * configure: Regenerated.
3222
3223 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3224
3225 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3226
3227 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3228
3229 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3230 in comment.
3231
3232 [BZ #13851]
3233 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3234 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3235 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3238 infinite argument.
3239 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3240 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3241 != 0 for prec == 2.
3242 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3243 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3244 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3245 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3246 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3247 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3248 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3249 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3250 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3251 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3252 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3253 * math/libm-test.inc (cos_test): Add more tests and enable more
3254 tests for long double.
3255 (sin_test): Likewise.
3256 (sincos_test): Likewise.
3257 * sysdeps/i386/fpu/libm-test-ulps: Update.
3258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3259
3260 2012-03-16 David S. Miller <davem@davemloft.net>
3261
3262 * sysdeps/sparc/fpu/math_private.h: New file.
3263
3264 2012-03-15 David S. Miller <davem@davemloft.net>
3265
3266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3267 file.
3268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3270 file.
3271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3276 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3277 sysdep routines.
3278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3279
3280 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3281 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3282
3283 * sysdeps/sparc/sparc-ifunc.h: New file.
3284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3285 sparc-ifunc.h
3286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3288 Likewise.
3289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3290 Likewise.
3291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3295 Likewise.
3296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3301 Likewise.
3302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3303 Likewise.
3304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3327 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3328
3329 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3330
3331 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3332 scaling.
3333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3334
3335 2012-03-15 Andreas Jaeger <aj@suse.de>
3336
3337 [BZ #13852]
3338 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3339 ieee754/flt-32 implementation for sin, cos and sincos.
3340 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3341 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3342 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3343 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3344 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3345 ieee754/flt-32 implementation for tan.
3346
3347 * math/libm-test.inc (cos_test): Enable some large input tests for
3348 float as well
3349 (sin_test): Likewise.
3350 (sincos_test): Likewise.
3351 (tan_test): Add tests for large input.
3352
3353 * sysdeps/i386/fpu/libm-test-ulps: Update.
3354
3355 2012-03-15 Andreas Jaeger <aj@suse.de>
3356
3357 [BZ #13658]
3358 * math/libm-test.inc (cos_test): Add more test cases.
3359 (sin_test): Likewise.
3360 (sincos_test): Likewise.
3361
3362 2012-03-15 Andreas Jaeger <aj@suse.de>
3363
3364 [BZ #13837]
3365 * math/libm-test.inc (cos_test): Add a test case for large input
3366 value.
3367 (sin_test): Likewise.
3368 (sincos_test): Likewise.
3369
3370 2012-03-15 Andreas Jaeger <aj@suse.de>,
3371 Joseph Myers <joseph@codesourcery.com>
3372
3373 [BZ #13658]
3374 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3375 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3376 * sysdeps/i386/fpu/branred.c: Likewise.
3377 * sysdeps/i386/fpu/dosincos.c: Likewise.
3378 * sysdeps/i386/fpu/mpa.c: Likewise.
3379 * sysdeps/i386/fpu/s_cos.S: Likewise.
3380 * sysdeps/i386/fpu/s_sin.S: Likewise.
3381 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3382 * sysdeps/i386/fpu/sincos32.c: Likewise.
3383
3384 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3385 Define.
3386 (libc_feupdateenv_53bit): Define.
3387 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3388 Define.
3389 (libc_feupdateenv_53bit): Define.
3390
3391 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3392 53 bit (without extend i386 double precision).
3393
3394 * math/libm-test.inc (sincos_test): Add tests for large input.
3395 (sin): Likewise.
3396 (cos): Likewise.
3397
3398 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3399
3400 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3401
3402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3403
3404 2012-03-15 David S. Miller <davem@davemloft.net>
3405
3406 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3407 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3408 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3409 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3422 file.
3423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3425 file.
3426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3428 file.
3429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3431 file.
3432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3434 fmin/fmax sysdep routines.
3435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3436
3437 2012-03-14 David S. Miller <davem@davemloft.net>
3438
3439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3443 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3444 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3459 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3460 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3463 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3464 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3467 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3468 routines.
3469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3470 file.
3471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3473 file.
3474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3476 file.
3477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3479 file.
3480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3482 file.
3483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3485 file.
3486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3487 file.
3488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3489 file.
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3491 file.
3492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3493 New file.
3494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3495 file.
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3497 file.
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3500 file.
3501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3503 file.
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3506 file.
3507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3509 VIS3 routines.
3510
3511 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3512 New file.
3513
3514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3515
3516 * sysdeps/sparc/configure.in: New file.
3517 * sysdeps/sparc/configure: Generate.
3518 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3519 * configure: Regenerate.
3520 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3521 * config.make.in (have-as-vis3): New.
3522 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3523 available use -Av9d instead of -Av9a.
3524 * sysdeps/sparc/sparc64/Makefile: Likewise.
3525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3527 New file.
3528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3529 file.
3530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3531 New file.
3532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3533 file.
3534 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3535 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3536 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3539
3540 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3541 fzeros/fnegs to load 0x80000000 into a float register instead of
3542 using the stack.
3543 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3544
3545 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3546
3547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3548 bits/syscall.h.
3549 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3550 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3551 ($(inst_includedir)/bits/syscall.h): Remove rule.
3552 ($(objpfx)bits/syscall.d): Include instead of
3553 $(objpfx)syscall-list.d.
3554 (generated): Change syscall-list.h and syscall-list.d to
3555 bits/syscall.h and bits/syscall.d.
3556
3557 2012-03-14 Roland McGrath <roland@hack.frob.com>
3558
3559 [BZ #13846]
3560 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3561
3562 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3563
3564 [BZ #13841]
3565 * math/s_csqrt.c: Include <float.h>.
3566 (__csqrt): Scale large or subnormal inputs.
3567 * math/s_csqrtf.c: Likewise.
3568 * math/s_csqrtl.c: Likewise.
3569 * math/libm-test.inc (csqrt_test): Add more tests.
3570 * sysdeps/i386/fpu/libm-test-ulps: Update.
3571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3572
3573 [BZ #13840]
3574 * math/libm-test.inc (hypot_test): Add more tests.
3575
3576 2012-03-13 David S. Miller <davem@davemloft.net>
3577
3578 [BZ #13840]
3579 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3580 double-precision for the calculation instead of scaling.
3581
3582 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3583
3584 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3585 manipulate bits before adding and subtracting TWO52[sx].
3586 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3587 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3588 Likewise.
3589 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3590
3591 2012-03-13 David S. Miller <davem@davemloft.net>
3592
3593 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3594 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3596 rtld-global-offsets.h
3597 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3598
3599 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3600 large parameters.
3601
3602 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3603
3604 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3605 'err' in the ifdef scope in which it is actually used.
3606
3607 * nss/nss_db/db-init.c: Include string.h
3608
3609 2012-03-12 David S. Miller <davem@davemloft.net>
3610
3611 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3612 masking out of the most significant byte of random value used.
3613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3614 Fix coding style in previous change.
3615
3616 * sysdeps/unix/sysv/linux/kernel-features.h
3617 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3618 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3619 expression.
3620 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3621 later.
3622
3623 2012-03-11 David S. Miller <davem@davemloft.net>
3624
3625 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3626 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3627 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3628 for 'resultvar' otherwise things get truncated on 64-bit.
3629
3630 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3631 Fix masking out of the most significant byte of random value used.
3632
3633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3634
3635 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3636
3637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3638
3639 2012-03-09 David S. Miller <davem@davemloft.net>
3640
3641 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3642 variables with appropriate CPP guards.
3643 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3644 frame pointer, not the stack pointer. Correct layout comments. Fix test
3645 on resulting framesize and the management of the outregs buffer for pltexit.
3646 Preserve floating point return values across _dl_call_pltexit call.
3647 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3648 framesize and the management of the outregs buffer for pltexit.
3649 Preserve floating point return values across _dl_call_pltexit
3650 call.
3651 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3652 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3653 (print_exit): Fix format string for return register value.
3654
3655 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3656
3657 * sunrpc/Makefile (others): Add rpcgen.
3658 ($(objpfx)rpcgen): Remove special build rule and dependency on
3659 libc.
3660 * sunrpc/rpcgen.c: New file.
3661
3662 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3663
3664 [BZ #13673]
3665 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3666 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3667 * sysdeps/i386/crti.S: Likewise.
3668 * sysdeps/i386/crtn.S: Likewise.
3669 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3670 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3671 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3672 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3673 * sysdeps/sh/crti.S: Likewise.
3674 * sysdeps/sh/crtn.S: Likewise.
3675 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3676
3677 [BZ #13673]
3678 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3679 with URL.
3680 * locale/programs/locfile-kw.gperf: Likewise.
3681 * locale/programs/charmap-kw.h: Regenerated.
3682 * locale/programs/locfile-kw.h: Likewise.
3683
3684 [BZ #13673]
3685 * intl/plural.y: Replace FSF snail mail address with URL.
3686 * intl/plural.c: Regenerated.
3687
3688 2012-03-09 Richard Henderson <rth@twiddle.net>
3689
3690 * include/math_private.h: Remove file.
3691 * math/math_private.h: Move file ...
3692 * sysdeps/generic/math_private.h: ... here.
3693
3694 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3695 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3696 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3697
3698 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3699 and <math_private.h>.
3700 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3701 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3702 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3703 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3704 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3705 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3706 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3708 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3709 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3711 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3712 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3714 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3715 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3717 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3718 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3719 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3721 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3722 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3724 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3725 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3726 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3727 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3728 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3729 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3730 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3732 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3733 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3734 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3735 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3736 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3737 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3738 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3740 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3741 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3746 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3788 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3789 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3790 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3791 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3792 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3793 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3794 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3795 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3796 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3797 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3798 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3799 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3800 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3801 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3802 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3803 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3804 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3805 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3806 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3807 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3808 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3809 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3810 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3811 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3812 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3813 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3814 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3815 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3816 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3817 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3818 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3819 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3820 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3821 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3822 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3823 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3824 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3825 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3826 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3827 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3828 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3829 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3830 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3831 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3832 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3833 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3834 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3835 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3836 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3837 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3838 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3839 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3840 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3841 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3842 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3843 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3844 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3845 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3846 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3847 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3848 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3849 * sysdeps/ieee754/k_standard.c: Likewise.
3850 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3852 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3854 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3858 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3859 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3872 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3873 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3877 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3881 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3883 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3887 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3954 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3955 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3958 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3961 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3962 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3965 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3969 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3970 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3971 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3972 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3975 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3976 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3977 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3978 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3979 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3980 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3981 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3982 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3984 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3985 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3986 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3987 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3988 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3989 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3995 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3998 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3999 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4000 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4010 * sysdeps/ieee754/s_lib_version.c: Likewise.
4011 * sysdeps/ieee754/s_matherr.c: Likewise.
4012 * sysdeps/ieee754/s_signgam.c: Likewise.
4013 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4014 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4015 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4016 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4017 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4018 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4019 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4020 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4021 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4022 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4023 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4024 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4025 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4026 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4027 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4028 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4029 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4030 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4031 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4032 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4033 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4034
4035 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4036
4037 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4038 * sunrpc/rpc_main.c: Likewise.
4039 * sunrpc/rpc_svcout.c: Likewise.
4040
4041 2012-03-09 David S. Miller <davem@davemloft.net>
4042
4043 * include/math_private.h: New file.
4044
4045 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4046
4047 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4048 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4049 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4050 from <bits/socket_type.h>.
4051 (enum __socket_type): Don't define here.
4052 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4053 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4054 bits/socket_type.h.
4055
4056 [BZ #13566]
4057 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4058 checking __USE_GNU.
4059
4060 * Makerules ($(inst_includedir)/%.h): New rule.
4061 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4062 (install-others): Remove variable setting.
4063 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4064
4065 2012-03-08 Richard Henderson <rth@twiddle.net>
4066
4067 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4068 from macro to inline function; merge with the
4069 !__LIBC_INTERNAL_MATH_INLINES version.
4070 (__ieee754_sqrtf): Likewise.
4071
4072 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4073 to inline function.
4074 (__rintf, __floor, __floorf): Likewise.
4075
4076 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4077 macro to inline function.
4078 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4079
4080 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4081 not <math/math_private.h>.
4082
4083 2012-03-08 David S. Miller <davem@davemloft.net>
4084
4085 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4086 copyright year.
4087 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4088
4089 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4090
4091 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4092 normalization.
4093 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4094 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4095
4096 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4097
4098 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4099 be defined individually, they must be defined as a block. Define
4100 S for printing a string instead of hidint the different by using a
4101 macro for adding the 'l'.
4102 * stdio-common/tst-fphex-wide.c: Adjust.
4103
4104 2012-03-07 Marek Polacek <polacek@redhat.com>
4105
4106 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4107
4108 2012-03-08 Marek Polacek <polacek@redhat.com>
4109
4110 [BZ #13806]
4111 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4112 * stdio-common/tst-fphex.c: Define a few macros to make the
4113 test reusable. Use them.
4114 * stdio-common/tst-fphex-wide.c: New file.
4115
4116 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4117
4118 [BZ #6911]
4119 * manual/macros.texi (gnusystems): New macro.
4120 (nongnusystems): Likewise.
4121 (gnulinuxhurdsystems): Likewise.
4122 (gnuhurdsystems): Likewise..
4123 (gnulinuxsystems): Likewise.
4124 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4125 variants of the GNU system, not "GNU system".
4126 * manual/conf.texi: Likewise.
4127 * manual/errno.texi: Likewise. Update example of errno macro
4128 expansion.
4129 * manual/filesys.texi: Likewise.
4130 (getumask): Document as specific to GNU/Hurd.
4131 * manual/install.texi: Likewise. Reword some references to
4132 GNU/Linux.
4133 * manual/intro.texi: Likewise.
4134 * manual/io.texi: Likewise.
4135 (File Name Portability): Detail which constraints are inapplicable
4136 to all GNU systems and which are only inapplicable to GNU/Hurd.
4137 * manual/job.texi: Likewise.
4138 * manual/llio.texi: Likewise.
4139 (O_NOCTTY): Document as present on GNU/Linux.
4140 * manual/maint.texi: Likewise.
4141 * manual/memory.texi: Likewise.
4142 * manual/pattern.texi: Likewise.
4143 * manual/pipe.texi: Likewise.
4144 * manual/process.texi: Likewise.
4145 * manual/resource.texi: Likewise.
4146 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4147 child on GNU/Hurd.
4148 * manual/setjmp.texi: Likewise.
4149 * manual/signal.texi: Likewise.
4150 * manual/startup.texi: Likewise.
4151 * manual/stdio.texi: Likewise.
4152 * manual/terminal.texi: Likewise.
4153 (ONLCR): Document as POSIX.
4154 (OXTABS): Document availability on GNU/Linux as XTABS.
4155 (ONOEOT): Document availability separately from other bits.
4156 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4157 * manual/time.texi: Likewise.
4158 * manual/users.texi: Likewise.
4159 * INSTALL: Regenerated.
4160 * sysdeps/gnu/errlist.c: Regenerated.
4161
4162 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4163 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4164 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4165 puts.
4166 * configure: Regenerated.
4167
4168 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4169
4170 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4171 default includes instead of AC_HEADER_CHECK.
4172 * sysdeps/i386/configure: Regenerated.
4173
4174 [BZ #10716]
4175 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4176 * math/s_cacoshf.c (__cacoshf): Likewise.
4177 * math/s_cacoshl.c (__cacoshl): Likewise.
4178 * math/s_casinh.c (__casinh): Set signs of result from argument.
4179 * math/s_casinhf.c (__casinhf): Likewise.
4180 * math/s_casinhl.c (__casinhl): Likewise.
4181 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4182 (casinh_test): Add more tests.
4183 * sysdeps/i386/fpu/libm-test-ulps: Update.
4184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4185
4186 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4187
4188 * po/zh_TW.po: Update from translation team.
4189
4190 * login/Makefile (distribute): Remove variable.
4191 * catgets/Makefile: Likewise.
4192 * mach/Makefile: Likewise.
4193 * malloc/Makefile: Likewise.
4194 * misc/Makefile: Likewise.
4195 * iconv/Makefile: Likewise.
4196 * nscd/Makefile: Likewise.
4197 * hurd/Makefile: Likewise.
4198 * manual/Makefile: Likewise.
4199 * locale/Makefile: Likewise.
4200 * intl/Makefile: Likewise.
4201 * conform/Makefile: Likewise.
4202 * nss/Makefile: Likewise.
4203 * time/Makefile: Likewise.
4204 * soft-fp/Makefile: Likewise.
4205 * dirent/Makefile: Likewise.
4206 * gmon/Makefile: Likewise.
4207 * po/Makefile: Likewise.
4208 * rt/Makefile: Likewise.
4209 * socket/Makefile: Likewise.
4210 * math/Makefile: Likewise.
4211 * signal/Makefile: Likewise.
4212 * debug/Makefile: Likewise.
4213 * elf/Makefile: Likewise.
4214 * timezone/Makefile: Likewise.
4215 * stdlib/Makefile: Likewise.
4216 * iconvdata/Makefile: Likewise.
4217 * sunrpc/Makefile: Likewise.
4218 * io/Makefile: Likewise.
4219 * argp/Makefile: Likewise.
4220 * inet/Makefile: Likewise.
4221 * hesiod/Makefile: Likewise.
4222 * grp/Makefile: Likewise.
4223 * csu/Makefile: Likewise.
4224 * wctype/Makefile: Likewise.
4225 * crypt/Makefile: Likewise.
4226 * libio/Makefile: Likewise.
4227 * string/Makefile: Likewise.
4228 * nis/Makefile: Likewise.
4229 * resolv/Makefile: Likewise.
4230 * stdio-common/Makefile: Likewise.
4231 * wcsmbs/Makefile: Likewise.
4232 * dlfcn/Makefile: Likewise.
4233 * posix/Makefile: Likewise.
4234
4235 [BZ #6959]
4236 * timezone/Makefile: Don't install timezone files, just the programs
4237 and scripts.
4238
4239 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4240
4241 * nss/databases.def: Add missing gshadow entry.
4242
4243 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4244
4245 2012-03-06 Marek Polacek <polacek@redhat.com>
4246
4247 [BZ #13726]
4248 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4249 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4250 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4251 * stdio-common/tst-long-dbl-fphex.c: New file.
4252
4253 2012-03-06 David S. Miller <davem@davemloft.net>
4254
4255 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4256 (set_obp_int): New function.
4257 (get_obp_int): New function.
4258 (__get_clockfreq_via_dev_openprom): Likewise.
4259 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4260 Avoid unused variable warnings on 'val' and use builtin_expect.
4261 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4262 __builtin_expect.
4263 (INLINE_CLONE_SYSCALL): Likewise.
4264
4265 2012-03-05 David S. Miller <davem@davemloft.net>
4266
4267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4268
4269 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4270
4271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4272
4273 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4274 only for |x| >= 40.
4275 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4276
4277 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4278
4279 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4280 Replace gettimeofday with __vdso_gettimeofday.
4281
4282 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4283 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4284 __vdso_clock_gettime and __vdso_getcpu.
4285
4286 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4287 time with __vdso_time.
4288
4289 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4290
4291 * manual/lang.texi (size_t): Note types to which size_t may be
4292 equivalent with the GNU C Library, but do not describe when
4293 differences between them are significant.
4294
4295 2012-03-05 Andreas Jaeger <aj@suse.de>
4296
4297 * sysdeps/i386/fpu/libm-test-ulps: Update.
4298
4299 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4300
4301 [BZ #3976]
4302 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4303 (__ieee754_pow): Save and restore rounding mode and use
4304 round-to-nearest for main computations.
4305 * math/libm-test.inc (pow_test_tonearest): New function.
4306 (pow_test_towardzero): Likewise.
4307 (pow_test_downward): Likewise.
4308 (pow_test_upward): Likewise.
4309 (main): Call the new functions.
4310 * sysdeps/i386/fpu/libm-test-ulps: Update.
4311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4312
4313 [BZ #3976]
4314 * math/libm-test.inc (cosh_test_tonearest): New function.
4315 (cosh_test_towardzero): Likewise.
4316 (cosh_test_downward): Likewise.
4317 (cosh_test_upward): Likewise.
4318 (sinh_test_tonearest): Likewise.
4319 (sinh_test_towardzero): Likewise.
4320 (sinh_test_downward): Likewise.
4321 (sinh_test_upward): Likewise.
4322 (main): Call the new functions.
4323 * sysdeps/i386/fpu/libm-test-ulps: Update.
4324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4325
4326 2012-03-05 Tom de Vries <tom@codesourcery.com>
4327
4328 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4329 default stack guard is set in last bytes.
4330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4331
4332 2012-03-05 Kees Cook <keescook@chromium.org>
4333
4334 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4335
4336 [BZ #13656]
4337 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4338 possibly allocate from heap instead of stack.
4339 * stdio-common/bug-vfprintf-nargs.c: New file.
4340 * stdio-common/Makefile (tests): Add nargs overflow test.
4341
4342 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4343
4344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4345
4346 2012-03-03 Marek Polacek <polacek@redhat.com>
4347
4348 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4349 * math/math_private.h: Likewise.
4350 * stdlib/tst-strtod.c: Likewise.
4351 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4352 * sysdeps/x86_64/bits/atomic.h: Likewise.
4353
4354 2012-03-02 David S. Miller <davem@davemloft.net>
4355
4356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4360 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4361 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4362 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4363 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4364
4365 2012-03-02 Roland McGrath <roland@hack.frob.com>
4366
4367 [BZ #13792]
4368 * manual/examples/README: New file, says the example source files
4369 can be used under GPL>=2.
4370 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4371 line containing just "*/".
4372 * manual/examples/add.c: Add copyright header (GPL>=2).
4373 * manual/examples/argp-ex1.c: Likewise.
4374 * manual/examples/argp-ex2.c: Likewise.
4375 * manual/examples/argp-ex3.c: Likewise.
4376 * manual/examples/argp-ex4.c: Likewise.
4377 * manual/examples/atexit.c: Likewise.
4378 * manual/examples/db.c: Likewise.
4379 * manual/examples/dir.c: Likewise.
4380 * manual/examples/dir2.c: Likewise.
4381 * manual/examples/execinfo.c: Likewise.
4382 * manual/examples/filecli.c: Likewise.
4383 * manual/examples/filesrv.c: Likewise.
4384 * manual/examples/fmtmsgexpl.c: Likewise.
4385 * manual/examples/genpass.c: Likewise.
4386 * manual/examples/inetcli.c: Likewise.
4387 * manual/examples/inetsrv.c: Likewise.
4388 * manual/examples/isockad.c: Likewise.
4389 * manual/examples/longopt.c: Likewise.
4390 * manual/examples/memopen.c: Likewise.
4391 * manual/examples/memstrm.c: Likewise.
4392 * manual/examples/mkfsock.c: Likewise.
4393 * manual/examples/mkisock.c: Likewise.
4394 * manual/examples/mygetpass.c: Likewise.
4395 * manual/examples/pipe.c: Likewise.
4396 * manual/examples/popen.c: Likewise.
4397 * manual/examples/rprintf.c: Likewise.
4398 * manual/examples/search.c: Likewise.
4399 * manual/examples/select.c: Likewise.
4400 * manual/examples/setjmp.c: Likewise.
4401 * manual/examples/sigh1.c: Likewise.
4402 * manual/examples/sigusr.c: Likewise.
4403 * manual/examples/stpcpy.c: Likewise.
4404 * manual/examples/strdupa.c: Likewise.
4405 * manual/examples/strftim.c: Likewise.
4406 * manual/examples/strncat.c: Likewise.
4407 * manual/examples/subopt.c: Likewise.
4408 * manual/examples/swapcontext.c: Likewise.
4409 * manual/examples/termios.c: Likewise.
4410 * manual/examples/testopt.c: Likewise.
4411 * manual/examples/testpass.c: Likewise.
4412 * manual/examples/timeval_subtract.c: Likewise.
4413
4414 [BZ #13792]
4415 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4416 function to ...
4417 * manual/timeval_subtract.c.texi: ... here, new file.
4418
4419 2012-03-02 David S. Miller <davem@davemloft.net>
4420
4421 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4422
4423 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4424
4425 [BZ #3976]
4426 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4427 (__sin): Save and restore rounding mode and use round-to-nearest
4428 for all computations.
4429 (__cos): Save and restore rounding mode and use round-to-nearest
4430 for all computations.
4431 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4432 <fenv.h>.
4433 (tan): Save and restore rounding mode and use round-to-nearest for
4434 all computations.
4435 * math/libm-test.inc (cos_test_tonearest): New function.
4436 (cos_test_towardzero): Likewise.
4437 (cos_test_downward): Likewise.
4438 (cos_test_upward): Likewise.
4439 (sin_test_tonearest): Likewise.
4440 (sin_test_towardzero): Likewise.
4441 (sin_test_downward): Likewise.
4442 (sin_test_upward): Likewise.
4443 (tan_test_tonearest): Likewise.
4444 (tan_test_towardzero): Likewise.
4445 (tan_test_downward): Likewise.
4446 (tan_test_upward): Likewise.
4447 (main): Call the new functions.
4448 * sysdeps/i386/fpu/libm-test-ulps: Update.
4449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4450
4451 [BZ #10135]
4452 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4453 small n, then large n, before computing and testing k+n.
4454 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4455 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4456 Likewise.
4457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4458 Likewise.
4459 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4460 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4461 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4462 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4463 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4465 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4466 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4467 * math/libm-test.inc (scalbn_test): Add more tests.
4468 (scalbln_test): Likewise.
4469
4470 * manual/filesys.texi (mode_t): Describe constraints on size and
4471 signedness, not exact equivalence to a particular type.
4472 (ino_t): Likewise.
4473 (ino64_t): Likewise.
4474 (dev_t): Likewise.
4475 (nlink_t): Likewise.
4476 (blkcnt_t): Likewise.
4477 (blkcnt64_t): Likewise.
4478 * manual/llio.texi (off_t): Likewise.
4479
4480 [BZ #3976]
4481 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4482 (__ieee754_exp): Save and restore rounding mode and use
4483 round-to-nearest for all computations.
4484 * math/libm-test.inc (exp_test_tonearest): New function.
4485 (exp_test_towardzero): Likewise.
4486 (exp_test_downward): Likewise.
4487 (exp_test_upward): Likewise.
4488 (main): Call the new functions.
4489 * sysdeps/i386/fpu/libm-test-ulps: Update.
4490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4491
4492 2012-03-01 Chris Demetriou <cgd@google.com>
4493
4494 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4495 have predictable order.
4496
4497 2012-03-01 David S. Miller <davem@davemloft.net>
4498
4499 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4500
4501 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4502 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4503 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4504 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4505
4506 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4507 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4508 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4510 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4511 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4512 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4513 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4514 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4515
4516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4517
4518 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4519 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4520 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4521
4522 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4523 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4524 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4525 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4526 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4527 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4528 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4529 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4530 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4531 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4532 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4533 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4535 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4536 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4537 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4538 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4539 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4540 * sysdeps/sparc/elf/configure: Regenerated.
4541
4542 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4543
4544 * configure.in (AS, LD): Require binutils 2.20 or later.
4545 * configure: Regenerated.
4546 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4547 as required minimum version.
4548 * INSTALL: Regenerated.
4549
4550 [BZ #2541]
4551 [BZ #4108]
4552 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4553 before squaring exponent.
4554 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4555 bottom long double and 27 bits of top long double before squaring
4556 exponent.
4557 * math/libm-test.inc (erfc_test): Add more tests.
4558 * sysdeps/i386/fpu/libm-test-ulps: Update.
4559 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4561
4562 2012-03-01 Kai Tietz <ktietz@redhat.com>
4563
4564 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4565 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4566 containing bit-fields.
4567 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4568 * soft-fp/single.h (_FP_UNION_S): Likewise.
4569 * soft-fp/double.h (_FP_UNION_D): Likewise.
4570
4571 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4572
4573 [BZ #13786]
4574 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4575 not include ../strcmp.S.
4576 [USE_AS_STRNCASECMP_L]: Likewise.
4577 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4578 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4579 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4580 (__strncasecmp_l_ia32): Define as alias to
4581 __strncasecmp_l_nonascii.
4582
4583 [BZ #5794]
4584 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4585 * sysdeps/i386/fpu/libm-test-ulps: Update.
4586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4587
4588 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4590
4591 2012-02-29 Jeff Law <law@redhat.com>
4592
4593 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4594 out of bounds read.
4595
4596 2012-02-29 Marek Polacek <polacek@redhat.com>
4597
4598 [BZ #13706]
4599 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4600 * elf/Makefile: Add rules to run tst-unused-dep.out.
4601
4602 2012-02-28 David S. Miller <davem@davemloft.net>
4603
4604 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4605 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4606 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4607 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4608 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4609 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4610
4611 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4612
4613 * math/libm-test.inc (llround_test): Move one test from
4614 lround_test. Use TEST_f_L in moved test.
4615 (lround_test): Move misplaced test to llround_test. Add testcase
4616 from bug 2561.
4617
4618 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4619
4620 * sysdeps/x86_64/fpu/e_expf.S: New file.
4621 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4622
4623 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4624
4625 [BZ #13637]
4626 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4627 of remain_len that may cause incomplete multi-byte character and
4628 false match.
4629 * posix/bug-regex33.c: New file.
4630 * posix/Makefile (tests): Add bug-regex33.
4631
4632 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4633
4634 * manual/macros.texi: New file.
4635 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4636 * manual/libc.texinfo: Include macros.texi.
4637 * manual/creatute.texi: Likewise.
4638 * manual/install.texi: Likewise.
4639 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4640 @glibcadj{} in references to the GNU C Library.
4641 * manual/charset.texi: Likewise.
4642 * manual/conf.texi: Likewise.
4643 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4644 when not using those macros.
4645 * manual/creature.texi: Likewise.
4646 * manual/crypt.texi: Likewise.
4647 * manual/errno.texi: Likewise.
4648 * manual/filesys.texi: Likewise.
4649 * manual/header.texi: Likewise.
4650 * manual/install.texi: Likewise.
4651 * manual/intro.texi: Likewise.
4652 * manual/io.texi: Likewise.
4653 * manual/job.texi: Likewise.
4654 * manual/lang.texi: Likewise.
4655 * manual/libc.texiinfo: Likewise.
4656 * manual/llio.texi: Likewise.
4657 * manual/locale.texi: Likewise.
4658 * manual/maint.texi: Likewise.
4659 * manual/math.texi: Likewise.
4660 * manual/memory.texi: Likewise.
4661 * manual/message.texi: Likewise.
4662 * manual/nss.texi: Likewise.
4663 * manual/pattern.texi: Likewise.
4664 * manual/process.texi: Likewise.
4665 * manual/resource.texi: Likewise.
4666 * manual/search.texi: Likewise.
4667 * manual/setjmp.texi: Likewise.
4668 * manual/signal.texi: Likewise.
4669 * manual/socket.texi: Likewise.
4670 * manual/startup.texi: Likewise.
4671 * manual/stdio.texi: Likewise.
4672 * manual/string.texi: Likewise.
4673 * manual/sysinfo.texi: Likewise.
4674 * manual/syslog.texi: Likewise.
4675 * manual/terminal.texi: Likewise.
4676 * manual/time.texi: Likewise.
4677 * manual/users.texi: Likewise.
4678 * INSTALL: Regenerated.
4679 * NOTES: Regenerated.
4680 * sysdeps/gnu/errlist.c: Regenerated.
4681
4682 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4683
4684 * include/dirent.h: Include <dirstream.h> before
4685 <dirent/dirent.h>.
4686
4687 2012-02-28 David S. Miller <davem@davemloft.net>
4688
4689 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4690 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4691 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4692 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4693
4694 2012-02-27 David S. Miller <davem@davemloft.net>
4695
4696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4698 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4699 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4700
4701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4702 frame pointer instead of stack pointer relative arg slot.
4703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4704 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4705 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4706
4707 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4708
4709 [BZ #3992]
4710 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4711
4712 2012-02-27 David S. Miller <davem@davemloft.net>
4713
4714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4718 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4719 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4720 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4721 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4722
4723 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4724
4725 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4726 later. Allow versions 5-9.
4727 * configure: Regenerated.
4728 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4729 required minimum version and 4.6 as recommended version. Do not
4730 mention bugs in GCC 2.7 and 2.8.
4731 * INSTALL: Regenerated.
4732
4733 2012-02-27 David S. Miller <davem@davemloft.net>
4734
4735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4739 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4740 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4741 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4742 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4743
4744 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4745 manipulate bits before adding and subtracting TWO112[sx].
4746 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4747
4748 2012-02-27 Roland McGrath <roland@hack.frob.com>
4749
4750 [BZ #13775]
4751 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4752 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4753 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4754 being in POSIX, because they are in 1003.1-2008.
4755
4756 * rt/tst-aio.c: Include <fcntl.h>.
4757 * rt/tst-aio7.c: Likewise.
4758 * rt/tst-aio64.c: Likewise.
4759
4760 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4761
4762 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4763
4764 * manual/install.texi (--with-headers): Describe headers as
4765 interface headers, not private headers.
4766 (Specific advice for GNU/Linux systems): Describe use of headers
4767 from "make headers_install", not private headers from older
4768 kernels.
4769 * INSTALL: Regenerated.
4770 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4771 Change to 2.6.19.
4772 * sysdeps/unix/sysv/linux/configure: Regenerated.
4773
4774 * manual/llio.texi (fclean): Remove documentation.
4775
4776 * manual/Makefile (libc-texi-generated): New variable. Include
4777 version.texi.
4778 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4779 $(libc-texi-generated), not duplicated list of files.
4780 (version.texi, stamp-version): New rules.
4781 (realclean): Remove $(libc-texi-generated), not individual files
4782 from that list. Do not remove dir-add.texinfo.
4783 * manual/libc.texinfo: Comment out uses of edition numbers and
4784 references to printed manual. Remove last-updated dates.
4785 (EDITION): Comment out.
4786 (ISBN): Likewise.
4787 (VERSION, UPDATED): Remove.
4788 (version.texi): Include.
4789
4790 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4791
4792 * sysdeps/posix/spawni.c: Include <signal.h>.
4793 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4794 * sysdeps/pthread/aio_fsync.c: Likewise.
4795
4796 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4797
4798 * conform/Makefile (tests): Run only when not cross-compiling and
4799 when fast-check is not defined.
4800
4801 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4802 * conform/data/limits.h-data: Fixes for POSIX2008.
4803 * conform/run-conformtest.sh: Run all tests.
4804 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4805 headers.
4806 * include/bits/dlfcn.h: Likewise.
4807 * include/langinfo.h: Likewise.
4808 * include/monetary.h: Likewise.
4809 * include/sys/poll.h: Likewise.
4810
4811 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4812 for __USE_GNU.
4813 * posix/spawn.h: Define __need_sigset_t.
4814 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4815 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4816 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4817 to get sigevent_t only.
4818 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4819 only for __USE_GNU.
4820 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4821 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4822 process_vm_writev only for __USE_GNU.
4823 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4824
4825 * conform/Makefile: For now ignore errors from run-conformtest.
4826 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4827 POSIX to avoid namespace pollution. Don't prepend headers.
4828 * conform/data/aio.h-data: Fixes for POSIX testing.
4829 * conform/data/fcntl.h-data: Likewise.
4830 * conform/data/glob.h-data: Likewise.
4831 * conform/data/grp.h-data: Likewise.
4832 * conform/data/pthread.h-data: Likewise.
4833 * conform/data/pwd.h-data: Likewise.
4834 * conform/data/signal.h-data: Likewise.
4835 * conform/data/spawn.h-data: Likewise.
4836 * conform/data/stdio.h-data: Likewise.
4837 * conform/data/stdlib.h-data: Likewise.
4838 * conform/data/stropts.h-data: Likewise.
4839 * conform/data/sys/mman.h-data: Likewise.
4840 * conform/data/sys/stat.h-data: Likewise.
4841 * conform/data/sys/types.h-data: Likewise.
4842 * conform/data/sys/wait.h-data: Likewise.
4843 * conform/data/time.h-data: Likewise.
4844 * conform/data/unistd.h-data: Likewise.
4845 * conform/data/utime.h-data: Likewise.
4846
4847 * io/sys/stat.h: fchmod was always in POSIX.
4848 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4849 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4850 * rt/aio.h: Define __need_timespec before including <time.h>.
4851 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4852 struct. Add forward declaration of pthread_attr_t and use it in
4853 sigevent.
4854 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4855 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4856 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4857 always remove CLK_TCK definition.
4858
4859 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4860
4861 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4862
4863 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4864
4865 * conform/run-conformtest.sh: New file.
4866 * conform/Makefile: Run run-conformtest for tests.
4867 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4868 support.
4869
4870 * conform/data/uchar.h-data: New file.
4871 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4872 * conform/data/arpa/inet.h-data: Likewise.
4873 * conform/data/assert.h-data: Likewise.
4874 * conform/data/complex.h-data: Likewise.
4875 * conform/data/cpio.h-data: Likewise.
4876 * conform/data/ctype.h-data: Likewise.
4877 * conform/data/dirent.h-data: Likewise.
4878 * conform/data/dlfcn.h-data: Likewise.
4879 * conform/data/errno.h-data: Likewise.
4880 * conform/data/fcntl.h-data: Likewise.
4881 * conform/data/float.h-data: Likewise.
4882 * conform/data/fmtmsg.h-data: Likewise.
4883 * conform/data/fnmatch.h-data: Likewise.
4884 * conform/data/ftw.h-data: Likewise.
4885 * conform/data/glob.h-data: Likewise.
4886 * conform/data/grp.h-data: Likewise.
4887 * conform/data/iconv.h-data: Likewise.
4888 * conform/data/inttypes.h-data: Likewise.
4889 * conform/data/langinfo.h-data: Likewise.
4890 * conform/data/libgen.h-data: Likewise.
4891 * conform/data/limits.h-data: Likewise.
4892 * conform/data/locale.h-data: Likewise.
4893 * conform/data/math.h-data: Likewise.
4894 * conform/data/monetary.h-data: Likewise.
4895 * conform/data/mqueue.h-data: Likewise.
4896 * conform/data/ndbm.h-data: Likewise.
4897 * conform/data/net/if.h-data: Likewise.
4898 * conform/data/netdb.h-data: Likewise.
4899 * conform/data/netinet/in.h-data: Likewise.
4900 * conform/data/nl_types.h-data: Likewise.
4901 * conform/data/poll.h-data: Likewise.
4902 * conform/data/pthread.h-data: Likewise.
4903 * conform/data/pwd.h-data: Likewise.
4904 * conform/data/regex.h-data: Likewise.
4905 * conform/data/sched.h-data: Likewise.
4906 * conform/data/search.h-data: Likewise.
4907 * conform/data/semaphore.h-data: Likewise.
4908 * conform/data/setjmp.h-data: Likewise.
4909 * conform/data/signal.h-data: Likewise.
4910 * conform/data/spawn.h-data: Likewise.
4911 * conform/data/stdarg.h-data: Likewise.
4912 * conform/data/stdio.h-data: Likewise.
4913 * conform/data/stdlib.h-data: Likewise.
4914 * conform/data/string.h-data: Likewise.
4915 * conform/data/strings.h-data: Likewise.
4916 * conform/data/stropts.h-data: Likewise.
4917 * conform/data/sys/ipc.h-data: Likewise.
4918 * conform/data/sys/mman.h-data: Likewise.
4919 * conform/data/sys/msg.h-data: Likewise.
4920 * conform/data/sys/resource.h-data: Likewise.
4921 * conform/data/sys/select.h-data: Likewise.
4922 * conform/data/sys/sem.h-data: Likewise.
4923 * conform/data/sys/shm.h-data: Likewise.
4924 * conform/data/sys/socket.h-data: Likewise.
4925 * conform/data/sys/stat.h-data: Likewise.
4926 * conform/data/sys/statvfs.h-data: Likewise.
4927 * conform/data/sys/time.h-data: Likewise.
4928 * conform/data/sys/timeb.h-data: Likewise.
4929 * conform/data/sys/times.h-data: Likewise.
4930 * conform/data/sys/types.h-data: Likewise.
4931 * conform/data/sys/uio.h-data: Likewise.
4932 * conform/data/sys/un.h-data: Likewise.
4933 * conform/data/sys/utsname.h-data: Likewise.
4934 * conform/data/sys/wait.h-data: Likewise.
4935 * conform/data/syslog.h-data: Likewise.
4936 * conform/data/tar.h-data: Likewise.
4937 * conform/data/termios.h-data: Likewise.
4938 * conform/data/utime.h-data: Likewise.
4939 * conform/data/utmpx.h-data: Likewise.
4940 * conform/data/varargs.h-data: Likewise.
4941 * conform/data/wchar.h-data: Likewise.
4942 * conform/data/wctype.h-data: Likewise.
4943 * conform/data/wordexp.h-data: Likewise.
4944
4945 * include/stropts.h: New file.
4946 * include/uchar.h: New file.
4947 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4948 * include/assert.h: Likewise.
4949 * include/ctype.h: Likewise.
4950 * include/dirent.h: Likewise.
4951 * include/dlfcn.h: Likewise.
4952 * include/fcntl.h: Likewise.
4953 * include/fnmatch.h: Likewise.
4954 * include/glob.h: Likewise.
4955 * include/grp.h: Likewise.
4956 * include/libio.h: Likewise.
4957 * include/locale.h: Likewise.
4958 * include/math.h: Likewise.
4959 * include/net/if.h: Likewise.
4960 * include/netdb.h: Likewise.
4961 * include/netinet/in.h: Likewise.
4962 * include/pthread.h: Likewise.
4963 * include/pwd.h: Likewise.
4964 * include/regex.h: Likewise.
4965 * include/sched.h: Likewise.
4966 * include/search.h: Likewise.
4967 * include/setjmp.h: Likewise.
4968 * include/signal.h: Likewise.
4969 * include/stdio.h: Likewise.
4970 * include/stdlib.h: Likewise.
4971 * include/string.h: Likewise.
4972 * include/sys/cdefs.h: Likewise.
4973 * include/sys/mman.h: Likewise.
4974 * include/sys/msg.h: Likewise.
4975 * include/sys/resource.h: Likewise.
4976 * include/sys/select.h: Likewise.
4977 * include/sys/socket.h: Likewise.
4978 * include/sys/stat.h: Likewise.
4979 * include/sys/statvfs.h: Likewise.
4980 * include/sys/time.h: Likewise.
4981 * include/sys/times.h: Likewise.
4982 * include/sys/uio.h: Likewise.
4983 * include/sys/utsname.h: Likewise.
4984 * include/sys/wait.h: Likewise.
4985 * include/termios.h: Likewise.
4986 * include/time.h: Likewise.
4987 * include/ulimit.h: Likewise.
4988 * include/unistd.h: Likewise.
4989 * include/utime.h: Likewise.
4990 * include/wchar.h: Likewise.
4991 * include/wctype.h: Likewise.
4992 * include/wordexp.h: Likewise.
4993
4994 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4995
4996 * time/time.h: TIME_UTC must be a macro.
4997 Make timespec_get available for ISO C11 only as well.
4998
4999 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5000
5001 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5002 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5003
5004 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5005
5006 * configure.in: Use -o not -a in test for unsupported multi-arch.
5007
5008 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5009
5010 * manual/texinfo.tex: Update to version 2012-01-19.16.
5011
5012 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5013
5014 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5015
5016 2012-02-24 Roland McGrath <roland@hack.frob.com>
5017
5018 [BZ #13738]
5019 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5020 * manual/fdl-1.3.texi: New file.
5021 * manual/fdl-1.1.texi: File removed.
5022
5023 [BZ #13738]
5024 * manual/libc.texinfo (FDL_VERSION): New @set.
5025 Use it for mention of FDL in cover text.
5026 (Documentation License): Use it in @include file name.
5027
5028 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5029 Roland McGrath <roland@hack.frob.com>
5030
5031 [BZ #5461]
5032 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5033 not LONG_LONG_MAX and LONG_LONG_MIN.
5034 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5035 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5036 name.
5037 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5038
5039 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5040
5041 [BZ #2547]
5042 [BZ #11365]
5043 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5044 manipulate bits before adding and subtracting TWO23[sx].
5045 * math/libm-test.inc (nearbyint_test): Add more tests.
5046
5047 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5048
5049 [BZ #2548]
5050 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5051 bits before adding and subtracting TWO23[sx].
5052 * math/libm-test.inc (rint_test): Add more tests.
5053 (rint_test_tonearest): Likewise.
5054 (rint_test_towardzero): Likewise.
5055 (rint_test_downward): Likewise.
5056 (rint_test_upward: Likewise.
5057
5058 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5059
5060 [BZ #10110]
5061 * include/stdc-predef.h: New file. Extracted from features.h.
5062 * include/features.h: Include stdc-predef.h.
5063 * Makefile (headers): Add stdc-predef.h.
5064 * CONFORMANCE (Compiler limitations): Update.
5065
5066 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5067
5068 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5069
5070 2012-02-21 David S. Miller <davem@davemloft.net>
5071
5072 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5073 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5074
5075 2012-02-20 David S. Miller <davem@davemloft.net>
5076
5077 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5078 using a normal save/restore sequence, rather than allocating a
5079 dummy stack frame just to store a frame pointer and restore.
5080 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5081
5082 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5083
5084 * manual/install.texi: Fix stray word in line-wrapped comment.
5085
5086 2012-02-20 David S. Miller <davem@davemloft.net>
5087
5088 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5089 both binutils and gcc support GOTDATA.
5090
5091 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5092 "rd %pc" in the PIC register setup sequences.
5093
5094 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5095 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5096 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5097 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5098 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5100 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5101 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5103 (SYSCALL_ERROR_HANDLER): Likewise.
5104 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5105 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5107 (SYSCALL_ERROR_HANDLER): Likewise.
5108
5109 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5110 (HAVE_GCC_GOTDATA): New.
5111 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5112 relocation support in both binutils and gcc.
5113 * sysdeps/sparc/elf/configure: Regenerate.
5114
5115 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5116 * sysdeps/sparc/sparc32/elf/configure: Delete.
5117 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5118 * sysdeps/sparc/sparc64/elf/configure: Delete.
5119 * sysdeps/sparc/elf/configure.in: New file.
5120 * sysdeps/sparc/elf/configure: Generate.
5121
5122 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5123 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5124 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5125 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5126 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5127
5128 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5129
5130 * manual/install.texi: Do not mention specific glibc version
5131 numbers.
5132 * manual/libc.texinfo (VERSION, UPDATED): Update.
5133 (@copying): Use @copyright{} and range of years.
5134
5135 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5136
5137 [BZ #13695]
5138 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5139 [crti.S not in sysdirs] (generated): Do not append.
5140 [crti.S not in sysdirs] (omit-deps): Likewise.
5141 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5142 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5143 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5144 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5145 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5146 Likewise.
5147 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5148 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5149 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5150 * csu/defs.awk: Remove file.
5151 * sysdeps/generic/initfini.c: Likewise.
5152 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5153 variable.
5154 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5155 Likewise.
5156
5157 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5158
5159 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5160 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5161 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5162 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5163 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5164 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5165 <bits/epoll.h>.
5166 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5167 (__EPOLL_PACKED): Define to empty if not defined by
5168 <bits/epoll.h>.
5169 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5170 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5171 bits/epoll.h.
5172
5173 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5174
5175 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5176 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5177 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5178 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5179 <bits/timerfd.h>.
5180 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5182 bits/timerfd.h.
5183
5184 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5185
5186 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5187 in C locale.
5188 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5189 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5190 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5192
5193 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5194
5195 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5196 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5197
5198 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5199
5200 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5201 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5202 defined.
5203 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5204 Likewise.
5205 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5206 entry for 2.16.
5207
5208 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5209
5210 * math/w_acos.c: Use non-signaling floating-point comparisons.
5211 * math/w_acosf.c: Likewise.
5212 * math/w_acosh.c: Likewise.
5213 * math/w_acoshf.c: Likewise.
5214 * math/w_acoshl.c: Likewise.
5215 * math/w_acosl.c: Likewise.
5216 * math/w_asin.c: Likewise.
5217 * math/w_asinf.c: Likewise.
5218 * math/w_asinl.c: Likewise.
5219 * math/w_atanh.c: Likewise.
5220 * math/w_atanhf.c: Likewise.
5221 * math/w_atanhl.c: Likewise.
5222 * math/w_exp2.c: Likewise.
5223 * math/w_exp2f.c: Likewise.
5224 * math/w_exp2l.c: Likewise.
5225 * math/w_j0.c: Likewise.
5226 * math/w_j0f.c: Likewise.
5227 * math/w_j0l.c: Likewise.
5228 * math/w_j1.c: Likewise.
5229 * math/w_j1f.c: Likewise.
5230 * math/w_j1l.c: Likewise.
5231 * math/w_jn.c: Likewise.
5232 * math/w_jnf.c: Likewise.
5233 * math/w_log.c: Likewise.
5234 * math/w_log10.c: Likewise.
5235 * math/w_log10f.c: Likewise.
5236 * math/w_log10l.c: Likewise.
5237 * math/w_log2.c: Likewise.
5238 * math/w_log2f.c: Likewise.
5239 * math/w_log2l.c: Likewise.
5240 * math/w_logf.c: Likewise.
5241 * math/w_logl.c: Likewise.
5242 * math/w_sqrt.c: Likewise.
5243 * math/w_sqrtf.c: Likewise.
5244 * math/w_sqrtl.c: Likewise.
5245 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5247 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5248 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5249 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5250
5251 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5252
5253 [BZ #9739]
5254 * manual/string.texi (strnlen): Use correct parameter name in
5255 equivalent expression.
5256
5257 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5258
5259 [BZ #11174]
5260 * manual/users.texi (seteuid): Consistently use neweuid for
5261 argument name.
5262
5263 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5264
5265 [BZ #13704]
5266 * manual/nss.texi (Services in the NSS configuration): Correct
5267 list of services in example configuration file.
5268
5269 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5270
5271 [BZ #11322]
5272 * manual/arith.texi: Remove statements about negative zero
5273 behaving identically to zero.
5274
5275 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5276
5277 [BZ #5993]
5278 * manual/install.texi: Do not document upgrading from libc5.
5279
5280 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5281
5282 [BZ #4596]
5283 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5284
5285 2012-02-18 David S. Miller <davem@davemloft.net>
5286
5287 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5288 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5289 %o7 across the call.
5290 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5291 instead.
5292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5293 SETUP_PIC_REG_LEAF.
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5295 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5296 * sysdeps/sparc/crtn.S: Likewise.
5297
5298 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5299
5300 * aout/Makefile: Remove.
5301
5302 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5303
5304 [BZ #13058]
5305 * manual/examples/argp-ex1.c (main): Format definition in GNU
5306 style.
5307 * manual/examples/argp-ex2.c (main): Likewise.
5308 * manual/examples/argp-ex3.c (main): Likewise.
5309 * manual/examples/argp-ex4.c (main): Likewise.
5310 * manual/examples/longopt.c (main): Use new-style prototype
5311 definition.
5312 * manual/examples/strncat.c (main): Specify return type and use
5313 (void) for arguments.
5314 * manual/examples/subopt.c (main): Use char **argv argument.
5315
5316 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5317
5318 [BZ #5077]
5319 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5320 rounding modes.
5321
5322 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5323
5324 [BZ #6907]
5325 * manual/string.texi (strchr): Change when strchrnul is
5326 recommended.
5327
5328 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5329
5330 [BZ #174]
5331 * manual/locale.texi (setlocale): Document LOCPATH.
5332
5333 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5334
5335 [BZ #10210]
5336 * manual/process.texi (execle): Move @dots{} before last argument.
5337
5338 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5339
5340 [BZ #12047]
5341 * manual/charset.texi (Generic Charset Conversion): Fix typo
5342 (LC_TYPE -> LC_CTYPE).
5343
5344 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5345
5346 [BZ #5805]
5347 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5348 (scalbnf): Likewise.
5349 (scalbnl): Likewise.
5350 (scalbln): Likewise.
5351 (scalblnf): Likewise.
5352 (scalblnl): Likewise.
5353 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5354 (vwarnx): Likewise.
5355 (verr): Likewise.
5356 (verrx): Likewise.
5357 * manual/filesys.texi (telldir): Use braces around return type.
5358 * manual/llio.texi (mmap): Add space after comma.
5359 (mmap64): Likewise.
5360 * manual/math.texi (jn): Use @var{} on parameter names.
5361 (jnf): Likewise.
5362 (jnl): Likewise.
5363 (yn): Likewise.
5364 (ynf): Likewise.
5365 (ynl): Likewise.
5366 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5367 line.
5368 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5369 "...".
5370 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5371 (sched_get_priority_max): Likewise.
5372 * manual/signal.texi (sigvec): Add space after comma.
5373 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5374 names.
5375 (if_indextoname): Likewise.
5376 (if_freenameindex): Likewise.
5377 (sendto): Use ',' instead of '.' in prototype.
5378 * manual/startup.texi (syscall): Use @dots{} instead of literal
5379 "...".
5380 * manual/stdio.texi (__fpending): Separate initial words of
5381 paragraph from @deftypefun line.
5382 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5383 "...".
5384 (vsyslog): Use @var{} on parameter names.
5385 * manual/terminal.texi (stty): Use @var{} on parameter names.
5386 * manual/users.texi (getutmp): Use @var{} on parameter names.
5387 (getutmpx): Likewise.
5388
5389 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5390
5391 [BZ #6884]
5392 * manual/stdio.texi (fopen): Fix typos in description of
5393 ",ccs=STRING".
5394
5395 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5396
5397 [BZ #4026]
5398 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5399 get clock_id definition.
5400
5401 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5402
5403 [BZ #4822]
5404 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5405 (madvise): Cast every argument to void on its own.
5406
5407 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5408
5409 [BZ #9902]
5410 * manual/startup.texi (Exit Status): Fix typo.
5411
5412 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5413
5414 [BZ #10140]
5415 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5416 * manual/examples/argp-ex2.c: Likewise.
5417 * manual/examples/argp-ex3.c: Likewise.
5418
5419 2012-02-16 Richard Henderson <rth@redhat.com>
5420
5421 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5422 * sysdeps/s390/s390-32/initfini.c: Remove.
5423 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5424 * sysdeps/s390/s390-64/initfini.c: Remove.
5425
5426 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5427
5428 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5429 compiler output for sysdeps/generic/initfini.c.
5430 * sysdeps/sh/elf/initfini.c: Remove file.
5431
5432 2012-02-16 David S. Miller <davem@davemloft.net>
5433
5434 [BZ #11494]
5435 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5436
5437 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5438 * sysdeps/sparc/crti.S: New file.
5439 * sysdeps/sparc/crtn.S: New file.
5440 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5441 * sysdeps/sparc/sparc64/Makefile: Likewise.
5442
5443 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5444
5445 [BZ #3335]
5446 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5447
5448 2012-02-15 Roland McGrath <roland@hack.frob.com>
5449
5450 [BZ #4822]
5451 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5452
5453 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5454 (write, read, close): Likewise.
5455 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5456
5457 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5458
5459 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5460 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5461 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5462 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5463 <bits/signalfd.h>.
5464 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5466 bits/signalfd.h.
5467
5468 2012-02-14 Marek Polacek <polacek@redhat.com>
5469
5470 * sysdeps/x86_64/crti.S: New file.
5471 * sysdeps/x86_64/crtn.S: New file.
5472 * sysdeps/x86_64/elf/initfini.c: Remove file.
5473
5474 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5475
5476 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5477 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5478 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5479 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5480 <bits/inotify.h>.
5481 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5483 bits/inotify.h.
5484
5485 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5486
5487 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5488 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5489 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5490 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5491 <bits/eventfd.h>.
5492 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5494 bits/eventfd.h.
5495
5496 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5497
5498 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5499 __feraiseexcept instead of feraiseexcept.
5500
5501 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5502 nanosleep invocations.
5503 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5504 strings, and add error checking for a nanosleep invocations.
5505
5506 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5507
5508 Replace FSF snail mail address with URLs, as per GNU coding standards.
5509 Most of the snail mail addresses were wrong anyway, and omitting
5510 them makes the source code easier to maintain. Almost all of the
5511 changes are to license notices and to locale LC_IDENTIFICATION
5512 addresses, except for this one:
5513 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5514 not its snail mail address.
5515
5516 2012-02-09 Richard Henderson <rth@twiddle.net>
5517
5518 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5519 of kernel-features.h.
5520
5521 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5522
5523 2012-02-08 Marek Polacek <polacek@redhat.com>
5524
5525 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5526 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5527 * sysdeps/gnu/_G_config.h: Likewise.
5528 * sysdeps/generic/_G_config.h: Likewise.
5529
5530 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5531
5532 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5533 tests.
5534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5535
5536 * sysdeps/powerpc/powerpc32/crti.S: New file.
5537 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5538 * sysdeps/powerpc/powerpc64/crti.S: New file.
5539 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5540
5541 * Makeconfig (have-initfini): Don't set.
5542 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5543 * configure.in (nopic_initfini): Don't substitute.
5544 * config.h.in (HAVE_INITFINI): Don't #undef.
5545 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5546 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5547
5548 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5549
5550 Support crti.S and crtn.S provided directly by architectures.
5551 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5552 [crti.S in sysdirs] (omit-deps): Likewise.
5553 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5554 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5555 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5556 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5557 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5558 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5559 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5560 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5561 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5562 compiler output for sysdeps/generic/initfini.c.
5563 * sysdeps/i386/elf/Makefile: Remove file.
5564 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5565
5566 2012-02-07 Marek Polacek <polacek@redhat.com>
5567
5568 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5569 * sysdeps/gnu/_G_config.h: Likewise.
5570 * sysdeps/mach/hurd/_G_config.h: Likewise.
5571
5572 2012-02-07 Marek Polacek <polacek@redhat.com>
5573
5574 * math/Makefile (tests): Add tst-CMPLX2.
5575 * math/tst-CMPLX2.c: New file.
5576
5577 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5578
5579 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5580
5581 * math/libm-test.inc (jn_test): Add missing L suffix.
5582
5583 2012-02-06 Marek Polacek <polacek@redhat.com>
5584
5585 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5586 * sysdeps/i386/fpu/e_powf.S: Likewise.
5587 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5588 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5589 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5590 * sysdeps/i386/fpu/e_pow.S: Likewise.
5591 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5592 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5593 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5594 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5595 * sysdeps/i386/fpu/e_log2.S: Likewise.
5596 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5597 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5598 * sysdeps/i386/fpu/e_powl.S: Likewise.
5599 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5600 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5601 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5602 * sysdeps/i386/fpu/e_logl.S: Likewise.
5603 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5604 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5605 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5606 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5607 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5608 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5609 * sysdeps/i386/fpu/e_log.S: Likewise.
5610 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5611 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5612 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5613 * sysdeps/i386/fpu/e_logf.S: Likewise.
5614 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5615 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5616 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5617 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5618 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5619 * sysdeps/i386/fpu/e_log10.S: Likewise.
5620 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5621 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5622 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5623 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5624 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5625 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5626 * sysdeps/i386/asm-syntax.h: Likewise.
5627 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5628 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5629 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5630 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5631 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5632 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5633 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5634 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5635 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5636 * sysdeps/powerpc/sysdep.h: Likewise.
5637 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5638 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5639
5640 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5641
5642 [BZ #411]
5643 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5644
5645 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5646
5647 * sysdeps/i386/sysdep.h: Include <features.h>.
5648 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5649 version.
5650
5651 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5652
5653 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5654 Define.
5655 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5656 LOAD_PIC_REG_STR.
5657
5658 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5659
5660 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5661 (SETUP_PIC_REG): Use GET_PC_THUNK.
5662 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5663 macro.
5664
5665 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5666
5667 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5668 for non-PIC compilation.
5669 (SETUP_PIC_REG): Add .p2align directive.
5670 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5671 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5672 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5673 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5674 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5675 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5676 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5678 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5679 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5680 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5681 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5682 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5683 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5684 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5685 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5686 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5687 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5688 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5689 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5690 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5691 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5692 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5693 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5694 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5695 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5696 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5697 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5698 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5699 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5700 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5701 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5702 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5703 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5704 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5705 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5706 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5707 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5708 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5709 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5710 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5711
5712 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5713
5714 * math/tst-CMPLX.c: Include <stdio.h>.
5715
5716 2012-01-31 Joseph Myers <joseph@codesourcery.com>
5717
5718 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5719 float.
5720 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5721 * sysdeps/sparc/bits/mathdef.h: Likewise.
5722
5723 2012-01-31 Marek Polacek <polacek@redhat.com>
5724
5725 * libio/libio.h: Don't define _PARAMS.
5726 * locale/programs/config.h: Don't define PARAMS.
5727 * stdlib/strtol_l.c: Likewise.
5728 (__strtol_l): Remove PARAMS from the prototype.
5729
5730 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5731
5732 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5733 names. Just use the correct names. Remove unnecessary wrapper
5734 functions.
5735 * malloc/arena.c: Likewise.
5736 * malloc/hooks.c: Likewise.
5737
5738 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5739 ARENA_TEST says not to. Simplify test for creation of a new arena.
5740 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5741
5742 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5743
5744 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5745 into tail calls.
5746 (update_get_addr): New function.
5747 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5748 GET_ADDR_MODULE parameter.
5749
5750 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5751
5752 * crypt/cert.c: Remove __STDC__ conditionals.
5753 * crypt/crypt-entry.c: Likewise.
5754 * crypt/crypt_util.c: Likewise.
5755 * libio/filedoalloc.c: Likewise.
5756 * libio/fileops.c: Likewise.
5757 * libio/genops.c: Likewise.
5758 * libio/iofclose.c: Likewise.
5759 * libio/iofdopen.c: Likewise.
5760 * libio/iofopen.c: Likewise.
5761 * libio/iofopen64.c: Likewise.
5762 * libio/iogetdelim.c: Likewise.
5763 * libio/iopopen.c: Likewise.
5764 * libio/obprintf.c: Likewise.
5765 * libio/oldfileops.c: Likewise.
5766 * libio/oldiofclose.c: Likewise.
5767 * libio/oldiofdopen.c: Likewise.
5768 * libio/oldiofopen.c: Likewise.
5769 * libio/oldiopopen.c: Likewise.
5770 * libio/wfiledoalloc.c: Likewise.
5771 * libio/wgenops.c: Likewise.
5772 * locale/programs/xmalloc.c: Likewise.
5773 * misc/syslog.c: Likewise.
5774 * stdio-common/xbug.c: Likewise.
5775 * string/memchr.c: Likewise.
5776 * string/memcmp.c: Likewise.
5777 * string/memrchr.c: Likewise.
5778 * string/rawmemchr.c: Likewise.
5779 * sysdeps/posix/getcwd.c: Likewise.
5780 * time/strftime_l.c: Likewise.
5781
5782 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5783
5784 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5785 * config.make.in (config-cflags-sse2avx): Define.
5786 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5787 Fix typo.
5788
5789 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5790
5791 * scripts/config.guess: Update from upstream config git repository.
5792 * scripts/config.sub: Likewise.
5793
5794 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5795
5796 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5797 (EM_NUM): Update.
5798 (R_TILEPRO_*, R_TILEGX_*): New macros.
5799
5800 * scripts/firstversions.awk: Fix bug in version range handling.
5801
5802 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5803
5804 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5805
5806 * include/sys/epoll.h: New file.
5807 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5808 libc_hidden_def.
5809
5810 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5811
5812 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5813 Avoid unnecessary __WORDSIZE == 64 test.
5814 (fmaxf): Use VEX format if possible.
5815 (fmax): Likewise.
5816 (fminf): Likewise.
5817 (fmin): Likewise.
5818
5819 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5820 * math/math_private.h: Remove libc_fegetround* and
5821 libc_fesetround*.
5822 * sysdeps/i386/configure.in: Check for -msse2avx.
5823 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5824 also if SSE2AVX is defined.
5825 Remove libc_fegetround* and libc_fesetround*.
5826 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5827 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5828 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5829 of HAS_YMM_USABLE.
5830 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5831 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5832 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5833 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5834 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5835
5836 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5837
5838 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5839
5840 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5841 size is not set.
5842 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5843
5844 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5845
5846 [BZ #13618]
5847 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5848 relocation.
5849 * Makeconfig (libm): Define.
5850 * elf/Makefile: Add rules to build and run tst-relsort1.
5851 * elf/tst-relsort1.c: New file.
5852 * elf/tst-relsort1mod1.c: New file.
5853 * elf/tst-relsort1mod2.c: New file.
5854
5855 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5856
5857 * math/s_ldexp.c: Remove __STDC__ conditionals.
5858 * math/s_ldexpf.c: Likewise.
5859 * math/s_ldexpl.c: Likewise.
5860 * math/s_nextafter.c: Likewise.
5861 * math/s_nexttowardf.c: Likewise.
5862 * math/s_significand.c: Likewise.
5863 * math/s_significandf.c: Likewise.
5864 * math/s_significandl.c: Likewise.
5865 * math/w_jnl.c: Likewise.
5866 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5867 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5868 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5869 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5870 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5872 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5873 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5874 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5875 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5876 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5877 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5878 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5879 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5880 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5881 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5882 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5883 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5884 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5885 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5886 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5887 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5888 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5889 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5890 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5891 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5892 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5893 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5894 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5895 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5896 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5897 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5898 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5899 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5900 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5901 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5902 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5903 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5904 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5905 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5906 * sysdeps/ieee754/k_standard.c: Likewise.
5907 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5908 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5909 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5910 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5911 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5912 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5913 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5915 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5916 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5917 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5918 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5919 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5920 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5921 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5922 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5923 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5924 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5925 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5926 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5927 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5928 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5929 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5930 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5931 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5932 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5933 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5934 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5936 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5937 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5938 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5939 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5940 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5941 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5942 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5943 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5944 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5945 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5946 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5947 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5948 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5949 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5950 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5951 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5952 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5953 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5954 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5955 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5956 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5957 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5958 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5959 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5960 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5961 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5962 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5963 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5964 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5965 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5966 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5967 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5968 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5970 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5971 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5972 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5973 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5974 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5975 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5976 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5977 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5978 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5979 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5980 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5981 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5982 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5983 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5984 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5985 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5986 * sysdeps/ieee754/s_matherr.c: Likewise.
5987 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5988 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5990 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5991
5992 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5993
5994 * crypt/md5.h: Remove __STDC__ conditionals.
5995 * libio/libioP.h: Likewise.
5996 * locale/programs/config.h: Likewise.
5997 * sysdeps/generic/sysdep.h: Likewise.
5998 * sysdeps/i386/asm-syntax.h: Likewise.
5999 * sysdeps/s390/asm-syntax.h: Likewise.
6000 * sysdeps/unix/sysdep.h: Likewise.
6001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6003
6004 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6005
6006 * libio/libio.h: Remove __STDC__ conditionals.
6007 * malloc/obstack.h: Likewise.
6008 * math/complex.h: Likewise.
6009 * math/math.h: Likewise.
6010 * sysdeps/generic/_G_config.h: Likewise.
6011 * sysdeps/gnu/_G_config.h: Likewise.
6012 * sysdeps/mach/hurd/_G_config.h: Likewise.
6013 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6014 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6015 * sysdeps/sparc/bits/mathdef.h: Likewise.
6016
6017 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6018
6019 [BZ #13583]
6020 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6021 Clean up HAS_* macros.
6022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6023 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6024 possible.
6025 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6026 HAS_AVX.
6027 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6028 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6029 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6030 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6031 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6032
6033 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6034
6035 * elf/tst-unique3.cc (gets): Remove declaration.
6036 * elf/tst-unique3lib.cc (gets): Likewise.
6037 * elf/tst-unique3lib2.cc (gets): Likewise.
6038 * elf/tst-unique4.cc (gets): Likewise.
6039
6040 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6041
6042 * include/stdio.h: Add C++ protection. Add gets declarations and
6043 definitions.
6044 * debug/tst-chk1.c: Don't declare gets here.
6045 * stdio-common/tst-gets.c: Likewise.
6046
6047 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6048
6049 * posix/glob: Remove directory.
6050
6051 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6052
6053 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6054
6055 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6056
6057 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6058 of the non-standard EPFNOSUPPORT.
6059
6060 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6061
6062 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6063 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6064 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6065
6066 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6067
6068 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6069
6070 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6071
6072 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6073 transient errors.
6074 * nscd/grpcache.c (cache_addgr): Likewise.
6075 * nscd/hstcache.c (cache_addhst): Likewise.
6076 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6077 * nscd/pwdcache.c (cache_addpw): Likewise.
6078 * nscd/servicescache.c (cache_addserv): Likewise.
6079
6080 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6081
6082 * malloc/malloc.c: Various cleanups.
6083 * malloc/hooks.c: Likewise.
6084
6085 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6086 * stdlib/bug-fmtmsg1.c: New file.
6087
6088 * stdlib/fmtmsg.c (init): Add missing unlock.
6089 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6090
6091 2012-01-12 Marek Polacek <polacek@redhat.com>
6092
6093 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6094 and _GNU_SOURCE.
6095
6096 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6097
6098 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6099 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6100 macro to ensure uniqueness of label name.
6101 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6102 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6103
6104 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6105
6106 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6107
6108 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6109 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6110 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6112
6113 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6114
6115 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6116
6117 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6118 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6119 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6120
6121 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6122
6123 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6124 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6125 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6126 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6127
6128 * math/bits/math-finite.h: Add ldexp support.
6129
6130 2012-01-10 Marek Polacek <polacek@redhat.com>
6131
6132 * locale/programs/localedef.h (show_archive_content): Add noreturn
6133 attribute.
6134
6135 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6136
6137 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6138
6139 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6140
6141 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6142
6143 * io/Makefile (headers): Add bits/poll2.h.
6144
6145 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6146
6147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6148 typo #include statement.
6149
6150 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6151
6152 * include/sys/cdefs.h: Define __attribute_alloc_size.
6153 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6154 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6155 * elf/pldd.c: Likewise.
6156 * iconv/iconv_charmap.c: Likewise.
6157 * iconv/iconvconfig.c: Likewise.
6158 * iconv/strtab.c: Likewise.
6159 * locale/programs/locale.c: Likewise.
6160 * locale/programs/localedef.h: Likewise.
6161 * locale/programs/simple-hash.c: Likewise.
6162 * nscd/nscd.h: Likewise.
6163 * nss/makedb.c: Likewise.
6164 * sysdeps/generic/ldconfig.h: Likewise.
6165 * locale/programs/localedef.c: Remove xmalloc prototype.
6166 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6167
6168 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6169
6170 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6171 appropriate.
6172
6173 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6174
6175 * math/Makefile (tests): Add tst-CMPLX.
6176 * math/tst-CMPLX.c: New file.
6177
6178 * math/complex.h (CMPLXL): Fix typo.
6179
6180 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6181 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6182 GLIBC_2.16.
6183 * debug/tst-chk1.c: Add poll and ppoll tests.
6184 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6185 * include/sys/poll.h: Add hidden proto for ppoll.
6186 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6187 * sysdeps/mach/hurd/ppoll.c: Likewise.
6188 * io/ppoll.c: Likewise.
6189 * debug/poll_chk.c: New file.
6190 * debug/ppoll_chk.c: New file.
6191 * include/bits/poll2.h: New file.
6192 * io/bits/poll2.h: New file.
6193
6194 [BZ #1350]
6195 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6196
6197 * configure.in: static is always set to yes. Remove.
6198 * config.make.in: Don't set build-static.
6199 * Makeconfig: Remove use of build-static.
6200 * dlfcn/Makefile: Likewise.
6201 * elf/Makefile: Likewise.
6202 * math/Makefile: Likewise.
6203 * misc/Makefile: Likewise.
6204 * nptl/Makefile: Likewise.
6205 * sysdeps/mach/hurd/Makefile: Likewise.
6206
6207 * configure.in: PWD_P is not used anymore.
6208 * config.make.in: Remove PWD_P entry.
6209
6210 * configure.in: Remove last remnants of RANLIB.
6211 No need to check for signed size_t anymore.
6212 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6213 and IA-64.
6214 Remove __builtin_expect test because we require at least gcc 3.4.
6215 * aclocal.m4: Likewise.
6216
6217 * wcsmbs/mbrtoc16.c: Implement using towc function.
6218 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6219 * wcsmbs/wcsmbsload.c: Likewise.
6220 * iconv/gconv_simple.c: Likewise.
6221 * iconv/gconv_int.h: Likewise.
6222 * iconv/gconv_builtin.h: Likewise.
6223 * iconv/iconv_prog.c: Remove CHAR16 handling.
6224
6225 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6226
6227 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6228
6229 * configure.in: Remove --with-elf and --enable-bounded options.
6230 Dont set base_machine for ia64. More non-ELF conditions removed.
6231 Remove testing and setting of leading underscore information.
6232 * config.make.in (build-bounded): Set to no.
6233 * config.h.in: Remove NO_UNDERSCORES entry.
6234 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6235 them.
6236 * csu/start.c: Remove !NO_UNDERSCORE code.
6237 * locale/localeinfo.h: Likewise.
6238 * sysdeps/generic/machine-gmon.h: Likewise.
6239 * sysdeps/generic/sysdep.h: Likewise.
6240 * sysdeps/i386/sysdep.h: Likewise.
6241 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6242 * sysdeps/mach/sysdep.h: Likewise.
6243 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6244 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6245 * sysdeps/sh/sysdep.h: Likewise.
6246 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6247 * sysdeps/unix/i386/sysdep.S: Likewise.
6248 * sysdeps/unix/sparc/start.c: Likewise.
6249 * sysdeps/unix/sparc/sysdep.S: Likewise.
6250 * sysdeps/unix/sparc/sysdep.h: Likewise.
6251 * sysdeps/unix/start.c: Likewise.
6252 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6253 * sysdeps/x86_64/sysdep.h: Likewise.
6254
6255 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6256
6257 [BZ #13553]
6258 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6259 for non-gcc.
6260 * argp/argp-fmtstream.h: Use const instead __const.
6261 * argp/argp.h: Likewise.
6262 * assert/assert.h: Likewise.
6263 * bits/fenv.h: Likewise.
6264 * bits/sched.h: Likewise.
6265 * bits/sigset.h: Likewise.
6266 * bits/sigthread.h: Likewise.
6267 * catgets/nl_types.h: Likewise.
6268 * conform/data/pthread.h-data: Likewise.
6269 * crypt/crypt-private.h: Likewise.
6270 * crypt/crypt.h: Likewise.
6271 * crypt/crypt_util.c: Likewise.
6272 * ctype/ctype.h: Likewise.
6273 * debug/execinfo.h: Likewise.
6274 * debug/mbsnrtowcs_chk.c: Likewise.
6275 * debug/mbsrtowcs_chk.c: Likewise.
6276 * debug/wcsnrtombs_chk.c: Likewise.
6277 * debug/wcsrtombs_chk.c: Likewise.
6278 * debug/wcstombs_chk.c: Likewise.
6279 * dirent/dirent.h: Likewise.
6280 * dlfcn/dlfcn.h: Likewise.
6281 * elf/neededtest4.c: Likewise.
6282 * grp/grp.h: Likewise.
6283 * gshadow/gshadow.h: Likewise.
6284 * iconv/gconv.h: Likewise.
6285 * iconv/gconv_int.h: Likewise.
6286 * iconv/gconv_simple.c: Likewise.
6287 * iconv/iconv.h: Likewise.
6288 * iconv/loop.c: Likewise.
6289 * iconv/skeleton.c: Likewise.
6290 * include/aio.h: Likewise.
6291 * include/aliases.h: Likewise.
6292 * include/argz.h: Likewise.
6293 * include/arpa/inet.h: Likewise.
6294 * include/assert.h: Likewise.
6295 * include/dirent.h: Likewise.
6296 * include/dlfcn.h: Likewise.
6297 * include/execinfo.h: Likewise.
6298 * include/fcntl.h: Likewise.
6299 * include/fenv.h: Likewise.
6300 * include/glob.h: Likewise.
6301 * include/grp.h: Likewise.
6302 * include/libintl.h: Likewise.
6303 * include/mntent.h: Likewise.
6304 * include/netdb.h: Likewise.
6305 * include/pwd.h: Likewise.
6306 * include/rpc/netdb.h: Likewise.
6307 * include/sched.h: Likewise.
6308 * include/search.h: Likewise.
6309 * include/shadow.h: Likewise.
6310 * include/signal.h: Likewise.
6311 * include/stdio.h: Likewise.
6312 * include/stdlib.h: Likewise.
6313 * include/string.h: Likewise.
6314 * include/sys/socket.h: Likewise.
6315 * include/sys/stat.h: Likewise.
6316 * include/sys/statfs.h: Likewise.
6317 * include/sys/statvfs.h: Likewise.
6318 * include/sys/syslog.h: Likewise.
6319 * include/sys/time.h: Likewise.
6320 * include/sys/uio.h: Likewise.
6321 * include/time.h: Likewise.
6322 * include/unistd.h: Likewise.
6323 * include/utmp.h: Likewise.
6324 * include/wchar.h: Likewise.
6325 * include/wctype.h: Likewise.
6326 * inet/aliases.h: Likewise.
6327 * inet/arpa/inet.h: Likewise.
6328 * inet/netinet/ether.h: Likewise.
6329 * inet/netinet/in.h: Likewise.
6330 * intl/libintl.h: Likewise.
6331 * io/bits/fcntl2.h: Likewise.
6332 * io/fcntl.h: Likewise.
6333 * io/ftw.h: Likewise.
6334 * io/sys/poll.h: Likewise.
6335 * io/sys/stat.h: Likewise.
6336 * io/sys/statfs.h: Likewise.
6337 * io/sys/statvfs.h: Likewise.
6338 * io/utime.h: Likewise.
6339 * libio/bits/stdio.h: Likewise.
6340 * libio/bits/stdio2.h: Likewise.
6341 * libio/libio.h: Likewise.
6342 * libio/libioP.h: Likewise.
6343 * libio/stdio.h: Likewise.
6344 * locale/lc-ctype.c: Likewise.
6345 * locale/locale.h: Likewise.
6346 * login/utmp.h: Likewise.
6347 * malloc/arena.c: Likewise.
6348 * malloc/malloc.c: Likewise.
6349 * malloc/malloc.h: Likewise.
6350 * malloc/mcheck.c: Likewise.
6351 * malloc/mtrace.c: Likewise.
6352 * math/bits/mathcalls.h: Likewise.
6353 * math/fenv.h: Likewise.
6354 * math/math_private.h: Likewise.
6355 * misc/bits/error.h: Likewise.
6356 * misc/bits/syslog.h: Likewise.
6357 * misc/err.h: Likewise.
6358 * misc/error.h: Likewise.
6359 * misc/fstab.h: Likewise.
6360 * misc/mntent.h: Likewise.
6361 * misc/regexp.h: Likewise.
6362 * misc/search.h: Likewise.
6363 * misc/sgtty.h: Likewise.
6364 * misc/sys/mman.h: Likewise.
6365 * misc/sys/syslog.h: Likewise.
6366 * misc/sys/uio.h: Likewise.
6367 * misc/sys/xattr.h: Likewise.
6368 * misc/ttyent.h: Likewise.
6369 * nis/rpcsvc/ypclnt.h: Likewise.
6370 * nss/nss.h: Likewise.
6371 * posix/bits/unistd.h: Likewise.
6372 * posix/fnmatch.h: Likewise.
6373 * posix/glob.h: Likewise.
6374 * posix/sched.h: Likewise.
6375 * posix/spawn.h: Likewise.
6376 * posix/sys/wait.h: Likewise.
6377 * posix/unistd.h: Likewise.
6378 * posix/wordexp.h: Likewise.
6379 * pwd/pwd.h: Likewise.
6380 * resolv/netdb.h: Likewise.
6381 * resource/sys/resource.h: Likewise.
6382 * rt/aio.h: Likewise.
6383 * rt/bits/mqueue2.h: Likewise.
6384 * rt/mqueue.h: Likewise.
6385 * shadow/shadow.h: Likewise.
6386 * signal/signal.h: Likewise.
6387 * socket/send.c: Likewise.
6388 * socket/sendto.c: Likewise.
6389 * socket/sys/socket.h: Likewise.
6390 * stdio-common/printf.h: Likewise.
6391 * stdlib/bits/stdlib.h: Likewise.
6392 * stdlib/fmtmsg.h: Likewise.
6393 * stdlib/monetary.h: Likewise.
6394 * stdlib/stdlib.h: Likewise.
6395 * stdlib/ucontext.h: Likewise.
6396 * streams/stropts.h: Likewise.
6397 * string/argz.h: Likewise.
6398 * string/bits/string2.h: Likewise.
6399 * string/string.h: Likewise.
6400 * string/strings.h: Likewise.
6401 * sunrpc/rpc/auth.h: Likewise.
6402 * sunrpc/rpc/auth_des.h: Likewise.
6403 * sunrpc/rpc/clnt.h: Likewise.
6404 * sunrpc/rpc/netdb.h: Likewise.
6405 * sunrpc/rpc/pmap_clnt.h: Likewise.
6406 * sunrpc/rpc/xdr.h: Likewise.
6407 * sysdeps/generic/inttypes.h: Likewise.
6408 * sysdeps/generic/net/if.h: Likewise.
6409 * sysdeps/generic/sys/swap.h: Likewise.
6410 * sysdeps/gnu/net/if.h: Likewise.
6411 * sysdeps/gnu/utmpx.h: Likewise.
6412 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6413 * sysdeps/i386/i486/bits/string.h: Likewise.
6414 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6415 * sysdeps/s390/bits/string.h: Likewise.
6416 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6417 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6418 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6419 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6420 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6421 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6422 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6423 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6424 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6425 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6426 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6427 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6428 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6429 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6430 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6431 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6432 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6434 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6435 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6437 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6438 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6439 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6440 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6441 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6442 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6443 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6444 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6445 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6446 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6447 * sysvipc/sys/ipc.h: Likewise.
6448 * sysvipc/sys/msg.h: Likewise.
6449 * sysvipc/sys/sem.h: Likewise.
6450 * sysvipc/sys/shm.h: Likewise.
6451 * termios/termios.h: Likewise.
6452 * time/sys/time.h: Likewise.
6453 * time/time.h: Likewise.
6454 * wcsmbs/bits/wchar2.h: Likewise.
6455 * wcsmbs/uchar.h: Likewise.
6456 * wcsmbs/wchar.h: Likewise.
6457 * wctype/wctype.h: Likewise.
6458
6459 [BZ #13551]
6460 * Makeconfig: Remove all but ELF support including AIX support.
6461 * Makerules: Likewise.
6462 * config.h.in: Likewise.
6463 * config.make.in: Likewise.
6464 * configure: Likewise.
6465 * configure.in: Likewise.
6466 * csu/Makefile: Likewise.
6467 * csu/version.c: Likewise.
6468 * debug/Makefile: Likewise.
6469 * dlfcn/Makefile: Likewise.
6470 * elf/Makefile: Likewise.
6471 * extra-lib.mk: Likewise.
6472 * iconv/Makefile: Likewise.
6473 * include/libc-symbols.h: Likewise.
6474 * include/shlib-compat.h: Likewise.
6475 * resolv/Makefile: Likewise.
6476 * resolv/res_libc.c: Likewise.
6477 * rt/Makefile: Likewise.
6478 * sysdeps/i386/asm-syntax.h: Likewise.
6479 * sysdeps/i386/sysdep.h: Likewise.
6480 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6481 * sysdeps/mach/sysdep.h: Likewise.
6482 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6483 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6484 * sysdeps/s390/asm-syntax.h: Likewise.
6485 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6486 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6487 * sysdeps/sh/sysdep.h: Likewise.
6488 * sysdeps/unix/sparc/sysdep.h: Likewise.
6489 * sysdeps/wordsize-32/divdi3.c: Likewise.
6490 * sysdeps/x86_64/sysdep.h: Likewise.
6491
6492 * argp/Versions: Remove _argp_unlock_xxx.
6493
6494 [BZ #13559]
6495 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6496 * abilist/libBrokenLocale.abilist: Likewise.
6497 * abilist/libanl.abilist: Likewise.
6498 * abilist/libc.abilist: Likewise.
6499 * abilist/libcrypt.abilist: Likewise.
6500 * abilist/libdl.abilist: Likewise.
6501 * abilist/libm.abilist: Likewise.
6502 * abilist/libnsl.abilist: Likewise.
6503 * abilist/libpthread.abilist: Likewise.
6504 * abilist/libresolv.abilist: Likewise.
6505 * abilist/librt.abilist: Likewise.
6506 * abilist/libthread_db.abilist: Likewise.
6507 * abilist/libutil.abilist: Likewise.
6508 * abilist/libnss_db.abilist: New file.
6509
6510 * scripts/abilist.awk: Add support for indirect functions.
6511
6512 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6513
6514 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6515
6516 * shlib-versions: Remove entries for ports architectures.
6517
6518 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6519 files in ports.
6520 * elf/stackguard-macros.h: Remove support for IA-64.
6521 * elf/tst-auditmod1.c: Likewise.
6522 * sysdeps/generic/ldsodefs.h: Likewise.
6523
6524 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6525 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6526 configure files.
6527
6528 [BZ #13552]
6529 * configure.in: Remove --enable-omitfp support.
6530 * FAQ.in: Adjust.
6531 * config.make.in: Likewise.
6532 * Makeconfig: Likewise.
6533 * manual/install.texi: Likewise.
6534
6535 In case anyone cares, the IA-64 architecture could move to ports.
6536 * sysdeps/ia64/*: Removed.
6537 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6538 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6539
6540 [BZ #13555]
6541 * configure.in: Remove entries for unsupported architectures.
6542
6543 [BZ #13533]
6544 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6545 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6546 routines.
6547 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6548 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6549 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6550 fall back to using wcrtomb.
6551 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6552 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6553 renaming.
6554 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6555 * wcsmbs/tst-c16c32-1.c: New file.
6556
6557 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6558 local variable.
6559
6560 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6561
6562 * elf/tst-unique3.cc: Add explicit declaration of gets.
6563 * elf/tst-unique3lib.cc: Likewise.
6564 * elf/tst-unique3lib2.cc: Likewise.
6565 * elf/tst-unique4.cc: Likewise.
6566
6567 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6568
6569 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6570
6571 [BZ #13566]
6572 * assert/assert.h (static_assert): Don't define for C++.
6573 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6574 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6575
6576 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6577
6578 * iconv/loop.c (single loop): Fix assertion in storing of
6579 remaining bytes.
6580
6581 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6582
6583 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6584
6585 * posix/getconf.c: Update copyright year.
6586 * nss/getent.c: Likewise.
6587 * nss/makedb.c: Likewise.
6588 * iconv/iconvconfig.c: Likewise.
6589 * iconv/iconv_prog.c: Likewise.
6590 * elf/ldconfig.c: Likewise.
6591 * elf/pldd.c: Likewise.
6592 * elf/sotruss.ksh: Likewise.
6593 * catgets/gencat.c: Likewise.
6594 * csu/version.c: Likewise.
6595 * elf/ldd.bash.in: Likewise.
6596 * elf/sprof.c (print_version): Likewise.
6597 * locale/programs/locale.c: Likewise.
6598 * locale/programs/localedef.c: Likewise.
6599 * login/programs/pt_chown.c: Likewise.
6600 * nscd/nscd.c (print_version): Likewise.
6601 * debug/xtrace.sh: Likewise.
6602 * malloc/memusage.sh: Likewise.
6603 * malloc/mtrace.pl: Likewise.
6604 * debug/catchsegv.sh: Likewise.
6605
6606 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6607
6608 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6609 pure attribute.
6610
6611 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6612
6613 [BZ #13533]
6614 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6615 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6616 transformations.
6617 * iconv/gconv_int.h: Likewise.
6618 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6619 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6620 from libc for GLIBC_2.16.
6621 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6622 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6623 * wcsmbs/uchar.h: Really define mbstate_t.
6624 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6625 * wcsmbs/c16rtomb.c: New file.
6626 * wcsmbs/mbrtoc16.c: New file.
6627 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6628 for C/POSIX locale.
6629 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6630 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6631
6632 * wcsmbs/wchar.h: Add missing __restrict.
6633
6634 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6635
6636 [BZ #13532]
6637 * time/Makefile (routines): Add timespec_get.
6638 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6639 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6640 timespec for ISO C11.
6641 * time/timespec_get.c: New file.
6642 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6643 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6644
6645 [BZ #13531]
6646 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6647 * stdlib/stdlib.h: Declare aligned_alloc.
6648 * Versions.def: Add GLIBC_2.16 for libc.
6649 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6650
6651 [BZ 13527]
6652 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6653 ISO C11.
6654
6655 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6656 code.
6657
6658 [BZ #13528]
6659 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6660
6661 [BZ #13529]
6662 * assert/assert.h (static_assert): Define.
6663
6664 * version.h: Update for 2.16 development version.
6665
6666 [BZ #13526]
6667 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6668 _ISOC11_SOURCE.
6669
6670 * version.h (RELEASE): Bump for 2.15 release.
6671 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6672
6673 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6674 Patch by Marek Polacek <mpolacek@redhat.com>.
6675
6676 * bits/byteswap.h: Protect long long constants with __extension__.
6677 * sysdeps/i386/bits/byteswap.h: Likewise.
6678 * sysdeps/ia64/bits/byteswap.h: Likewise.
6679 * sysdeps/s390/bits/byteswap.h: Likewise.
6680 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6681
6682 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6683
6684 [BZ #13540]
6685 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6686 destination buffer.
6687 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6688
6689 2011-12-23 Marek Polacek <polacek@redhat.com>
6690
6691 * elf/dl-addr.c (determine_info): Add inline keyword.
6692 * elf/tst-auditmod4b.c (check_avx): Likewise.
6693 * elf/tst-auditmod6b.c (check_avx): Likewise.
6694 * elf/tst-auditmod6c.c (check_avx): Likewise.
6695 * elf/tst-auditmod7b.c (check_avx): Likewise.
6696
6697 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6698
6699 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6700 !__SSE_MATH__.
6701
6702 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6703
6704 [BZ #13540]
6705 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6706 processing for last bytes.
6707
6708 2011-08-06 Bruno Haible <bruno@clisp.org>
6709
6710 [BZ #13061]
6711 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6712 U+0385, not to U+1FEE.
6713
6714 [BZ #13062]
6715 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6716 entry for U+00A5 U+0301.
6717
6718 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6719
6720 [BZ #13166]
6721 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6722 buffer for the output is too small.
6723
6724 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6725 optimization.
6726
6727 [BZ #13185]
6728 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6729 SSE flags if possible.
6730
6731 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6732
6733 [BZ #13540]
6734 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6735 processing for last bytes.
6736
6737 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6738
6739 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6740 (syscall-list-default-options, syscall-list-default-condition)
6741 (syscall-list-includes): Define.
6742 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6743 list of ABIs and options and #if conditions for each ABI. Do not
6744 handle common syscalls between ABIs specially.
6745 * sysdeps/unix/sysv/linux/powerpc/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/s390/Makefile (64bit-predefine): Remove.
6751 (syscall-list-variants, syscall-list-32bit-options)
6752 (syscall-list-32bit-condition, syscall-list-64bit-options)
6753 (syscall-list-64bit-condition): Define.
6754 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6755 Remove.
6756 (syscall-list-variants, syscall-list-32bit-options)
6757 (syscall-list-32bit-condition, syscall-list-64bit-options)
6758 (syscall-list-64bit-condition): Define.
6759 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6760 Remove.
6761 (syscall-list-variants, syscall-list-32bit-options)
6762 (syscall-list-32bit-condition, syscall-list-64bit-options)
6763 (syscall-list-64bit-condition): Define.
6764
6765 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6766
6767 * locale/iso-639.def: Add brx entry.
6768
6769 [BZ #13328]
6770 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6771 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6772
6773 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6774 __feraiseexcept_renamed.
6775
6776 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6777
6778 [BZ #13538]
6779 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6780 EPOLLET with unsigned values.
6781 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6782 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6783
6784 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6785 to large cancellation.
6786 * math/s_cacoshf.c: Likewise.
6787 * math/s_cacoshl.c: Likewise.
6788
6789 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6790
6791 [BZ #13305]
6792 [BZ #12786]
6793 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6794 * math/s_cacoshf.c: Likewise.
6795 * math/s_cacoshl.c: Likewise.
6796
6797 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6798
6799 [BZ #13439]
6800 * iconv/gconv.h: Define __GCONV_SWAP.
6801 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6802 * iconvdata/utf-16.c: Likewise.
6803 * iconvdata/utf-32.c: Likewise.
6804
6805 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6806
6807 [BZ #13524]
6808 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6809 numerator after shifting it by one limb.
6810
6811 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6812
6813 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6814 under [__USE_EXTERN_INLINES].
6815
6816 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6817
6818 [BZ #13446]
6819 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6820
6821 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6822
6823 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6824 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6825 optimized code.
6826 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6827 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6828 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6829 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6830 for strncasecmp/strncasecmp_l compilation.
6831 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6832 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6833
6834 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6835
6836 [BZ #13484]
6837 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6838 of __asm__.
6839
6840 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6841
6842 [BZ #13506]
6843 * time/tzfile.c (__tzfile_read): Check values from file header.
6844
6845 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6846
6847 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6848 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6849 * powerpc/powerpc32/dl-start.S: Likewise.
6850 * powerpc/powerpc32/elf/start.S: Likewise.
6851 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6852 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6853 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6854 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6855 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6856 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6857 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6858 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6859 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6860 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6861 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6862 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6863 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6864 * powerpc/powerpc32/memset.S: Likewise.
6865 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6866 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6867 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6868 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6869 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6870 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6871 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6872 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6873 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6874 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6875 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6876 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6877 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6878
6879 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6880
6881 * math/libm-test.inc: Added more nearbyint tests.
6882 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6883 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6884 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6885 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6886
6887 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6888
6889 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6890 FD_CLOEXEC.
6891
6892 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6893
6894 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6895 Add wcscpy-ssse3 wcscpy-c.
6896 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6897 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6898 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6899 * sysdeps/x86_64/wcschr.S: New file.
6900 * sysdeps/x86_64/wcsrchr.S: New file.
6901 * string/test-strcmp.c: Remove checking of wcscmp function for
6902 wrong alignments.
6903 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6904 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6905 wcsrchr-sse2 wcsrchr-c.
6906 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6907 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6908 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6909 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6910 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6911 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6912 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6913 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6914 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6915 * wcsmbc/wcschr.c (WCSCHR): New macro.
6916
6917 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6918
6919 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6920 * wcsmbs/test-wcsrchr.c: New file.
6921 * string/test-strrchr.c: Add wcsrchr support.
6922 (WIDE): New macro.
6923 * wcsmbs/test-wcscpy.c: New file.
6924 * string/test-strcpy.c: Add wcscpy support.
6925 (WIDE): New macro.
6926
6927 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6928
6929 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6930 the inner loop.
6931
6932 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6933
6934 [BZ #13472]
6935 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6936
6937 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6938
6939 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6940 Minor optimizations.
6941
6942 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6943 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6944 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6945
6946 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6947
6948 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6949 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6950 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6951 for gcc to avoid warnings.
6952 * inet/Makefile (tests): Add tst-checks.
6953 * inet/tst-checks.c: New file.
6954
6955 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6956 warning.
6957
6958 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6959 __wmemcmp_sse2.
6960
6961 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6962 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6963
6964 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6965
6966 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6967
6968 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6969 problem.
6970
6971 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6972
6973 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6974
6975 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6976 conditional on GCC version.
6977 (__arch_compare_and_exchange_val_8_acq)
6978 (__arch_compare_and_exchange_val_16_acq)
6979 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6980 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6981 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6982
6983 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6984
6985 * sysdeps/sh/backtrace.c: New file.
6986
6987 2011-12-02 Andreas Schwab <schwab@redhat.com>
6988
6989 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6990 parenthesis.
6991
6992 2011-12-01 Andreas Schwab <schwab@redhat.com>
6993
6994 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6995 falling back to utime.
6996
6997 2011-11-30 Andreas Schwab <schwab@redhat.com>
6998
6999 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7000 expectations for float.
7001
7002 2011-11-29 Andreas Schwab <schwab@redhat.com>
7003
7004 * locale/weight.h (findidx): Add parameter len.
7005 * locale/weightwc.h (findidx): Likewise.
7006 * posix/fnmatch_loop.c (FCT): Adjust caller.
7007 * posix/regcomp.c (build_equiv_class): Likewise.
7008 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7009 * posix/regexec.c (check_node_accept_bytes): Likewise.
7010 * string/strcoll_l.c (STRCOLL): Likewise.
7011 * string/strxfrm_l.c (STRXFRM): Likewise.
7012
7013 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7014
7015 * Makefile.in: Remove CVSOPT handling.
7016 * configure.in: Remove use of AC_REVISION.
7017 * iconvdata/Makefile (distribute): No need to filter out CVS.
7018 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7019 handling.
7020
7021 2011-11-16 Andreas Schwab <schwab@redhat.com>
7022
7023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7024 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7025 [USE_AS_STRNCASECMP_L]: Likewise.
7026 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7027 NO_TLS_DIRECT_SEG_REFS.
7028 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7029 Fix argument offsets for non-PIC.
7030 [USE_AS_STRNCASECMP_L]: Likewise.
7031 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7032 NO_TLS_DIRECT_SEG_REFS.
7033
7034 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7035
7036 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7037 O_CLOEXEC.
7038 * locale/loadlocale.c (_nl_load_locale): Likewise.
7039
7040 2011-11-15 Andreas Schwab <schwab@redhat.com>
7041
7042 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7043 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7044 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7045 (SYSCALL_GETTIME): Set errno on error.
7046
7047 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7048 count references to noai6ai_cached.
7049
7050 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7051
7052 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7053
7054 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7055 FD_CLOEXEC for /proc/self/maps.
7056
7057 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7058 FD_CLOEXEC for /proc/meminfo.
7059
7060 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7061 gai.conf.
7062
7063 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7064 FD_CLOEXEC for given file.
7065
7066 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7067
7068 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7069 FD_CLOEXEC for /etc/hosts.
7070 (_gethtent): Likewise.
7071
7072 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7073
7074 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7075 cancellation and set FD_CLOEXEC for /etc/netgroup.
7076
7077 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7078 reading /etc/publickey.
7079
7080 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7081 allow cancellation when reading /etc/group.
7082
7083 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7084 cancellation.
7085 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7086
7087 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7088 when using data file.
7089
7090 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7091
7092 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7093 (write_nis_obj): Use "c" and "e" in fopen.
7094
7095 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7096
7097 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7098
7099 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7100
7101 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7102
7103 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7104 locale.alias.
7105
7106 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7107
7108 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7109
7110 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7111
7112 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7113 file parsing and set FD_CLOEXEC.
7114
7115 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7116
7117 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7118
7119 2011-11-14 Andreas Schwab <schwab@redhat.com>
7120
7121 * malloc/arena.c (arena_get2): Don't call reused_arena when
7122 _int_new_arena failed.
7123
7124 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7125
7126 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7127 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7128 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7129 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7130 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7131 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7132 to compile strcasecmp and strncasecmp.
7133 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7134 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7135
7136 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7137
7138 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7139
7140 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7141 locale-defines.sym to gen-as-const-headers.
7142 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7143 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7144 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7145 to compile strcasecmp and strncasecmp.
7146 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7147 strcasecmp_l and strncasecmp_l.
7148 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7149 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7150 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7151 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7152 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7153 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7154 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7155 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7156 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7157 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7158 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7159
7160 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7161
7162 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7163 result of SYSDEP_GETTIME_CPU to retval.
7164 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7165 parameter list to macro. Remove trailing semicolon. Adjust users.
7166
7167 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7168 variable.
7169
7170 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7171 mantissa words.
7172 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7173
7174 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7175 from unused variable.
7176
7177 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7178 DWARF definitions.
7179 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7180 for assembling.
7181
7182 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7183 over namespaces.
7184
7185 * sunrpc/rpc_prot.c (rejected): Fix case value.
7186
7187 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7188 unsigned long long int to avoid warnings in shift.
7189
7190 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7191 of use of trans.
7192 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7193 variable tmp.
7194
7195 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7196 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7197 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7198
7199 * nis/nis_table.c (nis_list): Use variable of correct type for
7200 result of __follow_path call.
7201
7202 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7203
7204 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7205 of math functions ceil, trunc, floor, round, and sqrt, when
7206 avaliable on the platform.
7207 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7208 name clash.
7209 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7210 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7211 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7212
7213 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7214
7215 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7216 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7217
7218 2011-11-11 Roland McGrath <roland@hack.frob.com>
7219
7220 * include/unistd.h: Fix __readlink return type.
7221 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7222
7223 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7224
7225 * stdlib/ucontext.h: Undo last change for makecontext.
7226
7227 2011-11-11 Andreas Schwab <schwab@redhat.com>
7228
7229 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7230
7231 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7232 * setjmp/setjmp.h: Mark functions as non-leaf.
7233 * setjmp/bits/setjmp2.h: Likewise.
7234 * stdlib/ucontext.h: Likewise.
7235
7236 2011-11-10 Andreas Schwab <schwab@redhat.com>
7237
7238 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7239 (reused_arena): Don't check arena limit.
7240 (arena_get2): Atomically check arena limit.
7241
7242 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7243
7244 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7245 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7246
7247 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7248 instructions.
7249
7250 2011-11-07 Andreas Schwab <schwab@redhat.com>
7251
7252 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7253 handler when locking.
7254
7255 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7256 Fix size of allocated buffer.
7257
7258 2011-11-04 Andreas Schwab <schwab@redhat.com>
7259
7260 [BZ #10103]
7261 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7262 declarations for long double functions.
7263 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7264
7265 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7266
7267 2011-11-03 Andreas Schwab <schwab@redhat.com>
7268
7269 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7270 installed.
7271
7272 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7273 is disabled.
7274
7275 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7276
7277 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7278
7279 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7280
7281 * include/alloca.h (stackinfo_alloca_round): Define.
7282 (extend_alloca): Use it.
7283 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7284 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7285 here.
7286
7287 * scripts/check-local-headers.sh: Ignore libaudit.h.
7288
7289 * nscd/Makefile (extra-objs): Make recursively expanded.
7290
7291 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7292
7293 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7294 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7295
7296 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7297 * posix/tst-rfc3484-2.c: Likewise.
7298 * posix/tst-rfc3484-3.c: Likewise.
7299
7300 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7301 process_vm_writev.
7302 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7303 process_vm_writev.
7304 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7305 process_vm_writev from libc using GLIBC_2.15 version.
7306
7307 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7308
7309 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7310
7311 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7312 stack usage.
7313
7314 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7315
7316 [BZ #13367]
7317 * nss/getent.c (initgroups_keys): Show error message in case no group
7318 names are given.
7319
7320 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7321 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7322 __bump_nl_timestamp.
7323 * nscd/connections (nscd_init): When host database is served open
7324 netlink socket and request notification about configuration changes.
7325 (main_loop_poll): Track netlink file descriptor and bump timestamp
7326 in case data becomes available.
7327 (main_loop_epoll): Likewise.
7328 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7329 (database_pers_head): Add extra_data fileds.
7330 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7331 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7332 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7333 Adjust caller.
7334 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7335 in6ai data, call __free_in6ai.
7336 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7337 Add -DHAVE_NETLINK.
7338 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7339 interface information. Reuse previous data if netlink timestamp
7340 is not changed.
7341 (__bump_nl_timestamp): New function.
7342 (__free_in6ai): New function.
7343
7344 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7345
7346 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7347 close_not_cancel_no_status here.
7348 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7349
7350 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7351
7352 [BZ #13276]
7353 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7354 return value.
7355
7356 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7357 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7358 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7359
7360 2011-07-03 Andreas Jaeger <aj@suse.de>
7361
7362 [BZ #10709]
7363 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7364 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7365 * math/libm-test.inc (sin_test): Add test case.
7366
7367 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7368
7369 [BZ #13337]
7370 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7371 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7372
7373 * elf/chroot_canon.c (chroot_canon): Cleanups.
7374
7375 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7376
7377 [BZ #13335]
7378 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7379 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7380
7381 * string/test-strchr.c: Make usable for strchrnul testing.
7382 * string/test-strchrnul.c: New file.
7383 * string/Makefile (strop-tests): Add strchrnul.
7384
7385 * po/it.po: Update from translation team.
7386 * po/es.po: Likewise.
7387
7388 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7389
7390 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7391 the three constants needed as parameters. Drop the others.
7392 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7393 __m128i_strloadu_tolower.
7394 Create and initialize variable zero and use it in all the places
7395 where _mm_setzero_si128 was used.
7396
7397 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7398 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7399 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7400 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7401 anymore.
7402 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7403 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7404 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7405 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7406 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7407 __mpranred, __mptan.
7408 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7409 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7410 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7411 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7412 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7413 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7414 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7415 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7416 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7417
7418 2011-10-28 Andreas Schwab <schwab@redhat.com>
7419
7420 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7421 redefine if SHARED.
7422 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7423
7424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7425 wide char related routines to wcsmbs subdir.
7426
7427 2011-10-27 Andreas Schwab <schwab@redhat.com>
7428
7429 [BZ #13344]
7430 * misc/sys/cdefs.h (__THROWNL): Define.
7431 * posix/unistd.h: Use __THREADNL instead of __THREAD
7432 for memory synchronization functions.
7433
7434 2011-10-26 Roland McGrath <roland@hack.frob.com>
7435
7436 [BZ #13349]
7437 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7438 doesn't exist.
7439 * manual/stdio.texi (Obstack Streams): Node removed.
7440
7441 2011-10-26 Andreas Schwab <schwab@redhat.com>
7442
7443 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7444 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7445 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7446
7447 * math/math_private.h (math_force_eval): Allow non-addressable
7448 arguments.
7449 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7450
7451 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7452
7453 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7454 file is not needed.
7455
7456 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7457 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7458 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7459 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7460 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7461 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7462 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7463 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7464 Add AVX variants.
7465 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7466 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7467 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7468 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7469 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7470 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7471 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7472 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7473 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7474 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7475 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7476 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7477 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7478 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7479 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7480 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7481 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7482 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7483 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7484
7485 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7486 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7487
7488 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7489 place. Use VEX encoding when compiling for AVX.
7490
7491 2011-10-25 Andreas Schwab <schwab@redhat.com>
7492
7493 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7494 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7495
7496 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7497
7498 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7499
7500 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7501 useless if() expression.
7502 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7504 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7505 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7506 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7507 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7508 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7509 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7510 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7511 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7512 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7513 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7514 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7515 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7516 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7517 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7518 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7519 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7520 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7521
7522 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7523
7524 2011-10-25 Andreas Schwab <schwab@redhat.com>
7525
7526 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7527 condition.
7528 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7529
7530 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7531
7532 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7533 .text section. Avoid duplicate constants.
7534 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7535 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7544 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7546 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7549 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7551 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7557 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7558 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7559 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7560 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7561 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7562 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7563 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7564 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7565 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7566 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7567 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7568 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7569 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7570 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7571 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7572 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7573 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7574 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7575 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7576 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7577 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7578 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7579
7580 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7581
7582 * sysdeps/x86_64/dla.h: Move to ...
7583 * sysdeps/x86_64/fpu/dla.h: ...here.
7584 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7585 situations. Use __builtin_fma only for gcc 4.6 and up.
7586
7587 * config.make.in: Add have-mfma4 entry.
7588 * configure.in: Substitute libc_cv_cc_fma4.
7589 * math/Makefile (dbl-only-routines): Add sincostab.
7590 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7591 Use __sincostab not sincos.
7592 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7593 name is a macro.
7594 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7596 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7598 using __copysign.
7599 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7600 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7601 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7602 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7603 and __inv.
7604 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7605 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7606 __copysign.
7607 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7608 define aliases when function name is a macro.
7609 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7610 sysdeps/ieee754/dbl-64/sincos.tbl.
7611 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7612 fma4-enabled routines.
7613 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7614 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7615 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7616 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7617 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7618 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7619 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7620 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7621 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7622 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7623 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7624 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7625 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7626 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7627 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7628 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7629 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7630 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7631 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7632 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7633 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7634 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7635 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7636 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7637 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7638 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7640 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7641 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7642 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7643
7644 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7645 rename.
7646 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7647 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7648 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7649 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7651 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7654
7655 2011-10-24 Andreas Schwab <schwab@redhat.com>
7656
7657 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7658
7659 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7660
7661 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7662
7663 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7664 prediction.
7665 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7666
7667 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7668 Remove unused variable magic_bits.
7669 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7670
7671 * string/strnlen.c: Define and use STRNLEN macro.
7672 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7673 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7674 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7675 * wcsmbs/wcslen.c: Define and use WCSLEN.
7676 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7677 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7678 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7679 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7680 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7681 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7682 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7683
7684 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7685
7686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7687 strnlen-sse2-no-bsf.
7688 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7689 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7690 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7691 Add strnlen support.
7692 (USE_AS_STRNLEN): New macro.
7693 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7694 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7695 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7696 * sysdeps/x86_64/wcslen.S: New file.
7697
7698 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7699
7700 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7701 XMM-moves are used for copying on small sizes.
7702
7703 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7704
7705 * wcsmbs/Makefile (strop-tests): Add wcschr.
7706 * wcsmbs/test-wcschr.c: New file.
7707 * string/test-strchr.c: Update.
7708 Add wcschr support.
7709 (WIDE): New macro.
7710
7711 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7712
7713 * wcsmbs/Makefile (strop-tests): Add wcslen.
7714 * wcsmbs/test-wcslen.c: New file.
7715 * string/test-strlen.c: Update.
7716 Add wcslen support.
7717 (WIDE): New macro.
7718
7719 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7720
7721 * po/it.po: Update from translation team.
7722
7723 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7724
7725 * sysdeps/x86_64/wcscmp.S: Update.
7726 Fix wrong comparison semantics.
7727 wcscmp shall use signed comparison not unsigned.
7728 Don't use substraction to avoid overflow bug.
7729 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7730 * wcsmbc/wcscmp.c: Likewise.
7731 * string/test-strcmp.c: Likewise.
7732 Add new tests to check cases with negative values.
7733
7734 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7735
7736 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7737 * sysdeps/x86_64/dla.h: ...here. New file.
7738 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7739 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7747
7748 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7749
7750 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7751 __ynl_finite aliases.
7752
7753 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7754
7755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7756
7757 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7758 define DLA_FMA.
7759 [DLA_FMA] (EMULV): Use DLA_FMA.
7760 [DLA_FMA] (MUL12): Use EMULV.
7761 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7762 that are not needed.
7763 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7764 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7766 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7768 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7769 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7770
7771 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7772
7773 * math/s_nan.c: Undef __nan.
7774 * math/s_nanf.c: Undef __nanf.
7775 * math/s_nanl.c: Undef __nanl.
7776 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7777 "math_private.h".
7778
7779 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7780
7781 * math/s_catan.c: Add branch predictions.
7782 * math/s_catanf.c: Likewise.
7783 * math/s_catanh.c: Likewise.
7784 * math/s_catanhf.c: Likewise.
7785 * math/s_catanhl.c: Likewise.
7786 * math/s_catanl.c: Likewise.
7787 * math/s_cexp.c: Likewise.
7788 * math/s_cexpf.c: Likewise.
7789 * math/s_cexpl.c: Likewise.
7790 * math/s_clog.c: Likewise.
7791 * math/s_clog10.c: Likewise.
7792 * math/s_clog10f.c: Likewise.
7793 * math/s_clog10l.c: Likewise.
7794 * math/s_clogf.c: Likewise.
7795 * math/s_clogl.c: Likewise.
7796 * math/s_csqrt.c: Likewise.
7797 * math/s_csqrtf.c: Likewise.
7798 * math/s_csqrtl.c: Likewise.
7799 * math/s_ctanf.c: Likewise.
7800 * math/s_ctanh.c: Likewise.
7801 * math/s_ctanhf.c: Likewise.
7802 * math/s_ctanhl.c: Likewise.
7803 * math/s_ctanl.c: Likewise.
7804
7805 * math/math_private.h: Define __nan, __nanf, __nanl.
7806 * math/s_cacosh.c: Include <math_private.h>.
7807 * math/s_cacoshl.c: Likewise.
7808 * math/s_casinh.c: Likewise.
7809 * math/s_casinhf.c: Likewise.
7810 * math/s_casinhl.c: Likewise.
7811 * math/s_ccos.c: Rely entire on ccosh.
7812 * math/s_ccosf.c: Rely entire on ccoshf.
7813 * math/s_ccosl.c: Rely entirely on ccoshl.
7814 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7815 Remove tests for FE_INVALID.
7816 * math/s_ccoshf.c: Likewise.
7817 * math/s_ccoshl.c: Likewise.
7818 * math/s_csin.c: Likewise.
7819 * math/s_csinf.c: Likewise.
7820 * math/s_csinh.c Likewise.
7821 * math/s_csinhf.c: Likewise.
7822 * math/s_csinhl.c: Likewise.
7823 * math/s_csinl.c: Likewise.
7824 * math/s_ctan.c: Likewise.
7825 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7826 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7827 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7828
7829 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7830
7831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7832 compilation problems.
7833
7834 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7835 __builtin_expect.
7836
7837 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7838
7839 * sysdeps/i386/configure.in: Test for -mfma4 option.
7840 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7841 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7842 COMMON_CPUID_INDEX_80000001.
7843 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7844 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7845 use it if FMA3 is not supported.
7846 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7847
7848 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7849 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7850
7851 2011-10-20 Andreas Schwab <schwab@redhat.com>
7852
7853 [BZ #12892]
7854 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7855 it would create a cycle with a link time dependency.
7856
7857 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7858
7859 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7860 instruction.
7861 * string/Makefile (strop-tests): Add rawmemchr.
7862 * string/test-rawmemchr.c: New file.
7863
7864 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7865 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7866 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7867 when compiling str{,n}casecmp and when AVX is available. Hook up
7868 new optimized code in initializers.
7869
7870 2011-10-19 Andreas Schwab <schwab@redhat.com>
7871
7872 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7873 __feraiseexcept instead of feraiseexcept.
7874
7875 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7876
7877 * math/math_private.h: Define defaults for libc_fetestexcept and
7878 libc_feupdateenv.
7879 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7880 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7881 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7882 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7883 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7884 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7885 libc_fetestexcept and libc_feupdateenv.
7886
7887 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7888 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7889 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7890 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7891 libc_feholdexcept_setround.
7892
7893 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7894 Add s_nearbyint-c and s_nearbyintf-c.
7895 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7896 nearbyintf inlines.
7897 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7898 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7899 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7900 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7901
7902 * math/math_private.h: Define defaults for libc_fegetround,
7903 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7904 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7905 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7906 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7907 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7908 standard functions.
7909 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7910 Remove comments and hacks for old compiler versions.
7911 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7912 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7913 libc_feholdexceptl.
7914
7915 2011-10-18 Andreas Schwab <schwab@redhat.com>
7916
7917 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7918 (__feraiseexcept_renamed): Add __NTH.
7919 (feraiseexcept): Add __NTH. Rename local variables to fix
7920 namespace violations.
7921
7922 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7923
7924 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7925
7926 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7927
7928 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7929 recently added interfaces.
7930 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7931
7932 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7933 about macro parameter expansion.
7934
7935 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7936 __NO_MATH_INLINES is defined. Cleanups.
7937
7938 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7939 and __floorf is target has SSE4.1.
7940 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7941 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7942 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7943 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7944
7945 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7946 name.
7947 (floorf): Likewise.
7948
7949 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7950
7951 2011-10-17 Andreas Schwab <schwab@redhat.com>
7952
7953 * misc/sys/cdefs.h: Fix last change.
7954
7955 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7956 database lookup.
7957
7958 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7959
7960 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7961
7962 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7963 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7964 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7968 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7969 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7970 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7971 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7972 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7973 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7974 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7975 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7976 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7977 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7978 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7979 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7980 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7981 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7982 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7983 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7984
7985 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7986 ceil, ceilf, floor, floorf.
7987
7988 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7989 Perform IRELATIVE relocations last.
7990
7991 * elf/do-rel.h: Add another parameter nrelative, replacing the
7992 local variable with the same name. Change name of the function
7993 to end in Rel or Rela (uppercase).
7994 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7995 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7996 elf_dynamic_do_##reloc function.
7997
7998 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7999
8000 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8001 is sufficient, at least on modern CPUs.
8002
8003 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8004
8005 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8006 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8007
8008 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8009 __expl_finite.
8010 * math/bits/math-finite.h: Add entries for exp.
8011 * math/e_expl.c: Add __*_finite alias.
8012 * sysdeps/i386/fpu/e_exp.S: Likewise.
8013 * sysdeps/i386/fpu/e_expf.S: Likewise.
8014 * sysdeps/i386/fpu/e_expl.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8016 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8017 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8018 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8019 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8020 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8021 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8022
8023 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8024 is sufficient, at least on modern CPUs.
8025
8026 * ctype/ctype-info.c (__ctype_init): Define.
8027 * include/ctype.h (__ctype_init): Declare.
8028 (__ctype_b_loc): The variable is always initialized.
8029 (__ctype_toupper_loc): Likewise.
8030 (__ctype_tolower_loc): Likewise.
8031 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8032 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8033
8034 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8035
8036 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8037
8038 * configure.in: Also look in $cxxmachine/include for C++ system
8039 headers.
8040
8041 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8042
8043 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8044 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8045 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8046 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8047 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8048 (USE_AS_WMEMCMP): New macro.
8049 Fixing indents.
8050 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8051 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8052 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8053 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8055 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8056 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8057 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8058 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8059 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8060 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8061 (USE_AS_WMEMCMP): New macro.
8062 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8063 * sysdeps/string/test-memcmp.c: Update.
8064 Fix simple_wmemcmp.
8065 Add new tests.
8066 * wcsmbs/wmemcmp.c: Update.
8067 (WMEMCMP): New macro.
8068 Fix overflow bug.
8069
8070 2011-10-12 Andreas Jaeger <aj@suse.de>
8071
8072 [BZ #13268]
8073 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8074
8075 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8076
8077 * libio/iofwide.c (do_length): Avoid warning.
8078
8079 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8080
8081 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8082
8083 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8084
8085 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8086 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8087 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8088 * sysdeps/i386/i686/fpu/e_log.S: New file.
8089 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8090 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8091
8092 * ctype/ctype.h: Add support for inlined isXXX functions when
8093 compiling C++ code.
8094
8095 2011-10-14 Andreas Schwab <schwab@redhat.com>
8096
8097 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8098
8099 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8100
8101 2011-10-13 Roland McGrath <roland@hack.frob.com>
8102
8103 [BZ #13291]
8104 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8105
8106 2011-10-13 Andreas Schwab <schwab@redhat.com>
8107
8108 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8109 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8110 feraiseexcept.
8111
8112 * sysdeps/x86_64/memrchr.S: Check for zero size.
8113
8114 * string/stratcliff.c: Add memrchr tests.
8115
8116 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8117
8118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8119 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8120 rawmemchr-sse2 rawmemchr-sse2-bsf.
8121 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8122 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8123 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8124 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8125 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8126 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8127 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8128 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8129 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8130 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8131 * string/memrchr.c (MEMRCHR): New macro.
8132
8133 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8134
8135 Add integration with gcc's -ffinite-math-only and optimize wrapper
8136 functions in libm.
8137 * Versions.def: Define GLIBC_2.15 version for libm.
8138 * math/Makefile (headers): Add bits/math-finite.h.
8139 * math/bits/math-finite.h: New file.
8140 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8141 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8142 * math/e_acoshl.c: Add __*_finite alias.
8143 * math/e_acosl.c: Likewise.
8144 * math/e_asinl.c: Likewise.
8145 * math/e_atan2l.c: Likewise.
8146 * math/e_atanhl.c: Likewise.
8147 * math/e_coshl.c: Likewise.
8148 * math/e_exp10.c: Likewise.
8149 * math/e_exp10f.c: Likewise.
8150 * math/e_exp10l.c: Likewise.
8151 * math/e_exp2l.c: Likewise.
8152 * math/e_fmodl.c: Likewise.
8153 * math/e_gammal_r.c: Likewise.
8154 * math/e_hypotl.c: Likewise.
8155 * math/e_j0l.c: Likewise.
8156 * math/e_j1l.c: Likewise.
8157 * math/e_jnl.c: Likewise.
8158 * math/e_lgammal_r.c: Likewise.
8159 * math/e_log10l.c: Likewise.
8160 * math/e_log2l.c: Likewise.
8161 * math/e_logl.c: Likewise.
8162 * math/e_powl.c: Likewise.
8163 * math/e_sinhl.c: Likewise.
8164 * math/e_sqrtl.c: Likewise.
8165 * math/e_scalb.c: Completely rewritten and optimized.
8166 * math/e_scalbf.c: Likewise.
8167 * math/e_scalbl.c: Likewise.
8168 * math/w_acos.c: Likewise.
8169 * math/w_acosf.c: Likewise.
8170 * math/w_acosl.c: Likewise.
8171 * math/w_acosh.c: Likewise.
8172 * math/w_acoshf.c: Likewise.
8173 * math/w_acoshl.c: Likewise.
8174 * math/w_asin.c: Likewise.
8175 * math/w_asinf.c: Likewise.
8176 * math/w_asinl.c: Likewise.
8177 * math/w_atan2.c: Likewise.
8178 * math/w_atan2f.c: Likewise.
8179 * math/w_atan2l.c: Likewise.
8180 * math/w_atanh.c: Likewise.
8181 * math/w_atanhf.c: Likewise.
8182 * math/w_atanhl.c: Likewise.
8183 * math/w_exp10.c: Likewise.
8184 * math/w_exp10f.c: Likewise.
8185 * math/w_exp10l.c: Likewise.
8186 * math/w_fmod.c: Likewise.
8187 * math/w_fmodf.c: Likewise.
8188 * math/w_fmodl.c: Likewise.
8189 * math/w_j0.c: Likewise.
8190 * math/w_j0f.c: Likewise.
8191 * math/w_j0l.c: Likewise.
8192 * math/w_j1.c: Likewise.
8193 * math/w_j1f.c: Likewise.
8194 * math/w_j1l.c: Likewise.
8195 * math/w_jn.c: Likewise.
8196 * math/w_jnf.c: Likewise.
8197 * math/w_log.c: Likewise.
8198 * math/w_logf.c: Likewise.
8199 * math/w_logl.c: Likewise.
8200 * math/w_log10.c: Likewise.
8201 * math/w_log10f.c: Likewise.
8202 * math/w_log10l.c: Likewise.
8203 * math/w_log2.c: Likewise.
8204 * math/w_log2f.c: Likewise.
8205 * math/w_log2l.c: Likewise.
8206 * math/w_pow.c: Likewise.
8207 * math/w_powf.c: Likewise.
8208 * math/w_powl.c: Likewise.
8209 * math/w_remainder.c: Likewise.
8210 * math/w_remainderf.c: Likewise.
8211 * math/w_remainderl.c: Likewise.
8212 * math/w_scalb.c: Likewise.
8213 * math/w_scalbf.c: Likewise.
8214 * math/w_scalbl.c: Likewise.
8215 * math/w_sqrt.c: Likewise.
8216 * math/w_sqrtf.c: Likewise.
8217 * math/w_sqrtl.c: Likewise.
8218 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8219 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8220 used.
8221 * math/math_private.h: Declare __kernel_standard_f.
8222 * math/w_cosh.c: Remove cruft and optimize a bit.
8223 * math/w_coshf.c: Likewise.
8224 * math/w_coshl.c: Likewise.
8225 * math/w_exp2.c: Likewise.
8226 * math/w_exp2f.c: Likewise.
8227 * math/w_exp2l.c: Likewise.
8228 * math/w_hypot.c: Likewise.
8229 * math/w_hypotf.c: Likewise.
8230 * math/w_hypotl.c: Likewise.
8231 * math/w_lgamma.c: Likewise.
8232 * math/w_lgamma_r.c: Likewise.
8233 * math/w_lgammaf.c: Likewise.
8234 * math/w_lgammaf_r.c: Likewise.
8235 * math/w_lgammal.c: Likewise.
8236 * math/w_lgammal_r.c: Likewise.
8237 * math/w_sinh.c: Likewise.
8238 * math/w_sinhf.c: Likewise.
8239 * math/w_sinhl.c: Likewise.
8240 * math/w_tgamma.c: Likewise.
8241 * math/w_tgammaf.c: Likewise.
8242 * math/w_tgammal.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8244 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8245 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8246 Minor optimizations. Pretty printing. Remove cruft.
8247 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8248 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8249 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8250 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8251 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8252 * sysdeps/i386/fpu/e_asin.S: Likewise.
8253 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8254 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8255 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8256 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8257 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8258 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8259 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8260 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8261 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8262 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8263 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8264 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8265 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8266 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8267 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8268 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8269 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8270 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8271 * sysdeps/i386/fpu/e_log.S: Likewise.
8272 * sysdeps/i386/fpu/e_log10.S: Likewise.
8273 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8274 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8275 * sysdeps/i386/fpu/e_log2.S: Likewise.
8276 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8277 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8278 * sysdeps/i386/fpu/e_logf.S: Likewise.
8279 * sysdeps/i386/fpu/e_logl.S: Likewise.
8280 * sysdeps/i386/fpu/e_pow.S: Likewise.
8281 * sysdeps/i386/fpu/e_powf.S: Likewise.
8282 * sysdeps/i386/fpu/e_powl.S: Likewise.
8283 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8284 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8285 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8286 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8287 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8288 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8289 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8290 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8291 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8300 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8301 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8313 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8314 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8315 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8316 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8317 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8318 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8319 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8320 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8321 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8322 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8323 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8324 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8325 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8326 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8327 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8328 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8329 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8330 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8331 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8332 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8333 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8341 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8342 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8347 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8357 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8361 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8363 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8364 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8372 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8374 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8375 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8376 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8377 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8378 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8380 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8383 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8384 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8385 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8386 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8387 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8388 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8389 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8390 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8391 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8392 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8393 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8394 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8395 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8396 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8397 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8398 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8399 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8400 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8401 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8402 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8403 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8404 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8405 (__isnanf): Likewise.
8406 (__isinf_ns): Likewise.
8407 (__isinf_nsf): Likewise.
8408 (__finite): Likewise.
8409 (__finitef): Likewise.
8410 (__ieee754_sqrt): Define as macro.
8411 (__ieee754_sqrtf): Define as macro.
8412 (__ieee754_sqrtl): Define as macro.
8413 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8414 inlined copy.
8415 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8416 __FINITE_MATH_ONLY__ consistent.
8417 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8418
8419 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8420
8421 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8422 of rawmemchr.
8423
8424 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8425
8426 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8427
8428 * po/ja.po: Update from translation team.
8429
8430 2011-10-08 Roland McGrath <roland@hack.frob.com>
8431
8432 * locale/programs/locarchive.c (prepare_address_space): New function.
8433 (create_archive, enlarge_archive, open_archive): Use it.
8434
8435 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8436 inside [SHARED], where it is used.
8437
8438 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8439
8440 * nss/getent.c (netgroup_keys): Remove unused variable.
8441 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8442
8443 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8444
8445 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8446 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8447 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8448 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8449 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8450 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8451 * math/Makefile (libm-calls): Add s_isinf_ns.
8452 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8453 * math/multc3.c: Likewise.
8454 * math/s_casin.c: Likewise.
8455 * math/s_casinf.c: Likewise.
8456 * math/s_casinl.c: Likewise.
8457 * math/s_ccos.c: Likewise.
8458 * math/s_ccosf.c: Likewise.
8459 * math/s_ccosl.c: Likewise.
8460 * math/s_ctan.c: Likewise.
8461 * math/s_ctanf.c: Likewise.
8462 * math/s_ctanh.c: Likewise.
8463 * math/s_ctanhf.c: Likewise.
8464 * math/s_ctanhl.c: Likewise.
8465 * math/s_ctanl.c: Likewise.
8466 * math/w_fmod.c: Likewise.
8467 * math/w_fmodf.c: Likewise.
8468 * math/w_fmodl.c: Likewise.
8469 * math/w_remainder.c: Likewise.
8470 * math/w_remainderf.c: Likewise.
8471 * math/w_remainderl.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8473 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8474 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8475 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8476 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8477 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8478 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8479 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8480
8481 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8482 of the number.
8483 * stdio-common/printf_fphex.c: Likewise.
8484 * stdio-common/printf_size.c: Likewise.
8485
8486 * math/e_exp10.c: Include math_private.h using <...> not "...".
8487 * math/e_exp10f.c: Likewise.
8488 * math/e_exp10l.c: Likewise.
8489 * math/e_exp2l.c: Likewise.
8490 * math/e_j0l.c: Likewise.
8491 * math/e_j1l.c: Likewise.
8492 * math/e_jnl.c: Likewise.
8493 * math/e_lgammal_r.c: Likewise.
8494 * math/e_rem_pio2l.c: Likewise.
8495 * math/e_scalb.c: Likewise.
8496 * math/e_scalbf.c: Likewise.
8497 * math/e_scalbl.c: Likewise.
8498 * math/k_cosl.c: Likewise.
8499 * math/k_sinl.c: Likewise.
8500 * math/k_tanl.c: Likewise.
8501 * math/s_cacoshf.c: Likewise.
8502 * math/s_catan.c: Likewise.
8503 * math/s_catanf.c: Likewise.
8504 * math/s_catanh.c: Likewise.
8505 * math/s_catanhf.c: Likewise.
8506 * math/s_catanhl.c: Likewise.
8507 * math/s_catanl.c: Likewise.
8508 * math/s_ccosh.c: Likewise.
8509 * math/s_ccoshf.c: Likewise.
8510 * math/s_ccoshl.c: Likewise.
8511 * math/s_cexp.c: Likewise.
8512 * math/s_cexpf.c: Likewise.
8513 * math/s_cexpl.c: Likewise.
8514 * math/s_clog.c: Likewise.
8515 * math/s_clog10.c: Likewise.
8516 * math/s_clog10f.c: Likewise.
8517 * math/s_clog10l.c: Likewise.
8518 * math/s_clogf.c: Likewise.
8519 * math/s_clogl.c: Likewise.
8520 * math/s_csin.c: Likewise.
8521 * math/s_csinf.c: Likewise.
8522 * math/s_csinh.c: Likewise.
8523 * math/s_csinhf.c: Likewise.
8524 * math/s_csinhl.c: Likewise.
8525 * math/s_csinl.c: Likewise.
8526 * math/s_csqrt.c: Likewise.
8527 * math/s_csqrtf.c: Likewise.
8528 * math/s_csqrtl.c: Likewise.
8529 * math/s_ctan.c: Likewise.
8530 * math/s_ctanf.c: Likewise.
8531 * math/s_ctanh.c: Likewise.
8532 * math/s_ctanhf.c: Likewise.
8533 * math/s_ctanhl.c: Likewise.
8534 * math/s_ctanl.c: Likewise.
8535 * math/s_ldexp.c: Likewise.
8536 * math/s_ldexpf.c: Likewise.
8537 * math/s_ldexpl.c: Likewise.
8538 * math/s_significand.c: Likewise.
8539 * math/s_significandf.c: Likewise.
8540 * math/s_significandl.c: Likewise.
8541 * math/w_acos.c: Likewise.
8542 * math/w_acosf.c: Likewise.
8543 * math/w_acosh.c: Likewise.
8544 * math/w_acoshf.c: Likewise.
8545 * math/w_acoshl.c: Likewise.
8546 * math/w_acosl.c: Likewise.
8547 * math/w_asin.c: Likewise.
8548 * math/w_asinf.c: Likewise.
8549 * math/w_asinl.c: Likewise.
8550 * math/w_atan2.c: Likewise.
8551 * math/w_atan2f.c: Likewise.
8552 * math/w_atan2l.c: Likewise.
8553 * math/w_atanh.c: Likewise.
8554 * math/w_atanhf.c: Likewise.
8555 * math/w_atanhl.c: Likewise.
8556 * math/w_cosh.c: Likewise.
8557 * math/w_coshf.c: Likewise.
8558 * math/w_coshl.c: Likewise.
8559 * math/w_dremf.c: Likewise.
8560 * math/w_exp10.c: Likewise.
8561 * math/w_exp10f.c: Likewise.
8562 * math/w_exp10l.c: Likewise.
8563 * math/w_exp2.c: Likewise.
8564 * math/w_exp2f.c: Likewise.
8565 * math/w_fmod.c: Likewise.
8566 * math/w_fmodf.c: Likewise.
8567 * math/w_fmodl.c: Likewise.
8568 * math/w_hypot.c: Likewise.
8569 * math/w_hypotf.c: Likewise.
8570 * math/w_hypotl.c: Likewise.
8571 * math/w_j0.c: Likewise.
8572 * math/w_j0f.c: Likewise.
8573 * math/w_j0l.c: Likewise.
8574 * math/w_j1.c: Likewise.
8575 * math/w_j1f.c: Likewise.
8576 * math/w_j1l.c: Likewise.
8577 * math/w_jn.c: Likewise.
8578 * math/w_jnf.c: Likewise.
8579 * math/w_jnl.c: Likewise.
8580 * math/w_lgamma.c: Likewise.
8581 * math/w_lgamma_r.c: Likewise.
8582 * math/w_lgammaf.c: Likewise.
8583 * math/w_lgammaf_r.c: Likewise.
8584 * math/w_lgammal.c: Likewise.
8585 * math/w_lgammal_r.c: Likewise.
8586 * math/w_log.c: Likewise.
8587 * math/w_log10.c: Likewise.
8588 * math/w_log10f.c: Likewise.
8589 * math/w_log10l.c: Likewise.
8590 * math/w_log2.c: Likewise.
8591 * math/w_log2f.c: Likewise.
8592 * math/w_log2l.c: Likewise.
8593 * math/w_logf.c: Likewise.
8594 * math/w_logl.c: Likewise.
8595 * math/w_pow.c: Likewise.
8596 * math/w_powf.c: Likewise.
8597 * math/w_powl.c: Likewise.
8598 * math/w_remainder.c: Likewise.
8599 * math/w_remainderf.c: Likewise.
8600 * math/w_remainderl.c: Likewise.
8601 * math/w_scalb.c: Likewise.
8602 * math/w_scalbf.c: Likewise.
8603 * math/w_scalbl.c: Likewise.
8604 * math/w_sinh.c: Likewise.
8605 * math/w_sinhf.c: Likewise.
8606 * math/w_sinhl.c: Likewise.
8607 * math/w_sqrt.c: Likewise.
8608 * math/w_sqrtf.c: Likewise.
8609 * math/w_sqrtl.c: Likewise.
8610 * math/w_tgamma.c: Likewise.
8611 * math/w_tgammaf.c: Likewise.
8612 * math/w_tgammal.c: Likewise.
8613
8614 * po/ja.po: Update from translation team.
8615
8616 2011-09-29 Andreas Jaeger <aj@suse.de>
8617
8618 [BZ #13179]
8619 * sunrpc/netname.c (netname2host): Fix logic.
8620
8621 [BZ #6779]
8622 [BZ #6783]
8623 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8624 correctly.
8625 * math/w_remainder.c (__remainder): Likewise.
8626 * math/w_remainderf.c (__remainderf): Likewise.
8627 * math/libm-test.inc (remainder_test): Add test cases.
8628
8629 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8630
8631 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8632 sdiv_qrnnd.
8633
8634 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8635
8636 * string/test-memcmp.c: Avoid unncessary #defines.
8637 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8638
8639 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8640
8641 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8642 Use new sse2 version for core i3 - i7 as it's faster
8643 than sse42 version.
8644 (bit_Prefer_PMINUB_for_stringop): New.
8645 * sysdeps/x86_64/rawmemchr.S: Update.
8646 Replace with faster SSE2 version.
8647 * sysdeps/x86_64/memrchr.S: New file.
8648 * sysdeps/x86_64/memchr.S: Update.
8649 Replace with faster SSE2 version.
8650
8651 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8652
8653 * elf/dl-load.c (lose): Add cast to avoid warning.
8654
8655 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8656
8657 * po/ca.po: Update from translation team.
8658
8659 * inet/getnetgrent_r.c: Hook up nscd.
8660 * nscd/Makefile (routines): Add nscd_netgroup.
8661 (nscd-modules): Add netgroupcache.
8662 (CFLAGS-netgroupcache.c): Define.
8663 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8664 (cache_search): Add const to second parameter.
8665 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8666 INNETGR.
8667 (dbs): Add netgrdb entry.
8668 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8669 (verify_persistent_db): Handle netgrdb.
8670 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8671 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8672 GETFDNETGR.
8673 (netgroup_response_header): Define.
8674 (innetgroup_response_header): Define.
8675 (datahead): Add netgroup_response_header and innetgroup_response_header
8676 elements.
8677 * nscd/nscd.conf: Add entries for netgroup cache.
8678 * nscd/nscd.h (dbtype): Add netgrdb.
8679 (_PATH_NSCD_NETGROUP_DB): Define.
8680 (netgroup_iov_disabled): Declare.
8681 (xmalloc, xcalloc, xrealloc): Move declarations here.
8682 (cache_search): Adjust prototype.
8683 Add netgroup-related prototypes.
8684 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8685 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8686 (__nscd_innetgr): Declare.
8687 * nscd/selinux.c (perms): Use access_vector_t as element type and
8688 add netgroup-related initializers.
8689 * nscd/netgroupcache.c: New file.
8690 * nscd/nscd_netgroup.c: New file.
8691 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8692 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8693 For four parameters use innetgr.
8694 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8695 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8696 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8697 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8698
8699 * nscd/connections.c (register_traced_file): Don't register file
8700 for disabled databases.
8701
8702 2011-10-06 Ulrich Drepper <drepper@gmail.com>
8703
8704 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8705
8706 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8707 from tree and freeing node.
8708
8709 2011-09-25 Jiri Olsa <jolsa@redhat.com>
8710
8711 * nss/nsswitch.c (__nss_database_lookup): Handle
8712 nss_parse_service_list out of memory case.
8713
8714 2011-09-15 Jiri Olsa <jolsa@redhat.com>
8715
8716 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8717 out of memory case.
8718
8719 2011-10-04 Andreas Schwab <schwab@redhat.com>
8720
8721 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8722 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8723 pass it down.
8724 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8725 elf_machine_rela, elf_machine_lazy_rel.
8726 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8727 (ELF_DYNAMIC_DO_REL): Likewise.
8728 (ELF_DYNAMIC_DO_RELA): Likewise.
8729 (ELF_DYNAMIC_RELOCATE): Likewise.
8730 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8731 to ELF_DYNAMIC_DO_REL.
8732 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8733 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8734 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8735 elf_machine_rela.
8736 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8737 skip_ifunc, don't call ifunc function if non-zero.
8738 (elf_machine_rela): Likewise.
8739 (elf_machine_lazy_rel): Likewise.
8740 (elf_machine_lazy_rela): Likewise.
8741 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8742 (elf_machine_lazy_rel): Likewise.
8743 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8744 Likewise.
8745 (elf_machine_lazy_rel): Likewise.
8746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8747 Likewise.
8748 (elf_machine_lazy_rel): Likewise.
8749 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8750 (elf_machine_lazy_rel): Likewise.
8751 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8752 (elf_machine_lazy_rel): Likewise.
8753 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8754 (elf_machine_lazy_rel): Likewise.
8755 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8756 (elf_machine_lazy_rel): Likewise.
8757 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8758 (elf_machine_lazy_rel): Likewise.
8759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8760 (elf_machine_lazy_rel): Likewise.
8761
8762 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8763
8764 * nss/nss_files/files-init.c (_nss_files_init): Use static
8765 initialization for all the *_traced_file variables.
8766
8767 2011-09-28 Andreas Schwab <schwab@redhat.com>
8768
8769 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8770
8771 2011-09-27 Roland McGrath <roland@hack.frob.com>
8772
8773 [BZ #13226]
8774 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8775
8776 2011-09-27 Andreas Schwab <schwab@redhat.com>
8777
8778 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8779 Reread the line before reparsing it.
8780
8781 2011-09-26 Andreas Schwab <schwab@redhat.com>
8782
8783 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8784
8785 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8786 Maxim Kuvyrkov <maxim@codesourcery.com>
8787 Joseph Myers <joseph@codesourcery.com>
8788
8789 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8790 if needed for __stack_chk_guard.
8791
8792 2011-09-19 Roland McGrath <roland@hack.frob.com>
8793
8794 * sysdeps/posix/spawni.c (script_execute): Always define it.
8795 It will be optimized away if unused.
8796 (maybe_script_execute): New function.
8797 (__spawni): Call it.
8798
8799 * Makerules: Don't include tls.make.
8800 (config-tls): Always set to thread.
8801 * tls.make.c: File removed.
8802
8803 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8804
8805 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8806 * config.make.in (CPPFLAGS-config): New substituted variable.
8807
8808 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8809
8810 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8811
8812 [BZ #13192]
8813 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8814 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8815
8816 2011-09-15 Roland McGrath <roland@hack.frob.com>
8817
8818 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8819 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8820 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8821 (CALL_FAIL): Likewise.
8822 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8823 (CALL_FAIL): Macro removed.
8824 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8825
8826 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8827
8828 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8829 for __FINITE_MATH_ONLY__ == 1.
8830
8831 2011-09-15 Andreas Schwab <schwab@redhat.com>
8832
8833 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8834 __ieee754_sqrt instead of sqrt.
8835 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8836 __ieee754_sqrtf instead of sqrtf.
8837 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8838 __floorf instead of floorf.
8839 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8840 __floorf, __truncf instead of floorf, truncf.
8841
8842 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8843
8844 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8845
8846 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8847 __extern_always_inline.
8848 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8849 32-bit.
8850
8851 2011-09-14 Andreas Schwab <schwab@redhat.com>
8852
8853 * elf/rtld.c (dl_main): Also relocate in dependency order when
8854 doing symbol dependency testing.
8855
8856 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8857
8858 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8859 Always define `refsym'.
8860
8861 2011-09-13 Andreas Schwab <schwab@redhat.com>
8862
8863 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8864 (__FD_ELT): Renamed from __FDELT.
8865 * misc/bits/select2.h (__FD_ELT): Likewise.
8866 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8867 __FD_MASK instead of __FDELT, __FDMASK.
8868 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8869 Likewise.
8870 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8871 Likewise.
8872
8873 * elf/Makefile (gen-ldd): Fix pattern.
8874
8875 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8876 (init_tls): Likewise.
8877
8878 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8879
8880 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8881
8882 2011-09-12 Andreas Schwab <schwab@redhat.com>
8883
8884 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8885 `struct cmsghdr *' instead of `void *'.
8886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8887 Likewise.
8888
8889 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8890
8891 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8892 if non-absolute.
8893 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8894 ldd_rewrite_script.
8895
8896 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8897
8898 * configure.in: Remove --with-tls option.
8899 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8900 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8901 out in case it is missing.
8902 * sysdeps/ia64/elf/configure.in: Likewise.
8903 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8904 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8905 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8906 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8907 * sysdeps/sh/elf/configure.in: Likewise.
8908 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8909 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8910 * sysdeps/x86_64/elf/configure.in: Likewise.
8911 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8912 * sysdeps/mach/hurd/tls.h: Likewise.
8913
8914 [BZ #13067]
8915 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8916
8917 [BZ #13090]
8918 * configure.in: Fix use of AC_INIT.
8919
8920 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8921
8922 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8923
8924 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8925 __set_errno.
8926 * malloc/hooks.c: Likewise.
8927
8928 [BZ #11929]
8929 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8930 variables statically.
8931 (narenas): Initialize.
8932 (list_lock): Initialize.
8933 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8934 initializtion of main_arena and list_lock. Small cleanups.
8935 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8936 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8937 Add initializers to main_arena and mp_.
8938 (malloc_state): Remove pagesize member. Change all users to use
8939 GLRO(dl_pagesize).
8940
8941 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8942 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8943 is always initialized.
8944
8945 * malloc/malloc.c: Removed unused configurations and dead code.
8946 * malloc/arena.c: Likewise.
8947 * malloc/hooks.c: Likewise.
8948 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8949
8950 * include/tls.h: Removed. USE___THREAD must always be defined.
8951 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8952 * elf/dl-libc.c: Likewise.
8953 * elf/dl-tsd.c: Likewise.
8954 * include/errno.h: Likewise.
8955 * include/netdb.h: Likewise.
8956 * include/resolv.h: Likewise.
8957 * inet/herrno-loc.c: Likewise.
8958 * inet/herrno.c: Likewise.
8959 * malloc/arena.c: Likewise.
8960 * malloc/hooks.c: Likewise.
8961 * malloc/malloc.c: Likewise.
8962 * resolv/res-state.c: Likewise.
8963 * resolv/res_libc.c: Likewise.
8964 * sysdeps/i386/dl-machine.h: Likewise.
8965 * sysdeps/ia64/dl-machine.h: Likewise.
8966 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8967 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8968 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8969 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8970 * sysdeps/sh/dl-machine.h: Likewise.
8971 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8972 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8973 * sysdeps/unix/i386/sysdep.S: Likewise.
8974 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8975 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8976 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8978 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8979 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8980 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8982 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8983 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8984 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8985 * sysdeps/x86_64/dl-machine.h: Likewise.
8986 * tls.make.c: Likewise.
8987
8988 * configure.in: Remove --with-__thread option. Make tests for
8989 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8990 tls_model attribute fail if no support is available. Remove
8991 USE_IN_LIBIO.
8992 * Makeconfig: Adjust for dropped configure option. All features are
8993 now mandatory.
8994 * Makerules: Likewise.
8995 * Versions.def: Likewise.
8996 * argp/argp-fmtstream.c: Likewise.
8997 * argp/argp-fmtstream.h: Likewise.
8998 * argp/argp-help.c: Likewise.
8999 * assert/assert.c: Likewise.
9000 * config.h.in: Likewise.
9001 * config.make.in: Likewise.
9002 * configure: Likewise.
9003 * configure.in: Likewise.
9004 * csu/Versions: Likewise.
9005 * csu/init.c: Likewise.
9006 * elf/tst-audit2.c: Likewise.
9007 * elf/tst-tls10.c: Likewise.
9008 * elf/tst-tls10.h: Likewise.
9009 * elf/tst-tls11.c: Likewise.
9010 * elf/tst-tls12.c: Likewise.
9011 * elf/tst-tls14.c: Likewise.
9012 * elf/tst-tlsmod11.c: Likewise.
9013 * elf/tst-tlsmod12.c: Likewise.
9014 * elf/tst-tlsmod13.c: Likewise.
9015 * elf/tst-tlsmod13a.c: Likewise.
9016 * elf/tst-tlsmod14a.c: Likewise.
9017 * elf/tst-tlsmod15b.c: Likewise.
9018 * elf/tst-tlsmod16a.c: Likewise.
9019 * elf/tst-tlsmod16b.c: Likewise.
9020 * elf/tst-tlsmod7.c: Likewise.
9021 * elf/tst-tlsmod8.c: Likewise.
9022 * elf/tst-tlsmod9.c: Likewise.
9023 * gmon/gmon.c: Likewise.
9024 * grp/fgetgrent_r.c: Likewise.
9025 * grp/putgrent.c: Likewise.
9026 * hurd/fopenport.c: Likewise.
9027 * include/libc-symbols.h: Likewise.
9028 * include/tls.h: Likewise.
9029 * intl/gettextP.h: Likewise.
9030 * intl/loadinfo.h: Likewise.
9031 * locale/global-locale.c: Likewise.
9032 * locale/localeinfo.h: Likewise.
9033 * mach/devstream.c: Likewise.
9034 * malloc/arena.c: Likewise.
9035 * malloc/set-freeres.c: Likewise.
9036 * misc/err.c: Likewise.
9037 * misc/getttyent.c: Likewise.
9038 * misc/mntent_r.c: Likewise.
9039 * posix/getopt.c: Likewise.
9040 * posix/wordexp.c: Likewise.
9041 * pwd/fgetpwent_r.c: Likewise.
9042 * resolv/Versions: Likewise.
9043 * resolv/res_hconf.c: Likewise.
9044 * shadow/fgetspent_r.c: Likewise.
9045 * shadow/putspent.c: Likewise.
9046 * stdio-common/printf_fphex.c: Likewise.
9047 * stdio-common/tmpfile.c: Likewise.
9048 * stdlib/abort.c: Likewise.
9049 * stdlib/fmtmsg.c: Likewise.
9050 * sunrpc/auth_unix.c: Likewise.
9051 * sunrpc/clnt_perr.c: Likewise.
9052 * sunrpc/clnt_tcp.c: Likewise.
9053 * sunrpc/clnt_udp.c: Likewise.
9054 * sunrpc/clnt_unix.c: Likewise.
9055 * sunrpc/openchild.c: Likewise.
9056 * sunrpc/svc_simple.c: Likewise.
9057 * sunrpc/svc_tcp.c: Likewise.
9058 * sunrpc/svc_udp.c: Likewise.
9059 * sunrpc/svc_unix.c: Likewise.
9060 * sunrpc/xdr.c: Likewise.
9061 * sunrpc/xdr_array.c: Likewise.
9062 * sunrpc/xdr_rec.c: Likewise.
9063 * sunrpc/xdr_ref.c: Likewise.
9064 * sunrpc/xdr_stdio.c: Likewise.
9065
9066 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9067
9068 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9069
9070 2011-07-03 Andreas Jaeger <aj@suse.de>
9071
9072 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9073 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9074 regenerate with gen-libm-tests.pl.
9075
9076 2010-05-12 Petr Baudis <pasky@suse.cz>
9077
9078 [BZ #11589]
9079 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9080 around j0() zero points by switching to j1().
9081 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9085
9086 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9087
9088 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9089 instead of 0.
9090 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9091 instead of 0. .
9092 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9093 Patch in part by Pavel Roskin <proski@gnu.org>.
9094
9095 [BZ #13138]
9096 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9097 realloc.
9098 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9099 Free memory block if necessary.
9100
9101 [BZ #12847]
9102 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9103 be NULL. Don't lock in this case.
9104
9105 2011-09-09 Roland McGrath <roland@hack.frob.com>
9106
9107 * elf/elf.h (ELFOSABI_GNU): New macro.
9108 (ELFOSABI_LINUX): Define to that.
9109
9110 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9111
9112 * string/strncat.c (strncat): Undef the symbol in case it has been
9113 defined in bits/string.h.
9114
9115 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9116
9117 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9118
9119 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9120 link map.
9121
9122 2011-08-17 Andreas Jaeger <aj@suse.de>
9123
9124 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9125
9126 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9127 Ian Lance Taylor <iant@google.com>
9128
9129 * math/libm-test.inc (lround_test): New testcase.
9130 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9131
9132 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9133
9134 * Makefile: Remove support for automatic cvs check-ins.
9135 * Makerules: Likewise.
9136 * config.make.in: Likewise.
9137 * configure.in: Likewise.
9138 * intl/Makefile: Likewise.
9139 * locale/Makefile: Likewise.
9140 * po/Makefile: Likewise.
9141 * posix/Makefile: Likewise.
9142 * sysdeps/gnu/Makefile: Likewise.
9143 * sysdeps/mach/hurd/Makefile: Likewise.
9144 * sysdeps/sparc/sparc32/Makefile: Likewise.
9145
9146 [BZ #13118]
9147 * posix/Makefile (bug-regex32-ENV): Define.
9148 Patch by John Stanley <jpsinthemix@verizon.net>.
9149
9150 * misc/Makefile (headers): Add bits/select2.h.
9151 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9152 * misc/bits/select2.h: New file.
9153 * include/bits/select2.h: New file.
9154 * debug/Makefile (routines): Add fdelt_chk.
9155 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9156 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9157 FD_ISSET.
9158 * debug/fdelt_chk.c: New file.
9159
9160 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9161 * wcsmbs/test-wmemcmp.c: Likewise.
9162 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9163 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9164
9165 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9166
9167 * string/Makefile (strop-tests): Add memcmp.
9168 * string/test-wmemcmp.c: New file.
9169 * string/test-memcmp.c: Add wmemcmp support.
9170
9171 2011-09-08 Roland McGrath <roland@hack.frob.com>
9172
9173 [BZ #13153]
9174 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9175 2011-07-19 change.
9176
9177 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9178 garbage value in a __mach_port_mod_refs call in the cases of the
9179 task-self and thread-self ports.
9180
9181 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9182
9183 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9184
9185 2011-09-08 Andreas Schwab <schwab@redhat.com>
9186
9187 * elf/dl-load.c (lose): Check for non-null L.
9188
9189 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9190
9191 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9192
9193 * elf/dl-libc.c (dlerror_run): Pass back error code from
9194 dl_catch_error.
9195
9196 [BZ #13123]
9197 * elf/dl-load.c (lose): Free l_origin if it is valid.
9198
9199 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9200 names.
9201 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9202 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9203 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9204 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9205 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9206 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9207
9208 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9209
9210 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9211 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9212 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9213 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9214 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9215 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9216 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9217 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9218 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9219 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9220
9221 2011-08-15 Alan Modra <amodra@gmail.com>
9222
9223 [BZ #13092]
9224 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9225 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9226 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9227 ppc_mcount to static-only-routines.
9228 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9229 __mcount_internal.
9230 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9231 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9232
9233 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9234
9235 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9236 for finite and infinity parameters.
9237
9238 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9239
9240 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9241 and add nop instructions for throughput optimization.
9242 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9243
9244 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9245
9246 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9247 aligned copy for power7 with vector-scalar instructions.
9248 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9249
9250 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9251
9252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9253 AVX check.
9254
9255 2011-09-07 Andreas Schwab <schwab@redhat.com>
9256
9257 [BZ #13144]
9258 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9259 last change.
9260
9261 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9262
9263 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9264 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9265 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9266 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9267 clock_gettime.
9268
9269 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9270
9271 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9272 Forgot to demangle the pointer.
9273
9274 * sysdeps/i386/sysdep.h: Define atom_text_section.
9275 * sysdeps/x86_64/sysdep.h: Likewise.
9276 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9277 section with atom_text_section.
9278 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9279 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9280 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9281 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9282 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9283
9284 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9285 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9286 already be defined. Change to take two parameters and don't assign
9287 result to variable. Adjust all users.
9288 Define INTERNAL_GETTIME if not already defined.
9289 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9290 call.
9291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9292 HAVE_CLOCK_GETTIME_VSYSCALL.
9293 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9294
9295 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9296 gettimeofday vsyscall, just use time.
9297
9298 2011-09-06 Andreas Schwab <schwab@redhat.com>
9299
9300 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9301 <errno.h>.
9302
9303 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9304
9305 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9306 syscall on x86-64.
9307 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9308 syscall.
9309 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9310 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9311 syscall if possible.
9312
9313 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9314
9315 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9316 e_ident. Don't pass to find_mapsXX.
9317 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9318
9319 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9320
9321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9322 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9323 * sysdeps/x86_64/multiarch/strchr.S: Update.
9324 Check bit_slow_BSF bit.
9325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9326 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9327 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9328
9329 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9330
9331 [BZ #13134]
9332 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9333 before glibc 2.15.
9334 (tryshell): Define.
9335 (__spawni): Change last parameter to be flag. Test
9336 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9337 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9338 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9339 * posix/spawni.c: Likewise.
9340 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9341 * posix/spawnp.c: Likewise. Change normal version to use
9342 SPAWN_XFLAGS_USE_PATH.
9343 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9344 SPAWN_XFLAGS_TRY_SHELL.
9345
9346 [BZ #13150]
9347 * posix/glob.h: Remove gcc 1.x support.
9348
9349 [BZ #13068]
9350 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9351
9352 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9353
9354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9355 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9356 strrchr-sse2-bsf
9357 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9358 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9359 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9361 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9362 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9363
9364 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9365
9366 * sysdeps/x86_64/wcscmp.S: New file.
9367
9368 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9369 wcscmp-c wcscmp-sse2
9370 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9371 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9372 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9373 * wcsmbs/wcscmp.c: Allow renaming.
9374
9375 2011-09-05 David S. Miller <davem@davemloft.net>
9376
9377 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9378 stack slot, rather than the struct return pointer slot.
9379 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9380 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9382 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9383
9384 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9385
9386 * po/ja.po: Update from translation team.
9387
9388 [BZ #13144]
9389 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9390 kernel in 64-bit binaries.
9391
9392 2011-09-01 David S. Miller <davem@davemloft.net>
9393
9394 * elf/elf.h (HWCAP_SPARC_*): Move to..
9395 * sysdeps/sparc/sysdep.h: this new file and add new values.
9396 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9397 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9398 _DL_HWCAP_COUNT to 24.
9399 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9400 entries.
9401 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9402 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9403 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9405 instead of magic constants.
9406 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9407
9408 2011-08-31 David S. Miller <davem@davemloft.net>
9409
9410 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9412 Reimplement to do errno handling inline.
9413 (SYSCALL_ERROR_HANDLER): New macro.
9414 (__SYSCALL_STRING): Do not do errno handling in asm.
9415 (__CLONE_SYSCALL_STRING): Delete.
9416 (__INTERNAL_SYSCALL_STRING): Delete.
9417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9418 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9419 (PSEUDO): Reimplement to do errno handling inline.
9420 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9421 (SYSCALL_ERROR_HANDLER): New macro.
9422 (__SYSCALL_STRING): Do not do errno handling in asm.
9423 (__CLONE_SYSCALL_STRING): Delete.
9424 (__INTERNAL_SYSCALL_STRING): Delete.
9425 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9426 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9427 i386.
9428 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9429 (inline_syscall*): Add 'err' argument.
9430 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9431 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9432 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9433 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9434
9435 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9436 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9437
9438 2011-08-30 Andreas Schwab <schwab@redhat.com>
9439
9440 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9441
9442 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9443
9444 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9445 directive.
9446
9447 2011-08-24 David S. Miller <davem@davemloft.net>
9448
9449 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9450
9451 2011-08-24 Andreas Schwab <schwab@redhat.com>
9452
9453 * elf/Makefile: Add rules to build and run unload8 test.
9454 * elf/unload8.c: New file.
9455 * elf/unload8mod1.c: New file.
9456 * elf/unload8mod1x.c: New file.
9457 * elf/unload8mod2.c: New file.
9458 * elf/unload8mod3.c: New file.
9459
9460 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9461 it wasn't used.
9462
9463 2011-08-23 David S. Miller <davem@davemloft.net>
9464
9465 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9466 subtract stack bias.
9467 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9468 %sp not %fp in calculations.
9469 (_JMPBUF_UNWINDS_ADJ): Likewise.
9470
9471 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9472 (aio_suspend): Call it to force an exception region around the
9473 AIO_MISC_WAIT() invocation.
9474
9475 2011-08-23 Andreas Schwab <schwab@redhat.com>
9476
9477 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9478 backslash.
9479
9480 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9481
9482 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9483 protection macro.
9484 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9485 and <dl-machine.h>.
9486 (Elf64_FuncDesc): Remove.
9487
9488 2011-08-22 David S. Miller <davem@davemloft.net>
9489
9490 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9491 sigaltstack check, add missing cfi directives.
9492 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9493 missing cfi directives, and sigaltstack handling.
9494
9495 2011-08-16 Andreas Schwab <schwab@redhat.com>
9496
9497 [BZ #11724]
9498 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9499 object is seen twice.
9500 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9501
9502 * elf/Makefile (distribute): Add tst-initorder2.c.
9503 (tests): Add tst-initorder2.
9504 (modules-names): Add tst-initorder2a tst-initorder2b
9505 tst-initorder2c tst-initorder2d. Add rules to build them.
9506 ($(objpfx)tst-initorder2.out): New rule.
9507 * elf/tst-initorder2.c: New file.
9508 * elf/tst-initorder2.exp: New file.
9509
9510 2011-08-22 Andreas Schwab <schwab@redhat.com>
9511
9512 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9513
9514 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9515 dependencies back to end of function.
9516
9517 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9518 $(elfobjdir)/ld.so.
9519
9520 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9521
9522 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9523 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9524 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9525 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9526 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9527 of __vdso_gettimeofday.
9528 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9529 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9530 attribute_hidden.
9531 (_libc_vdso_platform_setup): Remove initialization of
9532 __vdso_gettimeofday and __vdso_time.
9533
9534 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9535
9536 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9537 and fgetc_unlocked.
9538 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9539 getc_unlocked.
9540
9541 * elf/dl-open.c (add_to_global): Report additions to the global scope
9542 for LD_DEBUG=scopes.
9543 (dl_open_worker): Also print scope of newly loaded dependencies.
9544 (_dl_show_scope): Indicate if there is no scope.
9545
9546 [BZ #13114]
9547 * stdio-common/Makefile (tests): Add bug24.
9548 * stdio-common/bug24.c: New file.
9549
9550 2011-08-19 Andreas Jaeger <aj@suse.de>
9551
9552 [BZ #13114]
9553 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9554 non-existant file when using close-on-exec mode.
9555
9556 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9557
9558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9559 the very first instruction.
9560
9561 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9562 the CFI state in the end.
9563 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9564 inclusion of dl-trampoline.h.
9565 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9566
9567 2011-08-19 Andreas Schwab <schwab@redhat.com>
9568
9569 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9570 expectations for long double.
9571
9572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9573 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9574
9575 2011-08-14 David S. Miller <davem@davemloft.net>
9576
9577 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9578 artificual limit depends upon the system page size.
9579
9580 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9581
9582 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9583 * resolv/Makefile: Define CFLAGS-libresolv.
9584
9585 2011-08-17 Andreas Schwab <schwab@redhat.com>
9586
9587 * nss/makedb.c (compute_tables): Make variables used in nested
9588 function static.
9589
9590 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9591
9592 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9593 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9594 if buffer was too small.
9595
9596 * elf/pldd.c (main): Attach to all threads in the process.
9597 Rewrite /proc handling to use *at functions.
9598
9599 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9600
9601 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9602 specifies first scope to show.
9603 (dl_open_worker): Update callers. Move printing scope of new
9604 object to before the relocation.
9605 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9606 * sysdeps/generic/ldsodefs.h: Update declaration.
9607
9608 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9609 string for the scope number.
9610
9611 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9612
9613 * nscd/servicescache.c (cache_addserv): Make sure written is always
9614 initialized.
9615
9616 2011-08-14 Roland McGrath <roland@hack.frob.com>
9617
9618 * sysdeps/i386/i486/bits/atomic.h
9619 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9620 statement expression, so as to suppress "set but not used" warning.
9621 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9622
9623 * string/strncat.c (STRNCAT): Use prototype definition.
9624
9625 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9626 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9627 -Iprograms here.
9628 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9629 (localedef-modules): Add localedef.
9630 (locale-modules): Add locale.
9631
9632 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9633 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9634 to avoid a warning.
9635
9636 2011-08-14 David S. Miller <davem@davemloft.net>
9637
9638 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9639 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9640
9641 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9642
9643 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9644 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9645 * elf/rtld.c (dl_main): Set l_name of vDSO.
9646 Call _dl_show_scope when DL_DEBUG_SCOPES.
9647 (process_dl_debug): Recognize scopes flag and also set it for all.
9648 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9649 Declare _dl_show_scope.
9650
9651 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9652 (do_dlopen): Pass caller_dlopen to dl_open.
9653 (__libc_dlopen_mode): Initialize caller_dlopen.
9654
9655 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9656 of libc. Make tolower call locale-independent. Optimize a bit by
9657 using isdigit instead of isalnum.
9658 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9659
9660 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9661
9662 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9663 was a dependency or dynamically loaded.
9664
9665 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9666
9667 * intl/l10nflist.c: Allow architecture-specific pop function.
9668 * sysdeps/x86_64/l10nflist.c: New file.
9669
9670 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9671 classification.
9672
9673 2011-08-10 Andreas Schwab <schwab@redhat.com>
9674
9675 * include/dirent.h: Add libc_hidden_proto for scandirat and
9676 scandirat64. Don't declare __scandirat64.
9677 * dirent/scandirat.c: Add libc_hidden_def.
9678 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9679 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9680
9681 2011-08-10 David S. Miller <davem@davemloft.net>
9682
9683 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9684 enum.
9685 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9686 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9687 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9688
9689 2011-08-09 Ulrich Drepper <drepper@gmail.com>
9690
9691 * Versions.def [libc]: Add GLIBC_2.15.
9692 * dirent/Makefile (routines): Add scandirat and scandirat64.
9693 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9694 GLIBC_2.15.
9695 * dirent/dirent.h: Declare scandirat and scandirat64.
9696 * dirent/scandirat.c: New file.
9697 * dirent/scandirat64.c: New file.
9698 * sysdeps/wordsize-64/scandirat.c: New file.
9699 * sysdeps/wordsize-64/scandirat64.c: New file.
9700 * dirent/opendir.c: Define opendirat.
9701 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9702 using scandirat.
9703 * dirent/scandir64.c: Adjust for scandir.c change.
9704 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9705 __scandirat64, and __scandir_cancel_handler.
9706 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9707 additional parameter and use openat instead of open (outside of ld.so).
9708 Add new __opendir as wrapper around __opendirat.
9709 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9710 here without requiring old scandirat implementation.
9711
9712 2011-08-08 Ulrich Drepper <drepper@gmail.com>
9713
9714 * dirent/scandir.c (cancel_handler): Renamed to
9715 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9716 defined. Adjust users.
9717 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9718 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9719
9720 2011-08-04 Ulrich Drepper <drepper@gmail.com>
9721
9722 * string/test-string.h (IMPL): Use __STRING to expand name and then
9723 stringify it.
9724
9725 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9726 of cleanups.
9727
9728 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9729
9730 * string/Makefile: Update.
9731 (strop-tests): Append strncat.
9732 * string/test-wcscmp.c: New file.
9733 New comprehensive test for wcscmp.
9734 * string/test-strcmp.c: Update.
9735 (WIDE): New define.
9736
9737 2011-07-22 Andreas Schwab <schwab@redhat.com>
9738
9739 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9740 line.
9741
9742 2011-07-26 Andreas Schwab <schwab@redhat.com>
9743
9744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9745 encoding to ACE if AI_IDN.
9746
9747 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9748
9749 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9750 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9751
9752 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9753
9754 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9755 Fix overflow bug in strncat.
9756 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9757
9758 * string/test-strncat.c: Update.
9759 Add new tests for checking overflow bugs.
9760
9761 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9762
9763 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9764 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9765 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9766 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9767 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9768 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9769 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9770 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9771 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9772
9773 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9774 (USE_AS_STRCAT): Define.
9775 Add strcat and strncat support.
9776 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9777
9778 2011-07-25 Andreas Schwab <schwab@redhat.com>
9779
9780 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9781 __n bigger than INT_MAX+1.
9782 (__strncmp_g): Likewise.
9783
9784 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9785
9786 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9787 * libio/stido.h: Likewise.
9788
9789 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9790 (AF_NFC): Define.
9791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9792 (AF_NFC): Define.
9793
9794 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9795 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9796 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9797 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9798 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9799
9800 [BZ #13021]
9801 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9802 installed.
9803
9804 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9805 typo.
9806 (_dl_x86_64_save_sse): Likewise.
9807
9808 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9809
9810 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9811 OSXSAVE.
9812 (_dl_x86_64_save_sse): Likewise.
9813
9814 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9815
9816 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9817
9818 2011-07-21 Andreas Schwab <schwab@redhat.com>
9819
9820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9821 change.
9822 (_dl_x86_64_save_sse): Use correct AVX check.
9823
9824 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9825
9826 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9827 bug in strncpy/strncat.
9828 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9829
9830 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9831
9832 * string/tester.c (test_strcat): Add tests for different alignments
9833 of source and destination.
9834 (test_strncat): Likewise.
9835
9836 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9837
9838 [BZ #12852]
9839 * posix/glob.c (glob): Check passed in values before using them in
9840 expressions to avoid some overflows.
9841 (glob_in_dir): Likewise.
9842
9843 [BZ #13007]
9844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9845 check for AVX enablement so that we don't crash with old kernels and
9846 new hardware.
9847 * elf/tst-audit4.c: Add same checks here.
9848 * elf/tst-audit6.c: Likewise.
9849
9850 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9851
9852 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9853
9854 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9855
9856 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9857
9858 * po/cs.po: Update from translation team.
9859 * po/bg.po: Likewise.
9860
9861 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9862
9863 * misc/sys/cdefs.h: Add support for const attribute.
9864 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9865 to gnu_dev_{major,minor,makedev} functions.
9866
9867 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9868
9869 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9870
9871 2011-07-20 Andreas Schwab <schwab@redhat.com>
9872
9873 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9874 strlen results.
9875
9876 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9877
9878 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9879 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9880 register in order to avoid conflicts with the soft frame pointer
9881 being held in r11 when necessary.
9882 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9883 (INTERNAL_VSYSCALL_NCS): Likewise.
9884
9885 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9886
9887 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9888 * elf/dl-fini.c (_dl_fini): Adjust caller.
9889 * elf/dl-close.c (_dl_close_worker): Likewise.
9890 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9891
9892 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9893
9894 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9895 "aux_cache->nlibs < 0".
9896
9897 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9898 in the reload-count case.
9899
9900 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9901
9902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9903 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9904 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9905 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9906 * sysdeps/x86_64/multiarch/strcat.S: New file.
9907 * sysdeps/x86_64/multiarch/strncat.S: New file.
9908 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9909 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9910 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9911 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9913 (USE_AS_STRCAT): Define.
9914 Add strcat and strncat support.
9915 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9916 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9917 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9918 * string/strncat.c: Update.
9919 (USE_AS_STRNCAT): Define.
9920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9921 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9922 and i7.
9923 * sysdeps/x86_64/multiarch/init-arch.h
9924 (bit_Prefer_PMINUB_for_stringop): New.
9925 (index_Prefer_PMINUB_for_stringop): Likewise.
9926 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9927 bit_Prefer_PMINUB_for_stringop.
9928
9929 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9930
9931 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9932 buffer64.
9933 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9934 of casting of buffer.
9935 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9936 buffer32 and buffer64.
9937 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9938 writes instead of casting of buffer.
9939 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9940 buffer32.
9941 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9942 casting of buffer.
9943
9944 2011-07-19 Andreas Schwab <schwab@redhat.com>
9945
9946 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9947
9948 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9949
9950 * nscd/nscd.c (termination_handler): Don't do anything for a database
9951 if it has not yet been initialized.
9952
9953 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9954
9955 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9956
9957 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9958
9959 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9960
9961 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9962
9963 * po/nl.po: Update from translation team.
9964 * po/sv.po: Likewise.
9965
9966 2011-07-16 Roland McGrath <roland@hack.frob.com>
9967
9968 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9969 now disallowed by GCC.
9970
9971 * configure.in (use-default-link): Default to yes if a test -shared
9972 link meets our qualifications.
9973 * configure: Regenerated.
9974
9975 * config.make.in (output-format): New variable.
9976 * configure.in: Check for ld --print-output-format support.
9977 * configure: Regenerated.
9978 * Makerules ($(common-objpfx)format.lds)
9979 [$(output-format) != unknown]: Just use $(output-format),
9980 instead of the linker-script munging.
9981
9982 2011-07-14 Roland McGrath <roland@hack.frob.com>
9983
9984 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9985 of $(common-objpfx)shlib.lds.
9986 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9987
9988 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9989 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9990
9991 * configure.in (-z relro check): Adjust test code to add a large
9992 writable data section after it.
9993 * configure: Regenerated.
9994
9995 2011-07-11 Roland McGrath <roland@hack.frob.com>
9996
9997 * configure.in (-z relro check): Fix test code to make the variable
9998 truly const.
9999 * configure: Regenerated.
10000
10001 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10002
10003 * nscd/nscd.h (struct traced_file): Define.
10004 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10005 elements. Add traced_files.
10006 (inotify_fd): Declare.
10007 (register_traced_file): Declare.
10008 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10009 (inotify_fd): Export.
10010 (resolv_conf_descr): Remove.
10011 (nscd_init): Move inotify descriptor creation to main.
10012 Don't register files for notification here.
10013 (register_traced_file): New function.
10014 (invalidate_cache): Don't use reset_res to determine whether to call
10015 res_init, go through the list of registered files.
10016 (main_loop_poll): The inotify descriptors are now stored in the
10017 structures for the traced files.
10018 (main_loop_epoll): Likewise
10019 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10020 to __nss_disable_nscd.
10021 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10022 for a database anymore. Check the records for all the registered
10023 files instead.
10024 * nss/Makefile (libnss_files-routines): Add files-init.
10025 (libnss_db-routines): Add db-init.
10026 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10027 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10028 * nss/nss_db/db-init.c: New file.
10029 * nss/nss_files/files-init.c: New file.
10030 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10031 __nss_lookup_function.
10032 (__nss_lookup_function): Call nss_load_library.
10033 (nss_load_all_libraries): New function.
10034 (__nss_disable_nscd): Take parameter with callback function for files
10035 to register. Set is_nscd. Load all the DSOs for the NSS modules
10036 used for the cached services.
10037 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10038 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10039 options for features to all the files in nscd.
10040
10041 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10042
10043 2011-07-10 Roland McGrath <roland@hack.frob.com>
10044
10045 * csu/elf-init.c (__libc_csu_init): Comment typo.
10046
10047 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10048
10049 * po/pl.po: Update from translation team.
10050 * po/ja.po: Likewise.
10051 * po/ru.po: Likewise.
10052 * po/ko.po: Likewise.
10053 * po/fr.po: Likewise.
10054
10055 2011-07-09 Roland McGrath <roland@hack.frob.com>
10056
10057 * configure.in (.ctors/.dtors header and trailer check):
10058 Use an empirical test on a built program.
10059 * configure: Regenerated.
10060
10061 * configure.in (-z relro check): Use an empirical test on a built DSO.
10062 Detect, but do not require, on ia64.
10063 * configure: Regenerated.
10064
10065 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10066 Update tests that use readelf to use $READELF instead.
10067 * configure: Regenerated.
10068
10069 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10070
10071 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10072 if the result is not used.
10073
10074 2011-07-05 Andreas Jaeger <aj@suse.de>
10075
10076 [BZ#9696]
10077 * stdlib/tst-strtod.c: Add testcase.
10078
10079 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10080
10081 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10082 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10083 The latter has a higher limit. Take additional parameter to pass to
10084 the new function.
10085 (__pathconf): Pass file to __statfs_link_max.
10086 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10087 __statfs_link_max.
10088 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10089 __statfs_link_max.
10090
10091 [BZ #12868]
10092 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10093 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10094 Handle Lustre.
10095 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10096 (__statfs_filesize_max): Likewise.
10097 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10098
10099 2011-07-05 Andreas Jaeger <aj@suse.de>
10100
10101 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10102
10103 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10104
10105 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10106 `status' variable.
10107 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10108 Likewise.
10109
10110 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10111
10112 * Makefile (strop-tests): Add strncat.
10113 * string/test-strncat.c: New file.
10114
10115 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10116
10117 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10118
10119 2011-06-21 Andreas Jaeger <aj@suse.de>
10120
10121 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10122 Copy rule from iconvdata/Makefile.
10123
10124 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10125
10126 [BZ #12922]
10127 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10128 but no long options are defined, just return 'W'.
10129
10130 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10131
10132 [BZ #9696]
10133 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10134
10135 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10136
10137 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10138 netgroups to read.
10139 (innetgr): Likewise.
10140
10141 2011-07-05 Roland McGrath <roland@hack.frob.com>
10142
10143 * config.make.in (install_root): Default to $(DESTDIR).
10144
10145 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10146
10147 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10148
10149 2011-07-02 Roland McGrath <roland@hack.frob.com>
10150
10151 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10152
10153 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10154 containing directory rather than embedding absolute directory names.
10155
10156 * scripts/check-local-headers.sh: Rewritten using awk.
10157 Match by word, not by line. Print error messages for matches.
10158 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10159
10160 * Makerules [shlib-lds-flags empty]:
10161 ($(common-objpfx)libc_pic.opts): New target.
10162 ($(common-objpfx)libc_pic.os.clean): New target.
10163 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10164
10165 * config.make.in (OBJCOPY): New variable.
10166 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10167 * configure: Regenerated.
10168
10169 * config.make.in (use-default-link): New variable.
10170 * configure.in (use_default_link): Grok --with-default-link to set it.
10171 * configure: Regenerated.
10172 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10173 (shlib-lds, shlib-lds-flags): Define to empty.
10174
10175 * Makerules (shlib-lds): New variable.
10176 (shlib-lds-flags): New variable.
10177 (build-shlib, build-moduile, build-module-asneeded): Use it.
10178 ($(common-objpfx)libc.so): Use $(shlib-lds).
10179 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10180 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10181
10182 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10183 DT_FLAGS/DT_FLAGS_1 with zero flags.
10184
10185 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10186 linker script munging.
10187
10188 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10189
10190 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10191 as 128-bit value.
10192 * crypt/sha512.c (sha512_process_block): Perform total addition using
10193 128-bit if possible.
10194 (__sha512_finish_ctx): Likewise.
10195 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10196 as 64-bit value.
10197 * crypt/sha256.c (SWAP64): Define.
10198 (sha256_process_block): Perform total addition using 64-bit if
10199 possible.
10200 (__sha256_finish_ctx): Likewise.
10201
10202 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10203
10204 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
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 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10210
10211 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10212
10213 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10214 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10215 * nscd/hstcache.c (cache_addhst): Likewise.
10216 * nscd/grpcache.c (cache_addgr): Likewise.
10217 * nscd/aicache.c (addhstaiX): Likewise
10218
10219 2011-07-01 Andreas Schwab <schwab@redhat.com>
10220
10221 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10222 domain only when needed.
10223
10224 2011-06-30 Andreas Schwab <schwab@redhat.com>
10225
10226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10227 is always restored.
10228
10229 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10230
10231 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10232 are re-adding the entry.
10233 * nscd/servicescache.c (cache_addserv): Likewise.
10234
10235 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10236
10237 * sysdeps/generic/dl-irel.h: fix protection against multiple
10238 inclusions.
10239 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10240
10241 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10242
10243 [BZ #12935]
10244 * malloc/memusage.sh: Fix quoting in message.
10245 * debug/xtrace.sh: Likewise.
10246
10247 * configure.in: Remove support for --experimental-malloc option, make
10248 it the default.
10249 * config.make.in: Likewise.
10250 * malloc/Makefile: Likewise.
10251
10252 2011-06-27 Andreas Schwab <schwab@redhat.com>
10253
10254 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10255 two-byte characters.
10256
10257 2011-06-27 Roland McGrath <roland@hack.frob.com>
10258
10259 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10260 AC_CACHE_CHECK invocation.
10261 * configure: Regenerated.
10262
10263 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10264
10265 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10266
10267 [BZ #12350]
10268 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10269 bit from old_res_options.
10270
10271 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10272
10273 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10274 value type for setfct.
10275
10276 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10277
10278 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10279 __gettimeofday instead of gettimeofday.
10280
10281 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10282
10283 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10284
10285 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10286
10287 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10288
10289 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10290 info.
10291
10292 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10293
10294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10295 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10296 strcpy-sse2-unaligned strncpy-sse2-unaligned
10297 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10298 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10299 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10300 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10301 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10302 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10303 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10304 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10305 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10306 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10307 (STRCPY): Support SSE2 and SSSE3 versions.
10308
10309 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10310
10311 [BZ #12874]
10312 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10313 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10314 kernels which artificially limit size of requests.
10315
10316 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10317
10318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10319 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10320 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10321 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10322 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10323 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10324 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10325 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10326 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10327 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10328 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10329 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10330 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10331 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10332 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10334 Enable unaligned load optimization for Intel Core i3, i5 and i7
10335 processors.
10336 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10337 Define.
10338 (index_Fast_Unaligned_Load): Define.
10339 (HAS_FAST_UNALIGNED_LOAD): Define.
10340
10341 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10342
10343 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10344
10345 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10346
10347 [BZ #12907]
10348 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10349 until it is clear that the information is realy needed.
10350 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10351
10352 2011-06-22 Andreas Schwab <schwab@redhat.com>
10353
10354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10355
10356 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10357
10358 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10359 /sys/devices/system/cpu/online if it is usable.
10360
10361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10362 reading the information from the /proc filesystem to once a second.
10363
10364 2011-06-21 Andreas Jaeger <aj@suse.de>
10365
10366 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10367 NULL after inclusion of kernel headers.
10368
10369 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10370
10371 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10372 calls to internal_setent.
10373
10374 [BZ #12885]
10375 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10376 addresses using gethostbyname4_r ignore IPv4 addresses.
10377
10378 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10379 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10380
10381 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10382
10383 2011-06-20 David S. Miller <davem@davemloft.net>
10384
10385 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10386 inclusions.
10387 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10388
10389 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10390 (elf_irel): Use it.
10391 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10392 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10393 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10394 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10395 * sysdeps/x86_64/dl-irel.h: Likewise.
10396
10397 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10398 * elf/dl-sym.c: Likewise.
10399
10400 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10401
10402 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10403 need to dereference resplen2.
10404
10405 2011-06-14 Andreas Schwab <schwab@redhat.com>
10406
10407 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10408
10409 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10410
10411 * Makeconfig: Define vardbdir and inst_vardbdir.
10412 * nss/Makefile: Add rules to install db-Makefile.
10413
10414 * nss/nss_db/db-XXX.c: Cleanup.
10415
10416 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10417 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10418 GLIBC_PRIVATE.
10419 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10420 * nss/makedb.c: Implement -g option to specify that value strings
10421 are generated and should not be added to table iterated over for
10422 get*ent calls.
10423 * nss/nss_db/db-initgroups.c: New file.
10424
10425 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10426 interface.
10427
10428 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10429 (internal_getgrouplist): Adjust to name change.
10430 Update use_initgroups_entry if this is not the first call.
10431 * nss/databases.def: Add initgroups entry.
10432
10433 * nss/makedb.c (compute_tables): Check result of multiple hash table
10434 sizes to minimize maximum chain length.
10435
10436 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10437
10438 * Versions.def: Add entry for libnss_db.
10439 * shlib-versions: Likewise.
10440 * nss/Makefile: Add rules to build libnss_db.
10441 * nss/Versions: Add libnss_db information. Organize libnss_files
10442 entries better.
10443 * nss/db-Makefile: Add gshadow support. Change rules for the new
10444 makedb progra. Some minor improvements to generate smaller files.
10445 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10446 here from...
10447 * nss/makedb.c: ...here.
10448 Improve database format to be smaller and require less memory at
10449 runtime.
10450 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10451 db anymore.
10452 * nss/nss_db/db-netgrp.c: Likewise.
10453 * nss/nss_db/db-open.c: Likewise.
10454 * nss/nss_files/flies-XXX.x: Adjust comments.
10455 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10456 * nss/nss_files/files-grp.c: Likewise.
10457 * nss/nss_files/files-hosts.c: Likewise.
10458 * nss/nss_files/files-network.c: Likewise.
10459 * nss/nss_files/files-proto.c: Likewise.
10460 * nss/nss_files/files-pwd.c: Likewise.
10461 * nss/nss_files/files-rpc.c: Likewise.
10462 * nss/nss_files/files-service.c: Likewise.
10463 * nss/nss_files/files-sgrp.c: Likewise.
10464 * nss/nss_files/files-spwd.c: Likewise.
10465 * nss/nss_db/db-alias.c: Removed.
10466 * nss/nss_db/dummy-db.h: Removed.
10467
10468 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10469
10470 * nss/makedb.c: Rewritten to not use database library.
10471 * nss/Makefile: Update to build new makedb program.
10472
10473 2011-06-14 Andreas Jaeger <aj@suse.de>
10474
10475 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10476 memset declaration.
10477
10478 2011-06-10 Andreas Schwab <schwab@redhat.com>
10479
10480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10481 tmpbuf.
10482
10483 2011-06-10 Roland McGrath <roland@hack.frob.com>
10484
10485 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10486 * elf/Makefile ($(objpfx)ld.so): Likewise.
10487
10488 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10489 Don't list ld.so twice in dependencies.
10490
10491 * posix/bug-regex31.c: Include <stdlib.h>.
10492
10493 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10494
10495 * nis/nss_compat/compat-spwd.c
10496 (getspent_next_nss_netgr): Remove unused variable.
10497 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10498
10499 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10500 nonmembers" output to use the right array.
10501
10502 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10503
10504 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10505
10506 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10507 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10508 * catgets/gencat.c (read_input_file): Likewise.
10509 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10510
10511 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10512 variable definition inside #if's controlling its use.
10513
10514 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10515
10516 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10517
10518 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10519
10520 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10521 unreachable code.
10522
10523 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10524
10525 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10526 * configure: Regenerated.
10527
10528 * Makerules: Revert last change.
10529 * elf/Makefile: Likewise.
10530
10531 2011-06-09 Roland McGrath <roland@hack.frob.com>
10532
10533 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10534 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10535 (reloc-link): Likewise.
10536
10537 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10538
10539 * elf/Makefile: Add rules to build pldd.
10540 * elf/pldd.c: New file.
10541 * elf/pldd-xx.c: New file.
10542
10543 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10544
10545 * version.h: Update for 2.15 development version.
10546
10547 2011-06-07 David S. Miller <davem@davemloft.net>
10548
10549 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10550 ifuncs.
10551 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10552 elf_machine_lazy_rel): Likewise.
10553 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10555 elf_machine_lazy_rel): Likewise.
10556 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10557 dl_hwcap via passed in argument.
10558 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10559 Likewise.
10560
10561 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10562
10563 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10564
10565 2011-06-06 Roland McGrath <roland@hack.frob.com>
10566
10567 [BZ #12849]
10568 * manual/fdl-1.1.texi: New file, verbatim from:
10569 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10570 * manual/lgpl-2.1.texi: New file, verbatim from:
10571 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10572 * manual/Makefile (licenses): New variable, list those new file names.
10573 (texis): Use it.
10574 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10575
10576 * manual/fdl.texi: File removed.
10577 * manual/lesser.texi: File removed.
10578 * manual/libc.texinfo (Copying, Documentation License):
10579 Use new @include file names, put @appendix directive before @include.
10580
10581 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10582
10583 [BZ #12841]
10584 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10585 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10586 (mq_open): Add __NTH.
10587
10588 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10589
10590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10591 Assume Intel Core i3/i5/i7 processor if AVX is available.
10592
10593 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10594
10595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10596 typo.
10597
10598 2011-05-31 Andreas Schwab <schwab@redhat.com>
10599
10600 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10601 memory. Use alloca_account. Fix memory leak when retrying.
10602
10603 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10604
10605 * version.h (RELEASE): Bump for 2.14 release.
10606 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10607
10608 * config.make.in (RANLIB): Remove entry.
10609
10610 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10611
10612 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10613 (libc.pot): Work around missing support for .ksh extension in xgettext.
10614
10615 [BZ #12684]
10616 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10617 if both request failed.
10618 (send_dg): In case of server errors clear resplen or *resplen2.
10619
10620 [BZ #12454]
10621 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10622 when there are multiple maps.
10623 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10624 (_dl_fini): Remove test here.
10625
10626 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10627
10628 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10629
10630 [BZ #12350]
10631 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10632 bit from old_res_options.
10633 (gaih_inet): Likewise.
10634
10635 [BZ #11099]
10636 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10637 as signed.
10638
10639 * resolv/res_init.c (res_setoptions): Make the code more compact.
10640
10641 [BZ #11558]
10642 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10643 set RES_USEVC.
10644
10645 [BZ #11634]
10646 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10647
10648 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10649
10650 [BZ #11781]
10651 * malloc/malloc.h: Declare malloc hook variables as volatile.
10652
10653 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10654 in last patch.
10655
10656 [BZ #11799]
10657 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10658 raise in the comment.
10659 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10660 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10661 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10662
10663 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10664
10665 [BZ #12811]
10666 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10667 grow the buffers more if it already has to be sufficient.
10668 (build_wcs_upper_buffer): Likewise.
10669 * posix/regexec.c (check_matching): Likewise.
10670 (clean_state_log_if_needed): Likewise.
10671 (extend_buffers): Don't enlarge buffers beyond size of the input
10672 buffer.
10673 Patches mostly by Emil Wojak <emil@wojak.eu>.
10674 * posix/bug-regex32.c: New file.
10675 * posix/Makefile (tests): Add bug-regex32.
10676
10677 * locale/findlocale.c (_nl_find_locale): Return right away if
10678 _nl_explode_name failed.
10679 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10680
10681 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10682
10683 * debug/xtrace.sh: Unify messages.
10684 * malloc/memusage.sh: Likewise.
10685
10686 [BZ #12813]
10687 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10688 time symbol from vDSO. Substitute with vsyscall if not available.
10689 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10690 __vdso_time.
10691
10692 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10693 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10694 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10695 Add sendmmsg and internal_sendmmsg.
10696 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10697 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10698 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10699
10700 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10701 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10702 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10703
10704 2011-05-27 Ulrich Drepper <drepper@gmail.com>
10705
10706 [BZ #12813]
10707 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10708 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10709 available.
10710 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10711 __vdso_getcpu.
10712
10713 [BZ #12814]
10714 * iconvdata/Makefile (tests): Add bug-iconv9.
10715 * iconvdata/bug-iconv9.c: New file.
10716
10717 2011-05-27 Andreas Schwab <schwab@redhat.com>
10718
10719 [BZ #12814]
10720 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10721
10722 2011-05-25 Jakub Jelinek <jakub@redhat.com>
10723
10724 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10725 (struct user_regs_struct): Change intcs field back to cs.
10726
10727 2011-05-25 Ulrich Drepper <drepper@gmail.com>
10728
10729 * po/ja.po: Update from translation team.
10730
10731 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10732
10733 [BZ #12795]
10734 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10735 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10736
10737 2011-05-20 Andreas Schwab <schwab@redhat.com>
10738
10739 * stdlib/longlong.h: Update from GCC.
10740
10741 2011-05-23 Andreas Schwab <schwab@redhat.com>
10742
10743 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10744 parameter name.
10745 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10746 Add parameter name.
10747 (__sysconf): Pass it down.
10748
10749 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10750
10751 [BZ #12671]
10752 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10753 some situations.
10754 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10755 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10756 add in in __libc_use_alloca calls. Adjust callers.
10757 (glob): Use malloc in some situations.
10758
10759 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10760 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10761 pltexit.
10762
10763 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10764
10765 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10766 and CLOCK_BOOTTIME_ALARM.
10767
10768 [BZ #12782]
10769 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10770 is returned.
10771
10772 * string/_strerror.c (__strerror_r): Print negative errors as signed
10773 numbers.
10774
10775 [BZ #12777]
10776 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10777 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10778 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10779
10780 * configure.in: Fix typo in redirection and correct removal of test
10781 files in two cases.
10782
10783 [BZ #12788]
10784 * locale/setlocale.c (new_composite_name): Fix test to check for
10785 identical name of all categories.
10786
10787 [BZ #12792]
10788 * libio/filedoalloc.c (local_isatty): New function.
10789 (_IO_file_doallocate): Use local_isatty.
10790 * stdio-common/perror.c (perror): In case a new stream is used
10791 forward the stream error.
10792 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10793 error flag.
10794
10795 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10796
10797 [BZ #11869]
10798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10799 alloca.
10800 * include/alloca.h (extend_alloca_account): Define.
10801
10802 [BZ #11857]
10803 * posix/regex.h: Fix comments with documentation of user-accessible
10804 fields after compilation and describe correct free'ing of pattern
10805 after re_compile_pattern.
10806 Patch by Reuben Thomas <rrt@sc3d.org>.
10807
10808 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10809
10810 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10811 and -mno-altivec to prevent the compiler from using Altivec and/or
10812 VSX instructions when the corresponding registers are not available.
10813
10814 2011-05-19 Andreas Schwab <schwab@redhat.com>
10815
10816 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10817
10818 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10819
10820 * libio/freopen.c (freopen): Use __dup2, not dup2.
10821 * libio/freopen64.c (freopen64): Likewise.
10822
10823 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10824
10825 [BZ #12775]
10826 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10827 * math/Makefile (tests): Add test-powl.
10828 (CFLAGS-test-powl.c): Define.
10829 * math/test-powl.c: New file.
10830
10831 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10832
10833 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10834
10835 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10836
10837 [BZ #11837]
10838 * iconvdata/gb18030.c: Update to GB18020-2005.
10839
10840 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10841
10842 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10843 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10844 Patch by Aharon Robbins <arnold@skeeve.com>.
10845
10846 [BZ #11892]
10847 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10848 on the stack.
10849
10850 [BZ #11895]
10851 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10852 through underflows.
10853
10854 [BZ #12766]
10855 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10856 point to strings before performing equality test for error_one_per_line
10857 mode.
10858
10859 [BZ #11697]
10860 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10861
10862 [BZ #11820]
10863 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10864 (struct user_fpregs_struct): Avoid __uint*_t types.
10865
10866 [BZ #6420]
10867 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10868 symbol info. Use it instead of calling _dl_addr locally.
10869 (lock_and_info): New function.
10870 (tr_freehook): Call lock_and_info and pass symbol info as additional
10871 parameter to tr_where.
10872 (tr_mallochook): Likewise.
10873 (tr_reallochook): Likewise.
10874 (tr_memalignhook): Likewise.
10875
10876 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10877 used and couldn't be at all thread-safe.
10878
10879 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10880
10881 * libio/freopen.c (freopen): Don't close old file descriptor
10882 before the new one is opened. Instead dup the new file descriptor
10883 to the old one after the new stream is created.
10884 * libio/freopen64.c (freopen64): Likewise.
10885 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10886 * libio/fileops.c (_IO_new_file_close_it): Handle new
10887 _IO_FLAGS2_NOCLOSE flag.
10888 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10889 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10890 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10891 _IO_FLAGS2_NOCLOSE flag.
10892 * include/unistd.h: Add hidden_proto for dup3.
10893 Define __have_dup3.
10894 * io/dup3.c: Define hidden symbol.
10895 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10896
10897 [BZ #7101]
10898 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10899 when an incomplete long option is used.
10900 * posix/tst-getopt_long1.c: New file.
10901 * posix/Makefile (tests): Add tst-getopt_long1.
10902
10903 [BZ #10138]
10904 * scripts/config.guess: Update from autoconf-2.68.
10905 * scripts/config.sub: Likewise.
10906
10907 [BZ #10157]
10908 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10909 tests into ...
10910 (has_cpuclock): ...this. New function.
10911 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10912 macro here based on has_cpuclock code.
10913
10914 [BZ #10149]
10915 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10916 First byte (not low byte) is now always NUL.
10917 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10918
10919 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10920 Use non-cancelable interfaces.
10921
10922 [BZ #9809]
10923 * locale/iso-639.def: Add entry for Sorani.
10924
10925 [BZ #11901]
10926 * include/stdlib.h: Move include protection to the right place.
10927 Define abort_msg_s. Declare __abort_msg with it.
10928 * stdlib/abort.c (__abort_msg): Adjust type.
10929 * assert/assert.c (__assert_fail_base): New function. Majority
10930 of code from __assert_fail. Allocate memory for __abort_msg with
10931 mmap.
10932 (__assert_fail): Now call __assert_fail_base.
10933 * assert/assert-perr.c: Remove bulk of implementation. Use
10934 __assert_fail_base.
10935 * include/assert.hL Declare __assert_fail_base.
10936 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10937 mmap.
10938 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10939
10940 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10941
10942 [BZ #11952]
10943 [BZ #12453]
10944 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10945 until all modules are registered in the DTV.
10946 * elf/Makefile: Add rules to build and run tst-tls19.
10947 * elf/tst-tls19.c: New file.
10948 * elf/tst-tls19mod1.c: New file.
10949 * elf/tst-tls19mod2.c: New file.
10950 * elf/tst-tls19mod3.c: New file.
10951 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10952
10953 [BZ #12083]
10954 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10955 correctly.
10956
10957 [BZ #12601]
10958 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10959 two-byte sequence errors.
10960 * iconvdata/Makefile (tests): Add bug-iconv8.
10961 * iconvdata/bug-iconv8.c: New file.
10962
10963 [BZ #12626]
10964 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10965 buf2 definition.
10966
10967 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10968
10969 [BZ #12432]
10970 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10971 (dummy_getcfa): New function.
10972 (init): Get _Unwind_GetCFA address, use dummy if not found.
10973 (backtrace_helper): In recursion check, also check whether CFA changes.
10974 (__backtrace): Completely initialize arg.
10975
10976 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10977 storing incomplete byte sequence in state object. Avoid testing for
10978 guaranteed too small input if we know there is enough data available.
10979
10980 2011-05-11 Andreas Schwab <schwab@redhat.com>
10981
10982 * Makeconfig (+link-pie): Indent.
10983 * Rules (binaries-pie): Define if $(have-fpie) and
10984 $(build-shared).
10985 (binaries-shared): Also filter out $(binaries-pie).
10986 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10987 * nscd/Makefile (others-pie): Add nscd.
10988 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10989 ($(objpfx)nscd): Remove command override.
10990 * login/Makefile (others-pie): Add pt_chown.
10991 ($(objpfx)pt_chown): Remove command override.
10992 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10993 remove command overrides.
10994
10995 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10996
10997 * libio/tst_putwc.c: Fix error messages.
10998
10999 [BZ #12724]
11000 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11001 currently writing and seek to current position when not.
11002 * libio/Makefile (tests): Add bug-fclose1.
11003 * libio/bug-fclose1.c: New file.
11004
11005 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11006
11007 [BZ #12511]
11008 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11009 don't set DF_1_NODELETE here.
11010 (do_lookup_x): When entering new entry test for copy relocation
11011 and if necessary set DF_1_NODELETE flag.
11012 * elf/tst-unique4.cc: New file.
11013 * elf/tst-unique4.h: New file.
11014 * elf/tst-unique4lib.cc: New file.
11015 * elf/Makefile: Add rules to build and run tst-unique4.
11016 Patch by Piotr Bury <pbury@goahead.com>.
11017
11018 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11019
11020 [BZ #12052]
11021 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11022
11023 [BZ #12625]
11024 * misc/mntent_r.c (addmntent): Flush the stream after the output
11025
11026 [BZ #12393]
11027 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11028 (is_trusted_path_normalize): Skip initial colon. Append slash
11029 to empty buffer. Duplicate is_trusted_path code but allow
11030 constructed patch to be prefix.
11031 (is_dst): Allow $ORIGIN followed by /.
11032 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11033 Correct testing of result of is_trusted_path_normalize
11034 (decompose_rpath): Fix warning.
11035
11036 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11037
11038 [BZ #11257]
11039 * grp/initgroups.c (internal_getgrouplist): When we found the service
11040 list through the initgroups entry in nsswitch.conf do not always
11041 continue on a successful lookup. Don't always use the
11042 __nss_group_database value if it is set.
11043 * nss/nsswitch.conf (initgroups): Change action for successful db
11044 lookup to continue for compatibility.
11045
11046 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11047
11048 [BZ #11532]
11049 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11050 and CP774 modules.
11051 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11052 and CP774 modules.
11053 * iconvdata/tst-tables.sh: Likewise.
11054 * iconvdata/cp770.c: New file.
11055 * iconvdata/cp771.c: New file.
11056 * iconvdata/cp772.c: New file.
11057 * iconvdata/cp773.c: New file.
11058 * iconvdata/cp774.c: New file.
11059 * iconvdata/testdata/CP770: New file.
11060 * iconvdata/testdata/CP770..UTF8: New file.
11061 * iconvdata/testdata/CP771: New file.
11062 * iconvdata/testdata/CP771..UTF8: New file.
11063 * iconvdata/testdata/CP772: New file.
11064 * iconvdata/testdata/CP772..UTF8: New file.
11065 * iconvdata/testdata/CP773: New file.
11066 * iconvdata/testdata/CP773..UTF8: New file.
11067 * iconvdata/testdata/CP774: New file.
11068 * iconvdata/testdata/CP774..UTF8: New file.
11069
11070 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11071 END CHARMAP line.
11072 * iconvdata/gen-8bit-gap.sh: Likewise.
11073 * iconvdata/gen-8bit.sh: Likewise.
11074
11075 * locale/iso-639.def: Add ary entry.
11076
11077 [BZ #11258]
11078 * locale/C-translit.h.in: Add U20A1 transliteration.
11079
11080 [BZ #12178]
11081 * locale/iso-639.def: Add wae entry.
11082 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11083
11084 [BZ #12545]
11085 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11086 for n.
11087
11088 [BZ #12711]
11089 * locale/C-translit.h.in: Add entry for U20B9.
11090 Patch by pravin.d.s@gmail.com.
11091
11092 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11093
11094 [BZ #12713]
11095 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11096 ENAMETOOLONG use generic getcwd.
11097 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11098 in rtld. Use *stat64.
11099 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11100 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11101 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11102 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11103 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11104 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11105 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11106 __fstatat64 macros.
11107 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11108 * dirent/rewinddir.c: Add libc_hidden_def.
11109 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11110 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11111
11112 * include/dirent.h (__alloc_dir): Add flags parameter.
11113 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11114 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11115 __alloc_dir.
11116 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11117 from fdopendir if O_CLOEXEC is already set.
11118
11119 2011-03-15 Alan Modra <amodra@gmail.com>
11120
11121 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11122 l_tls_firstbyte_offset non-zero. Save padding offset in
11123 l_tls_firstbyte_offset for later use.
11124 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11125 freeing static tls block.
11126
11127 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11128
11129 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11130 where #ifdef was intended. The intent is to prevent ARG_MAX from
11131 being defined by the kernel headers.
11132
11133 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11134
11135 [BZ #12734]
11136 * resolv/resolv.h: Define RES_NOTLDQUERY.
11137 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11138 no-tld-query and set RES_NOTLDQUERY.
11139 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11140 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11141 modern BIND to search name as TLD unless forbidden.
11142
11143 2011-05-07 Petr Baudis <pasky@suse.cz>
11144 Ulrich Drepper <drepper@gmail.com>
11145
11146 [BZ #12393]
11147 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11148 (is_trusted_path): ...to here.
11149 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11150 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11151 using is_trusted_path_normalize() in setuid scripts.
11152
11153 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11154
11155 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11156 __BEGIN/__END_DECLS.
11157
11158 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11159
11160 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11161 NSS_STATUS_NOTFOUND if no record was found.
11162
11163 2011-05-05 Andreas Schwab <schwab@redhat.com>
11164
11165 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11166 (headers-not-in-tirpc): Remove rpc/netdb.h
11167 * resolv/netdb.h: Revert last change.
11168
11169 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11170
11171 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11172 circular dependency between libgcc.a and libc.a.
11173
11174 2011-05-05 Andreas Schwab <schwab@redhat.com>
11175
11176 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11177 * nis/Makefile: Don't install rpcsvc/*.
11178 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11179 instead of <rpc/types.h>.
11180 (MAXHOSTNAMELEN): Define.
11181
11182 2011-05-03 Andreas Schwab <schwab@redhat.com>
11183
11184 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11185
11186 2011-04-28 Maciej Babinski <mbabinski@google.com>
11187
11188 [BZ #12714]
11189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11190 gethostbyname4_r when IPv6 results are possible.
11191
11192 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11193
11194 [BZ #12723]
11195 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11196 _PC_PIPE_BUF handling.
11197
11198 2011-04-30 Bruno Haible <bruno@clisp.org>
11199
11200 [BZ #12717]
11201 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11202 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11203 to 'int'.
11204 * inet/getnameinfo.c (getnameinfo): Likewise.
11205
11206 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11207
11208 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11209 to groups setting in database lookup.
11210 * nss/nsswitch.conf: Add initgroups entry.
11211
11212 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11213
11214 [BZ #12685]
11215 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11216 mode string.
11217 Patch by Eric Blake <eblake@redhat.com>.
11218
11219 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11220
11221 * sunrpc/Makefile (need-export-routines): Add svc_run.
11222 (routines): Remove svc_run.
11223 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11224 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11225 * sunrpc/svc_run.c (svc_run): Likewise.
11226 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11227
11228 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11229
11230 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11231 problem in reallocation in last patch.
11232
11233 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11234
11235 * sunrpc/Makefile: Move inclusion of Rules.
11236
11237 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11238
11239 * nss/nss_files/files-initgroups.c: New file.
11240 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11241 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11242 _nss_files_initgroups_dyn.
11243
11244 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11245
11246 * elf/elf.h (R_ARM_IRELATIVE): Define.
11247
11248 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11249
11250 * po/ru.po: Update from translation team.
11251
11252 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11253
11254 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11255 dependencies.
11256
11257 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11258
11259 [BZ #12653]
11260 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11261 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11262 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11263 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11264 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11265
11266 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11267
11268 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11269 differing bytes.
11270 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11271 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11272 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11273
11274 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11275
11276 [BZ #12420]
11277 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11278 storing it.
11279 * stdlib/bug-getcontext.c: New file.
11280 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11281
11282 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11283
11284 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11285 instructions into .machine "z9-109".
11286 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11287 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11288
11289 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11290
11291 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11292 between environment variables and auxiliary vector.
11293
11294 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11295
11296 * Makefile: Add rules to build linkobj/libc.so.
11297 * include/libc-symbols.h: Define libc_hidden_nolink.
11298 * include/rpc/auth.h: Mark functions which are to be hidden.
11299 * include/rpc/auth_des.h: Likewise.
11300 * include/rpc/auth_unix.h: Likewise.
11301 * include/rpc/clnt.h: Likewise.
11302 * include/rpc/des_crypt.h: Likewise.
11303 * include/rpc/key_prot.h: Likewise.
11304 * include/rpc/pmap_clnt.h: Likewise.
11305 * include/rpc/pmap_prot.h: Likewise.
11306 * include/rpc/pmap_rmt.h: Likewise.
11307 * include/rpc/rpc_msg.h: Likewise.
11308 * include/rpc/svc.h: Likewise.
11309 * include/rpc/svc_auth.h: Likewise.
11310 * include/rpc/xdr.h: Likewise.
11311 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11312 * nss/Makefile: Likewise.
11313 * sunrpc/Makefile: Don't install headers. Build library with normal
11314 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11315 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11316 for the compat linking library. Remove use of INTDEF/INTUSE.
11317 * sunrpc/auth_none.c: Likewise.
11318 * sunrpc/auth_unix.c: Likewise.
11319 * sunrpc/authdes_prot.c: Likewise.
11320 * sunrpc/authuxprot.c: Likewise.
11321 * sunrpc/clnt_gen.c: Likewise.
11322 * sunrpc/clnt_perr.c: Likewise.
11323 * sunrpc/clnt_raw.c: Likewise.
11324 * sunrpc/clnt_simp.c: Likewise.
11325 * sunrpc/clnt_tcp.c: Likewise.
11326 * sunrpc/clnt_udp.c: Likewise.
11327 * sunrpc/clnt_unix.c: Likewise.
11328 * sunrpc/des_crypt.c: Likewise.
11329 * sunrpc/des_soft.c: Likewise.
11330 * sunrpc/get_myaddr.c: Likewise.
11331 * sunrpc/key_call.c: Likewise.
11332 * sunrpc/key_prot.c: Likewise.
11333 * sunrpc/netname.c: Likewise.
11334 * sunrpc/pm_getmaps.c: Likewise.
11335 * sunrpc/pm_getport.c: Likewise.
11336 * sunrpc/pmap_clnt.c: Likewise.
11337 * sunrpc/pmap_prot.c: Likewise.
11338 * sunrpc/pmap_prot2.c: Likewise.
11339 * sunrpc/pmap_rmt.c: Likewise.
11340 * sunrpc/publickey.c: Likewise.
11341 * sunrpc/rpc_cmsg.c: Likewise.
11342 * sunrpc/rpc_common.c: Likewise.
11343 * sunrpc/rpc_dtable.c: Likewise.
11344 * sunrpc/rpc_prot.c: Likewise.
11345 * sunrpc/rpc_thread.c: Likewise.
11346 * sunrpc/rtime.c: Likewise.
11347 * sunrpc/svc.c: Likewise.
11348 * sunrpc/svc_auth.c: Likewise.
11349 * sunrpc/svc_authux.c: Likewise.
11350 * sunrpc/svc_raw.c: Likewise.
11351 * sunrpc/svc_run.c: Likewise.
11352 * sunrpc/svc_simple.c: Likewise.
11353 * sunrpc/svc_tcp.c: Likewise.
11354 * sunrpc/svc_udp.c: Likewise.
11355 * sunrpc/svc_unix.c: Likewise.
11356 * sunrpc/svcauth_des.c: Likewise.
11357 * sunrpc/xcrypt.c: Likewise.
11358 * sunrpc/xdr.c: Likewise.
11359 * sunrpc/xdr_array.c: Likewise.
11360 * sunrpc/xdr_float.c: Likewise.
11361 * sunrpc/xdr_intXX_t.c: Likewise.
11362 * sunrpc/xdr_mem.c: Likewise.
11363 * sunrpc/xdr_rec.c: Likewise.
11364 * sunrpc/xdr_ref.c: Likewise.
11365 * sunrpc/xdr_sizeof.c: Likewise.
11366 * sunrpc/xdr_stdio.c: Likewise.
11367
11368 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11369
11370 [BZ #12650]
11371 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11372 * sysdeps/ia64/dl-tls.h: Likewise.
11373 * sysdeps/powerpc/dl-tls.h: Likewise.
11374 * sysdeps/s390/dl-tls.h: Likewise.
11375 * sysdeps/sh/dl-tls.h: Likewise.
11376 * sysdeps/sparc/dl-tls.h: Likewise.
11377 * sysdeps/x86_64/dl-tls.h: Likewise.
11378 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11379
11380 2011-03-14 Andreas Schwab <schwab@redhat.com>
11381
11382 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11383 rpath element also skip the following colon.
11384 (expand_dynamic_string_token): Add is_path parameter and pass
11385 down to DL_DST_REQUIRED and _dl_dst_substitute.
11386 (decompose_rpath): Call expand_dynamic_string_token with
11387 non-zero is_path. Ignore empty rpaths.
11388 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11389 with zero is_path.
11390
11391 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11392
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11394 Make cancelable.
11395
11396 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11397
11398 [BZ #12655]
11399 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11400 Patch by Filipe David Manana <fdmanana@apache.org>.
11401
11402 2011-04-07 Andreas Schwab <schwab@redhat.com>
11403
11404 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11405 Maintain aligned stack.
11406 (CHECK_RSP): Remove unused macro.
11407
11408 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11409
11410 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11411 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11412
11413 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11414
11415 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11416
11417 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11418
11419 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11420
11421 [BZ #12518]
11422 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11423 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11424 * sysdeps/x86_64/memmove.c: New file.
11425 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11426 (memcpy): Renamed to ...
11427 (__new_memcpy): This.
11428 (memcpy): Provide GLIBC_2_14 memcpy.
11429 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11430 (memcpy): Provide GLIBC_2_2_5 memcpy.
11431
11432 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11433
11434 [BZ #12631]
11435 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11436
11437 2011-03-30 Andreas Schwab <schwab@redhat.com>
11438
11439 * misc/syncfs.c: New file.
11440 * misc/Makefile (routines): Add syncfs.
11441 * posix/unistd.h: Declare syncfs.
11442 * sysdeps/unix/syscalls.list: Add syncfs.
11443
11444 2011-04-01 Andreas Schwab <schwab@redhat.com>
11445
11446 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11447 open_by_handle_at.
11448 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11449 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11451 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11453 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11454 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11455
11456 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11457
11458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11459 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11460 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11461 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11462 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11464 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11465
11466 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11467 sync_file_range.c with -fexceptions.
11468 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11469 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11470 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11471 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11472 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11473 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11474 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11475 sync_file_range as cancellation point
11476 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11477 now a wrapper around __call_sync_file_range with cancellation handling.
11478 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11479 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11480 function name to __call_sync_file_range.
11481 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11482 Add call_sync_file_range.
11483
11484 2011-04-01 Andreas Schwab <schwab@redhat.com>
11485
11486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11487 bits/timex.h.
11488
11489 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11490
11491 * iconv/iconv.h: Fix typo in comment.
11492 * io/fcntl.h: Likewise.
11493 * libio/stdio.h: Likewise.
11494 * posix/spawn.h: Likewise.
11495 * posix/unistd.h: Likewise.
11496 * stdlib/stdlib.h: Likewise.
11497 * time/time.h: Likewise.
11498 * wcsmbs/wchar.h: Likewise.
11499
11500 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11501 open_by_handle): Add.
11502 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11503 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11504 Augment a few comments.
11505 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11506 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11507 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11509 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11510 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11511 open_by_handle.
11512
11513 * io/fcntl.h (AT_EMPTY_PATH): Define.
11514
11515 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11516
11517 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11518 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11519 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11520 to...
11521 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11522 * Versions.def: Add GLIBC_2.14.
11523 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11524 Export.
11525
11526 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11527
11528 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11529 round counter.
11530 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11531
11532 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11533
11534 [BZ #12597]
11535 * string/test-strncmp.c (do_page_test): New function.
11536 (check2): Likewise.
11537 (test_main): Call check2.
11538 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11539
11540 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11541
11542 [BZ #12587]
11543 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11544 Handle cache information in CPU leaf 4.
11545 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11546
11547 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11548
11549 [BZ #12583]
11550 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11551 character representation.
11552 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11553
11554 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11555
11556 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11557 END(__isnan) to END(__isnanf) to match function entry point/label
11558 EALIGN(__isnanf,...).
11559
11560 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11561
11562 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11563
11564 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11565
11566 [BZ #12510]
11567 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11568 copy from the symbol referenced in the relocation to initialize the
11569 used variable.
11570 Patch by Piotr Bury <pbury@goahead.com>.
11571 * elf/Makefile: Add rules to build and tst-unique3.
11572 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11573 * elf/tst-unique3.cc: New file.
11574 * elf/tst-unique3.h: New file.
11575 * elf/tst-unique3lib.cc: New file.
11576 * elf/tst-unique3lib2.cc: New file.
11577
11578 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11579
11580 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11581
11582 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11583 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11584 to _start.
11585
11586 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11587
11588 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11589 to-be-loaded object along a path to loader is ld.so.
11590
11591 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11592 Ulrich Drepper <drepper@gmail.com>
11593
11594 * sysdeps/x86_64/memset.S: After aligning destination, code
11595 branches to different locations depending on the value of
11596 misalignment, when multiarch is enabled. Fix this.
11597
11598 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11599
11600 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11601 Set _x86_64_preferred_memory_instruction for AMD processsors.
11602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11603 Set bit_Prefer_SSE_for_memop for AMD processors.
11604
11605 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11606
11607 * libio/fmemopen.c (fmemopen): Optimize a bit.
11608
11609 2011-03-03 Andreas Schwab <schwab@redhat.com>
11610
11611 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11612
11613 2011-03-03 Roland McGrath <roland@redhat.com>
11614
11615 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11616
11617 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11618
11619 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11620 __bzero_ultra1 instead of __memset_ultra1.
11621
11622 2011-02-23 Andreas Schwab <schwab@redhat.com>
11623 Ulrich Drepper <drepper@gmail.com>
11624
11625 [BZ #12509]
11626 * include/link.h (struct link_map): Add l_orig_initfini.
11627 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11628 returning unsuccessfully.
11629 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11630 close of a file loaded at startup, restore the original l_initfini
11631 list.
11632 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11633 list, store the pointer.
11634 * elf/Makefile ($(objpfx)noload-mem): New rule.
11635 (noload-ENV): Define.
11636 (tests): Add $(objpfx)noload-mem.
11637 * elf/noload.c: Include <memcheck.h>.
11638 (main): Call mtrace. Close all opened handles.
11639
11640 2011-02-17 Andreas Schwab <schwab@redhat.com>
11641
11642 [BZ #12454]
11643 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11644 dependencies are missing.
11645
11646 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11647
11648 Fix __if_freereq crash: Unlike the generic version which uses free,
11649 Hurd needs munmap.
11650 * sysdeps/mach/hurd/ifreq.h: New file.
11651
11652 2011-01-27 Petr Baudis <pasky@suse.cz>
11653 Ulrich Drepper <drepper@gmail.com>
11654
11655 [BZ 12445]#
11656 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11657 to extend_alloca().
11658 * stdio-common/bug23.c: New file.
11659 * stdio-common/Makefile (tests): Add bug23.
11660
11661 2010-09-28 Andreas Schwab <schwab@redhat.com>
11662 Ulrich Drepper <drepper@gmail.com>
11663
11664 [BZ #12489]
11665 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11666 before performing relro protection. At old place add assertion
11667 to make sure nothing changed.
11668
11669 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11670 Glauber de Oliveira Costa <glommer@gmail.com>
11671
11672 * elf/elf.h: Add new ARM TLS relocs.
11673
11674 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11675
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11677 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11678 cast from r3.
11679 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11680 'tests' variable.
11681 * sysdeps/wordsize-64/tst-writev.c: New file.
11682
11683 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11684
11685 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11686 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11687 insns in _dl_start to prevent a TOC reference before relocs are
11688 resolved.
11689
11690 2011-02-15 Ulrich Drepper <drepper@gmail.com>
11691
11692 [BZ #12469]
11693 * Makeconfig: Remove RANLIB definition.
11694 * Makerules: Don't use RANLIB.
11695 * aclocal.m4: Remove ranlib test.
11696 * configure.in: No need to check for ranlib.
11697 * elf/rtld-Rules: Don't use RANLIB.
11698
11699 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11700
11701 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11702 protection macro.
11703 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11704 inclusion protection macro.
11705
11706 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11707 SIGRTMIN and SIGRTMAX and print information in that case only when
11708 SIGRTMIN is defined.
11709
11710 2011-02-11 Jakub Jelinek <jakub@redhat.com>
11711
11712 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11713 arginfo fn returning -1.
11714
11715 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11716 and thousands string is zero terminated.
11717
11718 2011-02-03 Andreas Schwab <schwab@redhat.com>
11719
11720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11721 sysdeps/unix/sysv/linux/bits/socket.h.
11722
11723 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11724
11725 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11726 (__CPU_COUNT): Remove old macros.
11727 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11728 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11729 (__CPU_ALLOC, __CPU_FREE): Add macros.
11730 (__sched_cpualloc, __sched_cpufree): Add declarations.
11731
11732 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11733
11734 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11735 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11736 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11737 (readdhstai): Return value of addhstaiX call.
11738 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11739 (addgrbyX): Return value returned by cache_addgr.
11740 (readdgrbyname): Return value returned by addgrbyX.
11741 (readdgrbygid): Likewise.
11742 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11743 (addpwbyX): Return value returned by cache_addpw.
11744 (readdpwbyname): Return value returned by addhstbyX.
11745 (readdpwbyuid): Likewise.
11746 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11747 (addservbyX): Return value returned by cache_addserv.
11748 (readdservbyname): Return value returned by addservbyX:
11749 (readdservbyport): Likewise.
11750 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11751 (addhstbyX): Return value returned by cache_addhst.
11752 (readdhstbyname): Return value returned by addhstbyX.
11753 (readdhstbyaddr): Likewise.
11754 (readdhstbynamev6): Likewise.
11755 (readdhstbyaddrv6): Likewise.
11756 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11757 (readdinitgroups): Return value returned by addinitgroupsX.
11758 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11759 (prune_cache): Keep track of timeout value of re-added entries.
11760 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11761 * nscd/nscd.h: Adjust prototypes of readd* functions.
11762
11763 2011-02-04 Roland McGrath <roland@redhat.com>
11764
11765 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11766 (nis_stats): Likewise.
11767 * nis/nis_modify.c (nis_modify): Likewise.
11768 * nis/nis_remove.c (nis_remove): Likewise.
11769 * nis/nis_add.c (nis_add): Likewise.
11770
11771 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11772
11773 * posix/fnmatch_loop.c: Add some consts.
11774
11775 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11776
11777 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11778
11779 [BZ #12460]
11780 * config.make.in (config-cflags-novzeroupper): Define.
11781 * configure.in: Substitute libc_cv_cc_novzeroupper.
11782 * elf/Makefile (AVX-CFLAGS): Define.
11783 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11784 (CFLAGS-tst-auditmod4a.c): Likewise.
11785 (CFLAGS-tst-auditmod4b.c): Likewise.
11786 (CFLAGS-tst-auditmod6b.c): Likewise.
11787 (CFLAGS-tst-auditmod6c.c): Likewise.
11788 (CFLAGS-tst-auditmod7b.c): Likewise.
11789 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11790
11791 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11792
11793 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11794 function to the callback.
11795 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11796
11797 2011-02-02 Andreas Schwab <schwab@redhat.com>
11798
11799 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11800 of errno.
11801
11802 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11803
11804 [BZ #11724]
11805 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11806 of constructors.
11807 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11808 of destructors.
11809 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11810
11811 [BZ #11724]
11812 * elf/Makefile: Add rules to build and run new test.
11813 * elf/tst-initorder.c: New file.
11814 * elf/tst-initorder.exp: New file.
11815 * elf/tst-initordera1.c: New file.
11816 * elf/tst-initordera2.c: New file.
11817 * elf/tst-initordera3.c: New file.
11818 * elf/tst-initordera4.c: New file.
11819 * elf/tst-initorderb1.c: New file.
11820 * elf/tst-initorderb2.c: New file.
11821 * elf/tst-order-a1.c: New file.
11822 * elf/tst-order-a2.c: New file.
11823 * elf/tst-order-a3.c: New file.
11824 * elf/tst-order-a4.c: New file.
11825 * elf/tst-order-b1.c: New file.
11826 * elf/tst-order-b2.c: New file.
11827 * elf/tst-order-main.c: New file.
11828 New test case by George Gensure <werkt0@gmail.com>.
11829
11830 2010-10-01 Andreas Schwab <schwab@redhat.com>
11831
11832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11833 decoding ACE if AI_CANONIDN.
11834
11835 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11836
11837 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11838
11839 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11840
11841 * version.h (RELEASE): Bump for 2.13 release.
11842 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11843
11844 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11845
11846 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11847 MADV_NOHUGEPAGE.
11848 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11849 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11850 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11851 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11852 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11853 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11854
11855 * posix/getconf.c: Update copyright year.
11856 * catgets/gencat.c: Likewise.
11857 * csu/version.c: Likewise.
11858 * debug/catchsegv.sh: Likewise.
11859 * debug/xtrace.sh: Likewise.
11860 * elf/ldconfig.c: Likewise.
11861 * elf/ldd.bash.in: Likewise.
11862 * elf/sprof.c (print_version): Likewise.
11863 * iconv/iconv_prog.c: Likewise.
11864 * iconv/iconvconfig.c: Likewise.
11865 * locale/programs/locale.c: Likewise.
11866 * locale/programs/localedef.c: Likewise.
11867 * malloc/memusage.sh: Likewise.
11868 * malloc/mtrace.pl: Likewise.
11869 * nscd/nscd.c (print_version): Likewise.
11870 * nss/getent.c: Likewise.
11871
11872 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11873 PF_CAIF, and PF_ALG.
11874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11875
11876 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11877
11878 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11879 (modules-names): Use them.
11880 (ifunc-test-modules, ifunc-pie-tests): Define.
11881 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11882 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11883 (test-extras): Likewise.
11884 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11885 $(compile-command.c).
11886 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11887 (all-built-dso): Define.
11888 (check-textrel.out, check-execstack.out): Depend on it.
11889
11890 * configure.in: Don't override --enable-multi-arch.
11891
11892 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11893
11894 [BZ #6812]
11895 * nscd/hstcache.c (tryagain): Define.
11896 (cache_addhst): Return tryagain not notfound for temporary errors.
11897 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11898 failed.
11899
11900 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11901
11902 [BZ #10563]
11903 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11904 to make the syscall.
11905 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11906
11907 [BZ #12378]
11908 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11909 and fall back to matching as normal character if the string ends before
11910 the matching ']' is found. This is what POSIX requires.
11911 * posix/testfnm.c: Adjust test result.
11912 * posix/globtest.sh: Adjust test result. Add new test.
11913 * posix/tst-fnmatch.input: Likewise.
11914 * posix/tst-fnmatch2.c: Add new test.
11915
11916 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11917
11918 * elf/Makefile (check-execstack): Revert last change. Depend on
11919 check-execstack.h.
11920 (check-execstack.h): New target.
11921 (generated): Add check-execstack.h.
11922 * elf/check-execstack.c: Include "check-execstack.h".
11923 (main): Revert last change.
11924 (handle_file): Return zero if GNU_STACK is absent and
11925 DEFAULT_STACK_PERMS doesn't include PF_X.
11926
11927 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11928
11929 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11930 in child fails because the descriptor is already closed.
11931 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11932 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11933 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11934
11935 [BZ #12397]
11936 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11937 syscall.
11938
11939 [BZ #10484]
11940 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11941 temporary buffer used to handle multi lookups locally.
11942 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11943
11944 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11945
11946 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11947 loader is ld.so.
11948
11949 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11950
11951 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11952 alignment for SSE2.
11953
11954 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11955
11956 [BZ #12394]
11957 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11958 characters. When rounding increased number of integer digits recompute
11959 number of groups.
11960 * stdio-common/tst-grouping.c: New file.
11961 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11962
11963 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11964
11965 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11966 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11967
11968 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11969 void.
11970 * bits/select.h: Likewise.
11971
11972 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11973
11974 * po/ja.po: Update from translation team.
11975
11976 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11977
11978 [BZ #11155]
11979 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11980 implementation just like for lxstat, fxstatat, et al.
11981
11982 2010-12-27 Jim Meyering <meyering@redhat.com>
11983
11984 [BZ #12348]
11985 * posix/regexec.c (build_trtable): Return failure indication upon
11986 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11987
11988 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11989
11990 [BZ #12201]
11991 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11992 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11993 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11994 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11995
11996 [BZ #12207]
11997 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11998
11999 [BZ #12204]
12000 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12001 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12002
12003 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12004
12005 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12006 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12007 script has SORT_BY_INIT_PRIORITY.
12008 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12009 NO_CTORS_DTORS_SECTIONS is defined.
12010 * elf/soinit.c: Likewise.
12011 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12012 NO_CTORS_DTORS_SECTIONS is defined.
12013 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12014 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12015 * sysdeps/sh/init-first.c: Likewise.
12016 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12017
12018 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12019
12020 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12021 always use the slow path.
12022
12023 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12024
12025 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12026 similar rule which adds the sysdep directories to the header search in
12027 order to pick up the correct platform stackinfo.h.
12028 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12029 perform test if it is, otherwise return successfully without testing.
12030 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12031 DEFAULT_STACK_PERMS define in stackinfo.h.
12032 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12033 defined in stackinfo.h.
12034 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12035 DEFAULT_STACK_PERMS defined in stackinfo.h.
12036 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12037 * sysdeps/ia64/stackinfo.h: Likewise.
12038 * sysdeps/s390/stackinfo.h: Likewise.
12039 * sysdeps/sh/stackinfo.h: Likewise.
12040 * sysdeps/sparc/stackinfo.h: Likewise.
12041 * sysdeps/x86_64/stackinfo.h: Likewise.
12042 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12043 PF_X for powerpc64. Retain PF_X for powerpc32.
12044
12045 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12046
12047 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12048 accurately.
12049 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12050 GETDENTS_64BIT_ALIGNED.
12051
12052 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12053
12054 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12055
12056 2010-12-10 Andreas Schwab <schwab@redhat.com>
12057
12058 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12059 _GNU_SOURCE.
12060
12061 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12062 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12063 Remove __restrict.
12064 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12065 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12066
12067 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12068
12069 [BZ #11655]
12070 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12071 are initialized.
12072
12073 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12074
12075 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12076
12077 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12078
12079 * po/it.po: Update from translation team.
12080
12081 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12082
12083 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12084 unused codes.
12085
12086 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12087
12088 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12089
12090 2010-11-24 Andreas Schwab <schwab@redhat.com>
12091
12092 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12093 specially.
12094 (gaih_getanswer_slice): Likewise.
12095
12096 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12097
12098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12099
12100 2010-05-31 Petr Baudis <pasky@suse.cz>
12101
12102 [BZ #11149]
12103 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12104 silently even in the chroot mode.
12105
12106 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12107
12108 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12109 last patch a bit. Pretty printing
12110
12111 2010-05-31 Petr Baudis <pasky@suse.cz>
12112
12113 [BZ #10085]
12114 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12115 initialization of skip_initgroups_dyn.
12116
12117 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12118
12119 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12120 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12121
12122 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12123
12124 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12125
12126 2010-11-11 Andreas Schwab <schwab@redhat.com>
12127
12128 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12129 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12130 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12131 ($(objpfx)tst-fnmatch-mem): New rule.
12132 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12133 * posix/tst-fnmatch.c (main): Call mtrace.
12134
12135 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12136
12137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12138 Support Intel processor model 6 and model 0x2c.
12139
12140 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12141
12142 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12143 signed comparison.
12144
12145 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12146
12147 [BZ #12205]
12148 * string/test-strncasecmp.c (check_result): New function.
12149 (do_one_test): Use it.
12150 (check1): New function.
12151 (test_main): Use it.
12152 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12153 Support strcasecmp and strncasecmp.
12154
12155 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12156
12157 [BZ #12194]
12158 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12159 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12160
12161 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12162
12163 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12164 IFUNC support.
12165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12166 memset-x86-64.
12167 * sysdeps/x86_64/multiarch/bzero.S: New file.
12168 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12169 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12170 * sysdeps/x86_64/multiarch/memset.S: New file.
12171 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12173 Set bit_Prefer_SSE_for_memop for Intel processors.
12174 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12175 Define.
12176 (index_Prefer_SSE_for_memop): Define.
12177 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12178
12179 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12180
12181 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12182 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12183
12184 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12185
12186 [BZ #12191]
12187 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12188 (__x86_64_raw_data_cache_size_half): Likewise.
12189 (__x86_64_raw_shared_cache_size): Likewise.
12190 (__x86_64_raw_shared_cache_size_half): Likewise.
12191
12192 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12193 (__x86_64_raw_data_cache_size_half): Likewise.
12194 (__x86_64_raw_shared_cache_size): Likewise.
12195 (__x86_64_raw_shared_cache_size_half): Likewise.
12196 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12197 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12198 and __x86_64_raw_shared_cache_size_half. Round
12199 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12200 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12201 to multiple of 256 bytes.
12202
12203 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12204
12205 [BZ #12167]
12206 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12207 of inacessible symlinks. Verify result of symlink before returning it.
12208 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12209 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12210
12211 2010-10-28 Erich Ritz <erichritz@gmail.com>
12212
12213 * math/math.h (isinf): Fix typo in comment.
12214
12215 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12216
12217 * po/da.po: Update from translation team.
12218
12219 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12220
12221 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12222 is added to the list.
12223
12224 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12225 Ulrich Drepper <drepper@gmail.com>
12226
12227 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12228 the global list here. Move code to...
12229 (_dl_add_to_namespace_list): ...here. New function.
12230 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12231 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12232 * elf/dl-load.c (lose): Don't remove the element from the list.
12233 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12234 (_dl_map_object): Likewise.
12235
12236 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12237
12238 [BZ #12159]
12239 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12240 into all bytes of SSE register.
12241 Patch by Richard Li <richardpku@gmail.com>.
12242
12243 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12244
12245 [BZ #12140]
12246 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12247 perturbing.
12248
12249 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12250
12251 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12252 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12253 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12254 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12256 submachine.
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12258
12259 2010-10-22 Andreas Schwab <schwab@redhat.com>
12260
12261 * include/dlfcn.h (__RTLD_SECURE): Define.
12262 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12263 mode & __RTLD_SECURE instead.
12264 (open_path): Rename preloaded parameter to secure.
12265 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12266 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12267 * elf/dl-deps.c (openaux): Likewise.
12268 * elf/rtld.c (struct map_args): Remove is_preloaded.
12269 (map_doit): Don't use it.
12270 (dl_main): Likewise.
12271 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12272 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12273
12274 2010-09-09 Andreas Schwab <schwab@redhat.com>
12275
12276 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12277 (sysd-rules-targets): Remove duplicates.
12278 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12279 rtld-%.$o dependency.
12280
12281 2010-10-18 Andreas Schwab <schwab@redhat.com>
12282
12283 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12284 _dl_map_object do it.
12285
12286 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12287
12288 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12289 fast fma builtins, define the macros in the C99 standard.
12290 (FP_FAST_FMAF): Likewise.
12291 (FP_FAST_FMAL): Likewise.
12292 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12293
12294 * bits/mathdef.h: Update copyright year.
12295 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12296
12297 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12298
12299 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12300 builtins, define the macros in the C99 standard.
12301 (FP_FAST_FMAF): Likewise.
12302 (FP_FAST_FMAL): Likewise.
12303 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12304 multiply/add.
12305 (FP_FAST_FMAF): Likewise.
12306
12307 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12308
12309 [BZ #3268]
12310 * math/libm-test.inc (fma_test): Some new testcases.
12311 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12312 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12313 y and infinite z. Do multiplication by C already in long double.
12314 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12316 y and infinite z. Do bitwise or of inexact bit into u.d.
12317 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12318 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12319 * sysdeps/i386/fpu/s_fma.S: Removed.
12320 * sysdeps/i386/fpu/s_fmal.S: Removed.
12321
12322 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12323
12324 [BZ #3268]
12325 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12327 computation is not scheduled after fetestexcept. Fix value
12328 of minimum denormal long double.
12329
12330 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12331
12332 [BZ #3268]
12333 * math/libm-test.inc (fma_test): Add some more tests.
12334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12335 correctly.
12336
12337 2010-10-15 Andreas Schwab <schwab@redhat.com>
12338
12339 * scripts/data/localplt-s390-linux-gnu.data: New file.
12340 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12341
12342 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12343
12344 [BZ #3268]
12345 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12346 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12347 instead of dbl-64.
12348 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12349 inlines.
12350 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12352 if one of x and y is very large and the other is subnormal.
12353 * sysdeps/s390/fpu/s_fmaf.c: New file.
12354 * sysdeps/s390/fpu/s_fma.c: New file.
12355 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12356 * sysdeps/powerpc/fpu/s_fma.S: New file.
12357 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12358 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12359 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12360
12361 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12362
12363 [BZ #3268]
12364 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12365 fma tests.
12366 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12367 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12368 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12369 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12370 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12371 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12372 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12373
12374 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12375
12376 [BZ #12078]
12377 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12378 * posix/bug-regex31.input: Add test case.
12379
12380 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12381
12382 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12383 * posix/bug-regex31.input: New file.
12384
12385 [BZ #12078]
12386 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12387 (parse_sub_exp): Fix last change, use postorder.
12388
12389 * posix/bug-regex31.c: New file.
12390 * posix/Makefile: Add rules to build and run bug-regex31.
12391
12392 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12393
12394 [BZ #12078]
12395 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12396
12397 [BZ #12108]
12398 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12399 to have entries in sys_siglist.
12400
12401 [BZ #12093]
12402 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12403 be NULL.
12404
12405 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12406
12407 [BZ #3268]
12408 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12409 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12410 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12411 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12412 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12413 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12414 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12415 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12416 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12417 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12418 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12419 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12420 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12421 * math/ftestexcept.c (fetestexcept): Likewise.
12422 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12423 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12424 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12425 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12426 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12427 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12428 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12429
12430 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12431
12432 [BZ #12107]
12433 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12434 newline.
12435
12436 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12437
12438 * string/bug-strstr1.c: New file.
12439 * string/Makefile: Add rules to build and run bug-strstr1.
12440
12441 2010-10-05 Eric Blake <eblake@redhat.com>
12442
12443 [BZ #12092]
12444 * string/str-two-way.h (two_way_long_needle): Always clear memory
12445 when skipping input due to the shift table.
12446
12447 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12448
12449 [BZ #12005]
12450 * malloc/mcheck.c: Handle large requests.
12451
12452 [BZ #12077]
12453 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12454 for strncmp and strncasecmp.
12455 * string/stratcliff.c: Add tests for strcmp and strncmp.
12456 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12457
12458 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12459
12460 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12461 __set_fpscr.
12462
12463 2010-09-30 Andreas Jaeger <aj@suse.de>
12464
12465 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12466 (CGROUP_SUPER_MAGIC): Define.
12467 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12468 Handle btrfs and cgroup file systems.
12469 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12470 Likewise.
12471
12472 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12473
12474 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12475 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12476
12477 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12478
12479 [BZ #12067]
12480 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12481 trying to locate the ELF header.
12482
12483 2010-09-27 Andreas Schwab <schwab@redhat.com>
12484
12485 [BZ #11611]
12486 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12487 Mask out sign-bit copies when constructing f_fsid.
12488
12489 2010-09-24 Petr Baudis <pasky@suse.cz>
12490
12491 * debug/stack_chk_fail_local.c: Add missing licence exception.
12492 * debug/warning-nop.c: Likewise.
12493
12494 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12495
12496 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12497 implementing getdents64 using getdents syscall, set d_type if
12498 __ASSUME_GETDENTS32_D_TYPE.
12499
12500 2010-09-16 Andreas Schwab <schwab@redhat.com>
12501
12502 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12503 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12504
12505 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12506
12507 [BZ #12037]
12508 * posix/unistd.h: Undo change of feature selection for ftruncate from
12509 2010-01-11.
12510
12511 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12512
12513 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12514 detection.
12515
12516 2010-09-20 Andreas Schwab <schwab@redhat.com>
12517
12518 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12519 fanotify_mark.
12520 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12521
12522 2010-09-14 Andreas Schwab <schwab@redhat.com>
12523
12524 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12525 variables after CHECK_SP call.
12526 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12527
12528 2010-09-13 Andreas Schwab <schwab@redhat.com>
12529 Ulrich Drepper <drepper@redhat.com>
12530
12531 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12532 re-relocationg ld.so.
12533 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12534 _dl_init_paths call.
12535 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12536 here anymore.
12537
12538 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12539
12540 * resolv/res_init.c (__res_vinit): Count the default server we added.
12541
12542 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12543 Ulrich Drepper <drepper@redhat.com>
12544
12545 [BZ #11968]
12546 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12547 (____longjmp_chk): Use %ebx for saving value across system call.
12548 Add unwind info.
12549
12550 2010-09-06 Andreas Schwab <schwab@redhat.com>
12551
12552 * manual/Makefile: Don't mix pattern rules with normal rules.
12553
12554 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12555
12556 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12557 operation.
12558 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12559 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12560 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12561 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12562 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12563 Likewise.
12564
12565 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12566
12567 [BZ #11979]
12568 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12569 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12570
12571 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12572
12573 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12574 * sysdeps/x86_64/addmul_1.S: Likewise.
12575 * sysdeps/x86_64/lshift.S: Likewise.
12576 * sysdeps/x86_64/mul_1.S: Likewise.
12577 * sysdeps/x86_64/rshift.S: Likewise.
12578 * sysdeps/x86_64/sub_n.S: Likewise.
12579 * sysdeps/x86_64/submul_1.S: Likewise.
12580
12581 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12582
12583 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12584 Define __sched_param instead of SCHED_* and sched_param when
12585 <bits/sched.h> is included with __need_schedparam defined.
12586 * bits/sched.h [__need_schedparam]
12587 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12588 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12589 (__defined_schedparam): Define to 1.
12590 (__sched_param): New structure, identical to sched_param.
12591 (__need_schedparam): Undefine.
12592
12593 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12594
12595 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12596 (epoll_create1): Declare.
12597
12598 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12599
12600 2010-08-31 Andreas Schwab <schwab@redhat.com>
12601
12602 [BZ #7066]
12603 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12604 shifting retval into place.
12605
12606 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12607
12608 * nis/rpcsvc/nis.h: Update copyright notice.
12609 * nis/rpcsvc/nis.x: Likewise.
12610 * nis/rpcsvc/nis_callback.h: Likewise.
12611 * nis/rpcsvc/nis_callback.x: Likewise.
12612 * nis/rpcsvc/nis_object.x: Likewise.
12613 * nis/rpcsvc/nis_tags.h: Likewise.
12614 * nis/rpcsvc/yp.h: Likewise.
12615 * nis/rpcsvc/yp.x: Likewise.
12616 * nis/rpcsvc/ypupd.h: Likewise.
12617 * nis/yp_xdr.c: Likewise.
12618 * nis/ypupdate_xdr.c: Likewise.
12619
12620 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12621 mainly the body of pmap_getport. Add parameters to specify timeouts.
12622 (pmap_getport): Use __libc_rpc_getport.
12623 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12624 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12625 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12626
12627 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12628
12629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12630 fanotify_mark.
12631
12632 2010-08-27 Roland McGrath <roland@redhat.com>
12633
12634 * sysdeps/i386/i686/multiarch/Makefile
12635 (CFLAGS-varshift.c): New variable.
12636
12637 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12638
12639 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12640 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12641
12642 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12643
12644 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12645
12646 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12647
12648 * sysdeps/x86_64/strlen.S: Unroll the loop.
12649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12650 strlen-sse2 strlen-sse2-bsf.
12651 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12652 __strlen_no_bsf if bit_Slow_BSF is set.
12653 (__strlen_sse42): Removed.
12654 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12655 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12656
12657 2010-08-25 Roland McGrath <roland@redhat.com>
12658
12659 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12660 * sysdeps/x86_64/multiarch/varshift.c: New file.
12661 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12662 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12663 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12664 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12665
12666 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12667
12668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12669 strlen-sse2 strlen-sse2-bsf.
12670 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12671 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12672 (__strlen_sse2): Removed.
12673 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12674 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12676 bit_Slow_BSF for Atom.
12677 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12678 (index_Slow_BSF): Define.
12679 (HAS_SLOW_BSF): Define.
12680
12681 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12682
12683 [BZ #10851]
12684 * resolv/res_init.c (__res_vinit): When no server address at all
12685 is given default to loopback.
12686
12687 2010-08-24 Roland McGrath <roland@redhat.com>
12688
12689 * configure.in: Remove config-name.h generation.
12690 * configure: Regenerated.
12691 * config-name.in: File removed.
12692 * scripts/config-uname.sh: New file.
12693 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12694 ($(objdir)config-name.h): New target.
12695
12696 * sunrpc/rpc_parse.h: Avoid nested comment.
12697
12698 2010-08-24 Richard Henderson <rth@redhat.com>
12699 Ulrich Drepper <drepper@redhat.com>
12700 H.J. Lu <hongjiu.lu@intel.com>
12701
12702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12704 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12705 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12706 _mm_alignr_epi8 with _mm_loadu_si128.
12707 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12708 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12709 (__m128i_shift_right): Removed.
12710 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12711 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12712 * sysdeps/x86_64/multiarch/varshift.h: New file.
12713 * sysdeps/x86_64/multiarch/varshift.S: New file.
12714
12715 2010-08-21 Mike Frysinger <vapier@gentoo.org>
12716
12717 * configure.in: Move assembler checks to before sysdep dir checking.
12718
12719 2010-08-20 Petr Baudis <pasky@suse.cz>
12720
12721 * LICENSES: Sync the sunrpc license.
12722
12723 2010-08-19 Ulrich Drepper <drepper@redhat.com>
12724
12725 * sunrpc/auth_des.c: Update copyright notice once again.
12726 * sunrpc/auth_none.c: Likewise.
12727 * sunrpc/auth_unix.c: Likewise.
12728 * sunrpc/authdes_prot.c: Likewise.
12729 * sunrpc/authuxprot.c: Likewise.
12730 * sunrpc/bindrsvprt.c: Likewise.
12731 * sunrpc/clnt_gen.c: Likewise.
12732 * sunrpc/clnt_perr.c: Likewise.
12733 * sunrpc/clnt_raw.c: Likewise.
12734 * sunrpc/clnt_simp.c: Likewise.
12735 * sunrpc/clnt_tcp.c: Likewise.
12736 * sunrpc/clnt_udp.c: Likewise.
12737 * sunrpc/clnt_unix.c: Likewise.
12738 * sunrpc/des_crypt.c: Likewise.
12739 * sunrpc/des_soft.c: Likewise.
12740 * sunrpc/get_myaddr.c: Likewise.
12741 * sunrpc/getrpcport.c: Likewise.
12742 * sunrpc/key_call.c: Likewise.
12743 * sunrpc/key_prot.c: Likewise.
12744 * sunrpc/openchild.c: Likewise.
12745 * sunrpc/pm_getmaps.c: Likewise.
12746 * sunrpc/pm_getport.c: Likewise.
12747 * sunrpc/pmap_clnt.c: Likewise.
12748 * sunrpc/pmap_prot.c: Likewise.
12749 * sunrpc/pmap_prot2.c: Likewise.
12750 * sunrpc/pmap_rmt.c: Likewise.
12751 * sunrpc/rpc/auth.h: Likewise.
12752 * sunrpc/rpc/auth_unix.h: Likewise.
12753 * sunrpc/rpc/clnt.h: Likewise.
12754 * sunrpc/rpc/des_crypt.h: Likewise.
12755 * sunrpc/rpc/key_prot.h: Likewise.
12756 * sunrpc/rpc/netdb.h: Likewise.
12757 * sunrpc/rpc/pmap_clnt.h: Likewise.
12758 * sunrpc/rpc/pmap_prot.h: Likewise.
12759 * sunrpc/rpc/pmap_rmt.h: Likewise.
12760 * sunrpc/rpc/rpc.h: Likewise.
12761 * sunrpc/rpc/rpc_des.h: Likewise.
12762 * sunrpc/rpc/rpc_msg.h: Likewise.
12763 * sunrpc/rpc/svc.h: Likewise.
12764 * sunrpc/rpc/svc_auth.h: Likewise.
12765 * sunrpc/rpc/types.h: Likewise.
12766 * sunrpc/rpc/xdr.h: Likewise.
12767 * sunrpc/rpc_clntout.c: Likewise.
12768 * sunrpc/rpc_cmsg.c: Likewise.
12769 * sunrpc/rpc_common.c: Likewise.
12770 * sunrpc/rpc_cout.c: Likewise.
12771 * sunrpc/rpc_dtable.c: Likewise.
12772 * sunrpc/rpc_hout.c: Likewise.
12773 * sunrpc/rpc_main.c: Likewise.
12774 * sunrpc/rpc_parse.c: Likewise.
12775 * sunrpc/rpc_parse.h: Likewise.
12776 * sunrpc/rpc_prot.c: Likewise.
12777 * sunrpc/rpc_sample.c: Likewise.
12778 * sunrpc/rpc_scan.c: Likewise.
12779 * sunrpc/rpc_scan.h: Likewise.
12780 * sunrpc/rpc_svcout.c: Likewise.
12781 * sunrpc/rpc_tblout.c: Likewise.
12782 * sunrpc/rpc_util.c: Likewise.
12783 * sunrpc/rpc_util.h: Likewise.
12784 * sunrpc/rpcinfo.c: Likewise.
12785 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12786 * sunrpc/rpcsvc/key_prot.x: Likewise.
12787 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12788 * sunrpc/rpcsvc/mount.x: Likewise.
12789 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12790 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12791 * sunrpc/rpcsvc/rex.x: Likewise.
12792 * sunrpc/rpcsvc/rstat.x: Likewise.
12793 * sunrpc/rpcsvc/rusers.x: Likewise.
12794 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12795 * sunrpc/rpcsvc/spray.x: Likewise.
12796 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12797 * sunrpc/rtime.c: Likewise.
12798 * sunrpc/svc.c: Likewise.
12799 * sunrpc/svc_auth.c: Likewise.
12800 * sunrpc/svc_authux.c: Likewise.
12801 * sunrpc/svc_raw.c: Likewise.
12802 * sunrpc/svc_run.c: Likewise.
12803 * sunrpc/svc_simple.c: Likewise.
12804 * sunrpc/svc_tcp.c: Likewise.
12805 * sunrpc/svc_udp.c: Likewise.
12806 * sunrpc/svc_unix.c: Likewise.
12807 * sunrpc/svcauth_des.c: Likewise.
12808 * sunrpc/xcrypt.c: Likewise.
12809 * sunrpc/xdr.c: Likewise.
12810 * sunrpc/xdr_array.c: Likewise.
12811 * sunrpc/xdr_float.c: Likewise.
12812 * sunrpc/xdr_mem.c: Likewise.
12813 * sunrpc/xdr_rec.c: Likewise.
12814 * sunrpc/xdr_ref.c: Likewise.
12815 * sunrpc/xdr_sizeof.c: Likewise.
12816 * sunrpc/xdr_stdio.c: Likewise.
12817
12818 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12819 handling.
12820
12821 2010-08-19 Andreas Schwab <schwab@redhat.com>
12822
12823 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12824
12825 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12826
12827 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12828 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12829 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12830 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12831 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12832 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12833 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12834 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12835 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12836 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12837 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12838 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12839 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12840 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12841
12842 2010-07-26 Anton Blanchard <anton@samba.org>
12843
12844 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12845 * malloc/arena.c (heap_trim): Likewise.
12846
12847 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12848
12849 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12850 here. Not...
12851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12852 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12853
12854 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12855
12856 * sysdeps/i386/elf/Makefile: New file.
12857
12858 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12859
12860 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12861 from fanotify_init.
12862 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12863 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12864
12865 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12866
12867 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12868 of strncasecmp_l.
12869 * sysdeps/multiarch/strcmp.S: Likewise.
12870
12871 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12872
12873 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12874 strncase_l-nonascii.
12875 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12876 Add strncase_l-ssse3.
12877 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12878 * sysdeps/x86_64/strcmp.S: Likewise.
12879 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12880 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12881 * sysdeps/x86_64/strncase.S: New file.
12882 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12883 * sysdeps/x86_64/strncase_l.S: New file.
12884 * string/Makefile (strop-tests): Add strncasecmp.
12885 * string/test-strncasecmp.c: New file.
12886
12887 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12888 warning.
12889
12890 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12891 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12892
12893 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12894
12895 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12896
12897 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12898
12899 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12900 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12901 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12902
12903 2010-05-01 Alan Modra <amodra@gmail.com>
12904
12905 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12906 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12907 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12908 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12909 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12910 tidying. Don't tail-call __sigjmp_save for static lib.
12911 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12912 save location.
12913 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12914 (CALL_MCOUNT): Add eh info, and nop after bl.
12915 (TAIL_CALL_SYSCALL_ERROR): New macro.
12916 (PSEUDO_RET): Use it.
12917 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12918 Correct save location of integer regs and cr.
12919 (_dl_profile_resolve): Correct cr save location. Delete nops
12920 after bl when SHARED. Reduce cfi size a little by better
12921 placement of cfi directives.
12922 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12923 make a stack frame. Instead use parm save area as a temp.
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12925 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12927 Don't make a stack frame for parent, use parm save area.
12928 Increase child stack frame to 112 bytes. Don't save unused reg,
12929 and adjust reg usage. Set up cfi on error recovery and
12930 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12932 (__makecontext): Add dummy nop after jump to exit.
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12934 Use correct parm save area and cr save, reduce stack frame.
12935 Correct cfi for possible PSEUDO_RET frame setup.
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12937 Branch to local label emitted by PSEUDO_RET rather than
12938 __syscall_error.
12939
12940 2010-08-12 Andreas Schwab <schwab@redhat.com>
12941
12942 [BZ #11904]
12943 * locale/programs/locale.c (print_assignment): New function.
12944 (show_locale_vars): Use it.
12945
12946 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12947
12948 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12949 field.
12950 (struct statfs64): Likewise.
12951 (_STATFS_F_FLAGS): Define.
12952 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12953 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12954 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12955 (ST_VALID): Define locally.
12956 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12957 __statvfs_getflags, use the provided value.
12958 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12959 __ASSUME_STATFS_F_FLAGS.
12960
12961 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12962
12963 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12964 Add sys/fanotify.h.
12965 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12966 fanotify_mask for GLIBC_2.13.
12967 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12968 fanotify_init and fanotify_mark.
12969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12970 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12971
12972 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12973 Add prlimit.
12974 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12975 prlimit64 for GLIBC_2.13.
12976 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12977 prlimit64.
12978 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12979 syscall.
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12981 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12982 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12983 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12984 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12985 add prlimit alias.
12986 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12987
12988 [BZ #11903]
12989 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12990 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12991
12992 * nss/Makefile: Add rules to build and run tst-nss-test1.
12993 * shlib-versions: Add entry for libnss_test1.
12994 * nss/nss_test1.c: New file.
12995 * nss/tst-nss-test1.c: New file.
12996
12997 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12998 (__nss_configure_lookup): Set appropriate entry in
12999 __nss_configure_lookup to true.
13000 * nss/nsswitch.h: Define enum with indeces of databases in
13001 databases and __nss_database_custom arrays. Declare
13002 __nss_database_custom.
13003 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13004 to avoid using nscd when custom rules are installed.
13005 * nss/getXXbyYY_r.c: Likewise.
13006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13007
13008 * nss/nss_files/files-parse.c: Whitespace fixes.
13009
13010 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13011
13012 [BZ #11883]
13013 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13014 * posix/fnmatch_loop.c: Likewise.
13015
13016 2010-07-17 Andi Kleen <ak@linux.intel.com>
13017
13018 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13019 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13020 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13021 * Versions.def [GLIBC_2.13]: Add.
13022
13023 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13024
13025 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13026 Also fail if tpwd after pwuid call is NULL.
13027
13028 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13029
13030 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13031 when converting to ms.
13032
13033 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13034
13035 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13036 EOPNOTSUPP errors with ENOTTY.
13037 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13038 EOPNOTSUPP errors with ENOTTY.
13039
13040 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13041
13042 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13043 Add strcasecmp_l-ssse3.
13044 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13045 strcasecmp.
13046 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13047 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13048 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13049
13050 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13051
13052 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13053
13054 * string/Makefile (strop-tests): Add strcasecmp.
13055 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13056 strcasecmp_l-nonascii.
13057 (gen-as-const-headers): Add locale-defines.sym.
13058 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13059 * sysdeps/x86_64/strcasecmp.S: New file.
13060 * sysdeps/x86_64/strcasecmp_l.S: New file.
13061 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13062 * sysdeps/x86_64/locale-defines.sym: New file.
13063 * string/test-strcasecmp.c: New file.
13064
13065 * string/test-strcasestr.c: Test both ends of the range of characters.
13066 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13067
13068 2010-07-29 Roland McGrath <roland@redhat.com>
13069
13070 [BZ #11856]
13071 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13072
13073 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13074
13075 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13076 for ld.so.
13077
13078 2010-07-27 Andreas Schwab <schwab@redhat.com>
13079
13080 * manual/memory.texi (Malloc Tunable Parameters): Document
13081 M_PERTURB.
13082
13083 2010-07-26 Roland McGrath <roland@redhat.com>
13084
13085 [BZ #11840]
13086 * configure.in (-fgnu89-inline check): Set and substitute
13087 gnu89_inline, not libc_cv_gnu89_inline.
13088 * configure: Regenerated.
13089 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13090
13091 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13092
13093 * string/test-strnlen.c: New file.
13094 * string/Makefile (strop-tests): Add strnlen.
13095 * string/tester.c (test_strnlen): Add a few more test cases.
13096 * string/tst-strlen.c: Better error reporting.
13097
13098 * sysdeps/x86_64/strnlen.S: New file.
13099
13100 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13101
13102 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13103 lower-latency instructions.
13104
13105 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13106
13107 * string/test-strcasestr.c: New file.
13108 * string/test-strstr.c: New file.
13109 * string/Makefile (strop-tests): Add strstr and strcasestr.
13110 * string/str-two-way.h: Don't undefine MAX.
13111 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13112
13113 2010-07-21 Andreas Schwab <schwab@redhat.com>
13114
13115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13116 strcasestr-nonascii.
13117 (CFLAGS-strcasestr-nonascii.c): Define.
13118 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13119 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13120 Remove unused attribute.
13121
13122 2010-07-20 Roland McGrath <roland@redhat.com>
13123
13124 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13125 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13126 ld.so.cache was broken. With it, there is no way to disable dsocaps
13127 like LD_HWCAP_MASK can disable hwcaps.
13128
13129 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13130
13131 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13132
13133 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13134
13135 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13136 call in strcasestr.
13137 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13138 __strcasestr_sse42_nonascii.
13139 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13140 strcasestr-nonascii.c.
13141 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13142
13143 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13144
13145 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13146 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13147 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13148 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13149
13150 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13151
13152 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13153 fcntl.
13154
13155 2010-07-06 Andreas Schwab <schwab@redhat.com>
13156
13157 [BZ #11577]
13158 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13159 dl_signal_cerror.
13160
13161 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13162
13163 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13164 _PC_PIPE_BUF using F_GETPIPE_SZ.
13165
13166 2010-07-05 Roland McGrath <roland@redhat.com>
13167
13168 * manual/arith.texi (Rounding Functions): Fix rint description
13169 implicit in round description.
13170
13171 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13172
13173 * elf/Makefile: Fix linking for a few tests to make recent linker
13174 happy.
13175
13176 2010-06-30 Andreas Schwab <schwab@redhat.com>
13177
13178 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13179 $(common-objpfx)libc_nonshared.a.
13180
13181 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13182
13183 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13184 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13185 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13186 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13187 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13188 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13189 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13190 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13205 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13206 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13207 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13208 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13209 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13210 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13211 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13212 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13213 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13214 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13215 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13216 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13231
13232 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13233
13234 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13235 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13236 * string/memmove.c (memmove): Renamed to ...
13237 (MEMMOVE): ...this. Default to memmove.
13238 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13239 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13240 (END_CHK): Define.
13241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13242 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13243 mempcpy-ssse3-back memmove-ssse3-back.
13244 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13245 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13246 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13247 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13248 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13249 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13250 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13251 * sysdeps/x86_64/multiarch/memmove.c: New file.
13252 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13253 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13254 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13255 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13256 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13257 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13258 Define.
13259 (index_Fast_Copy_Backward): Define.
13260 (HAS_ARCH_FEATURE): Define.
13261 (HAS_FAST_REP_STRING): Define.
13262 (HAS_FAST_COPY_BACKWARD): Define.
13263
13264 2010-06-21 Andreas Schwab <schwab@redhat.com>
13265
13266 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13267 Restore proper fallback handling.
13268
13269 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13270
13271 [BZ #11701]
13272 * posix/group_member.c (__group_member): Correct checking loop.
13273
13274 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13275 OOM in getpwuid_r correctly. Return error number when the caller
13276 should return, otherwise -1.
13277 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13278 call returning > 0 value.
13279 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13280
13281 2010-06-07 Andreas Schwab <schwab@redhat.com>
13282
13283 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13284 libc_nonshared.a from targets in modules-names.
13285
13286 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13287
13288 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13289 requires it.
13290
13291 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13292
13293 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13294 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13295 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13296 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13297
13298 2010-06-02 Andreas Schwab <schwab@redhat.com>
13299
13300 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13301
13302 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13303
13304 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13305 and F_GETPIPE_SZ.
13306 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13307 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13308 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13309 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13310 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13311 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13312
13313 2010-06-14 Roland McGrath <roland@redhat.com>
13314
13315 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13316
13317 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13318
13319 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13320 __REDIRECT followed by __THROW.
13321 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13322 * posix/getopt.h (getopt): Likewise.
13323
13324 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13325
13326 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13327 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13328 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13329 in AT_FLAGS.
13330 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13331 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13332
13333 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13334
13335 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13336
13337 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13338
13339 [BZ #11640]
13340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13341 Properly check family and model.
13342
13343 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13344
13345 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13346
13347 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13348
13349 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13350
13351 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13352
13353 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13354 symbol reference.
13355
13356 2010-05-19 Andreas Schwab <schwab@redhat.com>
13357
13358 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13359 symbol reference.
13360
13361 2010-05-21 Andreas Schwab <schwab@redhat.com>
13362
13363 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13364 and internal_recvmmsg.
13365 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13366 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13367 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13368 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13369
13370 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13371 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13372 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13373
13374 2010-05-20 Andreas Schwab <schwab@redhat.com>
13375
13376 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13377
13378 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13379
13380 POWER7 optimizations.
13381 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13382 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13383
13384 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13385
13386 * version.h: Update for 2.13 development version.
13387
13388 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13389
13390 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13391 exceptions. Return 0.
13392
13393 2010-05-07 Roland McGrath <roland@redhat.com>
13394
13395 * elf/ldconfig.c (main): Add a const.
13396
13397 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13398
13399 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13400 (args_options): Add no-idn option.
13401 (ahosts_keys_int): Add idn_flags to ai_flags.
13402 (parse_option): Handle 'i' option to clear idn_flags.
13403
13404 * malloc/malloc.c (_int_free): Possible race in the most recently
13405 added check. Only act on the data if no current modification
13406 happened.
13407
13408 See ChangeLog.17 for earlier changes.